function removeFlash(id) {
   if (document.getElementById) {
        var flashObj = document.getElementById(id);
        while (flashObj.hasChildNodes()) {
            flashObj.removeChild(flashObj.firstChild);
        }
   }
}


// Create the Script Object
var script = document.createElement('script');
script.src = 'http://media.newimagemedia.com/BCCBShow2010/AC_RunActiveContent.js';
script.type = 'text/javascript';
script.defer = true;
script.id = 'active'; // This will help us in referencing the object later for removal
// Insert the created object to the html head element
var head = document.getElementsByTagName('head').item(0);
head.appendChild(script);


document.write('<div id="walk-on" style="position: fixed;bottom: -10px;right: 0px;width: 448px;height: 336px;z-index: 99999 !important;">');
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="448" height="336" id="AlphaFLV" align="middle">');
document.write('<param name="allowScriptAccess" value="always" />');
document.write('<param name="allowFullScreen" value="false" />');
document.write('<param name="movie" value="http://media.newimagemedia.com/BCCBShow2010/BCCWalkOn.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="transparent">');
document.write('<embed src="http://media.newimagemedia.com/BCCBShow2010/BCCWalkOn.swf" wmode="transparent" quality="high" bgcolor="#ffffff" width="448" height="336" name="AlphaFLV" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');
document.write('</div>');