\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('Debe ingresar una dirección de email válida.')
field.focus()
field.select()
return false
}
}
function Validator(theForm)
{
if (theForm.name.value == "")
{
alert("Escriba un valor para el campo \"Nombre\".");
theForm.name.focus();
return (false);
}
if (theForm.company.value == "")
{
alert("Escriba un valor para el campo \"Compañía\".");
theForm.company.focus();
return (false);
}
// Retorna falso si el campo email está vacío.
if (theForm.email.value == ""){
alert("Escriba un valor para el campo \"E-mail\".");
theForm.email.focus();
return (false);
} else {
var vemail=checkEmailAddress(theForm.email);
if (vemail==false) {
return false;
}
}
if (theForm.phone.value == "")
{
alert("Escriba un valor para el campo \"Teléfono\".");
theForm.phone.focus();
return (false);
}
if (theForm.comments.value == "")
{
alert("Escriba un valor para el campo \"Comentarios\".");
theForm.comments.focus();
return (false);
}
}
Información
Servicio Banquetes
Para
solicitar presupuesto u obtener información adicional sobre nuestros servicios de
banquetes escríbanos que gustosamente le atenderemos
para satisfacer sus necesidades.