rem: var version = navigator.appVersion.match(/MSIE ([^;]+)/); version = parseInt(version[1]); left = parseInt(sousMenu[0].parentNode.offsetLeft); if(version>6) { left += parseInt($("#bandeau-principal div")[0].offsetLeft); } } else left = parseInt(sousMenu[0].offsetLeft); 
add: left = getBiDiOffset(sousMenu[0].parentNode) + getBiDiOffset($("#bandeau-principal div")[0]); } else left = getBiDiOffset(sousMenu[0]); 
context: function decaleSousMenu() {  var sousMenu = $("div.bandeau_sec",this).css({visibility:'hidden',display:'block'});  if(!sousMenu.length) return;  var left;  if($.browser.msie) {    var version = navigator.appVersion.match(/MSIE ([^;]+)/);    version = parseInt(version[1]);    left = parseInt(sousMenu[0].parentNode.offsetLeft);    if(version>6) {      left += parseInt($("#bandeau-principal div")[0].offsetLeft);    }  } else left = parseInt(sousMenu[0].offsetLeft);  if (left > 0) {		var demilargeur = Math.floor( sousMenu[0].offsetWidth / 2 );		var gauche = left			- demilargeur			+ Math.floor(largeur_icone / 2);		if (gauche < 0) gauche = 0;    sousMenu.css("left",gauche+"px");	}	sousMenu.css({display:'',visibility:''});}
meta: 207	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/207/a608c15b39f2d6357ec930cec5a074a8d45fb1fa/presentation.js/buggy/dist/javascript/presentation.js