function addFlash(url ,width, height)
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="'+width+'" height="'+height+'" align="left">\n');
    document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
    document.write('<param name="movie" value="'+url+'" />\n');
    document.write('<param name="quality" value="high" />\n');
    document.write('<param name="scale" value="noscale" />\n');
    document.write('<param name="wmode" value="" />\n');
    document.write('<param name="menu" value="false" />\n');
    document.write('<embed src="images/main.swf" width="'+width+'" height="'+height+'" align="left" quality="high" scale="noscale" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" menu="false" />\n');
    document.write('</object>\n');

}
