
//wcsm-google-loader.js
//Created: 06 November 2009
//Author: Tobias Mayer
//this script is called by each welfareCSM page to load the google adsense code
//it is used like an "include" and avoids the need to have this code repeated on every page

if (true || window.location.toString().substring(0, 7).toLowerCase() === "http://") { 
  document.write('<div style="width:800px; text-align:center; border:black solid 1px; background:white">');
  document.write('<table align=center width=800 height=120>\n');
  document.write('<tr><td style="border-bottom: 1px solid gray">\n');
  document.write('<div style="text-align:center">\n');
  document.write('  <div style="font-size:5pt">&nbsp;</div> \n');
  document.write('  <script type="text/javascript">');
  document.write('    google_ad_client = "pub-0536487486040259"; \n');
  document.write('    google_ad_slot = "0149537931"; \n');  
  document.write('    google_ad_width = 728; \n');
  document.write('    google_ad_height = 90; \n');
  document.write('    google_ad_format = "728x90_as"; \n');
  document.write('    google_ad_type = "text"; \n');
  document.write('    google_ad_channel = ""; \n');
  document.write('    google_color_border = "FFFFFF"; \n');
  document.write('    google_color_text = "DDDDDD"; \n');
  document.write('    google_color_link = "444444"; \n');
  document.write('    google_color_url = "4444FF"; \n');
  document.write('  </script>');
  document.write('  <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>\n');
  document.write('</div>\n');
  document.write('</td></tr>\n');
  document.write('<tr><td align=center>\n');
  document.write('<div style="font-family:verdana; font-size:8pt; font-weight:bold; margin:6px; ">\n');
  document.write('<a href=http://agileanarchy.wordpress.com/>Agile Anarchy Blog</a> | \n');
  document.write('<a href=http://agilethinking.net/csm>CSM Training</a> | \n');
  document.write('<a href=http://agilethinking.net/cspo>CSPO Training</a> | \n');
  document.write('<a href=http://agilethinking.net/services>Scrum Services</a> | \n');
  document.write('<a href=http://agilethinking.net/scrum-collective>Scrum Collective</a> \n');
  document.write('</div> \n');
  document.write('</td></tr></table> \n');
  document.write('</div> \n');
}
else {
  document.write('<div style="width:800; height:12"></div>');
  document.write('<!-- no google adsense for offline testing -->');
}

