		var w, h, hscroll, vscroll;

		<!-- ************************************************************************************** -->
		<!-- ********************************* Fonction onResize ************************************* -->
		<!-- ************************************************************************************** -->

		window.onresize=windowResize;
		window.onscroll=windowResize;

		function windowResize()
		{
			windowCoord();
			positionCache();
			if(myObject) centerObject();
		}

		<!-- ************************************************************************************** -->
		<!-- ******************************* Fabrication des objects *********************************** -->
		<!-- ************************************************************************************** -->

		var myObj = document.createElement("div");
		myObj.id="div_cache";
		document.body.appendChild(myObj);
		var objCache=document.getElementById(myObj.id);

		var myObj = document.createElement("div");
		myObj.id="div_image";
		document.body.appendChild(myObj);
		var objImage=document.getElementById(myObj.id);

		var myObj = document.createElement("div");
		myObj.id="div_object";
		document.body.appendChild(myObj);
		var objObject=document.getElementById(myObj.id);

		var myObject;

		<!-- ************************************************************************************** -->
		<!-- ******************************* Affichage des objects *********************************** -->
		<!-- ************************************************************************************** -->
		function displayObject()
		{
			windowCoord();
			positionCache();
			changeOpacity(70, objCache);
			objCache.style.display="block";
			myObject.style.display="block";
			centerObject();
		}

		function hideObject()
		{
			myObject.style.display="none";
			objCache.style.display="none";
		}

		function windowCoord()
		{
			if(!window.innerWidth)
			{
				//strict mode
				if(!(document.documentElement.clientWidth == 0))
				{
					w = document.documentElement.clientWidth;
					h = document.documentElement.clientHeight;
				}
				//quirks mode
				else
				{
					w = document.body.clientWidth;
					h = document.body.clientHeight;
				}
			}
			//w3c
			else
			{
				w = window.innerWidth;
				h = window.innerHeight;
			}
			var myNavigator=navigator.userAgent.toLowerCase();
			hscroll = ((myNavigator.indexOf('chrome') > -1)||(myNavigator.indexOf('safari') > -1)) ? document.body.scrollLeft : document.documentElement.scrollLeft;
			vscroll = ((myNavigator.indexOf('chrome') > -1)||(myNavigator.indexOf('safari') > -1)) ? document.body.scrollTop : document.documentElement.scrollTop;
		}

		function centerObject()
		{
			myObject.style.left=parseInt((w - myObject.offsetWidth)/2+hscroll)+"px";
			myObject.style.top=parseInt((h - myObject.offsetHeight)/2+vscroll)+"px";
		}

		<!-- ************************************************************************************** -->
		<!-- ************************************** Le cache *************************************** -->
		<!-- ************************************************************************************** -->

		function positionCache()
		{
			objCache.style.height=parseInt(h+vscroll)+"px";
		}

		<!-- ************************************************************************************** -->
		<!-- **************************************** Divers *************************************** -->
		<!-- ************************************************************************************** -->

		function changeOpacity(opacity,objDiv)
		{
			objDiv.style.opacity = (opacity / 100);
			objDiv.style.MozOpacity = (opacity / 100);
			objDiv.style.KhtmlOpacity = (opacity / 100);
			if(navigator.userAgent.toLowerCase().indexOf("msie") != -1) objDiv.style.filter = "alpha(opacity=" + opacity + ")";
		}

		function getProperties(myDiv,myProperty)
		{
			if(navigator.userAgent.toLowerCase().indexOf("msie") != -1) var myValue=document.getElementById(myDiv).currentStyle[myProperty];
			else
			{
				var cs=document.defaultView.getComputedStyle(document.getElementById(myDiv),null);
				var myValue=cs.getPropertyValue(myProperty);
			}
			return parseInt(myValue);
		}

		function changeImage(idMenu,imageState)
		{
			var oldSrc=document.getElementById(idMenu).src;
			var splitSrc1=oldSrc.split("/");
			var splitSrc2=splitSrc1[splitSrc1.length-1].split(".");
			var splitSrc3=splitSrc2[0].split("_");
			var oldState=splitSrc3[splitSrc3.length-1];
			newSrc=oldSrc.replace("_"+oldState+".", "_"+imageState+"."); 
			document.getElementById(idMenu).src=newSrc;
		}

		var liens = document.getElementsByTagName('a');
		for (var i = 0 ; i < liens.length ; ++i)
		{
			if (liens[i].className == 'a_externe')
			{
				liens[i].title="Lien externe...";
				liens[i].onclick = function()
				{
					window.open(this.href);
					return false;
				}
			}
			else if (liens[i].className == 'a_interne') liens[i].title="Lien interne...";
		}

		function displaySousMenu(codeMenu, stateMenu)
		{
			if(pageName != codeMenu) document.getElementById("div_menu_"+codeMenu).style.backgroundImage=(stateMenu) ?"url(http://www.naplus.fr/images/site/triangle_"+pageName+".png)":"url()";
			document.getElementById("div_sousmenu_"+codeMenu).style.display=(stateMenu) ?"block":"none";
		}

		var getMenu=document.getElementsByTagName("DIV");
		for(var i=0;i<getMenu.length;i++)
		{
			if(getMenu[i].className == "div_menu")
			{
				var mySplit=getMenu[i].id.split("_");
				eval("var nbSousMenu=nb_sousmenu_"+mySplit[2]+";");
				if(nbSousMenu)
				{
					eval("getMenu[i].onmouseover=function() {displaySousMenu('"+mySplit[2]+"',1);};");
					eval("getMenu[i].onmouseout=function() {displaySousMenu('"+mySplit[2]+"',0);};");
				}
			}
		}
