var cached=0;

if (document.images){

the_artist1_off = new Image()
the_artist1_off.src = "/artists/images/nav/artist1.gif"
the_artist1_on = new Image()
the_artist1_on.src = "/artists/images/nav/artist1_on.gif"

the_artist2_off = new Image()
the_artist2_off.src = "/artists/images/nav/artist2.gif"
the_artist2_on = new Image()
the_artist2_on.src = "/artists/images/nav/artist2_on.gif"

the_artist3_off = new Image()
the_artist3_off.src = "/artists/images/nav/artist3.gif"
the_artist3_on = new Image()
the_artist3_on.src = "/artists/images/nav/artist3_on.gif"

the_artist4_off = new Image()
the_artist4_off.src = "/artists/images/nav/artist4.gif"
the_artist4_on = new Image()
the_artist4_on.src = "/artists/images/nav/artist4_on.gif"

the_artist5_off = new Image()
the_artist5_off.src = "/artists/images/nav/artist5.gif"
the_artist5_on = new Image()
the_artist5_on.src = "/artists/images/nav/artist5_on.gif"

the_artist6_off = new Image()
the_artist6_off.src = "/artists/images/nav/artist6.gif"
the_artist6_on = new Image()
the_artist6_on.src = "/artists/images/nav/artist6_on.gif"

the_artist7_off = new Image()
the_artist7_off.src = "/artists/images/nav/artist7.gif"
the_artist7_on = new Image()
the_artist7_on.src = "/artists/images/nav/artist7_on.gif"

the_artist8_off = new Image()
the_artist8_off.src = "/artists/images/nav/artist8.gif"
the_artist8_on = new Image()
the_artist8_on.src = "/artists/images/nav/artist8_on.gif"

the_artist9_off = new Image()
the_artist9_off.src = "/artists/images/nav/artist9.gif"
the_artist9_on = new Image()
the_artist9_on.src = "/artists/images/nav/artist9_on.gif"

the_artist10_off = new Image()
the_artist10_off.src = "/artists/images/nav/artist10.gif"
the_artist10_on = new Image()
the_artist10_on.src = "/artists/images/nav/artist10_on.gif"

the_artist11_off = new Image()
the_artist11_off.src = "/artists/images/nav/artist11.gif"
the_artist11_on = new Image()
the_artist11_on.src = "/artists/images/nav/artist11_on.gif"

the_artist12_off = new Image()
the_artist12_off.src = "/artists/images/nav/artist12.gif"
the_artist12_on = new Image()
the_artist12_on.src = "/artists/images/nav/artist12_on.gif"

the_artist13_off = new Image()
the_artist13_off.src = "/artists/images/nav/artist13.gif"
the_artist13_on = new Image()
the_artist13_on.src = "/artists/images/nav/artist13_on.gif"

the_artist14_off = new Image()
the_artist14_off.src = "/artists/images/nav/artist14.gif"
the_artist14_on = new Image()
the_artist14_on.src = "/artists/images/nav/artist14_on.gif"

the_artist15_off = new Image()
the_artist15_off.src = "/artists/images/nav/artist15.gif"
the_artist15_on = new Image()
the_artist15_on.src = "/artists/images/nav/artist15_on.gif"

the_artist16_off = new Image()
the_artist16_off.src = "/artists/images/nav/artist16.gif"
the_artist16_on = new Image()
the_artist16_on.src = "/artists/images/nav/artist16_on.gif"

the_artist17_off = new Image()
the_artist17_off.src = "/artists/images/nav/artist17.gif"
the_artist17_on = new Image()
the_artist17_on.src = "/artists/images/nav/artist17_on.gif"

the_artist18_off = new Image()
the_artist18_off.src = "/artists/images/nav/artist18.gif"
the_artist18_on = new Image()
the_artist18_on.src = "/artists/images/nav/artist18_on.gif"

the_artist19_off = new Image()
the_artist19_off.src = "/artists/images/nav/artist19.gif"
the_artist19_on = new Image()
the_artist19_on.src = "/artists/images/nav/artist19_on.gif"

the_artist20_off = new Image()
the_artist20_off.src = "/artists/images/nav/artist20.gif"
the_artist20_on = new Image()
the_artist20_on.src = "/artists/images/nav/artist20_on.gif"

cached=1;

}

lastImgName = ""

function artistOn(imgName) {
	if (cached==1) {
	lineOn = eval("the_" + imgName + "_on.src");
	document [imgName].src= lineOn;
	
	if (imgName != lastImgName) {
		if (lastImgName != ""){
		artistOff(lastImgName);
		}
		document.artistphoto.src= "/artists/images/photo/" + imgName + ".jpg";
        	document.artistname.src= "/artists/images/name/" + imgName + ".gif";
                document.artistpic.src= "/artists/images/pic/" + imgName + ".jpg";
        	lastImgName = imgName;
        	}
	}
}


function artistOff(lastImgName) {
	if (cached==1) {
	lineOff = eval("the_" + lastImgName + "_off.src");	
	document [lastImgName].src= lineOff;
	}
}




