// JScript source code
		function checkemty() {
		var formObj = document.form1;
		var email = formObj.mailfrom.value
		
		var error
		error=0;
		if ( email=="") {
			error=1;
			}
		if ((email != "") && (email.length<5)){
			error=2;
			}
		if ((email.length>4)){
			error=3;
			j=0;
			for (var i = 1; i < email.length-1; i++) {
				if (email.substr(i,1)=="@") {
					error=0;
					j=j+1;
					}
				}
			if (j>1) {
				error=4;
			}
			}
		if (error>0) {
			Message="ERROR";
			if (error==1) {Message ="Please check your email, \n Email field is empty!";}
			if (error==2) {Message ="Please check your email, \n Your email name is too small!";}
			if (error==3) {Message ="Please check your email, \n Your email name without @ or in wrong position!";}
			if (error==4) {Message ="Please check your email, \n Your email name has a lot of @ symbols!";}
			alert(Message);
			}
		}

