/* Changes the image name by adding hilight and removing hilight for use in rollover situations, abstracted so any image that has a "hilight" stored alongside ti can rollover with ease in both directions with a single function */
function MouseHover(ID, backgroundColor)
{
	var theImage = document.getElementById(ID);
 	var theTD = document.getElementById(ID+"TD");
 	var theUL = document.getElementById(ID+"UL");
	
	if(theImage != null)
	{
		if(ID.indexOf("_Active") == -1)
		{
			if(theImage.src.indexOf("_Hover") == -1)
			{
				theImage.src = theImage.src.replace(/.gif$/, "_Hover.gif");
			}
			else
 			{
 				theImage.src = theImage.src.replace(/_Hover.gif$/, ".gif");
 			}
 		}
 		else
 		{
			if(theImage.src.indexOf("_Hover") == -1)
			{
				theImage.src = theImage.src.replace(/_Active.gif$/, "_Hover.gif");
			}
			else
 			{
 				theImage.src = theImage.src.replace(/_Hover.gif$/, "_Active.gif");
 			}
 		}
	}
	if(theTD != null)
 	{
 		if(backgroundColor != null)
 		{
 			theTD.style.backgroundColor = backgroundColor;
 		}
 	}
	if(theUL != null)
 	{
 		if(theUL.className.indexOf("_Hover") == -1)
		{
			theUL.className = theUL.className.replace(/LeftNav$/, "LeftNav_Hover");
		}
		else
		{
			theUL.className = theUL.className.replace(/LeftNav_Hover$/, "LeftNav");
		}
 	}
}


var images= new Array(12);
		    
	    images[0] = new Image();
	    images[0].src = "/Images/Text/NavFunerals_Active.gif";
	    images[1] = new Image();
	    images[1].src = "/Images/Text/NavFunerals_Hover.gif";
		    
	    images[2] = new Image();
	    images[2].src = "/Images/Text/NavCremation_Active.gif";
	    images[3] = new Image();
	    images[3].src = "/Images/Text/NavCremation_Hover.gif";
		    
	    images[4] = new Image();
	    images[4].src = "/Images/Text/NavMemorialProperty_Active.gif";
	    images[5] = new Image();
	    images[5].src = "/Images/Text/NavMemorialProperty_Hover.gif";
		    
	    images[6] = new Image();
	    images[6].src = "/Images/Text/NavSpecialEvents_Active.gif";
	    images[7] = new Image();
	    images[7].src = "/Images/Text/NavSpecialEvents_Hover.gif";
		    
	    images[8] = new Image();
	    images[8].src = "/Images/Text/NavVisitorsGuide_Active.gif";
	    images[9] = new Image();
	    images[9].src = "/Images/Text/NavVisitorsGuide_Hover.gif";