<!--ATOS#LOT2#[DEBUT]-->
var Coordx = 0;
var Coordy = 0;

if (document.getElementById)
{
	if(navigator.appName.substring(0,3) == "Net")
		document.captureEvents(Event.MOUSEMOVE);
	document.onmousemove = Pos_Souris;
}


function Pos_Souris(p){
	Coordx = (navigator.appName.substring(0,3) == "Net") ? p.pageX : event.clientX+document.body.scrollLeft;
	Coordy = (navigator.appName.substring(0,3) == "Net") ? p.pageY : event.clientY+document.body.scrollTop;
}

function show_div_name(id_name){
	var obj = document.getElementById(id_name);
	
	if (document.body)
	{
		var larg = (document.body.clientWidth);
	}
 
	if (obj)
	{ 
		if (larg<(Coordx+310))
		{
			Coordx = larg-330;
		}
		obj.style.left=(Coordx+10)+'px'; 
		obj.style.top=(Coordy+15)+'px';
		obj.style.display='block';
	};
}

function hide_div_name(id_name){
	var obj = document.getElementById(id_name);
	if (obj){ obj.style.display='none'};
}

<!--ATOS#LOT2#[FIN]-->

t = new Array(12);

//fonctions.js
function getObj(name){
  if (document.getElementById){
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all){
	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
}

function getAbsoluteTop(objectId){
	var x = objectId;
	xTop = x.offsetTop;
	while(x.offsetParent!=null) {
		xParent = x.offsetParent;
		xTop += xParent.offsetTop;
		x = xParent;
	}
	return xTop;
}

function getAbsoluteLeft(objectId){
	var x = objectId;
	xLeft = x.offsetLeft;
	while(x.offsetParent!=null){
		xParent = x.offsetParent;
		xLeft += xParent.offsetLeft;
		x = xParent;
	}
	return xLeft;
}

function show_div (id,obj) {
	if (obj!='') {
		new getObj('infos'+id).style.top=getAbsoluteTop(obj);
		new getObj('infos'+id).style.left=getAbsoluteLeft(obj)+obj.offsetWidth;
	}
	new getObj('infos'+id).style.display='';
}
function hide_div (id) {
	new getObj('infos'+id).style.display='none';
}