DOM = (document.getElementById) ? true : false;
NS4 = (document.layers) ? true : false;
IE = (document.all) ? true : false;
IE4 = IE && !DOM;
Mac = (navigator.appVersion.indexOf("Mac") != -1);
IE4M = IE4 && Mac;
Opera = (navigator.userAgent.indexOf("Opera")!=-1);
Konqueror = (navigator.userAgent.indexOf("Konqueror")!=-1);

BrowserString = NS4 ? "NS" : DOM ? "DOM" : "IE";

document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='datas/script"+ BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");


function changeclass(objet, myClass)
{
  objet.className = myClass;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function goTo(adr)
{
	document.location=adr;
}

time = 2000;
timerID = 2000;
polop = 1;

function hide(what)
{
	polop = 1;
	timerID = setTimeout("hidel()",time);
}
function getRealLeft()
{
        xPos = this.offsetLeft;
        tempEl = this.offsetParent;
        while (tempEl != null)
        {
                xPos += tempEl.offsetLeft;
                tempEl = tempEl.offsetParent;
        }
        return xPos;
}
