/*
	This JavaScript file contains three functions the first two functions
	draws the menu icon image when the user hovers over one of the menu
	items on the right side of the site. 
	The last function Menu_Image_Replace switches the images on the top of the 
	navigation bar when the user hovers over them.
*/

function TD_Menu_MouseOver(TableCell, TopPadding) {
	var menuIconObj = document.getElementById("menuIcon");
	TableCell.style.backgroundColor = "#AAA7BC";
	TopPadding += (TopPadding * 15) + 0;
	menuIconObj.style.top = TopPadding + "px";
	menuIconObj.style.visibility = "visible";
	return true;
}

function TD_Menu_MouseOut(TableCell) {
	var menuIconObj = document.getElementById("menuIcon");
	TableCell.style.backgroundColor = "#9996A9";
	menuIconObj.style.visibility = "hidden";
	menuIconObj.style.top = "0px";
	return true;
}

function Menu_Image_Replace(ObjImage, imgName, toggle) {
	ObjImage.src = imgName+toggle+".jpg";
	return true;
}