


if (document.images) {
about_F1 = new Image(74,66); about_F1.src = "images/buttons/about.gif";
about_F2 = new Image(74,66); about_F2.src = "images/buttons/about_F2.gif";
products_F1 = new Image(74,66); products_F1.src = "images/buttons/products.gif";
products_F2 = new Image(74,66); products_F2.src = "images/buttons/products_F2.gif";
contact_F1 = new Image(74,66); contact_F1.src = "images/buttons/contact.gif";
contact_F2 = new Image(74,66); contact_F2.src = "images/buttons/contact_F2.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);
}


