function NewWindow(mypage, myname, w, h, scrollb) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',scrollbars='+scrollb+',left='+winl+''
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
function pregunta3(mypage, myname, w, h, scrollb, cosa) { if (confirm("¿Está seguro que "+cosa)) { NewWindow(mypage, myname, w, h, scrollb) } }

function checkFields() {

missinginfo = "";

if (document.myform.nombre_txt.value == "") {

missinginfo += "\n     -  Nombre";

}

if (document.myform.email_txt.value == "") {

missinginfo += "\n     -  E-mail";

}

if (document.myform.organizacion_txt.value == "") {

missinginfo += "\n     -  Organizacion";

}

if (document.myform.direccion_txt.value == "") {

missinginfo += "\n     -  Direccion";

}

if (document.myform.pais_txt.value == "") {

missinginfo += "\n     -  Pais";

}

if (document.myform.telf_txt.value == "") {

missinginfo += "\n     -  Telefono";

}

if (document.myform.fax_txt.value == "") {

missinginfo += "\n     -  Fax";

}

if (document.myform.comentario_txt.value == "") {

missinginfo += "\n     -  Comentario";

}

var radio_choice = false;

for (counter = 0; counter < myform.tipo_txt.length; counter++)
{

if (myform.tipo_txt[counter].checked)
radio_choice = true; 
}

if (!radio_choice)
{
missinginfo += "\n     -  Tipo de Mensaje";
}

if (missinginfo != "") {

missinginfo ="_________________________________________________________\n" +

"Los datos de los siguientes campos no han sido llenados correctamente:\n" +

missinginfo + "\n_______________________________" +

"\nPor favor llenelos y vuelva a intentarlo";

alert(missinginfo);



return false;

}

}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
