// JavaScript Document
function validarForm(thisForm)
{
	if ( thisForm.txtNombre.value == '' ) {
		alert('Debe ingresar su nombre.');
		thisForm.txtNombre.focus();
		return false;
	}
	
	if ( esunemail(thisForm.txtEmail) == false ) {
		alert('Debe ingresar su e-mail.');
		thisForm.txtEmail.focus();
		return false;
	}
	
	if ( thisForm.txtNombreDest.value == '' ) {
		alert('Debe ingresar un nombre destinatario.');
		thisForm.txtNombreDest.focus();
		return false;
	}
	
	if ( esunemail(thisForm.txtEmailDest) == false ) {
		alert('Debe ingresar un e-mail destinatario.');
		thisForm.txtEmailDest.focus();
		return false;
	}
	
	return true;
}

