function toggleall(idtheme) {
	if(idtheme=='all'){
		new Effect.BlindUp('searchhotel',{duration: 3.0});
		new Effect.BlindUp('hotellist',{duration: 3.0});
		new Effect.BlindUp('dispohotel',{duration: 3.0});
		new Effect.BlindUp('heberother',{duration: 3.0});
		
	}
	else {
		if(idtheme!='searchhotel'){
			new Effect.BlindUp('searchhotel',{duration: 2.5,delay:1.1});
		}
		if(idtheme!='hotellist'){
			new Effect.BlindUp('hotellist',{duration: 2.0,delay:1.1});
		}
		if(idtheme!='dispohotel'){
			new Effect.BlindUp('dispohotel',{duration: 2.0,delay:1.1});
		}
		if(idtheme!='heberother'){
			new Effect.BlindUp('heberother',{duration: 2.0,delay:1.1});
		}
		if(idtheme!='seeit'){
			new Effect.BlindUp('seeit',{duration: 2.0,delay:1.1});
		}
	}
}

function toggle(idtheme){
	new Effect.BlindDown(idtheme,{duration: 1.0});
	toggleall(idtheme);
}

function PopupCentrer(page,largeur,hauteur,options) {

  var top=(screen.height-hauteur)/2;

  var left=(screen.width-largeur)/2;

  window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);

}


