var w_a=false,w_b=null,w_c=true;function w_d(a){throw a;}window.jstiming&&window.jstiming.load.tick("widgetJsStart");function w_aa(){window.jstiming.load.tick("ol")}function w_e(a,b){a.addEventListener?a.addEventListener("load",b,w_a):a.attachEvent("onload",b)}function w_f(a,b){return a.className&&a.className.indexOf(b)!=-1?a:a.parentNode?w_f(a.parentNode,b):w_b}function w_ba(){window.jstiming.load.tick("prt");window.tickAboveFold&&window.tickAboveFold(this)}
function w_ca(a){a||(a={});window.jstiming.load.tick("widgetJsEnd");window.jstiming.load.tick("prt");var b="blogspot";for(var c in a)b+="-"+c;window.jstiming.load.name=b;var d=document.getElementsByTagName("img"),e=0;for(;e<d.length;e++)d[e].complete||w_f(d[e],"post")!=w_b&&w_e(d[e],w_ba);w_e(window,w_aa);window.addEventListener?window.addEventListener("beforeunload",w_g,w_a):window.attachEvent("onbeforeunload",w_g)}function w_g(){window.jstiming.report(window.jstiming.load)}
var _attachCsiOnload=w_ca;var w_da=w_a;function w_h(a){try{w_d(a)}catch(b){w_ea(b)}}function w_ea(a,b){var c="Javascript exception: "+(b?b:"")+" "+a;if(w_fa())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_ga(w_ea.caller);w_ha(c+"\n"+d,1)}var w_ia=/function (\w+)/;function w_ja(a){var b=w_ia.exec(String(a));if(b)return b[1];return""}
function w_ga(a){try{if(!w_fa()&&!(w_i("safari")||w_i("konqueror"))&&w_i("mozilla"))return Error().stack;if(!a)return"";var b="- "+w_ja(a)+"(",c=0;for(;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_ga(a.caller);return b}catch(e){return"[Cannot get stack trace]: "+e+"\n"}}var w_ka,w_j=w_b,w_k=w_a;
function w_la(){if((w_j==w_b||w_j.closed)&&!w_k)try{w_k=w_c;w_j=window.open("","debug","width=700,height=500,toolbar=no,resizable=yes,scrollbars=yes,left=16,top=16,screenx=16,screeny=16");w_j.blur();w_j.document.open();w_k=w_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_ma(a)}catch(b){}}
function w_ha(a,b){if(w_da){try{var c=(new Date).getTime()-w_ka,d="["+c+"] "+w_na(a).replace(/\n/g,"<br>")+"<br>";if(b==1){d="<font color=#ff0000><b>Error: "+d+"</b></font>";w_j.focus()}}catch(e){}w_ma(d)}else typeof w_l!="undefined"&&w_l(w_na(a))}function w_ma(a){if(!!w_da)try{w_la();w_j.document.write(a);w_j.scrollTo(0,1000000)}catch(b){}};function w_i(a){if(a in w_m)return w_m[a];return w_m[a]=navigator.userAgent.toLowerCase().indexOf(a)!=-1}var w_m={};function w_fa(){return w_i("msie")&&!window.opera}function w_oa(a){if(typeof Error!="undefined")w_d(new Error(a||"Assertion Failed"));else w_d(a)}function w_pa(a){a=a||"Assertion failed";typeof w_h!="undefined"&&w_h(a+"\n");w_oa(a)}function w_n(a,b){if(!a){b=b||"Assertion failed";w_pa(b)}}function w_o(a,b){a.style.display=b?"":"none"}
function w_qa(a,b){a.style.display=b?"block":"none"}function w_p(a,b){a.style.display=b?"inline":"none"}function w_q(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(" "),d=0;for(;d<c.length;d++)if(c[d]==b)return w_c;return w_a}function w_r(a,b){w_q(a,b)||(a.className+=" "+b)}
function w_s(a,b){if(!(a.className==w_b))if(a.className==b)a.className="";else{var c=a.className.split(" "),d=[],e=w_a,f=0;for(;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_t(a,b){var c=[],d=a.firstChild;for(;d;d=d.nextSibling)w_ra(d,b,c);return c}function w_ra(a,b,c){b.select(a)&&c.push(a);var d=a.firstChild;for(;d;d=d.nextSibling)w_ra(d,b,c)}var w_sa=/&/g,w_ta=/</g,w_ua=/>/g;
function w_na(a){if(!a)return"";return a.replace(w_sa,"&amp;").replace(w_ta,"&lt;").replace(w_ua,"&gt;").replace(w_va,"&quot;")}var w_va=/\"/g;function w_wa(a){return document.getElementById(a)}function w_xa(a){return document.all[a]}var w_ya=document.getElementById?w_wa:w_xa;
function w_l(a){try{if(window.parent!=window&&window.parent.log){window.parent.log(window.name+"::"+a);return}}catch(b){}var c=w_ya("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_u(){}w_u.raise=function(a){if(typeof Error!="undefined")w_d(new Error(a||"Assertion Failed"));else w_d(a)};w_u.fail=function(a){a=a||"Assertion failed";typeof w_h=="undefined"||w_h(a+"\n");w_u.raise(a)};w_u.isTrue=function(a,b){if(!a){if(b===undefined)b="Assertion failed";w_u.fail(b)}};w_u.equals=function(a,b,c){if(a!=b){if(c===undefined)c="AS_Assert.equals failed: <"+a+"> != <"+b+">";w_u.fail(c)}};
w_u.typeOf=function(a,b,c){if(!(typeof a==b)){if(a||a=="")try{if(b==w_u.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_u.fail(c)}};w_u.TYPE_MAP={string:String,number:Number,"boolean":Boolean};
w_u.numArgs=function(a,b){var c=w_u.numArgs.caller;if(c&&c.arguments.length!=a){if(b===undefined)b=c.name+" expected "+a+" arguments  but received "+c.arguments.length;w_u.fail(b)}};var w_v;function w_za(){var a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];if(typeof XMLHttpRequest=="undefined"&&typeof ActiveXObject!="undefined"){var b=0;for(;b<a.length;b++){var c=a[b];try{new ActiveXObject(c);w_v=c;break}catch(d){}}if(!w_v)w_d(Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed."))}}w_za();
function w_Aa(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_Ba(a,c)}function w_Ba(a,b){try{a.send(b)}catch(c){w_l("XMLHttpSend failed "+c.toString()+"<br>"+c.stack);w_d(c)}};var w_Ca=0,w_w=0;if("undefined"==typeof w_l)w_l=function(){};function w_Da(a){var b=-1;try{b=a.status}catch(c){}return b}function w_Ea(a){var b=w_b;try{b=a.statusText}catch(c){}return b}
function w_Fa(a,b,c,d){if(a.readyState==4)try{var e=w_c;if(d)try{e=!(w_a===d(a))}catch(f){w_l("Message ("+b+") handling failed: "+f);w_d(f)}var g=w_Da(a);if(200===g){w_l("Message ("+b+") received after "+((new Date).getTime()-c)+" ms");try{var h=(new Date).getTime();e&&a.responseText.length&&eval(a.responseText);w_l("Message ("+b+") processing took "+((new Date).getTime()-h)+" ms")}catch(f){w_l("Message ("+b+") processing failed: "+f);alert(f+"\n"+f.stack+"\n\n"+a.responseText);w_d(f)}}else 204==
g?w_l("Message ("+b+") received after "+((new Date).getTime()-c)+" ms"):w_l("Message ("+b+") failed with response "+g+" "+w_Ea(a)+" after "+((new Date).getTime()-c)+" ms.")}finally{--w_w}}
function w_Ga(a,b,c){var d="";if(b){var e="",f=0;for(;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_Ca,j=w_v?new ActiveXObject(w_v):new XMLHttpRequest,k=(new Date).getTime(),l=function(){w_Fa(j,i,k,c)},m=a,n=m.length+1;for(;(n=m.lastIndexOf("&",n-1))>=0;)m=m.substring(0,n)+"&amp;"+m.substring(n+1);w_l("Message ("+i+") sent: POST <tt>"+m+"</tt>.");++w_w;w_Aa(j,a,d,l)};var w_Ha=this;String.prototype.Kd=function(a){return this.indexOf(a)==0};String.prototype.ff=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,b=0;for(;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_Ha);var f=b||[],g=0;for(;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(){var a=0;for(;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],b=0;for(;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,b=this.length-1;for(;b>=0;b--)this[b+a]=this[b];var c=0;for(;c<a;c++)this[c]=arguments[c];return this.length};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,b){var c=0;for(;c<this.length;c++)a.call(b,this[c],c,this)};
function w_x(a,b){var c=a.Fc||[];c=c.concat(Array.prototype.slice.call(arguments,2));if(typeof a.Jb!="undefined")b=a.Jb;if(typeof a.Ib!="undefined")a=a.Ib;var d=function(){var e=c.concat(Array.prototype.slice.call(arguments));return a.apply(b,e)};d.Fc=c;d.Jb=b;d.Ib=a;return d}Function.prototype.bind=function(a){return w_x.apply(w_b,[this,a].concat(Array.prototype.slice.call(arguments,1)))};Function.prototype.partial=function(){return w_x.apply(w_b,[this,w_b].concat(Array.prototype.slice.call(arguments)))};
Function.prototype.inherits=function(a){var b=function(){};this.hc=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_y(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.df=f;if(!w_y.IsValidDisplayMode(f))w_d("bad display mode: "+f)}else this.df=w_y.DISPLAY_MODE_NONE;this.isNew=w_a}w_y.IsValidDisplayMode=function(a){return a==w_y.DISPLAY_MODE_SNIPPET||a==w_y.DISPLAY_MODE_FULL||a==w_y.DISPLAY_MODE_LAYOUT||a==w_y.DISPLAY_MODE_NONE};w_y.DISPLAY_MODE_FULL="displayModeFull";w_y.DISPLAY_MODE_SNIPPET="displayModeSnippet";
w_y.DISPLAY_MODE_LAYOUT="displayModeLayout";w_y.DISPLAY_MODE_NONE="displayModeNone";function w_z(a){this.wg=w_c;this.Od=new w_A(this);this.e=a;this.Ga=w_b}w_z.DATA_NAMESPACE_PREFIX="data";w_z.ACTION_NAMESPACE_PREFIX="b";w_z.INTERPRET_ATTR_NAMESPACE_PREFIX="expr";w_z.prototype.Zd=function(){var a=this.e.rootElement;a.innerHTML="";this.$a()==w_y.DISPLAY_MODE_LAYOUT?a.appendChild(this.Bb("layout")):a.appendChild(this.Bb("main"));return a};w_z.prototype.Ce=function(a){this.Ga=a};w_z.prototype.r=function(){return this.e};
w_z.prototype.V=function(a){return document.getElementById(this.e.instanceId+"_"+a)};w_z.prototype.L=function(a){var b=this.V(a);if(!b)w_d("did not find element for id "+a);return b};w_z.prototype.p=function(){return this.e.data};w_z.prototype.zc=function(a){return this.e.data=a};w_z.prototype.pe=function(){return this.e.isNew};w_z.prototype.Ae=function(a){return this.e.isNew=a};
w_z.prototype.Bb=function(a,b){var c=b;c||(c=this.p());c||(c={});var d=new w_B;d.Ya("widget",this.ee());d.Sd(c);var e=this.qc(a,d,w_B.DEFAULT_DICTIONARY_KEY);return this.pc(e,document)};w_z.prototype.ee=function(){var a={};a.type=this.Ga.d();a.instanceId=this.e.instanceId;a.sectionId=this.e.sectionId;a.actionUrl=w_C.Gc;var b=w_C.ef+"&widgetType="+this.Ga.d()+"&widgetId="+this.e.instanceId+"&action="+w_C.EDIT_WIDGET_ACTION;a.quickEditUrl=b;return a};
w_z.prototype.qc=function(a,b,c){var d=this.je(a);w_u.isTrue(d!=w_b,"Markup chunk not found for "+a);var e=d.varName?d.varName:"",f=b.p(c);w_u.isTrue(f!=w_b,"No data found for call: "+c);b.Ya(e,f);var g=this.bb(d.rootNode,b);b.vc(e);return g};
w_z.prototype.bb=function(a,b){w_u.isTrue(a!=w_b,"Null node");var c=a;if(a.attributes){var d=[],e=[],f=0;for(;f<a.attributes.length;f++){var g=a.attributes.item(f),h=this.ve(g,b);if(g!=h){e[e.length]=g.nodeName;d[d.length]=h}}var f=0;for(;f<e.length;f++)a.attributes.removeNamedItem(e[f]);var f=0;for(;f<d.length;f++)a.attributes.setNamedItem(d[f])}if(a.nodeType==1)if(a.prefix==w_z.ACTION_NAMESPACE_PREFIX)c=this.ne(a,b);else if(a.prefix==w_z.DATA_NAMESPACE_PREFIX)c=this.me(a,b);if(a.hasChildNodes()){var i=
a.ownerDocument.createDocumentFragment();for(;a.hasChildNodes();){var j=a.firstChild,k=this.bb(j,b);i.appendChild(k);j!=k&&a.removeChild(j)}c.appendChild(i)}return c};w_z.prototype.ve=function(a,b){if(a.prefix==w_z.INTERPRET_ATTR_NAMESPACE_PREFIX){var c=a.ownerDocument.createAttribute(a.localName||a.baseName),d=this.Od.mc(a.nodeValue,b);c.nodeValue=d;return c}return a};w_z.prototype.ne=function(a,b){var c=a.localName||a.baseName,d=this.xc(c,a,b);return this.Ke(d)};
w_z.prototype.Ke=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_z.prototype.yb=function(a,b){var c=this.cb(a);return b.p(c[1])};
w_z.prototype.me=function(a,b){w_u.isTrue(a!=w_b,"Null element");w_u.isTrue(b!=w_b,"Null data");if(a.prefix!=w_z.DATA_NAMESPACE_PREFIX)return a;var c=this.yb(a.tagName,b),d=""+(c==w_b?"":c),e=document.createElement("DIV");e.innerHTML=d;var f=this.ab(e);return this.pc(f,a.ownerDocument,w_c)};w_z.prototype.cb=function(a){var b=a.split(":",2);b.length==1&&b.unshift("");b[0]=b[0].toLowerCase();return b};
w_z.prototype.xc=function(a,b,c){var d="_WidgetBinding_"+a;if(this.Od[d])return this.Od[d](b,c);if(this.Ga[d])return this.Ga[d](b,c);w_u.isTrue(w_a,"could not find binding "+a);return w_b};
w_z.prototype.ue=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_u.raise("Unable to find XML parser");return b.documentElement};
w_z.prototype.ab=function(a){var b=a.ownerDocument.createDocumentFragment();for(;a.hasChildNodes();)b.appendChild(a.firstChild);return b};
w_z.prototype.pc=function(a,b,c){w_u.isTrue(a!=w_b);if(b.importNode)if(a.nodeType==11){var d=b.createDocumentFragment(),e=a.firstChild;for(;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.ab(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);var k=0;for(;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_u.raise("unexpected node type "+i.nodeType);if(i.hasChildNodes()){var k=0;for(;k<i.childNodes.length;k++)j.appendChild(h(i.childNodes[k]))}return j};
return h(a)};w_z.prototype.ha=function(a,b){var c=this.Ga,d=function(e){return c.Xa?c.Xa(e):w_c};w_C.ha(a,b,this.e.instanceId,this.Ga.d(),d)};w_z.prototype.$a=function(){return this.e.df};w_z.prototype.je=function(a){if(!a)return w_b;var b=w_C.Md[a];b||(b=this.e.markups[a]);if(!b)return w_b;if(!b.parsedTemplate||!b.parsedTemplate.ownerDocument)this.te(b);b.parsedTemplate||w_u.raise("Parsing failed for "+a);b.rootNode=b.parsedTemplate.cloneNode(w_c);return b};
w_z.prototype.te=function(a){if(!a)return w_b;var b="<?xml version='1.0'?><markuproot xmlns:"+w_z.DATA_NAMESPACE_PREFIX+"='urn:ns1'  xmlns:"+w_z.ACTION_NAMESPACE_PREFIX+"='urn:ns2' xmlns:"+w_z.INTERPRET_ATTR_NAMESPACE_PREFIX+"='urn:ns3'  xmlns='http://www.w3.org/1999/xhtml'>"+a.template+"</markuproot>\n",c=this.ue(b);a.parsedTemplate=this.ab(c);return a};
w_z.ConfigureWidget=function(a,b){b||(b="config");var c=document.forms[b].widgetId.value,d=document.forms[b].widgetType.value,e=w_D.ProcessForm(document.forms[b],a);e.success&&w_C.SaveWidget(e.values,c,d)};function w_C(){}w_C.Init=function(a,b,c){w_C.Wa={};w_C.ef=a;w_C.Gc=b;w_C.ih=c;w_C.jd=w_b;if(!w_C.Md)w_C.Md={}};w_C.TrapClicks=function(a){var b=w_C.CreateTransparentClickTrappingDiv(a.document);document.body.appendChild(b)};w_C._SetupPreview=function(){w_C.TrapClicks(window)};
w_C.NEW_WIDGET_WINDOW_NAME="chooseWidget";w_C.CHOOSE_WIDGET_ACTION="chooseWidget";w_C.EDIT_WIDGET_ACTION="editWidget";w_C.GetCallbackUrl=function(){return w_C.Gc};w_C.SetPageActionUrl=function(a,b){w_C.Bd=a;w_C.Pg=b};w_C.GetPageActionUrl=function(){return w_C.Bd};w_C.SetWidgetRefreshUrl=function(a){w_C.bh=a};w_C.GetWidgetRefreshUrl=function(){return w_C.bh};w_C._SetDataContext=function(a){w_C.jd=a};w_C._SetSystemMarkup=function(a){w_C.Md=a};
w_C._RegisterWidget=function(a,b,c){var d=new w_z(b);c||(c=window[a]);var e=new c(d);d.Ce(e);w_C.Wa[b.instanceId]=e;w_C.DisplayWidget(e);return e};w_C._RegisterNewWidget=function(a,b,c){var d=w_C._RegisterWidget(a,b,c),e=d.b();e.Ae(w_c);return d};w_C.DisplayWidget=function(a,b){var c=a.b();if(!(c.$a()==w_y.DISPLAY_MODE_NONE)){if(b||a.h&&a.h())c.Zd();c.$a()==w_y.DISPLAY_MODE_FULL&&a.i&&a.i();a.b().wg=w_a}};w_C.GetWidget=function(a){if(w_C.Wa)return w_C.Wa[a];return w_b};
w_C._PopupPaneFromParams=function(a,b,c,d,e){var f="";if(d)f="&widgetId="+d;var g=w_C.ef+"&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_C._PopupConfig=function(a){var b=a.getAttribute("id"),c=w_C.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_C._PopupPaneFromParams(w_C.EDIT_WIDGET_ACTION,a.parentNode.getAttribute("id"),a.getAttribute("widgetType"),b,e);if(c)c.b().configWin=f;return w_a};
w_C._PopupToolbox=function(a){w_C._PopupPaneFromParams(w_C.CHOOSE_WIDGET_ACTION,a.parentNode.getAttribute("id"),a.getAttribute("widgetType"),a.getAttribute("id"),w_C.NEW_WIDGET_WINDOW_NAME);return w_a};w_C.DeleteWidgetFromPage=function(a,b){w_C.M(b,b.LayoutsMessages.DELETING,w_C.STATUS_MESSAGE_PENDING_CLASS);w_C.RunPageAction("delete",{},a,b)};w_z.prototype.ye=function(a,b){w_C.M(b,b.LayoutsMessages.SAVING,w_C.STATUS_MESSAGE_PENDING_CLASS);this.ha("configure",a)};
w_C.SaveNewWidget=function(a,b,c){var d=document.getElementById("sectionId").value;a.sectionid=d;w_C.M(c,c.LayoutsMessages.SAVING,w_C.STATUS_MESSAGE_PENDING_CLASS);w_C.RunPageAction("addnew",a,"",b)};w_C.SaveWidget=function(a,b,c){w_n(c!=w_b,"no type");var d=_WidgetManager._GetWidget(b);w_n(d!=w_b,"no widget for "+b);d.b().pe()?w_C.SaveNewWidget(a,c,window):d.a.ye(a,window)};w_C._RunInitialAction=function(a){var b=w_C._GetWidget(a);b&&b.b().ha("initial")};
w_C.ha=function(a,b,c,d,e){w_C.RunAction(w_C.Gc,a,b,c,d,e)};w_C.RunPageAction=function(a,b,c,d,e){if(w_C.Bd){b.pageToken=w_C.Pg;w_C.RunAction(w_C.Bd,a,b,c,d,e)}else w_l("RunPageAction error: pageActionUrl_ is undefined.  widgetid: "+c+" action: "+a)};
w_C.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"){var i=0;for(;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_Ga(a,g,new w_Ia(f))};w_C.SetConfigWin=function(a,b){if(!!a){var c=w_C.GetWidget(a);if(!!c)c.b().configWin=b}};
w_C.CloseIfNoPendingMessages=function(a,b){w_w==0?window.setTimeout(function(){a.close()},b):window.setTimeout(function(){w_C.CloseIfNoPendingMessages(a,b)},200)};w_C._KillPopupDelay=function(a,b){if(!!a){w_C.CloseIfNoPendingMessages(a,100);w_C.UpdateEditorStatus(a,b)}};w_C.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_C.c=function(a,b,c){var d=w_C.Wa[a];if(c.errors!=w_b){var e=d?d.b().configWin:w_b;e||(e=window);w_C.M(e,c.errors,w_C.STATUS_MESSAGE_BAD_CLASS);d&&d.pa?d.pa(b,c):w_C.pa(c,e)}else{w_n(d!=w_b,"no widget for "+a);if(b=="initial"){d.b().zc(c);w_C.DisplayWidget(d,w_c)}else d.c(b,c)}};w_C.pa=function(a,b){var c=a["error-details"];for(var d in c)w_D.SetError(d,c[d],b.document)};
w_z.prototype.k=function(a){w_C.M(this.configWin,a["status-message"],w_C.STATUS_MESSAGE_GOOD_CLASS);w_C.FinishPopupWork(this.e.instanceId,"_OnWidgetConfigured",function(b){window.opener._WidgetManager._OnWidgetConfigured(b,a)})};w_C._OnWidgetConfigured=function(a,b){window.parent&&window.parent.editor&&b?w_C.OnWidgetConfiguredWithData(a,b):w_C._RunInitialAction(a)};w_C.OnWidgetConfiguredWithData=function(a,b){var c=w_C._GetWidget(a);c.b().zc(b.data);w_C.DisplayWidget(c,w_c);c.b().configWin=w_b};
w_C.HandlePageActionResult=function(a,b,c){var d=c["status-message"];if(c.errors!=w_b){w_C.M(window,c.errors,w_C.STATUS_MESSAGE_BAD_CLASS);w_C.pa(c,window)}else if(b=="addnew"){var e;if(w_C.IsOpenerReachable(window)){if(window.opener&&window.opener.parent)e=window.opener.parent;e&&e.editor&&e.editor._HandleAddNewWidget(c)}w_C.M(window,d,w_C.STATUS_MESSAGE_GOOD_CLASS);if(window.opener==w_b)window.location="/rearrange?blogID="+c.blogID;else e&&e._WidgetManager?e._WidgetManager._KillPopupDelay(window):
w_C.CloseIfNoPendingMessages(window,100)}else{var f=w_C.Wa[a];w_n(f!=w_b);if(b=="delete"){w_C.M(f.b().configWin,d,w_C.STATUS_MESSAGE_GOOD_CLASS);w_C.FinishPopupWork(a,"_OnWidgetDeleted")}}};w_C._OnWidgetDeleted=function(a){var b=w_C.GetWidget(a);if(!!b){if(b.b().$a()==w_y.DISPLAY_MODE_LAYOUT)top.editor._HandleDeleteWidget(b.b().e.rootElement);else{var c=b.b().e.rootElement;c.parentNode.removeChild(c)}delete w_C.Wa[a]}};
w_C.FinishPopupWork=function(a,b,c){if(w_C.IsOpenerReachable(window)){var d=window.opener;c||(c=d._WidgetManager[b]);c(a);d._WidgetManager?d._WidgetManager._KillPopupDelay(window,a):w_C.CloseIfNoPendingMessages(window,100)}else{var e=w_C.GetWidgetRefreshUrl()+"?widgetId="+a;e+="&func="+encodeURIComponent(b);window.location.replace(e)}};w_C.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_C.STATUS_MESSAGE_GOOD_CLASS="status-msg status-msg-yellow-on-white";w_C.STATUS_MESSAGE_PENDING_CLASS=w_C.STATUS_MESSAGE_GOOD_CLASS;w_C.STATUS_MESSAGE_BAD_CLASS=w_C.STATUS_MESSAGE_GOOD_CLASS;w_C.M=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_C.MaybePrependHttp=function(a){if(a&&a.length>0&&a.substring(0,4)!="http")a="http://"+a;return a};
w_C.GetFirstElementInElementWithClass=function(a,b){if(w_q(a,b))return a;if(a){var c=a.childNodes.length,d=0;for(;d<c;d++){var e=w_C.GetFirstElementInElementWithClass(a.childNodes.item(d),b);if(e)return e}}return w_b};
w_C.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_C.sc;b.onmousedown=w_C.sc;b.onmouseup=w_C.sc;b.style.background="white";b.style.filter="alpha(opacity=1)";b.style.opacity=".01";b.innerHTML="&nbsp;";return b};
w_C.sc=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_A(a){this.aa=a}w_A.prototype._WidgetBinding_include=function(a,b){var c=a.getAttribute("name"),d=a.getAttribute("data");return this.aa.qc(c,b,d)};w_A.prototype._WidgetBinding_call=w_A.prototype._WidgetBinding_include;
w_A.prototype._WidgetBinding_loop=function(a,b){var c=a.getAttribute("values"),d=this.aa.cb(c),e=this.aa.yb(d[1],b),f=a.getAttribute("var");f||w_u.raise("Invalid var= attribute on b:loop");var g=this.aa.ab(a),h=a.ownerDocument.createDocumentFragment();if(!e)return h;var i=0;for(;i<e.length;i++){var j=e[i],k=g.cloneNode(w_c);b.Ya(f,j);var l=this.aa.bb(k,b);b.vc(f);h.appendChild(l)}return h};
w_A.prototype._WidgetBinding_if=function(a,b){var c=this.mc(a.getAttribute("cond"),b),d=a.ownerDocument.createDocumentFragment(),e=w_a;for(;a.firstChild!=w_b;){var f=a.firstChild;if("else"==this.aa.cb(f.nodeName)[1].toLowerCase())e=w_c;else if(c&&!e||!c&&e){var g=this.aa.bb(f,b);d.appendChild(g)}f.parentNode==a&&a.removeChild(f)}return d};
w_A.prototype.mc=function(a,b){w_u.isTrue(a!=w_b,"null expression");var c=this.Ee(a,b);try{var d=eval(c);return d}catch(e){w_l("expression=["+a+"] error="+e+" eval=["+c+"]")}return""};
w_A.prototype.Ee=function(a,b){var c=new RegExp("\\b(?:"+w_z.DATA_NAMESPACE_PREFIX+"|"+w_z.ACTION_NAMESPACE_PREFIX+"):[^ ]*\\b","gi"),d="",e=0,f=c.exec(a);for(;f;){var g=f[0];if(!this.oe(a,c.lastIndex)){var h,i=this.aa.cb(g);if(i[0]==w_z.ACTION_NAMESPACE_PREFIX)h=this.aa.xc(i[1],w_b,b);else if(i[0]==w_z.DATA_NAMESPACE_PREFIX){(h=this.aa.yb(g,b))||(h="");h=h+""}else w_u.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_A.prototype.oe=function(a,b){w_u.isTrue(b<=a.length,"Invalid index: i="+b+", l="+a.length);var c=0,d=0;for(;d<b;d++)if(a.charAt(d)=='"'&&(d==0||a.charAt(d-1)!="\\"))c++;return c%2!=0};function w_D(){}w_D.ERROR_MSG_ACTIVE_CLASS="errorbox-bad errormsg";w_D.ERROR_MSG_INACTIVE_CLASS="errorbox-good";
w_D.ProcessForm=function(a,b){var c={};c.success=w_c;c.values={};c.errors={};for(var d in b){var e=w_D.GetFieldValue(a[d]),f=b[d];w_D.ClearError(d);if(f){var g=f(e);if(g){w_D.SetError(d,g);c.success=w_a;c.errors[d]=g}}c.values[d]=e}return c};
w_D.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=[],c=0;for(;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_D.ie=function(a,b){b||(b=document);var c="errormessage_"+a;return b.getElementById(c)};w_D.ClearError=function(a){var b=w_D.ie(a);if(b){b.innerHTML="";b.className=w_D.ERROR_MSG_INACTIVE_CLASS}};
w_D.SetError=function(a,b,c){var d=w_D.ie(a,c);if(d){d.innerHTML=b;d.className=w_D.ERROR_MSG_ACTIVE_CLASS}};w_D.GetRequiredStringFilter=function(){return function(a){a=a.replace(/^\s+/,"").replace(/\s+$/,"");if(a.length==0)return LayoutsMessages.FIELD_CANNOT_BE_BLANK;return undefined}};
w_D.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_B(){this.N=[];var a=0;for(;a<w_C.jd.length;++a){var b=w_C.jd[a];this.N[this.N.length]=b}}w_B.DEFAULT_DICTIONARY_KEY="";w_B.MAX_DICTIONARY_DEPTH=50;w_B.SEPARATOR_CHAR=".";
w_B.prototype.Ya=function(a,b){this.N.length>=w_B.MAX_DICTIONARY_DEPTH&&w_u.raise("Cannot add another dictionary: "+a);a.indexOf(w_B.SEPARATOR_CHAR)>-1&&w_u.raise("Cannot add dictionary name containing '.': "+a);var c={};c.name=a;c.data=b;this.N[this.N.length]=c};w_B.prototype.vc=function(a){var b=this.N[this.N.length-1];b.name!=a&&w_u.raise("Dictionary "+a+" is not the last one, and can't be deleted: "+b.name);this.N.splice(this.N.length-1,1)};
w_B.prototype.zb=function(a){if(a==w_b)a=w_B.DEFAULT_DICTIONARY_KEY;var b=this.N.length-1;for(;b>=0;--b)if(this.N[b].name==a)return this.N[b].data;return w_b};w_B.prototype.nc=function(){return this.zb(w_B.DEFAULT_DICTIONARY_KEY)};w_B.prototype.Sd=function(a){this.Ya(w_B.DEFAULT_DICTIONARY_KEY,a)};
w_B.prototype.p=function(a){var b=this.zb(a);if(b)return b;var c=a.split(w_B.SEPARATOR_CHAR);if(c.length==1){b=this.nc();return b[a]}b=this.zb(c[0]);var d=0;if(b)d=1;else b=this.nc();var e=d;for(;e<c.length;e++){if(b==w_b)return w_b;b=b[c[e]]}return b};function w_Ja(){}w_Ja.prototype.c=function(){w_d(new Error("Unimplemented"))};var _WidgetManager=w_C;_WidgetManager.prototype=w_C.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_y;_WidgetInfo.prototype=w_y.prototype;function w_E(a){this.fh=w_a;this.gc=a;this.Qb=window.document}w_E.DISABLED_BUTTON_CLASS="disabled-button";w_E.HIDDEN_MESSAGE_CLASS="status-msg-hidden";w_E.prototype.kc=function(){this.Qb.getElementById(this.gc+"-inner").innerHTML="&nbsp;";w_r(this.Qb.getElementById(this.gc),w_E.HIDDEN_MESSAGE_CLASS)};w_E.prototype.M=function(a){this.Qb.getElementById(this.gc+"-inner").innerHTML=a;w_s(this.Qb.getElementById(this.gc),w_E.HIDDEN_MESSAGE_CLASS)};function w_Ia(a){return function(b){var c=w_Da(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_F(a){this.a=a}w_F.WIDGET_TYPE_NAME="AdSense";w_F.prototype.d=function(){return w_F.WIDGET_TYPE_NAME};w_F.prototype.b=function(){return this.a};w_F.prototype.c=function(a,b){this.a.k(b)};var _AdSenseView=w_F;function w_G(a){this.a=a;this.e=a.r()}w_G.WIDGET_TYPE_NAME="BlogArchive";w_G.POST_LIST_CLASS="posts";w_G.INTERVAL_EXPANDED_VALUE="expanded";w_G.INTERVAL_COLLAPSED_VALUE="collapsed";w_G.LOADING_MSG="loading...";w_G.POST_COUNT_CLASS="post-count";w_G.POST_COUNT_LINK_CLASS="post-count-link";w_G.MENU_ROOT_ID="ArchiveMenu";w_G.TOGGLE_OPEN_CLASS="toggle-open";w_G.lg="&#9660;&nbsp;";w_G.jf="&#9658;&nbsp;";w_G.prototype.d=function(){return w_G.WIDGET_TYPE_NAME};w_G.prototype.b=function(){return this.a};
w_G.prototype.h=function(){return w_a};w_G.prototype.c=function(a,b){if(a=="configure")this.a.k(b);else if(a=="getTitles")this.Je(b);else{this.widgetInfo.data=b;w_C.DisplayWidget(this)}};
w_G.prototype.i=function(){var a={};a.select=function(i){return i&&w_q(i,"toggle")};var b=this.a.V("ArchiveList");if(!!b){var c=w_t(this.e.rootElement,a),d;if(c.length>0&&c[0].currentStyle)d=c[0].parentNode.currentStyle.color;var e=0;for(;e<c.length;e++){var f=c[e];f.onclick=this.Ge.bind(this);if(d)f.style.color=d}var g=this.a.V(w_G.MENU_ROOT_ID);if(g){var e=1;for(;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.ke.bind(this)}if(this.b().p().languageDirection=="rtl")w_G.jf="&#9668;&nbsp;"}};w_G.prototype.ke=function(){var a=this.a.V(w_G.MENU_ROOT_ID);if(!!a)if(!(a.value==""))window.location.href=a.value};
w_G.prototype.Ge=function(a){a=a||window.event;var b=a.currentTarget||a.srcElement;if(b&&!w_q(b,"toggle"))b=b.parentNode;var c=w_C.GetFirstElementInElementWithClass(b,"zippy"),d=b.parentNode;if(w_q(d,w_G.INTERVAL_EXPANDED_VALUE)){w_s(d,w_G.INTERVAL_EXPANDED_VALUE);w_r(d,w_G.INTERVAL_COLLAPSED_VALUE);c.innerHTML=w_G.jf;w_s(c,w_G.TOGGLE_OPEN_CLASS);return w_a}else{w_s(d,w_G.INTERVAL_COLLAPSED_VALUE);w_r(d,w_G.INTERVAL_EXPANDED_VALUE);c.innerHTML=w_G.lg;w_r(c,w_G.TOGGLE_OPEN_CLASS)}if(this.re(d)){var e=
this.oc(d);if(!e){e=document.createElement("UL");d.appendChild(e);w_r(e,w_G.POST_LIST_CLASS)}e.appendChild(document.createTextNode(w_G.LOADING_MSG));this.a.ha("getTitles",{path:this.ge(d)})}return w_a};w_G.prototype.oc=function(a){return w_C.GetFirstElementInElementWithClass(a,w_G.POST_LIST_CLASS)};w_G.prototype.ge=function(a){var b=w_C.GetFirstElementInElementWithClass(a,w_G.POST_COUNT_LINK_CLASS);return b.href};
w_G.prototype.he=function(a){var b=w_C.GetFirstElementInElementWithClass(a,w_G.POST_COUNT_CLASS);return parseInt(b.innerHTML.match(/\d+/),10)};w_G.prototype.Je=function(a){var b=a.path,c=this.oc(this.fe(b));c.innerHTML="";var d=0;for(;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_G.prototype.fe=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_G.prototype.re=function(a){var b=a.getElementsByTagName("UL");if(!(b.length>0&&!w_q(b[0],"posts"))){var c=this.he(a),d=a.getElementsByTagName("LI"),e=d.length;return e<c}};var _BlogArchiveView=w_G;function w_H(a){this.a=a;this.Va=a.r();if(this.Va.data)this.Nf=this.Va.data.showBacklinks}w_H.BACKLINKS_ROOT="backlinks-container";w_H.BACKLINKS_CHUNK="backlinks";w_H.BACKLINK_ITEM_ROOT_CLASS="backlink-control";w_H.BACKLINK_EXPANDED_CLASS="expanded-backlink";w_H.BACKLINK_COLLAPSED_CLASS="collapsed-backlink";w_H.BACKLINK_ZIPPY_CLASS="backlink-toggle-zippy";w_H.WIDGET_TYPE_NAME="Blog";w_H.prototype.d=function(){return w_H.WIDGET_TYPE_NAME};w_H.prototype.b=function(){return this.a};
w_H.prototype.c=function(a,b){if(a=="initial"){this.Va.data=b;w_C.DisplayWidget(this,w_c)}else if(a=="nextposts")this.ae(b);else if(a=="configure")this.a.k(b);else a=="backlinks"&&this.Ie(b)};w_H.prototype.ae=function(a){var b=a.renderedData,c=this.Va.rootElement;if(!(!b||!c)){c.innerHTML=b;window.scroll(0,0);this.i()}};
w_H.prototype.Ie=function(a){this.Nf=w_a;var b=this.a.Bb(w_H.BACKLINKS_CHUNK,a),c=this.a.V(w_H.BACKLINKS_ROOT);if(c){c.innerHTML="";c.appendChild(b)}var d=w_t(this.Va.rootElement,w_H.Re),e=0;for(;e<d.length;e++){var f=d[e];f.onclick=this.He.bind(this)}var g=this.a.V("backlinks-create-link");if(g!=w_b)g.onclick=this.Ud.bind(this,g.href)};w_H.Re={};w_H.Re.select=function(a){return a&&w_q(a,w_H.BACKLINK_ZIPPY_CLASS)};w_H.prototype.He=function(a){a=a||window.event;this.be(a.srcElement||a.target)};
w_H.prototype.be=function(a){var b=a.parentNode;for(;b&&!w_q(b,w_H.BACKLINK_ITEM_ROOT_CLASS);)b=b.parentNode;if(!!b)if(w_q(b,w_H.BACKLINK_EXPANDED_CLASS)){w_s(b,w_H.BACKLINK_EXPANDED_CLASS);w_r(b,w_H.BACKLINK_COLLAPSED_CLASS)}else{w_r(b,w_H.BACKLINK_EXPANDED_CLASS);w_s(b,w_H.BACKLINK_COLLAPSED_CLASS)}};
w_H.prototype.i=function(){var a=this.a.V("blog-pager-newer-link");if(a&&this.rc(a))a.onclick=this.tc.bind(this);var b=this.a.V("blog-pager-older-link");if(b&&this.rc(b))b.onclick=this.tc.bind(this);this.Nf&&this.a.ha("backlinks",{postID:this.Va.data.postId})};w_H.prototype.rc=function(a){var b=a.href;return b.indexOf("/search?")>-1};w_H.prototype.tc=function(a){a=a||window.event;var b=a.target||a.srcElement;this.a.ha("nextposts",{path:b.href});return w_a};
w_H.prototype.Ud=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_H;w_I.Id={BLOGS:"blogs",CONTAINER:"container",SHOW_ALL:"show-all",SHOW_N:"show-n"};function w_I(a){this.a=a;this.e=a.r()}w_I.WIDGET_TYPE_NAME="BlogList";w_I.prototype.jc=w_b;w_I.prototype.mb=w_b;w_I.prototype.d=function(){return w_I.WIDGET_TYPE_NAME};w_I.prototype.b=function(){return this.a};w_I.prototype.h=function(){return w_a};w_I.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};
w_I.prototype.i=function(){var a=this.a.p();this.jc=a.totalItems;this.mb=a.numItemsToShow;if(this.mb!=0&&this.jc>this.mb){var b=this.a.L(w_I.Id.SHOW_ALL);b.onclick=this.Nd.bind(this);var c=this.a.L(w_I.Id.SHOW_N);c.onclick=this.Nd.bind(this)}var d=this.lf.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_I.prototype.Nd=function(){var a=this.a.L(w_I.Id.BLOGS),b=a.getElementsByTagName("li"),c=this.mb;for(;c<this.jc;c++){var d=b[c];w_qa(d,d.style.display=="none")}var e=this.a.L(w_I.Id.SHOW_ALL);w_p(e,e.style.display=="none");var f=this.a.L(w_I.Id.SHOW_N);w_p(f,f.style.display=="none")};w_I.prototype.lf=function(){var a=this.a.L(w_I.Id.BLOGS),b=a.getElementsByTagName("input"),c=0;for(;c<b.length;c++){var d=b[c],e=document.createElement("img");e.onload=this.Me.bind(e,d);e.src=d.value}};
w_I.prototype.Me=function(a){this.onload=function(){};this.alt="";this.width=this.height="16";var b=a.parentNode;b.replaceChild(this,a)};var _BlogListView=w_I;_BlogListView._Configure=_BlogListView.Configure;function w_J(a){this.a=a}w_J.WIDGET_TYPE_NAME="CustomSearch";w_J.ANCHOR_NAME="uds-search-results";w_J.prototype.d=function(){return w_J.WIDGET_TYPE_NAME};w_J.prototype.b=function(){return this.a};w_J.prototype.h=function(){return w_a};w_J.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};
w_J.prototype.i=function(){var a=this.b(),b=new w_B;google.load("search","1",{callback:w_Ka.bind(a),language:b.p("blog.locale")});var c=document.getElementById("uds-searchControl");if(!c){c=document.createElement("DIV");c.id="uds-searchControl";var d=document.createElement("A");d.name=w_J.ANCHOR_NAME;c.appendChild(d);var e=document.createElement("DIV");e.id="uds-searchResults";c.appendChild(e);var f=document.createElement("DIV");f.id="uds-searchClearResults";f.className="gsc-clear-button";f.innerHTML=
"&nbsp;";c.appendChild(f);var g=document.getElementById("main");g||(g=document.getElementsByTagName("body")[0]);g.insertBefore(c,g.firstChild)}};
function w_Ka(){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,f=0;for(;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.L("form")),j=new GdrawOptions;j.setDrawMode(GSearchControl.DRAW_MODE_TABBED);j.setInput(i.input);a.setNoResultsString(GSearchControl.NO_RESULTS_DEFAULT_STRING);a.draw(document.getElementById("uds-searchResults"),j);i.input.onkeyup=i.input.onpaste=w_b;i.setOnSubmitCallback(w_b,w_x(w_La,w_b,i,a));document.getElementById("uds-searchClearResults").onclick=w_x(w_Ma,
w_b,a);w_K(w_a)}function w_La(a,b){var c=a.input.value;if(!c){w_Ma(b);return w_a}b.execute(c);w_K(w_c);var d=window.location.href,e=d.indexOf("#");if(e>=0)d=d.substring(0,e);window.location.href=d+"#"+w_J.ANCHOR_NAME;return w_c}function w_Ma(a){a.clearAllResults();w_K(w_a)}function w_K(a){document.getElementById("uds-searchClearResults").style.display=a?"block":"none"}var _CustomSearchView=w_J;_CustomSearchView._Configure=_CustomSearchView.Configure;function w_L(a){this.a=a;this.e=a.r()}w_L.WIDGET_TYPE_NAME="Image";w_L.prototype.b=function(){return this.a};w_L.prototype.d=function(){return w_L.WIDGET_TYPE_NAME};w_L.prototype.h=function(){return w_a};
w_L.prototype.i=function(){if(!(this.e.data.resize!="true")){var a=this.a.V(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_L.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};var _ImageView=w_L;function w_M(a,b,c,d,e,f,g,h){this.G=a;this.Te=b!="null"?b:w_b;this.Gf=c;this.Ef=d;this.Ff=e;this.Yf=f;this.Hf=g;this.Ug=h;this.wa=this.fa=-1;this.xa=w_b;this.R=document.getElementById(this.G+"_picImg");this.Lb=document.getElementById(this.G+"_changeImageLink");this.bc=document.getElementById(this.G+"_imageChoiceTable");this.Bf=document.getElementById(this.G+"_imgSrcFromPCRadio");this.Cf=document.getElementById(this.G+"_imgSrcFromWebRadio");this.l=document.getElementById(this.G+"_imgFileNameInput");
this.kb=document.getElementById(this.G+"_imgUrlTextInput");this.Qe=window.frames[this.G+"_asynchronousFileUploadIframe"];this.pd=0;this.z=new Image;this.z.onload=this.hitch(this,this.Qf);this.z.onerror=this.hitch(this,this.Pf);this.mf=w_a;this.La=this.D=this.wd=w_b;this.Dd=w_a}w_M.prototype.ud=function(){return this.Bf.checked};
w_M.prototype.Qf=function(){this.pd=0;w_D.ClearError(this.G+"_imgUrlTextError");w_D.ClearError(this.G+"_imgFileNameError");if(!this.ud()||this.fa==0){this.fa=this.z.width;this.wa=this.z.height;this.xa=this.z.src}var a=1,b=1;if(this.z.width>300)a=300/this.z.width;if(this.z.height>300)b=300/this.z.height;var c=Math.min(a,b);this.R.style.width=Math.round(this.z.width*c)+"px";this.R.style.height=Math.round(this.z.height*c)+"px";this.R.src=this.z.src;this.R.style.display="";this.bc.style.display="none";
this.Lb.style.display="";this.l.disabled=w_c;this.Gf&&this.Gf.call({},this.R.src,this.xa,this.fa,this.wa)};w_M.prototype.Ta=function(a,b,c,d){if(a){w_D.SetError(this.G+"_imgFileNameError",b);w_D.ClearError(this.G+"_imgUrlTextError")}else{w_D.SetError(this.G+"_imgUrlTextError",b);w_D.ClearError(this.G+"_imgFileNameError")}this.R.style.display="none";this.bc.style.display="";this.Lb.style.display="none";this.l.disabled=w_a;this.Ef&&this.Ef.call({},c,d)};
w_M.prototype.Pf=function(){if(this.pd<2){this.pd++;var a=this.z.src;this.z.src="";this.za(a)}else this.Ta(this.ud(),WidgetMessages.SIV_INVALID_URL,this.R.src)};w_M.prototype.hitch=function(a,b){return function(){b.apply(a,arguments)}};w_M.prototype.za=function(a){this.Jd();this.z.src=a};
w_M.prototype.Ic=function(a){var b=a||window.event;if(window.event){b.returnValue=w_a;b.cancelBubble=w_c}else{b.preventDefault();b.stopPropagation()}this.R.style.display="none";this.Lb.style.display="none";this.bc.style.display="";this.l.disabled=w_a;this.kb.value="";this.Ed();this.Dd=w_c;this.Ff&&this.Ff.call({})};w_M.prototype.qd=function(){this.Bf.checked="true";this.kb.value="";this.Jd();this.Mf();this.mf=w_c;try{this.D.submit()}catch(a){this.Ta(w_c,WidgetMessages.SIV_INVALID_URL,this.D.value)}this.Lf()};
w_M.prototype.Ha=function(){var a=this.Qe.document.result;a||this.Ta(w_c,WidgetMessages.SIV_INVALID_URL,this.l.value);if(a.hasErrors)a.errors.length>0?this.Ta(w_c,a.errors[0].message,this.l.value,a.Bg):this.Ta(w_c,WidgetMessages.SIV_INVALID_URL,this.l.value,a.Bg);else{var b=Math.max(a.origWidth,a.origHeight),c=this.hd();if(this.fa!=0&&c!=-1&&b>c){var d=c/b;this.fa=Math.round(a.origWidth*d);this.wa=Math.round(a.origHeight*d)}else{this.fa=a.origWidth;this.wa=a.origHeight}this.xa=a.mainSrc;this.za(a.thumbSrc)}};
w_M.prototype.rd=function(a){var b=a||window.event;if(!(b.keyCode==9)){this.Cf.checked="true";this.wd!=w_b&&window.clearTimeout(this.wd);var c=this.hitch(this,function(){if(this.Dd||this.z.src!=this.kb.value.toLowerCase()){this.Ed();this.za(this.kb.value.toLowerCase())}this.Dd=w_a});this.wd=window.setTimeout(c,1000)}};w_M.prototype.yd=function(a){this.Cf.checked=w_c;this.kb.value=a;this.za(a)};
w_M.prototype.Jd=function(){this.R.src="img/icon_inprogress.gif";this.R.style.width="200px";this.R.style.height="200px";this.R.style.display="";this.bc.style.display="none";this.Lb.style.display="none"};
w_M.prototype.Mf=function(){if(!this.D){this.D=document.createElement("form");this.D.action="imageUpload.do";this.D.method="POST";this.D.target=this.Qe.name;this.D.encoding="multipart/form-data";this.D.style.display="none";if(this.Te){var a=document.createElement("input");a.type="hidden";a.name="blogID";a.value=this.Te;this.D.appendChild(a)}var b=document.createElement("input");b.type="hidden";b.name="sectionWidth";b.id="sectionWidth";this.D.appendChild(b);var c=document.createElement("input");c.type=
"hidden";c.name="photoUploadSecurityToken";c.value=this.Ug;this.D.appendChild(c);document.body.appendChild(this.D)}var d=this.hd();if(d==-1)d=1600;document.getElementById("sectionWidth").value=d;this.La={parent:this.l.parentNode,nextSibling:this.l.nextSibling};this.l.parentNode.removeChild(this.l);this.D.appendChild(this.l)};w_M.prototype.Lf=function(){this.D.removeChild(this.l);this.La&&this.La.nextSibling?this.La.parent.insertBefore(this.l,this.La.nextSibling):this.La.parent.appendChild(this.l)};
w_M.prototype.Ed=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_M.prototype.hd=function(){return this.Yf==-1&&this.Hf?this.Hf():this.Yf};function w_N(){this.usiContainers=[]}var w_Na=new w_N;
w_N.prototype.Lc=function(a,b,c,d,e,f,g,h){this.usiContainers[a]=new w_M(a,b,eval(c),eval(d),eval(e),f,eval(g),h);return this.usiContainers[a]};w_N.prototype.ac=function(a){return this.usiContainers[a]};w_N.prototype.Ha=function(a){var b=this.ac(a);b&&b.mf&&b.Ha()};var _UploadSimpleImage=w_Na;w_N.prototype._createUsiContainer=w_N.prototype.Lc;w_N.prototype._getUsiContainer=w_N.prototype.ac;w_N.prototype._channelResultArrived=w_N.prototype.Ha;w_M.prototype._changeImage=w_M.prototype.Ic;
w_M.prototype._imgUrlFileOnChange=w_M.prototype.qd;w_M.prototype._imgUrlTextOnKeyUp=w_M.prototype.rd;w_M.prototype._loadInitialUrl=w_M.prototype.yd;w_M.prototype._loadImageFromUrl=w_M.prototype.za;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_C.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_C.M(window,WidgetMessages.SIV_NO_IMAGE,w_C.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_C.SaveWidget(g,a,w_L.WIDGET_TYPE_NAME)}};function w_O(a){this.a=a;this.e=a.r()}w_O.successfulUploadCallback=function(a,b,c,d){w_O.Wg=a;w_O.xa=b;w_O.fa=c;w_O.wa=d;var e=document.getElementById("shrinkToFitRow");if(e)e.style.visibility="hidden";if(e=document.getElementById("shrinkToFitMessageRow"))e.style.visibility="hidden"};w_O.resetCallback=function(){w_O.xa=w_b;var a=document.getElementById("shrinkToFitRow");if(a)a.style.visibility="visible";if(a=document.getElementById("shrinkToFitMessageRow"))a.style.visibility="visible"};
w_O.getScaledContainerWidth=function(){return document.getElementById("checkShrink").checked?w_O.getContainerWidth():-1};w_O.getContainerWidth=function(){var a=document.getElementById("sectionId").value,b=600;if(w_C.IsOpenerReachable(window)&&window.opener.document.getElementById(a))b=window.opener.document.getElementById(a).clientWidth;return b};w_O.WIDGET_TYPE_NAME="Header";w_O.prototype.d=function(){return w_O.WIDGET_TYPE_NAME};w_O.prototype.h=function(){return w_a};w_O.prototype.b=function(){return this.a};
w_O.prototype.c=function(a,b){this.a.k(b)};w_O.FilterMap={title:w_D.GetRequiredStringFilter(),description:w_b,imagePlacement:w_b,useImage:w_b,securityToken:w_b};
w_O.ConfigureWidget=function(){var a=document.forms.config.widgetId.value,b=document.forms.config.widgetType.value,c=w_D.ProcessForm(document.forms.config,w_O.FilterMap),d=w_O.getContainerWidth();if(c.success){if(w_O.xa){var e=w_O.fa,f=w_O.wa,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_O.xa;c.values.originalWidth=w_O.fa;c.values.originalHeight=w_O.wa;c.values.displayUrl=w_O.Wg;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_C.SaveWidget(c.values,a,b);return w_c}else return w_a};w_O.hideImageOptions=function(){document.getElementById("imageOptions").style.display="none";return w_a};w_O.showImageOptions=function(){document.getElementById("imageOptions").style.display="";return w_a};var _HeaderView=w_O;_HeaderView.prototype=w_O.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_P(a,b){this.a=a;this.e=a.r();this.Yg=b}w_P.prototype.b=function(){return this.a};w_P.prototype.d=function(){return this.Yg};w_P.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};
w_P.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_C.SaveWidget(g,b,a)};function w_Q(a){w_P.call(this,a,"Text")}w_Q.inherits(w_P);w_Q.ConfigureWidget=function(){w_P.ConfigureWidget("Text")};function w_R(a){w_P.call(this,a,"HTML")}w_R.inherits(w_P);
w_R.ConfigureWidget=function(){w_P.ConfigureWidget("HTML")};var _TextView=w_Q;_TextView.prototype=w_Q.prototype;_TextView._ConfigureWidget=_TextView.ConfigureWidget;var _HTMLView=w_R;_HTMLView.prototype=w_R.prototype;_HTMLView._ConfigureWidget=_HTMLView.ConfigureWidget;function w_S(a){this.a=a}w_S.WIDGET_TYPE_NAME="VideoBar";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(){var a=this.b();google.load("search","1",{callback:w_Oa.bind(a)});var b=a.L("bar");w_r(b,"videoBar-container")};
function w_Oa(){var a=this.L("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_S;_VideoBarView._Configure=_VideoBarView.Configure;function w_T(a){this.a=a}w_T.WIDGET_TYPE_NAME="NewsBar";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(){var a=this.b();google.load("search","1",{callback:w_Pa.bind(a)});window._uds_nbw_donotrepair=w_c};
function w_Pa(){var a=this.L("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_T;_NewsBarView._Configure=_NewsBarView.Configure;function w_Qa(a){document.write('<script src="'+a+'" type="text/javascript"><\/script>')}function w_Ra(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_U(a){this.a=a}w_U.WIDGET_TYPE_NAME="Slideshow";w_U.prototype.d=function(){return w_U.WIDGET_TYPE_NAME};w_U.prototype.b=function(){return this.a};w_U.prototype.h=function(){return w_a};w_U.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};
w_U.prototype.i=function(){if(!window._UDS_jsapi_bootstrapped){w_Qa("http://www.google.com/jsapi?source=uds-afspe");window._UDS_jsapi_bootstrapped=w_c}if(!window._UDS_fs_bootstrapped){w_Qa("http://www.google.com/uds/solutions/slideshow/gfslideshow.js?mode=new");window._UDS_fs_bootstrapped=w_c}var a=this.b(),b=w_Sa.bind(a);!window.google||!window.google.feeds?w_Ta(b):window.setTimeout(b,0)};function w_Ta(a){w_Ra(function(){google.load("feeds","1",{callback:a})})}
function w_Sa(){var a=this.L("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_U.flickrThumbResolver;new GFslideShow(b,a,e)}
w_U.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_U;_SlideshowView._Configure=_SlideshowView.Configure;function w_V(){}w_V.Cg={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_V.ACTIVE_PREVIEW_CLASS="active-preview";w_V.PREVIEW_CLASS="preview";w_V._SetConfigurationOptions=function(){w_z.ConfigureWidget(w_V.Cg)};
w_V.UpdateFrequency=function(){var a=w_D.GetFieldValue(document.forms.config.showStyle),b={year:a=="HIERARCHY",week:0,month:0,day:0},c=w_D.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_qa(document.getElementById(f),b[e])}w_V.SelectPreview()};
w_V._Init=function(a){w_V.Xf=a;w_V.Ra=document.getElementById("archive-previews");w_V.Rf=w_W(w_V.Ra,w_V.PREVIEW_CLASS);w_V.UpdateFrequency();w_V.Reformat("yearly",document.forms.config.yearPattern);w_V.Reformat("monthly",document.forms.config.monthPattern);w_V.Reformat("weekly",document.forms.config.weekPattern);w_V.Reformat("daily",document.forms.config.dayPattern);w_V.UpdateWeekEnd();w_V.UpdatePreviewPostTitles();document.forms.config.chronological.checked&&w_V.ToggleDirection()};
w_V.SelectPreview=function(){var a=w_D.GetFieldValue(document.forms.config.showStyle),b=w_D.GetFieldValue(document.forms.config.frequency),c=0;for(;c<w_V.Rf.length;c++){var d=w_V.Rf[c];if(w_q(d,a)&&w_q(d,b)){w_r(d,w_V.ACTIVE_PREVIEW_CLASS);w_q(d,"MENU")&&w_V.fg(d)}else{w_s(d,w_V.ACTIVE_PREVIEW_CLASS);w_q(d,"MENU")&&w_V.eg(d)}}};w_V.eg=function(a){var b=a.getElementsByTagName("select"),c=0;for(;c<b.length;c++)b[c].style.display="none"};
w_V.fg=function(a){var b=a.getElementsByTagName("select"),c=0;for(;c<b.length;c++)b[c].style.display="block"};w_V.Reformat=function(a,b){var c=w_V.Xf[a];for(var d in c){var e=c[d][b.selectedIndex];e&&w_V.ReplaceSample(d,e)}a=="weekly"&&w_V.UpdateWeekEnd()};w_V.ReplaceSample=function(a,b){var c=w_W(w_V.Ra,a),d=0;for(;d<c.length;d++){var e=c[d];e.innerHTML=b}};
w_V.UpdateWeekEnd=function(){w_Ua(w_V.Ra,document.forms.config.showWeekEnd.checked,"weekend");var a=w_V.Xf.weekly,b=document.getElementById("weekly-menu-select"),c=0,d=document.forms.config.weekPattern.selectedIndex,e=0;for(;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_V.UpdatePreviewPostTitles=function(){w_Ua(w_V.Ra,document.forms.config.showPosts.checked,"preview-posts")};
w_V.ToggleDirection=function(){var a=w_V.Ra.getElementsByTagName("UL"),b=0;for(;b<a.length;b++){var c=a[b],d=c.ownerDocument.createDocumentFragment();for(;c.hasChildNodes();)d.appendChild(c.lastChild);c.appendChild(d)}var e=w_V.Ra.getElementsByTagName("SELECT"),b=0;for(;b<e.length;b++){var f=e[b],g=f.options.length,h=0;for(;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_Ua(a,b,c){var d=w_W(a,c),e=0;for(;e<d.length;e++){var f=d[e];w_p(f,b)}}function w_W(a,b){var c={};c.select=function(d){return d&&w_q(d,b)};return w_t(a,c)}var _ArchiveConfig=w_V;_ArchiveConfig._UpdateFrequency=_ArchiveConfig.UpdateFrequency;_ArchiveConfig._Reformat=_ArchiveConfig.Reformat;_ArchiveConfig._UpdateWeekEnd=_ArchiveConfig.UpdateWeekEnd;_ArchiveConfig._UpdatePreviewPostTitles=_ArchiveConfig.UpdatePreviewPostTitles;_ArchiveConfig._ToggleDirection=_ArchiveConfig.ToggleDirection;function w_X(a){this.a=a;this.e=a.r()}w_X.WIDGET_TYPE_NAME="Label";w_X.prototype.d=function(){return w_X.WIDGET_TYPE_NAME};w_X.prototype.b=function(){return this.a};w_X.prototype.c=function(a,b){this.a.k(b)};function w_Y(){}w_Y.cg={sorting:w_b,title:w_b,securityToken:w_b};w_Y._Configure=function(){w_z.ConfigureWidget(w_Y.cg)};w_Y.HIDDEN_CLASS="hidden";w_Y.PREVIEW_ROOT_ID="preview-wrap";w_Y.PREVIEW_CLASS="preview";
w_Y._ShowPreview=function(a){var b=document.getElementById(w_Y.PREVIEW_ROOT_ID),c=w_W(b,w_Y.PREVIEW_CLASS),d=0;for(;d<c.length;d++)w_r(c[d],w_Y.HIDDEN_CLASS);w_s(document.getElementById(a),w_Y.HIDDEN_CLASS)};var _LabelView=w_X,_LabelConfig=w_Y;function w_Z(a){this.a=a;this.e=a.r()}w_Z.WIDGET_TYPE_NAME="TextList";w_Z.prototype.d=function(){return w_Z.WIDGET_TYPE_NAME};w_Z.prototype.b=function(){return this.a};w_Z.prototype.h=function(){return w_a};w_Z.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};var _TextListView=w_Z;function w__(a){this.a=a;this.e=a.r()}w__.WIDGET_TYPE_NAME="LinkList";w__.prototype.d=function(){return w__.WIDGET_TYPE_NAME};w__.prototype.h=function(){return w_a};w__.prototype.b=function(){return this.a};w__.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};var _LinkListView=w__;_LinkListView.prototype=w__.prototype;function w_0(a){this.a=a;this.e=a.r()}w_0.prototype.d=function(){return"BloggerButton"};w_0.prototype.b=function(){return this.a};w_0.prototype.c=function(a,b){this.a.k(b)};var _BloggerButtonView=w_0;var w_1=function(a){this.a=a;this.e=a.r()};w_1.prototype.d=function(){return"Poll"};w_1.prototype.b=function(){return this.a};w_1.prototype.c=function(a,b){if(a=="configure"){this.savePending=w_a;this.a.k(b)}};w_1.prototype.pa=function(a,b){if(a=="configure")this.savePending=w_a;w_C.pa(b,window)};
w_1.adjustFrameHeight=function(){var a=document.getElementsByTagName("iframe"),b,c=0;for(;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_1.adjustFrameHeight,500);var _PollView=w_1;function w_2(a){this.a=a;this.e=a.r()}w_2.WIDGET_TYPE_NAME="Navbar";w_2.prototype.d=function(){return w_2.WIDGET_TYPE_NAME};w_2.prototype.b=function(){return this.a};w_2.prototype.h=function(){return w_a};w_2.prototype.c=function(a,b){this.a.k(b)};w_2.FilterMap={navbartype:w_b,securityToken:w_b};w_2.ConfigureWidget=function(){w_z.ConfigureWidget(w_2.FilterMap)};var _NavbarView=w_2;_NavbarView.prototype=w_2.prototype;_NavbarView._ConfigureWidget=_NavbarView.ConfigureWidget;function w_3(a){this.a=a;this.e=a.r()}w_3.WIDGET_TYPE_NAME="Profile";w_3.prototype.h=function(){return w_a};w_3.prototype.d=function(){return w_3.WIDGET_TYPE_NAME};w_3.prototype.b=function(){return this.a};w_3.prototype.c=function(a,b){a=="configure"&&this.a.k(b)};w_3.prototype.i=function(){this.e.rootElement.style.display=this.a.p().isDisplayable==w_a?"none":""};var _ProfileView=w_3;var w_=w_||{};w_.global=this;w_.DEBUG=w_c;w_.Sb=w_b;w_.provide=function(a){w_.kf(a)};w_.kf=function(a,b,c){var d=a.split("."),e=c||w_.global,f;!(d[0]in e)&&e.execScript&&e.execScript("var "+d[0]);for(;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,e;for(;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.Gg||(a.Gg=new a)}};
w_.typeOf=function(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array||!(a instanceof Object)&&Object.prototype.toString.call(a)=="[object Array]")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_.Sf=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_.jh=Object.prototype.propertyIsEnumerable?function(a,b){return a instanceof Object?Object.prototype.propertyIsEnumerable.call(a,b):w_.Sf(a,b)}:w_.Sf;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_.oa)){var b=a[w_.oa];if(b)return b}a[w_.oa]||(a[w_.oa]=++w_.Dg);return a[w_.oa]};w_.removeHashCode=function(a){"removeAttribute"in a&&a.removeAttribute(w_.oa);try{delete a[w_.oa]}catch(b){}};w_.oa="closure_hashCode_";w_.Dg=0;w_.cloneObject=function(a){var b=w_.typeOf(a);if(b=="object"||b=="array"){if(a.clone)return a.clone.call(a);var c=b=="array"?[]:{};for(var d in a)c[d]=w_.cloneObject(a[d]);return c}return a};
w_.bind=function(a,b){var c=a.Fc;if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);c&&d.unshift.apply(d,c);c=d}b=a.Jb||b;a=a.Ib||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.Fc=c;e.Jb=b;e.Ib=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_.Sb==w_b){w_.global.eval("var _et_ = 1;");if(typeof w_.global._et_!="undefined"){delete w_.global._et_;w_.Sb=w_c}else w_.Sb=w_a}if(w_.Sb)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_.declareType=function(){};w_.typedef=w_c;w_.getCssName=function(a,b){return a+(b?"-"+b:"")};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_.kf(a,b,c)};w_.exportProperty=function(a,b,c){a[b]=c};w_.inherits=function(a,b){function c(){}c.prototype=b.prototype;a.hc=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,e=d;for(;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);var e=d;for(;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,f=0;for(;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,f=d-1;for(;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,h=0;for(;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,h=0;for(;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,f=0;for(;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,f=0;for(;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,f=0;for(;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1};
w_.array.findRight=function(a,b,c){var d=w_.array.findIndexRight(a,b,c);return d<0?w_b:w_.isString(a)?a.charAt(d):a[d]};w_.array.findIndexRight=function(a,b,c){var d=a.length,e=w_.isString(a)?a.split(""):a,f=d-1;for(;f>=0;f--)if(f in e&&b.call(c,e[f],f,a))return f;return-1};w_.array.contains=function(a,b){if(a.contains)return a.contains(b);return w_.array.indexOf(a,b)>-1};w_.array.u=function(a){return a.length==0};
w_.array.clear=function(a){if(!w_.isArray(a)){var b=a.length-1;for(;b>=0;b--)delete a[b]}a.length=0};w_.array.insert=function(a,b){w_.array.contains(a,b)||a.push(b)};w_.array.insertAt=function(a,b,c){w_.array.splice(a,c,0,b)};w_.array.insertArrayAt=function(a,b,c){w_.partial(w_.array.splice,a,c,0).apply(w_b,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=[],c=0,d=a.length;for(;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){var b=1;for(;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;for(;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;for(;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){var c=0;for(;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);var c=0;for(;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,f=0;for(;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={},d=0;for(;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=[],d=0;for(;d<b;d++)c[d]=a;return c};w_.array.flatten=function(){var a=[],b=0;for(;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_.math={};w_.math.Coordinate=function(a,b){this.x=w_.isDef(a)?a:0;this.y=w_.isDef(b)?b:0};w_.math.Coordinate.prototype.clone=function(){return new w_.math.Coordinate(this.x,this.y)};if(w_.DEBUG)w_.math.Coordinate.prototype.toString=function(){return"("+this.x+", "+this.y+")"};w_.math.Coordinate.equals=function(a,b){if(a==b)return w_c;if(!a||!b)return w_a;return a.x==b.x&&a.y==b.y};w_.math.Coordinate.distance=function(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)};
w_.math.Coordinate.squaredDistance=function(a,b){var c=a.x-b.x,d=a.y-b.y;return c*c+d*d};w_.math.Coordinate.difference=function(a,b){return new w_.math.Coordinate(a.x-b.x,a.y-b.y)};w_.math.Coordinate.sum=function(a,b){return new w_.math.Coordinate(a.x+b.x,a.y+b.y)};w_.math.Size=function(a,b){this.width=a;this.height=b};w_.math.Size.equals=function(a,b){if(a==b)return w_c;if(!a||!b)return w_a;return a.width==b.width&&a.height==b.height};w_.math.Size.prototype.clone=function(){return new w_.math.Size(this.width,this.height)};if(w_.DEBUG)w_.math.Size.prototype.toString=function(){return"("+this.width+" x "+this.height+")"};w_.math.Size.prototype.area=function(){return this.width*this.height};w_.math.Size.prototype.u=function(){return!this.area()};
w_.math.Size.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};w_.math.Size.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};w_.math.Size.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};w_.math.Size.prototype.scale=function(a){this.width*=a;this.height*=a;return this};w_.object={};w_.object.forEach=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};w_.object.filter=function(a,b,c){var d={};for(var e in a)if(b.call(c,a[e],e,a))d[e]=a[e];return d};w_.object.map=function(a,b,c){var d={};for(var e in a)d[e]=b.call(c,a[e],e,a);return d};w_.object.some=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return w_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.O=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.ba(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.s=function(a,b){return b in a};w_.object.ba=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.u=function(a){for(var b in a)return w_a;return w_c};w_.object.clear=function(a){var b=w_.object.j(a),c=b.length-1;for(;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),d=0,e=c.length;for(;d<e;d++){var f=c[d];b[a[f]]=f}return b};
w_.object.se=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];w_.object.extend=function(a){var b,c,d=1;for(;d<arguments.length;d++){c=arguments[d];for(b in c)a[b]=c[b];var e=0;for(;e<w_.object.se.length;e++){b=w_.object.se[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={},c=0;for(;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={},c=0;for(;c<a;c++)b[arguments[c]]=w_c;return b};w_.string={};w_.string.Unicode={NBSP:"\u00a0"};w_.string.Kd=function(a,b){return a.indexOf(b)==0};w_.string.ff=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){var b=1;for(;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.u=function(a){return/^[\s\xa0]*$/.test(a)};w_.string.isEmptySafe=function(a){return w_.string.u(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.Of=/(\.\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.Of),d=b.toLowerCase().match(w_.string.Of),e=Math.min(c.length,d.length),f=0;for(;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.Ag=/^[a-zA-Z0-9\-_.!~*'()]*$/;
w_.string.urlEncode=function(a){a=String(a);if(!w_.string.Ag.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.Ne,"&amp;").replace(w_.string.Jf,"&lt;").replace(w_.string.tf,"&gt;").replace(w_.string.Tf,"&quot;");else{if(!w_.string.jg.test(a))return a;if(a.indexOf("&")!=-1)a=a.replace(w_.string.Ne,"&amp;");if(a.indexOf("<")!=-1)a=a.replace(w_.string.Jf,"&lt;");if(a.indexOf(">")!=-1)a=a.replace(w_.string.tf,"&gt;");if(a.indexOf('"')!=-1)a=a.replace(w_.string.Tf,"&quot;");return a}};w_.string.Ne=/&/g;w_.string.Jf=/</g;w_.string.tf=/>/g;
w_.string.Tf=/\"/g;w_.string.jg=/[&<>\"]/;w_.string.unescapeEntities=function(a){if(w_.string.contains(a,"&"))return"document"in w_.global&&!w_.string.contains(a,"<")?w_.string.Zg(a):w_.string.$g(a);return a};w_.string.Zg=function(a){var b=w_.global.document.createElement("a");b.innerHTML=a;b[w_.string.qe]&&b[w_.string.qe]();a=b.firstChild.nodeValue;b.innerHTML="";return a};
w_.string.$g=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.qe="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,d=0;for(;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.vd={"\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=['"'],c=0;for(;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.vd)return w_.string.vd[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.vd[a]=b};
w_.string.toMap=function(a){var b={},c=0;for(;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),g=0;for(;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.Jc(n,o)||w_.string.Jc(l[2].length==0,m[2].length==
0)||w_.string.Jc(l[2],m[2])}while(c==0)}return c};w_.string.Jc=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};w_.string.dg=4294967296;w_.string.hashCode=function(a){var b=0,c=0;for(;c<a.length;++c){b=31*b+a.charCodeAt(c);b%=w_.string.dg}return b};w_.string.ah=w_.now();w_.string.createUniqueString=function(){return"goog_"+w_.string.ah++};w_.string.toNumber=function(a){var b=Number(a);if(b==0&&w_.string.u(a))return NaN;return b};w_.userAgent={};w_.userAgent.ASSUME_IE=w_a;w_.userAgent.ASSUME_GECKO=w_a;w_.userAgent.ASSUME_CAMINO=w_a;w_.userAgent.ASSUME_WEBKIT=w_a;w_.userAgent.ASSUME_MOBILE_WEBKIT=w_a;w_.userAgent.ASSUME_OPERA=w_a;w_.userAgent.na=w_.userAgent.ASSUME_IE||w_.userAgent.ASSUME_GECKO||w_.userAgent.ASSUME_CAMINO||w_.userAgent.ASSUME_MOBILE_WEBKIT||w_.userAgent.ASSUME_WEBKIT||w_.userAgent.ASSUME_OPERA;w_.userAgent.getUserAgentString=function(){return w_.global.navigator?w_.global.navigator.userAgent:w_b};
w_.userAgent.getNavigator=function(){return w_.global.navigator};
w_.userAgent.Fg=function(){w_.userAgent.eb=w_a;w_.userAgent.bf=w_a;w_.userAgent.Ob=w_a;w_.userAgent.cf=w_a;w_.userAgent.Nc=w_a;w_.userAgent.af=w_a;var a;if(!w_.userAgent.na&&(a=w_.userAgent.getUserAgentString())){var b=w_.userAgent.getNavigator();w_.userAgent.eb=a.indexOf("Opera")==0;w_.userAgent.bf=!w_.userAgent.eb&&a.indexOf("MSIE")!=-1;w_.userAgent.Ob=!w_.userAgent.eb&&a.indexOf("WebKit")!=-1;w_.userAgent.cf=w_.userAgent.Ob&&a.indexOf("Mobile")!=-1;w_.userAgent.Nc=!w_.userAgent.eb&&!w_.userAgent.Ob&&
b.product=="Gecko";w_.userAgent.af=w_.userAgent.Nc&&b.vendor=="Camino"}};w_.userAgent.na||w_.userAgent.Fg();w_.userAgent.OPERA=w_.userAgent.na?w_.userAgent.ASSUME_OPERA:w_.userAgent.eb;w_.userAgent.IE=w_.userAgent.na?w_.userAgent.ASSUME_IE:w_.userAgent.bf;w_.userAgent.GECKO=w_.userAgent.na?w_.userAgent.ASSUME_GECKO||w_.userAgent.ASSUME_CAMINO:w_.userAgent.Nc;w_.userAgent.CAMINO=w_.userAgent.na?w_.userAgent.ASSUME_CAMINO:w_.userAgent.af;
w_.userAgent.WEBKIT=w_.userAgent.na?w_.userAgent.ASSUME_WEBKIT||w_.userAgent.ASSUME_MOBILE_WEBKIT:w_.userAgent.Ob;w_.userAgent.MOBILE=w_.userAgent.ASSUME_MOBILE_WEBKIT||w_.userAgent.cf;w_.userAgent.SAFARI=w_.userAgent.WEBKIT;w_.userAgent.ug=function(){var a=w_.userAgent.getNavigator();return a&&a.platform||""};w_.userAgent.PLATFORM=w_.userAgent.ug();w_.userAgent.ASSUME_MAC=w_a;w_.userAgent.ASSUME_WINDOWS=w_a;w_.userAgent.ASSUME_LINUX=w_a;
w_.userAgent.Db=w_.userAgent.ASSUME_MAC||w_.userAgent.ASSUME_WINDOWS||w_.userAgent.ASSUME_LINUX;w_.userAgent.Eg=function(){w_.userAgent.sg=w_.string.contains(w_.userAgent.PLATFORM,"Mac");w_.userAgent.tg=w_.string.contains(w_.userAgent.PLATFORM,"Win");w_.userAgent.rg=w_.string.contains(w_.userAgent.PLATFORM,"Linux")};w_.userAgent.Db||w_.userAgent.Eg();w_.userAgent.MAC=w_.userAgent.Db?w_.userAgent.ASSUME_MAC:w_.userAgent.sg;w_.userAgent.WINDOWS=w_.userAgent.Db?w_.userAgent.ASSUME_WINDOWS:w_.userAgent.tg;
w_.userAgent.LINUX=w_.userAgent.Db?w_.userAgent.ASSUME_LINUX:w_.userAgent.rg;w_.userAgent.vg=function(){var a="",b;if(w_.userAgent.OPERA&&w_.global.opera){var c=w_.global.opera.version;a=typeof c=="function"?c():c}else{if(w_.userAgent.GECKO)b=/rv\:([^\);]+)(\)|;)/;else if(w_.userAgent.IE)b=/MSIE\s+([^\);]+)(\)|;)/;else if(w_.userAgent.WEBKIT)b=/WebKit\/(\S+)/;if(b){var d=b.exec(w_.userAgent.getUserAgentString());a=d?d[1]:""}}return a};w_.userAgent.VERSION=w_.userAgent.vg();
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_.dom={};w_.dom.classes={};w_.dom.classes.set=function(a,b){a.className=b};w_.dom.classes.get=function(a){var b=a.className;return b&&typeof b.split=="function"?b.split(" "):[]};w_.dom.classes.add=function(a){var b=w_.dom.classes.get(a),c=1,d=1;for(;d<arguments.length;d++)if(w_.array.contains(b,arguments[d]))c&=0;else{b.push(arguments[d]);c&=1}a.className=b.join(" ");return Boolean(c)};
w_.dom.classes.remove=function(a){var b=w_.dom.classes.get(a),c=w_.array.slice(arguments,1),d=0,e=0;for(;e<b.length;e++)if(w_.array.contains(c,b[e])){w_.array.splice(b,e--,1);d++}a.className=b.join(" ");return d==c.length};w_.dom.classes.swap=function(a,b,c){var d=w_.dom.classes.get(a),e=w_a,f=0;for(;f<d.length;f++)if(d[f]==b){w_.array.splice(d,f--,1);e=w_c}if(e){d.push(c);a.className=d.join(" ")}return e};w_.dom.classes.has=function(a,b){return w_.array.contains(w_.dom.classes.get(a),b)};
w_.dom.classes.enable=function(a,b,c){c?w_.dom.classes.add(a,b):w_.dom.classes.remove(a,b)};w_.dom.classes.toggle=function(a,b){var c=!w_.dom.classes.has(a,b);w_.dom.classes.enable(a,b,c);return c};w_.dom.TagName={A:"A",ABBR:"ABBR",ACRONYM:"ACRONYM",ADDRESS:"ADDRESS",APPLET:"APPLET",AREA:"AREA",B:"B",BASE:"BASE",BASEFONT:"BASEFONT",BDO:"BDO",BIG:"BIG",BLOCKQUOTE:"BLOCKQUOTE",BODY:"BODY",BR:"BR",BUTTON:"BUTTON",CAPTION:"CAPTION",CENTER:"CENTER",CITE:"CITE",CODE:"CODE",COL:"COL",COLGROUP:"COLGROUP",DD:"DD",DEL:"DEL",DFN:"DFN",DIR:"DIR",DIV:"DIV",DL:"DL",DT:"DT",EM:"EM",FIELDSET:"FIELDSET",FONT:"FONT",FORM:"FORM",FRAME:"FRAME",FRAMESET:"FRAMESET",H1:"H1",H2:"H2",H3:"H3",H4:"H4",H5:"H5",H6:"H6",
HEAD:"HEAD",HR:"HR",HTML:"HTML",I:"I",IFRAME:"IFRAME",IMG:"IMG",INPUT:"INPUT",INS:"INS",ISINDEX:"ISINDEX",KBD:"KBD",LABEL:"LABEL",LEGEND:"LEGEND",LI:"LI",LINK:"LINK",MAP:"MAP",MENU:"MENU",META:"META",NOFRAMES:"NOFRAMES",NOSCRIPT:"NOSCRIPT",OBJECT:"OBJECT",OL:"OL",OPTGROUP:"OPTGROUP",OPTION:"OPTION",P:"P",PARAM:"PARAM",PRE:"PRE",Q:"Q",S:"S",SAMP:"SAMP",SCRIPT:"SCRIPT",SELECT:"SELECT",SMALL:"SMALL",SPAN:"SPAN",STRIKE:"STRIKE",STRONG:"STRONG",STYLE:"STYLE",SUB:"SUB",SUP:"SUP",TABLE:"TABLE",TBODY:"TBODY",
TD:"TD",TEXTAREA:"TEXTAREA",TFOOT:"TFOOT",TH:"TH",THEAD:"THEAD",TITLE:"TITLE",TR:"TR",TT:"TT",U:"U",UL:"UL",VAR:"VAR"};w_.dom.ASSUME_QUIRKS_MODE=w_a;w_.dom.ASSUME_STANDARDS_MODE=w_a;w_.dom.Vd=w_.dom.ASSUME_QUIRKS_MODE||w_.dom.ASSUME_STANDARDS_MODE;w_.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12};w_.dom.Na=function(){return w_.dom.qg||(w_.dom.qg=new w_.dom.DomHelper)};w_.dom.Oa=function(a){return a?new w_.dom.DomHelper(w_.dom.ia(a)):w_.dom.Na()};w_.dom.of=function(){return document};
w_.dom.gb=function(a){return w_.isString(a)?document.getElementById(a):a};w_.dom.Pd=w_.dom.gb;w_.dom.Pa=function(a,b,c){return w_.dom.Na().Pa(a,b,c)};w_.dom.Qd=w_.dom.Pa;w_.dom.sb=function(a,b){w_.object.forEach(b,function(c,d){if(d=="style")a.style.cssText=c;else if(d=="class")a.className=c;else if(d=="for")a.htmlFor=c;else if(d in w_.dom.Xd)a.setAttribute(w_.dom.Xd[d],c);else a[d]=c})};
w_.dom.Xd={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",type:"type"};
w_.dom.gd=function(a){var b=a||w_.global||window,c=b.document;if(w_.userAgent.WEBKIT&&!w_.userAgent.isVersion("500")&&!w_.userAgent.MOBILE){if(typeof b.innerHeight=="undefined")b=window;var d=b.innerHeight,e=b.document.documentElement.scrollHeight;if(b==b.top)if(e<d)d-=15;return new w_.math.Size(b.innerWidth,d)}var f=w_.dom.Oa(c),g=f.ja()&&(!w_.userAgent.OPERA||w_.userAgent.OPERA&&w_.userAgent.isVersion("9.50"))?c.documentElement:c.body;return new w_.math.Size(g.clientWidth,g.clientHeight)};
w_.dom.getPageScroll=function(a){var b=a||w_.global||window;return w_.dom.Oa(b.document).Vb()};w_.dom.Vb=function(){return w_.dom.Na().Vb()};w_.dom.jb=function(a){return w_.dom.Oa(a).jb()};w_.dom.J=function(){var a=w_.dom.Na();return a.J.apply(a,arguments)};w_.dom.Rd=w_.dom.J;w_.dom.createElement=function(a){return document.createElement(a)};w_.dom.createTextNode=function(a){return document.createTextNode(a)};w_.dom.od=function(a){return w_.dom.Na().od(a)};
w_.dom.nf=function(){return w_.dom.ja()?"CSS1Compat":"BackCompat"};w_.dom.ja=function(){return w_.dom.Vd?w_.dom.ASSUME_STANDARDS_MODE:w_.dom.Na().ja()};w_.dom.canHaveChildren=function(a){if(a.nodeType!=w_.dom.NodeType.ELEMENT)return w_a;if("canHaveChildren"in a)return a.canHaveChildren;switch(a.tagName){case w_.dom.TagName.APPLET:case w_.dom.TagName.AREA:case w_.dom.TagName.BR:case w_.dom.TagName.COL:case w_.dom.TagName.FRAME:case w_.dom.TagName.HR:case w_.dom.TagName.IMG:case w_.dom.TagName.INPUT:case w_.dom.TagName.IFRAME:case w_.dom.TagName.ISINDEX:case w_.dom.TagName.LINK:case w_.dom.TagName.NOFRAMES:case w_.dom.TagName.NOSCRIPT:case w_.dom.TagName.META:case w_.dom.TagName.OBJECT:case w_.dom.TagName.PARAM:case w_.dom.TagName.SCRIPT:case w_.dom.TagName.STYLE:return w_a}return w_c};
w_.dom.appendChild=function(a,b){a.appendChild(b)};w_.dom.nb=function(a){var b;for(;b=a.firstChild;)a.removeChild(b)};w_.dom.td=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)};w_.dom.sd=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};w_.dom.removeNode=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):w_b};w_.dom.replaceNode=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)};
w_.dom.Uc=function(a){var b,c=a.parentNode;if(c&&c.nodeType!=w_.dom.NodeType.DOCUMENT_FRAGMENT)if(a.removeNode)return a.removeNode(w_a);else{for(;b=a.firstChild;)c.insertBefore(b,a);return w_.dom.removeNode(a)}};w_.dom.Wc=function(a){return w_.dom.Yb(a.firstChild,w_c)};w_.dom.Yc=function(a){return w_.dom.Yb(a.lastChild,w_a)};w_.dom.$c=function(a){return w_.dom.Yb(a.nextSibling,w_c)};w_.dom.dd=function(a){return w_.dom.Yb(a.previousSibling,w_a)};
w_.dom.Yb=function(a,b){for(;a&&a.nodeType!=w_.dom.NodeType.ELEMENT;)a=b?a.nextSibling:a.previousSibling;return a};w_.dom.dc=function(a){return w_.isObject(a)&&a.nodeType>0};w_.dom.$f=w_.userAgent.WEBKIT&&w_.userAgent.compare(w_.userAgent.VERSION,"521")<=0;
w_.dom.contains=function(a,b){if(typeof a.contains!="undefined"&&!w_.dom.$f&&b.nodeType==w_.dom.NodeType.ELEMENT)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};
w_.dom.compareNodeOrder=function(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=a.nodeType==w_.dom.NodeType.ELEMENT,d=b.nodeType==w_.dom.NodeType.ELEMENT;if(c&&d)return a.sourceIndex-b.sourceIndex;else{var e=a.parentNode,f=b.parentNode;if(e==f)return w_.dom.Ze(a,b);if(!c&&w_.dom.contains(e,b))return-1*w_.dom.Ye(a,b);if(!d&&w_.dom.contains(f,a))return w_.dom.Ye(b,a);return(c?a.sourceIndex:
e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}}var g=w_.dom.ia(a),h,i;h=g.createRange();h.selectNode(a);h.collapse(w_c);i=g.createRange();i.selectNode(b);i.collapse(w_c);return h.compareBoundaryPoints(w_.global.Range.START_TO_END,i)};w_.dom.Ye=function(a,b){var c=a.parentNode;if(c==b)return-1;var d=b;for(;d.parentNode!=c;)d=d.parentNode;return w_.dom.Ze(d,a)};w_.dom.Ze=function(a,b){var c=b;for(;c=c.previousSibling;)if(c==a)return-1;return 1};
w_.dom.findCommonAncestor=function(){var a,b=arguments.length;if(b){if(b==1)return arguments[0]}else return w_b;var c=[],d=Infinity;a=0;for(;a<b;a++){var e=[],f=arguments[a];for(;f;){e.unshift(f);f=f.parentNode}c.push(e);d=Math.min(d,e.length)}var g=w_b;a=0;for(;a<d;a++){var h=c[0][a],i=1;for(;i<b;i++)if(h!=c[i][a])return g;g=h}return g};w_.dom.ia=function(a){return a.nodeType==w_.dom.NodeType.DOCUMENT?a:a.ownerDocument||a.document};
w_.dom.Xb=function(a){var b;return b=w_.userAgent.WEBKIT?a.document||a.contentWindow.document:a.contentDocument||a.contentWindow.document};w_.dom.Xc=function(a){return a.contentWindow||w_.dom.jb(w_.dom.Xb(a))};w_.dom.Hd=function(a,b){if("textContent"in a)a.textContent=b;else if(a.firstChild&&a.firstChild.nodeType==w_.dom.NodeType.TEXT){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else{w_.dom.nb(a);var c=w_.dom.ia(a);a.appendChild(c.createTextNode(b))}};
w_.dom.getOuterHtml=function(a){if("outerHTML"in a)return a.outerHTML;else{var b=w_.dom.ia(a),c=b.createElement("div");c.appendChild(a.cloneNode(w_c));return c.innerHTML}};w_.dom.Rc=function(a,b){var c=[];w_.dom.Tc(a,b,c,w_c);return c.length?c[0]:undefined};w_.dom.Sc=function(a,b){var c=[];w_.dom.Tc(a,b,c,w_a);return c};w_.dom.Tc=function(a,b,c,d){if(a!=w_b){var e=0,f;for(;f=a.childNodes[e];e++){if(b(f)){c.push(f);if(d)return}w_.dom.Tc(f,b,c,d)}}};w_.dom.Fe={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1};
w_.dom.Eb={IMG:" ",BR:"\n"};w_.dom.isFocusableTabIndex=function(a){var b=a.getAttributeNode("tabindex");if(b&&b.specified){var c=a.tabIndex;return w_.isNumber(c)&&c>=0}return w_a};w_.dom.setFocusableTabIndex=function(a,b){if(b)a.tabIndex=0;else a.removeAttribute("tabIndex")};
w_.dom.ib=function(a){var b;if(w_.userAgent.IE&&"innerText"in a)b=w_.string.canonicalizeNewlines(a.innerText);else{var c=[];w_.dom.fd(a,c,w_c);b=c.join("")}b=b.replace(/\xAD/g,"");b=b.replace(/ +/g," ");if(b!=" ")b=b.replace(/^\s*/,"");return b};w_.dom.getRawTextContent=function(a){var b=[];w_.dom.fd(a,b,w_a);return b.join("")};
w_.dom.fd=function(a,b,c){if(!(a.nodeName in w_.dom.Fe))if(a.nodeType==w_.dom.NodeType.TEXT)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in w_.dom.Eb)b.push(w_.dom.Eb[a.nodeName]);else{var d=a.firstChild;for(;d;){w_.dom.fd(d,b,c);d=d.nextSibling}}};w_.dom.ad=function(a){return w_.dom.ib(a).length};
w_.dom.bd=function(a,b){var c=b||w_.dom.ia(a).body,d=[];for(;a&&a!=c;){var e=a;for(;e=e.previousSibling;)d.unshift(w_.dom.ib(e));a=a.parentNode}return w_.string.trimLeft(d.join("")).replace(/ +/g," ").length};
w_.dom.getNodeAtOffset=function(a,b,c){var d=[a],e=0,f;for(;d.length>0&&e<b;){f=d.pop();if(!(f.nodeName in w_.dom.Fe))if(f.nodeType==w_.dom.NodeType.TEXT){var g=f.nodeValue.replace(/(\r\n|\r|\n)/g,"").replace(/ +/g," ");e+=g.length}else if(f.nodeName in w_.dom.Eb)e+=w_.dom.Eb[f.nodeName].length;else{var h=f.childNodes.length-1;for(;h>=0;h--)d.push(f.childNodes[h])}}if(w_.isObject(c)){c.remainder=f?f.nodeValue.length+b-e-1:0;c.node=f}return f};
w_.dom.isNodeList=function(a){if(a&&typeof a.length=="number")if(w_.isObject(a))return typeof a.item=="function"||typeof a.item=="string";else if(w_.isFunction(a))return typeof a.item=="function";return w_a};w_.dom.Vc=function(a,b,c){return w_.dom.Ub(a,function(d){return(!b||d.nodeName==b)&&(!c||w_.dom.classes.has(d,c))},w_c)};w_.dom.Ub=function(a,b,c,d){if(!c)a=a.parentNode;var e=d==w_b,f=0;for(;a&&(e||f<=d);){if(b(a))return a;a=a.parentNode;f++}return w_b};
w_.dom.DomHelper=function(a){this.X=a||w_.global.document||document};w_.dom.DomHelper.prototype.Oa=w_.dom.Oa;w_.dom.DomHelper.prototype.of=function(){return this.X};w_.dom.DomHelper.prototype.gb=function(a){return w_.isString(a)?this.X.getElementById(a):a};w_.dom.DomHelper.prototype.Pd=w_.dom.DomHelper.prototype.gb;
w_.dom.DomHelper.prototype.Pa=function(a,b,c){var d=c||this.X,e=a&&a!="*"?a.toLowerCase():"";if(d.querySelectorAll&&(e||b)&&(!w_.userAgent.WEBKIT||this.ja()||w_.userAgent.isVersion("528"))){var f=e+(b?"."+b:""),g=d.querySelectorAll(f);return w_.userAgent.IE&&w_.userAgent.isVersion("8")?w_.array.toArray(g):g}if(b&&d.getElementsByClassName){var h=d.getElementsByClassName(b);if(e){var i=[],j=0,k;for(;k=h[j];j++)e==k.nodeName.toLowerCase()&&i.push(k);return i}else return h}var h=d.getElementsByTagName(e||
"*");if(b){var i=[],j=0,k;for(;k=h[j];j++){var l=k.className;typeof l.split=="function"&&w_.array.contains(l.split(" "),b)&&i.push(k)}return i}else return h};w_.dom.DomHelper.prototype.Qd=w_.dom.DomHelper.prototype.Pa;w_.dom.DomHelper.prototype.sb=w_.dom.sb;w_.dom.DomHelper.prototype.gd=function(a){return w_.dom.gd(a||this.jb())};
w_.dom.DomHelper.prototype.J=function(a,b){if(w_.userAgent.IE&&b&&(b.name||b.type)){var c=["<",a];b.name&&c.push(' name="',w_.string.htmlEscape(b.name),'"');if(b.type){c.push(' type="',w_.string.htmlEscape(b.type),'"');b=w_.cloneObject(b);delete b.type}c.push(">");a=c.join("")}var d=this.createElement(a);b&&w_.dom.sb(d,b);if(arguments.length>2){function e(h){if(h)this.appendChild(d,w_.isString(h)?this.createTextNode(h):h)}var f=2;for(;f<arguments.length;f++){var g=arguments[f];w_.isArrayLike(g)&&
!w_.dom.dc(g)?w_.array.forEach(w_.dom.isNodeList(g)?w_.array.clone(g):g,e,this):e.call(this,g)}}return d};w_.dom.DomHelper.prototype.Rd=w_.dom.DomHelper.prototype.J;w_.dom.DomHelper.prototype.createElement=function(a){return this.X.createElement(a)};w_.dom.DomHelper.prototype.createTextNode=function(a){return this.X.createTextNode(a)};
w_.dom.DomHelper.prototype.od=function(a){var b=this.X.createElement("div");b.innerHTML=a;if(b.childNodes.length==1)return b.firstChild;else{var c=this.X.createDocumentFragment();for(;b.firstChild;)c.appendChild(b.firstChild);return c}};w_.dom.DomHelper.prototype.nf=function(){return this.ja()?"CSS1Compat":"BackCompat"};
w_.dom.DomHelper.prototype.ja=function(){if(w_.dom.Vd)return w_.dom.ASSUME_STANDARDS_MODE;var a=this.X;if(a.compatMode)return a.compatMode=="CSS1Compat";if(w_.userAgent.WEBKIT){var b=a.createElement("div");b.style.cssText="position:absolute;width:0;height:0;width:1";var c=b.style.width=="1px"?"BackCompat":"CSS1Compat";return(a.compatMode=c)=="CSS1Compat"}return w_a};
w_.dom.DomHelper.prototype.jb=function(){var a=this.X;if(a.parentWindow)return a.parentWindow;if(w_.userAgent.WEBKIT&&!w_.userAgent.isVersion("500")&&!w_.userAgent.MOBILE){var b=a.createElement("script");b.innerHTML="document.parentWindow=window";var c=a.documentElement;c.appendChild(b);c.removeChild(b);return a.parentWindow}return a.defaultView};w_.dom.DomHelper.prototype.pf=function(){var a=this.X;return!w_.userAgent.WEBKIT&&this.ja()?a.documentElement:a.body};
w_.dom.DomHelper.prototype.Vb=function(){var a=this.pf();return new w_.math.Coordinate(a.scrollLeft,a.scrollTop)};w_.dom.DomHelper.prototype.appendChild=w_.dom.appendChild;w_.dom.DomHelper.prototype.nb=w_.dom.nb;w_.dom.DomHelper.prototype.td=w_.dom.td;w_.dom.DomHelper.prototype.sd=w_.dom.sd;w_.dom.DomHelper.prototype.removeNode=w_.dom.removeNode;w_.dom.DomHelper.prototype.replaceNode=w_.dom.replaceNode;w_.dom.DomHelper.prototype.Uc=w_.dom.Uc;w_.dom.DomHelper.prototype.Wc=w_.dom.Wc;
w_.dom.DomHelper.prototype.Yc=w_.dom.Yc;w_.dom.DomHelper.prototype.$c=w_.dom.$c;w_.dom.DomHelper.prototype.dd=w_.dom.dd;w_.dom.DomHelper.prototype.dc=w_.dom.dc;w_.dom.DomHelper.prototype.contains=w_.dom.contains;w_.dom.DomHelper.prototype.ia=w_.dom.ia;w_.dom.DomHelper.prototype.Xb=w_.dom.Xb;w_.dom.DomHelper.prototype.Xc=w_.dom.Xc;w_.dom.DomHelper.prototype.Hd=w_.dom.Hd;w_.dom.DomHelper.prototype.Rc=w_.dom.Rc;w_.dom.DomHelper.prototype.Sc=w_.dom.Sc;w_.dom.DomHelper.prototype.ib=w_.dom.ib;
w_.dom.DomHelper.prototype.ad=w_.dom.ad;w_.dom.DomHelper.prototype.bd=w_.dom.bd;w_.dom.DomHelper.prototype.Vc=w_.dom.Vc;w_.dom.DomHelper.prototype.Ub=w_.dom.Ub;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(){for(;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{for(;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(){for(;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(){for(;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{for(;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{for(;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(){for(;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(){for(;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{for(;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={};w_.structs.O=function(a){if(typeof a.O=="function")return a.O();if(w_.isArrayLike(a)||w_.isString(a))return a.length;return w_.object.O(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,d=0;for(;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,d=0;for(;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.ba=="function")return a.ba(b);if(w_.isArrayLike(a)||w_.isString(a))return w_.array.contains(a,b);return w_.object.ba(a,b)};
w_.structs.u=function(a){if(typeof a.u=="function")return a.u();if(w_.isArrayLike(a)||w_.isString(a))return w_.array.u(a);return w_.object.u(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,g=0;for(;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={};var h=0;for(;h<g;h++)if(b.call(c,f[h],e[h],a))d[e[h]]=f[h]}else{d=[];var h=0;for(;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={};var h=0;for(;h<g;h++)d[e[h]]=b.call(c,f[h],e[h],a)}else{d=[];var h=0;for(;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,g=0;for(;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,g=0;for(;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.F={};this.o=[];var b=arguments.length;if(b>1){if(b%2)w_d(Error("Uneven number of arguments"));var c=0;for(;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.Le(a)};w_.structs.Map.prototype.g=0;w_.structs.Map.prototype.Ua=0;w_.structs.Map.prototype.O=function(){return this.g};w_.structs.Map.prototype.m=function(){this.Ia();var a=[],b=0;for(;b<this.o.length;b++){var c=this.o[b];a.push(this.F[c])}return a};w_.structs.Map.prototype.j=function(){this.Ia();return this.o.concat()};
w_.structs.Map.prototype.s=function(a){return w_.structs.Map.va(this.F,a)};w_.structs.Map.prototype.ba=function(a){var b=0;for(;b<this.o.length;b++){var c=this.o[b];if(w_.structs.Map.va(this.F,c)&&this.F[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.O())return w_a;var c=b||w_.structs.Map.defaultEquals;this.Ia();var d,e=0;for(;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.u=function(){return this.g==0};w_.structs.Map.prototype.clear=function(){this.F={};this.Ua=this.g=this.o.length=0};w_.structs.Map.prototype.remove=function(a){if(w_.structs.Map.va(this.F,a)){delete this.F[a];this.g--;this.Ua++;this.o.length>2*this.g&&this.Ia();return w_c}return w_a};
w_.structs.Map.prototype.Ia=function(){if(this.g!=this.o.length){var a=0,b=0;for(;a<this.o.length;){var c=this.o[a];if(w_.structs.Map.va(this.F,c))this.o[b++]=c;a++}this.o.length=b}if(this.g!=this.o.length){var d={},a=0,b=0;for(;a<this.o.length;){var c=this.o[a];if(!w_.structs.Map.va(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.va(this.F,a))return this.F[a];return b};
w_.structs.Map.prototype.set=function(a,b){if(!w_.structs.Map.va(this.F,a)){this.g++;this.o.push(a);this.Ua++}this.F[a]=b};w_.structs.Map.prototype.Le=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)}var d=0;for(;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,b=0;for(;b<this.o.length;b++){var c=this.o[b],d=this.F[c];a.set(d,c)}return a};w_.structs.Map.prototype.__iterator__=function(a){this.Ia();var b=0,c=this.o,d=this.F,e=this.Ua,f=this,g=new w_.iter.Iterator;g.next=function(){for(;w_c;){if(e!=f.Ua)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.va=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.O=function(a){return w_.structs.O(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)){var c=0;for(;c<a.length;c++)b.push(c)}else return w_.object.j(a);return b};
w_.structs.Map.s=function(a,b){if(typeof a.s=="function")return a.s(b);if(w_.isArrayLike(a))return Number(b)<a.length;return w_.object.s(a,b)};w_.structs.Map.ba=function(a,b){return w_.structs.contains(a,b)};w_.structs.Map.u=function(a){return w_.structs.u(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.s(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.s(a,b))return a[b];return c};w_.structs.Map.set=function(a,b,c){if(typeof a.set=="function")a.set(b,c);else a[b]=c};w_.asserts={};w_.asserts.assert=function(a,b){if(w_.DEBUG&&!a)w_d(Error("Assertion failed"+(b?": "+b:"")))};w_.asserts.fail=function(a){if(w_.DEBUG)w_d(Error("Failure"+(a?": "+a:"")))};w_.uri={};w_.uri.utils={};w_.uri.utils.Za={AMPERSAND:38,EQUAL:61,HASH:35,QUESTION:63};w_.uri.utils.buildFromEncodedParts=function(a,b,c,d,e,f,g){var h=[];a&&h.push(a,":");if(c){h.push("//");b&&h.push(b,"@");h.push(c);d&&h.push(":",d)}e&&h.push(e);f&&h.push("?",f);g&&h.push("#",g);return h.join("")};w_.uri.utils.Vg=/^(?:([^:\/?#]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;
w_.uri.utils.ComponentIndex={SCHEME:1,USER_INFO:2,DOMAIN:3,PORT:4,PATH:5,QUERY_DATA:6,FRAGMENT:7};w_.uri.utils.split=function(a){return a.match(w_.uri.utils.Vg)};w_.uri.utils.Nb=function(a){return a&&decodeURIComponent(a)};w_.uri.utils.Ma=function(a,b){return w_.uri.utils.split(b)[a]||w_b};w_.uri.utils.Zb=function(a){return w_.uri.utils.Ma(w_.uri.utils.ComponentIndex.SCHEME,a)};w_.uri.utils.getUserInfoEncoded=function(a){return w_.uri.utils.Ma(w_.uri.utils.ComponentIndex.USER_INFO,a)};
w_.uri.utils.$b=function(a){return w_.uri.utils.Nb(w_.uri.utils.getUserInfoEncoded(a))};w_.uri.utils.getDomainEncoded=function(a){return w_.uri.utils.Ma(w_.uri.utils.ComponentIndex.DOMAIN,a)};w_.uri.utils.fb=function(a){return w_.uri.utils.Nb(w_.uri.utils.getDomainEncoded(a))};w_.uri.utils.hb=function(a){return Number(w_.uri.utils.Ma(w_.uri.utils.ComponentIndex.PORT,a))||w_b};w_.uri.utils.getPathEncoded=function(a){return w_.uri.utils.Ma(w_.uri.utils.ComponentIndex.PATH,a)};w_.uri.utils.ua=function(a){return w_.uri.utils.Nb(w_.uri.utils.getPathEncoded(a))};
w_.uri.utils.ed=function(a){return w_.uri.utils.Ma(w_.uri.utils.ComponentIndex.QUERY_DATA,a)};w_.uri.utils.getFragmentEncoded=function(a){var b=a.indexOf("#");return b<0?w_b:a.substr(b+1)};w_.uri.utils.Wb=function(a){return w_.uri.utils.Nb(w_.uri.utils.getFragmentEncoded(a))};w_.uri.utils.getHost=function(a){var b=w_.uri.utils.split(a);return w_.uri.utils.buildFromEncodedParts(b[w_.uri.utils.ComponentIndex.SCHEME],b[w_.uri.utils.ComponentIndex.USER_INFO],b[w_.uri.utils.ComponentIndex.DOMAIN],b[w_.uri.utils.ComponentIndex.PORT])};
w_.uri.utils.getPathAndAfter=function(a){var b=w_.uri.utils.split(a);return w_.uri.utils.buildFromEncodedParts(w_b,w_b,w_b,w_b,b[w_.uri.utils.ComponentIndex.PATH],b[w_.uri.utils.ComponentIndex.QUERY_DATA],b[w_.uri.utils.ComponentIndex.FRAGMENT])};w_.uri.utils.removeFragment=function(a){var b=a.indexOf("#");return b<0?a:a.substr(0,b)};
w_.uri.utils.haveSameDomain=function(a,b){var c=w_.uri.utils.split(a),d=w_.uri.utils.split(b);return c[w_.uri.utils.ComponentIndex.DOMAIN]==d[w_.uri.utils.ComponentIndex.DOMAIN]&&c[w_.uri.utils.ComponentIndex.SCHEME]==d[w_.uri.utils.ComponentIndex.SCHEME]&&c[w_.uri.utils.ComponentIndex.PORT]==d[w_.uri.utils.ComponentIndex.PORT]};w_.uri.utils.Pe=function(){};w_.uri.utils.Ec=function(a){w_.uri.utils.Pe(a[0]);if(a[1]){var b=a[0].indexOf("?");if(b<0)a[1]="?";else if(b==a[0].length-1)a[1]=""}return a.join("")};
w_.uri.utils.Oe=function(a,b,c){if(w_.isArray(b)){b=b;var d=0;for(;d<b.length;d++)c.push("&",a,"=",w_.string.urlEncode(b[d]))}else b!=w_b&&c.push("&",a,"=",w_.string.urlEncode(b))};w_.uri.utils.Ve=function(a,b,c){w_.asserts.assert((b.length-(c||0))%2==0,"goog.uri.utils: Key/value lists must be even in length.");var d=c||0;for(;d<b.length;d+=2)w_.uri.utils.Oe(b[d],b[d+1],a);return a};w_.uri.utils.buildQueryData=function(a,b){var c=w_.uri.utils.Ve([],a,b);c[0]="";return c.join("")};
w_.uri.utils.Ue=function(a,b){for(var c in b)w_.uri.utils.Oe(c,b[c],a);return a};w_.uri.utils.buildQueryDataFromMap=function(a){var b=w_.uri.utils.Ue([],a);b[0]="";return b.join("")};w_.uri.utils.appendParams=function(a){return w_.uri.utils.Ec(w_.uri.utils.Ve([a],arguments,1))};w_.uri.utils.appendParamsFromMap=function(a,b){return w_.uri.utils.Ec(w_.uri.utils.Ue([a],b))};w_.uri.utils.appendParam=function(a,b,c){return w_.uri.utils.Ec([a,"&",b,"=",w_.string.urlEncode(c)])};
w_.uri.utils.Tb=function(a,b,c,d){var e=b,f=c.length;for(;(e=a.indexOf(c,e))>=0&&e<d;){var g=a.charCodeAt(e-1);if(g==w_.uri.utils.Za.AMPERSAND||g==w_.uri.utils.Za.QUESTION){var h=a.charCodeAt(e+f);if(!h||h==w_.uri.utils.Za.EQUAL||h==w_.uri.utils.Za.AMPERSAND||h==w_.uri.utils.Za.HASH)return e}e+=f+1}return-1};w_.uri.utils.nd=/#|$/;w_.uri.utils.hasParam=function(a,b){return w_.uri.utils.Tb(a,0,b,a.search(w_.uri.utils.nd))>=0};
w_.uri.utils.getParamValue=function(a,b){var c=a.search(w_.uri.utils.nd),d=w_.uri.utils.Tb(a,0,b,c);if(d<0)return w_b;else{var e=a.indexOf("&",d);if(e<0||e>c)e=c;d+=b.length+1;return w_.string.urlDecode(a.substr(d,e-d))}};w_.uri.utils.getParamValues=function(a,b){var c=a.search(w_.uri.utils.nd),d=0,e,f=[];for(;(e=w_.uri.utils.Tb(a,d,b,c))>=0;){d=a.indexOf("&",e);if(d<0||d>c)d=c;e+=b.length+1;f.push(w_.string.urlDecode(a.substr(e,d-e)))}return f};w_.uri.utils.Xg=/[?&]$/;
w_.uri.utils.removeParam=function(a,b){w_.uri.utils.Pe(a);var c=a.length,d=0,e,f=[];for(;(e=w_.uri.utils.Tb(a,d,b,c))>=0;){f.push(a.substring(d,e));d=a.indexOf("&",e)+1||c}f.push(a.substr(d));return f.join("").replace(w_.uri.utils.Xg,"")};w_.Uri=function(a,b){var c;if(a instanceof w_.Uri){this.ma(b==w_b?a.qf():b);this.ub(a.Zb());this.vb(a.$b());this.ob(a.fb());this.rb(a.hb());this.qb(a.ua());this.tb(a.ed().clone());this.pb(a.Wb())}else if(a&&(c=w_.uri.utils.split(String(a)))){this.ma(!!b);this.ub(c[w_.uri.utils.ComponentIndex.SCHEME],w_c);this.vb(c[w_.uri.utils.ComponentIndex.USER_INFO],w_c);this.ob(c[w_.uri.utils.ComponentIndex.DOMAIN],w_c);this.rb(c[w_.uri.utils.ComponentIndex.PORT]);this.qb(c[w_.uri.utils.ComponentIndex.PATH],w_c);
this.tb(c[w_.uri.utils.ComponentIndex.QUERY_DATA]);this.pb(c[w_.uri.utils.ComponentIndex.FRAGMENT],w_c)}else{this.ma(!!b);this.T=new w_.Uri.QueryData(w_b,this,this.W)}};w_.Uri.RANDOM_PARAM="zx";w_.Uri.prototype.Z="";w_.Uri.prototype.Fa="";w_.Uri.prototype.ra="";w_.Uri.prototype.Ca=w_b;w_.Uri.prototype.Ba="";w_.Uri.prototype.sa="";w_.Uri.prototype.Df=w_a;w_.Uri.prototype.W=w_a;
w_.Uri.prototype.toString=function(){if(this.C)return this.C;var a=[];this.Z&&a.push(w_.Uri.Rb(this.Z,w_.Uri.Uf),":");if(this.ra){a.push("//");this.Fa&&a.push(w_.Uri.Rb(this.Fa,w_.Uri.Uf),"@");a.push(w_.Uri.zg(this.ra));this.Ca!=w_b&&a.push(":",String(this.hb()))}this.Ba&&a.push(w_.Uri.Rb(this.Ba,w_.Uri.Rg));var b=String(this.T);b&&a.push("?",b);this.sa&&a.push("#",w_.Uri.Rb(this.sa,w_.Uri.Qg));return this.C=a.join("")};
w_.Uri.prototype.resolve=function(a){var b=this.clone(),c=a.yf();if(c)b.ub(a.Zb());else c=a.zf();if(c)b.vb(a.$b());else c=a.ld();if(c)b.ob(a.fb());else c=a.wf();var d=a.ua();if(c)b.rb(a.hb());else if(c=a.md()){if(d.charAt(0)!="/")if(this.ld()&&!this.md())d="/"+d;else{var e=b.ua().lastIndexOf("/");if(e!=-1)d=b.ua().substr(0,e+1)+d}d=w_.Uri.Sg(d)}if(c)b.qb(d);else c=a.xf();if(c)b.tb(a.sf());else c=a.vf();c&&b.pb(a.Wb());return b};
w_.Uri.prototype.clone=function(){return w_.Uri.create(this.Z,this.Fa,this.ra,this.Ca,this.Ba,this.T.clone(),this.sa,this.W)};w_.Uri.prototype.Zb=function(){return this.Z};w_.Uri.prototype.ub=function(a,b){this.ca();delete this.C;if(this.Z=b?w_.Uri.db(a):a)this.Z=this.Z.replace(/:$/,"");return this};w_.Uri.prototype.yf=function(){return!!this.Z};w_.Uri.prototype.$b=function(){return this.Fa};w_.Uri.prototype.vb=function(a,b){this.ca();delete this.C;this.Fa=b?w_.Uri.db(a):a;return this};
w_.Uri.prototype.zf=function(){return!!this.Fa};w_.Uri.prototype.fb=function(){return this.ra};w_.Uri.prototype.ob=function(a,b){this.ca();delete this.C;this.ra=b?w_.Uri.db(a):a;return this};w_.Uri.prototype.ld=function(){return!!this.ra};w_.Uri.prototype.hb=function(){return this.Ca};w_.Uri.prototype.rb=function(a){this.ca();delete this.C;if(a){a=Number(a);if(isNaN(a)||a<0)w_d(Error("Bad port number "+a));this.Ca=a}else this.Ca=w_b;return this};w_.Uri.prototype.wf=function(){return this.Ca!=w_b};
w_.Uri.prototype.ua=function(){return this.Ba};w_.Uri.prototype.qb=function(a,b){this.ca();delete this.C;this.Ba=b?w_.Uri.db(a):a;return this};w_.Uri.prototype.md=function(){return!!this.Ba};w_.Uri.prototype.xf=function(){return this.T.toString()!==""};w_.Uri.prototype.tb=function(a){this.ca();delete this.C;if(a instanceof w_.Uri.QueryData){this.T=a;this.T.wb=this;this.T.ma(this.W)}else this.T=new w_.Uri.QueryData(a,this,this.W);return this};w_.Uri.prototype.sf=function(){return this.T.toString()};
w_.Uri.prototype.ed=function(){return this.T};w_.Uri.prototype.fc=function(a,b){this.ca();delete this.C;w_.isArray(b)||(b=[String(b)]);this.T.Zf(a,b);return this};w_.Uri.prototype.Wb=function(){return this.sa};w_.Uri.prototype.pb=function(a,b){this.ca();delete this.C;this.sa=b?w_.Uri.db(a):a;return this};w_.Uri.prototype.vf=function(){return!!this.sa};w_.Uri.prototype.ca=function(){if(this.Df)w_d(Error("Tried to modify a read-only Uri"))};w_.Uri.prototype.ma=function(a){this.W=a;this.T&&this.T.ma(a)};
w_.Uri.prototype.qf=function(){return this.W};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.ub(a);b&&i.vb(b);c&&i.ob(c);d&&i.rb(d);e&&i.qb(e);f&&i.tb(f);g&&i.pb(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.Sg=function(a){if(a==".."||a==".")return"";else if(!w_.string.contains(a,"./")&&!w_.string.contains(a,"/."))return a;else{var b=w_.string.Kd(a,"/"),c=a.split("/"),d=[],e=0;for(;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.db=function(a){return a?decodeURIComponent(a):""};
w_.Uri.zg=function(a){if(w_.isString(a))return encodeURIComponent(a);return w_b};w_.Uri.yg=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/;w_.Uri.Rb=function(a,b){var c=w_b;if(w_.isString(a)){c=a;w_.Uri.yg.test(c)||(c=encodeURI(a));if(c.search(b)>=0)c=c.replace(b,w_.Uri.xg)}return c};w_.Uri.xg=function(a){var b=a.charCodeAt(0);return"%"+(b>>4&15).toString(16)+(b&15).toString(16)};w_.Uri.Uf=/[#\/\?@]/g;w_.Uri.Rg=/[\#\?]/g;w_.Uri.Qg=/#/g;
w_.Uri.haveSameDomain=function(a,b){var c=w_.uri.utils.split(a),d=w_.uri.utils.split(b);return c[w_.uri.utils.ComponentIndex.DOMAIN]==d[w_.uri.utils.ComponentIndex.DOMAIN]&&c[w_.uri.utils.ComponentIndex.PORT]==d[w_.uri.utils.ComponentIndex.PORT]};
w_.Uri.QueryData=function(a,b,c){this.n=new w_.structs.Map;this.wb=b||w_b;this.W=!!c;if(a){var d=a.split("&"),e=0;for(;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.da(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),f=0;for(;f<a.length;f++)e.add(a[f],b[f]);return e};w_.Uri.QueryData.prototype.g=0;w_.Uri.QueryData.prototype.O=function(){return this.g};w_.Uri.QueryData.prototype.add=function(a,b){this.ya();a=this.da(a);if(this.s(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.da(a);if(this.n.s(a)){this.ya();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.ya();this.n.clear();this.g=0};w_.Uri.QueryData.prototype.u=function(){return this.g==0};w_.Uri.QueryData.prototype.s=function(a){a=this.da(a);return this.n.s(a)};w_.Uri.QueryData.prototype.ba=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=[],d=0;for(;d<b.length;d++){var e=a[d];if(w_.isArray(e)){var f=0;for(;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.da(a);if(this.s(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=[];var f=0;for(;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.ya();a=this.da(a);if(this.s(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.da(a);if(this.s(a)){var c=this.n.get(a);return w_.isArray(c)?c[0]:c}else return b};
w_.Uri.QueryData.prototype.Zf=function(a,b){this.ya();a=this.da(a);if(this.s(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.C)return this.C;var a=[],b=0,c=this.n.j(),d=0;for(;d<c.length;d++){var e=c[d],f=w_.string.urlEncode(e),g=this.n.get(e);if(w_.isArray(g)){var h=0;for(;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.C=a.join("")};w_.Uri.QueryData.prototype.ya=function(){delete this.C;this.wb&&delete this.wb.C};
w_.Uri.QueryData.prototype.clone=function(){var a=new w_.Uri.QueryData;a.n=this.n.clone();return a};w_.Uri.QueryData.prototype.da=function(a){var b=String(a);if(this.W)b=b.toLowerCase();return b};w_.Uri.QueryData.prototype.ma=function(a){var b=a&&!this.W;if(b){this.ya();w_.structs.forEach(this.n,function(c,d){var e=d.toLowerCase();if(d!=e){this.remove(d);this.add(e,c)}},this)}this.W=a};
w_.Uri.QueryData.prototype.extend=function(){var a=0;for(;a<arguments.length;a++){var b=arguments[a];w_.structs.forEach(b,function(c,d){this.add(d,c)},this)}};w_.net={};w_.net.Jsonp=function(a,b){this.wb=new w_.Uri(a);this.kg=b?b:"callback";this.ic=5000};w_.net.Jsonp.CALLBACKS="_callbacks_";w_.net.Jsonp.Tg=0;w_.net.Jsonp.prototype.Gd=function(a){this.ic=a};
w_.net.Jsonp.prototype.send=function(a,b,c,d){if(!document.documentElement.firstChild){c&&c(a);return w_b}var e=d||"_"+(w_.net.Jsonp.Tg++).toString(36)+w_.now().toString(36);w_.global[w_.net.Jsonp.CALLBACKS]||(w_.global[w_.net.Jsonp.CALLBACKS]={});var f=w_.dom.createElement("script"),g=w_b;if(this.ic>0){var h=w_.net.Jsonp.Lg(e,f,a,c);g=w_.global.setTimeout(h,this.ic)}var i=this.wb.clone();w_.net.Jsonp.gg(a,i);if(b){var j=w_.net.Jsonp.Mg(e,f,b,g);w_.global[w_.net.Jsonp.CALLBACKS][e]=j;i.fc(this.kg,
w_.net.Jsonp.CALLBACKS+"."+e)}w_.dom.sb(f,{type:"text/javascript",id:e,charset:"UTF-8",src:i.toString()});w_.dom.appendChild(document.getElementsByTagName("head")[0],f);return{gh:e,ic:g}};w_.net.Jsonp.Lg=function(a,b,c,d){return function(){w_.net.Jsonp.Xe(a,b,w_a);d&&d(c)}};w_.net.Jsonp.Mg=function(a,b,c,d){return function(){w_.global.clearTimeout(d);w_.net.Jsonp.Xe(a,b,w_c);c.apply(undefined,arguments)}};
w_.net.Jsonp.Xe=function(a,b,c){w_.global.setTimeout(function(){w_.dom.removeNode(b)},0);if(w_.global[w_.net.Jsonp.CALLBACKS][a])if(c)delete w_.global[w_.net.Jsonp.CALLBACKS][a];else w_.global[w_.net.Jsonp.CALLBACKS][a]=w_.nullFunction};w_.net.Jsonp.gg=function(a,b){for(var c in a)if(!a.hasOwnProperty||a.hasOwnProperty(c))b.fc(c,a[c]);return b};function w_4(a){this.a=a}w_4.prototype.b=function(){return this.a};w_4.prototype.d=function(){return"Feed"};w_4.prototype.c=function(a,b){this.a.k(b)};w_4.prototype.Xa=function(){document.location.reload()};w_4.prototype.i=function(){if(this.Ka=this.a.V("feedItemListDisplay")){var a=this.b().p(),b=new w_5(a.feedUrl,this.Ka,{numItemsShow:a.numItemsShow,showItemAuthor:a.showItemAuthor,showItemDate:a.showItemDate,linkTarget:"_self"});b.Gb()}};
w_4.bg={moduleTitle:w_b,feedUrl:w_D.GetRequiredStringFilter(),numItemsShow:w_D.GetNumberFilter(1,5),showItemDate:w_b,showItemAuthor:w_b,securityToken:w_b};w_4.setConfigurationOptions=function(){w_z.ConfigureWidget(w_4.bg)};function w_5(a,b,c){this.Qc=a;this.Ka=b;this.H=c}w_5.HTTP_OK=200;w_5.FEED_URL="http://ajax.googleapis.com/ajax/services/feed/load";
w_5.prototype.Gb=function(){var a=new w_.net.Jsonp(w_5.FEED_URL);a.Gd(-1);a.send({q:this.Qc,num:this.H.numItemsShow,output:"json",v:"1.0"},w_x(this.we,this))};
w_5.prototype.we=function(a){w_.dom.nb(this.Ka);if(a.responseStatus==w_5.HTTP_OK){var b=w_.dom.J("ul",w_b);this.Ka.appendChild(b);var c=0;for(;c<a.responseData.feed.entries.length;c++){var d=a.responseData.feed.entries[c],e=w_.dom.J("li",w_b);b.appendChild(e);var f=w_.dom.J("a",{href:d.link},d.title);f.target=this.H.linkTarget;e.appendChild(w_.dom.J("span",{"class":"item-title"},f));if(this.H.showItemDate){var g=w_.dom.J("span",{"class":"item-date"});g.innerHTML="&nbsp;-&nbsp;"+(new Date(d.publishedDate)).toLocaleDateString();
e.appendChild(g)}if(this.H.showItemAuthor){var h=w_.dom.J("span",{"class":"item-author"});h.innerHTML="&nbsp;-&nbsp;"+d.author;e.appendChild(h)}}this.Hc&&this.Hc(a.responseData.feed)}else{this.Ka.appendChild(w_.dom.J("span",w_b,"Error loading feed."));this.gf&&this.gf()}};w_5.prototype.ze=function(a){this.Hc=a};w_5.prototype.Wd=function(){this.Hc=this.gf=w_b};w_5.prototype.Ac=function(a){this.Qc=a};w_5.prototype.yc=function(a){this.H=a};var _FeedView=w_4;_FeedView._setConfigurationOptions=w_4.setConfigurationOptions;function w_6(a,b,c){this.Kg=b;this.ec=c;this.Wf=w_a;this.Ld=new w_E("status-message");this.H={linkTarget:"_blank"};this.la=new w_5(this.Qc,a,this.H)}w_6.ag="moduleTitle";w_6.dh="feedUrl";w_6.ce="step1";w_6.de="step2";w_6.xb="feedUrl";w_6.prototype.$d=function(a,b){this.Ld.kc();w_D.ClearError(w_6.xb);if(a){var c=document.getElementById(w_6.ag);c.value=b.title;this.Fb(b.title)}this.le()};w_6.prototype.De=function(){this.Ld.kc();w_D.SetError(w_6.xb,this.ec._invalidFeedUrl);this.Ab()};
w_6.prototype.Ab=function(){w_o(document.getElementById(w_6.ce),w_c);w_o(document.getElementById(w_6.de),w_a)};w_6.prototype.le=function(){w_o(document.getElementById(w_6.ce),w_a);w_o(document.getElementById(w_6.de),w_c)};w_6.prototype.Fb=function(a){this.Kg.innerHTML=a};w_6.prototype.Cc=function(a){this.H.showItemAuthor=a;this.Hb()};w_6.prototype.Dc=function(a){this.H.showItemDate=a;this.Hb()};w_6.prototype.Bc=function(a){this.H.numItemsShow=a;this.Hb()};
w_6.prototype.Hb=function(){this.la.yc(this.H);this.la.Wd();this.la.Gb()};w_6.prototype.wc=function(a,b,c,d){if(!a||a=="")w_D.SetError(w_6.xb,this.ec._missingFeedUrl);else if(a.length>2083)w_D.SetError(w_6.xb,this.ec._feedUrlTooLong);else{this.Ld.M(this.ec._retrievingFeed);this.Be(a,b,c);this.Wf=d;this.Yd(a,w_x(this.Td,this))}};w_6.prototype.Yd=function(a,b){if(a.indexOf("http://")!=0)a="http://"+a;var c=new w_.net.Jsonp("http://www.google.com/uds/GlookupFeed");c.Gd(-1);c.send({q:a,v:"1.0"},b)};
w_6.prototype.Td=function(a){if(a.responseStatus==200){document.getElementById("feedUrl").value=a.responseData.url;this.la.Ac(a.responseData.url);this.la.ze(w_x(this.$d,this,this.Wf));this.la.Gb()}else this.De()};w_6.prototype.Be=function(a,b){this.H=b;this.la.Ac(a);this.la.yc(this.H)};w_6.prototype._GoToStep1=w_6.prototype.Ab;w_6.prototype._RetrieveFeedAndGoToStep2=w_6.prototype.wc;w_6.prototype._RefreshModuleTitle=w_6.prototype.Fb;w_6.prototype._SetShowItemAuthor=w_6.prototype.Cc;
w_6.prototype._SetShowItemDate=w_6.prototype.Dc;w_6.prototype._SetNumItemsShow=w_6.prototype.Bc;var _FeedConfig=w_6;function w_7(a){this.a=a;this.e=a.r()}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){if(a=="configure"){this.a.k(b);window.close()}};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.Xa=function(){document.location.reload()};var _FollowersView=w_7;function w_8(a){this.a=a;this.e=a.r()}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.xe=function(a){var b=document.getElementById(this.f);if(b)b.style.height=a+"px"};w_8.prototype.uc=function(){gadgets.rpc.register("resize_iframe",this.xe);gadgets.rpc.register("set_pref",function(){})};
w_8.prototype.i=function(){if(!w_8.InitializedRpc&&!window.gadgets){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.uc()};a.onreadystatechange=function(){if(this.readyState=="loaded"||this.readyState=="complete")b.uc()};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.r()}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.Se={};window.jstiming.Ng=1;window.jstiming.report=function(a,b,c){var d="";if(window.jstiming.pt){d+="&srt="+window.jstiming.pt;delete window.jstiming.pt}try{d+="&tran="+window.external.tran}catch(e){}var f=a.t,g=f.start;delete f.start;var h=[],i=[];for(var j in f)if(!(j.indexOf("_")==0)){var k=f[j][1];if(k)f[k]&&i.push(j+"."+(f[j][0]-f[k][0]));else g&&h.push(j+"."+(f[j][0]-g[0]))}if(b)for(var l in b)d+="&"+l+"="+b[l];var m=new Image,n=window.jstiming.Ng++;window.jstiming.Se[n]=
m;m.onload=m.onerror=function(){delete window.jstiming.Se[n]};m.src=[c?c:"http://csi.gstatic.com/csi","?v=3","&s="+(window.jstiming.sn?window.jstiming.sn:"blogger")+"&action=",a.name,i.length?"&it="+i.join(",")+d:d,"&rt=",h.join(",")].join("");m=w_b}};w_.debug={};w_.debug.errorHandlerWeakDep={protectEntryPoint:function(a){return a}};w_.Disposable=function(){};w_.Disposable.prototype.Pc=w_a;w_.Disposable.prototype.dispose=function(){if(!this.Pc){this.Pc=w_c;this.K()}};w_.Disposable.prototype.K=function(){};w_.dispose=function(a){typeof a.dispose=="function"&&a.dispose()};w_.structs.SimplePool=function(a,b){w_.Disposable.call(this);this.Kf=b;this.ta=[];this.$e(a)};w_.inherits(w_.structs.SimplePool,w_.Disposable);w_.structs.SimplePool.prototype.Mb=w_b;w_.structs.SimplePool.prototype.Pb=w_b;w_.structs.SimplePool.prototype.Sa=function(a){this.Mb=a};w_.structs.SimplePool.prototype.Fd=function(a){this.Pb=a};w_.structs.SimplePool.prototype.ea=function(){if(this.ta.length)return this.ta.pop();return this.Kc()};
w_.structs.SimplePool.prototype.Da=function(a){this.ta.length<this.Kf?this.ta.push(a):this.Oc(a)};w_.structs.SimplePool.prototype.$e=function(a){if(a>this.Kf)w_d(Error("[goog.structs.SimplePool] Initial cannot be greater than max"));var b=0;for(;b<a;b++)this.ta.push(this.Kc())};w_.structs.SimplePool.prototype.Kc=function(){return this.Mb?this.Mb():{}};w_.structs.SimplePool.prototype.Oc=function(a){if(this.Pb)this.Pb(a);else if(w_.isFunction(a.dispose))a.dispose();else for(var b in a)delete a[b]};
w_.structs.SimplePool.prototype.K=function(){w_.structs.SimplePool.hc.K.call(this);var a=this.ta;for(;a.length;)this.Oc(a.pop());delete this.ta};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.K=function(){delete this.type;delete this.target;delete this.currentTarget};w_.events.Event.prototype.ga=w_a;w_.events.Event.prototype.Ea=w_c;w_.events.Event.prototype.stopPropagation=function(){this.ga=w_c};w_.events.Event.prototype.preventDefault=function(){this.Ea=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.eh=[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.Y=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.Y=a;delete this.Ea;delete this.ga};w_.events.BrowserEvent.prototype.stopPropagation=function(){this.ga=w_c;if(this.Y.stopPropagation)this.Y.stopPropagation();else this.Y.cancelBubble=w_c};
w_.events.BrowserEvent.prototype.preventDefault=function(){this.Ea=w_a;if(this.Y.preventDefault)this.Y.preventDefault();else{this.Y.returnValue=w_a;try{this.Y.keyCode=-1}catch(a){}}};w_.events.BrowserEvent.prototype.K=function(){w_.events.BrowserEvent.hc.K.call(this);this.Y=w_b};w_.events.Listener=function(){};w_.events.Listener.mg=0;w_.events.Listener.prototype.cc=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.Kb=w_a;
w_.events.Listener.prototype.init=function(a,b,c,d,e,f){if(w_.isFunction(a))this.cc=w_c;else if(a&&a.handleEvent&&w_.isFunction(a.handleEvent))this.cc=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.Kb=w_a;this.key=++w_.events.Listener.mg;this.removed=w_a};
w_.events.Listener.prototype.handleEvent=function(a){if(this.cc)return this.listener.call(this.handler||this.src,a);return this.listener.handleEvent.call(this.listener,a)};w_.events.ka={};w_.events.w={};w_.events.$={};w_.events.OBJECT_POOL_INITIAL_COUNT=0;w_.events.OBJECT_POOL_MAX_COUNT=600;w_.events.Qa=new w_.structs.SimplePool(w_.events.OBJECT_POOL_INITIAL_COUNT,w_.events.OBJECT_POOL_MAX_COUNT);w_.events.Qa.Sa(function(){return{g:0}});w_.events.Qa.Fd(function(a){a.g=0});w_.events.ARRAY_POOL_INITIAL_COUNT=0;w_.events.ARRAY_POOL_MAX_COUNT=600;w_.events.qa=new w_.structs.SimplePool(w_.events.ARRAY_POOL_INITIAL_COUNT,w_.events.ARRAY_POOL_MAX_COUNT);w_.events.qa.Sa(function(){return[]});
w_.events.qa.Fd(function(a){a.length=0;delete a.lb;delete a.zd});w_.events.HANDLE_EVENT_PROXY_POOL_INITIAL_COUNT=0;w_.events.HANDLE_EVENT_PROXY_POOL_MAX_COUNT=600;w_.events.uf=new w_.structs.SimplePool(w_.events.HANDLE_EVENT_PROXY_POOL_INITIAL_COUNT,w_.events.HANDLE_EVENT_PROXY_POOL_MAX_COUNT);w_.events.uf.Sa(function(){var a=function(b){return w_.events.kd.call(a.src,a.key,b)};return a});w_.events.LISTENER_POOL_INITIAL_COUNT=0;w_.events.LISTENER_POOL_MAX_COUNT=600;w_.events.pg=function(){return new w_.events.Listener};
w_.events.xd=new w_.structs.SimplePool(w_.events.LISTENER_POOL_INITIAL_COUNT,w_.events.LISTENER_POOL_MAX_COUNT);w_.events.xd.Sa(w_.events.pg);w_.events.EVENT_POOL_INITIAL_COUNT=0;w_.events.EVENT_POOL_MAX_COUNT=600;w_.events.ng=function(){return new w_.events.BrowserEvent};w_.events.og=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.Sa(w_.events.ng)}return a};w_.events.hf=w_.events.og();w_.events.Og="on";
w_.events.Ad={};w_.events.hh="_";
w_.events.listen=function(a,b,c,d,e){if(b)if(w_.isArray(b)){var f=0;for(;f<b.length;f++)w_.events.listen(a,b[f],c,d,e);return w_b}else{var g=!!d,h=w_.events.w;b in h||(h[b]=w_.events.Qa.ea());h=h[b];if(!(g in h)){h[g]=w_.events.Qa.ea();h.g++}h=h[g];var i=w_.getHashCode(a),j,k;if(h[i]){j=h[i];var f=0;for(;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.qa.ea();h.g++}var l=w_.events.uf.ea();l.src=a;k=w_.events.xd.ea();k.init(c,l,a,b,
g,e);var m=k.key;l.key=m;j.push(k);w_.events.ka[m]=k;w_.events.$[i]||(w_.events.$[i]=w_.events.qa.ea());w_.events.$[i].push(k);if(a.addEventListener){if(a==w_.global||!a.Mc)a.addEventListener(b,l,g)}else a.attachEvent(w_.events.rf(b),l);return m}else w_d(Error("Invalid event type"))};w_.events.listenOnce=function(a,b,c,d,e){if(w_.isArray(b)){var f=0;for(;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.ka[g];h.Kb=w_c;return g};
w_.events.unlisten=function(a,b,c,d,e){if(w_.isArray(b)){var f=0;for(;f<b.length;f++)w_.events.unlisten(a,b[f],c,d,e);return w_b}var g=!!d,h=w_.events.Zc(a,b,g);if(!h)return w_a;var f=0;for(;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.ka[a])return w_a;var b=w_.events.ka[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.Mc)c.removeEventListener(d,e,f)}else c.detachEvent&&c.detachEvent(w_.events.rf(d),e);var g=w_.getHashCode(c),h=w_.events.w[d][f][g];if(w_.events.$[g]){var i=w_.events.$[g];w_.array.remove(i,b);i.length==0&&delete w_.events.$[g]}b.removed=w_c;h.zd=w_c;w_.events.We(d,f,g,h);delete w_.events.ka[a];return w_c};
w_.events.We=function(a,b,c,d){if(!d.lb)if(d.zd){var e=0,f=0;for(;e<d.length;e++)if(d[e].removed)w_.events.xd.Da(d[e]);else{if(e!=f)d[f]=d[e];f++}d.length=f;d.zd=w_a;if(f==0){w_.events.qa.Da(d);delete w_.events.w[a][b][c];w_.events.w[a][b].g--;if(w_.events.w[a][b].g==0){w_.events.Qa.Da(w_.events.w[a][b]);delete w_.events.w[a][b];w_.events.w[a].g--}if(w_.events.w[a].g==0){w_.events.Qa.Da(w_.events.w[a]);delete w_.events.w[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.$,function(l){var m=l.length-1;for(;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.$[h]){var i=w_.events.$[h],j=i.length-1;for(;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.Zc(a,b,c)||[]};w_.events.Zc=function(a,b,c){var d=w_.events.w;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.Zc(a,b,f);if(g){var h=0;for(;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_.getHashCode(a),e=w_.events.$[d];if(e){var f=w_.isDef(b),g=w_.isDef(c);if(f&&g){var h=w_.events.w[b];return!!h&&!!h[c]&&d in h[c]}else return f||g?w_.array.some(e,function(i){return f&&i.type==b||g&&i.capture==c}):w_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",SELECTSTART:"selectstart",KEYPRESS:"keypress",KEYDOWN:"keydown",KEYUP:"keyup",BLUR:"blur",FOCUS:"focus",DEACTIVATE:"deactivate",FOCUSIN:w_.userAgent.IE?"focusin":"DOMFocusIn",FOCUSOUT:w_.userAgent.IE?"focusout":"DOMFocusOut",CHANGE:"change",SELECT:"select",SUBMIT:"submit",LOAD:"load",UNLOAD:"unload",ERROR:"error",HELP:"help",RESIZE:"resize",
SCROLL:"scroll",READYSTATECHANGE:"readystatechange",CONTEXTMENU:"contextmenu"};w_.events.rf=function(a){if(a in w_.events.Ad)return w_.events.Ad[a];return w_.events.Ad[a]=w_.events.Og+a};w_.events.fireListeners=function(a,b,c,d){var e=1,f=w_.events.w;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.lb)h.lb++;else h.lb=1;try{var i=h.length,j=0;for(;j<i;j++){var k=h[j];if(k&&!k.removed)e&=w_.events.fireListener(k,d)!==w_a}}finally{h.lb--;w_.events.We(b,c,g,h)}}}}return Boolean(e)};
w_.events.fireListener=function(a,b){var c=a.handleEvent(b);a.Kb&&w_.events.unlistenByKey(a.key);return c};w_.events.getTotalListenerCount=function(){return w_.object.O(w_.events.ka)};
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.w;if(!(f in g))return w_c;g=g[f];var h=w_c in g,i=w_a in g;if(h){e=[];var j=a;for(;j;j=j.cd())e.push(j);var k=e.length-1;for(;!b.ga&&k>=0;k--){b.currentTarget=e[k];d&=w_.events.fireListeners(e[k],b.type,w_c,b)&&b.Ea!=w_a}}if(i)if(h){var k=0;for(;!b.ga&&k<e.length;k++){b.currentTarget=
e[k];d&=w_.events.fireListeners(e[k],b.type,w_a,b)&&b.Ea!=w_a}}else{var l=a;for(;!b.ga&&l;l=l.cd()){b.currentTarget=l;d&=w_.events.fireListeners(l,b.type,w_a,b)&&b.Ea!=w_a}}return Boolean(d)};w_.events.protectBrowserEventEntryPoint=function(a,b){w_.events.kd=a.protectEntryPoint(w_.events.kd,b)};
w_.events.kd=function(a,b){if(!w_.events.ka[a])return w_c;var c=w_.events.ka[a],d=c.type,e=w_.events.w;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.Hg(g))return w_c;w_.events.Jg(g)}w_.getHashCode(c.src);var i=w_.events.hf.ea();i.init(g,this);f=w_c;try{if(h){var j=w_.events.qa.ea(),k=i.currentTarget;for(;k;k=k.parentNode)j.push(k);var l=j.length-1;for(;!i.ga&&l>=0;l--){i.currentTarget=j[l];f&=w_.events.fireListeners(j[l],
d,w_c,i)}var l=0;for(;!i.ga&&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.qa.Da(j)}i.dispose();w_.events.hf.Da(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.Jg=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.Hg=function(a){return a.keyCode<0||a.returnValue!=undefined};w_.events.EventTarget=function(){};w_.inherits(w_.events.EventTarget,w_.Disposable);w_.events.EventTarget.prototype.Mc=w_c;w_.events.EventTarget.prototype.Cd=w_b;w_.events.EventTarget.prototype.cd=function(){return this.Cd};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.K=function(){w_.events.EventTarget.hc.K.call(this);w_.events.removeAll(this);this.Cd=w_b};var w_$={};w_$.util={};w_$.util.logging={};w_$.util.logging.PROD_BLOGGER_HOST_URL="www.blogger.com";w_$.util.logging.Af=w_$.util.logging.PROD_BLOGGER_HOST_URL;w_$.util.logging.setHostPort=function(a){w_$.util.logging.Af=a};w_$.util.logging.If="/nc";w_$.util.logging.setLoggingPath=function(a){w_$.util.logging.If=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.Vf=w_a;w_$.util.logging.setReferredFromExplore=function(a){w_$.util.logging.Vf=a};w_$.util.logging.isReferredFromExplore=function(){return w_$.util.logging.Vf};w_$.util.logging.Ig=function(a,b,c){if(a){var d=w_.Uri.parse(a),e=d.fb().toLowerCase(),f=d.ua();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.Af+w_$.util.logging.If,c=w_.Uri.parse(b),d=w_a;for(var e in a){d=w_c;c.fc(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.Aa[a])return w_b;return w_$.util.logging.log(w_$.util.logging.Aa[a])};w_$.util.logging.Aa={};
w_$.util.logging.addParametersToMap=function(a,b){var c=w_$.util.logging.Aa[a];if(c)for(var d in b){if(c[d])return w_b}else{c={};w_$.util.logging.Aa[a]=c}for(var d in b)c[d]=b[d];return w_$.util.logging.Aa[a]};w_$.util.logging.clearParameterMap=function(a){delete w_$.util.logging.Aa[a]};w_$.util.logging.Cb="paramMapPageUnload_InternalUseOnly";w_$.util.logging.addToPageUnloadParameterMap=function(a){return w_$.util.logging.addParametersToMap(w_$.util.logging.Cb,a)};w_$.util.logging.Ja={};
w_$.util.logging.registerEvent=function(a){if(w_$.util.logging.Ja[a])return-1;w_$.util.logging.Ja[a]=w_.now();return w_$.util.logging.Ja[a]};w_$.util.logging.getEventElapse=function(a){if(!w_$.util.logging.Ja[a])return-1;return w_.now()-w_$.util.logging.Ja[a]};w_$.util.logging.clearEvent=function(a){delete w_$.util.logging.Ja[a]};w_$.util.logging.lc="eventPageLoading_InternalUseOnly";w_$.util.logging.getDurationMillis=function(){return w_$.util.logging.getEventElapse(w_$.util.logging.lc)};
w_$.util.logging.pageOnBeforeUnload=function(){if(w_$.util.logging.Aa[w_$.util.logging.Cb]==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.Cb)};
w_$.util.logging.initialize=function(a,b,c){w_$.util.logging.setHostPort(a);w_$.util.logging.setReferredFromExplore(w_$.util.logging.Ig(b,a,"/explore"));w_$.util.logging.clearEvent(w_$.util.logging.lc);w_$.util.logging.registerEvent(w_$.util.logging.lc);w_$.util.logging.clearParameterMap(w_$.util.logging.Cb);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.ig(f,g,d,e):w_$.explore.blogpostpages.logging.hg(f,g,d)}};w_$.explore.blogpostpages.logging.hg=function(a,b,c){return w_$.explore.loggingcommons.addToPageUnloadParameterMap(w_$.util.logging.SourcePage.BLOG,a,b,c,w_b)};
w_$.explore.blogpostpages.logging.ig=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);
