// JavaScript Document
function valid_form (the_form)
{
	to_fill = '';
	if (the_form.Nombre.value == '')
		to_fill += '\n  - Nombre Completo';
	if (the_form.empresa.value == '')
		to_fill += '\n  - Nombre de la Compania';
	if (the_form.telefono.value == '')
		to_fill += '\n  - Telefono(s)';
	if (the_form.email.value == '')
		to_fill += '\n  - Correo Electronico';
	if (to_fill == '')
	{
		if (isEmail (the_form.email.value))
		{
			return true;
		}
		else
		{
			alert ('Por favor escriba una direccion de correo valida bajo "Correo Electronico"');
			return false;
		}
	}
	else
	{
		alert ('Por favor llene los siguientes campos:\n' + to_fill);
		return false;
	}
}
