//VALIDA FORMULARIO DE CONTACTO

function validaContacto(form)
{
	
	if(Empty(form.nombre.value))
	{
		alert('Ingrese su nombre');
		form.nombre.focus();
		return false;
	}
	
	
	if(!isInteger(form.fono.value)) 
	{
		alert('Ingrese su teléfono') 
		form.fono.focus(); 
		return false; 
	}

	if(!isMail(form.email.value))
	{
		alert('Ingrese su e-mail')
		form.email.focus();
		return false;
	}

	if (Empty(form.comentario.value) || (form.comentario.value.length >= 250)){
		alert('Ingreso su mensaje por favor. (Máximo permitido de caracteres: 250), ahora existen '+ form.comentario.value.length);
		form.comentario.focus();
		return false;
	}	

	
	return;

}


