title: Post Loading ads - using appendChild to move an IFRAME with text link ads
body: <p>I have changed code around to basically load an add the bottom of the page in a hidden div and attached an onload event handler that called document.getElementById(xxx).appendChild() to take the hidden ad and move it into the right spot in my page. This works GREAT.. however when  the ad is a text ad it AFTER i move the ad there is nothing in the rendered Iframe. I did tests to see what it looks like before i move it and sure enough the text links load in the IFRAME but the second i do the appendChild call to move the div that contains the ad i seem to loose the contents of the Iframe. </p>
  
  <p>Any ideas whats going on</p>
  
  <pre><code>&lt;div id="myad" style="display: none;"&gt;
      GA_googleFillSlot("MyADSlotName");
  &lt;/div&gt;
  
  &lt;script&gt;
  window.onload = function() {
      // leader board
      document.getElementById('adplaceholder').appendChild(document.getElementById('myAd'));
      document.getElementById('myAd').style.display = '';
  &lt;/script&gt;
  </code></pre>
  
  <p>UPDATE: I think what the problem here is that on text ads google writes to the iframe directly inserting the relevant text links where are on other ads it uses the iframe to just point to some src. seems like when i do the appendchild, if there is no "src" set for the iframe after the copy is done the iframe in the new location contains nothing... guess it does a reload on the src? Any way around this??</p>