function validar(theForm) {

 		if (theForm.contacto.value == ""){
			alert(tt_forms_validacion_contacto);
			theForm.contacto.focus();
			return (false);
		}
 		if (theForm.compania.value == ""){
			alert(tt_forms_validacion_empresa);
			theForm.compania.focus();
			return (false);
		}
		
		if (theForm.direccion.value == ""){
			alert(tt_forms_validacion_direccion);
			theForm.direccion.focus();
			return (false);
		}

 		if (theForm.localidad.value == ""){
			alert(tt_forms_validacion_ciudad);
			theForm.localidad.focus();
			return (false);
		}
		
 		if (theForm.cp.value == ""){
			alert(tt_forms_validacion_cp);
			theForm.cp.focus();
			return (false);
		}
		
		if (theForm.pais.value == ""){
			alert(tt_forms_validacion_pais);
			theForm.pais.focus();
			return (false);
		}

 		if (theForm.telefono.value == ""){
			alert(tt_forms_validacion_telefono);
			theForm.telefono.focus();
			return (false);
		}
		
 		if (theForm.fax.value == ""){
			alert(tt_forms_validacion_fax);
			theForm.fax.focus();
			return (false);
		}		
		
		if (theForm.email.value == ""){
			alert(tt_forms_validacion_email);
			theForm.email.focus();
			return (false);
		}

		email = theForm.email.value;
		email = email.toLowerCase();			

		if ( email.search("@") != -1 ){
		}
		else{
			alert(tt_forms_validacion_email_no_valido);
			theForm.email.focus();
			return (false);				
		}
		
		if (theForm.mensaje.value == ""){
			alert(tt_forms_validacion_mensaje);
			theForm.mensaje.focus();
			return (false);
		}
		
		if (theForm.guess.value == ""){
			alert(tt_forms_validacion_codigo_seguridad);
			theForm.guess.focus();
			return (false);
		}
		
		
	return (true);
	}