//
// Form validation script for domain-name-reminder.shtml and domain-name-watcher.shtml
//
function verify_form()
{
	if (document.watcher["email"].value == '') {
		alert("You did not supply your email address.");
		return false;
	}
	var q = document.watcher["email"].value;
	if (q != '' && !rxmatch('@', q)) {
		alert("\"" + q + "\"  does not seem to be a valid email address.\nPlease make sure that you've typed it correctly.");
		return false;
	}
	if (document.watcher["domains"].value == '') {
		alert("You forgot to supply the domain name(s) you'd like the script to watch.");
		return false;
	}
}