title: Load Advertisement (script) after page using jquery
body: <p>I'm trying to optimize the page render and download and I'm stuck in this situation...
  I'd like to load an advertise at the end of page load, I made a simple test <a href="http://www.marcocarettoni.it/testad.php" rel="nofollow noreferrer">PAGE</a></p>
  
  <p>Code:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
    &lt;head&gt;   
      &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
            var AdBrite_Title_Color = '443E3E';
            var AdBrite_Text_Color = '443E3E';
            var AdBrite_Background_Color = 'D1CFCF';
            var AdBrite_Border_Color = '443E3E';
            var AdBrite_URL_Color = '443E3E';
            try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==''?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe='';var AdBrite_Referrer='';}
            $(document).ready(function(){                    
            });    
      &lt;/script&gt;     
    &lt;/head&gt;  
    &lt;body style="background: #90EE90;"&gt;
    &lt;div id="page" style=""&gt;              
        &lt;div id="loginbox" style="position: fixed; top: 150px; left: 250px;"&gt;          
            &lt;span style="white-space:nowrap;"&gt; &lt;!-- AD MUST BE HERE--&gt;
            &lt;a target="_top" 
               href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=1866421&amp;afsid=1"&gt;
             &lt;img src="http://files.adbrite.com/mb/images/adbrite-your-ad-here-banner-w.gif" 
                style="background-color:#443E3E;border:none;padding:0;margin:0;" 
                alt="Your Ad Here" width="11" height="60" border="0" /&gt;
            &lt;/a&gt;&lt;/span&gt;        
        &lt;/div&gt;                
      &lt;/div&gt;     
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Where there is the HTML Comment originally there were:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  document.write(String.fromCharCode(60,83,67,82,73,80,84));
  document.write(' src="http://ads.adbrite.com/mb/text_group.php?sid=1866421&amp;zs=3436385f3630&amp;ifr='+AdBrite_Iframe+'&amp;ref='+AdBrite_Referrer+'" type="text/javascript"&gt;');
  document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62));
  &lt;/script&gt;
  </code></pre>
  
  <p>I need to load this element after page using jquery, I tried many solution, binding document.write action, adding a <code>&lt;script&gt;&lt;/script&gt;</code> element but nothing works...</p>
  
  <p>I really need an help ;)</p>