function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }
    
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    }
    
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }

//Funções para a opção de outros produtos e matéria prima
	function ShowReg(op) {
  document.getElementById('Car').style.display='none';
  if (op == 580) {
    document.getElementById('Car').style.display="block";
  }

}
	
	function ShowReg2(op) {
  document.getElementById('Car2').style.display='none';
  if (op == 580) {
    document.getElementById('Car2').style.display="block";
  }

}
	
	function ShowReg3(op) {
  document.getElementById('Car3').style.display='none';
  if (op == 580) {
    document.getElementById('Car3').style.display="block";
  }

}
	
	function ShowReg4(op) {
  document.getElementById('Car4').style.display='none';
  if (op == 580) {
    document.getElementById('Car4').style.display="block";
  }

}
	
	function ShowReg5(op) {
  document.getElementById('Car5').style.display='none';
  if (op == 580) {
    document.getElementById('Car5').style.display="block";
  }

}
	
	function ShowReg6(op) {
  document.getElementById('Car6').style.display='none';
  if (op == 580) {
    document.getElementById('Car6').style.display="block";
  }

}
	
	function ShowReg7(op) {
  document.getElementById('Car7').style.display='none';
  if (op == 580) {
    document.getElementById('Car7').style.display="block";
  }

}
	
	function ShowReg8(op) {
  document.getElementById('Car8').style.display='none';
  if (op == 580) {
    document.getElementById('Car8').style.display="block";
  }

}
	
	function ShowReg9(op) {
  document.getElementById('Car9').style.display='none';
  if (op == 580) {
    document.getElementById('Car9').style.display="block";
  }

}
	
	function ShowReg10(op) {
  document.getElementById('Car10').style.display='none';
  if (op == 580) {
    document.getElementById('Car10').style.display="block";
  }

}
	
	function ShowReg11(op) {
  document.getElementById('Car11').style.display='none';
  if (op == 580) {
    document.getElementById('Car11').style.display="block";
  }

}
	
	function ShowReg12(op) {
  document.getElementById('Car12').style.display='none';
  if (op == 580) {
    document.getElementById('Car12').style.display="block";
  }

}
	
	function ShowRegM1(op) {
  document.getElementById('Car13').style.display='none';
  if (op == 184) {
    document.getElementById('Car13').style.display="block";
  }

}
	
	function ShowRegM2(op) {
  document.getElementById('Car14').style.display='none';
  if (op == 184) {
    document.getElementById('Car14').style.display="block";
  }

}
	
	function ShowRegM3(op) {
  document.getElementById('Car15').style.display='none';
  if (op == 184) {
    document.getElementById('Car15').style.display="block";
  }

}
	
	function ShowRegM4(op) {
  document.getElementById('Car16').style.display='none';
  if (op == 184) {
    document.getElementById('Car16').style.display="block";
  }

}
	
	function ShowRegM5(op) {
  document.getElementById('Car17').style.display='none';
  if (op == 184) {
    document.getElementById('Car17').style.display="block";
  }

}

//Fim das funções para a opção de outros produtos e matéria prima


//Funções para a opção OUTROS PRODUTOS TOYS
	function ShowRegt1(op) {
  document.getElementById('Car').style.display='none';
  if (op == 95) {
    document.getElementById('Car').style.display="block";
  }

}
	function ShowRegt2(op) {
  document.getElementById('Car2').style.display='none';
  if (op == 95) {
    document.getElementById('Car2').style.display="block";
  }

}
	function ShowRegt3(op) {
  document.getElementById('Car3').style.display='none';
  if (op == 95) {
    document.getElementById('Car3').style.display="block";
  }

}
	function ShowRegt4(op) {
  document.getElementById('Car4').style.display='none';
  if (op == 95) {
    document.getElementById('Car4').style.display="block";
  }

}
	function ShowRegt5(op) {
  document.getElementById('Car5').style.display='none';
  if (op == 95) {
    document.getElementById('Car5').style.display="block";
  }

}
	function ShowRegt6(op) {
  document.getElementById('Car6').style.display='none';
  if (op == 95) {
    document.getElementById('Car6').style.display="block";
  }

}
	function ShowRegt7(op) {
  document.getElementById('Car7').style.display='none';
  if (op == 95) {
    document.getElementById('Car7').style.display="block";
  }

}
	function ShowRegt8(op) {
  document.getElementById('Car8').style.display='none';
  if (op == 95) {
    document.getElementById('Car8').style.display="block";
  }

}
	function ShowRegt9(op) {
  document.getElementById('Car9').style.display='none';
  if (op == 95) {
    document.getElementById('Car9').style.display="block";
  }

}
	function ShowRegt10(op) {
  document.getElementById('Car10').style.display='none';
  if (op == 95) {
    document.getElementById('Car10').style.display="block";
  }

}
	function ShowRegt11(op) {
  document.getElementById('Car11').style.display='none';
  if (op == 95) {
    document.getElementById('Car11').style.display="block";
  }

}
	function ShowRegt12(op) {
  document.getElementById('Car12').style.display='none';
  if (op == 95) {
    document.getElementById('Car12').style.display="block";
  }

}
	function ShowRegtmt1(op) {
  document.getElementById('mt1').style.display='none';
  if (op == 80) {
    document.getElementById('mt1').style.display="block";
  }

}
	function ShowRegtmt2(op) {
  document.getElementById('mt2').style.display='none';
  if (op == 80) {
    document.getElementById('mt2').style.display="block";
  }

}
	function ShowRegtmt3(op) {
  document.getElementById('mt3').style.display='none';
  if (op == 80) {
    document.getElementById('mt3').style.display="block";
  }

}
	function ShowRegtmt4(op) {
  document.getElementById('mt4').style.display='none';
  if (op == 80) {
    document.getElementById('mt4').style.display="block";
  }

}
	function ShowRegtmt5(op) {
  document.getElementById('mt5').style.display='none';
  if (op == 80) {
    document.getElementById('mt5').style.display="block";
  }

}





//Funções para a opção de diferente perfil de atualização de cadastro

	function ShowRegVE(op) {
  document.getElementById('Visita').style.display='none';
  document.getElementById('Expositor').style.display='none';

  if (op == 1) {
    document.getElementById('Visita').style.display="block";
  }
    if (op == 2) {
    document.getElementById('Expositor').style.display="block";
  }

}

//Fim das Funções para a opção de outros produtos e matéria prima


//Funções para a opção OUTROS PRODUTOS TOOls
	function ShowRegTools1(op) {
  document.getElementById('Car').style.display='none';
  if (op == 113) {
    document.getElementById('Car').style.display="block";
  }

}
	function ShowRegTools2(op) {
  document.getElementById('Car2').style.display='none';
  if (op == 113) {
    document.getElementById('Car2').style.display="block";
  }

}
	function ShowRegTools3(op) {
  document.getElementById('Car3').style.display='none';
  if (op == 113) {
    document.getElementById('Car3').style.display="block";
  }

}
	function ShowRegTools4(op) {
  document.getElementById('Car4').style.display='none';
  if (op == 113) {
    document.getElementById('Car4').style.display="block";
  }

}
	function ShowRegTools5(op) {
  document.getElementById('Car5').style.display='none';
  if (op == 113) {
    document.getElementById('Car5').style.display="block";
  }

}
	function ShowRegTools6(op) {
  document.getElementById('Car6').style.display='none';
  if (op == 113) {
    document.getElementById('Car6').style.display="block";
  }

}
	function ShowRegTools7(op) {
  document.getElementById('Car7').style.display='none';
  if (op == 113) {
    document.getElementById('Car7').style.display="block";
  }

}
	function ShowRegTools8(op) {
  document.getElementById('Car8').style.display='none';
  if (op == 113) {
    document.getElementById('Car8').style.display="block";
  }

}
	function ShowRegTools9(op) {
  document.getElementById('Car9').style.display='none';
  if (op == 113) {
    document.getElementById('Car9').style.display="block";
  }

}
	function ShowRegTools10(op) {
  document.getElementById('Car10').style.display='none';
  if (op == 113) {
    document.getElementById('Car10').style.display="block";
  }

}
	function ShowRegTools11(op) {
  document.getElementById('Car11').style.display='none';
  if (op == 113) {
    document.getElementById('Car11').style.display="block";
  }

}
	function ShowRegTools12(op) {
  document.getElementById('Car12').style.display='none';
  if (op == 113) {
    document.getElementById('Car12').style.display="block";
  }

}

	function ShowRegtoolsmt1(op) {
  document.getElementById('mt1').style.display='none';
  if (op == 24) {
    document.getElementById('mt1').style.display="block";
  }

}
	function ShowRegtoolsmt2(op) {
  document.getElementById('mt2').style.display='none';
  if (op == 24) {
    document.getElementById('mt2').style.display="block";
  }

}
	function ShowRegtoolsmt3(op) {
  document.getElementById('mt3').style.display='none';
  if (op == 24) {
    document.getElementById('mt3').style.display="block";
  }

}
	function ShowRegtoolsmt4(op) {
  document.getElementById('mt4').style.display='none';
  if (op == 24) {
    document.getElementById('mt4').style.display="block";
  }

}
	function ShowRegtoolsmt5(op) {
  document.getElementById('mt5').style.display='none';
  if (op == 24) {
    document.getElementById('mt5').style.display="block";
  }

}








	
  function validaForm()
	   {
		   msg="";
		   if (window.document.form.nome.value=="") {msg=msg+"Please tell us your name.\n";}
		   if (window.document.form.email.value=="") {msg=msg+"Please tell us your email.\n";}
		   if (window.document.form.mensagem.value=="") {msg=msg+"Please write us the message.\n";}

		   if (msg=="")
		    {return true;}
		   else
		    {alert(msg); return false;}
	   }
	   
  function validaForm_visita()
	   {
		   msg="";
		   if (window.document.form_visita.razao.value=="") {msg=msg+"O preenchimento do campo Raz\u00e3o \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_visita.pnome.value=="") {msg=msg+"O preenchimento do campo Primeiro Nome \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_visita.email.value=="") {msg=msg+"O preenchimento do campo Email \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_visita.endereco.value=="") {msg=msg+"O preenchimento do campo Endere\u00e7o \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_visita.cep.value=="") {msg=msg+"O preenchimento do campo CEP \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_visita.cidade.value=="") {msg=msg+"O preenchimento do campo Cidade \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_visita.estado.value=="") {msg=msg+"Por favor escolha o Estado de sua localiza\u00e7\u00e3o.\n";}
		   if (window.document.form_visita.telefone.value=="") {msg=msg+"O preenchimento do campo telefone \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_visita.ramo.value=="") {msg=msg+"Por favor escolha o seu ramo de atua\u00e7\u00e3o.\n";}
		   if (window.document.form_visita.setor.value=="") {msg=msg+"Por favor escolha o setor de interesse de sua visita";}
		   if (window.document.form_visita.objetivo.value=="") {msg=msg+"Por favor informe o objetivo de sua visita";}

		   if (msg=="")
		    {return true;}
		   else
		    {alert(msg); return false;}
	   }
	   
	     function validaForm_visitanew()
	   {
		   msg="";
		   if (window.document.form_visitante.razao.value=="") {msg=msg+"O preenchimento do campo Raz\u00e3o \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_visitante.pnome.value=="") {msg=msg+"O preenchimento do campo Primeiro Nome \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_visitante.email.value=="") {msg=msg+"O preenchimento do campo Email \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_visitante.endereco.value=="") {msg=msg+"O preenchimento do campo Endere\u00e7o \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_visitante.cep.value=="") {msg=msg+"O preenchimento do campo CEP \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_visitante.cidade.value=="") {msg=msg+"O preenchimento do campo Cidade \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_visitante.estado.value=="") {msg=msg+"Por favor escolha o Estado de sua localiza\u00e7\u00e3o.\n";}
		   if (window.document.form_visitante.telefone.value=="") {msg=msg+"O preenchimento do campo telefone \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_visitante.ramo.value=="") {msg=msg+"O campo ramo \u00e9 obrigat\u00f3rio.\n";}

		   if (msg=="")
		    {return true;}
		   else
		    {alert(msg); return false;}
	   }
	   
	   
	   
	   
	     function validaForm_visithouse()
	   {
		   msg="";
		   if (window.document.form.country.value=="") {msg=msg+"Please tell us what country you are from.\n";}
		   if (window.document.form.fname.value=="") {msg=msg+"Please tell us your first name.\n";}
		   if (window.document.form.lname.value=="") {msg=msg+"Please tell us your last name.\n";}
		   if (window.document.form.cname.value=="") {msg=msg+"Please tell us your comapany´s name.\n";}
		   if (window.document.form.address.value=="") {msg=msg+"Please tell us your address.\n";}
		   if (window.document.form.email.value=="") {msg=msg+"Please tell us your email.\n";}
		   if (window.document.form.city.value=="") {msg=msg+"Please tell us your city.\n";}
		   if (window.document.form.zip.value=="") {msg=msg+"Please tell us your ZIP.\n";}
		   if (window.document.form.phone.value=="") {msg=msg+"Please tell us your telephone.\n";}
		   if (window.document.form.product.value=="") {msg=msg+"Please tell us what products you are interested in.\n";}

		   if (msg=="")
		    {return true;}
		   else
		    {alert(msg); return false;}
	   }
	   
	   
	     function validaForm_exponha_int()
	   {
		   msg="";
		   if (window.document.form.country.value=="") {msg=msg+"Please tell us what country your company is from.\n";}
		   if (window.document.form.fname.value=="") {msg=msg+"Please tell us your first name.\n";}
		   if (window.document.form.lname.value=="") {msg=msg+"Please tell us your last name.\n";}
		   if (window.document.form.cname.value=="") {msg=msg+"Please tell us your comapany´s name.\n";}
		   if (window.document.form.address.value=="") {msg=msg+"Please tell us your comapany´s address.\n";}
		   if (window.document.form.email.value=="") {msg=msg+"Please tell us your email.\n";}
		   if (window.document.form.city.value=="") {msg=msg+"Please tell us your comapany´s city.\n";}
		   if (window.document.form.zip.value=="") {msg=msg+"Please tell us your comapany´s ZIP.\n";}
		   if (window.document.form.phone.value=="") {msg=msg+"Please tell us your telephone.\n";}
		   if (window.document.form.product.value=="") {msg=msg+"Please tell us your company´s main product line.\n";}

		   if (msg=="")
		    {return true;}
		   else
		    {alert(msg); return false;}
	   }
	   
	   
	   
	     function validaForm_exporatualiza()
	   {
		   msg="";
		   if (window.document.form.country.value=="") {msg=msg+"Please tell us what country your company is from";}
		   if (window.document.form.fname.value=="") {msg=msg+"Please tell us your first name";}
		   if (window.document.form.lname.value=="") {msg=msg+"Please tell us your last name";}
		   if (window.document.form.cname.value=="") {msg=msg+"Please tell us your comapany´s name";}
		   if (window.document.form.address.value=="") {msg=msg+"Please tell us your comapany´s address";}
		   if (window.document.form.email.value=="") {msg=msg+"Please tell us your email";}
		   if (window.document.form.city.value=="") {msg=msg+"Please tell us your comapany´s city";}
		   if (window.document.form.zip.value=="") {msg=msg+"Please tell us your comapany´s ZIP";}
		   if (window.document.form.phone.value=="") {msg=msg+"Please tell us your telephone";}
		   if (window.document.form.product.value=="") {msg=msg+"Please tell us your company´s main product line";}

		   if (msg=="")
		    {return true;}
		   else
		    {alert(msg); return false;}
	   }
   
  function validaForm_publicidade_revista()
	   {
		   msg="";
		   if (window.document.form_publicidade.nome.value=="") {msg=msg+"O preenchimento do campo Nome \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_publicidade.empresa.value=="") {msg=msg+"O preenchimento do campo Empresa \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_publicidade.departamento.value=="") {msg=msg+"O preenchimento do campo Departamento \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_publicidade.cargo.value=="") {msg=msg+"O preenchimento do campo Cargo \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_publicidade.endereco.value=="") {msg=msg+"O preenchimento do campo Endere\u00e7o \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_publicidade.estado.value=="") {msg=msg+"Por favor escolha o Estado de sua localiza\u00e7\u00e3o.\n";}
		   if (window.document.form_publicidade.telefone.value=="") {msg=msg+"O preenchimento do campo telefone \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_publicidade.email.value=="") {msg=msg+"O preenchimento do campo Email \u00e9 obrigat\u00f3rio.\n";}	

		   if (msg=="")
		    {return true;}
		   else
		    {alert(msg); return false;}
	   }
	   
	   
	     function validaForm_exporhouse()
	   {
		   msg="";
		   if (window.document.form.country.value=="") {msg=msg+"Please tell us what country your company is from";}
		   if (window.document.form.fname.value=="") {msg=msg+"Please tell us your first name";}
		   if (window.document.form.lname.value=="") {msg=msg+"Please tell us your last name";}
		   if (window.document.form.cname.value=="") {msg=msg+"Please tell us your comapany´s name";}
		   if (window.document.form.address.value=="") {msg=msg+"Please tell us your comapany´s address";}
		   if (window.document.form.email.value=="") {msg=msg+"Please tell us your email";}
		   if (window.document.form.city.value=="") {msg=msg+"Please tell us your comapany´s city";}
		   if (window.document.form.zip.value=="") {msg=msg+"Please tell us your comapany´s ZIP";}
		   if (window.document.form.phone.value=="") {msg=msg+"Please tell us your telephone";}
		   if (window.document.form.product.value=="") {msg=msg+"Please tell us your company´s main product line";}

		   if (msg=="")
		    {return true;}
		   else
		    {alert(msg); return false;}
	   }
	   
	   
	  function validaForm_anuncie_site()
	   {
		   msg="";
		   
		   if (window.document.form_site.empresa.value=="") {msg=msg+"Please tell us your comapany´s name";}
		   if (window.document.form_site.contato.value=="") {msg=msg+"Please tell us your name";}
		   if (window.document.form_site.telefone.value=="") {msg=msg+"Please tell us your telephone";}
		   if (window.document.form_site.email.value=="") {msg=msg+"Please tell us your email";}	

		   if (msg=="")
		    {return true;}
		   else
		    {alert(msg); return false;}
	   }  
	   
	    
	   
	   function validaForm_cadastrox()
	   {
		   msg="";
		  if (window.document.form_exponha.razao.value=="") {msg=msg+"O preenchimento do campo Raz\u00e3o \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_exponha.endereco.value=="") {msg=msg+"O preenchimento do campo Endere\u00e7o \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_exponha.cidade.value=="") {msg=msg+"O preenchimento do campo Cidade \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_exponha.estado.value=="") {msg=msg+"Por favor escolha o Estado de sua localiza\u00e7\u00e3o.\n";}
		   if (window.document.form_exponha.cep.value=="") {msg=msg+"O preenchimento do campo CEP \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_exponha.telefone.value=="") {msg=msg+"Por favor escolha o Telefone de sua localiza\u00e7\u00e3o.\n";}
		   if (window.document.form_exponha.email.value=="") {msg=msg+"O preenchimento do campo Email \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_exponha.contato.value=="") {msg=msg+"O preenchimento do campo Contato \u00e9 obrigat\u00f3rio.\n";}

		   if (msg=="")
		    {return true;}
		   else
		    {alert(msg); return false;}
	   }
	   
	     function validaForm_fichagia()
	   {
		   msg="";
		   if (window.document.fichagia.loja.value=="") {msg=msg+"O preenchimento do campo Loja \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.fichagia.estado.value=="") {msg=msg+"Por favor escolha o Estado de sua localiza\u00e7\u00e3o.\n";}
		   if (window.document.fichagia.cidade.value=="") {msg=msg+"O preenchimento do campo Cidade \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.fichagia.endereco.value=="") {msg=msg+"O preenchimento do campo Endere\u00e7o \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.fichagia.telefone.value=="") {msg=msg+"Por favor escolha o Telefone de sua localiza\u00e7\u00e3o.\n";}
		   if (window.document.fichagia.contato.value=="") {msg=msg+"O preenchimento do campo Contato \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.fichagia.funcionarios.value=="") {msg=msg+"O preenchimento do campo Nº de   Funcion\u00e1rios \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.fichagia.tempo.value=="") {msg=msg+"Por favor informe o tempo de atua\u00e7\u00e3o no mercado da sua loja";}

		   if (msg=="")
		    {return true;}
		   else
		    {alert(msg); return false;}
	   }
	   
	     function validaForm_palestra()
	   {
		   msg="";
	       if (window.document.fichapalestra.empresa.value=="") {msg=msg+"O preenchimento do campo Empresa \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.fichapalestra.nome.value=="") {msg=msg+"O preenchimento do campo Nome \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.fichapalestra.email.value=="") {msg=msg+"Por favor escolha o Email de sua localiza\u00e7\u00e3o.\n";}
		   if (window.document.fichapalestra.telefone.value=="") {msg=msg+"O preenchimento do campo Telefone \u00e9 obrigat\u00f3rio.\n";}

		   if (msg=="")
		    {return true;}
		   else
		    {alert(msg); return false;}
	   }
	   
	   
	   
	   
	     function validaForm_cadastro()
	   {
		   msg="";
		   
		   if (window.document.form_cadastro.cnpj.value=="") {msg=msg+"O preenchimento do campo CNPJ \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_cadastro.insc.value=="") {msg=msg+"O preenchimento do campo insc \u00e9 obrigat\u00f3rio.\n";}
		   if (window.document.form_cadastro.razao.value=="") {msg=msg+"O preenchimento do campo Raz\u00e3o \u00e9 obrigat\u00f3rio.\n";

		   if (msg=="")
		    {return true;}
		   else
		    {alert(msg); return false;}
	   }
	   


	   
	   
	   
	   
	   
	   
	   
	   }
