

var menu=new CreerMenu("Search","new"," ");
// CreerMenu(Titre de la liste déroulante,target,carac)
//   target=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,"Soins","");
	menu.Add(2,"Bases","produits/bases.php");
	menu.Add(2,"D&eacute;maquillants","../demaquillants.php");
	

menu.Add(1,"Teints","");
	menu.Add(2,"Fonds de teint","fonds_teint.php");
	menu.Add(2,"Poudres libres","poudres_libre.php");
	menu.Add(2,"Poudres compactes","produits/poudre_compact.php");
	menu.Add(2,"Anticernes","produits/anticernes.php");
	menu.Add(2,"Fards", "produits/fard-creme.php");
	menu.Add(2,"Paillettes", "produits/paillettes.php");
	
	
	

menu.Add(1,"Yeux","");
	menu.Add(2,"Fards", "fards.php");
	menu.Add(2,"Crayons", "crayons.php");
	menu.Add(2,"Faux cils", "faux_cils.php");
	
	
	
menu.Add(1,"L&egrave;vres","");
	menu.Add(2,"Rouges &aacute; l&eacute;vres","produits/rouges.php");
	menu.Add(2,"Gloss","produits/gloss.php");
	menu.Add(2,"Brillants","produits/brillants.php");
	menu.Add(2,"Crayons","produits/crayons-levres.php");
	
	
	
	
	
menu.Add(1,"Pinceaux","");
	menu.Add(2,"Haute qualit&eacute;","pinceaux-qualite.php");
	menu.Add(2,"Pro","pinceaux-pro.php");
	menu.Add(2,"Mode","pinceaux-mode.php");
	menu.Add(2,"Ecole","pinceaux-ecole.php");
	menu.Add(2,"Body Painting","pinceaux-body-painting.php");
	
	
	
	
	
menu.Add(1,"Bagagerie","");
	menu.Add(2,"Sacs/Sacoches","sacs_sacoches.php");
	menu.Add(2,"Trousses","trousses.php");
	menu.Add(2,"Ceintures","ceintures_pots.php");
	menu.Add(2,"Mallettes","mallettes.php");
	
	
	
	
	
menu.Add(1,"Accessoires","");
	menu.Add(2,"Eponges/Houppettes","../eponges_houppettes.php");
	menu.Add(2,"Divers","../divers.php");
	
	


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 rub = new Object;
	rub.deep=deep;
	rub.txt=txt;
	rub.page=page;
	this[this.nb]=rub;
	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}
		}
	}
}


