// rollover.js

//  Main navigation "rollover" (colorization) hack:
//  In order to even out pixel/percentage calculations that come up a few pixels off,
//  we need to colorize the background of the parent div for ONE OF each of the 
//  submenu items in the mainnavbar and subnavbar.
function colorize(divID, newColor){
	if(document.getElementById){
		x = document.getElementById(divID);
		//alert ("newcolor is " + newColor);
		x.style.backgroundColor = newColor;
	}
}

// Standard rollover functions
function imgOn(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "_on.src");
        }
}

function imgOff(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "_off.src");
        }
}



