// <!------
function validateForm(theForm){

	if (theForm.nombre.value == ""){
		alert("No ingreso su nombre");
		theForm.nombre.focus();
		return false;
	}
	if (theForm.email.value == ""){
		alert("No ingreso su e-mail");
		theForm.email.focus();
		return false;
	}
	
	if (!isEmail(theForm.email.value)){
		alert("No ingreso correctamente su e-mail");
		theForm.email.focus();
		return false;
	}

	if (theForm.subject.value == -1){
		alert("No seleccionó el subject");
		theForm.email.focus();
		return false;
	}

	if (theForm.contenido.value == ""){
		alert("No ingreso El contenido del mail");
		theForm.contenido.focus();
		return false;
	}

	return true;
}
// ----->

