//Default browsercheck, added to all scripts!function checkBrowser(){	this.ver=navigator.appVersion;	this.dom=document.getElementById?1:0;	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;	this.ie4=(document.all && !this.dom)?1:0;	this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;	this.ns4=(document.layers && !this.dom)?1:0;	this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5);	return this;}bw=new checkBrowser();//With nested layers for netscape, this function hides the layer if it's visible and visa versafunction showHide(div,nest,nest2){	bw=new checkBrowser();	obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest2?nest?document[nest2].document[nest].document[div]:document[nest].document[div]:document[div]:0; 	if(obj.visibility=='visible' || obj.visibility=='show') obj.visibility='hidden';	else obj.visibility='visible';}//Shows the divfunction show(div,nest){	bw=new checkBrowser();	obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; 	obj.visibility='visible';}//Hides the divfunction hide(div,nest){	bw=new checkBrowser();	obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; 	obj.visibility='hidden';}/********************************* * Modify a layer content * *********************************///Global variables   var ns4 = (document.layers)? true:false;         //NS 4   var ie4 = (document.all)? true:false;         //IE 4   var dom = (document.getElementById)? true:false;   //NS 6 ou IE 5//Function to change DIV content ://Function " SetDiv " including 2 parameters, DIV identifiant (ID) and HTML code to place in content (Content).function SetDiv(ID,Content) {	  if (dom) {	  document.getElementById(ID).innerHTML = Content;		 return;	  }	  if (ie4) {		  document.all[ID].innerHTML = Content;		 return;	  }	  if (ns4) {		  with (eval('document.'+ID+'.document')) {			 open();			 write(Content);			 close();		 }		 return;	  }   }//Function to change Div coordsfunction SetDivToXY(DivId,X,Y){	if (dom)	{		document.getElementById(DivId).style.left = X;		document.getElementById(DivId).style.top = Y;	}	if (ie4)	{		document.all[DivId].style.posLeft = X;		document.all[DivId].style.posTop = Y;	}	if (ns4)	{		document.layers[DivId].pageX = X;		document.layers[DivId].pageY = Y;	}}var viTimer;function displayMenu(DivId,DivContent,X,Y){	//clearTimeout(viTimer);	hide(DivId);	SetDiv(DivId,DivContent);	SetDivToXY(DivId,X,Y);	show(DivId);	//viTimer = setTimeout("hide('"+DivId+"')",5000);}function DivStatus(status,DivId) {	if(status) {		if(viTimer != null) clearTimeout(viTimer);		viTimer = setTimeout("hide('"+DivId+"')",10);	} else {		if(viTimer != null) clearTimeout(viTimer);	}}