(function(){
var b=null;function e(a){return a&&(a.indexOf("?google_debug")>0||a.indexOf("&google_debug")>0)}e(document.URL);if(window.a==b)window.a={};window.GS_googleAddAdSenseService=function(a){return f.addService(f.ADSENSE,a)};window.GS_googleEnableAllServices=function(){f.enableAll()};window.GS_googleResetAllServices=function(){window.a={}};window.GS_googleGetIdsForAdSenseService=function(){var a=f.ADSENSE;return f.getIdsForService(a)};window.GS_googleFindService=function(a){return f.findService(a)};function f(a){this.g=a;this.b=[]}f.ADSENSE="adsense";f.ANALYTICS="urchin";f.UNKNOWN="unknown";
f.prototype.toString=function(){var a="["+this.g+" ids: ",c=0;for(;c<this.b.length;c++){if(c>0)a+=",";a+=this.b[c]}a+="]";return a};f.prototype.e=function(){return this.b.join()};f.isValidId=function(a){return a!=b&&typeof a=="string"&&a.length>0};f.newInstance=function(a){return a==f.ADSENSE?new g:new h};f.addService=function(a,c){if(!this.isValidId(c))return b;if(a==b)return b;var d=window.a[a];if(d==b){d=f.newInstance(a);window.a[a]=d}d.c(c);return d};
f.prototype.c=function(a){var c=0;for(;c<this.b.length;c++)if(a==this.b[c])return;this.b[this.b.length]=a};f.enableAll=function(){for(var a in window.a){var c=window.a[a];typeof c=="function"||c.enable()}};f.getCount=function(){var a=0;for(var c in window.a){var d=window.a[c];typeof d=="function"||a++}return a};f.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()};
f.findService=function(a){var c=a==b?b:window.a[a];return c};f.getIdsForService=function(a){var c=a==b?b:window.a[a];return c==b?"":c.e()};function h(){this.superclass=f;this.superclass(f.UNKNOWN)}h.prototype=new f(f.UNKNOWN);h.prototype.enable=function(){};function g(){this.superclass=f;this.superclass(f.ADSENSE);this.f=false}g.prototype=new f(f.ADSENSE);
g.prototype.d=function(a,c,d){if(a.google_new_gam_domain_checked!=1){var j=Math.random();if(j<d){var k="/scripts/test_gam_domain.js",i="script";c.write("<"+i+' src="'+k+'"></'+i+">");a.google_new_gam_domain_checked=1}}};function l(a,c){var d;return a?(d=parseFloat(a))?d:c:c}g.getJsFileName=function(a){if(e(a))return"google_ads_dbg.js";return"google_ads.js"};
g.prototype.enable=function(){if(!this.f){this.d(window,document,l("1",0));var a=g.getJsFileName(document.URL);document.write('<script src="/scripts/'+a+'"><\/script>');this.f=true}};
})()
