var states = ['mout', 'mover', 'mdown']; var bgcolors = ['#FFFFFF', '#BB00FF', '#99ccff', '#BBBBBB', '#999999','#FFFFFF', '#DDDDDD']; //var bgcolors = ['#4682B4', '#6699cc', '#99ccff']; var compteur = [0, 0, 0]; var MENU_POS = { 'height' : [24, 24, 24, 24], 'width' : [180, 180, 180, 180], 'block_top' : [135, 23, 12, 12], 'block_left' : [15, 0, 180, 180], 'top' : [0, 23, 23, 23], 'left' : [179, 0, 0, 0], 'hide_delay' : [300, 300, 300, 300], 'expd_delay' : [300, 300, 300, 300], 'pixel_path' : '/images/pixel.gif', 'align' : 'center' }; /*var MENU_POS = { 'height' : [23, 0, 0, 0], 'width' : [130, 130, 130, 130], 'block_top' : [100, 23, 23, 23], // Apparition du menu [premier, dessous, droite 'block_left' : [10, 10, 130, 130], 'top' : [23, 23, 23, 23], //espacement [des menus, tabultaions des fils 'left' : [135, 0, 0, 0], 'hide_delay' : [300, 300, 300, 300], 'expd_delay' : [300, 300, 300, 300], 'pixel_path' : '/images/pixel.gif' };*/ var MENU_ITEMS = [ [wrap_parent('Le club', 'b','pixel.gif', 0), 'club', null, [wrap_child('Comité 2008', 'fleche_jaune.gif', 1), ['/club/comite/','cadre', 'Comité de la PEV 2008'], null] , [wrap_child('Inscription au club', null ,1), ['/club/inscription.htm','cadre', 'Pré inscription à la PEV'] , null] , //[wrap_parent('Championnat interne', 'r', null, 1), '/club/championnat', [null, null, 188], // [wrap_child('CLM', null, 2), '/club/championnat/clm', null], // [wrap_child('Course de côte', null,2), '/club/championnat/cote', null], //], [wrap_parent('Camps d\'entraînement', 'r', null, 1), null, [null, null, 188], [wrap_child('Camp mars 2007', null,2), 'http://www.grauser.com/PEV/archives/2007/Divers/Camp2/', null], [wrap_child('Camp mars 2006', null,2), 'http://www.pev-geneve.ch/archives/2006/divers/camp/page_01.htm', null], [wrap_child('Camp février 2005', null,2), '/archives/2005/camp', null], [wrap_child('Camp février 2004', null,2), '/archives/2004/camp', null], [wrap_child('Camp février 2003', null,2), '/archives/2003/camp', null], [wrap_child('Camp février 2002', null,2), '/archives/2002/camp', null], [wrap_child('Camp février 2001', null,2), '/archives/2001/camp01/camp01.htm', null], ], [wrap_parent('Assemblée générale', 'r', null, 1), null, [null, null, 188], [wrap_child('PV Assemblée 2008', 'pdf.gif',2), '/club/comite/PV_AG_2008.pdf', null], [wrap_child('PV Assemblée 2007', 'pdf.gif',2), '/club/comite/PV_AG_2007.pdf', null], [wrap_child('PV Assemblée 2006', 'pdf.gif',2), '/club/comite/PV_AG_2006.pdf', null], [wrap_child('PV Assemblée 2005', 'pdf.gif',2), '/club/comite/PV_AG_2005.pdf', null], [wrap_child('PV Assemblée 2004', null,2), '/club/comite/AG2004/AG2004.htm', null], [wrap_child('PV Assemblée 2003', 'pdf.gif',2), '/club/comite/PV_AG_2003.pdf', null], [wrap_child('PV Assemblée 2002', null ,2), '/club/comite/pv_assgen2002_1.htm', null], ], [wrap_parent('Le Peeviste', 'r', null, 1), null, [null, null, 188], [wrap_child('Peeviste 2007 n°2', 'pdf.gif',2), '/club/peeviste/Peeviste_nov07.pdf', null], [wrap_child('Peeviste 2007 n°1', 'pdf.gif',2), '/club/peeviste/PEEVISTE_printemps_07.pdf', null], [wrap_child('Peeviste 2006 n°2', 'pdf.gif',2), '/club/peeviste/Peeviste_nov06.pdf ', null], [wrap_child('Peeviste 2006 n°1', 'pdf.gif',2), '/club/peeviste/PEEVISTE_printemps_06.pdf', null], [wrap_child('Peeviste 2005 n°2', 'pdf.gif',2), '/club/peeviste/Peeviste_nov2005_A4Portrait.pdf', null], [wrap_child('Peeviste 2005 n°1', 'pdf.gif',2), '/club/peeviste/Peeviste_printemps2005.PDF', null], [wrap_child('Peeviste 2004 n°2', 'pdf.gif',2), '/club/peeviste/peeviste_hiver2004.pdf', null], [wrap_child('Peeviste 2004 n°1', 'pdf.gif',2), '/club/peeviste/Peeviste4.pdf', null], [wrap_child('Peeviste 2003 n°3', 'pdf.gif',2), '/club/peeviste/Peeviste3.pdf', null], [wrap_child('Peeviste 2003 n°2', 'pdf.gif',2), '/club/peeviste/Peeviste2.pdf', null] ], [wrap_child('Contact', 'email.gif',1), 'mailto:info@pev-geneve.ch?subject=PEV-GENEVE.CH - Info', null] , ], [wrap_parent('Organisations', 'b', 'pixel.gif', 0), null, [null, null, 188], [wrap_child('Verybike', null, 1), '/verybike'], [wrap_child('Gentlemen Stettler', null, 1), '/gentlemen'], [wrap_child('Tour du Canton', null, 1), '/tcanton'], ], [wrap_parent('Rubriques', 'b', 'pixel.gif', 0), 'club', [null, null, 188], // [wrap_child('Les Armes', null, 1), ['/divers/armes','cadre', 'Les vélos des Péevistes'] , null] // , // [wrap_child('Liens', null, 1), 'divers/liens', null] // , [wrap_child('1 col - 1 PEViste', null, 1), '/pages/cols.php/', null] , [wrap_child('1 pro - 1 PEViste', null, 1), '/divers/pros/', null] , [wrap_parent('PEV Match', 'r', 'pev_match.gif', 1), '/divers/pev_match', [null, null, 188], [wrap_child('Numéro 3', 'pev_match.gif',2), '/divers/pev_match/index3.htm', null], [wrap_child('Numéro 2', 'pev_match.gif',2), '/divers/pev_match/index2.htm', null], [wrap_child('Numéro 1', 'pev_match.gif',2), '/divers/pev_match/index1.htm', null], ], [wrap_parent('Zapping', 'r', null, 1), null, [null, null, 188], [wrap_child('Zapping 2005', null,2), '/archives/2005/zapping/zapping2005.htm', null], [wrap_child('Zapping 2004', null,2), '/archives/2004/zapping/zapping2004.htm', null], [wrap_child('Zapping 2003', null,2), '/archives/2003/zapping/zapping2003.htm', null], [wrap_child('Zapping 2002', null,2), '/archives/2002/zapping2002.htm', null], [wrap_child('Zapping 2001', null,2), '/archives/2001/zapping2001.htm', null], ], ], [wrap_parent('Archives', 'b', 'pixel.gif', 0), '/archives', [null, null, 188], [wrap_child('Les news depuis 1.12.2002', null,2), '/pages/all_info.php', null], [wrap_parent('2004', 'r', null, 1), null, [null, null, 188], [wrap_child('Courses 2004', null,2), '/archives/2004/index.htm', null], [wrap_child('Zapping 2004', null,2), '/archives/2004/zapping/zapping2004.htm', null], [wrap_child('Camp février 2004', null,2), '/archives/2004/camp', null], ], [wrap_parent('2003', 'r', null, 1), null, [null, null, 188], [wrap_child('Courses 2003', null,2), '/archives/2003/index.htm', null], [wrap_child('Zapping 2003', null,2), '/archives/2003/zapping/zapping2003.htm', null], [wrap_child('Camp février 2003', null,2), '/archives/2003/camp', null], ], [wrap_parent('2002', 'r', null, 1), null, [null, null, 188], [wrap_child('Courses 2002', null,2), '/archives/2002/index.htm', null], [wrap_child('Zapping 2002', null,2), '/archives/2002/zapping2002.htm', null], [wrap_child('Camp février 2002', null,2), '/archives/2002/camp', null], ], [wrap_parent('2001', 'r', null, 1), '/archives/2001', [null, null, 188], [wrap_child('Courses 2001', null,2), '/archives/2001/courses2001/index.htm', null], [wrap_child('Zapping 2001', null,2), '/archives/2001/zapping2001.htm', null], [wrap_child('Camp février 2001', null,2), '/archives/2001/camp01/camp01.htm', null], [wrap_child('Divers 2001', null,2), '/archives/2001', null], ], ], /*[wrap_parent('Piste', 'b', 'pixel.gif', 0), null, [null, null, 188], [wrap_child('Cédric Stoller', 'suisse_pti.gif',2), '/piste/2003/cedricstoller.htm', null], [wrap_parent('Photos', 'r', null, 1), null, [null, null, 188], [wrap_child('Omnium romand', null,2), '/piste/2003/courses/omnium1.htm', null], [wrap_child('Omnium genevois', null,2), '/piste/2003/courses/omnium2.htm', null], [wrap_child('Entraînements', null,2), '/piste/2003/entrainements/photos.htm', null], ], ],*/ ]; function swap_color(level, text) { compteur[level+1] = 0; if (compteur[level]%2 != 0 ){ bgcolors[0] = bgcolors[3]; bgcolors[1] = bgcolors[4]; } else { bgcolors[0] = bgcolors[5]; bgcolors[1] = bgcolors[6]; } //var compteur2 = compteur[level]+1 compteur[level]++; } function wrap_parent (text, pos, icon, level) { swap_color(level, text); var res = new Array; for (var i=0; i ' + (icon != null ? ' ' : ' ' ) + '' +text + ''; return res; } function wrap_child (text, icon, level) { swap_color(level, text); var res = new Array; for (var i=0; i ' + (icon != null ? ' ' : ' ' ) + '' +text + ''; return res; } function place_menu(menu) { /*document.write(''); */ } function z(y) { for(var i=0;i