if (document.images) {
home_F1 = new Image(90,34); home_F1.src = "home.gif";
home_F2 = new Image(90,34); home_F2.src = "home_F2.gif";
about2_F1 = new Image(104,34); about2_F1.src = "about2.gif";
about2_F2 = new Image(104,34); about2_F2.src = "about2_F2.gif";
ground2_F1 = new Image(196,34); ground2_F1.src = "ground2.gif";
ground2_F2 = new Image(196,34); ground2_F2.src = "ground2_F2.gif";
air2_F1 = new Image(208,34); air2_F1.src = "air2.gif";
air2_F2 = new Image(208,34); air2_F2.src = "air2_F2.gif";
}

/* Function that displays status bar messages. */

function dm(msgStr) {
    window.status = msgStr;
    document.MM_returnValue = true;
}

/* 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);
}