	var BrowserName = navigator.appName;
	var BrowserVer  = parseInt(navigator.appVersion);

	if (	(BrowserName == "Netscape" && BrowserVer >= 3) ||
		(BrowserName == "Microsoft Internet Explorer" && BrowserVer >= 4)  )
		Browser = "v3"
	else
		Browser = "v0";

	if (Browser == "v3")
	{
	var rootdir = "gfx/";
//	var rootdir = "file:///C|/WWW-inne-/WWW-1/gfx/";

	aoff = new Image();
	boff = new Image();
	coff = new Image();
	doff = new Image();

	aoff.src = rootdir + "home.gif";
	boff.src = rootdir + "oferta.gif";
	coff.src = rootdir + "referencje.gif";
	doff.src = rootdir + "galeria.gif";

	aon = new Image();
	bon = new Image();
	con = new Image();
	don = new Image();

	aon.src = rootdir + "home_.gif";
	bon.src = rootdir + "oferta_.gif";
	con.src = rootdir + "referencje_.gif";
	don.src = rootdir + "galeria_.gif";

	}


	function on(Name)
	{
		if (Browser == "v3")
		{ onit = eval(Name + "on.src");
		  self.document.images[Name].src = onit; }
	}

	function off(Name)
	{
		if (Browser == "v3")
		{ notonit = eval(Name + "off.src");
	  	self.document.images[Name].src = notonit;	}
	}

