function checkargs() {
    with (document.register) {
	msg = "";
	if (email.value == "") msg += "Contact Email is required\n";
	if (email.value != "" && checkemail(email.value) == false) msg += "The email looks wrong; please check it\n";
	
	if (msg != "") {
	    alert(msg);
	    return;
	}
	submit();
    }
}
