// JavaScript file for the mouseover effect
// Mouse over effect initialized as off
var imagedisplay = "yes"
var kid = "datetime2"
var theProduct = "N0R"

// function to load new image... 
function getnewimg(product,radarid,mov,DivId) {
         if ((onoroff == "OFF") && (mov == 1)){return;}
		if (radarid == "ACG" || radarid == "AIH" || radarid == "AHG" || radarid == "AKC" || radarid == "ABC" || radarid == "AEC" || radarid == "APD") {
            radarimg = "Projected/RadarImg/" + product + "/" + radarid + "_" + product + "_0.gif";
		} else {
            radarimg = "RadarImg/" + product + "/" + radarid + "_" + product + "_0.gif";
		}
            legendimg = "Legend/" + product + "/" + radarid + "_" + product + "_Legend_0.gif";
         document.conditionallegend.src=legendimg;
         document.conditionalimage.src=radarimg;
		document.getElementById(kid).style.display = 'none';
		document.getElementById(DivId).style.display = 'block';
		kid = DivId;
		theProduct = product;

         return;
     }
 
function get_img(imagename) {
        var slct = document.turnoncode.ingredient.selectedIndex;
        onoroff = document.turnoncode.ingredient.options[slct].value;
}

function mouseovereffect(tempvrbl) {
        var onoroff = tempvrbl;
}


