// JavaScript Document
window.defaultStatus="Alflen Advogados Associados";

function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function disableselect (e) { 
return flase 
} 
function reEnable(){ 
return true 
} 
document.onselectstart=new Function ("return false") 
if (window.sidebar){ 
document.onmousedown=disableselect 
document.onclick=reEnable 
} 
function MM_openBrWindow(theURL,winName,features) { //v2.0

  window.open(theURL,winName,features);
}
function validacontato(contato) {
if (contato.nome.value == "")
{ alert("O campo nome deve ser preenchido!");
   contato.nome.focus();
return (false);
}
if (contato.email.value == "")
{ alert("O campo de email deve ser preenchido!");
   contato.email.focus();
   return (false);
}
if (contato.cidade.value == "")
{ alert("O campo de cidade deve ser preenchido!");
   contato.cidade.focus();
   return (false);
}
if (contato.mensagem.value == "")
{ alert("O campo de mensagem deve ser preenchido!");
   contato.mensagem.focus();
   return (false);
}
return (true);
}