Hi Sean, copied from my site (waynejohnson.net), I have four images doing exactly what you are trying to do. I've paasted the code below for you to use:
(this code is from the head)
-----------------------------------
Code:
<script language="javascript]
<!--
var itskills = new Image;
var examples = new Image;
var workhistory = new Image;
var contact = new Image;
itskills.src = "images/itskills-on.gif";
examples.src = "images/examples-on.gif";
workhistory.src = "images/workhistory-on.gif";
contact.src = "images/contact-on.gif";
//-->
</script>
(from the html body)
-----------------------------
Code:
[url=http://waynejohnson.net/skills.asp" onmouseover="xitskills.src = itskills.src" onmouseout="xitskills.src = 'images/itskills.gif'][img]"images/itskills.gif" border="0" name="xitskills" width="92" height="34][/url]
[url=http://waynejohnson.net/examples.asp" onmouseover="xexamples.src = examples.src" onmouseout="xexamples.src = 'images/examples.gif'][img]"images/examples.gif" border="0" name="xexamples" width="134" height="34][/url]
[url=http://waynejohnson.net/history.asp" onmouseover="xworkhistory.src = workhistory.src" onmouseout="xworkhistory.src = 'images/workhistory.gif'][img]"images/workhistory.gif" border="0" name="xworkhistory" width="142" height="34][/url]
[url=http://waynejohnson.net/contact.asp" onmouseover="xcontact.src = contact.src" onmouseout="xcontact.src = 'images/contact.gif'][img]"images/contact.gif" border="0" name="xcontact" width="129" height="34][/url]
-------------------
Explaination: I set up four invisible image holders in the head and preload them with my "button on" images. Then in the html, the inital images loaded onto the page are obviously "image off" versions. It is important that the images on the page are named.
Then with a simple onmouseover, you load the src of a hidden image into the source of your named image on the page. With the onmouseout, I just load the image src from the images folder because these have already been cached into memory the first time and so are fast anyway. Hope this helps.[/code]