function chkDomain(frm){
	if(frm.domain_search.value.length == 0){
		alert("Please enter a domain to search for.");
		frm.domain_search.value.focus();
		return false;
	}
	var re1 = new RegExp(/^www\./i);
	frm.domain_search.value = frm.domain_search.value.replace(re1,"");
	var re2 = new RegExp(/^[\d\w-]*\.(com|net|org|info|us|biz)$/i);
	var re3 = new RegExp(/^[^-]./i);
	if(re2.test(frm.domain_search.value) && re3.test(frm.domain_search.value)){
		return true;
	}else{
		var strAlert = "The domain you entered is not valid.\nIt can only contain letters, numbers, or hyphents (-)\n";
		strAlert += "The first character cannot be a hyphen (-).";
		alert(strAlert);
		return false;
	}
}