function contact_Validator(theForm) {
   var alertsay = "";
   var fldValue = ""

   if (theForm.User_name.value == "") {
      alert("Please enter your Full Name.");
      theForm.User_name.focus();
      return (false);
   }

   if (theForm.Organization.value == "") {
      alert("Please enter your Organization.");
      theForm.Organization.focus();
      return (false);
   }

   if (theForm.Designation.value == "") {
      alert("Please enter your Designation.");
      theForm.Designation.focus();
      return (false);
   }

   if (theForm.Postal_Add.value == "") {
      alert("Please enter your Address.");
      theForm.Postal_Add.focus();
      return (false);
   }

   if (theForm.Country.value == "") {
      alert("Please enter your Country.");
      theForm.Country.focus();
      return (false);
   }

   if (theForm.phone.value == "") {
      alert("Please enter your Phone No.");
      theForm.phone.focus();
      return (false);
   }

   if (theForm.User_email.value == "") {
      alert("Please enter your Email.");
      theForm.User_email.focus();
      return (false);
   }
   var regex = /^((\"[^\"\f\n\r\t\v\b]+\")|([\w\!\#\$\%\&'\*\+\-\~\/\^\`\|\{\}]+(\.[\w\!\#\$\%\&'\*\+\-\~\/\^\`\|\{\}]+)*))@((\[(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))\])|(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))|((([A-Za-z0-9\-])+\.)+[A-Za-z\-]+))$/;
   fldValue =theForm.User_email.value;

   if(!regex.test(fldValue)) {
      alert("Please enter a valid Email.");
      theForm.User_email.value = "";
      theForm.User_email.focus();
      return (false);
   }

   if (theForm.query.value == "") {
      alert("Please enter your Message.");
      theForm.query.focus();
      return (false);
   }
}
