// We identify Internet Explorer 4.x by its support of document.all and by its lack of support of document.getElementById
var IE4 = (document.all && !document.getElementById) ? true : false;
// To identify Netscape Navigator 4.x is quite easy: it's the only browser to support document.layers
var NS4 = (document.layers) ? true : false;
// We distinguish Internet Explorer 5.x from the rest of the gang by its support of both document.all and document.getElementById
var IE5 = (document.all && document.getElementById) ? true : false;
// We recognize Netscape 6 and other Mozilla-based browsers by their support of document.getElementById and by their lack of support of document.all
var N6 = (document.getElementById && !document.all) ? true : false;

// Combinations
var IE5_OR_N6 = (IE5 || N6);
var IE4_OR_IE5 = (IE4 || IE5);

// Mac test
IsMac = (navigator.appVersion.indexOf("Mac") != -1);

// with Netscape 4, you have to capture an event to transmit it.
// With the other browsers, you can read an event at any time (real time).

Variable_CreateTopOnly      = NS4 ? true : false;

// Are we able to display menus?
BrowserChoice = NS4 ? "NS4" : IE5_OR_N6 ? "IE5_OR_N6" : (IE4 && !IsMac) ? "IE4" : "";

RootArray = RootDecalage + "menu/Arrays.js";
RootBrowserChoice = RootDecalage + "menu/Script"+ BrowserChoice +".js";

if(BrowserChoice != "") {
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='" + RootArray + "' TYPE='text/javascript'><\/SCR" + "IPT>");
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='" + RootBrowserChoice + "' TYPE='text/javascript'><\/SCR" + "IPT>");
}


//end