(function(){var c=this,k=c.document,m="https:"===k.location.protocol.toString()?"https://ssl.":"http://www.",l=c.DDC=c.DDC||{},n=c.unescape,i=function(a){return typeof a==="function"},h=function(){var a=arguments[0]||{},b=1,d=arguments.length,e=!1,j,g,f,c;typeof a==="boolean"&&(e=a,a=arguments[1]||{},b=2);typeof a!=="object"&&!i(a)&&(a={});d==b&&(a=this,--b);for(;b<d;b++)if((j=arguments[b])!=null)for(g in j)f=a[g],c=j[g],a!==c&&(e&&c&&typeof c==="object"&&!c.nodeType?a[g]=h(e,f||(c.length!=null?[]:
{}),c):c!==void 0&&(a[g]=c));return a},o=function(a){try{var b=c.console,d=c.location.toString().indexOf("_mode=debug")!==-1,a=h({name:"",id:"",args:[]},a);a.args=Array.prototype.slice.call(a.args);a.args.splice(0,0,"[{{ id }}] {{ name }}()".replace("{{ id }}",a.id).replace("{{ name }}",a.name));b&&i(b.log)&&d&&(navigator.userAgent.indexOf("WebKit")!==-1||/ Mobile\//.test(navigator.userAgent)?b.log(a.args):b.log.apply(c,a.args))}catch(e){}};k.write(n("%3Cscript type='text/javascript' src='"+m+"google-analytics.com/ga.js'%3E%3C/script%3E"));
l.GoogleAnalyticsManager=function(a){var b,d={},e=[];b=function(b){return function(){var a=arguments,f;for(f=0;f<e.length;f++)if(e[f]&&d[e[f]._getAccount()]&&i(e[f][b])){e[f][b].apply(e[f],a);try{o.apply(c,[{id:e[f]._getAccount().toString(),name:b.toString(),args:a}])}catch(h){}}return this}};if(this!==l&&c._gat&&c._gat._getTracker){h(!0,this,{get:function(b){var a,c;if(d[b])for(a=0;a<e.length;a++)e[a]._getAccount()===b&&(c=e[a]);return c},add:function(a){a&&!d[a]&&(e.push(c._gat._getTracker(a)),
d[a]=!0);return this},disable:function(a){a in d&&(d[a]=!1);return this},disableAll:function(){for(var a in d)d[a]=!1;return this},enable:function(a){a in d&&(d[a]=!0);return this},enableAll:function(){for(var a in d)d[a]=!0;return this},_trackPageview:b("_trackPageview"),_trackEvent:b("_trackEvent"),_setAllowLinker:b("_setAllowLinker"),_setDomainName:b("_setDomainName"),_trackSocial:b("_trackSocial"),_setCustomVar:b("_setCustomVar"),_addItem:b("_addItem"),_addTrans:b("_addTrans"),_trackTrans:b("_trackTrans"),
_deleteCustomVar:b("_deleteCustomVar"),_setAllowHash:b("_setAllowHash"),_setAllowAnchor:b("_setAllowAnchor"),_addIgnoredRef:b("_addIgnoredRef")});if(a&&a.length)for(b=0;b<a.length;b++)this.add(a[b]);return this}else if(!c._gat||!c._gat._getTracker)throw Error("Google Analytics is missing.");else throw Error("DDC.GoogleAnalyticsManager is a constructor and may not be called directly.");}})();
