	if (document.images){


		homeon = new Image();
		homeon.src = "images/nav/home-on.gif";
		homeoff = new Image();
		homeoff.src = "images/nav/home.gif";
		
		discon = new Image();
		discon.src = "images/nav/disc-on.gif";
		discoff = new Image();
		discoff.src = "images/nav/disc.gif";
		
		eroton = new Image();
		eroton.src = "images/nav/erot-on.gif";
		erotoff = new Image();
		erotoff.src = "images/nav/erot.gif";
		
		senson = new Image();
		senson.src = "images/nav/sens-on.gif";
		sensoff = new Image();
		sensoff.src = "images/nav/sens.gif";
		
		membon = new Image();
		membon.src = "images/nav/memb-on.gif";
		memboff = new Image();
		memboff.src = "images/nav/memb.gif";
		
		joinon = new Image();
		joinon.src = "images/nav/join-on.gif";
		joinoff = new Image();
		joinoff.src = "images/nav/join.gif";
		
		
		
		
		home2on = new Image();
		home2on.src = "images/nav/home-on.gif";
		home2off = new Image();
		home2off.src = "images/nav/home.gif";
		
		disc2on = new Image();
		disc2on.src = "images/nav/disc-on.gif";
		disc2off = new Image();
		disc2off.src = "images/nav/disc.gif";
		
		erot2on = new Image();
		erot2on.src = "images/nav/erot-on.gif";
		erot2off = new Image();
		erot2off.src = "images/nav/erot.gif";
		
		sens2on = new Image();
		sens2on.src = "images/nav/sens-on.gif";
		sens2off = new Image();
		sens2off.src = "images/nav/sens.gif";
		
		memb2on = new Image();
		memb2on.src = "images/nav/memb-on.gif";
		memb2off = new Image();
		memb2off.src = "images/nav/memb.gif";
		
		join2on = new Image();
		join2on.src = "images/nav/join-on.gif";
		join2off = new Image();
		join2off.src = "images/nav/join.gif";



	}


function img_on(imgName) {
        imgOn=eval(imgName + "on.src");
        document [imgName].src=imgOn;
}

function img_off(imgName) {
        imgOff=eval(imgName + "off.src");
        document [imgName].src=imgOff;
}


