// CHECK CLIENT BROWSER & PLATFORM

	// this.ver - The version string from the navigator object
	// this.agent - The useragent string from the navigator object
	// this.dom - True if the browser support DOM
	// this.opera5 - True if the browser is Opera 5
	// this.ie5 - True if the browser is Explorer 5
	// this.ie6 - True if the browser is Explorer 6
	// this.ie4 - True if the browser is Explorer 4
	// this.ie - True if the browser is Expl
	// this.mac - True if the user is using MAC OS
	// this.ns6 - True if the browser is Netscape 6
	// this.ns4 - True if the browser is Netscape 4
	// this.bw - True if any of the other browsers are true. If this is false then the browser does not support DHTML
	
	function checkBrowser(){ 
	this.ver=navigator.appVersion
	this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.opera5=(navigator.userAgent.indexOf("Opera")>-1 && document.getElementById)?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0; 
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
	this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	this.mac=this.agent.indexOf("Mac")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5)
	return this
	}
	
	var bw=checkBrowser()




// CELL COLOR CHANGE

	function barOver1(title) {
	  title.style.backgroundColor = "#D1CBDE";
	}

	function barOut1(title) {
	  title.style.backgroundColor = "#FOE2C4";
	}
	
	function barOver2(title) {
	  title.style.backgroundColor = "#DEC9CF";
	}

	function barOut2(title) {
	  title.style.backgroundColor = "#F0ECC4";
	}
	
	function barOver3(title) {
	  title.style.backgroundColor = "#CDD2DE";
	}

	function barOut3(title) {
	  title.style.backgroundColor = "#F0E2C4";
	}
	
	function barOver4(title) {
	  title.style.backgroundColor = "#BACFCE";
	}

	function barOut4(title) {
	  title.style.backgroundColor = "#F0ECC4";
	}


