
function menuItemOver(id) {
	
	
	var menuContainer = getElById("menuItem-" + id);
	
	showStyle(menuContainer);
}

function menuItemOut(id){
	var menuContainer = getElById("menuItem-" + id);
	hideStyle(menuContainer);
}

function getElById(id){
	
	var htmlObj = document.getElementById(id);
	return htmlObj;
}

function showStyle(obj){
	
	obj.style.backgroundImage = "url(images/menu_bg.gif)";
	obj.style.backgroundRepeat = "repeat-x";
	obj.style.backgroundPosition = "0 2px";

}

function hideStyle(obj){
	obj.style.backgroundImage = "none";
	obj.style.backgroundRepeat = "repeat-x";
	obj.style.backgroundPosition = "0 2px";
	
}
