<!-- Begin
/*
Script Validar Patrocionio
© Helios Centro Holista (www.helios3000.net)
Si quiere utilizar este script en su web site
debe darle crédito y colocar un enlace a
Helios Centro Holista en la misma pagina en que
lo utiliza y comunicárnoslo a la dirección
centroholista@helios3000.net
*/

var ampmSel1 = "";
var ampmSel2 = "";
var eznSub = "si";

function revisarP(planilla) {

var qps = true;

var hombres = (planilla.tit1.selectedIndex  == "2" || planilla.tit1.selectedIndex == "5");

var mujeres = (planilla.tit1.selectedIndex == "1" || planilla.tit1.selectedIndex == "3" || planilla.tit1.selectedIndex == "4");

if (qps) qps = chkSel (planilla.elements["tit1"], "su titulo");
if (qps) qps = chkSel (planilla.elements["gnr1"], "su genero");

if (qps) if ((planilla.gnr1.value == "1" && mujeres) || (planilla.gnr1.value == "2" && hombres)) {
	clckcnt = 0;
	alert ("Por favor asegúrese que  su\nTitulo y Genero coincidan");
	planilla.tit1.focus();
	qps = false;
}

if (qps) qps = CheckName (planilla.elements["name"], "sus nombres");
if (qps) qps = CheckName (planilla.elements["last"], "sus apellidos");

//	if (qps) qps = chkSel (planilla.elements["pais"], "su país de residencia");

if (qps) qps = checkTlf(planilla.elements["telf"], "un número de teléfono valido");

if (qps) qps = CheckEmail(planilla.elements["email"]);

if (qps && eznSub == "si") { 
	abrirPopUp("/cgi-bin/ezine/ezine.pl?action=subscribe&address=" + planilla.elements["email"].value, "Subs_Ezn", "610", "400", "no", "yes");
	self.focus(); 
}

return qps;
}

// End -->
