var w_a=false,w_b=null,w_c=true;function w_d(a){throw a;}var w_aa=w_a;function w_e(a){try{w_d(a)}catch(b){w_ba(b)}}function w_ba(a,b){var c="Javascript exception: "+(b?b:"")+" "+a;if(w_ca())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_da(w_ba.caller);w_ea(c+"\n"+d,1)}var w_fa=/function (\w+)/;function w_ga(a){var b=w_fa.exec(String(a));if(b)return b[1];return""}
function w_da(a){try{if(!w_ca()&&!(w_f("safari")||w_f("konqueror"))&&w_f("mozilla"))return Error().stack;if(!a)return"";var b="- "+w_ga(a)+"(";for(var 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_da(a.caller);return b}catch(e){return"[Cannot get stack trace]: "+e+"\n"}}var w_ha,w_g=w_b,w_h=w_a;
function w_ia(){if((w_g==w_b||w_g.closed)&&!w_h)try{w_h=w_c;w_g=window.open("","debug","width=700,height=500,toolbar=no,resizable=yes,scrollbars=yes,left=16,top=16,screenx=16,screeny=16");w_g.blur();w_g.document.open();w_h=w_a;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_ja(a)}catch(b){}}
function w_ea(a,b){if(w_aa){try{var c=(new Date).getTime()-w_ha,d="["+c+"] "+w_ka(a).replace(/\n/g,"<br>")+"<br>";if(b==1){d="<font color=#ff0000><b>Error: "+d+"</b></font>";w_g.focus()}}catch(e){}w_ja(d)}else typeof w_i!="undefined"&&w_i(w_ka(a))}function w_ja(a){if(!!w_aa)try{w_ia();w_g.document.write(a);w_g.scrollTo(0,1000000)}catch(b){}};function w_f(a){if(a in w_j)return w_j[a];return w_j[a]=navigator.userAgent.toLowerCase().indexOf(a)!=-1}var w_j={};function w_ca(){return w_f("msie")&&!window.opera}function w_la(a){if(typeof Error!="undefined")w_d(new Error(a||"Assertion Failed"));else w_d(a)}function w_ma(a){a=a||"Assertion failed";typeof w_e!="undefined"&&w_e(a+"\n");w_la(a)}function w_k(a,b){if(!a){b=b||"Assertion failed";w_ma(b)}}function w_na(a,b){a.style.display=b?"":"none"}
function w_oa(a,b){a.style.display=b?"block":"none"}function w_l(a,b){a.style.display=b?"inline":"none"}function w_m(a,b){if(a==w_b||a.className==w_b)return w_a;if(a.className==b)return w_c;var c=a.className.split(" ");for(var d=0;d<c.length;d++)if(c[d]==b)return w_c;return w_a}function w_n(a,b){w_m(a,b)||(a.className+=" "+b)}
function w_o(a,b){if(!(a.className==w_b))if(a.className==b)a.className="";else{var c=a.className.split(" "),d=[],e=w_a;for(var f=0;f<c.length;f++)if(c[f]!=b)c[f]&&d.push(c[f]);else e=w_c;if(e)a.className=d.join(" ")}}function w_p(a,b){var c=[];for(var d=a.firstChild;d;d=d.nextSibling)w_pa(d,b,c);return c}function w_pa(a,b,c){b.select(a)&&c.push(a);for(var d=a.firstChild;d;d=d.nextSibling)w_pa(d,b,c)}var w_qa=/&/g,w_ra=/</g,w_sa=/>/g;
function w_ka(a){if(!a)return"";return a.replace(w_qa,"&amp;").replace(w_ra,"&lt;").replace(w_sa,"&gt;").replace(w_ta,"&quot;")}var w_ta=/\"/g;function w_ua(a){return document.getElementById(a)}function w_va(a){return document.all[a]}var w_wa=document.getElementById?w_ua:w_va;
function w_i(a){try{if(window.parent!=window&&window.parent.log){window.parent.log(window.name+"::"+a);return}}catch(b){}var c=w_wa("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_q(){}w_q.raise=function(a){if(typeof Error!="undefined")w_d(new Error(a||"Assertion Failed"));else w_d(a)};w_q.fail=function(a){a=a||"Assertion failed";typeof w_e=="undefined"||w_e(a+"\n");w_q.raise(a)};w_q.isTrue=function(a,b){if(!a){if(b===undefined)b="Assertion failed";w_q.fail(b)}};w_q.equals=function(a,b,c){if(a!=b){if(c===undefined)c="AS_Assert.equals failed: <"+a+"> != <"+b+">";w_q.fail(c)}};
w_q.typeOf=function(a,b,c){if(!(typeof a==b)){if(a||a=="")try{if(b==w_q.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_q.fail(c)}};w_q.TYPE_MAP={string:String,number:Number,"boolean":Boolean};
w_q.numArgs=function(a,b){var c=w_q.numArgs.caller;if(c&&c.arguments.length!=a){if(b===undefined)b=c.name+" expected "+a+" arguments  but received "+c.arguments.length;w_q.fail(b)}};var w_r;function w_xa(){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_r=c;break}catch(d){}}if(!w_r)w_d(Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed."))}}w_xa();
function w_ya(a,b,c,d){a.open("POST",b,w_c);a.onreadystatechange=d;a.setRequestHeader("Content-Type","application/x-www-form-urlencoded");a.setRequestHeader("Content-Length",c.length);w_za(a,c)}function w_za(a,b){try{a.send(b)}catch(c){w_i("XMLHttpSend failed "+c.toString()+"<br>"+c.stack);w_d(c)}};var w_Aa=0,w_s=0;if("undefined"==typeof w_i)w_i=function(){};function w_Ba(a){var b=-1;try{b=a.status}catch(c){}return b}function w_Ca(a){var b=w_b;try{b=a.statusText}catch(c){}return b}
function w_Da(a,b,c,d){if(a.readyState==4)try{var e=w_c;if(d)try{e=!(w_a===d(a))}catch(f){w_i("Message ("+b+") handling failed: "+f);w_d(f)}var g=w_Ba(a);if(200===g){w_i("Message ("+b+") received after "+((new Date).getTime()-c)+" ms");try{var h=(new Date).getTime();e&&a.responseText.length&&eval(a.responseText);w_i("Message ("+b+") processing took "+((new Date).getTime()-h)+" ms")}catch(f){w_i("Message ("+b+") processing failed: "+f);alert(f+"\n"+f.stack+"\n\n"+a.responseText);w_d(f)}}else 204==
g?w_i("Message ("+b+") received after "+((new Date).getTime()-c)+" ms"):w_i("Message ("+b+") failed with response "+g+" "+w_Ca(a)+" after "+((new Date).getTime()-c)+" ms.")}finally{--w_s}}
function w_Ea(a,b,c){var d="";if(b){var e="";for(var f=0;f<b.length;){var g=b[f++],h=b[f++];d+=e+encodeURIComponent(g);e="&";if(w_b!==h&&undefined!==h)d+="="+encodeURIComponent(h.toString())}}var i=++w_Aa,j=w_r?new ActiveXObject(w_r):new XMLHttpRequest,k=(new Date).getTime(),l=function(){w_Da(j,i,k,c)},m=a;for(var n=m.length+1;(n=m.lastIndexOf("&",n-1))>=0;)m=m.substring(0,n)+"&amp;"+m.substring(n+1);w_i("Message ("+i+") sent: POST <tt>"+m+"</tt>.");++w_s;w_ya(j,a,d,l)};var w_Fa=this;String.prototype.Mc=function(a){return this.indexOf(a)==0};String.prototype.Wd=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(){var a=this;for(var 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_Fa);var f=b||[];for(var 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)){var a=this[0];for(var b=0;b<this.length-1;b++)this[b]=this[b+1];this.length--;return a}};
if(!Array.prototype.unshift)Array.prototype.unshift=function(){var a=arguments.length;for(var 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_t(a,b){var c=a.ac||[];c=c.concat(Array.prototype.slice.call(arguments,2));if(typeof a.hb!="undefined")b=a.hb;if(typeof a.gb!="undefined")a=a.gb;var d=function(){var e=c.concat(Array.prototype.slice.call(arguments));return a.apply(b,e)};d.ac=c;d.hb=b;d.gb=a;return d}Function.prototype.bind=function(a){return w_t.apply(w_b,[this,a].concat(Array.prototype.slice.call(arguments,1)))};Function.prototype.partial=function(){return w_t.apply(w_b,[this,w_b].concat(Array.prototype.slice.call(arguments)))};
Function.prototype.inherits=function(a){var b=function(){};this.wb=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_u(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.Y=f;if(!w_u.IsValidDisplayMode(f))w_d("bad display mode: "+f)}else this.Y=w_u.DISPLAY_MODE_NONE;this.isNew=w_a}w_u.IsValidDisplayMode=function(a){return a==w_u.DISPLAY_MODE_SNIPPET||a==w_u.DISPLAY_MODE_FULL||a==w_u.DISPLAY_MODE_LAYOUT||a==w_u.DISPLAY_MODE_NONE};w_u.DISPLAY_MODE_FULL="displayModeFull";w_u.DISPLAY_MODE_SNIPPET="displayModeSnippet";w_u.DISPLAY_MODE_LAYOUT="displayModeLayout";
w_u.DISPLAY_MODE_NONE="displayModeNone";function w_v(a){this.lf=w_c;this.Rc=new w_w(this);this.e=a;this.ra=w_b}w_v.DATA_NAMESPACE_PREFIX="data";w_v.ACTION_NAMESPACE_PREFIX="b";w_v.INTERPRET_ATTR_NAMESPACE_PREFIX="expr";w_v.prototype.Wc=function(){var a=this.e.rootElement;a.innerHTML="";this.Ha()==w_u.DISPLAY_MODE_LAYOUT?a.appendChild(this.cb("layout")):a.appendChild(this.cb("main"));return a};w_v.prototype.Fd=function(a){this.ra=a};w_v.prototype.q=function(){return this.e};
w_v.prototype.L=function(a){return document.getElementById(this.e.instanceId+"_"+a)};w_v.prototype.C=function(a){var b=this.L(a);if(!b)w_d("did not find element for id "+a);return b};w_v.prototype.p=function(){return this.e.data};w_v.prototype.Tb=function(a){return this.e.data=a};w_v.prototype.od=function(){return this.e.isNew};w_v.prototype.Ed=function(a){return this.e.isNew=a};
w_v.prototype.cb=function(a,b){var c=b;c||(c=this.p());c||(c={});var d=new w_x;d.Ga("widget",this.cd());d.Sc(c);var e=this.Hb(a,d,w_x.DEFAULT_DICTIONARY_KEY);return this.Gb(e,document)};w_v.prototype.cd=function(){var a={};a.type=this.ra.d();a.instanceId=this.e.instanceId;a.sectionId=this.e.sectionId;a.actionUrl=w_y.bc;var b=w_y.Vd+"&widgetType="+this.ra.d()+"&widgetId="+this.e.instanceId+"&action="+w_y.EDIT_WIDGET_ACTION;a.quickEditUrl=b;return a};
w_v.prototype.Hb=function(a,b,c){var d=this.hd(a);w_q.isTrue(d!=w_b,"Markup chunk not found for "+a);var e=d.varName?d.varName:"",f=b.p(c);w_q.isTrue(f!=w_b,"No data found for call: "+c);b.Ga(e,f);var g=this.Ja(d.rootNode,b);b.Qb(e);return g};
w_v.prototype.Ja=function(a,b){w_q.isTrue(a!=w_b,"Null node");var c=a;if(a.attributes){var d=[],e=[];for(var f=0;f<a.attributes.length;f++){var g=a.attributes.item(f),h=this.ud(g,b);if(g!=h){e[e.length]=g.nodeName;d[d.length]=h}}for(var f=0;f<e.length;f++)a.attributes.removeNamedItem(e[f]);for(var f=0;f<d.length;f++)a.attributes.setNamedItem(d[f])}if(a.nodeType==1)if(a.prefix==w_v.ACTION_NAMESPACE_PREFIX)c=this.md(a,b);else if(a.prefix==w_v.DATA_NAMESPACE_PREFIX)c=this.ld(a,b);if(a.hasChildNodes()){var i=
a.ownerDocument.createDocumentFragment();while(a.hasChildNodes()){var j=a.firstChild,k=this.Ja(j,b);i.appendChild(k);j!=k&&a.removeChild(j)}c.appendChild(i)}return c};w_v.prototype.ud=function(a,b){if(a.prefix==w_v.INTERPRET_ATTR_NAMESPACE_PREFIX){var c=a.ownerDocument.createAttribute(a.localName||a.baseName),d=this.Rc.Cb(a.nodeValue,b);c.nodeValue=d;return c}return a};w_v.prototype.md=function(a,b){var c=a.localName||a.baseName,d=this.Sb(c,a,b);return this.Md(d)};
w_v.prototype.Md=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_v.prototype.$a=function(a,b){var c=this.Ka(a);return b.p(c[1])};
w_v.prototype.ld=function(a,b){w_q.isTrue(a!=w_b,"Null element");w_q.isTrue(b!=w_b,"Null data");if(a.prefix!=w_v.DATA_NAMESPACE_PREFIX)return a;var c=this.$a(a.tagName,b),d=""+(c==w_b?"":c),e=document.createElement("DIV");e.innerHTML=d;var f=this.Ia(e);return this.Gb(f,a.ownerDocument,w_c)};w_v.prototype.Ka=function(a){var b=a.split(":",2);b.length==1&&b.unshift("");b[0]=b[0].toLowerCase();return b};
w_v.prototype.Sb=function(a,b,c){var d="_WidgetBinding_"+a;if(this.Rc[d])return this.Rc[d](b,c);if(this.ra[d])return this.ra[d](b,c);w_q.isTrue(w_a,"could not find binding "+a);return w_b};
w_v.prototype.td=function(a){if(a==w_b)return w_b;var b;if(window.ActiveXObject){b=new ActiveXObject("Microsoft.XMLDOM");b.async="false";if(!b.loadXML(a))w_d(new Error(b.parseError))}else if(window.DOMParser){var c=new DOMParser;b=c.parseFromString(a,"text/xml");if(b.documentElement.nodeName=="parsererror")w_d(new Error(b.documentElement.textContent))}else w_q.raise("Unable to find XML parser");return b.documentElement};
w_v.prototype.Ia=function(a){var b=a.ownerDocument.createDocumentFragment();while(a.hasChildNodes())b.appendChild(a.firstChild);return b};
w_v.prototype.Gb=function(a,b,c){w_q.isTrue(a!=w_b);if(b.importNode)if(a.nodeType==11){var d=b.createDocumentFragment();for(var e=a.firstChild;e!=w_b;e=e.nextSibling)d.appendChild(b.importNode(e,w_c));return d}else return b.importNode(a,w_c);if(!c){var f=b.createElement("DIV"),g=a.innerHTML||a.xml;f.innerHTML=g;return this.Ia(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_q.raise("unexpected node type "+i.nodeType);if(i.hasChildNodes())for(var k=0;k<i.childNodes.length;k++)j.appendChild(h(i.childNodes[k]));
return j};return h(a)};w_v.prototype.X=function(a,b){var c=this.ra,d=function(e){return c.yb?c.yb(e):w_c};w_y.X(a,b,this.e.instanceId,this.ra.d(),d)};w_v.prototype.Ha=function(){return this.e.Y};w_v.prototype.hd=function(a){if(!a)return w_b;var b=w_y.Oc[a];b||(b=this.e.markups[a]);if(!b)return w_b;if(!b.parsedTemplate||!b.parsedTemplate.ownerDocument)this.sd(b);b.parsedTemplate||w_q.raise("Parsing failed for "+a);b.rootNode=b.parsedTemplate.cloneNode(w_c);return b};
w_v.prototype.sd=function(a){if(!a)return w_b;var b="<?xml version='1.0'?><markuproot xmlns:"+w_v.DATA_NAMESPACE_PREFIX+"='urn:ns1'  xmlns:"+w_v.ACTION_NAMESPACE_PREFIX+"='urn:ns2' xmlns:"+w_v.INTERPRET_ATTR_NAMESPACE_PREFIX+"='urn:ns3'  xmlns='http://www.w3.org/1999/xhtml'>"+a.template+"</markuproot>\n",c=this.td(b);a.parsedTemplate=this.Ia(c);return a};
w_v.ConfigureWidget=function(a,b){b||(b="config");var c=document.forms[b].widgetId.value,d=document.forms[b].widgetType.value,e=w_z.ProcessForm(document.forms[b],a);e.success&&w_y.SaveWidget(e.values,c,d)};function w_y(){}w_y.Init=function(a,b,c){w_y.Fa={};w_y.Vd=a;w_y.bc=b;w_y.Tf=c;w_y.ge=w_b;if(!w_y.Oc)w_y.Oc={}};w_y.TrapClicks=function(a){var b=w_y.CreateTransparentClickTrappingDiv(a.document);document.body.appendChild(b)};w_y._SetupPreview=function(){w_y.TrapClicks(window)};
w_y.NEW_WIDGET_WINDOW_NAME="chooseWidget";w_y.CHOOSE_WIDGET_ACTION="chooseWidget";w_y.EDIT_WIDGET_ACTION="editWidget";w_y.GetCallbackUrl=function(){return w_y.bc};w_y.SetPageActionUrl=function(a,b){w_y.Dc=a;w_y.Cf=b};w_y.GetPageActionUrl=function(){return w_y.Dc};w_y.SetWidgetRefreshUrl=function(a){w_y.Of=a};w_y.GetWidgetRefreshUrl=function(){return w_y.Of};w_y._SetDataContext=function(a){w_y.ge=a};w_y._SetSystemMarkup=function(a){w_y.Oc=a};
w_y._RegisterWidget=function(a,b,c){var d=new w_v(b);c||(c=window[a]);var e=new c(d);d.Fd(e);w_y.Fa[b.instanceId]=e;w_y.DisplayWidget(e);return e};w_y._RegisterNewWidget=function(a,b,c){var d=w_y._RegisterWidget(a,b,c),e=d.b();e.Ed(w_c);return d};w_y.DisplayWidget=function(a,b){var c=a.b();if(!(c.Ha()==w_u.DISPLAY_MODE_NONE)){if(b||a.h&&a.h())c.Wc();c.Ha()==w_u.DISPLAY_MODE_FULL&&a.i&&a.i();a.b().lf=w_a}};w_y.GetWidget=function(a){if(w_y.Fa)return w_y.Fa[a];return w_b};
w_y._PopupPaneFromParams=function(a,b,c,d,e){var f="";if(d)f="&widgetId="+d;var g=w_y.Vd+"&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_y._PopupConfig=function(a){var b=a.getAttribute("id"),c=w_y.GetWidget(b);if(c){var d=c.b().configWin;if(d!=w_b&&!d.closed){d.focus();return w_a}}var e="config"+b,f=w_y._PopupPaneFromParams(w_y.EDIT_WIDGET_ACTION,a.parentNode.getAttribute("id"),a.getAttribute("widgetType"),b,e);if(c)c.b().configWin=f;return w_a};
w_y._PopupToolbox=function(a){w_y._PopupPaneFromParams(w_y.CHOOSE_WIDGET_ACTION,a.parentNode.getAttribute("id"),a.getAttribute("widgetType"),a.getAttribute("id"),w_y.NEW_WIDGET_WINDOW_NAME);return w_a};w_y.DeleteWidgetFromPage=function(a,b){w_y.F(b,b.LayoutsMessages.DELETING,w_y.STATUS_MESSAGE_PENDING_CLASS);w_y.RunPageAction("delete",{},a,b)};w_v.prototype.Dd=function(a,b){w_y.F(b,b.LayoutsMessages.SAVING,w_y.STATUS_MESSAGE_PENDING_CLASS);this.X("configure",a)};
w_y.SaveNewWidget=function(a,b,c){var d=document.getElementById("sectionId").value;a.sectionid=d;w_y.F(c,c.LayoutsMessages.SAVING,w_y.STATUS_MESSAGE_PENDING_CLASS);w_y.RunPageAction("addnew",a,"",b)};w_y.SaveWidget=function(a,b,c){w_k(c!=w_b,"no type");var d=_WidgetManager._GetWidget(b);w_k(d!=w_b,"no widget for "+b);d.b().od()?w_y.SaveNewWidget(a,c,window):d.a.Dd(a,window)};w_y._RunInitialAction=function(a){var b=w_y._GetWidget(a);b&&b.b().X("initial")};
w_y.X=function(a,b,c,d,e){w_y.RunAction(w_y.bc,a,b,c,d,e)};w_y.RunPageAction=function(a,b,c,d,e){if(w_y.Dc){b.pageToken=w_y.Cf;w_y.RunAction(w_y.Dc,a,b,c,d,e)}else w_i("RunPageAction error: pageActionUrl_ is undefined.  widgetid: "+c+" action: "+a)};
w_y.RunAction=function(a,b,c,d,e,f){var g=["action",b,"widgetId",d,"widgetType",e,"responseType","js"];for(var h in c)if(typeof c[h]=="object")for(var i=0;i<c[h].length;++i){g[g.length]=h;g[g.length]=c[h][i]}else{g[g.length]=h;g[g.length]=c[h]}w_Ea(a,g,new w_Ga(f))};w_y.SetConfigWin=function(a,b){if(!!a){var c=w_y.GetWidget(a);if(!!c)c.b().configWin=b}};
w_y.CloseIfNoPendingMessages=function(a,b){w_s==0?window.setTimeout(function(){a.close()},b):window.setTimeout(function(){w_y.CloseIfNoPendingMessages(a,b)},200)};w_y._KillPopupDelay=function(a,b){if(!!a){w_y.CloseIfNoPendingMessages(a,100);w_y.UpdateEditorStatus(a,b)}};w_y.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_y.c=function(a,b,c){var d=w_y.Fa[a];if(c.errors!=w_b){var e=d?d.b().configWin:w_b;e||(e=window);w_y.F(e,c.errors,w_y.STATUS_MESSAGE_BAD_CLASS);d&&d.ba?d.ba(b,c):w_y.ba(c,e)}else{w_k(d!=w_b,"no widget for "+a);if(b=="initial"){d.b().Tb(c);w_y.DisplayWidget(d,w_c)}else d.c(b,c)}};w_y.ba=function(a,b){var c=a["error-details"];for(var d in c)w_z.SetError(d,c[d],b.document)};
w_v.prototype.k=function(a){w_y.F(this.configWin,a["status-message"],w_y.STATUS_MESSAGE_GOOD_CLASS);w_y.FinishPopupWork(this.e.instanceId,"_OnWidgetConfigured",function(b){window.opener._WidgetManager._OnWidgetConfigured(b,a)})};w_y._OnWidgetConfigured=function(a,b){window.parent&&window.parent.editor&&b?w_y.OnWidgetConfiguredWithData(a,b):w_y._RunInitialAction(a)};w_y.OnWidgetConfiguredWithData=function(a,b){var c=w_y._GetWidget(a);c.b().Tb(b.data);w_y.DisplayWidget(c,w_c);c.b().configWin=w_b};
w_y.HandlePageActionResult=function(a,b,c){var d=c["status-message"];if(c.errors!=w_b){w_y.F(window,c.errors,w_y.STATUS_MESSAGE_BAD_CLASS);w_y.ba(c,window)}else if(b=="addnew"){var e;if(w_y.IsOpenerReachable(window)){if(window.opener&&window.opener.parent)e=window.opener.parent;e&&e.editor&&e.editor._HandleAddNewWidget(c)}w_y.F(window,d,w_y.STATUS_MESSAGE_GOOD_CLASS);if(window.opener==w_b)window.location="/rearrange?blogID="+c.blogID;else e&&e._WidgetManager?e._WidgetManager._KillPopupDelay(window):
w_y.CloseIfNoPendingMessages(window,100)}else{var f=w_y.Fa[a];w_k(f!=w_b);if(b=="delete"){w_y.F(f.b().configWin,d,w_y.STATUS_MESSAGE_GOOD_CLASS);w_y.FinishPopupWork(a,"_OnWidgetDeleted")}}};w_y._OnWidgetDeleted=function(a){var b=w_y.GetWidget(a);if(!!b){if(b.b().Ha()==w_u.DISPLAY_MODE_LAYOUT)top.editor._HandleDeleteWidget(b.b().e.rootElement);else{var c=b.b().e.rootElement;c.parentNode.removeChild(c)}delete w_y.Fa[a]}};
w_y.FinishPopupWork=function(a,b,c){if(w_y.IsOpenerReachable(window)){var d=window.opener;c||(c=d._WidgetManager[b]);c(a);d._WidgetManager?d._WidgetManager._KillPopupDelay(window,a):w_y.CloseIfNoPendingMessages(window,100)}else{var e=w_y.GetWidgetRefreshUrl()+"?widgetId="+a;e+="&func="+encodeURIComponent(b);window.location.replace(e)}};w_y.IsOpenerReachable=function(a){var b=w_a;try{if(a.opener){var c="X"+a.opener.document.domain;if(c&&c!="X")b=w_c}}catch(d){}return b};
w_y.STATUS_MESSAGE_GOOD_CLASS="status-msg status-msg-yellow-on-white";w_y.STATUS_MESSAGE_PENDING_CLASS=w_y.STATUS_MESSAGE_GOOD_CLASS;w_y.STATUS_MESSAGE_BAD_CLASS=w_y.STATUS_MESSAGE_GOOD_CLASS;w_y.F=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_y.MaybePrependHttp=function(a){if(a&&a.length>0&&a.substring(0,4)!="http")a="http://"+a;return a};
w_y.GetFirstElementInElementWithClass=function(a,b){if(w_m(a,b))return a;if(a){var c=a.childNodes.length;for(var d=0;d<c;d++){var e=w_y.GetFirstElementInElementWithClass(a.childNodes.item(d),b);if(e)return e}}return w_b};
w_y.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_y.Jb;b.onmousedown=w_y.Jb;b.onmouseup=w_y.Jb;b.style.background="white";b.style.filter="alpha(opacity=1)";b.style.opacity=".01";b.innerHTML="&nbsp;";return b};
w_y.Jb=function(a){var b=a;if(!b)b=window.event;if(b){b.cancelBubble=w_c;b.stopPropagation&&b.stopPropagation()}return w_a};function w_w(a){this.O=a}w_w.prototype._WidgetBinding_include=function(a,b){var c=a.getAttribute("name"),d=a.getAttribute("data");return this.O.Hb(c,b,d)};w_w.prototype._WidgetBinding_call=w_w.prototype._WidgetBinding_include;
w_w.prototype._WidgetBinding_loop=function(a,b){var c=a.getAttribute("values"),d=this.O.Ka(c),e=this.O.$a(d[1],b),f=a.getAttribute("var");f||w_q.raise("Invalid var= attribute on b:loop");var g=this.O.Ia(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_c);b.Ga(f,j);var l=this.O.Ja(k,b);b.Qb(f);h.appendChild(l)}return h};
w_w.prototype._WidgetBinding_if=function(a,b){var c=this.Cb(a.getAttribute("cond"),b),d=a.ownerDocument.createDocumentFragment(),e=w_a;while(a.firstChild!=w_b){var f=a.firstChild;if("else"==this.O.Ka(f.nodeName)[1].toLowerCase())e=w_c;else if(c&&!e||!c&&e){var g=this.O.Ja(f,b);d.appendChild(g)}f.parentNode==a&&a.removeChild(f)}return d};
w_w.prototype.Cb=function(a,b){w_q.isTrue(a!=w_b,"null expression");var c=this.Gd(a,b);try{var d=eval(c);return d}catch(e){w_i("expression=["+a+"] error="+e+" eval=["+c+"]")}return""};
w_w.prototype.Gd=function(a,b){var c=new RegExp("\\b(?:"+w_v.DATA_NAMESPACE_PREFIX+"|"+w_v.ACTION_NAMESPACE_PREFIX+"):[^ ]*\\b","gi"),d="",e=0,f=c.exec(a);while(f){var g=f[0];if(!this.nd(a,c.lastIndex)){var h,i=this.O.Ka(g);if(i[0]==w_v.ACTION_NAMESPACE_PREFIX)h=this.O.Sb(i[1],w_b,b);else if(i[0]==w_v.DATA_NAMESPACE_PREFIX){(h=this.O.$a(g,b))||(h="");h=h+""}else w_q.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_w.prototype.nd=function(a,b){w_q.isTrue(b<=a.length,"Invalid index: i="+b+", l="+a.length);var c=0;for(var d=0;d<b;d++)if(a.charAt(d)=='"'&&(d==0||a.charAt(d-1)!="\\"))c++;return c%2!=0};function w_z(){}w_z.ERROR_MSG_ACTIVE_CLASS="errorbox-bad errormsg";w_z.ERROR_MSG_INACTIVE_CLASS="errorbox-good";
w_z.ProcessForm=function(a,b){var c={};c.success=w_c;c.values={};c.errors={};for(var d in b){var e=w_z.GetFieldValue(a[d]),f=b[d];w_z.ClearError(d);if(f){var g=f(e);if(g){w_z.SetError(d,g);c.success=w_a;c.errors[d]=g}}c.values[d]=e}return c};
w_z.GetFieldValue=function(a){if(!a)return undefined;if(a.type=="checkbox"){if(a.checked)return a.value;return undefined}if(a.type==w_b){var b=[];for(var 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_z.gd=function(a,b){b||(b=document);var c="errormessage_"+a;return b.getElementById(c)};w_z.ClearError=function(a){var b=w_z.gd(a);if(b){b.innerHTML="";b.className=w_z.ERROR_MSG_INACTIVE_CLASS}};
w_z.SetError=function(a,b,c){var d=w_z.gd(a,c);if(d){d.innerHTML=b;d.className=w_z.ERROR_MSG_ACTIVE_CLASS}};w_z.GetRequiredStringFilter=function(){return function(a){a=a.replace(/^\s+/,"").replace(/\s+$/,"");if(a.length==0)return LayoutsMessages.FIELD_CANNOT_BE_BLANK;return undefined}};
w_z.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_x(){this.G=[];for(var a in w_y.ge)this.G[this.G.length]=a}w_x.DEFAULT_DICTIONARY_KEY="";w_x.MAX_DICTIONARY_DEPTH=50;w_x.SEPARATOR_CHAR=".";
w_x.prototype.Ga=function(a,b){this.G.length>=w_x.MAX_DICTIONARY_DEPTH&&w_q.raise("Cannot add another dictionary: "+a);a.indexOf(w_x.SEPARATOR_CHAR)>-1&&w_q.raise("Cannot add dictionary name containing '.': "+a);var c={};c.name=a;c.data=b;this.G[this.G.length]=c};w_x.prototype.Qb=function(a){var b=this.G[this.G.length-1];b.name!=a&&w_q.raise("Dictionary "+a+" is not the last one, and can't be deleted: "+b.name);this.G.splice(this.G.length-1,1)};
w_x.prototype.ab=function(a){if(a==w_b)a=w_x.DEFAULT_DICTIONARY_KEY;for(var b=this.G.length-1;b>=0;--b)if(this.G[b].name==a)return this.G[b].data;return w_b};w_x.prototype.Eb=function(){return this.ab(w_x.DEFAULT_DICTIONARY_KEY)};w_x.prototype.Sc=function(a){this.Ga(w_x.DEFAULT_DICTIONARY_KEY,a)};
w_x.prototype.p=function(a){var b=this.ab(a);if(b)return b;var c=a.split(w_x.SEPARATOR_CHAR);if(c.length==1){b=this.Eb();return b[a]}b=this.ab(c[0]);var d=0;if(b)d=1;else b=this.Eb();for(var e=d;e<c.length;e++){if(b==w_b)return w_b;b=b[c[e]]}return b};function w_Ha(){}w_Ha.prototype.c=function(){w_d(new Error("Unimplemented"))};var _WidgetManager=w_y;_WidgetManager.prototype=w_y.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_u;_WidgetInfo.prototype=w_u.prototype;function w_A(a){this.Rf=w_a;this.vb=a;this.mb=window.document}w_A.DISABLED_BUTTON_CLASS="disabled-button";w_A.HIDDEN_MESSAGE_CLASS="status-msg-hidden";w_A.prototype.zb=function(){this.mb.getElementById(this.vb+"-inner").innerHTML="&nbsp;";w_n(this.mb.getElementById(this.vb),w_A.HIDDEN_MESSAGE_CLASS)};w_A.prototype.F=function(a){this.mb.getElementById(this.vb+"-inner").innerHTML=a;w_o(this.mb.getElementById(this.vb),w_A.HIDDEN_MESSAGE_CLASS)};function w_Ga(a){return function(b){var c=w_Ba(b);if(c>=500){if(b.responseText.length)document.body.innerHTML=b.responseText;else alert(LayoutsMessages.SERVER_ERROR);return w_a}return a?a(b):w_c}};function w_B(a){this.a=a}w_B.WIDGET_TYPE_NAME="AdSense";w_B.prototype.d=function(){return w_B.WIDGET_TYPE_NAME};w_B.prototype.b=function(){return this.a};w_B.prototype.c=function(a,b){this.a.k(b)};var _AdSenseView=w_B;function w_C(a){this.a=a;this.e=a.q()}w_C.WIDGET_TYPE_NAME="BlogArchive";w_C.POST_LIST_CLASS="posts";w_C.INTERVAL_EXPANDED_VALUE="expanded";w_C.INTERVAL_COLLAPSED_VALUE="collapsed";w_C.LOADING_MSG="loading...";w_C.POST_COUNT_CLASS="post-count";w_C.POST_COUNT_LINK_CLASS="post-count-link";w_C.MENU_ROOT_ID="ArchiveMenu";w_C.TOGGLE_OPEN_CLASS="toggle-open";w_C.ff="&#9660;&nbsp;";w_C.Yd="&#9658;&nbsp;";w_C.prototype.d=function(){return w_C.WIDGET_TYPE_NAME};w_C.prototype.b=function(){return this.a};
w_C.prototype.h=function(){return w_a};w_C.prototype.c=function(a,b){if(a=="configure")this.a.k(b);else if(a=="getTitles")this.Ld(b);else{this.widgetInfo.data=b;w_y.DisplayWidget(this)}};
w_C.prototype.i=function(){var a={};a.select=function(i){return i&&w_m(i,"toggle")};var b=this.a.L("ArchiveList");if(!!b){var c=w_p(this.e.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.Hd.bind(this);if(d)f.style.color=d}var g=this.a.L(w_C.MENU_ROOT_ID);if(g){for(var e=1;e<g.options.length;e++){var h=g.options[e].value;if(h==window.location.href||window.location.href.match(h)!=w_b){g.selectedIndex=e;break}}g.onchange=
this.jd.bind(this)}if(this.b().p().languageDirection=="rtl")w_C.Yd="&#9668;&nbsp;"}};w_C.prototype.jd=function(){var a=this.a.L(w_C.MENU_ROOT_ID);if(!!a)if(!(a.value==""))window.location.href=a.value};
w_C.prototype.Hd=function(a){a=a||window.event;var b=a.currentTarget||a.srcElement;if(b&&!w_m(b,"toggle"))b=b.parentNode;var c=w_y.GetFirstElementInElementWithClass(b,"zippy"),d=b.parentNode;if(w_m(d,w_C.INTERVAL_EXPANDED_VALUE)){w_o(d,w_C.INTERVAL_EXPANDED_VALUE);w_n(d,w_C.INTERVAL_COLLAPSED_VALUE);c.innerHTML=w_C.Yd;w_o(c,w_C.TOGGLE_OPEN_CLASS);return w_a}else{w_o(d,w_C.INTERVAL_COLLAPSED_VALUE);w_n(d,w_C.INTERVAL_EXPANDED_VALUE);c.innerHTML=w_C.ff;w_n(c,w_C.TOGGLE_OPEN_CLASS)}if(this.qd(d)){var e=
this.Fb(d);if(!e){e=document.createElement("UL");d.appendChild(e);w_n(e,w_C.POST_LIST_CLASS)}e.appendChild(document.createTextNode(w_C.LOADING_MSG));this.a.X("getTitles",{path:this.ed(d)})}return w_a};w_C.prototype.Fb=function(a){return w_y.GetFirstElementInElementWithClass(a,w_C.POST_LIST_CLASS)};w_C.prototype.ed=function(a){var b=w_y.GetFirstElementInElementWithClass(a,w_C.POST_COUNT_LINK_CLASS);return b.href};
w_C.prototype.fd=function(a){var b=w_y.GetFirstElementInElementWithClass(a,w_C.POST_COUNT_CLASS);return parseInt(b.innerHTML.match(/\d+/),10)};w_C.prototype.Ld=function(a){var b=a.path,c=this.Fb(this.dd(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_C.prototype.dd=function(a){var b=this.e.rootElement.getElementsByTagName("A");for(var c in b){var d=b[c];if(d.href==a)return d.parentNode}};
w_C.prototype.qd=function(a){var b=a.getElementsByTagName("UL");if(!(b.length>0&&!w_m(b[0],"posts"))){var c=this.fd(a),d=a.getElementsByTagName("LI"),e=d.length;return e<c}};var _BlogArchiveView=w_C;function w_D(a){this.a=a;this.Ea=a.q();if(this.Ea.data)this.Ce=this.Ea.data.showBacklinks}w_D.BACKLINKS_ROOT="backlinks-container";w_D.BACKLINKS_CHUNK="backlinks";w_D.BACKLINK_ITEM_ROOT_CLASS="backlink-control";w_D.BACKLINK_EXPANDED_CLASS="expanded-backlink";w_D.BACKLINK_COLLAPSED_CLASS="collapsed-backlink";w_D.BACKLINK_ZIPPY_CLASS="backlink-toggle-zippy";w_D.WIDGET_TYPE_NAME="Blog";w_D.prototype.d=function(){return w_D.WIDGET_TYPE_NAME};w_D.prototype.b=function(){return this.a};
w_D.prototype.c=function(a,b){if(a=="initial"){this.Ea.data=b;w_y.DisplayWidget(this,w_c)}else if(a=="nextposts")this.Xc(b);else if(a=="configure")this.a.k(b);else a=="backlinks"&&this.Kd(b)};w_D.prototype.Xc=function(a){var b=a.renderedData,c=this.Ea.rootElement;if(!(!b||!c)){c.innerHTML=b;window.scroll(0,0);this.i()}};
w_D.prototype.Kd=function(a){this.Ce=w_a;var b=this.a.cb(w_D.BACKLINKS_CHUNK,a),c=this.a.L(w_D.BACKLINKS_ROOT);if(c){c.innerHTML="";c.appendChild(b)}var d=w_p(this.Ea.rootElement,w_D.Rd);for(var e=0;e<d.length;e++){var f=d[e];f.onclick=this.Jd.bind(this)}var g=this.a.L("backlinks-create-link");if(g!=w_b)g.onclick=this.Uc.bind(this,g.href)};w_D.Rd={};w_D.Rd.select=function(a){return a&&w_m(a,w_D.BACKLINK_ZIPPY_CLASS)};w_D.prototype.Jd=function(a){a=a||window.event;this.Yc(a.srcElement||a.target)};
w_D.prototype.Yc=function(a){var b=a.parentNode;while(b&&!w_m(b,w_D.BACKLINK_ITEM_ROOT_CLASS))b=b.parentNode;if(!!b)if(w_m(b,w_D.BACKLINK_EXPANDED_CLASS)){w_o(b,w_D.BACKLINK_EXPANDED_CLASS);w_n(b,w_D.BACKLINK_COLLAPSED_CLASS)}else{w_n(b,w_D.BACKLINK_EXPANDED_CLASS);w_o(b,w_D.BACKLINK_COLLAPSED_CLASS)}};
w_D.prototype.i=function(){var a=this.a.L("blog-pager-newer-link");if(a&&this.Ib(a))a.onclick=this.Kb.bind(this);var b=this.a.L("blog-pager-older-link");if(b&&this.Ib(b))b.onclick=this.Kb.bind(this);this.Ce&&this.a.X("backlinks",{postID:this.Ea.data.postId})};w_D.prototype.Ib=function(a){var b=a.href;return b.indexOf("/search?")>-1};w_D.prototype.Kb=function(a){a=a||window.event;var b=a.target||a.srcElement;this.a.X("nextposts",{path:b.href});return w_a};
w_D.prototype.Uc=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_a};var _BlogView=w_D;w_E.Id={BLOGS:"blogs",CONTAINER:"container",SHOW_ALL:"show-all",SHOW_N:"show-n"};function w_E(a){this.a=a;this.e=a.q()}w_E.WIDGET_TYPE_NAME="BlogList";w_E.prototype.xb=w_b;w_E.prototype.Pa=w_b;w_E.prototype.d=function(){return w_E.WIDGET_TYPE_NAME};w_E.prototype.b=function(){return this.a};w_E.prototype.h=function(){return w_a};w_E.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};
w_E.prototype.i=function(){var a=this.a.p();this.xb=a.totalItems;this.Pa=a.numItemsToShow;if(this.Pa!=0&&this.xb>this.Pa){var b=this.a.C(w_E.Id.SHOW_ALL);b.onclick=this.Pc.bind(this);var c=this.a.C(w_E.Id.SHOW_N);c.onclick=this.Pc.bind(this)}var d=this.$d.bind(this),e=window;if(e.addEventListener)e.addEventListener("load",d,w_a);else if(e.attachEvent)e.attachEvent("onload",d);else e.onload=d};
w_E.prototype.Pc=function(){var a=this.a.C(w_E.Id.BLOGS),b=a.getElementsByTagName("li");for(var c=this.Pa;c<this.xb;c++){var d=b[c];w_oa(d,d.style.display=="none")}var e=this.a.C(w_E.Id.SHOW_ALL);w_l(e,e.style.display=="none");var f=this.a.C(w_E.Id.SHOW_N);w_l(f,f.style.display=="none")};w_E.prototype.$d=function(){var a=this.a.C(w_E.Id.BLOGS),b=a.getElementsByTagName("input");for(var c=0;c<b.length;c++){var d=b[c],e=document.createElement("img");e.onload=this.Od.bind(e,d);e.src=d.value}};
w_E.prototype.Od=function(a){this.onload=function(){};this.alt="";this.width=this.height="16";var b=a.parentNode;b.replaceChild(this,a)};var _BlogListView=w_E;_BlogListView._Configure=_BlogListView.Configure;function w_F(a){this.a=a}w_F.WIDGET_TYPE_NAME="CustomSearch";w_F.prototype.d=function(){return w_F.WIDGET_TYPE_NAME};w_F.prototype.b=function(){return this.a};w_F.prototype.h=function(){return w_a};w_F.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};
w_F.prototype.i=function(){if(!window._UDS_bootstrapped){var a;a=window.location.host.match(/blogger\.com$/)?"ABQIAAAAVBJEtyJuLxgUs8KlzeA1lRQpkWYODHKIJGlKH8M-8R98XOejsxRkHYkMWejKfPos1RBuAqHID9wA9Q":this.a.p().key;w_G("http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-vbpe&key="+a);w_H(w_Ia);window._UDS_bootstrapped=w_c}if(!document.getElementById("gsearch-css")){var b=document.createElement("LINK");b.type="text/css";b.rel="stylesheet";b.href="http://www.google.com/uds/css/gsearch.css";b.id=
"gsearch-css";document.getElementsByTagName("head")[0].appendChild(b)}var c=document.getElementById("uds-searchControl");if(!c){c=document.createElement("DIV");c.id="uds-searchControl";var d=document.createElement("DIV");d.id="uds-searchResults";c.appendChild(d);var e=document.createElement("DIV");e.id="uds-searchClearResults";e.className="gsc-clear-button";e.innerHTML="&nbsp;";c.appendChild(e);var f=document.getElementById("main");f||(f=document.getElementsByTagName("body")[0]);f.insertBefore(c,
f.firstChild)}var g=this.b();w_I()?window.setTimeout(w_Ja.bind(g),0):w_H(w_Ja.bind(g))};
function w_Ja(){var a=new GSearchControl,b=this.p();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)}var e=b.linkLists;for(var 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_a,this.C("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_b;i.setOnSubmitCallback(w_b,w_t(w_Ka,w_b,a));document.getElementById("uds-searchClearResults").onclick=w_t(w_La,w_b,
a);w_J(w_a)}function w_Ka(a){w_J(w_c);return a.submit()}function w_La(a){a.clearAllResults();w_J(w_a)}function w_J(a){document.getElementById("uds-searchClearResults").style.display=a?"inline":"none"}var _CustomSearchView=w_F;_CustomSearchView._Configure=_CustomSearchView.Configure;function w_K(a){this.a=a;this.e=a.q()}w_K.WIDGET_TYPE_NAME="Image";w_K.prototype.b=function(){return this.a};w_K.prototype.d=function(){return w_K.WIDGET_TYPE_NAME};w_K.prototype.h=function(){return w_a};
w_K.prototype.i=function(){if(!(this.e.data.resize!="true")){var a=this.a.L(this.e.instanceId+"_img"),b=this.e.rootElement;if(!(!a||!b)){var c;if(document.defaultView)c=parseInt(document.defaultView.getComputedStyle(b,w_b).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_K.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};var _ImageView=w_K;function w_L(a,b,c,d,e,f,g,h){this.B=a;this.Sd=b!="null"?b:w_b;this.ue=c;this.se=d;this.te=e;this.Ne=f;this.ve=g;this.Hf=h;this.ha=this.U=-1;this.ia=w_b;this.I=document.getElementById(this.B+"_picImg");this.jb=document.getElementById(this.B+"_changeImageLink");this.sb=document.getElementById(this.B+"_imageChoiceTable");this.pe=document.getElementById(this.B+"_imgSrcFromPCRadio");this.qe=document.getElementById(this.B+"_imgSrcFromWebRadio");this.l=document.getElementById(this.B+"_imgFileNameInput");
this.Na=document.getElementById(this.B+"_imgUrlTextInput");this.Qd=window.frames[this.B+"_asynchronousFileUploadIframe"];this.sc=0;this.u=new Image;this.u.onload=this.hitch(this,this.Ge);this.u.onerror=this.hitch(this,this.Fe);this.ae=w_a;this.w=this.xc=w_b;this.va=w_b;this.Gc=w_a}w_L.prototype.vc=function(){return this.pe.checked};
w_L.prototype.Ge=function(){this.sc=0;w_z.ClearError(this.B+"_imgUrlTextError");w_z.ClearError(this.B+"_imgFileNameError");if(!this.vc()||this.U==0){this.U=this.u.width;this.ha=this.u.height;this.ia=this.u.src}var a=1,b=1;if(this.u.width>300)a=300/this.u.width;if(this.u.height>300)b=300/this.u.height;var c=Math.min(a,b);this.I.style.width=Math.round(this.u.width*c)+"px";this.I.style.height=Math.round(this.u.height*c)+"px";this.I.src=this.u.src;this.I.style.display="";this.sb.style.display="none";
this.jb.style.display="";this.l.disabled=w_c;this.ue&&this.ue.call({},this.I.src,this.ia,this.U,this.ha)};w_L.prototype.Ca=function(a,b,c,d){if(a){w_z.SetError(this.B+"_imgFileNameError",b);w_z.ClearError(this.B+"_imgUrlTextError")}else{w_z.SetError(this.B+"_imgUrlTextError",b);w_z.ClearError(this.B+"_imgFileNameError")}this.I.style.display="none";this.sb.style.display="";this.jb.style.display="none";this.l.disabled=w_a;this.se&&this.se.call({},c,d)};
w_L.prototype.Fe=function(){if(this.sc<2){this.sc++;var a=this.u.src;this.u.src="";this.ka(a)}else this.Ca(this.vc(),WidgetMessages.SIV_INVALID_URL,this.I.src)};w_L.prototype.hitch=function(a,b){return function(){b.apply(a,arguments)}};w_L.prototype.ka=function(a){this.Lc();this.u.src=a};
w_L.prototype.cc=function(a){var b=a||window.event;if(window.event){b.returnValue=w_a;b.cancelBubble=w_c}else{b.preventDefault();b.stopPropagation()}this.I.style.display="none";this.jb.style.display="none";this.sb.style.display="";this.l.disabled=w_a;this.Na.value="";this.Hc();this.Gc=w_c;this.te&&this.te.call({})};w_L.prototype.tc=function(){this.pe.checked="true";this.Na.value="";this.Lc();this.Ae();this.ae=w_c;try{this.w.submit()}catch(a){this.Ca(w_c,WidgetMessages.SIV_INVALID_URL,this.w.value)}this.ze()};
w_L.prototype.sa=function(){var a=this.Qd.document.result;a||this.Ca(w_c,WidgetMessages.SIV_INVALID_URL,this.l.value);if(a.hasErrors)a.errors.length>0?this.Ca(w_c,a.errors[0].message,this.l.value,a.qf):this.Ca(w_c,WidgetMessages.SIV_INVALID_URL,this.l.value,a.qf);else{var b=Math.max(a.origWidth,a.origHeight),c=this.pc();if(this.U!=0&&c!=-1&&b>c){var d=c/b;this.U=Math.round(a.origWidth*d);this.ha=Math.round(a.origHeight*d)}else{this.U=a.origWidth;this.ha=a.origHeight}this.ia=a.mainSrc;this.ka(a.thumbSrc)}};
w_L.prototype.uc=function(a){var b=a||window.event;if(!(b.keyCode==9)){this.qe.checked="true";this.xc!=w_b&&window.clearTimeout(this.xc);var c=this.hitch(this,function(){if(this.Gc||this.u.src!=this.Na.value.toLowerCase()){this.Hc();this.ka(this.Na.value.toLowerCase())}this.Gc=w_a});this.xc=window.setTimeout(c,1000)}};w_L.prototype.zc=function(a){this.qe.checked=w_c;this.Na.value=a;this.ka(a)};
w_L.prototype.Lc=function(){this.I.src="img/icon_inprogress.gif";this.I.style.width="200px";this.I.style.height="200px";this.I.style.display="";this.sb.style.display="none";this.jb.style.display="none"};
w_L.prototype.Ae=function(){if(!this.w){this.w=document.createElement("form");this.w.action="imageUpload.do";this.w.method="POST";this.w.target=this.Qd.name;this.w.encoding="multipart/form-data";this.w.style.display="none";if(this.Sd){var a=document.createElement("input");a.type="hidden";a.name="blogID";a.value=this.Sd;this.w.appendChild(a)}var b=document.createElement("input");b.type="hidden";b.name="sectionWidth";b.id="sectionWidth";this.w.appendChild(b);var c=document.createElement("input");c.type=
"hidden";c.name="photoUploadSecurityToken";c.value=this.Hf;this.w.appendChild(c);document.body.appendChild(this.w)}var d=this.pc();if(d==-1)d=1600;document.getElementById("sectionWidth").value=d;this.va={parent:this.l.parentNode,nextSibling:this.l.nextSibling};this.l.parentNode.removeChild(this.l);this.w.appendChild(this.l)};w_L.prototype.ze=function(){this.w.removeChild(this.l);this.va&&this.va.nextSibling?this.va.parent.insertBefore(this.l,this.va.nextSibling):this.va.parent.appendChild(this.l)};
w_L.prototype.Hc=function(){var a=document.createElement("input");a.type="file";a.name=this.l.name;a.id=this.l.id;a.onchange=this.l.onchange;var b=this.l.nextSibling;b==w_b?this.l.parentNode.appendChild(a):this.l.parentNode.insertBefore(a,b);this.l.parentNode.removeChild(this.l);this.l=a};w_L.prototype.pc=function(){return this.Ne==-1&&this.ve?this.ve():this.Ne};function w_M(){this.usiContainers=[]}var w_Ma=new w_M;
w_M.prototype.fc=function(a,b,c,d,e,f,g,h){this.usiContainers[a]=new w_L(a,b,eval(c),eval(d),eval(e),f,eval(g),h);return this.usiContainers[a]};w_M.prototype.qb=function(a){return this.usiContainers[a]};w_M.prototype.sa=function(a){var b=this.qb(a);b&&b.ae&&b.sa()};var _UploadSimpleImage=w_Ma;w_M.prototype._createUsiContainer=w_M.prototype.fc;w_M.prototype._getUsiContainer=w_M.prototype.qb;w_M.prototype._channelResultArrived=w_M.prototype.sa;w_L.prototype._changeImage=w_L.prototype.cc;
w_L.prototype._imgUrlFileOnChange=w_L.prototype.tc;w_L.prototype._imgUrlTextOnKeyUp=w_L.prototype.uc;w_L.prototype._loadInitialUrl=w_L.prototype.zc;w_L.prototype._loadImageFromUrl=w_L.prototype.ka;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_b;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_y.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_b)w_y.F(window,WidgetMessages.SIV_NO_IMAGE,w_y.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_y.SaveWidget(g,a,w_K.WIDGET_TYPE_NAME)}};function w_N(a){this.a=a;this.e=a.q()}w_N.successfulUploadCallback=function(a,b,c,d){w_N.If=a;w_N.ia=b;w_N.U=c;w_N.ha=d;var e=document.getElementById("shrinkToFitRow");if(e)e.style.visibility="hidden";if(e=document.getElementById("shrinkToFitMessageRow"))e.style.visibility="hidden"};w_N.resetCallback=function(){w_N.ia=w_b;var a=document.getElementById("shrinkToFitRow");if(a)a.style.visibility="visible";if(a=document.getElementById("shrinkToFitMessageRow"))a.style.visibility="visible"};
w_N.getScaledContainerWidth=function(){return document.getElementById("checkShrink").checked?w_N.getContainerWidth():-1};w_N.getContainerWidth=function(){var a=document.getElementById("sectionId").value,b=600;if(w_y.IsOpenerReachable(window)&&window.opener.document.getElementById(a))b=window.opener.document.getElementById(a).clientWidth;return b};w_N.WIDGET_TYPE_NAME="Header";w_N.prototype.d=function(){return w_N.WIDGET_TYPE_NAME};w_N.prototype.h=function(){return w_a};w_N.prototype.b=function(){return this.a};
w_N.prototype.c=function(a,b){this.a.k(b)};w_N.FilterMap={title:w_z.GetRequiredStringFilter(),description:w_b,imagePlacement:w_b,useImage:w_b,securityToken:w_b};
w_N.ConfigureWidget=function(){var a=document.forms.config.widgetId.value,b=document.forms.config.widgetType.value,c=w_z.ProcessForm(document.forms.config,w_N.FilterMap),d=w_N.getContainerWidth();if(c.success){if(w_N.ia){var e=w_N.U,f=w_N.ha,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_N.ia;c.values.originalWidth=w_N.U;c.values.originalHeight=w_N.ha;c.values.displayUrl=w_N.If;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_y.SaveWidget(c.values,a,b);return w_c}else return w_a};w_N.hideImageOptions=function(){document.getElementById("imageOptions").style.display="none";return w_a};w_N.showImageOptions=function(){document.getElementById("imageOptions").style.display="";return w_a};var _HeaderView=w_N;_HeaderView.prototype=w_N.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_O(a,b){this.a=a;this.e=a.q();this.Kf=b}w_O.prototype.b=function(){return this.a};w_O.prototype.d=function(){return this.Kf};w_O.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};
w_O.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_y.SaveWidget(g,b,a)};function w_P(a){w_O.call(this,a,"Text")}w_P.inherits(w_O);w_P.ConfigureWidget=function(){w_O.ConfigureWidget("Text")};function w_Q(a){w_O.call(this,a,"HTML")}w_Q.inherits(w_O);
w_Q.ConfigureWidget=function(){w_O.ConfigureWidget("HTML")};var _TextView=w_P;_TextView.prototype=w_P.prototype;_TextView._ConfigureWidget=_TextView.ConfigureWidget;var _HTMLView=w_Q;_HTMLView.prototype=w_Q.prototype;_HTMLView._ConfigureWidget=_HTMLView.ConfigureWidget;function w_G(a){document.write('<script src="'+a+'" type="text/javascript"><\/script>')}function w_Na(a){document.write('<style type="text/css"> @import url( "'+a+'" );</style>')}function w_H(a){if(w_I())w_i("Tried to add an onload after page loaded..");else{var b=window;if(b.addEventListener)b.addEventListener("load",a,w_a);else if(b.attachEvent)b.attachEvent("onload",a);else b.onload=a}}function w_Ia(){window._UDS_loaded=w_c}function w_I(){return window._UDS_loaded}function w_R(a){this.a=a}
w_R.WIDGET_TYPE_NAME="VideoBar";w_R.prototype.d=function(){return w_R.WIDGET_TYPE_NAME};w_R.prototype.b=function(){return this.a};w_R.prototype.h=function(){return w_a};w_R.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};
w_R.prototype.i=function(){if(!window._UDS_bootstrapped){var a;a=window.location.host.match(/blogger\.com$/)?"ABQIAAAAVBJEtyJuLxgUs8KlzeA1lRQpkWYODHKIJGlKH8M-8R98XOejsxRkHYkMWejKfPos1RBuAqHID9wA9Q":this.a.p().key;w_G("http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-vbpe&key="+a);w_Na("http://www.google.com/uds/css/gsearch.css");w_H(w_Ia);window._UDS_bootstrapped=w_c}if(!window._UDS_vb_bootstrapped){window._uds_vbw_donotrepair=w_c;w_G("http://www.hirekneked.hu/js/gsvideobar.js?mode=new");
w_Na("gsvideobar.css");window._UDS_vb_bootstrapped=w_c}var b=this.b(),c=b.C("bar");w_n(c,"videoBar-container");w_I()?window.setTimeout(w_Oa.bind(b),0):w_H(w_Oa.bind(b))};
function w_Oa(){var a=this.C("bar"),b=this.p().format,c,d,e=this.p().expression;if(b=="VERTICAL"){c=w_a;d=GSvideoBar.THUMBNAILS_MEDIUM;a.style.width="110px"}else if(b=="HORIZONTAL-SMALL"){c=w_c;d=GSvideoBar.THUMBNAILS_SMALL;a.style.width="232px"}else if(b=="HORIZONTAL-MEDIUM"){c=w_c;d=GSvideoBar.THUMBNAILS_MEDIUM;a.style.width="432px"}var f={largeResultSet:w_a,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_R;_VideoBarView._Configure=_VideoBarView.Configure;function w_Pa(a){document.write('<script src="'+a+'" type="text/javascript"><\/script>')}function w_Qa(a){document.write('<style type="text/css"> @import url( "'+a+'" );</style>')}function w_Ra(a){if(w_Sa())w_i("Tried to add an onload after page loaded..");else{var b=window;if(b.addEventListener)b.addEventListener("load",a,w_a);else if(b.attachEvent)b.attachEvent("onload",a);else b.onload=a}}function w_Ta(){window._UDS_loaded=w_c}function w_Sa(){return window._UDS_loaded}
function w_S(a){this.a=a}w_S.WIDGET_TYPE_NAME="NewsBar";w_S.prototype.d=function(){return w_S.WIDGET_TYPE_NAME};w_S.prototype.b=function(){return this.a};w_S.prototype.h=function(){return w_a};w_S.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};
w_S.prototype.i=function(){if(!window._UDS_bootstrapped){var a;a=window.location.host.match(/blogger\.com$/)?"ABQIAAAAVBJEtyJuLxgUs8KlzeA1lRQpkWYODHKIJGlKH8M-8R98XOejsxRkHYkMWejKfPos1RBuAqHID9wA9Q":this.a.p().key;w_Pa("http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-nbpe&key="+a);w_Qa("http://www.google.com/uds/css/gsearch.css");w_Ra(w_Ta);window._UDS_bootstrapped=w_c}if(!window._UDS_nb_bootstrapped){window._uds_nbw_donotrepair=w_c;w_Pa("http://www.google.com/uds/solutions/newsbar/gsnewsbar.js?mode=new");
w_Qa("http://www.google.com/uds/solutions/newsbar/gsnewsbar.css");window._UDS_nb_bootstrapped=w_c}var b=this.b();w_Sa()?window.setTimeout(w_Ua.bind(b),0):w_Ra(w_Ua.bind(b))};
function w_Ua(){var a=this.C("bar"),b,c=this.p().format;if(c=="VERTICAL")b=w_a;else if(c=="HORIZONTAL-SMALL")b=w_c;else if(c=="HORIZONTAL-MEDIUM")b=w_c;var d=this.p().expression,e=this.p().linkNewWindow,f;f=e==w_c?GSearch.LINK_TARGET_BLANK:GSearch.LINK_TARGET_SELF;var g={largeResultSet:w_a,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_S;_NewsBarView._Configure=_NewsBarView.Configure;function w_Va(a){document.write('<script src="'+a+'" type="text/javascript"><\/script>')}function w_Wa(a){var b=window;if(b.addEventListener)b.addEventListener("load",a,w_a);else if(b.attachEvent)b.attachEvent("onload",a);else b.onload=a}function w_T(a){this.a=a}w_T.WIDGET_TYPE_NAME="Slideshow";w_T.prototype.d=function(){return w_T.WIDGET_TYPE_NAME};w_T.prototype.b=function(){return this.a};w_T.prototype.h=function(){return w_a};w_T.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};
w_T.prototype.i=function(){if(!window._UDS_jsapi_bootstrapped){var a;a=window.location.host.match(/blogger\.com$/)?"ABQIAAAAVBJEtyJuLxgUs8KlzeA1lRQpkWYODHKIJGlKH8M-8R98XOejsxRkHYkMWejKfPos1RBuAqHID9wA9Q":this.a.p().key;w_Va("http://www.google.com/jsapi?source=uds-afspe&key="+a);window._UDS_jsapi_bootstrapped=w_c}if(!window._UDS_fs_bootstrapped){w_Va("http://www.google.com/uds/solutions/slideshow/gfslideshow.js?mode=new");window._UDS_fs_bootstrapped=w_c}var b=this.b(),c=w_Xa.bind(b);!window.google||
!window.google.feeds?w_Ya(c):window.setTimeout(c,0)};function w_Ya(a){w_Wa(function(){google.load("feeds","1",{callback:a})})}function w_Xa(){var a=this.C("slideshow"),b=this.p().computedFeed,c=this.p().linkNewWindow,d=c?google.feeds.LINK_TARGET_BLANK:google.feeds.LINK_TARGET_SELF,e={linkTarget:d,scaleImages:w_c,fullControlPanel:w_c,fullControlPanelSmallIcons:w_c,pauseOnHover:w_a};if(b.indexOf("http://api.flickr.com")==0)e.thumbnailUrlResolver=w_T.flickrThumbResolver;new GFslideShow(b,a,e)}
w_T.flickrThumbResolver=function(a){var b=google.feeds.getElementsByTagNameNS(a.xmlNode,"http://search.yahoo.com/mrss/","thumbnail"),c=w_b;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};var _SlideshowView=w_T;_SlideshowView._Configure=_SlideshowView.Configure;function w_U(){}w_U.rf={title:w_b,showStyle:w_b,showPosts:w_b,chronological:w_b,frequency:w_b,yearPattern:w_b,monthPattern:w_b,weekPattern:w_b,showWeekEnd:w_b,dayPattern:w_b,securityToken:w_b};w_U.ACTIVE_PREVIEW_CLASS="active-preview";w_U.PREVIEW_CLASS="preview";w_U._SetConfigurationOptions=function(){w_v.ConfigureWidget(w_U.rf)};
w_U.UpdateFrequency=function(){var a=w_z.GetFieldValue(document.forms.config.showStyle),b={year:a=="HIERARCHY",week:0,month:0,day:0},c=w_z.GetFieldValue(document.forms.config.frequency);if(c=="WEEKLY")b.week=1;else if(c=="MONTHLY")b.month=1;else if(c=="DAILY"){b.month=a=="HIERARCHY";b.day=1}var d=document.forms.config.showPosts;d.disabled=a=="HIERARCHY"?w_a:w_c;for(var e in b){var f=e+"pattern-wrap";w_oa(document.getElementById(f),b[e])}w_U.SelectPreview()};
w_U._Init=function(a){w_U.Me=a;w_U.Aa=document.getElementById("archive-previews");w_U.He=w_V(w_U.Aa,w_U.PREVIEW_CLASS);w_U.UpdateFrequency();w_U.Reformat("yearly",document.forms.config.yearPattern);w_U.Reformat("monthly",document.forms.config.monthPattern);w_U.Reformat("weekly",document.forms.config.weekPattern);w_U.Reformat("daily",document.forms.config.dayPattern);w_U.UpdateWeekEnd();w_U.UpdatePreviewPostTitles();document.forms.config.chronological.checked&&w_U.ToggleDirection()};
w_U.SelectPreview=function(){var a=w_z.GetFieldValue(document.forms.config.showStyle),b=w_z.GetFieldValue(document.forms.config.frequency);for(var c=0;c<w_U.He.length;c++){var d=w_U.He[c];if(w_m(d,a)&&w_m(d,b)){w_n(d,w_U.ACTIVE_PREVIEW_CLASS);w_m(d,"MENU")&&w_U.bf(d)}else{w_o(d,w_U.ACTIVE_PREVIEW_CLASS);w_m(d,"MENU")&&w_U.Ze(d)}}};w_U.Ze=function(a){var b=a.getElementsByTagName("select");for(var c=0;c<b.length;c++)b[c].style.display="none"};
w_U.bf=function(a){var b=a.getElementsByTagName("select");for(var c=0;c<b.length;c++)b[c].style.display="block"};w_U.Reformat=function(a,b){var c=w_U.Me[a];for(var d in c){var e=c[d][b.selectedIndex];e&&w_U.ReplaceSample(d,e)}a=="weekly"&&w_U.UpdateWeekEnd()};w_U.ReplaceSample=function(a,b){var c=w_V(w_U.Aa,a);for(var d=0;d<c.length;d++){var e=c[d];e.innerHTML=b}};
w_U.UpdateWeekEnd=function(){w_Za(w_U.Aa,document.forms.config.showWeekEnd.checked,"weekend");var a=w_U.Me.weekly,b=document.getElementById("weekly-menu-select"),c=0,d=document.forms.config.weekPattern.selectedIndex;for(var e=0;e<b.options.length;e++){var f=b.options[e],g=a["weekly"+c][d];c++;var h=a["weekly"+c][d],i=g;if(document.forms.config.showWeekEnd.checked)i=i+" - "+h;f.text=i}};w_U.UpdatePreviewPostTitles=function(){w_Za(w_U.Aa,document.forms.config.showPosts.checked,"preview-posts")};
w_U.ToggleDirection=function(){var a=w_U.Aa.getElementsByTagName("UL");for(var b=0;b<a.length;b++){var c=a[b],d=c.ownerDocument.createDocumentFragment();while(c.hasChildNodes())d.appendChild(c.lastChild);c.appendChild(d)}var e=w_U.Aa.getElementsByTagName("SELECT");for(var b=0;b<e.length;b++){var f=e[b],g=f.options.length;for(var h=0;h<=g/2;h++){var i=f.options[h].innerHTML,j=g-h-1;f.options[h].innerHTML=f.options[j].innerHTML;f.options[j].innerHTML=i}f.options[0].selected=0}};
function w_Za(a,b,c){var d=w_V(a,c);for(var e=0;e<d.length;e++){var f=d[e];w_l(f,b)}}function w_V(a,b){var c={};c.select=function(d){return d&&w_m(d,b)};return w_p(a,c)}var _ArchiveConfig=w_U;_ArchiveConfig._UpdateFrequency=_ArchiveConfig.UpdateFrequency;_ArchiveConfig._Reformat=_ArchiveConfig.Reformat;_ArchiveConfig._UpdateWeekEnd=_ArchiveConfig.UpdateWeekEnd;_ArchiveConfig._UpdatePreviewPostTitles=_ArchiveConfig.UpdatePreviewPostTitles;_ArchiveConfig._ToggleDirection=_ArchiveConfig.ToggleDirection;function w_W(a){this.a=a;this.e=a.q()}w_W.WIDGET_TYPE_NAME="Label";w_W.prototype.d=function(){return w_W.WIDGET_TYPE_NAME};w_W.prototype.b=function(){return this.a};w_W.prototype.c=function(a,b){this.a.k(b)};function w_X(){}w_X.Xe={sorting:w_b,title:w_b,securityToken:w_b};w_X._Configure=function(){w_v.ConfigureWidget(w_X.Xe)};w_X.HIDDEN_CLASS="hidden";w_X.PREVIEW_ROOT_ID="preview-wrap";w_X.PREVIEW_CLASS="preview";
w_X._ShowPreview=function(a){var b=document.getElementById(w_X.PREVIEW_ROOT_ID),c=w_V(b,w_X.PREVIEW_CLASS);for(var d=0;d<c.length;d++)w_n(c[d],w_X.HIDDEN_CLASS);w_o(document.getElementById(a),w_X.HIDDEN_CLASS)};var _LabelView=w_W,_LabelConfig=w_X;function w_Y(a){this.a=a;this.e=a.q()}w_Y.WIDGET_TYPE_NAME="TextList";w_Y.prototype.d=function(){return w_Y.WIDGET_TYPE_NAME};w_Y.prototype.b=function(){return this.a};w_Y.prototype.h=function(){return w_a};w_Y.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};var _TextListView=w_Y;function w_Z(a){this.a=a;this.e=a.q()}w_Z.WIDGET_TYPE_NAME="LinkList";w_Z.prototype.d=function(){return w_Z.WIDGET_TYPE_NAME};w_Z.prototype.h=function(){return w_a};w_Z.prototype.b=function(){return this.a};w_Z.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};var _LinkListView=w_Z;_LinkListView.prototype=w_Z.prototype;function w__(a){this.a=a;this.e=a.q()}w__.prototype.d=function(){return"BloggerButton"};w__.prototype.b=function(){return this.a};w__.prototype.c=function(a,b){this.a.k(b)};var _BloggerButtonView=w__;var w_0=function(a){this.a=a;this.e=a.q()};w_0.prototype.d=function(){return"Poll"};w_0.prototype.b=function(){return this.a};w_0.prototype.c=function(a,b){if(a=="configure"){this.savePending=w_a;this.a.k(b)}};w_0.prototype.ba=function(a,b){if(a=="configure")this.savePending=w_a;w_y.ba(b,window)};
w_0.adjustFrameHeight=function(){var a=document.getElementsByTagName("iframe");for(var 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_0.adjustFrameHeight,500);var _PollView=w_0;function w_1(a){this.a=a;this.e=a.q()}w_1.WIDGET_TYPE_NAME="Navbar";w_1.prototype.d=function(){return w_1.WIDGET_TYPE_NAME};w_1.prototype.b=function(){return this.a};w_1.prototype.h=function(){return w_a};w_1.prototype.c=function(a,b){this.a.k(b)};w_1.FilterMap={navbartype:w_b,securityToken:w_b};w_1.ConfigureWidget=function(){w_v.ConfigureWidget(w_1.FilterMap)};var _NavbarView=w_1;_NavbarView.prototype=w_1.prototype;_NavbarView._ConfigureWidget=_NavbarView.ConfigureWidget;function w_2(a){this.a=a;this.e=a.q()}w_2.WIDGET_TYPE_NAME="Profile";w_2.prototype.h=function(){return w_a};w_2.prototype.d=function(){return w_2.WIDGET_TYPE_NAME};w_2.prototype.b=function(){return this.a};w_2.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};w_2.prototype.i=function(){this.e.rootElement.style.display=this.a.p().isDisplayable==w_a?"none":""};var _ProfileView=w_2;function w__a(a){var b=a.toLowerCase();for(var c=0;c<document.styleSheets.length;c++){var d=document.styleSheets[c],e=d.cssRules?d.cssRules:d.rules;for(var f=0;f<e.length;f++){var g=e[f];if(g.selectorText.toLowerCase().indexOf(b)!=-1)return g}return w_b}};var w_0a="/feedReaderJson/";function w_1a(a){w_0a=a}function w_3(){this.requests={};this.currentId=0;this.completed=[]}w_3.prototype.wd=function(a,b){var c=++this.currentId,d={};d.handler=a;d.errorHandler=b;this.requests[c]=d;return c};w_3.prototype.Db=function(a){var b=this.requests[a];this.requests[a]=w_b;this.completed.push(a);return b};w_3.prototype.Vc=function(){while(this.completed.length){var a=this.completed.pop(),b=document.getElementById("FW_ScriptElement"+a);b&&b.parentNode.removeChild(b)}};
w_3.prototype.Ad=function(a,b,c,d,e,f){this.Vc();var g=this.wd(c,d),h=w_0a+"?feedUrl="+encodeURIComponent(a)+"&n="+b+"&requestId="+encodeURIComponent(g)+"&locale="+encodeURIComponent(e)+"&timeZone="+encodeURIComponent(f),i="FW_ScriptElement"+g,j=document.createElement("script");j.type="text/javascript";j.charset="utf-8";j.src=h;j.id=i;document.getElementsByTagName("head")[0].appendChild(j)};var w_4=new w_3;function w_2a(a){return w_4.Db(a).handler}function w_3a(a){return w_4.Db(a).errorHandler}
function w_4a(a,b,c,d,e,f){w_4.Ad(a,b,c,d,e,f)}var _FW_setFeedReaderJsonBaseUrl=w_1a,_FW_getHandler=w_2a,_FW_getErrorHandler=w_3a;function w_5(a,b,c,d){this.Y=a;this.jc=b;this.Af=c;this.ub=d;this.Nc=new w_A("status-message");this.pb="";this.Be=w_a}w_5.$e=5;w_5.Ve="moduleTitle";w_5.Pf="feedUrl";w_5.Zc="step1";w_5.$c="step1Buttons";w_5.ad="step2";w_5.bd="preview";w_5.af="item-title";w_5.Cd="item-date";w_5.Bd="item-author";w_5.Za="feedUrl";
w_5.prototype.Ab=function(a){this.Nc.zb();w_z.ClearError(w_5.Za);if((!a.items||a.items.length===0)&&a.title==="")this.fb();else{var b=document.getElementById(w_5.Ve);if(b.value===""||this.Be){this.Ac=b.value=a.title}this.Ya(a);this.kd();this.vd(b)}};w_5.prototype.vd=function(a){a.style.display="none";a.style.display=""};w_5.prototype.fb=function(){this.Nc.zb();w_z.SetError(w_5.Za,this.ub._invalidFeedUrl);this.bb()};w_5.prototype.Zb=function(){};
w_5.prototype.Ya=function(a){this.xd(this.jc);for(var b=0;b<a.items.length;b++){var c=a.items[b];this.Tc(c,this.jc)}this.Ob();this.Lb();this.Mb();this.Nb()};w_5.prototype.bb=function(){this.P(w_5.Zc,w_c);this.P(w_5.$c,w_c);this.P(w_5.ad,w_a);this.P(w_5.bd,w_a)};w_5.prototype.kd=function(){this.P(w_5.Zc,w_a);this.P(w_5.$c,w_a);this.P(w_5.ad,w_c);this.P(w_5.bd,w_c)};w_5.prototype.P=function(a,b){w_na(document.getElementById(a),b)};w_5.prototype.be=function(a){return a?"":"none"};
w_5.prototype.$b=function(a,b){if(!this.Y){var c=w__a(a);c.style.display=this.be(b)}};w_5.prototype.Ub=function(a){this.Ac=a;this.Nb()};w_5.prototype.Nb=function(){if(!this.Y)this.Af.innerHTML=this.Ac};w_5.prototype.Xb=function(a){this.Jc=a;this.Lb()};w_5.prototype.Lb=function(){this.$b(w_5.Bd,this.Jc)};w_5.prototype.Yb=function(a){this.Kc=a;this.Mb()};w_5.prototype.Mb=function(){this.$b(w_5.Cd,this.Kc)};w_5.prototype.Vb=function(a){this.De=a;this.Ob()};
w_5.prototype.Ob=function(){var a=this.jc.getElementsByTagName("li");for(var b=0;b<a.length;b++)w_na(a[b],b<this.De)};
w_5.prototype.Tc=function(a,b){var c=document.createElement("li");b.appendChild(c);var d=document.createElement("span");d.className=w_5.af;c.appendChild(d);var e=document.createElement("a");d.appendChild(e);e.href=a.alternate.href;e.target=this.Y?"_self":"_blank";e.innerHTML=a.title;if(!this.Y||this.Kc){var f=document.createElement("span");f.className=w_5.Cd;f.innerHTML="&nbsp;-&nbsp;"+a.str_published;c.appendChild(f)}if(!this.Y||this.Jc){var g=document.createElement("span");g.className=w_5.Bd;g.innerHTML=
"&nbsp;-&nbsp;"+a.author;c.appendChild(g)}};w_5.prototype.xd=function(a){while(a.firstChild)a.removeChild(a.firstChild)};w_5.prototype.Rb=function(a,b,c,d,e,f,g){if(!a||a==="")w_z.SetError(w_5.Za,this.ub._missingFeedUrl);else if(a.length>2083)w_z.SetError(w_5.Za,this.ub._feedUrlTooLong);else{this.Nc.F(this.ub._retrievingFeed);this.Wb(a,b,c,d,e,f,g);this.eb(w_5.prototype.Ab,w_5.prototype.fb)}};
w_5.prototype.yd=function(a,b,c,d,e,f,g){this.Wb(a,b,c,d,w_b,e,f);var h=w_t(w_5.prototype.eb,this,w_5.prototype.Ya,w_5.prototype.Zb);window.setInterval(h,g*1000)};w_5.prototype.eb=function(a,b){var c=w_t(a,this),d=w_t(b,this);w_4a(this.pb,w_5.$e,c,d,this.yf,this.Jf)};w_5.prototype.Wb=function(a,b,c,d,e,f,g){this.Be=this.pb!=""&&this.pb!=a;this.pb=a;this.De=b;this.Kc=c;this.Jc=d;this.Ac=e;this.yf=f;this.Jf=g};w_5.prototype._GoToStep1=w_5.prototype.bb;w_5.prototype._RetrieveFeedAndGoToStep2=w_5.prototype.Rb;
w_5.prototype._SetModuleTitleAndRefresh=w_5.prototype.Ub;w_5.prototype._SetShowItemAuthorAndRefresh=w_5.prototype.Xb;w_5.prototype._SetShowItemDateAndRefresh=w_5.prototype.Yb;w_5.prototype._SetNumItemsShowAndRefresh=w_5.prototype.Vb;var _FW_FeedController=w_5;function w_6(a){this.a=a}w_6.prototype.b=function(){return this.a};w_6.prototype.d=function(){return"Feed"};w_6.prototype.c=function(a,b){this.a.k(b)};w_6.prototype.i=function(){var a=this.a.C("feedItemListDisplay"),b=new w_5(w_c,a,w_b,w_b),c=this.a.q().data;b.yd(c.feedUrl,c.numItemsShow,c.showItemDate,c.showItemAuthor,c.locale,c.timeZone,c.feedWidgetRefreshIntervalSec)};
w_6.We={moduleTitle:w_b,feedUrl:w_z.GetRequiredStringFilter(),numItemsShow:w_z.GetNumberFilter(1,5),showItemDate:w_b,showItemAuthor:w_b,securityToken:w_b};w_6.setConfigurationOptions=function(){w_v.ConfigureWidget(w_6.We)};var _FeedView=w_6;_FeedView._setConfigurationOptions=w_6.setConfigurationOptions;function w_7(a){this.a=a;this.e=a.q()}w_7.WIDGET_TYPE_NAME="Followers";w_7.prototype.h=function(){return w_a};w_7.prototype.d=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.k(b)};w_7._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_7.prototype.yb=function(){document.location.reload()};var _FollowersView=w_7;function w_8(a){this.a=a;this.e=a.q()}w_8.prototype.d=function(){return"Gadget"};w_8.prototype.b=function(){return this.a};w_8.prototype.c=function(a,b){this.a.k(b)};w_8.prototype.zd=function(a){var b=document.getElementById(this.f);if(b)b.style.height=a+"px"};w_8.prototype.Pb=function(){gadgets.rpc.register("resize_iframe",this.zd)};
w_8.prototype.i=function(){if(!w_8.InitializedRpc){var a=document.createElement("script");a.src="http://www.gmodules.com/gadgets/js/rpc.js?c=1";a.type="text/javascript";var b=this;a.onload=function(){b.Pb()};a.onreadystatechange=function(){if(this.readyState=="loaded"||this.readyState=="complete")b.Pb()};document.getElementsByTagName("body")[0].appendChild(a);w_8.InitializedRpc=function(){}}};var _GadgetView=w_8;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_c;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_a}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_9(a){this.a=a;this.e=a.q()}w_9.WIDGET_TYPE_NAME="Subscribe";w_9.prototype.h=function(){return w_a};
w_9.prototype.d=function(){return w_9.WIDGET_TYPE_NAME};w_9.prototype.b=function(){return this.a};w_9.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};var _SubscribeView=w_9;if(window.jstiming)window.jstiming.report=function(a,b){var c="";if(window.jstiming.pt){c+="&srt="+window.jstiming.pt;delete window.jstiming.pt}if(window.external&&window.external.tran)c+="&tran="+window.external.tran;var d=a.t,e=d.start;delete d.start;var f=[],g=[];for(var h in d)if(!(h.indexOf("_")==0)){var i=d[h][1];if(i)d[i][0]&&g.push(h+"."+(d[h][0]-d[i][0]));else e&&f.push(h+"."+(d[h][0]-e[0]))}if(b)for(var j in b)c+="&"+j+"="+b[j];(new Image).src=["http://csi.gstatic.com/csi?v=3","&s=blogger&action=",
a.name,g.length?"&it="+g.join(",")+c:c,"&rt=",f.join(",")].join("")};var w_=w_||{};w_.global=this;w_.ob=w_b;w_.provide=function(a){w_.Zd(a)};w_.Zd=function(a,b,c){var d=a.split("."),e=c||w_.global,f;!(d[0]in e)&&e.execScript&&e.execScript("var "+d[0]);while(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){var c=a.split("."),d=b||w_.global;for(var e;e=c.shift();)if(d[e])d=d[e];else return w_b;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_a;w_.basePath="";w_.nullFunction=function(){};w_.identityFunction=function(){return arguments[0]};w_.abstractMethod=function(){w_d(Error("unimplemented abstract method"))};w_.addSingletonGetter=function(a){a.getInstance=function(){return a.vf||(a.vf=new a)}};
w_.typeOf=function(a){var b=typeof a;if(b=="object")if(a){if(typeof a.length=="number"&&typeof a.splice!="undefined"&&!w_.Df(a,"length"))return"array";if(typeof a.call!="undefined")return"function"}else return"null";else if(b=="function"&&typeof a.call=="undefined")return"object";return b};w_.Ie=function(a,b){if(b in a)for(var c in a)if(c==b&&Object.prototype.hasOwnProperty.call(a,b))return w_c;return w_a};
w_.Df=Object.prototype.propertyIsEnumerable?function(a,b){return a instanceof Object?Object.prototype.propertyIsEnumerable.call(a,b):w_.Ie(a,b)}:w_.Ie;w_.isDef=function(a){return typeof a!="undefined"};w_.isNull=function(a){return a===w_b};w_.isDefAndNotNull=function(a){return w_.isDef(a)&&!w_.isNull(a)};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)){var b=a[w_.aa];if(b)return b}a[w_.aa]||(a[w_.aa]=++w_.tf);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_";w_.tf=0;w_.cloneObject=function(a){var b=w_.typeOf(a);if(b=="object"||b=="array"){if(a.clone)return a.clone();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.ac;if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);c&&d.unshift.apply(d,c);c=d}b=a.hb||b;a=a.gb||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.ac=c;e.hb=b;e.gb=a;return e};w_.partial=function(a){var b=Array.prototype.slice.call(arguments,1);b.unshift(a,w_b);return w_.bind.apply(w_b,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_.ob==w_b){w_.global.eval("var _et_ = 1;");if(typeof w_.global._et_!="undefined"){delete w_.global._et_;w_.ob=w_c}else w_.ob=w_a}if(w_.ob)w_.global.eval(a);else{var b=w_.global.document,c=b.createElement("script");c.type="text/javascript";c.defer=w_a;c.appendChild(b.createTextNode(a));b.body.appendChild(c);b.body.removeChild(c)}}else w_d(Error("goog.globalEval not available"))};
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_.Zd(a,b,c)};w_.exportProperty=function(a,b,c){a[b]=c};w_.inherits=function(a,b){function c(){}c.prototype=b.prototype;a.wb=b.prototype;a.prototype=new c;a.prototype.constructor=a};
if(w_.MODIFY_FUNCTION_PROTOTYPES=w_c){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_b,b)}else return w_.bind(this,a)};Function.prototype.partial=function(){var a=Array.prototype.slice.call(arguments);a.unshift(this,w_b);return w_.bind.apply(w_b,a)};Function.prototype.inherits=function(a){w_.inherits(this,a)};Function.prototype.mixin=function(a){w_.mixin(this.prototype,a)}};w_.array={};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);var d=c==w_b?0:c<0?Math.max(0,a.length+c):c;for(var 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_b?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{var d=a.length,e=w_.isString(a)?a.split(""):a;for(var f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)}};
w_.array.forEachRight=function(a,b,c){var d=a.length,e=w_.isString(a)?a.split(""):a;for(var 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);var d=a.length,e=[],f=0,g=w_.isString(a)?a.split(""):a;for(var 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);var d=a.length,e=[],f=0,g=w_.isString(a)?a.split(""):a;for(var 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);var d=a.length,e=w_.isString(a)?a.split(""):a;for(var f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return w_c;return w_a};
w_.array.every=function(a,b,c){if(a.every)return a.every(b,c);if(Array.every)return Array.every(a,b,c);var d=a.length,e=w_.isString(a)?a.split(""):a;for(var f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return w_a;return w_c};w_.array.find=function(a,b,c){var d=w_.array.findIndex(a,b,c);return d<0?w_b:w_.isString(a)?a.charAt(d):a[d]};w_.array.findIndex=function(a,b,c){var d=a.length,e=w_.isString(a)?a.split(""):a;for(var 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=a.length,e=w_.isString(a)?a.split(""):a;for(var f=d-1;f>=0;f--)if(f in e&&b.call(c,e[f],f,a))return e[f];return w_b};w_.array.contains=function(a,b){if(a.contains)return a.contains(b);return w_.array.indexOf(a,b)>-1};w_.array.z=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.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_c}return w_a};
w_.array.clone=function(a){if(w_.isArray(a))return a.concat();else{var b=[];for(var 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){var c=b||a,d={},e=0,f=0;while(f<a.length){var g=a[f++],h=w_.isObject(g)?w_.getHashCode(g):g;if(!(h in d)){d[h]=w_c;c[e++]=g}}c.length=e};w_.array.binarySearch=function(a,b,c){var d=0,e=a.length-1,f=c||w_.array.defaultCompare;while(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(var 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_a;var d=a.length,e=c||w_.array.defaultCompareEquality;for(var f=0;f<d;f++)if(!e.call(w_b,a[f],b[f]))return w_a;return w_c};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_c}return w_a};
w_.array.binaryRemove=function(a,b,c){var d=w_.array.binarySearch(a,b,c);return d>=0?w_.array.removeAt(a,d):w_a};w_.array.bucket=function(a,b){var c={};for(var 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){var c=[];for(var d=0;d<b;d++)c[d]=a;return c};w_.array.flatten=function(){var a=[];for(var b=0;b<arguments.length;b++){var c=arguments[b];w_.isArray(c)?a.push.apply(a,w_.array.flatten.apply(w_b,c)):a.push(c)}return a};w_.debug={};w_.debug.errorHandlerWeakDep={protectEntryPoint:function(a){return a}};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_c;return w_a};w_.object.every=function(a,b,c){for(var d in a)if(!b.call(c,a[d],d,a))return w_a;return w_c};
w_.object.H=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.Q(a,b)};w_.object.m=function(a){var b=[],c=0;for(var d in a)b[c++]=a[d];return b};w_.object.j=function(a){var b=[],c=0;for(var d in a)b[c++]=d;return b};w_.object.r=function(a,b){return b in a};w_.object.Q=function(a,b){for(var c in a)if(a[c]==b)return w_c;return w_a};
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.z=function(a){for(var b in a)return w_a;return w_c};w_.object.clear=function(a){var b=w_.object.j(a);for(var 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_d(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={},c=w_.object.j(a);for(var d=0,e=c.length;d<e;d++){var f=c[d];b[a[f]]=f}return b};
w_.object.rd=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];w_.object.extend=function(a){var b,c;for(var d=1;d<arguments.length;d++){c=arguments[d];for(b in c)a[b]=c[b];for(var e=0;e<w_.object.rd.length;e++){b=w_.object.rd[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_b,arguments[0]);if(a%2)w_d(Error("Uneven number of arguments"));var b={};for(var 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_b,arguments[0]);var b={};for(var c=0;c<a;c++)b[arguments[c]]=w_c;return b};w_.Disposable=function(){};w_.Disposable.prototype.ic=w_a;w_.Disposable.prototype.dispose=function(){if(!this.ic){this.D();this.ic=w_c}};w_.Disposable.prototype.D=function(){};w_.dispose=function(a){typeof a.dispose=="function"&&a.dispose()};w_.structs={};w_.structs.SimplePool=function(a,b){w_.Disposable.call(this);this.ye=b;this.fa=[];this.Ud(a)};w_.inherits(w_.structs.SimplePool,w_.Disposable);w_.structs.SimplePool.prototype.kb=w_b;w_.structs.SimplePool.prototype.lb=w_b;w_.structs.SimplePool.prototype.Ba=function(a){this.kb=a};w_.structs.SimplePool.prototype.Ic=function(a){this.lb=a};w_.structs.SimplePool.prototype.T=function(){if(this.fa.length)return this.fa.pop();return this.ec()};
w_.structs.SimplePool.prototype.oa=function(a){this.fa.length<this.ye?this.fa.push(a):this.hc(a)};w_.structs.SimplePool.prototype.Ud=function(a){if(a>this.ye)w_d(Error("[goog.structs.SimplePool] Initial cannot be greater than max"));for(var b=0;b<a;b++)this.fa.push(this.ec())};w_.structs.SimplePool.prototype.ec=function(){return this.kb?this.kb():{}};w_.structs.SimplePool.prototype.hc=function(a){if(this.lb)this.lb(a);else if(w_.isFunction(a.dispose))a.dispose();else for(var b in a)delete a[b]};
w_.structs.SimplePool.prototype.D=function(){w_.structs.SimplePool.wb.D.call(this);var a=this.fa;while(a.length)this.hc(a.pop());delete this.fa};w_.string={};w_.string.Unicode={NBSP:"\u00a0"};w_.string.Mc=function(a,b){return a.indexOf(b)==0};w_.string.Wd=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.z=function(a){return/^[\s\xa0]*$/.test(a)};w_.string.isEmptySafe=function(a){return w_.string.z(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.Ee=/(\.\d+)|(\d+)|(\D+)/g;
w_.string.numerateCompare=function(a,b){if(a==b)return 0;if(!a)return-1;if(!b)return 1;var c=a.toLowerCase().match(w_.string.Ee),d=b.toLowerCase().match(w_.string.Ee),e=Math.min(c.length,d.length);for(var 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.pf=/^[a-zA-Z0-9\-_.!~*'()]*$/;
w_.string.urlEncode=function(a){a=String(a);if(!w_.string.pf.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.Pd,"&amp;").replace(w_.string.xe,"&lt;").replace(w_.string.he,"&gt;").replace(w_.string.Je,"&quot;");else{if(!w_.string.ef.test(a))return a;if(a.indexOf("&")!=-1)a=a.replace(w_.string.Pd,"&amp;");if(a.indexOf("<")!=-1)a=a.replace(w_.string.xe,"&lt;");if(a.indexOf(">")!=-1)a=a.replace(w_.string.he,"&gt;");if(a.indexOf('"')!=-1)a=a.replace(w_.string.Je,"&quot;");return a}};w_.string.Pd=/&/g;w_.string.xe=/</g;w_.string.he=/>/g;
w_.string.Je=/\"/g;w_.string.ef=/[&<>\"]/;w_.string.unescapeEntities=function(a){if(w_.string.contains(a,"&"))return"document"in w_.global&&!w_.string.contains(a,"<")?w_.string.Lf(a):w_.string.Mf(a);return a};w_.string.Lf=function(a){var b=w_.global.document.createElement("a");b.innerHTML=a;b[w_.string.pd]&&b[w_.string.pd]();a=b.firstChild.nodeValue;b.innerHTML="";return a};
w_.string.Mf=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.pd="normalize";w_.string.whitespaceEscape=function(a,b){return w_.string.newLineToBr(a.replace(/  /g," &#160;"),b)};
w_.string.stripQuotes=function(a,b){var c=b.length;for(var 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.wc={"\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{var b=['"'];for(var 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.wc)return w_.string.wc[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.wc[a]=b};
w_.string.toMap=function(a){var b={};for(var c=0;c<a.length;c++)b[a.charAt(c)]=w_c;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_b?"":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){var c=0,d=w_.string.trim(String(a)).split("."),e=w_.string.trim(String(b)).split("."),f=Math.max(d.length,e.length);for(var 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.dc(n,o)||w_.string.dc(l[2].length==0,m[2].length==
0)||w_.string.dc(l[2],m[2])}while(c==0)}return c};w_.string.dc=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};w_.string.Ye=4294967296;w_.string.hashCode=function(a){var b=0;for(var c=0;c<a.length;++c){b=31*b+a.charCodeAt(c);b%=w_.string.Ye}return b};w_.string.Nf=w_.now();w_.string.createUniqueString=function(){return"goog_"+w_.string.Nf++};w_.string.toNumber=function(a){var b=Number(a);if(b==0&&w_.string.z(a))return NaN;return b};w_.userAgent={};w_.userAgent.ASSUME_IE=w_a;w_.userAgent.ASSUME_GECKO=w_a;w_.userAgent.ASSUME_WEBKIT=w_a;w_.userAgent.ASSUME_MOBILE_WEBKIT=w_a;w_.userAgent.ASSUME_OPERA=w_a;w_.userAgent.Xa=w_.userAgent.ASSUME_IE||w_.userAgent.ASSUME_GECKO||w_.userAgent.ASSUME_MOBILE_WEBKIT||w_.userAgent.ASSUME_WEBKIT||w_.userAgent.ASSUME_OPERA;w_.userAgent.getUserAgentString=function(){if(w_.global.navigator)return w_.global.navigator.userAgent;return w_b};
w_.userAgent.uf=function(){var a=w_a,b=w_a,c=w_a,d=w_a,e=w_a,f=w_a,g=w_a,h=w_a,i=w_a,j="",k=w_.userAgent.getUserAgentString();if(k){var l=w_.global.navigator;a=k.indexOf("Opera")==0;b=!a&&k.indexOf("MSIE")!=-1;i=(c=!a&&k.indexOf("WebKit")!=-1)&&k.indexOf("Mobile")!=-1;e=(d=!a&&!c&&l.product=="Gecko")&&l.vendor=="Camino";var m,n;if(w_.global.opera&&typeof w_.global.opera.version=="function")m=w_.global.opera.version();else{if(d)n=/rv\:([^\);]+)(\)|;)/;else if(b)n=/MSIE\s+([^\);]+)(\)|;)/;else if(c)n=
/WebKit\/(\S+)/;if(n){n.test(k);m=RegExp.$1}}j=l.platform||"";f=j.indexOf("Mac")!=-1;g=j.indexOf("Win")!=-1;h=j.indexOf("Linux")!=-1}w_.userAgent.Te=a;w_.userAgent.Re=b;w_.userAgent.Qe=d;w_.userAgent.CAMINO=e;w_.userAgent.Ue=c;w_.userAgent.Se=i;w_.userAgent.VERSION=m;w_.userAgent.PLATFORM=j;w_.userAgent.MAC=f;w_.userAgent.WINDOWS=g;w_.userAgent.LINUX=h};w_.userAgent.uf();w_.userAgent.OPERA=w_.userAgent.Xa?w_.userAgent.ASSUME_OPERA:w_.userAgent.Te;
w_.userAgent.IE=w_.userAgent.Xa?w_.userAgent.ASSUME_IE:w_.userAgent.Re;w_.userAgent.GECKO=w_.userAgent.Xa?w_.userAgent.ASSUME_GECKO:w_.userAgent.Qe;w_.userAgent.WEBKIT=w_.userAgent.Xa?w_.userAgent.ASSUME_WEBKIT||w_.userAgent.ASSUME_MOBILE_WEBKIT:w_.userAgent.Ue;w_.userAgent.MOBILE=w_.userAgent.ASSUME_MOBILE_WEBKIT||w_.userAgent.Se;w_.userAgent.SAFARI=w_.userAgent.WEBKIT;w_.userAgent.compare=function(a,b){return w_.string.compareVersions(a,b)};
w_.userAgent.isVersion=function(a){return w_.string.compareVersions(w_.userAgent.VERSION,a)>=0};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.D=function(){delete this.type;delete this.target;delete this.currentTarget};w_.events.Event.prototype.V=w_a;w_.events.Event.prototype.pa=w_c;w_.events.Event.prototype.stopPropagation=function(){this.V=w_c};w_.events.Event.prototype.preventDefault=function(){this.pa=w_a};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.Qf=[1,4,2];w_.events.BrowserEvent.prototype.type=w_b;w_.events.BrowserEvent.prototype.target=w_b;w_.events.BrowserEvent.prototype.relatedTarget=w_b;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_a;w_.events.BrowserEvent.prototype.altKey=w_a;w_.events.BrowserEvent.prototype.shiftKey=w_a;w_.events.BrowserEvent.prototype.metaKey=w_a;w_.events.BrowserEvent.prototype.M=w_b;
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_b;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.M=a;delete this.pa;delete this.V};w_.events.BrowserEvent.prototype.stopPropagation=function(){this.V=w_c;if(this.M.stopPropagation)this.M.stopPropagation();else this.M.cancelBubble=w_c};
w_.events.BrowserEvent.prototype.preventDefault=function(){this.pa=w_a;if(this.M.preventDefault)this.M.preventDefault();else{this.M.returnValue=w_a;try{this.M.keyCode=-1}catch(a){}}};w_.events.BrowserEvent.prototype.D=function(){w_.events.BrowserEvent.wb.D.call(this);this.M=w_b};w_.events.Listener=function(){};w_.events.Listener.gf=0;w_.events.Listener.prototype.tb=w_b;w_.events.Listener.prototype.listener=w_b;w_.events.Listener.prototype.proxy=w_b;w_.events.Listener.prototype.src=w_b;w_.events.Listener.prototype.type=w_b;w_.events.Listener.prototype.capture=w_b;w_.events.Listener.prototype.handler=w_b;w_.events.Listener.prototype.key=0;w_.events.Listener.prototype.removed=w_a;w_.events.Listener.prototype.ib=w_a;
w_.events.Listener.prototype.init=function(a,b,c,d,e,f){if(w_.isFunction(a))this.tb=w_c;else if(a&&a.handleEvent&&w_.isFunction(a.handleEvent))this.tb=w_a;else w_d(Error("Invalid listener argument"));this.listener=a;this.proxy=b;this.src=c;this.type=d;this.capture=!!e;this.handler=f;this.ib=w_a;this.key=++w_.events.Listener.gf;this.removed=w_a};
w_.events.Listener.prototype.handleEvent=function(a){if(this.tb)return this.listener.call(this.handler||this.src,a);return this.listener.handleEvent.call(this.listener,a)};w_.events.Z={};w_.events.s={};w_.events.W={};w_.events.OBJECT_POOL_INITIAL_COUNT=0;w_.events.OBJECT_POOL_MAX_COUNT=600;w_.events.za=new w_.structs.SimplePool(w_.events.OBJECT_POOL_INITIAL_COUNT,w_.events.OBJECT_POOL_MAX_COUNT);w_.events.za.Ba(function(){return{g:0}});w_.events.za.Ic(function(a){a.g=0});w_.events.ARRAY_POOL_INITIAL_COUNT=0;w_.events.ARRAY_POOL_MAX_COUNT=600;w_.events.ca=new w_.structs.SimplePool(w_.events.ARRAY_POOL_INITIAL_COUNT,w_.events.ARRAY_POOL_MAX_COUNT);w_.events.ca.Ba(function(){return[]});
w_.events.ca.Ic(function(a){a.length=0;delete a.Oa;delete a.Bc});w_.events.HANDLE_EVENT_PROXY_POOL_INITIAL_COUNT=0;w_.events.HANDLE_EVENT_PROXY_POOL_MAX_COUNT=600;w_.events.ie=new w_.structs.SimplePool(w_.events.HANDLE_EVENT_PROXY_POOL_INITIAL_COUNT,w_.events.HANDLE_EVENT_PROXY_POOL_MAX_COUNT);w_.events.ie.Ba(function(){var a=function(b){return w_.events.qc.call(a.src,a.key,b)};return a});w_.events.LISTENER_POOL_INITIAL_COUNT=0;w_.events.LISTENER_POOL_MAX_COUNT=600;w_.events.kf=function(){return new w_.events.Listener};
w_.events.yc=new w_.structs.SimplePool(w_.events.LISTENER_POOL_INITIAL_COUNT,w_.events.LISTENER_POOL_MAX_COUNT);w_.events.yc.Ba(w_.events.kf);w_.events.EVENT_POOL_INITIAL_COUNT=0;w_.events.EVENT_POOL_MAX_COUNT=600;w_.events.hf=function(){return new w_.events.BrowserEvent};w_.events.jf=function(){var a=w_b;if(w_.userAgent.IE){a=new w_.structs.SimplePool(w_.events.EVENT_POOL_INITIAL_COUNT,w_.events.EVENT_POOL_MAX_COUNT);a.Ba(w_.events.hf)}return a};w_.events.Xd=w_.events.jf();w_.events.Bf="on";
w_.events.Cc={};w_.events.Sf="_";
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_b}else{var g=!!d,h=w_.events.s;b in h||(h[b]=w_.events.za.T());h=h[b];if(!(g in h)){h[g]=w_.events.za.T();h.g++}h=h[g];var i=w_.getHashCode(a),j,k;if(h[i]){j=h[i];for(var 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.ca.T();h.g++}var l=w_.events.ie.T();l.src=a;k=w_.events.yc.T();k.init(c,l,a,b,g,e);var m=
k.key;l.key=m;j.push(k);w_.events.Z[m]=k;w_.events.W[i]||(w_.events.W[i]=w_.events.ca.T());w_.events.W[i].push(k);if(a.addEventListener){if(a==w_.global||!a.gc)a.addEventListener(b,l,g)}else a.attachEvent(w_.events.de(b),l);return m}else w_d(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_b}var g=w_.events.listen(a,b,c,d,e),h=w_.events.Z[g];h.ib=w_c;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_b}var g=!!d,h=w_.events.lc(a,b,g);if(!h)return w_a;for(var 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_a};
w_.events.unlistenByKey=function(a){if(!w_.events.Z[a])return w_a;var b=w_.events.Z[a];if(b.removed)return w_a;var c=b.src,d=b.type,e=b.proxy,f=b.capture;if(c.removeEventListener){if(c==w_.global||!c.gc)c.removeEventListener(d,e,f)}else c.detachEvent&&c.detachEvent(w_.events.de(d),e);var g=w_.getHashCode(c),h=w_.events.s[d][f][g];if(w_.events.W[g]){var i=w_.events.W[g];w_.array.remove(i,b);i.length==0&&delete w_.events.W[g]}b.removed=w_c;h.Bc=w_c;w_.events.Td(d,f,g,h);delete w_.events.Z[a];return w_c};
w_.events.Td=function(a,b,c,d){if(!d.Oa)if(d.Bc){for(var e=0,f=0;e<d.length;e++)if(d[e].removed)w_.events.yc.oa(d[e]);else{if(e!=f)d[f]=d[e];f++}d.length=f;d.Bc=w_a;if(f==0){w_.events.ca.oa(d);delete w_.events.s[a][b][c];w_.events.s[a][b].g--;if(w_.events.s[a][b].g==0){w_.events.za.oa(w_.events.s[a][b]);delete w_.events.s[a][b];w_.events.s[a].g--}if(w_.events.s[a].g==0){w_.events.za.oa(w_.events.s[a]);delete w_.events.s[a]}}}};
w_.events.removeAll=function(a,b,c){var d=0,e=a==w_b,f=b==w_b,g=c==w_b;c=!!c;if(e)w_.object.forEach(w_.events.W,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.W[h]){var i=w_.events.W[h];for(var 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.lc(a,b,c)||[]};w_.events.lc=function(a,b,c){var d=w_.events.s;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_b};w_.events.getListener=function(a,b,c,d,e){var f=!!d,g=w_.events.lc(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_b};
w_.events.hasListener=function(a,b,c){var d=w_.events.s;if(b in d){d=d[b];if(c in d){d=d[c];var e=w_.getHashCode(a);if(d[e])return w_c}}return w_a};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",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.de=function(a){if(a in w_.events.Cc)return w_.events.Cc[a];return w_.events.Cc[a]=w_.events.Bf+a};w_.events.fireListeners=function(a,b,c,d){var e=1,f=w_.events.s;if(b in f){f=f[b];if(c in f){f=f[c];var g=w_.getHashCode(a);if(f[g]){var h=f[g];if(h.Oa)h.Oa++;else h.Oa=1;try{var i=h.length;for(var j=0;j<i;j++){var k=h[j];if(k&&!k.removed)e&=w_.events.fireListener(k,d)!==w_a}}finally{h.Oa--;w_.events.Td(b,c,g,h)}}}}return Boolean(e)};
w_.events.fireListener=function(a,b){var c=a.handleEvent(b);a.ib&&w_.events.unlistenByKey(a.key);return c};w_.events.getTotalListenerCount=function(){return w_.object.H(w_.events.Z)};
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.s;if(!(f in g))return w_c;g=g[f];var h=w_c in g,i=w_a in g;if(h){e=[];for(var j=a;j;j=j.mc())e.push(j);for(var k=e.length-1;!b.V&&k>=0;k--){b.currentTarget=e[k];d&=w_.events.fireListeners(e[k],b.type,w_c,b)&&b.pa!=w_a}}if(i)if(h)for(var k=0;!b.V&&k<e.length;k++){b.currentTarget=
e[k];d&=w_.events.fireListeners(e[k],b.type,w_a,b)&&b.pa!=w_a}else for(var l=a;!b.V&&l;l=l.mc()){b.currentTarget=l;d&=w_.events.fireListeners(l,b.type,w_a,b)&&b.pa!=w_a}return Boolean(d)};w_.events.protectBrowserEventEntryPoint=function(a,b){w_.events.qc=a.protectEntryPoint(w_.events.qc,b)};
w_.events.qc=function(a,b){if(!w_.events.Z[a])return w_c;var c=w_.events.Z[a],d=c.type,e=w_.events.s;if(!(d in e))return w_c;e=e[d];var f;if(w_.userAgent.IE){var g=b||w_.getObjectByName("window.event"),h=w_c in e;if(h){if(w_.events.wf(g))return w_c;w_.events.zf(g)}w_.getHashCode(c.src);var i=w_.events.Xd.T();i.init(g,this);f=w_c;try{if(h){var j=w_.events.ca.T();for(var k=i.currentTarget;k;k=k.parentNode)j.push(k);for(var l=j.length-1;!i.V&&l>=0;l--){i.currentTarget=j[l];f&=w_.events.fireListeners(j[l],
d,w_c,i)}for(var l=0;!i.V&&l<j.length;l++){i.currentTarget=j[l];f&=w_.events.fireListeners(j[l],d,w_a,i)}}else f=w_.events.fireListener(c,i)}finally{if(j){j.length=0;w_.events.ca.oa(j)}i.dispose();w_.events.Xd.oa(i)}return f}var m=new w_.events.BrowserEvent(b,this);try{f=w_.events.fireListener(c,m)}finally{m.dispose()}return f};w_.events.zf=function(a){var b=w_a;if(a.keyCode==0)try{a.keyCode=-1;return}catch(c){b=w_c}if(b||a.returnValue==undefined)a.returnValue=w_c};
w_.events.wf=function(a){return a.keyCode<0||a.returnValue!=undefined};w_.events.EventTarget=function(){};w_.inherits(w_.events.EventTarget,w_.Disposable);w_.events.EventTarget.prototype.gc=w_c;w_.events.EventTarget.prototype.Ec=w_b;w_.events.EventTarget.prototype.mc=function(){return this.Ec};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.D=function(){w_.events.EventTarget.wb.D.call(this);w_.events.removeAll(this);this.Ec=w_b};w_.iter={};w_.iter.StopIteration="StopIteration"in w_.global?w_.global.StopIteration:Error("StopIteration");w_.iter.Iterator=function(){};w_.iter.Iterator.prototype.next=function(){w_d(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_a);if(w_.isArrayLike(a)){var b=0,c=new w_.iter.Iterator;c.next=function(){while(w_c){if(b>=a.length)w_d(w_.iter.StopIteration);if(b in a)return a[b++];else b++}};return c}w_d(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_d(d)}else{a=w_.iter.toIterator(a);try{while(w_c)b.call(c,a.next(),undefined,a)}catch(d){if(d!==w_.iter.StopIteration)w_d(d)}}};w_.iter.filter=function(a,b,c){a=w_.iter.toIterator(a);var d=new w_.iter.Iterator;d.next=function(){while(w_c){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_d(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_d(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(){while(w_c){var e=a.next();return b.call(c,e,undefined,a)}};return d};
w_.iter.some=function(a,b,c){a=w_.iter.toIterator(a);try{while(w_c)if(b.call(c,a.next(),undefined,a))return w_c}catch(d){if(d!==w_.iter.StopIteration)w_d(d)}return w_a};w_.iter.every=function(a,b,c){a=w_.iter.toIterator(a);try{while(w_c)if(!b.call(c,a.next(),undefined,a))return w_a}catch(d){if(d!==w_.iter.StopIteration)w_d(d)}return w_c};
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_d(w_.iter.StopIteration);var e=w_.iter.toIterator(a[c]);return e.next()}catch(f){if(f!==w_.iter.StopIteration||c>=b)w_d(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_c;d.next=function(){while(w_c){var f=a.next();if(!(e&&b.call(c,f,undefined,a))){e=w_a;return f}}};return d};
w_.iter.takeWhile=function(a,b,c){a=w_.iter.toIterator(a);var d=new w_.iter.Iterator,e=w_c;d.next=function(){while(w_c)if(e){var f=a.next();if(b.call(c,f,undefined,a))return f;else e=w_a}else w_d(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{while(w_c){c=d=w_a;var e=a.next();c=w_c;var f=b.next();d=w_c;if(e!=f)return w_a}}catch(g){if(g!==w_.iter.StopIteration)w_d(g);else{if(c&&!d)return w_a;if(!d)try{b.next();return w_a}catch(g){if(g!==w_.iter.StopIteration)w_d(g);return w_c}}}return w_a};w_.iter.nextOrValue=function(a,b){try{return w_.iter.toIterator(a).next()}catch(c){if(c!=w_.iter.StopIteration)w_d(c);return b}};w_.structs.H=function(a){if(typeof a.H=="function")return a.H();if(w_.isArrayLike(a)||w_.isString(a))return a.length;return w_.object.H(a)};w_.structs.m=function(a){if(typeof a.m=="function")return a.m();if(w_.isString(a))return a.split("");if(w_.isArrayLike(a)){var b=[],c=a.length;for(var d=0;d<c;d++)b.push(a[d]);return b}return w_.object.m(a)};
w_.structs.j=function(a){if(typeof a.j=="function")return a.j();if(typeof a.m=="function")return undefined;if(w_.isArrayLike(a)||w_.isString(a)){var b=[],c=a.length;for(var d=0;d<c;d++)b.push(d);return b}return w_.object.j(a)};w_.structs.contains=function(a,b){if(typeof a.contains=="function")return a.contains(b);if(typeof a.Q=="function")return a.Q(b);if(w_.isArrayLike(a)||w_.isString(a))return w_.array.contains(a,b);return w_.object.Q(a,b)};
w_.structs.z=function(a){if(typeof a.z=="function")return a.z();if(w_.isArrayLike(a)||w_.isString(a))return w_.array.z(a);return w_.object.z(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{var d=w_.structs.j(a),e=w_.structs.m(a),f=e.length;for(var 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.j(a),f=w_.structs.m(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(var 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.j(a),f=w_.structs.m(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(var 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);var d=w_.structs.j(a),e=w_.structs.m(a),f=e.length;for(var g=0;g<f;g++)if(b.call(c,e[g],d&&d[g],a))return w_c;return w_a};
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);var d=w_.structs.j(a),e=w_.structs.m(a),f=e.length;for(var g=0;g<f;g++)if(!b.call(c,e[g],d&&d[g],a))return w_a;return w_c};w_.structs.Map=function(a){this.A={};this.o=[];var b=arguments.length;if(b>1){if(b%2)w_d(Error("Uneven number of arguments"));for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.Nd(a)};w_.structs.Map.prototype.g=0;w_.structs.Map.prototype.Da=0;w_.structs.Map.prototype.H=function(){return this.g};w_.structs.Map.prototype.m=function(){this.ta();var a=[];for(var b=0;b<this.o.length;b++){var c=this.o[b];a.push(this.A[c])}return a};w_.structs.Map.prototype.j=function(){this.ta();return this.o.concat()};
w_.structs.Map.prototype.r=function(a){return w_.structs.Map.ga(this.A,a)};w_.structs.Map.prototype.Q=function(a){for(var b=0;b<this.o.length;b++){var c=this.o[b];if(w_.structs.Map.ga(this.A,c)&&this.A[c]==a)return w_c}return w_a};w_.structs.Map.prototype.equals=function(a,b){if(this===a)return w_c;if(this.g!=a.H())return w_a;var c=b||w_.structs.Map.defaultEquals;this.ta();for(var d,e=0;d=this.o[e];e++)if(!c(this.get(d),a.get(d)))return w_a;return w_c};
w_.structs.Map.defaultEquals=function(a,b){return a===b};w_.structs.Map.prototype.z=function(){return this.g==0};w_.structs.Map.prototype.clear=function(){this.A={};this.g=this.o.length=0;this.Da=0};w_.structs.Map.prototype.remove=function(a){if(w_.structs.Map.ga(this.A,a)){delete this.A[a];this.g--;this.Da++;this.o.length>2*this.g&&this.ta();return w_c}return w_a};
w_.structs.Map.prototype.ta=function(){if(this.g!=this.o.length){var a=0,b=0;while(a<this.o.length){var c=this.o[a];if(w_.structs.Map.ga(this.A,c))this.o[b++]=c;a++}this.o.length=b}if(this.g!=this.o.length){var d={},a=0,b=0;while(a<this.o.length){var c=this.o[a];if(!w_.structs.Map.ga(d,c)){this.o[b++]=c;d[c]=1}a++}this.o.length=b}};w_.structs.Map.prototype.get=function(a,b){if(w_.structs.Map.ga(this.A,a))return this.A[a];return b};
w_.structs.Map.prototype.set=function(a,b){if(!w_.structs.Map.ga(this.A,a)){this.g++;this.o.push(a);this.Da++}this.A[a]=b};w_.structs.Map.prototype.Nd=function(a){var b,c;if(a instanceof w_.structs.Map){b=a.j();c=a.m()}else{b=w_.object.j(a);c=w_.object.m(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(){var a=new w_.structs.Map;for(var b=0;b<this.o.length;b++){var c=this.o[b],d=this.A[c];a.set(d,c)}return a};w_.structs.Map.prototype.__iterator__=function(a){this.ta();var b=0,c=this.o,d=this.A,e=this.Da,f=this,g=new w_.iter.Iterator;g.next=function(){while(w_c){if(e!=f.Da)w_d(Error("The map has changed since the iterator was created"));if(b>=c.length)w_d(w_.iter.StopIteration);var h=c[b++];return a?h:d[h]}};return g};
w_.structs.Map.ga=Object.prototype.hasOwnProperty?function(a,b){return Object.prototype.hasOwnProperty.call(a,b)}:function(a,b){return b in a&&a[b]!==Object.prototype[b]};w_.structs.Map.H=function(a){return w_.structs.H(a)};w_.structs.Map.m=function(a){return w_.structs.m(a)};w_.structs.Map.j=function(a){if(typeof a.j=="function")return a.j();var b=[];if(w_.isArrayLike(a))for(var c=0;c<a.length;c++)b.push(c);else return w_.object.j(a);return b};
w_.structs.Map.r=function(a,b){if(typeof a.r=="function")return a.r(b);if(w_.isArrayLike(a))return Number(b)<a.length;return w_.object.r(a,b)};w_.structs.Map.Q=function(a,b){return w_.structs.contains(a,b)};w_.structs.Map.z=function(a){return w_.structs.z(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.r(a,b))w_d(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.r(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_.Uri=function(a,b){var c;if(a instanceof w_.Uri){this.$(b==w_b?a.ce():b);this.Va(a.nc());this.Wa(a.oc());this.Qa(a.wa());this.Ta(a.ya());this.Sa(a.xa());this.Ua(a.fe().clone());this.Ra(a.kc())}else if(a&&(c=String(a).match(w_.Uri.sf()))){this.$(!!b);this.Va(c[1],w_c);this.Wa(c[2],w_c);this.Qa(c[3],w_c);this.Ta(c[4]);this.Sa(c[5],w_c);this.Ua(c[6]);this.Ra(c[7],w_c)}else{this.$(!!b);this.J=new w_.Uri.QueryData(w_b,this,this.K)}};w_.Uri.RANDOM_PARAM="zx";w_.Uri.prototype.N="";
w_.Uri.prototype.qa="";w_.Uri.prototype.da="";w_.Uri.prototype.na=w_b;w_.Uri.prototype.ma="";w_.Uri.prototype.ea="";w_.Uri.prototype.re=w_a;w_.Uri.prototype.K=w_a;
w_.Uri.prototype.toString=function(){if(this.v)return this.v;var a=[];this.N&&a.push(w_.Uri.nb(this.N,w_.Uri.Ke),":");if(this.da){a.push("//");this.qa&&a.push(w_.Uri.nb(this.qa,w_.Uri.Ke),"@");a.push(w_.Uri.of(this.da));this.na!=w_b&&a.push(":",String(this.ya()))}this.ma&&a.push(w_.Uri.nb(this.ma,w_.Uri.Ff));var b=String(this.J);b&&a.push("?",b);this.ea&&a.push("#",w_.Uri.nb(this.ea,w_.Uri.Ef));return this.v=a.join("")};
w_.Uri.prototype.resolve=function(a){var b=this.clone(),c=a.me();if(c)b.Va(a.nc());else c=a.ne();if(c)b.Wa(a.oc());else c=a.Ma();if(c)b.Qa(a.wa());else c=a.rb();var d=a.xa();if(c)b.Ta(a.ya());else{if(c=a.rc()){if(d.charAt(0)!="/")if(this.Ma()&&!this.rc())d="/"+d;else{var e=b.xa().lastIndexOf("/");if(e!=-1)d=b.xa().substr(0,e+1)+d}d=w_.Uri.Gf(d)}}if(c)b.Sa(d);else c=a.ke();if(c)b.Ua(a.ee());else c=a.je();c&&b.Ra(a.kc());return b};
w_.Uri.prototype.clone=function(){return w_.Uri.create(this.N,this.qa,this.da,this.na,this.ma,this.J.clone(),this.ea,this.K)};w_.Uri.prototype.nc=function(){return this.N};w_.Uri.prototype.Va=function(a,b){this.R();delete this.v;if(this.N=b?w_.Uri.La(a):a)this.N=this.N.replace(/:$/,"");return this};w_.Uri.prototype.me=function(){return!!this.N};w_.Uri.prototype.oc=function(){return this.qa};w_.Uri.prototype.Wa=function(a,b){this.R();delete this.v;this.qa=b?w_.Uri.La(a):a;return this};
w_.Uri.prototype.ne=function(){return!!this.qa};w_.Uri.prototype.wa=function(){return this.da};w_.Uri.prototype.Qa=function(a,b){this.R();delete this.v;this.da=b?w_.Uri.La(a):a;return this};w_.Uri.prototype.Ma=function(){return!!this.da};w_.Uri.prototype.ya=function(){return this.na};w_.Uri.prototype.Ta=function(a){this.R();delete this.v;if(a){a=Number(a);if(isNaN(a)||a<0)w_d(Error("Bad port number "+a));this.na=a}else this.na=w_b;return this};w_.Uri.prototype.rb=function(){return this.na!=w_b};
w_.Uri.prototype.xa=function(){return this.ma};w_.Uri.prototype.Sa=function(a,b){this.R();delete this.v;this.ma=b?w_.Uri.La(a):a;return this};w_.Uri.prototype.rc=function(){return!!this.ma};w_.Uri.prototype.ke=function(){return this.J.toString()!==""};w_.Uri.prototype.Ua=function(a){this.R();delete this.v;if(a instanceof w_.Uri.QueryData){this.J=a;this.J.Qc=this;this.J.$(this.K)}else this.J=new w_.Uri.QueryData(a,this,this.K);return this};w_.Uri.prototype.ee=function(){return this.J.toString()};
w_.Uri.prototype.fe=function(){return this.J};w_.Uri.prototype.Oe=function(a,b){this.R();delete this.v;w_.isArray(b)||(b=[String(b)]);this.J.Pe(a,b);return this};w_.Uri.prototype.kc=function(){return this.ea};w_.Uri.prototype.Ra=function(a,b){this.R();delete this.v;this.ea=b?w_.Uri.La(a):a;return this};w_.Uri.prototype.je=function(){return!!this.ea};w_.Uri.prototype.le=function(a){return(!this.Ma()&&!a.Ma()||this.wa()==a.wa())&&(!this.rb()&&!a.rb()||this.ya()==a.ya())};w_.Uri.prototype.R=function(){if(this.re)w_d(Error("Tried to modify a read-only Uri"))};
w_.Uri.prototype.$=function(a){this.K=a;this.J&&this.J.$(a)};w_.Uri.prototype.ce=function(){return this.K};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_b,h);a&&i.Va(a);b&&i.Wa(b);c&&i.Qa(c);d&&i.Ta(d);e&&i.Sa(e);f&&i.Ua(f);g&&i.Ra(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.Gf=function(a){if(a==".."||a==".")return"";else if(!w_.string.contains(a,"./")&&!w_.string.contains(a,"/."))return a;else{var b=w_.string.Mc(a,"/"),c=a.split("/"),d=[];for(var 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_c}}return d.join("/")}};w_.Uri.La=function(a){return a?decodeURIComponent(a):""};
w_.Uri.of=function(a){if(w_.isString(a))return encodeURIComponent(a);return w_b};w_.Uri.nf=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/;w_.Uri.nb=function(a,b){var c=w_b;if(w_.isString(a)){c=a;w_.Uri.nf.test(c)||(c=encodeURI(a));if(c.search(b)>=0)c=c.replace(b,w_.Uri.mf)}return c};w_.Uri.mf=function(a){var b=a.charCodeAt(0);return"%"+(b>>4&15).toString(16)+(b&15).toString(16)};w_.Uri.Fc=w_b;
w_.Uri.sf=function(){if(!w_.Uri.Fc)w_.Uri.Fc=/^(?:([^:\/?#]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;return w_.Uri.Fc};w_.Uri.Ke=/[#\/\?@]/g;w_.Uri.Ff=/[\#\?]/g;w_.Uri.Ef=/#/g;w_.Uri.haveSameDomain=function(a,b){var c=new w_.Uri(a),d=new w_.Uri(b);return c.le(d)};
w_.Uri.QueryData=function(a,b,c){this.n=new w_.structs.Map;this.Qc=b||w_b;this.K=!!c;if(a){var d=a.split("&");for(var e=0;e<d.length;e++){var f=d[e].indexOf("="),g=w_b,h=w_b;if(f>=0){g=d[e].substring(0,f);h=d[e].substring(f+1)}else g=d[e];g=w_.string.urlDecode(g);g=this.S(g);this.add(g,h?w_.string.urlDecode(h):"")}}};w_.Uri.QueryData.createFromMap=function(a,b,c){return w_.Uri.QueryData.createFromKeysValues(w_.structs.j(a),w_.structs.m(a),b,c)};
w_.Uri.QueryData.createFromKeysValues=function(a,b,c,d){if(a.length!=b.length)w_d(Error("Mismatched lengths for keys/values"));var e=new w_.Uri.QueryData(w_b,c,d);for(var f=0;f<a.length;f++)e.add(a[f],b[f]);return e};w_.Uri.QueryData.prototype.g=0;w_.Uri.QueryData.prototype.H=function(){return this.g};w_.Uri.QueryData.prototype.add=function(a,b){this.ja();a=this.S(a);if(this.r(a)){var c=this.n.get(a);w_.isArray(c)?c.push(b):this.n.set(a,[c,b])}else this.n.set(a,b);this.g++;return this};
w_.Uri.QueryData.prototype.remove=function(a){a=this.S(a);if(this.n.r(a)){this.ja();var b=this.n.get(a);if(w_.isArray(b))this.g-=b.length;else this.g--;return this.n.remove(a)}return w_a};w_.Uri.QueryData.prototype.clear=function(){this.ja();this.n.clear();this.g=0};w_.Uri.QueryData.prototype.z=function(){return this.g==0};w_.Uri.QueryData.prototype.r=function(a){a=this.S(a);return this.n.r(a)};w_.Uri.QueryData.prototype.Q=function(a){var b=this.m();return w_.array.contains(b,a)};
w_.Uri.QueryData.prototype.j=function(){var a=this.n.m(),b=this.n.j(),c=[];for(var 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.m=function(a){var b;if(a){var c=this.S(a);if(this.r(c)){var d=this.n.get(c);if(w_.isArray(d))return d;else{b=[];b.push(d)}}else b=[]}else{var e=this.n.m();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.ja();a=this.S(a);if(this.r(a)){var c=this.n.get(a);if(w_.isArray(c))this.g-=c.length;else this.g--}this.n.set(a,b);this.g++;return this};w_.Uri.QueryData.prototype.get=function(a,b){a=this.S(a);if(this.r(a)){var c=this.n.get(a);return w_.isArray(c)?c[0]:c}else return b};
w_.Uri.QueryData.prototype.Pe=function(a,b){this.ja();a=this.S(a);if(this.r(a)){var c=this.n.get(a);if(w_.isArray(c))this.g-=c.length;else this.g--}if(b.length>0){this.n.set(a,b);this.g+=b.length}};
w_.Uri.QueryData.prototype.toString=function(){if(this.v)return this.v;var a=[],b=0,c=this.n.j();for(var d=0;d<c.length;d++){var e=c[d],f=w_.string.urlEncode(e),g=this.n.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.v=a.join("")};w_.Uri.QueryData.prototype.ja=function(){delete this.v;this.Qc&&delete this.Qc.v};
w_.Uri.QueryData.prototype.clone=function(){var a=new w_.Uri.QueryData;a.n=this.n.clone();return a};w_.Uri.QueryData.prototype.S=function(a){var b=String(a);if(this.K)b=b.toLowerCase();return b};w_.Uri.QueryData.prototype.$=function(a){var b=a&&!this.K;if(b){this.ja();w_.structs.forEach(this.n,function(c,d){var e=d.toLowerCase();if(d!=e){this.remove(d);this.add(e,c)}},this)}this.K=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)}};var w_$={};w_$.util={};w_$.util.logging={};w_$.util.logging.PROD_BLOGGER_HOST_URL="www.blogger.com";w_$.util.logging.oe=w_$.util.logging.PROD_BLOGGER_HOST_URL;w_$.util.logging.setHostPort=function(a){w_$.util.logging.oe=a};w_$.util.logging.we="/nc";w_$.util.logging.setLoggingPath=function(a){w_$.util.logging.we=a};w_$.util.logging.ParamKey={EVENT_TYPE:"e",SOURCE_PAGE:"pg",DURATION:"dur"};w_$.util.logging.EventType={UNLOAD_PAGE:"u",CLICK:"c"};w_$.util.logging.SourcePage={EXPLORE:"be",BLOG:"blog",POST:"post"};
w_$.util.logging.formatId=function(a,b){if(a)return b?a+":"+b:a;return""};w_$.util.logging.Le=w_a;w_$.util.logging.setReferredFromExplore=function(a){w_$.util.logging.Le=a};w_$.util.logging.isReferredFromExplore=function(){return w_$.util.logging.Le};w_$.util.logging.xf=function(a,b,c){if(a){var d=w_.Uri.parse(a),e=d.wa().toLowerCase(),f=d.xa();if(f==c){if(e==w_$.util.logging.PROD_BLOGGER_HOST_URL)return w_c;if(b.indexOf(w_$.util.logging.PROD_BLOGGER_HOST_URL)<0)return w_c}}return w_a};
w_$.util.logging.log=function(a){var b=w_$.util.logging.oe+w_$.util.logging.we,c=w_.Uri.parse(b),d=w_a;for(var e in a){d=w_c;c.Oe(e,a[e])}if(d){(new Image).src=c.toString();return c}return w_b};w_$.util.logging.logWithParameterMap=function(a){if(!w_$.util.logging.la[a])return w_b;return w_$.util.logging.log(w_$.util.logging.la[a])};w_$.util.logging.la={};
w_$.util.logging.addParametersToMap=function(a,b){var c=w_$.util.logging.la[a];if(!c){c={};w_$.util.logging.la[a]=c}else for(var d in b)if(c[d])return w_b;for(var d in b)c[d]=b[d];return w_$.util.logging.la[a]};w_$.util.logging.clearParameterMap=function(a){delete w_$.util.logging.la[a]};w_$.util.logging.db="paramMapPageUnload_InternalUseOnly";w_$.util.logging.addToPageUnloadParameterMap=function(a){return w_$.util.logging.addParametersToMap(w_$.util.logging.db,a)};w_$.util.logging.ua={};
w_$.util.logging.registerEvent=function(a){if(w_$.util.logging.ua[a])return-1;w_$.util.logging.ua[a]=w_.now();return w_$.util.logging.ua[a]};w_$.util.logging.getEventElapse=function(a){if(!w_$.util.logging.ua[a])return-1;return w_.now()-w_$.util.logging.ua[a]};w_$.util.logging.clearEvent=function(a){delete w_$.util.logging.ua[a]};w_$.util.logging.Bb="eventPageLoading_InternalUseOnly";w_$.util.logging.getDurationMillis=function(){return w_$.util.logging.getEventElapse(w_$.util.logging.Bb)};
w_$.util.logging.pageOnBeforeUnload=function(){if(w_$.util.logging.la[w_$.util.logging.db]==undefined)return w_b;var a={};a[w_$.util.logging.ParamKey.DURATION]=w_$.util.logging.getDurationMillis();w_$.util.logging.addToPageUnloadParameterMap(a);return w_$.util.logging.logWithParameterMap(w_$.util.logging.db)};
w_$.util.logging.initialize=function(a,b,c){w_$.util.logging.setHostPort(a);w_$.util.logging.setReferredFromExplore(w_$.util.logging.xf(b,a,"/explore"));w_$.util.logging.clearEvent(w_$.util.logging.Bb);w_$.util.logging.registerEvent(w_$.util.logging.Bb);w_$.util.logging.clearParameterMap(w_$.util.logging.db);c&&w_.events.listen(window,"beforeunload",function(){w_$.util.logging.pageOnBeforeUnload()})};w_$.explore={};w_$.explore.loggingcommons={};w_$.explore.loggingcommons.ParamKey={POSITION:"pos",LIST_ID:"fid",LIST_SIZE:"lsz",EXPERIMENT:"ex",ITEM_ID:"iid",ITEM_URL:"url",ITEM_SCORE:"sco",ITEM_DTIME:"dt"};
w_$.explore.loggingcommons.addToPageUnloadParameterMap=function(a,b,c,d,e){var f={};f[w_$.util.logging.ParamKey.EVENT_TYPE]=w_$.util.logging.EventType.UNLOAD_PAGE;f[w_$.util.logging.ParamKey.SOURCE_PAGE]=a;if(b)f[w_$.explore.loggingcommons.ParamKey.LIST_ID]=b;if(c)f[w_$.explore.loggingcommons.ParamKey.EXPERIMENT]=c;var g=w_$.util.logging.formatId(d,e);if(g)f[w_$.explore.loggingcommons.ParamKey.ITEM_ID]=g;return w_$.util.logging.addToPageUnloadParameterMap(f)};w_$.explore.blogpostpages={};w_$.explore.blogpostpages.logging={};w_$.explore.blogpostpages.logging.initForExploreLogging=function(a,b,c,d,e){w_$.util.logging.initialize(c,b,w_c);if(w_$.util.logging.isReferredFromExplore()){var f=w_b,g=w_b;a?w_$.explore.blogpostpages.logging.df(f,g,d,e):w_$.explore.blogpostpages.logging.cf(f,g,d)}};w_$.explore.blogpostpages.logging.cf=function(a,b,c){return w_$.explore.loggingcommons.addToPageUnloadParameterMap(w_$.util.logging.SourcePage.BLOG,a,b,c,w_b)};
w_$.explore.blogpostpages.logging.df=function(a,b,c,d){return w_$.explore.loggingcommons.addToPageUnloadParameterMap(w_$.util.logging.SourcePage.POST,a,b,c,d)};w_.exportSymbol("BLOG_InitExploreLoggingOnBlogPostPages",w_$.explore.blogpostpages.logging.initForExploreLogging);function w_5a(){window.jstiming.load.tick("ol")}function w_6a(a,b){a.addEventListener?a.addEventListener("load",b,w_a):a.attachEvent("onload",b)}function w_7a(a,b){return a.className&&a.className.indexOf(b)!=-1?a:a.parentNode?w_7a(a.parentNode,b):w_b}function w_8a(a){var b=0;if(a.offsetParent){do{b+=a.offsetTop}while(a=a.offsetParent)}return b}function w_9a(){window.jstiming.load.tick("prt");w_8a(this)<=750&&window.jstiming.load.tick("aft")}
function w_$a(a){a||(a={});window.jstiming.load.tick("domload");window.jstiming.load.tick("prt");window.jstiming.load.tick("aft");var b="blogspot";for(var c in a)b+="-"+c;window.jstiming.load.name=b;var d=document.getElementsByTagName("img");for(var e=0;e<d.length;e++)d[e].complete||w_7a(d[e],"post")!=w_b&&w_6a(d[e],w_9a);w_6a(window,w_5a);window.addEventListener?window.addEventListener("beforeunload",w_ab,w_a):window.attachEvent("onbeforeunload",w_ab)}
function w_ab(){window.jstiming.report(window.jstiming.load)}var _attachCsiOnload=w_$a;
