/* 
		cabeçalho de links da seção Testes - simplificado
		dia 2/5/01  10:46
*/

// coloque o endereço do diretório

var root="http://www.motonline.com.br/testes/"

// 
col = new Array()
links = new Array()

col[0] = [
"",
">Teste XJ6",
">Teste NXR 150 Bros mix ES",
">BMW G 650 GS - Um mito muito mais acessível",
">Teste Kasinski 250 GTR",
">Teste da XRE 300 A com ABS",
">Dafra Smart 125",
">BMW G450 X: uma moto de profissionais para profissionais",
">Teste da Harley-Davidson XR 1200: Uma Harley boa de curva",
">Teste da Teste da BMW K 1300S: Foguete alemão ",
">Teste da Benelli TNT 1130 Café Racer: Café Racer do século XXI ",
">Teste da Triumph Rocket III Classic: Uma inglesa de respeito",
">Yamaha XT 660R reina absoluta no segmento trail de média cilindrada",
">Buell 1125R: sonho americano em duas rodas",
">DAFRA KANSAS 250: Cresce a família custom da Dafra",
">Honda NXR 150 BROS 150 2009 ganhou injeção eletrônica e novo design",
">Comparativo CG Titan 150 ESD x Yamaha YBR 125 Factor ED: Duelo de campeãs",
">BMW G 650 Xcountry: Com desenho simples, BMW Xcountry é boa opção para o dia-a-dia",
">Honda CB 1300 Super Four com ABS: Estilo “Tiozão”",
">Linha Yamaha XTZ 250 2009: qual a sua, trail ou supermotard?",
">Versatilidade e ciclística são trunfos da Yamaha XTZ 125 2009",
">Suzuki Hayabusa GSX 1300R 2009: Lenda aperfeiçoada",
">HONDA CG 150 TITAN ESD 2009: Com farol polêmico, porém funcional, Honda Titan 2009 faz mais de 40km/l",
">BMW K 1200 GT: Turismo com dose de esportividade",
">KTM 690 SMR: Supermoto austríaca esbanja potência",
">Suzuki Bandit 650N recebe injeção de ânimo (14/12/2008)",
">Diversão em dois cilindros (26/11/2008)",
">Brutalidade à flor da pele (02/11/2008)",
">A naked mais potente do mundo (19/10/2008)",
">Duelo popular: Honda CG 150 Titan ESD X Dafra Speed 150 (05/10/2008)",
">Yamaha lança a YZF-R1 2009 com tecnologia MotoGP (21/09/2008)",
">Uma italiana para qualquer estrada (14/09/2008)",
">Uma chopper de corpo e alma (07/09/2008)",
">Uma grande mistura (31/08/2008)",
">Estilo retrô (19/08/2008)",
">Honda CBR 1000RR x Suzuki GSX-R 1000 2008 (13/04/2008)",
">Dafra Kansas 150: Grata surpresa (03/04/2008)",
">Alta ou baixa? Teste comparativo: Suzuki Bandit e Yamaha Dragstar (09/03/2008)",
">X ou M? Teste comparativo: XT 660 e a nova MT-03 (02/03/2008)",
">Big prazer: Suzuki DL1000 V-Strom 2008 (17/02/2008)",
">Teste comparativo: Honda CBR 600RR, Suzuki GSX-R 750 e Yamaha YZF 1000 R1 (07/10/2007)",
">BMW lança no Brasil as novas 650 nas versões enduro e motard (02/09/2007)",
">Rali no asfalto: o teste da Varadero (23/08/2007)",
">O sexto sentido: teste da Fat Boy (19/08/2007)",
">XTZão: Yamaha XTZ 750 Superténéré (23/07/2007)",
">Suzuki Bandit 650, para toda hora (16/07/2007)",
">A magra gostosa: teste da Honda CBR 600 RR 2007 (17/06/2007)"
]




links[0] = [
"",
"teste-XJ6_04Jun10.html",
"teste-nxr150-brosmix_14mai10.html",
"teste-bmw_g650_gs.html",
"teste-kasinski-250gtr_07-04-2010.html",
"teste-da-xre-300-a-com-abs_30-01-2010.html",
"dafra-smart-125_10dez09.html",
"teste-BMW-G450X-14jun09.html",
"teste-Harley-XR1200-03mai09.html",
"teste-BMW-K1300S-03mai09.html",
"teste-benelli-tnt-16abr09.html",
"teste-triumph-rocket3-16abr09.html",
"teste-yamaha-xt660rr-05abr09.html",
"teste-buell1125r-29mar09.html",
"teste-dafra-kansas250-22mar09.html",
"teste-honda-nxr150bros15mar09.html",
"teste-titan-esd-yamaha-factor.html",
"teste-BMW-G650Xcountry.html",
"teste-honda1300-abs.html",
"teste-YamahaXTZ250-2009.html",
"teste-YamahaXTZ125-2009.html",
"teste-Suzuki-Hayabusa.html",
"teste-honda-cg150titan.html",
"teste-BMW-K-1200GTR.html",
"teste-ktm690SMR.html",
"teste-suzuki-bandit2008.html",
"teste-bmw-f-650gs.html",
"teste-mv-agusta-brutale02nov08.html",
"teste-suzuki-naked19out08.html",
"teste-Honda-titan-Dafra-Speed05out08.html",
"teste-YamahaYZF-R1-21set08.html",
"teste-ducati1100-14set08.html",
"teste-chopper07set08.html",
"teste-amazonas-mix110-31ago08.html",
"teste-Harley-DavidsonDeluxe-18ago08.html",
"teste-honda-cbr1000-suzuki-gsx-13abr08.html",
"teste-DafraKansas150abr2008.html",
"teste-comparativo-09mar08.html",
"teste-comparativo-02mar08.html",
"teste-suzuki-strom2008.html",
"teste-comparativo-07out07.html",
"teste-bmw650-enduro-motard-02set07.html",
"teste-Honda-Varadero-23ago07.html",
"teste-fatboy.html",
"teste-yamaha-supertenere95.html",
"teste-suzuki-bandit650n.html",
"teste-cbr600rr2007.html"
]

// coluna2

col[1] = [
"",
">Efeito Rossi: o teste da Yamaha R1 (14/05/2007)",
">Suzuki GSX R750 (28/04/2007)",
">Comparativo Honda Falcon X Yamaha Lander (09/04/2007)",
">Yamaha XT 660R e Honda CBF 600 Hornet (02/04/2007)",
">Honda CB 1300F (18/03/2007)",
">Honda VTX 1800C (11/03/2007)",
">Honda CB 450DX (12/02/2007)",
">Comparativo das pequenas: Hunter X Pop (08/02/2007)",
">Amazonas 250 Custom (05/02/2007)",
">BMW F 800 S (19/12/2006)",
">Yamaha XTZ 250 Lander 2 Honda XR 250 Tornado (05/12/2006)",
">Ducati S4R Testastretta e KTM 990 Superduke (22/11/2006)",
">Buell City Cross (13/11/2006)",
">Honda CB 600F Hornet X Suzuki GSX 750F(31/10/2006)",
">Yamaha XTZ 250 (09/10/2006)",
">Honda CRF 230 (13/09/2006)",
">Kasinski Comet e Mirage 650 (07/08/2006)",
">Kasinski Mirage Premier 250 (16/07/2006)",
">Suzuki Bandit 1200N (10/07/2006)",
">Kahena 1600 ST (13/06/2006)",
">Sundown V-Blade 250 (22/05/2006)",
">Suzuki Intruder 125 (09/05/2006)",
">CBX 200 Strada (28/04/2006)",
">Kawazaki ZX-6RR 636 (16/04/2006)",
">Honda CBX 750 (02/04/2006)",
">Yamaha Virago 535 (20/03/2006)",
">Suzuki Boulevard M800 (07/03/2006)",
">Yamaha RD 350LC (05/03/2006)",
">Honda GL 1800 Gold Wing (01/03/2006)",
">Suzuki GSX-R 1000 (16/02/2006)",
">Honda NX350 Sahara (05/02/2006)",
">Honda Shadow 750 x Yamaha Dragstar 650 (29/01/2006)",
">Sundown Hunter 90 (15/01/2006)",
">Yamaha RD 350LC x Honda CBX 750F (10/01/2006)",
">Yamaha YS 250 Fazer (19/12/2005)",
">Suzuki GSX-R 750 (08/12/2005)",
">Honda Shadow 750 (20/11/2005)",
">Honda CB 500 x Suzuki GS 500 (10/11/2005)",
">Honda Biz 125 (31/10/2005)",
">CG 125 Fan e CG 150 Sport (09/06/2005)",
">Honda CB 600F Hornet (12/05/2005)",
">Yamaha XT 660R (11/04/2005)",
">Suzuki Yes 125 (10/02/2005)",
">Kasinski Comet 250 (10/01/2005)",
">Honda CBR 600RR (27/11/2004)",
">Honda Tornado (15/11/2004)"
]

links[1] = [
"",
"teste-yamaha-r1.html",
"teste-gsx-r750.html",
"teste-landerxfalcon.html",
"teste-XT660R-CBF600.html",
"teste-honda-cb1300.html",
"teste-honda-VTX-1800C.html",
"teste-honda-Cb450.html",
"teste-hunterXpop.html",
"teste-amazonas250.html",
"teste-BMWF800S.html",
"teste-lander-tornado.html",
"teste-ducati-ktm.html",
"teste-buell-city.html",
"teste-hornet-suzuki.html",
"teste-XTZ250Lander.html",
"teste-motoescola.html",
"teste-kasinski-comet-mirage.html",
"teste-kasinski250.html",
"teste-bandit1200n.html",
"teste-kahena.html",
"teste-vblade.html",
"teste-intruder125.html",
"teste-cbx200.html",
"teste-kawa-zx6r.html",
"teste-cbx750.html",
"teste-virago.html",
"teste-boulevard.html",
"teste-yamahaRD350LC.html",
"teste-gold-wing.html",
"teste-suzuki-gsxr1000.html",
"teste-honda-nx350.html",
"teste-custom.html",
"teste-hunter90.html",
"teste-yam-honda.html",
"teste-fazer250.html",
"teste-suzuki750.html",
"teste-chopper.html",
"teste-briga.html",
"teste-biz.html",
"teste-cg.html",
"teste-zangada.html",
"teste-xt660r.html",
"teste-yes125.html",
"teste-cometa.html",
"teste-cbr600rr.html",
"teste-tornado.html"
]


// daqui para frente só é necessário mexer em caso de alteração de layout

function links_test()
{

  //
  var patrocinio = '';
  patroc_html = '<div class="patrocGeral"><style type="text/css">@import "http://www.motonline.com.br/images/patrocinadores/patroc.css";</style><table width="100%" border="0" cellspacing="0" cellpadding="0" class="patrocGeral"><tr><td colspan="2" class="patrocTit">A equipe Motonline é patrocinada por:</td></tr><tr><td><table border="0" cellspacing="0" cellpadding="5"><tr><td><a target="_blank" href="http://www.sbk.com.br"><img border=0 src="http://www.motonline.com.br/images/patrocinadores/sbk.gif" /></a></td><td class="patrocDados">Patrocina o Motonline com jaquetas, calças e luvas</td></tr></table></td><td>&nbsp;</td></tr></table></div>';
  patrocinio = '<div class="patroc">'+patroc_html+'</div>';
  document.write(patrocinio);

  //parte de cima
  document.write('<table border=0 cellpadding=2 class=bordalanc1 width=100% cellspacing=0><tr><td colspan=4 bgcolor=#C71022><span class=txt10><font color=#D8D8D8>Outros Testes</font></span></td></tr><tr class=txt8az>');

  // links - parte dinÃAAmica
  var tot=0;

  for (x=0;x<=1;x++)
  {
    document.write('</td>');
    document.write('<td class=bordalanc2 bgcolor=#FFFFFF height=38 width=50% valign=top>');
    tot++;

    for (y=1;y < col[x].length;y++)
    {
      var tit=col[x];
      var lik=links[x];

      if ((eval(lik)[y]=="")&(eval(tit)[y]==""))
      {}
      else{
        document.write('<a href='+ root + eval(lik)[y] +'><font color="#8080ff">'+eval(tit)[y] +'</font></a><br>');
      }
    }
  }
  // termina de escrever a tabela
  document.write('</tr></table>');

}


/*
function links_test()
{
//parte de cima
document.write('<table border=0 cellpadding=2 class=bordalanc1 width=100% cellspacing=0><tr><td colspan=4 bgcolor=#C71022><span class=txt10><font color=#D8D8D8>Outros Testes</font></span></td></tr><tr class=txt8az>');

// links - parte dinÃAAmica
var tot=0;

for (x=1;x<=2;x++)
{
document.write('</td>');
document.write('<td class=bordalanc2 bgcolor=#FFFFFF height=38 width=50% valign=top>');
tot++;

for (y=1;y<=numlinhas;y++)
{
var tit="col" +x;
var lik="links" +x;

if ((eval(lik)[y]=="")&(eval(tit)[y]==""))
{}
else{
document.write('<a href='+ root + eval(lik)[y] +'><font color="#8080ff">'+eval(tit)[y] +'</font></a><br>');
}
}
}
// termina de escrever a tabela
document.write('</tr></table>');

}
*/
