<!--
function checkAll() {
		
	txt=self.document.form10.Name.value;
	//alert("Just testing . . . \r\n Thanks!");
	if ((txt =='0')||(txt =='')) {
		alert("Please enter your Name. \r\n Thanks!");
		self.document.form10.Name.focus();
        return (false);
	    } 
			txt=self.document.form10.field4.value;
	if ((txt =='0')||(txt =='')) {
		alert("Please enter your prayer. \r\n Thanks!");
		self.document.form10.field4.focus();
        return (false);
	    } 
//*****begin email check*****
								txt=self.document.form10.Email1.value;
	if ((txt =='0')||(txt =='')) {
		alert("Please enter your email address. \r\n Thanks!");
		self.document.form10.Email1.focus();
        return (false);
	    } 
	var badchars="<> ;,'!#$%^&*()+=/\\?";
	for (var i=0; i < txt.length; i++) {
		temp = "" +txt.substring(i, i+1);
		if (badchars.indexOf(temp) != -1) {
			alert("Your e-mail address contains illegal characters.\n\n\tPlease try again.");
			self.document.form10.Email1.focus();
        	return (false);
		}
	}
	var arr;
	arr = txt.split('@');
		
	if (arr.length != 2) {
		alert("Your email address needs to contain an '@' sign.");

		self.document.form10.Email1.focus();
        return (false);
	}
	if ((arr[0] == "") || (arr[1] == "")) {
		alert("Your e-mail address is incomplete.\n\n\tPlease try again.");
		self.document.form10.Email1.focus();
        return (false);
	}
	if ((arr[1].charAt(0) == '.') || (arr[1].charAt(arr[1].length-1) == '.')) {
		alert("Sorry your email address needs to be in a bonafide email format, with at least one  period.");
		self.document.form10.Email1.focus();
        return (false);
	}	
	if ((arr[0].charAt(0) == '.') || (arr[0].charAt(arr[0].length-1) == '.')) {
		alert("Your e-mail address is incomplete (i.e. no \"suffix\" after the dot).\n\n\tPlease try again.");
		self.document.form10.Email1.focus();
        return (false);
	}					
	if ((arr[1].indexOf('.') > arr[1].length-3) || (arr[1].indexOf('.') == -1)) {
		alert("Your e-mail address must contain an internet domain (i.e. \"yourwebaddress.com\").\n\n\tPlease try again.");
		self.document.form10.Email1.focus();
        return (false);
	}
	if (txt.indexOf("..") > 0) {
		alert("You have entered an e-mail address containing two (2) dots in a row.\n\n\tPlease try again.");
		self.document.form10.Email1.focus();
        return (false);
	}
	var tld;
	tld = arr[1].substring(arr[1].lastIndexOf('.'));
	
	if ((tld.length != 3) && (tld != '.com') && (tld != '.edu') && (tld != '.gov') && (tld != '.int') && (tld != '.mil') && (tld != '.org') && (tld != '.net') && (tld != '.info') && (tld != '.biz') && (tld != '.coop') && (tld != '.aero') && (tld !='.arpa') && (tld != '.museum') && (tld != '.name') && (tld != '.pro') && (tld != '.nato') && (tld != '.nom') && (tld != '.firm') && (tld != '.store') && (tld != '.web') && (tld != '.COM') && (tld != '.EDU') && (tld != '.GOV') && (tld != '.INT') && (tld != '.MIL') && (tld != '.ORG') && (tld != '.NET') && (tld != '.INFO') && (tld != '.BIZ') && (tld != '.COOP') && (tld != '.AERO') && (tld !='.ARPA') && (tld != '.MUSEUM') && (tld != '.NAME') && (tld != '.PRO') && (tld != '.NATO') && (tld != '.NOM') && (tld != '.FIRM') && (tld != '.STORE') && (tld != '.WEB')) {
		alert("You have entered an incorrect domain or country code.\n\n\tPlease try again.");
		self.document.form10.Email1.focus();
        return (false);
	}
	//*****end email check*****
}
	//-->
