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){window.jstiming.load.tick("widgetJsEnd");window.jstiming.load.tick("prt");var b=a+"blogspot";window.jstiming.load.name=b;for(var c=document.getElementsByTagName("img"),d=0;d0)b+=", ";var d=String(a.arguments[c]);if(d.length>40)d=d.substr(0,40)+"...";b+=d}b+=")\n";b+=w_ha(a.caller);return b}catch(e){return"[Cannot get stack trace]: "+e+"\n"}}var w_la,w_i=w_b,w_j=w_a; function w_ma(){if((w_i==w_b||w_i.closed)&&!w_j)try{w_j=w_c;w_i=window.open("","debug","width=700,height=500,toolbar=no,resizable=yes,scrollbars=yes,left=16,top=16,screenx=16,screeny=16");w_i.blur();w_i.document.open();w_j=w_a;var a="To turn off this debugging window,hit 'D' inside the main caribou window, then close this window.
";w_na(a)}catch(b){}} function w_ia(a,b){if(w_ea){try{var c=(new Date).getTime()-w_la,d="["+c+"] "+w_oa(a).replace(/\n/g,"
")+"
";if(b==1){d="Error: "+d+"";w_i.focus()}}catch(e){}w_na(d)}else typeof w_k!="undefined"&&w_k(w_oa(a))}function w_na(a){if(w_ea)try{w_ma();w_i.document.write(a);w_i.scrollTo(0,1000000)}catch(b){}};function w_h(a){if(a in w_l)return w_l[a];return w_l[a]=navigator.userAgent.toLowerCase().indexOf(a)!=-1}var w_l={};function w_ga(){return w_h("msie")&&!window.opera}function w_pa(a){if(typeof Error!="undefined")w_d(new Error(a||"Assertion Failed"));else w_d(a)}function w_qa(a){a=a||"Assertion failed";typeof w_g!="undefined"&&w_g(a+"\n");w_pa(a)}function w_m(a,b){if(!a){b=b||"Assertion failed";w_qa(b)}}function w_n(a,b){a.style.display=b?"":"none"} function w_ra(a,b){a.style.display=b?"block":"none"}function w_o(a,b){a.style.display=b?"inline":"none"}function w_p(a,b){if(a==w_b||a.className==w_b)return w_a;if(a.className==b)return w_c;for(var c=a.className.split(" "),d=0;d/g; function w_oa(a){if(!a)return"";return a.replace(w_ta,"&").replace(w_ua,"<").replace(w_va,">").replace(w_wa,""")}var w_wa=/\"/g;function w_xa(a){return document.getElementById(a)}function w_ya(a){return document.all[a]}var w_za=document.getElementById?w_xa:w_ya; function w_k(a){try{if(window.parent!=window&&window.parent.log){window.parent.log(window.name+"::"+a);return}}catch(b){}var c=w_za("log");if(c){var d="

"+new Date+""+a+"

";c.innerHTML=d+c.innerHTML}else window.status=a};function w_t(){}w_t.raise=function(a){if(typeof Error!="undefined")w_d(new Error(a||"Assertion Failed"));else w_d(a)};w_t.fail=function(a){a=a||"Assertion failed";typeof w_g=="undefined"||w_g(a+"\n");w_t.raise(a)};w_t.isTrue=function(a,b){if(!a){if(b===undefined)b="Assertion failed";w_t.fail(b)}};w_t.equals=function(a,b,c){if(a!=b){if(c===undefined)c="AS_Assert.equals failed: <"+a+"> != <"+b+">";w_t.fail(c)}}; w_t.typeOf=function(a,b,c){if(!(typeof a==b)){if(a||a=="")try{if(b==w_t.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_t.fail(c)}};w_t.TYPE_MAP={string:String,number:Number,"boolean":Boolean}; w_t.numArgs=function(a,b){var c=w_t.numArgs.caller;if(c&&c.arguments.length!=a){if(b===undefined)b=c.name+" expected "+a+" arguments but received "+c.arguments.length;w_t.fail(b)}};var w_u;function w_Aa(){var a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];if(typeof XMLHttpRequest=="undefined"&&typeof ActiveXObject!="undefined"){for(var b=0;b"+c.stack);w_d(c)}};var w_Da=0,w_v=0;if("undefined"==typeof w_k)w_k=function(){};function w_Ea(a){var b=-1;try{b=a.status}catch(c){}return b}function w_Fa(a){var b=w_b;try{b=a.statusText}catch(c){}return b} function w_Ga(a,b,c,d){if(a.readyState==4)try{var e=w_c;if(d)try{e=!(w_a===d(a))}catch(f){w_k("Message ("+b+") handling failed: "+f);w_d(f)}var g=w_Ea(a);if(200===g){w_k("Message ("+b+") received after "+((new Date).getTime()-c)+" ms");try{var h=(new Date).getTime();e&&a.responseText.length&&eval(a.responseText);w_k("Message ("+b+") processing took "+((new Date).getTime()-h)+" ms")}catch(i){w_k("Message ("+b+") processing failed: "+i);alert(i+"\n"+i.stack+"\n\n"+a.responseText);w_d(i)}}else 204== g?w_k("Message ("+b+") received after "+((new Date).getTime()-c)+" ms"):w_k("Message ("+b+") failed with response "+g+" "+w_Fa(a)+" after "+((new Date).getTime()-c)+" ms.")}finally{--w_v}} function w_Ha(a,b,c){var d="";if(b)for(var e="",f=0;f=0;)m=m.substring(0,n)+"&"+m.substring(n+1);w_k("Message ("+i+") sent: POST "+m+".");++w_v;w_Ba(j,a,d,l)};var w_Ia=this;String.prototype.fe=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(){for(var a=this,b=0;b=0;b--)this[b+a]=this[b];for(var c=0;c"+a.template+"\n",c=this.Pe(b);a.parsedTemplate=this.lb(c);return a}; w_y.ConfigureWidget=function(a,b){b||(b="config");var c=document.forms[b].widgetId.value,d=document.forms[b].widgetType.value,e=w_C.ProcessForm(document.forms[b],a);e.success&&w_B.SaveWidget(e.values,c,d)};function w_B(){}w_B.Init=function(a,b,c){w_B.gb={};w_B.Ef=a;w_B.Zc=b;w_B.fi=c;w_B.Gd=w_b;if(!w_B.he)w_B.he={}};w_B.TrapClicks=function(a){var b=w_B.CreateTransparentClickTrappingDiv(a.document);document.body.appendChild(b)};w_B._SetupPreview=function(){w_B.TrapClicks(window)}; w_B.NEW_WIDGET_WINDOW_NAME="chooseWidget";w_B.CHOOSE_WIDGET_ACTION="chooseWidget";w_B.EDIT_WIDGET_ACTION="editWidget";w_B.GetCallbackUrl=function(){return w_B.Zc};w_B.SetPageActionUrl=function(a,b){w_B.Yd=a;w_B.Fh=b};w_B.GetPageActionUrl=function(){return w_B.Yd};w_B.SetWidgetRefreshUrl=function(a){w_B.$h=a};w_B.GetWidgetRefreshUrl=function(){return w_B.$h};w_B._SetDataContext=function(a){w_B.Gd=a};w_B._SetSystemMarkup=function(a){w_B.he=a}; w_B._RegisterWidget=function(a,b,c){var d=new w_y(b);c||(c=window[a]);var e=new c(d);d.Xe(e);w_B.gb[b.instanceId]=e;w_B.DisplayWidget(e);return e};w_B._RegisterNewWidget=function(a,b,c){var d=w_B._RegisterWidget(a,b,c),e=d.b();e.Ve(w_c);return d};w_B.DisplayWidget=function(a,b){var c=a.b();if(!(c.kb()==w_x.DISPLAY_MODE_NONE)){if(b||a.i&&a.i())c.te();c.kb()==w_x.DISPLAY_MODE_FULL&&a.k&&a.k();a.b().nh=w_a}};w_B.GetWidget=function(a){if(w_B.gb)return w_B.gb[a];return w_b}; w_B._PopupPaneFromParams=function(a,b,c,d,e){var f="";if(d)f="&widgetId="+d;var g=w_B.Ef+"&action="+a+"§ionId="+b+"&widgetType="+c+f;if(window.name==e){window.location.replace(g);window.focus();return window}var h=window.open(g,e,"width=570,height=600,left=75,top=20,resizable=yes,scrollbars=yes");h.focus();return h}; w_B._PopupConfig=function(a){var b=a.getAttribute("id"),c=w_B.GetWidget(b);if(c){var d=c.b().configWin;if(d!=w_b&&!d.closed){d.focus();return w_a}}var e="config"+b,f=w_B._PopupPaneFromParams(w_B.EDIT_WIDGET_ACTION,a.parentNode.getAttribute("id"),a.getAttribute("widgetType"),b,e);if(c)c.b().configWin=f;return w_a}; w_B._PopupToolbox=function(a){w_B._PopupPaneFromParams(w_B.CHOOSE_WIDGET_ACTION,a.parentNode.getAttribute("id"),a.getAttribute("widgetType"),a.getAttribute("id"),w_B.NEW_WIDGET_WINDOW_NAME);return w_a};w_B.DeleteWidgetFromPage=function(a,b){w_B.N(b,b.LayoutsMessages.DELETING,w_B.STATUS_MESSAGE_PENDING_CLASS);w_B.RunPageAction("delete",{},a,b)};w_y.prototype.Te=function(a,b){w_B.N(b,b.LayoutsMessages.SAVING,w_B.STATUS_MESSAGE_PENDING_CLASS);this.na("configure",a)}; w_B.SaveNewWidget=function(a,b,c){var d=document.getElementById("sectionId").value;a.sectionid=d;w_B.N(c,c.LayoutsMessages.SAVING,w_B.STATUS_MESSAGE_PENDING_CLASS);w_B.RunPageAction("addnew",a,"",b)};w_B.SaveWidget=function(a,b,c){w_m(c!=w_b,"no type");var d=_WidgetManager._GetWidget(b);w_m(d!=w_b,"no widget for "+b);d.b().Ke()?w_B.SaveNewWidget(a,c,window):d.a.Te(a,window)};w_B._RunInitialAction=function(a){var b=w_B._GetWidget(a);b&&b.b().na("initial")}; w_B.na=function(a,b,c,d,e){w_B.RunAction(w_B.Zc,a,b,c,d,e)};w_B.RunPageAction=function(a,b,c,d,e){if(w_B.Yd){b.pageToken=w_B.Fh;w_B.RunAction(w_B.Yd,a,b,c,d,e)}else w_k("RunPageAction error: pageActionUrl_ is undefined. widgetid: "+c+" action: "+a)}; w_B.RunAction=function(a,b,c,d,e,f){var g=["action",b,"widgetId",d,"widgetType",e,"responseType","js"];for(var h in c)if(typeof c[h]=="object")for(var i=0;i0&&a.substring(0,4)!="http")a="http://"+a;return a}; w_B.GetFirstElementInElementWithClass=function(a,b){if(w_p(a,b))return a;if(a)for(var c=a.childNodes.length,d=0;db)return LayoutsMessages.NUMBER_TOO_LARGE+" "+b;return undefined}};function w_A(){this.O=[];for(var a=0;a=w_A.MAX_DICTIONARY_DEPTH&&w_t.raise("Cannot add another dictionary: "+a);a.indexOf(w_A.SEPARATOR_CHAR)>-1&&w_t.raise("Cannot add dictionary name containing '.': "+a);var c={};c.name=a;c.data=b;this.O[this.O.length]=c};w_A.prototype.Oc=function(a){var b=this.O[this.O.length-1];b.name!=a&&w_t.raise("Dictionary "+a+" is not the last one, and can't be deleted: "+b.name);this.O.splice(this.O.length-1,1)}; w_A.prototype.Jb=function(a){if(a==w_b)a=w_A.DEFAULT_DICTIONARY_KEY;for(var b=this.O.length-1;b>=0;--b)if(this.O[b].name==a)return this.O[b].data;return w_b};w_A.prototype.Gc=function(){return this.Jb(w_A.DEFAULT_DICTIONARY_KEY)};w_A.prototype.ne=function(a){this.ib(w_A.DEFAULT_DICTIONARY_KEY,a)}; w_A.prototype.o=function(a){var b=this.Jb(a);if(b)return b;var c=a.split(w_A.SEPARATOR_CHAR);if(c.length==1){b=this.Gc();return b[a]}b=this.Jb(c[0]);var d=0;if(b)d=1;else b=this.Gc();for(var e=d;e=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_E(a){this.a=a}w_E.WIDGET_TYPE_NAME="AdSense";w_E.prototype.e=function(){return w_E.WIDGET_TYPE_NAME};w_E.prototype.b=function(){return this.a};w_E.prototype.d=function(a,b){this.a.m(b)};var _AdSenseView=w_E;function w_F(a){this.a=a;this.g=a.u()}w_F.WIDGET_TYPE_NAME="BlogArchive";w_F.POST_LIST_CLASS="posts";w_F.INTERVAL_EXPANDED_VALUE="expanded";w_F.INTERVAL_COLLAPSED_VALUE="collapsed";w_F.LOADING_MSG="loading...";w_F.POST_COUNT_CLASS="post-count";w_F.POST_COUNT_LINK_CLASS="post-count-link";w_F.MENU_ROOT_ID="ArchiveMenu";w_F.TOGGLE_OPEN_CLASS="toggle-open";w_F.bh="▼ ";w_F.If="► ";w_F.prototype.e=function(){return w_F.WIDGET_TYPE_NAME};w_F.prototype.b=function(){return this.a}; w_F.prototype.i=function(){return w_a};w_F.prototype.d=function(a,b){if(a=="configure")this.a.m(b);else if(a=="getTitles")this.df(b);else{this.widgetInfo.data=b;w_B.DisplayWidget(this)}}; w_F.prototype.k=function(){var a={};a.select=function(i){return i&&w_p(i,"toggle")};var b=this.a.X("ArchiveList");if(b){var c=w_s(this.g.rootElement,a),d;if(c.length>0&&c[0].currentStyle)d=c[0].parentNode.currentStyle.color;for(var e=0;e"+e.title+"";c.appendChild(f)}};w_F.prototype.Ae=function(a){var b=this.g.rootElement.getElementsByTagName("A");for(var c in b){var d=b[c];if(d.href==a)return d.parentNode}}; w_F.prototype.Me=function(a){var b=a.getElementsByTagName("UL");if(!(b.length>0&&!w_p(b[0],"posts"))){var c=this.Ce(a),d=a.getElementsByTagName("LI"),e=d.length;return e-1};w_G.prototype.Mc=function(a){a=a||window.event;var b=a.target||a.srcElement;this.a.na("nextposts",{path:b.href});return w_a}; w_G.prototype.pe=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_G;var w_=w_||{};w_.global=this;w_.DEBUG=w_c;w_.LOCALE="en_US";w_.ac=w_b;w_.provide=function(a){w_.Jf(a)};w_.Jf=function(a,b,c){var d=a.split("."),e=c||w_.global;!(d[0]in e)&&e.execScript&&e.execScript("var "+d[0]);for(var f;d.length&&(f=d.shift());)if(!d.length&&w_.isDef(b))e[f]=b;else e=e[f]?e[f]:(e[f]={})};w_.getObjectByName=function(a,b){for(var c=a.split("."),d=b||w_.global,e;e=c.shift();)if(d[e])d=d[e];else return w_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.xh||(a.xh=new a)}}; w_.typeOf=function(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array||!(a instanceof Object)&&Object.prototype.toString.call(a)=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(!(a instanceof Object)&&(Object.prototype.toString.call(a)=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call")))return"function"}else return"null"; else if(b=="function"&&typeof a.call=="undefined")return"object";return b};w_.Gh=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_.gi=function(a,b){return a instanceof Object?Object.prototype.propertyIsEnumerable.call(a,b):w_.Gh(a,b)};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_.sa))return a[w_.sa];a[w_.sa]||(a[w_.sa]=++w_.uh);return a[w_.sa]};w_.removeHashCode=function(a){"removeAttribute"in a&&a.removeAttribute(w_.sa);try{delete a[w_.sa]}catch(b){}};w_.sa="closure_hashCode_"+Math.floor(Math.random()*2147483648).toString(36);w_.uh=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.Yc;if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);c&&d.unshift.apply(d,c);c=d}b=a.Tb||b;a=a.Sb||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.Yc=c;e.Tb=b;e.Sb=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_.ac==w_b){w_.global.eval("var _et_ = 1;");if(typeof w_.global._et_!="undefined"){delete w_.global._et_;w_.ac=w_c}else w_.ac=w_a}if(w_.ac)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_.Jf(a,b,c)};w_.exportProperty=function(a,b,c){a[b]=c};w_.inherits=function(a,b){function c(){}c.prototype=b.prototype;a.Ac=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_.string={};w_.string.Unicode={NBSP:"\u00a0"};w_.string.fe=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){for(var b=1;b=" "&&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":"
")}; w_.string.htmlEscape=function(a,b){if(b)return a.replace(w_.string.jf,"&").replace(w_.string.tg,"<").replace(w_.string.$f,">").replace(w_.string.Cg,""");else{if(!w_.string.$g.test(a))return a;if(a.indexOf("&")!=-1)a=a.replace(w_.string.jf,"&");if(a.indexOf("<")!=-1)a=a.replace(w_.string.tg,"<");if(a.indexOf(">")!=-1)a=a.replace(w_.string.$f,">");if(a.indexOf('"')!=-1)a=a.replace(w_.string.Cg,""");return a}};w_.string.jf=/&/g;w_.string.tg=//g; w_.string.Cg=/\"/g;w_.string.$g=/[&<>\"]/;w_.string.unescapeEntities=function(a){if(w_.string.contains(a,"&"))return"document"in w_.global&&!w_.string.contains(a,"<")?w_.string.Xh(a):w_.string.Yh(a);return a};w_.string.Xh=function(a){var b=w_.global.document.createElement("a");b.innerHTML=a;b[w_.string.Le]&&b[w_.string.Le]();a=b.firstChild.nodeValue;b.innerHTML="";return a}; w_.string.Yh=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.Le="normalize";w_.string.whitespaceEscape=function(a,b){return w_.string.newLineToBr(a.replace(/ /g,"  "),b)}; w_.string.stripQuotes=function(a,b){for(var c=b.length,d=0;db)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.Sd={"\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\u000b":"\\x0B",'"':'\\"',"'":"\\'","\\":"\\\\"}; w_.string.quote=function(a){a=String(a);if(a.quote)return a.quote();else{for(var b=['"'],c=0;c31&&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.Sd[a]=b}; w_.string.toMap=function(a){for(var b={},c=0;c=0&&b0)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(/([-()\[\]{}+?*.$\^|,:#b)return 1;return 0};w_.string.Tg=4294967296;w_.string.hashCode=function(a){for(var b=0,c=0;c0)return w_b;if(!a&&b==0&&c==0)return"PT0S";var d=[];b<0&&d.push("-");d.push("P");if(this.years||a)d.push(Math.abs(this.years)+"Y");if(this.months||a)d.push(Math.abs(this.months)+"M");if(this.days||a)d.push(Math.abs(this.days)+"D");if(this.hours||this.minutes||this.seconds||a){d.push("T"); if(this.hours||a)d.push(Math.abs(this.hours)+"H");if(this.minutes||a)d.push(Math.abs(this.minutes)+"M");if(this.seconds||a)d.push(Math.abs(this.seconds)+"S")}return d.join("")};w_.date.Interval.prototype.equals=function(a){return a.years==this.years&&a.months==this.months&&a.days==this.days&&a.hours==this.hours&&a.minutes==this.minutes&&a.seconds==this.seconds};w_.date.Interval.prototype.clone=function(){return new w_.date.Interval(this.years,this.months,this.days,this.hours,this.minutes,this.seconds)}; w_.date.Interval.YEARS="y";w_.date.Interval.MONTHS="m";w_.date.Interval.DAYS="d";w_.date.Interval.HOURS="h";w_.date.Interval.MINUTES="n";w_.date.Interval.SECONDS="s";w_.date.Interval.prototype.add=function(a){this.years+=a.years;this.months+=a.months;this.days+=a.days;this.hours+=a.hours;this.minutes+=a.minutes;this.seconds+=a.seconds}; w_.date.Date=function(a,b,c){if(!this.c)if(w_.isNumber(a)){this.c=new Date(a,b||0,c||1);this.uc(c||1)}else if(w_.isObject(a)){this.c=new Date(a.getFullYear(),a.getMonth(),a.getDate());this.uc(a.getDate())}else{this.c=new Date;this.c.setHours(0);this.c.setMinutes(0);this.c.setSeconds(0);this.c.setMilliseconds(0)}this.qb=w_.date.weekDay.MON;this.rb=w_.date.weekDay.THU};w_.date.Date.prototype.clone=function(){var a=new w_.date.Date(this.c);a.qb=this.qb;a.rb=this.rb;return a}; w_.date.Date.prototype.getFullYear=function(){return this.c.getFullYear()};w_.date.Date.prototype.Xa=function(){return this.getFullYear()};w_.date.Date.prototype.getMonth=function(){return this.c.getMonth()};w_.date.Date.prototype.getDate=function(){return this.c.getDate()};w_.date.Date.prototype.getTime=function(){return this.c.getTime()};w_.date.Date.prototype.getDay=function(){return this.c.getDay()};w_.date.Date.prototype.getUTCFullYear=function(){return this.c.getUTCFullYear()}; w_.date.Date.prototype.getUTCMonth=function(){return this.c.getUTCMonth()};w_.date.Date.prototype.getUTCDate=function(){return this.c.getUTCDate()};w_.date.Date.prototype.getUTCDay=function(){return this.c.getDay()};w_.date.Date.prototype.getUTCHours=function(){return this.c.getUTCHours()};w_.date.Date.prototype.getUTCMinutes=function(){return this.c.getUTCMinutes()};w_.date.Date.prototype.ic=function(){return w_.date.ic(this.getFullYear(),this.getMonth())}; w_.date.Date.prototype.Dd=function(){return w_.date.Dd(this.getFullYear(),this.getMonth(),this.getDate(),this.rb,this.qb)};w_.date.Date.prototype.getTimezoneOffset=function(){return this.c.getTimezoneOffset()};w_.date.Date.prototype.mc=function(){var a,b=this.getTimezoneOffset();if(b==0)a="Z";else{var c=Math.abs(b)/60,d=Math.floor(c),e=(c-d)*60;a=(b>0?"-":"+")+w_.string.padNumber(d,2)+":"+w_.string.padNumber(e,2)}return a}; w_.date.Date.prototype.set=function(a){this.c=new Date(a.getFullYear(),a.getMonth(),a.getDate())};w_.date.Date.prototype.setFullYear=function(a){this.c.setFullYear(a)};w_.date.Date.prototype.setMonth=function(a){this.c.setMonth(a)};w_.date.Date.prototype.setDate=function(a){this.c.setDate(a)};w_.date.Date.prototype.setTime=function(a){this.c.setTime(a)};w_.date.Date.prototype.setUTCFullYear=function(a){this.c.setUTCFullYear(a)};w_.date.Date.prototype.setUTCMonth=function(a){this.c.setUTCMonth(a)}; w_.date.Date.prototype.setUTCDate=function(a){this.c.setUTCDate(a)}; w_.date.Date.prototype.add=function(a){if(a.years||a.months){var b=this.getMonth()+a.months+a.years*12,c=this.Xa()+Math.floor(b/12);b%=12;if(b<0)b+=12;var d=w_.date.ic(c,b),e=Math.min(d,this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(e)}if(a.days){var f=new Date(this.Xa(),this.getMonth(),this.getDate(),12),g=new Date(f.getTime()+a.days*86400000);this.setDate(1);this.setFullYear(g.getFullYear());this.setMonth(g.getMonth());this.setDate(g.getDate());this.uc(g.getDate())}}; w_.date.Date.prototype.ma=function(a,b){var c=[this.getFullYear(),w_.string.padNumber(this.getMonth()+1,2),w_.string.padNumber(this.getDate(),2)];return c.join(a?"-":"")+(b?this.mc():"")};w_.date.Date.prototype.equals=function(a){return this.Xa()==a.Xa()&&this.getMonth()==a.getMonth()&&this.getDate()==a.getDate()};w_.date.Date.prototype.toString=function(){return this.ma()}; w_.date.Date.prototype.uc=function(a){if(this.getDate()!=a){var b=this.getDate()=0;e--)if(e in a&&a[e]===b)return e;return-1};w_.array.forEach=function(a,b,c){if(a.forEach)a.forEach(b,c);else if(Array.forEach)Array.forEach(a,b,c);else for(var d=a.length,e=w_.isString(a)?a.split(""):a,f=0;f=0;--f)f in e&&b.call(c,e[f],f,a)};w_.array.filter=function(a,b,c){if(a.filter)return a.filter(b,c);if(Array.filter)return Array.filter(a,b,c);for(var d=a.length,e=[],f=0,g=w_.isString(a)?a.split(""):a,h=0;h=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.z=function(a){return a.length==0}; w_.array.clear=function(a){if(!w_.isArray(a))for(var b=a.length-1;b>=0;b--)delete a[b];a.length=0};w_.array.insert=function(a,b){w_.array.contains(a,b)||a.push(b)};w_.array.insertAt=function(a,b,c){w_.array.splice(a,c,0,b)};w_.array.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{for(var b=[],c=0,d=a.length;c>1,h=f(b,a[g]);if(h>0)d=g+1;else if(h<0)e=g-1;else return g}return-(d+1)};w_.array.sort=function(a,b){Array.prototype.sort.call(a,b||w_.array.defaultCompare)}; w_.array.stableSort=function(a,b){for(var c=0;cb?1:a=0?w_.array.removeAt(a,d):w_a};w_.array.bucket=function(a,b){for(var c={},d=0;d=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){for(var b={},c=w_.object.l(a),d=0,e=c.length;d=0)};w_.dom={};w_.dom.classes={};w_.dom.classes.set=function(a,b){a.className=b};w_.dom.classes.get=function(a){var b=a.className;return b&&typeof b.split=="function"?b.split(" "):[]};w_.dom.classes.add=function(a){var b=w_.dom.classes.get(a),c=w_.array.slice(arguments,1),d=w_.dom.classes.hf(b,c);a.className=b.join(" ");return d};w_.dom.classes.remove=function(a){var b=w_.dom.classes.get(a),c=w_.array.slice(arguments,1),d=w_.dom.classes.Gg(b,c);a.className=b.join(" ");return d}; w_.dom.classes.hf=function(a,b){for(var c=0,d=0;dd?g>h?g:h:g");c=e.join("")}var f=a.createElement(c);d&&w_.dom.Db(f,d);if(b.length>2){function g(j){if(j)f.appendChild(w_.isString(j)?a.createTextNode(j):j)}for(var h=2;h0};w_.dom.Ng=w_.userAgent.WEBKIT&&w_.userAgent.compare(w_.userAgent.VERSION,"521")<=0; w_.dom.contains=function(a,b){if(typeof a.contains!="undefined"&&!w_.dom.Ng&&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.wf(a,b);if(!c&&w_.dom.contains(e,b))return-1*w_.dom.vf(a,b);if(!d&&w_.dom.contains(f,a))return w_.dom.vf(b,a);return(c?a.sourceIndex: e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}}var g=w_.dom.V(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.vf=function(a,b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return w_.dom.wf(d,a)};w_.dom.wf=function(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}; w_.dom.findCommonAncestor=function(){var a,b=arguments.length;if(b){if(b==1)return arguments[0]}else return w_b;var c=[],d=Infinity;for(a=0;a=0}return w_a};w_.dom.setFocusableTabIndex=function(a,b){if(b)a.tabIndex=0;else a.removeAttribute("tabIndex")}; w_.dom.vb=function(a){var b;if(w_.userAgent.IE&&"innerText"in a)b=w_.string.canonicalizeNewlines(a.innerText);else{var c=[];w_.dom.Bd(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.Bd(a,b,w_a);return b.join("")}; w_.dom.Bd=function(a,b,c){if(!(a.nodeName in w_.dom.$e))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.Ob)b.push(w_.dom.Ob[a.nodeName]);else for(var d=a.firstChild;d;){w_.dom.Bd(d,b,c);d=d.nextSibling}};w_.dom.xd=function(a){return w_.dom.vb(a).length}; w_.dom.yd=function(a,b){for(var c=b||w_.dom.V(a).body,d=[];a&&a!=c;){for(var e=a;e=e.previousSibling;)d.unshift(w_.dom.vb(e));a=a.parentNode}return w_.string.trimLeft(d.join("")).replace(/ +/g," ").length}; w_.dom.getNodeAtOffset=function(a,b,c){for(var d=[a],e=0,f;d.length>0&&e=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.od=function(a,b,c){return w_.dom.cc(a,function(d){return(!b||d.nodeName==b)&&(!c||w_.dom.classes.has(d,c))},w_c)};w_.dom.cc=function(a,b,c,d){if(!c)a=a.parentNode;for(var e=d==w_b,f=0;a&&(e||f<=d);){if(b(a))return a;a=a.parentNode;f++}return w_b}; w_.dom.DomHelper=function(a){this.Z=a||w_.global.document||document};w_.dom.DomHelper.prototype.dc=w_.dom.dc;w_.dom.DomHelper.prototype.Of=function(){return this.Z};w_.dom.DomHelper.prototype.tb=function(a){return w_.isString(a)?this.Z.getElementById(a):a};w_.dom.DomHelper.prototype.ke=w_.dom.DomHelper.prototype.tb;w_.dom.DomHelper.prototype.Wa=function(a,b,c){return w_.dom.Tf(this.Z,a,b,c)};w_.dom.DomHelper.prototype.le=w_.dom.DomHelper.prototype.Wa;w_.dom.DomHelper.prototype.Db=w_.dom.Db; w_.dom.DomHelper.prototype.Cd=function(a){return w_.dom.Cd(a||this.pc())};w_.dom.DomHelper.prototype.Pf=function(){return w_.dom.Qf(this.pc())};w_.dom.DomHelper.prototype.s=function(){return w_.dom.xf(this.Z,arguments)};w_.dom.DomHelper.prototype.me=w_.dom.DomHelper.prototype.s;w_.dom.DomHelper.prototype.createElement=function(a){return this.Z.createElement(a)};w_.dom.DomHelper.prototype.createTextNode=function(a){return this.Z.createTextNode(a)}; w_.dom.DomHelper.prototype.ig=function(a){return w_.dom.jg(this.Z,a)};w_.dom.DomHelper.prototype.Mf=function(){return this.rc()?"CSS1Compat":"BackCompat"};w_.dom.DomHelper.prototype.rc=function(){return w_.dom.Ya(this.Z)};w_.dom.DomHelper.prototype.pc=function(){return w_.dom.Fd(this.Z)};w_.dom.DomHelper.prototype.Rf=function(){return w_.dom.qd(this.Z)};w_.dom.DomHelper.prototype.pd=function(){return w_.dom.Sf(this.Z)};w_.dom.DomHelper.prototype.appendChild=w_.dom.appendChild; w_.dom.DomHelper.prototype.zb=w_.dom.zb;w_.dom.DomHelper.prototype.Qd=w_.dom.Qd;w_.dom.DomHelper.prototype.Pd=w_.dom.Pd;w_.dom.DomHelper.prototype.removeNode=w_.dom.removeNode;w_.dom.DomHelper.prototype.replaceNode=w_.dom.replaceNode;w_.dom.DomHelper.prototype.nd=w_.dom.nd;w_.dom.DomHelper.prototype.rd=w_.dom.rd;w_.dom.DomHelper.prototype.td=w_.dom.td;w_.dom.DomHelper.prototype.wd=w_.dom.wd;w_.dom.DomHelper.prototype.Ad=w_.dom.Ad;w_.dom.DomHelper.prototype.tc=w_.dom.tc; w_.dom.DomHelper.prototype.contains=w_.dom.contains;w_.dom.DomHelper.prototype.V=w_.dom.V;w_.dom.DomHelper.prototype.fc=w_.dom.fc;w_.dom.DomHelper.prototype.sd=w_.dom.sd;w_.dom.DomHelper.prototype.de=w_.dom.de;w_.dom.DomHelper.prototype.kd=w_.dom.kd;w_.dom.DomHelper.prototype.ld=w_.dom.ld;w_.dom.DomHelper.prototype.vb=w_.dom.vb;w_.dom.DomHelper.prototype.xd=w_.dom.xd;w_.dom.DomHelper.prototype.yd=w_.dom.yd;w_.dom.DomHelper.prototype.od=w_.dom.od;w_.dom.DomHelper.prototype.cc=w_.dom.cc;w_.dom.xml={};w_.dom.xml.MAX_XML_SIZE_KB=2048;w_.dom.xml.MAX_ELEMENT_DEPTH=256;w_.dom.xml.createDocument=function(a,b){if(b&&!a)w_d(Error("Can't create document with namespace and no root tag"));if(document.implementation&&document.implementation.createDocument)return document.implementation.createDocument(b||"",a||"",w_b);else if(typeof ActiveXObject!="undefined"){var c=w_.dom.xml.zf();if(c){if(a)c.appendChild(c.createNode(w_.dom.NodeType.ELEMENT,a,b||""));return c}}w_d(Error("Your browser does not support creating new documents"))}; w_.dom.xml.loadXml=function(a){if(typeof DOMParser!="undefined")return(new DOMParser).parseFromString(a,"application/xml");else if(typeof ActiveXObject!="undefined"){var b=w_.dom.xml.zf();b.loadXML(a);return b}w_d(Error("Your browser does not support loading xml documents"))};w_.dom.xml.serialize=function(a){if(typeof XMLSerializer!="undefined")return(new XMLSerializer).serializeToString(a);var b=a.xml;if(b)return b;w_d(Error("Your browser does not support serializing XML documents"))}; w_.dom.xml.selectSingleNode=function(a,b){if(typeof a.selectSingleNode!="undefined"){var c=w_.dom.V(a);typeof c.setProperty!="undefined"&&c.setProperty("SelectionLanguage","XPath");return a.selectSingleNode(b)}else if(document.implementation.hasFeature("XPath","3.0")){c=w_.dom.V(a);var d=c.createNSResolver(c.documentElement),e=c.evaluate(b,a,d,XPathResult.FIRST_ORDERED_NODE_TYPE,w_b);return e.singleNodeValue}return w_b}; w_.dom.xml.selectNodes=function(a,b){if(typeof a.selectNodes!="undefined"){var c=w_.dom.V(a);typeof c.setProperty!="undefined"&&c.setProperty("SelectionLanguage","XPath");return a.selectNodes(b)}else if(document.implementation.hasFeature("XPath","3.0")){c=w_.dom.V(a);for(var d=c.createNSResolver(c.documentElement),e=c.evaluate(b,a,d,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,w_b),f=[],g=e.snapshotLength,h=0;h=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(e){if(e!==w_.iter.StopIteration)w_d(e)}}};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.reduce=function(a,b,c,d){var e=c;w_.iter.forEach(a,function(f){e=b.call(d,e,f)});return e};w_.iter.some=function(a,b,c){a=w_.iter.toIterator(a);try{for(;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(h){if(h!==w_.iter.StopIteration)w_d(h);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.T=function(a){if(typeof a.T=="function")return a.T();if(w_.isArrayLike(a)||w_.isString(a))return a.length;return w_.object.T(a)};w_.structs.p=function(a){if(typeof a.p=="function")return a.p();if(w_.isString(a))return a.split("");if(w_.isArrayLike(a)){for(var b=[],c=a.length,d=0;d1){if(b%2)w_d(Error("Uneven number of arguments"));for(var c=0;c2*this.h&&this.Na();return w_c}return w_a}; w_.structs.Map.prototype.Na=function(){if(this.h!=this.r.length){for(var a=0,b=0;a=c.length)w_d(w_.iter.StopIteration);var h=c[b++];return a?h:d[h]}};return g}; w_.structs.Map.Aa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};w_.structs.Map.T=function(a){return w_.structs.T(a)};w_.structs.Map.p=function(a){return w_.structs.p(a)};w_.structs.Map.l=function(a){if(typeof a.l=="function")return a.l();var b=[];if(w_.isArrayLike(a))for(var c=0;cc)e=c;d+=b.length+1;return w_.string.urlDecode(a.substr(d,e-d))}};w_.uri.utils.getParamValues=function(a,b){for(var c=a.search(w_.uri.utils.Ld),d=0,e,f=[];(e=w_.uri.utils.bc(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.Vh=/[?&]$/; w_.uri.utils.removeParam=function(a,b){w_.uri.utils.lf(a);for(var c=a.length,d=0,e,f=[];(e=w_.uri.utils.bc(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.Vh,"")};w_.Uri=function(a,b){var c;if(a instanceof w_.Uri){this.qa(b==w_b?a.Uf():b);this.Eb(a.kc());this.Fb(a.nc());this.Ab(a.sb());this.Cb(a.ub());this.cb(a.za());this.xc(a.jc().clone());this.Bb(a.ec())}else if(a&&(c=w_.uri.utils.split(String(a)))){this.qa(!!b);this.Eb(c[w_.uri.utils.ComponentIndex.SCHEME]||"",w_c);this.Fb(c[w_.uri.utils.ComponentIndex.USER_INFO]||"",w_c);this.Ab(c[w_.uri.utils.ComponentIndex.DOMAIN]||"",w_c);this.Cb(c[w_.uri.utils.ComponentIndex.PORT]);this.cb(c[w_.uri.utils.ComponentIndex.PATH]|| "",w_c);this.ce(c[w_.uri.utils.ComponentIndex.QUERY_DATA]||"",w_c);this.Bb(c[w_.uri.utils.ComponentIndex.FRAGMENT]||"",w_c)}else{this.qa(!!b);this.M=new w_.Uri.QueryData(w_b,this,this.$)}};w_.Uri.RANDOM_PARAM="zx";w_.Uri.prototype.da="";w_.Uri.prototype.Ka="";w_.Uri.prototype.wa="";w_.Uri.prototype.Ha=w_b;w_.Uri.prototype.Ga="";w_.Uri.prototype.xa="";w_.Uri.prototype.mg=w_a;w_.Uri.prototype.$=w_a; w_.Uri.prototype.toString=function(){if(this.Y)return this.Y;var a=[];this.da&&a.push(w_.Uri.pb(this.da,w_.Uri.Dg),":");if(this.wa){a.push("//");this.Ka&&a.push(w_.Uri.pb(this.Ka,w_.Uri.Dg),"@");a.push(w_.Uri.qh(this.wa));this.Ha!=w_b&&a.push(":",String(this.ub()))}this.Ga&&a.push(w_.Uri.pb(this.Ga,w_.Uri.Ih));var b=String(this.M);b&&a.push("?",b);this.xa&&a.push("#",w_.Uri.pb(this.xa,w_.Uri.Hh));return this.Y=a.join("")}; w_.Uri.prototype.resolve=function(a){var b=this.clone(),c=a.fg();if(c)b.Eb(a.kc());else c=a.gg();if(c)b.Fb(a.nc());else c=a.Jd();if(c)b.Ab(a.sb());else c=a.dg();var d=a.za();if(c)b.Cb(a.ub());else if(c=a.Kd()){if(d.charAt(0)!="/")if(this.Jd()&&!this.Kd())d="/"+d;else{var e=b.za().lastIndexOf("/");if(e!=-1)d=b.za().substr(0,e+1)+d}d=w_.Uri.removeDotSegments(d)}if(c)b.cb(d);else c=a.eg();if(c)b.ce(a.Nf());else c=a.cg();c&&b.Bb(a.ec());return b}; w_.Uri.prototype.clone=function(){return w_.Uri.create(this.da,this.Ka,this.wa,this.Ha,this.Ga,this.M.clone(),this.xa,this.$)};w_.Uri.prototype.kc=function(){return this.da};w_.Uri.prototype.Eb=function(a,b){this.ba();delete this.Y;if(this.da=b?w_.Uri.Oa(a):a)this.da=this.da.replace(/:$/,"");return this};w_.Uri.prototype.fg=function(){return!!this.da};w_.Uri.prototype.nc=function(){return this.Ka};w_.Uri.prototype.Fb=function(a,b){this.ba();delete this.Y;this.Ka=b?w_.Uri.Oa(a):a;return this}; w_.Uri.prototype.gg=function(){return!!this.Ka};w_.Uri.prototype.sb=function(){return this.wa};w_.Uri.prototype.Ab=function(a,b){this.ba();delete this.Y;this.wa=b?w_.Uri.Oa(a):a;return this};w_.Uri.prototype.Jd=function(){return!!this.wa};w_.Uri.prototype.ub=function(){return this.Ha};w_.Uri.prototype.Cb=function(a){this.ba();delete this.Y;if(a){a=Number(a);if(isNaN(a)||a<0)w_d(Error("Bad port number "+a));this.Ha=a}else this.Ha=w_b;return this};w_.Uri.prototype.dg=function(){return this.Ha!=w_b}; w_.Uri.prototype.za=function(){return this.Ga};w_.Uri.prototype.cb=function(a,b){this.ba();delete this.Y;this.Ga=b?w_.Uri.Oa(a):a;return this};w_.Uri.prototype.Kd=function(){return!!this.Ga};w_.Uri.prototype.eg=function(){return this.M.toString()!==""};w_.Uri.prototype.xc=function(a,b){this.ba();delete this.Y;if(a instanceof w_.Uri.QueryData){this.M=a;this.M.Gb=this;this.M.qa(this.$)}else{b||(a=w_.Uri.pb(a,w_.Uri.Jh));this.M=new w_.Uri.QueryData(a,this,this.$)}return this}; w_.Uri.prototype.ce=function(a,b){return this.xc(a,b)};w_.Uri.prototype.Nf=function(){return this.M.Mg()};w_.Uri.prototype.jc=function(){return this.M};w_.Uri.prototype.wc=function(a,b){this.ba();delete this.Y;w_.isArray(b)||(b=[String(b)]);this.M.Kg(a,b);return this};w_.Uri.prototype.ec=function(){return this.xa};w_.Uri.prototype.Bb=function(a,b){this.ba();delete this.Y;this.xa=b?w_.Uri.Oa(a):a;return this};w_.Uri.prototype.cg=function(){return!!this.xa}; w_.Uri.prototype.removeParameter=function(a){this.ba();this.M.remove(a);return this};w_.Uri.prototype.ba=function(){if(this.mg)w_d(Error("Tried to modify a read-only Uri"))};w_.Uri.prototype.qa=function(a){this.$=a;this.M&&this.M.qa(a)};w_.Uri.prototype.Uf=function(){return this.$};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.Eb(a);b&&i.Fb(b);c&&i.Ab(c);d&&i.Cb(d);e&&i.cb(e);f&&i.xc(f);g&&i.Bb(g);return i};w_.Uri.resolve=function(a,b){a instanceof w_.Uri||(a=w_.Uri.parse(a));b instanceof w_.Uri||(b=w_.Uri.parse(b));return a.resolve(b)}; w_.Uri.removeDotSegments=function(a){if(a==".."||a==".")return"";else if(!w_.string.contains(a,"./")&&!w_.string.contains(a,"/."))return a;else{for(var b=w_.string.fe(a,"/"),c=a.split("/"),d=[],e=0;e1||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.Oa=function(a){return a?decodeURIComponent(a):""}; w_.Uri.qh=function(a){if(w_.isString(a))return encodeURIComponent(a);return w_b};w_.Uri.ph=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/;w_.Uri.pb=function(a,b){var c=w_b;if(w_.isString(a)){c=a;w_.Uri.ph.test(c)||(c=encodeURI(a));if(c.search(b)>=0)c=c.replace(b,w_.Uri.oh)}return c};w_.Uri.oh=function(a){var b=a.charCodeAt(0);return"%"+(b>>4&15).toString(16)+(b&15).toString(16)};w_.Uri.Dg=/[#\/\?@]/g;w_.Uri.Ih=/[\#\?]/g;w_.Uri.Jh=/[\#\?@]/g;w_.Uri.Hh=/#/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.ha=a||w_b;this.Gb=b||w_b;this.$=!!c}; w_.Uri.QueryData.prototype.R=function(){if(!this.j){this.j=new w_.structs.Map;if(this.ha)for(var a=this.ha.split("&"),b=0;b=0){d=a[b].substring(0,c);e=a[b].substring(c+1)}else d=a[b];d=w_.string.urlDecode(d);d=this.ia(d);this.add(d,e?w_.string.urlDecode(e):"")}}}; w_.Uri.QueryData.createFromMap=function(a,b,c){var d=w_.structs.l(a);if(typeof d=="undefined")w_d(Error("Keys are undefined"));return w_.Uri.QueryData.createFromKeysValues(d,w_.structs.p(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"));for(var e=new w_.Uri.QueryData(w_b,c,d),f=0;f0){this.j.set(a,b);this.h+=b.length}}; w_.Uri.QueryData.prototype.toString=function(){if(this.ha)return this.ha;if(!this.j)return"";for(var a=[],b=0,c=this.j.l(),d=0;d0&&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.ha=a.join("")};w_.Uri.QueryData.prototype.Mg=function(){if(!this.va)this.va=w_.Uri.Oa(this.toString());return this.va}; w_.Uri.QueryData.prototype.Da=function(){delete this.va;delete this.ha;this.Gb&&delete this.Gb.Y};w_.Uri.QueryData.prototype.clone=function(){var a=new w_.Uri.QueryData;if(this.va)a.va=this.va;if(this.ha)a.ha=this.ha;if(this.j)a.j=this.j.clone();return a};w_.Uri.QueryData.prototype.ia=function(a){var b=String(a);if(this.$)b=b.toLowerCase();return b}; w_.Uri.QueryData.prototype.qa=function(a){var b=a&&!this.$;if(b){this.R();this.Da();w_.structs.forEach(this.j,function(c,d){var e=d.toLowerCase();if(d!=e){this.remove(d);this.add(e,c)}},this)}this.$=a};w_.Uri.QueryData.prototype.extend=function(){for(var a=0;a0){var h=w_.net.Jsonp.Ch(e,f,a,c);g=w_.global.setTimeout(h,this.Bc)}var i=this.Gb.clone();w_.net.Jsonp.Xg(a,i);if(b){var j=w_.net.Jsonp.Dh(e,f,b,g);w_.global[w_.net.Jsonp.CALLBACKS][e]=j;i.wc(this.ah, w_.net.Jsonp.CALLBACKS+"."+e)}w_.dom.Db(f,{type:"text/javascript",id:e,charset:"UTF-8",src:i.toString()});w_.dom.appendChild(document.getElementsByTagName("head")[0],f);return{di:e,Bc:g}};w_.net.Jsonp.Ch=function(a,b,c,d){return function(){w_.net.Jsonp.uf(a,b,w_a);d&&d(c)}};w_.net.Jsonp.Dh=function(a,b,c,d){return function(){w_.global.clearTimeout(d);w_.net.Jsonp.uf(a,b,w_c);c.apply(undefined,arguments)}}; w_.net.Jsonp.uf=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.Xg=function(a,b){for(var c in a)if(!a.hasOwnProperty||a.hasOwnProperty(c))b.wc(c,a[c]);return b};var w_H={};w_H.widget={};w_H.widget.bloglist={};w_H.widget.bloglist.FeedParser=function(a){this.ag(w_.dom.xml.loadXml(a))};w_H.widget.bloglist.FeedParser.prototype.Ua=function(){return this.pf};w_H.widget.bloglist.FeedParser.prototype.Vf=function(){if(!this.Za)return w_b;return{link:this.Qa.gc(this.Za),title:this.Qa.Yf(this.Za),thumbnail:this.Qa.Xf(this.Za),snippet:this.Qa.lc(this.Za),date:this.Qa.getDate(this.Za)}}; w_H.widget.bloglist.FeedParser.prototype.ag=function(a){for(var b=0;b1){c.width=Math.round(c.width/e);c.height=Math.round(c.height/e)}return c}return w_b}; w_H.widget.bloglist.Extractor.prototype.normalize=function(a){if(a){a=w_.string.normalizeWhitespace(this.Lg(a.firstChild.nodeValue));a=w_.string.trim(a);a=w_.string.normalizeSpaces(a);if(a.length>w_H.widget.bloglist.Extractor.MAX_SNIPPET_LENGTH)a=a.substring(0,w_H.widget.bloglist.Extractor.MAX_SNIPPET_LENGTH)+"...";return a}return""};w_H.widget.bloglist.Extractor.prototype.Lg=function(a){return a.replace(/<\/?\w[^>]*>/g,"")}; w_H.widget.bloglist.Extractor.prototype.ud=function(a){for(var b=0;a[b];b++)if(a[b].getAttribute("rel")=="alternate")return a[b].getAttribute("href");return w_b};w_H.widget.bloglist.RSSExtractor=function(){};w_.inherits(w_H.widget.bloglist.RSSExtractor,w_H.widget.bloglist.Extractor);w_H.widget.bloglist.RSSExtractor.prototype.gc=function(a){var b=a.getElementsByTagName("link");return b[0]?w_.string.trim(b[0].firstChild.nodeValue):w_b};w_H.widget.bloglist.RSSExtractor.prototype.lc=function(a){return this.normalize(a.getElementsByTagName("description")[0])}; w_H.widget.bloglist.RSSExtractor.prototype.getDate=function(a){var b=a.getElementsByTagName("pubDate");return b[0]?new Date(b[0].firstChild.nodeValue):w_b};w_H.widget.bloglist.AtomExtractor=function(){};w_.inherits(w_H.widget.bloglist.AtomExtractor,w_H.widget.bloglist.Extractor);w_H.widget.bloglist.AtomExtractor.prototype.gc=function(a){var b=a.getElementsByTagName("link"),c=this.ud(b);if(c)return c;return b[0]?b[0].getAttribute("href"):w_b}; w_H.widget.bloglist.AtomExtractor.prototype.lc=function(a){return this.normalize(a.getElementsByTagName("content")[0]||a.getElementsByTagName("summary")[0])};w_H.widget.bloglist.AtomExtractor.prototype.getDate=function(a){var b=a.getElementsByTagName("updated")[0]||a.getElementsByTagName("date")[0];if(b){var c=w_.date.fromIsoString(b.firstChild.nodeValue);return new Date(c.Xa(),c.getMonth(),c.getDay(),c.getHours(),c.getMinutes(),c.getSeconds(),c.getMilliseconds())}return w_b}; w_H.widget.bloglist.FeedParser.HINTS=[{itemElem:"entry",namespace:"http://www.w3.org/2005/Atom",extractor:w_H.widget.bloglist.AtomExtractor,hint:"atom"},{itemElem:"entry",namespace:"http://purl.org/atom/ns#",extractor:w_H.widget.bloglist.AtomExtractor,hint:"atom"},{itemElem:"entry",namespace:"",extractor:w_H.widget.bloglist.AtomExtractor,hint:"atom"},{itemElem:"item",namespace:"http://purl.org/rss/1.0/",extractor:w_H.widget.bloglist.RSSExtractor,hint:"rss"},{itemElem:"item",namespace:"http://my.netscape.com/rdf/simple/0.9/", extractor:w_H.widget.bloglist.RSSExtractor,hint:"rss"},{itemElem:"item",namespace:"",extractor:w_H.widget.bloglist.RSSExtractor,hint:"rss"}];function w_I(a,b,c){var d;if(b==w_b)b="";if(a.getElementsByTagNameNS)d=a.getElementsByTagNameNS(b,c);else{var e=a.getElementsByTagName("*");d=[];for(var f=0;fthis.yb){var g=this.a.J(w_J.Id.SHOW_ALL);g.onclick=this.ie.bind(this);var h=this.a.J(w_J.Id.SHOW_N); h.onclick=this.ie.bind(this)}var i=this.Kf.bind(this),j=window;if(j.addEventListener)j.addEventListener("load",i,w_a);else if(j.attachEvent)j.attachEvent("onload",i);else j.onload=i}; w_J.prototype.Hg=function(a,b){if(!b.error){var c=this.a.o(),d=new w_H.widget.bloglist.FeedParser(b.responseData.xmlString),e=d.Vf();if(e){var f=a.parentNode.parentNode.getElementsByTagName("input")[0];f.value=d.Ua()+"/favicon.ico";c.showItemThumbnail&&e.thumbnail&&a.appendChild(w_.dom.s("div",{"class":"item-thumbnail"},w_.dom.s("a",{target:"_blank",href:e.link},w_.dom.s("img",{src:e.thumbnail.url,height:e.thumbnail.height,width:e.thumbnail.width,alt:"",border:0}))));if(c.showItemTitle)e.link?a.appendChild(w_.dom.s("span", {"class":"item-title"},w_.dom.s("a",{href:e.link,target:"_blank"},e.title))):a.appendChild(w_.dom.s("span",{"class":"item-title"},e.title));if(c.showItemSnippet){c.showItemTitle&&a.appendChild(w_.dom.createTextNode(" - "));a.appendChild(w_.dom.s("span",{"class":"item-snippet"},e.snippet));c.showTimePeriodSinceLastUpdate&&e.date&&a.appendChild(w_La(e.date.toLocaleDateString()))}}}}; w_J.prototype.ie=function(){for(var a=this.a.J(w_J.Id.BLOGS),b=a.getElementsByTagName("li"),c=this.yb;c=0)d=d.substring(0,e);window.location.href=d+"#"+w_K.ANCHOR_NAME;return w_c}function w_Oa(a){a.clearAllResults();w_L(w_a)}function w_L(a){document.getElementById("uds-searchClearResults").style.display=a?"block":"none"}var _CustomSearchView=w_K;_CustomSearchView._Configure=_CustomSearchView.Configure;function w_M(a){this.a=a;this.g=a.u()}w_M.WIDGET_TYPE_NAME="Image";w_M.prototype.b=function(){return this.a};w_M.prototype.e=function(){return w_M.WIDGET_TYPE_NAME};w_M.prototype.i=function(){return w_a}; w_M.prototype.k=function(){if(!(this.g.data.resize!="true")){var a=this.a.X(this.g.instanceId+"_img"),b=this.g.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_M.prototype.d=function(a,b){a=="configure"&&this.a.m(b)};var _ImageView=w_M;function w_N(a,b,c,d,e,f,g,h){this.H=a;this.qf=b!="null"?b:w_b;this.qg=c;this.og=d;this.pg=e;this.Jg=f;this.rg=g;this.Mh=h;this.Ba=this.ka=-1;this.Ca=w_b;this.W=document.getElementById(this.H+"_picImg");this.Vb=document.getElementById(this.H+"_changeImageLink");this.qc=document.getElementById(this.H+"_imageChoiceTable");this.kg=document.getElementById(this.H+"_imgSrcFromPCRadio");this.lg=document.getElementById(this.H+"_imgSrcFromWebRadio");this.n=document.getElementById(this.H+"_imgFileNameInput"); this.wb=document.getElementById(this.H+"_imgUrlTextInput");this.mf=window.frames[this.H+"_asynchronousFileUploadIframe"];this.Md=0;this.D=new Image;this.D.onload=this.hitch(this,this.Ag);this.D.onerror=this.hitch(this,this.zg);this.Lf=w_a;this.Sa=this.F=this.Td=w_b;this.$d=w_a}w_N.prototype.Rd=function(){return this.kg.checked}; w_N.prototype.Ag=function(){this.Md=0;w_C.ClearError(this.H+"_imgUrlTextError");w_C.ClearError(this.H+"_imgFileNameError");if(!this.Rd()||this.ka==0){this.ka=this.D.width;this.Ba=this.D.height;this.Ca=this.D.src}var a=1,b=1;if(this.D.width>300)a=300/this.D.width;if(this.D.height>300)b=300/this.D.height;var c=Math.min(a,b);this.W.style.width=Math.round(this.D.width*c)+"px";this.W.style.height=Math.round(this.D.height*c)+"px";this.W.src=this.D.src;this.W.style.display="";this.qc.style.display="none"; this.Vb.style.display="";this.n.disabled=w_c;this.qg&&this.qg.call({},this.W.src,this.Ca,this.ka,this.Ba)};w_N.prototype.db=function(a,b,c,d){if(a){w_C.SetError(this.H+"_imgFileNameError",b);w_C.ClearError(this.H+"_imgUrlTextError")}else{w_C.SetError(this.H+"_imgUrlTextError",b);w_C.ClearError(this.H+"_imgFileNameError")}this.W.style.display="none";this.qc.style.display="";this.Vb.style.display="none";this.n.disabled=w_a;this.og&&this.og.call({},c,d)}; w_N.prototype.zg=function(){if(this.Md<2){this.Md++;var a=this.D.src;this.D.src="";this.Ea(a)}else this.db(this.Rd(),WidgetMessages.SIV_INVALID_URL,this.W.src)};w_N.prototype.hitch=function(a,b){return function(){b.apply(a,arguments)}};w_N.prototype.Ea=function(a){this.ee();this.D.src=a}; w_N.prototype.ad=function(a){var b=a||window.event;if(window.event){b.returnValue=w_a;b.cancelBubble=w_c}else{b.preventDefault();b.stopPropagation()}this.W.style.display="none";this.Vb.style.display="none";this.qc.style.display="";this.n.disabled=w_a;this.wb.value="";this.ae();this.$d=w_c;this.pg&&this.pg.call({})};w_N.prototype.Nd=function(){this.kg.checked="true";this.wb.value="";this.ee();this.wg();this.Lf=w_c;try{this.F.submit()}catch(a){this.db(w_c,WidgetMessages.SIV_INVALID_URL,this.F.value)}this.vg()}; w_N.prototype.Ma=function(){var a=this.mf.document.result;a||this.db(w_c,WidgetMessages.SIV_INVALID_URL,this.n.value);if(a.hasErrors)a.errors.length>0?this.db(w_c,a.errors[0].message,this.n.value,a.sh):this.db(w_c,WidgetMessages.SIV_INVALID_URL,this.n.value,a.sh);else{var b=Math.max(a.origWidth,a.origHeight),c=this.Ed();if(this.ka!=0&&c!=-1&&b>c){var d=c/b;this.ka=Math.round(a.origWidth*d);this.Ba=Math.round(a.origHeight*d)}else{this.ka=a.origWidth;this.Ba=a.origHeight}this.Ca=a.mainSrc;this.Ea(a.thumbSrc)}}; w_N.prototype.Od=function(a){var b=a||window.event;if(!(b.keyCode==9)){this.lg.checked="true";this.Td!=w_b&&window.clearTimeout(this.Td);var c=this.hitch(this,function(){if(this.$d||this.D.src!=this.wb.value){this.ae();this.Ea(this.wb.value)}this.$d=w_a});this.Td=window.setTimeout(c,1000)}};w_N.prototype.Vd=function(a){this.lg.checked=w_c;this.wb.value=a;this.Ea(a)}; w_N.prototype.ee=function(){this.W.src="img/icon_inprogress.gif";this.W.style.width="200px";this.W.style.height="200px";this.W.style.display="";this.qc.style.display="none";this.Vb.style.display="none"}; w_N.prototype.wg=function(){if(!this.F){this.F=document.createElement("form");this.F.action="imageUpload.do";this.F.method="POST";this.F.target=this.mf.name;this.F.encoding="multipart/form-data";this.F.style.display="none";if(this.qf){var a=document.createElement("input");a.type="hidden";a.name="blogID";a.value=this.qf;this.F.appendChild(a)}var b=document.createElement("input");b.type="hidden";b.name="sectionWidth";b.id="sectionWidth";this.F.appendChild(b);var c=document.createElement("input");c.type= "hidden";c.name="photoUploadSecurityToken";c.value=this.Mh;this.F.appendChild(c);document.body.appendChild(this.F)}var d=this.Ed();if(d==-1)d=1600;document.getElementById("sectionWidth").value=d;this.Sa={parent:this.n.parentNode,nextSibling:this.n.nextSibling};this.n.parentNode.removeChild(this.n);this.F.appendChild(this.n)};w_N.prototype.vg=function(){this.F.removeChild(this.n);this.Sa&&this.Sa.nextSibling?this.Sa.parent.insertBefore(this.n,this.Sa.nextSibling):this.Sa.parent.appendChild(this.n)}; w_N.prototype.ae=function(){var a=document.createElement("input");a.type="file";a.name=this.n.name;a.id=this.n.id;a.onchange=this.n.onchange;var b=this.n.nextSibling;b==w_b?this.n.parentNode.appendChild(a):this.n.parentNode.insertBefore(a,b);this.n.parentNode.removeChild(this.n);this.n=a};w_N.prototype.Ed=function(){return this.Jg==-1&&this.rg?this.rg():this.Jg};function w_O(){this.usiContainers=[]}var w_Pa=new w_O; w_O.prototype.dd=function(a,b,c,d,e,f,g,h){this.usiContainers[a]=new w_N(a,b,eval(c),eval(d),eval(e),f,eval(g),h);return this.usiContainers[a]};w_O.prototype.oc=function(a){return this.usiContainers[a]};w_O.prototype.Ma=function(a){var b=this.oc(a);b&&b.Lf&&b.Ma()};var _UploadSimpleImage=w_Pa;w_O.prototype._createUsiContainer=w_O.prototype.dd;w_O.prototype._getUsiContainer=w_O.prototype.oc;w_O.prototype._channelResultArrived=w_O.prototype.Ma;w_N.prototype._changeImage=w_N.prototype.ad; w_N.prototype._imgUrlFileOnChange=w_N.prototype.Nd;w_N.prototype._imgUrlTextOnKeyUp=w_N.prototype.Od;w_N.prototype._loadInitialUrl=w_N.prototype.Vd;w_N.prototype._loadImageFromUrl=w_N.prototype.Ea;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_B.IsOpenerReachable(window)&&window.opener.document.getElementById(a)&&window.opener.document.getElementById(a).clientWidth>0)b=window.opener.document.getElementById(a).clientWidth;return b} function _SIV_setConfigurationOptions(){if(window.singleImageConfig_imageUrl==w_b)w_B.N(window,WidgetMessages.SIV_NO_IMAGE,w_B.STATUS_MESSAGE_BAD_CLASS);else{var a=document.forms.config.widgetId.value,b=_SIV_getContainerWidth(),c=document.getElementById("checkShrink").checked,d=window.singleImageConfig_imageWidth,e=window.singleImageConfig_imageHeight;if(c){var f=1;if(d>b){f=b/d;d=b;e=Math.round(e*f)}}var g={originalUrl:window.singleImageConfig_imageUrl,originalWidth:window.singleImageConfig_imageWidth, originalHeight:window.singleImageConfig_imageHeight,displayUrl:window.singleImageConfig_thumbImageUrl,displayWidth:d,displayHeight:e,sectionWidth:b,shrinkToFit:c,title:document.getElementById("title").value,caption:document.getElementById("imageCaption").value,link:document.getElementById("link").value,securityToken:document.forms.config.securityToken.value};w_B.SaveWidget(g,a,w_M.WIDGET_TYPE_NAME)}};function w_P(a){this.a=a;this.g=a.u()}w_P.successfulUploadCallback=function(a,b,c,d){w_P.Uh=a;w_P.Ca=b;w_P.ka=c;w_P.Ba=d;var e=document.getElementById("shrinkToFitRow");if(e)e.style.visibility="hidden";if(e=document.getElementById("shrinkToFitMessageRow"))e.style.visibility="hidden"};w_P.resetCallback=function(){w_P.Ca=w_b;var a=document.getElementById("shrinkToFitRow");if(a)a.style.visibility="visible";if(a=document.getElementById("shrinkToFitMessageRow"))a.style.visibility="visible"}; w_P.getScaledContainerWidth=function(){return document.getElementById("checkShrink").checked?w_P.getContainerWidth():-1};w_P.getContainerWidth=function(){var a=document.getElementById("sectionId").value,b=600;if(w_B.IsOpenerReachable(window)&&window.opener.document.getElementById(a))b=window.opener.document.getElementById(a).clientWidth;return b};w_P.WIDGET_TYPE_NAME="Header";w_P.prototype.e=function(){return w_P.WIDGET_TYPE_NAME};w_P.prototype.i=function(){return w_a};w_P.prototype.b=function(){return this.a}; w_P.prototype.d=function(a,b){this.a.m(b)};w_P.FilterMap={title:w_C.GetRequiredStringFilter(),description:w_b,imagePlacement:w_b,useImage:w_b,securityToken:w_b}; w_P.ConfigureWidget=function(){var a=document.forms.config.widgetId.value,b=document.forms.config.widgetType.value,c=w_C.ProcessForm(document.forms.config,w_P.FilterMap),d=w_P.getContainerWidth();if(c.success){if(w_P.Ca){var e=w_P.ka,f=w_P.Ba,g=document.getElementById("checkShrink").checked;if(g){var h=1;if(e>d){h=d/e;e=d;f=Math.round(f*h)}}c.values.originalUrl=w_P.Ca;c.values.originalWidth=w_P.ka;c.values.originalHeight=w_P.Ba;c.values.displayUrl=w_P.Uh;c.values.displayWidth=e;c.values.displayHeight= f;c.values.sectionWidth=d;c.values.shrinkToFit=g}c.values.securityToken=document.forms.config.securityToken.value;w_B.SaveWidget(c.values,a,b);return w_c}else return w_a};w_P.hideImageOptions=function(){document.getElementById("imageOptions").style.display="none";return w_a};w_P.showImageOptions=function(){document.getElementById("imageOptions").style.display="";return w_a};var _HeaderView=w_P;_HeaderView.prototype=w_P.prototype;_HeaderView._ConfigureWidget=_HeaderView.ConfigureWidget; _HeaderView._hideImageOptions=_HeaderView.hideImageOptions;_HeaderView._showImageOptions=_HeaderView.showImageOptions;_HeaderView._successfulUploadCallback=_HeaderView.successfulUploadCallback;_HeaderView._resetCallback=_HeaderView.resetCallback;_HeaderView._getScaledContainerWidth=_HeaderView.getScaledContainerWidth;_HeaderView._getContainerWidth=_HeaderView.getContainerWidth;function w_Q(a,b){this.a=a;this.g=a.u();this.Wh=b}w_Q.prototype.b=function(){return this.a};w_Q.prototype.e=function(){return this.Wh};w_Q.prototype.d=function(a,b){a=="configure"&&this.a.m(b)}; w_Q.ConfigureWidget=function(a){setFormAndSubmit();var b=document.forms.stuffform.widgetId.value,c=document.forms.stuffform.securityToken.value,d=document.getElementById("textarea"),e=document.getElementById("title"),f=d.value;if(a=="Text")f=f.replace(/\n/g,"
");var g={content:f,title:e.value,securityToken:c};w_B.SaveWidget(g,b,a)};function w_R(a){w_Q.call(this,a,"Text")}w_R.inherits(w_Q);w_R.ConfigureWidget=function(){w_Q.ConfigureWidget("Text")};function w_S(a){w_Q.call(this,a,"HTML")}w_S.inherits(w_Q); w_S.ConfigureWidget=function(){w_Q.ConfigureWidget("HTML")};var _TextView=w_R;_TextView.prototype=w_R.prototype;_TextView._ConfigureWidget=_TextView.ConfigureWidget;var _HTMLView=w_S;_HTMLView.prototype=w_S.prototype;_HTMLView._ConfigureWidget=_HTMLView.ConfigureWidget;function w_T(a){this.a=a}w_T.WIDGET_TYPE_NAME="VideoBar";w_T.prototype.e=function(){return w_T.WIDGET_TYPE_NAME};w_T.prototype.b=function(){return this.a};w_T.prototype.i=function(){return w_a};w_T.prototype.d=function(a,b){a=="configure"&&this.a.m(b)};w_T.prototype.k=function(){var a=this.b();google.load("search","1",{callback:w_Qa.bind(a)});var b=a.J("bar");w_q(b,"videoBar-container")}; function w_Qa(){var a=this.J("bar"),b=this.o().format,c,d,e=this.o().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_T;_VideoBarView._Configure=_VideoBarView.Configure;function w_U(a){this.a=a}w_U.WIDGET_TYPE_NAME="NewsBar";w_U.prototype.e=function(){return w_U.WIDGET_TYPE_NAME};w_U.prototype.b=function(){return this.a};w_U.prototype.i=function(){return w_a};w_U.prototype.d=function(a,b){a=="configure"&&this.a.m(b)};w_U.prototype.k=function(){var a=this.b();google.load("search","1",{callback:w_Ra.bind(a)});window._uds_nbw_donotrepair=w_c}; function w_Ra(){var a=this.J("bar"),b,c=this.o().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.o().expression,e=this.o().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_U;_NewsBarView._Configure=_NewsBarView.Configure;function w_V(a){this.a=a}w_V.WIDGET_TYPE_NAME="Slideshow";w_V.prototype.e=function(){return w_V.WIDGET_TYPE_NAME};w_V.prototype.b=function(){return this.a};w_V.prototype.i=function(){return w_a};w_V.prototype.d=function(a,b){a=="configure"&&this.a.m(b)};w_V.prototype.k=function(){var a=this.b();google.load("feeds","1",{callback:w_Sa.bind(a)})}; function w_Sa(){var a=this.J("slideshow"),b=this.o().computedFeed,c=this.o().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,displayTime:this.o().speed};if(b.indexOf("http://api.flickr.com")==0)e.thumbnailUrlResolver=w_V.FlickrThumbResolver;if(this.o().randomizeFeed)e.feedLoadCallback=w_V.FeedRandomizer;new GFslideShow(b,a,e)} w_V.FlickrThumbResolver=function(a){var b=google.feeds.getElementsByTagNameNS(a.xmlNode,"http://search.yahoo.com/mrss/","thumbnail"),c=w_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};w_V.FeedRandomizer=function(a){for(var b=a.feed.entries,c=b.length-1;c>0;--c){var d=Math.floor(Math.random()*(c+1)),e=b[c];b[c]=b[d];b[d]=e}};var _SlideshowView=w_V;_SlideshowView._Configure=_SlideshowView.Configure;function w_W(){}w_W.th={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_W.ACTIVE_PREVIEW_CLASS="active-preview";w_W.PREVIEW_CLASS="preview";w_W._SetConfigurationOptions=function(){w_y.ConfigureWidget(w_W.th)}; w_W.UpdateFrequency=function(){var a=w_C.GetFieldValue(document.forms.config.showStyle),b={year:a=="HIERARCHY",week:0,month:0,day:0},c=w_C.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_ra(document.getElementById(f),b[e])}w_W.SelectPreview()}; w_W._Init=function(a){w_W.Ig=a;w_W.ab=document.getElementById("archive-previews");w_W.Bg=w_X(w_W.ab,w_W.PREVIEW_CLASS);w_W.UpdateFrequency();w_W.Reformat("yearly",document.forms.config.yearPattern);w_W.Reformat("monthly",document.forms.config.monthPattern);w_W.Reformat("weekly",document.forms.config.weekPattern);w_W.Reformat("daily",document.forms.config.dayPattern);w_W.UpdateWeekEnd();w_W.UpdatePreviewPostTitles();document.forms.config.chronological.checked&&w_W.ToggleDirection()}; w_W.SelectPreview=function(){for(var a=w_C.GetFieldValue(document.forms.config.showStyle),b=w_C.GetFieldValue(document.forms.config.frequency),c=0;c2083)w_C.SetError(w_7.Hb,this.vc._feedUrlTooLong);else{this.ge.N(this.vc._retrievingFeed);this.We(a,b,c);this.Fg=d;this.se(a,w_w(this.oe,this))}};w_7.prototype.se=function(a,b){if(a.indexOf("http://")!=0)a="http://"+a;var c=new w_.net.Jsonp("http://www.google.com/uds/GlookupFeed");c.yc(-1);c.send({q:a,v:"1.0"},b)}; w_7.prototype.oe=function(a){if(a.responseStatus==200){document.getElementById("feedUrl").value=a.responseData.url;this.pa.Tc(a.responseData.url);this.pa.Ue(w_w(this.ue,this,this.Fg));this.pa.Qb()}else this.Ye()};w_7.prototype.We=function(a,b){this.K=b;this.pa.Tc(a);this.pa.Rc(this.K)};w_7.prototype._GoToStep1=w_7.prototype.Kb;w_7.prototype._RetrieveFeedAndGoToStep2=w_7.prototype.Pc;w_7.prototype._RefreshModuleTitle=w_7.prototype.Pb;w_7.prototype._SetShowItemAuthor=w_7.prototype.Vc; w_7.prototype._SetShowItemDate=w_7.prototype.Wc;w_7.prototype._SetNumItemsShow=w_7.prototype.Uc;var _FeedConfig=w_7;function w_8(a){this.a=a;this.g=a.u()}w_8.WIDGET_TYPE_NAME="Followers";w_8.prototype.i=function(){return w_a};w_8.prototype.e=function(){return w_8.WIDGET_TYPE_NAME};w_8.prototype.b=function(){return this.a};w_8.prototype.d=function(a,b){if(a=="configure"){this.a.m(b);window.close()}};w_8._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_8.prototype.hb=function(){document.location.reload()};var _FollowersView=w_8;function w_9(a){this.a=a;this.g=a.u()}w_9.prototype.e=function(){return"Gadget"};w_9.prototype.b=function(){return this.a};w_9.prototype.d=function(a,b){this.a.m(b)};w_9.prototype.Se=function(a){var b=document.getElementById(this.f);if(b)b.style.height=a+"px"};w_9.prototype.Nc=function(){gadgets.rpc.register("resize_iframe",this.Se);gadgets.rpc.register("set_pref",function(){})}; w_9.prototype.k=function(){if(!w_9.InitializedRpc&&!window.gadgets){var a=document.createElement("script");a.src="http://blogger.gmodules.com/gadgets/js/rpc.js?c=1&container=blogger";a.type="text/javascript";var b=this;a.onload=function(){b.Nc()};a.onreadystatechange=function(){if(this.readyState=="loaded"||this.readyState=="complete")b.Nc()};document.getElementsByTagName("body")[0].appendChild(a);w_9.InitializedRpc=function(){}}};var _GadgetView=w_9;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_$(a){this.a=a;this.g=a.u()}w_$.WIDGET_TYPE_NAME="Subscribe";w_$.prototype.i=function(){return w_a}; w_$.prototype.e=function(){return w_$.WIDGET_TYPE_NAME};w_$.prototype.b=function(){return this.a};w_$.prototype.d=function(a,b){a=="configure"&&this.a.m(b)};var _SubscribeView=w_$;if(window.jstiming){window.jstiming.of={};window.jstiming.Kh=1;function w_Ua(a,b,c){var d=a.t[b];if(!d)return undefined;d=a.t[b][0];if(c!=undefined)var e=c;else e=a.t.start[0];return d-e}window.jstiming.report=function(a,b,c){var d="";if(window.jstiming.pt){d+="&srt="+window.jstiming.pt;delete window.jstiming.pt}try{if(window.external.tran)d+="&tran="+window.external.tran}catch(e){}var f=a.t,g=f.start,h=[],i=[];for(var j in f)if(!(j=="start"))if(!(j.indexOf("_")==0)){var k=f[j][1];if(k)f[k]&&i.push(j+ "."+w_Ua(a,j,f[k][0]));else g&&h.push(j+"."+w_Ua(a,j))}delete f.start;if(b)for(var l in b)d+="&"+l+"="+b[l];var m=[c?c:"http://csi.gstatic.com/csi","?v=3","&s="+(window.jstiming.sn?window.jstiming.sn:"blogger")+"&action=",a.name,i.length?"&it="+i.join(",")+d:d,"&rt=",h.join(",")].join(""),n=new Image,o=window.jstiming.Kh++;window.jstiming.of[o]=n;n.onload=n.onerror=function(){delete window.jstiming.of[o]};n.src=m;n=w_b}};w_.debug={};w_.debug.errorHandlerWeakDep={protectEntryPoint:function(a){return a}};w_.Disposable=function(){};w_.Disposable.prototype.hd=w_a;w_.Disposable.prototype.dispose=function(){if(!this.hd){this.hd=w_c;this.L()}};w_.Disposable.prototype.L=function(){};w_.dispose=function(a){a&&typeof a.dispose=="function"&&a.dispose()};w_.structs.SimplePool=function(a,b){w_.Disposable.call(this);this.ug=b;this.ya=[];this.yf(a)};w_.inherits(w_.structs.SimplePool,w_.Disposable);w_.structs.SimplePool.prototype.Wb=w_b;w_.structs.SimplePool.prototype.Zb=w_b;w_.structs.SimplePool.prototype.bb=function(a){this.Wb=a};w_.structs.SimplePool.prototype.be=function(a){this.Zb=a};w_.structs.SimplePool.prototype.ja=function(){if(this.ya.length)return this.ya.pop();return this.cd()}; w_.structs.SimplePool.prototype.Ia=function(a){this.ya.lengththis.ug)w_d(Error("[goog.structs.SimplePool] Initial cannot be greater than max"));for(var b=0;b=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.ea[h])for(var i=w_.events.ea[h],j=i.length-1;j>=0;j--){var k=i[j];if((f||b==k.type)&&(g||c==k.capture)){w_.events.unlistenByKey(k.key);d++}}}return d}; w_.events.getListeners=function(a,b,c){return w_.events.vd(a,b,c)||[]};w_.events.vd=function(a,b,c){var d=w_.events.C;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.vd(a,b,f);if(g)for(var h=0;h=0&&i.aa;k--){b.currentTarget=e[k];d&=w_.events.Ta(i,e[k],b.type,w_c,b)&&b.Ja!=w_a}}var l=w_a in g;if(l){i=g[w_a];i.aa=i.h; if(h)for(k=0;!b.la&&k=0&&g.aa;n--){k.currentTarget=l[n];f&=w_.events.Ta(g, l[n],d,w_c,k)}if(j){g=e[w_a];g.aa=g.h;for(n=0;!k.la&&n