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_o(a,b){a.style.display=b?"inline":"none"}function w_p(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_q(a,b){if(w_p(a,b))return;a.className+=" "+b}function w_r(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_s(a,b){var c=[];for(var d=a.firstChild;d;d=d.nextSibling)w_ia(d,b,c);return c}function w_ia(a,b,c){if(b.select(a))c.push(a);for(var d=a.firstChild;d;d=d.nextSibling)w_ia(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(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_sa(a,c)}function w_sa(a,b){try{a.send(b)}catch(c){w_j("XMLHttpSend failed "+c.toString()+"<br>"+c.stack);throw c;}};var w_ta=0,w_v=0;if("undefined"==typeof w_j)w_j=function(){};function w_ua(a){var b=-1;try{b=a.status}catch(c){}return b}function w_va(a){var b=null;try{b=a.statusText}catch(c){}return b}function w_wa(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_ua(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_va(a)+" after "+((new Date).getTime()-c)+" ms.")}finally{--w_v}}function w_xa(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_ta,j=w_u?new ActiveXObject(w_u):new XMLHttpRequest,k=(new Date).getTime(),l=function(){w_wa(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_ra(j,a,d,l)};var w_ya=this;if(!Function.prototype.apply)Function.prototype.apply=function(a,b){var c=[],d,e;if(!a)a=w_ya;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.Cc||[];c=c.concat(Array.prototype.slice.call(arguments,2));if(typeof a.Zb!="undefined")b=a.Zb;if(typeof a.Yb!="undefined")a=a.Yb;var d=function(){var e=c.concat(Array.prototype.slice.call(arguments));return a.apply(b,e)};d.Cc=c;d.Zb=b;d.Yb=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.Sc=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.z=f;if(!w_x.IsValidDisplayMode(f))throw"bad display mode: "+f;}else this.z=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.Ec=true;this.cb=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.hb=function(){var a=this.e.rootElement;a.innerHTML="";if(this.N()==w_x.DISPLAY_MODE_LAYOUT)a.appendChild(this.Y("layout"));else a.appendChild(this.Y("main"));return a};w_y.prototype.Nb=function(a){this.F=a};w_y.prototype.k=function(){return this.e};
w_y.prototype.s=function(a){return document.getElementById(this.e.instanceId+"_"+a)};w_y.prototype.o=function(a){var b=this.s(a);if(!b)throw"did not find element for id "+a;return b};w_y.prototype.j=function(){return this.e.data};w_y.prototype.Aa=function(a){return this.e.data=a};w_y.prototype.zb=function(){return this.e.isNew};w_y.prototype.Mb=function(a){return this.e.isNew=a};w_y.prototype.Y=function(a,b){var c=b;if(!c)c=this.j();if(!c)c={};var d=new w_A;d.M("widget",this.ob());d.db(c);var e=this.pa(a,
d,w_A.DEFAULT_DICTIONARY_KEY);return this.oa(e,document)};w_y.prototype.ob=function(){var a={};a.type=this.F.d();a.instanceId=this.e.instanceId;a.sectionId=this.e.sectionId;a.actionUrl=w_.Ia;var b=w_.$b+"&widgetType="+this.F.d()+"&widgetId="+this.e.instanceId+"&action="+w_.EDIT_WIDGET_ACTION;a.quickEditUrl=b;return a};w_y.prototype.pa=function(a,b,c){var d=this.tb(a);w_t.isTrue(d!=null,"Markup chunk not found for "+a);var e=d.varName?d.varName:"",f=b.j(c);w_t.isTrue(f!=null,"No data found for call: "+
c);b.M(e,f);var g=this.P(d.rootNode,b);b.xa(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.Db(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.xb(a,b);else if(a.prefix==w_y.DATA_NAMESPACE_PREFIX)c=
this.wb(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.Db=function(a,b){if(a.prefix==w_y.INTERPRET_ATTR_NAMESPACE_PREFIX){var c=a.ownerDocument.createAttribute(a.localName||a.baseName),d=this.cb.ka(a.nodeValue,b);c.nodeValue=d;return c}return a};w_y.prototype.xb=function(a,b){var c=a.localName||a.baseName,d=this.za(c,a,b);return this.Tb(d)};
w_y.prototype.Tb=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.V=function(a,b){var c=this.Q(a);return b.j(c[1])};w_y.prototype.wb=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.V(a.tagName,b),d=""+(c==null?"":c),e=document.createElement("DIV");
e.innerHTML=d;var f=this.O(e);return this.oa(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.za=function(a,b,c){var d="_WidgetBinding_"+a;if(this.cb[d])return this.cb[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.Cb=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.oa=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.w=
function(a,b){var c=this.F,d=function(e){return c.ActionCallback?c.ActionCallback(e):true};w_.w(a,b,this.e.instanceId,this.F.d(),d)};w_y.prototype.N=function(){return this.e.z};w_y.prototype.tb=function(a){if(!a)return null;var b=w_.ab[a];if(!b)b=this.e.markups[a];if(!b)return null;if(!b.parsedTemplate||!b.parsedTemplate.ownerDocument)this.Bb(b);if(!b.parsedTemplate)w_t.raise("Parsing failed for "+a);b.rootNode=b.parsedTemplate.cloneNode(true);return b};w_y.prototype.Bb=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.Cb(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_.$b=a;w_.Ia=b;w_.Rc=c;w_.ec=null;if(!w_.ab)w_.ab={}};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_.Ia};w_.SetPageActionUrl=function(a,b){w_.Ua=a;w_.Jc=b};w_.GetPageActionUrl=function(){return w_.Ua};
w_.SetWidgetRefreshUrl=function(a){w_.Oc=a};w_.GetWidgetRefreshUrl=function(){return w_.Oc};w_._SetDataContext=function(a){w_.ec=a};w_._SetSystemMarkup=function(a){w_.ab=a};w_._RegisterWidget=function(a,b,c){var d=new w_y(b);if(!c)c=window[a];var e=new c(d);d.Nb(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.Mb(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.hb();if(c.N()==w_x.DISPLAY_MODE_FULL)if(a.i)a.i();a.b().Ec=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_.$b+"&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_.p(b,
b.LayoutsMessages.DELETING,w_.STATUS_MESSAGE_PENDING_CLASS);w_.RunPageAction("delete",{},a,b)};w_y.prototype.Lb=function(a,b){w_.p(b,b.LayoutsMessages.SAVING,w_.STATUS_MESSAGE_PENDING_CLASS);this.w("configure",a)};w_.SaveNewWidget=function(a,b,c){var d=document.getElementById("sectionId").value;a.sectionid=d;w_.p(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().zb())w_.SaveNewWidget(a,c,window);else d.a.Lb(a,window)};w_._RunInitialAction=function(a){var b=w_._GetWidget(a);if(b)b.b().w("initial")};w_.w=function(a,b,c,d,e){w_.RunAction(w_.Ia,a,b,c,d,e)};w_.RunPageAction=function(a,b,c,d,e){if(!w_.Ua){w_j("RunPageAction error: pageActionUrl_ is undefined.  widgetid: "+c+" action: "+a);return}b.pageToken=w_.Jc;w_.RunAction(w_.Ua,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_xa(a,g,new w_za(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_.p(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().Aa(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_.p(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().Aa(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_.p(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_.p(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_.p(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_.p=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_p(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_.ra;b.onmousedown=w_.ra;b.onmouseup=w_.ra;b.style.background="white";b.style.filter="alpha(opacity=1)";
b.style.opacity=".01";b.innerHTML="&nbsp;";return b};w_.ra=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.t=a}w_z.prototype._WidgetBinding_include=function(a,b){var c=a.getAttribute("name"),d=a.getAttribute("data");return this.t.pa(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.t.Q(c),e=
this.t.V(d[1],b),f=a.getAttribute("var");if(!f)w_t.raise("Invalid var= attribute on b:loop");var g=this.t.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.t.P(k,b);b.xa(f);h.appendChild(l)}return h};w_z.prototype._WidgetBinding_if=function(a,b){var c=this.ka(a.getAttribute("cond"),b),d=a.ownerDocument.createDocumentFragment(),e=false;while(a.firstChild!=null){var f=a.firstChild;if("else"==this.t.Q(f.nodeName)[1].toLowerCase())e=
true;else if(c&&!e||!c&&e){var g=this.t.P(f,b);d.appendChild(g)}if(f.parentNode==a)a.removeChild(f)}return d};w_z.prototype.ka=function(a,b){w_t.isTrue(a!=null,"null expression");var c=this.Ob(a,b);try{var d=eval(c);return d}catch(e){w_j("expression=["+a+"] error="+e+" eval=["+c+"]")}return""};w_z.prototype.Ob=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.yb(a,c.lastIndex)){var h,
i=this.t.Q(g);if(i[0]==w_y.ACTION_NAMESPACE_PREFIX)h=this.t.za(i[1],null,b);else if(i[0]==w_y.DATA_NAMESPACE_PREFIX){h=this.t.V(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.yb=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.sb=function(a,b){if(!b)b=document;var c="errormessage_"+a;return b.getElementById(c)};w_B.ClearError=function(a){var b=w_B.sb(a);if(b){b.innerHTML="";b.className=w_B.ERROR_MSG_INACTIVE_CLASS}};w_B.SetError=function(a,b,c){var d=w_B.sb(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.q=[];for(var a in w_.ec)this.q[this.q.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.q.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.q[this.q.length]=c};w_A.prototype.xa=function(a){var b=this.q[this.q.length-1];if(b.name!=a)w_t.raise("Dictionary "+a+" is not the last one, and can't be deleted: "+b.name);this.q.splice(this.q.length-
1,1)};w_A.prototype.W=function(a){if(a==null)a=w_A.DEFAULT_DICTIONARY_KEY;for(var b=this.q.length-1;b>=0;--b)if(this.q[b].name==a)return this.q[b].data;return null};w_A.prototype.ma=function(){return this.W(w_A.DEFAULT_DICTIONARY_KEY)};w_A.prototype.db=function(a){this.M(w_A.DEFAULT_DICTIONARY_KEY,a)};w_A.prototype.j=function(a){var b=this.W(a);if(b)return b;var c=a.split(w_A.SEPARATOR_CHAR);if(c.length==1){b=this.ma();return b[a]}b=this.W(c[0]);var d=0;if(b)d=1;else b=this.ma();for(var e=d;e<c.length;e++){if(b==
null)return null;b=b[c[e]]}return b};function w_Aa(){}w_Aa.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.Qc=false;this.ga=a;this.ba=window.document}w_C.DISABLED_BUTTON_CLASS="disabled-button";w_C.HIDDEN_MESSAGE_CLASS="status-msg-hidden";w_C.prototype.ia=function(){this.ba.getElementById(this.ga+"-inner").innerHTML="&nbsp;";w_q(this.ba.getElementById(this.ga),w_C.HIDDEN_MESSAGE_CLASS)};w_C.prototype.p=function(a){this.ba.getElementById(this.ga+"-inner").innerHTML=a;w_r(this.ba.getElementById(this.ga),w_C.HIDDEN_MESSAGE_CLASS)};function w_za(a){return function(b){var c=w_ua(b);if(c>=500){if(b.responseText.length)document.body.innerHTML=b.responseText;else alert(LayoutsMessages.SERVER_ERROR);return false}return a?a(b):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.Dc="&#9660;&nbsp;";w_E.ac="&#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.Sb(b);else{this.widgetInfo.data=b;w_.DisplayWidget(this)}};w_E.prototype.i=function(){var a={};a.select=function(i){return i&&w_p(i,"toggle")};var b=this.a.s("ArchiveList");if(!b)return;var c=w_s(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.Pb.bind(this);if(d)f.style.color=d}var g=this.a.s(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.ub.bind(this)}if(this.b().j().languageDirection=="rtl")w_E.ac="&#9668;&nbsp;"};w_E.prototype.ub=function(){var a=this.a.s(w_E.MENU_ROOT_ID);if(!a)return;if(a.value=="")return;window.location.href=a.value};w_E.prototype.Pb=function(a){a=a||window.event;var b=a.currentTarget||a.srcElement;if(b&&!w_p(b,"toggle"))b=b.parentNode;var c=
w_.GetFirstElementInElementWithClass(b,"zippy"),d=b.parentNode;if(w_p(d,w_E.INTERVAL_EXPANDED_VALUE)){w_r(d,w_E.INTERVAL_EXPANDED_VALUE);w_q(d,w_E.INTERVAL_COLLAPSED_VALUE);c.innerHTML=w_E.ac;w_r(c,w_E.TOGGLE_OPEN_CLASS);return false}else{w_r(d,w_E.INTERVAL_COLLAPSED_VALUE);w_q(d,w_E.INTERVAL_EXPANDED_VALUE);c.innerHTML=w_E.Dc;w_q(c,w_E.TOGGLE_OPEN_CLASS)}if(this.Ab(d)){var e=this.na(d);if(!e){e=document.createElement("UL");d.appendChild(e);w_q(e,w_E.POST_LIST_CLASS)}e.appendChild(document.createTextNode(w_E.LOADING_MSG));
this.a.w("getTitles",{path:this.qb(d)})}return false};w_E.prototype.na=function(a){return w_.GetFirstElementInElementWithClass(a,w_E.POST_LIST_CLASS)};w_E.prototype.qb=function(a){var b=w_.GetFirstElementInElementWithClass(a,w_E.POST_COUNT_LINK_CLASS);return b.href};w_E.prototype.rb=function(a){var b=w_.GetFirstElementInElementWithClass(a,w_E.POST_COUNT_CLASS);return parseInt(b.innerHTML.match(/\d+/),10)};w_E.prototype.Sb=function(a){var b=a.path,c=this.na(this.pb(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.pb=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.Ab=function(a){var b=a.getElementsByTagName("UL");if(b.length>0&&!w_p(b[0],"posts"))return;var c=this.rb(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.oc=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.ib(b);else if(a=="configure")this.a.h(b);else if(a=="backlinks")this.Rb(b)};w_F.prototype.ib=function(a){var b=a.renderedData,c=this.K.rootElement;if(!b||!c)return;c.innerHTML=b;window.scroll(0,0);this.i()};w_F.prototype.Rb=function(a){this.oc=false;var b=this.a.Y(w_F.BACKLINKS_CHUNK,a),c=this.a.s(w_F.BACKLINKS_ROOT);if(c){c.innerHTML="";c.appendChild(b)}var d=w_s(this.K.rootElement,w_F.Wb);for(var e=0;e<d.length;e++){var f=
d[e];f.onclick=this.Qb.bind(this)}var g=this.a.s("backlinks-create-link");if(g!=null)g.onclick=this.fb.bind(this,g.href)};w_F.Wb={};w_F.Wb.select=function(a){return a&&w_p(a,w_F.BACKLINK_ZIPPY_CLASS)};w_F.prototype.Qb=function(a){a=a||window.event;this.jb(a.srcElement||a.target)};w_F.prototype.jb=function(a){var b=a.parentNode;while(b&&!w_p(b,w_F.BACKLINK_ITEM_ROOT_CLASS))b=b.parentNode;if(!b)return;if(w_p(b,w_F.BACKLINK_EXPANDED_CLASS)){w_r(b,w_F.BACKLINK_EXPANDED_CLASS);w_q(b,w_F.BACKLINK_COLLAPSED_CLASS)}else{w_q(b,
w_F.BACKLINK_EXPANDED_CLASS);w_r(b,w_F.BACKLINK_COLLAPSED_CLASS)}};w_F.prototype.i=function(){var a=this.a.s("blog-pager-newer-link");if(a&&this.qa(a))a.onclick=this.sa.bind(this);var b=this.a.s("blog-pager-older-link");if(b&&this.qa(b))b.onclick=this.sa.bind(this);if(this.oc)this.a.w("backlinks",{postID:this.K.data.postId})};w_F.prototype.qa=function(a){var b=a.href;return b.indexOf("/search?")>-1};w_F.prototype.sa=function(a){a=a||window.event;var b=a.target||a.srcElement;this.a.w("nextposts",{path:b.href});
return false};w_F.prototype.fb=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;w_G.Id={BLOGS:"blogs",CONTAINER:"container",SHOW_ALL:"show-all",SHOW_N:"show-n"};function w_G(a){this.a=a;this.e=a.k()}w_G.WIDGET_TYPE_NAME="BlogList";w_G.prototype.ha=null;w_G.prototype.S=null;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)};w_G.prototype.i=function(){var a=this.a.j();this.ha=a.totalItems;this.S=a.numItemsToShow;if(this.S!=0&&this.ha>
this.S){var b=this.a.o(w_G.Id.SHOW_ALL);b.onclick=this.bb.bind(this);var c=this.a.o(w_G.Id.SHOW_N);c.onclick=this.bb.bind(this)}var d=this.bc.bind(this),e=window;if(e.addEventListener)e.addEventListener("load",d,false);else if(e.attachEvent)e.attachEvent("onload",d);else e.onload=d};w_G.prototype.bb=function(){var a=this.a.o(w_G.Id.BLOGS),b=a.getElementsByTagName("li");for(var c=this.S;c<this.ha;c++){var d=b[c];w_ha(d,d.style.display=="none")}var e=this.a.o(w_G.Id.SHOW_ALL);w_o(e,e.style.display==
"none");var f=this.a.o(w_G.Id.SHOW_N);w_o(f,f.style.display=="none")};w_G.prototype.bc=function(){var a=this.a.o(w_G.Id.BLOGS),b=a.getElementsByTagName("input");for(var c=0;c<b.length;c++){var d=b[c],e=document.createElement("img");e.onload=this.Ub.bind(e,d);e.src=d.value}};w_G.prototype.Ub=function(a){this.onload=function(){};this.alt="";this.height="16";this.width="16";var b=a.parentNode;b.replaceChild(this,a)};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.i=function(){if(!window._UDS_bootstrapped){var a;a=window.location.host.match(/blogger\.com$/)?"ABQIAAAAVBJEtyJuLxgUs8KlzeA1lRQpkWYODHKIJGlKH8M-8R98XOejsxRkHYkMWejKfPos1RBuAqHID9wA9Q":this.a.j().key;w_I("http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-vbpe&key="+
a);w_J(w_Ba);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_Ca.bind(f));else window.setTimeout(w_Ca.bind(f),0)};function w_Ca(){var a=new GSearchControl,b=this.j();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.o("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_Da,null,
a));document.getElementById("uds-searchClearResults").onclick=w_w(w_Ea,null,a);w_L(false)}function w_Da(a){w_L(true);return a.submit()}function w_Ea(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.i=function(){if(this.e.data.resize!="true")return;var a=this.a.s(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.Xb=b!="null"?b:null;this.jc=c;this.hc=d;this.ic=e;this.uc=f;this.kc=g;this.Kc=h;this.v=-1;this.B=-1;this.C=null;this.r=document.getElementById(this.n+"_picImg");this.aa=document.getElementById(this.n+"_changeImageLink");this.ea=document.getElementById(this.n+"_imageChoiceTable");this.fc=document.getElementById(this.n+"_imgSrcFromPCRadio");this.gc=document.getElementById(this.n+"_imgSrcFromWebRadio");this.g=document.getElementById(this.n+"_imgFileNameInput");
this.R=document.getElementById(this.n+"_imgUrlTextInput");this.Vb=window.frames[this.n+"_asynchronousFileUploadIframe"];this.Na=0;this.l=new Image;this.l.onload=this.hitch(this,this.rc);this.l.onerror=this.hitch(this,this.qc);this.cc=false;this.Ra=null;this.m=null;this.H=null;this.Va=false}w_N.prototype.Qa=function(){return this.fc.checked};w_N.prototype.rc=function(){this.Na=0;w_B.ClearError(this.n+"_imgUrlTextError");w_B.ClearError(this.n+"_imgFileNameError");if(!this.Qa()||this.v==0){this.v=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.r.style.width=Math.round(this.l.width*c)+"px";this.r.style.height=Math.round(this.l.height*c)+"px";this.r.src=this.l.src;this.r.style.display="";this.ea.style.display="none";this.aa.style.display="";this.g.disabled=true;if(this.jc)this.jc.call({},this.r.src,this.C,this.v,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.r.style.display="none";this.ea.style.display="";this.aa.style.display="none";this.g.disabled=false;if(this.hc)this.hc.call({},c,d)};w_N.prototype.qc=function(){if(this.Na<2){this.Na++;var a=this.l.src;this.l.src="";this.D(a)}else this.J(this.Qa(),WidgetMessages.SIV_INVALID_URL,this.r.src)};w_N.prototype.hitch=function(a,b){return function(){b.apply(a,arguments)}};
w_N.prototype.D=function(a){this.Za();this.l.src=a};w_N.prototype.Ja=function(a){var b=a||window.event;if(window.event){b.returnValue=false;b.cancelBubble=true}else{b.preventDefault();b.stopPropagation()}this.r.style.display="none";this.aa.style.display="none";this.ea.style.display="";this.g.disabled=false;this.R.value="";this.Wa();this.Va=true;if(this.ic)this.ic.call({})};w_N.prototype.Oa=function(){this.fc.checked="true";this.R.value="";this.Za();this.mc();this.cc=true;try{this.m.submit()}catch(a){this.J(true,
WidgetMessages.SIV_INVALID_URL,this.m.value)}this.lc()};w_N.prototype.G=function(){var a=this.Vb.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.Fc);else this.J(true,WidgetMessages.SIV_INVALID_URL,this.g.value,a.Fc);else{var b=Math.max(a.origWidth,a.origHeight),c=this.Ma();if(this.v!=0&&c!=-1&&b>c){var d=c/b;this.v=Math.round(a.origWidth*d);this.B=Math.round(a.origHeight*d)}else{this.v=
a.origWidth;this.B=a.origHeight}this.C=a.mainSrc;this.D(a.thumbSrc)}};w_N.prototype.Pa=function(a){var b=a||window.event;if(b.keyCode==9)return;this.gc.checked="true";if(this.Ra!=null)window.clearTimeout(this.Ra);var c=this.hitch(this,function(){if(this.Va||this.l.src!=this.R.value.toLowerCase()){this.Wa();this.D(this.R.value.toLowerCase())}this.Va=false});this.Ra=window.setTimeout(c,1000)};w_N.prototype.Sa=function(a){this.gc.checked=true;this.R.value=a;this.D(a)};w_N.prototype.Za=function(){this.r.src=
"img/icon_inprogress.gif";this.r.style.width="200px";this.r.style.height="200px";this.r.style.display="";this.ea.style.display="none";this.aa.style.display="none"};w_N.prototype.mc=function(){if(!this.m){this.m=document.createElement("form");this.m.action="imageUpload.do";this.m.method="POST";this.m.target=this.Vb.name;this.m.encoding="multipart/form-data";this.m.style.display="none";if(this.Xb){var a=document.createElement("input");a.type="hidden";a.name="blogID";a.value=this.Xb;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.Kc;this.m.appendChild(c);document.body.appendChild(this.m)}var d=this.Ma();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.lc=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.Wa=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.Ma=function(){return this.uc==-1&&this.kc?this.kc():this.uc};function w_O(){this.usiContainers=
[]}var w_Fa=new w_O;w_O.prototype.Ka=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.da=function(a){return this.usiContainers[a]};w_O.prototype.G=function(a){var b=this.da(a);if(b&&b.cc)b.G()};var _UploadSimpleImage=w_Fa;w_O.prototype._createUsiContainer=w_O.prototype.Ka;w_O.prototype._getUsiContainer=w_O.prototype.da;w_O.prototype._channelResultArrived=w_O.prototype.G;w_N.prototype._changeImage=w_N.prototype.Ja;
w_N.prototype._imgUrlFileOnChange=w_N.prototype.Oa;w_N.prototype._imgUrlTextOnKeyUp=w_N.prototype.Pa;w_N.prototype._loadInitialUrl=w_N.prototype.Sa;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(){return document.getElementById("checkShrink").checked?
_SIV_getContainerWidth():-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_.p(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,link:document.getElementById("link").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.Lc=a;w_P.C=b;w_P.v=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(){return document.getElementById("checkShrink").checked?w_P.getContainerWidth():-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.v,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.v;c.values.originalHeight=w_P.B;c.values.displayUrl=w_P.Lc;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.Nc=b}w_Q.prototype.b=function(){return this.a};w_Q.prototype.d=function(){return this.Nc};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_Ga(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_Ba(){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.i=function(){if(!window._UDS_bootstrapped){var a;a=window.location.host.match(/blogger\.com$/)?"ABQIAAAAVBJEtyJuLxgUs8KlzeA1lRQpkWYODHKIJGlKH8M-8R98XOejsxRkHYkMWejKfPos1RBuAqHID9wA9Q":this.a.j().key;w_I("http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-vbpe&key="+a);
w_Ga("http://www.google.com/uds/css/gsearch.css");w_J(w_Ba);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_Ga("http://www.google.com/uds/solutions/videobar/gsvideobar.css");window._UDS_vb_bootstrapped=true}var b=this.b(),c=b.o("bar");w_q(c,"videoBar-container");if(!w_K())w_J(w_Ha.bind(b));else window.setTimeout(w_Ha.bind(b),0)};function w_Ha(){var a=this.o("bar"),b=this.j().format,
c,d,e=this.j().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_Ia(a){document.write('<script src="'+a+'" type="text/javascript"><\/script>')}function w_Ja(a){document.write('<style type="text/css"> @import url( "'+a+'" );</style>')}function w_Ka(a){if(w_La())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_Ma(){window._UDS_loaded=true}function w_La(){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.i=function(){if(!window._UDS_bootstrapped){var a;a=window.location.host.match(/blogger\.com$/)?"ABQIAAAAVBJEtyJuLxgUs8KlzeA1lRQpkWYODHKIJGlKH8M-8R98XOejsxRkHYkMWejKfPos1RBuAqHID9wA9Q":this.a.j().key;w_Ia("http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-nbpe&key="+
a);w_Ja("http://www.google.com/uds/css/gsearch.css");w_Ka(w_Ma);window._UDS_bootstrapped=true}if(!window._UDS_nb_bootstrapped){window._uds_nbw_donotrepair=true;w_Ia("http://www.google.com/uds/solutions/newsbar/gsnewsbar.js?mode=new");w_Ja("http://www.google.com/uds/solutions/newsbar/gsnewsbar.css");window._UDS_nb_bootstrapped=true}var b=this.b();if(!w_La())w_Ka(w_Na.bind(b));else window.setTimeout(w_Na.bind(b),0)};function w_Na(){var a=this.o("bar"),b,c=this.j().format;if(c=="VERTICAL")b=false;else if(c==
"HORIZONTAL-SMALL")b=true;else if(c=="HORIZONTAL-MEDIUM")b=true;var d=this.j().expression,e=this.j().linkNewWindow,f;f=e==true?GSearch.LINK_TARGET_BLANK: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_Oa(a){document.write('<script src="'+a+'" type="text/javascript"><\/script>')}function w_Pa(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.i=
function(){if(!window._UDS_jsapi_bootstrapped){var a;a=window.location.host.match(/blogger\.com$/)?"ABQIAAAAVBJEtyJuLxgUs8KlzeA1lRQpkWYODHKIJGlKH8M-8R98XOejsxRkHYkMWejKfPos1RBuAqHID9wA9Q":this.a.j().key;w_Oa("http://www.google.com/jsapi?source=uds-afspe&key="+a);window._UDS_jsapi_bootstrapped=true}if(!window._UDS_fs_bootstrapped){w_Oa("http://www.google.com/uds/solutions/slideshow/gfslideshow.js?mode=new");window._UDS_fs_bootstrapped=true}var b=this.b(),c=w_Qa.bind(b);if(!window.google||!window.google.feeds)w_Ra(c);
else window.setTimeout(c,0)};function w_Ra(a){w_Pa(function(){google.load("feeds","1",{callback:a})})}function w_Qa(){var a=this.o("slideshow"),b=this.j().computedFeed,c=this.j().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.Gc={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.Gc)};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;d.disabled=a=="HIERARCHY"?false: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.tc=a;w_W.I=document.getElementById("archive-previews");w_W.sc=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.sc.length;c++){var d=w_W.sc[c];if(w_p(d,a)&&w_p(d,b)){w_q(d,w_W.ACTIVE_PREVIEW_CLASS);if(w_p(d,"MENU"))w_W.Bc(d)}else{w_r(d,
w_W.ACTIVE_PREVIEW_CLASS);if(w_p(d,"MENU"))w_W.yc(d)}}};w_W.yc=function(a){var b=a.getElementsByTagName("select");for(var c=0;c<b.length;c++)b[c].style.display="none"};w_W.Bc=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.tc[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_Sa(w_W.I,document.forms.config.showWeekEnd.checked,"weekend");var a=w_W.tc.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_Sa(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_Sa(a,b,c){var d=
w_X(a,c);for(var e=0;e<d.length;e++){var f=d[e];w_o(f,b)}}function w_X(a,b){var c={};c.select=function(d){return d&&w_p(d,b)};return w_s(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.xc={sorting:null,title:null,securityToken:null};w_Z._Configure=function(){w_y.ConfigureWidget(w_Z.xc)};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_q(c[d],w_Z.HIDDEN_CLASS);w_r(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.i=function(){this.e.rootElement.style.display=this.a.j().isDisplayable==false?"none":""};var _ProfileView=w_4;function w_Ta(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_Ua="/feedReaderJson/";function w_Va(a){w_Ua=a}function w_Wa(a){return"FW_ScriptElement"+a}function w_5(){this.requests={};this.currentId=0;this.completed=[]}w_5.prototype.Fb=function(a,b){var c=++this.currentId,d={};d.handler=a;d.errorHandler=b;this.requests[c]=d;return c};w_5.prototype.la=function(a){var b=this.requests[a];this.requests[a]=null;this.completed.push(a);return b};w_5.prototype.gb=function(){while(this.completed.length){var a=this.completed.pop(),b=document.getElementById(w_Wa(a));
if(b)b.parentNode.removeChild(b)}};w_5.prototype.Ib=function(a,b,c,d,e,f){this.gb();var g=this.Fb(c,d),h=w_Ua+"?feedUrl="+encodeURIComponent(a)+"&n="+b+"&requestId="+encodeURIComponent(g)+"&locale="+encodeURIComponent(e)+"&timeZone="+encodeURIComponent(f),i=w_Wa(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_Xa(a){return w_6.la(a).handler}function w_Ya(a){return w_6.la(a).errorHandler}
function w_Za(a,b,c,d,e,f){w_6.Ib(a,b,c,d,e,f)}var _FW_setFeedReaderJsonBaseUrl=w_Va,_FW_getHandler=w_Xa,_FW_getErrorHandler=w_Ya;function w_7(a,b,c,d){this.z=a;this.La=b;this.Ic=c;this.fa=d;this.$a=new w_C("status-message");this.ca="";this.nc=false}w_7.zc=5;w_7.vc="moduleTitle";w_7.Pc="feedUrl";w_7.kb="step1";w_7.lb="step1Buttons";w_7.mb="step2";w_7.nb="preview";w_7.Ac="item-title";w_7.Kb="item-date";w_7.Jb="item-author";w_7.U="feedUrl";w_7.prototype.ja=function(a){this.$a.ia();w_B.ClearError(w_7.U);if((!a.items||a.items.length===0)&&a.title==="")this.$();else{var b=document.getElementById(w_7.vc);if(b.value===""||this.nc){b.value=
a.title;this.Ta=a.title}this.T(a);this.vb();this.Eb(b)}};w_7.prototype.Eb=function(a){a.style.display="none";a.style.display=""};w_7.prototype.$=function(){this.$a.ia();w_B.SetError(w_7.U,this.fa._invalidFeedUrl);this.X()};w_7.prototype.Ga=function(){};w_7.prototype.T=function(a){this.Gb(this.La);for(var b=0;b<a.items.length;b++){var c=a.items[b];this.eb(c,this.La)}this.wa();this.ta();this.ua();this.va()};w_7.prototype.X=function(){this.u(w_7.kb,true);this.u(w_7.lb,true);this.u(w_7.mb,false);this.u(w_7.nb,
false)};w_7.prototype.vb=function(){this.u(w_7.kb,false);this.u(w_7.lb,false);this.u(w_7.mb,true);this.u(w_7.nb,true)};w_7.prototype.u=function(a,b){w_n(document.getElementById(a),b)};w_7.prototype.dc=function(a){return a?"":"none"};w_7.prototype.Ha=function(a,b){if(this.z)return;var c=w_Ta(a);c.style.display=this.dc(b)};w_7.prototype.Ba=function(a){this.Ta=a;this.va()};w_7.prototype.va=function(){if(this.z)return;this.Ic.innerHTML=this.Ta};w_7.prototype.Ea=function(a){this.Xa=a;this.ta()};w_7.prototype.ta=
function(){this.Ha(w_7.Jb,this.Xa)};w_7.prototype.Fa=function(a){this.Ya=a;this.ua()};w_7.prototype.ua=function(){this.Ha(w_7.Kb,this.Ya)};w_7.prototype.Ca=function(a){this.pc=a;this.wa()};w_7.prototype.wa=function(){var a=this.La.getElementsByTagName("li");for(var b=0;b<a.length;b++)w_n(a[b],b<this.pc)};w_7.prototype.eb=function(a,b){var c=document.createElement("li");b.appendChild(c);var d=document.createElement("span");d.className=w_7.Ac;c.appendChild(d);var e=document.createElement("a");d.appendChild(e);
e.href=a.alternate.href;e.target=this.z?"_self":"_blank";e.innerHTML=a.title;if(!this.z||this.Ya){var f=document.createElement("span");f.className=w_7.Kb;f.innerHTML="&nbsp;-&nbsp;"+a.str_published;c.appendChild(f)}if(!this.z||this.Xa){var g=document.createElement("span");g.className=w_7.Jb;g.innerHTML="&nbsp;-&nbsp;"+a.author;c.appendChild(g)}};w_7.prototype.Gb=function(a){while(a.firstChild)a.removeChild(a.firstChild)};w_7.prototype.ya=function(a,b,c,d,e,f,g){if(!a||a===""){w_B.SetError(w_7.U,this.fa._missingFeedUrl);
return}if(a.length>2083){w_B.SetError(w_7.U,this.fa._feedUrlTooLong);return}this.$a.p(this.fa._retrievingFeed);this.Da(a,b,c,d,e,f,g);this.Z(w_7.prototype.ja,w_7.prototype.$)};w_7.prototype.Hb=function(a,b,c,d,e,f,g){this.Da(a,b,c,d,null,e,f);var h=w_w(w_7.prototype.Z,this,w_7.prototype.T,w_7.prototype.Ga);window.setInterval(h,g*1000)};w_7.prototype.Z=function(a,b){var c=w_w(a,this),d=w_w(b,this);w_Za(this.ca,w_7.zc,c,d,this.Hc,this.Mc)};w_7.prototype.Da=function(a,b,c,d,e,f,g){this.nc=this.ca!=""&&
this.ca!=a;this.ca=a;this.pc=b;this.Ya=c;this.Xa=d;this.Ta=e;this.Hc=f;this.Mc=g};w_7.prototype._GoToStep1=w_7.prototype.X;w_7.prototype._RetrieveFeedAndGoToStep2=w_7.prototype.ya;w_7.prototype._SetModuleTitleAndRefresh=w_7.prototype.Ba;w_7.prototype._SetShowItemAuthorAndRefresh=w_7.prototype.Ea;w_7.prototype._SetShowItemDateAndRefresh=w_7.prototype.Fa;w_7.prototype._SetNumItemsShowAndRefresh=w_7.prototype.Ca;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.i=function(){var a=this.a.o("feedItemListDisplay"),b=new w_7(true,a,null,null),c=this.a.k().data;b.Hb(c.feedUrl,c.numItemsShow,c.showItemDate,c.showItemAuthor,c.locale,c.timeZone,c.feedWidgetRefreshIntervalSec)};w_8.wc={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.wc)};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_$;

