if (document.images) {
top_up = new Image(100,18); top_up.src = "./gif/top.gif";
top_over = new Image(100,18); top_over.src = "./gif/clickhere.gif";
what_up = new Image(100,18); what_up.src = "./gif/waza.gif";
what_over = new Image(100,18); what_over.src = "./gif/clickhere.gif";
wha_up = new Image(100,18); wha_up.src = "./gif/info.gif";
wha_over = new Image(100,18); wha_over.src = "./gif/clickhere.gif";
thai_up = new Image(100,18); thai_up.src = "./gif/thai.gif";
thai_over = new Image(100,18); thai_over.src = "./gif/clickhere.gif";
bbs_up = new Image(50,18); bbs_up.src = "./gif/bbss.gif";
bbs_over = new Image(50,18); bbs_over.src = "./gif/click.gif";
link_up = new Image(50,18); link_up.src = "./gif/links.gif";
link_over = new Image(50,18); link_over.src = "./gif/click.gif";
yo_up = new Image(100,18); yo_up.src = "./gif/yo.gif";
yo_over = new Image(100,18); yo_over.src = "./gif/clickhere.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);
}