function contato_Validator(theForm)
{

  if (theForm.email.value == "")
  {
    alert("Digite seu email corretamente \"Email\".");
    theForm.email.focus();
    return (false);
  }
	
    if (theForm.nome.value == "")
  {
    alert("Por favor digite o nome do \"Responsavel\".");
    theForm.nome.focus();
    return (false);
  }

  if (theForm.endereco.value == "")
  {
    alert("Digite um valor para o campo \"Endereco\".");
    theForm.endereco.focus();
    return (false);
  }

  if (theForm.uf.selectedIndex == 0)
  {
    alert("A primeira op&ccedil;&otilde;es \"Estado\" n&atilde;o &eacute; uma sele&ccedil;&atilde;o v&aacute;lida. Escolha uma das outras op&ccedil;&otilde;es.");
    theForm.uf.focus();
    return (false);
  }

    if (theForm.ddd1.value == "")
  {
    alert("Digite um valor para o campo \"DDD\".");
    theForm.ddd1.focus();
    return (false);
  }

    if (theForm.telefone.value == "")
  {
    alert("Digite um valor para o campo \"Telefone\".");
    theForm.telefone.focus();
    return (false);
  }
    if (theForm.cidade.value == "")
  {
    alert("Digite um valor para o campo \"Cidade\".");
    theForm.cidade.focus();
    return (false);
  }

  return (true);
}

function divBackON() {
	document.getElementById("overlay").style.display="block";
}

function divBackOFF() {
	document.getElementById("overlay").style.display="none";
}


