	// Global JavaScript Document

	function gb(element_id)
	{
		return document.getElementById(element_id);
	}
	
	function montre(id) {
		var d = document.getElementById(id);
			for (var i = 1; i<=10; i++) {
				if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
			}
		if (d) {d.style.display='block';}
	}
	
	onload = function()
	{
		// Sous-menu
		montre();
		
		// news défilantes
		if(window.is_index)
			{
				// Init Scrollable news area
				loading_layer = new lib_img("AutoScrollContainer_loading");
				loading_layer.fadeIt("-",fs,"loading_layer.el.style.visibility = \"hidden\"");
	
				setTimeout("flevAutoScrollDivs(1,1,30)",3500);
	
				for(i=0;i<gb("AutoScrollContent").getElementsByTagName("p").length;i++)
				{
					gb("AutoScrollContent").getElementsByTagName("p")[i].onmouseover = new Function("flevAutoScrollDivs(0)");
					gb("AutoScrollContent").getElementsByTagName("p")[i].onmouseout = new Function("flevAutoScrollDivs()");
				}
			}
			local_init();
	}
