I'm using js to resize flash, how to get rid of activate when click

Hi, i am using the code down here to be able to resize swf dynamically but now [COLOR=black]how can i get rid of ie click to activate problem?[/COLOR] I was using the one line jscript which is mentioned on forum before but now i couldn’t apply it to here. I am not good at js. Anyone out for help?
Thanks alot.:blush:

 
<div align="center">
 <div id="flashid" style="width:1000px; height:800px;">
  <script type="text/javascript" language="JavaScript">
   e = canResizeFlash();
   document.write('<object data="vakif_v02.swf" width="100%" height="100%" type="application/x-shockwave-flash">');
   document.write('<param name="movie" value="vakif_v02.swf" />');
   document.write('<param name="allowScriptAccess" value="always" />');
   document.write('<param name="FlashVars" value="allowResize='+e+'" />');
   document.write('Flash Movie With Resizing Content');
   document.write('</object>');
  </script>
  <noscript>Javascript must be enabled to view Flash movie</noscript>
 </div>
</div>