<!--
function emailCheck() {  
txt=document.rfp.Email.value;  
if (txt.indexOf("@")<3){  
alert("Invalid Email Address. Please try again.");  
return false;  
}  
return true;  
}

function openCalendar2(FormElement){
	var calendarwindow;
	url = "calendar/rfp/calendar.html?formname=rfp&formelement=" + FormElement;
	calendarwindow = window.open(url,"thewindow","toolbar=no,LEFT=700,TOP=400,WIDTH=170,HEIGHT=140,status=no,scrollbars=no,resize=no,menubar=no");
	calendarwindow.focus();
}

function onButtonClick() { 
var message = "";
if (document.rfp.FirstName.value == "") { 
message = message + "First Name is required\n";
} 
if (document.rfp.LastName.value == "") { 
message = message + "Last Name is required\n";
} 
if (document.rfp.Email.value == "") { 
message = message + "Email address is required\n";
}  
if(message!=""){
alert("The following form field(s) were incomplete or incorrect:\n\n" + message + "\n\n Please complete or correct the form and submit again.");
}    
else {
alert("Thank you, your request is being submitted.");
document.rfp.action = "assets/adult.php?send=adult";
document.rfp.method = "post";
document.rfp.submit();
} 
}
//-->