function buttonMouseOver(strButtonName)

{

	document.main[strButtonName].style.color = "#ff0000";

	document.main[strButtonName].style.backgroundColor = "#eeeeee";

}



function buttonMouseOut(strButtonName)

{

	document.main[strButtonName].style.color = "#666666";

	document.main[strButtonName].style.backgroundColor = "#C3BF97";

}



function buttonMouseDown(strButtonName)

{

	//document.main[strButtonName].style.backgroundColor = "#444300";

	//document.main[strButtonName].style.color = "#C3BF97";

}



function buttonMouseUp(strButtonName)

{

	//document.main[strButtonName].style.backgroundColor = "white";

	//document.main[strButtonName].style.color = "#000000";

}



function rowMouseOver(strRowId)

{

	document.getElementById(strRowId).style.backgroundColor = "#ff0000";

	document.getElementById(strRowId).style.color = "#000000";

}



function rowMouseOut(strRowId, strOrigColor)

{

	document.getElementById(strRowId).style.backgroundColor = strOrigColor;

	document.getElementById(strRowId).style.color = "#ffffff";

}



function rowClick(strLocation)

{

	document.location.href = strLocation;

}



function newImage(arg) {

	if (document.images) {

		rslt = new Image();

		rslt.src = arg;

		return rslt;

	}

}



function changeImages() {

	if (document.images && (preloadFlag == true)) {

		for (var i=0; i<changeImages.arguments.length; i+=2) {

			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];

		}

	}

}



var preloadFlag = false;

function preloadImages() {

	if (document.images) {

		power_panel_mod_03_over = newImage("images/power_panel_mod_03-over.gif");

		power_panel_mod_05_power_panel_mod_03_over = newImage("images/power_panel_mod_05-power_pa.gif");

		preloadFlag = true;

	}

}
