// Section Popup

function show(){
	document.all['search'].style.visibility="visible";
}

function hide(){                
	document.all['search'].style.visibility="hidden";
}


// Section changement d'image

function LoadImgs () {
		if (document.images ) {
			home0 = new Image();
			home0.src = "boutons/home_r.gif";
			home1 = new Image();
			home1.src = "boutons/home_g.gif";
			
			
			accueil0 = new Image();
			accueil0.src = "boutons/accueil_r.gif";
			accueil1 = new Image();
			accueil1.src = "boutons/accueil_g.gif";
			
			
			search0 = new Image();
			search0.src = "boutons/search_r.gif";
			search1 = new Image();
			search1.src = "boutons/search_g.gif";
		
			recherche0 = new Image();
			recherche0.src = "boutons/recherche_r.gif";
			recherche1 = new Image();
			recherche1.src = "boutons/recherche_g.gif";
		
			qui0 = new Image();
			qui0.src = "boutons/qui_b.gif";
			qui1 = new Image();
			qui1.src = "boutons/qui_g.gif";
		
			produits0 = new Image();
			produits0.src = "boutons/produits_b.gif";
			produits1 = new Image();
			produits1.src = "boutons/produits_g.gif";
		
		
			phytotherapie0 = new Image();
			phytotherapie0.src = "boutons/phytotherapie_b.gif";
			phytotherapie1 = new Image();
			phytotherapie1.src = "boutons/phytotherapie_g.gif";
		
		
			naturopathie0 = new Image();
			naturopathie0.src = "boutons/naturopathie_b.gif";
			naturopathie1 = new Image();
			naturopathie1.src = "boutons/naturopathie_g.gif";
		
			contacter0 = new Image();
			contacter0.src = "boutons/contacter_b.gif";
			contacter1 = new Image();
			contacter1.src = "boutons/contacter_g.gif";
		
		
			garantie0 = new Image();
			garantie0.src = "boutons/garantie_b.gif";
			garantie1 = new Image();
			garantie1.src = "boutons/garantie_g.gif";
		
			who0 = new Image();
			who0.src = "boutons/who_b.gif";
			who1 = new Image();
			who1.src = "boutons/who_g.gif";
		
			product0 = new Image();
			product0.src = "boutons/product_b.gif";
			product1 = new Image();
			product1.src = "boutons/product_g.gif";
			
			herbal0 = new Image();
			herbal0.src = "boutons/herbal_b.gif";
			herbal1 = new Image();
			herbal1.src = "boutons/herbal_g.gif";	
		
		
			naturopathy0 = new Image();
			naturopathy0.src = "boutons/naturopathy_b.gif";
			naturopathy1 = new Image();
			naturopathy1.src = "boutons/naturopathy_g.gif";
		
		
			contact0 = new Image();
			contact0.src = "boutons/contact_b.gif";
			contact1 = new Image();
			contact1.src = "boutons/contact_g.gif";
		
			guarantee0 = new Image();
			guarantee0.src = "boutons/guarantee_b.gif";
			guarantee1 = new Image();
			guarantee1.src = "boutons/guarantee_g.gif";
		
			ffaq0 = new Image();
			ffaq0.src = "boutons/ffaq_b.gif";
			ffaq1 = new Image();
			ffaq1.src = "boutons/ffaq_g.gif";
		
			efaq0 = new Image();
			efaq0.src = "boutons/efaq_b.gif";
			efaq1 = new Image();
			efaq1.src = "boutons/efaq_g.gif";
		
		}
	}

	function change(Name,No) {
		if (document.images && (document[Name])) {
			document[Name].src = eval(Name + No + ".src");
		}
		if (No == 1) {
			if (Name != 'search') {
				change('search',0);
			}
			if (Name != 'recherche') {
				change('recherche',0);
			}
			
			if (Name != 'accueil'){
				change('accueil',0);
			}
			
			if (Name != 'home'){
				change('home',0);
			}
			
			if (Name != 'qui') {
				change('qui',0);
			}
			if (Name != 'produits') {
				change('produits',0);
			}
			
			if (Name != 'phytotherapie') {
				change('phytotherapie',0);
			}
			if (Name != 'naturopathie') {
				change('naturopathie',0);
			}
			
			if (Name != 'contacter') {
				change('contacter',0);
			}
			
			if (Name != 'garantie') {
				change('garantie',0);
			}
			
			if (Name != 'who') {
				change('who',0);
			}
			if (Name != 'product') {
				change('product',0);
			}
			if (Name != 'herbal') {
				change('herbal',0);
			}
			
			if (Name != 'naturopathy') {
				change('naturopathy',0);
			}
			
			if (Name != 'contact') {
				change('contact',0);
			}
			
			
			if (Name != 'guarantee') {
				change('guarantee',0);
			}
			
			if (Name != 'ffaq') {
				change('ffaq',0);
			}
			if (Name != 'efaq') {
				change('efaq',0);
			}
			
			lastbutton = Name;
		}
	}

	function changeback() {
		if (document.images ) {
			change(lastbutton,0);
		}
	}
	
	


