// Detect if browser is Netscape 4 + or IE 3 +.
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
    if ((bName == "Netscape" && bVer >= 4) || 
        (bName == "Microsoft Internet Explorer" && bVer >= 3)) br = "n3"; 
    else br = "n2";

// Create image objects, preload all active and inactive images.
    if (br== "n3") { 
    img1on = new Image();          // Create nine image objects for the 
    img1on.src = "images/artists_07b.gif";  // active images; the images displayed
    img2on = new Image();          // when the mouse moves over the 
    img2on.src = "images/artists_09b.gif";  // rollovers.
    img3on = new Image();
    img3on.src = "images/artists_14b.gif";
    img4on = new Image();
    img4on.src = "images/artists_16b.gif";
    img5on = new Image();
    img5on.src = "images/artists_18b.gif";
    img6on = new Image();
    img6on.src = "images/artists_20b.gif";
    img7on = new Image();
    img7on.src = "images/artists_22b.gif";
    img8on = new Image();
    img8on.src = "images/artists_24b.gif";
    img9on = new Image();
    img9on.src = "images/artists_26b.gif";
    img10on = new Image();
    img10on.src = "images/artists_arvid2.jpg";
    img11on = new Image();
    img11on.src = "images/artists_blokhin.jpg";
    img12on = new Image();
    img12on.src = "images/artists_buffet.jpg";
    img13on = new Image();
    img13on.src = "images/artists_budish2.jpg";
    img14on = new Image();
    img14on.src = "images/artists_calder.jpg";
    img15on = new Image();
    img15on.src = "images/artists_carlyle.jpg";
    img16on = new Image();
    img16on.src = "images/artists_chagall.jpg";
    img17on = new Image();
    img17on.src = "images/artists_dali2.jpg";
    img18on = new Image();
    img18on.src = "images/artists_eichinger2.jpg";
    img19on = new Image();
    img19on.src = "images/artists_filgate.jpg";
    img20on = new Image();
    img20on.src = "images/artists_gerry2.jpg";
    img21on = new Image();
    img21on.src = "images/artists_gorg2.jpg";
    img22on = new Image();
    img22on.src = "images/artists_jamali.jpg";
    img23on = new Image();
    img23on.src = "images/artists_johnson2.jpg";
    img24on = new Image();
    img24on.src = "images/artists_kreutz2.jpg";
    img25on = new Image();
    img25on.src = "images/artists_leestemaker.jpg";
    img26on = new Image();
    img26on.src = "images/artists_lundeen2.jpg";
    img27on = new Image();
    img27on.src = "images/artists_picasso2.jpg";
    img28on = new Image();
    img28on.src = "images/artists_meketa2.jpg";
    img29on = new Image();
    img29on.src = "images/artists_miro2.jpg";
    img30on = new Image();
    img30on.src = "images/artists_nix2.jpg";
    img31on = new Image();
    img31on.src = "images/artists_pan.jpg";
    img32on = new Image();
    img32on.src = "images/artists_paprocki2.jpg";
    img33on = new Image();
    img33on.src = "images/artists_pijoan.jpg";
    img34on = new Image();
    img34on.src = "images/artists_rembrandt2.jpg";
    img35on = new Image();
    img35on.src = "images/artists_renoir.jpg";
    img36on = new Image();
    img36on.src = "images/artists_shima2.jpg";
    img37on = new Image();
    img37on.src = "images/artists_whistler2.jpg";
    img38on = new Image();
    img38on.src = "images/artists_wolton2.jpg";
    img39on = new Image();
    img39on.src = "images/artists_shue.jpg";
    img40on = new Image();
    img40on.src = "images/artists_oilpainters2.jpg";
    img41on = new Image();
    img41on.src = "images/artists_markus.jpg";
    img42on = new Image();
    img42on.src = "images/artists_pasagic.jpg";
    img43on = new Image();
    img43on.src = "images/artists_lynch.jpg";
    img44on = new Image();
    img44on.src = "images/artists_rosin.jpg";
    img45on = new Image();
    img45on.src = "images/artists_royo.jpg";
    img46on = new Image();
    img46on.src = "images/artists_webber.jpg";
    img47on = new Image();
    img47on.src = "images/artists_adamo.jpg";
    img48on = new Image();
    img48on.src = "images/artists_ais.jpg";
		img49on = new Image();
    img49on.src = "images/artists_masterprints.jpg";
		img50on = new Image();
    img50on.src = "images/artists_nasonov.jpg";
		img51on = new Image();
    img51on.src = "images/artists_radwanski.jpg";
		img52on = new Image();
    img52on.src = "images/artists_roulette.jpg";
		img53on = new Image();
    img53on.src = "images/artists_trueblood.jpg";
		img54on = new Image();
    img54on.src = "images/artists_zingaro.jpg";
		img55on = new Image();
    img55on.src = "images/artists_tu.jpg";
    img56on = new Image();
    img56on.src = "images/artists_waow.jpg";
    img57on = new Image();
    img57on.src = "images/artists_harris.jpg";
    img58on = new Image();
    img58on.src = "images/artists_demagny.jpg";
    img59on = new Image();
    img59on.src = "images/artists_mcnair.jpg";
    img60on = new Image();
    img60on.src = "images/artists_dolph.jpg";
    img61on = new Image();
    img61on.src = "images/artists_shirokov.jpg";
    img62on = new Image();
    img62on.src = "images/artists_rasa.jpg";
    img63on = new Image();
    img63on.src = "images/artists_mcclure.jpg";
    img64on = new Image();
    img64on.src = "images/artists_anderson.jpg";
    img65on = new Image();
    img65on.src = "images/artists_ho.jpg";
    img66on = new Image();
    img66on.src = "images/artists_vidovic.jpg";
    img67on = new Image();
    img67on.src = "images/artists_spanish.jpg";
    img68on = new Image();
    img68on.src = "images/artists_brasher.jpg";
    img69on = new Image();
    img69on.src = "images/artists_caffrey.jpg";
    img70on = new Image();
    img70on.src = "images/artists_demaria.jpg";
    img71on = new Image();
    img71on.src = "images/artists_urig.jpg";
    img72on = new Image();
    img72on.src = "images/artists_valerio.jpg";
    img73on = new Image();
    img73on.src = "images/artists_kosciuk.jpg";


    
	// just keep adding the artist images as img## here, then use the artistAct(img) function to activate them
	// you won't need to have a img##off image for the artist pics

    img1off = new Image();          // Create nine image objects for the 
    img1off.src = "images/artists_07.gif"; // inactive images; the images 
    img2off = new Image();          // displayed when the mouse moves off
    img2off.src = "images/artists_09.gif"; // the rollovers.
    img3off = new Image();
    img3off.src = "images/artists_14.gif";
    img4off = new Image();
    img4off.src = "images/artists_16.gif";
    img5off = new Image();
    img5off.src = "images/artists_18.gif";
    img6off = new Image();
    img6off.src = "images/artists_20.gif";
    img7off = new Image();
    img7off.src = "images/artists_22.gif";
    img8off = new Image();
    img8off.src = "images/artists_24.gif";
    img9off = new Image();
    img9off.src = "images/artists_26.gif";
    img10off = new Image();
    img10off.src = "images/artists_13b.gif";
    img11off = new Image();
    img11off.src = "images/artists_13c.gif";
    
    }

// Function to "activate" images.
function imgAct(imgName) {
    if (br == "n3") {
    document[imgName].src = eval(imgName + "on.src");
    }
}

// Function to "deactivate" images.
function imgInact(imgName) {
    if (br == "n3") {
    document[imgName].src = eval(imgName + "off.src");
    }
}

// function for swapping artist names

function artistAct(imgName) {
	if (br == "n3") {
	document["img10"].src = eval(imgName + "on.src");
	}
}

// turns off the artist image

function artistInact() {
	if (br == "n3") {
	document["img10"].src = img10off.src;
	}
}
