To include this rollover in your document you need to put the the following in the HEAD section of your document

<!-- *** BEGIN CUT - Start Code *** -->
<!-- (* Another free JavaScript © from JavaScript-FX.com *) -->
<SCRIPT LANGUAGE="javascript" SRC="javascript/JSFX_SimpleRollovers.js"></SCRIPT>
<SCRIPT LANGUAGE="javascript" TYPE="text/javascript">
<!--
     JSFX.Rollover("home", "images/home_on.gif");
//-->
</SCRIPT>
<!-- *** END CUT - End Code *** -->

Put the following on the BODY of your document, where you want the link.

<A HREF="index.html"
  onMouseOver="JSFX.imgOn('home')"
  onMouseOut="JSFX.imgOff('home')"
>
    <IMG SRC="images/home.gif" BORDER="0" NAME="home">
</A>

Also, check out how to create Image Rollovers.