	function MM_openBrWindow(theURL,winName,features) { //v2.0
	  window.open(theURL,winName,features);
	}
	function MM_callJS(jsStr) { //v2.0
	 return eval(jsStr)
	}
	//Valida un email mediante expresiones regulares
	function valEmail(valor) {
		if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(valor)){
			return true;
		} else {
			return false;
		}
	}
	function es_telefono(valor){
		if (/^(9|2)\d{8}$/.test(valor)){
			return true;
		} else {
			return false;
		}
	}
	function valCheckBox(){
		// No radio button is selected Select atleast one
		if (!document.frm.checkbox[0].checked && !document.frm.checkbox[1].checked) {
			document.frm.checkbox[1].checked = 1;
		}
	}
	function valCheckBoxCondition(checkbox){
		if (checkbox.checked == false){
			alert ("Debe leer y aceptar la Política de Privacidad");
			return false;
		} else {
			return true;
		}
	}

    function valCheckSelect(selectName){
		  if (selectName.selectedIndex == 0) {
			  return false;
		  } else {
			  return true;
		  }
	}