if (document.images) {
t7_r2_c02_F1 = new Image(50,33); t7_r2_c02_F1.src = "grafic/t7_r2_c02.jpg";
t7_r2_c02_F2 = new Image(50,33); t7_r2_c02_F2.src = "grafic/t7_r2_c02_F2.jpg";
t7_r2_c04_F1 = new Image(59,33); t7_r2_c04_F1.src = "grafic/t7_r2_c04.jpg";
t7_r2_c04_F2 = new Image(59,33); t7_r2_c04_F2.src = "grafic/t7_r2_c04_F2.jpg";
t7_r2_c06_F1 = new Image(54,33); t7_r2_c06_F1.src = "grafic/t7_r2_c06.jpg";
t7_r2_c06_F2 = new Image(54,33); t7_r2_c06_F2.src = "grafic/t7_r2_c06_F2.jpg";
t7_r2_c08_F1 = new Image(55,33); t7_r2_c08_F1.src = "grafic/t7_r2_c08.jpg";
t7_r2_c08_F2 = new Image(55,33); t7_r2_c08_F2.src = "grafic/t7_r2_c08_F2.jpg";
t7_r2_c10_F1 = new Image(39,33); t7_r2_c10_F1.src = "grafic/t7_r2_c10.jpg";
t7_r2_c10_F2 = new Image(39,33); t7_r2_c10_F2.src = "grafic/t7_r2_c10_F2.jpg";
}

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