function bougeinfo (e) {
	if (flagpos) {
		positionnerObj("laBulle", xSouris(e) - (xSouris(e) / document.body.clientWidth) * 200, ySouris(e) + 16);
	}
}

function visioninfo (titB, corB, notB) {
	flagpos = true;
	msg = "<TABLE WIDTH=200><TR><TD CLASS='cadreBulle'><TABLE CELLSPACING=0 WIDTH=100%><TR>"
	msg = msg + ((titB != null && titB != "") ? ("<TR WIDTH=100%><TD WIDTH=100% CLASS='titreBulle'>" + titB + "</TD></TR>") : (""))
	msg = msg + ((corB != null && corB != "") ? ("<TR WIDTH=100%><TD WIDTH=100% CLASS='corpsBulle'>" + corB + "</TD></TR>") : (""))
	msg = msg + ((notB != null && notB != "") ? ("<TR WIDTH=100%><TD WIDTH=100% CLASS='notaBulle'>" + notB + "</TD></TR>") : (""))
	msg = msg + "</TABLE></TD></TR></TABLE>";
	redefinirObj("laBulle", msg);
	voirObj("laBulle");
}

function cacheinfo () {
	flagpos = false;
	cacherObj("laBulle");
	positionnerObj("laBulle", 8, 8);
}

function definirObj (nom, ceci, classe, gauche, haut) {
	document.write("<DIV STYLE='z-index:2' ID='" + nom + "'" + ((classe != null) ? (" CLASS='" + classe + "'") : ("")) + ">" + ceci + "</DIV>");
	if (gauche != null && haut != null) {
		positionnerObj(nom, gauche, haut);
	}
}

function redefinirObj (nom, ceci) {
	if (document.all) {
		document.all(nom).innerHTML = ceci;
	}
	else if (document.getElementById) {
		document.getElementById(nom).innerHTML = ceci;
	}
	else if (document.layers) {
		doc = document.layers[nom];
		doc.document.write(ceci);
		doc.document.close();
	}
}

function positionnerObj (nom, gauche, haut) {
	if (document.all) {
		document.all(nom).style.left = gauche;
		document.all(nom).style.top = haut;
	}
	else if (document.getElementById) {
		document.getElementById(nom).style.left = gauche + "px";
		document.getElementById(nom).style.top = haut + "px";
	}
	else if (document.layers) {
		document.layers[nom].left = gauche;
		document.layers[nom].top = haut;
	}
}

function cacherObj (nom) {
	if (document.all) {
		document.all(nom).style.visibility = "hidden";
	}
	else if (document.getElementById) {
		document.getElementById(nom).style.visibility = "hidden";
	}
	else if (document.layers) {
		document.layers[nom].visibility = "hide";
	}
}

function voirObj (nom) {
	if(document.all) {
		document.all(nom).style.visibility = "visible";
		positionnerObj("laBulle", xSouris(nom) - (xSouris(nom) / document.body.clientWidth) * 200 , ySouris(nom) + 16);
	}
	else if (document.getElementById) {
		document.getElementById(nom).style.visibility = "visible";
	}
	else if (document.layers) {
		document.layers[nom].visibility = "show";
		positionnerObj("laBulle", xSouris(nom) - (xSouris(nom) / document.body.clientWidth) * 200 , ySouris(nom) + 16);
	}
//	positionnerObj("laBulle", xSouris(nom) - (xSouris(nom) / document.body.clientWidth) * 200 , ySouris(nom) + 16);
}

function xSouris (e) {
	if (document.all) {
		return(document.body.scrollLeft + event.clientX);
	}
	else if (document.getElementById) {
		return(window.pageXOffset + e.clientX);
	}
	else if (document.layers) {
		return(e.pageX);
	}
}

function ySouris (e) {
	if (document.all) {
		return(document.body.scrollTop + event.clientY);
	}
	else if (document.getElementById) {
		return(window.pageYOffset + e.clientY);
	}
	else if (document.layers) {
		return(e.pageY);
	}
}

