function isAlphabet(ch){	return((ch>='a'&&ch<='z')||(ch>='A'&&ch<='Z'));	}function isDigit(ch){	return (ch>='0'&&ch<='9')	}function isAlldigits(str){	var i;	for (i=0;i<str.length;i++){	if(!isDigit(str.charAt(i)))	return false;}return true;}
function isLength(str){	if(str.length<10)return false;	return true;}function isLengths(str){	if(str.length<20)return false;	return true;}function isEmail(str){	if((str.indexOf("@")<=0) || (str.lastIndexOf(".")<=(str.indexOf("@")+1)) || str.indexOf(" ")>=0)return false;	return true;	}
function verify(){		if(con.na.value ==""){		alert("Error! Please Enter Your Name");		con.na.focus();		return false;        }if(!isAlphabet(con.na.value)){	  	alert("Error! Name must be Alphabets only");    	con.na.focus();		con.na.select();        return false;  		}
if(!isAlldigits(con.pn.value)){	  	alert("Error! Invalid Phone Number.");    	con.pn.focus();		con.pn.select();        return false;  		}if(con.em.value ==""){		alert("Error! Please Enter Your E-mail Address.");		con.em.focus();		return false;        }if(!isEmail(con.em.value)){   	alert("Error! Invalid Email Address.");    	con.em.focus();		con.em.select();        return false;  		}return true;}