// JavaScript Document

function SetCookie (name, value) {
         var argv = SetCookie.arguments;
         var argc = SetCookie.arguments.length;
         var expires = (argc > 2) ? argv[2] : null;
         var path = (argc > 3) ? argv[3] : null;
         var domain = (argc > 4) ? argv[4] : null;
         var secure = (argc > 5) ? argv[5] : false;
         document.cookie = name + "=" + escape (value) +
         ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
         ((path == null) ? "" : ("; path=" + path)) +
         ((domain == null) ? "" : ("; domain=" + domain)) +
         ((secure == true) ? "; secure" : "");
}
  
function setC(form) {
		var expdate = new Date ();
		expdate.setTime (expdate.getTime() + (24 * 60 * 60 * 1000 * 31));
		if(form.value!=-1){
			SetCookie (form.name, form.options[form.selectedIndex].text, expdate);
			window.location='inicial.asp?strNomeRegiao='+form.options[form.selectedIndex].text;	
		}
	
}




// Get Cookie Value function
function getCookieVal(offset) {
   var endstr = document.cookie.indexOf (";", offset);
   if (endstr == -1) endstr = document.cookie.length;
   return unescape (document.cookie.substring(offset, endstr));
}

// Get Cookie function
function GetCookie(name) {
   var arg = name+"=";
   var alen = arg.length;
   var clen = document.cookie.length;
   var i = 0;
   while (i < clen) {
      var j = i + alen;
      if (document.cookie.substring(i, j) == arg) return getCookieVal(j);
      i = document.cookie.indexOf(" ", i) + 1;
      if (i == 0) break;
   }
   return null;
}




function fncVerificaCookie(bitCookie){
	var Cookie=GetCookie("RegiaoUsuarioEmbratec");
	if ((Cookie)&&(bitCookie!=0)){
		window.location='inicial.asp?strNomeRegiao='+GetCookie("RegiaoUsuarioEmbratec");	
	}
	else{
		document.getElementById("Main").style.visibility='visible';	
		document.body.background = "img/bg_regiao.jpg";
	}

}

function fncEscreveValorCookie(){
	return (GetCookie("RegiaoUsuarioEmbratec"));
}


function fncTrocaRegiao(){
//	window.location='home.cfm?strCookie=0';
	window.location='index.asp?strCookie=0';
}

/*********************************************************************************************************/
function ChkForm() {
    if(document.Form.nr_cartao.value == '' ||
      document.Form.cpf.value == ''){
      alert('Por favor, informe seus dados para identificacao.');
      document.Form.cpf.focus();
      return false
    }
    return true;
  }

function LoginCartao(strURL){
var objCartao = document.getElementById('nr_cartao');
var objCPF = document.getElementById('cpf');

if (!((objCartao.value == "Nº do Cartão:")&&(objCPF.value == "Seu CPF:"))){
	if(ChkForm()){
		if ((navigator.appName).indexOf("Microsoft")!=-1) {
			var intLargura =screen.availwidth-10;
			var intAltura = screen.availheight-30;
		}
		else{
			var intLargura =screen.availwidth-10;
			var intAltura = screen.availheight-20;
		}
			var intPosLeft = 0;
			var intPosTop = 0
		
			window.open('cartao_login.cfm','Sistema','height=' + intAltura + ',width=' + intLargura + ',scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,resizable=no,top=' + intPosTop + ',left=' + intPosLeft)
			document.getElementById('Form').submit();
	}
}
else{
	alert('Por favor, informe seus dados para identificacao.');	
}

}

function WindowPopup(){
	if ((navigator.appName).indexOf("Microsoft")!=-1) {
		var intLargura =screen.availwidth-10;
		var intAltura = screen.availheight-30;
	}
	else{
		var intLargura =screen.availwidth-10;
		var intAltura = screen.availheight-20;
	}
		var intPosLeft = 0;
		var intPosTop = 0
		
		window.open('meucartao/cartao_login.cfm','Sistema','height=' + intAltura + ',width=' + intLargura + ',scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,resizable=no,top=' + intPosTop + ',left=' + intPosLeft)
}

function fncImpressao(strNome){

	var intLargura =650;
	var intAltura = 540;

	var intPosLeft = screen.width/2 - intLargura/2;
	var intPosTop = screen.height/2 - intAltura/2;

	window.open(strNome,'Noticia','height=' + intAltura + ',width=' + intLargura + ',scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,resizable=no,top=' + intPosTop + ',left=' + intPosLeft)
	
	
}

function fncPopupTopazio(){

	var intLargura =517;
	var intAltura = 540;

	var intPosLeft = screen.width/2 - intLargura/2;
	var intPosTop = screen.height/2 - intAltura/2;

	window.open('Topazio.html','Popup','height=' + intAltura + ',width=' + intLargura + ',scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,resizable=no,top=' + intPosTop + ',left=' + intPosLeft)
	
	
}

function fncTrocaBgBts(Obj){
	strClasse = new String(Obj.className);
	if(Obj.className.indexOf('Bto')==-1){
		strClasse = strClasse.replace("Btu","Bto");
	}
	else{
		strClasse = strClasse.replace("Bto","Btu");
	}
	Obj.className = strClasse;	
}

function fncMostraSubMenu(obj){
	var Status = document.getElementById(obj).style.display;
	if(Status == 'none')
	{
		Status = 'block';
	}
	else
	{
		Status = 'none';
	}
		document.getElementById(obj).style.display = Status;
}

function fncEscondeCampos(){
	document.getElementById('tblPerfilCliente').style.display='none';
	document.getElementById('tblPerfilUsuario').style.display='none';
	document.getElementById('tblPerfilEstabelecimento').style.display='none';
	document.getElementById('tblCodigoEstabelecimento').style.display='none';
	document.getElementById('tblTipoEstabelecimento').style.display='none';
	document.getElementById('tblNomeEstabelecimento').style.display='none';
	document.getElementById('tblCartao').style.display='none';
	document.getElementById('tblDadoCliente').style.display='none';
	document.getElementById('tblDadoNaoCliente').style.display='none';
	document.getElementById('tblTelefoneLocal').style.display='none';
	document.getElementById('tblInfoSobre').style.display='none';
	document.getElementById('tblFrota').style.display='none';
	document.getElementById('tblFuncionarios').style.display='none';
	document.getElementById('tblCartaoPossui').style.display='none';
	document.getElementById('tblMensagem').style.display='none';			
	document.getElementById('tblBtEnviar').style.display='none';		
	document.getElementById('tblEmail').style.display='none';		
	
}

function fncLimpaCampos(strTipo){
	if (strTipo=='checkbox'){
		for(i=0;i<document.getElementsByTagName('input').length;i++){
			if(document.getElementsByTagName('input')[i].type!='text'){
				document.getElementsByTagName('input')[i].checked=false;
			}
		}
		
	}
	else{
		for(i=0;i<document.getElementsByTagName('input').length;i++){
			if(document.getElementsByTagName('input')[i].type!='text'){
				document.getElementsByTagName('input')[i].checked=false;
			}
			else{
				document.getElementsByTagName('input')[i].value='';;
			}
		}
	}
	document.getElementsByTagName('textarea')[0].value='';
}

function MostraCampos(strNomeCampo){

	if(strNomeCampo=='selPublico'){
			document.getElementById('selPerfilUsuario').selectedIndex=0;
			document.getElementById('selPerfilCliente').selectedIndex=0;
			document.getElementById('selPerfilEstabelecimento').selectedIndex=0;
			document.getElementById('selTipoEstabelecimento').selectedIndex=0;
			document.getElementById('selUF').selectedIndex=0;
			document.getElementById('strCidade').selectedIndex=0;
			document.getElementById('selInfoSobre').selectedIndex=0;
			document.getElementById('selTipoFrota').selectedIndex=0;
			document.getElementById('selTamFrota').selectedIndex=0;
			document.getElementById('selNumFuncionarios').selectedIndex=0;

		if(document.getElementById(strNomeCampo).selectedIndex==1){
			fncEscondeCampos();

			document.getElementById('tblPerfilCliente').style.display='block';
			document.getElementById('selPerfilCliente').selectedIndex=0;
		}
		if(document.getElementById(strNomeCampo).selectedIndex==2){
			fncEscondeCampos();

			document.getElementById('tblPerfilUsuario').style.display='block';		
			document.getElementById('selPerfilUsuario').selectedIndex=0;
		}
		if(document.getElementById(strNomeCampo).selectedIndex==3){
			fncEscondeCampos();

			document.getElementById('tblPerfilEstabelecimento').style.display='block';			
			document.getElementById('selPerfilEstabelecimento').selectedIndex=0;
			
		}
		if(document.getElementById(strNomeCampo).selectedIndex==0){
			fncEscondeCampos();

		}	
			fncLimpaCampos();
	}
	if(strNomeCampo=='selPerfilCliente'){
		fncLimpaCampos();	
		if(document.getElementById(strNomeCampo).selectedIndex==1){

			document.getElementById('tblDadoCliente').style.display='block';
			document.getElementById('tblTelefoneLocal').style.display='block';
			document.getElementById('tblMensagem').style.display='block';
			document.getElementById('tblBtEnviar').style.display='block';
			document.getElementById('tblDadoNaoCliente').style.display='none';
			document.getElementById('tblInfoSobre').style.display='none';
			document.getElementById('tblFrota').style.display='none';
			document.getElementById('tblFuncionarios').style.display='none';
			document.getElementById('tblEmail').style.display='block';	
		}
		if(document.getElementById(strNomeCampo).selectedIndex==2){

			document.getElementById('tblDadoNaoCliente').style.display='block';
			document.getElementById('tblDadoCliente').style.display='none';
			document.getElementById('tblTelefoneLocal').style.display='block';
			document.getElementById('tblMensagem').style.display='none';
			document.getElementById('tblInfoSobre').style.display='block';
			document.getElementById('selInfoSobre').selectedIndex=0;
			document.getElementById('tblBtEnviar').style.display='block';
			document.getElementById('tblFrota').style.display='none';
			document.getElementById('tblFuncionarios').style.display='none';
			document.getElementById('tblEmail').style.display='block';	

		}
		if(document.getElementById(strNomeCampo).selectedIndex==0){

			document.getElementById('tblDadoCliente').style.display='none';
			document.getElementById('tblTelefoneLocal').style.display='none';
			document.getElementById('tblMensagem').style.display='none';
			document.getElementById('tblBtEnviar').style.display='none';
			document.getElementById('tblDadoNaoCliente').style.display='none';
			document.getElementById('tblInfoSobre').style.display='none';
			document.getElementById('tblFrota').style.display='none';
			document.getElementById('tblMensagem').style.display='none';
			document.getElementById('tblFuncionarios').style.display='none';
			document.getElementById('tblEmail').style.display='none';	
		}

	}
	
	if (strNomeCampo=='selInfoSobre'){
		fncLimpaCampos('checkbox');
		document.getElementById('selTipoFrota').selectedIndex=0;
		document.getElementById('selTamFrota').selectedIndex=0;
		document.getElementById('selNumFuncionarios').selectedIndex=0;
		
		if(document.getElementById(strNomeCampo).selectedIndex==1){

			document.getElementById('tblFrota').style.display='block';
			document.getElementById('tblMensagem').style.display='block';
			document.getElementById('tblFuncionarios').style.display='none';
		}
		if(document.getElementById(strNomeCampo).selectedIndex==2){

			document.getElementById('tblFrota').style.display='none';
			document.getElementById('tblMensagem').style.display='block';
			document.getElementById('tblFuncionarios').style.display='block';
		}
		if(document.getElementById(strNomeCampo).selectedIndex==0){

			document.getElementById('tblFrota').style.display='none';
			document.getElementById('tblMensagem').style.display='none';
			document.getElementById('tblFuncionarios').style.display='none';
		}
	}

	if (strNomeCampo=='selPerfilUsuario'){
		fncLimpaCampos();
		if(document.getElementById(strNomeCampo).selectedIndex==1){
			document.getElementById('tblCartao').style.display='block';
			document.getElementById('tblTelefoneLocal').style.display='block';
			document.getElementById('tblMensagem').style.display='block';
			document.getElementById('tblBtEnviar').style.display='block';
			document.getElementById('tblCartaoPossui').style.display='none';
			document.getElementById('tblEmail').style.display='block';	
		}
		if(document.getElementById(strNomeCampo).selectedIndex==2){
			document.getElementById('tblCartao').style.display='block';
			document.getElementById('tblTelefoneLocal').style.display='block';
			document.getElementById('tblMensagem').style.display='block';
			document.getElementById('tblCartaoPossui').style.display='block';
			document.getElementById('tblBtEnviar').style.display='block';
			document.getElementById('tblEmail').style.display='block';	
		}
		if(document.getElementById(strNomeCampo).selectedIndex==0){
			document.getElementById('tblCartao').style.display='none';
			document.getElementById('tblTelefoneLocal').style.display='none';
			document.getElementById('tblMensagem').style.display='none';
			document.getElementById('tblBtEnviar').style.display='none';
			document.getElementById('tblCartaoPossui').style.display='none';
			document.getElementById('tblEmail').style.display='none';	

			
		}
	}

	if (strNomeCampo=='selPerfilEstabelecimento'){
		fncLimpaCampos();
		document.getElementById('selTipoEstabelecimento').selectedIndex=0;
		if(document.getElementById(strNomeCampo).selectedIndex==1){
			document.getElementById('tblCodigoEstabelecimento').style.display='block';
			document.getElementById('tblTipoEstabelecimento').style.display='none';
			document.getElementById('tblNomeEstabelecimento').style.display='block';
			document.getElementById('tblTelefoneLocal').style.display='block';
			document.getElementById('tblMensagem').style.display='block';
			document.getElementById('tblBtEnviar').style.display='block';
			document.getElementById('tblEmail').style.display='block';	

		}
		if(document.getElementById(strNomeCampo).selectedIndex==2){
			document.getElementById('tblCodigoEstabelecimento').style.display='none';
			document.getElementById('tblTipoEstabelecimento').style.display='block';
			document.getElementById('tblNomeEstabelecimento').style.display='block';
			document.getElementById('tblTelefoneLocal').style.display='block';
			document.getElementById('tblMensagem').style.display='block';
			document.getElementById('tblBtEnviar').style.display='block';
			document.getElementById('tblEmail').style.display='block';	

		}
		if(document.getElementById(strNomeCampo).selectedIndex==0){
			document.getElementById('tblCodigoEstabelecimento').style.display='none';
			document.getElementById('tblTipoEstabelecimento').style.display='none';
			document.getElementById('tblNomeEstabelecimento').style.display='none';
			document.getElementById('tblTelefoneLocal').style.display='none';
			document.getElementById('tblMensagem').style.display='none';
			document.getElementById('tblBtEnviar').style.display='none';
			document.getElementById('tblEmail').style.display='none';	

		}

	}

	

}



/****************** FORMULARIO *********************************/


function LTrim(String) {
		var i = 0;
		var j = String.length - 1;
	
		if (String == null) return (false);
		for (i = 0; i < String.length; i++)	{
			if (String.substr(i, 1) != ' ' && String.substr(i, 1) != '\t') break;
		}
		if (i <= j) return (String.substr(i, (j+1)-i)); else return ('');
	}
	
	function RTrim(String) {
		var i = 0;
		var j = String.length - 1;
	
		if (String == null) return (false);
		for(j = String.length - 1; j >= 0; j--) {
			if (String.substr(j, 1) != ' ' && String.substr(j, 1) != '\t') break;
		}
		if (i <= j) return (String.substr(i, (j+1)-i)); else return ('');
	}

	function Trim(String) {
		if (String == null) return (false);
		return RTrim(LTrim(String));
	}
	
	function fnc_ValidaEmail(strEmail) {
		var emailPat=/^(.+)@(.+)$/
		var specialChars="\\(\\)<>@,;:\\\\\\\"\\.\\[\\]?&'%~#´`"
		var validChars="\[^\\s" + specialChars + "\]"
		var quotedUser="(\"[^\"]*\")"
		var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/
		var atom=validChars + '+'
		var word="(" + atom + "|" + quotedUser + ")"
		var userPat=new RegExp("^" + word + "(\\." + word + ")*$")
		var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$")
		
		var matchArray=strEmail.match(emailPat)
		if (matchArray==null) {
			return false
			}
		var user=matchArray[1]
		var domain=matchArray[2]
		
		if (user.match(userPat)==null) {
			return false
			}
		
		var IPArray=domain.match(ipDomainPat)
		if (IPArray!=null) {
			for (var i=1;i<=4;i++) {
				if (IPArray[i]>255) {
					return false
					}
				}
				return true
			}
		
		var domainArray=domain.match(domainPat)
		if (domainArray==null) {
			return false
			}
		
		var atomPat=new RegExp(atom,"g")
		var domArr=domain.match(atomPat)
		var len=domArr.length
		if ( (domArr[domArr.length-1].length < 2) || (domArr[domArr.length-1].length > 3) ) {
			return false
			}
		
		if (len < 2) {
			return false
			}
		return true;
	}
	
function fnc_InputPreenchido(str_IDCampoInput, str_NomeCampo, strMensagem, str_MensagemFinal) {
	var str_DadoInput = document.getElementById(str_IDCampoInput).value; 
	if (Trim(str_DadoInput) == "") {
		alert(strMensagem + " " + str_NomeCampo + " " + str_MensagemFinal);
		document.getElementById(str_IDCampoInput).focus();
		return(true);
	}
}

function fnc_SelectPreenchido(str_IDCampoSelect, str_NomeCampo, strMensagem, str_MensagemFinal) {
	var str_DadoSelect = document.getElementById(str_IDCampoSelect).options[document.getElementById(str_IDCampoSelect).selectedIndex].value;
	if (!str_DadoSelect) {
		alert(strMensagem + " " + str_NomeCampo + " " + str_MensagemFinal);
		document.getElementById(str_IDCampoSelect).focus();
		return(true);
	}
}

function fnc_InputEmail(str_IDCampoInput, str_NomeCampo, strMensagem, str_MensagemFinal) {
	var str_DadoInput = document.getElementById(str_IDCampoInput).value; 
	if (Trim(str_DadoInput) == "") {
		alert(strMensagem + " " + str_NomeCampo);
		document.getElementById(str_IDCampoInput).focus();
		return(true);
	}
	
	if (fnc_ValidaEmail(str_DadoInput) == false) {
		alert("Por favor, preencha um e-mail válido.");
		document.getElementById(str_IDCampoInput).focus();
		return(true);			
	}
}


function fncEnviarContato(){
	
	if(document.getElementById("selPerfilCliente").selectedIndex==2){
		if (!fnc_InputEmail('strMail', 'Email', 'Por favor, preencha o campo', '')){
			if(!fnc_InputPreenchido('strNomeEmpresaNaoCliente', 'Empresa', 'Por favor, preencha o campo', '')){
				if(!fnc_SelectPreenchido('selInfoSobre', 'Informações sobre', 'Por favor, preencha o campo', '')){
					if(!fnc_InputPreenchido('strMensagem', 'Mensagem', 'Por favor, preencha o campo', '')){
						var FormOk = true;
					}
				}
			}
		}
	}
	
	
	if(document.getElementById("selPerfilCliente").selectedIndex==1){
		if (!fnc_InputEmail('strMail', 'Email', 'Por favor, preencha o campo', '')){
			if(!fnc_InputPreenchido('strNomeEmpresaCliente', 'Empresa', 'Por favor, preencha o campo', '')){
				if(!fnc_InputPreenchido('strMensagem', 'Mensagem', 'Por favor, preencha o campo', '')){
					var FormOk = true;
				}
			}
		}
	}
	
	if(document.getElementById("selPerfilUsuario").selectedIndex==1){
		if (!fnc_InputEmail('strMail', 'Email', 'Por favor, preencha o campo', '')){
			if(!fnc_InputPreenchido('strMensagem', 'Mensagem', 'Por favor, preencha o campo', '')){
				var FormOk = true;
			}
		}
	}
	
	if(document.getElementById("selPerfilUsuario").selectedIndex==2){
		if (!fnc_InputEmail('strMail', 'Email', 'Por favor, preencha o campo', '')){
			if(!fnc_InputPreenchido('strMensagem', 'Mensagem', 'Por favor, preencha o campo', '')){
				var FormOk = true;
			}
		}
	}
	
	if(document.getElementById("selPerfilEstabelecimento").selectedIndex==1){
		if (!fnc_InputEmail('strMail', 'Email', 'Por favor, preencha o campo', '')){
			if(!fnc_InputPreenchido('strMensagem', 'Mensagem', 'Por favor, preencha o campo', '')){
				var FormOk = true;
			}
		}
	}

	if(document.getElementById("selPerfilEstabelecimento").selectedIndex==2){
		if (!fnc_InputEmail('strMail', 'Email', 'Por favor, preencha o campo', '')){
			if(!fnc_InputPreenchido('strMensagem', 'Mensagem', 'Por favor, preencha o campo', '')){
				var FormOk = true;
			}
		}
	}
	
	if (FormOk){

		document.getElementById("selUF").options[document.getElementById("selUF").selectedIndex].value = document.getElementById("selUF").options[document.getElementById("selUF").selectedIndex].text;
		var objFormulario = document.getElementById("FormEmail");

		
		objFormulario.submit();			
	}

}


function fnc_AtualizarCidade(str_IDCampoRegiao, str_IDCampoCidade, lng_CodCidadeSel) {
	var obj_Select = document.getElementById(str_IDCampoRegiao);
	fnc_ExecutarASP("fnc_AtualizarCidade", "common/asp/inc_listar_cidade.asp?q_CodEstado=" + obj_Select[obj_Select.selectedIndex].value + "&q_IDCampoCidade=" + str_IDCampoCidade + "&q_CodCidadeSel=" + lng_CodCidadeSel);
}

function fnc_ExecutarASP(str_FuncaoQueChamou, str_ArquivoASP) {
	var obj_TagHead = document.getElementsByTagName("head").item(0);
	var obj_ExisteTagScript = document.getElementById(str_FuncaoQueChamou);
	var obj_TagScript;
	/*-----------------------------------------------------------------------------------------
		Verifica se a função que monta o HTML já está criada. Se já foi criada, apaga ela, e
		recria de acordo com os parametros do ASP */
	if (obj_ExisteTagScript) {
		obj_TagHead.removeChild(obj_ExisteTagScript);
	}
	/*--------------------------------------------------------------------------------------*/
	obj_TagScript = document.createElement("script");
	obj_TagScript.src = str_ArquivoASP;
	obj_TagScript.type = "text/javascript";
	obj_TagScript.id = str_FuncaoQueChamou;
	obj_TagHead.appendChild(obj_TagScript);
}


function Cabecalho() {
document.write("<div class='Topo'><a href='inicial.asp'><img src='img/embratec_topo.png' alt='Embratec - Good Card'  align='left' /></a><div class='TopoDireita'><div><a href='aembratec.asp'>A Embratec</a><a href='sala_de_imprensa.asp'>Sala de Imprensa</a><a href='faleconosco.asp' class='noBG'>Fale Conosco</a><img src='img/tit_contato_topo.gif' alt='Contato Comercial' align='right' /></div><img src='img/logo_10_anos.png' alt='Embratec - Good Card 10 anos' style='margin-top:0px'/></div></div>"); 
};


function ProdutosBeneficios() {

document.write("<ul><li><a href='good_card_plus.asp' class='LinkSubMenuInativo'>Good Card Plus</a></li>");
document.write("<li><a href='good_vale.asp' class='LinkSubMenuInativo'>Good Card Alimentação</a></li>");
document.write("<li><a href='good_refeicao.asp' class='LinkSubMenuInativo'>Good Card Refeição</a></li>");
document.write("<li><a href='good_med.asp' class='LinkSubMenuInativo'>Advanced PBM</a></li>");                        
document.write("<li><a href='goodCardEmpresarial.asp' class='LinkSubMenuInativo'>Good Card Empresarial</a></li>");
document.write("<li><a href='premium.asp' class='LinkSubMenuInativo'>Good Card Premium</a>");
document.write("<ul>");
document.write("<li><a href='premiumescolar.asp' class='LinkSubMenuInativo'>Material Escolar</a></li>");
document.write("<li><a href='pascoa.asp' class='LinkSubMenuInativo'>Cesta de Páscoa</a></li>");
document.write("<li><a href='premiumDiaMaes.asp' class='LinkSubMenuInativo'>Dia das Mães</a></li>");
document.write("<li><a href='premiumDiaPais.asp' class='LinkSubMenuInativo'>Dia dos Pais</a></li>");
document.write("<li><a href='giftCard.asp' class='LinkSubMenuInativo'>Gift Card</a></li>");
document.write("<li><a href='cestaNatal.asp' class='LinkSubMenuInativo'>Cesta de Natal</a></li>");
document.write("</ul>");
document.write("<li><span class='LinkSubMenuInativo'>Seguros com Premiação</span>");
document.write("<ul>");
document.write("<li style='width:130px;'><a href='seguros_acidentes_pessoais_premiavel.asp' class='LinkSubMenuInativo'>Acidentes Pessoais</a></li>");
document.write("<li style='width:130px;'><a href='seguros_perda_roubo.asp' class='LinkSubMenuInativo'>Perda e Roubo</a></li>");
document.write("<li style='width:130px;'><a href='premiados.asp' class='LinkSubMenuInativo'>Premiados</a></li>");
document.write("</ul></li>");
 document.write("<li><a href='recarga_economica.asp' class='LinkSubMenuInativo'>Recarga Econômica</a></li></ul>");			   
			   


};


function ServicosUsuarios() {


document.write("<li><span class='LinkSubMenuInativo'>Seguros com Premiação</span>");
document.write("<ul>");
document.write("<li style='width:130px;'><a href='seguros_acidentes_pessoais_premiavel.asp' class='LinkSubMenuInativo'>Acidentes Pessoais</a></li>");
document.write("<li style='width:130px;'><a href='seguros_perda_roubo.asp' class='LinkSubMenuInativo'>Perda e Roubo</a></li>");
document.write("</ul></li>");

};

