title: script is not working in blogger
body: <p>The below script is not working when using it in a blogger post..Any help??</p>
  
  <pre><code>var popvid = null;
  
  function popWin(divId) {
      if(typeof(divId) == 'string') {
          divId = document.getElementById(divId);
      }
      if(!popvid || popvid.closed) {
          popvid = window.open('', 'vidplayer', 'top=200,left=390,width=450,height=375,status=no');
      }
      popvid.document.body.style.backgroundColor = 'black';
      popvid.focus();
      popvid.document.body.innerHTML = '&lt;BR&gt;&lt;center&gt;' + divId.innerHTML + '&lt;/center&gt;';
      return false;
  }
  window.onunload = function() {
      if(popvid) {
          popvid.close();
      }
  }
  </code></pre>
  
  <p>Followed by:</p>
  
  <pre><code>&lt;div id='popvid1' style='display: none'&gt;
  &lt;embed style="width:426px; height:320px;" id="VideoPlayback" 
  type="application/x-shockwave-flash" 
  src="http://www.antenna.gr/webtv/images/fbplayer.swf?cid=07_f_y_mfa_y$_a_e=&amp;volx=100&amp;iu=1&amp;telemetry=false" allowFullScreen="true" allowScriptAccess="sameDomain" flashvars="controls=true"&gt;&lt;/embed&gt;
  &lt;/div&gt;
  &lt;div id='popvid2' style='display: none'&gt;
  &lt;embed style="width:426px; height:320px;" type="application/x-shockwave-flash" src="http://www.antenna.gr/webtv/images/fbplayer.swf?cid=y_n_y_prr6pd_sc=&amp;volx=100&amp;iu=1&amp;telemetry=false" allowFullScreen="true" allowScriptAccess="sameDomain" flashvars="controls=true"&gt; &lt;/embed&gt;
  &lt;/div&gt;
  &lt;button href="#" onclick="return popWin('popvid1');" class=popup&gt;01&lt;/button&gt;
  &lt;button href="#" onclick="return popWin('popvid2');" class=popup&gt;02&lt;/button&gt;
  </code></pre>