function menuButtonOn(){ this.style.backgroundImage = "url(images/menu_back.png)"; } object.onmouseover = menuButtonOn;