	/*  
	Made by Martial Boissonneault © 2002-2003 http://getElementById.com/
	May be used and changed freely as long as this msg is intact
	Visit http://getElementById.com/ for more free scripts and tutorials.
	*/
	var ns4 = (document.layers);
	var ie4 = (document.all && !document.getElementById);
	var ie5 = (document.all && document.getElementById);
	var ns6 = (!document.all && document.getElementById);

    /* FUNCTIONS FOR TABS BACKGROUND */

	function tabon(id){
	    // Netscape 4
	    if(ns4){
		    document.layers[id].background = "url(banjaune.jpg) top left no-repeat";
			document.layers[id].color = "black";
	    }
		// Explorer 4
		else if(ie4){
		    document.all[id].style.background = "url(banjaune.jpg) top left no-repeat";
			document.all[id].style.color = "black";
		}
		// W3C - Explorer 5+ and Netscape 6+
		else if(ie5 || ns6){
		    document.getElementById(id).style.background = "url(banjaune.jpg) top left no-repeat";
		    document.getElementById(id).style.color = "black";
		}
	}

	function taboff(id){
	    // Netscape 4
	    if(ns4){
		    document.layers[id].background = "url(turquoise.jpg) top left no-repeat";
			document.layers[id].color = "white";
	    }
	    // Explorer 4
	    else if(ie4){
		    document.all[id].style.background = "url(turquoise.jpg) top left no-repeat";
			document.all[id].style.color = "white";
	    }
	    // W3C - Explorer 5+ and Netscape 6+
	    else if(ie5 || ns6){
		    document.getElementById(id).style.background = "url(turquoise.jpg) top left no-repeat";
		    document.getElementById(id).style.color = "white";
	    }
	}
	
    /* FUNCTIONS FOR SELECTED ITEMS BACKGROUND */

	function select(id,bg,c){
	    // Netscape 4
	    if(ns4){
		    document.layers[id].background = bg;
			document.layers[id].color = c;
	    }
		// Explorer 4
		else if(ie4){
		    document.all[id].style.background = bg;
			document.all[id].style.color = c;
		}
		// W3C - Explorer 5+ and Netscape 6+
		else if(ie5 || ns6){
		    document.getElementById(id).style.background = bg;
		    document.getElementById(id).style.color = c;
		}
	}