		function getCookieVal (offset) {
	
		  var endstr = document.cookie.indexOf (";", offset);
	
		  if (endstr == -1)
		    endstr = document.cookie.length;
		  return unescape(document.cookie.substring(offset, endstr));
		}
	
		function GetCookie (name) {
	
		  var arg = name + "=";
		  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 getCookieVal (j);
		    i = document.cookie.indexOf(" ", i) + 1;
		    if (i == 0) break; 
		  }
		  return null;
		}
		
		codecompte=GetCookie("majweb-codecompte");
		codesite=GetCookie("majweb-codesite");
		if (codecompte!=null && codesite!=null)
				document.write('<TABLE WIDTH="80" BORDER="0" CELLSPACING="4" CELLPADDING="0" BGCOLOR="#FFFFFF"><TR><TD BGCOLOR="#D7D7D7"><A HREF="http://www.majweb.com/rapport.asp?codecompte='+codecompte+'&codesite='+codesite+'&page='+escape(location.href)+'"><IMG SRC="http://www.majweb.com/images/crayon.gif" WIDTH="40" HEIGHT="40" BORDER="0" ALT="Faire un rapport sur cette page"></A></TD><TD BGCOLOR="#D7D7D7"><A HREF="http://www.majweb.com/selection.asp"><IMG SRC="http://www.majweb.com/images/majweb.gif" WIDTH="40" HEIGHT="40" BORDER="0" ALT="Retour à MajWeb"></A></TD></TR></TABLE>');