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

