function addLoadListener(func) {
   if (window.addEventListener) {
      window.addEventListener("load", func, false);
   } else if (document.addEventListener) {
      document.addEventListener("load", func, false);
   } else if (window.attachEvent) {
      window.attachEvent("onload", func);
   } else if (typeof window.onload != "function") {
      window.onload = func;
   } else {
      var oldonload = window.onload;
      window.onload = function() {
         oldonload();
         func();
      };
   }
}

function gEBI() {
	if (!document.getElementById) {
		if (document.all) {
			document.getElementById=function() {
				if ( typeof(document.all[arguments[0]]) != "undefined") {
					return document.all[arguments[0]];
				} else {
					return null;
				}
			};
		} else if (document.layers) {
			document.getElementById=function() {
				if ( typeof(document[arguments[0]]) != "undefined") {
					return document[arguments[0]];
				} else {
					return null;
				}
			};
		}
	}
}

function pagesvisit() {
	document.write('<p style="color:#660000; font-size:10px; line-height:11px; text-align:center; padding:5px"><span style="background-color:#660000; font-size:5pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>&nbsp;&nbsp;Pages Visit&eacute;es</p>');
}

function sharebook() {
document.write('<p><a name="fb_share" type="button" title="To share this page on facebook" href="http://www.facebook.com/sharer.php">Partager</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></p>');
}

function montre(id) {
	if (document.getElementById) {
		document.getElementById(id).style.visibility="visible";
	}
} 
		
function cache(id) {
	if (document.getElementById) {
		document.getElementById(id).style.visibility="hidden";
	}
}
		
function zindex1(id) {
	if (document.getElementById) {
		document.getElementById(id).style.zIndex="3";
	}
}
		
function zindex4(id) {
	if (document.getElementById) {
		document.getElementById(id).style.zIndex="4";
	}
}

addLoadListener(gEBI);
