if (window.document.getElementById){window.document.write("<div id=\"ajustes\"><a id=\"abrir\" href=\"#\" tabindex=\"1\" onkeypress=\"abrir();return false;\" onclick=\"abrir();return false;\">Mudar tamanho da letra e cores</a><a id=\"fechar\" href=\"#\" onkeypress=\"fechar();return false;\" onclick=\"fechar();return false;\">Fechar op&ccedil;&otilde;es</a><form action=\"#\" id=\"formulario\"><fieldset><legend><strong>Menu</strong></legend><label for=\"corfundo\">Cor do fundo:</label><select id=\"corfundo\" onchange=\"dizercorfundomenu('');semconfirmacao();return false;\"><option selected=\"selected\">Selecione</option><optgroup label=\"Cores Escuras\"><option>Cor original</option><option>Preto</option></optgroup><optgroup label=\"Cores Claras\"><option>Vermelho</option><option>Amarelo</option><option>Branco</option></optgroup></select><br /><label for=\"cortexto\">Cor do texto:</label><select id=\"cortexto\" onchange=\"dizercortextomenu('');semconfirmacao();return false;\"><option selected=\"selected\">Selecione</option><optgroup label=\"Cores Escuras\"><option>Cor original</option><option>Preto</option></optgroup><optgroup label=\"Cores Claras\"><option>Vermelho</option><option>Amarelo</option><option>Branco</option></optgroup></select><br /><label for=\"corlink\">Cor dos <span lang=\"en\">links</span>:</label><select id=\"corlink\" onchange=\"dizercorlinkmenu('');semconfirmacao();return false;\"><option selected=\"selected\">Selecione</option><optgroup label=\"Cores Escuras\"><option>Cor original</option><option>Azul</option></optgroup><optgroup label=\"Cores Claras\"><option>Amarelo</option><option>Verde</option><option>Branco</option></optgroup></select><br /><label for=\"tamanhotexto\">Tamanho do texto:</label><select id=\"tamanhotexto\" onchange=\"dizertamanhotextomenu('');semconfirmacao();return false;\"><option selected=\"selected\">Selecione</option><option>Tamanho original</option><optgroup label=\"Grande\"><option>25</option><option>18</option></optgroup><optgroup label=\"Médio\"><option>15</option><option>13</option></optgroup><optgroup label=\"Pequeno\"><option>11</option><option>9</option></optgroup></select><br /><label for=\"fontetexto\">Fonte do texto:</label><select id=\"fontetexto\" onchange=\"dizerfontetextomenu('');semconfirmacao();return false;\"><option selected=\"selected\">Selecione</option><option>Arial</option><option>Times New Roman</option><option>Courier</option><option>Verdana (fonte original)</option></select></fieldset><fieldset><legend><strong>Conte&uacute;do</strong></legend><label for=\"corfundo2\">Cor do fundo:</label><select id=\"corfundo2\" onchange=\"dizercorfundoconteudo('');semconfirmacao();return false;\"><option selected=\"selected\">Selecione</option><optgroup label=\"Cores Escuras\"><option>Preto</option></optgroup><optgroup label=\"Cores Claras\"><option>Vermelho</option><option>Amarelo</option><option>Cor original</option></optgroup></select><br /><label for=\"cortexto2\">Cor do texto:</label><select id=\"cortexto2\" onchange=\"dizercortextoconteudo('');semconfirmacao();return false;\"><option selected=\"selected\">Selecione</option><optgroup label=\"Cores Escuras\"><option>Cor original</option><option>Preto</option></optgroup><optgroup label=\"Cores Claras\"><option>Vermelho</option><option>Amarelo</option><option>Branco</option></optgroup></select><br /><label for=\"corlink2\">Cor dos <span lang=\"en\">links</span>:</label><select id=\"corlink2\" onchange=\"dizercorlinkconteudo('');semconfirmacao();return false;\"><option selected=\"selected\">Selecione</option><optgroup label=\"Cores Escuras\"><option>Azul</option></optgroup><optgroup label=\"Cores Claras\"><option>Cor original</option><option>Amarelo</option><option>Verde</option><option>Branco</option></optgroup></select><br /><label for=\"tamanhotexto2\">Tamanho do texto:</label><select id=\"tamanhotexto2\" onchange=\"dizertamanhotextoconteudo('');semconfirmacao();return false;\"><option selected=\"selected\">Selecione</option><option>Tamanho original</option><optgroup label=\"Grande\"><option>25</option><option>18</option></optgroup><optgroup label=\"Médio\"><option>15</option><option>13</option></optgroup><optgroup label=\"Pequeno\"><option>11</option><option>9</option></optgroup></select><br /><label for=\"fontetexto2\">Fonte do texto:</label><select id=\"fontetexto2\" onchange=\"dizerfontetextoconteudo('');semconfirmacao();return false;\"><option selected=\"selected\">Selecione</option><option>Arial</option><option>Times New Roman</option><option>Courier</option><option>Verdana (fonte original)</option></select></fieldset><label for=\"design\"><span lang=\"en\">Site</span> com <span lang=\"en\">design</span>:</label><select id=\"design\" onchange=\"desabilitar('');semconfirmacao();return false;\"><option selected=\"selected\">Sim</option><option>Não</option></select><br /><label for=\"barra\">Retirar barra lateral da direita:</label><select id=\"barra\" onchange=\"retirar('');semconfirmacao();return false;\"><option>Sim</option><option selected=\"selected\">Não</option></select><br /><br /><strong>Salvar configura&ccedil;&otilde;es at&eacute;:</strong><br /><input id=\"dia\" type=\"text\" value=\"dd\" maxlength=\"2\" size=\"2\" onfocus=\"foco('dia');\" onchange=\"semconfirmacao();\" /> / <input id=\"mes\" type=\"text\" value=\"mm\" maxlength=\"2\" size=\"2\" onfocus=\"foco('mes');\" onchange=\"semconfirmacao();\" /> / <input id=\"ano\" type=\"text\" value=\"aaaa\" maxlength=\"4\" size=\"4\" onfocus=\"foco('ano');\" onchange=\"semconfirmacao();\" /><br /><input type=\"button\" id=\"salvar\" value=\"Salvar\" onclick=\"setCookie();confirmacao();return false;\" onkeypress=\"setCookie();confirmacao();return false;\" /><br /><span id=\"confirmacao\">Suas configura&ccedil;&otilde;es foram salvas</span></form></div>");}
function inicio(){window.document.getElementById("fechar").style.display="none";window.document.getElementById("formulario").style.display="none";}
function abrir(){window.document.getElementById("formulario").style.display="block";window.document.getElementById("abrir").style.display="none";window.document.getElementById("fechar").style.display="block";window.document.getElementById("ajustes").style.width="400px";window.document.getElementById("confirmacao").style.display="none";}
function fechar(){window.document.getElementById("formulario").style.display="none";window.document.getElementById("abrir").style.display="block";window.document.getElementById("fechar").style.display="none";window.document.getElementById("ajustes").style.width="";}
function dizercortextomenu(cortextomenu)
{
var cor_texto_menu=cortextomenu;
if(cor_texto_menu=="")
{
var cor_texto_menu=window.document.getElementById("cortexto").selectedIndex;
}else{
window.document.getElementById("cortexto").options[cortextomenu].selected=true;
}
if(document.styleSheets[0].rules)
{
var stylesheet=window.document.styleSheets[0].rules[7].style;
}else{
var stylesheet=window.document.styleSheets[0].cssRules[7].style;
}

switch(cor_texto_menu)
{
case 0:
var nada="";
break;
case 1:
stylesheet.color="#333";
break;
case 2:
stylesheet.color="#000";
break;
case 3:
stylesheet.color="#f00";
break;
case 4:
stylesheet.color="#ff0";
break;
case 5:
stylesheet.color="#fff";
break;
}
}
function dizercorfundomenu(corfundomenu)
{
var cor_fundo_menu=corfundomenu;
if(cor_fundo_menu=="")
{
var cor_fundo_menu=window.document.getElementById("corfundo").selectedIndex;
}else{
window.document.getElementById("corfundo").options[corfundomenu].selected=true;
}
if(document.styleSheets[0].rules)
{
var stylesheet=window.document.styleSheets[0].rules[4].style;
}else{
var stylesheet=window.document.styleSheets[0].cssRules[4].style;
}
switch(cor_fundo_menu)
{
case 0:
var nada="";
break;
case 1:
stylesheet.background="url(fundomenu.jpg) repeat-y right #fff";
break;
case 2:
stylesheet.background="#000";
break;
case 3:
stylesheet.background="#f00";
break;
case 4:
stylesheet.background="#ff0";
break;
case 5:
stylesheet.background="#fff";
break;
}
}

function dizertamanhotextomenu(tamanhotextomenu)
{
var tamanho_texto_menu=tamanhotextomenu;
if(tamanho_texto_menu=="")
{
var tamanho_texto_menu=window.document.getElementById("tamanhotexto").selectedIndex;
}else{
window.document.getElementById("tamanhotexto").options[tamanhotextomenu].selected=true;
}
if(document.styleSheets[0].rules)
{
var stylesheet=window.document.styleSheets[0].rules[1].style;
var stylesheet2=window.document.styleSheets[0].rules[6].style;
}else{
var stylesheet=window.document.styleSheets[0].cssRules[1].style;
var stylesheet2=window.document.styleSheets[0].cssRules[6].style;
}
switch(tamanho_texto_menu)
{
case 0:
var nada="";
break;
case 1:
stylesheet.fontSize="0.8em";
stylesheet2.fontSize="0.7em";
break;
case 2:
stylesheet.fontSize="25px";
stylesheet2.fontSize="25px";
break;
case 3:
stylesheet.fontSize="18px";
stylesheet2.fontSize="18px";
break;
case 4:
stylesheet.fontSize="15px";
stylesheet2.fontSize="15px";
break;
case 5:
stylesheet.fontSize="13px";
stylesheet2.fontSize="13px";
break;
case 6:
stylesheet.fontSize="11px";
stylesheet2.fontSize="11px";
break;
case 7:
stylesheet.fontSize="9px";
stylesheet2.fontSize="9px";
break;
}
}
function dizerfontetextomenu(fontetextomenu)
{
var fonte_texto_menu=fontetextomenu;
if(fonte_texto_menu=="")
{
var fonte_texto_menu=window.document.getElementById("fontetexto").selectedIndex;
}else{
window.document.getElementById("fontetexto").options[fontetextomenu].selected=true;
}
if(document.styleSheets[0].rules)
{
var stylesheet=window.document.styleSheets[0].rules[5].style;
}else{
var stylesheet=window.document.styleSheets[0].cssRules[5].style;
}
switch(fonte_texto_menu)
{
case 0:
var nada="";
break;
case 1:
stylesheet.fontFamily="Arial";
break;
case 2:
stylesheet.fontFamily="Times New Roman";
break;
case 3:
stylesheet.fontFamily="Courier";
break;
case 4:
stylesheet.fontFamily="Verdana";
break;
}
}
function dizercortextoconteudo(cortextoconteudo)
{
var cor_texto_conteudo=cortextoconteudo;
if(cor_texto_conteudo=="")
{
var cor_texto_conteudo=window.document.getElementById("cortexto2").selectedIndex;
}else{
window.document.getElementById("cortexto2").options[cortextoconteudo].selected=true;
}
if(document.styleSheets[0].rules)
{
var stylesheet=window.document.styleSheets[0].rules[14].style;
var stylesheet2=window.document.styleSheets[0].rules[15].style;
var stylesheet3=window.document.styleSheets[0].rules[16].style;
var stylesheet4=window.document.styleSheets[0].rules[17].style;
var stylesheet5=window.document.styleSheets[0].rules[20].style;
var stylesheet6=window.document.styleSheets[0].rules[21].style;
var stylesheet7=window.document.styleSheets[0].rules[22].style;
var stylesheet8=window.document.styleSheets[0].rules[23].style;
}else{
var stylesheet=window.document.styleSheets[0].cssRules[14].style;
var stylesheet2=window.document.styleSheets[0].cssRules[15].style;
var stylesheet3=window.document.styleSheets[0].cssRules[16].style;
var stylesheet4=window.document.styleSheets[0].cssRules[17].style;
var stylesheet5=window.document.styleSheets[0].cssRules[20].style;
var stylesheet6=window.document.styleSheets[0].cssRules[21].style;
var stylesheet7=window.document.styleSheets[0].cssRules[22].style;
var stylesheet8=window.document.styleSheets[0].cssRules[23].style;
}
switch(cor_texto_conteudo)
{
case 0:
var nada="";
break;
case 1:
stylesheet.color="#333";stylesheet2.color="#333";stylesheet3.color="#333";stylesheet4.color="#333";stylesheet5.color="#333";stylesheet6.color="#333";stylesheet7.color="#333";stylesheet8.color="#333";
break;
case 2:
stylesheet.color="#000";stylesheet2.color="#000";stylesheet3.color="#000";stylesheet4.color="#000";stylesheet5.color="#000";stylesheet6.color="#000";stylesheet7.color="#000";stylesheet8.color="#000";
break;
case 3:
stylesheet.color="#f00";stylesheet2.color="#f00";stylesheet3.color="#f00";stylesheet4.color="#f00";stylesheet5.color="#f00";stylesheet6.color="#f00";stylesheet7.color="#f00";stylesheet8.color="#f00";
break;
case 4:
stylesheet.color="#ff0";stylesheet2.color="#ff0";stylesheet3.color="#ff0";stylesheet4.color="#ff0";stylesheet5.color="#ff0";stylesheet6.color="#ff0";stylesheet7.color="#ff0";stylesheet8.color="#ff0";
break;
case 5:
stylesheet.color="#fff";stylesheet2.color="#fff";stylesheet3.color="#fff";stylesheet4.color="#fff";stylesheet5.color="#fff";stylesheet6.color="#fff";stylesheet7.color="#fff";stylesheet8.color="#fff";
break;
}
}
function dizercorfundoconteudo(corfundoconteudo)
{
var cor_fundo_conteudo=corfundoconteudo;
if(cor_fundo_conteudo=="")
{
var cor_fundo_conteudo=window.document.getElementById("corfundo2").selectedIndex;
}else{
window.document.getElementById("corfundo2").options[corfundoconteudo].selected=true;
}
if(document.styleSheets[0].rules)
{
var stylesheet=window.document.getElementById("body").style;
var stylesheet2=window.document.styleSheets[0].rules[9].style;
var stylesheet3=window.document.styleSheets[0].rules[10].style;
var stylesheet4=window.document.styleSheets[0].rules[11].style;
var stylesheet5=window.document.styleSheets[0].rules[12].style;
var stylesheet6=window.document.styleSheets[0].rules[13].style;
}else{
var stylesheet=window.document.getElementById("body").style;
var stylesheet2=window.document.styleSheets[0].cssRules[9].style;
var stylesheet3=window.document.styleSheets[0].cssRules[10].style;
var stylesheet4=window.document.styleSheets[0].cssRules[11].style;
var stylesheet5=window.document.styleSheets[0].cssRules[12].style;
var stylesheet6=window.document.styleSheets[0].cssRules[13].style;
}
switch(cor_fundo_conteudo)
{
case 0:
var nada="";
break;
case 1:
stylesheet.background="#000";stylesheet2.background="#000";stylesheet3.background="#000";stylesheet4.background="#000";stylesheet5.background="#000";stylesheet6.background="#000";
break;
case 2:
stylesheet.background="#f00";stylesheet2.background="#f00";stylesheet3.background="#f00";stylesheet4.background="#f00";stylesheet5.background="#f00";stylesheet6.background="#f00";
break;
case 3:
stylesheet.background="#ff0";stylesheet2.background="#ff0";stylesheet3.background="#ff0";stylesheet4.background="#ff0";stylesheet5.background="#ff0";stylesheet6.background="#ff0";
break;
case 4:
stylesheet.background="#fff";stylesheet2.background="#fff";stylesheet3.background="#fff";stylesheet4.background="#fff";stylesheet5.background="#fff";stylesheet6.background="#fff";
break;
}
}
function dizertamanhotextoconteudo(tamanhotextoconteudo)
{
var tamanho_texto_conteudo=tamanhotextoconteudo;
if(tamanho_texto_conteudo=="")
{
var tamanho_texto_conteudo=window.document.getElementById("tamanhotexto2").selectedIndex;
}else{
window.document.getElementById("tamanhotexto2").options[tamanhotextoconteudo].selected=true;
}
if(document.styleSheets[0].rules)
{
var stylesheet=window.document.styleSheets[0].rules[14].style;
var stylesheet2=window.document.styleSheets[0].rules[15].style;
var stylesheet3=window.document.styleSheets[0].rules[16].style;
var stylesheet4=window.document.styleSheets[0].rules[17].style;
var stylesheet5=window.document.styleSheets[0].rules[18].style;
var stylesheet6=window.document.styleSheets[0].rules[19].style;
var stylesheet7=window.document.styleSheets[0].rules[20].style;
var stylesheet8=window.document.styleSheets[0].rules[21].style;
var stylesheet9=window.document.styleSheets[0].rules[22].style;
var stylesheet10=window.document.styleSheets[0].rules[23].style;
var stylesheet11=window.document.styleSheets[0].rules[34].style;
}else{
var stylesheet=window.document.styleSheets[0].cssRules[14].style;
var stylesheet2=window.document.styleSheets[0].cssRules[15].style;
var stylesheet3=window.document.styleSheets[0].cssRules[16].style;
var stylesheet4=window.document.styleSheets[0].cssRules[17].style;
var stylesheet5=window.document.styleSheets[0].cssRules[18].style;
var stylesheet6=window.document.styleSheets[0].cssRules[19].style;
var stylesheet7=window.document.styleSheets[0].cssRules[20].style;
var stylesheet8=window.document.styleSheets[0].cssRules[21].style;
var stylesheet9=window.document.styleSheets[0].cssRules[22].style;
var stylesheet10=window.document.styleSheets[0].cssRules[23].style;
var stylesheet11=window.document.styleSheets[0].cssRules[34].style;
}
switch(tamanho_texto_conteudo)
{
case 0:
var nada="";
break;
case 1:
stylesheet.fontSize="0.8em";stylesheet2.fontSize="0.8em";stylesheet3.fontSize="0.7em";stylesheet4.fontSize="1em";stylesheet5.fontSize="1em";stylesheet6.fontSize="1em";stylesheet7.fontSize="1em";stylesheet8.fontSize="1em";stylesheet9.fontSize="1em";stylesheet10.fontSize="1em";stylesheet11.fontSize="1em";
break;
case 2:
stylesheet.fontSize="25px";stylesheet2.fontSize="25px";stylesheet3.fontSize="25px";stylesheet4.fontSize="25px";stylesheet5.fontSize="25px";stylesheet6.fontSize="25px";stylesheet7.fontSize="25px";stylesheet8.fontSize="25px";stylesheet9.fontSize="25px";stylesheet10.fontSize="25px";stylesheet11.fontSize="25px";
break;
case 3:
stylesheet.fontSize="18px";stylesheet2.fontSize="18px";stylesheet3.fontSize="18px";stylesheet4.fontSize="18px";stylesheet5.fontSize="18px";stylesheet6.fontSize="18px";stylesheet7.fontSize="18px";stylesheet8.fontSize="18px";stylesheet9.fontSize="18px";stylesheet10.fontSize="18px";stylesheet11.fontSize="18px";
break;
case 4:
stylesheet.fontSize="15px";stylesheet2.fontSize="15px";stylesheet3.fontSize="15px";stylesheet4.fontSize="15px";stylesheet5.fontSize="15px";stylesheet6.fontSize="15px";stylesheet7.fontSize="15px";stylesheet8.fontSize="15px";stylesheet9.fontSize="15px";stylesheet10.fontSize="15px";stylesheet11.fontSize="15px";
break;
case 5:
stylesheet.fontSize="13px";stylesheet2.fontSize="13px";stylesheet3.fontSize="13px";stylesheet4.fontSize="13px";stylesheet5.fontSize="13px";stylesheet6.fontSize="13px";stylesheet7.fontSize="13px";stylesheet8.fontSize="13px";stylesheet9.fontSize="13px";stylesheet10.fontSize="13px";stylesheet11.fontSize="13px";
break;
case 6:
stylesheet.fontSize="11px";stylesheet2.fontSize="11px";stylesheet3.fontSize="11px";stylesheet4.fontSize="11px";stylesheet5.fontSize="11px";stylesheet6.fontSize="11px";stylesheet7.fontSize="11px";stylesheet8.fontSize="11px";stylesheet9.fontSize="11px";stylesheet10.fontSize="11px";stylesheet11.fontSize="11px";
break;
case 7:
stylesheet.fontSize="9px";stylesheet2.fontSize="9px";stylesheet3.fontSize="9px";stylesheet4.fontSize="9px";stylesheet5.fontSize="9px";stylesheet6.fontSize="9px";stylesheet7.fontSize="9px";stylesheet8.fontSize="9px";stylesheet9.fontSize="9px";stylesheet10.fontSize="9px";stylesheet11.fontSize="9px";
break;
}
}
function dizerfontetextoconteudo(fontetextoconteudo)
{
var fonte_texto_conteudo=fontetextoconteudo;
if(fonte_texto_conteudo=="")
{
var fonte_texto_conteudo=window.document.getElementById("fontetexto2").selectedIndex;
}else{
window.document.getElementById("fontetexto2").options[fontetextoconteudo].selected=true;
}
if(document.styleSheets[0].rules)
{
var stylesheet=window.document.styleSheets[0].rules[14].style;
var stylesheet2=window.document.styleSheets[0].rules[15].style;
var stylesheet3=window.document.styleSheets[0].rules[16].style;
var stylesheet4=window.document.styleSheets[0].rules[17].style;
var stylesheet5=window.document.styleSheets[0].rules[20].style;
var stylesheet6=window.document.styleSheets[0].rules[21].style;
var stylesheet7=window.document.styleSheets[0].rules[22].style;
var stylesheet8=window.document.styleSheets[0].rules[23].style;
var stylesheet9=window.document.styleSheets[0].rules[34].style;
}else{
var stylesheet=window.document.styleSheets[0].cssRules[14].style;
var stylesheet2=window.document.styleSheets[0].cssRules[15].style;
var stylesheet3=window.document.styleSheets[0].cssRules[16].style;
var stylesheet4=window.document.styleSheets[0].cssRules[17].style;
var stylesheet5=window.document.styleSheets[0].cssRules[20].style;
var stylesheet6=window.document.styleSheets[0].cssRules[21].style;
var stylesheet7=window.document.styleSheets[0].cssRules[22].style;
var stylesheet8=window.document.styleSheets[0].cssRules[23].style;
var stylesheet9=window.document.styleSheets[0].cssRules[34].style;
}
switch(fonte_texto_conteudo)
{
case 0:
var nada="";
break;
case 1:
stylesheet.fontFamily="Arial";stylesheet2.fontFamily="Arial";stylesheet3.fontFamily="Arial";stylesheet4.fontFamily="Arial";stylesheet5.fontFamily="Arial";stylesheet6.fontFamily="Arial";stylesheet7.fontFamily="Arial";stylesheet8.fontFamily="Arial";stylesheet9.fontFamily="Arial";
break;
case 2:
stylesheet.fontFamily="Times New Roman";stylesheet2.fontFamily="Times New Roman";stylesheet3.fontFamily="Times New Roman";stylesheet4.fontFamily="Times New Roman";stylesheet5.fontFamily="Times New Roman";stylesheet6.fontFamily="Times New Roman";stylesheet7.fontFamily="Times New Roman";stylesheet8.fontFamily="Times New Roman";stylesheet9.fontFamily="Times New Roman";
break;
case 3:
stylesheet.fontFamily="Courier";stylesheet2.fontFamily="Courier";stylesheet3.fontFamily="Courier";stylesheet4.fontFamily="Courier";stylesheet5.fontFamily="Courier";stylesheet6.fontFamily="Courier";stylesheet7.fontFamily="Courier";stylesheet8.fontFamily="Courier";stylesheet9.fontFamily="Courier";
break;
case 4:
stylesheet.fontFamily="Verdana";stylesheet2.fontFamily="Verdana";stylesheet3.fontFamily="Verdana";stylesheet4.fontFamily="Verdana";stylesheet5.fontFamily="Verdana";stylesheet6.fontFamily="Verdana";stylesheet7.fontFamily="Verdana";stylesheet8.fontFamily="Verdana";stylesheet9.fontFamily="Verdana";
break;
}
}
function dizercorlinkmenu(corlinkmenu)
{
var cor_link_menu=corlinkmenu;
if(cor_link_menu=="")
{
var cor_link_menu=window.document.getElementById("corlink").selectedIndex;
}else{
window.document.getElementById("corlink").options[corlinkmenu].selected=true;
}
if(document.styleSheets[0].rules)
{
var stylesheet=window.document.styleSheets[0].rules[0].style;
var stylesheet2=window.document.styleSheets[0].rules[2].style;
var stylesheet3=window.document.styleSheets[0].rules[3].style;
}else{
var stylesheet=window.document.styleSheets[0].cssRules[0].style;
var stylesheet2=window.document.styleSheets[0].cssRules[2].style;
var stylesheet3=window.document.styleSheets[0].cssRules[3].style;
}
switch(cor_link_menu)
{
case 0:
var nada="";
break;
case 1:
stylesheet.color="#333";
stylesheet2.color="#999";
stylesheet3.color="#333";
stylesheet3.backgroundColor="#fff";
break;
case 2:
stylesheet.color="#00f";
stylesheet2.color="#90c";
stylesheet3.color="#00f";
stylesheet3.backgroundColor="#fff";
break;
case 3:
stylesheet.color="#ff0";
stylesheet2.color="#f90";
stylesheet3.color="#ff0";
stylesheet3.backgroundColor="#333";
break;
case 4:
stylesheet.color="#0f0";
stylesheet2.color="#090";
stylesheet3.color="#0f0";
stylesheet3.backgroundColor="#333";
break;
case 5:
stylesheet.color="#fff";
stylesheet2.color="#999";
stylesheet3.color="#fff";
stylesheet3.backgroundColor="#333";
break;
}
}
function dizercorlinkconteudo(corlinkconteudo)
{
var cor_link_conteudo=corlinkconteudo;
if(cor_link_conteudo=="")
{
var cor_link_conteudo=window.document.getElementById("corlink2").selectedIndex;
}else{
window.document.getElementById("corlink2").options[corlinkconteudo].selected=true;
}
if(document.styleSheets[0].rules)
{
var stylesheet=window.document.styleSheets[0].rules[24].style;
var stylesheet2=window.document.styleSheets[0].rules[25].style;
var stylesheet3=window.document.styleSheets[0].rules[26].style;
var stylesheet4=window.document.styleSheets[0].rules[27].style;
var stylesheet5=window.document.styleSheets[0].rules[28].style;
var stylesheet6=window.document.styleSheets[0].rules[29].style;
var stylesheet7=window.document.styleSheets[0].rules[31].style;
var stylesheet8=window.document.styleSheets[0].rules[32].style;
var stylesheet9=window.document.styleSheets[0].rules[33].style;
}else{
var stylesheet=window.document.styleSheets[0].cssRules[24].style;
var stylesheet2=window.document.styleSheets[0].cssRules[25].style;
var stylesheet3=window.document.styleSheets[0].cssRules[26].style;
var stylesheet4=window.document.styleSheets[0].cssRules[27].style;
var stylesheet5=window.document.styleSheets[0].cssRules[28].style;
var stylesheet6=window.document.styleSheets[0].cssRules[29].style;
var stylesheet7=window.document.styleSheets[0].cssRules[31].style;
var stylesheet8=window.document.styleSheets[0].cssRules[32].style;
var stylesheet9=window.document.styleSheets[0].cssRules[33].style;
}
switch(cor_link_conteudo)
{
case 0:
var nada="";
break;
case 1:
stylesheet.color="#00f";
stylesheet2.color="#00f";
stylesheet3.color="#90c";
stylesheet4.color="#90c";
stylesheet5.color="#00f";
stylesheet6.color="#00f";
stylesheet7.color="#00f";
stylesheet8.color="#90c";
stylesheet9.color="#00f";
break;
case 2:
stylesheet.color="#0086ba";
stylesheet2.color="#0086ba";
stylesheet3.color="#769bae";
stylesheet4.color="#769bae";
stylesheet5.color="#0086ba";
stylesheet6.color="#0086ba";
stylesheet7.color="#0086ba";
stylesheet8.color="#769bae";
stylesheet9.color="#0086ba";
break;
case 3:
stylesheet.color="#ff0";
stylesheet2.color="#ff0";
stylesheet3.color="#f90";
stylesheet4.color="#f90";
stylesheet5.color="#ff0";
stylesheet6.color="#ff0";
stylesheet7.color="#ff0";
stylesheet8.color="#f90";
stylesheet9.color="#ff0";
break;
case 4:
stylesheet.color="#0f0";
stylesheet2.color="#0f0";
stylesheet3.color="#090";
stylesheet4.color="#090";
stylesheet5.color="#0f0";
stylesheet6.color="#0f0";
stylesheet7.color="#0f0";
stylesheet8.color="#090";
stylesheet9.color="#0f0";
break;
case 5:
stylesheet.color="#fff";
stylesheet2.color="#fff";
stylesheet3.color="#999";
stylesheet4.color="#999";
stylesheet5.color="#fff";
stylesheet6.color="#fff";
stylesheet7.color="#fff";
stylesheet8.color="#999";
stylesheet9.color="#fff";
break;
}
}
function desabilitar(desabilitar2)
{
var design=desabilitar2;
if(design=="")
{
var design=window.document.getElementById("design").selectedIndex;
}else{
window.document.getElementById("design").options[desabilitar2].selected=true;
}
switch(design)
{
case 0:
window.document.styleSheets[0].disabled="";
dizercorfundoconteudo(window.document.getElementById('corfundo2').selectedIndex);
window.document.getElementById("tamanhotexto").disabled="";
window.document.getElementById("tamanhotexto2").disabled="";
window.document.getElementById("fontetexto").disabled="";
window.document.getElementById("fontetexto2").disabled="";
window.document.getElementById("cortexto").disabled="";
window.document.getElementById("cortexto2").disabled="";
window.document.getElementById("corfundo").disabled="";
window.document.getElementById("corfundo2").disabled="";
window.document.getElementById("corlink").disabled="";
window.document.getElementById("corlink2").disabled="";
break;
case 1:
window.document.getElementById("body").style.background="#fff";
window.document.styleSheets[0].disabled="true";
window.document.getElementById("tamanhotexto").disabled="true";
window.document.getElementById("tamanhotexto2").disabled="true";
window.document.getElementById("fontetexto").disabled="true";
window.document.getElementById("fontetexto2").disabled="true";
window.document.getElementById("cortexto").disabled="true";
window.document.getElementById("cortexto2").disabled="true";
window.document.getElementById("corfundo").disabled="true";
window.document.getElementById("corfundo2").disabled="true";
window.document.getElementById("corlink").disabled="true";
window.document.getElementById("corlink2").disabled="true";
break;
}
}

function retirar(retirar2)
{
var sembarra=retirar2;
if(sembarra=="")
{
var sembarra=window.document.getElementById("barra").selectedIndex;
}else{
var sembarra=Number(retirar2);
window.document.getElementById("barra").options[retirar2].selected=true;
}
switch(sembarra)
{
case 0:
window.document.getElementById("extras").style.display="none";
if(window.document.getElementById("conteudo")){window.document.getElementById("conteudo").style.padding="0px 50px 30px 0px";}else{
window.document.getElementById("conteudo2").style.padding="0px 50px 30px 0px";}
break;
case 1:
window.document.getElementById("extras").style.display="";
if(window.document.getElementById("conteudo")){window.document.getElementById("conteudo").style.padding="0px 210px 30px 0px";}else{
window.document.getElementById("conteudo2").style.padding="0px 210px 30px 0px";}
}
}


function confirmacao()
{
window.document.getElementById("confirmacao").style.display="";
}
function semconfirmacao()
{
window.document.getElementById("confirmacao").style.display="none";
}
function setCookie()
{
var corfundomenu=window.document.getElementById("corfundo").selectedIndex;
var corfundoconteudo=window.document.getElementById("corfundo2").selectedIndex;
var cortextomenu=window.document.getElementById("cortexto").selectedIndex;
var cortextoconteudo=window.document.getElementById("cortexto2").selectedIndex;
var tamanhotextomenu=window.document.getElementById("tamanhotexto").selectedIndex;
var tamanhotextoconteudo=window.document.getElementById("tamanhotexto2").selectedIndex;
var fontetextomenu=window.document.getElementById("fontetexto").selectedIndex;
var fontetextoconteudo=window.document.getElementById("fontetexto2").selectedIndex;
var corlinkconteudo=window.document.getElementById("corlink2").selectedIndex;
var corlinkmenu=window.document.getElementById("corlink").selectedIndex;
var desabilitar2=window.document.getElementById("design").selectedIndex;
var retirar2=window.document.getElementById("barra").selectedIndex;
var data=window.document.getElementById("mes").value+"/"+window.document.getElementById("dia").value+"/"+window.document.getElementById("ano").value
var data2=new Date(data+" 23:59:59");
var validade=data2.toUTCString();
var the_cookie="valores_formulario="+escape(corfundomenu)+"/"+escape(corfundoconteudo)+"/"+escape(cortextomenu)+"/"+escape(cortextoconteudo)+"/"+escape(tamanhotextomenu)+"/"+escape(tamanhotextoconteudo)+"/"+escape(fontetextomenu)+"/"+escape(fontetextoconteudo)+"/"+escape(corlinkconteudo)+"/"+escape(corlinkmenu)+"/"+escape(desabilitar2)+"/"+escape(retirar2)+"/"+escape(data)+";expires="+data2.toUTCString()+";";
document.cookie=the_cookie;
}
function readCookie()
{
if(document.cookie!="")
{
var the_cookie=document.cookie;
if(the_cookie.match("valores_formulario=")=="valores_formulario=")
{
var valores=the_cookie.split("valores_formulario=");
valores_reais=valores[1].split(";");
if(valores_reais[0]!="")
{
var selecionadas=valores_reais[0].split("/");
var corfundomenu=Number(selecionadas[0]);
var corfundoconteudo=Number(selecionadas[1]);
var cortextomenu=Number(selecionadas[2]);
var cortextoconteudo=Number(selecionadas[3]);
var tamanhotextomenu=Number(selecionadas[4]);
var tamanhotextoconteudo=Number(selecionadas[5]);
var fontetextomenu=Number(selecionadas[6]);
var fontetextoconteudo=Number(selecionadas[7]);
var corlinkconteudo=Number(selecionadas[8]);
var corlinkmenu=Number(selecionadas[9]);
var desabilitar2=Number(selecionadas[10]);
var retirar2=unescape(selecionadas[11]);
window.document.getElementById("mes").value=unescape(selecionadas[12]);
window.document.getElementById("dia").value=unescape(selecionadas[13]);
window.document.getElementById("ano").value=unescape(selecionadas[14]);
dizercorfundomenu(corfundomenu);
dizercorfundoconteudo(corfundoconteudo);
dizercortextomenu(cortextomenu);
dizercortextoconteudo(cortextoconteudo);
dizertamanhotextomenu(tamanhotextomenu);
dizertamanhotextoconteudo(tamanhotextoconteudo);
dizerfontetextomenu(fontetextomenu);
dizerfontetextoconteudo(fontetextoconteudo);
dizercorlinkconteudo(corlinkconteudo);
dizercorlinkmenu(corlinkmenu);
desabilitar(desabilitar2);
retirar(retirar2);
}
}
}
}
function foco(id)
{ 
document.getElementById(id).focus() 
document.getElementById(id).select() 
}

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_validateForm() { //v4.0

  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name;
switch (nm){case "email": nm="Seu e-mail";break;case "emailamigo": nm="E-mail do amigo";break;case "nome": nm="Seu nome";break;case "assunto": nm="Assunto da mensagem";break;case "mensagem": nm="Mensagem";break;case "cidade": nm="Cidade";break;case "email2": nm="Seu e-mail";break;case "nome2": nm="Seu nome";break;break;case "mensagem2": nm="Mensagem";}
if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- Coloque um endereço de e-mail válido no campo '+nm+'.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- Preencha o campo '+nm+'.\n'; }
  } if (errors) alert('Olá, para que sua mensagem seja enviada com sucesso, faça as seguintes correções:\n\n'+errors+'\nÉ sempre um prazer te ajudar');
  document.MM_returnValue = (errors == '');
}

function textoacessibilidade(){if (window.document.getElementById){window.document.write("<h1><strong>Novo: Recursos de Acessibilidade</strong></h1><p>Para facilitar sua navega&ccedil;&atilde;o implantamos a acessibilidade. Um dos recursos mais vis&iacute;veis &eacute; a op&ccedil;&atilde;o de <strong>mudar o tamanho da letra e as cores</strong>. Esse link se localiza no canto superior direito da tela e abre um menu em que &eacute; poss&iacute;vel mudar o tamanho e o tipo de letra e que tamb&eacute;m permite mudar as cores de fundo, do texto e dos links. Enfim, &eacute; uma oportunidade para voc&ecirc; adequar o site &agrave;s suas necessidades. A acessibilidade ainda est&aacute; em fase experimental, portanto, se voc&ecirc; sentir qualquer dificuldade, entre em contato para que o problema seja solucionado e toda cr&iacute;tica ou sugest&atilde;o ser&aacute; bem-vinda</p>");}}

function barra(){if (window.document.getElementById){window.document.write("<p>Caso esta barra lateral esteja atrapalhando, voc&ecirc; pode retir&aacute;-la atrav&eacute;s da op&ccedil;&atilde;o &quot;Mudar tamanho da letra e cores&quot;, acima.</p>");}}

function mostraranexos()
{window.document.getElementById("textoanexos").style.display="block";window.document.getElementById("anexo").style.display="none";window.document.getElementById("fechaanexo").style.display="block";}
function ocultaranexos()
{window.document.getElementById("textoanexos").style.display="none";window.document.getElementById("anexo").style.display="block";window.document.getElementById("fechaanexo").style.display="none";}

function extensao(campofile)
{
var caminho=campofile.value;
var split1=caminho.split("\"");
var split2=split1[0].split("'");
var split3=split2[0].split("\\");
var arquivo=split3.pop()
var split4=arquivo.split(".");
var extensao=split4.pop();
var extensao=extensao.toLowerCase();
if((extensao=="jpg")||(extensao=="jpeg")||(extensao=="gif")||(extensao=="png")||(extensao=="bmp")||(caminho==""))
{
var nada=""
}else{
alert("Olá, a extensão \"."+extensao+"\" infelizmente não é aceita. Anexe imagens JPEG, GIF, PNG ou BMP.");
campofile.value="";
}
}