if (document.images) {
tents = new Image(138,40); tents.src = "../images/nav/tents.gif";
tents_on = new Image(138,40); tents_on.src = "../images/nav/tents_on.gif";
awnings = new Image(138,40); awnings.src = "../images/nav/awnings.gif";
awnings_on = new Image(138,40); awnings_on.src = "../images/nav/awnings_on.gif";
party = new Image(138,40); party.src = "../images/nav/party.gif";
party_on = new Image(138,40); party_on.src = "../images/nav/party_on.gif";
photos = new Image(138,40); photos.src = "../images/nav/photos.gif";
photos_on = new Image(138,40); photos_on.src = "../images/nav/photos_on.gif";
about = new Image(138,40); about.src = "../images/nav/about.gif";
about_on = new Image(138,40); about_on.src = "../images/nav/about_on.gif";
}
/* Function that swaps images. */
function di20(id, newSrc) {
    var theImage = FWFindImage(document, id, 0);
    if (theImage) {
        theImage.src = newSrc;
    }
}

/* Functions that track and set toggle group button states. */

function FWFindImage(doc, name, j) {
    var theImage = false;
    if (doc.images) {
        theImage = doc.images[name];
    }
    if (theImage) {
        return theImage;
    }
    if (doc.layers) {
        for (j = 0; j < doc.layers.length; j++) {
            theImage = FWFindImage(doc.layers[j].document, name, 0);
            if (theImage) {
                return (theImage);
            }
        }
    }
    return (false);
}