<SCRIPT language=Javascript>
function required()
{
if(document.frmContact.name.value=="")
{
alert("Please Enter your Name ")
document.frmContact.name.focus ();
return false;
}
if(document.frmContact.city.value =="")
{
alert("Please Enter your City ")
document.frmContact.city.focus ();
return false;
}   
if(document.frmContact.zip.value =="")
{
alert("Please Enter your ZipCode ")
document.frmContact.zip.focus ();
return false;
}   
if(document.frmContact.country.value =="")
{
alert("Please Enter your Country ")
document.frmContact.country.focus ();
return false;
}   
if(document.frmContact.phone.value =="")
{
alert("Please Enter your Phone No ")
document.frmContact.phone.focus ();
return false;
}   
if(document.frmContact.email.value =="")
{
alert("Please Enter your Email Address ")
document.frmContact.email.focus ();
return false;
}
//if(document.frmContact.comments.value =="")
//{
//alert("Please Enter your Comments")
//document.frmContact.comments.focus ();
//return false;
//  }        
}

function emailCheck()
{
 txt=document.frmContact.email.value;
 if (txt.indexOf("@")<3){
  alert("I'm sorry. This email address seems wrong. Please"
  +" check the prefix and '@' sign.");
  document.frmContact.email.focus();
  }
}

</SCRIPT>
