sImagePath = '/Images/'; function MenuItemMouseOver(iIndex) { el = document.getElementById('blt' + iIndex); if (el){ //el.src = sImagePath + 'ob_lt.png'; el.style.backgroundImage = 'url(\'' + sImagePath + 'ob_lt.png\')'; } el = document.getElementById('bt' + iIndex); if (el) { el.style.backgroundImage = 'url(\'' + sImagePath + 'ob_tbg.png\')'; } el = document.getElementById('brt' + iIndex); if (el) { //el.src = sImagePath + 'ob_rt.png'; el.style.backgroundImage = 'url(\'' + sImagePath + 'ob_rt.png\')'; } } function MenuItemMouseOut(iIndex) { el = document.getElementById('blt' + iIndex); if (el) { //el.src = sImagePath + 'bb_lt.png'; el.style.backgroundImage = 'url(\'' + sImagePath + 'bb_lt.png\')'; } el = document.getElementById('bt' + iIndex); if (el) { el.style.backgroundImage = 'url(\'' + sImagePath + 'bb_tbg.png\')'; } el = document.getElementById('brt' + iIndex); if (el) { //el.src = sImagePath + 'bb_rt.png'; el.style.backgroundImage = 'url(\'' + sImagePath + 'bb_rt.png\')'; } }