I would have replaced all these:
Code:
function browseMouseover(){document.getElementById("browse").src="http://www.therabbitshome.com/images/browse_MOUSEOVER.png";}
function browseMouseout(){document.getElementById("browse").src="http://www.therabbitshome.com/images/browse.png";}
function infoMouseover(){document.getElementById("info").src="http://www.therabbitshome.com/images/info_MOUSEOVER.png";}
function infoMouseout(){document.getElementById("info").src="http://www.therabbitshome.com/images/info.png";}
function linksMouseover(){document.getElementById("links").src="http://www.therabbitshome.com/images/links_MOUSEOVER.png";}
function linksMouseout(){document.getElementById("links").src="http://www.therabbitshome.com/images/links.png";}
function prevMouseover(){jPrev.src="http://www.therabbitshome.com/images/prev_MOUSEOVER.png";}
function prevMouseout(){jPrev.src="http://www.therabbitshome.com/images/prev.png";}
function nextMouseover(){jNext.src="http://www.therabbitshome.com/images/next_MOUSEOVER.png";}
function nextMouseout(){jNext.src="http://www.therabbitshome.com/images/next.png";}
function z00mMouseover(){jZ00m.src="http://www.therabbitshome.com/images/z00m_MOUSEOVER.png";}
function z00mMouseout(){jZ00m.src="http://www.therabbitshome.com/images/z00m.png";}
with simply:
Code:
function myMouseOver() { this.src = this.src.replace(".png","_MOUSEOVER.png"); }
function myMouseOut() { this.src = this.src.replace("_MOUSEOVER",""); }
And then for all those images that need onmousover, I would have coded them as simply
Code:
var jZ00m=document.createElement("img");
jZ00m.src="http://www.therabbitshome.com/images/z00m.png";
jZ00m.className="_useMouseOver";
And then you could do:
Code:
var mo = document.getElementsByClassName("_useMouseOver");
for ( var m = 0; m < mo.length; ++m )
{
mo[m].onmouseover = myMouseOver;
mo[m].onmouseout = myMouseOut;
}
Though because of the way you add the elements to your page, maybe I wouldn't bother with that last one.