Loc = location.href;
pag = Loc.substring (Loc.indexOf ("2002/")+5)

provas = new Array("Escolha a prova","Todas provas","GP da Austrália","GP da Malásia","GP do Brasil","GP de San Marino","GP da Espanha","GP da Áustria","GP de Mônaco","GP do Canadá","GP da Europa","GP da Inglaterra","GP da França","GP da Alemanha","GP da Hungria","GP da Bélgica","GP da Itália","GP dos EUA","GP do Japão");
urlpro = new Array("none","provas.jhtm","australia.jhtm","malasia.jhtm","brasil.jhtm","sanmarino.jhtm","espanha.jhtm","austria.jhtm","monaco.jhtm","canada.jhtm","europa.jhtm","inglaterra.jhtm","franca.jhtm","alemanha.jhtm","hungria.jhtm","belgica.jhtm","italia.jhtm","eua.jhtm","japao.jhtm");

pilotos = new Array("Escolha o piloto","Todos pilotos","Michael Schumacher","Rubens Barrichello","David Coulthard","Kimi Raikkonen","Ralf Schumacher","Juan Pablo Montoya","Nick Heidfeld","Felipe Massa","Giancarlo Fisichella","Takuma Sato","Jacques Villeneuve","Olivier Panis","Jarno Trulli","Jenson Button","Eddie Irvine","Pedro de la Rosa","H.-Harald Frentzen","Enrique Bernoldi","Alex Yoong","Mark Webber","Mika Salo","Allan McNish");
urlpil  = new Array("none","pilotos.jhtm","mschumacher.jhtm","barrichello.jhtm","coulthard.jhtm ","raikkonen.jhtm","rschumacher.jhtm","montoya.jhtm","heidfeld.jhtm","massa.jhtm","fisichella.jhtm","sato.jhtm","villeneuve.jhtm","panis.jhtm","trulli.jhtm","button.jhtm","irvine.jhtm","rosa.jhtm","frentzen.jhtm","bernoldi.jhtm","yoong.jhtm","webber.jhtm","salo.jhtm","mcnish.jhtm");

equipes = new Array("Escolha a equipe","Todas equipes","Ferrari","McLaren / Mercedes","Williams / BMW","Renault","BAR / Honda","Jordan / Honda","Arrows / Cosworth","Sauber / Petronas","Jaguar / Cosworth","Minardi / Asiatech","Toyota");
urlequi = new Array("none","equipes.jhtm","ferrari.jhtm","mclaren.jhtm","williams.jhtm","renault.jhtm","bar.jhtm","jordan.jhtm","arrows.jhtm","sauber.jhtm","jaguar.jhtm","minardi.jhtm","toyota.jhtm");


function troca(drop){
if (document.f1[drop].options[document.f1[drop].selectedIndex].value != "none") {
location = document.f1[drop].options[document.f1[drop].selectedIndex].value }
}


//PROVAS
document.write('<tr><td align="center" bgcolor="#F4F6E4" background="http://e.i.uol.com.br/f1/fundodira.gif" class="white"><b><a href="provas.jhtm" class="white">PROVAS</a></b></td></tr>');
document.write('<tr><form name="f1"><td align="center" bgcolor="#F4F6E4" background="http://e.i.uol.com.br/f1/fundodirb.gif">');
document.write('<select name="prosel" style="font-family: Arial; font-size: 11px; width: 135;" onChange="troca(\'prosel\')">');
for(i=0;i<provas.length;i++)
{
    if (pag != urlpro[i]){
    document.write("<option value="+urlpro[i]+">"+provas[i]+"</option>");
    }
}
document.write('</select></td></tr>');

// PILOTOS
document.write('<tr><td align="center" bgcolor="#F4F6E4" background="http://e.i.uol.com.br/f1/fundodira.gif" class="white"><b><a href="pilotos.jhtm" class="white">PILOTOS</a></b></td></tr>');
document.write('<tr><td align="center" bgcolor="#F4F6E4" background="http://e.i.uol.com.br/f1/fundodirb.gif">');
document.write('<select name="pilsel" style="font-family: Arial; font-size: 11px; width: 135;" onChange="troca(\'pilsel\')">');

for(i=0;i<pilotos.length;i++)
{
    if (pag != urlpil[i]){
    document.write("<option value="+urlpil[i]+">"+pilotos[i]+"</option>");
    }
}
document.write('</select></td></tr>');

// EQUIPES
document.write('<tr><td align="center" bgcolor="#F4F6E4" background="http://e.i.uol.com.br/f1/fundodira.gif" class="white"><b><a href="equipes.jhtm" class="white">EQUIPES</a></b></td></tr>');
document.write('<tr><td align="center" bgcolor="#F4F6E4" background="http://e.i.uol.com.br/f1/fundodirb.gif">');
document.write('<select name="equsel" style="font-family: Arial; font-size: 11px; width: 135;" onChange="troca(\'equsel\')">');

for(i=0;i<equipes.length;i++)
{
    if (pag != urlequi[i]){
    document.write("<option value="+urlequi[i]+">"+equipes[i]+"</option>");
    }
}
document.write('</select></td></form></tr>');