title: Does Drupal always strip popups? How can I make it work?
body: <p>I have some javascript popup works fine in html.</p>
  
  <p>I know how the popup works,</p>
  
  <p>but when Im trying to modify and use the codes in page.tpl.php, all of them always fail</p>
  
  <p>is drupal always strip popup? and how to make it works?</p>
  
  <p>thanks in advance</p>
  
  <p>-----added-----
  (i know this codes is dirty)</p>
  
  <p>in <code>&lt;head&gt;&lt;/head&gt;</code>:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt; 
  //default pop-under house ad url 
  infinityads_enable_pop = true; 
  infinityads_frequencyCap =0;
  durl = '';
  infinityads_layer_border_color = '';
  infinityads_layer_ad_bg = '';
  infinityads_layer_ad_link_color = '';
  infinityads_layer_ad_text_color = '';
  infinityads_text_link_bg = '';
  infinityads_text_link_color = '';
  infinityads_enable_text_link = false;
  &lt;/script&gt;
  &lt;script type="text/javascript" src="http://localhost/jjj/js.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>in <code>http://localhost/jjj/js.js</code>:</p>
  
  <pre><code>document.write("&lt;img src=\"http://www.myroitracking.com/newServing/tracking_id.php?d=ads.lzjl.com&amp;r=http%3A%2F%2Fads.lzjl.com%2FnewServing%2Ftracking_id.php%3Fb%3D1%26&amp;gtruid=1\" width=\"1\" height=\"1\" /&gt;");
  private_label_prefix = "infinityads";
  infinityads_company_name = "infinityads.com";
  infinityads_static_host = "static.hatid.com";
  infinityads_service = "ads.lzjl.com";
  infinityads_image_base_url = "http://creative.hatid.com/network_default/network_5/";
  infinityads_search_base_url = "http://ads.lzjl.com/newServing/yesupSearch/web.php?q=";
  infinityads_adhere_url = "http://infinityads.com";
  infinityads_widget_title = "Clicksor Connect";
  infinityads_widget_title_link = "http://www.clicksor.com/connect-widget";
  infinityads_pub_host = "publisher.infinityads.com";
  infinityads_nid=5;
  infinityads_pid=5828;
  infinityads_sid=9091;
  infinityads_banner_adtype=0;
  infinityads_enable_inter=false;
  document.write("&lt;iframe src=\"http://ads.clicksor.com/newServing/searchTrack.php?nid=5&amp;random=439915900\" width=\"1px\" height=\"1px\" frameborder=\"0\" scrolling=\"no\" style=\"position:absolute;z-index:9999301;\"&gt;&lt;/iframe&gt;");
  
  if ( typeof(Yesup) == "undefined" ) {
          document.write('&lt;script type="text/javascript" src="http://localhost/jjj/show_ad.js"&gt;&lt;/script&gt;');
      }  else {
      Yesup.Init();
  }
  </code></pre>
  
  <p>in <code>http://localhost/jjj/show_ad.js</code> is in this URL:</p>
  
  <pre><code>http://wimg.co.uk/YUZ.js
  </code></pre>