// <!--------

function validateLogin(theForm){

	if (theForm.login.value == ""){
		alert("No ingreso su login");
		theForm.login.focus();
		return false;
	}
	
	if (theForm.password.value == ""){
		alert("No ingreso su password");
		theForm.password.focus();
		return false;
	}
	
	return true;

}

function validateEmail(theForm){

	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;
	}
	
	return true;

}


// --------->





