To include this FX 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_Layer.js"></SCRIPT>
<SCRIPT LANGUAGE="javascript" SRC="javascript/JSFX_Mouse.js"></SCRIPT>
<SCRIPT LANGUAGE="javascript" SRC="javascript/JSFX_Pinwheel.js"></SCRIPT>
<SCRIPT LANGUAGE="javascript" TYPE="text/javascript">
<!--
function JSFX_StartEffects()
{
     
JSFX.Pinwheel();
}

//-->
</SCRIPT>
<!-- *** END CUT - End Code *** -->

Put the following in the BODY TAG of your document

<BODY onLoad="JSFX_StartEffects()">


Also See...
Using External ".js" Files
Combining Multiple Scripts.