<!-- This script is written by Prashant Vij of Eweb-Kraft Solutions inc., India and is protected by copyright laws of India ! -->


function emailCheck() {
txt=document.pra.User_email.value;
if (txt.indexOf("@")<3){
alert("I'm sorry. This email address seems wrong. Please"
+" check the prefix and '@' sign.");
return false;
}
if ((txt.indexOf(".com")<5)&&(txt.indexOf(".org")<5)
&&(txt.indexOf(".gov")<5)&&(txt.indexOf(".net")<5)
&&(txt.indexOf(".info")<5)&&(txt.indexOf(".biz")<5)
&&(txt.indexOf(".co.in")<5)&&(txt.indexOf(".us")<5)
&&(txt.indexOf(".mil")<5)&&(txt.indexOf(".edu")<5)){
alert("I'm sorry. This email address seems wrong. Please"
+" check the suffix for accuracy. (It should include a "
+".com, .edu, .net, .org, .info, .biz, .co.in, .us, .gov or .mil)");
return false;
   }
return true;
}
