/*********************** 
// MNB 8/21/08
// Description: Used to preload and swap images in a hover scenario.
// Example: 
// <a href="#" onMouseOver="hiLite('print','blue_print_ON')" onMouseOut="hiLite('print','blue_print')"><img src="images/buttons/blue_print.gif" 
// name="print" border="0" alt="calculate" style="margin-bottom:10px;"></a>
************************/

// preload images:
if (document.images) 
{
	consumer = new Image(194,42); consumer.src = "/business/images/left-column/consumer_btn.gif";
	consumer_ON = new Image(194,42); consumer_ON.src = "/business/images/left-column/consumer_btn_ON.gif";
	
	industrial = new Image(194,43); industrial.src = "/business/images/left-column/industrial_btn.gif";
	industrial_ON = new Image(194,43); industrial_ON.src = "/business/images/left-column/industrial_btn_ON.gif";
}

// swap image based on the img id and the new preloaded image
function hiLite(imgName,imgObjName) 
{
	if (document.images) 
	{
  		document.images[imgName].src = eval(imgObjName + ".src");
	}
}