		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 ucfirst (str)
		{
			var f = str.charAt(0).toUpperCase();
			return f + str.substr(1);
		}

		function changeImage(idImage,stateImage)
		{
			var splitId=idImage.split("_");
			eval("document.getElementById('"+idImage+"').src=img"+ucfirst(splitId[1])+ucfirst(stateImage)+".src;");
		}

		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 ecrire_cookie(nom, valeur, expires)
		{
			var myDate=new Date();
			myDate.setTime(myDate.getTime()+(expires*24*60*60*1000));
			document.cookie=nom+"="+escape(valeur)+((myDate==null) ? "" : ("; expires="+myDate.toGMTString()));
		}

		function arguments_cookie(offset)
		{
			var endstr=document.cookie.indexOf (";", offset);
			if (endstr==-1) endstr=document.cookie.length;
			return unescape(document.cookie.substring(offset, endstr)); 
		}

		function lire_cookie(nom)
		{
			var arg=nom+"=";
			var alen=arg.length;
			var clen=document.cookie.length;
			var i=0;
			while (i<clen)
			{
				var j=i+alen;
				if (document.cookie.substring(i, j)==arg) return arguments_cookie(j);
				i=document.cookie.indexOf(" ",i)+1;
				if (i==0) break;
			}
			return null; 
		}

