/***************************************************************************************** 
 * This function provides a fix for IE where flash movies aren't automatically initialized
 * which can cause some problems on the page like flashing, and cause the flash movie to
 * discontinue loading. This function works on ALL browsers so that you don't have to
 * do anything special in your code to deal with IE and Non-IE browsers. Just treat all
 * browsers as if they were IE for flash movies, and this function will make sure it
 * works on all of them.
 *
 * To make a FLASH object NOT require a CLICK within it's area to be activated and run as 
 * it should, a document.write() containing the HTML for the usual OBJECT tag HTML needs
 * to be issued. Strangely, the document.write needs to be done in an external JavaScript
 * file to work.
 *
 * @author		Kurt Bonnet
 * @elementID	Text ID for the <DIV> tag that contains the flash movie HTML.
 *				The ONLY HTML in the DIV tag shoudl be the flash movie HTML,
 *				(object tags and their children)
 *
 * This function should be called DIRECTLY after the closing DIV tag containing the
 * flash movie. Simply pass in the ID of the DIV with the flash movie to this function,
 * and this function will activate the movie without any user interaction. *
 *
 *
 * Example Usage:
 * --------------------------------------------------------
 * <SCRIPT src="fixFlash.js" ></SCRIPT>
 *
 * <div id="myFlashMovie" >
 *   <object classid="03454353" ......
 *   .......
 *   </object>
 * </div>
 * <script type="text/javascript" >
 *	flashFix('myFlashMovie');
 * </script>
 *
 */
function flashFix(elementID) {
	var flashContainer = document.getElementById(elementID);
	var ih = flashContainer.innerHTML;
	flashContainer.innerHTML = '';
	document.write( ih );	
}