// JavaScript Document
function validarFormFooter(thisForm) {
	if(thisForm.txtNombre.value == ''){
		alert('Debe ingresar el nombre.');
		thisForm.txtNombre.focus();
		return false;
	}

	if(thisForm.txtEmail.value == ''){
		alert('Debe ingresar el email.');
		thisForm.txtEmail.focus();
		return false;
	}else{		
		re=/\w+([-+.]\w+)*@\w+([-]\w+)*\.\w+([.]\w+)*/;
		if (!re.test(thisForm.txtEmail.value)) 
		{
			alert("El e-mail ingresado es incorrecto, inténtelo de nuevo");
			thisForm.txtEmail.focus();
			return false;	
		}
	}

	return true;
}
