// check if the browser is Navigator 3 or higher:
agent = navigator.userAgent;
browserVer = 2;
if (agent.substring(0,7) == "Mozilla")
{
    if (parseInt(agent.substring(8,9)) >= 3) {browserVer = 1;}
}


// preload universal images:
if (browserVer == 1) {
booksoff = new Image(13,13);
booksoff.src = "/usmaimages/toc_bullet_off.gif";
bookson = new Image(13,13);
bookson.src = "/usmaimages/toc_bullet_on.gif";
homeoff = new Image(13,13);
homeoff.src = "/usmaimages/toc_bullet_off.gif";
homeon = new Image(13,13);
homeon.src = "/usmaimages/toc_bullet_on.gif";
photosoff = new Image(13,13);
photosoff.src = "/usmaimages/toc_bullet_off.gif";
photoson = new Image(13,13);
photoson.src = "/usmaimages/toc_bullet_on.gif";
multimediaoff = new Image(13,13);
multimediaoff.src = "/usmaimages/toc_bullet_off.gif";
multimediaon = new Image(13,13);
multimediaon.src = "/usmaimages/toc_bullet_on.gif";
mapsoff = new Image(13,13);
mapsoff.src = "/usmaimages/toc_bullet_off.gif";
mapson = new Image(13,13);
mapson.src = "/usmaimages/toc_bullet_on.gif";
manuscriptsoff = new Image(13,13);
manuscriptsoff.src = "/usmaimages/toc_bullet_off.gif";
manuscriptson = new Image(13,13);
manuscriptson.src = "/usmaimages/toc_bullet_on.gif";
paintingsoff = new Image(13,13);
paintingsoff.src = "/usmaimages/toc_bullet_off.gif";
paintingson = new Image(13,13);
paintingson.src = "/usmaimages/toc_bullet_on.gif";
exhibitsoff = new Image(13,13);
exhibitsoff.src = "/usmaimages/toc_bullet_off.gif";
exhibitson = new Image(13,13);
exhibitson.src = "/usmaimages/toc_bullet_on.gif";
alphaoff = new Image(13,13);
alphaoff.src = "/usmaimages/viewall_off.gif";
alphaon = new Image(13,13);
alphaon.src = "/usmaimages/viewall_on.gif";
typeoff = new Image(13,13);
typeoff.src = "/usmaimages/viewall_off.gif";
typeon = new Image(13,13);
typeon.src = "/usmaimages/viewall_on.gif";
contactoff = new Image(13,13);
contactoff.src = "/usmaimages/toc_bullet_off.gif";
contacton = new Image(13,13);
contacton.src = "/usmaimages/toc_bullet_on.gif";
aboutoff = new Image(13,13);
aboutoff.src = "/usmaimages/toc_bullet_off.gif";
abouton = new Image(13,13);
abouton.src = "/usmaimages/toc_bullet_on.gif";
}



function hiLite(imgDocID,imgObjName) {
// manages mouseOver animations
//   imgDocID - the name or number of the document image to be replaced
//   imgObjName - the name of the image object to be swapped in

if (browserVer == 1) {
document.images[imgDocID].src = eval(imgObjName + ".src")
}}

function SelectIt(){
        if (document.Links1.Select.options[document.Links1.Select.selectedIndex].value != "none"){
        location = document.Links1.Select.options[document.Links1.Select.selectedIndex].value}
}
