// Outils divers
function noScroll(init) {
	var isDHTML = 0;
	var isID = 0;
	var isAll = 0;
	var isLayers = 0;
	if (document.getElementById) {isID = 1; isDHTML = 1;}
	else {
	if (document.all) {isAll = 1; isDHTML = 1;}
	else {
	browserVersion = parseInt(navigator.appVersion);
	if ((navigator.appName.indexOf('Netscape') != -1) && (browserVersion == 4)) {isLayers = 1; isDHTML = 1;}
	}}
	if (isLayers) { return true; }
	else { if (isAll) { document.body.scroll = "auto"; }
	else { if (isID) { document.body.scroll = "auto"; }
	};}
}

function posImage(theimg,topbool,leftbool){
	var NS4 = (document.layers) ? true : false;
	var thereturn = "";
	var thetop = "";
	var theleft = "";
	if(topbool){
		if(NS4){ 
			thetop = document.images[theimg].y;
		}else{
			thetop = document.getElementById(theimg).offsetTop;
		}
		thereturn = thetop;
	}
	if(leftbool){
		if(NS4){ 
			theleft = document.images[theimg].x;
		}else{
			theleft = document.getElementById(theimg).offsetLeft;
		}
		if(topbool){
			thereturn += "/"+theleft;
		}else{
			thereturn = theleft;			
		}
	}
	return thereturn;
}