//Creation now form
function check_creation_now(chk)
{ 
		var contact_name  = trim(chk.contact_name.value);
		var company  	  = trim(chk.company.value);
		var email		  = trim(chk.email.value);
	
		var phone 		  = trim(chk.phone.value);
		//var Services 		  = trim(chk.Services.value);
	
if(contact_name == "")
		 {
			alert("Please Enter your name.");
			chk.contact_name.focus();
			return false;
		}
		if(isNotAlphabets(contact_name))
		 {
			alert("Invalid characters in name.");
			chk.contact_name.focus();
			return false;		  
		 }
	
				 		 
		if(company == "")
		{
			alert("Please enter your company name.");
			chk.company.focus();
			return false;
		}
		 	 if(email == "")
		 {
			alert("Please enter your email address.");
			chk.email.focus();
			return false;
		 }
		 				
		 if(!checkEmail(email))
		 {
			alert("Please enter valid email address.");
			chk.email.focus();
			return false;		  
		 }

		var checkDomain = email.indexOf('yahoo.') & email.indexOf('gmail.') & email.indexOf('aol.') & email.indexOf('msn.') & email.indexOf('hotmail.') & email.indexOf('earthlink.') & email.indexOf('rediffmail.') & email.indexOf('kotov.') & email.indexOf('mail.');
		
		if(checkDomain>0)
		{
			alert("You have entered an email account from a free email service or one of the high-volume consumer service providers (i.e. AOL, Gmail, Yahoo, MSN, Hotmail, Earthlink, Rediffmail, etc).\nIn an effort to provide you with the best possible access to our services, we require that you enter your corporate email address.");
			chk.email.focus();
			return false;
		}
		 if(phone == "")
		 {
			alert("Please enter your Contact No.");
			chk.phone.focus();
			
			return false;
		 }
		 				
		 if(isNotNumeric(phone))
		 {
			alert("Invalid characters in Contact No.");
			chk.phone.focus();
			return false;		  
		 }
		
		 
	
}				 
//Creation now form
function check_access_now(chk)
{ 
		var contact_name  = trim(chk.contact_name.value);
		var company  	  = trim(chk.company.value);
		var email		  = trim(chk.email.value);
	
		var phone 		  = trim(chk.phone.value);
		//var Services 		  = trim(chk.Services.value);
	
if(contact_name == "")
		 {
			alert("Please Enter your name.");
			chk.contact_name.focus();
			return false;
		}
		if(isNotAlphabets(contact_name))
		 {
			alert("Invalid characters in name.");
			chk.contact_name.focus();
			return false;		  
		 }
	
				 		 
		if(company == "")
		{
			alert("Please enter your company name.");
			chk.company.focus();
			return false;
		}
		 	 if(email == "")
		 {
			alert("Please enter your email address.");
			chk.email.focus();
			return false;
		 }
		 				
		 if(!checkEmail(email))
		 {
			alert("Please enter valid email address.");
			chk.email.focus();
			return false;		  
		 }

		var checkDomain = email.indexOf('yahoo.') & email.indexOf('gmail.') & email.indexOf('aol.') & email.indexOf('msn.') & email.indexOf('hotmail.') & email.indexOf('earthlink.') & email.indexOf('rediffmail.') & email.indexOf('kotov.') & email.indexOf('mail.');
		
		if(checkDomain>0)
		{
			alert("You have entered an email account from a free email service or one of the high-volume consumer service providers (i.e. AOL, Gmail, Yahoo, MSN, Hotmail, Earthlink, Rediffmail, etc).\nIn an effort to provide you with the best possible access to our services, we require that you enter your corporate email address.");
			chk.email.focus();
			return false;
		}
		 if(phone == "")
		 {
			alert("Please enter your Contact No.");
			chk.phone.focus();
			
			return false;
		 }
		 				
		 if(isNotNumeric(phone))
		 {
			alert("Invalid characters in Contact No.");
			chk.phone.focus();
			return false;		  
		 }
		
	
}				 

function check_contact_us(chk)
{ 

		var contact_name  = trim(chk.contact_name.value);
		var company  	  = trim(chk.company.value);
		
	
		var phone 		  = trim(chk.phone.value);
		var email		  = trim(chk.email.value);

		
if(contact_name == "")
		 {
			alert("Please enter your name.");
			chk.contact_name.focus();
			return false;
		}
		if(isNotAlphabets(contact_name))
		 {
			alert("Invalid characters in name.");
			chk.contact_name.focus();
			return false;		  
		 }
	
				 		 
		if(company == "")
		{
			alert("Please enter your company name.");
			chk.company.focus();
			return false;
		}
		 if(phone == "")
		 {
			alert("Please enter your Contact No.");
			chk.phone.focus();
			
			return false;
		 }
		 				
		 if(isNotNumeric(phone))
		 {
			alert("Invalid characters in Contact No.");
			chk.phone.focus();
			return false;		  
		 }
		 	 if(email == "")
		 {
			alert("Please enter your email address.");
			chk.email.focus();
			return false;
		 }
		 				
		 if(!checkEmail(email))
		 {
			alert("Please enter valid email address.");
			chk.email.focus();
			return false;		  
		 }

		var checkDomain = email.indexOf('yahoo.') & email.indexOf('gmail.') & email.indexOf('aol.') & email.indexOf('msn.') & email.indexOf('hotmail.') & email.indexOf('earthlink.') & email.indexOf('rediffmail.') & email.indexOf('kotov.') & email.indexOf('mail.');
		
		if(checkDomain>0)
		{
			alert("You have entered an email account from a free email service or one of the high-volume consumer service providers (i.e. AOL, Gmail, Yahoo, MSN, Hotmail, Earthlink, Rediffmail, etc).\nIn an effort to provide you with the best possible access to our services, we require that you enter your corporate email address.");
			chk.email.focus();
			return false;
		}
		
		
}	
