(function(){
var b=null;if(window.a==b)window.a={};window.GS_googleAddAdSenseService=function(a){return e.addService(e.ADSENSE,a)};window.GS_googleEnableAllServices=function(){e.enableAll()};window.GS_googleResetAllServices=function(){window.a={}};window.GS_googleGetIdsForAdSenseService=function(){var a=e.ADSENSE;return e.getIdsForService(a)};window.GS_googleFindService=function(a){return e.findService(a)};function e(a){this.g=a;this.b=[]}e.ADSENSE="adsense";e.ANALYTICS="urchin";e.UNKNOWN="unknown";
e.prototype.toString=function(){var a="["+this.g+" ids: ";for(var c=0;c<this.b.length;c++){if(c>0)a+=",";a+=this.b[c]}a+="]";return a};e.prototype.e=function(){return this.b.join()};e.isValidId=function(a){return a!=b&&typeof a=="string"&&a.length>0};e.newInstance=function(a){return a==e.ADSENSE?new f:new g};e.addService=function(a,c){if(!this.isValidId(c))return b;if(a==b)return b;var d=window.a[a];if(d==b){d=e.newInstance(a);window.a[a]=d}d.c(c);return d};
e.prototype.c=function(a){for(var c=0;c<this.b.length;c++)if(a==this.b[c])return;this.b[this.b.length]=a};e.enableAll=function(){for(var a in window.a){var c=window.a[a];typeof c=="function"||c.enable()}};e.getCount=function(){var a=0;for(var c in window.a){var d=window.a[c];typeof d=="function"||a++}return a};e.toString=function(){var a=[];for(var c in window.a){var d=window.a[c];if(!(typeof d=="function")){a.push("Service type="+c);a.push("value="+d.toString())}}return a.join()};
e.findService=function(a){var c=a==b?b:window.a[a];return c};e.getIdsForService=function(a){var c=a==b?b:window.a[a];return c==b?"":c.e()};function g(){this.superclass=e;this.superclass(e.UNKNOWN)}g.prototype=new e(e.UNKNOWN);g.prototype.enable=function(){};function f(){this.superclass=e;this.superclass(e.ADSENSE);this.f=false}f.prototype=new e(e.ADSENSE);
f.prototype.d=function(a,c,d){if(a.google_new_gam_domain_checked!=1){var i=Math.random();if(i<d){var j="http://pubads.g.doubleclick.net/gampad/test_gam_domain.js",h="script";c.write("<"+h+' src="'+j+'"></'+h+">");a.google_new_gam_domain_checked=1}}};function k(a,c){var d;return a?(d=parseFloat(a))?d:c:c}
f.prototype.enable=function(){if(!this.f){this.d(window,document,k("0.001",0));document.write('<script src="http://partner.googleadservices.com/gampad/google_ads.js"><\/script>');this.f=true}};
})()
