
<!--
var menu=new CreerMenu("Plan du site...","self","- ");
// CreerMenu(Titre de la liste déroulante,cible,carac)
// cible=nom de la frame ou "self" si c'est la fenetre elle meme, "new" pour une nouvelle fenêtre
// carac=caracteres à afficher devant les lignes ayant un lien

// Pour ajouter les liens dans les listes, utiliser menu.Add
// Menu.Add(profondeur d'arborescence, texte, page à charger)
menu.Add(1,"Accueil","http://sylvain.f.ifrance.com/nveau/accueil.html");
menu.Add(1,"News","http://sylvain.f.ifrance.com/nveau/news.html");
menu.Add(1,"Contact","http://sylvain.f.ifrance.com/nveaue/contact.html");
menu.Add(1,"Archives","http://sylvain.f.ifrance.com/nveau/archives.html");
menu.Add(1,"Langues","http://sylvain.f.ifrance.com/nveau/langues.html");
menu.Add(1,"Musique","http://sylvain.f.ifrance.com/nveau/musique.html");
menu.Add(2,"Harmoniums","http://sylvain.f.ifrance.com/nveaue/harmoniums.html");
menu.Add(2,"Orchestre","http://sylvain.f.ifrance.com/nveau/orhestre.html");
menu.Add(2,"Saxophone","http://sylvain.f.ifrance.com/nveau/saxophone.html");
menu.Add(2,"Partitions","http://sylvain.f.ifrance.com/nveau/partitions.html");
menu.Add(1,"Voyage","http://sylvain.f.ifrance.com/nveau/voyage.html");
menu.Add(2,"Slovaquie","http://sylvain.f.ifrance.com/nveaue/slovaquie.html");
menu.Add(2,"Pays-Bas","http://sylvain.f.ifrance.com/nveau/pays-bas.html");
menu.Add(2,"Canada","http://sylvain.f.ifrance.com/nveau/canada.html");
menu.Add(3,"Cantons de l'est","http://sylvain.f.ifrance.com/nveau/roadtrip.html");
menu.Add(3,"Les baleines","http://sylvain.f.ifrance.com/nveau/baleines.html");
menu.Add(3,"Gaspésie","http://sylvain.f.ifrance.com/nveau/gaspesie.html");
menu.Add(3,"Québec","http://sylvain.f.ifrance.com/nveau/quebec.html");
menu.Add(1,"Les cloîtres","http://sylvain.f.ifrance.com/nveau/cloitres.html");
menu.Add(1,"Sport","http://sylvain.f.ifrance.com/nveau/sport.html");
menu.Add(2,"Football","http://sylvain.f.ifrance.com/nveau/football.html");
menu.Add(1,"Autres...","http://sylvain.f.ifrance.com/nveau/autres.html");
menu.Add(2,"Les études","http://sylvain.f.ifrance.com/nveau/etudes.html");
menu.Add(2,"O Toulouse","http://sylvain.f.ifrance.com/nveau/toulouse.html");
menu.Add(2,"Proverbes","http://sylvain.f.ifrance.com/nveau/proverbes.html");


function CreerMenu(titre,target,carac) {
this.nb=0;this.titre=titre;this.target=target;this.carac=carac;
this.Add=AddObjet;
this.Aff=AffMenu;
}

function AddObjet(deep,txt,page) {
var ligne = new Object;
ligne.deep=deep;
ligne.txt=txt;
ligne.page=page;
this[this.nb]=ligne;
this.nb++;
}

function space(i) {var Z="";for (var j=1;j<i;j++){Z+="&nbsp;&nbsp;&nbsp;&nbsp;";}return Z}

function AffMenu() {
var Z="<FORM name='mf'>";
var z="";
Z+="<SELECT size=1 name='tjs' onChange='Clic(this.form);'><OPTION>"+this.titre+"</OPTION>";
for (var i=0;i<this.nb;i++) {
z=""; if ((this[i].page!="")&&(this[i].page!=null)) {z=this.carac}
Z+="<OPTION value='"+this[i].page+"'>"+space(this[i].deep)+z+this[i].txt+"</OPTION>"
}
Z+="</SELECT>";
Z+="</FORM>";
document.write(Z);
}

function Clic(f){
var i=f.elements["tjs"].selectedIndex-1;
if (i>=0) {
var page=menu[i].page;
if ((page!="")&&(page!=null)) {
if (menu.target=="self") {window.location=page}
else if (menu.target=="new") {window.open(page,'newf','scrollbars=yes')}
else {parent.frames[menu.target].window.location=page}
}
}
}

-->
