if(document.images) {
        homeon = new Image();
        homeon.src = "gif/btn_home_on.gif";
        homeoff = new Image();
        homeoff.src = "gif/btn_home_off.gif";
        abouton = new Image();
        abouton.src = "gif/btn_about_on.gif";
        aboutoff = new Image();
        aboutoff.src = "gif/btn_about_off.gif";
        availableon = new Image();
        availableon.src = "gif/btn_available_on.gif";
        availableoff = new Image();
        availableoff.src = "gif/btn_available_off.gif";
        generalon = new Image();
        generalon.src = "gif/btn_general_on.gif";
        generaloff = new Image();
        generaloff.src = "gif/btn_general_off.gif";
        newon = new Image();
        newon.src = "gif/btn_latest_on.gif";
        newoff = new Image();
        newoff.src = "gif/btn_latest_off.gif";
        drafton = new Image();
        drafton.src = "gif/btn_draft_on.gif";
        draftoff = new Image();
        draftoff.src = "gif/btn_draft_off.gif";
        rainbowon = new Image();
        rainbowon.src = "gif/btn_rainbow_on.gif";
        rainbowoff = new Image();
        rainbowoff.src = "gif/btn_rainbow_off.gif";
        sbon = new Image();
        sbon.src = "gif/btn_sb_on.gif";
        sboff = new Image();
        sboff.src = "gif/btn_sb_off.gif";
        weston = new Image();
        weston.src = "gif/btn_western_on.gif";
        westoff = new Image();
        westoff.src = "gif/btn_western_off.gif";
        engon = new Image();
        engon.src = "gif/btn_english_on.gif";
        engoff = new Image();
        engoff.src = "gif/btn_english_off.gif";
        porton = new Image();
        porton.src = "gif/btn_portraits_on.gif";
        portoff = new Image();
        portoff.src = "gif/btn_portraits_off.gif";
        otheron = new Image();
        otheron.src = "gif/btn_other_on.gif";
        otheroff = new Image();
        otheroff.src = "gif/btn_other_off.gif";
        modelon = new Image();
        modelon.src = "gif/btn_models_on.gif";
        modeloff = new Image();
        modeloff.src = "gif/btn_models_off.gif";
        printson = new Image();
        printson.src = "gif/btn_prints_on.gif";
        printsoff = new Image();
        printsoff.src = "gif/btn_prints_off.gif";
        priceson = new Image();
        priceson.src = "gif/btn_pricing_on.gif";
        pricesoff = new Image();
        pricesoff.src = "gif/btn_pricing_off.gif";
}

