function Validar_contacto_es() {
	if (document.formulario.nombre.value=="") {
		alert("Debe ingresar su Nombre.");
		document.formulario.nombre.focus();
		return;
	}
	if (document.formulario.apellido.value=="") {
		alert("Debe ingresar su Apellido.");
		document.formulario.apellido.focus();
		return;
	}
	if (document.formulario.empresa.value=="") {
		alert("Debe ingresar su Empresa.");
		document.formulario.empresa.focus();
		return;
	}
	if (document.formulario.telefono.value=="") {
		alert("Debe ingresar su Teléfono.");
		document.formulario.telefono.focus();
		return;
	}
	if (document.formulario.email.value=="") {
		alert("Debe ingresar su Email.");
		document.formulario.email.focus();
		return;
	} else {
		if(!Emailcheck(document.formulario.email.value)) {
			alert("Debe ingresar su Email correctamente.");
			document.formulario.email.focus();
			return;
		}
	}
	if (document.formulario.asunto.value=="") {
		alert("Debe ingresar un Asunto.");
		document.formulario.asunto.focus();
		return;
	}
	if (document.formulario.comentarios.value=="") {
		alert("Debe ingresar un Comentario.");
		document.formulario.comentarios.focus();
		return;
	}
	document.formulario.submit();
}
function Validar_contacto_en() {
	if (document.formulario.nombre.value=="") {
		alert("Please, insert your Name.");
		document.formulario.nombre.focus();
		return;
	}
	if (document.formulario.apellido.value=="") {
		alert("Please, insert your Last Name.");
		document.formulario.apellido.focus();
		return;
	}
	if (document.formulario.empresa.value=="") {
		alert("Please, insert your Company.");
		document.formulario.empresa.focus();
		return;
	}
	if (document.formulario.telefono.value=="") {
		alert("Please, insert your Telephone.");
		document.formulario.telefono.focus();
		return;
	}
	if (document.formulario.email.value=="") {
		alert("Please, insert your Email.");
		document.formulario.email.focus();
		return;
	} else {
		if(!Emailcheck(document.formulario.email.value)) {
			alert("Please, insert your Email correctly.");
			document.formulario.email.focus();
			return;
		}
	}
	if (document.formulario.asunto.value=="") {
		alert("Please, insert the Subject.");
		document.formulario.asunto.focus();
		return;
	}
	if (document.formulario.comentarios.value=="") {
		alert("Please, insert the Message.");
		document.formulario.comentarios.focus();
		return;
	}
	document.formulario.submit();
}
function Validar_brochure_es() {
	if (document.formulario.nombre.value=="") {
		alert("Debe ingresar su Nombre.");
		document.formulario.nombre.focus();
		return;
	}
	if (document.formulario.apellido.value=="") {
		alert("Debe ingresar su Apellido.");
		document.formulario.apellido.focus();
		return;
	}
	if (document.formulario.empresa.value=="") {
		alert("Debe ingresar su Empresa.");
		document.formulario.empresa.focus();
		return;
	}
	if (document.formulario.telefono.value=="") {
		alert("Debe ingresar su Teléfono.");
		document.formulario.telefono.focus();
		return;
	}
	if (document.formulario.email.value=="") {
		alert("Debe ingresar su Email.");
		document.formulario.email.focus();
		return;
	} else {
		if(!Emailcheck(document.formulario.email.value)) {
			alert("Debe ingresar su Email correctamente.");
			document.formulario.email.focus();
			return;
		}
	}
	if (document.formulario.direccion.value=="") {
		alert("Debe ingresar su Dirección.");
		document.formulario.direccion.focus();
		return;
	}
	if (document.formulario.ciudad.value=="") {
		alert("Debe ingresar su Ciudad/Estado.");
		document.formulario.ciudad.focus();
		return;
	}
	if (document.formulario.pais.value=="") {
		alert("Debe ingresar su País.");
		document.formulario.pais.focus();
		return;
	}
	if (document.formulario.cp.value=="") {
		alert("Debe ingresar su CP.");
		document.formulario.cp.focus();
		return;
	}
	document.formulario.submit();
}
function Validar_brochure_en() {
	if (document.formulario.nombre.value=="") {
		alert("Please, insert your Name.");
		document.formulario.nombre.focus();
		return;
	}
	if (document.formulario.apellido.value=="") {
		alert("Please, insert your Last Name.");
		document.formulario.apellido.focus();
		return;
	}
	if (document.formulario.empresa.value=="") {
		alert("Please, insert your Company.");
		document.formulario.empresa.focus();
		return;
	}
	if (document.formulario.telefono.value=="") {
		alert("Please, insert your Telephone.");
		document.formulario.telefono.focus();
		return;
	}
	if (document.formulario.email.value=="") {
		alert("Please, insert your Email.");
		document.formulario.email.focus();
		return;
	} else {
		if(!Emailcheck(document.formulario.email.value)) {
			alert("Please, insert your Email correctly.");
			document.formulario.email.focus();
			return;
		}
	}
	if (document.formulario.direccion.value=="") {
		alert("Please, insert your Address.");
		document.formulario.direccion.focus();
		return;
	}
	if (document.formulario.ciudad.value=="") {
		alert("Please, insert your City/State.");
		document.formulario.ciudad.focus();
		return;
	}
	if (document.formulario.pais.value=="") {
		alert("Please, insert your Country.");
		document.formulario.pais.focus();
		return;
	}
	if (document.formulario.cp.value=="") {
		alert("Please, insert your Zip Code.");
		document.formulario.cp.focus();
		return;
	}
	document.formulario.submit();
}
function Emailcheck(str) {
	var at="@"
	var dot="."
	var lat=str.indexOf(at)
	var lstr=str.length
	var ldot=str.indexOf(dot)
	if (str.indexOf(at)==-1){ return false }
	if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){ return false }
	if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){ return false }
	if (str.indexOf(at,(lat+1))!=-1){ return false }
	if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){ return false }
	if (str.indexOf(dot,(lat+2))==-1){ return false }
	if (str.indexOf(" ")!=-1){ return false }
	return true
}