(function(){
var e={google_ad_channel:"channel",google_ad_host:"host",google_ad_host_tier_id:"ht_id",google_ad_region:"region",google_ad_section:"region",google_ad_type:"ad_type",google_adtest:"adtest",google_alternate_ad_url:"alternate_ad_url",google_alternate_color:"alt_color",google_bid:"bid",google_city:"gcs",google_color_bg:"color_bg",google_color_border:"color_border",google_color_line:"color_line",google_color_link:"color_link",google_color_text:"color_text",google_color_url:"color_url",google_contents:"contents",
google_country:"gl",google_cust_age:"cust_age",google_cust_ch:"cust_ch",google_cust_gender:"cust_gender",google_cust_id:"cust_id",google_cust_interests:"cust_interests",google_cust_job:"cust_job",google_cust_l:"cust_l",google_cust_lh:"cust_lh",google_cust_u_url:"cust_u_url",google_disable_video_autoplay:"disable_video_autoplay",google_ed:"ed",google_encoding:"oe",google_feedback:"feedback_link",google_flash_version:"flash",google_gl:"gl",google_hints:"hints",google_kw:"kw",google_kw_type:"kw_type",
google_language:"hl",google_referrer_url:"ref",google_region:"gr",google_reuse_colors:"reuse_colors",google_safe:"adsafe",google_targeting:"targeting",google_ui_features:"ui"},aa={google_ad_format:"format",google_ad_output:"output",google_ad_callback:"callback",google_ad_override:"google_ad_override",google_ad_slot:"slotname",google_analytics_uacct:"ga_wpids",google_correlator:"correlator",google_cpa_choice:"cpa_choice",google_image_size:"image_size",google_last_modified_time:"lmt",google_max_num_ads:"num_ads",
google_max_radlink_len:"max_radlink_len",google_num_radlinks:"num_radlinks",google_num_radlinks_per_unit:"num_radlinks_per_unit",google_only_ads_with_video:"only_ads_with_video",google_page_location:"loc",google_page_url:"url",google_rl_dest_url:"rl_dest_url",google_rl_filtering:"rl_filtering",google_rl_mode:"rl_mode",google_rt:"rt",google_skip:"skip"};function g(a){return e[a]||aa[a]||null};function j(){}j.prototype.a=function(){};j.prototype.f=function(){};j.prototype.e=function(){};var l=null;function m(a,b,c,d){this._value_=a;this._expires_=b;this._path_=c;this._domain_=d;if(this._path_==null)this._path_="/";if(this._domain_==null)this._domain_=document.domain}m.prototype.toString=function(){return"[GA_GoogleCookieInfo: value="+this._value_+", expires="+this._expires_+", path="+this._path_+"]"};function n(){this.I=this.Ya();this.W=false;if(!this.I){this.W=this.Aa();if(!this.W)l.f("Browser does not allow cookies")}}
n.prototype.da="__gads=";n.prototype.T="GoogleAdServingTest=";n.prototype.Ra=function(){return this.I};n.prototype.Ma=function(){return this.W};n.prototype.setCookieInfo=function(a){this.D=a._cookies_[0];if(this.D!=null){this.I=this.D._value_;this.hb()}};n.prototype.ha=function(a){var b=(new Date).valueOf(),c=new Date;c.setTime(b+a);return c};n.prototype.Ia=function(){var a=15552000000,b=this.ha(a),c="ID=12345:T="+a,d="/",f=document.domain;return new m(c,b.valueOf(),d,f)};n.BASE_COOKIE_URL="http://partner.googleadservices.com/gampad/cookie.js?callback=_GA_googleCookieHelper.setCookieInfo";
n.prototype.Da=function(a){if(this.I!=null||!this.W){l.a("Skipping fetch cookie call");return}var b="script",c=document.domain,d=n.BASE_COOKIE_URL+"&client="+p(a)+"&domain="+p(c);l.a("Issuing a fetch cookie call with <a href='"+d+"'>"+d+"</a>");document.write("<"+b+' src="'+d+'"></'+b+">")};n.prototype.Aa=function(){document.cookie=this.T+"Good";var a=this.pa(this.T),b=a=="Good";if(b){var c=this.ha(-1);document.cookie=this.T+"; expires="+c.toGMTString()}return b};n.prototype.Ya=function(){var a=this.pa(this.da);
if(a!=null)l.a("Read first party cookie: "+a);else l.f("No first party cookie found");return a};n.prototype.pa=function(a){var b=document.cookie,c=b.indexOf(a),d=null;if(c!=-1){var f=c+a.length,h=b.indexOf(";",f);if(h==-1)h=b.length;d=b.substring(f,h)}return d};n.prototype.hb=function(){if(this.D==null)l.f("Skipping cookie creation: no cookie info");else if(this.I==null)l.e("Skipping cookie creation: no cookie value");else{var a=new Date;a.setTime(1000*this.D._expires_);var b=this.D._domain_,c=this.da+
this.I+"; expires="+a.toGMTString()+"; path="+this.D._path_+"; domain=."+b;document.cookie=c;l.a("Written cookie: "+c)}};var q=document,r=navigator,s=window;function ba(){var a=q.cookie,b=Math.round((new Date).getTime()/1000),c=s.google_analytics_domain_name,d=typeof c=="undefined"?t("auto"):t(c),f=a.indexOf("__utma="+d+".")>-1,h=a.indexOf("__utmb="+d)>-1,i=a.indexOf("__utmc="+d)>-1,k,o={};if(f){k=a.split("__utma="+d+".")[1].split(";")[0].split(".");o.sid=h&&i?k[3]+"":(s&&s.gaGlobal&&s.gaGlobal.sid?s.gaGlobal.sid:b+"");o.vid=k[0]+"."+k[1];o.from_cookie=true;o.dh=d}else{o.sid=s&&s.gaGlobal&&s.gaGlobal.sid?s.gaGlobal.sid:
b+"";o.vid=s&&s.gaGlobal&&s.gaGlobal.vid?s.gaGlobal.vid:(u()^ca())*2147483647+"."+b;o.from_cookie=false}o.hid=s&&s.gaGlobal&&s.gaGlobal.hid?s.gaGlobal.hid:u();s.gaGlobal=o;return o}function u(){return Math.round(Math.random()*2147483647)}function ca(){var a=q.cookie?q.cookie:"",b=s.history.length,c,d,f=[r.appName,r.version,r.language?r.language:r.browserLanguage,r.platform,r.userAgent,r.javaEnabled()?1:0].join("");if(s.screen)f+=s.screen.width+"x"+s.screen.height+s.screen.colorDepth;else if(s.java){d=
java.awt.Toolkit.getDefaultToolkit().getScreenSize();f+=d.screen.width+"x"+d.screen.height}f+=a;f+=q.referrer?q.referrer:"";c=f.length;while(b>0)f+=b--^c++;return v(f)}function v(a){var b=1,c=0,d,f;if(!(a==undefined||a=="")){b=0;for(d=a.length-1;d>=0;d--){f=a.charCodeAt(d);b=(b<<6&268435455)+f+(f<<14);c=b&266338304;b=c!=0?b^c>>21:b}}return b}function t(a){if(!a||a==""||a=="none")return 1;if("auto"==a){a=q.domain;if("www."==a.substring(0,4))a=a.substring(4,a.length)}return v(a)};window.googleSkipProperty=function(a){return typeof a=="function"};if(!Array.prototype.push)Array.prototype.push=function(){for(var a=0;a<arguments.length;a++)this[this.length]=arguments[a];return this.length};if(window._GA_googleAdData==null)window._GA_googleAdData=new x;if(window._GA_googleAdEngine==null)window._GA_googleAdEngine=null;window.GA_googleAddSlot=function(a,b){if(a==null||a.length==0){l.e("publisher id cannot be null or empty");return null}else if(b==null||b.length==0){l.e("slot name cannot be null or empty for publisher "+
a);return null}var c=new z(a,b);return window._GA_googleAdData.ea(c)};window.GA_googleFetchAds=function(){window._GA_googleAdData.jb=true;window._GA_googleAdEngine=A.newInstance(null);window._GA_googleAdEngine.initialize();var a=window._GA_googleAdEngine.A;if(a==A.SYNC||a==A.SYNC_SRA){l.a("Synchronous implementation: Skipping slotdata request");window._GA_googleAdEngine.p()}else window._GA_googleAdData.Ea()};window.GA_googleUseIframeRendering=function(){window._GA_googleAdEngine=A.newInstance(A.IFRAME);
window._GA_googleAdEngine.initialize();window._GA_googleCookieHelper.Da(window.GS_googleGetIdsForAdSenseService())};window.GA_googleUseSyncSRARendering=function(){var a=C.getParameter("google_ad_impl");if(a==null)C.setParameter("google_ad_impl",A.SYNC_SRA)};window.GA_googleFillSlot=function(a){if(window._GA_googleAdEngine==null){l.e('GA_googleFetchAds() must be called prior to GA_googleFillSlot("'+a+'") ');return}if(window._GA_googleAdEngine.A==A.IFRAME){l.e("Use GA_googleFillSlotWithSize(client, slotname, width, height) for iframe rendering instead of GA_googleFillSlot()");
return}if(window._GA_googleAdEngine.ba())if(!window._GA_googleAdEngine.aa){l.e("Unable to retrieve AdSlot information");return}else{var b=window._GA_googleAdData.z(a);if(b==null){l.e('Skipping undefined Ad Slot("'+a+'")');return}else if(!b._enabled_){l.a('Skipping disabled Ad Slot("'+a+'")');return}}else if(window._GA_googleAdEngine.F(a)!=null&&!window._GA_googleAdEngine.w){l.f("FillSlot() called again for "+a);return}window._GA_googleAdEngine.r(a)};window.GA_googleFillSlotWithSize=function(a,b,c,
d){if(window._GA_googleAdEngine==null){l.e("GA_googleUseIframeRendering() must be called prior to  GA_googleFillSlotWithSize() ");return}if(window._GA_googleAdEngine.A!=A.IFRAME){l.e("GA_googleFillSlotWithSize() is only supported for iframe rendering. Enable iframe rendering with GA_googleUseIframeRendering() or use GA_googleFillSlot()");return}var f=new z(a,b);window._GA_googleAdData.ea(f);var h=new D(c,d,false,true);window._GA_googleAdData.wa(b,h);window._GA_googleAdEngine.r(b)};window.GA_googleAddAttr=
function(a,b){window._GA_googleAdData.xa(a,b)};window.GA_googleAddAdSensePageAttr=function(a,b){window._GA_googleAdData.ua(a,b)};window.GA_googleAddAdSenseSlotAttr=function(a,b,c){window._GA_googleAdData.va(a,b,c)};window.GA_googleResetAll=function(){window._GA_googleAdData=new x;window._GA_googleAdEngine=null};window.google_noFetch=false;window.GA_googleNoFetch=function(){window.google_noFetch=true};window.GA_googleDelayFetch=function(){window.google_delayFetch=true};function D(a,b,c,d){this._width_=
a;this._height_=b;this._expandable_=c;this._enabled_=d}D.prototype.toString=function(){return"[GA_GoogleAdAttr: width="+this._width_+", height="+this._height_+", expandable="+this._expandable_+", enabled="+this._enabled_+"]"};function da(a){var b={},c=a.split("?"),d=c[c.length-1].split("&");for(var f=0;f<d.length;f++){var h=d[f].split("=");if(h[0])try{b[h[0].toLowerCase()]=h.length>1?(window.decodeURIComponent?decodeURIComponent(h[1].replace(ea," ")):unescape(h[1])):""}catch(i){}}return b}function E(){this.Xa=
da(document.URL)}E.prototype.getParameter=function(a){return a==null?null:this.Xa[a]};E.prototype.setParameter=function(a,b){this.Xa[a]=b};E.prototype.debug=function(){l.a("publisher URL="+document.URL);l.a("user agent="+navigator.userAgent);l.a("appVersion="+navigator.appVersion)};if(typeof C=="undefined")var C=new E;var fa=/function (^\w+)/;function ga(a){var b=fa.exec(String(a));if(b)return b[1];return""}function F(a){try{if(!a)return"";var b=ga(a),c="";if(b!=null&&b.length>0&&b!="anonymous"){c=
"- "+b+"(";for(var d=0;d<a.arguments.length;d++){if(d>0)c+=", ";var f=String(a.arguments[d]);if(f.length>80)f=f.substr(0,80)+"...";c+=f}c+=")<br>"}c+=F(a.caller);return c}catch(h){return"[Cannot get stack trace]: "+h+"\n"}}function p(a){return typeof encodeURIComponent=="function"?encodeURIComponent(a):escape(a)}function G(){this.l=null;this.Q=false;this.V=null;this.isDebug=C.getParameter("google_debug")!=null;if(this.isDebug)this.K()}G.prototype.Oa=function(){var a=(new Date).valueOf();if(this.V==
null)this.V=a;return a-this.V};G.prototype.K=function(){if(this.l!=null)return;else if(this.Q)return;else{this.l=window.open("","GoogleDebug","width=1100, height=600, status=no, resizable=yes, scrollbars=yes");if(!this.l){this.Q=true;return}var a=this.l.document,b="<html>\n<head>\n<title>Google Debug Window</title>\n</head>\n<body>\n";b+="<p>Google Debug Window</p>";b+='<form action="" method="post">';b+="<table>";b+="<tr><td>";b+="</td></tr><tr><td>";b+='<table id="google_msg_table" width="1000" border="1" cellpadding="2">';
b+="<thead>";b+="<tr>";b+='<th>Offset (msec)</th><th>Level</th><th align="left">Message</th>';b+="</tr></thead>";b+='<tbody id="google_msg_body"/>';b+="</table>";b+="</td></tr></table>";b+="</form>";b+="</body>\n</html>";a.write(b);a.close()}};G.prototype.a=function(a){this.S("Information",a)};G.prototype.f=function(a){this.S("Warning",a)};G.prototype.e=function(a){this.S("Error",a)};G.colorTable={Information:"green",Warning:"orange",Error:"red"};G.prototype.X=function(a,b){return"<font color='"+
G.colorTable[a]+"'>"+b+"</font>"};G.prototype.S=function(a,b){var c=this.l;if(!c)return;var d=this.l.document.getElementById("google_msg_table");if(d!=null){var f=d.insertRow(-1),h=f.insertCell(0);h.innerHTML=this.X(a,""+this.Oa());var i=f.insertCell(1);i.innerHTML=this.X(a,a);var k=f.insertCell(2),o=F(this.S.caller);if(o.length>0){b+="<br>Triggered by: <br>";b+=o}k.innerHTML=this.X(a,b)}else alert("fails to add to console: "+a+", "+b)};G.prototype.o=function(a){return a.replace(/&/g,"&amp;").replace(/</g,
"&lt;").replace(/>/g,"&gt;").replace(/\"/g,"&quot;")};if(l==null)l=new G;l.a("google_ads.js is being loaded at "+(new Date).toLocaleString());C.debug();function H(){this.l=null;this.Q=false;this.V=(new Date).valueOf()}H.prototype.K=function(a){if(this.l!=null)return;else if(this.Q)return;else{this.l=window.open("","GoogleAdCapture","width=1100, height=1400, status=no, resizable=yes, scrollbars=yes,menubar=yes, toolbar=yes");if(!this.l){this.Q=true;return}var b=this.l.document,c=[];c.push('<html>\n<head>\n<title>Google Ad Capture Window</title>\n<script>function displayTime(id, start){var delta=(new Date()).valueOf() - start;document.getElementById(id).innerHTML=""+delta;}var pageStartTime = (new Date()).valueOf();var slotStartTime = 0;window.onload=function(){displayTime("total", pageStartTime);};<\/script></head>\n<body>\n');
c.push("<p>Google Ad Capture Window</p>");for(var d in a){if(window.googleSkipProperty(a[d]))continue;c.push(this.gb(d,a[d]))}c.push("<p>Time blocked rendering ads (ms): <label id='blocked'></label>");c.push("<script>displayTime('blocked', pageStartTime);<\/script>");c.push("<p>Total Page Load Time (ms): <label id='total'></label>");c.push("</body>\n</html>");var f=c.join("\n"),h=C.getParameter("google_capture_norender")!=null;if(h)b.write(l.o(f));else b.write(f);b.close()}};H.prototype.gb=function(a,
b){var c="<script>slotStartTime = (new Date()).valueOf();<\/script>",d="<p>Slot "+a+"</p>",f;f=b==null||b._html_==null?"No ad":b._html_;var h="<p>Slot Time (ms): <label id='"+a+"'></label>",i='<script>displayTime("'+a+'", slotStartTime);<\/script>';return c+d+"\n"+f+"\n"+h+i};if(typeof I=="undefined")var I=new H;if(window._GA_googleCookieHelper==null)window._GA_googleCookieHelper=new n;function J(){this.i={}}J.ParamComponents={PAGE_LEVEL:0,SLOT_LEVEL:1};J.prototype.U=function(a,b,c){if(!a){l.e("cannot add attribute whose key is null or blank");
return}else if(!b)b="";if(!(a in e)){l.f("Skipping unknown adsense attribute: "+a+" in the request");return}c=typeof c=="undefined"||c;if(c||!this.i[a])this.i[a]=b;l.a("added adsense parameter="+a+" with value="+b)};J.prototype.Va=function(a){for(var b in a.i){if(window.googleSkipProperty(a.i[b]))continue;if(!this.i[b])this.i[b]=a.i[b]}};J.prototype.getAttribute=function(a){return this.i[a]};J.prototype.ja=function(){return this.i};J.prototype.j=function(){var a=[];for(var b in this.i){if(window.googleSkipProperty(this.i[b]))continue;
if(b=="google_gl"&&this.i.google_country!=null)continue;var c=g(b),d=this.i[b];if(c&&d)a.push(c+"="+p(d))}return a.join("&")};J.generateBatchedAfcParams=function(a,b,c,d){var f=J.generatePageAndSlotAfcParamComponents(a,b,c,d),h=[];if(f[J.ParamComponents.PAGE_LEVEL]&&f[J.ParamComponents.PAGE_LEVEL].length>0)h.push(f[J.ParamComponents.PAGE_LEVEL].join("&"));if(f[J.ParamComponents.SLOT_LEVEL]&&f[J.ParamComponents.SLOT_LEVEL].length>0)h.push("sps="+f[J.ParamComponents.SLOT_LEVEL].join("|"));return h.join("&")};
J.generatePageAndSlotAfcParamComponents=function(a,b,c,d){var f=[],h=[],i=b.ja();for(var k in d){if(window.googleSkipProperty(k))continue;var o=g(k);if(!o)continue;var B="";if(i[k]!=null)B=p(i[k]);var w=[],y=-1,K=-1;for(var L in a){if(window.googleSkipProperty(a[L]))continue;else++y;if(c[L]==null){w.push("");continue}var Z=c[L].ja();if(Z[k]!=null){w.push(p(p(Z[k])));K=y}else w.push("")}if(K>=0){var ia=p(B),M=[];M.push(ia);for(var N=0;N<=K;++N)M.push(w[N]);h.push(o+","+M.join(","))}else if(B)f.push(o+
"="+B)}var O=[];O.push(f);O.push(h);return O};function z(a,b){this.oa=a;this.v=b;this.ca=0;this.P=0;this.ga=false;this.$a=false;this.Fa=null;this.fa=null;this.Za=null;this.qa=null}z.prototype.ra=function(){this.ga=true;this.Fa=(new Date).valueOf()};z.prototype.bb=function(){this.fa=(new Date).valueOf()};z.prototype.M=function(){if(this.ga&&this.fa!=null)return this.fa-this.Fa;return 0};z.prototype.db=function(){this.$a=true;this.Za=(new Date).valueOf()};z.prototype.cb=function(){this.qa=(new Date).valueOf()};
z.prototype.N=function(){if(this.$a&&this.qa!=null)return this.qa-this.Za;return 0};z.prototype.toString=function(){return"[GA_GoogleAdSlot: pubid="+this.oa+", name="+this.v+", loaded="+this.P+", tries="+this.ca+"]"};z.prototype.fb=function(){return"Slot: publisher id="+this.oa+", name="+this.v};function x(){this.b={};this.s=[];this.G={};this.Wa=new J;this.R={};this.jb=false;this.k=null}x.prototype.ea=function(a){var b=this.b[a.v];if(b)l.e("Slot "+a.v+" has already been defined");else l.a(a.fb()+
" has been added");this.b[a.v]=a;return a};x.prototype.ka=function(){var a=0;for(var b in this.b){if(window.googleSkipProperty(this.b[b]))continue;var c=this.z(b),d=this.b[b];if(c!=null&&c._enabled_&&!d.ga)a++}return a};x.prototype.Na=function(){var a=0;for(var b in this.b){if(window.googleSkipProperty(this.b[b]))continue;var c=this.z(b);if(c!=null&&c._enabled_)a++}return a};x.prototype.na=function(){for(var a in this.b){if(window.googleSkipProperty(this.b[a]))continue;var b=this.b[a];b.ra()}};x.prototype.ma=
function(a){var b=this.b[a];b.ra()};x.prototype.la=function(a){var b=this.b[a];b.bb()};x.prototype.Ua=function(a){var b=this.b[a];b.db()};x.prototype.B=function(a){var b=this.b[a];b.cb()};x.prototype.M=function(){var a=0;for(var b in this.b){if(window.googleSkipProperty(this.b[b]))continue;a+=this.b[b].M()}return a};x.prototype.N=function(){var a=0;for(var b in this.b){if(window.googleSkipProperty(this.b[b]))continue;a+=this.b[b].N()}return a};x.prototype.toString=function(){var a="[AdData:",b=[];
for(var c in this.b){if(window.googleSkipProperty(this.b[c]))continue;b.push(this.b[c].toString())}for(var d in this.G){if(window.googleSkipProperty(this.G[d]))continue;b.push("["+d+","+this.G[d]+"]")}a+=b.join();a+="]";return a};x.prototype.t=function(a){return this.b[a]};x.prototype.xa=function(a,b){if(a==null||a.length==0){l.e("cannot add attribute whose key is null or blank");return}else if(b==null||b.length==0)b="";var c=this.G[a];this.G[a]=c==null?b:c+","+b;l.a("added attribute with key="+a+
" and value="+b)};x.prototype.ua=function(a,b){this.Wa.U(a,b)};x.prototype.ia=function(){return this.Wa};x.prototype.va=function(a,b,c){if(a==null||a.length==0){l.e("cannot add attribute to a null or blank adslot");return}if(window._GA_googleAdEngine==null||window._GA_googleAdEngine.A!=A.IFRAME){var d=this.t(a);if(d==null){l.f("Trying to add adsense attribute to a non-existent or disabled slot: "+a);return}}var f=this.R[a];if(f==null)this.R[a]=new J;this.R[a].U(b,c)};x.prototype.La=function(a){return this.R[a]};
x.BASE_SLOTATTR_URL="http://partner.googleadservices.com/gampad/slotdata.js?callback=_GA_googleAdData.setAdSlotAttributes";x.prototype.Ea=function(){if(this.k!=null){window._GA_googleAdEngine.p();return}l.a(window._GA_googleAdData.toString());var a=[];for(var b in this.b){if(window.googleSkipProperty(this.b[b]))continue;a.push(b)}var c=window.GS_googleGetIdsForAdSenseService(),d=x.BASE_SLOTATTR_URL+"&client="+escape(c)+"&page_slots="+escape(a.join());l.a("Issuing fetch ad attr call with <a href='"+
d+"'>"+d+"</a>");document.write("<script src = '"+d+"'><\/script>")};x.prototype.setAdSlotAttributes=function(a){this.k=a;l.a("Attributes received for slots "+this.ta());window._GA_googleAdEngine.aa=true;window._GA_googleAdEngine.p()};x.prototype.wa=function(a,b){if(this.k==null)this.k={};this.k[a]=b;l.a("Attributes added for slot "+a);window._GA_googleAdEngine.aa=true};x.prototype.ta=function(){var a=[];for(var b in this.k){if(window.googleSkipProperty(this.k[b]))continue;var c=this.k[b];if(this.b[b]==
null)continue;a.push("["+b+": width="+c._width_+", height="+c._height_+", expandable="+c._expandable_+", enabled="+c._enabled_+"]")}return a.join()};x.prototype.z=function(a){return this.k!=null?this.k[a]:null};function P(a,b){this.lb=a;this.ib=b}P.HTML_TYPE="html";P.JS_TYPE="js";function Q(a,b){this.AdSlotContent=P;this.AdSlotConent(Q.HTML_TYPE,a);this._html_=b}Q.prototype.toString=function(){return"[GA_HTMLAdSlotContent expandable="+this.ib+", html="+this._html_+"]"};Q.prototype=new P(Q.HTML_TYPE,
false);R.BASE_URL="http://partner.googleadservices.com/gampad/ads?";R.MAX_URL_LENGTH=2000;function R(a){this.h=null;this.k={};this.d=null;this.u=l;this.w=a;this.C=false;this.H=false;this.n=false;this.A=A.SYNC;this.kb=e}R.prototype.initialize=function(){this.C=C.getParameter("google_nofetch")!=null||window.google_noFetch;this.H=C.getParameter("google_norender")!=null;this.n=C.getParameter("google_capture")!=null||C.getParameter("google_capture_norender")!=null;if(this.n)this.H=true;if(navigator.userAgent.indexOf("MSIE")>
0)window.attachEvent("onload",function(){return window._GA_googleAdEngine.generateSummary()});else window.addEventListener("load",function(){return window._GA_googleAdEngine.generateSummary()},false);if(this.C)l.f("Fetching Ads from Google has been suppressed");if(this.H)l.f("Rendering Ads from Google has been suppressed");if(this.n)l.f("Ads from Google are sent to Capture window")};R.prototype.generateSummary=function(){l.a("Time the page is blocked fetching ads from Google "+window._GA_googleAdData.M()+
" ms");l.a("Time the page is blocked rendering ads from Google "+window._GA_googleAdData.N()+" ms");l.a("Page loaded");if(this.n)I.K(this.h)};R.prototype.q=function(){var a=C.getParameter("google_ad_url");if(a==null||a.length==0)this.d=R.BASE_URL;else{if(a.charAt(a.length-1)!="?")a+="?";l.a("Using a new ad url "+a);this.d=a}};R.prototype.F=function(a){return this.h!=null?this.h[a]:null};R.prototype.Qa=function(){if(this.h==null)return"No content";else{var a=[];for(var b in this.h){if(window.googleSkipProperty(this.h[b]))continue;
if(window._GA_googleAdData.t(b)==null)continue;a.push(b)}return a.join()}};R.getIEVersionNumber=function(){var a=navigator.userAgent,b=a.indexOf("MSIE ");return b==-1?0:parseFloat(a.substring(b+5,a.indexOf(";",b)))};var ea=/\+/g;R.prototype.Sa=function(a){a=a.toLowerCase();if(a.substring(0,3)!="ca-")a="ca-"+a;return a};R.prototype.g=function(a,b){if(b!=null)this.c(a,p(b))};R.prototype.c=function(a,b){if(b!=null)this.d+=this.d.charAt(this.d.length-1)!="?"?"&"+a+"="+b:a+"="+b};R.prototype.Ka=function(a){var b=
window._GA_googleAdData.b,c=[],d=[],f=[];for(var h in b){if(window.googleSkipProperty(b[h]))continue;if(this.ba()){var i=window._GA_googleAdData.z(h);if(i==null||!i._enabled_)continue}var k=b[h];f.push(k.v);if(a!=null&&a!=k.v)continue;c.push(k.v);d.push(this.Sa(k.oa))}this.g("client",d[0]);this.g("slotname",c.join());if(this.w){if(f.length>0)this.g("page_slots",f.join())}else if(window._GA_googleAdData.s.length>0)this.g("page_slots",window._GA_googleAdData.s.join())};R.prototype.Pa=function(a,b){if(b!=
null){var c=a.lastIndexOf("?"),d=a.indexOf("google_preview=",c),f=a.indexOf("&",d);if(f==-1){f=a.length-1;d-=1}return a.substring(0,d)+a.substring(f+1,a.length)}return a};R.prototype.Ga=function(a,b,c){this.g("url",this.Pa(document.URL,C.getParameter("google_preview")));this.g("ref",document.referrer);this.g("lmt",Date.parse(document.lastModified)/1000);this.c("dt",a.getTime());if(document.body){var d=document.body.scrollHeight,f=document.body.clientHeight;if(f&&d)this.g("cc",Math.round(f*100/d))}var h=
C.getParameter("deb");if(h!=null)this.g("deb",h);var i=C.getParameter("haonly");if(i!=null)this.g("haonly",i);if(navigator.userAgent.indexOf("MSIE ")>0){var k=window._GA_googleAdData.ia();k.U("google_encoding",document.charset,false)}var o=window._GA_googleAdData.b,B=window._GA_googleAdData.R,w=window._GA_googleAdData.La(b),k=window._GA_googleAdData.ia(),y="";if(c)y=J.generateBatchedAfcParams(o,k,B,this.kb);else{if(w==null)w=k;else w.Va(k);y=w.j()}if(y)this.d+="&"+y};R.prototype.Ja=function(){var a=
window._GA_googleAdData.G,b=[];for(var c in a){if(window.googleSkipProperty(a[c]))continue;b.push(p(c)+"="+p(a[c]))}this.g("cust_params",b.join("&"));this.g("cookie",window._GA_googleCookieHelper.Ra());if(window._GA_googleCookieHelper.Ma())this.g("cookie_enabled",1)};R.prototype.Ha=function(){ba();var a=window;this.c("ga_vid",a.gaGlobal.vid);this.c("ga_sid",a.gaGlobal.sid);this.c("ga_hid",a.gaGlobal.hid);this.c("ga_fc",a.gaGlobal.from_cookie);this.g("ga_wpids",a.google_analytics_uacct)};R.prototype.Ta=
function(a,b){var c=a.screen,d=navigator.javaEnabled(),f=-b.getTimezoneOffset();if(c){this.c("u_h",c.height);this.c("u_w",c.width);this.c("u_ah",c.availHeight);this.c("u_aw",c.availWidth);this.c("u_cd",c.colorDepth)}this.c("u_tz",f);this.c("u_his",window.history.length);this.c("u_java",d);if(navigator.plugins)this.c("u_nplug",navigator.plugins.length);if(navigator.mimeTypes)this.c("u_nmime",navigator.mimeTypes.length)};R.prototype.j=function(a){this.q();var b=new Date;this.Ka(a);this.Ja();if(C.getParameter("google_preview")!=
null)this.c("gct",C.getParameter("google_preview"));this.Ha();this.Ga(b,a,this.w);this.Ta(window,b);if(this.d.length>R.MAX_URL_LENGTH)l.e("Truncated URL with length "+this.d.length+" bytes to "+R.MAX_URL_LENGTH+" bytes: "+this.d);this.d=this.d.substring(0,R.MAX_URL_LENGTH);this.d=this.d.replace(/%\w?$/,"");return this.d};R.IFRAME_PREFIX="google_ads_iframe_";R.IFRAME_PREFIX_LEN=R.IFRAME_PREFIX.length;R.eb=true;R.aa=false;R.prototype.ba=function(){return R.eb};R.prototype.Z=function(a){return R.IFRAME_PREFIX+
a};R.prototype.O=function(a){var b=a.getAttribute("id"),c=b.substr(R.IFRAME_PREFIX_LEN,b.length-R.IFRAME_PREFIX_LEN);return c};R.prototype.createiframe=function(a,b,c,d,f){var h=this.Y(a),i=this.Z(a),k="<div id="+h+">",o="scrolling="+(this.n?'"auto"':'"no"');k+="<iframe id="+i+" name="+i+' width="'+d+'" height="'+f+'" vspace="0" hspace="0" allowtransparency="true" '+o+' marginwidth="0" marginheight="0" frameborder="0" style="border:0px;" src="'+l.o(b)+'"';if(c!=null)k+=' onload="'+c+'"';k+="></iframe></div>";
if(c!=null)l.a("Generated iframe for slot "+a+" width:"+d+" height:"+f+" with <a href='"+b+"'>"+b+"</a> and content="+l.o(k));else l.a("Generated iframe for slot "+a+" width:"+d+" height:"+f+" with <a href='"+b+"'>"+b+"</a>");document.write(k)};R.prototype.createDOMIframe=function(a,b){var c=this.F(b),d=c._width_,f=c._height_,h=c._html_;l.a("Generating iframe of size "+d+"x"+f+" for slot "+b+" withcontent="+l.o(h));var i=document.createElement("iframe");i.id=this.Z(b);i.name=this.Z(b);i.width=d;i.height=
f;i.vspace=0;i.hspace=0;i.allowTransparency="true";i.scrolling="no";i.marginWidth=0;i.marginHeight=0;i.frameBorder=0;i.style.border=0;var k=document.getElementById(a);k.appendChild(i);if(this.n){i.contentWindow.document.write(l.o(h));i.scrolling="auto"}else i.contentWindow.document.write(h);i.contentWindow.document.close();window._GA_googleAdData.B(b)};R.prototype.loadiframe=function(a){var b=this.O(a),c=window._GA_googleAdData.t(b);if(c.P)return;c.P=true;var d=this.F(b),f=a.parentNode;if(d==null||
d._html_==null){f.removeChild(a);this.u.f("Removed iframe for slot due to lack of content: "+b);window._GA_googleAdData.B(b);return}else if(d._expandable_){f.innerHTML=d._html_;window._GA_googleAdData.B(b);return}var h=a.contentWindow?a.contentWindow.document:a.contentDocument;if(h==null)if(document.implementation&&document.implementation.createDocument)h=document.implementation.createDocument("",b,null);else if(typeof ActiveXObject!="undefined")h=new ActiveXObject("Msxml.DOMDocument");else{this.u.e("Cannot create document in iframe for slot "+
b+" with "+this.u.o(d._html_));return}h.open("text/html","replace");if(this.n)h.write(this.u.o(d._html_));else h.write(d._html_);h.close();window._GA_googleAdData.B(b);this.u.a("Filling iframe for slot "+b+" with "+this.u.o(d._html_))};R.DIV_PREFIX="google_ads_div_";R.DIV_PREFIX_LEN=R.DIV_PREFIX.length;R.prototype.Y=function(a){return R.DIV_PREFIX+a};R.prototype.za=function(a){var b=this.Y(a),c="<div id="+b+">",d=this.F(a);if(d==null){this.u.f("Suppressing div for slot due to lack of content: "+a);
return}c+=d._html_;c+="\n</div>\n";l.a("Generated div for slot "+a+" with "+l.o(c));document.write(c);window._GA_googleAdData.B(a);return b};R.prototype.ya=function(a){var b=this.Y(a),c="<div id="+b+">";c+="\n</div>\n";l.a("Generated div for iframe for slot "+a);document.write(c);return b};R.prototype.J=function(){if(!this.ba())return true;if(window._GA_googleAdData.ka()>0)return true;else if(window._GA_googleAdData.Na()==0){l.f("No slots defined on page");return false}};R.prototype.setAdContentsBySlot=
function(a){if(this.h==null){this.h=a;for(var b in a){if(window.googleSkipProperty(a[b]))continue;window._GA_googleAdData.la(b)}}else for(var b in a){if(window.googleSkipProperty(a[b]))continue;this.h[b]=a[b];window._GA_googleAdData.la(b)}l.a("AdContents received for slots "+this.Qa());var c=false;for(var b in a){if(window.googleSkipProperty(a[b]))continue;var d=a[b];if(c){d._cookies_=[window._GA_googleCookieHelper.Ia()];c=false}if(d!=null&&d._cookies_!=null)window._GA_googleCookieHelper.setCookieInfo(d)}};
function S(a){this.AdEngine=R;this.AdEngine(a);this.AdEngine.eb=false;this.m=(new Date).getTime();l.a("Generated a correlator="+this.m);this.A=a?A.SYNC_SRA:A.SYNC}S.prototype=new R(false);S.prototype.q=function(){var a=C.getParameter("google_ad_url");if(a==null)this.d=R.BASE_URL;this.g("correlator",this.m);this.c("output","json_html");this.c("callback","_GA_googleAdEngine.setAdContentsBySlotForSync");if(this.w)this.c("impl","ss");else this.c("impl","s");var b=0,c=true;for(var d in this.h){if(window.googleSkipProperty(this.h[d]))continue;
var f=this.h[d];if(f._is_afc_==undefined){c=false;break}else b=2*b+(f._is_afc_?1:0)}if(c)this.c("prev_afc",b)};S.prototype.Ca=function(a){var b=window._GA_googleAdData.b,c=b[a];if(c==null)l.e("Skipping undefined AdSlot "+a);else if(this.C)l.a("Skip Issuing fetch ads call for "+a);else{this.j(c.v);window._GA_googleAdData.ma(a);l.a("Issuing fetch ads call with <a href='"+this.d+"'>"+this.d+"</a>");document.write("<script src = '"+this.d+"'><\/script>")}};S.prototype.setAdContentsBySlotForSync=function(a){this.setAdContentsBySlot(a);
if(this.w)if(window._GA_googleAdData.s.length==1){var b=window._GA_googleAdData.s[0];l.a("Filling contents for first slot: "+b);this.$(b);return}else l.e("Ad request should be sent from the first  fillSlot call for SRA");for(var c in a){if(window.googleSkipProperty(a[c]))continue;this.$(c)}};S.prototype.p=function(){if(!this.J())return};S.prototype.Ba=function(){this.j(null);l.a("Issuing SRA fetch ads call with <a href='"+this.d+"'>"+this.d+"</a>");document.write("<script src = '"+this.d+"'><\/script>");
window._GA_googleAdData.na()};S.prototype.r=function(a){window._GA_googleAdData.s.push(a);if(this.w)if(window._GA_googleAdData.s.length==1)this.Ba();else{l.a("Now really fill contents for adslot: "+a);this.$(a)}else this.Ca(a)};S.prototype.$=function(a){var b=window._GA_googleAdData.t(a);if(b==null){l.e("This slot has not been defined: "+a);return}var c="_GA_googleAdEngine.syncAdSlotLoaded(this);",d=this.F(a);window._GA_googleAdData.Ua(a);if(d==null||d._empty_){window._GA_googleAdData.B(a);l.f("supressing slot "+
a+" due to lack of content")}else if(this.H&&!this.n)window._GA_googleAdData.B(a);else if(d._snippet_&&!d._is_afc_&&!this.n)this.za(a);else if(navigator.userAgent.indexOf("MSIE ")>0)this.createiframe(a,"about:blank",c,d._width_,d._height_);else{var f=this.ya(a);document.write("<script>_GA_googleAdEngine.createDOMIframe('"+f+"' ,'"+a+"');<\/script>")}};S.prototype.syncAdSlotLoaded=function(a){var b=this.O(a),c=window._GA_googleAdData.t(b);if(!c.P)this.u.a("iframe is loaded for slot "+b);this.loadiframe(a)};
function T(a){this.AdEngine=R;this.AdEngine(a);this.m=(new Date).getTime();l.a("Generated a correlator="+this.m);this.A=A.ASYNC}T.prototype=new R(false);T.prototype.q=function(){var a=C.getParameter("google_ad_url");if(a==null)this.d=R.BASE_URL;this.ab();this.g("correlator",this.m);this.c("output","json_html");this.c("callback","_GA_googleAdEngine.setAdContentsBySlot");this.c("impl","a")};T.MAXTRIES=30;T.DEFAULT_ASYNC_DELAY=500;T.INITIAL_ASYNC_DELAY=20;T.prototype.ab=function(){this.delay=T.DEFAULT_ASYNC_DELAY;
var a=C.getParameter("google_async_delay");if(a!=null)this.delay=1000*a};T.prototype.p=function(){if(!this.J())return;l.a(window._GA_googleAdData.toString());if(this.C)l.a("Skip Issuing fetch ads call for all slots");else{l.a("Set a timer to fetch Ads");window.setTimeout("_GA_googleAdEngine.reallyFetchAds();",this.INITIAL_ASYNC_DELAY)}};T.prototype.reallyFetchAds=function(){if(window._GA_googleAdData.ka()==0){l.a("optimized away a fetchAds call");return}var a=document.getElementsByTagName("head")[0];
if(this.w){var b=document.createElement("script");b.src=this.j(null);a.appendChild(b);l.a("Issuing fetch ads call with <a href='"+this.d+"'>"+this.d+"</a>");window._GA_googleAdData.na()}else{var c=window._GA_googleAdData.b;for(var d in c){if(window.googleSkipProperty(c[d]))continue;var b=document.createElement("script");b.src=this.j(d);a.appendChild(b);l.a("Issuing fetch ads call for "+d+" with <a href='"+this.d+"'>"+this.d+"</a>");window._GA_googleAdData.ma(d)}}};T.prototype.r=function(a){var b=
window._GA_googleAdData.t(a);if(b==null){l.e("This slot has not been defined: "+a);return}window._GA_googleAdData.s.push(a);var c="_GA_googleAdEngine.asyncAdSlotLoaded(this);",d=window._GA_googleAdData.z(a);this.createiframe(a,"about:blank",c,d._width_,d._height_)};T.prototype.asyncAdSlotLoaded=function(a){var b=this.O(a),c=window._GA_googleAdData.t(b);if(!c.P)this.u.a("iframe is not loaded for slot "+b);if(!this.C&&!this.H)this.sa(a)};T.prototype.sa=function(a){var b=this.O(a),c=window._GA_googleAdData.t(b);
if(this.h==null||this.h[b]==null){if(c.ca>T.MAXTRIES){l.e("Giving up on waiting for ads for "+b);return}l.a("Set a timer to wait for ads for "+b+", tries="+c.ca);window.setTimeout(function(){window._GA_googleAdEngine.sa(a)},this.delay);c.ca++;return}this.loadiframe(a)};T.prototype.generateSummary=function(){l.a("Page loaded")};function U(a){this.AdEngine=R;this.AdEngine(a);this.m=(new Date).getTime();l.a("Generated a correlator="+this.m);this.A=A.FALLBACK}U.prototype=new R(false);U.prototype.q=function(){var a=
C.getParameter("google_ad_url");if(a==null)this.d=R.BASE_URL;this.g("correlator",this.m);this.c("output","html");this.c("impl","fb")};U.prototype.p=function(){if(!this.J())return;l.a(window._GA_googleAdData.toString())};U.prototype.L=function(a){var b;if(this.w){this.j(null);b=this.d+"&currentslot="+p(a)}else b=this.j(a);return b};U.prototype.r=function(a){var b=window._GA_googleAdData.z(a);if(b==null){l.e("This slot has not been defined: "+a);return}window._GA_googleAdData.s.push(a);if(this.C)l.f("Skip Issuing fetch ads call for "+
a);else{var c=this.L(a);this.createiframe(a,c,null,b._width_,b._height_)}};function V(a){this.AdEngine=R;this.AdEngine(a);this.m=(new Date).getTime();this.aa=true;this.A=A.IFRAME;l.a("Generated a correlator="+this.m);if(this.C)l.f("Fetching Ads from Google has been suppressed");if(this.n)l.f("google_capture is not supported for iframe implementation");else if(this.H)l.f("google_norender is not supported for iframe implementation")}V.prototype=new R(false);V.prototype.q=function(){var a=C.getParameter("google_ad_url");
if(a==null)this.d=R.BASE_URL;this.g("correlator",this.m);this.c("output","html");this.c("impl","ifr")};V.prototype.p=function(){if(!this.J())return;l.a(window._GA_googleAdData.toString())};V.prototype.L=function(a){var b;if(this.w){this.j(null);b=this.d+"&currentslot="+p(a)}else b=this.j(a);return b};V.prototype.r=function(a){var b=window._GA_googleAdData.z(a);if(b==null){l.e("This slot has not been defined: "+a);return}window._GA_googleAdData.s.push(a);if(this.C)l.f("Skip Issuing fetch ads call for "+
a);else{var c=this.L(a);this.createiframe(a,c,null,b._width_,b._height_)}};function W(a){if(a in X)return X[a];return X[a]=navigator.userAgent.toLowerCase().indexOf(a)!=-1}var X={};function Y(){return W("msie")&&!window.opera}function $(){return W("firefox")}function ha(){return W("safari")}function A(){}A.ASYNC="async";A.SYNC="sync";A.SYNC_SRA="sync_sra";A.FALLBACK="fallback";A.IFRAME="iframe";A.mustUseFallback=function(){if(Y()){var a=R.getIEVersionNumber();l.a("IE version "+a);return a<=5}else if($()){var b=
navigator.userAgent.indexOf("Firefox")+8,c=parseInt(navigator.userAgent.charAt(b),10),d=navigator.userAgent.slice(b);l.a("FireFox version = "+d+", major= "+c);return c<1}else if(ha()){var b=navigator.userAgent.indexOf("Safari")+7,d=navigator.userAgent.slice(b),f=parseInt(d,10);l.a("Safari version = "+d+", build="+f);return f<412}else if(window.opera!=null){var b=navigator.userAgent.indexOf("Opera")+6,d=navigator.userAgent.slice(b),c=parseInt(d,10);l.a("Opera version = "+d+", major="+c);l.a("returning "+
(c<9));return c<9}else if(!Y()&&!ha()&&W("mozilla")){var b=navigator.userAgent.indexOf("Netscape")+9,d=navigator.userAgent.slice(b),c=parseInt(d,10);l.a("Netscape version = "+d+", major="+c);return c<7}else return true};A.canUseAsync=function(){if(Y()){var a=R.getIEVersionNumber();l.a("IE version "+a);return a>5}else if($()){var b=navigator.userAgent.indexOf("Firefox")+8,c=parseInt(navigator.userAgent.charAt(b),10),d=navigator.userAgent.slice(b);l.a("FireFox version = "+d+", major= "+c);return c>
1}return false};A.defaultImpl=function(){if(A.mustUseFallback())return A.FALLBACK;else if(window.google_delayFetch&&A.canUseAsync())return A.ASYNC;return A.SYNC};A.newInstance=function(a){var b=null;if(typeof a!="undefined"&&a!=null)b=a;else{b=C.getParameter("google_ad_impl");if(b==null)b=A.defaultImpl()}switch(b){case A.ASYNC:l.a("Using Multiple Call, Asynchronous Implementation");return new T(false);case A.SYNC:l.a("Using Multiple Call, Synchronous Implementation");return new S(false);case A.SYNC_SRA:l.a("Using Single Call, Synchronous Implementation");
return new S(true);case A.FALLBACK:l.a("Using Multiple Call, Asynchronous Implementation");return new U(false);case A.IFRAME:l.a("Using Iframe Implementation");return new V(false);default:l.f("unknown implementation ignored, using fallback: "+b);return new U(false)}};l.a("google_ads.js finished loading");
})()

