function RunFoo()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="612" height="180">\n');
    document.write('<param name="WMode" value="Transparent" />\n');
    document.write('<param name="SRC" value="flash/homepagenew.swf" />\n');
    document.write('<param name=BGCOLOR" value="#669CAA" />\n');

    document.write('<div id="awmflash1" style="position:relative" />\n');
    document.write('<embed src="flash/homepagenew.swf" pluginspage="http://www.macromedia.com/shockwave/download/" type="application/x-shockwave-flash" width="612" height="180" wmode="transparent" bgcolor="#669CAA" />\n');
    document.write('</div>\n');
    document.write('</embed>\n');

    document.write('</object>\n');
}