\n');
}
function MM_openBrWindow(theURL,winName,features) {
resultados=window.open(theURL,winName,features);
}
//-->
function checkEmailAddress(field)
{
// Note: The next expression must be all on one line...
// allow no spaces, linefeeds, or carriage returns!
var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);
if (goodEmail){
return true
} else {
alert('Please, enter a valid e-mail address.')
field.focus()
field.select()
return false
}
}
function Validator(theForm)
{
if (theForm.name.value == "")
{
alert("Please, enter your name.");
theForm.name.focus();
return (false);
}
if (theForm.company.value == "")
{
alert("Please, enter your company.");
theForm.company.focus();
return (false);
}
// Retorna falso si el campo email está vacío.
if (theForm.email.value == ""){
alert("Please, enter your e-mail address.");
theForm.email.focus();
return (false);
} else {
var vemail=checkEmailAddress(theForm.email);
if (vemail==false) {
return false;
}
}
if (theForm.phone.value == "")
{
alert("Please, enter your phone number.");
theForm.phone.focus();
return (false);
}
if (theForm.comments.value == "")
{
alert("Please, enter your comments.");
theForm.comments.focus();
return (false);
}
}
Banquet
& catering service information
To request a quote or obtain
aditional information about our banquet services,
contact us and we will gladly assist you to satisfy
your needs.