IE4 = (document.all) ? 1 : 0;
NS4 = (document.layers) ? 1 : 0;
VersionOK = (IE4 | NS4) ? 1 : 0;
if (!VersionOK) event = null;
function InfoBullePosition(obj, coord) {
var val = obj["offset"+coord] ;
if (coord == "Top") val += obj.offsetHeight;
while ((obj = obj.offsetParent )!=null) {
	val += obj["offset"+coord];
	if (obj.border && obj.border != 0) val++;
}
return val;
}
function InfoBulleOut () {
if (IE4) document.all.bulle.style.visibility = "hidden";
if (NS4) document.bulle.visibility = "hidden";
}
function Infobulle (event,texte) {
if (!VersionOK) return;
var pointeurObjet, pointeurCalque;
if (IE4) {
	pointeurObjet = event.srcElement;
	pointeurCalque = document.all.bulle; }
if (NS4) {
	pointeurObjet = event.target;
	pointeurCalque = document.bulle;	}
if (!pointeurObjet.onmouseout) pointeurObjet.onmouseout = InfoBulleOut;
var str = '<DIV CLASS="bulleDIV">'+texte+'</DIV>';
if (IE4) {
	pointeurCalque.innerHTML = str;
	pointeurCalque.style.top  = InfoBullePosition (pointeurObjet,"Top") - 30;
	pointeurCalque.style.left = InfoBullePosition (pointeurObjet,"Left") + 132;
	pointeurCalque.style.visibility = "visible";	}
if (NS4) {
	pointeurCalque.document.write (str);
	pointeurCalque.document.close ();
	pointeurCalque.document.bgColor = "yellow";
	pointeurCalque.top  = pointeurObjet.y - 30;
	pointeurCalque.left = pointeurObjet.x + 132;
	pointeurCalque.visibility = "show";	}
}
