function stopErrors(){return true;}
window.onerror=stopErrors;
var compNN4, compIE, compNN6;
var coll = "";
var coll2 = "";
var styleObj = "";
var alpha;

if (document.layers) compNN4 = true;
	else if (document.all) {compIE = true; coll = "all."; styleObj = ".style";}
		else if (document.getElementById) {compNN6 = true; coll = 'getElementById(\''; coll2 = '\')'; styleObj = ".style";}
			else;

function getObject(obj) {
var theObj;
if (typeof obj == "string") {theObj = eval("document." + coll + obj + coll2 + styleObj); }
else {theObj = obj;}
return theObj;
}

function show(obj) {
var theObj = getObject(obj);
theObj.visibility = "visible";
}

function hide(obj) {
var theObj = getObject(obj);
theObj.visibility = "hidden";
}

function HideLayerBuffer(a){

A = a;
alpha = window.setTimeout('hide(A)', 50)
}

function MenuShow(b){
if (document.loaded){
	B = b;
	show(listOfLayers[B]);
	for (i=0;i<listOfLayers.length;i++) {if (i!=B) hide(listOfLayers[i])}
	}
else ;
}

var listOfLayers = new Array('submenu2', 'submenu3', 'submenu4');

var bOn, bOff;
if (document.images) {
bOn=new Array();
bOff=new Array();
bOn[1]=new Image();
bOn[1].src= "images/francais2.gif";
bOff[1]=new Image();
bOff[1].src= "images/francais.gif";
bOn[2]=new Image();
bOn[2].src= "images/english2.gif";
bOff[2]=new Image();
bOff[2].src= "images/english.gif";
}