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_ImageFlag.js"></SCRIPT>
<SCRIPT LANGUAGE="javascript" TYPE="text/javascript">
<!--
function JSFX_StartEffects()
{
     
JSFX.MakeImageFlag("images/my_image.gif", 200, 100);
}

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

Put the following in the BODY TAG of your document

<BODY onLoad="JSFX_StartEffects()">

Customization.
Param1: "images/my_image.gif" - Change this to your flag image.
Param2: 200 - Change this to the width of your image.
Param3: 100 - Change this to the height of your image.
Advanced Customization...

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