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_AnimatedRollovers.js"></SCRIPT>
<SCRIPT LANGUAGE="javascript" TYPE="text/javascript">
<!--
     JSFX.AnimatedRollover("home", "images/home/", 5, ".gif");
//-->
</SCRIPT>
<!-- *** END CUT - End Code *** -->

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

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

Also, check out how to create Animated Rollovers.