function w_a(a){throw a;}var w_b=true,w_c=null,w_d=false;window.jstiming&&window.jstiming.load.tick("widgetJsStart");function w_aa(){window.jstiming.load.tick("ol")}function w_e(a,b){a.addEventListener?a.addEventListener("load",b,w_d):a.attachEvent("onload",b)}function w_f(a,b){return a.className&&a.className.indexOf(b)!=-1?a:a.parentNode?w_f(a.parentNode,b):w_c}function w_ba(){window.jstiming.load.tick("prt");window.tickAboveFold&&window.tickAboveFold(this)}
function w_ca(a){window.jstiming.load.tick("widgetJsEnd");window.jstiming.load.tick("prt");var b=a+"blogspot";window.jstiming.load.name=b;for(var c=document.getElementsByTagName("img"),d=0;d<c.length;d++)c[d].complete||w_f(c[d],"post")!=w_c&&w_e(c[d],w_ba);w_e(window,w_aa);window.addEventListener?window.addEventListener("beforeunload",w_g,w_d):window.attachEvent("onbeforeunload",w_g)}function w_g(){window.jstiming.report(window.jstiming.load)}var _attachCsiOnload=w_ca;var w_da=w_d;function w_h(a){try{w_a(a)}catch(b){w_ea(b)}}function w_ea(a,b){var c="Javascript exception: "+(b?b:"")+" "+a;if(w_i("msie")&&!window.opera)c+=" "+a.name+": "+a.message+" ("+a.number+")";var d="";if(typeof a=="string")d=a+"\n";else for(var e in a)try{d+=e+": "+a[e]+"\n"}catch(f){}d+=w_fa(w_ea.caller);w_ga(c+"\n"+d,1)}var w_ha=/function (\w+)/;function w_ia(a){var b=w_ha.exec(String(a));if(b)return b[1];return""}
function w_fa(a){try{if(!(w_i("msie")&&!window.opera)&&!(w_i("safari")||w_i("konqueror"))&&w_i("mozilla"))return Error().stack;if(!a)return"";for(var b="- "+w_ia(a)+"(",c=0;c<a.arguments.length;c++){if(c>0)b+=", ";var d=String(a.arguments[c]);if(d.length>40)d=d.substr(0,40)+"...";b+=d}b+=")\n";b+=w_fa(a.caller);return b}catch(e){return"[Cannot get stack trace]: "+e+"\n"}}var w_ja,w_j=w_c,w_k=w_d;
function w_ka(){if((w_j==w_c||w_j.closed)&&!w_k)try{w_k=w_b;w_j=window.open("","debug","width=700,height=500,toolbar=no,resizable=yes,scrollbars=yes,left=16,top=16,screenx=16,screeny=16");w_j.blur();w_j.document.open();w_k=w_d;var a="<font color=#ff0000><b>To turn off this debugging window,hit 'D' inside the main caribou window, then close this window.</b></font><br>";w_la(a)}catch(b){}}
function w_ga(a,b){if(w_da){try{var c=(new Date).getTime()-w_ja,d="["+c+"] "+w_ma(a).replace(/\n/g,"<br>")+"<br>";if(b==1){d="<font color=#ff0000><b>Error: "+d+"</b></font>";w_j.focus()}}catch(e){}w_la(d)}else typeof w_l!="undefined"&&w_l(w_ma(a))}function w_la(a){if(w_da)try{w_ka();w_j.document.write(a);w_j.scrollTo(0,1000000)}catch(b){}};function w_i(a){if(a in w_m)return w_m[a];return w_m[a]=navigator.userAgent.toLowerCase().indexOf(a)!=-1}var w_m={};function w_na(a){if(typeof Error!="undefined")w_a(new Error(a||"Assertion Failed"));else w_a(a)}function w_oa(a){a=a||"Assertion failed";typeof w_h!="undefined"&&w_h(a+"\n");w_na(a)}function w_n(a,b){if(!a){b=b||"Assertion failed";w_oa(b)}}function w_o(a,b){a.style.display=b?"":"none"}function w_pa(a,b){a.style.display=b?"block":"none"}
function w_qa(a,b){a.style.display=b?"inline":"none"}function w_p(a,b){if(a==w_c||a.className==w_c)return w_d;if(a.className==b)return w_b;for(var c=a.className.split(" "),d=0;d<c.length;d++)if(c[d]==b)return w_b;return w_d}function w_q(a,b){w_p(a,b)||(a.className+=" "+b)}function w_r(a,b){if(!(a.className==w_c))if(a.className==b)a.className="";else{for(var c=a.className.split(" "),d=[],e=w_d,f=0;f<c.length;f++)if(c[f]!=b)c[f]&&d.push(c[f]);else e=w_b;if(e)a.className=d.join(" ")}}
function w_ra(a,b){for(var c=[],d=a.firstChild;d;d=d.nextSibling)w_sa(d,b,c);return c}function w_sa(a,b,c){b.select(a)&&c.push(a);for(var d=a.firstChild;d;d=d.nextSibling)w_sa(d,b,c)}var w_ta=/&/g,w_ua=/</g,w_va=/>/g;function w_ma(a){if(!a)return"";return a.replace(w_ta,"&amp;").replace(w_ua,"&lt;").replace(w_va,"&gt;").replace(w_wa,"&quot;")}var w_wa=/\"/g;function w_xa(a){return document.getElementById(a)}function w_ya(a){return document.all[a]}var w_za=document.getElementById?w_xa:w_ya;
function w_l(a){try{if(window.parent!=window&&window.parent.log){window.parent.log(window.name+"::"+a);return}}catch(b){}var c=w_za("log");if(c){var d="<p class=logentry><span class=logdate>"+new Date+"</span><span class=logmsg>"+a+"</span></p>";c.innerHTML=d+c.innerHTML}else window.status=a};function w_s(){}w_s.raise=function(a){if(typeof Error!="undefined")w_a(new Error(a||"Assertion Failed"));else w_a(a)};w_s.fail=function(a){a=a||"Assertion failed";typeof w_h=="undefined"||w_h(a+"\n");w_s.raise(a)};w_s.isTrue=function(a,b){if(!a){if(b===undefined)b="Assertion failed";w_s.fail(b)}};w_s.equals=function(a,b,c){if(a!=b){if(c===undefined)c="AS_Assert.equals failed: <"+a+"> != <"+b+">";w_s.fail(c)}};
w_s.typeOf=function(a,b,c){if(!(typeof a==b)){if(a||a=="")try{if(b==w_s.TYPE_MAP[typeof a]||a instanceof b)return}catch(d){}if(c===undefined){if(typeof b=="function"){var e=b.toString().match(/^\s*function\s+([^\s\{]+)/);if(e)b=e[1]}c="AS_Assert.typeOf failed: <"+a+"> not typeof "+b}w_s.fail(c)}};w_s.TYPE_MAP={string:String,number:Number,"boolean":Boolean};
w_s.numArgs=function(a,b){var c=w_s.numArgs.caller;if(c&&c.arguments.length!=a){if(b===undefined)b=c.name+" expected "+a+" arguments  but received "+c.arguments.length;w_s.fail(b)}};var w_t;function w_Aa(){var a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];if(typeof XMLHttpRequest=="undefined"&&typeof ActiveXObject!="undefined"){for(var b=0;b<a.length;b++){var c=a[b];try{new ActiveXObject(c);w_t=c;break}catch(d){}}if(!w_t)w_a(Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed."))}}w_Aa();function w_Ba(a,b,c){a.open("GET",b,w_b);a.onreadystatechange=c;w_Ca(a,w_c)}
function w_Da(a,b,c,d){a.open("POST",b,w_b);a.onreadystatechange=d;a.setRequestHeader("Content-Type","application/x-www-form-urlencoded");a.setRequestHeader("Content-Length",c.length);w_Ca(a,c)}function w_Ca(a,b){try{a.send(b)}catch(c){w_l("XMLHttpSend failed "+c.toString()+"<br>"+c.stack);w_a(c)}};var w_Ea=0,w_u=0;if("undefined"==typeof w_l)w_l=function(){};function w_v(a){var b=-1;try{b=a.status}catch(c){}return b}function w_Fa(a){var b=w_c;try{b=a.statusText}catch(c){}return b}
function w_Ga(a,b,c,d){if(a.readyState==4)try{var e=w_b;if(d)try{e=!(w_d===d(a))}catch(f){w_l("Message ("+b+") handling failed: "+f);w_a(f)}var g=w_v(a);if(200===g){w_l("Message ("+b+") received after "+((new Date).getTime()-c)+" ms");try{var h=(new Date).getTime();e&&a.responseText.length&&eval(a.responseText);w_l("Message ("+b+") processing took "+((new Date).getTime()-h)+" ms")}catch(i){w_l("Message ("+b+") processing failed: "+i);alert(i+"\n"+i.stack+"\n\n"+a.responseText);w_a(i)}}else 204==g?
w_l("Message ("+b+") received after "+((new Date).getTime()-c)+" ms"):w_l("Message ("+b+") failed with response "+g+" "+w_Fa(a)+" after "+((new Date).getTime()-c)+" ms.")}finally{--w_u}}
function w_Ha(a,b,c,d){var e="";if(b)for(var f="",g=0;g<b.length;){var h=b[g++],i=b[g++];e+=f+encodeURIComponent(h);f="&";if(w_c!==i&&undefined!==i)e+="="+encodeURIComponent(i.toString())}for(var j=++w_Ea,k=w_t?new ActiveXObject(w_t):new XMLHttpRequest,l=(new Date).getTime(),m=function(){w_Ga(k,j,l,d)},n=a.indexOf("?")>=0?"&":"?",o=e.length?a+n+e:a,r=c!==undefined?"POST":"GET",p=o,q=p.length+1;(q=p.lastIndexOf("&",q-1))>=0;)p=p.substring(0,q)+"&amp;"+p.substring(q+1);w_l("Message ("+j+") sent: "+
r+" <tt>"+p+"</tt>.");++w_u;c!==undefined?w_Da(k,o,c.toString(),m):w_Ba(k,o,m)}
function w_Ia(a,b,c){var d="";if(b)for(var e="",f=0;f<b.length;){var g=b[f++],h=b[f++];d+=e+encodeURIComponent(g);e="&";if(w_c!==h&&undefined!==h)d+="="+encodeURIComponent(h.toString())}for(var i=++w_Ea,j=w_t?new ActiveXObject(w_t):new XMLHttpRequest,k=(new Date).getTime(),l=function(){w_Ga(j,i,k,c)},m=a,n=m.length+1;(n=m.lastIndexOf("&",n-1))>=0;)m=m.substring(0,n)+"&amp;"+m.substring(n+1);w_l("Message ("+i+") sent: POST <tt>"+m+"</tt>.");++w_u;w_Da(j,a,d,l)};var w_Ja=this;String.prototype.Ee=function(a){return this.indexOf(a)==0};String.prototype.og=function(a){var b=this.length-a.length;return b>=0&&this.lastIndexOf(a,b)==b};String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};String.prototype.subs=function(){for(var a=this,b=0;b<arguments.length;b++)a=a.replace(/\%s/,String(arguments[b]));return a};
if(!Function.prototype.apply)Function.prototype.apply=function(a,b){var c=[],d,e;a||(a=w_Ja);for(var f=b||[],g=0;g<f.length;g++)c[g]="args["+g+"]";e="oScope.__applyTemp__.peek()("+c.join(",")+");";if(!a.__applyTemp__)a.__applyTemp__=[];a.__applyTemp__.push(this);d=eval(e);a.__applyTemp__.pop();return d};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(!Array.prototype.pop)Array.prototype.pop=function(){if(this.length){var a=this[this.length-1];this.length--;return a}};Array.prototype.peek=function(){return this[this.length-1]};if(!Array.prototype.shift)Array.prototype.shift=function(){if(!(this.length==0)){for(var a=this[0],b=0;b<this.length-1;b++)this[b]=this[b+1];this.length--;return a}};
if(!Array.prototype.unshift)Array.prototype.unshift=function(){for(var a=arguments.length,b=this.length-1;b>=0;b--)this[b+a]=this[b];for(var c=0;c<a;c++)this[c]=arguments[c];return this.length};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,b){for(var c=0;c<this.length;c++)a.call(b,this[c],c,this)};
function w_w(a,b){var c=a.ud||[];c=c.concat(Array.prototype.slice.call(arguments,2));if(typeof a.jc!="undefined")b=a.jc;if(typeof a.ic!="undefined")a=a.ic;var d=function(){var e=c.concat(Array.prototype.slice.call(arguments));return a.apply(b,e)};d.ud=c;d.jc=b;d.ic=a;return d}Function.prototype.bind=function(a){return w_w.apply(w_c,[this,a].concat(Array.prototype.slice.call(arguments,1)))};Function.prototype.partial=function(){return w_w.apply(w_c,[this,w_c].concat(Array.prototype.slice.call(arguments)))};
Function.prototype.inherits=function(a){var b=function(){};this.Vc=b.prototype=a.prototype;this.prototype=new b};Function.prototype.mixin=function(a){for(var b in a)this.prototype[b]=a[b];if(typeof a.toString=="function"&&a.toString!=this.prototype.toString)this.prototype.toString=a.toString};function w_x(a,b,c,d,e,f){this.instanceId=a;this.sectionId=b;this.markups=c;if(d)this.rootElement=d;if(e)this.data=e;if(f){this.lg=f;if(!w_x.IsValidDisplayMode(f))w_a("bad display mode: "+f)}else this.lg=w_x.DISPLAY_MODE_NONE;this.isNew=w_d}w_x.IsValidDisplayMode=function(a){return a==w_x.DISPLAY_MODE_SNIPPET||a==w_x.DISPLAY_MODE_FULL||a==w_x.DISPLAY_MODE_LAYOUT||a==w_x.DISPLAY_MODE_NONE};w_x.DISPLAY_MODE_FULL="displayModeFull";w_x.DISPLAY_MODE_SNIPPET="displayModeSnippet";
w_x.DISPLAY_MODE_LAYOUT="displayModeLayout";w_x.DISPLAY_MODE_NONE="displayModeNone";function w_y(a){this.ti=w_b;this.Le=new w_z(this);this.g=a;this.ub=w_c}w_y.DATA_NAMESPACE_PREFIX="data";w_y.ACTION_NAMESPACE_PREFIX="b";w_y.INTERPRET_ATTR_NAMESPACE_PREFIX="expr";w_y.prototype.Ue=function(){var a=this.g.rootElement;a.innerHTML="";this.yb()==w_x.DISPLAY_MODE_LAYOUT?a.appendChild(this.bc("layout")):a.appendChild(this.bc("main"));return a};w_y.prototype.yf=function(a){this.ub=a};w_y.prototype.w=function(){return this.g};
w_y.prototype.Z=function(a){return document.getElementById(this.g.instanceId+"_"+a)};w_y.prototype.L=function(a){var b=this.Z(a);if(!b)w_a("did not find element for id "+a);return b};w_y.prototype.n=function(){return this.g.data};w_y.prototype.od=function(a){return this.g.data=a};w_y.prototype.lf=function(){return this.g.isNew};w_y.prototype.wf=function(a){return this.g.isNew=a};
w_y.prototype.bc=function(a,b){var c=b;c||(c=this.n());c||(c={});var d=new w_A;d.wb("widget",this.$e());d.Ne(c);var e=this.ed(a,d,w_A.DEFAULT_DICTIONARY_KEY);return this.dd(e,document)};w_y.prototype.$e=function(){var a={};a.type=this.ub.e();a.instanceId=this.g.instanceId;a.sectionId=this.g.sectionId;a.actionUrl=w_B.wd;var b=w_B.ng+"&widgetType="+this.ub.e()+"&widgetId="+this.g.instanceId+"&action="+w_B.EDIT_WIDGET_ACTION;a.quickEditUrl=b;return a};
w_y.prototype.ed=function(a,b,c){var d=this.ef(a);w_s.isTrue(d!=w_c,"Markup chunk not found for "+a);var e=d.varName?d.varName:"",f=b.n(c);w_s.isTrue(f!=w_c,"No data found for call: "+c);b.wb(e,f);var g=this.Bb(d.rootNode,b);b.kd(e);return g};
w_y.prototype.Bb=function(a,b){w_s.isTrue(a!=w_c,"Null node");var c=a;if(a.attributes){for(var d=[],e=[],f=0;f<a.attributes.length;f++){var g=a.attributes.item(f),h=this.rf(g,b);if(g!=h){e[e.length]=g.nodeName;d[d.length]=h}}for(f=0;f<e.length;f++)a.attributes.removeNamedItem(e[f]);for(f=0;f<d.length;f++)a.attributes.setNamedItem(d[f])}if(a.nodeType==1)if(a.prefix==w_y.ACTION_NAMESPACE_PREFIX)c=this.jf(a,b);else if(a.prefix==w_y.DATA_NAMESPACE_PREFIX)c=this.hf(a,b);if(a.hasChildNodes()){for(var i=
a.ownerDocument.createDocumentFragment();a.hasChildNodes();){var j=a.firstChild,k=this.Bb(j,b);i.appendChild(k);j!=k&&a.removeChild(j)}c.appendChild(i)}return c};w_y.prototype.rf=function(a,b){if(a.prefix==w_y.INTERPRET_ATTR_NAMESPACE_PREFIX){var c=a.ownerDocument.createAttribute(a.localName||a.baseName),d=this.Le.ad(a.nodeValue,b);c.nodeValue=d;return c}return a};w_y.prototype.jf=function(a,b){var c=a.localName||a.baseName,d=this.md(c,a,b);return this.Gf(d)};
w_y.prototype.Gf=function(a){var b=a;if(!a)return document.createDocumentFragment();a.nodeType||(b=document.createTextNode(a));if(b.nodeType==3){var c=document.createDocumentFragment();c.appendChild(b);b=c}return b};w_y.prototype.Zb=function(a,b){var c=this.Cb(a);return b.n(c[1])};
w_y.prototype.hf=function(a,b){w_s.isTrue(a!=w_c,"Null element");w_s.isTrue(b!=w_c,"Null data");if(a.prefix!=w_y.DATA_NAMESPACE_PREFIX)return a;var c=this.Zb(a.tagName,b),d=""+(c==w_c?"":c),e=document.createElement("DIV");e.innerHTML=d;var f=this.zb(e);return this.dd(f,a.ownerDocument,w_b)};w_y.prototype.Cb=function(a){var b=a.split(":",2);b.length==1&&b.unshift("");b[0]=b[0].toLowerCase();return b};
w_y.prototype.md=function(a,b,c){var d="_WidgetBinding_"+a;if(this.Le[d])return this.Le[d](b,c);if(this.ub[d])return this.ub[d](b,c);w_s.isTrue(w_d,"could not find binding "+a);return w_c};
w_y.prototype.qf=function(a){if(a==w_c)return w_c;var b;if(window.ActiveXObject){b=new ActiveXObject("Microsoft.XMLDOM");b.async="false";if(!b.loadXML(a))w_a(new Error(b.parseError))}else if(window.DOMParser){var c=new DOMParser;b=c.parseFromString(a,"text/xml");if(b.documentElement.nodeName=="parsererror")w_a(new Error(b.documentElement.textContent))}else w_s.raise("Unable to find XML parser");return b.documentElement};
w_y.prototype.zb=function(a){for(var b=a.ownerDocument.createDocumentFragment();a.hasChildNodes();)b.appendChild(a.firstChild);return b};
w_y.prototype.dd=function(a,b,c){w_s.isTrue(a!=w_c);if(b.importNode)if(a.nodeType==11){for(var d=b.createDocumentFragment(),e=a.firstChild;e!=w_c;e=e.nextSibling)d.appendChild(b.importNode(e,w_b));return d}else return b.importNode(a,w_b);if(!c){var f=b.createElement("DIV"),g=a.innerHTML||a.xml;f.innerHTML=g;return this.zb(f)}var h=function(i){var j;if(i.nodeType==1){if(i.nodeName=="SCRIPT")return document.createTextNode("");j=b.createElement(i.nodeName);i.style&&j.setAttribute("style",i.style.cssText);
i.currentStyle.height&&j.setAttribute("height",i.currentStyle.height);i.currentStyle.width&&j.setAttribute("width",i.currentStyle.width);for(var k=0;k<i.attributes.length;k++){var l=i.attributes[k];l.value&&l.value!="null"&&l.value!="false"&&l.value!="0"&&j.setAttribute(l.name,l.value)}}else if(i.nodeType==3)j=b.createTextNode(i.nodeValue);else if(i.nodeType==11)j=b.createDocumentFragment();else w_s.raise("unexpected node type "+i.nodeType);if(i.hasChildNodes())for(k=0;k<i.childNodes.length;k++)j.appendChild(h(i.childNodes[k]));
return j};return h(a)};w_y.prototype.ua=function(a,b,c,d){w_B.ua(a,b,this.g.instanceId,this.ub.e(),c,d)};w_y.prototype.yb=function(){return this.g.lg};w_y.prototype.ef=function(a){if(!a)return w_c;var b=w_B.Ge[a];b||(b=this.g.markups[a]);if(!b)return w_c;if(!b.parsedTemplate||!b.parsedTemplate.ownerDocument)this.pf(b);b.parsedTemplate||w_s.raise("Parsing failed for "+a);b.rootNode=b.parsedTemplate.cloneNode(w_b);return b};
w_y.prototype.pf=function(a){if(!a)return w_c;var b="<?xml version='1.0'?><markuproot xmlns:"+w_y.DATA_NAMESPACE_PREFIX+"='urn:ns1'  xmlns:"+w_y.ACTION_NAMESPACE_PREFIX+"='urn:ns2' xmlns:"+w_y.INTERPRET_ATTR_NAMESPACE_PREFIX+"='urn:ns3'  xmlns='http://www.w3.org/1999/xhtml'>"+a.template+"</markuproot>\n",c=this.qf(b);a.parsedTemplate=this.zb(c);return a};
w_y.ConfigureWidget=function(a,b){b||(b="config");var c=document.forms[b].widgetId.value,d=document.forms[b].widgetType.value,e=w_C.ProcessForm(document.forms[b],a);e.success&&w_B.SaveWidget(e.values,c,d)};function w_B(){}w_B.Init=function(a,b,c){w_B.vb={};w_B.ng=a;w_B.wd=b;w_B.uj=c;w_B.ee=[];if(!w_B.Ge)w_B.Ge={}};w_B.TrapClicks=function(a){var b=w_B.CreateTransparentClickTrappingDiv(a.document);document.body.appendChild(b)};w_B._SetupPreview=function(){w_B.TrapClicks(window)};
w_B.NEW_WIDGET_WINDOW_NAME="chooseWidget";w_B.CHOOSE_WIDGET_ACTION="chooseWidget";w_B.EDIT_WIDGET_ACTION="editWidget";w_B.GetCallbackUrl=function(){return w_B.wd};w_B.SetPageActionUrl=function(a,b){w_B.ve=a;w_B.Ni=b};w_B.GetPageActionUrl=function(){return w_B.ve};w_B.SetWidgetRefreshUrl=function(a){w_B.oj=a};w_B.GetWidgetRefreshUrl=function(){return w_B.oj};w_B._SetDataContext=function(a){w_B.ee=a};w_B._SetSystemMarkup=function(a){w_B.Ge=a};
w_B._RegisterWidget=function(a,b,c){var d=new w_y(b);c||(c=window[a]);var e=new c(d);d.yf(e);w_B.vb[b.instanceId]=e;w_B.DisplayWidget(e);return e};w_B._RegisterNewWidget=function(a,b,c){var d=w_B._RegisterWidget(a,b,c),e=d.b();e.wf(w_b);return d};w_B.DisplayWidget=function(a,b){var c=a.b();if(!(c.yb()==w_x.DISPLAY_MODE_NONE)){if(b||a.i&&a.i())c.Ue();c.yb()==w_x.DISPLAY_MODE_FULL&&a.l&&a.l();a.b().ti=w_d}};w_B.GetWidget=function(a){if(w_B.vb)return w_B.vb[a];return w_c};
w_B._PopupPaneFromParams=function(a,b,c,d,e){var f="";if(d)f="&widgetId="+d;var g=w_B.ng+"&action="+a+"&sectionId="+b+"&widgetType="+c+f;if(window.name==e){window.location.replace(g);window.focus();return window}var h=window.open(g,e,"width=570,height=600,left=75,top=20,resizable=yes,scrollbars=yes");h.focus();return h};
w_B._PopupConfig=function(a){var b=a.getAttribute("id"),c=w_B.GetWidget(b);if(c){var d=c.b().configWin;if(d!=w_c&&!d.closed){d.focus();return w_d}}var e="config"+b,f=w_B._PopupPaneFromParams(w_B.EDIT_WIDGET_ACTION,a.parentNode.getAttribute("id"),a.getAttribute("widgetType"),b,e);if(c)c.b().configWin=f;return w_d};
w_B._PopupToolbox=function(a){w_B._PopupPaneFromParams(w_B.CHOOSE_WIDGET_ACTION,a.parentNode.getAttribute("id"),a.getAttribute("widgetType"),a.getAttribute("id"),w_B.NEW_WIDGET_WINDOW_NAME);return w_d};w_B.DeleteWidgetFromPage=function(a,b,c){w_B.O(c,c.LayoutsMessages.DELETING,w_B.STATUS_MESSAGE_PENDING_CLASS);w_B.RunPageAction("delete",{},a,b)};w_y.prototype.uf=function(a,b){w_B.O(b,b.LayoutsMessages.SAVING,w_B.STATUS_MESSAGE_PENDING_CLASS);this.ua("configure",a)};
w_B.SaveNewWidget=function(a,b,c){var d=document.getElementById("sectionId").value;a.sectionid=d;w_B.O(c,c.LayoutsMessages.SAVING,w_B.STATUS_MESSAGE_PENDING_CLASS);w_B.RunPageAction("addnew",a,"",b)};w_B.SaveWidget=function(a,b,c){w_n(c!=w_c,"no type");var d=_WidgetManager._GetWidget(b);w_n(d!=w_c,"no widget for "+b);d.b().lf()?w_B.SaveNewWidget(a,c,window):d.a.uf(a,window)};w_B._RunInitialAction=function(a){var b=w_B._GetWidget(a);b&&b.b().ua("initial")};
w_B.ua=function(a,b,c,d,e,f){w_B.RunAction(w_B.wd,a,b,c,d,e,f)};w_B.RunPageAction=function(a,b,c,d,e){if(w_B.ve){b.pageToken=w_B.Ni;w_B.RunAction(w_B.ve,a,b,c,d,e)}else w_l("RunPageAction error: pageActionUrl_ is undefined.  widgetid: "+c+" action: "+a)};
w_B.RunAction=function(a,b,c,d,e,f,g){var h=["action",b,"widgetId",d,"widgetType",e,"responseType","js"];for(var i in c)if(typeof c[i]=="object")for(var j=0;j<c[i].length;++j){h[h.length]=i;h[h.length]=c[i][j]}else{h[h.length]=i;h[h.length]=c[i]}g=="GET"?w_Ha(a,h,undefined,f||new w_Ka):w_Ia(a,h,f||new w_Ka)};w_B.SetConfigWin=function(a,b){if(a){var c=w_B.GetWidget(a);if(c)c.b().configWin=b}};
w_B.CloseIfNoPendingMessages=function(a,b){w_u==0?window.setTimeout(function(){a.close()},b):window.setTimeout(function(){w_B.CloseIfNoPendingMessages(a,b)},200)};w_B._KillPopupDelay=function(a,b){if(a){w_B.CloseIfNoPendingMessages(a,100);w_B.UpdateEditorStatus(a,b)}};w_B.UpdateEditorStatus=function(a,b){if(a){var c=a.document.getElementById("status-message-inner");if(c)c=c.innerHTML;c&&a&&a.opener.parent&&a.opener.parent.editor&&a.opener.parent.editor._SetSaveMessage(c,b)}};
w_B.c=function(a,b,c){var d=w_B.vb[a];if(c.errors!=w_c){var e=d?d.b().configWin:w_c;e||(e=window);w_B.O(e,c.errors,w_B.STATUS_MESSAGE_BAD_CLASS);d&&d.Ba?d.Ba(b,c):w_B.Ba(c,e)}else{w_n(d!=w_c,"no widget for "+a);if(b=="initial"){d.b().od(c);w_B.DisplayWidget(d,w_b)}else d.c(b,c)}};w_B.Ba=function(a,b){var c=a["error-details"];for(var d in c)w_C.SetError(d,c[d],b.document)};
w_y.prototype.m=function(a){w_B.O(this.configWin,a["status-message"],w_B.STATUS_MESSAGE_GOOD_CLASS);w_B.FinishPopupWork(this.g.instanceId,"_OnWidgetConfigured",function(b){window.opener._WidgetManager._OnWidgetConfigured(b,a)})};w_B._OnWidgetConfigured=function(a,b){if(window.parent&&window.parent.editor&&b)w_B.OnWidgetConfiguredWithData(a,b);else{var c=w_B.GetWidget(a);c.Da&&c.Da()?window.location.replace(window.location.href):w_B._RunInitialAction(a)}};
w_B.OnWidgetConfiguredWithData=function(a,b){var c=w_B._GetWidget(a);c.b().od(b.data);w_B.DisplayWidget(c,w_b);c.b().configWin=w_c};
w_B.HandlePageActionResult=function(a,b,c){var d=c["status-message"];if(c.errors!=w_c){w_B.O(window,c.errors,w_B.STATUS_MESSAGE_BAD_CLASS);w_B.Ba(c,window)}else if(b=="addnew"){var e;if(w_B.IsOpenerReachable(window)){if(window.opener&&window.opener.parent)e=window.opener.parent;e&&e.editor&&e.editor._HandleAddNewWidget(c)}w_B.O(window,d,w_B.STATUS_MESSAGE_GOOD_CLASS);if(window.opener==w_c)window.location="/rearrange?blogID="+c.blogID;else e&&e._WidgetManager?e._WidgetManager._KillPopupDelay(window):
w_B.CloseIfNoPendingMessages(window,100)}else{var f=w_B.vb[a];w_n(f!=w_c);if(b=="delete"){w_B.O(f.b().configWin,d,w_B.STATUS_MESSAGE_GOOD_CLASS);w_B.FinishPopupWork(a,"_OnWidgetDeleted")}}};w_B._OnWidgetDeleted=function(a){var b=w_B.GetWidget(a);if(b){if(b.b().yb()==w_x.DISPLAY_MODE_LAYOUT)top.editor._HandleDeleteWidget(b.b().g.rootElement);else{var c=b.b().g.rootElement;c.parentNode.removeChild(c)}delete w_B.vb[a]}};
w_B.FinishPopupWork=function(a,b,c){if(w_B.IsOpenerReachable(window)){var d=window.opener;c||(c=d._WidgetManager[b]);c(a);d._WidgetManager?d._WidgetManager._KillPopupDelay(window,a):w_B.CloseIfNoPendingMessages(window,100)}else{var e=w_B.GetWidgetRefreshUrl()+"?widgetId="+a;e+="&func="+encodeURIComponent(b);window.location.replace(e)}};w_B.IsOpenerReachable=function(a){var b=w_d;try{if(a.opener){var c="X"+a.opener.document.domain;if(c&&c!="X")b=w_b}}catch(d){}return b};
w_B.STATUS_MESSAGE_GOOD_CLASS="status-msg status-msg-yellow-on-white";w_B.STATUS_MESSAGE_PENDING_CLASS=w_B.STATUS_MESSAGE_GOOD_CLASS;w_B.STATUS_MESSAGE_BAD_CLASS=w_B.STATUS_MESSAGE_GOOD_CLASS;w_B.O=function(a,b,c){a||(a=self);var d=a.document.getElementById("status-message-inner");if(d)d.innerHTML=b;var e=a.document.getElementById("status-message");if(e)e.className=c};w_B.MaybePrependHttp=function(a){if(a&&a.length>0&&a.substring(0,4)!="http")a="http://"+a;return a};
w_B.GetFirstElementInElementWithClass=function(a,b){if(w_p(a,b))return a;if(a)for(var c=a.childNodes.length,d=0;d<c;d++){var e=w_B.GetFirstElementInElementWithClass(a.childNodes.item(d),b);if(e)return e}return w_c};
w_B.CreateTransparentClickTrappingDiv=function(a){var b=a.createElement("div"),c=a.body.scrollHeight;b.style.position="absolute";b.style.top="0px";b.style.left="0px";b.style.width="100%";b.style.height=c+"px";b.style.zIndex="10";b.style.cursor="default";b.onclick=w_B.gd;b.onmousedown=w_B.gd;b.onmouseup=w_B.gd;b.style.background="white";b.style.filter="alpha(opacity=1)";b.style.opacity=".01";b.innerHTML="&nbsp;";return b};
w_B.gd=function(a){var b=a;if(!b)b=window.event;if(b){b.cancelBubble=w_b;b.stopPropagation&&b.stopPropagation()}return w_d};function w_z(a){this.ia=a}w_z.prototype._WidgetBinding_include=function(a,b){var c=a.getAttribute("name"),d=a.getAttribute("data");return this.ia.ed(c,b,d)};w_z.prototype._WidgetBinding_call=w_z.prototype._WidgetBinding_include;
w_z.prototype._WidgetBinding_loop=function(a,b){var c=a.getAttribute("values"),d=this.ia.Cb(c),e=this.ia.Zb(d[1],b),f=a.getAttribute("var");f||w_s.raise("Invalid var= attribute on b:loop");var g=this.ia.zb(a),h=a.ownerDocument.createDocumentFragment();if(!e)return h;for(var i=0;i<e.length;i++){var j=e[i],k=g.cloneNode(w_b);b.wb(f,j);var l=this.ia.Bb(k,b);b.kd(f);h.appendChild(l)}return h};
w_z.prototype._WidgetBinding_if=function(a,b){for(var c=this.ad(a.getAttribute("cond"),b),d=a.ownerDocument.createDocumentFragment(),e=w_d;a.firstChild!=w_c;){var f=a.firstChild;if("else"==this.ia.Cb(f.nodeName)[1].toLowerCase())e=w_b;else if(c&&!e||!c&&e){var g=this.ia.Bb(f,b);d.appendChild(g)}f.parentNode==a&&a.removeChild(f)}return d};
w_z.prototype.ad=function(a,b){w_s.isTrue(a!=w_c,"null expression");var c=this.Af(a,b);try{var d=eval(c);return d}catch(e){w_l("expression=["+a+"] error="+e+" eval=["+c+"]")}return""};
w_z.prototype.Af=function(a,b){for(var c=new RegExp("\\b(?:"+w_y.DATA_NAMESPACE_PREFIX+"|"+w_y.ACTION_NAMESPACE_PREFIX+"):[^ ]*\\b","gi"),d="",e=0,f=c.exec(a);f;){var g=f[0];if(!this.kf(a,c.lastIndex)){var h,i=this.ia.Cb(g);if(i[0]==w_y.ACTION_NAMESPACE_PREFIX)h=this.ia.md(i[1],w_c,b);else if(i[0]==w_y.DATA_NAMESPACE_PREFIX){(h=this.ia.Zb(g,b))||(h="");h=h+""}else w_s.raise("Unrecognized prefix '"+i[0]+"'");h=h.replace(/"/g,"&quot;");h='"'+h+'"';d+=a.substring(e,f.index);d+=h;e=c.lastIndex}f=c.exec(a)}d+=
a.substring(e,a.length);return d};w_z.prototype.kf=function(a,b){w_s.isTrue(b<=a.length,"Invalid index: i="+b+", l="+a.length);for(var c=0,d=0;d<b;d++)if(a.charAt(d)=='"'&&(d==0||a.charAt(d-1)!="\\"))c++;return c%2!=0};function w_C(){}w_C.ERROR_MSG_ACTIVE_CLASS="errorbox-bad errormsg";w_C.ERROR_MSG_INACTIVE_CLASS="errorbox-good";
w_C.ProcessForm=function(a,b){var c={};c.success=w_b;c.values={};c.errors={};for(var d in b){var e=w_C.GetFieldValue(a[d]),f=b[d];w_C.ClearError(d);if(f){var g=f(e);if(g){w_C.SetError(d,g);c.success=w_d;c.errors[d]=g}}c.values[d]=e}return c};
w_C.GetFieldValue=function(a){if(!a)return undefined;if(a.type=="checkbox"){if(a.checked)return a.value;return undefined}if(a.type==w_c){for(var b=[],c=0;c<a.length;c++)if(a[c].checked)b[b.length]=a[c].value;switch(b.length){case 0:return undefined;case 1:return b[0];default:return b}}return a.value};w_C.df=function(a,b){b||(b=document);var c="errormessage_"+a;return b.getElementById(c)};w_C.ClearError=function(a){var b=w_C.df(a);if(b){b.innerHTML="";b.className=w_C.ERROR_MSG_INACTIVE_CLASS}};
w_C.SetError=function(a,b,c){var d=w_C.df(a,c);if(d){d.innerHTML=b;d.className=w_C.ERROR_MSG_ACTIVE_CLASS}};w_C.GetRequiredStringFilter=function(){return function(a){a=a.replace(/^\s+/,"").replace(/\s+$/,"");if(a.length==0)return LayoutsMessages.FIELD_CANNOT_BE_BLANK;return undefined}};
w_C.GetNumberFilter=function(a,b){return function(c){var d=parseInt(c,10);if(isNaN(d))return LayoutsMessages.MUST_SPECIFY_A_NUMBER;if(d<a)return LayoutsMessages.NUMBER_TOO_SMALL+" "+a;if(d>b)return LayoutsMessages.NUMBER_TOO_LARGE+" "+b;return undefined}};function w_A(){this.R=[];for(var a=0;a<w_B.ee.length;++a){var b=w_B.ee[a];this.R[this.R.length]=b}}w_A.DEFAULT_DICTIONARY_KEY="";w_A.MAX_DICTIONARY_DEPTH=50;w_A.SEPARATOR_CHAR=".";
w_A.prototype.wb=function(a,b){this.R.length>=w_A.MAX_DICTIONARY_DEPTH&&w_s.raise("Cannot add another dictionary: "+a);a.indexOf(w_A.SEPARATOR_CHAR)>-1&&w_s.raise("Cannot add dictionary name containing '.': "+a);var c={};c.name=a;c.data=b;this.R[this.R.length]=c};w_A.prototype.kd=function(a){var b=this.R[this.R.length-1];b.name!=a&&w_s.raise("Dictionary "+a+" is not the last one, and can't be deleted: "+b.name);this.R.splice(this.R.length-1,1)};
w_A.prototype.$b=function(a){if(a==w_c)a=w_A.DEFAULT_DICTIONARY_KEY;for(var b=this.R.length-1;b>=0;--b)if(this.R[b].name==a)return this.R[b].data;return w_c};w_A.prototype.bd=function(){return this.$b(w_A.DEFAULT_DICTIONARY_KEY)};w_A.prototype.Ne=function(a){this.wb(w_A.DEFAULT_DICTIONARY_KEY,a)};
w_A.prototype.n=function(a){var b=this.$b(a);if(b)return b;var c=a.split(w_A.SEPARATOR_CHAR);if(c.length==1){b=this.bd();return b[a]}b=this.$b(c[0]);var d=0;if(b)d=1;else b=this.bd();for(var e=d;e<c.length;e++){if(b==w_c)return w_c;b=b[c[e]]}return b};function w_La(){}w_La.prototype.c=function(){w_a(new Error("Unimplemented"))};var _WidgetManager=w_B;_WidgetManager.prototype=w_B.prototype;_WidgetManager._Init=_WidgetManager.Init;_WidgetManager._SetPageActionUrl=_WidgetManager.SetPageActionUrl;
_WidgetManager._GetPageActionUrl=_WidgetManager.GetPageActionUrl;_WidgetManager._SetWidgetRefreshUrl=_WidgetManager.SetWidgetRefreshUrl;_WidgetManager._GetWidgetRefreshUrl=_WidgetManager.GetWidgetRefreshUrl;_WidgetManager._GetCallbackUrl=_WidgetManager.GetCallbackUrl;_WidgetManager._DeleteWidgetFromPage=_WidgetManager.DeleteWidgetFromPage;_WidgetManager._DisplayWidget=_WidgetManager.DisplayWidget;_WidgetManager._GetWidget=_WidgetManager.GetWidget;_WidgetManager._HandleControllerResult=_WidgetManager.c;
_WidgetManager._HandlePageActionResult=_WidgetManager.HandlePageActionResult;_WidgetManager._IsOpenerReachable=_WidgetManager.IsOpenerReachable;_WidgetManager._SetConfigWin=_WidgetManager.SetConfigWin;var _WidgetInfo=w_x;_WidgetInfo.prototype=w_x.prototype;function w_D(a){this.rj=w_d;this.Uc=a;this.rc=window.document}w_D.DISABLED_BUTTON_CLASS="disabled-button";w_D.HIDDEN_MESSAGE_CLASS="status-msg-hidden";w_D.prototype.Zc=function(){this.rc.getElementById(this.Uc+"-inner").innerHTML="&nbsp;";w_q(this.rc.getElementById(this.Uc),w_D.HIDDEN_MESSAGE_CLASS)};w_D.prototype.O=function(a){this.rc.getElementById(this.Uc+"-inner").innerHTML=a;w_r(this.rc.getElementById(this.Uc),w_D.HIDDEN_MESSAGE_CLASS)};function w_Ka(a){return function(b){var c=w_v(b);if(c>=500){if(b.responseText.length)document.body.innerHTML=b.responseText;else alert(LayoutsMessages.SERVER_ERROR);return w_d}return a?a(b):w_b}};function w_E(a){this.a=a}w_E.WIDGET_TYPE_NAME="AdSense";w_E.prototype.e=function(){return w_E.WIDGET_TYPE_NAME};w_E.prototype.b=function(){return this.a};w_E.prototype.c=function(a,b){this.a.m(b)};w_E.prototype.Da=function(){return w_b};var _AdSenseView=w_E;function w_F(a){this.a=a;this.g=a.w()}w_F.WIDGET_TYPE_NAME="BlogArchive";w_F.POST_LIST_CLASS="posts";w_F.INTERVAL_EXPANDED_VALUE="expanded";w_F.INTERVAL_COLLAPSED_VALUE="collapsed";w_F.LOADING_MSG="loading...";w_F.POST_COUNT_CLASS="post-count";w_F.POST_COUNT_LINK_CLASS="post-count-link";w_F.MENU_ROOT_ID="ArchiveMenu";w_F.TOGGLE_OPEN_CLASS="toggle-open";w_F.ei="&#9660;&nbsp;";w_F.rg="&#9658;&nbsp;";w_F.prototype.e=function(){return w_F.WIDGET_TYPE_NAME};w_F.prototype.b=function(){return this.a};
w_F.prototype.i=function(){return w_d};w_F.prototype.c=function(a,b){if(a=="configure")this.a.m(b);else if(a=="getTitles")this.Ff(b);else{this.widgetInfo.data=b;w_B.DisplayWidget(this)}};
w_F.prototype.l=function(){var a={};a.select=function(i){return i&&w_p(i,"toggle")};var b=this.a.Z("ArchiveList");if(b){var c=w_ra(this.g.rootElement,a),d;if(c.length>0&&c[0].currentStyle)d=c[0].parentNode.currentStyle.color;for(var e=0;e<c.length;e++){var f=c[e];f.onclick=this.Cf.bind(this);if(d)f.style.color=d}var g=this.a.Z(w_F.MENU_ROOT_ID);if(g){for(e=1;e<g.options.length;e++){var h=g.options[e].value;if(h==window.location.href||window.location.href.match(h)!=w_c){g.selectedIndex=e;break}}g.onchange=
this.ff.bind(this)}if(this.b().n().languageDirection=="rtl")w_F.rg="&#9668;&nbsp;"}};w_F.prototype.ff=function(){var a=this.a.Z(w_F.MENU_ROOT_ID);if(a)if(!(a.value==""))window.location.href=a.value};
w_F.prototype.Cf=function(a){a=a||window.event;var b=a.currentTarget||a.srcElement;if(b&&!w_p(b,"toggle"))b=b.parentNode;var c=w_B.GetFirstElementInElementWithClass(b,"zippy"),d=b.parentNode;if(w_p(d,w_F.INTERVAL_EXPANDED_VALUE)){w_r(d,w_F.INTERVAL_EXPANDED_VALUE);w_q(d,w_F.INTERVAL_COLLAPSED_VALUE);c.innerHTML=w_F.rg;w_r(c,w_F.TOGGLE_OPEN_CLASS);return w_d}else{w_r(d,w_F.INTERVAL_COLLAPSED_VALUE);w_q(d,w_F.INTERVAL_EXPANDED_VALUE);c.innerHTML=w_F.ei;w_q(c,w_F.TOGGLE_OPEN_CLASS)}if(this.nf(d)){var e=
this.cd(d);if(!e){e=document.createElement("UL");d.appendChild(e);w_q(e,w_F.POST_LIST_CLASS)}e.appendChild(document.createTextNode(w_F.LOADING_MSG));this.a.ua("getTitles",{path:this.bf(d)},w_c,"GET")}return w_d};w_F.prototype.cd=function(a){return w_B.GetFirstElementInElementWithClass(a,w_F.POST_LIST_CLASS)};w_F.prototype.bf=function(a){var b=w_B.GetFirstElementInElementWithClass(a,w_F.POST_COUNT_LINK_CLASS);return b.href};
w_F.prototype.cf=function(a){var b=w_B.GetFirstElementInElementWithClass(a,w_F.POST_COUNT_CLASS);return parseInt(b.innerHTML.match(/\d+/),10)};w_F.prototype.Ff=function(a){var b=a.path,c=this.cd(this.af(b));c.innerHTML="";for(var d=0;d<a.posts.length;d++){var e=a.posts[d],f=document.createElement("li");f.innerHTML="<a href="+e.url+">"+e.title+"</a>";c.appendChild(f)}};w_F.prototype.af=function(a){var b=this.g.rootElement.getElementsByTagName("A");for(var c in b){var d=b[c];if(d.href==a)return d.parentNode}};
w_F.prototype.nf=function(a){var b=a.getElementsByTagName("UL");if(!(b.length>0&&!w_p(b[0],"posts"))){var c=this.cf(a),d=a.getElementsByTagName("LI"),e=d.length;return e<c}};var _BlogArchiveView=w_F;var w_=w_||{};w_.global=this;w_.DEBUG=w_b;w_.LOCALE="en_US";w_.sc=w_c;w_.provide=function(a){w_.sg(a)};w_.sg=function(a,b,c){var d=a.split("."),e=c||w_.global;!(d[0]in e)&&e.execScript&&e.execScript("var "+d[0]);for(var f;d.length&&(f=d.shift());)if(!d.length&&w_.isDef(b))e[f]=b;else e=e[f]?e[f]:(e[f]={})};w_.getObjectByName=function(a,b){for(var c=a.split("."),d=b||w_.global,e;e=c.shift();)if(d[e])d=d[e];else return w_c;return d};
w_.globalize=function(a,b){var c=b||w_.global;for(var d in a)c[d]=a[d]};w_.addDependency=function(){};w_.require=function(){};w_.useStrictRequires=w_d;w_.basePath="";w_.nullFunction=function(){};w_.identityFunction=function(){return arguments[0]};w_.abstractMethod=function(){w_a(Error("unimplemented abstract method"))};w_.addSingletonGetter=function(a){a.getInstance=function(){return a.Di||(a.Di=new a)}};
w_.typeOf=function(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array||!(a instanceof Object)&&Object.prototype.toString.call(a)=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(!(a instanceof Object)&&(Object.prototype.toString.call(a)=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call")))return"function"}else return"null";
else if(b=="function"&&typeof a.call=="undefined")return"object";return b};w_.Qi=function(a,b){if(b in a)for(var c in a)if(c==b&&Object.prototype.hasOwnProperty.call(a,b))return w_b;return w_d};w_.vj=function(a,b){return a instanceof Object?Object.prototype.propertyIsEnumerable.call(a,b):w_.Qi(a,b)};w_.isDef=function(a){return a!==undefined};w_.isNull=function(a){return a===w_c};w_.isDefAndNotNull=function(a){return a!=w_c};w_.isArray=function(a){return w_.typeOf(a)=="array"};
w_.isArrayLike=function(a){var b=w_.typeOf(a);return b=="array"||b=="object"&&typeof a.length=="number"};w_.isDateLike=function(a){return w_.isObject(a)&&typeof a.getFullYear=="function"};w_.isString=function(a){return typeof a=="string"};w_.isBoolean=function(a){return typeof a=="boolean"};w_.isNumber=function(a){return typeof a=="number"};w_.isFunction=function(a){return w_.typeOf(a)=="function"};w_.isObject=function(a){var b=w_.typeOf(a);return b=="object"||b=="array"||b=="function"};
w_.getHashCode=function(a){if(a.hasOwnProperty&&a.hasOwnProperty(w_.Aa))return a[w_.Aa];a[w_.Aa]||(a[w_.Aa]=++w_.Ai);return a[w_.Aa]};w_.removeHashCode=function(a){"removeAttribute"in a&&a.removeAttribute(w_.Aa);try{delete a[w_.Aa]}catch(b){}};w_.Aa="closure_hashCode_"+Math.floor(Math.random()*2147483648).toString(36);w_.Ai=0;w_.cloneObject=function(a){var b=w_.typeOf(a);if(b=="object"||b=="array"){if(a.clone)return a.clone.call(a);var c=b=="array"?[]:{};for(var d in a)c[d]=w_.cloneObject(a[d]);return c}return a};
w_.bind=function(a,b){var c=a.ud;if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);c&&d.unshift.apply(d,c);c=d}b=a.jc||b;a=a.ic||a;var e,f=b||w_.global;e=c?function(){var g=Array.prototype.slice.call(arguments);g.unshift.apply(g,c);return a.apply(f,g)}:function(){return a.apply(f,arguments)};e.ud=c;e.jc=b;e.ic=a;return e};w_.partial=function(a){var b=Array.prototype.slice.call(arguments,1);b.unshift(a,w_c);return w_.bind.apply(w_c,b)};
w_.mixin=function(a,b){for(var c in b)a[c]=b[c]};w_.now=Date.now||function(){return(new Date).getTime()};
w_.globalEval=function(a){if(w_.global.execScript)w_.global.execScript(a,"JavaScript");else if(w_.global.eval){if(w_.sc==w_c){w_.global.eval("var _et_ = 1;");if(typeof w_.global._et_!="undefined"){delete w_.global._et_;w_.sc=w_b}else w_.sc=w_d}if(w_.sc)w_.global.eval(a);else{var b=w_.global.document,c=b.createElement("script");c.type="text/javascript";c.defer=w_d;c.appendChild(b.createTextNode(a));b.body.appendChild(c);b.body.removeChild(c)}}else w_a(Error("goog.globalEval not available"))};
w_.typedef=w_b;w_.getCssName=function(a,b){var c=a+(b?"-"+b:"");return w_.Cd&&c in w_.Cd?w_.Cd[c]:c};w_.setCssNameMapping=function(a){w_.Cd=a};w_.getMsg=function(a,b){var c=b||{};for(var d in c)a=a.replace(new RegExp("\\{\\$"+d+"\\}","gi"),c[d]);return a};w_.exportSymbol=function(a,b,c){w_.sg(a,b,c)};w_.exportProperty=function(a,b,c){a[b]=c};w_.inherits=function(a,b){function c(){}c.prototype=b.prototype;a.Vc=b.prototype;a.prototype=new c;a.prototype.constructor=a};w_.MODIFY_FUNCTION_PROTOTYPES=w_b;
if(w_.MODIFY_FUNCTION_PROTOTYPES){Function.prototype.bind=function(a){if(arguments.length>1){var b=Array.prototype.slice.call(arguments,1);b.unshift(this,a);return w_.bind.apply(w_c,b)}else return w_.bind(this,a)};Function.prototype.partial=function(){var a=Array.prototype.slice.call(arguments);a.unshift(this,w_c);return w_.bind.apply(w_c,a)};Function.prototype.inherits=function(a){w_.inherits(this,a)};Function.prototype.mixin=function(a){w_.mixin(this.prototype,a)}};w_.array={};w_.array.ArrayLike=w_.typedef;w_.array.peek=function(a){return a[a.length-1]};w_.array.indexOf=function(a,b,c){if(a.indexOf)return a.indexOf(b,c);if(Array.indexOf)return Array.indexOf(a,b,c);for(var d=c==w_c?0:c<0?Math.max(0,a.length+c):c,e=d;e<a.length;e++)if(e in a&&a[e]===b)return e;return-1};
w_.array.lastIndexOf=function(a,b,c){var d=c==w_c?a.length-1:c;if(a.lastIndexOf)return a.lastIndexOf(b,d);if(Array.lastIndexOf)return Array.lastIndexOf(a,b,d);if(d<0)d=Math.max(0,a.length+d);for(var e=d;e>=0;e--)if(e in a&&a[e]===b)return e;return-1};w_.array.forEach=function(a,b,c){if(a.forEach)a.forEach(b,c);else if(Array.forEach)Array.forEach(a,b,c);else for(var d=a.length,e=w_.isString(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
w_.array.forEachRight=function(a,b,c){for(var d=a.length,e=w_.isString(a)?a.split(""):a,f=d-1;f>=0;--f)f in e&&b.call(c,e[f],f,a)};w_.array.filter=function(a,b,c){if(a.filter)return a.filter(b,c);if(Array.filter)return Array.filter(a,b,c);for(var d=a.length,e=[],f=0,g=w_.isString(a)?a.split(""):a,h=0;h<d;h++)if(h in g){var i=g[h];if(b.call(c,i,h,a))e[f++]=i}return e};
w_.array.map=function(a,b,c){if(a.map)return a.map(b,c);if(Array.map)return Array.map(a,b,c);for(var d=a.length,e=[],f=0,g=w_.isString(a)?a.split(""):a,h=0;h<d;h++)if(h in g)e[f++]=b.call(c,g[h],h,a);return e};w_.array.reduce=function(a,b,c,d){if(a.reduce)return d?a.reduce(w_.bind(b,d),c):a.reduce(b,c);var e=c;w_.array.forEach(a,function(f,g){e=b.call(d,e,f,g,a)});return e};
w_.array.reduceRight=function(a,b,c,d){if(a.reduceRight)return d?a.reduceRight(w_.bind(b,d),c):a.reduceRight(b,c);var e=c;w_.array.forEachRight(a,function(f,g){e=b.call(d,e,f,g,a)});return e};w_.array.some=function(a,b,c){if(a.some)return a.some(b,c);if(Array.some)return Array.some(a,b,c);for(var d=a.length,e=w_.isString(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return w_b;return w_d};
w_.array.every=function(a,b,c){if(a.every)return a.every(b,c);if(Array.every)return Array.every(a,b,c);for(var d=a.length,e=w_.isString(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return w_d;return w_b};w_.array.find=function(a,b,c){var d=w_.array.findIndex(a,b,c);return d<0?w_c:w_.isString(a)?a.charAt(d):a[d]};w_.array.findIndex=function(a,b,c){for(var d=a.length,e=w_.isString(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1};
w_.array.findRight=function(a,b,c){var d=w_.array.findIndexRight(a,b,c);return d<0?w_c:w_.isString(a)?a.charAt(d):a[d]};w_.array.findIndexRight=function(a,b,c){for(var d=a.length,e=w_.isString(a)?a.split(""):a,f=d-1;f>=0;f--)if(f in e&&b.call(c,e[f],f,a))return f;return-1};w_.array.contains=function(a,b){if(a.contains)return a.contains(b);return w_.array.indexOf(a,b)>-1};w_.array.C=function(a){return a.length==0};
w_.array.clear=function(a){if(!w_.isArray(a))for(var b=a.length-1;b>=0;b--)delete a[b];a.length=0};w_.array.insert=function(a,b){w_.array.contains(a,b)||a.push(b)};w_.array.insertAt=function(a,b,c){w_.array.splice(a,c,0,b)};w_.array.insertArrayAt=function(a,b,c){w_.partial(w_.array.splice,a,c,0).apply(w_c,b)};w_.array.insertBefore=function(a,b,c){var d;arguments.length==2||(d=w_.array.indexOf(a,c))==-1?a.push(b):w_.array.insertAt(a,b,d)};
w_.array.remove=function(a,b){var c=w_.array.indexOf(a,b),d;if(d=c!=-1)w_.array.removeAt(a,c);return d};w_.array.removeAt=function(a,b){return Array.prototype.splice.call(a,b,1).length==1};w_.array.removeIf=function(a,b,c){var d=w_.array.findIndex(a,b,c);if(d>=0){w_.array.removeAt(a,d);return w_b}return w_d};w_.array.clone=function(a){if(w_.isArray(a))return a.concat();else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b}};w_.array.toArray=function(a){if(w_.isArray(a))return a.concat();return w_.array.clone(a)};
w_.array.extend=function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];if(w_.isArrayLike(c)){c=w_.array.toArray(c);a.push.apply(a,c)}else a.push(c)}};w_.array.splice=function(a){return Array.prototype.splice.apply(a,w_.array.slice(arguments,1))};w_.array.slice=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};
w_.array.removeDuplicates=function(a,b){for(var c=b||a,d={},e=0,f=0;f<a.length;){var g=a[f++],h=w_.isObject(g)?w_.getHashCode(g):g;if(!(h in d)){d[h]=w_b;c[e++]=g}}c.length=e};w_.array.binarySearch=function(a,b,c){for(var d=0,e=a.length-1,f=c||w_.array.defaultCompare;d<=e;){var g=d+e>>1,h=f(b,a[g]);if(h>0)d=g+1;else if(h<0)e=g-1;else return g}return-(d+1)};w_.array.sort=function(a,b){Array.prototype.sort.call(a,b||w_.array.defaultCompare)};
w_.array.stableSort=function(a,b){for(var c=0;c<a.length;c++)a[c]={index:c,value:a[c]};var d=b||w_.array.defaultCompare;function e(f,g){return d(f.value,g.value)||f.index-g.index}w_.array.sort(a,e);for(c=0;c<a.length;c++)a[c]=a[c].value};w_.array.sortObjectsByKey=function(a,b,c){var d=c||w_.array.defaultCompare;w_.array.sort(a,function(e,f){return d(e[b],f[b])})};
w_.array.compare=function(a,b,c){if(!w_.isArrayLike(a)||!w_.isArrayLike(b)||a.length!=b.length)return w_d;for(var d=a.length,e=c||w_.array.defaultCompareEquality,f=0;f<d;f++)if(!e.call(w_c,a[f],b[f]))return w_d;return w_b};w_.array.defaultCompare=function(a,b){return a>b?1:a<b?-1:0};w_.array.defaultCompareEquality=function(a,b){return a===b};w_.array.binaryInsert=function(a,b,c){var d=w_.array.binarySearch(a,b,c);if(d<0){w_.array.insertAt(a,b,-(d+1));return w_b}return w_d};
w_.array.binaryRemove=function(a,b,c){var d=w_.array.binarySearch(a,b,c);return d>=0?w_.array.removeAt(a,d):w_d};w_.array.bucket=function(a,b){for(var c={},d=0;d<a.length;d++){var e=a[d],f=b(e,d,a);if(w_.isDef(f)){var g=c[f]||(c[f]=[]);g.push(e)}}return c};w_.array.repeat=function(a,b){for(var c=[],d=0;d<b;d++)c[d]=a;return c};w_.array.flatten=function(){for(var a=[],b=0;b<arguments.length;b++){var c=arguments[b];w_.isArray(c)?a.push.apply(a,w_.array.flatten.apply(w_c,c)):a.push(c)}return a};
w_.array.rotate=function(a,b){if(a.length){b%=a.length;if(b>0)Array.prototype.unshift.apply(a,a.splice(-b,b));else b<0&&Array.prototype.push.apply(a,a.splice(0,-b))}return a};w_.math={};w_.math.Coordinate=function(a,b){this.x=w_.isDef(a)?a:0;this.y=w_.isDef(b)?b:0};w_.math.Coordinate.prototype.clone=function(){return new w_.math.Coordinate(this.x,this.y)};if(w_.DEBUG)w_.math.Coordinate.prototype.toString=function(){return"("+this.x+", "+this.y+")"};w_.math.Coordinate.equals=function(a,b){if(a==b)return w_b;if(!a||!b)return w_d;return a.x==b.x&&a.y==b.y};w_.math.Coordinate.distance=function(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)};
w_.math.Coordinate.squaredDistance=function(a,b){var c=a.x-b.x,d=a.y-b.y;return c*c+d*d};w_.math.Coordinate.difference=function(a,b){return new w_.math.Coordinate(a.x-b.x,a.y-b.y)};w_.math.Coordinate.sum=function(a,b){return new w_.math.Coordinate(a.x+b.x,a.y+b.y)};w_.math.Size=function(a,b){this.width=a;this.height=b};w_.math.Size.equals=function(a,b){if(a==b)return w_b;if(!a||!b)return w_d;return a.width==b.width&&a.height==b.height};w_.math.Size.prototype.clone=function(){return new w_.math.Size(this.width,this.height)};if(w_.DEBUG)w_.math.Size.prototype.toString=function(){return"("+this.width+" x "+this.height+")"};w_.math.Size.prototype.area=function(){return this.width*this.height};w_.math.Size.prototype.C=function(){return!this.area()};
w_.math.Size.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};w_.math.Size.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};w_.math.Size.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};w_.math.Size.prototype.scale=function(a){this.width*=a;this.height*=a;return this};w_.object={};w_.object.forEach=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};w_.object.filter=function(a,b,c){var d={};for(var e in a)if(b.call(c,a[e],e,a))d[e]=a[e];return d};w_.object.map=function(a,b,c){var d={};for(var e in a)d[e]=b.call(c,a[e],e,a);return d};w_.object.some=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return w_b;return w_d};w_.object.every=function(a,b,c){for(var d in a)if(!b.call(c,a[d],d,a))return w_d;return w_b};
w_.object.V=function(a){var b=0;for(var c in a)b++;return b};w_.object.getAnyKey=function(a){for(var b in a)return b};w_.object.getAnyValue=function(a){for(var b in a)return a[b]};w_.object.contains=function(a,b){return w_.object.ja(a,b)};w_.object.r=function(a){var b=[],c=0;for(var d in a)b[c++]=a[d];return b};w_.object.o=function(a){var b=[],c=0;for(var d in a)b[c++]=d;return b};w_.object.z=function(a,b){return b in a};w_.object.ja=function(a,b){for(var c in a)if(a[c]==b)return w_b;return w_d};
w_.object.findKey=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d;return undefined};w_.object.findValue=function(a,b,c){var d=w_.object.findKey(a,b,c);return d&&a[d]};w_.object.C=function(a){for(var b in a)return w_d;return w_b};w_.object.clear=function(a){for(var b=w_.object.o(a),c=b.length-1;c>=0;c--)w_.object.remove(a,b[c])};w_.object.remove=function(a,b){var c;if(c=b in a)delete a[b];return c};
w_.object.add=function(a,b,c){if(b in a)w_a(Error('The object already contains the key "'+b+'"'));w_.object.set(a,b,c)};w_.object.get=function(a,b,c){if(b in a)return a[b];return c};w_.object.set=function(a,b,c){a[b]=c};w_.object.setIfUndefined=function(a,b,c){return b in a?a[b]:(a[b]=c)};w_.object.clone=function(a){var b={};for(var c in a)b[c]=a[c];return b};w_.object.transpose=function(a){var b={};for(var c in a)b[a[c]]=c;return b};
w_.object.of=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];w_.object.extend=function(a){for(var b,c,d=1;d<arguments.length;d++){c=arguments[d];for(b in c)a[b]=c[b];for(var e=0;e<w_.object.of.length;e++){b=w_.object.of[e];if(Object.prototype.hasOwnProperty.call(c,b))a[b]=c[b]}}};
w_.object.create=function(){var a=arguments.length;if(a==1&&w_.isArray(arguments[0]))return w_.object.create.apply(w_c,arguments[0]);if(a%2)w_a(Error("Uneven number of arguments"));for(var b={},c=0;c<a;c+=2)b[arguments[c]]=arguments[c+1];return b};w_.object.createSet=function(){var a=arguments.length;if(a==1&&w_.isArray(arguments[0]))return w_.object.createSet.apply(w_c,arguments[0]);for(var b={},c=0;c<a;c++)b[arguments[c]]=w_b;return b};w_.string={};w_.string.Unicode={NBSP:"\u00a0"};w_.string.Ee=function(a,b){return a.indexOf(b)==0};w_.string.og=function(a,b){var c=a.length-b.length;return c>=0&&a.lastIndexOf(b,c)==c};w_.string.caseInsensitiveStartsWith=function(a,b){return w_.string.caseInsensitiveCompare(b,a.substr(0,b.length))==0};w_.string.caseInsensitiveEndsWith=function(a,b){return w_.string.caseInsensitiveCompare(b,a.substr(a.length-b.length,b.length))==0};
w_.string.subs=function(a){for(var b=1;b<arguments.length;b++){var c=String(arguments[b]).replace(/\$/g,"$$$$");a=a.replace(/\%s/,c)}return a};w_.string.collapseWhitespace=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")};w_.string.C=function(a){return/^[\s\xa0]*$/.test(a)};w_.string.isEmptySafe=function(a){return w_.string.C(w_.string.makeSafe(a))};w_.string.isBreakingWhitespace=function(a){return!/[^\t\n\r ]/.test(a)};w_.string.isAlpha=function(a){return!/[^a-zA-Z]/.test(a)};
w_.string.isNumeric=function(a){return!/[^0-9]/.test(a)};w_.string.isAlphaNumeric=function(a){return!/[^a-zA-Z0-9]/.test(a)};w_.string.isSpace=function(a){return a==" "};w_.string.isUnicodeChar=function(a){return a.length==1&&a>=" "&&a<="~"||a>="\u0080"&&a<="\ufffd"};w_.string.stripNewlines=function(a){return a.replace(/(\r\n|\r|\n)+/g," ")};w_.string.canonicalizeNewlines=function(a){return a.replace(/(\r\n|\r|\n)/g,"\n")};w_.string.normalizeWhitespace=function(a){return a.replace(/\xa0|\s/g," ")};
w_.string.normalizeSpaces=function(a){return a.replace(/\xa0|[ \t]+/g," ")};w_.string.trim=function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};w_.string.trimLeft=function(a){return a.replace(/^[\s\xa0]+/,"")};w_.string.trimRight=function(a){return a.replace(/[\s\xa0]+$/,"")};w_.string.caseInsensitiveCompare=function(a,b){var c=String(a).toLowerCase(),d=String(b).toLowerCase();return c<d?-1:c==d?0:1};w_.string.ph=/(\.\d+)|(\d+)|(\D+)/g;
w_.string.numerateCompare=function(a,b){if(a==b)return 0;if(!a)return-1;if(!b)return 1;for(var c=a.toLowerCase().match(w_.string.ph),d=b.toLowerCase().match(w_.string.ph),e=Math.min(c.length,d.length),f=0;f<e;f++){var g=c[f],h=d[f];if(g!=h){var i=parseInt(g,10);if(!isNaN(i)){var j=parseInt(h,10);if(!isNaN(j)&&i-j)return i-j}return g<h?-1:1}}if(c.length!=d.length)return c.length-d.length;return a<b?-1:1};w_.string.yi=/^[a-zA-Z0-9\-_.!~*'()]*$/;
w_.string.urlEncode=function(a){a=String(a);if(!w_.string.yi.test(a))return encodeURIComponent(a);return a};w_.string.urlDecode=function(a){return decodeURIComponent(a.replace(/\+/g," "))};w_.string.newLineToBr=function(a,b){return a.replace(/(\r\n|\r|\n)/g,b?"<br />":"<br>")};
w_.string.htmlEscape=function(a,b){if(b)return a.replace(w_.string.Lf,"&amp;").replace(w_.string.kh,"&lt;").replace(w_.string.Og,"&gt;").replace(w_.string.wh,"&quot;");else{if(!w_.string.bi.test(a))return a;if(a.indexOf("&")!=-1)a=a.replace(w_.string.Lf,"&amp;");if(a.indexOf("<")!=-1)a=a.replace(w_.string.kh,"&lt;");if(a.indexOf(">")!=-1)a=a.replace(w_.string.Og,"&gt;");if(a.indexOf('"')!=-1)a=a.replace(w_.string.wh,"&quot;");return a}};w_.string.Lf=/&/g;w_.string.kh=/</g;w_.string.Og=/>/g;
w_.string.wh=/\"/g;w_.string.bi=/[&<>\"]/;w_.string.unescapeEntities=function(a){if(w_.string.contains(a,"&"))return"document"in w_.global&&!w_.string.contains(a,"<")?w_.string.kj(a):w_.string.lj(a);return a};w_.string.kj=function(a){var b=w_.global.document.createElement("a");b.innerHTML=a;b[w_.string.mf]&&b[w_.string.mf]();a=b.firstChild.nodeValue;b.innerHTML="";return a};
w_.string.lj=function(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if(c.charAt(0)=="#"){var d=Number("0"+c.substr(1));if(!isNaN(d))return String.fromCharCode(d)}return b}})};w_.string.mf="normalize";w_.string.whitespaceEscape=function(a,b){return w_.string.newLineToBr(a.replace(/  /g," &#160;"),b)};
w_.string.stripQuotes=function(a,b){for(var c=b.length,d=0;d<c;d++){var e=c==1?b:b.charAt(d);if(a.charAt(0)==e&&a.charAt(a.length-1)==e)return a.substring(1,a.length-1)}return a};w_.string.truncate=function(a,b,c){if(c)a=w_.string.unescapeEntities(a);if(a.length>b)a=a.substring(0,b-3)+"...";if(c)a=w_.string.htmlEscape(a);return a};
w_.string.truncateMiddle=function(a,b,c){if(c)a=w_.string.unescapeEntities(a);if(a.length>b){var d=Math.floor(b/2),e=a.length-d;d+=b%2;a=a.substring(0,d)+"..."+a.substring(e)}if(c)a=w_.string.htmlEscape(a);return a};w_.string.oe={"\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\u000b":"\\x0B",'"':'\\"',"'":"\\'","\\":"\\\\"};
w_.string.quote=function(a){a=String(a);if(a.quote)return a.quote();else{for(var b=['"'],c=0;c<a.length;c++)b[c+1]=w_.string.escapeChar(a.charAt(c));b.push('"');return b.join("")}};w_.string.escapeChar=function(a){if(a in w_.string.oe)return w_.string.oe[a];var b=a,c=a.charCodeAt(0);if(c>31&&c<127)b=a;else{if(c<256){b="\\x";if(c<16||c>256)b+="0"}else{b="\\u";if(c<4096)b+="0"}b+=c.toString(16).toUpperCase()}return w_.string.oe[a]=b};
w_.string.toMap=function(a){for(var b={},c=0;c<a.length;c++)b[a.charAt(c)]=w_b;return b};w_.string.contains=function(a,b){return a.indexOf(b)!=-1};w_.string.removeAt=function(a,b,c){var d=a;if(b>=0&&b<a.length&&c>0)d=a.substr(0,b)+a.substr(b+c,a.length-b-c);return d};w_.string.remove=function(a,b){var c=new RegExp(w_.string.regExpEscape(b),"");return a.replace(c,"")};w_.string.removeAll=function(a,b){var c=new RegExp(w_.string.regExpEscape(b),"g");return a.replace(c,"")};
w_.string.regExpEscape=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};w_.string.repeat=function(a,b){return(new Array(b+1)).join(a)};w_.string.padNumber=function(a,b,c){var d=w_.isDef(c)?a.toFixed(c):String(a),e=d.indexOf(".");if(e==-1)e=d.length;return w_.string.repeat("0",Math.max(0,b-e))+d};w_.string.makeSafe=function(a){return a==w_c?"":String(a)};w_.string.buildString=function(){return Array.prototype.join.call(arguments,"")};
w_.string.getRandomString=function(){return Math.floor(Math.random()*2147483648).toString(36)+(Math.floor(Math.random()*2147483648)^(new Date).getTime()).toString(36)};
w_.string.compareVersions=function(a,b){for(var c=0,d=w_.string.trim(String(a)).split("."),e=w_.string.trim(String(b)).split("."),f=Math.max(d.length,e.length),g=0;c==0&&g<f;g++){var h=d[g]||"",i=e[g]||"",j=new RegExp("(\\d*)(\\D*)","g"),k=new RegExp("(\\d*)(\\D*)","g");do{var l=j.exec(h)||["","",""],m=k.exec(i)||["","",""];if(l[0].length==0&&m[0].length==0)break;var n=l[1].length==0?0:parseInt(l[1],10),o=m[1].length==0?0:parseInt(m[1],10);c=w_.string.zd(n,o)||w_.string.zd(l[2].length==0,m[2].length==
0)||w_.string.zd(l[2],m[2])}while(c==0)}return c};w_.string.zd=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};w_.string.Yh=4294967296;w_.string.hashCode=function(a){for(var b=0,c=0;c<a.length;++c){b=31*b+a.charCodeAt(c);b%=w_.string.Yh}return b};w_.string.nj=w_.now();w_.string.createUniqueString=function(){return"goog_"+w_.string.nj++};w_.string.toNumber=function(a){var b=Number(a);if(b==0&&w_.string.C(a))return NaN;return b};w_.userAgent={};w_.userAgent.ASSUME_IE=w_d;w_.userAgent.ASSUME_GECKO=w_d;w_.userAgent.ASSUME_CAMINO=w_d;w_.userAgent.ASSUME_WEBKIT=w_d;w_.userAgent.ASSUME_MOBILE_WEBKIT=w_d;w_.userAgent.ASSUME_OPERA=w_d;w_.userAgent.za=w_.userAgent.ASSUME_IE||w_.userAgent.ASSUME_GECKO||w_.userAgent.ASSUME_CAMINO||w_.userAgent.ASSUME_MOBILE_WEBKIT||w_.userAgent.ASSUME_WEBKIT||w_.userAgent.ASSUME_OPERA;w_.userAgent.getUserAgentString=function(){return w_.global.navigator?w_.global.navigator.userAgent:w_c};
w_.userAgent.getNavigator=function(){return w_.global.navigator};
w_.userAgent.kb=function(){w_.userAgent.Eb=w_d;w_.userAgent.hg=w_d;w_.userAgent.oc=w_d;w_.userAgent.jg=w_d;w_.userAgent.Ed=w_d;w_.userAgent.Db=w_d;var a;if(!w_.userAgent.za&&(a=w_.userAgent.getUserAgentString())){var b=w_.userAgent.getNavigator();w_.userAgent.Eb=a.indexOf("Opera")==0;w_.userAgent.hg=!w_.userAgent.Eb&&a.indexOf("MSIE")!=-1;w_.userAgent.oc=!w_.userAgent.Eb&&a.indexOf("WebKit")!=-1;w_.userAgent.jg=w_.userAgent.oc&&a.indexOf("Mobile")!=-1;w_.userAgent.Ed=!w_.userAgent.Eb&&!w_.userAgent.oc&&
b.product=="Gecko";w_.userAgent.Db=w_.userAgent.Ed&&b.vendor=="Camino"}};w_.userAgent.za||w_.userAgent.kb();w_.userAgent.OPERA=w_.userAgent.za?w_.userAgent.ASSUME_OPERA:w_.userAgent.Eb;w_.userAgent.IE=w_.userAgent.za?w_.userAgent.ASSUME_IE:w_.userAgent.hg;w_.userAgent.GECKO=w_.userAgent.za?w_.userAgent.ASSUME_GECKO||w_.userAgent.ASSUME_CAMINO:w_.userAgent.Ed;w_.userAgent.CAMINO=w_.userAgent.za?w_.userAgent.ASSUME_CAMINO:w_.userAgent.Db;
w_.userAgent.WEBKIT=w_.userAgent.za?w_.userAgent.ASSUME_WEBKIT||w_.userAgent.ASSUME_MOBILE_WEBKIT:w_.userAgent.oc;w_.userAgent.MOBILE=w_.userAgent.ASSUME_MOBILE_WEBKIT||w_.userAgent.jg;w_.userAgent.SAFARI=w_.userAgent.WEBKIT;w_.userAgent.ri=function(){var a=w_.userAgent.getNavigator();return a&&a.platform||""};w_.userAgent.PLATFORM=w_.userAgent.ri();w_.userAgent.ASSUME_MAC=w_d;w_.userAgent.ASSUME_WINDOWS=w_d;w_.userAgent.ASSUME_LINUX=w_d;w_.userAgent.ASSUME_X11=w_d;
w_.userAgent.Ab=w_.userAgent.ASSUME_MAC||w_.userAgent.ASSUME_WINDOWS||w_.userAgent.ASSUME_LINUX||w_.userAgent.ASSUME_X11;w_.userAgent.Bi=function(){w_.userAgent.oi=w_.string.contains(w_.userAgent.PLATFORM,"Mac");w_.userAgent.pi=w_.string.contains(w_.userAgent.PLATFORM,"Win");w_.userAgent.ni=w_.string.contains(w_.userAgent.PLATFORM,"Linux");w_.userAgent.qi=!!w_.userAgent.getNavigator()&&w_.string.contains(w_.userAgent.getNavigator().appVersion||"","X11")};w_.userAgent.Ab||w_.userAgent.Bi();
w_.userAgent.MAC=w_.userAgent.Ab?w_.userAgent.ASSUME_MAC:w_.userAgent.oi;w_.userAgent.WINDOWS=w_.userAgent.Ab?w_.userAgent.ASSUME_WINDOWS:w_.userAgent.pi;w_.userAgent.LINUX=w_.userAgent.Ab?w_.userAgent.ASSUME_LINUX:w_.userAgent.ni;w_.userAgent.X11=w_.userAgent.Ab?w_.userAgent.ASSUME_X11:w_.userAgent.qi;
w_.userAgent.si=function(){var a="",b;if(w_.userAgent.OPERA&&w_.global.opera){var c=w_.global.opera.version;a=typeof c=="function"?c():c}else{if(w_.userAgent.GECKO)b=/rv\:([^\);]+)(\)|;)/;else if(w_.userAgent.IE)b=/MSIE\s+([^\);]+)(\)|;)/;else if(w_.userAgent.WEBKIT)b=/WebKit\/(\S+)/;if(b){var d=b.exec(w_.userAgent.getUserAgentString());a=d?d[1]:""}}return a};w_.userAgent.VERSION=w_.userAgent.si();w_.userAgent.compare=function(a,b){return w_.string.compareVersions(a,b)};w_.userAgent.eh={};
w_.userAgent.isVersion=function(a){return w_.userAgent.eh[a]||(w_.userAgent.eh[a]=w_.string.compareVersions(w_.userAgent.VERSION,a)>=0)};w_.dom={};w_.dom.classes={};w_.dom.classes.set=function(a,b){a.className=b};w_.dom.classes.get=function(a){var b=a.className;return b&&typeof b.split=="function"?b.split(" "):[]};w_.dom.classes.add=function(a){var b=w_.dom.classes.get(a),c=w_.array.slice(arguments,1),d=w_.dom.classes.Kf(b,c);a.className=b.join(" ");return d};w_.dom.classes.remove=function(a){var b=w_.dom.classes.get(a),c=w_.array.slice(arguments,1),d=w_.dom.classes.Bh(b,c);a.className=b.join(" ");return d};
w_.dom.classes.Kf=function(a,b){for(var c=0,d=0;d<b.length;d++)if(!w_.array.contains(a,b[d])){a.push(b[d]);c++}return c==b.length};w_.dom.classes.Bh=function(a,b){for(var c=0,d=0;d<a.length;d++)if(w_.array.contains(b,a[d])){w_.array.splice(a,d--,1);c++}return c==b.length};w_.dom.classes.swap=function(a,b,c){for(var d=w_.dom.classes.get(a),e=w_d,f=0;f<d.length;f++)if(d[f]==b){w_.array.splice(d,f--,1);e=w_b}if(e){d.push(c);a.className=d.join(" ")}return e};
w_.dom.classes.addRemove=function(a,b,c){var d=w_.dom.classes.get(a);if(w_.isString(b))w_.array.remove(d,b);else w_.isArray(b)&&w_.dom.classes.Bh(d,b);if(w_.isString(c)&&!w_.array.contains(d,c))d.push(c);else w_.isArray(c)&&w_.dom.classes.Kf(d,c);a.className=d.join(" ")};w_.dom.classes.has=function(a,b){return w_.array.contains(w_.dom.classes.get(a),b)};w_.dom.classes.enable=function(a,b,c){c?w_.dom.classes.add(a,b):w_.dom.classes.remove(a,b)};
w_.dom.classes.toggle=function(a,b){var c=!w_.dom.classes.has(a,b);w_.dom.classes.enable(a,b,c);return c};w_.dom.TagName={A:"A",ABBR:"ABBR",ACRONYM:"ACRONYM",ADDRESS:"ADDRESS",APPLET:"APPLET",AREA:"AREA",B:"B",BASE:"BASE",BASEFONT:"BASEFONT",BDO:"BDO",BIG:"BIG",BLOCKQUOTE:"BLOCKQUOTE",BODY:"BODY",BR:"BR",BUTTON:"BUTTON",CAPTION:"CAPTION",CENTER:"CENTER",CITE:"CITE",CODE:"CODE",COL:"COL",COLGROUP:"COLGROUP",DD:"DD",DEL:"DEL",DFN:"DFN",DIR:"DIR",DIV:"DIV",DL:"DL",DT:"DT",EM:"EM",FIELDSET:"FIELDSET",FONT:"FONT",FORM:"FORM",FRAME:"FRAME",FRAMESET:"FRAMESET",H1:"H1",H2:"H2",H3:"H3",H4:"H4",H5:"H5",H6:"H6",
HEAD:"HEAD",HR:"HR",HTML:"HTML",I:"I",IFRAME:"IFRAME",IMG:"IMG",INPUT:"INPUT",INS:"INS",ISINDEX:"ISINDEX",KBD:"KBD",LABEL:"LABEL",LEGEND:"LEGEND",LI:"LI",LINK:"LINK",MAP:"MAP",MENU:"MENU",META:"META",NOFRAMES:"NOFRAMES",NOSCRIPT:"NOSCRIPT",OBJECT:"OBJECT",OL:"OL",OPTGROUP:"OPTGROUP",OPTION:"OPTION",P:"P",PARAM:"PARAM",PRE:"PRE",Q:"Q",S:"S",SAMP:"SAMP",SCRIPT:"SCRIPT",SELECT:"SELECT",SMALL:"SMALL",SPAN:"SPAN",STRIKE:"STRIKE",STRONG:"STRONG",STYLE:"STYLE",SUB:"SUB",SUP:"SUP",TABLE:"TABLE",TBODY:"TBODY",
TD:"TD",TEXTAREA:"TEXTAREA",TFOOT:"TFOOT",TH:"TH",THEAD:"THEAD",TITLE:"TITLE",TR:"TR",TT:"TT",U:"U",UL:"UL",VAR:"VAR"};w_.dom.ASSUME_QUIRKS_MODE=w_d;w_.dom.ASSUME_STANDARDS_MODE=w_d;w_.dom.Sh=w_.dom.ASSUME_QUIRKS_MODE||w_.dom.ASSUME_STANDARDS_MODE;w_.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12};w_.dom.W=function(a){return a?new w_.dom.DomHelper(w_.dom.u(a)):w_.dom.li||(w_.dom.li=new w_.dom.DomHelper)};w_.dom.Ia=function(){return document};
w_.dom.Gb=function(a){return w_.isString(a)?document.getElementById(a):a};w_.dom.Yc=w_.dom.Gb;w_.dom.na=function(a,b,c){return w_.dom.Eg(document,a,b,c)};
w_.dom.Eg=function(a,b,c,d){var e=d||a,f=b&&b!="*"?b.toLowerCase():"";if(e.querySelectorAll&&(f||c)&&(!w_.userAgent.WEBKIT||w_.dom.lb(a)||w_.userAgent.isVersion("528"))){var g=f+(c?"."+c:"");return e.querySelectorAll(g)}if(c&&e.getElementsByClassName){var h=e.getElementsByClassName(c);if(f){for(var i={},j=0,k=0,l;l=h[k];k++)if(f==l.nodeName.toLowerCase())i[j++]=l;i.length=j;return i}else return h}h=e.getElementsByTagName(f||"*");if(c){i={};for(k=j=0;l=h[k];k++){var m=l.className;if(typeof m.split==
"function"&&w_.array.contains(m.split(" "),c))i[j++]=l}i.length=j;return i}else return h};w_.dom.Y=w_.dom.na;w_.dom.Ub=function(a,b){w_.object.forEach(b,function(c,d){if(d=="style")a.style.cssText=c;else if(d=="class")a.className=c;else if(d=="for")a.htmlFor=c;else if(d in w_.dom.Se)a.setAttribute(w_.dom.Se[d],c);else a[d]=c})};
w_.dom.Se={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",type:"type"};w_.dom.Lb=function(a){return w_.dom.Ng(a||window)};
w_.dom.Ng=function(a){var b=a.document;if(w_.userAgent.WEBKIT&&!w_.userAgent.isVersion("500")&&!w_.userAgent.MOBILE){if(typeof a.innerHeight=="undefined")a=window;var c=a.innerHeight,d=a.document.documentElement.scrollHeight;if(a==a.top)if(d<c)c-=15;return new w_.math.Size(a.innerWidth,c)}var e=w_.dom.lb(b)&&(!w_.userAgent.OPERA||w_.userAgent.OPERA&&w_.userAgent.isVersion("9.50"))?b.documentElement:b.body;return new w_.math.Size(e.clientWidth,e.clientHeight)};w_.dom.Bg=function(){return w_.dom.Cg(window)};
w_.dom.Cg=function(a){var b=a.document,c=0;if(b){var d=w_.dom.Ng(a).height,e=b.body,f=b.documentElement;if(w_.dom.lb(b)&&f.scrollHeight)c=f.scrollHeight!=d?f.scrollHeight:f.offsetHeight;else{var g=f.scrollHeight,h=f.offsetHeight;if(f.clientHeight!=h){g=e.scrollHeight;h=e.offsetHeight}c=g>d?g>h?g:h:g<h?g:h}}return c};w_.dom.getPageScroll=function(a){var b=a||w_.global||window;return w_.dom.W(b.document).gb()};w_.dom.gb=function(){return w_.dom.Dg(document)};
w_.dom.Dg=function(a){var b=w_.dom.Pd(a);return new w_.math.Coordinate(b.scrollLeft,b.scrollTop)};w_.dom.Od=function(){return w_.dom.Pd(document)};w_.dom.Pd=function(a){return!w_.userAgent.WEBKIT&&w_.dom.lb(a)?a.documentElement:a.body};w_.dom.ib=function(a){return a?w_.dom.de(a):window};
w_.dom.de=function(a){if(a.parentWindow)return a.parentWindow;if(w_.userAgent.WEBKIT&&!w_.userAgent.isVersion("500")&&!w_.userAgent.MOBILE){var b=a.createElement("script");b.innerHTML="document.parentWindow=window";var c=a.documentElement;c.appendChild(b);c.removeChild(b);return a.parentWindow}return a.defaultView};w_.dom.j=function(){return w_.dom.bg(document,arguments)};
w_.dom.bg=function(a,b){var c=b[0],d=b[1];if(w_.userAgent.IE&&d&&(d.name||d.type)){var e=["<",c];d.name&&e.push(' name="',w_.string.htmlEscape(d.name),'"');if(d.type){e.push(' type="',w_.string.htmlEscape(d.type),'"');d=w_.cloneObject(d);delete d.type}e.push(">");c=e.join("")}var f=a.createElement(c);if(d)if(w_.isString(d))f.className=d;else w_.dom.Ub(f,d);if(b.length>2){function g(j){if(j)f.appendChild(w_.isString(j)?a.createTextNode(j):j)}for(var h=2;h<b.length;h++){var i=b[h];w_.isArrayLike(i)&&
!w_.dom.Mc(i)?w_.array.forEach(w_.dom.isNodeList(i)?w_.array.clone(i):i,g):g(i)}}return f};w_.dom.Me=w_.dom.j;w_.dom.createElement=function(a){return document.createElement(a)};w_.dom.createTextNode=function(a){return document.createTextNode(a)};w_.dom.Xg=function(a){return w_.dom.Yg(document,a)};w_.dom.Yg=function(a,b){var c=a.createElement("div");c.innerHTML=b;if(c.childNodes.length==1)return c.firstChild;else{for(var d=a.createDocumentFragment();c.firstChild;)d.appendChild(c.firstChild);return d}};
w_.dom.zg=function(){return w_.dom.ra()?"CSS1Compat":"BackCompat"};w_.dom.ra=function(){return w_.dom.lb(document)};w_.dom.lb=function(a){if(w_.dom.Sh)return w_.dom.ASSUME_STANDARDS_MODE;return a.compatMode=="CSS1Compat"};w_.dom.canHaveChildren=function(a){if(a.nodeType!=w_.dom.NodeType.ELEMENT)return w_d;if("canHaveChildren"in a)return a.canHaveChildren;switch(a.tagName){case w_.dom.TagName.APPLET:case w_.dom.TagName.AREA:case w_.dom.TagName.BR:case w_.dom.TagName.COL:case w_.dom.TagName.FRAME:case w_.dom.TagName.HR:case w_.dom.TagName.IMG:case w_.dom.TagName.INPUT:case w_.dom.TagName.IFRAME:case w_.dom.TagName.ISINDEX:case w_.dom.TagName.LINK:case w_.dom.TagName.NOFRAMES:case w_.dom.TagName.NOSCRIPT:case w_.dom.TagName.META:case w_.dom.TagName.OBJECT:case w_.dom.TagName.PARAM:case w_.dom.TagName.SCRIPT:case w_.dom.TagName.STYLE:return w_d}return w_b};
w_.dom.appendChild=function(a,b){a.appendChild(b)};w_.dom.Pb=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};w_.dom.Kc=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)};w_.dom.me=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};w_.dom.removeNode=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):w_c};w_.dom.replaceNode=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)};
w_.dom.Md=function(a){var b,c=a.parentNode;if(c&&c.nodeType!=w_.dom.NodeType.DOCUMENT_FRAGMENT)if(a.removeNode)return a.removeNode(w_d);else{for(;b=a.firstChild;)c.insertBefore(b,a);return w_.dom.removeNode(a)}};w_.dom.Qd=function(a){return w_.dom.Ac(a.firstChild,w_b)};w_.dom.Sd=function(a){return w_.dom.Ac(a.lastChild,w_d)};w_.dom.Vd=function(a){return w_.dom.Ac(a.nextSibling,w_b)};w_.dom.Zd=function(a){return w_.dom.Ac(a.previousSibling,w_d)};
w_.dom.Ac=function(a,b){for(;a&&a.nodeType!=w_.dom.NodeType.ELEMENT;)a=b?a.nextSibling:a.previousSibling;return a};w_.dom.Mc=function(a){return w_.isObject(a)&&a.nodeType>0};w_.dom.Rh=w_.userAgent.WEBKIT&&w_.userAgent.isVersion("522");
w_.dom.contains=function(a,b){if(typeof a.contains!="undefined"&&!w_.dom.Rh&&b.nodeType==w_.dom.NodeType.ELEMENT)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};
w_.dom.compareNodeOrder=function(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=a.nodeType==w_.dom.NodeType.ELEMENT,d=b.nodeType==w_.dom.NodeType.ELEMENT;if(c&&d)return a.sourceIndex-b.sourceIndex;else{var e=a.parentNode,f=b.parentNode;if(e==f)return w_.dom.ag(a,b);if(!c&&w_.dom.contains(e,b))return-1*w_.dom.$f(a,b);if(!d&&w_.dom.contains(f,a))return w_.dom.$f(b,a);return(c?a.sourceIndex:
e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}}var g=w_.dom.u(a),h,i;h=g.createRange();h.selectNode(a);h.collapse(w_b);i=g.createRange();i.selectNode(b);i.collapse(w_b);return h.compareBoundaryPoints(w_.global.Range.START_TO_END,i)};w_.dom.$f=function(a,b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return w_.dom.ag(d,a)};w_.dom.ag=function(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1};
w_.dom.findCommonAncestor=function(){var a,b=arguments.length;if(b){if(b==1)return arguments[0]}else return w_c;var c=[],d=Infinity;for(a=0;a<b;a++){for(var e=[],f=arguments[a];f;){e.unshift(f);f=f.parentNode}c.push(e);d=Math.min(d,e.length)}var g=w_c;for(a=0;a<d;a++){for(var h=c[0][a],i=1;i<b;i++)if(h!=c[i][a])return g;g=h}return g};w_.dom.u=function(a){return a.nodeType==w_.dom.NodeType.DOCUMENT?a:a.ownerDocument||a.document};
w_.dom.wc=function(a){var b;return b=w_.userAgent.WEBKIT?a.document||a.contentWindow.document:a.contentDocument||a.contentWindow.document};w_.dom.Rd=function(a){return a.contentWindow||w_.dom.de(w_.dom.wc(a))};w_.dom.Ce=function(a,b){if("textContent"in a)a.textContent=b;else if(a.firstChild&&a.firstChild.nodeType==w_.dom.NodeType.TEXT){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else{w_.dom.Pb(a);var c=w_.dom.u(a);a.appendChild(c.createTextNode(b))}};
w_.dom.getOuterHtml=function(a){if("outerHTML"in a)return a.outerHTML;else{var b=w_.dom.u(a),c=b.createElement("div");c.appendChild(a.cloneNode(w_b));return c.innerHTML}};w_.dom.Jd=function(a,b){var c=[],d=w_.dom.Ld(a,b,c,w_b);return d?c[0]:undefined};w_.dom.Kd=function(a,b){var c=[];w_.dom.Ld(a,b,c,w_d);return c};w_.dom.Ld=function(a,b,c,d){if(a!=w_c)for(var e=0,f;f=a.childNodes[e];e++){if(b(f)){c.push(f);if(d)return w_b}if(w_.dom.Ld(f,b,c,d))return w_b}return w_d};
w_.dom.Bf={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1};w_.dom.dc={IMG:" ",BR:"\n"};w_.dom.isFocusableTabIndex=function(a){var b=a.getAttributeNode("tabindex");if(b&&b.specified){var c=a.tabIndex;return w_.isNumber(c)&&c>=0}return w_d};w_.dom.setFocusableTabIndex=function(a,b){if(b)a.tabIndex=0;else a.removeAttribute("tabIndex")};
w_.dom.Kb=function(a){var b;if(w_.userAgent.IE&&"innerText"in a)b=w_.string.canonicalizeNewlines(a.innerText);else{var c=[];w_.dom.ae(a,c,w_b);b=c.join("")}b=b.replace(/\xAD/g,"");b=b.replace(/ +/g," ");if(b!=" ")b=b.replace(/^\s*/,"");return b};w_.dom.getRawTextContent=function(a){var b=[];w_.dom.ae(a,b,w_d);return b.join("")};
w_.dom.ae=function(a,b,c){if(!(a.nodeName in w_.dom.Bf))if(a.nodeType==w_.dom.NodeType.TEXT)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in w_.dom.dc)b.push(w_.dom.dc[a.nodeName]);else for(var d=a.firstChild;d;){w_.dom.ae(d,b,c);d=d.nextSibling}};w_.dom.Wd=function(a){return w_.dom.Kb(a).length};
w_.dom.Xd=function(a,b){for(var c=b||w_.dom.u(a).body,d=[];a&&a!=c;){for(var e=a;e=e.previousSibling;)d.unshift(w_.dom.Kb(e));a=a.parentNode}return w_.string.trimLeft(d.join("")).replace(/ +/g," ").length};
w_.dom.getNodeAtOffset=function(a,b,c){for(var d=[a],e=0,f;d.length>0&&e<b;){f=d.pop();if(!(f.nodeName in w_.dom.Bf))if(f.nodeType==w_.dom.NodeType.TEXT){var g=f.nodeValue.replace(/(\r\n|\r|\n)/g,"").replace(/ +/g," ");e+=g.length}else if(f.nodeName in w_.dom.dc)e+=w_.dom.dc[f.nodeName].length;else for(var h=f.childNodes.length-1;h>=0;h--)d.push(f.childNodes[h])}if(w_.isObject(c)){c.remainder=f?f.nodeValue.length+b-e-1:0;c.node=f}return f};
w_.dom.isNodeList=function(a){if(a&&typeof a.length=="number")if(w_.isObject(a))return typeof a.item=="function"||typeof a.item=="string";else if(w_.isFunction(a))return typeof a.item=="function";return w_d};w_.dom.Nd=function(a,b,c){return w_.dom.uc(a,function(d){return(!b||d.nodeName==b)&&(!c||w_.dom.classes.has(d,c))},w_b)};w_.dom.uc=function(a,b,c,d){if(!c)a=a.parentNode;for(var e=d==w_c,f=0;a&&(e||f<=d);){if(b(a))return a;a=a.parentNode;f++}return w_c};
w_.dom.DomHelper=function(a){this.aa=a||w_.global.document||document};w_.dom.DomHelper.prototype.W=w_.dom.W;w_.dom.DomHelper.prototype.Ia=function(){return this.aa};w_.dom.DomHelper.prototype.Gb=function(a){return w_.isString(a)?this.aa.getElementById(a):a};w_.dom.DomHelper.prototype.Yc=w_.dom.DomHelper.prototype.Gb;w_.dom.DomHelper.prototype.na=function(a,b,c){return w_.dom.Eg(this.aa,a,b,c)};w_.dom.DomHelper.prototype.Y=w_.dom.DomHelper.prototype.na;w_.dom.DomHelper.prototype.Ub=w_.dom.Ub;
w_.dom.DomHelper.prototype.Lb=function(a){return w_.dom.Lb(a||this.ib())};w_.dom.DomHelper.prototype.Bg=function(){return w_.dom.Cg(this.ib())};w_.dom.DomHelper.prototype.j=function(){return w_.dom.bg(this.aa,arguments)};w_.dom.DomHelper.prototype.Me=w_.dom.DomHelper.prototype.j;w_.dom.DomHelper.prototype.createElement=function(a){return this.aa.createElement(a)};w_.dom.DomHelper.prototype.createTextNode=function(a){return this.aa.createTextNode(a)};
w_.dom.DomHelper.prototype.Xg=function(a){return w_.dom.Yg(this.aa,a)};w_.dom.DomHelper.prototype.zg=function(){return this.ra()?"CSS1Compat":"BackCompat"};w_.dom.DomHelper.prototype.ra=function(){return w_.dom.lb(this.aa)};w_.dom.DomHelper.prototype.ib=function(){return w_.dom.de(this.aa)};w_.dom.DomHelper.prototype.Od=function(){return w_.dom.Pd(this.aa)};w_.dom.DomHelper.prototype.gb=function(){return w_.dom.Dg(this.aa)};w_.dom.DomHelper.prototype.appendChild=w_.dom.appendChild;
w_.dom.DomHelper.prototype.Pb=w_.dom.Pb;w_.dom.DomHelper.prototype.Kc=w_.dom.Kc;w_.dom.DomHelper.prototype.me=w_.dom.me;w_.dom.DomHelper.prototype.removeNode=w_.dom.removeNode;w_.dom.DomHelper.prototype.replaceNode=w_.dom.replaceNode;w_.dom.DomHelper.prototype.Md=w_.dom.Md;w_.dom.DomHelper.prototype.Qd=w_.dom.Qd;w_.dom.DomHelper.prototype.Sd=w_.dom.Sd;w_.dom.DomHelper.prototype.Vd=w_.dom.Vd;w_.dom.DomHelper.prototype.Zd=w_.dom.Zd;w_.dom.DomHelper.prototype.Mc=w_.dom.Mc;
w_.dom.DomHelper.prototype.contains=w_.dom.contains;w_.dom.DomHelper.prototype.u=w_.dom.u;w_.dom.DomHelper.prototype.wc=w_.dom.wc;w_.dom.DomHelper.prototype.Rd=w_.dom.Rd;w_.dom.DomHelper.prototype.Ce=w_.dom.Ce;w_.dom.DomHelper.prototype.Jd=w_.dom.Jd;w_.dom.DomHelper.prototype.Kd=w_.dom.Kd;w_.dom.DomHelper.prototype.Kb=w_.dom.Kb;w_.dom.DomHelper.prototype.Wd=w_.dom.Wd;w_.dom.DomHelper.prototype.Xd=w_.dom.Xd;w_.dom.DomHelper.prototype.Nd=w_.dom.Nd;w_.dom.DomHelper.prototype.uc=w_.dom.uc;w_.debug={};w_.debug.errorHandlerWeakDep={protectEntryPoint:function(a){return a}};w_.Disposable=function(){};w_.Disposable.prototype.Gd=w_d;w_.Disposable.prototype.dispose=function(){if(!this.Gd){this.Gd=w_b;this.N()}};w_.Disposable.prototype.N=function(){};w_.dispose=function(a){a&&typeof a.dispose=="function"&&a.dispose()};w_.structs={};w_.structs.SimplePool=function(a,b){w_.Disposable.call(this);this.lh=b;this.Ha=[];this.cg(a)};w_.inherits(w_.structs.SimplePool,w_.Disposable);w_.structs.SimplePool.prototype.mc=w_c;w_.structs.SimplePool.prototype.qc=w_c;w_.structs.SimplePool.prototype.ob=function(a){this.mc=a};w_.structs.SimplePool.prototype.Ae=function(a){this.qc=a};w_.structs.SimplePool.prototype.pa=function(){if(this.Ha.length)return this.Ha.pop();return this.Ad()};
w_.structs.SimplePool.prototype.Sa=function(a){this.Ha.length<this.lh?this.Ha.push(a):this.Fd(a)};w_.structs.SimplePool.prototype.cg=function(a){if(a>this.lh)w_a(Error("[goog.structs.SimplePool] Initial cannot be greater than max"));for(var b=0;b<a;b++)this.Ha.push(this.Ad())};w_.structs.SimplePool.prototype.Ad=function(){return this.mc?this.mc():{}};w_.structs.SimplePool.prototype.Fd=function(a){if(this.qc)this.qc(a);else if(w_.isFunction(a.dispose))a.dispose();else for(var b in a)delete a[b]};
w_.structs.SimplePool.prototype.N=function(){w_.structs.SimplePool.Vc.N.call(this);for(var a=this.Ha;a.length;)this.Fd(a.pop());delete this.Ha};w_.events={};w_.events.Event=function(a,b){this.type=a;this.currentTarget=this.target=b};w_.inherits(w_.events.Event,w_.Disposable);w_.events.Event.prototype.N=function(){delete this.type;delete this.target;delete this.currentTarget};w_.events.Event.prototype.sa=w_d;w_.events.Event.prototype.Ta=w_b;w_.events.Event.prototype.stopPropagation=function(){this.sa=w_b};w_.events.Event.prototype.preventDefault=function(){this.Ta=w_d};w_.events.BrowserEvent=function(a,b){a&&this.init(a,b)};w_.inherits(w_.events.BrowserEvent,w_.events.Event);w_.events.BrowserEvent.MouseButton={LEFT:0,MIDDLE:1,RIGHT:2};w_.events.BrowserEvent.qj=[1,4,2];w_.events.BrowserEvent.prototype.type=w_c;w_.events.BrowserEvent.prototype.target=w_c;w_.events.BrowserEvent.prototype.relatedTarget=w_c;w_.events.BrowserEvent.prototype.offsetX=0;w_.events.BrowserEvent.prototype.offsetY=0;w_.events.BrowserEvent.prototype.clientX=0;
w_.events.BrowserEvent.prototype.clientY=0;w_.events.BrowserEvent.prototype.screenX=0;w_.events.BrowserEvent.prototype.screenY=0;w_.events.BrowserEvent.prototype.button=0;w_.events.BrowserEvent.prototype.keyCode=0;w_.events.BrowserEvent.prototype.charCode=0;w_.events.BrowserEvent.prototype.ctrlKey=w_d;w_.events.BrowserEvent.prototype.altKey=w_d;w_.events.BrowserEvent.prototype.shiftKey=w_d;w_.events.BrowserEvent.prototype.metaKey=w_d;w_.events.BrowserEvent.prototype.fa=w_c;
w_.events.BrowserEvent.prototype.init=function(a,b){this.type=a.type;this.target=a.target||a.srcElement;this.currentTarget=b;this.relatedTarget=a.relatedTarget?a.relatedTarget:this.type==w_.events.EventType.MOUSEOVER?a.fromElement:this.type==w_.events.EventType.MOUSEOUT?a.toElement:w_c;this.offsetX=typeof a.layerX=="number"?a.layerX:a.offsetX;this.offsetY=typeof a.layerY=="number"?a.layerY:a.offsetY;this.clientX=typeof a.clientX=="number"?a.clientX:a.pageX;this.clientY=typeof a.clientY=="number"?
a.clientY:a.pageY;this.screenX=a.screenX||0;this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(this.type==w_.events.EventType.KEYPRESS?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.fa=a;delete this.Ta;delete this.sa};w_.events.BrowserEvent.prototype.stopPropagation=function(){this.sa=w_b;if(this.fa.stopPropagation)this.fa.stopPropagation();else this.fa.cancelBubble=w_b};
w_.events.BrowserEvent.prototype.preventDefault=function(){this.Ta=w_d;if(this.fa.preventDefault)this.fa.preventDefault();else{this.fa.returnValue=w_d;try{this.fa.keyCode=-1}catch(a){}}};w_.events.BrowserEvent.prototype.N=function(){w_.events.BrowserEvent.Vc.N.call(this);this.fa=w_c};w_.events.Listener=function(){};w_.events.Listener.fi=0;w_.events.Listener.prototype.Lc=w_c;w_.events.Listener.prototype.listener=w_c;w_.events.Listener.prototype.proxy=w_c;w_.events.Listener.prototype.src=w_c;w_.events.Listener.prototype.type=w_c;w_.events.Listener.prototype.capture=w_c;w_.events.Listener.prototype.handler=w_c;w_.events.Listener.prototype.key=0;w_.events.Listener.prototype.removed=w_d;w_.events.Listener.prototype.kc=w_d;
w_.events.Listener.prototype.init=function(a,b,c,d,e,f){if(w_.isFunction(a))this.Lc=w_b;else if(a&&a.handleEvent&&w_.isFunction(a.handleEvent))this.Lc=w_d;else w_a(Error("Invalid listener argument"));this.listener=a;this.proxy=b;this.src=c;this.type=d;this.capture=!!e;this.handler=f;this.kc=w_d;this.key=++w_.events.Listener.fi;this.removed=w_d};
w_.events.Listener.prototype.handleEvent=function(a){if(this.Lc)return this.listener.call(this.handler||this.src,a);return this.listener.handleEvent.call(this.listener,a)};w_.events.va={};w_.events.D={};w_.events.ha={};w_.events.OBJECT_POOL_INITIAL_COUNT=0;w_.events.OBJECT_POOL_MAX_COUNT=600;w_.events.nb=new w_.structs.SimplePool(w_.events.OBJECT_POOL_INITIAL_COUNT,w_.events.OBJECT_POOL_MAX_COUNT);w_.events.nb.ob(function(){return{h:0,da:0}});w_.events.nb.Ae(function(a){a.h=0});w_.events.ARRAY_POOL_INITIAL_COUNT=0;w_.events.ARRAY_POOL_MAX_COUNT=600;w_.events.Ea=new w_.structs.SimplePool(w_.events.ARRAY_POOL_INITIAL_COUNT,w_.events.ARRAY_POOL_MAX_COUNT);w_.events.Ea.ob(function(){return[]});
w_.events.Ea.Ae(function(a){a.length=0;delete a.Nb;delete a.te});w_.events.HANDLE_EVENT_PROXY_POOL_INITIAL_COUNT=0;w_.events.HANDLE_EVENT_PROXY_POOL_MAX_COUNT=600;w_.events.Qg=new w_.structs.SimplePool(w_.events.HANDLE_EVENT_PROXY_POOL_INITIAL_COUNT,w_.events.HANDLE_EVENT_PROXY_POOL_MAX_COUNT);w_.events.Qg.ob(function(){var a=function(b){return w_.events.fe.call(a.src,a.key,b)};return a});w_.events.LISTENER_POOL_INITIAL_COUNT=0;w_.events.LISTENER_POOL_MAX_COUNT=600;w_.events.ii=function(){return new w_.events.Listener};
w_.events.qe=new w_.structs.SimplePool(w_.events.LISTENER_POOL_INITIAL_COUNT,w_.events.LISTENER_POOL_MAX_COUNT);w_.events.qe.ob(w_.events.ii);w_.events.EVENT_POOL_INITIAL_COUNT=0;w_.events.EVENT_POOL_MAX_COUNT=600;w_.events.gi=function(){return new w_.events.BrowserEvent};w_.events.hi=function(){var a=w_c;if(w_.userAgent.IE){a=new w_.structs.SimplePool(w_.events.EVENT_POOL_INITIAL_COUNT,w_.events.EVENT_POOL_MAX_COUNT);a.ob(w_.events.gi)}return a};w_.events.qg=w_.events.hi();w_.events.Mi="on";
w_.events.ue={};w_.events.tj="_";
w_.events.listen=function(a,b,c,d,e){if(b)if(w_.isArray(b)){for(var f=0;f<b.length;f++)w_.events.listen(a,b[f],c,d,e);return w_c}else{var g=!!d,h=w_.events.D;b in h||(h[b]=w_.events.nb.pa());h=h[b];if(!(g in h)){h[g]=w_.events.nb.pa();h.h++}h=h[g];var i=w_.getHashCode(a),j,k;h.da++;if(h[i]){j=h[i];for(f=0;f<j.length;f++){k=j[f];if(k.listener==c&&k.handler==e){if(k.removed)break;return j[f].key}}}else{j=h[i]=w_.events.Ea.pa();h.h++}var l=w_.events.Qg.pa();l.src=a;k=w_.events.qe.pa();k.init(c,l,a,b,
g,e);var m=k.key;l.key=m;j.push(k);w_.events.va[m]=k;w_.events.ha[i]||(w_.events.ha[i]=w_.events.Ea.pa());w_.events.ha[i].push(k);if(a.addEventListener){if(a==w_.global||!a.Dd)a.addEventListener(b,l,g)}else a.attachEvent(w_.events.Ig(b),l);return m}else w_a(Error("Invalid event type"))};w_.events.listenOnce=function(a,b,c,d,e){if(w_.isArray(b)){for(var f=0;f<b.length;f++)w_.events.listenOnce(a,b[f],c,d,e);return w_c}var g=w_.events.listen(a,b,c,d,e),h=w_.events.va[g];h.kc=w_b;return g};
w_.events.unlisten=function(a,b,c,d,e){if(w_.isArray(b)){for(var f=0;f<b.length;f++)w_.events.unlisten(a,b[f],c,d,e);return w_c}var g=!!d,h=w_.events.Ud(a,b,g);if(!h)return w_d;for(f=0;f<h.length;f++)if(h[f].listener==c&&h[f].capture==g&&h[f].handler==e)return w_.events.unlistenByKey(h[f].key);return w_d};
w_.events.unlistenByKey=function(a){if(!w_.events.va[a])return w_d;var b=w_.events.va[a];if(b.removed)return w_d;var c=b.src,d=b.type,e=b.proxy,f=b.capture;if(c.removeEventListener){if(c==w_.global||!c.Dd)c.removeEventListener(d,e,f)}else c.detachEvent&&c.detachEvent(w_.events.Ig(d),e);var g=w_.getHashCode(c),h=w_.events.D[d][f][g];if(w_.events.ha[g]){var i=w_.events.ha[g];w_.array.remove(i,b);i.length==0&&delete w_.events.ha[g]}b.removed=w_b;h.te=w_b;w_.events.Xf(d,f,g,h);delete w_.events.va[a];
return w_b};w_.events.Xf=function(a,b,c,d){if(!d.Nb)if(d.te){for(var e=0,f=0;e<d.length;e++)if(d[e].removed)w_.events.qe.Sa(d[e]);else{if(e!=f)d[f]=d[e];f++}d.length=f;d.te=w_d;if(f==0){w_.events.Ea.Sa(d);delete w_.events.D[a][b][c];w_.events.D[a][b].h--;if(w_.events.D[a][b].h==0){w_.events.nb.Sa(w_.events.D[a][b]);delete w_.events.D[a][b];w_.events.D[a].h--}if(w_.events.D[a].h==0){w_.events.nb.Sa(w_.events.D[a]);delete w_.events.D[a]}}}};
w_.events.removeAll=function(a,b,c){var d=0,e=a==w_c,f=b==w_c,g=c==w_c;c=!!c;if(e)w_.object.forEach(w_.events.ha,function(l){for(var m=l.length-1;m>=0;m--){var n=l[m];if((f||b==n.type)&&(g||c==n.capture)){w_.events.unlistenByKey(n.key);d++}}});else{var h=w_.getHashCode(a);if(w_.events.ha[h])for(var i=w_.events.ha[h],j=i.length-1;j>=0;j--){var k=i[j];if((f||b==k.type)&&(g||c==k.capture)){w_.events.unlistenByKey(k.key);d++}}}return d};
w_.events.getListeners=function(a,b,c){return w_.events.Ud(a,b,c)||[]};w_.events.Ud=function(a,b,c){var d=w_.events.D;if(b in d){d=d[b];if(c in d){d=d[c];var e=w_.getHashCode(a);if(d[e])return d[e]}}return w_c};w_.events.getListener=function(a,b,c,d,e){var f=!!d,g=w_.events.Ud(a,b,f);if(g)for(var h=0;h<g.length;h++)if(g[h].listener==c&&g[h].capture==f&&g[h].handler==e)return g[h];return w_c};
w_.events.hasListener=function(a,b,c){var d=w_.getHashCode(a),e=w_.events.ha[d];if(e){var f=w_.isDef(b),g=w_.isDef(c);if(f&&g){var h=w_.events.D[b];return!!h&&!!h[c]&&d in h[c]}else return f||g?w_.array.some(e,function(i){return f&&i.type==b||g&&i.capture==c}):w_b}return w_d};w_.events.expose=function(a){var b=[];for(var c in a)a[c]&&a[c].id?b.push(c+" = "+a[c]+" ("+a[c].id+")"):b.push(c+" = "+a[c]);return b.join("\n")};
w_.events.EventType={CLICK:"click",DBLCLICK:"dblclick",MOUSEDOWN:"mousedown",MOUSEUP:"mouseup",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEMOVE:"mousemove",SELECTSTART:"selectstart",KEYPRESS:"keypress",KEYDOWN:"keydown",KEYUP:"keyup",BLUR:"blur",FOCUS:"focus",DEACTIVATE:"deactivate",FOCUSIN:w_.userAgent.IE?"focusin":"DOMFocusIn",FOCUSOUT:w_.userAgent.IE?"focusout":"DOMFocusOut",CHANGE:"change",SELECT:"select",SUBMIT:"submit",LOAD:"load",UNLOAD:"unload",ERROR:"error",HELP:"help",RESIZE:"resize",
SCROLL:"scroll",READYSTATECHANGE:"readystatechange",CONTEXTMENU:"contextmenu"};w_.events.Ig=function(a){if(a in w_.events.ue)return w_.events.ue[a];return w_.events.ue[a]=w_.events.Mi+a};w_.events.fireListeners=function(a,b,c,d){var e=w_.events.D;if(b in e){e=e[b];if(c in e)return w_.events.bb(e[c],a,b,c,d)}return w_b};
w_.events.bb=function(a,b,c,d,e){var f=1,g=w_.getHashCode(b);if(a[g]){a.da--;var h=a[g];if(h.Nb)h.Nb++;else h.Nb=1;try{for(var i=h.length,j=0;j<i;j++){var k=h[j];if(k&&!k.removed)f&=w_.events.fireListener(k,e)!==w_d}}finally{h.Nb--;w_.events.Xf(c,d,g,h)}}return Boolean(f)};w_.events.fireListener=function(a,b){var c=a.handleEvent(b);a.kc&&w_.events.unlistenByKey(a.key);return c};w_.events.getTotalListenerCount=function(){return w_.object.V(w_.events.va)};
w_.events.dispatchEvent=function(a,b){if(w_.isString(b))b=new w_.events.Event(b,a);else if(b instanceof w_.events.Event)b.target=b.target||a;else{var c=b;b=new w_.events.Event(b.type,a);w_.object.extend(b,c)}var d=1,e,f=b.type,g=w_.events.D;if(!(f in g))return w_b;g=g[f];var h=w_b in g,i;if(h){e=[];for(var j=a;j;j=j.Yd())e.push(j);i=g[w_b];i.da=i.h;for(var k=e.length-1;!b.sa&&k>=0&&i.da;k--){b.currentTarget=e[k];d&=w_.events.bb(i,e[k],b.type,w_b,b)&&b.Ta!=w_d}}var l=w_d in g;if(l){i=g[w_d];i.da=i.h;
if(h)for(k=0;!b.sa&&k<e.length&&i.da;k++){b.currentTarget=e[k];d&=w_.events.bb(i,e[k],b.type,w_d,b)&&b.Ta!=w_d}else for(var m=a;!b.sa&&m&&i.da;m=m.Yd()){b.currentTarget=m;d&=w_.events.bb(i,m,b.type,w_d,b)&&b.Ta!=w_d}}return Boolean(d)};w_.events.protectBrowserEventEntryPoint=function(a,b){w_.events.fe=a.protectEntryPoint(w_.events.fe,b)};
w_.events.fe=function(a,b){if(!w_.events.va[a])return w_b;var c=w_.events.va[a],d=c.type,e=w_.events.D;if(!(d in e))return w_b;e=e[d];var f,g;if(w_.userAgent.IE){var h=b||w_.getObjectByName("window.event"),i=w_b in e,j=w_d in e;if(i){if(w_.events.Ei(h))return w_b;w_.events.Hi(h)}var k=w_.events.qg.pa();k.init(h,this);f=w_b;try{if(i){for(var l=w_.events.Ea.pa(),m=k.currentTarget;m;m=m.parentNode)l.push(m);g=e[w_b];g.da=g.h;for(var n=l.length-1;!k.sa&&n>=0&&g.da;n--){k.currentTarget=l[n];f&=w_.events.bb(g,
l[n],d,w_b,k)}if(j){g=e[w_d];g.da=g.h;for(n=0;!k.sa&&n<l.length&&g.da;n++){k.currentTarget=l[n];f&=w_.events.bb(g,l[n],d,w_d,k)}}}else f=w_.events.fireListener(c,k)}finally{if(l){l.length=0;w_.events.Ea.Sa(l)}k.dispose();w_.events.qg.Sa(k)}return f}var o=new w_.events.BrowserEvent(b,this);try{f=w_.events.fireListener(c,o)}finally{o.dispose()}return f};w_.events.Hi=function(a){var b=w_d;if(a.keyCode==0)try{a.keyCode=-1;return}catch(c){b=w_b}if(b||a.returnValue==undefined)a.returnValue=w_b};
w_.events.Ei=function(a){return a.keyCode<0||a.returnValue!=undefined};w_.events.mj=0;w_.events.getUniqueId=function(a){return a+"_"+w_.events.mj++};w_.math.Box=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};w_.math.Box.boundingBox=function(){for(var a=new w_.math.Box(arguments[0].y,arguments[0].x,arguments[0].y,arguments[0].x),b=1;b<arguments.length;b++){var c=arguments[b];a.top=Math.min(a.top,c.y);a.right=Math.max(a.right,c.x);a.bottom=Math.max(a.bottom,c.y);a.left=Math.min(a.left,c.x)}return a};w_.math.Box.prototype.clone=function(){return new w_.math.Box(this.top,this.right,this.bottom,this.left)};
if(w_.DEBUG)w_.math.Box.prototype.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};w_.math.Box.prototype.contains=function(a){return w_.math.Box.contains(this,a)};w_.math.Box.prototype.expand=function(a,b,c,d){if(w_.isObject(a)){this.top-=a.top;this.right+=a.right;this.bottom+=a.bottom;this.left-=a.left}else{this.top-=a;this.right+=b;this.bottom+=c;this.left-=d}return this};
w_.math.Box.equals=function(a,b){if(a==b)return w_b;if(!a||!b)return w_d;return a.top==b.top&&a.right==b.right&&a.bottom==b.bottom&&a.left==b.left};w_.math.Box.contains=function(a,b){if(!a||!b)return w_d;if(b instanceof w_.math.Box)return b.left>=a.left&&b.right<=a.right&&b.top>=a.top&&b.bottom<=a.bottom;return b.x>=a.left&&b.x<=a.right&&b.y>=a.top&&b.y<=a.bottom};
w_.math.Box.distance=function(a,b){if(b.x>=a.left&&b.x<=a.right){if(b.y>=a.top&&b.y<=a.bottom)return 0;return b.y<a.top?a.top-b.y:b.y-a.bottom}if(b.y>=a.top&&b.y<=a.bottom)return b.x<a.left?a.left-b.x:b.x-a.right;return w_.math.Coordinate.distance(b,new w_.math.Coordinate(b.x<a.left?a.left:a.right,b.y<a.top?a.top:a.bottom))};w_.math.Rect=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};w_.math.Rect.prototype.clone=function(){return new w_.math.Rect(this.left,this.top,this.width,this.height)};w_.math.Rect.createFromBox=function(a){return new w_.math.Rect(a.left,a.top,a.right-a.left,a.bottom-a.top)};if(w_.DEBUG)w_.math.Rect.prototype.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
w_.math.Rect.equals=function(a,b){if(a==b)return w_b;if(!a||!b)return w_d;return a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height};w_.math.Rect.prototype.intersection=function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top),e=Math.min(this.top+this.height,a.top+a.height);if(d<=e){this.left=b;this.top=d;this.width=c-b;this.height=e-d;return w_b}}return w_d};
w_.math.Rect.intersection=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top),f=Math.min(a.top+a.height,b.top+b.height);if(e<=f)return new w_.math.Rect(c,e,d-c,f-e)}return w_c};w_.math.Rect.intersects=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top),f=Math.min(a.top+a.height,b.top+b.height);if(e<=f)return w_b}return w_d};
w_.math.Rect.prototype.intersects=function(a){return w_.math.Rect.intersects(this,a)};
w_.math.Rect.difference=function(a,b){var c=w_.math.Rect.intersection(a,b);if(!c||!c.height||!c.width)return[a.clone()];var d=[],e=a.top,f=a.height,g=a.left+a.width,h=a.top+a.height,i=b.left+b.width,j=b.top+b.height;if(b.top>a.top){d.push(new w_.math.Rect(a.left,a.top,a.width,b.top-a.top));e=b.top;f-=b.top-a.top}if(j<h){d.push(new w_.math.Rect(a.left,j,a.width,h-j));f=j-e}b.left>a.left&&d.push(new w_.math.Rect(a.left,e,b.left-a.left,f));i<g&&d.push(new w_.math.Rect(i,e,g-i,f));return d};
w_.math.Rect.prototype.difference=function(a){return w_.math.Rect.difference(this,a)};w_.math.Rect.prototype.vd=function(a){var b=Math.max(this.left+this.width,a.left+a.width),c=Math.max(this.top+this.height,a.top+a.height);this.left=Math.min(this.left,a.left);this.top=Math.min(this.top,a.top);this.width=b-this.left;this.height=c-this.top};w_.math.Rect.vd=function(a,b){if(!a||!b)return w_c;var c=a.clone();c.vd(b);return c};
w_.math.Rect.prototype.contains=function(a){return a instanceof w_.math.Rect?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height};w_.math.Rect.prototype.$d=function(){return new w_.math.Size(this.width,this.height)};w_.userAgent.product={};w_.userAgent.product.ASSUME_FIREFOX=w_d;w_.userAgent.product.ASSUME_CAMINO=w_d;w_.userAgent.product.ASSUME_IPHONE=w_d;w_.userAgent.product.ASSUME_ANDROID=w_d;w_.userAgent.product.ASSUME_CHROME=w_d;w_.userAgent.product.ASSUME_SAFARI=w_d;
w_.userAgent.product.Ca=w_.userAgent.ASSUME_IE||w_.userAgent.ASSUME_OPERA||w_.userAgent.product.ASSUME_FIREFOX||w_.userAgent.product.ASSUME_CAMINO||w_.userAgent.product.ASSUME_IPHONE||w_.userAgent.product.ASSUME_ANDROID||w_.userAgent.product.ASSUME_CHROME||w_.userAgent.product.ASSUME_SAFARI;
w_.userAgent.product.kb=function(){w_.userAgent.product.gg=w_d;w_.userAgent.product.Db=w_d;w_.userAgent.product.ig=w_d;w_.userAgent.product.eg=w_d;w_.userAgent.product.fg=w_d;w_.userAgent.product.kg=w_d;var a=w_.userAgent.getUserAgentString();if(a)if(a.indexOf("Firefox")!=-1)w_.userAgent.product.gg=w_b;else if(a.indexOf("Camino")!=-1)w_.userAgent.product.Db=w_b;else if(a.indexOf("iPhone")!=-1||a.indexOf("iPod")!=-1)w_.userAgent.product.ig=w_b;else if(a.indexOf("Android")!=-1)w_.userAgent.product.eg=
w_b;else if(a.indexOf("Chrome")!=-1)w_.userAgent.product.fg=w_b;else if(a.indexOf("Safari")!=-1)w_.userAgent.product.kg=w_b};w_.userAgent.product.Ca||w_.userAgent.product.kb();w_.userAgent.product.OPERA=w_.userAgent.OPERA;w_.userAgent.product.IE=w_.userAgent.IE;w_.userAgent.product.FIREFOX=w_.userAgent.product.Ca?w_.userAgent.product.ASSUME_FIREFOX:w_.userAgent.product.gg;w_.userAgent.product.CAMINO=w_.userAgent.product.Ca?w_.userAgent.product.ASSUME_CAMINO:w_.userAgent.product.Db;
w_.userAgent.product.IPHONE=w_.userAgent.product.Ca?w_.userAgent.product.ASSUME_IPHONE:w_.userAgent.product.ig;w_.userAgent.product.ANDROID=w_.userAgent.product.Ca?w_.userAgent.product.ASSUME_ANDROID:w_.userAgent.product.eg;w_.userAgent.product.CHROME=w_.userAgent.product.Ca?w_.userAgent.product.ASSUME_CHROME:w_.userAgent.product.fg;w_.userAgent.product.SAFARI=w_.userAgent.product.Ca?w_.userAgent.product.ASSUME_SAFARI:w_.userAgent.product.kg;w_.style={};w_.style.setStyle=function(a,b,c){w_.isString(b)?w_.style.Hh(a,c,b):w_.object.forEach(b,w_.partial(w_.style.Hh,a))};w_.style.Hh=function(a,b,c){a.style[w_.style.toCamelCase(c)]=b};w_.style.getStyle=function(a,b){return a.style[w_.style.toCamelCase(b)]};w_.style.getComputedStyle=function(a,b){var c=w_.dom.u(a);if(c.defaultView&&c.defaultView.getComputedStyle){var d=c.defaultView.getComputedStyle(a,"");if(d)return d[b]}return w_c};
w_.style.getCascadedStyle=function(a,b){return a.currentStyle?a.currentStyle[b]:w_c};w_.style.ba=function(a,b){return w_.style.getComputedStyle(a,b)||w_.style.getCascadedStyle(a,b)||a.style[b]};w_.style.getComputedPosition=function(a){return w_.style.ba(a,"position")};w_.style.getBackgroundColor=function(a){return w_.style.ba(a,"backgroundColor")};
w_.style.setPosition=function(a,b,c){var d,e,f=w_.userAgent.GECKO&&(w_.userAgent.MAC||w_.userAgent.X11)&&w_.userAgent.isVersion("1.9");if(b instanceof w_.math.Coordinate){d=b.x;e=b.y}else{d=b;e=c}a.style.left=typeof d=="number"?(f?Math.round(d):d)+"px":d;a.style.top=typeof e=="number"?(f?Math.round(e):e)+"px":e};w_.style.getPosition=function(a){return new w_.math.Coordinate(a.offsetLeft,a.offsetTop)};
w_.style.getClientViewportElement=function(a){var b;b=a?a.nodeType==w_.dom.NodeType.DOCUMENT?a:w_.dom.u(a):w_.dom.Ia();if(w_.userAgent.IE&&!w_.dom.W(b).ra())return b.body;return b.documentElement};w_.style.xg=function(a){var b=a.getBoundingClientRect();if(w_.userAgent.IE){var c=a.ownerDocument;b.left-=c.documentElement.clientLeft+c.body.clientLeft;b.top-=c.documentElement.clientTop+c.body.clientTop}return b};
w_.style.getOffsetParent=function(a){if(w_.userAgent.IE)return a.offsetParent;for(var b=w_.dom.u(a),c=w_.style.ba(a,"position"),d=c=="fixed"||c=="absolute",e=a.parentNode;e&&e!=b;e=e.parentNode){c=w_.style.ba(e,"position");d=d&&c=="static"&&e!=b.documentElement&&e!=b.body;if(!d&&(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight||c=="fixed"||c=="absolute"))return e}return w_c};
w_.style.getVisibleRectForElement=function(a){for(var b=new w_.math.Box(0,Infinity,Infinity,0),c=w_.dom.W(a),d=c.Od(),e,f=a;f=w_.style.getOffsetParent(f);)if((!w_.userAgent.IE||f.clientWidth!=0)&&(f.scrollWidth!=f.clientWidth||f.scrollHeight!=f.clientHeight)&&w_.style.ba(f,"overflow")!="visible"){var g=w_.style.getPageOffset(f),h=w_.style.getClientLeftTop(f);g.x+=h.x;g.y+=h.y;b.top=Math.max(b.top,g.y);b.right=Math.min(b.right,g.x+f.clientWidth);b.bottom=Math.min(b.bottom,g.y+f.clientHeight);b.left=
Math.max(b.left,g.x);e=e||f!=d}var i=d.scrollLeft,j=d.scrollTop;if(w_.userAgent.WEBKIT){b.left+=i;b.top+=j}else{b.left=Math.max(b.left,i);b.top=Math.max(b.top,j)}if(!e||w_.userAgent.WEBKIT){b.right+=i;b.bottom+=j}var k=c.Lb();b.right=Math.min(b.right,i+k.width);b.bottom=Math.min(b.bottom,j+k.height);return b.top>=0&&b.left>=0&&b.bottom>b.top&&b.right>b.left?b:w_c};
w_.style.getClientLeftTop=function(a){if(w_.userAgent.GECKO&&!w_.userAgent.isVersion("1.9")){var b=parseFloat(w_.style.getComputedStyle(a,"borderLeftWidth"));if(w_.style.isRightToLeft(a)){var c=a.offsetWidth-a.clientWidth-b-parseFloat(w_.style.getComputedStyle(a,"borderRightWidth"));b+=c}return new w_.math.Coordinate(b,parseFloat(w_.style.getComputedStyle(a,"borderTopWidth")))}return new w_.math.Coordinate(a.clientLeft,a.clientTop)};
w_.style.getPageOffset=function(a){var b,c=w_.dom.u(a),d=w_.style.ba(a,"position"),e=w_.userAgent.GECKO&&c.getBoxObjectFor&&!a.getBoundingClientRect&&d=="absolute"&&(b=c.getBoxObjectFor(a))&&(b.screenX<0||b.screenY<0),f=new w_.math.Coordinate(0,0),g=w_.style.getClientViewportElement(c);if(a==g)return f;if(a.getBoundingClientRect){b=w_.style.xg(a);var h=w_.dom.W(c).gb();f.x=b.left+h.x;f.y=b.top+h.y}else if(c.getBoxObjectFor&&!e){b=c.getBoxObjectFor(a);var i=c.getBoxObjectFor(g);f.x=b.screenX-i.screenX;
f.y=b.screenY-i.screenY}else{var j=a;do{f.x+=j.offsetLeft;f.y+=j.offsetTop;if(j!=a){f.x+=j.clientLeft||0;f.y+=j.clientTop||0}if(w_.userAgent.WEBKIT&&w_.style.getComputedPosition(j)=="fixed"){f.x+=c.body.scrollLeft;f.y+=c.body.scrollTop;break}j=j.offsetParent}while(j&&j!=a);if(w_.userAgent.OPERA||w_.userAgent.WEBKIT&&d=="absolute")f.y-=c.body.offsetTop;for(j=a;(j=w_.style.getOffsetParent(j))&&j!=c.body&&j!=g;){f.x-=j.scrollLeft;if(!w_.userAgent.OPERA||j.tagName!="TR")f.y-=j.scrollTop}}return f};
w_.style.getPageOffsetLeft=function(a){return w_.style.getPageOffset(a).x};w_.style.getPageOffsetTop=function(a){return w_.style.getPageOffset(a).y};w_.style.getFramedPageOffset=function(a,b){var c=new w_.math.Coordinate(0,0),d=w_.dom.ib(w_.dom.u(a)),e=a;do{var f=d==b?w_.style.getPageOffset(e):w_.style.getClientPosition(e);c.x+=f.x;c.y+=f.y}while(d&&d!=b&&(e=d.frameElement)&&(d=d.parent));return c};
w_.style.translateRectForAnotherFrame=function(a,b,c){if(b.Ia()!=c.Ia()){var d=b.Ia().body,e=w_.style.getFramedPageOffset(d,c.ib());e=w_.math.Coordinate.difference(e,w_.style.getPageOffset(d));if(w_.userAgent.IE&&!b.ra())e=w_.math.Coordinate.difference(e,b.gb());a.left+=e.x;a.top+=e.y}};w_.style.getRelativePosition=function(a,b){var c=w_.style.getClientPosition(a),d=w_.style.getClientPosition(b);return new w_.math.Coordinate(c.x-d.x,c.y-d.y)};
w_.style.getClientPosition=function(a){var b=new w_.math.Coordinate;if(a.nodeType==w_.dom.NodeType.ELEMENT)if(a.getBoundingClientRect){var c=w_.style.xg(a);b.x=c.left;b.y=c.top}else{var d=w_.dom.W(a).gb(),e=w_.style.getPageOffset(a);b.x=e.x-d.x;b.y=e.y-d.y}else{b.x=a.clientX;b.y=a.clientY}return b};w_.style.setPageOffset=function(a,b,c){var d=w_.style.getPageOffset(a);if(b instanceof w_.math.Coordinate){c=b.y;b=b.x}var e=b-d.x,f=c-d.y;w_.style.setPosition(a,a.offsetLeft+e,a.offsetTop+f)};
w_.style.setSize=function(a,b,c){var d;if(b instanceof w_.math.Size){d=b.height;b=b.width}else{if(c==undefined)w_a(Error("missing height argument"));d=c}a.style.width=typeof b=="number"?Math.round(b)+"px":b;a.style.height=typeof d=="number"?Math.round(d)+"px":d};
w_.style.$d=function(a){var b=w_.userAgent.OPERA&&!w_.userAgent.isVersion("10");if(w_.style.ba(a,"display")!="none")return b?new w_.math.Size(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientHeight):new w_.math.Size(a.offsetWidth,a.offsetHeight);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";var g,h;if(b){g=a.offsetWidth||a.clientWidth;h=a.offsetHeight||a.clientHeight}else{g=a.offsetWidth;h=a.offsetHeight}c.display=d;c.position=
f;c.visibility=e;return new w_.math.Size(g,h)};w_.style.getBounds=function(a){var b=w_.style.getPageOffset(a),c=w_.style.$d(a);return new w_.math.Rect(b.x,b.y,c.width,c.height)};w_.style.Mh={};w_.style.toCamelCase=function(a){return w_.style.Mh[a]||(w_.style.Mh[a]=String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()}))};w_.style.toSelectorCase=function(a){return a.replace(/([A-Z])/g,"-$1").toLowerCase()};
w_.style.getOpacity=function(a){var b=a.style,c="";if("opacity"in b)c=b.opacity;else if("MozOpacity"in b)c=b.MozOpacity;else if("filter"in b){var d=b.filter.match(/alpha\(opacity=([\d.]+)\)/);if(d)c=String(d[1]/100)}return c==""?c:Number(c)};w_.style.setOpacity=function(a,b){var c=a.style;if("opacity"in c)c.opacity=b;else if("MozOpacity"in c)c.MozOpacity=b;else if("filter"in c)c.filter=b===""?"":"alpha(opacity="+b*100+")"};
w_.style.setTransparentBackgroundImage=function(a,b){var c=a.style;if(w_.userAgent.IE&&!w_.userAgent.isVersion("8"))c.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+b+'", sizingMethod="crop")';else{c.backgroundImage="url("+b+")";c.backgroundPosition="top left";c.backgroundRepeat="no-repeat"}};w_.style.clearTransparentBackgroundImage=function(a){var b=a.style;if("filter"in b)b.filter="";else b.backgroundImage="none"};w_.style.showElement=function(a,b){a.style.display=b?"":"none"};
w_.style.isElementShown=function(a){return a.style.display!="none"};w_.style.installStyles=function(a,b){var c=w_.dom.W(b),d=w_c;if(w_.userAgent.IE){d=c.Ia().createStyleSheet();w_.style.setStyles(d,a)}else{var e=c.na("head")[0];if(!e){var f=c.na("body")[0];e=c.j("head");f.parentNode.insertBefore(e,f)}d=c.j("style");w_.style.setStyles(d,a);c.appendChild(e,d)}return d};w_.style.setStyles=function(a,b){if(w_.userAgent.IE)a.cssText=b;else{var c=w_.userAgent.WEBKIT?"innerText":"innerHTML";a[c]=b}};
w_.style.setPreWrap=function(a){var b=a.style;if(w_.userAgent.IE&&!w_.userAgent.isVersion("8")){b.whiteSpace="pre";b.wordWrap="break-word"}else b.whiteSpace=w_.userAgent.GECKO?"-moz-pre-wrap":w_.userAgent.OPERA?"-o-pre-wrap":"pre-wrap"};w_.style.setInlineBlock=function(a){var b=a.style;b.position="relative";if(w_.userAgent.IE&&!w_.userAgent.isVersion("8")){b.zoom="1";b.display="inline"}else b.display=w_.userAgent.GECKO?w_.userAgent.isVersion("1.9a")?"inline-block":"-moz-inline-box":"inline-block"};
w_.style.isRightToLeft=function(a){return"rtl"==w_.style.ba(a,"direction")};w_.style.Je=w_.userAgent.GECKO?"MozUserSelect":w_.userAgent.WEBKIT?"WebkitUserSelect":w_c;w_.style.isUnselectable=function(a){if(w_.style.Je)return a.style[w_.style.Je].toLowerCase()=="none";else if(w_.userAgent.IE||w_.userAgent.OPERA)return a.getAttribute("unselectable")=="on";return w_d};
w_.style.setUnselectable=function(a,b,c){var d=!c?a.getElementsByTagName("*"):w_c,e=w_.style.Je;if(e){var f=b?"none":"";a.style[e]=f;if(d)for(var g=0,h;h=d[g];g++)h.style[e]=f}else if(w_.userAgent.IE||w_.userAgent.OPERA){f=b?"on":"";a.setAttribute("unselectable",f);if(d)for(g=0;h=d[g];g++)h.setAttribute("unselectable",f)}};w_.style.getBorderBoxSize=function(a){return new w_.math.Size(a.offsetWidth,a.offsetHeight)};
w_.style.setBorderBoxSize=function(a,b){var c=w_.dom.u(a),d=w_.dom.W(c).ra();if(w_.userAgent.IE&&(!d||!w_.userAgent.isVersion("8"))){var e=a.style;if(d){var f=w_.style.getPaddingBox(a),g=w_.style.getBorderBox(a);e.pixelWidth=b.width-g.left-f.left-f.right-g.right;e.pixelHeight=b.height-g.top-f.top-f.bottom-g.bottom}else{e.pixelWidth=b.width;e.pixelHeight=b.height}}else w_.style.Gh(a,b,"border-box")};
w_.style.getContentBoxSize=function(a){var b=w_.dom.u(a),c=w_.userAgent.IE&&a.currentStyle;if(c&&w_.dom.W(b).ra()&&c.width!="auto"&&c.height!="auto"&&!c.boxSizing){var d=w_.style.hb(a,c.width,"width","pixelWidth"),e=w_.style.hb(a,c.height,"height","pixelHeight");return new w_.math.Size(d,e)}else{var f=w_.style.getBorderBoxSize(a),g=w_.style.getPaddingBox(a),h=w_.style.getBorderBox(a);return new w_.math.Size(f.width-h.left-g.left-g.right-h.right,f.height-h.top-g.top-g.bottom-h.bottom)}};
w_.style.setContentBoxSize=function(a,b){var c=w_.dom.u(a),d=w_.dom.W(c).ra();if(w_.userAgent.IE&&(!d||!w_.userAgent.isVersion("8"))){var e=a.style;if(d){e.pixelWidth=b.width;e.pixelHeight=b.height}else{var f=w_.style.getPaddingBox(a),g=w_.style.getBorderBox(a);e.pixelWidth=b.width+g.left+f.left+f.right+g.right;e.pixelHeight=b.height+g.top+f.top+f.bottom+g.bottom}}else w_.style.Gh(a,b,"content-box")};
w_.style.Gh=function(a,b,c){var d=a.style;if(w_.userAgent.GECKO)d.MozBoxSizing=c;else if(w_.userAgent.WEBKIT)d.WebkitBoxSizing=c;else if(w_.userAgent.OPERA&&!w_.userAgent.isVersion("9.50"))c?d.setProperty("box-sizing",c):d.removeProperty("box-sizing");else d.boxSizing=c;d.width=b.width+"px";d.height=b.height+"px"};
w_.style.hb=function(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);else{var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;var g=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return g}};w_.style.yc=function(a,b){return w_.style.hb(a,w_.style.getCascadedStyle(a,b),"left","pixelLeft")};
w_.style.yg=function(a,b){if(w_.userAgent.IE){var c=w_.style.yc(a,b+"Left"),d=w_.style.yc(a,b+"Right"),e=w_.style.yc(a,b+"Top"),f=w_.style.yc(a,b+"Bottom");return new w_.math.Box(e,d,f,c)}else{c=w_.style.getComputedStyle(a,b+"Left");d=w_.style.getComputedStyle(a,b+"Right");e=w_.style.getComputedStyle(a,b+"Top");f=w_.style.getComputedStyle(a,b+"Bottom");return new w_.math.Box(parseFloat(e),parseFloat(d),parseFloat(f),parseFloat(c))}};w_.style.getPaddingBox=function(a){return w_.style.yg(a,"padding")};
w_.style.getMarginBox=function(a){return w_.style.yg(a,"margin")};w_.style.Zg={thin:2,medium:4,thick:6};w_.style.xc=function(a,b){if(w_.style.getCascadedStyle(a,b+"Style")=="none")return 0;var c=w_.style.getCascadedStyle(a,b+"Width");if(c in w_.style.Zg)return w_.style.Zg[c];return w_.style.hb(a,c,"left","pixelLeft")};
w_.style.getBorderBox=function(a){if(w_.userAgent.IE){var b=w_.style.xc(a,"borderLeft"),c=w_.style.xc(a,"borderRight"),d=w_.style.xc(a,"borderTop"),e=w_.style.xc(a,"borderBottom");return new w_.math.Box(d,c,e,b)}else{b=w_.style.getComputedStyle(a,"borderLeftWidth");c=w_.style.getComputedStyle(a,"borderRightWidth");d=w_.style.getComputedStyle(a,"borderTopWidth");e=w_.style.getComputedStyle(a,"borderBottomWidth");return new w_.math.Box(parseFloat(d),parseFloat(c),parseFloat(e),parseFloat(b))}};
w_.style.getFontFamily=function(a){var b=w_.dom.u(a),c="";if(b.createTextRange){var d=b.body.createTextRange();d.moveToElementText(a);c=d.queryCommandValue("FontName")}if(!c){c=w_.style.ba(a,"fontFamily");if(w_.userAgent.OPERA&&w_.userAgent.LINUX)c=c.replace(/ \[[^\]]*\]/,"")}var e=c.split(",");if(e.length>1)c=e[0];return w_.string.stripQuotes(c,"\"'")};w_.style.getLengthUnits=function(a){var b=a.match(/[^\d]+$/);return b&&b[0]||w_c};w_.style.Qh={cm:1,"in":1,mm:1,pc:1,pt:1};w_.style.Th={em:1,ex:1};
w_.style.getFontSize=function(a){var b=w_.style.ba(a,"fontSize"),c=w_.style.getLengthUnits(b);if(b&&"px"==c)return parseInt(b,10);if(w_.userAgent.IE)if(c in w_.style.Qh)return w_.style.hb(a,b,"left","pixelLeft");else if(a.parentNode&&a.parentNode.nodeType==w_.dom.NodeType.ELEMENT&&c in w_.style.Th){var d=a.parentNode,e=w_.style.ba(d,"fontSize");return w_.style.hb(d,b==e?"1em":b,"left","pixelLeft")}var f=w_.dom.j("span",{style:"visibility:hidden;position:absolute;line-height:0;padding:0;margin:0;border:0;height:1em;"});
w_.dom.appendChild(a,f);b=f.offsetHeight;w_.dom.removeNode(f);return b};w_.style.parseStyleAttribute=function(a){var b={};w_.array.forEach(a.split(/\s*;\s*/),function(c){var d=c.split(/\s*:\s*/);if(d.length==2)b[w_.style.toCamelCase(d[0].toLowerCase())]=d[1]});return b};w_.style.toStyleAttribute=function(a){var b=[];w_.object.forEach(a,function(c,d){b.push(w_.style.toSelectorCase(d),":",c,";")});return b.join("")};w_.style.setFloat=function(a,b){a.style[w_.userAgent.IE?"styleFloat":"cssFloat"]=b};
w_.style.getFloat=function(a){return a.style[w_.userAgent.IE?"styleFloat":"cssFloat"]||""};var w_G={};w_G.ui={};w_G.ui.DelayManager=function(a,b){this.Ci=a;this.Pi=b;this.ji="delayLoad";this.Jc={};this.rb=0;this.Ke=[];this.Qc=[];var c=this;this.Ph=function(){c.th()}};w_G.ui.DelayManager.prototype.init=function(){this.Jh(this.ji,this.Ci,this.Jc);if(!(this.rb==0)){this.Rf();this.xe()}};
w_G.ui.DelayManager.prototype.Jh=function(a,b,c){for(var d=w_.dom.na("img",a),e=0;e<d.length;e++){if(d[e].style.display=="none")d[e].style.display="";if(e<b)this.se(d[e]);else{var f=d[e].id;if(f=="")f="av-delay-tempId-"+e;c[f]={el:d[e],key:f};this.rb++}}};w_G.ui.DelayManager.prototype.Rf=function(){this.Yi=w_.events.listen(window,w_.events.EventType.SCROLL,this.Ph);this.Wi=w_.events.listen(window,w_.events.EventType.RESIZE,this.Ph)};
w_G.ui.DelayManager.prototype.th=function(){this.Zf();var a=this;this.Ie=window.setTimeout(function(){a.Ie=w_c;a.xe()},100)};w_G.ui.DelayManager.prototype.Zf=function(){this.Ie&&window.clearTimeout(this.Ie)};w_G.ui.DelayManager.prototype.xe=function(){if(!(this.rb<0))if(this.rb==0)this.Oh();else{var a=w_d;for(var b in this.Jc){var c=this.Jc[b];if(this.Wf(c,this.Pi,w_.dom.Lb().height))a=w_b}a&&this.uh()}};
w_G.ui.DelayManager.prototype.Oh=function(){w_.events.unlistenByKey(this.Yi);w_.events.unlistenByKey(this.Wi);this.rb=-1};w_G.ui.DelayManager.prototype.Wf=function(a,b,c){var d=w_.style.getClientPosition(a.el).y;if(0<=d&&d<=c)this.Ke.push(a);else if(0<d&&d<Math.round((b+1)*c))this.Qc.push(a);else if(d<0&&d>Math.round(-1*b*c))this.Qc.push(a);else return w_d;return w_b};
w_G.ui.DelayManager.prototype.uh=function(){this.Fi=w_b;for(var a=this.Ke.concat(this.Qc),b=0;b<a.length;b++){this.se(a[b].el);this.rb--;delete this.Jc[a[b].key]}this.Ke=[];this.Qc=[];this.Fi=w_d};w_G.ui.DelayManager.prototype.se=function(a){if(!(a.longDesc==""))a.src=a.longDesc};function w_H(a){this.a=a;this.tb=a.w();if(this.tb.data)this.oh=this.tb.data.showBacklinks}w_H.BACKLINKS_ROOT="backlinks-container";w_H.BACKLINKS_CHUNK="backlinks";w_H.BACKLINK_ITEM_ROOT_CLASS="backlink-control";w_H.BACKLINK_EXPANDED_CLASS="expanded-backlink";w_H.BACKLINK_COLLAPSED_CLASS="collapsed-backlink";w_H.BACKLINK_ZIPPY_CLASS="backlink-toggle-zippy";w_H.WIDGET_TYPE_NAME="Blog";w_H.prototype.e=function(){return w_H.WIDGET_TYPE_NAME};w_H.prototype.b=function(){return this.a};
w_H.prototype.c=function(a,b){if(a=="initial"){this.tb.data=b;w_B.DisplayWidget(this,w_b)}else if(a=="nextposts")this.We(b);else if(a=="configure")this.a.m(b);else a=="backlinks"&&this.Ef(b)};w_H.prototype.We=function(a){var b=a.renderedData,c=this.tb.rootElement;if(b&&c){c.innerHTML=b;window.scroll(0,0);this.l()}};
w_H.prototype.Ef=function(a){this.oh=w_d;var b=this.a.bc(w_H.BACKLINKS_CHUNK,a),c=this.a.Z(w_H.BACKLINKS_ROOT);if(c){c.innerHTML="";c.appendChild(b)}for(var d=w_ra(this.tb.rootElement,w_H.Pf),e=0;e<d.length;e++){var f=d[e];f.onclick=this.Df.bind(this)}var g=this.a.Z("backlinks-create-link");if(g!=w_c)g.onclick=this.Qe.bind(this,g.href)};w_H.Pf={};w_H.Pf.select=function(a){return a&&w_p(a,w_H.BACKLINK_ZIPPY_CLASS)};w_H.prototype.Df=function(a){a=a||window.event;this.Xe(a.srcElement||a.target)};
w_H.prototype.Xe=function(a){for(var b=a.parentNode;b&&!w_p(b,w_H.BACKLINK_ITEM_ROOT_CLASS);)b=b.parentNode;if(b)if(w_p(b,w_H.BACKLINK_EXPANDED_CLASS)){w_r(b,w_H.BACKLINK_EXPANDED_CLASS);w_q(b,w_H.BACKLINK_COLLAPSED_CLASS)}else{w_q(b,w_H.BACKLINK_EXPANDED_CLASS);w_r(b,w_H.BACKLINK_COLLAPSED_CLASS)}};
w_H.prototype.l=function(){var a=this.a.Z("blog-pager-newer-link");if(a&&this.fd(a))a.onclick=this.hd.bind(this);var b=this.a.Z("blog-pager-older-link");if(b&&this.fd(b))b.onclick=this.hd.bind(this);if(this.oh){var c=this;this.a.ua("backlinks",{postID:this.tb.data.postId},function(d){return c.Pe(d)},"GET")}this.mi=new w_G.ui.DelayManager(5,1.25);this.mi.init()};
w_H.prototype.Pe=function(a){var b=w_v(a);if(b>=500){if(window.console&&console.log){var c=/bX-\w*/,d=a.responseText.match(c)[0];console.log("Error loading backlinks: "+d)}return w_d}else return w_b};w_H.prototype.fd=function(a){var b=a.href;return b.indexOf("/search?")>-1};w_H.prototype.hd=function(a){a=a||window.event;var b=a.target||a.srcElement;this.a.ua("nextposts",{path:b.href});return w_d};
w_H.prototype.Qe=function(a){var b="";if(document.selection)b=document.selection.createRange().text;else if(window.getSelection)b=window.getSelection();else if(document.getSelection)b=document.getSelection();window.open(a+"?t="+encodeURIComponent(b)+"&u="+encodeURIComponent(window.location.href)+"&n="+encodeURIComponent(document.title),"bloggerForm","scrollbars=no,width=475,height=300,top=175,left=75,status=yes,resizable=yes");return w_d};var _BlogView=w_H;w_.date={};w_.date.weekDay={MON:0,TUE:1,WED:2,THU:3,FRI:4,SAT:5,SUN:6};w_.date.month={JAN:0,FEB:1,MAR:2,APR:3,MAY:4,JUN:5,JUL:6,AUG:7,SEP:8,OCT:9,NOV:10,DEC:11};w_.date.formatMonthAndYear=function(a,b){var c=a+(" "+b);return c};w_.date.cj=/^(\d{4})(?:(?:-?(\d{2})(?:-?(\d{2}))?)|(?:-?(\d{3}))|(?:-?W(\d{2})(?:-?([1-7]))?))?$/;w_.date.fj=/^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/;w_.date.gj=/Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/;w_.date.dj=/^(-)?P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)D)?(T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+(?:\.\d+)?)S)?)?$/;
w_.date.isLeapYear=function(a){return a%4==0&&(a%100!=0||a%400==0)};w_.date.isLongIsoYear=function(a){var b=5*a+12-4*(Math.floor(a/100)-Math.floor(a/400));b+=Math.floor((a-100)/400)-Math.floor((a-102)/400);b+=Math.floor((a-200)/400)-Math.floor((a-199)/400);return b%28<5};w_.date.Bc=function(a,b){switch(b){case w_.date.month.FEB:return w_.date.isLeapYear(a)?29:28;case w_.date.month.JUN:case w_.date.month.SEP:case w_.date.month.NOV:case w_.date.month.APR:return 30}return 31};
w_.date.isSameDay=function(a,b){var c=b||new Date(w_.now());return a.getDate()==c.getDate()&&w_.date.isSameMonth(a,c)};w_.date.isSameMonth=function(a,b){var c=b||new Date(w_.now());return a.getMonth()==c.getMonth()&&w_.date.isSameYear(a,c)};w_.date.isSameYear=function(a,b){var c=b||new Date(w_.now());return a.getFullYear()==c.getFullYear()};
w_.date.be=function(a,b,c,d,e){var f=new Date(a,b,c),g=d||w_.date.weekDay.THU,h=e||w_.date.weekDay.MON,i=(f.getDay()+6)%7,j=(i-h+7)%7,k=(g-h+7)%7,l=f.valueOf()+(k-j)*86400000,m=(new Date((new Date(l)).getFullYear(),0,1)).valueOf();return Math.floor(Math.round((l-m)/86400000)/7)+1};w_.date.fromIsoString=function(a){var b=new w_.date.DateTime(2000);return w_.date.setIso8601DateTime(b,a)?b:w_c};
w_.date.setIso8601DateTime=function(a,b){b=w_.string.trim(b);var c=b.indexOf("T")==-1?" ":"T",d=b.split(c);return w_.date.aj(a,d[0])&&(d.length<2||w_.date.bj(a,d[1]))};w_.date.aj=function(a,b){var c=b.match(w_.date.cj);if(!c)return w_d;var d=c[1],e=c[2],f=c[3],g=c[4],h=c[5],i=c[6]||1;a.setFullYear(d);if(g){a.setDate(1);a.setMonth(0);var j=g-1;a.add(new w_.date.Interval(w_.date.Interval.DAYS,j))}else if(h)w_.date.$i(a,h,i);else{if(e){a.setDate(1);a.setMonth(e-1)}f&&a.setDate(f)}return w_b};
w_.date.$i=function(a,b,c){a.setMonth(0);a.setDate(1);var d=a.getDay(),e=d||7;if(e<=4)var f=1-e;else f=8-e;var g=Number(c)+7*(Number(b)-1),h=f+g-1,i=new w_.date.Interval(w_.date.Interval.DAYS,h);a.add(i)};
w_.date.bj=function(a,b){var c=b.match(w_.date.gj),d=0;if(c){if(c[0]!="Z"){d=c[2]*60+Number(c[3]);d*=c[1]=="-"?1:-1}d-=a.getTimezoneOffset();b=b.substr(0,b.length-c[0].length)}c=b.match(w_.date.fj);if(!c)return w_d;a.setHours(c[1]);a.setMinutes(c[2]||0);a.setSeconds(c[3]||0);a.setMilliseconds(c[4]?c[4]*1000:0);d!=0&&a.setTime(a.getTime()+d*60000);return w_b};
w_.date.Interval=function(a,b,c,d,e,f){if(w_.isString(a)){var g=a,h=b;this.years=g==w_.date.Interval.YEARS?h:0;this.months=g==w_.date.Interval.MONTHS?h:0;this.days=g==w_.date.Interval.DAYS?h:0;this.hours=g==w_.date.Interval.HOURS?h:0;this.minutes=g==w_.date.Interval.MINUTES?h:0;this.seconds=g==w_.date.Interval.SECONDS?h:0}else{this.years=a||0;this.months=b||0;this.days=c||0;this.hours=d||0;this.minutes=e||0;this.seconds=f||0}};
w_.date.Interval.fromIsoString=function(a){var b=a.match(w_.date.dj);if(!b)return w_c;var c=!(b[6]||b[7]||b[8]),d=c&&!(b[2]||b[3]||b[4]);if(d||c&&b[5])return w_c;var e=b[1],f=parseInt(b[2],10)||0,g=parseInt(b[3],10)||0,h=parseInt(b[4],10)||0,i=parseInt(b[6],10)||0,j=parseInt(b[7],10)||0,k=parseFloat(b[8])||0;return e?new w_.date.Interval(-f,-g,-h,-i,-j,-k):new w_.date.Interval(f,g,h,i,j,k)};
w_.date.Interval.prototype.ta=function(a){var b=Math.min(this.years,this.months,this.days,this.hours,this.minutes,this.seconds),c=Math.max(this.years,this.months,this.days,this.hours,this.minutes,this.seconds);if(b<0&&c>0)return w_c;if(!a&&b==0&&c==0)return"PT0S";var d=[];b<0&&d.push("-");d.push("P");if(this.years||a)d.push(Math.abs(this.years)+"Y");if(this.months||a)d.push(Math.abs(this.months)+"M");if(this.days||a)d.push(Math.abs(this.days)+"D");if(this.hours||this.minutes||this.seconds||a){d.push("T");
if(this.hours||a)d.push(Math.abs(this.hours)+"H");if(this.minutes||a)d.push(Math.abs(this.minutes)+"M");if(this.seconds||a)d.push(Math.abs(this.seconds)+"S")}return d.join("")};w_.date.Interval.prototype.equals=function(a){return a.years==this.years&&a.months==this.months&&a.days==this.days&&a.hours==this.hours&&a.minutes==this.minutes&&a.seconds==this.seconds};w_.date.Interval.prototype.clone=function(){return new w_.date.Interval(this.years,this.months,this.days,this.hours,this.minutes,this.seconds)};
w_.date.Interval.YEARS="y";w_.date.Interval.MONTHS="m";w_.date.Interval.DAYS="d";w_.date.Interval.HOURS="h";w_.date.Interval.MINUTES="n";w_.date.Interval.SECONDS="s";w_.date.Interval.prototype.add=function(a){this.years+=a.years;this.months+=a.months;this.days+=a.days;this.hours+=a.hours;this.minutes+=a.minutes;this.seconds+=a.seconds};
w_.date.Date=function(a,b,c){if(w_.isNumber(a)){this.d=new Date(a,b||0,c||1);this.Nc(c||1)}else if(w_.isObject(a)){this.d=new Date(a.getFullYear(),a.getMonth(),a.getDate());this.Nc(a.getDate())}else{this.d=new Date;this.d.setHours(0);this.d.setMinutes(0);this.d.setSeconds(0);this.d.setMilliseconds(0)}};w_.date.Date.prototype.cb=w_.date.weekDay.MON;w_.date.Date.prototype.db=w_.date.weekDay.THU;w_.date.Date.prototype.clone=function(){var a=new w_.date.Date(this.d);a.cb=this.cb;a.db=this.db;return a};
w_.date.Date.prototype.getFullYear=function(){return this.d.getFullYear()};w_.date.Date.prototype.jb=function(){return this.getFullYear()};w_.date.Date.prototype.getMonth=function(){return this.d.getMonth()};w_.date.Date.prototype.getDate=function(){return this.d.getDate()};w_.date.Date.prototype.getTime=function(){return this.d.getTime()};w_.date.Date.prototype.getDay=function(){return this.d.getDay()};w_.date.Date.prototype.getUTCFullYear=function(){return this.d.getUTCFullYear()};
w_.date.Date.prototype.getUTCMonth=function(){return this.d.getUTCMonth()};w_.date.Date.prototype.getUTCDate=function(){return this.d.getUTCDate()};w_.date.Date.prototype.getUTCDay=function(){return this.d.getDay()};w_.date.Date.prototype.getUTCHours=function(){return this.d.getUTCHours()};w_.date.Date.prototype.getUTCMinutes=function(){return this.d.getUTCMinutes()};w_.date.Date.prototype.Bc=function(){return w_.date.Bc(this.getFullYear(),this.getMonth())};
w_.date.Date.prototype.be=function(){return w_.date.be(this.getFullYear(),this.getMonth(),this.getDate(),this.db,this.cb)};w_.date.Date.prototype.getTimezoneOffset=function(){return this.d.getTimezoneOffset()};w_.date.Date.prototype.Fc=function(){var a,b=this.getTimezoneOffset();if(b==0)a="Z";else{var c=Math.abs(b)/60,d=Math.floor(c),e=(c-d)*60;a=(b>0?"-":"+")+w_.string.padNumber(d,2)+":"+w_.string.padNumber(e,2)}return a};
w_.date.Date.prototype.set=function(a){this.d=new Date(a.getFullYear(),a.getMonth(),a.getDate())};w_.date.Date.prototype.setFullYear=function(a){this.d.setFullYear(a)};w_.date.Date.prototype.setMonth=function(a){this.d.setMonth(a)};w_.date.Date.prototype.setDate=function(a){this.d.setDate(a)};w_.date.Date.prototype.setTime=function(a){this.d.setTime(a)};w_.date.Date.prototype.setUTCFullYear=function(a){this.d.setUTCFullYear(a)};w_.date.Date.prototype.setUTCMonth=function(a){this.d.setUTCMonth(a)};
w_.date.Date.prototype.setUTCDate=function(a){this.d.setUTCDate(a)};
w_.date.Date.prototype.add=function(a){if(a.years||a.months){var b=this.getMonth()+a.months+a.years*12,c=this.jb()+Math.floor(b/12);b%=12;if(b<0)b+=12;var d=w_.date.Bc(c,b),e=Math.min(d,this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(e)}if(a.days){var f=new Date(this.jb(),this.getMonth(),this.getDate(),12),g=new Date(f.getTime()+a.days*86400000);this.setDate(1);this.setFullYear(g.getFullYear());this.setMonth(g.getMonth());this.setDate(g.getDate());this.Nc(g.getDate())}};
w_.date.Date.prototype.ta=function(a,b){var c=[this.getFullYear(),w_.string.padNumber(this.getMonth()+1,2),w_.string.padNumber(this.getDate(),2)];return c.join(a?"-":"")+(b?this.Fc():"")};w_.date.Date.prototype.equals=function(a){return this.jb()==a.jb()&&this.getMonth()==a.getMonth()&&this.getDate()==a.getDate()};w_.date.Date.prototype.toString=function(){return this.ta()};
w_.date.Date.prototype.Nc=function(a){if(this.getDate()!=a){var b=this.getDate()<a?1:-1;this.d.setUTCHours(this.d.getUTCHours()+b)}};w_.date.Date.prototype.valueOf=function(){return this.d.valueOf()};w_.date.DateTime=function(a,b,c,d,e,f,g){this.d=w_.isNumber(a)?new Date(a,b||0,c||1,d||0,e||0,f||0,g||0):new Date(a?a.getTime():w_.now())};w_.inherits(w_.date.DateTime,w_.date.Date);w_.date.DateTime.prototype.getHours=function(){return this.d.getHours()};w_.date.DateTime.prototype.getMinutes=function(){return this.d.getMinutes()};
w_.date.DateTime.prototype.getSeconds=function(){return this.d.getSeconds()};w_.date.DateTime.prototype.getMilliseconds=function(){return this.d.getMilliseconds()};w_.date.DateTime.prototype.getUTCDay=function(){return this.d.getUTCDay()};w_.date.DateTime.prototype.getUTCHours=function(){return this.d.getUTCHours()};w_.date.DateTime.prototype.getUTCMinutes=function(){return this.d.getUTCMinutes()};w_.date.DateTime.prototype.getUTCSeconds=function(){return this.d.getUTCSeconds()};
w_.date.DateTime.prototype.getUTCMilliseconds=function(){return this.d.getUTCMilliseconds()};w_.date.DateTime.prototype.setHours=function(a){this.d.setHours(a)};w_.date.DateTime.prototype.setMinutes=function(a){this.d.setMinutes(a)};w_.date.DateTime.prototype.setSeconds=function(a){this.d.setSeconds(a)};w_.date.DateTime.prototype.setMilliseconds=function(a){this.d.setMilliseconds(a)};w_.date.DateTime.prototype.setUTCHours=function(a){this.d.setUTCHours(a)};
w_.date.DateTime.prototype.setUTCMinutes=function(a){this.d.setUTCMinutes(a)};w_.date.DateTime.prototype.setUTCSeconds=function(a){this.d.setUTCSeconds(a)};w_.date.DateTime.prototype.setUTCMilliseconds=function(a){this.d.setUTCMilliseconds(a)};w_.date.DateTime.prototype.add=function(a){w_.date.Date.prototype.add.call(this,a);a.hours&&this.setHours(this.d.getHours()+a.hours);a.minutes&&this.setMinutes(this.d.getMinutes()+a.minutes);a.seconds&&this.setSeconds(this.d.getSeconds()+a.seconds)};
w_.date.DateTime.prototype.ta=function(a,b){var c=w_.date.Date.prototype.ta.call(this,a);if(a)return c+" "+w_.string.padNumber(this.getHours(),2)+":"+w_.string.padNumber(this.getMinutes(),2)+":"+w_.string.padNumber(this.getSeconds(),2)+(b?this.Fc():"");return c+"T"+w_.string.padNumber(this.getHours(),2)+w_.string.padNumber(this.getMinutes(),2)+w_.string.padNumber(this.getSeconds(),2)+(b?this.Fc():"")};w_.date.DateTime.prototype.equals=function(a){return this.getTime()==a.getTime()};
w_.date.DateTime.prototype.toString=function(){return this.ta()};w_.date.DateTime.prototype.clone=function(){var a=new w_.date.DateTime(this.d);a.cb=this.cb;a.db=this.db;return a};w_.dom.xml={};w_.dom.xml.MAX_XML_SIZE_KB=2048;w_.dom.xml.MAX_ELEMENT_DEPTH=256;w_.dom.xml.createDocument=function(a,b){if(b&&!a)w_a(Error("Can't create document with namespace and no root tag"));if(document.implementation&&document.implementation.createDocument)return document.implementation.createDocument(b||"",a||"",w_c);else if(typeof ActiveXObject!="undefined"){var c=w_.dom.xml.dg();if(c){if(a)c.appendChild(c.createNode(w_.dom.NodeType.ELEMENT,a,b||""));return c}}w_a(Error("Your browser does not support creating new documents"))};
w_.dom.xml.loadXml=function(a){if(typeof DOMParser!="undefined")return(new DOMParser).parseFromString(a,"application/xml");else if(typeof ActiveXObject!="undefined"){var b=w_.dom.xml.dg();b.loadXML(a);return b}w_a(Error("Your browser does not support loading xml documents"))};w_.dom.xml.serialize=function(a){if(typeof XMLSerializer!="undefined")return(new XMLSerializer).serializeToString(a);var b=a.xml;if(b)return b;w_a(Error("Your browser does not support serializing XML documents"))};
w_.dom.xml.selectSingleNode=function(a,b){if(typeof a.selectSingleNode!="undefined"){var c=w_.dom.u(a);typeof c.setProperty!="undefined"&&c.setProperty("SelectionLanguage","XPath");return a.selectSingleNode(b)}else if(document.implementation.hasFeature("XPath","3.0")){c=w_.dom.u(a);var d=c.createNSResolver(c.documentElement),e=c.evaluate(b,a,d,XPathResult.FIRST_ORDERED_NODE_TYPE,w_c);return e.singleNodeValue}return w_c};
w_.dom.xml.selectNodes=function(a,b){if(typeof a.selectNodes!="undefined"){var c=w_.dom.u(a);typeof c.setProperty!="undefined"&&c.setProperty("SelectionLanguage","XPath");return a.selectNodes(b)}else if(document.implementation.hasFeature("XPath","3.0")){c=w_.dom.u(a);for(var d=c.createNSResolver(c.documentElement),e=c.evaluate(b,a,d,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,w_c),f=[],g=e.snapshotLength,h=0;h<g;h++)f.push(e.snapshotItem(h));return f}else return[]};
w_.dom.xml.dg=function(){var a=new ActiveXObject("MSXML2.DOMDocument");if(a){a.resolveExternals=w_d;a.validateOnParse=w_d;a.setProperty("ProhibitDTD",w_b);a.setProperty("MaxXMLSize",w_.dom.xml.MAX_XML_SIZE_KB);a.setProperty("MaxElementDepth",w_.dom.xml.MAX_ELEMENT_DEPTH)}return a};w_.iter={};w_.iter.Iterable=w_.typedef;w_.iter.StopIteration="StopIteration"in w_.global?w_.global.StopIteration:Error("StopIteration");w_.iter.Iterator=function(){};w_.iter.Iterator.prototype.next=function(){w_a(w_.iter.StopIteration)};w_.iter.Iterator.prototype.__iterator__=function(){return this};
w_.iter.toIterator=function(a){if(a instanceof w_.iter.Iterator)return a;if(typeof a.__iterator__=="function")return a.__iterator__(w_d);if(w_.isArrayLike(a)){var b=0,c=new w_.iter.Iterator;c.next=function(){for(;1;){if(b>=a.length)w_a(w_.iter.StopIteration);if(b in a)return a[b++];else b++}};return c}w_a(Error("Not implemented"))};
w_.iter.forEach=function(a,b,c){if(w_.isArrayLike(a))try{w_.array.forEach(a,b,c)}catch(d){if(d!==w_.iter.StopIteration)w_a(d)}else{a=w_.iter.toIterator(a);try{for(;1;)b.call(c,a.next(),undefined,a)}catch(e){if(e!==w_.iter.StopIteration)w_a(e)}}};w_.iter.filter=function(a,b,c){a=w_.iter.toIterator(a);var d=new w_.iter.Iterator;d.next=function(){for(;1;){var e=a.next();if(b.call(c,e,undefined,a))return e}};return d};
w_.iter.range=function(a,b,c){var d=0,e=a,f=c||1;if(arguments.length>1){d=a;e=b}if(f==0)w_a(Error("Range step argument must not be zero"));var g=new w_.iter.Iterator;g.next=function(){if(f>0&&d>=e||f<0&&d<=e)w_a(w_.iter.StopIteration);var h=d;d+=f;return h};return g};w_.iter.join=function(a,b){return w_.iter.toArray(a).join(b)};w_.iter.map=function(a,b,c){a=w_.iter.toIterator(a);var d=new w_.iter.Iterator;d.next=function(){for(;1;){var e=a.next();return b.call(c,e,undefined,a)}};return d};
w_.iter.reduce=function(a,b,c,d){var e=c;w_.iter.forEach(a,function(f){e=b.call(d,e,f)});return e};w_.iter.some=function(a,b,c){a=w_.iter.toIterator(a);try{for(;1;)if(b.call(c,a.next(),undefined,a))return w_b}catch(d){if(d!==w_.iter.StopIteration)w_a(d)}return w_d};w_.iter.every=function(a,b,c){a=w_.iter.toIterator(a);try{for(;1;)if(!b.call(c,a.next(),undefined,a))return w_d}catch(d){if(d!==w_.iter.StopIteration)w_a(d)}return w_b};
w_.iter.chain=function(){var a=arguments,b=a.length,c=0,d=new w_.iter.Iterator;d.next=function(){try{if(c>=b)w_a(w_.iter.StopIteration);var e=w_.iter.toIterator(a[c]);return e.next()}catch(f){if(f!==w_.iter.StopIteration||c>=b)w_a(f);else{c++;return this.next()}}};return d};w_.iter.dropWhile=function(a,b,c){a=w_.iter.toIterator(a);var d=new w_.iter.Iterator,e=w_b;d.next=function(){for(;1;){var f=a.next();if(!(e&&b.call(c,f,undefined,a))){e=w_d;return f}}};return d};
w_.iter.takeWhile=function(a,b,c){a=w_.iter.toIterator(a);var d=new w_.iter.Iterator,e=w_b;d.next=function(){for(;1;)if(e){var f=a.next();if(b.call(c,f,undefined,a))return f;else e=w_d}else w_a(w_.iter.StopIteration)};return d};w_.iter.toArray=function(a){if(w_.isArrayLike(a))return w_.array.toArray(a);a=w_.iter.toIterator(a);var b=[];w_.iter.forEach(a,function(c){b.push(c)});return b};
w_.iter.equals=function(a,b){a=w_.iter.toIterator(a);b=w_.iter.toIterator(b);var c,d;try{for(;1;){c=d=w_d;var e=a.next();c=w_b;var f=b.next();d=w_b;if(e!=f)return w_d}}catch(g){if(g!==w_.iter.StopIteration)w_a(g);else{if(c&&!d)return w_d;if(!d)try{b.next();return w_d}catch(h){if(h!==w_.iter.StopIteration)w_a(h);return w_b}}}return w_d};w_.iter.nextOrValue=function(a,b){try{return w_.iter.toIterator(a).next()}catch(c){if(c!=w_.iter.StopIteration)w_a(c);return b}};w_.structs.V=function(a){if(typeof a.V=="function")return a.V();if(w_.isArrayLike(a)||w_.isString(a))return a.length;return w_.object.V(a)};w_.structs.r=function(a){if(typeof a.r=="function")return a.r();if(w_.isString(a))return a.split("");if(w_.isArrayLike(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return w_.object.r(a)};
w_.structs.o=function(a){if(typeof a.o=="function")return a.o();if(typeof a.r=="function")return undefined;if(w_.isArrayLike(a)||w_.isString(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(d);return b}return w_.object.o(a)};w_.structs.contains=function(a,b){if(typeof a.contains=="function")return a.contains(b);if(typeof a.ja=="function")return a.ja(b);if(w_.isArrayLike(a)||w_.isString(a))return w_.array.contains(a,b);return w_.object.ja(a,b)};
w_.structs.C=function(a){if(typeof a.C=="function")return a.C();if(w_.isArrayLike(a)||w_.isString(a))return w_.array.C(a);return w_.object.C(a)};w_.structs.clear=function(a){if(typeof a.clear=="function")a.clear();else w_.isArrayLike(a)?w_.array.clear(a):w_.object.clear(a)};
w_.structs.forEach=function(a,b,c){if(typeof a.forEach=="function")a.forEach(b,c);else if(w_.isArrayLike(a)||w_.isString(a))w_.array.forEach(a,b,c);else for(var d=w_.structs.o(a),e=w_.structs.r(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)};
w_.structs.filter=function(a,b,c){if(typeof a.filter=="function")return a.filter(b,c);if(w_.isArrayLike(a)||w_.isString(a))return w_.array.filter(a,b,c);var d,e=w_.structs.o(a),f=w_.structs.r(a),g=f.length;if(e){d={};for(var h=0;h<g;h++)if(b.call(c,f[h],e[h],a))d[e[h]]=f[h]}else{d=[];for(h=0;h<g;h++)b.call(c,f[h],undefined,a)&&d.push(f[h])}return d};
w_.structs.map=function(a,b,c){if(typeof a.map=="function")return a.map(b,c);if(w_.isArrayLike(a)||w_.isString(a))return w_.array.map(a,b,c);var d,e=w_.structs.o(a),f=w_.structs.r(a),g=f.length;if(e){d={};for(var h=0;h<g;h++)d[e[h]]=b.call(c,f[h],e[h],a)}else{d=[];for(h=0;h<g;h++)d[h]=b.call(c,f[h],undefined,a)}return d};
w_.structs.some=function(a,b,c){if(typeof a.some=="function")return a.some(b,c);if(w_.isArrayLike(a)||w_.isString(a))return w_.array.some(a,b,c);for(var d=w_.structs.o(a),e=w_.structs.r(a),f=e.length,g=0;g<f;g++)if(b.call(c,e[g],d&&d[g],a))return w_b;return w_d};
w_.structs.every=function(a,b,c){if(typeof a.every=="function")return a.every(b,c);if(w_.isArrayLike(a)||w_.isString(a))return w_.array.every(a,b,c);for(var d=w_.structs.o(a),e=w_.structs.r(a),f=e.length,g=0;g<f;g++)if(!b.call(c,e[g],d&&d[g],a))return w_d;return w_b};w_.structs.Map=function(a){this.J={};this.s=[];var b=arguments.length;if(b>1){if(b%2)w_a(Error("Uneven number of arguments"));for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.If(a)};w_.structs.Map.prototype.h=0;w_.structs.Map.prototype.sb=0;w_.structs.Map.prototype.V=function(){return this.h};w_.structs.Map.prototype.r=function(){this.Wa();for(var a=[],b=0;b<this.s.length;b++){var c=this.s[b];a.push(this.J[c])}return a};w_.structs.Map.prototype.o=function(){this.Wa();return this.s.concat()};
w_.structs.Map.prototype.z=function(a){return w_.structs.Map.Ka(this.J,a)};w_.structs.Map.prototype.ja=function(a){for(var b=0;b<this.s.length;b++){var c=this.s[b];if(w_.structs.Map.Ka(this.J,c)&&this.J[c]==a)return w_b}return w_d};w_.structs.Map.prototype.equals=function(a,b){if(this===a)return w_b;if(this.h!=a.V())return w_d;var c=b||w_.structs.Map.defaultEquals;this.Wa();for(var d,e=0;d=this.s[e];e++)if(!c(this.get(d),a.get(d)))return w_d;return w_b};
w_.structs.Map.defaultEquals=function(a,b){return a===b};w_.structs.Map.prototype.C=function(){return this.h==0};w_.structs.Map.prototype.clear=function(){this.J={};this.sb=this.h=this.s.length=0};w_.structs.Map.prototype.remove=function(a){if(w_.structs.Map.Ka(this.J,a)){delete this.J[a];this.h--;this.sb++;this.s.length>2*this.h&&this.Wa();return w_b}return w_d};
w_.structs.Map.prototype.Wa=function(){if(this.h!=this.s.length){for(var a=0,b=0;a<this.s.length;){var c=this.s[a];if(w_.structs.Map.Ka(this.J,c))this.s[b++]=c;a++}this.s.length=b}if(this.h!=this.s.length){var d={};for(b=a=0;a<this.s.length;){c=this.s[a];if(!w_.structs.Map.Ka(d,c)){this.s[b++]=c;d[c]=1}a++}this.s.length=b}};w_.structs.Map.prototype.get=function(a,b){if(w_.structs.Map.Ka(this.J,a))return this.J[a];return b};
w_.structs.Map.prototype.set=function(a,b){if(!w_.structs.Map.Ka(this.J,a)){this.h++;this.s.push(a);this.sb++}this.J[a]=b};w_.structs.Map.prototype.If=function(a){var b,c;if(a instanceof w_.structs.Map){b=a.o();c=a.r()}else{b=w_.object.o(a);c=w_.object.r(a)}for(var d=0;d<b.length;d++)this.set(b[d],c[d])};w_.structs.Map.prototype.clone=function(){return new w_.structs.Map(this)};
w_.structs.Map.prototype.transpose=function(){for(var a=new w_.structs.Map,b=0;b<this.s.length;b++){var c=this.s[b],d=this.J[c];a.set(d,c)}return a};w_.structs.Map.prototype.__iterator__=function(a){this.Wa();var b=0,c=this.s,d=this.J,e=this.sb,f=this,g=new w_.iter.Iterator;g.next=function(){for(;1;){if(e!=f.sb)w_a(Error("The map has changed since the iterator was created"));if(b>=c.length)w_a(w_.iter.StopIteration);var h=c[b++];return a?h:d[h]}};return g};
w_.structs.Map.Ka=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};w_.structs.Map.V=function(a){return w_.structs.V(a)};w_.structs.Map.r=function(a){return w_.structs.r(a)};w_.structs.Map.o=function(a){if(typeof a.o=="function")return a.o();var b=[];if(w_.isArrayLike(a))for(var c=0;c<a.length;c++)b.push(c);else return w_.object.o(a);return b};w_.structs.Map.z=function(a,b){if(typeof a.z=="function")return a.z(b);if(w_.isArrayLike(a))return Number(b)<a.length;return w_.object.z(a,b)};
w_.structs.Map.ja=function(a,b){return w_.structs.contains(a,b)};w_.structs.Map.C=function(a){return w_.structs.C(a)};w_.structs.Map.clear=function(a){w_.structs.clear(a)};w_.structs.Map.remove=function(a,b){if(typeof a.remove=="function")return a.remove(b);if(w_.isArrayLike(a))return w_.array.removeAt(a,Number(b));return w_.object.remove(a,b)};
w_.structs.Map.add=function(a,b,c){if(typeof a.add=="function")a.add(b,c);else if(w_.structs.Map.z(a,b))w_a(Error('The collection already contains the key "'+b+'"'));else w_.structs.Map.set(a,b,c)};w_.structs.Map.get=function(a,b,c){if(typeof a.get=="function")return a.get(b,c);if(w_.structs.Map.z(a,b))return a[b];return c};w_.structs.Map.set=function(a,b,c){if(typeof a.set=="function")a.set(b,c);else a[b]=c};w_.asserts={};w_.asserts.assert=function(a,b){if(w_.DEBUG&&!a)w_a(Error("Assertion failed"+(b?": "+b:"")))};w_.asserts.fail=function(a){if(w_.DEBUG)w_a(Error("Failure"+(a?": "+a:"")))};w_.uri={};w_.uri.utils={};w_.uri.utils.xb={AMPERSAND:38,EQUAL:61,HASH:35,QUESTION:63};w_.uri.utils.buildFromEncodedParts=function(a,b,c,d,e,f,g){var h=[];a&&h.push(a,":");if(c){h.push("//");b&&h.push(b,"@");h.push(c);d&&h.push(":",d)}e&&h.push(e);f&&h.push("?",f);g&&h.push("#",g);return h.join("")};w_.uri.utils.ej=/^(?:([^:\/?#]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;
w_.uri.utils.ComponentIndex={SCHEME:1,USER_INFO:2,DOMAIN:3,PORT:4,PATH:5,QUERY_DATA:6,FRAGMENT:7};w_.uri.utils.split=function(a){return a.match(w_.uri.utils.ej)};w_.uri.utils.nc=function(a){return a&&decodeURIComponent(a)};w_.uri.utils.fb=function(a,b){return w_.uri.utils.split(b)[a]||w_c};w_.uri.utils.Dc=function(a){return w_.uri.utils.fb(w_.uri.utils.ComponentIndex.SCHEME,a)};w_.uri.utils.getUserInfoEncoded=function(a){return w_.uri.utils.fb(w_.uri.utils.ComponentIndex.USER_INFO,a)};
w_.uri.utils.Gc=function(a){return w_.uri.utils.nc(w_.uri.utils.getUserInfoEncoded(a))};w_.uri.utils.getDomainEncoded=function(a){return w_.uri.utils.fb(w_.uri.utils.ComponentIndex.DOMAIN,a)};w_.uri.utils.ma=function(a){return w_.uri.utils.nc(w_.uri.utils.getDomainEncoded(a))};w_.uri.utils.Ib=function(a){return Number(w_.uri.utils.fb(w_.uri.utils.ComponentIndex.PORT,a))||w_c};w_.uri.utils.getPathEncoded=function(a){return w_.uri.utils.fb(w_.uri.utils.ComponentIndex.PATH,a)};w_.uri.utils.Ja=function(a){return w_.uri.utils.nc(w_.uri.utils.getPathEncoded(a))};
w_.uri.utils.Cc=function(a){return w_.uri.utils.fb(w_.uri.utils.ComponentIndex.QUERY_DATA,a)};w_.uri.utils.getFragmentEncoded=function(a){var b=a.indexOf("#");return b<0?w_c:a.substr(b+1)};w_.uri.utils.vc=function(a){return w_.uri.utils.nc(w_.uri.utils.getFragmentEncoded(a))};w_.uri.utils.getHost=function(a){var b=w_.uri.utils.split(a);return w_.uri.utils.buildFromEncodedParts(b[w_.uri.utils.ComponentIndex.SCHEME],b[w_.uri.utils.ComponentIndex.USER_INFO],b[w_.uri.utils.ComponentIndex.DOMAIN],b[w_.uri.utils.ComponentIndex.PORT])};
w_.uri.utils.getPathAndAfter=function(a){var b=w_.uri.utils.split(a);return w_.uri.utils.buildFromEncodedParts(w_c,w_c,w_c,w_c,b[w_.uri.utils.ComponentIndex.PATH],b[w_.uri.utils.ComponentIndex.QUERY_DATA],b[w_.uri.utils.ComponentIndex.FRAGMENT])};w_.uri.utils.removeFragment=function(a){var b=a.indexOf("#");return b<0?a:a.substr(0,b)};
w_.uri.utils.haveSameDomain=function(a,b){var c=w_.uri.utils.split(a),d=w_.uri.utils.split(b);return c[w_.uri.utils.ComponentIndex.DOMAIN]==d[w_.uri.utils.ComponentIndex.DOMAIN]&&c[w_.uri.utils.ComponentIndex.SCHEME]==d[w_.uri.utils.ComponentIndex.SCHEME]&&c[w_.uri.utils.ComponentIndex.PORT]==d[w_.uri.utils.ComponentIndex.PORT]};w_.uri.utils.Nf=function(){};w_.uri.utils.td=function(a){w_.uri.utils.Nf(a[0]);if(a[1]){var b=a[0].indexOf("?");if(b<0)a[1]="?";else if(b==a[0].length-1)a[1]=""}return a.join("")};
w_.uri.utils.Mf=function(a,b,c){if(w_.isArray(b)){b=b;for(var d=0;d<b.length;d++)c.push("&",a,"=",w_.string.urlEncode(b[d]))}else b!=w_c&&c.push("&",a,"=",w_.string.urlEncode(b))};w_.uri.utils.Vf=function(a,b,c){w_.asserts.assert(Math.max(b.length-(c||0),0)%2==0,"goog.uri.utils: Key/value lists must be even in length.");for(var d=c||0;d<b.length;d+=2)w_.uri.utils.Mf(b[d],b[d+1],a);return a};w_.uri.utils.buildQueryData=function(a,b){var c=w_.uri.utils.Vf([],a,b);c[0]="";return c.join("")};
w_.uri.utils.Uf=function(a,b){for(var c in b)w_.uri.utils.Mf(c,b[c],a);return a};w_.uri.utils.buildQueryDataFromMap=function(a){var b=w_.uri.utils.Uf([],a);b[0]="";return b.join("")};w_.uri.utils.appendParams=function(a){return w_.uri.utils.td(w_.uri.utils.Vf([a],arguments,1))};w_.uri.utils.appendParamsFromMap=function(a,b){return w_.uri.utils.td(w_.uri.utils.Uf([a],b))};w_.uri.utils.appendParam=function(a,b,c){return w_.uri.utils.td([a,"&",b,"=",w_.string.urlEncode(c)])};
w_.uri.utils.tc=function(a,b,c,d){for(var e=b,f=c.length;(e=a.indexOf(c,e))>=0&&e<d;){var g=a.charCodeAt(e-1);if(g==w_.uri.utils.xb.AMPERSAND||g==w_.uri.utils.xb.QUESTION){var h=a.charCodeAt(e+f);if(!h||h==w_.uri.utils.xb.EQUAL||h==w_.uri.utils.xb.AMPERSAND||h==w_.uri.utils.xb.HASH)return e}e+=f+1}return-1};w_.uri.utils.ie=/#|$/;w_.uri.utils.hasParam=function(a,b){return w_.uri.utils.tc(a,0,b,a.search(w_.uri.utils.ie))>=0};
w_.uri.utils.getParamValue=function(a,b){var c=a.search(w_.uri.utils.ie),d=w_.uri.utils.tc(a,0,b,c);if(d<0)return w_c;else{var e=a.indexOf("&",d);if(e<0||e>c)e=c;d+=b.length+1;return w_.string.urlDecode(a.substr(d,e-d))}};w_.uri.utils.getParamValues=function(a,b){for(var c=a.search(w_.uri.utils.ie),d=0,e,f=[];(e=w_.uri.utils.tc(a,d,b,c))>=0;){d=a.indexOf("&",e);if(d<0||d>c)d=c;e+=b.length+1;f.push(w_.string.urlDecode(a.substr(e,d-e)))}return f};w_.uri.utils.ij=/[?&]$/;
w_.uri.utils.removeParam=function(a,b){w_.uri.utils.Nf(a);for(var c=a.length,d=0,e,f=[];(e=w_.uri.utils.tc(a,d,b,c))>=0;){f.push(a.substring(d,e));d=a.indexOf("&",e)+1||c}f.push(a.substr(d));return f.join("").replace(w_.uri.utils.ij,"")};w_.Uri=function(a,b){var c;if(a instanceof w_.Uri){this.ya(b==w_c?a.Gg():b);this.Vb(a.Dc());this.Wb(a.Gc());this.Rb(a.ma());this.Tb(a.Ib());this.pb(a.Ja());this.Sc(a.Cc().clone());this.Sb(a.vc())}else if(a&&(c=w_.uri.utils.split(String(a)))){this.ya(!!b);this.Vb(c[w_.uri.utils.ComponentIndex.SCHEME]||"",w_b);this.Wb(c[w_.uri.utils.ComponentIndex.USER_INFO]||"",w_b);this.Rb(c[w_.uri.utils.ComponentIndex.DOMAIN]||"",w_b);this.Tb(c[w_.uri.utils.ComponentIndex.PORT]);this.pb(c[w_.uri.utils.ComponentIndex.PATH]||
"",w_b);this.Be(c[w_.uri.utils.ComponentIndex.QUERY_DATA]||"",w_b);this.Sb(c[w_.uri.utils.ComponentIndex.FRAGMENT]||"",w_b)}else{this.ya(!!b);this.H=new w_.Uri.QueryData(w_c,this,this.ca)}};w_.Uri.RANDOM_PARAM="zx";w_.Uri.prototype.ga="";w_.Uri.prototype.Ua="";w_.Uri.prototype.ka="";w_.Uri.prototype.Ra=w_c;w_.Uri.prototype.Qa="";w_.Uri.prototype.Ga="";w_.Uri.prototype.bh=w_d;w_.Uri.prototype.ca=w_d;
w_.Uri.prototype.toString=function(){if(this.$)return this.$;var a=[];this.ga&&a.push(w_.Uri.Fb(this.ga,w_.Uri.xh),":");if(this.ka){a.push("//");this.Ua&&a.push(w_.Uri.Fb(this.Ua,w_.Uri.xh),"@");a.push(w_.Uri.xi(this.ka));this.Ra!=w_c&&a.push(":",String(this.Ib()))}this.Qa&&a.push(w_.Uri.Fb(this.Qa,w_.Uri.Ti));var b=String(this.H);b&&a.push("?",b);this.Ga&&a.push("#",w_.Uri.Fb(this.Ga,w_.Uri.Si));return this.$=a.join("")};
w_.Uri.prototype.resolve=function(a){var b=this.clone(),c=a.Ug();if(c)b.Vb(a.Dc());else c=a.Vg();if(c)b.Wb(a.Gc());else c=a.ge();if(c)b.Rb(a.ma());else c=a.Sg();var d=a.Ja();if(c)b.Tb(a.Ib());else if(c=a.he()){if(d.charAt(0)!="/")if(this.ge()&&!this.he())d="/"+d;else{var e=b.Ja().lastIndexOf("/");if(e!=-1)d=b.Ja().substr(0,e+1)+d}d=w_.Uri.removeDotSegments(d)}if(c)b.pb(d);else c=a.Tg();if(c)b.Be(a.Ag());else c=a.Rg();c&&b.Sb(a.vc());return b};
w_.Uri.prototype.clone=function(){return w_.Uri.create(this.ga,this.Ua,this.ka,this.Ra,this.Qa,this.H.clone(),this.Ga,this.ca)};w_.Uri.prototype.Dc=function(){return this.ga};w_.Uri.prototype.Vb=function(a,b){this.ea();delete this.$;if(this.ga=b?w_.Uri.Xa(a):a)this.ga=this.ga.replace(/:$/,"");return this};w_.Uri.prototype.Ug=function(){return!!this.ga};w_.Uri.prototype.Gc=function(){return this.Ua};w_.Uri.prototype.Wb=function(a,b){this.ea();delete this.$;this.Ua=b?w_.Uri.Xa(a):a;return this};
w_.Uri.prototype.Vg=function(){return!!this.Ua};w_.Uri.prototype.ma=function(){return this.ka};w_.Uri.prototype.Rb=function(a,b){this.ea();delete this.$;this.ka=b?w_.Uri.Xa(a):a;return this};w_.Uri.prototype.ge=function(){return!!this.ka};w_.Uri.prototype.Ib=function(){return this.Ra};w_.Uri.prototype.Tb=function(a){this.ea();delete this.$;if(a){a=Number(a);if(isNaN(a)||a<0)w_a(Error("Bad port number "+a));this.Ra=a}else this.Ra=w_c;return this};w_.Uri.prototype.Sg=function(){return this.Ra!=w_c};
w_.Uri.prototype.Ja=function(){return this.Qa};w_.Uri.prototype.pb=function(a,b){this.ea();delete this.$;this.Qa=b?w_.Uri.Xa(a):a;return this};w_.Uri.prototype.he=function(){return!!this.Qa};w_.Uri.prototype.Tg=function(){return this.H.toString()!==""};w_.Uri.prototype.Sc=function(a,b){this.ea();delete this.$;if(a instanceof w_.Uri.QueryData){this.H=a;this.H.Xb=this;this.H.ya(this.ca)}else{b||(a=w_.Uri.Fb(a,w_.Uri.Ui));this.H=new w_.Uri.QueryData(a,this,this.ca)}return this};
w_.Uri.prototype.Be=function(a,b){return this.Sc(a,b)};w_.Uri.prototype.Fg=function(){return this.H.toString()};w_.Uri.prototype.Ag=function(){return this.H.Nh()};w_.Uri.prototype.Cc=function(){return this.H};w_.Uri.prototype.Jb=function(){return this.Fg()};w_.Uri.prototype.Rc=function(a,b){this.ea();delete this.$;w_.isArray(b)||(b=[String(b)]);this.H.Ih(a,b);return this};w_.Uri.prototype.Jg=function(a){return this.H.get(a)};w_.Uri.prototype.vc=function(){return this.Ga};
w_.Uri.prototype.Sb=function(a,b){this.ea();delete this.$;this.Ga=b?w_.Uri.Xa(a):a;return this};w_.Uri.prototype.Rg=function(){return!!this.Ga};w_.Uri.prototype.removeParameter=function(a){this.ea();this.H.remove(a);return this};w_.Uri.prototype.ea=function(){if(this.bh)w_a(Error("Tried to modify a read-only Uri"))};w_.Uri.prototype.ya=function(a){this.ca=a;this.H&&this.H.ya(a)};w_.Uri.prototype.Gg=function(){return this.ca};
w_.Uri.parse=function(a,b){return a instanceof w_.Uri?a.clone():new w_.Uri(a,b)};w_.Uri.create=function(a,b,c,d,e,f,g,h){var i=new w_.Uri(w_c,h);a&&i.Vb(a);b&&i.Wb(b);c&&i.Rb(c);d&&i.Tb(d);e&&i.pb(e);f&&i.Sc(f);g&&i.Sb(g);return i};w_.Uri.resolve=function(a,b){a instanceof w_.Uri||(a=w_.Uri.parse(a));b instanceof w_.Uri||(b=w_.Uri.parse(b));return a.resolve(b)};
w_.Uri.removeDotSegments=function(a){if(a==".."||a==".")return"";else if(!w_.string.contains(a,"./")&&!w_.string.contains(a,"/."))return a;else{for(var b=w_.string.Ee(a,"/"),c=a.split("/"),d=[],e=0;e<c.length;){var f=c[e++];if(f==".")b&&e==c.length&&d.push("");else if(f==".."){if(d.length>1||d.length==1&&d[0]!="")d.pop();b&&e==c.length&&d.push("")}else{d.push(f);b=w_b}}return d.join("/")}};w_.Uri.Xa=function(a){return a?decodeURIComponent(a):""};
w_.Uri.xi=function(a){if(w_.isString(a))return encodeURIComponent(a);return w_c};w_.Uri.wi=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/;w_.Uri.Fb=function(a,b){var c=w_c;if(w_.isString(a)){c=a;w_.Uri.wi.test(c)||(c=encodeURI(a));if(c.search(b)>=0)c=c.replace(b,w_.Uri.vi)}return c};w_.Uri.vi=function(a){var b=a.charCodeAt(0);return"%"+(b>>4&15).toString(16)+(b&15).toString(16)};w_.Uri.xh=/[#\/\?@]/g;w_.Uri.Ti=/[\#\?]/g;w_.Uri.Ui=/[\#\?@]/g;w_.Uri.Si=/#/g;
w_.Uri.haveSameDomain=function(a,b){var c=w_.uri.utils.split(a),d=w_.uri.utils.split(b);return c[w_.uri.utils.ComponentIndex.DOMAIN]==d[w_.uri.utils.ComponentIndex.DOMAIN]&&c[w_.uri.utils.ComponentIndex.PORT]==d[w_.uri.utils.ComponentIndex.PORT]};w_.Uri.QueryData=function(a,b,c){this.la=a||w_c;this.Xb=b||w_c;this.ca=!!c};
w_.Uri.QueryData.prototype.T=function(){if(!this.k){this.k=new w_.structs.Map;if(this.la)for(var a=this.la.split("&"),b=0;b<a.length;b++){var c=a[b].indexOf("="),d=w_c,e=w_c;if(c>=0){d=a[b].substring(0,c);e=a[b].substring(c+1)}else d=a[b];d=w_.string.urlDecode(d);d=this.oa(d);this.add(d,e?w_.string.urlDecode(e):"")}}};
w_.Uri.QueryData.createFromMap=function(a,b,c){var d=w_.structs.o(a);if(typeof d=="undefined")w_a(Error("Keys are undefined"));return w_.Uri.QueryData.createFromKeysValues(d,w_.structs.r(a),b,c)};w_.Uri.QueryData.createFromKeysValues=function(a,b,c,d){if(a.length!=b.length)w_a(Error("Mismatched lengths for keys/values"));for(var e=new w_.Uri.QueryData(w_c,c,d),f=0;f<a.length;f++)e.add(a[f],b[f]);return e};w_.Uri.QueryData.prototype.k=w_c;w_.Uri.QueryData.prototype.h=w_c;w_.Uri.QueryData.Fa=w_c;
w_.Uri.QueryData.prototype.V=function(){this.T();return this.h};w_.Uri.QueryData.prototype.add=function(a,b){this.T();this.Na();a=this.oa(a);if(this.z(a)){var c=this.k.get(a);w_.isArray(c)?c.push(b):this.k.set(a,[c,b])}else this.k.set(a,b);this.h++;return this};w_.Uri.QueryData.prototype.remove=function(a){this.T();a=this.oa(a);if(this.k.z(a)){this.Na();var b=this.k.get(a);if(w_.isArray(b))this.h-=b.length;else this.h--;return this.k.remove(a)}return w_d};
w_.Uri.QueryData.prototype.clear=function(){this.Na();this.k&&this.k.clear();this.h=0};w_.Uri.QueryData.prototype.C=function(){this.T();return this.h==0};w_.Uri.QueryData.prototype.z=function(a){this.T();a=this.oa(a);return this.k.z(a)};w_.Uri.QueryData.prototype.ja=function(a){var b=this.r();return w_.array.contains(b,a)};
w_.Uri.QueryData.prototype.o=function(){this.T();for(var a=this.k.r(),b=this.k.o(),c=[],d=0;d<b.length;d++){var e=a[d];if(w_.isArray(e))for(var f=0;f<e.length;f++)c.push(b[d]);else c.push(b[d])}return c};w_.Uri.QueryData.prototype.r=function(a){this.T();var b;if(a){var c=this.oa(a);if(this.z(c)){var d=this.k.get(c);if(w_.isArray(d))return d;else{b=[];b.push(d)}}else b=[]}else{var e=this.k.r();b=[];for(var f=0;f<e.length;f++){var g=e[f];w_.isArray(g)?w_.array.extend(b,g):b.push(g)}}return b};
w_.Uri.QueryData.prototype.set=function(a,b){this.T();this.Na();a=this.oa(a);if(this.z(a)){var c=this.k.get(a);if(w_.isArray(c))this.h-=c.length;else this.h--}this.k.set(a,b);this.h++;return this};w_.Uri.QueryData.prototype.get=function(a,b){this.T();a=this.oa(a);if(this.z(a)){var c=this.k.get(a);return w_.isArray(c)?c[0]:c}else return b};
w_.Uri.QueryData.prototype.Ih=function(a,b){this.T();this.Na();a=this.oa(a);if(this.z(a)){var c=this.k.get(a);if(w_.isArray(c))this.h-=c.length;else this.h--}if(b.length>0){this.k.set(a,b);this.h+=b.length}};
w_.Uri.QueryData.prototype.toString=function(){if(this.la)return this.la;if(!this.k)return"";for(var a=[],b=0,c=this.k.o(),d=0;d<c.length;d++){var e=c[d],f=w_.string.urlEncode(e),g=this.k.get(e);if(w_.isArray(g))for(var h=0;h<g.length;h++){b>0&&a.push("&");a.push(f,"=",w_.string.urlEncode(g[h]));b++}else{b>0&&a.push("&");a.push(f,"=",w_.string.urlEncode(g));b++}}return this.la=a.join("")};w_.Uri.QueryData.prototype.Nh=function(){if(!this.Fa)this.Fa=w_.Uri.Xa(this.toString());return this.Fa};
w_.Uri.QueryData.prototype.Na=function(){delete this.Fa;delete this.la;this.Xb&&delete this.Xb.$};w_.Uri.QueryData.prototype.clone=function(){var a=new w_.Uri.QueryData;if(this.Fa)a.Fa=this.Fa;if(this.la)a.la=this.la;if(this.k)a.k=this.k.clone();return a};w_.Uri.QueryData.prototype.oa=function(a){var b=String(a);if(this.ca)b=b.toLowerCase();return b};
w_.Uri.QueryData.prototype.ya=function(a){var b=a&&!this.ca;if(b){this.T();this.Na();w_.structs.forEach(this.k,function(c,d){var e=d.toLowerCase();if(d!=e){this.remove(d);this.add(e,c)}},this)}this.ca=a};w_.Uri.QueryData.prototype.extend=function(){for(var a=0;a<arguments.length;a++){var b=arguments[a];w_.structs.forEach(b,function(c,d){this.add(d,c)},this)}};w_.net={};w_.net.Jsonp=function(a,b){this.Xb=new w_.Uri(a);this.di=b?b:"callback";this.Wc=5000};w_.net.Jsonp.CALLBACKS="_callbacks_";w_.net.Jsonp.Xi=0;w_.net.Jsonp.prototype.Tc=function(a){this.Wc=a};
w_.net.Jsonp.prototype.send=function(a,b,c,d){if(!document.documentElement.firstChild){c&&c(a);return w_c}var e=d||"_"+(w_.net.Jsonp.Xi++).toString(36)+w_.now().toString(36);w_.global[w_.net.Jsonp.CALLBACKS]||(w_.global[w_.net.Jsonp.CALLBACKS]={});var f=w_.dom.createElement("script"),g=w_c;if(this.Wc>0){var h=w_.net.Jsonp.Ki(e,f,a,c);g=w_.global.setTimeout(h,this.Wc)}var i=this.Xb.clone();w_.net.Jsonp.ai(a,i);if(b){var j=w_.net.Jsonp.Li(e,f,b,g);w_.global[w_.net.Jsonp.CALLBACKS][e]=j;i.Rc(this.di,
w_.net.Jsonp.CALLBACKS+"."+e)}w_.dom.Ub(f,{type:"text/javascript",id:e,charset:"UTF-8",src:i.toString()});w_.dom.appendChild(document.getElementsByTagName("head")[0],f);return{sj:e,Wc:g}};w_.net.Jsonp.Ki=function(a,b,c,d){return function(){w_.net.Jsonp.Yf(a,b,w_d);d&&d(c)}};w_.net.Jsonp.Li=function(a,b,c,d){return function(){w_.global.clearTimeout(d);w_.net.Jsonp.Yf(a,b,w_b);c.apply(undefined,arguments)}};
w_.net.Jsonp.Yf=function(a,b,c){w_.global.setTimeout(function(){w_.dom.removeNode(b)},0);if(w_.global[w_.net.Jsonp.CALLBACKS][a])if(c)delete w_.global[w_.net.Jsonp.CALLBACKS][a];else w_.global[w_.net.Jsonp.CALLBACKS][a]=w_.nullFunction};w_.net.Jsonp.ai=function(a,b){for(var c in a)if(!a.hasOwnProperty||a.hasOwnProperty(c))b.Rc(c,a[c]);return b};w_G.widget={};w_G.widget.bloglist={};w_G.widget.bloglist.FeedParser=function(a){this.Pg(w_.dom.xml.loadXml(a))};w_G.widget.bloglist.FeedParser.prototype.eb=function(){return this.Sf};w_G.widget.bloglist.FeedParser.prototype.Hg=function(){if(!this.mb)return w_c;return{link:this.Za.zc(this.mb),title:this.Za.Mg(this.mb),thumbnail:this.Za.Lg(this.mb),snippet:this.Za.Ec(this.mb),date:this.Za.getDate(this.mb)}};
w_G.widget.bloglist.FeedParser.prototype.Pg=function(a){for(var b=0;b<w_G.widget.bloglist.FeedParser.HINTS.length;b++){var c=w_G.widget.bloglist.FeedParser.HINTS[b],d=w_I(a,c.namespace,c.itemElem);if(d[0]){this.mb=d[0];this.Za=new c.extractor;this.Sf=this.Za.eb(a);return}}this.Sf=(new w_G.widget.bloglist.Extractor).eb(a)};w_G.widget.bloglist.Extractor=function(){};w_G.widget.bloglist.Extractor.MAX_SNIPPET_LENGTH=160;w_G.widget.bloglist.Extractor.MAX_THUMBNAIL_SIZE=75;
w_G.widget.bloglist.Extractor.MEDIA_RSS_NS="http://search.yahoo.com/mrss/";w_G.widget.bloglist.Extractor.prototype.eb=function(a){var b=a.getElementsByTagName("link"),c=this.Td(b);if(!c){b=w_I(a,"","link");c=b[0].firstChild.nodeValue}var d=w_.Uri.parse(c);d.Cc().clear();d.pb("");return d.toString()};w_G.widget.bloglist.Extractor.prototype.Mg=function(a){return a.getElementsByTagName("title")[0].firstChild.nodeValue};
w_G.widget.bloglist.Extractor.prototype.Lg=function(a){var b=w_I(a,w_G.widget.bloglist.Extractor.MEDIA_RSS_NS,"thumbnail");if(b[0]){var c={url:b[0].getAttribute("url"),width:parseInt(b[0].getAttribute("width"),10),height:parseInt(b[0].getAttribute("height"),10)},d=w_G.widget.bloglist.Extractor.MAX_THUMBNAIL_SIZE,e=Math.max(c.width/d,c.height/d);if(e>1){c.width=Math.round(c.width/e);c.height=Math.round(c.height/e)}return c}return w_c};
w_G.widget.bloglist.Extractor.prototype.normalize=function(a){if(a){a=w_.string.normalizeWhitespace(this.Lh(a.firstChild.nodeValue));a=w_.string.trim(a);a=w_.string.normalizeSpaces(a);if(a.length>w_G.widget.bloglist.Extractor.MAX_SNIPPET_LENGTH)a=a.substring(0,w_G.widget.bloglist.Extractor.MAX_SNIPPET_LENGTH)+"...";return a}return""};w_G.widget.bloglist.Extractor.prototype.Lh=function(a){return a.replace(/<\/?\w[^>]*>/g,"")};
w_G.widget.bloglist.Extractor.prototype.Td=function(a){for(var b=0;a[b];b++)if(a[b].getAttribute("rel")=="alternate")return a[b].getAttribute("href");return w_c};w_G.widget.bloglist.RSSExtractor=function(){};w_.inherits(w_G.widget.bloglist.RSSExtractor,w_G.widget.bloglist.Extractor);w_G.widget.bloglist.RSSExtractor.prototype.zc=function(a){var b=a.getElementsByTagName("link");return b[0]?w_.string.trim(b[0].firstChild.nodeValue):w_c};w_G.widget.bloglist.RSSExtractor.prototype.Ec=function(a){return this.normalize(a.getElementsByTagName("description")[0])};
w_G.widget.bloglist.RSSExtractor.prototype.getDate=function(a){var b=a.getElementsByTagName("pubDate");return b[0]?new Date(b[0].firstChild.nodeValue):w_c};w_G.widget.bloglist.AtomExtractor=function(){};w_.inherits(w_G.widget.bloglist.AtomExtractor,w_G.widget.bloglist.Extractor);w_G.widget.bloglist.AtomExtractor.prototype.zc=function(a){var b=a.getElementsByTagName("link"),c=this.Td(b);if(c)return c;return b[0]?b[0].getAttribute("href"):w_c};
w_G.widget.bloglist.AtomExtractor.prototype.Ec=function(a){return this.normalize(a.getElementsByTagName("content")[0]||a.getElementsByTagName("summary")[0])};w_G.widget.bloglist.AtomExtractor.prototype.getDate=function(a){var b=a.getElementsByTagName("updated")[0]||a.getElementsByTagName("date")[0];if(b){var c=w_.date.fromIsoString(b.firstChild.nodeValue);return new Date(c.jb(),c.getMonth(),c.getDay(),c.getHours(),c.getMinutes(),c.getSeconds(),c.getMilliseconds())}return w_c};
w_G.widget.bloglist.FeedParser.HINTS=[{itemElem:"entry",namespace:"http://www.w3.org/2005/Atom",extractor:w_G.widget.bloglist.AtomExtractor,hint:"atom"},{itemElem:"entry",namespace:"http://purl.org/atom/ns#",extractor:w_G.widget.bloglist.AtomExtractor,hint:"atom"},{itemElem:"entry",namespace:"",extractor:w_G.widget.bloglist.AtomExtractor,hint:"atom"},{itemElem:"item",namespace:"http://purl.org/rss/1.0/",extractor:w_G.widget.bloglist.RSSExtractor,hint:"rss"},{itemElem:"item",namespace:"http://my.netscape.com/rdf/simple/0.9/",
extractor:w_G.widget.bloglist.RSSExtractor,hint:"rss"},{itemElem:"item",namespace:"",extractor:w_G.widget.bloglist.RSSExtractor,hint:"rss"}];function w_I(a,b,c){var d;if(b==w_c)b="";if(a.getElementsByTagNameNS)d=a.getElementsByTagNameNS(b,c);else{var e=a.getElementsByTagName("*");d=[];for(var f=0;f<e.length;f++){var g=e[f].tagName;g=g.substring(g.lastIndexOf(":")+1);g==c&&e[f].namespaceURI==b&&d.push(e[f])}}return d};function w_J(a){this.a=a;this.g=a.w()}w_J.Id={BLOGS:"blogs",CONTAINER:"container",ITEM_CONTENT:"item-content",SHOW_ALL:"show-all",SHOW_N:"show-n"};w_J.Action={CONFIGURE:"configure"};w_J.Fields={AJAX_VERSION:"ajaxVersion",NUM_ITEMS_TO_SHOW:"numItemsToShow",TOTAL_ITEMS:"totalItems"};w_J.FEED_FETCH_URL="http://ajax.googleapis.com/ajax/services/feed/load";w_J.WIDGET_TYPE_NAME="BlogList";w_J.prototype.Xc=w_c;w_J.prototype.Ob=w_c;w_J.prototype.e=function(){return w_J.WIDGET_TYPE_NAME};w_J.prototype.b=function(){return this.a};
w_J.prototype.i=function(){return w_d};w_J.prototype.c=function(a,b){a==w_J.Action.CONFIGURE&&this.a.m(b)};
w_J.prototype.l=function(){var a=this.a.n();this.Xc=a[w_J.Fields.TOTAL_ITEMS];this.Ob=a[w_J.Fields.NUM_ITEMS_TO_SHOW];if(a[w_J.Fields.AJAX_VERSION])for(var b=0;b<a.items.length;b++){var c=this.a.L(w_J.Id.CONTAINER),d=w_.dom.na("div",w_J.Id.ITEM_CONTENT,c),e=a.items[b].feedUrl,f=new w_.net.Jsonp(w_J.FEED_FETCH_URL);f.Tc(-1);f.send({q:e,num:1,output:"json_xml",v:"1.0"},w_w(this.Ch,this,d[b]))}if(this.Ob!=0&&this.Xc>this.Ob){var g=this.a.L(w_J.Id.SHOW_ALL);g.onclick=this.He.bind(this);var h=this.a.L(w_J.Id.SHOW_N);
h.onclick=this.He.bind(this)}var i=this.tg.bind(this),j=window;if(j.addEventListener)j.addEventListener("load",i,w_d);else if(j.attachEvent)j.attachEvent("onload",i);else j.onload=i};
w_J.prototype.Ch=function(a,b){if(!b.error){var c=this.a.n(),d=new w_G.widget.bloglist.FeedParser(b.responseData.xmlString),e=d.Hg();if(e){var f=a.parentNode.parentNode.getElementsByTagName("input")[0];f.value=d.eb()+"/favicon.ico";c.showItemThumbnail&&e.thumbnail&&a.appendChild(w_.dom.j("div",{"class":"item-thumbnail"},w_.dom.j("a",{target:"_blank",href:e.link},w_.dom.j("img",{src:e.thumbnail.url,height:e.thumbnail.height,width:e.thumbnail.width,alt:"",border:0}))));if(c.showItemTitle)e.link?a.appendChild(w_.dom.j("span",
{"class":"item-title"},w_.dom.j("a",{href:e.link,target:"_blank"},e.title))):a.appendChild(w_.dom.j("span",{"class":"item-title"},e.title));if(c.showItemSnippet){c.showItemTitle&&a.appendChild(w_.dom.createTextNode(" - "));a.appendChild(w_.dom.j("span",{"class":"item-snippet"},e.snippet));c.showTimePeriodSinceLastUpdate&&e.date&&a.appendChild(w_Ma(e.date.toLocaleDateString()))}}}};
w_J.prototype.He=function(){for(var a=this.a.L(w_J.Id.BLOGS),b=a.getElementsByTagName("li"),c=this.Ob;c<this.Xc;c++){var d=b[c];w_pa(d,d.style.display=="none")}var e=this.a.L(w_J.Id.SHOW_ALL);w_qa(e,e.style.display=="none");var f=this.a.L(w_J.Id.SHOW_N);w_qa(f,f.style.display=="none")};w_J.prototype.tg=function(){for(var a=this.a.L(w_J.Id.BLOGS),b=a.getElementsByTagName("input"),c=0;c<b.length;c++){var d=b[c],e=document.createElement("img");e.onload=this.Jf.bind(e,d);e.src=d.value}};
w_J.prototype.Jf=function(a){this.onload=function(){};this.alt="";this.width=this.height="16";var b=a.parentNode;b.replaceChild(this,a)};function w_Ma(a){return w_.dom.j("div",{"class":"item-time"},a)}var _BlogListView=w_J;_BlogListView._Configure=_BlogListView.Configure;function w_K(a){this.a=a}w_K.WIDGET_TYPE_NAME="CustomSearch";w_K.ANCHOR_NAME="uds-search-results";w_K.prototype.e=function(){return w_K.WIDGET_TYPE_NAME};w_K.prototype.b=function(){return this.a};w_K.prototype.i=function(){return w_d};w_K.prototype.c=function(a,b){a=="configure"&&this.a.m(b)};
w_K.prototype.l=function(){var a=this.b(),b=new w_A;google.load("search","1",{callback:w_Na.bind(a),language:b.n("blog.locale")});var c=document.getElementById("uds-searchControl");if(!c){c=document.createElement("DIV");c.id="uds-searchControl";var d=document.createElement("A");d.name=w_K.ANCHOR_NAME;c.appendChild(d);var e=document.createElement("DIV");e.id="uds-searchResults";c.appendChild(e);var f=document.createElement("DIV");f.id="uds-searchClearResults";f.className="gsc-clear-button";f.innerHTML=
"&nbsp;";c.appendChild(f);var g=document.getElementById("main");g||(g=document.getElementsByTagName("body")[0]);g.insertBefore(c,g.firstChild)}};
function w_Na(){var a=new GSearchControl,b=this.n();if(b.includeBlog){var c=new GblogSearch;c.setUserDefinedLabel(b.thisBlogMsg);c.setSiteRestriction(b.blogUrl);a.addSearcher(c)}if(b.includePostLinks){var d=new GwebSearch;d.setUserDefinedLabel(b.linkedFromHereMsg);d.setSiteRestriction({crefUrl:b.blogUrl+"cse.xml"});a.addSearcher(d)}for(var e=b.linkLists,f=0;f<e.length;f++){var g=new GwebSearch;g.setSiteRestriction({crefUrl:b.blogUrl+"cse.xml"},e[f].id.toLowerCase());g.setUserDefinedLabel(e[f].title);
a.addSearcher(g)}if(b.includeWeb){var h=new GwebSearch;h.setUserDefinedLabel(b.theWebMsg);a.addSearcher(h)}var i=new GSearchForm(w_d,this.L("form")),j=new GdrawOptions;j.setDrawMode(GSearchControl.DRAW_MODE_TABBED);j.setInput(i.input);a.setNoResultsString(GSearchControl.NO_RESULTS_DEFAULT_STRING);a.draw(document.getElementById("uds-searchResults"),j);i.input.onkeyup=i.input.onpaste=w_c;i.setOnSubmitCallback(w_c,w_w(w_Oa,w_c,i,a));document.getElementById("uds-searchClearResults").onclick=w_w(w_Pa,
w_c,a);w_L(w_d)}function w_Oa(a,b){var c=a.input.value;if(!c){w_Pa(b);return w_d}b.execute(c);w_L(w_b);var d=window.location.href,e=d.indexOf("#");if(e>=0)d=d.substring(0,e);window.location.href=d+"#"+w_K.ANCHOR_NAME;return w_b}function w_Pa(a){a.clearAllResults();w_L(w_d)}function w_L(a){document.getElementById("uds-searchClearResults").style.display=a?"block":"none"}var _CustomSearchView=w_K;_CustomSearchView._Configure=_CustomSearchView.Configure;function w_M(a){this.a=a;this.g=a.w()}w_M.WIDGET_TYPE_NAME="Image";w_M.prototype.b=function(){return this.a};w_M.prototype.e=function(){return w_M.WIDGET_TYPE_NAME};w_M.prototype.i=function(){return w_d};
w_M.prototype.l=function(){if(!(this.g.data.resize!="true")){var a=this.a.Z(this.g.instanceId+"_img"),b=this.g.rootElement;if(a&&b){var c;if(document.defaultView)c=parseInt(document.defaultView.getComputedStyle(b,w_c).width,10);else if(b.currentStyle){a.style.display="none";c=b.offsetWidth;a.style.display=""}else return;if(a.width>c){a.height=Math.round(c/a.width*a.height);a.width=c}a.style.visibility="visible"}}};w_M.prototype.c=function(a,b){a=="configure"&&this.a.m(b)};var _ImageView=w_M;function w_N(a,b,c,d,e,f,g,h){this.K=a;this.Tf=b!="null"?b:w_c;this.hh=c;this.fh=d;this.gh=e;this.Fh=f;this.ih=g;this.Zi=h;this.La=this.qa=-1;this.Ma=w_c;this.X=document.getElementById(this.K+"_picImg");this.lc=document.getElementById(this.K+"_changeImageLink");this.Ic=document.getElementById(this.K+"_imageChoiceTable");this.$g=document.getElementById(this.K+"_imgSrcFromPCRadio");this.ah=document.getElementById(this.K+"_imgSrcFromWebRadio");this.p=document.getElementById(this.K+"_imgFileNameInput");
this.Mb=document.getElementById(this.K+"_imgUrlTextInput");this.Of=window.frames[this.K+"_asynchronousFileUploadIframe"];this.je=0;this.F=new Image;this.F.onload=this.hitch(this,this.rh);this.F.onerror=this.hitch(this,this.qh);this.ug=w_d;this.ab=this.G=this.pe=w_c;this.ye=w_d}w_N.prototype.ne=function(){return this.$g.checked};
w_N.prototype.rh=function(){this.je=0;w_C.ClearError(this.K+"_imgUrlTextError");w_C.ClearError(this.K+"_imgFileNameError");if(!this.ne()||this.qa==0){this.qa=this.F.width;this.La=this.F.height;this.Ma=this.F.src}var a=1,b=1;if(this.F.width>300)a=300/this.F.width;if(this.F.height>300)b=300/this.F.height;var c=Math.min(a,b);this.X.style.width=Math.round(this.F.width*c)+"px";this.X.style.height=Math.round(this.F.height*c)+"px";this.X.src=this.F.src;this.X.style.display="";this.Ic.style.display="none";
this.lc.style.display="";this.p.disabled=w_b;this.hh&&this.hh.call({},this.X.src,this.Ma,this.qa,this.La)};w_N.prototype.qb=function(a,b,c,d){if(a){w_C.SetError(this.K+"_imgFileNameError",b);w_C.ClearError(this.K+"_imgUrlTextError")}else{w_C.SetError(this.K+"_imgUrlTextError",b);w_C.ClearError(this.K+"_imgFileNameError")}this.X.style.display="none";this.Ic.style.display="";this.lc.style.display="none";this.p.disabled=w_d;this.fh&&this.fh.call({},c,d)};
w_N.prototype.qh=function(){if(this.je<2){this.je++;var a=this.F.src;this.F.src="";this.Oa(a)}else this.qb(this.ne(),WidgetMessages.SIV_INVALID_URL,this.X.src)};w_N.prototype.hitch=function(a,b){return function(){b.apply(a,arguments)}};w_N.prototype.Oa=function(a){this.De();this.F.src=a};
w_N.prototype.yd=function(a){var b=a||window.event;if(window.event){b.returnValue=w_d;b.cancelBubble=w_b}else{b.preventDefault();b.stopPropagation()}this.X.style.display="none";this.lc.style.display="none";this.Ic.style.display="";this.p.disabled=w_d;this.Mb.value="";this.ze();this.ye=w_b;this.gh&&this.gh.call({})};w_N.prototype.ke=function(){this.$g.checked="true";this.Mb.value="";this.De();this.nh();this.ug=w_b;try{this.G.submit()}catch(a){this.qb(w_b,WidgetMessages.SIV_INVALID_URL,this.G.value)}this.mh()};
w_N.prototype.Va=function(){var a=this.Of.document.result;a||this.qb(w_b,WidgetMessages.SIV_INVALID_URL,this.p.value);if(a.hasErrors)a.errors.length>0?this.qb(w_b,a.errors[0].message,this.p.value,a.zi):this.qb(w_b,WidgetMessages.SIV_INVALID_URL,this.p.value,a.zi);else{var b=Math.max(a.origWidth,a.origHeight),c=this.ce();if(this.qa!=0&&c!=-1&&b>c){var d=c/b;this.qa=Math.round(a.origWidth*d);this.La=Math.round(a.origHeight*d)}else{this.qa=a.origWidth;this.La=a.origHeight}this.Ma=a.mainSrc;this.Oa(a.thumbSrc)}};
w_N.prototype.le=function(a){var b=a||window.event;if(!(b.keyCode==9)){this.ah.checked="true";this.pe!=w_c&&window.clearTimeout(this.pe);var c=this.hitch(this,function(){if(this.ye||this.F.src!=this.Mb.value){this.ze();this.Oa(this.Mb.value)}this.ye=w_d});this.pe=window.setTimeout(c,1000)}};w_N.prototype.re=function(a){this.ah.checked=w_b;this.Mb.value=a;this.Oa(a)};
w_N.prototype.De=function(){this.X.src="img/icon_inprogress.gif";this.X.style.width="200px";this.X.style.height="200px";this.X.style.display="";this.Ic.style.display="none";this.lc.style.display="none"};
w_N.prototype.nh=function(){if(!this.G){this.G=document.createElement("form");this.G.action="imageUpload.do";this.G.method="POST";this.G.target=this.Of.name;this.G.encoding="multipart/form-data";this.G.style.display="none";if(this.Tf){var a=document.createElement("input");a.type="hidden";a.name="blogID";a.value=this.Tf;this.G.appendChild(a)}var b=document.createElement("input");b.type="hidden";b.name="sectionWidth";b.id="sectionWidth";this.G.appendChild(b);var c=document.createElement("input");c.type=
"hidden";c.name="photoUploadSecurityToken";c.value=this.Zi;this.G.appendChild(c);document.body.appendChild(this.G)}var d=this.ce();if(d==-1)d=1600;document.getElementById("sectionWidth").value=d;this.ab={parent:this.p.parentNode,nextSibling:this.p.nextSibling};this.p.parentNode.removeChild(this.p);this.G.appendChild(this.p)};w_N.prototype.mh=function(){this.G.removeChild(this.p);this.ab&&this.ab.nextSibling?this.ab.parent.insertBefore(this.p,this.ab.nextSibling):this.ab.parent.appendChild(this.p)};
w_N.prototype.ze=function(){var a=document.createElement("input");a.type="file";a.name=this.p.name;a.id=this.p.id;a.onchange=this.p.onchange;var b=this.p.nextSibling;b==w_c?this.p.parentNode.appendChild(a):this.p.parentNode.insertBefore(a,b);this.p.parentNode.removeChild(this.p);this.p=a};w_N.prototype.ce=function(){return this.Fh==-1&&this.ih?this.ih():this.Fh};function w_O(){this.usiContainers=[]}var w_Qa=new w_O;
w_O.prototype.Bd=function(a,b,c,d,e,f,g,h){this.usiContainers[a]=new w_N(a,b,eval(c),eval(d),eval(e),f,eval(g),h);return this.usiContainers[a]};w_O.prototype.Hc=function(a){return this.usiContainers[a]};w_O.prototype.Va=function(a){var b=this.Hc(a);b&&b.ug&&b.Va()};var _UploadSimpleImage=w_Qa;w_O.prototype._createUsiContainer=w_O.prototype.Bd;w_O.prototype._getUsiContainer=w_O.prototype.Hc;w_O.prototype._channelResultArrived=w_O.prototype.Va;w_N.prototype._changeImage=w_N.prototype.yd;
w_N.prototype._imgUrlFileOnChange=w_N.prototype.ke;w_N.prototype._imgUrlTextOnKeyUp=w_N.prototype.le;w_N.prototype._loadInitialUrl=w_N.prototype.re;w_N.prototype._loadImageFromUrl=w_N.prototype.Oa;function _singleImageConfig_successfulUploadCallback(a,b,c,d){window.singleImageConfig_thumbImageUrl=a;window.singleImageConfig_imageUrl=b;window.singleImageConfig_imageWidth=c;window.singleImageConfig_imageHeight=d;var e=document.getElementById("shrinkToFitRow");if(e)e.style.visibility="hidden"}function _singleImageConfig_resetCallback(){window.singleImageConfig_imageUrl=w_c;var a=document.getElementById("shrinkToFitRow");if(a)a.style.visibility="visible"}
function _SIV_getScaledContainerWidth(){return document.getElementById("checkShrink").checked?_SIV_getContainerWidth():-1}function _SIV_getContainerWidth(){var a=document.getElementById("sectionId").value,b=150;if(w_B.IsOpenerReachable(window)&&window.opener.document.getElementById(a)&&window.opener.document.getElementById(a).clientWidth>0)b=window.opener.document.getElementById(a).clientWidth;return b}
function _SIV_setConfigurationOptions(){if(window.singleImageConfig_imageUrl==w_c)w_B.O(window,WidgetMessages.SIV_NO_IMAGE,w_B.STATUS_MESSAGE_BAD_CLASS);else{var a=document.forms.config.widgetId.value,b=_SIV_getContainerWidth(),c=document.getElementById("checkShrink").checked,d=window.singleImageConfig_imageWidth,e=window.singleImageConfig_imageHeight;if(c){var f=1;if(d>b){f=b/d;d=b;e=Math.round(e*f)}}var g={originalUrl:window.singleImageConfig_imageUrl,originalWidth:window.singleImageConfig_imageWidth,
originalHeight:window.singleImageConfig_imageHeight,displayUrl:window.singleImageConfig_thumbImageUrl,displayWidth:d,displayHeight:e,sectionWidth:b,shrinkToFit:c,title:document.getElementById("title").value,caption:document.getElementById("imageCaption").value,link:document.getElementById("link").value,securityToken:document.forms.config.securityToken.value};w_B.SaveWidget(g,a,w_M.WIDGET_TYPE_NAME)}};function w_P(a){this.a=a;this.g=a.w()}w_P.successfulUploadCallback=function(a,b,c,d){w_P.hj=a;w_P.Ma=b;w_P.qa=c;w_P.La=d;var e=document.getElementById("shrinkToFitRow");if(e)e.style.visibility="hidden";if(e=document.getElementById("shrinkToFitMessageRow"))e.style.visibility="hidden"};w_P.resetCallback=function(){w_P.Ma=w_c;var a=document.getElementById("shrinkToFitRow");if(a)a.style.visibility="visible";if(a=document.getElementById("shrinkToFitMessageRow"))a.style.visibility="visible"};
w_P.getScaledContainerWidth=function(){return document.getElementById("checkShrink").checked?w_P.getContainerWidth():-1};w_P.getContainerWidth=function(){var a=document.getElementById("sectionId").value,b=600;if(w_B.IsOpenerReachable(window)&&window.opener.document.getElementById(a))b=window.opener.document.getElementById(a).clientWidth;return b};w_P.WIDGET_TYPE_NAME="Header";w_P.prototype.e=function(){return w_P.WIDGET_TYPE_NAME};w_P.prototype.i=function(){return w_d};w_P.prototype.b=function(){return this.a};
w_P.prototype.c=function(a,b){this.a.m(b)};w_P.FilterMap={title:w_C.GetRequiredStringFilter(),description:w_c,imagePlacement:w_c,useImage:w_c,securityToken:w_c};
w_P.ConfigureWidget=function(){var a=document.forms.config.widgetId.value,b=document.forms.config.widgetType.value,c=w_C.ProcessForm(document.forms.config,w_P.FilterMap),d=w_P.getContainerWidth();if(c.success){if(w_P.Ma){var e=w_P.qa,f=w_P.La,g=document.getElementById("checkShrink").checked;if(g){var h=1;if(e>d){h=d/e;e=d;f=Math.round(f*h)}}c.values.originalUrl=w_P.Ma;c.values.originalWidth=w_P.qa;c.values.originalHeight=w_P.La;c.values.displayUrl=w_P.hj;c.values.displayWidth=e;c.values.displayHeight=
f;c.values.sectionWidth=d;c.values.shrinkToFit=g}c.values.securityToken=document.forms.config.securityToken.value;w_B.SaveWidget(c.values,a,b);return w_b}else return w_d};w_P.hideImageOptions=function(){document.getElementById("imageOptions").style.display="none";return w_d};w_P.showImageOptions=function(){document.getElementById("imageOptions").style.display="";return w_d};var _HeaderView=w_P;_HeaderView.prototype=w_P.prototype;_HeaderView._ConfigureWidget=_HeaderView.ConfigureWidget;
_HeaderView._hideImageOptions=_HeaderView.hideImageOptions;_HeaderView._showImageOptions=_HeaderView.showImageOptions;_HeaderView._successfulUploadCallback=_HeaderView.successfulUploadCallback;_HeaderView._resetCallback=_HeaderView.resetCallback;_HeaderView._getScaledContainerWidth=_HeaderView.getScaledContainerWidth;_HeaderView._getContainerWidth=_HeaderView.getContainerWidth;function w_Q(a,b){this.a=a;this.g=a.w();this.jj=b}w_Q.prototype.b=function(){return this.a};w_Q.prototype.e=function(){return this.jj};w_Q.prototype.c=function(a,b){a=="configure"&&this.a.m(b)};
w_Q.ConfigureWidget=function(a){setFormAndSubmit();var b=document.forms.stuffform.widgetId.value,c=document.forms.stuffform.securityToken.value,d=document.getElementById("textarea"),e=document.getElementById("title"),f=d.value;if(a=="Text")f=f.replace(/\n/g,"<br/>");var g={content:f,title:e.value,securityToken:c};w_B.SaveWidget(g,b,a)};function w_R(a){w_Q.call(this,a,"Text")}w_R.inherits(w_Q);w_R.ConfigureWidget=function(){w_Q.ConfigureWidget("Text")};function w_S(a){w_Q.call(this,a,"HTML")}w_S.inherits(w_Q);
w_S.ConfigureWidget=function(){w_Q.ConfigureWidget("HTML")};var _TextView=w_R;_TextView.prototype=w_R.prototype;_TextView._ConfigureWidget=_TextView.ConfigureWidget;var _HTMLView=w_S;_HTMLView.prototype=w_S.prototype;_HTMLView._ConfigureWidget=_HTMLView.ConfigureWidget;function w_T(a){this.a=a}w_T.WIDGET_TYPE_NAME="VideoBar";w_T.prototype.e=function(){return w_T.WIDGET_TYPE_NAME};w_T.prototype.b=function(){return this.a};w_T.prototype.i=function(){return w_d};w_T.prototype.c=function(a,b){a=="configure"&&this.a.m(b)};w_T.prototype.l=function(){var a=this.b();google.load("search","1",{callback:w_Ra.bind(a)});var b=a.L("bar");w_q(b,"videoBar-container")};
function w_Ra(){var a=this.L("bar"),b=this.n().format,c,d,e=this.n().expression;if(b=="VERTICAL"){c=w_d;d=GSvideoBar.THUMBNAILS_MEDIUM;a.style.width="110px"}else if(b=="HORIZONTAL-SMALL"){c=w_b;d=GSvideoBar.THUMBNAILS_SMALL;a.style.width="232px"}else if(b=="HORIZONTAL-MEDIUM"){c=w_b;d=GSvideoBar.THUMBNAILS_MEDIUM;a.style.width="432px"}var f={largeResultSet:w_d,horizontal:c,autoExecuteList:{cycleTime:GSvideoBar.CYCLE_TIME_LONG,cycleMode:GSvideoBar.CYCLE_MODE_RANDOM,executeList:e.split(/,/)},thumbnailSize:d};
new GSvideoBar(a,GSvideoBar.PLAYER_ROOT_FLOATING,f)}var _VideoBarView=w_T;_VideoBarView._Configure=_VideoBarView.Configure;function w_U(a){this.a=a}w_U.WIDGET_TYPE_NAME="NewsBar";w_U.prototype.e=function(){return w_U.WIDGET_TYPE_NAME};w_U.prototype.b=function(){return this.a};w_U.prototype.i=function(){return w_d};w_U.prototype.c=function(a,b){a=="configure"&&this.a.m(b)};w_U.prototype.l=function(){var a=this.b();google.load("search","1",{callback:w_Sa.bind(a)});window._uds_nbw_donotrepair=w_b};
function w_Sa(){var a=this.L("bar"),b,c=this.n().format;if(c=="VERTICAL")b=w_d;else if(c=="HORIZONTAL-SMALL")b=w_b;else if(c=="HORIZONTAL-MEDIUM")b=w_b;var d=this.n().expression,e=this.n().linkNewWindow,f;f=e==w_b?GSearch.LINK_TARGET_BLANK:GSearch.LINK_TARGET_SELF;var g={largeResultSet:w_d,horizontal:b,linkTarget:f,title:" ",autoExecuteList:{executeList:d.split(/,/)}};if(b){g.autoExecuteList.cycleTime=GSnewsBar.CYCLE_TIME_MEDIUM;g.autoExecuteList.cycleMode=GSnewsBar.CYCLE_MODE_RANDOM}var h=new GSnewsBar(a,
g);window[a.id]=h}var _NewsBarView=w_U;_NewsBarView._Configure=_NewsBarView.Configure;function w_V(a){this.a=a}w_V.WIDGET_TYPE_NAME="Slideshow";w_V.prototype.e=function(){return w_V.WIDGET_TYPE_NAME};w_V.prototype.b=function(){return this.a};w_V.prototype.i=function(){return w_d};w_V.prototype.c=function(a,b){a=="configure"&&this.a.m(b)};w_V.prototype.l=function(){var a=this.b();google.load("feeds","1",{callback:w_Ta.bind(a)})};
function w_Ta(){var a=this.L("slideshow"),b=this.n().computedFeed,c=this.n().linkNewWindow,d=c?google.feeds.LINK_TARGET_BLANK:google.feeds.LINK_TARGET_SELF,e={linkTarget:d,scaleImages:w_b,fullControlPanel:w_b,fullControlPanelSmallIcons:w_b,pauseOnHover:w_d,displayTime:this.n().speed};if(b.indexOf("http://api.flickr.com")==0)e.thumbnailUrlResolver=w_V.FlickrThumbResolver;if(this.n().randomizeFeed)e.feedLoadCallback=w_V.FeedRandomizer;new GFslideShow(b,a,e)}
w_V.FlickrThumbResolver=function(a){var b=google.feeds.getElementsByTagNameNS(a.xmlNode,"http://search.yahoo.com/mrss/","thumbnail"),c=w_c;if(b.length){var d=b[0];c=d.getAttribute("url");if(!c)c=d.firstChild.nodeValue;c=c.replace(/^(.*)_[st]\.([a-zA-Z]+)$/,"$1_m.$2")}return c};w_V.FeedRandomizer=function(a){for(var b=a.feed.entries,c=b.length-1;c>0;--c){var d=Math.floor(Math.random()*(c+1)),e=b[c];b[c]=b[d];b[d]=e}};var _SlideshowView=w_V;_SlideshowView._Configure=_SlideshowView.Configure;function w_W(a){this.a=a;this.g=a.w()}w_W.WIDGET_TYPE_NAME="Label";w_W.prototype.e=function(){return w_W.WIDGET_TYPE_NAME};w_W.prototype.b=function(){return this.a};w_W.prototype.c=function(a,b){this.a.m(b)};var _LabelView=w_W;function w_X(a){this.a=a;this.g=a.w()}w_X.WIDGET_TYPE_NAME="TextList";w_X.prototype.e=function(){return w_X.WIDGET_TYPE_NAME};w_X.prototype.b=function(){return this.a};w_X.prototype.i=function(){return w_d};w_X.prototype.c=function(a,b){a=="configure"&&this.a.m(b)};var _TextListView=w_X;function w_Y(a){this.a=a;this.g=a.w()}w_Y.WIDGET_TYPE_NAME="LinkList";w_Y.prototype.e=function(){return w_Y.WIDGET_TYPE_NAME};w_Y.prototype.i=function(){return w_d};w_Y.prototype.b=function(){return this.a};w_Y.prototype.c=function(a,b){a=="configure"&&this.a.m(b)};var _LinkListView=w_Y;_LinkListView.prototype=w_Y.prototype;function w_Z(a){this.a=a;this.g=a.w()}w_Z.prototype.e=function(){return"BloggerButton"};w_Z.prototype.b=function(){return this.a};w_Z.prototype.c=function(a,b){this.a.m(b)};var _BloggerButtonView=w_Z;var w__=function(a){this.a=a;this.g=a.w()};w__.prototype.e=function(){return"Poll"};w__.prototype.b=function(){return this.a};w__.prototype.c=function(a,b){if(a=="configure"){this.savePending=w_d;this.a.m(b)}};w__.prototype.Ba=function(a,b){if(a=="configure")this.savePending=w_d;w_B.Ba(b,window)};
w__.adjustFrameHeight=function(){for(var a=document.getElementsByTagName("iframe"),b,c=0;b=a[c];c++)if(b.name.indexOf("poll-widget")==0)try{if(window.frames[b.name]&&window.frames[b.name].frames[0]){var d=window.frames[b.name].frames[0].location.hash,e=Number(d.replace("#",""));if(e)b.style.height=e+(document.all?10:0)+"px"}}catch(f){}};window.setInterval(w__.adjustFrameHeight,500);var _PollView=w__;function w_0(a){this.a=a;this.g=a.w()}w_0.WIDGET_TYPE_NAME="Navbar";w_0.prototype.e=function(){return w_0.WIDGET_TYPE_NAME};w_0.prototype.b=function(){return this.a};w_0.prototype.i=function(){return w_d};w_0.prototype.c=function(a,b){this.a.m(b)};w_0.FilterMap={navbartype:w_c,securityToken:w_c};w_0.ConfigureWidget=function(){w_y.ConfigureWidget(w_0.FilterMap)};var _NavbarView=w_0;_NavbarView.prototype=w_0.prototype;_NavbarView._ConfigureWidget=_NavbarView.ConfigureWidget;function w_1(a){this.a=a;this.g=a.w()}w_1.WIDGET_TYPE_NAME="Profile";w_1.prototype.i=function(){return w_d};w_1.prototype.e=function(){return w_1.WIDGET_TYPE_NAME};w_1.prototype.b=function(){return this.a};w_1.prototype.c=function(a,b){a=="configure"&&this.a.m(b)};w_1.prototype.l=function(){this.g.rootElement.style.display=this.a.n().isDisplayable==w_d?"none":""};var _ProfileView=w_1;var w_2=function(a){this.a=a};w_2.prototype.b=function(){return this.a};w_2.prototype.e=function(){return"Feed"};w_2.prototype.c=function(a,b){this.a.m(b)};w_2.prototype.l=function(){if(this.$a=this.a.Z("feedItemListDisplay")){var a=this.b().n(),b=new w_3(a.feedUrl,this.$a,{numItemsShow:a.numItemsShow,showItemAuthor:a.showItemAuthor,showItemDate:a.showItemDate,linkTarget:"_self"});b.fc()}};
w_2.Wh={moduleTitle:w_c,feedUrl:w_C.GetRequiredStringFilter(),numItemsShow:w_C.GetNumberFilter(1,5),showItemDate:w_c,showItemAuthor:w_c,securityToken:w_c};w_2.setConfigurationOptions=function(){w_y.ConfigureWidget(w_2.Wh)};var w_3=function(a,b,c){this.Hd=a;this.$a=b;this.M=c};w_3.Zh=200;w_3.Vh="http://ajax.googleapis.com/ajax/services/feed/load";w_3.prototype.fc=function(){var a=new w_.net.Jsonp(w_3.Vh);a.Tc(-1);a.send({q:this.Hd,num:this.M.numItemsShow,output:"json",v:"1.0"},w_w(this.sf,this))};
w_3.prototype.sf=function(a){w_.dom.Pb(this.$a);if(a.responseStatus==w_3.Zh){var b=w_.dom.createElement("ul");this.$a.appendChild(b);for(var c=0;c<a.responseData.feed.entries.length;c++){var d=a.responseData.feed.entries[c],e=w_.dom.createElement("li");b.appendChild(e);var f=w_.dom.j("a",{href:d.link},d.title);f.target=this.M.linkTarget;e.appendChild(w_.dom.j("span",{"class":"item-title"},f));if(this.M.showItemDate){var g=w_.dom.j("span",{"class":"item-date"},"\u00a0-\u00a0"+(new Date(d.publishedDate)).toLocaleDateString());
e.appendChild(g)}if(this.M.showItemAuthor){var h=w_.dom.j("span",{"class":"item-author"},"\u00a0-\u00a0"+d.author);e.appendChild(h)}}this.xd&&this.xd(a.responseData.feed)}else{this.$a.appendChild(w_.dom.j("span",w_c,"Error loading feed."));this.pg&&this.pg()}};w_3.prototype.vf=function(a){this.xd=a};w_3.prototype.Re=function(){this.xd=this.pg=w_c};w_3.prototype.pd=function(a){this.Hd=a};w_3.prototype.nd=function(a){this.M=a};var _FeedView=w_2;_FeedView._setConfigurationOptions=w_2.setConfigurationOptions;var w_4=function(a,b,c){this.Ii=b;this.Oc=c;this.Ah=w_d;this.Fe=new w_D("status-message");this.M={linkTarget:"_blank"};this.xa=new w_3(this.Hd,a,this.M)};w_4.Uh="moduleTitle";w_4.pj="feedUrl";w_4.Ye="step1";w_4.Ze="step2";w_4.Yb="feedUrl";w_4.prototype.Ve=function(a,b){this.Fe.Zc();w_C.ClearError(w_4.Yb);if(a){var c=document.getElementById(w_4.Uh);c.value=b.title;this.ec(b.title)}this.gf()};w_4.prototype.zf=function(){this.Fe.Zc();w_C.SetError(w_4.Yb,this.Oc._invalidFeedUrl);this.ac()};
w_4.prototype.ac=function(){w_o(document.getElementById(w_4.Ye),w_b);w_o(document.getElementById(w_4.Ze),w_d)};w_4.prototype.gf=function(){w_o(document.getElementById(w_4.Ye),w_d);w_o(document.getElementById(w_4.Ze),w_b)};w_4.prototype.ec=function(a){this.Ii.innerHTML=a};w_4.prototype.rd=function(a){this.M.showItemAuthor=a;this.gc()};w_4.prototype.sd=function(a){this.M.showItemDate=a;this.gc()};w_4.prototype.qd=function(a){this.M.numItemsShow=a;this.gc()};
w_4.prototype.gc=function(){this.xa.nd(this.M);this.xa.Re();this.xa.fc()};w_4.prototype.ld=function(a,b,c,d){if(!a||a=="")w_C.SetError(w_4.Yb,this.Oc._missingFeedUrl);else if(a.length>2083)w_C.SetError(w_4.Yb,this.Oc._feedUrlTooLong);else{this.Fe.O(this.Oc._retrievingFeed);this.xf(a,b,c);this.Ah=d;this.Te(a,w_w(this.Oe,this))}};w_4.prototype.Te=function(a,b){if(a.indexOf("http://")!=0)a="http://"+a;var c=new w_.net.Jsonp("http://www.google.com/uds/GlookupFeed");c.Tc(-1);c.send({q:a,v:"1.0"},b)};
w_4.prototype.Oe=function(a){if(a.responseStatus==200){document.getElementById("feedUrl").value=a.responseData.url;this.xa.pd(a.responseData.url);this.xa.vf(w_w(this.Ve,this,this.Ah));this.xa.fc()}else this.zf()};w_4.prototype.xf=function(a,b){this.M=b;this.xa.pd(a);this.xa.nd(this.M)};w_4.prototype._GoToStep1=w_4.prototype.ac;w_4.prototype._RetrieveFeedAndGoToStep2=w_4.prototype.ld;w_4.prototype._RefreshModuleTitle=w_4.prototype.ec;w_4.prototype._SetShowItemAuthor=w_4.prototype.rd;
w_4.prototype._SetShowItemDate=w_4.prototype.sd;w_4.prototype._SetNumItemsShow=w_4.prototype.qd;var _FeedConfig=w_4;function w_5(a){this.a=a;this.g=a.w()}w_5.WIDGET_TYPE_NAME="Followers";w_5.prototype.i=function(){return w_d};w_5.prototype.e=function(){return w_5.WIDGET_TYPE_NAME};w_5.prototype.b=function(){return this.a};w_5.prototype.c=function(a,b){a=="configure"&&this.a.m(b)};w_5._openPopup=function(a){a=a.indexOf("?")>0?a+"&":a+"?";a=a+"loginTemplateDirectory=FOLLOWING";window.open(a,"_blank","height=600, width=640, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, directories=no, status=no")};
w_5.prototype.Da=function(){return w_b};var _FollowersView=w_5;function w_6(a){this.a=a;this.g=a.w()}w_6.prototype.e=function(){return"Gadget"};w_6.prototype.b=function(){return this.a};w_6.prototype.c=function(a,b){this.a.m(b)};w_6.prototype.tf=function(a){var b=document.getElementById(this.f);if(b)b.style.height=a+"px"};w_6.prototype.jd=function(){gadgets.rpc.register("resize_iframe",this.tf);gadgets.rpc.register("set_pref",function(){})};
w_6.prototype.l=function(){if(!w_6.InitializedRpc&&!window.gadgets){var a=document.createElement("script");a.src="http://blogger.gmodules.com/gadgets/js/rpc.js?c=1&container=blogger";a.type="text/javascript";var b=this;a.onload=function(){b.jd()};a.onreadystatechange=function(){if(this.readyState=="loaded"||this.readyState=="complete")b.jd()};document.getElementsByTagName("body")[0].appendChild(a);w_6.InitializedRpc=function(){}}};w_6.prototype.Da=function(){return w_b};var _GadgetView=w_6;function _SW_toggleReaderList(a,b){var c=document.getElementById("SW_READER_LIST_"+b),d=document.getElementById("SW_READER_LIST_CLOSED_"+b);if(!a)a=window.event;a.cancelBubble=w_b;a.stopPropagation&&a.stopPropagation();var e=document.onclick;if(window.oldSubscribePopup&&window.oldSubscribePopup!=c){window.oldSubscribePopup.style.display="none";window.oldSubscribePopupUnder.style.visibility="visible"}if(c.style.display=="none"){c.style.display="";window.oldSubscribePopup=c;window.oldSubscribePopupUnder=
d;d.style.visibility="hidden";document.onclick=function(){c.style.display="none";d.style.visibility="visible";if(e)document.onclick=e}}else{c.style.display="none";d.style.visibility="visible";if(e)document.onclick=e}return w_d}function _SW_hideReaderList(a){var b=document.getElementById("SW_READER_LIST_"+a),c=document.getElementById("SW_READER_LIST_UNDER"+a);b.style.display="none";c.style.visibility="visible"}function w_7(a){this.a=a;this.g=a.w()}w_7.WIDGET_TYPE_NAME="Subscribe";w_7.prototype.i=function(){return w_d};
w_7.prototype.e=function(){return w_7.WIDGET_TYPE_NAME};w_7.prototype.b=function(){return this.a};w_7.prototype.c=function(a,b){a=="configure"&&this.a.m(b)};var _SubscribeView=w_7;function w_8(){}w_8.Xh={title:w_c,adLocation:w_c,publisherId:w_c,securityToken:w_c};w_8.Configure=function(){w_y.ConfigureWidget(w_8.Xh)};w_8.toggleAdLocation=function(a){var b=document.getElementById("publisher-id-note");b.style.display=a.value!="ReSearchAdLocation.NONE"?"block":"none"};var _ReSearchConfig=w_8;_ReSearchConfig._Configure=_ReSearchConfig.Configure;_ReSearchConfig._toggleAdLocation=_ReSearchConfig.toggleAdLocation;w_G.research={};w_G.research.SearchEngineInfo=function(a,b,c){this.Ji=a;this.ka=b;this.Ri=c};w_G.research.SearchEngineInfo.prototype.Hb=function(){return this.Ji};w_G.research.SearchEngineInfo.prototype.ma=function(){return this.ka};w_G.research.SearchEngineInfo.prototype.Kg=function(){return this.Ri};w_G.research.ParsedReferrer=function(a){this.zh=new w_.Uri(a);this.Qb=w_c;this.vh="";this.kb()};w_G.research.ParsedReferrer.SearchEngineInfos=[new w_G.research.SearchEngineInfo("AOL","search.aol.com","query"),new w_G.research.SearchEngineInfo("Ask","www.ask.com","q"),new w_G.research.SearchEngineInfo("Bing","www.bing.com","q"),new w_G.research.SearchEngineInfo("Google","www.google.com","q"),new w_G.research.SearchEngineInfo("Yahoo","search.yahoo.com","p")];
w_G.research.ParsedReferrer.prototype.sh=function(){var a=this.Qb.Kg(),b=this.zh.Jg(a);return this.wg(b?b:"")};w_G.research.ParsedReferrer.prototype.wg=function(a){return a.replace("+"," ")};w_G.research.ParsedReferrer.prototype.kb=function(){for(var a=w_G.research.ParsedReferrer.SearchEngineInfos.length,b=0;b<a;b++){var c=w_G.research.ParsedReferrer.SearchEngineInfos[b];if(this.zh.ma().indexOf(c.ma())!=-1){this.Qb=c;this.vh=this.sh();break}}};
w_G.research.ParsedReferrer.prototype.dh=function(){return this.Qb!=w_c};w_G.research.ParsedReferrer.prototype.Hb=function(){return this.Qb!=w_c?this.Qb.Hb():""};w_G.research.ParsedReferrer.prototype.Jb=function(){return this.vh};w_G.research.ReSearch=function(a,b,c,d,e,f,g,h){this.hc=a;this.ci=b;this.Hf=c;this.$h=d;this.Pc=new w_G.research.ParsedReferrer(e);this.Oi=f;this.wa=w_.dom.Yc(g);this.Eh=h};w_G.research.ReSearch.MAX_RESULTS=3;w_G.research.ReSearch.AdLocation={NONE:"NONE",LEFT:"LEFT",RIGHT:"RIGHT"};w_G.research.ReSearch.prototype.vg=function(a){a=a.replace("&amp;"," & ");return a=a.replace("&#39;","'")};
w_G.research.ReSearch.prototype.Kh=function(){for(var a=w_.dom.Y(w_.dom.TagName.UL,"re-search-posts",this.wa)[0],b=w_.dom.Y(w_.dom.TagName.LI,w_c,a),c=0;c<b.length;c++){var d=b[c];d.style.display="list-item"}w_.dom.Y(w_.dom.TagName.A,"show-more-link",this.wa)[0];var e=w_.dom.Y(w_.dom.TagName.DIV,"re-search-ad",this.wa)[0];if(e){var f=w_.dom.Y(w_.dom.TagName.DIV,"re-search-results",this.wa)[0],g=f.offsetHeight+5+"px",h=w_.dom.Y(w_.dom.TagName.DIV,"re-search",this.wa)[0];h.style.height=g;e.style.height=
g}};
w_G.research.ReSearch.prototype.mg=function(){var a=this.hc.results;if(a&&a.length>0){var b=w_c;if(this.Hf!=w_G.research.ReSearch.AdLocation.NONE){var c=w_.dom.j(w_.dom.TagName.IFRAME,{src:this.$h,width:"125",height:"125",scrolling:"no",frameborder:"0",marginheight:"0",marginwidth:"0"}),d,e="float: none;";switch(this.Hf){case w_G.research.ReSearch.AdLocation.LEFT:d="float: left;";e="float: right;";if(this.Eh=="main")e=e+"padding-left: 15px;";break;case w_G.research.ReSearch.AdLocation.RIGHT:d="float: right;";
e="float: left;";break;default:w_a(Error("Unsupported ad location."))}b=w_.dom.j(w_.dom.TagName.DIV,{"class":"re-search-ad",style:d},c)}var f="You searched "+(this.Pc.Hb()+(' for <span>"'+(this.Pc.Jb()+'"</span>. Here are some other posts that might be relevant:'))),g=w_.dom.j(w_.dom.TagName.DIV,{"class":"re-search-message"});g.innerHTML=f;for(var h=w_d,i=w_.dom.j(w_.dom.TagName.UL,{"class":"re-search-posts"}),j=0,k=0;j<a.length;j++){var l=a[j],m=this.vg(String(l.titleNoFormatting));if(!(m.indexOf(this.Oi)!=
-1)){var n=l.postUrl,o=w_.dom.j(w_.dom.TagName.A,{href:n,target:"_blank"},m),r=w_.dom.j(w_.dom.TagName.LI,{"class":"re-search-post-item"},o);if(k>=w_G.research.ReSearch.MAX_RESULTS){r.style.display="none";h=w_b}else k++;w_.dom.appendChild(i,r)}}var p=w_.dom.j(w_.dom.TagName.DIV,{"class":"re-search-results",style:e},g,i);if(h){var q=w_.dom.j(w_.dom.TagName.A,{"class":"show-more-link",href:"javascript:void(0)",onclick:this.Kh},"Show more results..");w_.dom.appendChild(p,q)}var s=w_.dom.Y(w_.dom.TagName.DIV,
"re-search",this.wa)[0];w_.dom.appendChild(s,p);b!=w_c&&w_.dom.Kc(b,s.firstChild);var t=w_.dom.Y(w_.dom.TagName.DIV,"re-search-container",this.wa)[0];t.style.display="block";if(b!=w_c&&this.Eh=="main"){p=w_.dom.Y(w_.dom.TagName.DIV,"re-search-results",this.wa)[0];var u=p.offsetWidth,v=u-140+"px";p.style.width=v}}};w_G.research.ReSearch.prototype.Dh=function(){this.hc.setSiteRestriction(this.ci);this.hc.setSearchCompleteCallback(this,this.mg,w_c);this.hc.execute(this.Pc.Jb())};
w_G.research.ReSearch.prototype.run=function(){this.Pc.dh()&&this.Dh()};function w_9(a){this.a=a}w_9.WIDGET_TYPE_NAME="ReSearch";w_9.prototype.e=function(){return w_9.WIDGET_TYPE_NAME};w_9.prototype.b=function(){return this.a};w_9.prototype.i=function(){return w_d};w_9.prototype.c=function(a,b){a=="configure"&&this.a.m(b)};function w_Ua(){var a=this.n(),b=new google.search.BlogSearch,c=a.blogHomepageUrl,d=a.adLocation,e=a.adCodeUri,f=document.referrer,g=a.postTitleFilter,h=this.w().instanceId,i=this.w().sectionId,j=new w_G.research.ReSearch(b,c,d,e,f,g,h,i);j.run()}
w_9.prototype.l=function(){var a=this.b();google.load("search","1");google.setOnLoadCallback(w_Ua.bind(a))};var _ReSearchView=w_9;_ReSearchView._Configure=_ReSearchView.Configure;function w_$(a){this.a=a;this.g=a.w()}w_$.WIDGET_TYPE_NAME="ThumbnailArchive";w_$.TABLE_NAME="thumbnailarchive-container";w_$.prototype.e=function(){return w_$.WIDGET_TYPE_NAME};w_$.prototype.b=function(){return this.a};w_$.prototype.i=function(){return w_d};w_$.prototype.c=function(a,b){a=="configure"&&this.a.m(b)};var _ThumbnailArchiveView=w_$;_ThumbnailArchiveView._Configure=_ThumbnailArchiveView.Configure;if(window.jstiming){window.jstiming.Qf={};window.jstiming.Vi=1;function w_Va(a,b,c){var d=a.t[b];if(!d)return undefined;d=a.t[b][0];if(c!=undefined)var e=c;else e=a.t.start[0];return d-e}window.jstiming.report=function(a,b,c){var d="";if(window.jstiming.pt){d+="&srt="+window.jstiming.pt;delete window.jstiming.pt}try{if(window.external&&window.external.tran)d+="&tran="+window.external.tran}catch(e){}if(a.ki)d+="&"+a.ki;var f=a.t,g=f.start,h=[],i=[];for(var j in f)if(!(j=="start"))if(!(j.indexOf("_")==
0)){var k=f[j][1];if(k)f[k]&&i.push(j+"."+w_Va(a,j,f[k][0]));else g&&h.push(j+"."+w_Va(a,j))}delete f.start;if(b)for(var l in b)d+="&"+l+"="+b[l];var m=[c?c:"http://csi.gstatic.com/csi","?v=3","&s="+(window.jstiming.sn?window.jstiming.sn:"blogger")+"&action=",a.name,i.length?"&it="+i.join(",")+d:d,"&rt=",h.join(",")].join(""),n=new Image,o=window.jstiming.Vi++;window.jstiming.Qf[o]=n;n.onload=n.onerror=function(){delete window.jstiming.Qf[o]};n.src=m;n=w_c;return m}};w_.events.EventTarget=function(){};w_.inherits(w_.events.EventTarget,w_.Disposable);w_.events.EventTarget.prototype.Dd=w_b;w_.events.EventTarget.prototype.we=w_c;w_.events.EventTarget.prototype.Yd=function(){return this.we};w_.events.EventTarget.prototype.addEventListener=function(a,b,c,d){w_.events.listen(this,a,b,c,d)};w_.events.EventTarget.prototype.removeEventListener=function(a,b,c,d){w_.events.unlisten(this,a,b,c,d)};
w_.events.EventTarget.prototype.dispatchEvent=function(a){return w_.events.dispatchEvent(this,a)};w_.events.EventTarget.prototype.N=function(){w_.events.EventTarget.Vc.N.call(this);w_.events.removeAll(this);this.we=w_c};w_G.util={};w_G.util.logging={};w_G.util.logging.PROD_BLOGGER_HOST_URL="www.blogger.com";w_G.util.logging.Wg=w_G.util.logging.PROD_BLOGGER_HOST_URL;w_G.util.logging.setHostPort=function(a){w_G.util.logging.Wg=a};w_G.util.logging.jh="/nc";w_G.util.logging.setLoggingPath=function(a){w_G.util.logging.jh=a};w_G.util.logging.ParamKey={EVENT_TYPE:"e",SOURCE_PAGE:"pg",DURATION:"dur"};w_G.util.logging.EventType={UNLOAD_PAGE:"u",CLICK:"c"};w_G.util.logging.SourcePage={EXPLORE:"be",BLOG:"blog",POST:"post"};
w_G.util.logging.formatId=function(a,b){if(a)return b?a+":"+b:a;return""};w_G.util.logging.yh=w_d;w_G.util.logging.setReferredFromExplore=function(a){w_G.util.logging.yh=a};w_G.util.logging.isReferredFromExplore=function(){return w_G.util.logging.yh};w_G.util.logging.Gi=function(a,b,c){if(a){var d=w_.Uri.parse(a),e=d.ma().toLowerCase(),f=d.Ja();if(f==c){if(e==w_G.util.logging.PROD_BLOGGER_HOST_URL)return w_b;if(b.indexOf(w_G.util.logging.PROD_BLOGGER_HOST_URL)<0)return w_b}}return w_d};
w_G.util.logging.log=function(a){var b=w_G.util.logging.Wg+w_G.util.logging.jh,c=w_.Uri.parse(b),d=w_d;for(var e in a){d=w_b;c.Rc(e,a[e])}if(d){(new Image).src=c.toString();return c}return w_c};w_G.util.logging.logWithParameterMap=function(a){if(!w_G.util.logging.Pa[a])return w_c;return w_G.util.logging.log(w_G.util.logging.Pa[a])};w_G.util.logging.Pa={};
w_G.util.logging.addParametersToMap=function(a,b){var c=w_G.util.logging.Pa[a];if(c)for(var d in b){if(c[d])return w_c}else{c={};w_G.util.logging.Pa[a]=c}for(d in b)c[d]=b[d];return w_G.util.logging.Pa[a]};w_G.util.logging.clearParameterMap=function(a){delete w_G.util.logging.Pa[a]};w_G.util.logging.cc="paramMapPageUnload_InternalUseOnly";w_G.util.logging.addToPageUnloadParameterMap=function(a){return w_G.util.logging.addParametersToMap(w_G.util.logging.cc,a)};w_G.util.logging.Ya={};
w_G.util.logging.registerEvent=function(a){if(w_G.util.logging.Ya[a])return-1;w_G.util.logging.Ya[a]=w_.now();return w_G.util.logging.Ya[a]};w_G.util.logging.getEventElapse=function(a){if(!w_G.util.logging.Ya[a])return-1;return w_.now()-w_G.util.logging.Ya[a]};w_G.util.logging.clearEvent=function(a){delete w_G.util.logging.Ya[a]};w_G.util.logging.$c="eventPageLoading_InternalUseOnly";w_G.util.logging.getDurationMillis=function(){return w_G.util.logging.getEventElapse(w_G.util.logging.$c)};
w_G.util.logging.pageOnBeforeUnload=function(){if(w_G.util.logging.Pa[w_G.util.logging.cc]==undefined)return w_c;var a={};a[w_G.util.logging.ParamKey.DURATION]=w_G.util.logging.getDurationMillis();w_G.util.logging.addToPageUnloadParameterMap(a);return w_G.util.logging.logWithParameterMap(w_G.util.logging.cc)};
w_G.util.logging.initialize=function(a,b,c){w_G.util.logging.setHostPort(a);w_G.util.logging.setReferredFromExplore(w_G.util.logging.Gi(b,a,"/explore"));w_G.util.logging.clearEvent(w_G.util.logging.$c);w_G.util.logging.registerEvent(w_G.util.logging.$c);w_G.util.logging.clearParameterMap(w_G.util.logging.cc);c&&w_.events.listen(window,"beforeunload",function(){w_G.util.logging.pageOnBeforeUnload()})};
