var w_a=false;function w_b(a){try{throw a;}catch(b){w_c(b)}}function w_c(a,b){var c="Javascript exception: "+(b?b:"")+" "+a;if(w_d())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_e(w_c.caller);w_aa(c+"\n"+d,1)}var w_ba=/function (\w+)/;function w_ca(a){var b=w_ba.exec(String(a));if(b)return b[1];return""}function w_e(a){try{if(!w_d()&&!(w_f("safari")||w_f("konqueror"))&&w_f("mozilla"))return Error().stack;
if(!a)return"";var b="- "+w_ca(a)+"(";for(var c=0;c<a.arguments.length;c++){if(c>0)b+=", ";var d=String(a.arguments[c]);if(d.length>40)d=d.substr(0,40)+"...";b+=d}b+=")\n";b+=w_e(a.caller);return b}catch(e){return"[Cannot get stack trace]: "+e+"\n"}}var w_da,w_g=null,w_h=false;function w_ea(){if((w_g==null||w_g.closed)&&!w_h)try{w_h=true;w_g=window.open("","debug","width=700,height=500,toolbar=no,resizable=yes,scrollbars=yes,left=16,top=16,screenx=16,screeny=16");w_g.blur();w_g.document.open();w_h=
false;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_i(a)}catch(b){}}function w_aa(a,b){if(!w_a){if(typeof w_j!="undefined")w_j(w_k(a));return}try{var c=(new Date).getTime()-w_da,d="["+c+"] "+w_k(a).replace(/\n/g,"<br>")+"<br>";if(b==1){d="<font color=#ff0000><b>Error: "+d+"</b></font>";w_g.focus()}}catch(e){}w_i(d)}function w_i(a){if(!w_a)return;try{w_ea();w_g.document.write(a);w_g.scrollTo(0,1000000)}catch(b){}}
;function w_f(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_d(){return w_f("msie")&&!window.opera}function w_fa(a){if(typeof Error!="undefined")throw new Error(a||"Assertion Failed");else throw a;}function w_ga(a){a=a||"Assertion failed";if(typeof w_b!="undefined")w_b(a+"\n");w_fa(a)}function w_m(a,b){if(!a){b=b||"Assertion failed";w_ga(b)}}function w_n(a,b){a.style.display=b?"":"none"}function w_ha(a,b){a.style.display=b?"block":
"none"}function w_ia(a,b){a.style.display=b?"inline":"none"}function w_o(a,b){if(a==null||a.className==null)return false;if(a.className==b)return true;var c=a.className.split(" ");for(var d=0;d<c.length;d++)if(c[d]==b)return true;return false}function w_p(a,b){if(w_o(a,b))return;a.className+=" "+b}function w_q(a,b){if(a.className==null)return;if(a.className==b){a.className="";return}var c=a.className.split(" "),d=[],e=false;for(var f=0;f<c.length;f++)if(c[f]!=b){if(c[f])d.push(c[f])}else e=true;if(e)a.className=
d.join(" ")}function w_r(a,b){var c=[];for(var d=a.firstChild;d;d=d.nextSibling)w_s(d,b,c);return c}function w_s(a,b,c){if(b.select(a))c.push(a);for(var d=a.firstChild;d;d=d.nextSibling)w_s(d,b,c)}var w_ja=/&/g,w_ka=/</g,w_la=/>/g;function w_k(a){if(!a)return"";return a.replace(w_ja,"&amp;").replace(w_ka,"&lt;").replace(w_la,"&gt;").replace(w_ma,"&quot;")}var w_ma=/\"/g;function w_na(a){return document.getElementById(a)}function w_oa(a){return document.all[a]}var w_pa=document.getElementById?w_na:
w_oa;function w_j(a){try{if(window.parent!=window&&window.parent.log){window.parent.log(window.name+"::"+a);return}}catch(b){}var c=w_pa("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_t(){}w_t.raise=function(a){if(typeof Error!="undefined")throw new Error(a||"Assertion Failed");else throw a;};w_t.fail=function(a){a=a||"Assertion failed";if(!(typeof w_b=="undefined"))w_b(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)return;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_qa(){var a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];if(typeof XMLHttpRequest=="undefined"&&typeof ActiveXObject!="undefined"){for(var b=0;b<a.length;b++){var c=a[b];try{new ActiveXObject(c);w_u=c;break}catch(d){}}if(!w_u)throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed.");}}w_qa();function w_ra(){if(w_u)return new ActiveXObject(w_u);else return new XMLHttpRequest}function w_sa(a,b,c,d){a.open("POST",
b,true);a.onreadystatechange=d;a.setRequestHeader("Content-Type","application/x-www-form-urlencoded");a.setRequestHeader("Content-Length",c.length);w_ta(a,c)}function w_ta(a,b){try{a.send(b)}catch(c){w_j("XMLHttpSend failed "+c.toString()+"<br>"+c.stack);throw c;}};var w_ua=0,w_v=0;if("undefined"==typeof w_j)w_j=function(){};function w_va(a){var b=-1;try{b=a.status}catch(c){}return b}function w_wa(a){var b=null;try{b=a.statusText}catch(c){}return b}function w_xa(a,b,c,d){if(a.readyState==4)try{var e=true;if(d)try{e=!(false===d(a))}catch(f){w_j("Message ("+b+") handling failed: "+f);throw f;}var g=w_va(a);if(200===g){w_j("Message ("+b+") received after "+((new Date).getTime()-c)+" ms");try{var h=(new Date).getTime();if(e&&a.responseText.length)eval(a.responseText);
w_j("Message ("+b+") processing took "+((new Date).getTime()-h)+" ms")}catch(f){w_j("Message ("+b+") processing failed: "+f);alert(f+"\n"+f.stack+"\n\n"+a.responseText);throw f;}}else if(204==g)w_j("Message ("+b+") received after "+((new Date).getTime()-c)+" ms");else w_j("Message ("+b+") failed with response "+g+" "+w_wa(a)+" after "+((new Date).getTime()-c)+" ms.")}finally{--w_v}}function w_ya(a,b,c){var d="";if(b){var e="";for(var f=0;f<b.length;){var g=b[f++],h=b[f++];d+=e+encodeURIComponent(g);
e="&";if(null!==h&&undefined!==h)d+="="+encodeURIComponent(h.toString())}}var i=++w_ua,j=w_ra(),k=(new Date).getTime(),l=function(){w_xa(j,i,k,c)},m=a;for(var n=m.length+1;(n=m.lastIndexOf("&",n-1))>=0;)m=m.substring(0,n)+"&amp;"+m.substring(n+1);w_j("Message ("+i+") sent: POST <tt>"+m+"</tt>.");++w_v;w_sa(j,a,d,l)};var w_za=this;if(!Function.prototype.apply)Function.prototype.apply=function(a,b){var c=[],d,e;if(!a)a=w_za;var f=b||[];for(var g=0;g<f.length;g++)c[g]="args["+g+"]";e="oScope.__applyTemp__.peek()("+c.join(",")+");";if(!a.__applyTemp__)a.__applyTemp__=[];a.__applyTemp__.push(this);d=eval(e);a.__applyTemp__.pop();return d};if(!Array.prototype.push)Array.prototype.push=function(){for(var a=0;a<arguments.length;a++)this[this.length]=arguments[a];return this.length};if(!Array.prototype.pop)Array.prototype.pop=
function(){if(!this.length)return;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)return;var a=this[0];for(var b=0;b<this.length-1;b++)this[b]=this[b+1];this.length--;return a};if(!Array.prototype.unshift)Array.prototype.unshift=function(){var a=arguments.length;for(var b=this.length-1;b>=0;b--)this[b+a]=this[b];for(var c=0;c<a;c++)this[c]=arguments[c];return this.length};
if(!Array.prototype.forEach)Array.prototype.forEach=function(a,b){for(var c=0;c<this.length;c++)a.call(b,this[c],c,this)};function w_w(a,b){var c=a.xc||[];c=c.concat(Array.prototype.slice.call(arguments,2));if(typeof a.Vb!="undefined")b=a.Vb;if(typeof a.Ub!="undefined")a=a.Ub;var d=function(){var e=c.concat(Array.prototype.slice.call(arguments));return a.apply(b,e)};d.xc=c;d.Vb=b;d.Ub=a;return d}Function.prototype.bind=function(a){return w_w.apply(null,[this,a].concat(Array.prototype.slice.call(arguments,
1)))};Function.prototype.inherits=function(a){var b=function(){};b.prototype=a.prototype;this.Nc=a.prototype;this.prototype=new b};function w_x(a,b,c,d,e,f){this.instanceId=a;this.sectionId=b;this.markups=c;if(d)this.rootElement=d;if(e)this.data=e;if(f){this.w=f;if(!w_x.IsValidDisplayMode(f))throw"bad display mode: "+f;}else this.w=w_x.DISPLAY_MODE_NONE;this.isNew=false}w_x.IsValidDisplayMode=function(a){return a==w_x.DISPLAY_MODE_SNIPPET||a==w_x.DISPLAY_MODE_FULL||a==w_x.DISPLAY_MODE_LAYOUT||a==w_x.DISPLAY_MODE_NONE};w_x.DISPLAY_MODE_FULL="displayModeFull";w_x.DISPLAY_MODE_SNIPPET="displayModeSnippet";w_x.DISPLAY_MODE_LAYOUT=
"displayModeLayout";w_x.DISPLAY_MODE_NONE="displayModeNone";function w_y(a){this.zc=true;this.$a=new w_z(this);this.e=a;this.F=null}w_y.DATA_NAMESPACE_PREFIX="data";w_y.ACTION_NAMESPACE_PREFIX="b";w_y.INTERPRET_ATTR_NAMESPACE_PREFIX="expr";w_y.prototype.eb=function(){var a=this.e.rootElement;a.innerHTML="";if(this.N()==w_x.DISPLAY_MODE_LAYOUT)a.appendChild(this.X("layout"));else a.appendChild(this.X("main"));return a};w_y.prototype.Kb=function(a){this.F=a};w_y.prototype.k=function(){return this.e};
w_y.prototype.r=function(a){return document.getElementById(this.e.instanceId+"_"+a)};w_y.prototype.z=function(a){var b=this.r(a);if(!b)throw"did not find element for id "+a;return b};w_y.prototype.i=function(){return this.e.data};w_y.prototype.ya=function(a){return this.e.data=a};w_y.prototype.wb=function(){return this.e.isNew};w_y.prototype.Jb=function(a){return this.e.isNew=a};w_y.prototype.X=function(a,b){var c=b;if(!c)c=this.i();if(!c)c={};var d=new w_A;d.M("widget",this.lb());d.ab(c);var e=this.na(a,
d,w_A.DEFAULT_DICTIONARY_KEY);return this.ma(e,document)};w_y.prototype.lb=function(){var a={};a.type=this.F.d();a.instanceId=this.e.instanceId;a.sectionId=this.e.sectionId;a.actionUrl=w_.Ga;var b=w_.Wb+"&widgetType="+this.F.d()+"&widgetId="+this.e.instanceId+"&action="+w_.EDIT_WIDGET_ACTION;a.quickEditUrl=b;return a};w_y.prototype.na=function(a,b,c){var d=this.qb(a);w_t.isTrue(d!=null,"Markup chunk not found for "+a);var e=d.varName?d.varName:"",f=b.i(c);w_t.isTrue(f!=null,"No data found for call: "+
c);b.M(e,f);var g=this.P(d.rootNode,b);b.va(e);return g};w_y.prototype.P=function(a,b){w_t.isTrue(a!=null,"Null node");var c=a;if(a.attributes){var d=[],e=[];for(var f=0;f<a.attributes.length;f++){var g=a.attributes.item(f),h=this.Ab(g,b);if(g!=h){e[e.length]=g.nodeName;d[d.length]=h}}for(var f=0;f<e.length;f++)a.attributes.removeNamedItem(e[f]);for(var f=0;f<d.length;f++)a.attributes.setNamedItem(d[f])}if(a.nodeType==1)if(a.prefix==w_y.ACTION_NAMESPACE_PREFIX)c=this.ub(a,b);else if(a.prefix==w_y.DATA_NAMESPACE_PREFIX)c=
this.tb(a,b);if(a.hasChildNodes()){var i=a.ownerDocument.createDocumentFragment();while(a.hasChildNodes()){var j=a.firstChild,k=this.P(j,b);i.appendChild(k);if(j!=k)a.removeChild(j)}c.appendChild(i)}return c};w_y.prototype.Ab=function(a,b){if(a.prefix==w_y.INTERPRET_ATTR_NAMESPACE_PREFIX){var c=a.ownerDocument.createAttribute(a.localName||a.baseName),d=this.$a.ia(a.nodeValue,b);c.nodeValue=d;return c}return a};w_y.prototype.ub=function(a,b){var c=a.localName||a.baseName,d=this.xa(c,a,b);return this.Qb(d)};
w_y.prototype.Qb=function(a){var b=a;if(!a)return document.createDocumentFragment();if(!a.nodeType)b=document.createTextNode(a);if(b.nodeType==3){var c=document.createDocumentFragment();c.appendChild(b);b=c}return b};w_y.prototype.U=function(a,b){var c=this.Q(a);return b.i(c[1])};w_y.prototype.tb=function(a,b){w_t.isTrue(a!=null,"Null element");w_t.isTrue(b!=null,"Null data");if(a.prefix!=w_y.DATA_NAMESPACE_PREFIX)return a;var c=this.U(a.tagName,b),d=""+(c==null?"":c),e=document.createElement("DIV");
e.innerHTML=d;var f=this.O(e);return this.ma(f,a.ownerDocument,true)};w_y.prototype.Q=function(a){var b=a.split(":",2);if(b.length==1)b.unshift("");b[0]=b[0].toLowerCase();return b};w_y.prototype.xa=function(a,b,c){var d="_WidgetBinding_"+a;if(this.$a[d])return this.$a[d](b,c);if(this.F[d])return this.F[d](b,c);w_t.isTrue(false,"could not find binding "+a);return null};w_y.prototype.zb=function(a){if(a==null)return null;var b;if(window.ActiveXObject){b=new ActiveXObject("Microsoft.XMLDOM");b.async=
"false";if(!b.loadXML(a))throw new Error(b.parseError);}else if(window.DOMParser){var c=new DOMParser;b=c.parseFromString(a,"text/xml");if(b.documentElement.nodeName=="parsererror")throw new Error(b.documentElement.textContent);}else w_t.raise("Unable to find XML parser");return b.documentElement};w_y.prototype.O=function(a){var b=a.ownerDocument.createDocumentFragment();while(a.hasChildNodes())b.appendChild(a.firstChild);return b};w_y.prototype.ma=function(a,b,c){w_t.isTrue(a!=null);if(b.importNode)if(a.nodeType==
11){var d=b.createDocumentFragment();for(var e=a.firstChild;e!=null;e=e.nextSibling)d.appendChild(b.importNode(e,true));return d}else return b.importNode(a,true);if(!c){var f=b.createElement("DIV"),g=a.innerHTML||a.xml;f.innerHTML=g;return this.O(f)}var h=function(i){var j;if(i.nodeType==1){if(i.nodeName=="SCRIPT")return document.createTextNode("");j=b.createElement(i.nodeName);if(i.style)j.setAttribute("style",i.style.cssText);if(i.currentStyle.height)j.setAttribute("height",i.currentStyle.height);
if(i.currentStyle.width)j.setAttribute("width",i.currentStyle.width);for(var k=0;k<i.attributes.length;k++){var l=i.attributes[k];if(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_t.raise("unexpected node type "+i.nodeType);if(i.hasChildNodes())for(var k=0;k<i.childNodes.length;k++)j.appendChild(h(i.childNodes[k]));return j};return h(a)};w_y.prototype.v=
function(a,b){var c=this.F,d=function(e){if(c.ActionCallback)return c.ActionCallback(e);else return true};w_.v(a,b,this.e.instanceId,this.F.d(),d)};w_y.prototype.N=function(){return this.e.w};w_y.prototype.qb=function(a){if(!a)return null;var b=w_.Za[a];if(!b)b=this.e.markups[a];if(!b)return null;if(!b.parsedTemplate||!b.parsedTemplate.ownerDocument)this.yb(b);if(!b.parsedTemplate)w_t.raise("Parsing failed for "+a);b.rootNode=b.parsedTemplate.cloneNode(true);return b};w_y.prototype.yb=function(a){if(!a)return null;
var b="<?xml version='1.0'?><markuproot xmlns:"+w_y.DATA_NAMESPACE_PREFIX+"='urn:ns1'  xmlns:"+w_y.ACTION_NAMESPACE_PREFIX+"='urn:ns2' xmlns:"+w_y.INTERPRET_ATTR_NAMESPACE_PREFIX+"='urn:ns3'  xmlns='http://www.w3.org/1999/xhtml'>"+a.template+"</markuproot>\n",c=this.zb(b);a.parsedTemplate=this.O(c);return a};w_y.ConfigureWidget=function(a,b){if(!b)b="config";var c=document.forms[b].widgetId.value,d=document.forms[b].widgetType.value,e=w_B.ProcessForm(document.forms[b],a);if(e.success)w_.SaveWidget(e.values,
c,d)};function w_(){}w_.Init=function(a,b,c){w_.L={};w_.Wb=a;w_.Ga=b;w_.Mc=c;w_.$b=null;if(!w_.Za)w_.Za={}};w_.TrapClicks=function(a){var b=w_.CreateTransparentClickTrappingDiv(a.document);document.body.appendChild(b)};w_._SetupPreview=function(){w_.TrapClicks(window)};w_.NEW_WIDGET_WINDOW_NAME="chooseWidget";w_.CHOOSE_WIDGET_ACTION="chooseWidget";w_.EDIT_WIDGET_ACTION="editWidget";w_.GetCallbackUrl=function(){return w_.Ga};w_.SetPageActionUrl=function(a,b){w_.Sa=a;w_.Ec=b};w_.GetPageActionUrl=function(){return w_.Sa};
w_.SetWidgetRefreshUrl=function(a){w_.Jc=a};w_.GetWidgetRefreshUrl=function(){return w_.Jc};w_._SetDataContext=function(a){w_.$b=a};w_._SetSystemMarkup=function(a){w_.Za=a};w_._RegisterWidget=function(a,b,c){var d=new w_y(b);if(!c)c=window[a];var e=new c(d);d.Kb(e);w_.L[b.instanceId]=e;w_.DisplayWidget(e);return e};w_._RegisterNewWidget=function(a,b,c){var d=w_._RegisterWidget(a,b,c),e=d.b();e.Jb(true);return d};w_.DisplayWidget=function(a,b){var c=a.b();if(c.N()==w_x.DISPLAY_MODE_NONE)return;if(b||
a.f&&a.f())c.eb();if(c.N()==w_x.DISPLAY_MODE_FULL)if(a.j)a.j();a.b().zc=false};w_.GetWidget=function(a){if(w_.L)return w_.L[a];return null};w_._PopupPaneFromParams=function(a,b,c,d,e){var f="";if(d)f="&widgetId="+d;var g=w_.Wb+"&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_._PopupConfig=function(a){var b=a.getAttribute("id"),
c=w_.GetWidget(b);if(c){var d=c.b().configWin;if(d!=null&&!d.closed){d.focus();return false}}var e="config"+b,f=w_._PopupPaneFromParams(w_.EDIT_WIDGET_ACTION,a.parentNode.getAttribute("id"),a.getAttribute("widgetType"),b,e);if(c)c.b().configWin=f;return false};w_._PopupToolbox=function(a){w_._PopupPaneFromParams(w_.CHOOSE_WIDGET_ACTION,a.parentNode.getAttribute("id"),a.getAttribute("widgetType"),a.getAttribute("id"),w_.NEW_WIDGET_WINDOW_NAME);return false};w_.DeleteWidgetFromPage=function(a,b){w_.o(b,
b.LayoutsMessages.DELETING,w_.STATUS_MESSAGE_PENDING_CLASS);w_.RunPageAction("delete",{},a,b)};w_y.prototype.Ib=function(a,b){w_.o(b,b.LayoutsMessages.SAVING,w_.STATUS_MESSAGE_PENDING_CLASS);this.v("configure",a)};w_.SaveNewWidget=function(a,b,c){var d=document.getElementById("sectionId").value;a.sectionid=d;w_.o(c,c.LayoutsMessages.SAVING,w_.STATUS_MESSAGE_PENDING_CLASS);w_.RunPageAction("addnew",a,"",b)};w_.SaveWidget=function(a,b,c){w_m(c!=null,"no type");var d=_WidgetManager._GetWidget(b);w_m(d!=
null,"no widget for "+b);if(d.b().wb())w_.SaveNewWidget(a,c,window);else d.a.Ib(a,window)};w_._RunInitialAction=function(a){var b=w_._GetWidget(a);if(b)b.b().v("initial")};w_.v=function(a,b,c,d,e){w_.RunAction(w_.Ga,a,b,c,d,e)};w_.RunPageAction=function(a,b,c,d,e){if(!w_.Sa){w_j("RunPageAction error: pageActionUrl_ is undefined.  widgetid: "+c+" action: "+a);return}b.pageToken=w_.Ec;w_.RunAction(w_.Sa,a,b,c,d,e)};w_.RunAction=function(a,b,c,d,e,f){var g=["action",b,"widgetId",d,"widgetType",e,"responseType",
"js"];for(var h in c)if(typeof c[h]=="object")for(var i=0;i<c[h].length;++i){g[g.length]=h;g[g.length]=c[h][i]}else{g[g.length]=h;g[g.length]=c[h]}w_ya(a,g,new w_Aa(f))};w_.SetConfigWin=function(a,b){if(!a)return;var c=w_.GetWidget(a);if(!c)return;c.b().configWin=b};w_.CloseIfNoPendingMessages=function(a,b){if(w_v==0)window.setTimeout(function(){a.close()},b);else window.setTimeout(function(){w_.CloseIfNoPendingMessages(a,b)},200)};w_._KillPopupDelay=function(a,b){if(!a)return;w_.CloseIfNoPendingMessages(a,
100);w_.UpdateEditorStatus(a,b)};w_.UpdateEditorStatus=function(a,b){if(!a)return;var c=a.document.getElementById("status-message-inner");if(c)c=c.innerHTML;if(c)if(a&&a.opener.parent&&a.opener.parent.editor)a.opener.parent.editor._SetSaveMessage(c,b)};w_.c=function(a,b,c){var d=w_.L[a];if(c.errors!=null){var e=d?d.b().configWin:null;if(!e)e=window;w_.o(e,c.errors,w_.STATUS_MESSAGE_BAD_CLASS);if(d&&d.A)d.A(b,c);else w_.A(c,e);return}w_m(d!=null,"no widget for "+a);if(b=="initial"){d.b().ya(c);w_.DisplayWidget(d,
true);return}d.c(b,c)};w_.A=function(a,b){var c=a["error-details"];for(var d in c)w_B.SetError(d,c[d],b.document)};w_y.prototype.h=function(a){w_.o(this.configWin,a["status-message"],w_.STATUS_MESSAGE_GOOD_CLASS);w_.FinishPopupWork(this.e.instanceId,"_OnWidgetConfigured",function(b){window.opener._WidgetManager._OnWidgetConfigured(b,a)})};w_._OnWidgetConfigured=function(a,b){if(window.parent&&window.parent.editor&&b)w_.OnWidgetConfiguredWithData(a,b);else w_._RunInitialAction(a)};w_.OnWidgetConfiguredWithData=
function(a,b){var c=w_._GetWidget(a);c.b().ya(b.data);w_.DisplayWidget(c,true);c.b().configWin=null};w_.HandlePageActionResult=function(a,b,c){var d=c["status-message"];if(c.errors!=null){w_.o(window,c.errors,w_.STATUS_MESSAGE_BAD_CLASS);w_.A(c,window);return}if(b=="addnew"){var e;if(w_.IsOpenerReachable(window)){if(window.opener&&window.opener.parent)e=window.opener.parent;if(e&&e.editor)e.editor._HandleAddNewWidget(c)}w_.o(window,d,w_.STATUS_MESSAGE_GOOD_CLASS);if(window.opener==null)window.location=
"/rearrange?blogID="+c.blogID;else if(e&&e._WidgetManager)e._WidgetManager._KillPopupDelay(window);else w_.CloseIfNoPendingMessages(window,100);return}var f=w_.L[a];w_m(f!=null);if(b=="delete"){w_.o(f.b().configWin,d,w_.STATUS_MESSAGE_GOOD_CLASS);w_.FinishPopupWork(a,"_OnWidgetDeleted")}};w_._OnWidgetDeleted=function(a){var b=w_.GetWidget(a);if(!b)return;if(b.b().N()==w_x.DISPLAY_MODE_LAYOUT)top.editor._HandleDeleteWidget(b.b().e.rootElement);else{var c=b.b().e.rootElement;c.parentNode.removeChild(c)}delete w_.L[a]};
w_.FinishPopupWork=function(a,b,c){if(w_.IsOpenerReachable(window)){var d=window.opener;if(!c)c=d._WidgetManager[b];c(a);if(d._WidgetManager)d._WidgetManager._KillPopupDelay(window,a);else w_.CloseIfNoPendingMessages(window,100)}else{var e=w_.GetWidgetRefreshUrl()+"?widgetId="+a;e+="&func="+encodeURIComponent(b);window.location.replace(e)}};w_.IsOpenerReachable=function(a){var b=false;try{if(a.opener){var c="X"+a.opener.document.domain;if(c&&c!="X")b=true}}catch(d){}return b};w_.STATUS_MESSAGE_GOOD_CLASS=
"status-msg status-msg-yellow-on-white";w_.STATUS_MESSAGE_PENDING_CLASS=w_.STATUS_MESSAGE_GOOD_CLASS;w_.STATUS_MESSAGE_BAD_CLASS=w_.STATUS_MESSAGE_GOOD_CLASS;w_.o=function(a,b,c){if(!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_.MaybePrependHttp=function(a){if(a&&a.length>0&&a.substring(0,4)!="http")a="http://"+a;return a};w_.GetFirstElementInElementWithClass=function(a,b){if(w_o(a,b))return a;
if(a){var c=a.childNodes.length;for(var d=0;d<c;d++){var e=w_.GetFirstElementInElementWithClass(a.childNodes.item(d),b);if(e)return e}}return null};w_.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_.pa;b.onmousedown=w_.pa;b.onmouseup=w_.pa;b.style.background="white";b.style.filter="alpha(opacity=1)";
b.style.opacity=".01";b.innerHTML="&nbsp;";return b};w_.pa=function(a){var b=a;if(!b)b=window.event;if(b){b.cancelBubble=true;if(b.stopPropagation)b.stopPropagation()}return false};function w_z(a){this.s=a}w_z.prototype._WidgetBinding_include=function(a,b){var c=a.getAttribute("name"),d=a.getAttribute("data");return this.s.na(c,b,d)};w_z.prototype._WidgetBinding_call=w_z.prototype._WidgetBinding_include;w_z.prototype._WidgetBinding_loop=function(a,b){var c=a.getAttribute("values"),d=this.s.Q(c),e=
this.s.U(d[1],b),f=a.getAttribute("var");if(!f)w_t.raise("Invalid var= attribute on b:loop");var g=this.s.O(a),h=a.ownerDocument.createDocumentFragment();if(!e)return h;for(var i=0;i<e.length;i++){var j=e[i],k=g.cloneNode(true);b.M(f,j);var l=this.s.P(k,b);b.va(f);h.appendChild(l)}return h};w_z.prototype._WidgetBinding_if=function(a,b){var c=this.ia(a.getAttribute("cond"),b),d=a.ownerDocument.createDocumentFragment(),e=false;while(a.firstChild!=null){var f=a.firstChild;if("else"==this.s.Q(f.nodeName)[1].toLowerCase())e=
true;else if(c&&!e||!c&&e){var g=this.s.P(f,b);d.appendChild(g)}if(f.parentNode==a)a.removeChild(f)}return d};w_z.prototype.ia=function(a,b){w_t.isTrue(a!=null,"null expression");var c=this.Lb(a,b);try{var d=eval(c);return d}catch(e){w_j("expression=["+a+"] error="+e+" eval=["+c+"]")}return""};w_z.prototype.Lb=function(a,b){var c=new RegExp("\\b(?:"+w_y.DATA_NAMESPACE_PREFIX+"|"+w_y.ACTION_NAMESPACE_PREFIX+"):[^ ]*\\b","gi"),d="",e=0,f=c.exec(a);while(f){var g=f[0];if(!this.vb(a,c.lastIndex)){var h,
i=this.s.Q(g);if(i[0]==w_y.ACTION_NAMESPACE_PREFIX)h=this.s.xa(i[1],null,b);else if(i[0]==w_y.DATA_NAMESPACE_PREFIX){h=this.s.U(g,b);if(!h)h="";h=h+""}else w_t.raise("Unrecognized prefix '"+i[0]+"'");h=h.replace(/"/g,"&quot;");h='"'+h+'"';d+=a.substring(e,f.index);d+=h;e=c.lastIndex}f=c.exec(a)}d+=a.substring(e,a.length);return d};w_z.prototype.vb=function(a,b){w_t.isTrue(b<=a.length,"Invalid index: i="+b+", l="+a.length);var c=0;for(var d=0;d<b;d++)if(a.charAt(d)=='"'&&(d==0||a.charAt(d-1)!="\\"))c++;
return c%2!=0};function w_B(){}w_B.ERROR_MSG_ACTIVE_CLASS="errorbox-bad errormsg";w_B.ERROR_MSG_INACTIVE_CLASS="errorbox-good";w_B.ProcessForm=function(a,b){var c={};c.success=true;c.values={};c.errors={};for(var d in b){var e=w_B.GetFieldValue(a[d]),f=b[d];w_B.ClearError(d);if(f){var g=f(e);if(g){w_B.SetError(d,g);c.success=false;c.errors[d]=g}}c.values[d]=e}return c};w_B.GetFieldValue=function(a){if(!a)return undefined;if(a.type=="checkbox"){if(a.checked)return a.value;return undefined}if(a.type==
null){var b=[];for(var c=0;c<a.length;c++)if(a[c].checked)b[b.length]=a[c].value;switch(b.length){case 0:return undefined;case 1:return b[0];default:return b}}return a.value};w_B.pb=function(a,b){if(!b)b=document;var c="errormessage_"+a;return b.getElementById(c)};w_B.ClearError=function(a){var b=w_B.pb(a);if(b){b.innerHTML="";b.className=w_B.ERROR_MSG_INACTIVE_CLASS}};w_B.SetError=function(a,b,c){var d=w_B.pb(a,c);if(d){d.innerHTML=b;d.className=w_B.ERROR_MSG_ACTIVE_CLASS}};w_B.GetRequiredStringFilter=
function(){return function(a){a=a.replace(/^\s+/,"").replace(/\s+$/,"");if(a.length==0)return LayoutsMessages.FIELD_CANNOT_BE_BLANK;return undefined}};w_B.GetNumberFilter=function(a,b){return function(c){var d=parseInt(c,10);if(isNaN(d))return LayoutsMessages.MUST_SPECIFY_A_NUMBER;if(d<a)return LayoutsMessages.NUMBER_TOO_SMALL+" "+a;if(d>b)return LayoutsMessages.NUMBER_TOO_LARGE+" "+b;return undefined}};function w_A(){this.p=[];for(var a in w_.$b)this.p[this.p.length]=a}w_A.DEFAULT_DICTIONARY_KEY=
"";w_A.MAX_DICTIONARY_DEPTH=50;w_A.SEPARATOR_CHAR=".";w_A.prototype.M=function(a,b){if(this.p.length>=w_A.MAX_DICTIONARY_DEPTH)w_t.raise("Cannot add another dictionary: "+a);if(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.p[this.p.length]=c};w_A.prototype.va=function(a){var b=this.p[this.p.length-1];if(b.name!=a)w_t.raise("Dictionary "+a+" is not the last one, and can't be deleted: "+b.name);this.p.splice(this.p.length-
1,1)};w_A.prototype.V=function(a){if(a==null)a=w_A.DEFAULT_DICTIONARY_KEY;for(var b=this.p.length-1;b>=0;--b)if(this.p[b].name==a)return this.p[b].data;return null};w_A.prototype.ka=function(){return this.V(w_A.DEFAULT_DICTIONARY_KEY)};w_A.prototype.ab=function(a){this.M(w_A.DEFAULT_DICTIONARY_KEY,a)};w_A.prototype.i=function(a){var b=this.V(a);if(b)return b;var c=a.split(w_A.SEPARATOR_CHAR);if(c.length==1){b=this.ka();return b[a]}b=this.V(c[0]);var d=0;if(b)d=1;else b=this.ka();for(var e=d;e<c.length;e++){if(b==
null)return null;b=b[c[e]]}return b};function w_Ba(){}w_Ba.prototype.c=function(){throw new Error("Unimplemented");};var _WidgetManager=w_;_WidgetManager.prototype=w_.prototype;_WidgetManager._Init=_WidgetManager.Init;_WidgetManager._SetPageActionUrl=_WidgetManager.SetPageActionUrl;_WidgetManager._GetPageActionUrl=_WidgetManager.GetPageActionUrl;_WidgetManager._SetWidgetRefreshUrl=_WidgetManager.SetWidgetRefreshUrl;_WidgetManager._GetWidgetRefreshUrl=_WidgetManager.GetWidgetRefreshUrl;_WidgetManager._GetCallbackUrl=
_WidgetManager.GetCallbackUrl;_WidgetManager._DeleteWidgetFromPage=_WidgetManager.DeleteWidgetFromPage;_WidgetManager._DisplayWidget=_WidgetManager.DisplayWidget;_WidgetManager._GetWidget=_WidgetManager.GetWidget;_WidgetManager._HandleControllerResult=_WidgetManager.c;_WidgetManager._HandlePageActionResult=_WidgetManager.HandlePageActionResult;_WidgetManager._IsOpenerReachable=_WidgetManager.IsOpenerReachable;_WidgetManager._SetConfigWin=_WidgetManager.SetConfigWin;var _WidgetInfo=w_x;_WidgetInfo.prototype=
w_x.prototype;function w_C(a){this.Lc=false;this.fa=a;this.aa=window.document}w_C.DISABLED_BUTTON_CLASS="disabled-button";w_C.HIDDEN_MESSAGE_CLASS="status-msg-hidden";w_C.prototype.ga=function(){this.aa.getElementById(this.fa+"-inner").innerHTML="&nbsp;";w_p(this.aa.getElementById(this.fa),w_C.HIDDEN_MESSAGE_CLASS)};w_C.prototype.o=function(a){this.aa.getElementById(this.fa+"-inner").innerHTML=a;w_q(this.aa.getElementById(this.fa),w_C.HIDDEN_MESSAGE_CLASS)};function w_Aa(a){return function(b){var c=w_va(b);if(c>=500){if(b.responseText.length)document.body.innerHTML=b.responseText;else alert(LayoutsMessages.SERVER_ERROR);return false}if(a)return a(b);else return true}};function w_D(a){this.a=a}w_D.WIDGET_TYPE_NAME="AdSense";w_D.prototype.d=function(){return w_D.WIDGET_TYPE_NAME};w_D.prototype.b=function(){return this.a};w_D.prototype.c=function(a,b){this.a.h(b)};var _AdSenseView=w_D;function w_E(a){this.a=a;this.e=a.k()}w_E.WIDGET_TYPE_NAME="BlogArchive";w_E.POST_LIST_CLASS="posts";w_E.INTERVAL_EXPANDED_VALUE="expanded";w_E.INTERVAL_COLLAPSED_VALUE="collapsed";w_E.LOADING_MSG="loading...";w_E.POST_COUNT_CLASS="post-count";w_E.POST_COUNT_LINK_CLASS="post-count-link";w_E.MENU_ROOT_ID="ArchiveMenu";w_E.TOGGLE_OPEN_CLASS="toggle-open";w_E.yc="&#9660;&nbsp;";w_E.Xb="&#9658;&nbsp;";w_E.prototype.d=function(){return w_E.WIDGET_TYPE_NAME};w_E.prototype.b=function(){return this.a};w_E.prototype.f=
function(){return false};w_E.prototype.c=function(a,b){if(a=="configure")this.a.h(b);else if(a=="getTitles")this.Pb(b);else{this.widgetInfo.data=b;w_.DisplayWidget(this)}};w_E.prototype.j=function(){var a={};a.select=function(i){return i&&w_o(i,"toggle")};var b=this.a.r("ArchiveList");if(!b)return;var c=w_r(this.e.rootElement,a),d;if(c.length>0&&c[0].currentStyle)d=c[0].parentNode.currentStyle.color;for(var e=0;e<c.length;e++){var f=c[e];f.onclick=this.Mb.bind(this);if(d)f.style.color=d}var g=this.a.r(w_E.MENU_ROOT_ID);
if(g){for(var e=1;e<g.options.length;e++){var h=g.options[e].value;if(h==window.location.href||window.location.href.match(h)!=null){g.selectedIndex=e;break}}g.onchange=this.rb.bind(this)}if(this.b().i().languageDirection=="rtl")w_E.Xb="&#9668;&nbsp;"};w_E.prototype.rb=function(){var a=this.a.r(w_E.MENU_ROOT_ID);if(!a)return;if(a.value=="")return;window.location.href=a.value};w_E.prototype.Mb=function(a){a=a||window.event;var b=a.currentTarget||a.srcElement;if(b&&!w_o(b,"toggle"))b=b.parentNode;var c=
w_.GetFirstElementInElementWithClass(b,"zippy"),d=b.parentNode;if(w_o(d,w_E.INTERVAL_EXPANDED_VALUE)){w_q(d,w_E.INTERVAL_EXPANDED_VALUE);w_p(d,w_E.INTERVAL_COLLAPSED_VALUE);c.innerHTML=w_E.Xb;w_q(c,w_E.TOGGLE_OPEN_CLASS);return false}else{w_q(d,w_E.INTERVAL_COLLAPSED_VALUE);w_p(d,w_E.INTERVAL_EXPANDED_VALUE);c.innerHTML=w_E.yc;w_p(c,w_E.TOGGLE_OPEN_CLASS)}if(this.xb(d)){var e=this.la(d);if(!e){e=document.createElement("UL");d.appendChild(e);w_p(e,w_E.POST_LIST_CLASS)}e.appendChild(document.createTextNode(w_E.LOADING_MSG));
this.a.v("getTitles",{path:this.nb(d)})}return false};w_E.prototype.la=function(a){return w_.GetFirstElementInElementWithClass(a,w_E.POST_LIST_CLASS)};w_E.prototype.nb=function(a){var b=w_.GetFirstElementInElementWithClass(a,w_E.POST_COUNT_LINK_CLASS);return b.href};w_E.prototype.ob=function(a){var b=w_.GetFirstElementInElementWithClass(a,w_E.POST_COUNT_CLASS);return parseInt(b.innerHTML.match(/\d+/),10)};w_E.prototype.Pb=function(a){var b=a.path,c=this.la(this.mb(b));c.innerHTML="";for(var d=0;d<
a.posts.length;d++){var e=a.posts[d],f=document.createElement("li");f.innerHTML="<a href="+e.url+">"+e.title+"</a>";c.appendChild(f)}};w_E.prototype.mb=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_E.prototype.xb=function(a){var b=a.getElementsByTagName("UL");if(b.length>0&&!w_o(b[0],"posts"))return;var c=this.ob(a),d=a.getElementsByTagName("LI"),e=d.length;return e<c};var _BlogArchiveView=w_E;function w_F(a){this.a=a;this.K=a.k();if(this.K.data)this.jc=this.K.data.showBacklinks}w_F.BACKLINKS_ROOT="backlinks-container";w_F.BACKLINKS_CHUNK="backlinks";w_F.BACKLINK_ITEM_ROOT_CLASS="backlink-control";w_F.BACKLINK_EXPANDED_CLASS="expanded-backlink";w_F.BACKLINK_COLLAPSED_CLASS="collapsed-backlink";w_F.BACKLINK_ZIPPY_CLASS="backlink-toggle-zippy";w_F.WIDGET_TYPE_NAME="Blog";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){if(a=="initial"){this.K.data=b;w_.DisplayWidget(this,true)}else if(a=="nextposts")this.fb(b);else if(a=="configure")this.a.h(b);else if(a=="backlinks")this.Ob(b)};w_F.prototype.fb=function(a){var b=a.renderedData,c=this.K.rootElement;if(!b||!c)return;c.innerHTML=b;window.scroll(0,0);this.j()};w_F.prototype.Ob=function(a){this.jc=false;var b=this.a.X(w_F.BACKLINKS_CHUNK,a),c=this.a.r(w_F.BACKLINKS_ROOT);if(c){c.innerHTML="";c.appendChild(b)}var d=w_r(this.K.rootElement,w_F.Sb);for(var e=0;e<d.length;e++){var f=
d[e];f.onclick=this.Nb.bind(this)}var g=this.a.r("backlinks-create-link");if(g!=null)g.onclick=this.cb.bind(this,g.href)};w_F.Sb={};w_F.Sb.select=function(a){return a&&w_o(a,w_F.BACKLINK_ZIPPY_CLASS)};w_F.prototype.Nb=function(a){a=a||window.event;this.gb(a.srcElement||a.target)};w_F.prototype.gb=function(a){var b=a.parentNode;while(b&&!w_o(b,w_F.BACKLINK_ITEM_ROOT_CLASS))b=b.parentNode;if(!b)return;if(w_o(b,w_F.BACKLINK_EXPANDED_CLASS)){w_q(b,w_F.BACKLINK_EXPANDED_CLASS);w_p(b,w_F.BACKLINK_COLLAPSED_CLASS)}else{w_p(b,
w_F.BACKLINK_EXPANDED_CLASS);w_q(b,w_F.BACKLINK_COLLAPSED_CLASS)}};w_F.prototype.j=function(){var a=this.a.r("blog-pager-newer-link");if(a&&this.oa(a))a.onclick=this.qa.bind(this);var b=this.a.r("blog-pager-older-link");if(b&&this.oa(b))b.onclick=this.qa.bind(this);if(this.jc)this.a.v("backlinks",{postID:this.K.data.postId})};w_F.prototype.oa=function(a){var b=a.href;return b.indexOf("/search?")>-1};w_F.prototype.qa=function(a){a=a||window.event;var b=a.target||a.srcElement;this.a.v("nextposts",{path:b.href});
return false};w_F.prototype.cb=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 false};var _BlogView=w_F;function w_G(a){this.a=a;this.e=a.k()}w_G.WIDGET_TYPE_NAME="BlogList";w_G.prototype.d=function(){return w_G.WIDGET_TYPE_NAME};w_G.prototype.b=function(){return this.a};w_G.prototype.f=function(){return false};w_G.prototype.c=function(a,b){if(a=="configure")this.a.h(b)};var _BlogListView=w_G;_BlogListView._Configure=_BlogListView.Configure;function w_H(a){this.a=a}w_H.WIDGET_TYPE_NAME="CustomSearch";w_H.prototype.d=function(){return w_H.WIDGET_TYPE_NAME};w_H.prototype.b=function(){return this.a};w_H.prototype.f=function(){return false};w_H.prototype.c=function(a,b){if(a=="configure")this.a.h(b)};w_H.prototype.j=function(){if(!window._UDS_bootstrapped){var a;if(window.location.host.match(/blogger\.com$/))a="ABQIAAAAVBJEtyJuLxgUs8KlzeA1lRQpkWYODHKIJGlKH8M-8R98XOejsxRkHYkMWejKfPos1RBuAqHID9wA9Q";else a=this.a.i().key;w_I("http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-vbpe&key="+
a);w_J(w_Ca);window._UDS_bootstrapped=true}var b=document.getElementById("uds-searchControl");if(!b){b=document.createElement("DIV");b.id="uds-searchControl";var c=document.createElement("DIV");c.id="uds-searchResults";b.appendChild(c);var d=document.createElement("DIV");d.id="uds-searchClearResults";d.className="gsc-clear-button";d.innerHTML="&nbsp;";b.appendChild(d);var e=document.getElementById("main");if(!e)e=document.getElementsByTagName("body")[0];e.insertBefore(b,e.firstChild)}var f=this.b();
if(!w_K())w_J(w_Da.bind(f));else window.setTimeout(w_Da.bind(f),0)};function w_Da(){var a=new GSearchControl,b=this.i();if(b.includeBlog){var c=new GblogSearch;c.setUserDefinedLabel(b.thisBlogMsg);c.setSiteRestriction(b.blogUrl);a.addSearcher(c)}if(b.includePostLinks){var d=new GwebSearch;d.setUserDefinedLabel(b.linkedFromHereMsg);d.setSiteRestriction({crefUrl:b.blogUrl+"cse.xml"});a.addSearcher(d)}var e=b.linkLists;for(var f=0;f<e.length;f++){var g=new GwebSearch;g.setSiteRestriction({crefUrl:b.blogUrl+
"cse.xml"},e[f].id.toLowerCase());g.setUserDefinedLabel(e[f].title);a.addSearcher(g)}if(b.includeWeb){var h=new GwebSearch;h.setUserDefinedLabel(b.theWebMsg);a.addSearcher(h)}var i=new GSearchForm(false,this.z("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=null);i.setOnSubmitCallback(null,w_w(w_Ea,null,
a));document.getElementById("uds-searchClearResults").onclick=w_w(w_Fa,null,a);w_L(false)}function w_Ea(a){w_L(true);return a.submit()}function w_Fa(a){a.clearAllResults();w_L(false)}function w_L(a){document.getElementById("uds-searchClearResults").style.display=a?"inline":"none"}var _CustomSearchView=w_H;_CustomSearchView._Configure=_CustomSearchView.Configure;function w_M(a){this.a=a;this.e=a.k()}w_M.WIDGET_TYPE_NAME="Image";w_M.prototype.b=function(){return this.a};w_M.prototype.d=function(){return w_M.WIDGET_TYPE_NAME};w_M.prototype.f=function(){return false};w_M.prototype.j=function(){if(this.e.data.resize!="true")return;var a=this.a.r(this.e.instanceId+"_img"),b=this.e.rootElement;if(!a||!b)return;var c;if(document.defaultView)c=parseInt(document.defaultView.getComputedStyle(b,null).width,10);else if(b.currentStyle){a.style.display="none";c=b.offsetWidth;
a.style.display=""}else return;if(a.width>c){a.height=Math.round(c/a.width*a.height);a.width=c}a.style.visibility="visible"};w_M.prototype.c=function(a,b){if(a=="configure")this.a.h(b)};var _ImageView=w_M;function w_N(a,b,c,d,e,f,g,h){this.n=a;this.Tb=b!="null"?b:null;this.ec=c;this.cc=d;this.dc=e;this.pc=f;this.fc=g;this.Fc=h;this.u=-1;this.B=-1;this.C=null;this.q=document.getElementById(this.n+"_picImg");this.$=document.getElementById(this.n+"_changeImageLink");this.da=document.getElementById(this.n+"_imageChoiceTable");this.ac=document.getElementById(this.n+"_imgSrcFromPCRadio");this.bc=document.getElementById(this.n+"_imgSrcFromWebRadio");this.g=document.getElementById(this.n+"_imgFileNameInput");
this.R=document.getElementById(this.n+"_imgUrlTextInput");this.Rb=window.frames[this.n+"_asynchronousFileUploadIframe"];this.La=0;this.l=new Image;this.l.onload=this.hitch(this,this.mc);this.l.onerror=this.hitch(this,this.lc);this.Yb=false;this.Pa=null;this.m=null;this.H=null;this.Ta=false}w_N.prototype.Oa=function(){return this.ac.checked};w_N.prototype.mc=function(){this.La=0;w_B.ClearError(this.n+"_imgUrlTextError");w_B.ClearError(this.n+"_imgFileNameError");if(!this.Oa()||this.u==0){this.u=this.l.width;
this.B=this.l.height;this.C=this.l.src}var a=1,b=1;if(this.l.width>300)a=300/this.l.width;if(this.l.height>300)b=300/this.l.height;var c=Math.min(a,b);this.q.style.width=Math.round(this.l.width*c)+"px";this.q.style.height=Math.round(this.l.height*c)+"px";this.q.src=this.l.src;this.q.style.display="";this.da.style.display="none";this.$.style.display="";this.g.disabled=true;if(this.ec)this.ec.call({},this.q.src,this.C,this.u,this.B)};w_N.prototype.J=function(a,b,c,d){if(a){w_B.SetError(this.n+"_imgFileNameError",
b);w_B.ClearError(this.n+"_imgUrlTextError")}else{w_B.SetError(this.n+"_imgUrlTextError",b);w_B.ClearError(this.n+"_imgFileNameError")}this.q.style.display="none";this.da.style.display="";this.$.style.display="none";this.g.disabled=false;if(this.cc)this.cc.call({},c,d)};w_N.prototype.lc=function(){if(this.La<2){this.La++;var a=this.l.src;this.l.src="";this.D(a)}else this.J(this.Oa(),WidgetMessages.SIV_INVALID_URL,this.q.src)};w_N.prototype.hitch=function(a,b){return function(){b.apply(a,arguments)}};
w_N.prototype.D=function(a){this.Xa();this.l.src=a};w_N.prototype.Ha=function(a){var b=a||window.event;if(window.event){b.returnValue=false;b.cancelBubble=true}else{b.preventDefault();b.stopPropagation()}this.q.style.display="none";this.$.style.display="none";this.da.style.display="";this.g.disabled=false;this.R.value="";this.Ua();this.Ta=true;if(this.dc)this.dc.call({})};w_N.prototype.Ma=function(){this.ac.checked="true";this.R.value="";this.Xa();this.hc();this.Yb=true;try{this.m.submit()}catch(a){this.J(true,
WidgetMessages.SIV_INVALID_URL,this.m.value)}this.gc()};w_N.prototype.G=function(){var a=this.Rb.document.result;if(!a)this.J(true,WidgetMessages.SIV_INVALID_URL,this.g.value);if(a.hasErrors)if(a.errors.length>0)this.J(true,a.errors[0].message,this.g.value,a.Ac);else this.J(true,WidgetMessages.SIV_INVALID_URL,this.g.value,a.Ac);else{var b=Math.max(a.origWidth,a.origHeight),c=this.Ka();if(this.u!=0&&c!=-1&&b>c){var d=c/b;this.u=Math.round(a.origWidth*d);this.B=Math.round(a.origHeight*d)}else{this.u=
a.origWidth;this.B=a.origHeight}this.C=a.mainSrc;this.D(a.thumbSrc)}};w_N.prototype.Na=function(a){var b=a||window.event;if(b.keyCode==9)return;this.bc.checked="true";if(this.Pa!=null)window.clearTimeout(this.Pa);var c=this.hitch(this,function(){if(this.Ta||this.l.src!=this.R.value.toLowerCase()){this.Ua();this.D(this.R.value.toLowerCase())}this.Ta=false});this.Pa=window.setTimeout(c,1000)};w_N.prototype.Qa=function(a){this.bc.checked=true;this.R.value=a;this.D(a)};w_N.prototype.Xa=function(){this.q.src=
"img/icon_inprogress.gif";this.q.style.width="200px";this.q.style.height="200px";this.q.style.display="";this.da.style.display="none";this.$.style.display="none"};w_N.prototype.hc=function(){if(!this.m){this.m=document.createElement("form");this.m.action="imageUpload.do";this.m.method="POST";this.m.target=this.Rb.name;this.m.encoding="multipart/form-data";this.m.style.display="none";if(this.Tb){var a=document.createElement("input");a.type="hidden";a.name="blogID";a.value=this.Tb;this.m.appendChild(a)}var b=
document.createElement("input");b.type="hidden";b.name="sectionWidth";b.id="sectionWidth";this.m.appendChild(b);var c=document.createElement("input");c.type="hidden";c.name="photoUploadSecurityToken";c.value=this.Fc;this.m.appendChild(c);document.body.appendChild(this.m)}var d=this.Ka();if(d==-1)d=1600;document.getElementById("sectionWidth").value=d;this.H={parent:this.g.parentNode,nextSibling:this.g.nextSibling};this.g.parentNode.removeChild(this.g);this.m.appendChild(this.g)};w_N.prototype.gc=function(){this.m.removeChild(this.g);
if(this.H&&this.H.nextSibling)this.H.parent.insertBefore(this.g,this.H.nextSibling);else this.H.parent.appendChild(this.g)};w_N.prototype.Ua=function(){var a=document.createElement("input");a.type="file";a.name=this.g.name;a.id=this.g.id;a.onchange=this.g.onchange;var b=this.g.nextSibling;if(b==null)this.g.parentNode.appendChild(a);else this.g.parentNode.insertBefore(a,b);this.g.parentNode.removeChild(this.g);this.g=a};w_N.prototype.Ka=function(){if(this.pc==-1&&this.fc)return this.fc();else return this.pc};
function w_O(){this.usiContainers=[]}var w_Ga=new w_O;w_O.prototype.Ia=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.ca=function(a){return this.usiContainers[a]};w_O.prototype.G=function(a){var b=this.ca(a);if(b&&b.Yb)b.G()};var _UploadSimpleImage=w_Ga;w_O.prototype._createUsiContainer=w_O.prototype.Ia;w_O.prototype._getUsiContainer=w_O.prototype.ca;w_O.prototype._channelResultArrived=w_O.prototype.G;w_N.prototype._changeImage=
w_N.prototype.Ha;w_N.prototype._imgUrlFileOnChange=w_N.prototype.Ma;w_N.prototype._imgUrlTextOnKeyUp=w_N.prototype.Na;w_N.prototype._loadInitialUrl=w_N.prototype.Qa;w_N.prototype._loadImageFromUrl=w_N.prototype.D;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=null;var a=document.getElementById("shrinkToFitRow");if(a)a.style.visibility="visible"}function _SIV_getScaledContainerWidth(){if(document.getElementById("checkShrink").checked)return _SIV_getContainerWidth();
else return-1}function _SIV_getContainerWidth(){var a=document.getElementById("sectionId").value,b=150;if(w_.IsOpenerReachable(window)&&window.opener.document.getElementById(a))b=window.opener.document.getElementById(a).clientWidth;return b}function _SIV_setConfigurationOptions(){if(window.singleImageConfig_imageUrl==null){w_.o(window,WidgetMessages.SIV_NO_IMAGE,w_.STATUS_MESSAGE_BAD_CLASS);return}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,securityToken:document.forms.config.securityToken.value};
w_.SaveWidget(g,a,w_M.WIDGET_TYPE_NAME)};function w_P(a){this.a=a;this.e=a.k()}w_P.successfulUploadCallback=function(a,b,c,d){w_P.Gc=a;w_P.C=b;w_P.u=c;w_P.B=d;var e=document.getElementById("shrinkToFitRow");if(e)e.style.visibility="hidden";e=document.getElementById("shrinkToFitMessageRow");if(e)e.style.visibility="hidden"};w_P.resetCallback=function(){w_P.C=null;var a=document.getElementById("shrinkToFitRow");if(a)a.style.visibility="visible";a=document.getElementById("shrinkToFitMessageRow");if(a)a.style.visibility="visible"};w_P.getScaledContainerWidth=
function(){if(document.getElementById("checkShrink").checked)return w_P.getContainerWidth();else return-1};w_P.getContainerWidth=function(){var a=document.getElementById("sectionId").value,b=600;if(w_.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.d=function(){return w_P.WIDGET_TYPE_NAME};w_P.prototype.f=function(){return false};w_P.prototype.b=function(){return this.a};
w_P.prototype.c=function(a,b){this.a.h(b)};w_P.FilterMap={title:w_B.GetRequiredStringFilter(),description:null,imagePlacement:null,useImage:null,securityToken:null};w_P.ConfigureWidget=function(){var a=document.forms.config.widgetId.value,b=document.forms.config.widgetType.value,c=w_B.ProcessForm(document.forms.config,w_P.FilterMap),d=w_P.getContainerWidth();if(c.success){if(w_P.C){var e=w_P.u,f=w_P.B,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.C;c.values.originalWidth=w_P.u;c.values.originalHeight=w_P.B;c.values.displayUrl=w_P.Gc;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_.SaveWidget(c.values,a,b);return true}else return false};w_P.hideImageOptions=function(){document.getElementById("imageOptions").style.display="none";return false};w_P.showImageOptions=function(){document.getElementById("imageOptions").style.display=
"";return false};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.e=a.k();this.Ic=b}w_Q.prototype.b=function(){return this.a};w_Q.prototype.d=function(){return this.Ic};w_Q.prototype.c=function(a,b){if(a=="configure")this.a.h(b)};w_Q.ConfigureWidget=function(a){setFormAndSubmit();var b=document.forms.stuffform.widgetId.value,c=document.forms.stuffform.securityToken.value,d=document.getElementById("textarea"),e=document.getElementById("title"),f=d.value;if(a=="Text")f=f.replace(/\n/g,"<br/>");var g={content:f,title:e.value,securityToken:c};
w_.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_I(a){document.write('<script src="'+a+'" type="text/javascript"><\/script>')}function w_Ha(a){document.write('<style type="text/css"> @import url( "'+a+'" );</style>')}function w_J(a){if(w_K())w_j("Tried to add an onload after page loaded..");else{var b=window;if(b.addEventListener)b.addEventListener("load",a,false);else if(b.attachEvent)b.attachEvent("onload",a);else b.onload=a}}function w_Ca(){window._UDS_loaded=true}function w_K(){return window._UDS_loaded}function w_T(a){this.a=a}w_T.WIDGET_TYPE_NAME=
"VideoBar";w_T.prototype.d=function(){return w_T.WIDGET_TYPE_NAME};w_T.prototype.b=function(){return this.a};w_T.prototype.f=function(){return false};w_T.prototype.c=function(a,b){if(a=="configure")this.a.h(b)};w_T.prototype.j=function(){if(!window._UDS_bootstrapped){var a;if(window.location.host.match(/blogger\.com$/))a="ABQIAAAAVBJEtyJuLxgUs8KlzeA1lRQpkWYODHKIJGlKH8M-8R98XOejsxRkHYkMWejKfPos1RBuAqHID9wA9Q";else a=this.a.i().key;w_I("http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-vbpe&key="+
a);w_Ha("http://www.google.com/uds/css/gsearch.css");w_J(w_Ca);window._UDS_bootstrapped=true}if(!window._UDS_vb_bootstrapped){window._uds_vbw_donotrepair=true;w_I("http://www.google.com/uds/solutions/videobar/gsvideobar.js?mode=new");w_Ha("http://www.google.com/uds/solutions/videobar/gsvideobar.css");window._UDS_vb_bootstrapped=true}var b=this.b(),c=b.z("bar");w_p(c,"videoBar-container");if(!w_K())w_J(w_Ia.bind(b));else window.setTimeout(w_Ia.bind(b),0)};function w_Ia(){var a=this.z("bar"),b=this.i().format,
c,d,e=this.i().expression;if(b=="VERTICAL"){c=false;d=GSvideoBar.THUMBNAILS_MEDIUM;a.style.width="110px"}else if(b=="HORIZONTAL-SMALL"){c=true;d=GSvideoBar.THUMBNAILS_SMALL;a.style.width="232px"}else if(b=="HORIZONTAL-MEDIUM"){c=true;d=GSvideoBar.THUMBNAILS_MEDIUM;a.style.width="432px"}var f={largeResultSet:false,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_Ja(a){document.write('<script src="'+a+'" type="text/javascript"><\/script>')}function w_Ka(a){document.write('<style type="text/css"> @import url( "'+a+'" );</style>')}function w_La(a){if(w_Ma())w_j("Tried to add an onload after page loaded..");else{var b=window;if(b.addEventListener)b.addEventListener("load",a,false);else if(b.attachEvent)b.attachEvent("onload",a);else b.onload=a}}function w_Na(){window._UDS_loaded=true}function w_Ma(){return window._UDS_loaded}function w_U(a){this.a=
a}w_U.WIDGET_TYPE_NAME="NewsBar";w_U.prototype.d=function(){return w_U.WIDGET_TYPE_NAME};w_U.prototype.b=function(){return this.a};w_U.prototype.f=function(){return false};w_U.prototype.c=function(a,b){if(a=="configure")this.a.h(b)};w_U.prototype.j=function(){if(!window._UDS_bootstrapped){var a;if(window.location.host.match(/blogger\.com$/))a="ABQIAAAAVBJEtyJuLxgUs8KlzeA1lRQpkWYODHKIJGlKH8M-8R98XOejsxRkHYkMWejKfPos1RBuAqHID9wA9Q";else a=this.a.i().key;w_Ja("http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-nbpe&key="+
a);w_Ka("http://www.google.com/uds/css/gsearch.css");w_La(w_Na);window._UDS_bootstrapped=true}if(!window._UDS_nb_bootstrapped){window._uds_nbw_donotrepair=true;w_Ja("http://www.google.com/uds/solutions/newsbar/gsnewsbar.js?mode=new");w_Ka("http://www.google.com/uds/solutions/newsbar/gsnewsbar.css");window._UDS_nb_bootstrapped=true}var b=this.b();if(!w_Ma())w_La(w_Oa.bind(b));else window.setTimeout(w_Oa.bind(b),0)};function w_Oa(){var a=this.z("bar"),b,c=this.i().format;if(c=="VERTICAL")b=false;else if(c==
"HORIZONTAL-SMALL")b=true;else if(c=="HORIZONTAL-MEDIUM")b=true;var d=this.i().expression,e=this.i().linkNewWindow,f;if(e==true)f=GSearch.LINK_TARGET_BLANK;else f=GSearch.LINK_TARGET_SELF;var g={largeResultSet:false,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_Pa(a){document.write('<script src="'+a+'" type="text/javascript"><\/script>')}function w_Qa(a){var b=window;if(b.addEventListener)b.addEventListener("load",a,false);else if(b.attachEvent)b.attachEvent("onload",a);else b.onload=a}function w_V(a){this.a=a}w_V.WIDGET_TYPE_NAME="Slideshow";w_V.prototype.d=function(){return w_V.WIDGET_TYPE_NAME};w_V.prototype.b=function(){return this.a};w_V.prototype.f=function(){return false};w_V.prototype.c=function(a,b){if(a=="configure")this.a.h(b)};w_V.prototype.j=
function(){if(!window._UDS_jsapi_bootstrapped){var a;if(window.location.host.match(/blogger\.com$/))a="ABQIAAAAVBJEtyJuLxgUs8KlzeA1lRQpkWYODHKIJGlKH8M-8R98XOejsxRkHYkMWejKfPos1RBuAqHID9wA9Q";else a=this.a.i().key;w_Pa("http://www.google.com/jsapi?source=uds-afspe&key="+a);window._UDS_jsapi_bootstrapped=true}if(!window._UDS_fs_bootstrapped){w_Pa("http://www.google.com/uds/solutions/slideshow/gfslideshow.js?mode=new");window._UDS_fs_bootstrapped=true}var b=this.b(),c=w_Ra.bind(b);if(!window.google||
!window.google.feeds)w_Sa(c);else window.setTimeout(c,0)};function w_Sa(a){w_Qa(function(){google.load("feeds","1",{callback:a})})}function w_Ra(){var a=this.z("slideshow"),b=this.i().computedFeed,c=this.i().linkNewWindow,d=c?google.feeds.LINK_TARGET_BLANK:google.feeds.LINK_TARGET_SELF,e={linkTarget:d,scaleImages:true,fullControlPanel:true,fullControlPanelSmallIcons:true,pauseOnHover:false};if(b.indexOf("http://api.flickr.com")==0)e.thumbnailUrlResolver=w_V.flickrThumbResolver;new GFslideShow(b,a,
e)}w_V.flickrThumbResolver=function(a){var b=google.feeds.getElementsByTagNameNS(a.xmlNode,"http://search.yahoo.com/mrss/","thumbnail"),c=null;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_V;_SlideshowView._Configure=_SlideshowView.Configure;function w_W(){}w_W.Bc={title:null,showStyle:null,showPosts:null,chronological:null,frequency:null,yearPattern:null,monthPattern:null,weekPattern:null,showWeekEnd:null,dayPattern:null,securityToken:null};w_W.ACTIVE_PREVIEW_CLASS="active-preview";w_W.PREVIEW_CLASS="preview";w_W._SetConfigurationOptions=function(){w_y.ConfigureWidget(w_W.Bc)};w_W.UpdateFrequency=function(){var a=w_B.GetFieldValue(document.forms.config.showStyle),b={year:a=="HIERARCHY",week:0,month:0,day:0},c=w_B.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;if(a=="HIERARCHY")d.disabled=false;else d.disabled=true;for(var e in b){var f=e+"pattern-wrap";w_ha(document.getElementById(f),b[e])}w_W.SelectPreview()};w_W._Init=function(a){w_W.oc=a;w_W.I=document.getElementById("archive-previews");w_W.nc=w_X(w_W.I,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();if(document.forms.config.chronological.checked)w_W.ToggleDirection()};w_W.SelectPreview=function(){var a=w_B.GetFieldValue(document.forms.config.showStyle),b=w_B.GetFieldValue(document.forms.config.frequency);for(var c=0;c<w_W.nc.length;c++){var d=w_W.nc[c];if(w_o(d,a)&&w_o(d,b)){w_p(d,w_W.ACTIVE_PREVIEW_CLASS);
if(w_o(d,"MENU"))w_W.wc(d)}else{w_q(d,w_W.ACTIVE_PREVIEW_CLASS);if(w_o(d,"MENU"))w_W.tc(d)}}};w_W.tc=function(a){var b=a.getElementsByTagName("select");for(var c=0;c<b.length;c++)b[c].style.display="none"};w_W.wc=function(a){var b=a.getElementsByTagName("select");for(var c=0;c<b.length;c++)b[c].style.display="block"};w_W.Reformat=function(a,b){var c=w_W.oc[a];for(var d in c){var e=c[d][b.selectedIndex];if(e)w_W.ReplaceSample(d,e)}if(a=="weekly")w_W.UpdateWeekEnd()};w_W.ReplaceSample=function(a,b){var c=
w_X(w_W.I,a);for(var d=0;d<c.length;d++){var e=c[d];e.innerHTML=b}};w_W.UpdateWeekEnd=function(){w_Ta(w_W.I,document.forms.config.showWeekEnd.checked,"weekend");var a=w_W.oc.weekly,b=document.getElementById("weekly-menu-select"),c=0,d=document.forms.config.weekPattern.selectedIndex;for(var e=0;e<b.options.length;e++){var f=b.options[e],g=a["weekly"+c][d];c++;var h=a["weekly"+c][d],i=g;if(document.forms.config.showWeekEnd.checked)i=i+" - "+h;f.text=i}};w_W.UpdatePreviewPostTitles=function(){w_Ta(w_W.I,
document.forms.config.showPosts.checked,"preview-posts")};w_W.ToggleDirection=function(){var a=w_W.I.getElementsByTagName("UL");for(var b=0;b<a.length;b++){var c=a[b],d=c.ownerDocument.createDocumentFragment();while(c.hasChildNodes())d.appendChild(c.lastChild);c.appendChild(d)}var e=w_W.I.getElementsByTagName("SELECT");for(var b=0;b<e.length;b++){var f=e[b],g=f.options.length;for(var h=0;h<=g/2;h++){var i=f.options[h].innerHTML,j=g-h-1;f.options[h].innerHTML=f.options[j].innerHTML;f.options[j].innerHTML=
i}f.options[0].selected=0}};function w_Ta(a,b,c){var d=w_X(a,c);for(var e=0;e<d.length;e++){var f=d[e];w_ia(f,b)}}function w_X(a,b){var c={};c.select=function(d){return d&&w_o(d,b)};return w_r(a,c)}var _ArchiveConfig=w_W;_ArchiveConfig._UpdateFrequency=_ArchiveConfig.UpdateFrequency;_ArchiveConfig._Reformat=_ArchiveConfig.Reformat;_ArchiveConfig._UpdateWeekEnd=_ArchiveConfig.UpdateWeekEnd;_ArchiveConfig._UpdatePreviewPostTitles=_ArchiveConfig.UpdatePreviewPostTitles;_ArchiveConfig._ToggleDirection=
_ArchiveConfig.ToggleDirection;function w_Y(a){this.a=a;this.e=a.k()}w_Y.WIDGET_TYPE_NAME="Label";w_Y.prototype.d=function(){return w_Y.WIDGET_TYPE_NAME};w_Y.prototype.b=function(){return this.a};w_Y.prototype.c=function(a,b){this.a.h(b)};function w_Z(){}w_Z.sc={sorting:null,title:null,securityToken:null};w_Z._Configure=function(){w_y.ConfigureWidget(w_Z.sc)};w_Z.HIDDEN_CLASS="hidden";w_Z.PREVIEW_ROOT_ID="preview-wrap";w_Z.PREVIEW_CLASS="preview";w_Z._ShowPreview=function(a){var b=document.getElementById(w_Z.PREVIEW_ROOT_ID),c=
w_X(b,w_Z.PREVIEW_CLASS);for(var d=0;d<c.length;d++)w_p(c[d],w_Z.HIDDEN_CLASS);w_q(document.getElementById(a),w_Z.HIDDEN_CLASS)};var _LabelView=w_Y,_LabelConfig=w_Z;function w__(a){this.a=a;this.e=a.k()}w__.WIDGET_TYPE_NAME="TextList";w__.prototype.d=function(){return w__.WIDGET_TYPE_NAME};w__.prototype.b=function(){return this.a};w__.prototype.f=function(){return false};w__.prototype.c=function(a,b){if(a=="configure")this.a.h(b)};var _TextListView=w__;function w_0(a){this.a=a;this.e=a.k()}w_0.WIDGET_TYPE_NAME="LinkList";w_0.prototype.d=function(){return w_0.WIDGET_TYPE_NAME};w_0.prototype.f=function(){return false};w_0.prototype.b=function(){return this.a};w_0.prototype.c=function(a,b){if(a=="configure")this.a.h(b)};var _LinkListView=w_0;_LinkListView.prototype=w_0.prototype;function w_1(a){this.a=a;this.e=a.k()}w_1.prototype.d=function(){return"BloggerButton"};w_1.prototype.b=function(){return this.a};w_1.prototype.c=function(a,b){this.a.h(b)};var _BloggerButtonView=w_1;var w_2=function(a){this.a=a;this.e=a.k()};w_2.prototype.d=function(){return"Poll"};w_2.prototype.b=function(){return this.a};w_2.prototype.c=function(a,b){if(a=="configure"){this.savePending=false;this.a.h(b)}};w_2.prototype.A=function(a,b){if(a=="configure")this.savePending=false;w_.A(b,window)};w_2.adjustFrameHeight=function(){var a=document.getElementsByTagName("iframe");for(var b,c=0;b=a[c];c++)if(b.name.indexOf("poll-widget")==0)try{if(window.frames[b.name]&&window.frames[b.name].frames[0]){var d=
window.frames[b.name].frames[0].location.hash,e=Number(d.replace("#",""));if(e)b.style.height=e+(document.all?10:0)+"px"}}catch(f){}};window.setInterval(w_2.adjustFrameHeight,500);var _PollView=w_2;function w_3(a){this.a=a;this.e=a.k()}w_3.WIDGET_TYPE_NAME="Navbar";w_3.prototype.d=function(){return w_3.WIDGET_TYPE_NAME};w_3.prototype.b=function(){return this.a};w_3.prototype.f=function(){return false};w_3.prototype.c=function(a,b){this.a.h(b)};w_3.FilterMap={navbartype:null,securityToken:null};w_3.ConfigureWidget=function(){w_y.ConfigureWidget(w_3.FilterMap)};var _NavbarView=w_3;_NavbarView.prototype=w_3.prototype;_NavbarView._ConfigureWidget=_NavbarView.ConfigureWidget;function w_4(a){this.a=a;this.e=a.k()}w_4.WIDGET_TYPE_NAME="Profile";w_4.prototype.f=function(){return false};w_4.prototype.d=function(){return w_4.WIDGET_TYPE_NAME};w_4.prototype.b=function(){return this.a};w_4.prototype.c=function(a,b){if(a=="configure")this.a.h(b)};w_4.prototype.j=function(){if(this.a.i().isDisplayable==false)this.e.rootElement.style.display="none";else this.e.rootElement.style.display=""};var _ProfileView=w_4;function w_Ua(a){var b=a.toLowerCase();for(var c=0;c<document.styleSheets.length;c++){var d=document.styleSheets[c],e=d.cssRules?d.cssRules:d.rules;for(var f=0;f<e.length;f++){var g=e[f];if(g.selectorText.toLowerCase().indexOf(b)!=-1)return g}return null}};var w_Va="/feedReaderJson/";function w_Wa(a){w_Va=a}function w_Xa(a){return"FW_ScriptElement"+a}function w_5(){this.requests={};this.currentId=0;this.completed=[]}w_5.prototype.Cb=function(a,b){var c=++this.currentId,d={};d.handler=a;d.errorHandler=b;this.requests[c]=d;return c};w_5.prototype.ja=function(a){var b=this.requests[a];this.requests[a]=null;this.completed.push(a);return b};w_5.prototype.db=function(){while(this.completed.length){var a=this.completed.pop(),b=document.getElementById(w_Xa(a));
if(b)b.parentNode.removeChild(b)}};w_5.prototype.Fb=function(a,b,c,d,e,f){this.db();var g=this.Cb(c,d),h=w_Va+"?feedUrl="+encodeURIComponent(a)+"&n="+b+"&requestId="+encodeURIComponent(g)+"&locale="+encodeURIComponent(e)+"&timeZone="+encodeURIComponent(f),i=w_Xa(g),j=document.createElement("script");j.type="text/javascript";j.charset="utf-8";j.src=h;j.id=i;document.getElementsByTagName("head")[0].appendChild(j)};var w_6=new w_5;function w_Ya(a){return w_6.ja(a).handler}function w_Za(a){return w_6.ja(a).errorHandler}
function w__a(a,b,c,d,e,f){w_6.Fb(a,b,c,d,e,f)}var _FW_setFeedReaderJsonBaseUrl=w_Wa,_FW_getHandler=w_Ya,_FW_getErrorHandler=w_Za;function w_7(a,b,c,d){this.w=a;this.Ja=b;this.Dc=c;this.ea=d;this.Ya=new w_C("status-message");this.ba="";this.ic=false}w_7.uc=5;w_7.qc="moduleTitle";w_7.Kc="feedUrl";w_7.hb="step1";w_7.ib="step1Buttons";w_7.jb="step2";w_7.kb="preview";w_7.vc="item-title";w_7.Hb="item-date";w_7.Gb="item-author";w_7.T="feedUrl";w_7.prototype.ha=function(a){this.Ya.ga();w_B.ClearError(w_7.T);if((!a.items||a.items.length===0)&&a.title==="")this.Z();else{var b=document.getElementById(w_7.qc);if(b.value===""||this.ic){b.value=
a.title;this.Ra=a.title}this.S(a);this.sb();this.Bb(b)}};w_7.prototype.Bb=function(a){a.style.display="none";a.style.display=""};w_7.prototype.Z=function(){this.Ya.ga();w_B.SetError(w_7.T,this.ea._invalidFeedUrl);this.W()};w_7.prototype.Ea=function(){};w_7.prototype.S=function(a){this.Db(this.Ja);for(var b=0;b<a.items.length;b++){var c=a.items[b];this.bb(c,this.Ja)}this.ua();this.ra();this.sa();this.ta()};w_7.prototype.W=function(){this.t(w_7.hb,true);this.t(w_7.ib,true);this.t(w_7.jb,false);this.t(w_7.kb,
false)};w_7.prototype.sb=function(){this.t(w_7.hb,false);this.t(w_7.ib,false);this.t(w_7.jb,true);this.t(w_7.kb,true)};w_7.prototype.t=function(a,b){w_n(document.getElementById(a),b)};w_7.prototype.Zb=function(a){return a?"":"none"};w_7.prototype.Fa=function(a,b){if(this.w)return;var c=w_Ua(a);c.style.display=this.Zb(b)};w_7.prototype.za=function(a){this.Ra=a;this.ta()};w_7.prototype.ta=function(){if(this.w)return;this.Dc.innerHTML=this.Ra};w_7.prototype.Ca=function(a){this.Va=a;this.ra()};w_7.prototype.ra=
function(){this.Fa(w_7.Gb,this.Va)};w_7.prototype.Da=function(a){this.Wa=a;this.sa()};w_7.prototype.sa=function(){this.Fa(w_7.Hb,this.Wa)};w_7.prototype.Aa=function(a){this.kc=a;this.ua()};w_7.prototype.ua=function(){var a=this.Ja.getElementsByTagName("li");for(var b=0;b<a.length;b++)w_n(a[b],b<this.kc)};w_7.prototype.bb=function(a,b){var c=document.createElement("li");b.appendChild(c);var d=document.createElement("span");d.className=w_7.vc;c.appendChild(d);var e=document.createElement("a");d.appendChild(e);
e.href=a.alternate.href;if(this.w)e.target="_self";else e.target="_blank";e.innerHTML=a.title;if(!this.w||this.Wa){var f=document.createElement("span");f.className=w_7.Hb;f.innerHTML="&nbsp;-&nbsp;"+a.str_published;c.appendChild(f)}if(!this.w||this.Va){var g=document.createElement("span");g.className=w_7.Gb;g.innerHTML="&nbsp;-&nbsp;"+a.author;c.appendChild(g)}};w_7.prototype.Db=function(a){while(a.firstChild)a.removeChild(a.firstChild)};w_7.prototype.wa=function(a,b,c,d,e,f,g){if(!a||a===""){w_B.SetError(w_7.T,
this.ea._missingFeedUrl);return}if(a.length>2083){w_B.SetError(w_7.T,this.ea._feedUrlTooLong);return}this.Ya.o(this.ea._retrievingFeed);this.Ba(a,b,c,d,e,f,g);this.Y(w_7.prototype.ha,w_7.prototype.Z)};w_7.prototype.Eb=function(a,b,c,d,e,f,g){this.Ba(a,b,c,d,null,e,f);var h=w_w(w_7.prototype.Y,this,w_7.prototype.S,w_7.prototype.Ea);window.setInterval(h,g*1000)};w_7.prototype.Y=function(a,b){var c=w_w(a,this),d=w_w(b,this);w__a(this.ba,w_7.uc,c,d,this.Cc,this.Hc)};w_7.prototype.Ba=function(a,b,c,d,
e,f,g){this.ic=this.ba!=""&&this.ba!=a;this.ba=a;this.kc=b;this.Wa=c;this.Va=d;this.Ra=e;this.Cc=f;this.Hc=g};w_7.prototype._GoToStep1=w_7.prototype.W;w_7.prototype._RetrieveFeedAndGoToStep2=w_7.prototype.wa;w_7.prototype._SetModuleTitleAndRefresh=w_7.prototype.za;w_7.prototype._SetShowItemAuthorAndRefresh=w_7.prototype.Ca;w_7.prototype._SetShowItemDateAndRefresh=w_7.prototype.Da;w_7.prototype._SetNumItemsShowAndRefresh=w_7.prototype.Aa;var _FW_FeedController=w_7;function w_8(a){this.a=a}w_8.prototype.b=function(){return this.a};w_8.prototype.d=function(){return"Feed"};w_8.prototype.c=function(a,b){this.a.h(b)};w_8.prototype.j=function(){var a=this.a.z("feedItemListDisplay"),b=new w_7(true,a,null,null),c=this.a.k().data;b.Eb(c.feedUrl,c.numItemsShow,c.showItemDate,c.showItemAuthor,c.locale,c.timeZone,c.feedWidgetRefreshIntervalSec)};w_8.rc={moduleTitle:null,feedUrl:w_B.GetRequiredStringFilter(),numItemsShow:w_B.GetNumberFilter(1,5),showItemDate:null,showItemAuthor:null,
securityToken:null};w_8.setConfigurationOptions=function(){w_y.ConfigureWidget(w_8.rc)};var _FeedView=w_8;_FeedView._setConfigurationOptions=w_8.setConfigurationOptions;function w_9(a){this.a=a;this.e=a.k()}w_9.prototype.d=function(){return"Gadget"};w_9.prototype.b=function(){return this.a};w_9.prototype.c=function(a,b){this.a.h(b)};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=true;if(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="";c.style.zIndex=1000;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 false}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.e=a.k()}w_$.WIDGET_TYPE_NAME="Subscribe";w_$.prototype.f=
function(){return false};w_$.prototype.d=function(){return w_$.WIDGET_TYPE_NAME};w_$.prototype.b=function(){return this.a};w_$.prototype.c=function(a,b){if(a=="configure")this.a.h(b)};var _SubscribeView=w_$;
