//début fleche flottante
function makeVars(){
		if (navigator.appName == "Netscape") { 
 	v=".top="; h=".left="; dS="document.";sdm=""; 
 	y="window.pageYOffset";x="window.pageXOffset";doWidth="window.innerWidth";doHeight="window.innerHeight"
 	} 
  	else { h=".pixelLeft="; v=".pixelTop="; dS=""; sdm=".style"; 
		y="document.body.scrollTop";x="document.body.scrollLeft";doWidth="document.body.clientWidth";doHeight="document.body.clientHeight" 
		}
     xyz=400 
 	object="haut";
		placeIt() 
 	}
		movex=0,movey=0,xdiff=0,ydiff=0,ystart=0,xstart=0 
		function makeXY(){ 
		innerX=eval(doWidth)-40
   		innerY=eval(doHeight)-55
   		   	if (document.layers){innerY-=10;innerX-=10}
		yy=eval(y); 
 	xx=eval(x);
		ydiff=ystart-yy; 
     xdiff=xstart-xx;
     if ((ydiff<(-1))||(ydiff>(1))) movey=Math.round(ydiff/10),ystart-=movey 
     if ((xdiff<(-1))||(xdiff>(1))) movex=Math.round(xdiff/10),xstart-=movex 
 	eval(dS+object+sdm+v+(ystart+innerY));
		eval(dS+object+sdm+h+(xstart+innerX)); 
     setTimeout("makeXY()",25)}
		function placeIt(){ 
     ystart=eval(y);xstart=eval(x); 
     }
//fin fleche flottante
//début changement couleur cellule tableau
if (top.frames.length!=0) top.location=self.document.location;

function overjaune(bck) {if (!bck.contains(event.fromElement)) {bck.bgColor="#fff600";}}
function overbleu(bck) {if (!bck.contains(event.fromElement)) {bck.bgColor="#00ABE8";}}
function overgris(bck) {if (!bck.contains(event.fromElement)) {bck.bgColor="#00ABE8";}}
function outjaune(bck) {if (!bck.contains(event.toElement)) {bck.bgColor="#909191";}}
function outbleu(bck) {if (!bck.contains(event.toElement)) {bck.bgColor="#00ABE8";}}
function outgris(bck) {if (!bck.contains(event.toElement)) {bck.bgColor="#909191";}}
//fin changement couleur cellule tableau
//début centrage pop up avec fermeture
function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt,LeftPosition,TopPosition) {
LeftPosition = (screen.width) ? (screen.width-imageWidth)/2 : 0;
TopPosition = (screen.height) ? (screen.height-imageHeight)/2 : 0;
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+LeftPosition+",top="+TopPosition);
	newWindow.document.open();
	newWindow.document.write('<html><head><title>'+alt+'</title>');
	newWindow.document.write('<meta http-equiv="imagetoolbar" content="no">');
	newWindow.document.write('</head>');
	newWindow.document.write('<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()" onClick="self.close()">'); 
	newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt="'+alt+'">'); 
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}
//fin centrage pop up avec fermeture
