function validateContactForm(){
	var name 	= $('txt_name');
	var surname = $('txt_surname');
	var address = $('txt_address');
	var city	= $('txt_city');
	var country	= $('txt_country');
	var phone	= $('txt_phone');
	var email	= $('txt_email');
	var comments	= $('txt_comments');

	var ok = false;

	if(!disallowBlank(name,'Por favor, ingrese su nombre.',true))
		if(!disallowBlank(surname,'Por favor, ingrese su apellido.',true))
			if(!disallowBlank(address,'Por favor, ingrese su dirección.',true))
				if(!disallowBlank(city,'Por favor, ingrese su ciudad de residencia.',true))
					if(!disallowBlank(country,'Por favor, ingrese su país de recidencia.',true))
						if(!disallowBlank(phone,'Por favor, ingrese su teléfono.',true))
							if(!disallowBlank(email,'Por favor, ingrese su e-mail.',true))
								if(validEmail(email,'Por favor, ingrese un email correcto.',true))
									if(!disallowBlank(comments,'Por favor, ingrese un comentario.',true))
										ok = true;

	return ok;

}

function setAction(action,formularioId){
	var form = $(formularioId);
	form.action +=  "?action="+action;
	form.submit();
}