Commits

Shlomi Fish committed a91b6be

Add the Project Wonderful Ad code.

  • Participants
  • Parent commits 5df5fb7

Comments (0)

Files changed (1)

 <latemp_get_breadcrumbs_trail_unconditionally />
 </define-tag>
 
+<define-tag perl_begin__project_wonderful_sidebar_ad_box_code>
+<!-- Project Wonderful Ad Box Code -->
+<div id="pw_adbox_67890_3_0"></div>
+<!-- End Project Wonderful Ad Box Code -->
+</define-tag>
+
 <latemp_extra_head_elements>
 <script type="text/javascript" src="$(ROOT)/js/jq.js"></script>
 <script type="text/javascript" src="$(ROOT)/js/position_divs.js"></script>
+<!-- Project Wonderful Ad Box Loader -->
+<script type="text/javascript">
+   (function(){function pw_load(){
+      if(arguments.callee.z)return;else arguments.callee.z=true;
+      var d=document;var s=d.createElement('script');
+      var x=d.getElementsByTagName('script')[0];
+      s.type='text/javascript';s.async=true;
+      s.src='//www.projectwonderful.com/pwa.js';
+      x.parentNode.insertBefore(s,x);}
+   if (window.attachEvent){
+    window.attachEvent('DOMContentLoaded',pw_load);
+    window.attachEvent('onload',pw_load);}
+   else{
+    window.addEventListener('DOMContentLoaded',pw_load,false);
+    window.addEventListener('load',pw_load,false);}})();
+</script>
+<!-- End Project Wonderful Ad Box Loader -->
 {#PAGE_EXTRA_HEAD_ELEMENTS#}
 </latemp_extra_head_elements>
 
     <div id="left-sidebar">
       <latemp_get_nav_menu_html />
       <latemp_affiliations_buttons_text />
+      <perl_begin__project_wonderful_sidebar_ad_box_code />
     </div>
 
     <!--   CONTENT -->