function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function check()
{
  
    if(form1.phone.value=="")
  {
   alert("please enter your phone number");
   form1.phone.focus();
   return false;
   } 
    if(form1.email.value=="")
	{
	  alert("Please enter email id");
	  form1.email.focus();
	  return false;
	}else
	{
		 var emailStr=form1.email.value;
		 // checks if the e-mail address is valid
		  var emailPat = /^(\".*\"|[A-Za-z]\w*|[A-Za-z]\w*(\.?\w*))@(\[\d{1,3}(\.\d{1,3}){3}]|[A-Za-z]\w*(\.[A-Za-z]\w*)+)$/;
		   var matchArray = emailStr.match(emailPat);
		   if (matchArray == null)
		{
		      alert("Your email address seems incorrect.  Please try again (check the '@' and '.'s in the email address)");
			  form1.email.focus();
               return false;   
		     }				
    }

if(!document.getElementById("verify").value){
alert('Please enter the verification code given below');
document.getElementById("verify").focus();
return false;
}
if(document.getElementById("verify").value!=document.getElementById("vp").value){
alert('Verification code does not match');
document.getElementById("verify").value='';
document.getElementById("verify").focus();
return false;
}
}
