top_bar.naml

<override_macro name="top_bar">
    <div class="top-bar">
        <div class="breadcrumbs" style="float:left">
            <n.breadcrumbs/>
        </div>
        <div style="text-align:right;">
            <n.user_header/>
        </div>
    </div>
    <div id="google-ads-1" style="display: block; text-align: center;">
 <script type="text/javascript">
 
        adUnit   = document.getElementById("google-ads-1");
        adWidth  = adUnit.offsetWidth;
 
        /* Replace this with your AdSense Publisher ID */
        google_ad_client = "ca-pub-2262896992439289";
 
        if ( adWidth >= 750 ) {
          /* Leaderboard 675 x 90 */
          google_ad_slot        = "3353471458";
          google_ad_width       = 675;
          google_ad_height      = 90;
        } else if ( adWidth >= 320 ) {
          /* Banner (320 x 100) */
          google_ad_slot        = "2626203051";
          google_ad_width       = 320;
          google_ad_height      = 100;
        } else if ( adWidth >= 234 ) {
          /* Mobile Banner (234 x 60) */
          google_ad_slot        = "3735658252";
          google_ad_width       = 320;
          google_ad_height      = 50;
        } else {
          /* Do not display the Google Ad */
          google_ad_slot                = "0";
          adUnit.style.display  = "none";
        }
 </script>
 
 <script type="text/javascript"    
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
 </script>
</div></override_macro>