function uolbarCombo()
{
var uolEst = new Array('fotos.uol.com.br/','&Aacute;lbum de Fotos',
'ferramentas.uol.com.br/','Aplicativos Ferramentas',
'batepapo.uol.com.br/','Bate-papo UOL',
'biblioteca.uol.com.br/','Biblioteca',
'www1.uol.com.br/bichos/','Bichos',
'blog.uol.com.br/','Blog',
'busca.uol.com.br/','Busca',
'noticias.uol.com.br/carros/','Carros',
'cartoes.uol.com.br/','Cart&otilde;es',
'seguranca.uol.com.br/','Central de Seguran&ccedil;a',
'sac.uol.com.br/','Central do Assinante',
'cinema.uol.com.br/','Cinema',
'classificados.uol.com.br/','Classificados',
'noticias.uol.com.br/saude/','Corpo e Sa&uacute;de',
'criancas.uol.com.br/','Crian&ccedil;as',
'diversao.uol.com.br/','Divers&atilde;o e Arte',
'noticias.uol.com.br/economia/','Economia',
'noticias.uol.com.br/educacao/','Educa&ccedil;&atilde;o',
'eleicoes.uol.com.br/','Elei&ccedil;&otilde;es',
'email.uol.com.br/','E-Mail',
'noticias.uol.com.br/empregos/','Empregos',
'esporte.uol.com.br/','Esporte',
'estilo.uol.com.br/','Estilo',
'www.folha.uol.com.br/','Folha Online', 
'fotoblog.uol.com.br/','Fotoblog',
'gay.uol.com.br/','Gay',
'horoscopo.uol.com.br/','Hor&oacute;scopo',
'humor.uol.com.br/','Humor',
'indice.uol.com.br/','&Iacute;ndice',
'jogos.uol.com.br','Jogos',
'noticias.uol.com.br/jornais/','Jornais',
'noticias.uol.com.br/licaodecasa/','Li&ccedil;&atilde;o de Casa',
'musica.uol.com.br/','M&uacute;sica',
'personalidades.uol.com.br/','Personalidades',
'musica.uol.com.br/radiouol/','R&aacute;dio UOL',
'noticias.uol.com.br/revistas/','Revistas',
'servicos.uol.com.br/','Servi&ccedil;os',
'sexo.uol.com.br/','Sexo',
'shopping.uol.com.br/','Shopping UOL',
'sites.uol.com.br/','Sites Pessoais',
'tecnologia.uol.com.br/','Tecnologia',
'televisao.uol.com.br/','Televis&atilde;o',
'www3.uol.com.br/tempo/','Tempo Tr&acirc;nsito Mapas',
'tvuol.uol.com.br/','TV UOL',
'noticias.uol.com.br/ultnot/','&Uacute;ltimas Not&iacute;cias',
'uolk.uol.com.br/','UOL K',
'noticias.uol.com.br/uolnews/','UOL News',
'vestibular.uol.com.br/','Vestibular',
'viagem.uol.com.br/','Viagem');

var printer='<option value=0>ÍNDICE PRINCIPAL</option>';
for(var i=0;i<uolEst.length;i+=2) printer+='<option value='+uolEst[i]+'>'+uolEst[(i+1)]+'</option>';
return printer;
}

var form_name_seed;
var dC = document;

Iid=6;
form_name_seed = (form_name_seed) ? 2 : 1 ;
CClara = "#00698C";
EEscura = "#00495F";

if(!document.getElementById) { forminI = '<form name=fm_uol'+form_name_seed+'>'; formfiM = '</form>'; }
else { forminI = ''; formfiM = ''; }

tmB='430';tmA='center';tmT='148';
if(screen.width<1000) {tmB='220';tmA='left';tmT='350';}

dC.write('<style>a.lxy:active, a.lxy:link, a.lxy:visited, a.lxy, .bnx1 { font-family:arial;font-size:10px;color:white;text-decoration:none; } a.lxy:hover { text-decoration:underline;color:white; }');
if (navigator.appName.indexOf('Netscape')==-1) dC.write('a.lxy { height:24px;padding-top:6px;font-family:arial; } ');
else dC.write('a.lxy { height:19px;padding-top:5px;} \n #bnx0 a, #bnx2 aq, bnx3 a {display:block;}');
dC.write('#bnx1, #bnx2 { border-right:1px solid #02264B;vertical-align:middle; } .bnx1 a{padding:6px 5px 0 10px} ');
dC.write('#bnx2 {text-align:center;} #bnx3 {text-align:'+tmA+';} #uols1, #uols2 { font-family:arial;font-size:10px;width:136px; }');
dC.write('#uolbar { background-image:url(http://barra.uol.com.br/b/uol10anosbg.gif);background-color:#0A3B6C; }')
dC.write('.barraOk{font-size:10px;color:#fff;font-family:arial;background-color:#336699;width:24px;margin:0 10px 0 0;border-top:1px #8A9CC3 solid;border-right:1px #000 solid;border-bottom:1px #000 solid;border-left:1px #8A9CC3 solid;}</style>');

dC.write('<table cellpadding=0 cellspacing=0 border=0 width=970 id=uolbar height=24><tr>'
+'<td id=bnx1 width=131 align=center><a href=http://www.uol.com.br/ target=_top><img src=http://barra.uol.com.br/b/uol10anos.gif border=0 height=17></a></a></td>'
+'<td id=bnx2 width=50><a href=https://cadastro.uol.com.br/index.html?eos=yes&promo=117570810&sg=300016192&sa=UOL-barra-assine&promochild=PROMOCOMBIAVSS class=lxy style=width:50px; target=_top>ASSINE</a></td>'
+'<td class=bnx1 align="center"><a href=http://busca.uol.com.br/ class=lxy target=_top>BUSCA</a></td><td class=bnx1 align="left"><form style="display:inline" method="get" onsubmit="if(this.q.value==false){document.location=\'http://busca.uol.com.br/?ref=fo\';}else if(this.tipo[0].checked==true){document.location=\'http://busca.uol.com.br/www/index.html?q=\'+this.q.value+\'&ref=fo\';}else{document.location=\'http://noticias.busca.uol.com.br/uol/index.html?q=\'+this.q.value+\'&id=1&rd=1&skin=news&ref=fo\';} return false;"><input type="text" name="q" style="font-family:arial;font-size:10px;width:'+tmB+'px;border:1px #7E9DB9 solid;"> <input name="tipo" type="Radio" value="web" id="BSweb" style="margin-bottom:-2px;" checked> <label for="BSweb">Web</label> <input name="tipo" type="Radio" value="noticias" id="BSnoticias" style="margin-bottom:-2px;"> <label for="BSnoticias">Notícias</label> </td><td id=bnx1 align="left"><input type=submit value="OK" class=barraOk></form></td>'
+'<td id=bnx3 width='+tmT+'><font face=arial size=1>'+forminI+'<select name=sel_uol0 id=uols'+form_name_seed+' onchange=openEs('+form_name_seed+')>'+ uolbarCombo() +'</select></font>'
+'</td>'+formfiM+'</tr></table>');

function openEs(fn_seed)
{
if(!document.getElementById) eval("var op = document.fm_uol"+fn_seed+".sel_uol0[document.fm_uol"+fn_seed+".sel_uol0.selectedIndex].value");
else op = document.getElementById('uols'+fn_seed)[document.getElementById('uols'+fn_seed).selectedIndex].value;
if(op!=0&&typeof(top)=='object') parent.top.location = 'http://'+op;
else if(op!=0) window.open('http://'+op, 'newWin');
}

