function rsvp(){
popwin = this.open("rsvp.html", "rsvp", "width=350,height=300, toolbar=no,menubar=no,location=no,resize=no,noresize");}


function tell(){
popwin = this.open("tell.html", "rsvp", "width=350,height=300, toolbar=no,menubar=no,location=no,resize=no,noresize");}


function evite(){
popwin = this.open("evite.html", "evite", "width=770,height=420, toolbar=no,menubar=no,location=no,resize=no,noresize");
window.close()}





function RSVP_Form_Validator(theForm){
if (theForm.name1.value == ""){
alert("Please enter your Full Name.");
theForm.name1.focus();
return (false);}

if (theForm.email.value == ""){
alert("Please enter your Email address.");
theForm.email.focus();
return (false);}

if (theForm.groupsize.value == ""){
alert("Please enter the # of guests.");
theForm.groupsize.focus();
return (false);}

return (true);}




function TellAFriend_Form_Validator(theForm){
if (theForm.name.value == ""){
alert("Please enter a value for the \"name\" field.");
theForm.name.focus();
return (false);}

if (theForm.name.value.length < 2){
alert("Please enter at least 2 characters in the \"Your Name\" field.");
theForm.name.focus();
return (false);}

if (theForm.emailrecommender.value == ""){
alert("Please enter a value for the \"Your E-mail\" field.");
theForm.emailrecommender.focus();
return (false);}

if (theForm.emailrecommender.value.length < 6){
alert("Please enter at least 6 characters in the \"Your E-mail\" field.");
theForm.emailrecommender.focus();
return (false);}

return (true);}
