
<!--
 function frm_Validate(){
          if(document.krishna1.name1.value==""){
          alert("Please enter your name.");
          document.krishna1.name1.focus();
          return false;
          }
	
        
          if (document.krishna1.email1.value==""){
          alert("Please enter your email address.")
          document.krishna1.email1.focus();
          return false;
          }
          
          if (document.krishna1.email1.value.length != 0)
        { 
        var e_check  = document.krishna1.email1.value;

        if(document.krishna1.email1.value.indexOf(" ") != -1)      {
        alert("Please enter correct E-Mail ID without any spaces in it.");
        document.krishna1.email1.focus(); 
        return false;
        }

        if(document.krishna1.email1.value.indexOf("@") == -1)      {
        alert("Invalid E-Mail ID! Please enter correct E-Mail ID.");
        document.krishna1.email1.focus(); 
        return false;
        }
        validarr = document.krishna1.email1.value.split("@");
   
        if(validarr[0].length==0)       {
        alert("Invalid E-Mail ID! Please enter the correct E-mail ID.");
        document.krishna1.email1.focus(); 
        return false;
        }

        if(validarr[1].indexOf("@") >=0)        {
        alert("Invalid E-Mail ID! Please enter the correct E-mail ID.");
        document.krishna1.email1.focus(); 
        return false;
        }
        if(validarr[1].length==0)       {
        alert("Invalid E-Mail ID! Please enter the correct E-mail ID.");
        document.krishna1.email1.focus(); 
        return false;
        }
        if(validarr[1].length != 0)     { 

                if(validarr[1].indexOf(".") == -1)      {
                alert("Invalid E-Mail ID! Please enter the correct E-mail ID.");
                document.krishna1.email1.focus(); 
                return false;
                }
                validemail = validarr[1].split(".");
                 if(validemail[0].length==0)            { 
                 alert("Invalid E-Mail ID! Please enter the correct E-mail ID.");
                 document.krishna1.email1.focus(); 
                 return false;
                }
                if(validemail[1].length==0)             {
                alert("Invalid E-Mail ID! Please enter the correct E-mail ID.");
                document.krishna1.email.focus(); 
                return false;
                }
        }   // end of  validemail
} // end of valid email-id check
			if(document.krishna1.phone1.value==""){
          alert("Please enter phone number.");
          document.krishna1.phone1.focus();
          return false;
          }
		  
		  if(document.krishna1.country.value==""){
          alert("Please enter Country Details.");
          document.krishna1.country.focus();
          return false;
          }
        
			if(document.krishna1.no_of_person.value==""){
          alert("Please enter No.of Person");
          document.krishna1.no_of_person.focus();
          return false;
          }
		
		if(document.krishna1.date_of_arrival.value==""){
          alert("Please enter Date of Arrival");
          document.krishna1.date_of_arrival.focus();
          return false;
          }
		  
		  if(document.krishna1.duration_of_stay.value==""){
          alert("Please enter Duration of Stay");
          document.krishna1.duration_of_stay.focus();
          return false;
          }
		  
		  if(document.krishna1.comment.value==""){
          alert("Please enter comment.");
          document.krishna1.comment.focus();
          return false;
           } 
}       

