// -------------------- rom IMAGES --------------------
var browser = 0;
var nom	= 'z';
var version = parseInt(navigator.appVersion);
if (navigator.appName.substring(0,8) == "Netscape" && version >= 3 ) browser = 1;
if (navigator.appName.substring(0,9) == "Microsoft" &&  version >= 4 ) browser = 1;
	if (browser == 1)
	{
     var Icon		     = new Array();
	Icon[1]			= new Image();
	Icon[1].src		= "imgs/prestations_on.gif";
	Icon[2]			= new Image();
	Icon[2].src		= "imgs/prestations_off.gif";
	Icon[3]			= new Image();
	Icon[3].src		= "imgs/references_on.gif";
	Icon[4]			= new Image();
	Icon[4].src		= "imgs/references_off.gif";
	Icon[5]			= new Image();
	Icon[5].src		= "imgs/contact_on.gif";
	Icon[6]			= new Image();
	Icon[6].src		= "imgs/contact_off.gif";
	Icon[7]			= new Image();
	Icon[7].src		= "imgs/nav_both_off.gif";
	Icon[8]			= new Image();
	Icon[8].src		= "imgs/nav_left_on.gif";
	Icon[9]			= new Image();
	Icon[9].src		= "imgs/nav_right_on.gif";
	}
function change(bouton,onoff) {
		if (browser == 1) {
			document[nom+bouton].src = Icon[bouton*2-onoff].src;
		}
}
function swap(name,where) {
	 if (browser == 1) { document[name].src = Icon[where].src; }
}
