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