//-- Cadre info ---
var x=0;
var y=0;

/*
if (document.getElementById){
if(navigator.appName.substring(0,3)=="Net") {document.captureEvents(Event.MOUSEMOVE);}
document.onmousemove = Pos_Souris;
}                         */

function Pos_Souris(e){
/* x=(navigator.appName.substring(0,3) == "Net") ? e.pageX : event.x + document.body.scrollLeft;
y=(navigator.appName.substring(0,3) == "Net") ? e.pageY : event.y + document.body.scrollTop;        */
x=(navigator.appName.substring(0,3) == "Net") ? e.pageX : event.x + document.documentElement.scrollLeft;
y=(navigator.appName.substring(0,3) == "Net") ? e.pageY : event.y + document.documentElement.scrollTop;

if(navigator.appName.substring(0,3) == "Mic")
{document.getElementById("info").style.left = (x -((document.body.clientWidth-1000)/2)-(x/10))+"px";}else{document.getElementById("info").style.left = (x -((window.innerWidth-1000)/2)-(x/10))+"px";}
document.getElementById("info").style.top = (y+10)+"px";
document.getElementById("info").style.width="110px";
//document.getElementById("info").style.left = (x - x/10)+"px";

//if(Number(x)<320 && Number(x)>80 && indiv==1 && ouvert==1){cachepop();ouvert=-1;}
//if(Number(x)<330 && indiv==1 && ouvert==0){montrepop();ouvert=-1;}
//window.status=x+" - "+y;
}
function afficheinfo(msg){
if (document.getElementById){
if(navigator.appName.substring(0,3)=="Net") {document.captureEvents(Event.MOUSEMOVE);}
document.onmousemove = Pos_Souris;
}
       //var msg=navigator.appName;
var description='<table border="0" cellpadding="2" cellspacing="0" bgcolor="" bordercolor="#000000" style="border:solid 1px #000000;font-size:9px;color:#000000;width:110px"> <tr> <td style="color:black"><center>'+msg+'</center></td> </tr> </table>';
if (document.getElementById){
document.getElementById("info").innerHTML= description;
document.getElementById("info").style.visibility="visible";
document.getElementById("info").style.width="110px";

}
}
function rien(){}
function effaceinfo(){
if (document.getElementById){
document.onmousemove = rien ;
document.getElementById("info").innerHTML= "";
document.getElementById("info").style.visibility="hidden";
}
}
//  Fin script -->