function validateForm(form) { 
if (myform.realname.value == "") { 
   alert("Please enter your first and last name "); 
   myform.realname.focus( ); 
   return false; 
   }
if (myform.email.value == "") { 
   alert("Please enter your email address "); 
   myform.email.focus( ); 
   return false; 
   } 
}

function checkEmail(form) {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(myform.email.value)){
return (true)
}
alert("Invalid E-mail Address! E-Mail Address must be in name@your-domain.com format.")
myform.email.focus( );
return (false)
}
