// JavaScript file for graphical forecast weekly table.
 
// Mouse over effect initialized as on
var onoroff = "ON"
var imagedisplay = "yes"

// function to load new image... 
function getnewimg(imagenam,imagenum,mov) {
         if ((onoroff == "OFF") && (mov == 1)){return;}
            image = "../images/" + sector + "/" + imagenam + imagenum + "_" + sector + ".png" ;
         document.the_image.src= image ;
         return;
     }
 
function get_img(imagename) {
        var slct = document.turnoncode.ingredient.selectedIndex;
        onoroff = document.turnoncode.ingredient.options[slct].value;
}

function mouseovereffect(tempvrbl) {
        var onoroff = tempvrbl;
}

function go_prev_next(extension) {
         switchpage =  sector + extension ;
         window.open(switchpage,"_parent");
}
