if (document.images) {
Cicely = new Image(80,90); Cicely.src = "/Images/Cicely.gif";
CicelyL = new Image(80,90); CicelyL.src = "/Images/CicelyL.gif";
Quinault = new Image(90,90); Quinault.src = "/Images/Quinault.gif";
QuinaultL = new Image(90,90); QuinaultL.src = "/Images/QuinaultL.gif";
Gypsy = new Image(80,90); Gypsy.src = "/Images/Gypsy.gif";
GypsyL = new Image(80,90); GypsyL.src = "/Images/GypsyL.gif";
Library = new Image(80,90); Library.src = "/Images/Library.gif";
LibraryL = new Image(80,90); LibraryL.src = "/Images/LibraryL.gif";
Kitchen = new Image(80,90); Kitchen.src = "/Images/Kitchen.gif";
KitchenL = new Image(80,90); KitchenL.src = "/Images/KitchenL.gif";
Porch = new Image(80,90); Porch.src = "/Images/Porch.gif";
PorchL = new Image(80,90); PorchL.src = "/Images/PorchL.gif";
Roslyn = new Image(80,90); Roslyn.src = "/Images/Roslyn.gif";
RoslynL = new Image(80,90); RoslynL.src = "/Images/RoslynL.gif";
Rates = new Image(80,90); Rates.src = "/Images/Rates.gif";
RatesL = new Image(80,90); RatesL.src = "/Images/RatesL.gif";
Information = new Image(80,90); Information.src = "/Images/Information.gif";
InformationL = new Image(80,90); InformationL.src = "/Images/InformationL.gif";
}

/* Function that swaps images. */

function di20(id, newSrc) {
    var theImage = FWFindImage(document, id, 0);
    if (theImage) {
        theImage.src = "/Images/" + 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);
}

