// JavaScript Document// JavaScript Document
function checkform()
{
var   pattern   =   /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/;
	if(document.addForm.gb_name.value=="")
	{
		alert("Seu nome!");
		document.addForm.gb_name.focus();
		return false;
	}
	if(document.addForm.gb_email.value=="")
	{
		alert("Seu E-mail!");
		document.addForm.gb_email.focus();
		return false;
	}
		
	if(!pattern.test(document.addForm.gb_email.value))
	{
		alert("Seu endereço de Email é errado!");
		document.addForm.gb_email.focus();
		return false;
	}
	if(document.addForm.gb_tel.value=="")
	{
		alert("Seu número de telefone!");
		document.addForm.gb_tel.focus();
		return false;
	}
	if(document.addForm.gb_addr.value=="")
	{
		alert("Seu país!!");
		document.addForm.gb_addr.focus();
		return false;
	}
	if(document.addForm.gb_message.value=="")
	{
		alert("Por favor, diga-nos os produtos de que você precisa.");
		document.addForm.gb_message.focus();
		return false;
	}
}

