function ContentHTML_setPosition(idFrom, idWhat) {	bu=document.getElementById(idFrom);	heightCont=0;	try {//		cont=document.getElementById('MainPage');		heightCont=document.body.scrollTop+150;	} catch(e) {	alert('hello');	}	if (bu) {			Content_What=document.getElementById(idWhat).style;			Content_What.left= '280 px';//			Content_What.top=(ContentHTML_top(bu)+bu.offsetHeight-heightCont)+'px';			Content_What.top=(heightCont)+'px';			Content_What.display='block';	}}function ContentHTML_top(v) {        var otop = v.offsetTop;        var opar = v.offsetParent;        while(opar){                otop += opar.offsetTop;                opar = opar.offsetParent;        }        return (otop); // -18 >>> d\u00E9calage pour aligner a droite de l'icon}function ContentHTML_left(v) {        var oleft = v.offsetLeft;        var opar = v.offsetParent;        while(opar) {                oleft += opar.offsetLeft;                opar = opar.offsetParent;        }        return (oleft); // +14 >>> d\u00E9calage pour aligner avec sommet l'icon}function afficheLayerAction(id) {	if (id=='ActionMB') {		ContentHTML_setPosition('BoutonActionMB','ActionMB');		document.getElementById(id).style.zIndex='1';		afficheLayer(id);		document.getElementById(id).style.visibility='visible';			} else if (id=='stormy') {		ContentHTML_setPosition('stormy','stormy');		document.getElementById(id).style.zIndex='1';		afficheLayer(id);		document.getElementById(id).style.visibility='visible';			} else {		ContentHTML_setPosition(id,'displayDetail');		document.getElementById('displayDetail').style.zIndex='1';		afficheLayer('displayDetail');		document.getElementById('displayDetail').style.visibility='visible';			}	fopac = 5;	if (id=='ActionMB') {		oppacity('TabActionMB');	} else if (id=='stormy') {		oppacity('stormy');	} else {		oppacity('displayDetail');	}}function afficheLayerActionSearchAjax(id) {		ContentHTML_setPosition(id,id);		document.getElementById(id).style.zIndex='1';		afficheLayer(id);		document.getElementById(id).style.visibility='visible';}function oppacity(id) {	fopac += 5;	if (fopac < 10) {		document.getElementById(id).style.filter='alpha(opacity=' + fopac +')';		setTimeout("oppacity('"+id+"')",50);	}	else {		fopac=100;		document.getElementById(id).style.filter='alpha(opacity=' + fopac +')';	}}function cacheLayerAction(id) {	cacheLayer(id);	document.getElementById(id).style.visibility='hidden';}function afficheLayer(id) {	document.getElementById(id).style.display='block';	document.getElementById(id).style.zIndex='100';	return false;}function cacheLayer(id) {	document.getElementById(id).style.display='none';	return true;}var ns = (navigator.appName.indexOf("Netscape") != -1);var d = document;function JSFX_FloatDiv(id, sx, sy){	var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];	var px = document.layers ? "" : "px";	window[id + "_obj"] = el;	if(d.layers)el.style=el;	el.cx = el.sx = sx;el.cy = el.sy = sy;	el.sP=function(x,y){this.style.left=x+px;this.style.top=y+px;};	el.floatIt=function()	{		var pX, pY;		pX = (this.sx >= 0) ? 0 : ns ? innerWidth : 		document.documentElement && document.documentElement.clientWidth ? 		document.documentElement.clientWidth : document.body.clientWidth;		pY = ns ? pageYOffset : document.documentElement && document.documentElement.scrollTop ? 		document.documentElement.scrollTop : document.body.scrollTop;		if(this.sy<0) 		pY += ns ? innerHeight : document.documentElement && document.documentElement.clientHeight ? 		document.documentElement.clientHeight : document.body.clientHeight;		this.cx += (pX + this.sx - this.cx)/8;this.cy += (pY + this.sy - this.cy)/8;		this.sP(this.cx, this.cy);		setTimeout(this.id + "_obj.floatIt()", 40);	}	return el;}  
