/* Copyright 2007 Google. All Rights Reserved. */ (function() { 
var Cc=encodeURIComponent,gb=Number,zb=navigator,ih=Boolean,Qa=undefined,sa=parseInt,Ja=parseFloat,Ia=String,Zf=confirm,Yf=Function,Y=document,Od=decodeURIComponent,Pd=isNaN,t=Math;function Bh(a,b){return a.stop=b}function pb(a,b){return a.toString=b}function Sb(a,b){return a.length=b}function Wd(a,b){return a.position=b}function ng(a,b){return a.relatedTarget=b}function Ra(a,b){return a.className=b}function wa(a,b){return a.width=b}function lg(a,b){return a.data=b}function yh(a,b){return a.opacity=
b}function T(a,b){return a.innerHTML=b}function Yd(a,b){return a.value=b}function Bd(a,b){return a.fontSize=b}function mf(a,b){return a.color=b}function Vd(a,b){return a.currentTarget=b}function Cb(a,b){return a.left=b}function id(a,b){return a.target=b}function pg(a,b){return a.screenX=b}function qg(a,b){return a.screenY=b}function zh(a,b){return a.remove=b}function Ah(a,b){return a.start=b}function kg(a,b){return a.cssText=b}function mg(a,b){return a.keyCode=b}function og(a,b){return a.returnValue=
b}function xh(a,b){return a.href=b}function Db(a,b){return a.type=b}function Gc(a,b){return a.clear=b}function Cd(a,b){return a.setPosition=b}function Xd(a,b){return a.reset=b}function Tb(a,b){return a.onclick=b}function Ea(a,b){return a.display=b}function Aa(a,b){return a.height=b}function vh(a,b){return a.clientX=b}function wh(a,b){return a.clientY=b}function rg(a,b){return a.visibility=b}var lf="scrollTop",Vc="previousSibling",bg="altKey",ph="innerText",fg="hash",ag="activeElement",pe="outerHTML",
i="length",rh="plugins",oh="htmlText",_P="prototype",uh="sourceIndex",qe="relatedTarget",Pb="className",x="width",ue="text",pc="clientWidth",se="slice",me="field",th="selection",Q="nodeType",eb="startContainer",ta="document",eg="data",Uc="ctrlKey",ga="content",qh="opacity",db="innerHTML",Td="mimeTypes",kf="offsetWidth",jf="offsetParent",te="srcElement",cf="collapsed",La="value",Hb="location",gd="fontSize",cg="button",zd="metaKey",hf="offsetLeft",Tc="color",lh="anchorNode",k="style",dg="capture",ne=
"focusNode",va="nodeName",Dc="currentTarget",B="body",qa="left",za="ownerDocument",S="target",ec="screenX",fc="screenY",yd="lastChild",gg="innerHeight",hg="readyState",mh="charCode",Gb="cells",wd="cssText",sh="protocol",Ec="endContainer",ig="scrollHeight",hb="keyCode",Z="firstChild",Fc="endOffset",dc="clientHeight",jg="scrollLeft",df="compatMode",Qd="bottom",le="currentStyle",gf="href",Rd="console",Rb="rows",F="type",ja="childNodes",re="shiftKey",ea="tagName",xd="defaultView",hd="name",n="parentNode",
nh="display",Qb="nextSibling",oe="offsetTop",ef="contentWindow",w="height",Ad="offsetHeight",gc="startOffset",Bb="nodeValue",vb="clientX",wb="clientY",Sd="documentElement",Ud="right",ff="event";var vq=vq||{},oa=this;var hr=function(a,b){var c=a.split("."),d=oa,e;while(e=c.shift()){if(!c[i]&&ka(b)){d[e]=b}else if(d[e]){d=d[e]}else{d=(d[e]={})}}},Tm=function(a){var b=a.split("."),c=oa;for(var d;d=b.shift();){if(c[d]){c=c[d]}else{return null}}return c};var ka=function(a){return typeof a!="undefined"},zc=function(a){return a===null},Oa=function(a){return a instanceof Array||ki(a)&&typeof a.join=="function"&&typeof a.reverse=="function"},Ve=function(a){return ki(a)&&typeof a[i]=="number"},Ha=
function(a){return typeof a=="string"},ji=function(a){return typeof a=="number"},We=function(a){return typeof a=="function"||!(!(a&&a.call))},ki=function(a){return a!=null&&typeof a=="object"},jc=function(a){if(a.hasOwnProperty&&a.hasOwnProperty(Gg)){return a[Gg]}if(!a[Gg]){a[Gg]=++or}return a[Gg]},Gg="closure_hashCode_",or=0,J=function(a,b){var c=a.Zv;if(arguments[i]>2){var d=Array[_P][se].call(arguments,2);if(c){d.unshift.apply(d,c)}c=d}b=a.bw||b;a=a.aw||a;var e,f=b||oa;if(c){e=function(){var g=
Array[_P][se].call(arguments);g.unshift.apply(g,c);return a.apply(f,g)}}else{e=function(){return a.apply(f,arguments)}}e.Zv=c;e.bw=b;e.aw=a;return e},ln=function(a){var b=Array[_P][se].call(arguments,1);b.unshift(a,null);return J.apply(null,b)};var Ua=function(){return(new Date).getTime()};var wc=function(a,b){var c=b||{};for(var d in c){a=a.replace(new RegExp("\\{\\$"+d+"\\}","gi"),c[d])}return a},Nc=function(a,b){hr(a,b)},Hj=function(a,b,c){a[b]=c};if(!Yf[_P].apply){Yf[_P].apply=function(a,b){var c=
[],d,e;if(!a)a=oa;if(!b)b=[];for(var f=0;f<b[i];f++){c[f]="args["+f+"]"}e="oScope.__applyTemp__.peek().("+c.join(",")+");";if(!a.__applyTemp__){a.__applyTemp__=[]}a.__applyTemp__.push(this);d=eval(e);a.__applyTemp__.pop();return d}}Yf[_P].J=function(a){if(arguments[i]>1){var b=Array[_P][se].call(arguments,1);b.unshift(this,a);return J.apply(null,b)}else{return J(this,a)}};Yf[_P].vg=function(){var a=Array[_P][se].call(arguments);a.unshift(this,null);return J.apply(null,a)};Yf[_P].b=function(a){pr(this,
a)};var pr=function(a,b){function c(){}c.prototype=b[_P];a.g=b[_P];a.prototype=new c;a[_P].constructor=a};var Jc=function(){};Jc[_P].Hk=false;Jc[_P].L=function(){return this.Hk};Jc[_P].f=function(){if(!this.Hk){this.Hk=true}};var qr=function(a){if(a==""){return false}a=a.replace(/"(\\.|[^"\\])*"/g,"");return a==""||!/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(a)},rr=function(a){a=Ia(a);if(typeof a.parseJSON=="function"){return a.parseJSON()}if(qr(a)){try{return eval("("+a+")")}catch(b){}}throw Error("Invalid JSON string: "+a);},Tj=null,$m=function(a){if(!Tj){Tj=new Xe}return Tj.OC(a)},Xe=function(){};Xe[_P].OC=function(a){if(a!=null&&typeof a.toJSONString=="function"){return a.toJSONString()}var b=[];this.Bm(a,b);return b.join("")};
Xe[_P].Bm=function(a,b){switch(typeof a){case "string":this.kt(a,b);break;case "number":this.QC(a,b);break;case "boolean":b.push(a);break;case "undefined":b.push("null");break;case "object":if(a==null){b.push("null");break}if(Oa(a)){this.PC(a,b);break}this.RC(a,b);break;default:throw Error("Unknown type: "+typeof a);}};var Sj={'"':'\\"',"\\":"\\\\","/":"\\/","\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\u000b":"\\u000b"};Xe[_P].kt=function(a,b){b.push('"',a.replace(/[\\\"\x00-\x1f\x80-\uffff]/g,
function(c){if(c in Sj){return Sj[c]}var d=c.charCodeAt(0),e="\\u";if(d<16){e+="000"}else if(d<256){e+="00"}else if(d<4096){e+="0"}return Sj[c]=e+d.toString(16)}),'"')};Xe[_P].QC=function(a,b){b.push(isFinite(a)&&!Pd(a)?a:"null")};Xe[_P].PC=function(a,b){var c=a[i];b.push("[");var d="";for(var e=0;e<c;e++){b.push(d);this.Bm(a[e],b);d=","}b.push("]")};Xe[_P].RC=function(a,b){b.push("{");var c="";for(var d in a){b.push(c);this.kt(d,b);b.push(":");this.Bm(a[d],b);c=","}b.push("}")};var xn=function(a,b){return a.indexOf(b)==0},qn=function(a,b){var c=a[i]-b[i];return c>=0&&a.lastIndexOf(b,c)==c},ni=function(a){for(var b=1;b<arguments[i];b++){var c=Ia(arguments[b]).replace(/\$/g,"$$$$");a=a.replace(/\%s/,c)}return a},ak=function(a){return a.replace(/(\r\n|\r|\n)+/g," ")};var Vg=function(a){return a.replace(/^\s+|\s+$/g,"")},yn=function(a){return a.replace(/^\s+/,"")};var Hr=/^[a-zA-Z0-9\-_.!~*'()]*$/,ck=function(a){a=Ia(a);if(!Hr.test(a)){return Cc(a)}return a},bk=function(a){return Od(a.replace(/\+/g,
" "))},mi=function(a,b){return a.replace(/(\r\n|\r|\n)/g,b?"<br />":"<br>")},fe=function(a,b){if(b){return a.replace(mn,nn).replace(tn,un).replace(rn,sn).replace(vn,wn)}else{if(!Fr.test(a))return a;if(a.indexOf(Gr)!=-1){a=a.replace(mn,nn)}if(a.indexOf(Jr)!=-1){a=a.replace(tn,un)}if(a.indexOf(Ir)!=-1){a=a.replace(rn,sn)}if(a.indexOf(Kr)!=-1){a=a.replace(vn,wn)}return a}},Gr="&",Jr="<",Ir=">",Kr='"',nn="&amp;",un="&lt;",sn="&gt;",wn="&quot;",mn=/&/g,tn=/</g,rn=/>/g,vn=/\"/g,Fr=/[&<>\"]/,Mr=function(a){if(pn(a,
"&")){if("document"in oa&&!pn(a,"<")){return Nr(a)}else{return Or(a)}}return a},Nr=function(a){var b=oa.document.createElement("a");b.innerHTML=a;if(b.normalize){b.normalize()}a=b.firstChild.nodeValue;b.innerHTML="";return a},Or=function(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if(c.charAt(0)=="#"){var d=gb("0"+c.substr(1));if(!Pd(d)){return Ia.fromCharCode(d)}}return b}})},dk=function(a,b){return mi(a.replace(/  /g,
" &#160;"),b)},Lr=function(a,b,c){if(c){a=Mr(a)}if(a[i]>b){var d=t.floor(b/2),e=a[i]-d;d+=b%2;a=a.substring(0,d)+"..."+a.substring(e)}if(c){a=fe(a)}return a},pn=function(a,b){return a.indexOf(b)!=-1},Zj=function(){return Array[_P].join.call(arguments,"")};var on=function(a,b){var c=0,d=Ia(a).split("."),e=Ia(b).split("."),f=t.max(d[i],e[i]);for(var g=0;c==0&&g<f;g++){var h=d[g]||"",j=e[g]||"",m=new RegExp("(\\d*)(\\D*)","g"),l=new RegExp("(\\d*)(\\D*)","g");do{var o=m.exec(h)||["","",""],r=l.exec(j)||
["","",""];if(o[0][i]==0&&r[0][i]==0){break}var K=o[1][i]==0?0:sa(o[1],10),N=r[1][i]==0?0:sa(r[1],10);c=$j(K,N)||$j(o[2][i]==0,r[2][i]==0)||$j(o[2],r[2])}while(c==0)}return c},$j=function(a,b){if(a<b){return-1}else if(a>b){return 1}return 0};var oj=function(a){return a[a[i]-1]},Rh=function(a,b,c){if(a.indexOf){return a.indexOf(b,c)}if(Array.indexOf){return Array.indexOf(a,b,c)}if(c==null){c=0}else if(c<0){c=t.max(0,a[i]+c)}for(var d=c;d<a[i];d++){if(d in a&&a[d]===b)return d}return-1},Vb=function(a,b,c){if(a.forEach){a.forEach(b,c)}else if(Array.forEach){Array.forEach(a,b,c)}else{var d=a[i],e=Ha(a)?a.split(""):a;for(var f=0;f<d;f++){if(f in e){b.call(c,e[f],f,a)}}}},Fq=function(a,b,c){if(a.filter){return a.filter(b,c)}if(Array.filter){return Array.filter(a,
b,c)}var d=a[i],e=[],f=Ha(a)?a.split(""):a;for(var g=0;g<d;g++){if(g in f){var h=f[g];if(b.call(c,h,g,a)){e.push(h)}}}return e},nm=function(a,b,c){if(a.map){return a.map(b,c)}if(Array.map){return Array.map(a,b,c)}var d=a[i],e=[],f=Ha(a)?a.split(""):a;for(var g=0;g<d;g++){if(g in f){e.push(b.call(c,f[g],g,a))}}return e},Dq=function(a,b,c){if(a.every){return a.every(b,c)}if(Array.every){return Array.every(a,b,c)}var d=a[i],e=Ha(a)?a.split(""):a;for(var f=0;f<d;f++){if(f in e&&!b.call(c,e[f],f,a)){return false}}return true},
pd=function(a,b){if(a.contains){return a.contains(b)}return Rh(a,b)>-1};var km=function(a){if(!Oa(a)){for(var b=a[i]-1;b>=0;b--){delete a[b]}}Sb(a,0)},Gq=function(a,b){if(!pd(a,b)){a.push(b)}},mm=function(a,b,c){qj(a,c,0,b)},Jg=function(a,b){var c=Rh(a,b),d;if(d=c!=-1){Array[_P].splice.call(a,c,1)[i]==1}return d};var lm=function(a){if(Oa(a)){return a.concat()}else{var b=[];for(var c=0,d=a[i];c<d;c++){b[c]=a[c]}return b}},Eq=function(a,b){for(var c=1;c<arguments[i];c++){var d=arguments[c];if(!Oa(d)){a.push(d)}else{a.push.apply(a,
d)}}},qj=function(a,b,c,d){return Array[_P].splice.apply(a,pj(arguments,1))},pj=function(a,b,c){if(arguments[i]<=2){return Array[_P][se].call(a,b)}else{return Array[_P][se].call(a,b,c)}},Hq=function(a,b){Array[_P].sort.call(a,b||Cq)},Cq=function(a,b){return a>b?1:(a<b?-1:0)};var Xj=function(a,b,c){for(var d in a){b.call(c,a[d],d,a)}},gn=function(a,b,c){for(var d in a){if(!b.call(c,a[d],d,a)){return false}}return true},Er=function(a){var b=0;for(var c in a){b++}return b},jn=function(a){var b=[];for(var c in a){b.push(a[c])}return b},Yj=function(a){var b=[];for(var c in a){b.push(c)}return b},Cr=function(a,b){for(var c in a){if(a[c]==b){return true}}return false},li=function(a){for(var b in a){return false}return true},Ug=function(a,b){var c;if(c=b in a){delete a[b]}return c},
fn=function(a,b,c){if(b in a){throw Error('The object already contains the key "'+b+'"');}kn(a,b,c)},hn=function(a,b,c){if(b in a){return a[b]}return c},kn=function(a,b,c){a[b]=c},Br=function(a){var b={};for(var c in a){b[c]=a[c]}return b},en=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Dr=function(a,b){var c,d;for(var e=1;e<arguments[i];e++){d=arguments[e];for(c in d){a[c]=d[c]}for(var f=0;f<en[i];f++){c=en[f];if(Object[_P].hasOwnProperty.call(d,
c)){a[c]=d[c]}}}};var An=function(a){if(typeof a.ma=="function"){return a.ma()}if(Ve(a)||Ha(a)){return a[i]}return Er(a)},gk=function(a){if(typeof a.$a=="function"){return a.$a()}if(Ha(a)){return a.split("")}if(Ve(a)){var b=[],c=a[i];for(var d=0;d<c;d++){b.push(a[d])}return b}return jn(a)},Bn=function(a){if(typeof a.Gc=="function"){return a.Gc()}if(typeof a.$a=="function"){return Qa}if(Ve(a)||Ha(a)){var b=[],c=a[i];for(var d=0;d<c;d++){b.push(d)}return b}return Yj(a)},Qr=function(a,b){if(typeof a.contains=="function"){return a.contains(b)}if(typeof a.ph==
"function"){return a.ph(b)}if(Ve(a)||Ha(a)){return pd(a,b)}return Cr(a,b)},pi=function(a,b,c){if(typeof a.forEach=="function"){a.forEach(b,c)}else if(Ve(a)||Ha(a)){Vb(a,b,c)}else{var d=Bn(a),e=gk(a),f=e[i];for(var g=0;g<f;g++){b.call(c,e[g],d&&d[g],a)}}},Rr=function(a,b,c){if(typeof a.every=="function"){return a.every(b,c)}if(Ve(a)||Ha(a)){return Dq(a,b,c)}var d=Bn(a),e=gk(a),f=e[i];for(var g=0;g<f;g++){if(!b.call(c,e[g],d&&d[g],a)){return false}}return true};var Va=function(a){this.$={};this.v=[];if(a){this.Gj(a)}},ek=":",zn=ek.charCodeAt(0);Va[_P].C=0;var oi=function(a){a=Ia(a);if(a in Object[_P]){return ek+a}else if(a.charCodeAt(0)==zn){return ek+a}else{return a}},Pr=function(a){if(a.charCodeAt(0)==zn){return a.substring(1)}else{return a}};Va[_P].ma=function(){return this.C};Va[_P].$a=function(){this.ak();var a=[];for(var b=0;b<this.v[i];b++){var c=this.v[b];a.push(this.$[c])}return a};Va[_P].Gc=function(){this.ak();var a=[];for(var b=0;b<this.v[i];b++){var c=
this.v[b];a.push(Pr(c))}return a};Va[_P].wc=function(a){return oi(a)in this.$};Va[_P].ph=function(a){for(var b=0;b<this.v[i];b++){var c=this.v[b];if(c in this.$){if(this.$[c]==a){return true}}}return false};Va[_P].Kb=function(){return this.C==0};Gc(Va[_P],function(){this.$={};Sb(this.v,0);this.C=0});zh(Va[_P],function(a){var b=oi(a);if(Ug(this.$,b)){this.C--;if(this.v[i]>2*this.C){this.ak()}return true}return false});Va[_P].ak=function(){if(this.C!=this.v[i]){var a=0,b=0;while(a<this.v[i]){var c=
this.v[a];if(c in this.$){this.v[b++]=c}a++}Sb(this.v,b)}if(this.C!=this.v[i]){var d={},a=0,b=0;while(a<this.v[i]){var c=this.v[a];if(!(c in d)){this.v[b++]=c;d[c]=1}a++}Sb(this.v,b)}};Va[_P].Y=function(a,b){var c=oi(a);if(c in this.$){return this.$[c]}return b};Va[_P].B=function(a,b){var c=oi(a);if(!(c in this.$)){this.C++;this.v.push(c)}this.$[c]=b};Va[_P].Gj=function(a){var b,c;if(a instanceof Va){b=a.Gc();c=a.$a()}else{b=Yj(a);c=jn(a)}for(var d=0;d<b[i];d++){this.B(b[d],c[d])}};Va[_P].u=function(){return new Va(this)};var Mb=function(a){this.$=new Va;if(a){this.Gj(a)}},fk=function(a){var b=typeof a;if(b=="object"){return"o"+jc(a)}else{return b.substr(0,1)+a}};Mb[_P].ma=function(){return this.$.ma()};Mb[_P].add=function(a){this.$.B(fk(a),a)};Mb[_P].Gj=function(a){var b=gk(a),c=b[i];for(var d=0;d<c;d++){this.add(b[d])}};zh(Mb[_P],function(a){return this.$.remove(fk(a))});Gc(Mb[_P],function(){this.$.clear()});Mb[_P].Kb=function(){return this.$.Kb()};Mb[_P].contains=function(a){return this.$.wc(fk(a))};Mb[_P].$a=function(){return this.$.$a()};
Mb[_P].u=function(){return new Mb(this)};Mb[_P].Ih=function(a){return this.ma()!=An(a)?false:this.HA(a)};Mb[_P].HA=function(a){var b=An(a);if(this.ma()>b){return false}if(!(a instanceof Mb)&&b>5){a=new Mb(a)}return Rr(this,function(c){return Qr(a,c)})};var Oq=function(a,b){try{var c=Qq(a),d="Message: "+fe(c.message)+'\nUrl: <a href="view-source:'+c.fileName+'" target="_new">'+c.fileName+"</a>\nLine: "+c.lineNumber+"\n\nBrowser stack:\n"+fe(c.stack+"-> ")+"[end]\n\nJS stack traversal:\n"+fe(Pq(b)+"-> ");return d}catch(e){return"Exception trying to expose exception! You win, we lose. "+e}},Qq=function(a){var b=Tm("document.location.href");return typeof a=="string"?{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"}:
(!a.lineNumber||!a.fileName||!a.stack?{message:a.message,name:a[hd],lineNumber:"Not available",fileName:b,stack:"Not available"}:a)},Pq=function(a){return ym(a||arguments.callee.caller,[])},ym=function(a,b){var c=[];if(pd(b,a)){c.push("[...circular reference...]")}else if(a&&b[i]<50){c.push(xm(a)+"(");var d=a.arguments;for(var e=0;e<d[i];e++){if(e>0){c.push(", ")}var f,g=d[e];switch(typeof g){case "object":f=g?"object":"null";break;case "string":f=g;break;case "number":f=Ia(g);break;case "boolean":f=
g?"true":"false";break;case "function":f=xm(g);f=f?f:"[fn]";break;case "undefined":default:f=typeof g;break}if(f[i]>40){f=f.substr(0,40)+"..."}c.push(f)}b.push(a);c.push(")\n");try{c.push(ym(a.caller,b))}catch(h){c.push("[exception trying to get caller]\n")}}else if(a){c.push("[...long stack...]")}else{c.push("[end]")}return c.join("")},xm=function(a){var b=Ia(a);if(!Xh[b]){var c=/function ([^\(]+)/.exec(b);if(c){var d=c[1],e=/^\$(.+)\$$/.exec(d);if(e){d=e[1].replace(/\${1,2}/g,".")}Xh[b]=d}else{Xh[b]=
"[Anonymous]"}}return Xh[b]},Xh={};var Lc=function(a,b,c){this.tF=Kq++;this.fE=Ua();this.Mc=a;this.dB=b;this.PA=c};Lc[_P].Gp=null;Lc[_P].Fp=null;var Kq=0;Lc[_P].dl=function(){return this.PA};Lc[_P].oy=function(){return this.Gp};Lc[_P].$C=function(a){this.Gp=a};Lc[_P].py=function(){return this.Fp};Lc[_P].aD=function(a){this.Fp=a};Lc[_P].bi=function(){return this.Mc};Lc[_P].Mm=function(a){this.Mc=a};Lc[_P].gq=function(){return this.dB};Lc[_P].hq=function(){return this.fE};var kb=function(a){this.F=a;this.ba=null;this.ua={};this.wi=[]};kb[_P].Mc=null;var Zc=function(a,b){this.name=a;Yd(this,b)};pb(Zc[_P],function(){return this[hd]});var gt=new Zc("OFF",Infinity),tm=new Zc("SHOUT",1200),vj=new Zc("SEVERE",1000),wj=new Zc("WARNING",900),sm=new Zc("INFO",800),Mq=new Zc("CONFIG",700),zf=new Zc("FINE",500),et=new Zc("FINER",400),ft=new Zc("FINEST",300),Lq=new Zc("ALL",0),Mc=function(a){return Sh(a)};kb[_P].di=function(){return this.F};kb[_P].lo=function(a){this.wi.push(a)};
kb[_P].Ss=function(a){return Jg(this.wi,a)};kb[_P].Hc=function(){return this.ba};kb[_P].Mm=function(a){this.Mc=a};kb[_P].bi=function(){return this.Mc};kb[_P].jy=function(){if(this.Mc){return this.Mc}if(this.ba){return this.ba.jy()}return null};kb[_P].Wd=function(a){if(this.Mc){return a[La]>=this.Mc[La]}if(this.ba){return this.ba.Wd(a)}return false};kb[_P].log=function(a,b,c){if(!this.Wd(a)){return}var d=new Lc(a,Ia(b),this.F);if(c){d.$C(c);d.aD(Oq(c,arguments.callee.caller))}this.OA(d)};kb[_P].db=
function(a,b){this.log(vj,a,b)};kb[_P].yE=function(a,b){this.log(wj,a,b)};kb[_P].T=function(a,b){this.log(sm,a,b)};kb[_P].Cc=function(a,b){this.log(zf,a,b)};kb[_P].OA=function(a){if(!this.Wd(a.bi())){return}var b=this;while(b){b.lw(a);b=b.Hc()}};kb[_P].lw=function(a){for(var b=0;b<this.wi[i];b++){this.wi[b](a)}};kb[_P].lD=function(a){this.ba=a};kb[_P].wv=function(a,b){this.ua[a]=b};var Th={},Kg=null,rm=function(){if(!Kg){Kg=new kb("");Th[""]=Kg;Kg.Mm(Mq)}},qm=function(){rm();return Kg},Sh=function(a){rm();
if(a in Th){return Th[a]}else{return Jq(a)}},Jq=function(a){var b=new kb(a),c=a.split("."),d=c[c[i]-1];Sb(c,c[i]-1);var e=c.join("."),f=Sh(e);f.wv(d,b);b.lD(f);Th[a]=b;return b};var Uh=function(){this.Ms=Ua()},Nq=new Uh;Uh[_P].B=function(a){this.Ms=a};Xd(Uh[_P],function(){this.B(Ua())});Uh[_P].Y=function(){return this.Ms};var ee=function(a){this.Wi=a||"";this.iu=Nq};ee[_P].Xm=true;ee[_P].Zt=true;ee[_P].Yt=true;ee[_P].Rh=function(a){throw Error("Must override formatRecord");};var om=function(a){var b=new Date(a.hq());return Fe(b.getFullYear()-2000)+Fe(b.getMonth()+1)+Fe(b.getDate())+" "+Fe(b.getHours())+":"+Fe(b.getMinutes())+":"+Fe(b.getSeconds())+"."+Fe(t.floor(b.getMilliseconds()/10))},Fe=function(a){if(a<10){return"0"+a}return Ia(a)},pm=function(a,b){var c=a.hq()-b,d=c/1000,e=d.toFixed(3),f=0;if(d<1){f=2}else{while(d<
100){f++;d*=10}}while(f-- >0){e=" "+e}return e},uj=function(a){ee.call(this,a)};uj.b(ee);uj[_P].Rh=function(a){var b;switch(a.bi()[La]){case tm[La]:b="dbg-sh";break;case vj[La]:b="dbg-sev";break;case wj[La]:b="dbg-w";break;case sm[La]:b="dbg-i";break;case zf[La]:default:b="dbg-f";break}var c=[];c.push(this.Wi," ");if(this.Xm){c.push("[",om(a),"] ")}if(this.Zt){c.push("[",dk(pm(a,this.iu.Y())),"s] ")}if(this.Yt){c.push("[",fe(a.dl()),"] ")}c.push('<span class="',b,'">',mi(dk(fe(a.gq()))));if(a.oy()){c.push("<br>",
mi(dk(a.py())))}c.push("</span><br>");return c.join("")};var xj=function(a){ee.call(this,a)};xj.b(ee);xj[_P].Rh=function(a){var b=[];b.push(this.Wi," ");if(this.Xm){b.push("[",om(a),"] ")}if(this.Zt){b.push("[",pm(a,this.iu.Y()),"s] ")}if(this.Yt){b.push("[",a.dl(),"] ")}b.push(a.gq(),"\n");return b.join("")};var lc,s,v,On,la,ge,pk,Pn,ah,bh;(function(){var a=false,b=false,c=false,d=false,e=false,f=false,g=false,h=false,j=false,m=false,l=false,o="";if(oa.navigator){var r=zb.userAgent;a=typeof opera!="undefined";b=!a&&r.indexOf("MSIE")!=-1;c=!a&&r.indexOf("WebKit")!=-1;l=c&&r.indexOf("Mobile")!=-1;d=!a&&zb.product=="Gecko"&&!c;e=d&&zb.vendor=="Camino";f=!a&&r.indexOf("Konqueror")!=-1;g=f||c;var K,N;if(a){K=opera.version()}else{if(d){N=/rv\:([^\);]+)(\)|;)/}else if(b){N=/MSIE\s+([^\);]+)(\)|;)/}else if(c){N=
/WebKit\/(\S+)/}else if(f){N=/Konqueror\/([^\);]+)(\)|;)/}if(N){N.test(r);K=RegExp.$1}}o=zb.platform;h=o.indexOf("Mac")!=-1;j=o.indexOf("Win")!=-1;m=o.indexOf("Linux")!=-1}lc=a;s=b;v=d;On=e;la=c;ge=K;pk=h;Pn=j;ah=m;bh=l})();var Qn=function(a,b){return on(a,b)},Rc=function(a){return Qn(ge,a)>=0};var ha=function(a,b){var c;if(a instanceof ha){this.ff(b==null?a.Dy():b);this.Qm(a.Xy());this.Tm(a.qz());this.Fm(a.hy());this.Om(a.oq());this.hf(a.mq());this.Pm(a.Ty().u());this.Lm(a.zy())}else if(a&&(c=Ia(a).match(Aq()))){this.ff(!(!b));this.Qm(c[1],true);this.Tm(c[2],true);this.Fm(c[3],true);this.Om(c[4]);this.hf(c[5],true);this.Pm(c[6]);this.Lm(c[7],true)}else{this.ff(!(!b));this.Nb=new Ya(null,this,this.jc)}};ha[_P].od="";ha[_P].Ug="";ha[_P].If="";ha[_P].wg=null;ha[_P].ca="";ha[_P].Nb=null;ha[_P].Qf=
"";ha[_P].BA=false;ha[_P].jc=false;pb(ha[_P],function(){if(this.Da){return this.Da}var a=[];if(this.od){a.push(mj(this.od,jm),":")}if(this.If){a.push("//");if(this.Ug){a.push(mj(this.Ug,jm),"@")}a.push(im(this.If));if(this.wg!=null){a.push(":",Ia(this.oq()))}}if(this.ca){a.push(mj(this.ca,Bq))}var b=Ia(this.Nb);if(b){a.push("?",b)}if(this.Qf){a.push("#",im(this.Qf))}return this.Da=a.join("")});ha[_P].u=function(){return new xq(this.od,this.Ug,this.If,this.wg,this.ca,this.Nb.u(),this.Qf,this.jc)};
ha[_P].Xy=function(){return this.od};ha[_P].Qm=function(a,b){this.Xc();delete this.Da;this.od=b?Ig(a):a;if(this.od){this.od=this.od.replace(/:$/,"")}return this};ha[_P].qz=function(){return this.Ug};ha[_P].Tm=function(a,b){this.Xc();delete this.Da;this.Ug=b?Ig(a):a;return this};ha[_P].hy=function(){return this.If};ha[_P].Fm=function(a,b){this.Xc();delete this.Da;this.If=b?Ig(a):a;return this};ha[_P].oq=function(){return this.wg};ha[_P].Om=function(a){this.Xc();delete this.Da;if(a){a=gb(a);if(Pd(a)||
a<0){throw Error("Bad port number "+a);}this.wg=a}else{this.wg=null}return this};ha[_P].mq=function(){return this.ca};ha[_P].hf=function(a,b){this.Xc();delete this.Da;this.ca=b?Ig(a):a;return this};ha[_P].Pm=function(a){this.Xc();delete this.Da;if(a instanceof Ya){this.Nb=a;this.Nb.An=this;this.Nb.ff(this.jc)}else{this.Nb=new Ya(a,this,this.jc)}return this};ha[_P].Ty=function(){return this.Nb};ha[_P].Qb=function(a,b){this.Xc();delete this.Da;this.Nb.B(a,b);return this};ha[_P].zy=function(){return this.Qf};
ha[_P].Lm=function(a,b){this.Xc();delete this.Da;this.Qf=b?Ig(a):a;return this};ha[_P].Xc=function(){if(this.BA){throw Error("Tried to modify a read-only Uri");}};ha[_P].ff=function(a){this.jc=a;if(this.Nb){this.Nb.ff(a)}};ha[_P].Dy=function(){return this.jc};var xq=function(a,b,c,d,e,f,g,h){var j=new ha(null,h);j.Qm(a);j.Tm(b);j.Fm(c);j.Om(d);j.hf(e);j.Pm(f);j.Lm(g);return j},Ig=function(a){return a?bk(a):""},im=function(a){if(Ha(a)){return Cc(a)}return null},zq=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/,mj=
function(a,b){var c=null;if(Ha(a)){c=a;if(!zq.test(c)){c=encodeURI(a)}if(c.search(b)>=0){c=c.replace(b,yq)}}return c},yq=function(a){var b=a.charCodeAt(0);return"%"+(b>>4&15).toString(16)+(b&15).toString(16)},nj=null,Aq=function(){if(!nj){nj=/^(?:([^:\/?#]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/}return nj},jm=/[#\/\?@]/g,Bq=/[\#\?]/g,Ya=function(a,b,c){this.V=new Va;this.An=b;this.jc=!(!c);if(a){var d=a.split("&");for(var e=0;e<d[i];e++){var f=d[e].split("="),
g=bk(f[0]);g=this.Od(g);this.add(g,f[i]>1?bk(f[1]):"")}}};Ya[_P].C=0;Ya[_P].ma=function(){return this.C};Ya[_P].add=function(a,b){this.fg();a=this.Od(a);if(!this.wc(a)){this.V.B(a,b)}else{var c=this.V.Y(a);if(Oa(c)){c.push(b)}else{this.V.B(a,[c,b])}}this.C++;return this};zh(Ya[_P],function(a){a=this.Od(a);if(this.V.wc(a)){this.fg();var b=this.V.Y(a);if(Oa(b)){this.C-=b[i]}else{this.C--}return this.V.remove(a)}return false});Gc(Ya[_P],function(){this.fg();this.V.clear();this.C=0});Ya[_P].Kb=function(){return this.C==
0};Ya[_P].wc=function(a){a=this.Od(a);return this.V.wc(a)};Ya[_P].ph=function(a){var b=this.$a();return pd(b,a)};Ya[_P].Gc=function(){var a=this.V.$a(),b=this.V.Gc(),c=[];for(var d=0;d<b[i];d++){var e=a[d];if(Oa(e)){for(var f=0;f<e[i];f++){c.push(b[d])}}else{c.push(b[d])}}return c};Ya[_P].$a=function(a){var b;if(a){var c=this.Od(a);if(this.wc(c)){var d=this.V.Y(c);if(Oa(d)){return d}else{b=[];b.push(d)}}else{b=[]}}else{var e=this.V.$a();b=[];for(var f=0;f<e[i];f++){var g=e[f];if(Oa(g)){Eq(b,g)}else{b.push(g)}}}return b};
Ya[_P].B=function(a,b){this.fg();a=this.Od(a);if(this.wc(a)){var c=this.V.Y(a);if(Oa(c)){this.C-=c[i]}else{this.C--}}this.V.B(a,b);this.C++;return this};Ya[_P].Y=function(a,b){a=this.Od(a);if(this.wc(a)){var c=this.V.Y(a);if(Oa(c)){return c[0]}else{return c}}else{return b}};pb(Ya[_P],function(){if(this.Da){return this.Da}var a=[],b=0,c=this.V.Gc();for(var d=0;d<c[i];d++){var e=c[d],f=ck(e),g=this.V.Y(e);if(Oa(g)){for(var h=0;h<g[i];h++){if(b>0){a.push("&")}a.push(f,"=",ck(g[h]));b++}}else{if(b>0){a.push("&")}a.push(f,
"=",ck(g));b++}}return this.Da=a.join("")});Ya[_P].fg=function(){delete this.Da;if(this.An){delete this.An.Da}};Ya[_P].u=function(){var a=new Ya;a.V=this.V.u();return a};Ya[_P].Od=function(a){var b=Ia(a);if(this.jc){b=b.toLowerCase()}return b};Ya[_P].ff=function(a){var b=a&&!this.jc;if(b){this.fg();pi(this.V,function(c,d,e){var f=d.toLowerCase();if(d!=f){this.remove(d);this.add(f,c)}},this)}this.jc=a};Ya[_P].extend=function(a){for(var b=0;b<arguments[i];b++){var c=arguments[b];pi(c,function(d,e){this.add(e,
d)},this)}};var nb=function(a,b){Jc.call(this);this.WA=b;this.De=[];for(var c=0;c<a;c++){this.Pb(this.Bf())}};nb.b(Jc);nb[_P].ok=null;nb[_P].Gk=null;nb[_P].Fg=function(a){this.ok=a};nb[_P].st=function(a){this.Gk=a};nb[_P].Fb=function(){if(this.De[i]){return this.De.pop()}return this.Bf()};nb[_P].Pb=function(a){if(this.De[i]<this.WA){this.De.push(a)}else{this.Fk(a)}};nb[_P].Bf=function(){if(this.ok){return this.ok()}else{return{}}};nb[_P].Fk=function(a){if(this.Gk){this.Gk(a)}else{if(We(a.f)){a.f()}else{for(var b in a){delete a[b]}}}};
nb[_P].f=function(){if(!this.L()){nb.g.f.call(this);var a=this.De;while(a[i]){this.Fk(a.pop())}this.De=null}};var lb=function(a,b){Db(this,a);id(this,b);Vd(this,this[S])};lb.b(Jc);lb[_P].md=false;lb[_P].af=true;lb[_P].stopPropagation=function(){this.md=true};lb[_P].preventDefault=function(){this.af=false};var ra=function(a,b){if(a){this.eg(a,b)}};ra.b(lb);var Xq=[1,4,2];Db(ra[_P],null);id(ra[_P],null);Vd(ra[_P],null);ng(ra[_P],null);ra[_P].offsetX=0;ra[_P].offsetY=0;vh(ra[_P],0);wh(ra[_P],0);pg(ra[_P],0);qg(ra[_P],0);ra[_P].button=0;mg(ra[_P],0);ra[_P].charCode=0;ra[_P].ctrlKey=false;ra[_P].altKey=false;ra[_P].shiftKey=false;ra[_P].metaKey=false;ra[_P].mb=null;ra[_P].eg=function(a,b){Db(this,a[F]);id(this,a[S]||a[te]);Vd(this,b);if(a[qe]){ng(this,a[qe])}else if(this[F]==$c){ng(this,a.fromElement)}else if(this[F]==
uc){ng(this,a.toElement)}else{ng(this,null)}this.offsetX=typeof a.layerX=="number"?a.layerX:a.offsetX;this.offsetY=typeof a.layerY=="number"?a.layerY:a.offsetY;vh(this,typeof a[vb]=="number"?a[vb]:a.pageX);wh(this,typeof a[wb]=="number"?a[wb]:a.pageY);pg(this,a[ec]||0);qg(this,a[fc]||0);this.button=a[cg];mg(this,a[hb]||0);this.charCode=a[mh]||(this[F]==Df?a[hb]:0);this.ctrlKey=a[Uc];this.altKey=a[bg];this.shiftKey=a[re];this.metaKey=a[zd];this.mb=a;this.af=null;this.md=null};ra[_P].qA=function(a){if(s){return!(!(this.mb[cg]&
Xq[a]))}else{return this.mb[cg]==a}};ra[_P].stopPropagation=function(){this.md=true;if(this.mb.stopPropagation){this.mb.stopPropagation()}else{this.mb.cancelBubble=true}};ra[_P].preventDefault=function(){this.af=false;if(!this.mb.preventDefault){og(this.mb,false);try{mg(this.mb,-1)}catch(a){}}else{this.mb.preventDefault()}};ra[_P].Jd=function(){return this.mb};ra[_P].f=function(){if(!this.L()){lb[_P].f.call(this);this.mb=null}};var vc=function(){},Zq=0;vc[_P].Ll=null;vc[_P].Zd=null;vc[_P].Gs=null;vc[_P].src=null;Db(vc[_P],null);vc[_P].capture=null;vc[_P].cg=null;vc[_P].Mb=0;vc[_P].$e=false;vc[_P].Fo=false;vc[_P].eg=function(a,b,c,d,e,f){if(We(a)){this.Ll=true}else if(a&&a.Ic&&We(a.Ic)){this.Ll=false}else{throw Error("Invalid listener argument");}this.Zd=a;this.Gs=b;this.src=c;Db(this,d);this.capture=!(!e);this.cg=f;this.Fo=false;this.Mb=++Zq;this.$e=false};vc[_P].Ic=function(a){if(this.Ll){return this.Zd.call(this.cg||this.src,
a)}return this.Zd.Ic.call(this.Zd,a)};var Hf={},Yb={},Id={},If=new nb(0,600);If.Fg(function(){return{C:0}});If.st(function(a){a.C=0});var Oe=new nb(0,600);Oe.Fg(function(){return[]});Oe.st(function(a){Sb(a,0);delete a.lg;delete a.am});var Pm=new nb(0,600);Pm.Fg(function(){var a=function(b){return er.call(a.src,a.Mb,b)};return a});var br=function(){return new vc},Ej=new nb(0,600);Ej.Fg(br);var $q=function(){return new ra},ar=function(){var a=null;if(s){a=new nb(0,600);a.Fg($q)}return a},Mm=ar(),gr="on",Fj={},u=function(a,b,c,d,e){if(Oa(b)){for(var f=
0;f<b[i];f++){u(a,b[f],c,d,e)}return null}var g=!(!d),h=Yb;if(!(b in h)){h[b]=If.Fb()}h=h[b];if(!(g in h)){h[g]=If.Fb();h.C++}h=h[g];var j=jc(a),m,l;if(!h[j]){m=(h[j]=Oe.Fb());h.C++}else{m=h[j];for(var f=0;f<m[i];f++){l=m[f];if(l.Zd==c&&l.cg==e){if(l.$e){break}return m[f].Mb}}}var o=Pm.Fb();o.src=a;l=Ej.Fb();l.eg(c,o,a,b,g,e);var r=l.Mb;o.Mb=r;m.push(l);Hf[r]=l;if(!Id[j]){Id[j]=Oe.Fb()}Id[j].push(l);if(a.addEventListener){if(a==oa||!a.wk){a.addEventListener(b,o,g)}}else{a.attachEvent(Om(b),o)}return r},
Ma=function(a,b,c,d,e){if(Oa(b)){for(var f=0;f<b[i];f++){Ma(a,b[f],c,d,e)}return null}var g=!(!d),h=Nm(a,b,g);if(!h){return false}for(var f=0;f<h[i];f++){if(h[f].Zd==c&&h[f][dg]==g&&h[f].cg==e){return mb(h[f].Mb)}}return false},mb=function(a){if(!Hf[a]){return false}var b=Hf[a];if(b.$e){return false}var c=b.src,d=b[F],e=b.Gs,f=b[dg];if(c.removeEventListener){if(c==oa||!c.wk){c.removeEventListener(d,e,f)}}else if(c.detachEvent){c.detachEvent(Om(d),e)}var g=jc(c),h=Yb[d][f][g];if(Id[g]){var j=Id[g];
Jg(j,b);if(j[i]==0){delete Id[g]}}b.$e=true;h.am=true;Lm(d,f,g,h);delete Hf[a];return true},Lm=function(a,b,c,d){if(!d.lg){if(d.am){for(var e=0,f=0;e<d[i];e++){if(d[e].$e){Ej.Pb(d[e]);continue}if(e!=f){d[f]=d[e]}f++}Sb(d,f);d.am=false;if(f==0){Oe.Pb(d);delete Yb[a][b][c];Yb[a][b].C--;if(Yb[a][b].C==0){If.Pb(Yb[a][b]);delete Yb[a][b];Yb[a].C--}if(Yb[a].C==0){If.Pb(Yb[a]);delete Yb[a]}}}}},Gj=function(a,b,c){var d=0,e=a==null,f=b==null,g=c==null;c=!(!c);if(!e){var h=jc(a);if(Id[h]){var j=Id[h];for(var m=
j[i]-1;m>=0;m--){var l=j[m];if((f||b==l[F])&&(g||c==l[dg])){mb(l.Mb);d++}}}}else{Xj(Id,function(o){for(var r=o[i]-1;r>=0;r--){var K=o[r];if((f||b==K[F])&&(g||c==K[dg])){mb(K.Mb);d++}}})}return d},Nm=function(a,b,c){var d=Yb;if(b in d){d=d[b];if(c in d){d=d[c];var e=jc(a);if(d[e]){return d[e]}}}return null},dr=function(a,b,c,d,e){var f=!(!d),g=Nm(a,b,f);if(g){for(var h=0;h<g[i];h++){if(g[h].Zd==c&&g[h][dg]==f&&g[h].cg==e){return g[h]}}}return null},rb="click",Wb="mousedown",Hd="mouseup",$c="mouseover",
uc="mouseout",Ef="mousemove",Df="keypress",Cf="keydown",Yq=s?"focusin":"DOMFocusIn",Ne="resize",Om=function(a){if(a in Fj){return Fj[a]}return Fj[a]=gr+a},Gf=function(a,b,c,d){var e=1,f=Yb;if(b in f){f=f[b];if(c in f){f=f[c];var g=jc(a);if(f[g]){var h=f[g];if(!h.lg){h.lg=1}else{h.lg++}try{var j=h[i];for(var m=0;m<j;m++){var l=h[m];if(l&&!l.$e){e&=Dj(l,d)!==false}}}finally{h.lg--;Lm(b,c,g,h)}}}}return ih(e)},Dj=function(a,b){var c=a.Ic(b);if(a.Fo){mb(a.Mb)}return c},cr=function(a,b){if(Ha(b)){b=new lb(b,
a)}else if(!(b instanceof lb)){var c=b;b=new lb(b[F],a);Dr(b,c)}else{id(b,b[S]||a)}var d=1,e,f=b[F],g=Yb;if(!(f in g)){return true}g=g[f];var h=true in g,j=false in g;if(h){e=[];for(var m=a;m;m=m.Xf()){e.push(m)}for(var l=e[i]-1;!b.md&&l>=0;l--){Vd(b,e[l]);d&=Gf(e[l],b[F],true,b)&&b.af!=false}}if(j){if(h){for(var l=0;!b.md&&l<e[i];l++){Vd(b,e[l]);d&=Gf(e[l],b[F],false,b)&&b.af!=false}}else{for(var o=a;!b.md&&o;o=o.Xf()){Vd(b,o);d&=Gf(o,b[F],false,b)&&b.af!=false}}}return ih(d)},er=function(a,b){if(!Hf[a]){return true}var c=
Hf[a],d=c[F],e=Yb;if(!(d in e)){return true}e=e[d];var f;if(s){var g=b||Tm("window.event"),h=true in e;if(h){if(g[hb]<0||g.returnValue!=Qa){return true}fr(g)}var j=jc(c.src),m=Mm.Fb();m.eg(g,this);f=true;try{if(h){var l=Oe.Fb();for(var o=m[Dc];o;o=o[n]){l.push(o)}for(var r=l[i]-1;!m.md&&r>=0;r--){Vd(m,l[r]);f&=Gf(l[r],d,true,m)}for(var r=0;!m.md&&r<l[i];r++){Vd(m,l[r]);f&=Gf(l[r],d,false,m)}}else{f=Dj(c,m)}}finally{if(l){Sb(l,0);Oe.Pb(l)}m.f();Mm.Pb(m)}return f}var K=new ra(b,this);try{f=Dj(c,K)}finally{K.f()}return f},
fr=function(a){var b=false;if(a[hb]==0){try{mg(a,-1);return}catch(c){b=true}}if(b||a.returnValue==Qa){og(a,true)}};var ab=function(a){this.z=a};ab.b(Jc);var Hm=new nb(0,100);ab[_P].i=function(a,b,c,d,e){if(Oa(b)){for(var f=0;f<b[i];f++){this.i(a,b[f],c,d,e)}return}var g=u(a,b,c||this,d||false,e||this.z||this);if(this.v){this.v[g]=true}else if(this.jd){this.v=Hm.Fb();this.v[this.jd]=true;this.jd=null;this.v[g]=true}else{this.jd=g}};ab[_P].Ka=function(a,b,c,d,e){if(!this.jd&&!this.v){return}if(Oa(b)){for(var f=0;f<b[i];f++){this.Ka(a,b[f],c,d,e)}return}var g=dr(a,b,c||this,d||false,e||this.z||this);if(g){var h=
g.Mb;mb(h);if(this.v){Ug(this.v,h)}else if(this.jd==h){this.jd=null}}};ab[_P].nd=function(){if(this.v){for(var a in this.v){mb(a);delete this.v[a]}Hm.Pb(this.v);this.v=null}else if(this.jd){mb(this.jd)}};ab[_P].f=function(){if(!this.L()){Jc[_P].f.call(this);this.nd()}};ab[_P].Ic=function(a){throw Error("EventHandler.handleEvent not implemented");};var R=function(){};R.b(Jc);R[_P].Xf=function(){return null};R[_P].addEventListener=function(a,b,c,d){u(this,a,b,c,d)};R[_P].removeEventListener=function(a,b,c,d){Ma(this,a,b,c,d)};R[_P].dispatchEvent=function(a){return cr(this,a)};R[_P].f=function(){if(!this.L()){Jc[_P].f.call(this);Gj(this)}};R[_P].wk=true;var Da=function(a,b){wa(this,ka(a)?gb(a):Qa);Aa(this,ka(b)?gb(b):Qa)},bn=function(a,b){if(a==b){return true}if(!a||!b){return false}return a[x]==b[x]&&a[w]==b[w]};Da[_P].u=function(){return new Da(this[x],this[w])};pb(Da[_P],function(){return"("+this[x]+" x "+this[w]+")"});Da[_P].Lv=function(){return this[x]*this[w]};Da[_P].Kb=function(){return!this.Lv()};Da[_P].ceil=function(){wa(this,t.ceil(this[x]));Aa(this,t.ceil(this[w]));return this};Da[_P].floor=function(){wa(this,t.floor(this[x]));Aa(this,
t.floor(this[w]));return this};Da[_P].round=function(){wa(this,t.round(this[x]));Aa(this,t.round(this[w]));return this};Da[_P].scale=function(a){this.width*=a;this.height*=a;return this};var tr=function(a,b){var c=a%b;return c*b<0?c+b:c},Oc=function(a,b){this.x=ka(a)?gb(a):Qa;this.y=ka(b)?gb(b):Qa};Oc[_P].u=function(){return new Oc(this.x,this.y)};pb(Oc[_P],function(){return"("+this.x+", "+this.y+")"});var rd=function(a,b,c,d){Cb(this,ka(a)?gb(a):Qa);this.top=ka(b)?gb(b):Qa;wa(this,ka(c)?gb(c):Qa);Aa(this,ka(d)?gb(d):Qa)};rd[_P].u=function(){return new rd(this[qa],this.top,this[x],this[w])};pb(rd[_P],function(){return"("+this[qa]+", "+this.top+" - "+this[x]+"w x "+this[w]+"h)"});
var an=function(a,b){if(a==b){return true}if(!a||!b){return false}return a[qa]==b[qa]&&a[x]==b[x]&&a.top==b.top&&a[w]==b[w]};rd[_P].cw=function(a){var b=t.max(this[qa]+this[x],a[qa]+a[x]),c=t.max(this.top+this[w],a.top+a[w]);Cb(this,t.min(this[qa],a[qa]));this.top=t.min(this.top,a.top);wa(this,b-this[qa]);Aa(this,c-this.top)};var Kd=function(a,b,c,d){this.top=ka(a)?gb(a):Qa;this.right=ka(b)?gb(b):Qa;this.bottom=ka(c)?gb(c):Qa;Cb(this,ka(d)?gb(d):Qa)};Kd[_P].u=function(){return new Kd(this.top,this[Ud],
this[Qd],this[qa])};pb(Kd[_P],function(){return"("+this.top+"t, "+this[Ud]+"r, "+this[Qd]+"b, "+this[qa]+"l)"});Kd[_P].contains=function(a){return sr(this,a)};Kd[_P].expand=function(a,b,c,d){if(ki(a)){this.top-=a.top;this.right+=a[Ud];this.bottom+=a[Qd];this.left-=a[qa]}else{this.top-=a;this.right+=b;this.bottom+=c;this.left-=d}return this};var sr=function(a,b){if(!a||!b){return false}return b.x>=a[qa]&&b.x<=a[Ud]&&b.y>=a.top&&b.y<=a[Qd]},Ye=function(a){return tr(a,360)},cn=function(a){return a*t.PI/
180};var Uj=function(a,b){return b*t.cos(cn(a))},Vj=function(a,b){return b*t.sin(cn(a))};var Aj;var Ie=function(){if(!Aj){Aj=new $a}return Aj},Ga=function(a){return a?new $a(ua(a)):Ie()},Og=function(){return Ie().l()},$h=function(a){return Ie().c(a)},p=$h,Cm=function(a,b,c){return Ie().Yp(a,b,c)},Lg=Cm,Gm=function(a,b){Xj(b,function(c,d){if(d=="style"){kg(a[k],c)}else if(d=="class"){Ra(a,c)}else if(d=="for"){a.htmlFor=c}else if(d in zm){a.setAttribute(zm[d],c)}else{a[d]=c}})},zm={NE:"cellPadding",OE:"cellSpacing",PE:"colSpan",qF:"rowSpan",BF:"vAlign",height:"height",width:"width",AF:"useMap",
ZE:"frameBorder"},Le=function(a){var b=a||oa||window,c=b[ta];if(la&&!Rc("500")&&!bh){if(typeof b[gg]=="undefined"){b=window}var d=b[gg],e=b[ta][Sd][ig];if(b==b.top){if(e<d){d-=15}}return new Da(b.innerWidth,d)}var f=Ga(c),g=f.Wx()=="CSS1Compat"&&(!lc||lc&&Rc("9.50"))?c[Sd]:c[B];return new Da(g[pc],g[dc])},Je=function(a){var b=a||oa||window,c=b[ta],d,e;if(!la&&c[df]=="CSS1Compat"){d=c[Sd][jg];e=c[Sd][lf]}else{d=c[B][jg];e=c[B][lf]}return new Oc(d,e)},Me=function(a){if(la&&!Rc("500")&&!bh){return null}else{return a.parentWindow||
a[xd]}},He=function(a,b){var c=Ie();return c.e.apply(c,arguments)};var Bm=function(a){return Ie().createTextNode(a)},X=function(a,b){a.appendChild(b)},Pg=function(a){var b;while(b=a[Z]){a.removeChild(b)}},Gd=function(a,b){if(b[n]){b[n].insertBefore(a,b)}},Bf=function(a,b){if(b[n]){b[n].insertBefore(a,b[Qb])}},ca=function(a){return a&&a[n]?a[n].removeChild(a):null},Cj=function(a){return Dm(a[Z],true)};var Em=function(a){return Dm(a[Qb],true)};var Dm=function(a,b){while(a&&a[Q]!=1){a=b?a[Qb]:a[Vc]}return a};
var Rq=la&&Qn(ge,"521")<=0,Kb=function(a,b){if(typeof a.contains!="undefined"&&!Rq&&b[Q]==1){return a==b||a.contains(b)}if(typeof a.compareDocumentPosition!="undefined"){return a==b||ih(a.compareDocumentPosition(b)&16)}while(b&&a!=b){b=b[n]}return b==a},Tq=function(a,b){if(a==b){return 0}if(a.compareDocumentPosition){return a.compareDocumentPosition(b)&2?1:-1}if("sourceIndex"in a||a[n]&&"sourceIndex"in a[n]){var c=a[Q]==1,d=b[Q]==1,e=c?a[uh]:a[n][uh],f=d?b[uh]:b[n][uh];if(e!=f){return e-f}else{if(c){return-1}if(d){return 1}var g=
b;while(g=g[Vc]){if(g==a){return-1}}return 1}}var h=ua(a),j,m;j=h.createRange();j.selectNode(a);j.collapse(true);m=h.createRange();m.selectNode(b);m.collapse(true);return j.compareBoundaryPoints(Range.START_TO_END,m)},ua=function(a){return a[Q]==9?a:a[za]||a[ta]};var tc=function(a,b){if("textContent"in a){a.textContent=b}else if(a[Z]&&a[Z][Q]==3){while(a[yd]!=a[Z]){a.removeChild(a[yd])}lg(a[Z],b)}else{while(a.hasChildNodes()){a.removeChild(a[yd])}var c=ua(a);a.appendChild(c.createTextNode(b))}},Ng=
function(a,b){var c=[];Bj(a,b,c,true);return c[i]?c[0]:Qa},Uq=function(a,b){var c=[];Bj(a,b,c,false);return c},Bj=function(a,b,c,d){if(a!=null){for(var e=0,f;f=a[ja][e];e++){if(b(f)){c.push(f);if(d){return}}Bj(f,b,c,d)}}},Sq={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Am={IMG:" ",BR:"\n"},Ke=function(a){if(s&&"innerText"in a){return a[ph].replace(/(\r\n|\r|\n)/g,"\n")}var b=[];Fm(a,b,true);var c=b.join("").replace(/ +/g," ");if(c!=" "){c=c.replace(/^\s*/,"")}return c},Fm=function(a,b,c){if(a[va]in
Sq){}else if(a[Q]==3){if(c){b.push(Ia(a[Bb]).replace(/(\r\n|\r|\n)/g,""))}else{b.push(a[Bb])}}else if(a[va]in Am){b.push(Am[a[va]])}else{var d=a[Z];while(d){Fm(d,b,c);d=d[Qb]}}};var $a=function(a){this.Wa=a||oa[ta]||Y};$a[_P].Uf=Ga;$a[_P].l=function(){return this.Wa};$a[_P].c=function(a){if(Ha(a)){return this.Wa.getElementById(a)}else{return a}};$a[_P].Su=$a[_P].c;$a[_P].Yp=function(a,b,c){var d=a||"*",e=c||this.Wa,f=e.getElementsByTagName(d);if(b){var g=[];for(var h=0,j;j=f[h];h++){var m=j[Pb];if(typeof m.split==
"function"&&pd(m.split(" "),b)){g.push(j)}}return g}else{return f}};$a[_P].Ln=$a[_P].Yp;$a[_P].e=function(a,b){if(s&&b&&b[hd]){a="<"+a+' name="'+fe(b[hd])+'">'}var c=this.createElement(a);if(b){Gm(c,b)}if(arguments[i]>2){function d(g){if(g){this.appendChild(c,Ha(g)?this.createTextNode(g):g)}}for(var e=2;e<arguments[i];e++){var f=arguments[e];if((Ve(f)||la&&typeof f=="function"&&typeof f[i]=="number")&&!(ki(f)&&f[Q]>0)){Vb(Oa(f)?f:lm(f),d,this)}else{d.call(this,f)}}}return c};$a[_P].createElement=
function(a){return this.Wa.createElement(a)};$a[_P].createTextNode=function(a){return this.Wa.createTextNode(a)};$a[_P].Wx=function(){if(this.Wa[df]){return this.Wa[df]}if(la){var a=this.e("div",{style:"position:absolute;width:0;height:0;width:1"}),b=a[k][x]=="1px"?"BackCompat":"CSS1Compat";return this.Wa.compatMode=b}return"BackCompat"};$a[_P].appendChild=X;$a[_P].kr=Gd;$a[_P].pA=Bf;$a[_P].removeNode=ca;$a[_P].contains=Kb;$a[_P].fi=ua;$a[_P].vD=tc;var E=function(a){R.call(this);this.h=a||Ga()};E.b(R);var Yr=0;var Yg="Component already rendered",Hn="Unable to set parent component",Gn="Operation not supported while component is not in document",Xr=function(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?"highlight":"unhighlight";case 4:return b?"activate":"deactivate";case 8:return b?"select":"unselect";case 16:return b?"check":"uncheck";case 32:return b?"focus":"blur";case 64:return b?"open":"close";default:}throw Error("Invalid component state");
};E[_P].r=null;E[_P].h=null;E[_P].Ib=false;E[_P].a=null;E[_P].$l=null;E[_P].ba=null;E[_P].ua=null;E[_P].Wb=null;E[_P].Nu=null;E[_P].Z=function(){return this.r||(this.r=this.Ny())};E[_P].ef=function(a){if(this.ba&&this.ba.Wb){Ug(this.ba.Wb,this.r);fn(this.ba.Wb,a,this)}this.r=a};E[_P].ha=function(){return"goog.ui.Component"};E[_P].c=function(){return this.a};E[_P].tt=function(a){this.a=a};E[_P].Dt=function(a){if(this==a){throw Error(Hn);}if(a&&this.ba&&this.ba.Fe(this.r)){throw Error(Hn);}this.ba=
a};E[_P].Hc=function(){return this.ba};E[_P].Xf=function(){return this.ba};E[_P].U=function(){return this.Ib};E[_P].e=function(){this.a=this.h.createElement("div")};E[_P].tb=function(a){this.Us(a)};E[_P].Us=function(a,b){if(this.Ib){throw Error(Yg);}if(!this.a){this.e()}if(a){a.insertBefore(this.a,b||null)}else{this.h.l()[B].appendChild(this.a)}if(!this.ba||this.ba.U()){this.D()}};E[_P].Ed=function(a){if(this.Ib){throw Error(Yg);}else if(a&&this.yd(a)){this.Nu=true;if(!this.h||this.h.l()!=ua(a)){this.h=
Ga(a)}this.xk(a);this.D()}else{throw Error("Invalid element to decorate");}};E[_P].yd=function(a){return true};E[_P].xk=function(a){this.a=a};E[_P].D=function(){this.Ib=true;this.ec(function(a){if(a.c()){a.D()}})};E[_P].ga=function(){this.ec(function(a){if(a.U()){a.ga()}});this.Ib=false};E[_P].f=function(){if(!this.L()){E.g.f.call(this);if(this.Ib){this.ga()}this.ec(function(a){a.f()});if(!this.Nu&&this.a){ca(this.a)}this.ua=null;this.Wb=null;this.a=null;this.$l=null;this.ba=null}};E[_P].Xl=function(a){return this.Z()+
"."+a};E[_P].Jy=function(){return this.$l};E[_P].iD=function(a){this.$l=a};E[_P].$k=function(a){if(!this.Ib){throw Error(Gn);}return this.h.c(this.Xl(a))};E[_P].Ny=function(){return":"+Yr++};E[_P].uv=function(a,b){this.Hj(a,this.Xk(),b)};E[_P].Hj=function(a,b,c){if(a.Ib&&(c||!this.Ib)){throw Error(Yg);}if(b<0||b>this.Xk()){throw Error("Child component index out of bounds");}a.Dt(this);if(!this.Wb||!this.ua){this.Wb={};this.ua=[]}fn(this.Wb,a.Z(),a);mm(this.ua,a,b);if(c){if(!this.a){this.e()}var d=
this.Wk(b+1);a.Us(this.Md(),d?d.a:null)}else{if(this.Ib&&!a.Ib&&a.a){a.D()}}};E[_P].Md=function(){return this.a};E[_P].Xk=function(){return this.ua?this.ua[i]:0};E[_P].Fe=function(a){return this.Wb&&a?hn(this.Wb,a)||null:null};E[_P].Wk=function(a){return this.ua?this.ua[a]||null:null};E[_P].ec=function(a,b){if(this.ua){Vb(this.ua,a,b)}};E[_P].El=function(a){return this.ua&&a?Rh(this.ua,a):-1};E[_P].removeChild=function(a,b){if(a){var c=Ha(a)?a:a.Z();a=this.Fe(c);if(c&&a){Ug(this.Wb,c);Jg(this.ua,
a);if(b){a.ga();if(a.a){ca(a.a)}}a.Dt(null)}}if(!a){throw Error("Child is not in parent component");}return a};;;var od=function(a,b){R.call(this);this.Ud=a||1;this.Qg=b||Ee;this.Vj=J(this.eE,this);this.Tl=Ua()};od.b(R);od[_P].enabled=false;var Ee=oa.window,wq=0.8;od[_P].sd=null;od[_P].setInterval=function(a){this.Ud=a;if(this.sd&&this.enabled){this.stop();this.start()}else if(this.sd){this.stop()}};od[_P].eE=function(){if(this.enabled){var a=Ua()-this.Tl;if(a>0&&a<this.Ud*wq){this.sd=this.Qg.setTimeout(this.Vj,this.Ud-a);return}this.kx();if(this.enabled){this.sd=this.Qg.setTimeout(this.Vj,this.Ud);this.Tl=
Ua()}}};od[_P].kx=function(){this.dispatchEvent("tick")};Ah(od[_P],function(){this.enabled=true;if(!this.sd){this.sd=this.Qg.setTimeout(this.Vj,this.Ud);this.Tl=Ua()}});Bh(od[_P],function(){this.enabled=false;this.Qg.clearTimeout(this.sd);this.sd=null});od[_P].f=function(){if(!this.L()){R[_P].f.call(this);this.stop();this.Qg=null}};var Kc=function(a,b,c){if(We(a)){if(c){a=J(a,c)}}else if(a&&typeof a.Ic=="function"){a=J(a.Ic,a)}else{throw Error("Invalid listener argument");}return Ee.setTimeout(a,
b||0)},Hg=function(a){Ee.clearTimeout(a)};var yr=null,zr=null,vr=null,Ar=function(a,b){yr=a;zr=b;vr=null},wr=function(){var a=dn();if(a){return new ActiveXObject(a)}else{return new XMLHttpRequest}},xr=function(){var a=dn(),b={};if(a){b[0]=true;b[1]=true}return b};Ar(wr,xr);var Wj=null,dn=function(){if(!Wj&&typeof XMLHttpRequest=="undefined"&&typeof ActiveXObject!="undefined"){var a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];for(var b=0;b<a[i];b++){var c=a[b];try{new ActiveXObject(c);Wj=c;return c}catch(d){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");
}return Wj};;var ur=function(){if(!v)return;this.QE={};this.CF={};this.kj=[]};ur[_P].s=Mc("goog.net.xhrMonitor");;var rc=function(a,b,c){this.M=a;this.Ud=b||0;this.z=c;this.nw=J(this.up,this)};rc.b(Jc);rc[_P].r=0;rc[_P].f=function(){if(!this.L()){rc.g.f.call(this);this.stop();this.M=null;this.z=null}};Ah(rc[_P],function(a){this.stop();this.r=Kc(this.nw,ka(a)?a:this.Ud)});Bh(rc[_P],function(){if(this.Ci()){Hg(this.r)}this.r=0});rc[_P].Jx=function(){this.up();this.stop()};rc[_P].Ip=function(){if(this.Ci()){this.Jx()}};rc[_P].Ci=function(){return this.r!=0};rc[_P].up=function(){this.r=0;if(this.M){this.M.call(this.z)}};var Mg=function(a,b){Ra(a,b)},Af=function(a){var b=a[Pb];return b&&typeof b.split=="function"?b.split(" "):[]},Fa=function(a,b){var c=Af(a),d=pj(arguments,1),e=1;for(var f=0;f<d[i];f++){if(!pd(c,d[f])){c.push(d[f]);e&=1}else{e&=0}}Ra(a,c.join(" "));return ih(e)},Fb=function(a,b){var c=Af(a),d=pj(arguments,1),e=0;for(var f=0;f<c[i];f++){if(pd(d,c[f])){qj(c,f--,1);e++}}Ra(a,c.join(" "));return e==d[i]},Jb=function(a,b){return pd(Af(a),b)},Zh=function(a,b,c){if(c){Fa(a,b)}else{Fb(a,b)}};var zj=function(a,b){if(v){a.setAttributeNS("http://www.w3.org/1999/xhtml","role","wairole:"+b);a.pF=b}},Yh=function(a,b,c){if(v){a.setAttributeNS("http://www.w3.org/2005/07/aaa",b,c)}};var Sm=function(a){return 1-t.pow(1-a,3)},Lb=function(a,b,c,d){R.call(this);if(!Oa(a)||!Oa(b)){throw Error("Start and end parameters must be arrays");return}if(a[i]!=b[i]){throw Error("Start and end points must be the same length");return}this.Mg=a;this.wx=b;this.Lk=c;this.fo=d;this.Bd=[]};Lb.b(R);var Jf=[],Pe=null,Qm=function(){Ee.clearTimeout(Pe);var a=Ua();Vb(Jf,function(b){if(b){b.ip(a)}});Pe=Jf[i]==0?null:Ee.setTimeout(Qm,20)},ir=function(a){if(!pd(Jf,a)){Jf.push(a)}if(Pe==null){Pe=Ee.setInterval(Qm,
20)}},ai=function(a){Jg(Jf,a);if(Jf[i][i]==0&&Pe!=null){Ee.clearInterval(Pe);Pe=null}};Lb[_P].O=0;Lb[_P].Lp=0;Lb[_P].sb=0;Lb[_P].oc=null;Lb[_P].Dp=null;Lb[_P].Ql=null;Lb[_P].play=function(a){if(a||this.O==0){this.sb=0;this.Bd=this.Mg}else if(this.O==1){return false}ai(this);this.oc=Ua();if(this.O==-1){this.oc-=this.Lk*this.sb}this.Dp=this.oc+this.Lk;this.Ql=this.oc;if(this.sb==0){this.ac("begin")}this.ac("play");if(this.O==-1){this.ac("resume")}this.O=1;ir(this);this.ip(this.oc);return true};Bh(Lb[_P],
function(a){ai(this);this.O=0;if(a)this.sb=1;this.wn(this.sb);this.ac("stop");this.ac("end")});Lb[_P].pause=function(){if(this.O==1){ai(this);this.O=-1;this.ac("pause")}};Lb[_P].zk=function(){this.stop();this.ac("destroy");Gj(this);for(var a in this){this[a]=null;delete this[a]}};Lb[_P].ip=function(a){this.sb=(a-this.oc)/(this.Dp-this.oc);if(this.sb>=1)this.sb=1;this.Lp=1000/(a-this.Ql);this.Ql=a;if(We(this.fo)){this.wn(this.fo(this.sb))}else{this.wn(this.sb)}if(this.sb==1){this.O=0;this.ac("finish");
this.ac("end");ai(this)}else if(this.O==1){this.ac("animate")}};Lb[_P].wn=function(a){this.Bd=new Array(this.Mg[i]);for(var b=0;b<this.Mg[i];b++){this.Bd[b]=(this.wx[b]-this.Mg[b])*a+this.Mg[b]}};Lb[_P].ac=function(a){this.dispatchEvent(new Rm(a,this))};var Rm=function(a,b){lb.call(this,a);this.coords=b.Bd;this.x=b.Bd[0];this.y=b.Bd[1];this.DF=b.Bd[2];this.UE=b.Lk;this.lF=b.sb;this.YE=b.Lp;this.nf=b.O;this.GE=b};Rm.b(lb);var qd=function(a,b,c){id(this,a);this.pl=b||a;this.Bc=true;this.Jf=false;this.Ul=c||new rd;this.Wa=this[S][za]||this[S][ta];pg(this,0);qg(this,0);this.Ef=0;this.Ff=0;u(this.pl,Wb,this.du,false,this);u(this.Wa,Ef,this.Tr,false,this);u(this.Wa,Hd,this.Cp,false,this)};qd.b(R);qd[_P].Jm=function(a){this.Bc=a};qd[_P].f=function(){if(this.L())return;R[_P].f.call(this);Ma(this.pl,Wb,this.du,false,this);Ma(this.Wa,Ef,this.Tr,false,this);Ma(this.Wa,Hd,this.Cp,false,this);delete this[S];delete this.pl};qd[_P].du=
function(a){if(this.Bc&&!this.Jf){var b=this.dispatchEvent(new Qg("start",this,a[vb],a[wb],a));if(b!==false){pg(this,a[ec]);qg(this,a[fc]);this.Ef=this[S][hf];this.Ff=this[S][oe];this.Jf=true;a.preventDefault()}}};qd[_P].Cp=function(a){if(this.Jf){this.Jf=false;var b=this.Dr(this.Ef),c=this.Er(this.Ff);this.dispatchEvent(new Qg("end",this,a[vb],a[wb],a,b,c))}};qd[_P].Tr=function(a){if(this.Jf&&this.Bc){var b=a[ec]-this[ec],c=a[fc]-this[fc];this.Ef+=b;this.Ff+=c;var d=this.Dr(this.Ef),e=this.Er(this.Ff);
pg(this,a[ec]);qg(this,a[fc]);var f=this.dispatchEvent(new Qg("beforedrag",this,a[vb],a[wb],a,d,e));if(f!==false){this.ax(d,e);this.dispatchEvent(new Qg("drag",this,a[vb],a[wb],a,d,e));a.preventDefault()}}};qd[_P].Dr=function(a){var b=this.Ul,c=typeof b[qa]!="undefined"?b[qa]:null,d=typeof b[x]!="undefined"?b[x]:0,e=c!=null?c+d:Infinity,f=c!=null?c:-Infinity;return t.min(e,t.max(f,a))};qd[_P].Er=function(a){var b=this.Ul,c=typeof b.top!="undefined"?b.top:null,d=typeof b[w]!="undefined"?b[w]:0,e=c!=
null?c+d:Infinity,f=c!=null?c:-Infinity;return t.min(e,t.max(f,a))};qd[_P].ax=function(a,b){Cb(this[S][k],a+"px");this[S][k].top=b+"px"};var Qg=function(a,b,c,d,e,f,g){lb.call(this,a);Db(this,a);vh(this,c);wh(this,d);this.dw=e;Cb(this,ka(f)?f:b.Ef);this.top=ka(g)?g:b.Ff;this.TE=b};Qg.b(lb);var hk,M=function(a,b,c){a[k][ti(b)]=c},Qf=function(a,b){return a[k][ti(b)]},Dn=function(a,b){var c=ua(a);if(c[xd]&&c[xd].getComputedStyle){var d=c[xd].getComputedStyle(a,"");if(d){return d[b]}}return null},Cn=function(a,b){return a[le]?a[le][b]:null},qi=function(a,b){return Dn(a,b)||Cn(a,b)||a[k][b]},Xg=function(a,b,c){var d,e;if(b instanceof Oc){d=b.x;e=b.y}else{d=b;e=c}Cb(a[k],typeof d=="number"?t.round(d)+"px":d);a[k].top=typeof e=="number"?t.round(e)+"px":e},Wg=function(a){var b;if(a){if(a[Q]==
9){b=a}else{b=ua(a)}}else{b=Og()}if(s&&b[df]!="CSS1Compat"){return b[B]}return b[Sd]},En=function(a){var b=ua(a),c=v&&b.getBoxObjectFor&&qi(a,"position")=="absolute"&&(a[k].top==""||a[k][qa]=="");if(typeof hk=="undefined"){hk=On&&!Rc("1.8.0.11")}var d=new Oc(0,0),e=Wg(b);if(a==e){return d}var f=null,g;if(a.getBoundingClientRect){g=a.getBoundingClientRect();var h=e[lf],j=e[jg];d.x=g[qa]+j;d.y=g.top+h}else if(b.getBoxObjectFor&&!c&&!hk){g=b.getBoxObjectFor(a);var m=b.getBoxObjectFor(e);d.x=g[ec]-m[ec];
d.y=g[fc]-m[fc]}else{d.x=a[hf];d.y=a[oe];f=a[jf];if(f!=a){while(f){d.x+=f[hf];d.y+=f[oe];f=f[jf]}}if(lc||la&&qi(a,"position")=="absolute"){d.y-=b[B][oe]}f=a[jf];while(f&&f!=b[B]){d.x-=f[jg];if(!lc||f[ea]!="TR"){d.y-=f[lf]}f=f[jf]}}return d};var bd=function(a,b,c){var d;if(b instanceof Da){d=b[w];b=b[x]}else{d=c}wa(a[k],typeof b=="number"?t.round(b)+"px":b);Aa(a[k],typeof d=="number"?t.round(d)+"px":d)},Nb=function(a){if(qi(a,"display")!="none"){return new Da(a[kf],a[Ad])}var b=a[k],c=b.visibility,
d=b.position;rg(b,"hidden");Wd(b,"absolute");Ea(b,"");var e=a[kf],f=a[Ad];Ea(b,"none");Wd(b,d);rg(b,c);return new Da(e,f)},ti=function(a){return Ia(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})},ri=function(a,b){var c=a[k];if("opacity"in c){yh(c,b)}else if("MozOpacity"in c){c.MozOpacity=b}else if("KhtmlOpacity"in c){c.KhtmlOpacity=b}else if("filter"in c){c.filter="alpha(opacity="+b*100+")"}},V=function(a,b){Ea(a[k],b?"":"none")},Sr=function(a,b){var c=Ga(b),d=null;if(s){d=c.l().createStyleSheet()}else{var e=
c.Ln("head")[0];if(!e){var f=c.Ln("body")[0];e=c.e("head");f[n].insertBefore(e,f)}d=c.e("style");c.appendChild(e,d)}Ur(d,a);return d},Ur=function(a,b){if(s){kg(a,b)}else{var c=la?"innerText":"innerHTML";a[c]=b}},ik=function(a){return"rtl"==qi(a,"direction")},Fn=function(){if(v){return"MozUserSelect"}else if(la){return"WebkitUserSelect"}return null},Tr=function(a){if(v||la){return a[k][Fn()].toLowerCase()=="none"}else if(s||lc){return a.getAttribute("unselectable")=="on"}return false},si=function(a,
b){var c=a.getElementsByTagName("*");if(v||la){var d=Fn(),e=b?"none":"";a[k][d]=e;for(var f=0,g;g=c[f];f++){g[k][d]=e}}else if(s||lc){var e=b?"on":"";a.setAttribute("unselectable",e);for(var f=0,g;g=c[f];f++){g.setAttribute("unselectable",e)}}};var L=function(a,b,c){E.call(this,c);this.va=a||"modal-dialog";this.Cn=!(!b);this.Uc=Jn};L.b(E);L[_P].va=null;L[_P].Cn=false;L[_P].Sr=true;L[_P].wp=true;L[_P].TB=0.3;L[_P].Q="";L[_P].wa="";L[_P].Uc=null;L[_P].ye=null;L[_P].sa=false;L[_P].W=null;L[_P].X=null;L[_P].ub=null;L[_P].qc=null;L[_P].qn=null;L[_P].ke=null;L[_P].ib=null;L[_P].Ab=null;L[_P].ha=function(){return"goog.ui.Dialog"};L[_P].Qt=function(a){this.Q=a;if(this.qc){tc(this.qc,a)}};L[_P].kl=function(){return this.Q};L[_P].ej=function(a){this.wa=
a;if(this.ib){T(this.ib,a)}};L[_P].Sp=function(){return this.wa};L[_P].Md=function(){if(!this.U()){this.tb()}return this.ib};L[_P].Nw=function(){var a=new qd(this.a,this.ub);Fa(this.ub,this.va+"-title-draggable");return a};L[_P].e=function(){this.Jr();this.a=this.h.e("div",{className:this.va,tabIndex:0},this.ub=this.h.e("div",{className:this.va+"-title",id:this.Z()},this.qc=this.h.e("span",{className:this.va+"-title-text"},this.Q),this.ke=this.h.e("span",{className:this.va+"-title-close"})),this.ib=
this.h.e("div",{className:this.va+"-content"}),this.Ab=this.h.e("div",{className:this.va+"-buttons"}));this.qn=this.ub.id;zj(this.a,"dialog");Yh(this.a,"labelledby",this.qn);if(this.wa){T(this.ib,this.wa)}V(this.a,false);if(this.Uc){this.Uc.to(this.Ab)}};L[_P].Jr=function(){if(this.Cn&&!this.X){this.X=this.h.e("iframe",{frameborder:0,style:"border: 0",className:this.va+"-bg"});V(this.X,false);ri(this.X,0)}else if(!this.Cn&&this.X){ca(this.X);this.X=null}if(this.Sr&&!this.W){this.W=this.h.e("div",
{className:this.va+"-bg"});ri(this.W,this.TB);V(this.W,false)}else if(!this.Sr&&this.W){ca(this.W);this.W=null}};L[_P].tb=function(a){if(this.U()){throw Error(Yg);}if(!this.a){this.e()}var b=a||this.h.l()[B];this.Ts(b);L.g.tb.call(this,b)};L[_P].Ts=function(a){if(this.X){a.appendChild(this.X)}if(this.W){a.appendChild(this.W)}};L[_P].yd=function(a){return a&&a[ea]&&a[ea]=="DIV"&&L.g.yd.call(this,a)};L[_P].xk=function(a){this.a=a;Fa(this.a,this.va);var b=this.va+"-content";this.ib=Ng(this.a,function(g){return g[Q]==
1&&Jb(g,b)});if(this.ib){this.wa=this.ib[db]}else{this.ib=this.h.e("div",{className:b});if(this.wa){T(this.ib,this.wa)}this.a.appendChild(this.ib)}var c=this.va+"-title",d=this.va+"-title-text",e=this.va+"-title-close";this.ub=Ng(this.a,function(g){return g[Q]==1&&Jb(g,c)});if(this.ub){this.qc=Ng(this.ub,function(g){return g[Q]==1&&Jb(g,d)});this.ke=Ng(this.ub,function(g){return g[Q]==1&&Jb(g,e)})}else{this.ub=this.h.e("div",{className:c});this.a.insertBefore(this.ub,this.ib)}if(this.qc){this.Q=Ke(this.qc)}else{this.qc=
this.h.e("span",{className:d},this.Q);this.ub.appendChild(this.qc)}Yh(this.a,"labelledby",this.qn);if(!this.ke){this.ke=this.h.e("span",{className:e},this.Q);this.ub.appendChild(this.ke)}var f=this.va+"-buttons";this.Ab=Ng(this.a,function(g){return g[Q]==1&&Jb(g,f)});if(this.Ab){this.Uc=new ac(this.h);this.Uc.Ed(this.Ab)}else{this.Ab=this.h.e("div",{className:f});this.a.appendChild(this.Ab);if(this.Uc){this.Uc.to(this.Ab)}}this.Jr();this.Ts(ua(this.a)[B])};L[_P].D=function(){L.g.D.call(this);if(this.wp&&
!this.ye){this.ye=this.Nw()}u(this.ke,rb,this.ts,false,this);u(this.Ab,rb,this.cs,false,this);zj(this.a,"dialog");if(this.qc.id!==""){Yh(this.a,"labelledby",this.qc.id)}};L[_P].ga=function(){Ma(this.ke,rb,this.ts,this);Ma(this.Ab,rb,this.cs,this);if(this.rb()){this.za(false)}if(this.ye){this.ye.f();this.ye=null}L.g.ga.call(this)};L[_P].za=function(a){if(a==this.sa){return}var b=this.h.l(),c=Me(b)||window;if(!this.U()){this.tb(b[B])}if(a){this.Zs();this.cb();u(b,Cf,this.os,true,this);u(c,Ne,this.ss,
true,this)}else{Ma(b,Cf,this.os,true,this);Ma(c,Ne,this.ss,true,this)}if(this.X){V(this.X,a)}if(this.W){V(this.W,a)}V(this.a,a);if(a&&this.Sf().Xp()){var d=this.Ab.getElementsByTagName("button");for(var e=0,f;f=d[e];e++){if(f[hd]==this.Sf().Xp()){f.focus();break}}}this.sa=a};L[_P].rb=function(){return this.sa};L[_P].Zs=function(){if(this.X){V(this.X,false)}if(this.W){V(this.W,false)}var a=this.h.l(),b=Me(a)||window,c=Le(b),d=a[B].scrollWidth,e=t.max(a[B][ig],c[w]);if(this.X){V(this.X,true);bd(this.X,
d,e)}if(this.W){V(this.W,true);bd(this.W,d,e)}if(this.wp){var f=Nb(this.a);this.ye.Ul=new rd(0,0,d-f[x],e-f[w])}};L[_P].cb=function(){var a=this.h.l(),b=Me(a)||window,c=Je(b),d=c.x,e=c.y,f=Nb(this.a),g=Le(b),h=t.max(d+g[x]/2-f[x]/2,0),j=t.max(e+g[w]/2-f[w]/2,0);Xg(this.a,h,j)};L[_P].ts=function(a){var b=this.Sf(),c=b.Vh();if(c){var d=b.Y(c);if(this.dispatchEvent(new ui(c,d))){this.za(false)}}else{this.za(false)}};L[_P].f=function(){if(!this.L()){L.g.f.call(this);if(this.W){ca(this.W);this.W=null}if(this.X){ca(this.X);
this.X=null}}};L[_P].Sf=function(){return this.Uc};L[_P].cs=function(a){if(a[S][ea]=="BUTTON"){var b=a[S][hd],c=this.Sf().Y(b);if(this.dispatchEvent(new ui(b,c))){this.za(false)}}};L[_P].os=function(a){if(a[hb]==27){var b=this.Sf();if(b.Vh()){var c=b.Y(b.Vh());if(this.dispatchEvent(new ui(b.Vh(),c))){this.za(false)}}else{this.za(false)}}};L[_P].ss=function(a){this.Zs()};var ui=function(a,b){Db(this,"dialogselect");this.Mb=a;this.caption=b};ui.b(lb);var ac=function(a){this.h=a||Ga();Va.call(this)},
Jn;ac.b(Va);ac[_P].kp=null;ac[_P].a=null;ac[_P].Io=null;ac[_P].B=function(a,b,c,d){Va[_P].B.call(this,a,b);if(c){this.kp=a}if(d){this.Io=a}};ac[_P].to=function(a){this.a=a;this.tb()};ac[_P].tb=function(){if(this.a){T(this.a,"");var a=Ga(this.a);pi(this,function(b,c){this.a.appendChild(a.e("button",{name:c},b))},this)}};ac[_P].Ed=function(a){if(!a||a[Q]!=1){return}this.a=a;var b=this.a.getElementsByTagName("button");for(var c=0,d,e,f;d=b[c];c++){e=d[hd]||d.id;f=Ke(d)||d[La];if(e){this.B(e,f,c==0,d[hd]==
"cancel")}}};ac[_P].Xp=function(){return this.kp};ac[_P].Vh=function(){return this.Io};(function(){var a=wc("OK"),b=wc("Cancel"),c=wc("Yes"),d=wc("No"),e=wc("Save"),f=wc("Continue"),g=new ac;g.B("ok",a,true);g.B("cancel",b,false,true);Jn=g;var h=new ac;h.B("yes",c,true);h.B("no",d,false,true);var j=new ac;j.B("yes",c);j.B("no",d,true);j.B("cancel",b,false,true);var m=new ac;m.B("continue",f);m.B("save",e);m.B("cancel",b,true,true)})();;var Rg=function(a,b,c,d,e){Lb.call(this,b,c,d,e);this.Ac=a};Rg.b(Lb);var bi=function(a,b,c,d,e){Rg.call(this,a,[b],[c],d,e);var f=["begin","animate","end"];u(this,f,this.wC,false,this)};bi.b(Rg);bi[_P].wC=function(a){Aa(this.Ac[k],t.round(a.x)+"px")};var Kf=function(a,b,c,d,e){if(ji(b))b=[b];if(ji(c))c=[c];Rg.call(this,a,b,c,d,e);if(b[i]!=1||c[i]!=1){throw"[goog.fx.dom.Fade] Start and end points must be 1D";return}var f=["begin","animate","end"];u(this,f,this.Ex,false,this)};Kf.b(Rg);Kf[_P].Ex=function(a){ri(this.Ac,
a.x)};Kf[_P].Qc=function(a){Ea(this.Ac[k],"")};Kf[_P].Jc=function(a){Ea(this.Ac[k],"none")};var Ij=function(a,b,c){Kf.call(this,a,1,0,b,c);u(this,"begin",this.Qc,false,this);u(this,"end",this.Jc,false,this)};Ij.b(Kf);;var Vq=function(a,b){var c=a[za]||a[ta];if(Wq(a)){a.selectionStart=b;a.selectionEnd=b}else if(c[th]&&a.createTextRange){var d=a.createTextRange();d.collapse(true);d.move("character",b);d.select()}},Wq=function(a){try{return typeof a.selectionStart=="number"}catch(b){return false}};var Xb=function(a){R.call(this);if(a){this.Pj(a)}};Xb.b(R);Xb[_P].a=null;Xb[_P].Yd=null;Xb[_P].jg=null;Xb[_P].Fi=-1;Xb[_P].Cr=0;var Km={"3":13,"12":144,"63232":38,"63233":40,"63234":37,"63235":39,"63236":112,"63237":113,"63238":114,"63239":115,"63240":116,"63241":117,"63242":118,"63243":119,"63244":120,"63245":121,"63246":122,"63247":123,"63248":44,"63272":46,"63273":36,"63275":35,"63276":33,"63277":34,"63289":144,"63302":45},Jm={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,
F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45};Xb[_P].Ic=function(a){var b=a.Jd(),c=b[hb],d=b.which,e=c||d,f=b.keyIdentifier;if(d){if(d>=63232&&d in Km){e=Km[d]}else{if(d==25&&a[re]){e=9}else{var g=d-32;if(Ia.fromCharCode(d)==Ia.fromCharCode(g).toLowerCase()){e=g}}}}else if(f&&f in Jm){e=Jm[f]}var h=e==this.Fi;this.Fi=e;if(la&&h){if(b.timeStamp-this.Cr<10){return}this.Cr=b.timeStamp}var j=new Im(e,h,b);try{this.dispatchEvent(j)}finally{j.f()}};
Xb[_P].Mz=function(a){this.Fi=-1};Xb[_P].Pj=function(a){if(this.jg&&this.Yd){this.detach()}this.a=a;var b=s?Cf:Df;this.Yd=u(this.a,b,this);this.jg=u(this.a,"keyup",this.Mz,false,this)};Xb[_P].detach=function(){if(this.jg&&this.Yd){mb(this.Yd);mb(this.jg);this.Yd=null;this.jg=null}this.a=null;this.Fi=-1};Xb[_P].f=function(){if(!this.L()){Xb.g.f.call(this);this.detach()}};var Im=function(a,b,c){ra.call(this,c);Db(this,"key");mg(this,a);this.nF=b};Im.b(ra);var Pc=function(){this.xd=s?[]:"";for(var a=0;a<arguments[i];a++){this.da(arguments[a])}};Pc[_P].da=function(){if(s){for(var a=0;a<arguments[i];a++){this.xd.push(arguments[a])}}else{for(var a=0;a<arguments[i];a++){this.xd+=arguments[a]}}return this};Gc(Pc[_P],function(){if(s){Sb(this.xd,0)}else{this.xd=""}});pb(Pc[_P],function(){if(s){var a=this.xd.join("");this.clear();if(a){this.xd.push(a)}return a}else{return this.xd}});var kc=function(a){this.Yl=a||100;this.Sc=[]};kc[_P].qg=0;kc[_P].add=function(a){this.Sc[this.qg]=a;this.qg=(this.qg+1)%this.Yl};kc[_P].Y=function(a){a=this.Yr(a);return this.Sc[a]};kc[_P].B=function(a,b){a=this.Yr(a);this.Sc[a]=b};kc[_P].ma=function(){return this.Sc[i]};kc[_P].Kb=function(){return this.Sc[i]==0};Gc(kc[_P],function(){Sb(this.Sc,0);this.qg=0});kc[_P].$a=function(){return this.My(this.ma())};kc[_P].My=function(a){var b=this.ma(),c=this.ma()-a,d=[];for(var e=c;e<b;e++){d[e]=this.Y(e)}return d};
kc[_P].Gc=function(){var a=[],b=this.ma();for(var c=0;c<b;c++){a[c]=c}return a};kc[_P].wc=function(a){return a<this.ma()};kc[_P].ph=function(a){var b=this.ma();for(var c=0;c<b;c++){if(this.Y(c)==a){return true}}return false};kc[_P].Yr=function(a){if(a>=this.Sc[i]){throw Error("Out of bounds exception");}if(this.Sc[i]<this.Yl){return a}return(this.qg+gb(a))%this.Yl};var Za=function(a,b){this.Bi=a||"";this.Wi=b||"";this.lm=[];this.Am=new kc(500);this.xg=J(this.im,this);this.Sh=new uj(this.Wi);this.Gx={};this.Dm(true);this.Bc=this.Vp("enabled")=="1";oa.setInterval(J(this.EC,this),7500)};Za[_P].AE="LOGGING";Za[_P].w=null;Za[_P].Fn=false;Za[_P].Di=false;Za[_P].Bo=null;Za[_P].xr=Ua();Za[_P].eg=function(){if(this.Bc){this.km()}};Za[_P].Lb=function(){return this.Bc};Za[_P].Jm=function(a){this.Bc=a;if(this.Bc){this.km();if(this.w){this.Qu()}}this.ot("enabled",a?1:0)};
Za[_P].Dm=function(a){if(a==this.Di){return}this.Di=a;var b=qm();if(a){b.lo(this.xg)}else{b.Ss(this.xg)}};Za[_P].Ij=function(){this.Ru("<hr>")};Za[_P].im=function(a){if(this.Gx[a.dl()]){return}var b=this.Sh.Rh(a);this.Ru(b)};Za[_P].Ru=function(a){if(this.Bc){this.km();this.Am.add(a);this.Gn(a)}else{this.Am.add(a)}};Za[_P].Gn=function(a){this.lm.push(a);oa.clearTimeout(this.Bo);if(Ua()-this.xr>750){this.Pu()}else{this.Bo=oa.setTimeout(J(this.Pu,this),250)}};Za[_P].Pu=function(){this.xr=Ua();if(this.w){var a=
this.w[ta][B],b=a&&a[ig]-(a[lf]+a[dc])<=100;this.w[ta].write(this.lm.join(""));Sb(this.lm,0);if(b){this.w.scrollTo(0,1000000)}}};Za[_P].CE=function(){var a=this.Am.$a();for(var b=0;b<a[i];b++){this.Gn(a[b])}};Za[_P].km=function(){if(this.w&&!this.w.closed||this.Fn){return}var a=this.Vp("dbg","0,0,800,500").split(","),b=gb(a[0]),c=gb(a[1]),d=gb(a[2]),e=gb(a[3]);this.Fn=true;this.w=window.open("","dbg"+this.Bi,"width="+d+",height="+e+",toolbar=no,resizable=yes,scrollbars=yes,left="+b+",top="+c+",status=no,screenx="+
b+",screeny="+c);if(!this.w){if(!this.SD){alert("Logger popup was blocked");this.SD=true}}this.Fn=false;if(this.w){this.Qu()}};Za[_P].Qu=function(){if(!this.w){return}this.w[ta].open();var a='<style>*{font:normal 14px monospace;}.dbg-sev{color:#F00}.dbg-w{color:#E92}.dbg-sh{font-weight:bold;color:#000}.dbg-i{color:#666}.dbg-f{color:#999}.dbg-ev{color:#0A0}.dbg-m{color:#990}</style><hr><div class="dbg-ev" style="text-align:center">'+this.AE+"<br><small>Logger: "+this.Bi+"</small></div><hr>";this.Gn(a);
this.CE()};Za[_P].ot=function(a,b){a+=this.Bi;Y.cookie=a+"="+Cc(b)+";expires="+(new Date(Ua()+2592000000)).toUTCString()};Za[_P].Vp=function(a,b){a+=this.Bi;var c=Ia(Y.cookie),d=c.indexOf(a+"=");if(d!=-1){var e=c.indexOf(";",d);return Od(c.substring(d+a[i]+1,e==-1?c[i]:e))}else{return b||""}};Za[_P].EC=function(){if(!this.w||this.w.closed){return}var a=this.w[ec]||this.w.screenLeft||0,b=this.w[fc]||this.w.screenTop||0,c=this.w.outerWidth||800,d=this.w.outerHeight||500;this.ot("dbg",a+","+b+","+c+
","+d)};;;var y=function(a,b,c){E.call(this,c);this.Ha=b||In||(In=new Wa);this.fj(a)};y.b(E);var Zr={},Zg=function(a,b){Zr[a]=b};y[_P].sr=false;y[_P].Ha=null;y[_P].O=0;y[_P].Ng=39;y[_P].Vv=255;y[_P].WD=0;y[_P].sa=true;y[_P].z=null;y[_P].oa=null;y[_P].Bx=null;y[_P].Ya=function(){return this.z||(this.z=new ab(this))};y[_P].bd=function(){return this.Ha.bd(this)};y[_P].Hy=function(){return this.oa||(this.oa=new Xb(this.bd()))};y[_P].$p=function(){return this.Bx};y[_P].ha=function(){return"goog.ui.Control"};y[_P].e=
function(){this.tt(this.Ha.e(this))};y[_P].Md=function(){return this.Ha.Md(this.c())};y[_P].yd=function(a){return this.Ha.yd(a)};y[_P].xk=function(a){this.tt(this.Ha.Ed(this,a))};y[_P].D=function(){y.g.D.call(this);var a=this.c();this.sr=ik(a);this.Ha.jA(this);this.za(this.sa,true);if(this.Ng&-2){var b=this.Ya();b.i(a,$c,this.Rz);b.i(a,Wb,this.Oz);b.i(a,Hd,this.Sz);b.i(a,uc,this.Qz);if(this.kc(32)){var c=this.bd();b.i(c,"focus",this.Gz);b.i(c,"blur",this.sz);b.i(this.Hy(),"key",this.Me)}}};y[_P].ga=
function(){y.g.ga.call(this);if(this.z){this.z.nd()}};y[_P].f=function(){if(!this.L()){y.g.f.call(this);if(this.z){this.z.f();this.z=null}if(this.oa){this.oa.f();this.oa=null}this.Ha=null;this.wa=null}};y[_P].Sp=function(){return this.wa};y[_P].ej=function(a){this.Ha.ej(this.c(),a);this.fj(a)};y[_P].fj=function(a){this.wa=a};y[_P].Sx=function(){if(!this.wa||Ha(this.wa)){return this.wa}var a=Oa(this.wa)?nm(this.wa,Ke).join(""):Ke(this.wa);return a&&Vg(a)};y[_P].DA=function(){return this.sr};y[_P].rb=
function(a){return this.sa&&(a||!this.AA())};y[_P].AA=function(){var a=this.Hc();return a&&typeof a.rb=="function"&&!a.rb()};y[_P].za=function(a,b){if(b||this.sa!=a&&this.dispatchEvent(a?"show":"hide")){this.sa=a;var c=this.c();if(c){V(c,a);if(this.kc(32)){this.Ha.Ok(this.bd(),this.Lb());if(!this.Lb()){this.Hg(false)}}}}};y[_P].Lb=function(){return this.rb()&&!this.Rd(1)};y[_P].zA=function(){var a=this.Hc();return a&&typeof a.Lb=="function"&&!a.Lb()};y[_P].Jm=function(a){if(!this.zA()&&this.Xd(1,
!a)){if(this.kc(32)){if(!a){this.Hg(false)}var b=a&&this.sa;this.Ha.Ok(this.bd(),b);if(!b){this.Hg(false)}}if(!a){this.Dg(false);this.Ig(false)}this.pa(1,!a)}};y[_P].Ig=function(a){if(this.Xd(2,a)){this.pa(2,a)}};y[_P].Ci=function(){return this.Rd(4)};y[_P].Dg=function(a){if(this.Lb()&&this.Xd(4,a)){this.pa(4,a)}};y[_P].Rm=function(a){if(this.Xd(8,a)){this.pa(8,a)}};y[_P].rA=function(){return this.Rd(16)};y[_P].UC=function(a){if(this.Xd(16,a)){this.pa(16,a)}};y[_P].Hg=function(a){if(this.Xd(32,a)){this.pa(32,
a)}};y[_P].isOpen=function(){return this.Rd(64)};y[_P].jD=function(a){if(this.Xd(64,a)){this.pa(64,a)}};y[_P].getState=function(){return this.O};y[_P].Rd=function(a){return!(!(this.O&a))};y[_P].pa=function(a,b){if(this.kc(a)&&b!=this.Rd(a)){this.Ha.pa(this,a,b);this.O=b?this.O|a:this.O&~a}};y[_P].Kt=function(a){this.O=a};y[_P].kc=function(a){return!(!(this.Ng&a))};y[_P].jf=function(a,b){if(b!=this.kc(a)){if(this.U()){throw Error(Yg);}if(!b&&this.Rd(a)){this.pa(a,false)}this.Ng=b?this.Ng|a:this.Ng&
~a}};y[_P].ab=function(a){return!(!(this.Vv&a))&&this.kc(a)};y[_P].Xd=function(a,b){return this.kc(a)&&this.Rd(a)!=b&&(!(this.WD&a)||this.dispatchEvent(Xr(a,b)))};y[_P].Rz=function(a){if(a[qe]&&!Kb(this.c(),a[qe])&&this.dispatchEvent("enter")&&this.Lb()&&this.ab(2)){this.Ig(true)}};y[_P].Qz=function(a){if(a[qe]&&!Kb(this.c(),a[qe])&&this.dispatchEvent("leave")){if(this.ab(4)){this.Dg(false)}if(this.ab(2)){this.Ig(false)}}};y[_P].Oz=function(a){if(this.Lb()){if(this.ab(2)){this.Ig(true)}if(this.ab(4)){this.Dg(true)}}var b=
this.bd();if(this.Ha.$z(b)){if(!v){b.focus()}}else{a.preventDefault()}};y[_P].Sz=function(a){if(this.Lb()&&this.ab(2)){this.Ig(true)}if(this.Ci()&&this.pm(a)&&this.ab(4)){this.Dg(false)}};y[_P].pm=function(a){if(this.ab(16)){this.UC(!this.rA())}if(this.ab(8)){this.Rm(true)}if(this.ab(64)){this.jD(!this.isOpen())}return this.dispatchEvent("action")};y[_P].Gz=function(a){if(this.ab(32)){this.Hg(true)}};y[_P].sz=function(a){if(this.ab(4)){this.Dg(false)}if(this.ab(32)){this.Hg(false)}};y[_P].Me=function(a){return this.Lb()&&
a[hb]==13&&this.pm(a)};var Wa=function(){},In=null;Wa[_P].$z=function(a){return a&&a.tabIndex>=1};Wa[_P].Ok=function(a,b){if(a){a.tabIndex=b?t.max(a.tabIndex,1):-1}};Wa[_P].e=function(a){var b=this.Ux(a);return a.h.e("div",b?{"class":b.join(" ")}:null,a.Sp())};Wa[_P].Md=function(a){return a};Wa[_P].vx=function(a,b,c){var d=a.c();if(d){Zh(d,b,c)}};Wa[_P].yd=function(a){return true};Wa[_P].Ed=function(a,b){if(b.id){a.ef(b.id)}var c=this.Md(b);if(c&&c[Z]){a.fj(c[Z][Qb]?lm(c[ja]):c[Z])}else{a.fj(null)}a.Kt(this.ez(Af(b)));
Fa(b,this.Ec());var d=a.$p();if(d){Vb(d,function(e){this.vx(a,e,true)},this)}return b};Wa[_P].jA=function(a){var b=a.c();si(b,true);this.Ok(this.bd(a),a.kc(32)&&a.Lb());Zh(b,this.Ec()+"-rtl",a.DA())};Wa[_P].pa=function(a,b,c){var d=a.c();if(d){var e=this.Wh(b);if(e){Zh(d,e,c)}this.nE(a,b,c)}};Wa[_P].nE=function(a,b,c){var d;switch(b){case 1:d="disabled";break;case 4:d="pressed";break;case 8:d="selected";break;case 16:d="checked";break;case 64:d="expanded";break;case 2:case 32:default:break}if(d){var e=
a.c();if(e){Yh(e,d,c)}}};Wa[_P].ej=function(a,b){var c=this.Md(a);if(c){if(Ha(b)){tc(c,b)}else{Pg(c);if(b){function d(e){if(e){var f=ua(c);c.appendChild(Ha(e)?f.createTextNode(e):e)}}if(Oa(b)){Vb(b,d)}else{d(b)}}}}};Wa[_P].bd=function(a){return a.c()};Wa[_P].Ec=function(){return"goog-control"};Wa[_P].Ux=function(a){var b=this.Vx(a.getState()),c=a.$p();return c?b.concat(c):b};Wa[_P].Vx=function(a){var b=[this.Ec()];if(a){for(var c=1;a;c<<=1){if(a&c){b.push(this.Wh(c));a&=~c}}}return b};Wa[_P].Wh=function(a){if(a){var b=
this.Ec();switch(a){case 1:return b+"-disabled";case 2:return b+"-hover";case 4:return b+"-active";case 8:return b+"-selected";case 16:return b+"-checked";case 32:return b+"-focused";case 64:return b+"-open"}}return null};Wa[_P].ez=function(a){var b=0;if(a){Vb(a,function(c){b|=this.jl(c)},this)}return b};Wa[_P].jl=function(a){if(a){var b=oj(a.split("-"));switch(b){case "disabled":return 1;case "hover":return 2;case "active":return 4;case "selected":return 8;case "checked":return 16;case "focused":return 32;
case "open":return 64}}return 0};var $r=function(){return new y(null)};Zg("goog-control",$r);var cd=function(a,b,c,d){y.call(this,a,d||Kn||(Kn=new Qc),c);this.CD(b)};cd.b(y);cd[_P].ha=function(){return"goog.ui.MenuItem"};cd[_P].bg=function(){var a=this.Jy();return a!=null?a:this.Sx()};cd[_P].CD=function(a){this.iD(a)};cd[_P].Jg=function(a){this.jf(8,a);var b=this.c();if(b){this.Ha.Jg(this,b,a)}};cd[_P].nt=function(a){this.jf(16,a);var b=this.c();if(b){this.Ha.Jg(this,b,a)}};var Qc=function(){Wa.call(this)};Qc.b(Wa);var Kn=null;Qc[_P].e=function(a){var b=Qc.g.e.call(this,a);this.Jg(a,b,a.kc(8)||
a.kc(16));return b};Qc[_P].Ed=function(a,b){a.nt(Jb(b,"goog-option"));return Qc.g.Ed.call(this,a,b)};Qc[_P].Jg=function(a,b,c){Zh(b,"goog-option",c)};Qc[_P].Wh=function(a){switch(a){case 2:return this.Ec()+"-highlight";case 16:case 8:return"goog-option-selected";default:return Qc.g.Wh.call(this,a)}};Qc[_P].jl=function(a){return a=="goog-option-selected"?16:Qc.g.jl.call(this,a)};Qc[_P].Ec=function(){return"goog-menuitem"};var as=function(){return new cd(null)};Zg("goog-menuitem",as);var kk=function(a,b,c){cd.call(this,a,b,c);this.nt(true)};kk.b(cd);kk[_P].ha=function(){return"goog.ui.CheckBoxMenuItem"};var Wr=function(){return new kk(null)};Zg("goog-checkbox-menuitem",Wr);var vi=function(a,b,c){cd.call(this,a,b,c);this.Jg(true)};vi.b(cd);vi[_P].ha=function(){return"goog.ui.Option"};vi[_P].pm=function(a){return this.dispatchEvent("action")};var cs=function(){return new vi(null)};Zg("goog-option",cs);var $g=function(a,b){y.call(this,null,a||Mn||(Mn=new Rf),b);this.jf(1,false);this.jf(2,false);this.jf(4,false);this.jf(32,false);this.Kt(1)};$g.b(y);$g[_P].ha=function(){return"goog.ui.Separator"};$g[_P].D=function(){$g.g.D.call(this);zj(this.c(),"separator")};var Rf=function(){return Wa.call(this)};Rf.b(Wa);var Mn=null;var Ln="goog-menuseparator";Rf[_P].e=function(a){return a.h.e("div",{"class":this.Ec()})};Rf[_P].Ed=function(a,b){if(b[ea]=="HR"){var c=b;b=this.e(a);Gd(b,c);ca(c)}else{Fa(b,this.Ec())}return b};
Rf[_P].ej=function(a,b){};Rf[_P].Ec=function(){return Ln};var bs=function(){return new $g};Zg(Ln,bs);;;var ia=function(a,b){this.z=new ab(this);this.Gm(a);if(b){this.ge(b)}};ia.b(R);var mk="toggle_display";ia[_P].a=null;ia[_P].Uv=true;ia[_P].Lc=false;ia[_P].KD=false;ia[_P].Ar=-1;ia[_P].zr=-1;ia[_P].I=mk;ia[_P].ki=function(){return this.I};ia[_P].ge=function(a){this.I=a};ia[_P].c=function(){return this.a};ia[_P].Gm=function(a){this.zx();this.a=a};ia[_P].zx=function(){if(this.Lc){throw Error("Can not change this state of the popup while showing.");}};ia[_P].rb=function(){return this.Lc};ia[_P].za=function(a){if(a){if(!this.a){throw Error("Caller must call setElement before trying to show thepopup");
}this.an()}else{this.Bl()}};ia[_P].Bg=function(){};ia[_P].an=function(){if(this.Lc){return}if(!this.dm()){return}this.Bg();if(this.Uv){var a=ua(this.a);this.z.i(a,Wb,this.fs,true);if(s){var b=a[ag];while(b&&b[va]=="IFRAME"){try{var c=la?b[ta]||b[ef][ta]:b.contentDocument||b[ef][ta]}catch(d){break}a=c;b=a[ag]}this.z.i(a,Wb,this.fs,true);this.z.i(a,"deactivate",this.es)}else{this.z.i(a,"blur",this.es)}}if(this.I==mk){rg(this.a[k],"visible");V(this.a,true)}else if(this.I=="move_offscreen"){this.Bg()}this.Lc=
true;this.Ri()};ia[_P].Bl=function(a){if(this.Lc){if(!this.gB(a)){return}if(this.z){this.z.nd()}if(this.I==mk){if(this.KD){Kc(this.Wq,0,this)}else{this.Wq()}}else if(this.I=="move_offscreen"){this.cB()}this.Lc=false;this.hm(a)}};ia[_P].Wq=function(){rg(this.a[k],"hidden");V(this.a,false)};ia[_P].cB=function(){Cb(this.a[k],"-200px");this.a[k].top="-200px"};ia[_P].dm=function(){return this.dispatchEvent("beforeshow")};ia[_P].Ri=function(){this.Ar=Ua();this.zr=-1;this.dispatchEvent("show")};ia[_P].gB=
function(a){return this.dispatchEvent({type:"beforehide",target:a})};ia[_P].hm=function(a){this.zr=Ua();this.dispatchEvent({type:"hide",target:a})};ia[_P].fs=function(a){if(!Kb(this.a,a[S])){this.Bl(a[S])}};ia[_P].es=function(a){var b=ua(this.a);if(s){var c=b[ag];if(c&&Kb(this.a,c)){return}}else if(a[S]!=b){return}if(Ua()-this.Ar<150){return}this.Bl()};ia[_P].f=function(){if(!this.L()){ia.g.f.call(this);this.z.f();this.a=null;this.z=null}};var Ze=function(a,b){this.cC=5;this.qm=b;ia.call(this,a)};Ze.b(ia);Ze[_P].SA=null;Cd(Ze[_P],function(a){this.qm=a;if(this.Lc){this.Bg()}});Ze[_P].Bg=function(){if(!this.qm){return}if(!this.Lc){rg(this.a[k],"hidden");V(this.a,true)}this.qm.cb(this.a,this.cC,this.SA);if(!this.Lc){V(this.a,false)}};Ze[_P].cb=function(){this.Bg()};var Sf=function(a,b,c,d,e,f,g){var h=En(c),j=En(a),m=new Oc(j.x-h.x+c[hf],j.y-h.y+c[oe]),l=1,o=1,r=Nb(a),K=Nn(a,b);switch(K){case 1:break;case 2:m.x+=r[x];l=-1;break;case 3:m.y+=
r[w];o=-1;break;case 4:m.x+=r[x];m.y+=r[w];l=-1;o=-1;break}if(e){m.x+=l*e.x;m.y+=o*e.y}return ds(m,c,d,f,g)},ds=function(a,b,c,d,e){var f=Nn(b,c);if(d||f!=1){var g=Nb(b);switch(f){case 1:a.x+=d[qa];a.y+=d.top;break;case 2:a.x-=g[x];if(d){a.x-=d[Ud];a.y+=d.top}break;case 3:a.y-=g[w];if(d){a.x+=d[qa];a.y-=d[Qd]}break;case 4:a.x-=g[x];a.y-=g[w];if(d){a.x-=d[Ud];a.y-=d[Qd]}break}}var h=e||0;if(h!=0){var j=ua(b),m=Me(j)||window,l=Nb(b),o=Le(m),r=Je(m),K=a.x-r.x,N=o[x]-K,na=a.y-r.y,pa=o[w]-na;if(l[x]>N){if(h&
1){a.x-=l[x]-N}else if(h&2){return false}}if(l[w]>pa){if(h&4){a.y-=l[w]-pa}else if(h&8){return false}}if(a.x-r.x<0){if(h&1){a.x-=a.x-r.x}else if(h&2){return false}}if(a.y-r.y<0){if(h&4){a.y-=a.y-r.y}else if(h&8){return false}}}Xg(b,a);return true},Nn=function(a,b){var c=ik(a);switch(b){case 1:case 2:case 3:case 4:return b;case 5:return c?2:1;case 6:return c?1:2;case 7:return c?4:3;case 8:return c?3:4}},lk=function(){};lk[_P].cb=function(a,b,c){};var wi=function(a,b){this.Ac=a;this.ap=b};wi.b(lk);
wi[_P].cb=function(a,b,c){Sf(this.Ac,this.ap,a,b,null,c)};var xi=function(a,b){if(a instanceof Oc){this.sh=a}else{this.sh=new Oc(a,b)}};xi.b(lk);xi[_P].cb=function(a,b,c){var d=Wg(a);Sf(d,1,a,b,this.sh,c)};;var Ge=function(){this.cc=[];this.nm=new Va;this.oc=0;this.Au=0;this.zu=0;this.un=0;this.ie=new Va;this.yu=0;this.fk=0;this.eB=1;this.Jh=new nb(0,4000);this.Jh.Bf=function(){return new yj};this.dn=new nb(0,50);this.dn.Bf=function(){return new um};var a=this;this.Cl=new nb(0,2000);this.Cl.Bf=function(){return Ia(a.eB++)};this.Cl.Fk=function(){};this.bx=3};Ge[_P].s=Mc("goog.debug.Trace");var um=function(){this.Bb=0;this.ru=0;this.En=0};pb(um[_P],function(){var a=[];a.push(this[F]);a.push(" ");a.push(this.Bb);
a.push(" (");a.push(t.round(this.ru*10)/10);a.push(" ms)");if(this.En){a.push(" [VarAlloc = ");a.push(this.En);a.push("]")}return a.join("")});var yj=function(){};yj[_P].gE=function(a,b,c){var d=[];if(b==-1){d.push("    ")}else{d.push(wm(this.Kh-b))}d.push(" ");d.push(vm(this.Kh-a));if(this.Lh==0){d.push(" Start        ")}else if(this.Lh==1){d.push(" Done ");var e=this.uF-this.hu;d.push(wm(e));d.push(" ms ")}else{d.push(" Comment      ")}d.push(c);d.push(this.toString());if(this.xu>0){d.push("[VarAlloc ");
d.push(this.xu);d.push("] ")}return d.join("")};pb(yj[_P],function(){if(this[F]==null){return this.Wo}else{return"["+this[F]+"] "+this.Wo}});Xd(Ge[_P],function(a){this.bx=a;for(var b=0;b<this.cc[i];b++){var c=this.Jh.id;if(c){this.Cl.Pb(c)}this.Jh.Pb(this.cc[b])}Sb(this.cc,0);this.nm.clear();this.oc=Wh();this.Au=0;this.zu=0;this.un=0;this.yu=0;this.fk=0;var d=this.ie.Gc();for(var b=0;b<d[i];b++){var e=d[b],f=this.ie.Y(e);f.Bb=0;f.ru=0;f.En=0;this.dn.Pb(f)}this.ie.clear()});Ge[_P].pz=function(){var a=
this.ad;if(a&&a.isTracing()){return a.totalVarAlloc}return-1};Ge[_P].ko=function(a,b,c){var d=Wh(),e=c?c:d,f=this.Jh.Fb();f.Lh=2;f.Kh=e;Db(f,b);f.Wo=a;f.xu=this.pz();this.fk++;if(c){var g=this.cc[i];for(var h=0;h<g;h++){var j=this.cc[h],m=j.Kh;if(m>e){mm(this.cc,f,h);break}}if(h==g){this.cc.push(f)}}else{this.cc.push(f)}var l=f[F];if(l){var o=this.dz(l);o.Bb++}this.un+=Wh()-d};Ge[_P].dz=function(a){var b=this.ie.Y(a);if(!b){b=this.dn.Fb();Db(b,a);this.ie.B(a,b)}return b};pb(Ge[_P],function(){var a=
[],b=-1,c=[];for(var d=0;d<this.cc[i];d++){var e=this.cc[d];if(e.Lh==1){c.pop()}a.push(" ");a.push(e.gE(this.oc,b,c.join("")));b=e.Kh;a.push("\n");if(e.Lh==0){c.push("|  ")}}if(this.nm.ma()!=0){var f=Wh();a.push(" Unstopped timers:\n");pi(this.nm,function(j){a.push("  ");a.push(j.toString());a.push(" (");a.push(f-j.hu);a.push(" ms, started at ");a.push(vm(j.hu));a.push(")\n")})}var g=this.ie.Gc();for(var d=0;d<g[i];d++){var h=this.ie.Y(g[d]);if(h.Bb>1){a.push(" TOTAL ");a.push(h.toString());a.push("\n")}}a.push("Total tracers created "+
this.yu+"\n");a.push("Total comments created "+this.fk+"\n");a.push("Overhead start: "+this.Au+" ms\n");a.push("Overhead end: "+this.zu+" ms\n");a.push("Overhead comment: "+this.un+" ms\n");return a.join("")});var wm=function(a){a=t.round(a);var b="";if(a<1000)b=" ";if(a<100)b="  ";if(a<10)b="   ";return b+a},vm=function(a){a=t.round(a);var b=a/1000%60,c=a%1000;return Ia(100+b).substring(1,3)+"."+Ia(1000+c).substring(1,4)},Wh=function(){return Ua()},Vh=new Ge;var Ff=function(a){R.call(this);this.a=a;var b=s?"propertychange":"input";this.Yd=u(this.a,b,this)};Ff.b(R);Ff[_P].Ic=function(a){var b=a.Jd();if(b[F]=="propertychange"&&b.propertyName=="value"||b[F]=="input"){if(s){var c=b[te];if(c!=ua(c)[ag]){return}}var d=new ra(b);Db(d,"input");try{this.dispatchEvent(d)}finally{d.f()}}};Ff[_P].f=function(){if(!this.L()){Ff.g.f.call(this);mb(this.Yd);this.a=null}};;;var rj=function(){this.xg=J(this.im,this);this.Sh=new xj;this.Sh.Xm=false;this.Di=false;this.NA=""};rj[_P].Dm=function(a){if(a==this.Di){return}var b=qm();if(a){b.lo(this.xg)}else{b.Ss(this.xg);this.iF=""}};rj[_P].im=function(a){var b=this.Sh.Rh(a);if(window[Rd]&&window[Rd].firebug){switch(a.bi()){case tm:window[Rd].info(b);break;case vj:window[Rd].error(b);break;case wj:window[Rd].warn(b);break;default:window[Rd].debug(b);break}}else if(window[Rd]){window[Rd].log(b)}else{this.NA+=b}};var sj=null,
Iq=function(){if(!sj){sj=new rj}if(Y[Hb][gf].indexOf("Debug=true")!=-1){sj.Dm(true)}};var is,Ys=function(a,b){Fo[a]=b},Md=function(a){return Fo[a]||window[Hb].search&&window[Hb].search.match(a+"=true")!=null},xs=function(){if(window[Hb][fg]){var a=/#?(\d+)$/.exec(window[Hb][fg]);if(a&&a[i]!=0){return sa(a[1],10)}}return null},he=Sh("presently"),Fo={},Jo=s&&!Rc("7"),Ei=Md("Debug"),bt=Md("clientprotocol2"),Ji=null,zo=null,Ls=function(a){if(a){Ei=a}if(Ei){he.Mm(Lq);if(window.console){Iq()}else{var b=new Za("googpresent");b.Jm(true)}}Ka("Debug console initialized")},Ms=function(){return Ei},
Pa=function(a){if(Ei){he.db(a);return true}var b=p("errorConsole");if(b){tc(b,a)}else{alert(a)}return false},gh=function(a,b){var c=(new Date).getTime()-b;he.Cc(a+" ["+c+"ms]");return true},Ka=function(a){he.Cc(a);return true},$s=function(a,b){ys();Ji=window.setTimeout(a,b)},ys=function(){if(Ji){window.clearTimeout(Ji)}Ji=null};var Ho=function(a){var b=He("div");T(b,a);return b},mc=function(a,b){return function(c){return b.call(a,c)}},cc=function(a,b){if(arguments[i]<2){Pa("createClosure: At least 2 arguments, object and method, are required.");
return null}var c=[];for(var d=2;d<arguments[i];d++){c.push(arguments[d])}return function(){return b.apply(a,c)}},Go=function(a,b){if(!a||!b){Pa("createTimeoutClosure: Both arguments, func and delay, are required.");return null}return function(){$s(a,b)}},ch=function(a){if(a&&a[k]&&a[k][gd]){Bd(a[k],null)}};var oc=function(a,b){return b?Fb(a,"invisible_"):Fa(a,"invisible_")},nc=function(a){a=a||window[ff];if(a.stopPropagation){a.stopPropagation()}else{a.cancelBubble=true}if(a.preventDefault){a.preventDefault()}else{og(a,
false)}return false},Zs=function(a){zo=a},po=function(){return zo||"/"},Xs=function(a){if(typeof window[Hb].assign=="function"){window[Hb].assign(a)}else if(typeof window[Hb].replace=="function"){window[Hb].replace(a)}else if(self[Hb][gf]){xh(self[Hb],a)}else{window.location=a}},vs=function(){switch(Es()){case 0:Xs("/DocAction?action=unsupported_browser&product=presentations");break;case 1:at(M_UNSUPPORTED_BROWSER_VERSION);break;default:}},Es=function(){if(Md("browserok")){return 2}if(s){if(sa(ge,
10)<6){return 0}}else if(v){if(Ja(ge)<1.8){return 0}else if(Ja(ge)==1.8){var a=ge.split(".");if(a[2]==0&&a[3]<12){return 1}}}else if(la){if(bh){return 2}if(sa(ge,10)>500){return 1}return 0}else{return 0}return 2},at=function(a,b){b=b||Y[B];var c=He("DIV",{className:"page-warning"},a);b.insertBefore(c,b[Z])},zs=function(a){if(s){var b=Lg("img",null,a);if(b){for(var c=b[i]-1;c>=0;c--){var d=b[c],e=d[n];Bd(e[k],"1px");e[k].filter=(new Pc("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='",d.src,
"',sizingMethod='scale')")).toString();ca(d)}}}},uk=function(a,b){var c=a.cloneNode(b);Do(c);return c},Ns=function(a){return a[Q]==1},Do=function(a){a.removeAttribute("id");var b=Uq(a,Ns);Vb(b,function(c){c.removeAttribute("id")})},As=function(a,b){var c=[];go(a,b,c,false);return c},go=function(a,b,c,d){if(a!=null){a.ec(function(e){if(b(e)){c.push(e);if(d){return}}go(e,b,c,d)})}},Eo=function(a){if(!a.U()){var b=a.Hc();a.tb(b?b.c():null)}a.ec(Eo)},us=function(a,b,c,d){return u(a,b,function(e){Gf(c,
b,!(!d),e)})},Us=function(a){var b={};Vb(a.split(/\s*;\s*/),function(c){var d=c.split(/\s*:\s*/);if(d[i]==2){b[d[0].toLowerCase()]=d[1]}});return b},Io=function(a,b,c){var d=new Pc(a);if(b){d.da("?").da(Os(b))}if(c){d.da("#").da(c)}return d.toString()},ro=function(a){if(Md("saveAsZip")){return"pres_images/"+a}return Io("File",{id:a})},ws=function(a,b){if(!(b in a)){yk()}},yk=function(){window[Hb].reload()},Os=function(a){var b=[],c=[];for(var d in a){var e=a[d];if(ka(e)&&!zc(e)){if(!Ha(e)){e=$m(e)}b.push(d);
c.push(e)}}return Ws(b,c)},Ws=function(a,b){var c=[];for(var d=0,e=t.min(a[i],b[i]);d<e;d++){var f=b[d];if(ka(f)&&!zc(f)){c.push(Cc(a[d])+"="+Cc(f))}}return c.join("&")},so=function(){return ik(Og()[B])};Nc("_initConsole",Ls);Nc("_perf",gh);Nc("_isDebug",Ms);Nc("_setPathPrefix",Zs);Nc("_getPathPrefix",po);Nc("_checkBrowserSupport",vs);Nc("_convertImagesToFiltered",zs);Nc("_setFlag",Ys);var G=function(a){E.call(this,a)};G.b(E);G[_P].u=function(a){var b=new this.constructor;b.la("action","create");b.la("index",-1);if(a){b.ef(a(b))}return b};G[_P].kh=function(){return uk(this.c(),false)};G[_P].Bw=function(a){var b=this.u(a);this.ec(function(c){var d=c.Bw(a);b.uv(d);b.jo(d)});return b};G[_P].jo=function(a){if(a.yl()){this.no(a)}};G[_P].Aw=function(){var a=this.kh();this.ec(function(b){a.appendChild(b.Aw())});return a};G[_P].ct=0;G[_P].N=null;G[_P].kb=false;G[_P].z=null;G[_P].kg=null;
G[_P].Yc=null;G[_P].pq=function(){return this.ct};G[_P].pD=function(a){this.ct=a};G[_P].gg=function(){return this.kb};G[_P].Ia=function(a){if(this.kb&&!a||!this.kb&&a){if(!this.U()){throw new Error(Gn);}this.ec(function(b){b.Ia(a)});this.kb=a}};G[_P].Ya=function(){return this.z||(this.z=new ab(this))};G[_P].og=function(a,b,c){if(b!=this.El(a)){var d=a.gg();if(d){a.Ia(false)}a.Uj();this.removeChild(a,true);this.Hj(a,b,true);if(d){a.Ia(true)}a.Kj();if(!c){a.la("index",-1)}return true}return false};
G[_P].Uj=function(){};G[_P].Kj=function(){};G[_P].Pi=function(a,b,c){throw new Error("This method must be implemented by a child class");};G[_P].Pe=function(a,b,c){this.Hj(a,b,true);if(!c){this.jo(a)}Eo(a)};G[_P].Ah=function(a,b){throw new Error("This method must be implemented by a child class");};G[_P].Sb=function(a,b){if(a){var c=a.children;if(c!=null){var d={};Xj(c,function(K,N){var na=K.action;if(na=="delete"){this.Ah(this.Fe(N),b)}else{var pa=this.Fe(N),Ab=K.index;if(Ab!=null){if(na=="create"){if(pa){Pa('Component.updateInternal: Cannot create already existing child with id="'+
N)}pa=this.Pi(N,K.attributes,b)}d[Ab]=pa}if(!pa){Pa('Component.update: Received update for child with id="'+N+'", but no such child exists!')}pa.Sb(K,b)}},this);var e=nm(Yj(d),gb);Hq(e);for(var f=0;f<e[i];f++){var g=e[f],h=0;for(var j=f+1;j<e[i];j++){var m=this.El(d[e[j]]);if(0<=m&&m<g){h++}}var l=d[g];if(this.Fe(l.Z())){this.og(l,g+h,b)}else{this.Pe(l,g+h,b)}}}var o=a.attributes;if(o){for(var r in o){this.ra(r,o[r],b)}}}};G[_P].ra=function(a,b,c){yk()};G[_P].ha=function(){return"presently.Component"};
pb(G[_P],function(){return(new Pc("<")).da(this.ha()).da(' id="').da(this.Z()).da('" revision="').da(this.pq()).da('"/>').toString()});G[_P].e=function(a){this.a=this.h.e("div",{className:a||"",id:this.Z(),oF:this.pq()})};G[_P].ga=function(){this.Ia(false);G.g.ga.call(this);this.Yc=null};G[_P].f=function(){if(!this.L()){G.g.f.call(this);if(this.z){this.z.f()}this.z=null}};G[_P].Ea=function(a,b,c,d){if(d){this.dispatchEvent(d)}if(c){this.la(a,b)}return true};G[_P].yl=function(){return this.N&&!li(this.N)};
G[_P].Tx=function(){return this.N||(this.N={})};G[_P].Gw=function(){var a=this.Tf("children");if(a){for(var b in a){var c=a[b];if(c.action!="delete"){var d=this.Fe(b);if("index"in c){c.index=this.El(d)}d.Gw()}}}var e=this.N;if(!bt&&e){this.Id()}this.N=null;return e};G[_P].Id=function(){};G[_P].Tf=function(a){return this.N?hn(this.N,a):null};G[_P].la=function(a,b){if(!this.N){this.N={}}switch(a){case "children":case "action":case "index":this.N[a]=b;break;default:var c=this.N.attributes;if(!c){c=(this.N.attributes=
{})}c[a]=b}if(!("action"in this.N)){this.N.action="update"}var d=this.Hc();if(d){d.no(this)}};G[_P].lE=function(a){if(this.yl()){switch(a){case "children":case "action":case "index":delete this.N[a];break;default:var b=this.N.attributes;if(b){delete b[a];if(li(b)){delete this.N.attributes}}}if(!this.yl()){var c=this.Hc();if(c){c.vn(this)}}}};G[_P].no=function(a){var b=this.Tf("children");if(!b){b={};this.la("children",b)}kn(b,a.Z(),a.Tx())};G[_P].vn=function(a){var b=false,c=this.Tf("children");if(c&&
a){b=Ug(c,a.Z());if(li(c)){this.lE("children")}}return b};G[_P].mh=function(a){var b=new rd(0,0,100,100),c=false;this.ec(function(d){if(!c){var e=d.qy(a);if(e){b.cw(e)}else{c=true}}});return c?null:b};G[_P].qy=function(a){if(!this.Yc||a!=this.kg){a=a||this.kg;if(a){this.Yc=this.mh(a);this.kg=this.Yc&&Pd(this.Yc[x])?null:a}}return this.Yc};G[_P].wb=function(){if(this.kg){var a=this.mh(this.kg);if(!an(a,this.Yc)){this.Yc=a;this.dispatchEvent(this.Uh())}}};G[_P].Uh=function(){Pa("presently.Component#getBoundsEventType is abstract.")};var Ld=function(a,b,c){lb.call(this,b,a);lg(this,c)};Ld.b(lb);lg(Ld[_P],null);var Xn="slide_title_changed",Wn="slide_exterior_bounds_changed",Ac="shape_contents_changed",Vn="shape_exterior_bounds_changed",Un="editor_contents_changed";var aa=function(a){G.call(this,a);this.ZD={}};aa.b(G);var sb={$n:"picture",oe:"text",me:"background",Qn:"clipart"},rk="placeholder",yb={Tu:"body",Vu:"col1",Wu:"col2",Uu:"caption",Bj:"centeredTitle",iv:"subtitle",Fj:"title",Wg:"unknown"};aa[_P].I=null;aa[_P].tk="";aa[_P].Ad="";aa[_P].R=null;aa[_P].ha=function(){return"presently.Shape"};aa[_P].u=function(a){var b=aa.g.u.call(this,a);b.la("contentType",this.Yh());b.df(this.Pp());return b};aa[_P].Yh=function(){return this.Ad};aa[_P].Pp=function(){return this.R?
[this.R[qa],this.R.top,this.R[x],this.R[w]]:null};aa[_P].df=function(a,b){var c;if(Oa(a)){c=new rd(a[0],a[1],a[2],a[3])}else{c=a}if(this.R&&an(this.R,c)){return false}this.R=c;this.Ku();this.wb();return this.Ea("bounds",this.Pp(),!b,"shape_bounds_changed")};aa[_P].Ku=function(){if(this.R){var a,b;if(Jo){a=this.R[w]*0.225+"em"}else{a=this.R[w]+"%"}b=new Pc("left: ",this.R[qa],"%; top: ",this.R.top,"%; width: ",this.R[x],"%; height: ",a);if(so()){b.da("; right: auto")}this.tk=b.toString()}else{this.tk=
""}var c=this.c();if(c){kg(c[k],this.tk)}};aa[_P].ag=function(){return this.R?Zj("left: ",this.R[qa],"%; top: ",this.R.top,"%; width: ",this.R[x],"%; height: ",this.R[w],"%"):""};aa[_P].BD=function(a,b){if(a==this.ag()){return false}this.Um(Us(a),b)};aa[_P].Um=function(a,b){var c=a.left,d=a.top,e=a.width,f=a.height;if(c!=null&&d!=null&&e!=null&&f!=null){this.df([Ja(c),Ja(d),Ja(e),Ja(f)],b)}};aa[_P].Id=function(){aa.g.Id.call(this);var a=this.N.attributes;if(!a){return}if("bounds"in a){a.style=this.ag();
delete a.bounds}};aa[_P].Ia=function(a){if(this.kb&&!a||!this.kb&&a){aa.g.Ia.call(this,a);var b=this.Ya();if(a){b.i(this.c(),Wb,this.tg,true)}else{b.Ka(this.c(),Wb,this.tg,true)}}};aa[_P].e=function(){aa.g.e.call(this,this.Wp());this.Ku()};aa[_P].gl=function(){var a=this.jz();return new rd(Ja(a[qa]),Ja(a.top),Ja(a[x]),Ja(a[w]))};aa[_P].mh=function(a){return a&&this.U()&&this.c()?this.gl():null};aa[_P].Uh=function(){return Vn};aa[_P].jz=function(){var a=this.ZD;if(!a[x]){a=Br(a);var b=this.c();if(b){var c=
this.tu(b[hf],b[oe]),d=Qf(b,"padding");M(b,"padding","0");var e=Nb(b);M(b,"padding",d);var f=this.tu(e[x],e[w]);Cb(a,c[0]+"%");a.top=c[1]+"%";wa(a,f[0]+"%");Aa(a,f[1]+"%")}}return a};aa[_P].Wp=function(){return(new Pc(rk," ",this.Ad," ",this.I)).toString()};aa[_P].tu=function(a,b){var c=Nb(this.c()[n]);return[Ja(a)/c[x]*100,Ja(b)/c[w]*100]};aa[_P].tg=function(a){if(this.Ad==sb.me){return}this.dispatchEvent({type:"select",dw:a})};aa[_P].ra=function(a,b,c){switch(a){case "contents":break;case "style":this.BD(b,
c);break;case "bounds":this.df(b,c);break;case "contentType":break;default:aa.g.ra.call(this,a,b,c);break}};var js=function(a){return a?Lg("*",rk,a):[]},ls=function(a){if(a){for(var b in yb){if(Jb(a,yb[b])){return yb[b]}}}return yb.Wg},ks=function(a){if(a){for(var b in sb){if(Jb(a,sb[b])){return sb[b]}}}return sb.oe};var xa=function(a,b,c){this.h=c||Ga(a?$h(a):null);Ze.call(this,this.h.e("div",{style:"position:absolute;display:none;"}));this.yh=new Oc(0,0);this.ta=null;this.lb=new Mb;if(a){this.Pj(a)}if(b!=null){this.Kg(b)}};xa.b(Ze);var yi=[];Ra(xa[_P],"goog-tooltip");xa[_P].MD=500;xa[_P].aA=0;xa[_P].uf=null;xa[_P].Pj=function(a){a=$h(a);this.lb.add(a);u(a,$c,this.Mq,false,this);u(a,uc,this.si,false,this);u(a,Ef,this.Lq,false,this);u(a,"focus",this.Iq,false,this);u(a,"blur",this.si,false,this)};xa[_P].detach=
function(a){if(a){var b=$h(a);this.mp(b);this.lb.remove(b)}else{var c=this.lb.$a();for(var b,d=0;b=c[d];d++){this.mp(b)}this.lb.clear()}};xa[_P].mp=function(a){Ma(a,$c,this.Mq,false,this);Ma(a,uc,this.si,false,this);Ma(a,Ef,this.Lq,false,this);Ma(a,"focus",this.Iq,false,this);Ma(a,"blur",this.si,false,this)};xa[_P].Kg=function(a){tc(this.a,a)};xa[_P].Gm=function(a){if(this.a){ca(this.a);this.a=null}ia[_P].Gm.call(this,a);if(a){X(this.h.l()[B],a)}};xa[_P].sq=function(){return Ke(this.a)};xa[_P].dm=
function(){ia[_P].dm.call(this);for(var a,b=0;a=yi[b];b++){if(!Kb(a.a,this.ta)){a.za(false)}}Gq(yi,this);Ra(this.a,this[Pb]);this.wf();u(this.a,$c,this.Rq,false,this);u(this.a,uc,this.Qq,false,this);return true};xa[_P].hm=function(){Jg(yi,this);for(var a,b=0;a=yi[b];b++){if(Kb(this.a,a.uf)){a.za(false)}else{a.ta=null;a.cn()}}Ma(this.a,$c,this.Rq,false,this);Ma(this.a,uc,this.Qq,false,this);this.uf=null;ia[_P].hm.call(this)};xa[_P].$A=function(a,b){if(this.ta==a){this.dC(a,b)}};xa[_P].dC=function(a,
b){var c;if(b){c=b}else{var d=new Oc(this.yh.x,this.yh.y);c=new nk(d)}this.uf=a;this.setPosition(c);this.za(true)};xa[_P].ZA=function(){if(this.ta==null||this.ta!=this.a&&!this.lb.contains(this.ta)){this.za(false)}this.wf()};xa[_P].Mq=function(a){this.ta=a[S];this.wf();if(!this.rb()){this.gu(a[S])}};xa[_P].Lq=function(a){var b=Me(this.h.l())||window,c=Je(b);this.yh.x=a[vb]+c.x;this.yh.y=a[wb]+c.y};xa[_P].Iq=function(a){this.ta=a[S];if(!this.rb()){var b=new ok(this.ta);this.gu(a[S],b);this.wf()}};
xa[_P].si=function(a){if(a[S]==this.ta){this.ta=null}this.cn();this.xw()};xa[_P].Rq=function(a){if(this.ta!=this.a){this.wf();this.ta=this.a}};xa[_P].Qq=function(a){if(this.ta==this.a){this.ta=null;this.cn()}};xa[_P].gu=function(a,b){this.Zm=Kc(this.$A.J(this,a,b),this.MD)};xa[_P].xw=function(){if(this.Zm){Hg(this.Zm);this.Zm=null}};xa[_P].cn=function(){if(!this.zi){this.zi=Kc(this.ZA,this.aA,this)}};xa[_P].wf=function(){if(this.zi){Hg(this.zi);this.zi=null}};xa[_P].f=function(){if(!this.L()){R[_P].f.call(this);
this.detach();if(this.a){ca(this.a)}this.ta=null;this.h=null;this.a=null}};var nk=function(a,b){xi.call(this,a,b)};nk.b(xi);nk[_P].cb=function(a,b,c){var d=Wg(a),e=c?new Kd(c.top+10,c[Ud],c[Qd],c[qa]+10):new Kd(10,0,0,10),f=Sf(d,5,a,5,this.sh,e,9);if(!f){Sf(d,5,a,7,this.sh,e,5)}};var ok=function(a){wi.call(this,a,4)};ok.b(wi);ok[_P].cb=function(a,b,c){var d=new Oc(0,0),e=c?new Kd(c.top,c[Ud],c[Qd],c[qa]-10):new Kd(0,0,0,-10),f=Sf(this.Ac,this.ap,a,b,d,e,9);if(!f){Sf(this.Ac,2,a,3,d,e,5)}};var da=function(a){aa.call(this,a);this.Ad=sb.$n};da.b(aa);var qk="aspectRatio";da[_P].Td=null;da[_P].Oj=null;da[_P].Lg=null;da[_P].tn=null;da[_P].Nj=false;da[_P].Ua=null;da[_P].lu=null;da[_P].u=function(a){var b=da.g.u.apply(this,arguments);b.lt(this.Nx());b.Cm(this.Ox());b.hj(this.eq());b.It(this.bz());return b};da[_P].kh=function(){return uk(this.c(),true)};da[_P].Sb=function(a,b){da.g.Sb.call(this,a,b);this.Fh()};da[_P].Cm=function(a,b){if(a==this.Oj){return false}this.Oj=a;return this.Ea(qk,
a,!b)};da[_P].Ox=function(){return this.Oj};da[_P].It=function(a,b){if(a==this.Lg){return false}this.Lg=a;if(this.c()){this.so()}return this.Ea("sourceUrl",a,!b)};da[_P].so=function(){this.tn=this.tn||new xa(this.c());this.tn.Kg(this.Lg)};da[_P].bz=function(){return this.Lg};da[_P].hj=function(a,b){if(a==this.Td){return false}this.Td=a;this.Fh();return this.Ea("imageId",a,!b,Ac)};da[_P].eq=function(){return this.Td};da[_P].xq=function(){return Zj('<img src="',ro(this.Td),'" style="width: 100%; height: 100%"/>')};
da[_P].AD=function(a,b){if(a==this.xq()){return false}return this.hj(a.match(/src\s*=\s*["']File\?id=([^'"]+)["']/i)[1],b)};da[_P].Id=function(){da.g.Id.call(this);var a=this.N.attributes;if(!a){return}delete a.animated;delete a[qk];delete a.sourceUrl;if("imageId"in a){delete a.imageId;a.contents=this.xq()}};da[_P].lt=function(a,b){if(a==this.Nj){return false}this.Nj=a;this.Fh();return this.Ea("animated",a,!b,Ac)};da[_P].Nx=function(){return this.Nj};da[_P].ra=function(a,b,c){switch(a){case "contents":this.AD(b,
c);break;case qk:this.Cm(b,c);break;case "sourceUrl":this.It(b,c);break;case "imageId":this.hj(b,c);break;case "animated":this.lt(b,c);break;default:da.g.ra.call(this,a,b,c);break}};da[_P].ha=function(){return"presently.ImageShape"};da[_P].Fh=function(){if(!this.U()){return}var a=ro(this.Td),b=this.c();if(s){T(b,(new Pc('<div style="width: 100%; height: 100%; font-size: 1px;'," filter:progid:DXImageTransform.Microsoft.","AlphaImageLoader(src='",a,"',sizingMethod='scale')\"></div>")).toString())}else if(v){if(Jb(b,
"background")){var c=b[Z];if(c){c.src=a}else{T(b,(new Pc('<img src="',a,'" style="width: 100%; height: 100%"/>')).toString())}}if(!this.Ua){this.Ua=Zm("100%","100%",100,100,this.h);var d=this.Ua.c()[k];Wd(d,"absolute");d.top=0;Cb(d,0);this.Ua.tb(b);var e=this.Ua.drawImage(0,0,100,100,a);Wd(e.c()[k],"absolute");this.lu=e}else{this.lu.Sm(a)}}else{T(b,(new Pc('<img src="',a,'" style="width: 100%; height: 100%"/>')).toString())}};da[_P].D=function(){da.g.D.call(this);if(this.Td){this.Fh()}if(this.Lg){this.so()}};
da[_P].eq=function(){return this.Td};var sd=function(a){da.call(this,a);this.Ad=sb.me};sd.b(da);sd[_P].gn=null;sd[_P].ha=function(){return"presently.BackgroundShape"};sd[_P].u=function(a){var b=sd.g.u.apply(this,arguments);b.Lt(this.fz());return b};sd[_P].Lt=function(a,b){if(a==this.gn){return false}this.gn=a;return this.Ea("stretchMode",a,!b,Ac)};sd[_P].fz=function(){return this.gn};sd[_P].ra=function(a,b,c){switch(a){case "stretchMode":this.Lt(b,c);break;default:sd.g.ra.call(this,a,b,c);break}};;var xc=function(a,b){R.call(this);this.a=a;this.zq=b;this.wk=false};xc.b(R);xc[_P].zq=null;xc[_P].a=null;xc[_P].c=function(){return this.a};xc[_P].Ie=function(){return this.zq};xc[_P].addEventListener=function(a,b,c,d){u(this.a,a,b,c,d)};xc[_P].removeEventListener=function(a,b,c,d){Ma(this.a,a,b,c,d)};xc[_P].f=function(){if(!this.L()){xc.g.f(this);Gj(this.a)}};var yc=function(a,b){xc.call(this,a,b)};yc.b(xc);yc[_P].wt=function(a){this.Ie().Hm(this,a)};yc[_P].Mt=function(a){this.Ie().Im(this,a)};var Sg=function(a,b){yc.call(this,a,b)};Sg.b(yc);var Lf=function(a,b){xc.call(this,a,b)};Lf.b(xc);Gc(Lf[_P],function(){throw Error(Ta);});var Qe=function(a,b){yc.call(this,a,b)};Qe.b(yc);Cd(Qe[_P],function(a,b){throw Error(Ta);});Qe[_P].Sm=function(a){throw Error(Ta);};var Mf=function(a,b){yc.call(this,a,b)};Mf.b(yc);Mf[_P].hf=function(a){throw Error(Ta);};var Nf=function(a,b){yc.call(this,a,b)};Nf.b(yc);Cd(Nf[_P],function(a,b){throw Error(Ta);});var Of=function(a,b){yc.call(this,a,b)};Of.b(yc);Of[_P].Kg=function(a){throw Error(Ta);};var Jj=function(){};Jj[_P].Ba=function(a,b){throw Error(Ta);};;var Na=function(a,b,c,d,e){E.call(this,e);this.ud=a;this.dd=b;this.Yb=c;this.ve=d};Na.b(E);Na[_P].tc=null;Na[_P].rh=0;Na[_P].jk=0;Na[_P].Eg=function(a,b){this.Yb=a;this.ve=b};Na[_P].$x=function(){if(this.Yb){return new Da(this.Yb,this.ve)}else{return this.hl()}};Na[_P].hl=function(){return new Da(this.ud,this.dd)};Na[_P].fl=function(){return Nb(this.c())};Na[_P].nq=function(){return this.fl()[x]/this.$x()[x]};Gc(Na[_P],function(){throw Error(Ta);});Na[_P].Hm=function(a,b){throw Error(Ta);};Na[_P].Im=
function(a,b){throw Error(Ta);};Na[_P].Ik=function(a,b,c,d,e,f,g){throw Error(Ta);};Na[_P].Kk=function(a,b,c,d,e,f,g){throw Error(Ta);};Na[_P].Jk=function(a,b,c,d){throw Error(Ta);};Na[_P].pk=function(){throw Error(Ta);};Na[_P].rk=function(){throw Error(Ta);};Na[_P].qk=function(){throw Error(Ta);};Na[_P].createLinearGradient=function(){throw Error(Ta);};var Tg=function(a,b,c,d,e,f){this.Hn=a;this.Jn=b;this.In=c;this.Kn=d;this.ek=e;this.lh=f};Tg.b(Jj);var Jd=function(){};Gc(Jd[_P],function(){Sb(this.ca,0);return this});Jd[_P].moveTo=function(a,b){throw Error(Ta);};Jd[_P].lineTo=function(a,b){throw Error(Ta);};Jd[_P].vk=function(a,b,c,d,e,f){throw Error(Ta);};Jd[_P].close=function(){throw Error(Ta);};Jd[_P].arc=function(a,b,c,d,e,f,g){throw Error(Ta);};Jd[_P].bg=function(){return this.ca.join(" ")};var Re=function(a,b){mf(this,a);yh(this,b)};Re.b(Jj);mf(Re[_P],null);yh(Re[_P],null);var Se=function(a,b){wa(this,a);mf(this,b)};mf(Se[_P],null);wa(Se[_P],null);Se[_P].Ba=function(a,b){throw Error(Ta);};var Kj=function(a,b){Lf.call(this,a,b)};Kj.b(Lf);Gc(Kj[_P],function(){Pg(this.c())});var Um=function(a,b){Sg.call(this,a,b)};Um.b(Sg);var Nj=function(a,b){Nf.call(this,a,b)};Nj.b(Nf);Cd(Nj[_P],function(a,b){this.Ie().Gg(this.c(),{x:a,y:b})});var Mj=function(a,b){Mf.call(this,a,b)};Mj.b(Mf);Mj[_P].hf=function(a){this.Ie().Gg(this.c(),{d:a.bg()})};var Vm=function(a,b){Of.call(this,a,b)};Vm.b(Of);Vm[_P].Kg=function(a){lg(this.c()[Z],a)};var ci=function(a,b){Qe.call(this,a,b)};ci.b(Qe);Cd(ci[_P],function(a,
b){this.Ie().Gg(this.c(),{x:a,y:b})});ci[_P].Sm=function(a){this.Ie().Gg(this.c(),{"xlink:href":a})};var Lj=function(a,b,c,d,e,f){Tg.call(this,a,b,c,d,e,f)};Lj.b(Tg);Lj[_P].Ba=function(a,b){var c="lg-"+this.Hn+"-"+this.Jn+"-"+this.In+"-"+this.Kn+"-"+this.ek+"-"+this.lh,d=b.fy(c);if(!d){var e=b.Zb("linearGradient",{x1:this.Hn,y1:this.Jn,x2:this.In,y2:this.Kn,gradientUnits:"userSpaceOnUse"}),f=b.Zb("stop",{offset:"0%",style:"stop-color:"+this.ek});e.appendChild(f);var g=b.Zb("stop",{offset:"100%",style:"stop-color:"+this.lh});e.appendChild(g);d=b.yv(c,e)}a.setAttribute("fill","url(#"+d+")")};var Te=function(){this.ca=[]};Te.b(Jd);Te[_P].moveTo=function(a,b){this.ca.push("M"+a+","+b);return this};Te[_P].lineTo=function(a,b){this.ca.push("L"+a+","+b);return this};Te[_P].vk=function(a,b,c,d,e,f){this.ca.push("C"+a+","+b+","+c+","+d+","+e+","+f);return this};Te[_P].close=function(){this.ca.push("Z");return this};Te[_P].arc=function(a,b,c,d,e,f,g){e=Ye(e);f=Ye(f);var h=Uj(f,c),j=Vj(f,d),m=g?f-e:e-f,l=Ye(m)>180?1:0;this.ca.push("A"+c+","+d+",0,"+l+","+(g?1:0)+","+(a+h)+","+(b+j));return this};var di=function(a,b){Re.call(this,a,b)};di.b(Re);var kr=new di;di[_P].Ba=function(a,b){if(this[qh]!=null){a.setAttribute("fill-opacity",this[qh])}a.setAttribute("fill",this[Tc]||"none")};var ei=function(a,b){Se.call(this,a,b)};ei.b(Se);var lr=new ei(0);ei[_P].Ba=function(a,b){a.setAttribute("stroke",this[Tc]||"none");var c=this[x]||0;if(Ha(c)&&c.indexOf("px")!=-1){a.setAttribute("stroke-width",Ja(c)/b.nq())}else{a.setAttribute("stroke-width",c||0)}};var Ca=function(a,b,c,d,e){Na.call(this,a,b,c,d,e);this.Fd={}};Ca.b(Na);var jr=0;Ca[_P].Df=null;Ca[_P].Zb=function(a,b){var c=this.h.l().createElementNS("http://www.w3.org/2000/svg",a);if(b){this.Gg(c,b)}return c};Ca[_P].Gg=function(a,b){for(var c in b){a.setAttribute(c,b[c])}};Ca[_P].Rc=function(a,b,c,d){a.Mt(b);a.wt(c);var e=d||this.tc;e.c().appendChild(a.c())};Ca[_P].Hm=function(a,b){if(b){b.Ba(a.c(),this)}else{kr.Ba(a.c(),this)}};Ca[_P].Im=function(a,b){if(b){b.Ba(a.c(),this)}else{lr.Ba(a.c(),
this)}};Ca[_P].ha=function(){return"goog.graphics.SvgGraphics"};Ca[_P].e=function(){var a={width:this.ud,height:this.dd,overflow:"hidden"};if(this.Yb||this.rh||this.jk){a.viewBox=this.yq();a.preserveAspectRatio="none"}var b=this.Zb("svg",a),c=this.Zb("g");this.Df=this.Zb("defs");this.tc=new Kj(c,this);b.appendChild(this.Df);b.appendChild(c);this.a=b};Ca[_P].Eg=function(a,b){Ca.g.Eg.apply(this,arguments);this.a.setAttribute("viewBox",this.yq());this.a.setAttribute("preserveAspectRatio","none")};Ca[_P].yq=
function(){return this.rh+" "+this.jk+" "+(ka(this.Yb)?this.Yb+" "+this.ve:"")};Ca[_P].fl=function(){return this.hl()};Gc(Ca[_P],function(){this.tc.clear();Pg(this.Df);this.Fd={}});Ca[_P].Ik=function(a,b,c,d,e,f,g){var h=this.Zb("ellipse",{cx:a,cy:b,rx:c,ry:d}),j=new Um(h,this);this.Rc(j,e,f,g);return j};Ca[_P].Kk=function(a,b,c,d,e,f,g){var h=this.Zb("rect",{x:a,y:b,width:c,height:d}),j=new Nj(h,this);this.Rc(j,e,f,g);return j};Ca[_P].drawImage=function(a,b,c,d,e,f){var g=this.Zb("image",{x:a,y:b,
width:c,height:d,"image-rendering":"optimizeQuality",preserveAspectRatio:"none"});g.setAttributeNS("http://www.w3.org/1999/xlink","href",e,"xlink");var h=new ci(g,this);this.Rc(h,null,null,f);return h};Ca[_P].Jk=function(a,b,c,d){var e=this.Zb("path",{d:a.bg()}),f=new Mj(e,this);this.Rc(f,b,c,d);return f};Ca[_P].pk=function(){return new Te};Ca[_P].rk=function(a,b){return new ei(a,b)};Ca[_P].qk=function(a,b){return new di(a,b)};Ca[_P].createLinearGradient=function(a,b,c,d,e,f){return new Lj(a,b,c,
d,e,f)};Ca[_P].yv=function(a,b){if(a in this.Fd){return this.Fd[a]}var c="_svgdef_"+jr++;b.setAttribute("id",c);this.Fd[a]=c;var d=this.Df;d.appendChild(b);return c};Ca[_P].fy=function(a){return a in this.Fd?this.Fd[a]:null};Ca[_P].f=function(){if(!this.L()){this.Fd=null;this.Df=null;this.tc=null;var a=this.c();Ca.g.f.call(this);ca(a)}};var Oj=function(a,b){Lf.call(this,a,b)};Oj.b(Lf);Gc(Oj[_P],function(){Pg(this.c())});var Wm=function(a,b,c,d,e,f){Sg.call(this,a,b);this.RE=c;this.SE=d;this.rF=e;this.sF=f};Wm.b(Sg);var Rj=function(a,b){Nf.call(this,a,b)};Rj.b(Nf);Cd(Rj[_P],function(a,b){var c=this.c()[k];Cb(c,Pf(a));c.top=Pf(b)});var Qj=function(a,b){Mf.call(this,a,b)};Qj.b(Mf);Qj[_P].hf=function(a){this.c()[Z].setAttribute("v",a.bg())};var Ym=function(a,b){Of.call(this,a,b)};Ym.b(Of);Ym[_P].Kg=function(a){this.c()[ja][1].setAttribute("string",
a)};var gi=function(a,b){Qe.call(this,a,b)};gi.b(Qe);Cd(gi[_P],function(a,b){var c=this.c()[k];Cb(c,Pf(a));c.top=Pf(b)});gi[_P].Sm=function(a){this.c().setAttribute("src",a)};var Pj=function(a,b,c,d,e,f){Tg.call(this,a,b,c,d,e,f)};Pj.b(Tg);Pj[_P].Ba=function(a,b){b.Rs(a);a.Of="true";var c=b.Vc("fill");mf(c,this.ek);c.lh=this.lh;var d=Ye(t.atan2(this.Kn-this.Jn,this.In-this.Hn)*180/t.PI);d=t.round(Ye(270-d));c.FE=d;Db(c,"gradient");a.appendChild(c)};var Ue=function(){this.ca=[]};Ue.b(Jd);Ue[_P].moveTo=function(a,b){this.ca.push("M"+Zb(a)+","+Zb(b));return this};Ue[_P].lineTo=function(a,b){this.ca.push("L"+Zb(a)+","+Zb(b));return this};Ue[_P].vk=function(a,b,c,d,e,f){this.ca.push("C"+Zb(a)+","+Zb(b)+","+Zb(c)+","+Zb(d)+","+Zb(e)+","+Zb(f));return this};Ue[_P].close=function(){this.ca.push("X");return this};Ue[_P].arc=function(a,b,c,d,e,f,g){e=Ye(e);f=Ye(f);var h=t.round(Uj(e,c)),j=t.round(Vj(e,d)),m=t.round(Uj(f,c)),l=t.round(Vj(f,d));a=Zb(a);
b=Zb(b);c=Zb(c);d=Zb(d);var o=g?"WA":"AT";this.ca.push(o+(a-c)+","+(b-d)+","+(a+c)+","+(b+d)+","+(a+h)+","+(b+j)+","+(a+m)+","+(b+l));return this};var hi=function(a,b){Re.call(this,a,b)};hi.b(Re);var mr=new hi;hi[_P].Ba=function(a,b){b.Rs(a);if(this[Tc]==null||this[Tc]=="transparent"){a.Of=false}else if(this[qh]!=null){a.Of=true;var c=b.Vc("fill");yh(c,t.round(this[qh]*100)+"%");mf(c,this[Tc]);a.appendChild(c)}else{a.Of=true;a.Rk=this[Tc]}};var ii=function(a,b){Se.call(this,a,b)};ii.b(Se);var nr=new ii(0);ii[_P].Ba=function(a,b){if(this[Tc]==null){a.hn=false}else{a.hn=true;a.ku=this[Tc];var c=this[x]||0;if(Ha(c)&&c.indexOf("px")!=-1){a.XD=c}else{a.XD=c*b.nq()+"px"}}};var bb=function(a,b,c,d,e){Na.call(this,a,b,c,d,e)};bb.b(Na);var Zb=function(a){return t.round((Ja(a)-0.5)*100)},Pf=function(a){return Zb(a)+"px"},ad=function(a){return Ja(a)*100},Xm=function(a){return ad(a)+"px"};bb[_P].Vc=function(a){return this.h.createElement("g_vml_:"+a)};bb[_P].Rc=function(a,b,c,d){a.Mt(b);a.wt(c);var e=d||this.tc;e.c().appendChild(a.c())};bb[_P].Hm=function(a,b){if(b){b.Ba(a.c(),this)}else{mr.Ba(a.c(),this)}};bb[_P].Im=function(a,b){if(b){b.Ba(a.c(),this)}else{nr.Ba(a.c(),
this)}};bb[_P].Rs=function(a){a.Rk="";for(var b=0;b<a[ja][i];b++){var c=a[ja][b];if(c[ea]=="fill"){a.removeChild(c)}}};var fi=function(a,b,c,d,e){var f=a[k];Wd(f,"absolute");Cb(f,Pf(b));f.top=Pf(c);wa(f,Xm(d));Aa(f,Xm(e));if(a[ea]=="shape"){a.we=ad(d)+" "+ad(e)}};bb[_P].ha=function(){return"goog.graphics.VmlGraphics"};bb[_P].e=function(){var a=this.h.l();if(!a.namespaces.g_vml_){a.namespaces.add("g_vml_","urn:schemas-microsoft-com:vml");var b=a.createStyleSheet();kg(b,"g_vml_\\:*{behavior:url(#default#VML)}")}var c=
this.ud,d=this.dd,e=this.h.e("div",{style:"overflow:hidden;position:relative;width:"+c+"px;height:"+d+"px"});this.a=e;var f=this.Vc("group"),g=f[k];Wd(g,"absolute");Cb(g,g.top=0);wa(g,this.ud);Aa(g,this.dd);if(ka(this.Yb)){f.we=ad(this.Yb)+" "+ad(this.ve)}else{f.we=ad(c)+" "+ad(d)}if(ka(this.rh)){f.kk=ad(this.rh)+" "+ad(this.jk)}else{f.kk="0 0"}e.appendChild(f);this.tc=new Oj(f,this)};bb[_P].Eg=function(a,b){bb.g.Eg.apply(this,arguments);this.tc.c().we=ad(a)+" "+ad(b)};Na[_P].fl=function(){var a=
this.c();return new Da(a[k].pixelWidth,a[k].pixelHeight)};Gc(bb[_P],function(){this.tc.clear()});bb[_P].Ik=function(a,b,c,d,e,f,g){var h=this.Vc("oval");fi(h,a-c,b-d,c*2,d*2);var j=new Wm(h,this,a,b,c,d);this.Rc(j,e,f,g);return j};bb[_P].Kk=function(a,b,c,d,e,f,g){var h=this.Vc("rect");fi(h,a,b,c,d);var j=new Rj(h,this);this.Rc(j,e,f,g);return j};bb[_P].drawImage=function(a,b,c,d,e,f){var g=this.Vc("image");fi(g,a,b,c,d);g.setAttribute("src",e);var h=new gi(g,this);this.Rc(h,null,null,f);return h};
bb[_P].Jk=function(a,b,c,d){var e=this.Vc("shape"),f=this.Vc("path");f.setAttribute("v",a.bg());fi(e,0,0,this.ud,this.dd);e.appendChild(f);var g=new Qj(e,this);this.Rc(g,b,c,d);return g};bb[_P].pk=function(){return new Ue};bb[_P].rk=function(a,b){return new ii(a,b)};bb[_P].qk=function(a,b){return new hi(a,b)};bb[_P].createLinearGradient=function(a,b,c,d,e,f){return new Pj(a,b,c,d,e,f)};bb[_P].f=function(){if(!this.L()){this.tc=null;bb.g.f.call(this)}};var Ta="Not Implemented",Zm=function(a,b,c,d,e){var f;if(s){f=new bb(a,b,c,d,e)}else{f=new Ca(a,b,c,d,e)}f.e();return f};var hh=function(a,b){this.I=a;this.jp=b};hh[_P].I=null;hh[_P].jp=null;hh[_P].ZB=function(a){var b=a.split(",");for(var c=0,d=b[i];c<d;c++){b[c]=Ja(b[c])}return b};hh[_P].sx=function(a,b,c){var d=this.jp,e;switch(this.I){case "path":var f=a.pk(),g=d.split(";");for(var h=0,j;j=g[h];h++){var m=j.substr(0,1);if(m!="Z"){e=this.ZB(j.substr(1))}switch(m){case "M":f.moveTo.apply(f,e);break;case "L":f.lineTo.apply(f,e);break;case "C":f.vk.apply(f,e);break;case "Z":f.close();break;default:Pa("Invalid path command: "+
m)}}return a.Jk(f,c,b);case "ellipse":return a.Ik(d[2],d[3],d[0],d[1],c,b);case "rect":return a.Kk(d[2],d[3],d[0],d[1],c,b);default:Pa("Invalid primitive type: "+this.I);return null}};var Ko={arrow:{elements:[{type:"path",data:"M1,23.768;L43,23.768;C43,23.768,42.94,2.958,43,2.768;C43,-1.232,46.96,2.808,46.96,2.808;L88,44.768;C88,44.768,46.97,86.618,46.97,86.708;C42.34,90.858,43,86.768,43,86.768;L43,65.768;L1,65.768;L1,23.768;Z"}],coordWidth:88,coordHeight:91,width:150,height:100},speech:{elements:[{type:"path",data:"M141.68,47.67;C141.68,21.9,110.19,1,71.34,1;C32.49,1,1,21.9,1,47.67;C1,67.59,19.79,84.59,46.26,91.29;C49.02,91.99,48.92,104.91,38.81,117.83;C56.83,111.96,60.45,93.83,63.37,94.05;C65.99,94.24,68.64,94.34,71.34,94.34;C110.19,94.34,141.68,73.45,141.68,47.67;Z"}],
coordWidth:142,coordHeight:118,width:200,height:150},starburst:{elements:[{type:"path",data:"M66.451,1;C67.471,1,73.501,10.23,74.191,10.33;C74.891,10.43,83.171,3.17,84.151,3.44;C85.131,3.72,88.461,14.25,89.101,14.53;C89.751,14.81,99.671,10.07,100.541,10.6;C101.411,11.13,101.791,22.18,102.331,22.62;C102.881,23.07,113.701,21.2,114.401,21.94;C115.091,22.69,112.491,33.43,112.901,34;C113.301,34.58,124.231,35.72,124.701,36.62;C125.171,37.53,119.791,47.17,120.021,47.83;C120.261,48.5,130.481,52.55,130.681,53.56;C130.891,54.56,123.121,62.37,123.171,63.08;C123.221,63.78,131.971,70.46,131.901,71.48;C131.831,72.5,122.261,77.92,122.121,78.61;C121.971,79.31,128.611,88.11,128.271,89.08;C127.931,90.04,117.251,92.66,116.931,93.29;C116.611,93.92,120.631,104.2,120.051,105.03;C119.461,105.87,108.481,105.49,108.001,106.01;C107.521,106.53,108.641,117.52,107.851,118.16;C107.061,118.81,96.591,115.47,95.991,115.84;C95.391,116.21,93.521,127.09,92.591,127.5;C91.651,127.91,82.471,121.85,81.791,122.04;C81.111,122.23,76.391,132.21,75.381,132.35;C74.381,132.49,67.151,124.16,66.451,124.16;C65.751,124.16,58.531,132.49,57.521,132.35;C56.511,132.21,51.791,122.23,51.111,122.04;C50.441,121.85,41.251,127.91,40.311,127.5;C39.381,127.09,37.511,116.21,36.911,115.84;C36.311,115.47,25.841,118.81,25.051,118.16;C24.261,117.52,25.381,106.53,24.901,106.01;C24.421,105.49,13.441,105.87,12.851,105.03;C12.271,104.2,16.291,93.92,15.971,93.29;C15.651,92.66,4.971,90.04,4.631,89.08;C4.291,88.11,10.931,79.31,10.791,78.61;C10.641,77.92,1.071,72.5,1.001,71.48;C0.931,70.46,9.681,63.78,9.731,63.08;C9.781,62.37,2.011,54.56,2.221,53.56;C2.431,52.55,12.641,48.5,12.881,47.83;C13.121,47.17,7.731,37.53,8.201,36.62;C8.671,35.72,19.601,34.58,20.001,34;C20.411,33.43,17.811,22.69,18.501,21.94;C19.201,21.2,30.031,23.07,30.571,22.62;C31.121,22.18,31.501,11.13,32.361,10.6;C33.231,10.07,43.161,14.81,43.801,14.53;C44.441,14.25,47.771,3.72,48.751,3.44;C49.731,3.17,58.011,10.43,58.711,10.33;C59.411,10.23,65.431,1,66.451,1;Z"}],
coordWidth:132,coordHeight:133,width:200,height:200},ellipse:{elements:[{type:"ellipse",data:[49,49,50,50]}],width:200,height:200},rectangle:{elements:[{type:"rect",data:[98,98,1,1]}],width:200,height:200}};var ma=function(a){aa.call(this,a)};ma.b(aa);ma[_P].u=function(a){var b=ma.g.u.call(this);if(this instanceof ma){b.ut(this.ky())}b.setFillColor(this.uy());b.setStrokeColor(this.gz());b.Nt(this.hz());return b};ma[_P].lb=null;ma[_P].Ph="#ffffff";ma[_P].oj="#000000";ma[_P].pj=1;ma[_P].ha=function(){return"presently.VectorShape"};ma[_P].kh=function(){if(v){return uk(this.c(),true)}else{return co(this.c())}};var co=function(a){var b=a.cloneNode(false);if(a[ea].indexOf("shape")!=-1){b.Ye=a.Ye}if(a[ea].indexOf("group")==
-1){b.Of=a.Of;b.Rk=a.Rk;b.hn=a.hn;b.ku=a.ku;b.YD=a.YD}b.BC=a.BC;if(a.we){b.we=a.we;b.kk=a.kk}b.removeAttribute("id");for(var c=0;c<a[ja][i];c++){var d=a[ja][c];b.appendChild(co(d))}return b};ma[_P].vy=function(a){return a&&this.Ua.qk(a)};ma[_P].iz=function(a,b){return b&&this.Ua.rk(a,b)};ma[_P].ky=function(){return this.lb};ma[_P].ut=function(a,b){if(this.lb==a){return false}this.lb=a;this.zg();return this.Ea("elements",a,!b,Ac)};ma[_P].uy=function(){return this.Ph};ma[_P].setFillColor=function(a,
b){if(this.Ph==a){return false}this.Ph=a;this.zg();return this.Ea("fillColor",a,!b,Ac)};ma[_P].gz=function(){return this.oj};ma[_P].setStrokeColor=function(a,b){if(this.oj==a){return false}this.oj=a;this.zg();return this.Ea("strokeColor",a,!b,Ac)};ma[_P].hz=function(){return this.pj};ma[_P].Nt=function(a,b){if(this.pj==a){return false}this.pj=a;this.zg();return this.Ea("strokeWidth",a,!b,Ac)};ma[_P].zg=function(){var a=this.c();if(a&&this.lb){if(!this.Ua){this.Ua=Zm("100%","100%",this.Yb||100,this.ve||
100,this.h);this.Ua.tb(a)}else{this.Ua.clear()}for(var b=0,c=this.lb[i];b<c;b++){var d=this.lb[b],e=new hh(d.type,d.data),f=this.vy(this.Ph),g=this.iz(this.pj,this.oj);e.sx(this.Ua,f,g)}}};ma[_P].XC=function(a,b){this.Yb=a;this.ve=b;if(this.Ua){this.Ua.Eg(a,b)}};ma[_P].Uj=function(){ma.g.Uj.apply(this,arguments);if(v){Ea(this.c()[k],"none")}};ma[_P].Kj=function(){ma.g.Kj.apply(this,arguments);if(v){Ea(this.c()[k],"")}};ma[_P].D=function(){ma.g.D.call(this);this.zg()};ma[_P].ra=function(a,b,c){switch(a){case "strokeWidth":this.Nt(b,
c);break;case "strokeColor":this.setStrokeColor(b,c);break;case "fillColor":this.setFillColor(b,c);break;default:ma.g.ra.call(this,a,b,c);break}};var dd=function(a){ma.call(this,a);this.Ad=sb.Qn};dd.b(ma);dd[_P].F=null;dd[_P].zw=null;dd[_P].ha=function(){return"presently.ClipartShape"};dd[_P].u=function(a){var b=dd.g.u.call(this);b.Ct(this.di());return b};dd[_P].di=function(){return this.F};dd[_P].Ct=function(a,b){if(this.F==a){return false}this.F=a;ws(Ko,this.F);var c=Ko[this.F];this.zw=new Da(c.width,c.height);this.ut(c.elements,true);this.XC(c.coordWidth||100,c.coordHeight||100);return this.Ea("name",a,!b)};dd[_P].ra=function(a,b,c){switch(a){case "name":this.Ct(b,
c);break;default:dd.g.ra.call(this,a,b,c);break}};;var uo=function(a){return Xa(a,"height")},Ii=function(a,b){Aa(a[k],(b>0?b:0)+"px")},Gi=function(a){if(a==ua(a)[B]){if(s){a=Wg(a);return a[dc]}var b=ua(a),c=Me(b);return c[gg]}return a[dc]},Ps=function(a,b){var c=Xa(a,"paddingTop")+Xa(a,"paddingBottom");Ii(a,b-c)},Qs=function(a,b){var c=Xa(a,"paddingTop")+Xa(a,"paddingBottom"),d=Xa(a,"borderTopWidth")+Xa(a,"borderBottomWidth");Ii(a,b-c-d)},vo=function(a){var b=Xa(a,"marginTop")+Xa(a,"marginBottom");return a[Ad]+b},Ts=function(a,b){var c=Xa(a,"paddingTop")+
Xa(a,"paddingBottom"),d=Xa(a,"borderTopWidth")+Xa(a,"borderBottomWidth"),e=Xa(a,"marginTop")+Xa(a,"marginBottom");Ii(a,b-c-d-e)},vk=function(a,b){wa(a[k],(b>0?b:0)+"px")},to=function(a){if(a==ua(a)[B]){a=a[n]}return a[pc]},yo=function(a,b){var c=Xa(a,"paddingLeft")+Xa(a,"paddingRight");vk(a,b-c)},Rs=function(a,b){var c=Xa(a,"paddingLeft")+Xa(a,"paddingRight"),d=Xa(a,"borderLeftWidth")+Xa(a,"borderRightWidth");vk(a,b-c-d)},wo=function(a){var b=Xa(a,"marginLeft")+Xa(a,"marginRight");return a[kf]+b},
Ss=function(a,b){if(b[x]){vk(a,b[x])}if(b[w]){Ii(a,b[w])}},eh=function(a){return new Da(to(a),Gi(a))},xo=function(a,b){if(b[x]){yo(a,b[x])}if(b[w]){Ps(a,b[w])}},Vf=function(a,b){if(b[x]){Rs(a,b[x])}if(b[w]){Qs(a,b[w])}};var Xa=function(a,b){var c=Ja(Hi(a,b));return Pd(c)?0:c},Hi=function(a,b){var c,d=ua(a);if(d&&d[xd]&&d[xd].getComputedStyle){var e=d[xd].getComputedStyle(a,"");if(e){c=e[b]}}return ka(c)?c:(a[le]?a[le][b]:a[k][b])},Sc=function(a){this.gk=a;this.zd=[];this.rg=0;this.Ji={};var b=this.Ld();
if(b){this.Ne(b)}};Sc[_P].vv=function(a){this.zd.push(a)};Sc[_P].Sb=function(){var a=this.Ld();if(a){this.Uq();this.zn(a);for(var b=0;b<this.zd[i];b++){this.zd[b].Sb()}}};Sc[_P].Ld=function(){var a=this.gk?p(this.gk):Og()[B];return a&&a[n]&&a[Q]==1&&a[Z]&&a[k][nh]!="none"?a:null};Sc[_P].Ne=function(a){var b=Cj(a);while(b&&b[n]&&b[n]==a){if(Jb(b,"autolayout")){var c=b.id;if(!c){c=(this.gk||"page")+".layout"+this.rg;b.id=c}this.Ji[c]={display:b[k][nh]};this.rg++}b=Em(b)}};Sc[_P].Uq=function(){for(var a in this.Ji){var b=
p(a);if(b){Ea(b[k],"none")}}};Sc[_P].zn=function(a){};var af=function(a){Sc.call(this,a)};af.b(Sc);af[_P].Ne=function(a){var b=a[Rb]?a[Rb][i]:0;for(var c=0;c<b;c++){var d=a[Rb][c],e=d[Gb]?d[Gb][i]:0;for(var f=0;f<e;f++){var g=d[Gb][f];af.g.Ne.call(this,g)}}};af[_P].Sb=function(){var a=this.Ld();if(a){this.Uq();this.zn(a);for(var b=0;b<this.zd[i];b++){this.zd[b].Sb()}if(s){for(var b=0;b<this.zd[i];b++){this.zd[b].Sb()}}}};var dh=function(a){Sc.call(this,a)};dh.b(Sc);dh[_P].zn=function(a){var b=0,c=
Cj(a);while(c&&c[n]&&c[n]==a){var d=Hi(c,"display")=="none"||Hi(c,"visibility")=="hidden",e=Hi(c,"position")=="absolute";if(!d&&!e&c[ea]!="SCRIPT"){b+=c[Ad]}c=Em(c)}var f;if((la||lc)&&a[ea]=="TD"){f=Gi(a[n])}else{f=Gi(a)}if(this.rg>0){var g=this.rg==1?f-b:t.round((f-b)/this.rg);for(var h in this.Ji){var j=p(h);Ts(j,g);Ea(j[k],this.Ji[h][nh])}}};Nc("TLayout",af);Nc("VLayout",dh);Hj(Sc[_P],"addChildLayout",Sc[_P].vv);Hj(af[_P],"update",af[_P].Sb);Hj(dh[_P],"update",dh[_P].Sb);var ya=function(a,b,c){if(a){this.setPosition(a||null,b)}this.Va=c||this[F]};ya[_P].k=null;Db(ya[_P],null);ya[_P].Va=0;Cd(ya[_P],function(a,b,c){this.k=a;if(a){Db(this,b);if(!ji(this[F])){this.cz()}}if(ji(c)){this.Va=c}});ya[_P].cz=function(){Db(this,this.k[Q]==1?1:0)};ya[_P].Oi=function(){this.k=null};ya[_P].UD=function(){if(this[F]==1){Db(this,-1);this.Va+=this[F]}};ya[_P].next=function(){if(this.fd()){return null}if(this[F]==1){if(this.k[Z]){this.setPosition(this.k[Z])}else{this.setPosition(this.k,
-1)}}else{if(this.k[Qb]){this.setPosition(this.k[Qb])}else{this.setPosition(this.k[n],-1)}}this.Va+=this[F];return this};ya[_P].zl=function(){return this.k&&(this.k[Qb]||this.k[n])};ya[_P].hg=function(){return!this.zl()};ya[_P].Xi=function(){if(this.fd()){return null}if(this[F]==-1){if(this.k[yd]){this.setPosition(this.k[yd]);this.type*=-1}else{this.setPosition(this.k,1)}}else{if(this.k[Vc]){this.setPosition(this.k[Vc])}else{this.setPosition(this.k[n],1)}}this.Va+=this[F];return this};ya[_P].Al=function(){return this.k&&
(this.k[Vc]||this.k[n])};ya[_P].Kl=function(){return!this.Al()};ya[_P].tr=function(){return this[F]==1};ya[_P].nr=function(){return this[F]==-1};ya[_P].fd=function(){return this.k==null};ya[_P].isEqual=function(a){return a.k==this.k&&(!this.k||a[F]==this[F]&&a.Va==this.Va)};ya[_P].u=function(){return new ya(this.k,this[F],this.Va)};var Fi=function(a){return a<=0.999||a>=1.001},ko=function(a,b){b=b||1;a=Vg(""+a).toLowerCase();if(a in ho){return b*ho[a]}if(!(!a.match(/(%|em|ex)$/i))){var c=lo(a);return b*Ja(a)*Bs[c]}var d;if(a in io){d=io[a]}else if(mo(a)){var c=lo(a);d=Cs[c].pt*Ja(a)}else if(!(!a.match(/^\d+$/))){d=[0,8,10,12,14,18,24,36][a]||b}else{return 1}return d/20},jo=function(a,b,c){var d=a[za][B];while(a&&a!=d){if(a[k]){var e=a[k][gd];if(e){if(mo(e)){break}b*=ko(e)}}if(c&&c(a)){break}a=a[n]}return b},Cs={cm:{cm:1,"in":0.39370078740157477,
mm:10,pc:2.3622047244094486,pt:28.346456692913385,px:37.79527559055118},"in":{cm:2.54,"in":1,mm:25.4,pc:6,pt:72,px:96},mm:{cm:0.1,"in":0.03937007874015748,mm:1,pc:0.2362204724409449,pt:2.834645669291339,px:3.7795275590551185},pc:{cm:0.42333333333333334,"in":0.16666666666666666,mm:4.233333333333333,pc:1,pt:12,px:16},pt:{cm:0.035277777777777776,"in":0.013888888888888888,mm:0.35277777777777775,pc:0.08333333333333333,pt:1,px:1.3333333333333333},px:{cm:0.026458333333333334,"in":0.010416666666666666,mm:0.26458333333333334,
pc:0.0625,pt:0.75,px:1}},io={"xx-small":7,"x-small":8,small:9,medium:12,large:14,"x-large":17,"xx-large":22},ho={smaller:0.8,larger:1.25},Bs={"%":0.01,em:1,ex:0.5};var mo=function(a){return!(!a.match(/(cm|in|mm|pc|pt|px)$/i))};var lo=function(a){if(a.match(/^\s*\d*\.?\d+\s*(%|em|ex|cm|in|mm|pc|pt|px)\s*$/i)){return RegExp.$1.toLowerCase()}else{return null}};var no=function(a){return a[k][gd]?Ja(a[k][gd]):1},oo=function(a,b,c){if(Fi(b)){var d=c.e("span",{style:"font-size: "+b+"em"});c.kr(d,a);d.appendChild(a);
return d}else{return null}},Ds=function(a,b,c,d){while(!a.fd()&&a.k!=c){var e=a.k;switch(a[F]){case 1:var f=no(e),g=f*b;if(!Fi(g)){ch(e)}else{Bd(e[k],b+"em")}a.UD();break;case 0:oo(e,b,d);break;default:break}a.next()}};var Vs,xk=function(a,b){if(Ha(a)){return b==a}else{return b&&b.match(a)}},Co=function(a,b,c){return xk(a,b in this?this[b]:(this.getAttribute?this.getAttribute(b):null))};var je=function(){};je[_P].kd=null;Xd(je[_P],function(){});je[_P].Sa=function(a,b){return 0};var fh=function(a,b,c){ya.apply(this,arguments)};fh.b(ya);fh[_P].next=function(){if(!this.tr()&&this.Va==0){this.Oi();return this}return ya[_P].next.apply(this,arguments)};fh[_P].Xi=function(){if(!this.nr()&&this.Va==0){this.Oi();return this}return ya[_P].Xi.apply(this,arguments)};fh[_P].u=function(){return new is(this.k,this[F],this.Va)};var ke=function(){};ke.b(je);ke[_P].Ch=0;ke[_P].Sa=function(a,b){this.Ch+=b;if(this.Ch>=0){return 1}else{this.Ch=0;return 3}};Xd(ke[_P],function(){this.Ch=0});var bf=function(a,b){this.se=a;this.Nc=[];this.Pr=b||0;ke.call(this)};bf.b(ke);bf[_P].Nc=null;bf[_P].Pr=0;bf[_P].se=null;bf[_P].mc=false;bf[_P].Sa=function(a,b){if(this.mc){this.reset()}var c=ke[_P].Sa.apply(this,arguments);switch(c){case 1:var d=false;switch(this.se.Sa(a,b)){case 3:d=true;case 2:this.Nc.push(this.se.kd);break;default:break}if(d){if(this.se.Sa(a,b)==2){this.Nc.push(this.se.kd)}}return 1;case 3:this.mc=true;return this.Nc[i]>=this.Pr?3:0;default:this.mc=true;return c}};Xd(bf[_P],function(){this.mc=
false;Sb(this.Nc,0);this.se.reset();ke[_P].reset.call(this)});var Nd=function(a,b,c){this.Ti=a;this.Qr=b||0;this.Zl=c||null;this.Nc=[]};Nd.b(je);Nd[_P].Ti=null;Nd[_P].Qr=0;Nd[_P].Zl=0;Nd[_P].Bb=0;Nd[_P].mc=false;Nd[_P].Nc=null;Nd[_P].Sa=function(a,b){if(this.mc){this.reset()}if(b==0&&a[Bb].match(/^\s+$/)){return 1}switch(this.Ti.Sa(a,b)){case 2:if(this.Bb==0){this.kd=a}this.Bb++;this.Nc.push(this.Ti.kd);if(this.Zl!==null&&this.Bb==this.Zl){this.mc=true;return 2}else{return 1}case 1:return Vs;case 3:this.Bb++;if(this.$b==this.ce[i]){this.mc=true;return 3}else{return this.Sa(a,
b)}default:this.mc=true;if(this.Bb>=this.Qr){return 3}else{return 0}}};Xd(Nd[_P],function(){this.Ti.reset();this.Bb=0;this.mc=false;this.Nc=[]});var Wf=function(a,b){this.Ze=a;this.dA=b};Wf.b(je);Wf[_P].Ze=null;Wf[_P].$b=0;Wf[_P].dA=false;Wf[_P].Sa=function(a,b){if(b==0&&a[Bb].match(/^\s+$/)){return 1}switch(this.Ze[this.$b].Sa(a,b)){case 2:if(this.$b==0){this.kd=a}this.$b++;if(this.$b==this.Ze[i]){this.reset();return 2}else{return 1}case 1:return 1;case 3:this.$b++;if(this.$b==this.Ze[i]){this.reset();return 3}else{return this.Sa(a,b)}default:this.reset();return 0}};Xd(Wf[_P],function(){if(this.Ze[this.$b]){this.Ze[this.$b].reset()}this.$b=
0});var ed=function(a,b,c,d,e){if(Ha(a)){this.mn=a.toUpperCase()}else{this.mn=a}this.I=b;this.Sj=c;this.jn=d;this.on=e};ed.b(je);ed[_P].mn=null;ed[_P].I=null;ed[_P].Sj=null;ed[_P].jn=null;ed[_P].on=null;ed[_P].Sa=function(a,b){if(b==this.I&&xk(this.mn,a[va])){if(this.Sj&&!gn(this.Sj,Co,a)){return 0}if(this.jn&&!gn(this.jn,Co,a[k])){return 0}if(this.on&&!this.on(a)){return 0}this.kd=a;return 2}return 0};var Bo=function(a,b,c,d){ed.call(this,a,1,b,c,d)};Bo.b(ed);var Ao=function(a,b,c,d){ed.call(this,a,-1,b,c,d)};Ao.b(ed);;var wk=function(a){this.Kr=a};wk.b(je);wk[_P].Kr=null;wk[_P].Sa=function(a,b){if(b==0&&xk(this.Kr,a[Bb])){this.kd=a;return 2}return 0};var ud=function(){this.ce=[];this.Vb=[]};ud[_P].ce=null;ud[_P].Vb=null;ud[_P].mo=function(a,b){this.ce.push(a);this.Vb.push(b)};ud[_P].Vs=function(){for(var a=0,b=this.ce[i];a<b;a++){this.ce[a].reset()}};ud[_P].VA=function(a){for(var b=0,c=this.ce[i];b<c;b++){var d=this.ce[b];switch(d.Sa(a.k,a[F])){case 2:case 3:var e=this.Vb[b];return e(d.kd,a,d);default:break}}return false};ud[_P].match=function(a){var b=new fh(a);this.Vs();while(true){if(this.VA(b)){this.Vs()}else{b.next()}if(b.fd()){return}}};function z(a,b,c){R.call(this);this.id=a;this.yb=null;if(c){if(Ha(c)){this.Ii=c}else{if(!c.cssStyles){c.cssStyles=Qa}this.gp=c.cssStyles;if(c.className){this.Mo=c.className}{this.Ii=c.loremIpsumMessage}if(!c.minHeight){c.minHeight=Qa}this.Mi=c.minHeight}}Db(this,b);this.fn={};this.nj(ba.sc);this.nj(ba.ne);this.Ei=false;this.or=false;this.yk=new rc(this.pp,250,this);this.zh={};for(var d in ba){this.zh[ba[d]]=0}if(Oi){this.vf=new rc(this.ni,15,this)}this.n=new ab(this);this.Ou=[];this.Mu=false}z.b(R);
z[_P].s=Mc("TR_EditableField");var ba={Rn:"cvc",Wn:"load",co:"unload",Mn:"beforechange",sc:"change",ne:"delayedchange",Nn:"beforefocus",Sn:"focus",Pn:"blur",On:"beforetab",Ej:"selectionchange"},ql=null,ae=function(a){ql=a},Dd=function(){return ql};z[_P].pb=function(){return this[me]||this.Ae||null};z[_P].Zp=function(){var a=this.pb();return a&&Wo?a[za]:a};z[_P].addListener=function(a,b,c,d){var e=this.Zp();this.n.i(e,a,b,c,d)};z[_P].Fy=function(){return this[wd]};z[_P].yt=function(a){kg(this,a)};
z[_P].hD=function(a){if(a==this.Mi){return}this.Mi=a;this.ni()};{z[_P].Jb=function(){return this[F]==2}}z[_P].td=function(){return!Wc||false};var Ui={46:true,8:true};if(s){Ui[229]=true;var ol={86:true,88:true,66:true,73:true,85:true}}else if(v||la){Ui[9]=true;ol={86:true,88:true}}var tp=function(a,b){if(tl(a)){return true}return b&&!(a[Uc]||a[zd])&&(!v||a[mh])},tl=function(a){var b=(a[Uc]||a[zd])&&a[hb]in ol,c=!(a[Uc]||a[zd])&&a[hb]in Ui;return b||c},Eb=function(a){if(!a.getAttribute){return false}return a.getAttribute("g_editable")==
"true"};z[_P].St=function(a,b){this.field=a;this.yb=b;this.Ei=false;this.or=false};z[_P].nu=function(){this.field=null;this.yb=null;this.Wj=null};z[_P].GD=function(){if(Oi){this.addListener("focus",this.qp);this.addListener("blur",this.op,true);this.addListener(Df,this.Aq);this.addListener("keyup",this.Kq);this.addListener("dragdrop",this.qp);this.ID(this.yb)}else{this.addListener(Cf,this.Aq);this.addListener(Df,this.Iz);this.addListener("keyup",this.Kz);this.addListener(["beforecut","beforepaste",
"drop","dragend"],this.Gf);this.addListener("cut",this.Cb);this.addListener("focus",this.rp);this.addListener("blur",this.op);this.addListener(Yq,this.np)}var a=J(this.Ek,this);this.addListener(Hd,a,false);this.LC=new rc(a,250);if(To){this.addListener(rb,sp)}};z[_P].Qo=function(){if(this.n){this.n.nd()}if(this.vf){this.ow()}this.pw()};z[_P].f=function(){this.nu();this.Qo();if(this.n){this.n.f();this.n=null}this.mC();z.g.f.call(this)};z[_P].Tv=function(a){this.Ou.push(a)};z[_P].mC=function(){var a;
while(a=this.Ou.pop()){a.f()}};z[_P].my=function(){return this.n};var pl=["DOMNodeInserted","DOMNodeRemoved","DOMNodeRemovedFromDocument","DOMNodeInsertedIntoDocument","DOMCharacterDataModified"];z[_P].ID=function(a){if(!this.td()){return}var b=a.l();this.n.i(b,pl,this.Nq,true);if(this.Jb()){this.n.i(a.fi(),pl,this.sp,true);this.n.i(this.yb.ja(),"load",this.tp,true)}this.n.i(b,"DOMAttrModified",this.Cq.J(this,false),true);if(this.Jb()){this.n.i(a.fi(),"DOMAttrModified",this.Cq.J(this,true),true)}};
z[_P].Aq=function(a){var b=a[hb]==9&&!this.ix(a)||v&&a[zd]&&(a[hb]==37||a[hb]==39);if(b){a.preventDefault()}else{this.ol=a[mh]||tp(a,v);if(this.ol){this.Gf()}}};z[_P].Iz=function(a,b){this.ol=true;this.Gf()};z[_P].Kz=function(a){if(this.ol||tl(a)){this.ni()}this.Kq(a)};var rp={8:1,46:1,37:1,39:1,38:1,40:1,13:1,36:1,35:1,9:1,33:1,34:1};z[_P].Kq=function(a){if(this.qb(ba.Ej)){return}if(a[Uc]||a[zd]||rp[a[hb]]){this.LC.start()}};z[_P].Cq=function(a,b){if(this.qb(ba.sc)){return}b=b.Jd();try{if(b.originalTarget.prefix||
b.originalTarget[va]=="scrollbar"){return}}catch(b){return}if(b.prevValue==b.newValue){return}if(a){this.sp()}else{this.Nq(b)}};z[_P].Nq=function(a){if(this.qb(ba.sc)){return}a=a.Jd?a.Jd():a;if(a[S].XE){return}this.Ei=true;this.or=true;this.vf.start()};z[_P].cd=function(){return this.yb};z[_P].o=function(){return this.yb?this.yb.o():null};z[_P].Ek=function(a){if(this.qb(ba.Ej)){return}var b=this.o();this.Wj=b;this.Dk(b.lr(this.pb()));this.dispatchEvent({type:"selectionchange",selection:b})};z[_P].Gf=
function(){if(this.qb(ba.Mn)){return}this.dispatchEvent(ba.Mn)};z[_P].ix=function(a){return this.dispatchEvent({type:ba.On,shiftKey:a[re],altKey:a[bg],ctrlKey:a[Uc]})};z[_P].mj=function(a,b){if(a){if(this.vf){this.sw()}this.nj(ba.sc)}if(b){this.No();this.nj(ba.ne)}};z[_P].lj=function(a,b){this.fu(ba.sc);this.fu(ba.ne);if(a){this.ni()}if(b){this.pp()}};z[_P].nj=function(a){this.fn[a]=1};z[_P].fu=function(a){this.fn[a]=0};z[_P].$w=function(a){this.zh[a]=Ua()};z[_P].qb=function(a){return!(!this.fn[a])||
this.zh[a]&&Ua()-this.zh[a]<=500};z[_P].Cb=function(a){this.lj(true,a)};z[_P].ni=function(){if(this.qb(ba.sc)){return}this.Ei=true;this.gF=true;this.tp();if(this.qb(ba.ne)){return}this.yk.start()};z[_P].tp=function(){if(v&&this.Jb()&&this.td()){this.dispatchEvent(ba.sc)}};z[_P].sp=function(){if(this.qb(ba.sc)){return}this.dispatchEvent("outerDocChange")};z[_P].pp=function(){if(this.qb(ba.ne)){return}this.Ei=false;this.dispatchEvent(ba.ne)};z[_P].sw=function(){this.vf.Ip()};z[_P].ow=function(){this.vf.stop()};
z[_P].No=function(){this.yk.Ip()};z[_P].pw=function(){this.yk.stop()};z[_P].qp=function(a){this.np(a);this.rp(a)};z[_P].np=function(a){if(this.qb(ba.Nn)){return}this.dispatchEvent(ba.Nn)};z[_P].rp=function(a){if(this.qb(ba.Sn)){return}ae(this.id);if(this.Wj&&this.Wj.lr(this.pb())){this.Dk(true)}this.dispatchEvent(ba.Sn);if(!Mk){var b=this.cd().ja().parent;b.getSelection().removeAllRanges()}};z[_P].op=function(a){if(this.qb(ba.Pn)){return}if(Dd()==this.id){ae(null)}this.Dk(false);this.dispatchEvent(ba.Pn);
if(!Wc&&!Mk&&this.Jb()){var b=this.cd().ja();oa.setTimeout(function(){var c=b.getSelection();if(c){var d=new D(b,c);d.collapse(true)}},0)}};z[_P].Pl=function(){return this.GA};z[_P].Dk=function(a){this.GA=a;this.dispatchEvent(ba.Rn)};var sp=function(a){if(tf(Be(a),"a")){a.preventDefault()}};{var sl=false}z[_P].jx=function(){this.Se=true;var a=this.pb();if(this.Mo){Fa(a,this.Mo)}if(this.gp&&!sl){if(Wc&&this.Jb()){sl=true}Sr(this.gp,a)}this.lj();this.s.T("Dispatching load "+this.id);this.dispatchEvent(ba.Wn);
this.s.T("Load dispatched "+this.id)};z[_P].lx=function(){this.Se=false;this.dispatchEvent(ba.co)};z[_P].Nl=function(){return this.Se};var rl=function(){if(Nk){return"<br>"}return""};{z[_P].lc=function(){return this.Mu};z[_P].jj=function(a){this.Mu=a};z[_P].Bt=function(a,b){if(this.Ii!=""&&!this.lc()&&!b.Hl()){this.jj(true);this.as=a[k].fontStyle;a[k].fontStyle="italic";return true}return false};z[_P].Nm=function(a){var b=this[me];if(b&&this.Bt(b,a)){a.Km(b,true,this.Ii)}};z[_P].bk=function(a){var b=
this[me];if(b&&this.lc()&&!a.Hl()){a.Km(b,true,null);b[k].fontStyle=this.as;this.jj(false);if(la){ua(b)[B].focus();a.j.$c(b.id)}}};z[_P].cD=function(a,b){if(this.Bt(a,b)){T(a,this.Ii)}};z[_P].ww=function(a,b){if(this.lc()&&!b.Hl()){T(a,rl());a[k].fontStyle=this.as;this.jj(false)}}}{};var we=Ia.fromCharCode(160),qb=s,ib=v||la||lc,Wc=s||la||lc,Oi=v&&!Rc("1.9a"),ct=v&&!Rc("1.9a"),Mk=s||la||lc,Pk=v||la,Ni=s,Qk=s,Wo=v||lc,Uo=s,Nk=v||la||lc,Qo=v||lc,Ro=v,Vo=s&&!Rc("7.0"),ve=v,To=la,Ok=s,So=v||la;var xe=function(a,b){if(a[Q]!=1){return null}if(a[le]){return a[le][b]}else{var c=ua(a)[xd];if(c&&c.getComputedStyle){var d=c.getComputedStyle(a,"");return d?d[b]:""}}},pf=function(a,b){var c=xe(a,b);return sa(c,10)||0},Zo=function(a){var b={};b.Lj=[];while(a){var c={nodeName:a[va],className:a[Pb],id:a.id,cssText:a[k][wd]};if(a[va]=="BODY"){b.body=c;break}else{b.Lj.push(c)}a=a[n]}return b},Fh=function(a){var b=pf;return b(a,"paddingTop")+b(a,"paddingBottom")},$k=function(a){var b=pf;return b(a,"paddingLeft")+
b(a,"paddingRight")},$o=function(a){var b=pf;return b(a,"borderTopWidth")+b(a,"borderBottomWidth")};{var fp=/a(:(link|visited|active|hover))?/,Zd=function(){this.Cf="";this.Oc=[]};Zd[_P].rD=function(a){this.Oc=[];var b=a.split(/,\s*/gm);for(var c=0;c<b[i];c++){var d=b[c];if(d[i]>0){this.Oc.push(new of(d))}}};Zd[_P].u=function(){var a=new Zd;a.Oc=this.Oc.concat();a.Cf=this.Cf;return a};Zd[_P].rt=function(a,b){var c=[];for(var d in a){var e=a[d];if(e){c.push(d,":",e,b?" !important":"",";")}}this.Cf=
c.join("")};Zd[_P].DE=function(a){var b=this.Oc[i],c=false;for(var d=0;d<b;d++){var e=this.Oc[d].be,f=e[i];for(var g=0;g<f;g++){a.push(e[g].hr," ")}if(d<b-1){a.push(",")}if(v){c=c||fp.test(e[f-1].hr)}}var h=this.Cf;if(c){h=h.replace(Yo,"$1 color: $2 ! important; ")}a.push("{",h,"}\n")};var Yo=/(^|;|{)\s*color:([^;]+);/g,of=function(a){this.kF=[];this.Mj={};if(a){this.mD(a)}};of[_P].mD=function(a){var b=[],c=a.split(/\s+/gm);for(var d=0;d<c[i];d++){if(!c[d]){continue}var e=new ug(c[d]);b.push(e)}this.be=
b};of[_P].TA=function(a){var b=a[fg];if(this.Mj[b]){return this.Mj[b]}var c=0,d=null,e=null,f=null,g=a.Xr,h=g[i],j=0,d=null;for(j=0;j<=this.be[i];j++){e=this.be[j];while(c<h){var m=g[c];if(e&&e.ou(m)){d={zp:c,it:j};c++;break}else if(f&&f.ou(m)){d={zp:c,it:j-1}}c++}f=e}this.Mj[b]=d;return d};var ug=function(a){var b=Yk[a];if(b){return b}if(a.match(/[#\.]/)){var c=a.split(/(?=[#\.])/)}else{var c=[a]}var d={};for(var e=0;e<c[i];e++){var f=c[e];if(f.charAt(0)=="."){Ra(d,f.substring(1,f[i]))}else if(f.charAt(0)==
"#"){d.id=f.substring(1,f[i])}else{d.tagName=f.toUpperCase()}}this.hr=a;this.UA=d;this.qu={};Yk[a]=this},Yk={};ug[_P].ou=function(a){var b=a[fg],c=this.qu[b];if(typeof c!="undefined"){return c}var d=this.UA,e=d[ea],f=d[Pb],g=d.id,h=true;if(e&&e!="*"&&e!=a[va]){h=false}else if(g&&g!=a.id){h=false}else if(f&&!a.rw[f]){h=false}this.qu[b]=h;return h};var Xo=function(a){var b=jc(a),c=Zk[b];if(c){return c}var d=[];do{var e={id:a.id,nodeName:a[va]};e.hash=jc(e);var f=a[Pb],g={};if(f){var h=Af(a);for(var j=
0;j<h[i];j++){g[h[j]]=1}}e.rw=g;d.unshift(e)}while(a=a[n]);this.Xr=d;this.hash=jc(this);Zk[b]=this},Zk={},Ri=function(a,b){if(a.disabled){return}try{var c=a.cssRules||a.rules,d=c[i]}catch(e){return}if(a.imports){var f=a.imports,g=f[i];for(var h=0;h<g;h++){Ri(f[h],b)}}for(h=0;h<d;h++){var j=c[h],m=j.styleSheet;if(m){Ri(m,b)}else{b(h,j)}}},dp=function(a,b){var c=a.styleSheets;if(c){var d=c[i];for(var e=0;e<d;e++){Ri(c[e],b)}}},bp=function(a){var b=[],c=/([^\{]+)\{/;function d(e,f){var g=f.selectorText;
if(!g){return}var h=f[k],j="",m;if(h&&(m=h[wd])){if(s){m+="/* */"}j=g}else if(f[wd]){j=c.exec(f[wd])[1];m=f[wd].replace(c,"").replace(/\}[^\}]*$/g,"")}if(j){var l=new Zd;l.rD(j);l.Cf=m;b.push(l)}}dp(a,d);return b},bl={},al=function(a){var b=jc(a);bl[b]=bp(a)},ep=function(a){var b=jc(a),c=bl;if(!c[b]){al(a)}var d=c[b],e=[];for(var f=0;f<d[i];f++){e.push(d[f].u())}return e},cp=["color","visibility","quotes","list-style-type","list-style-image","list-style-position","list-style","page-break-inside",
"orphans","widows","font-family","font-style","font-variant","font-weight","text-indent","text-align","text-transform","white-space","caption-side","border-collapse","border-spacing","empty-cells","cursor"],gp=["font-family","font-size","font-weight","color","text-align","text-decoration","text-indent","text-transform","letter-spacing","white-space","word-spacing"],ap=function(a,b){var c=a[za];if(b){al(c)}var d=ep(c),e=new Xo(a),f=new ug("body");for(var g=0;g<d[i];g++){var h=d[g],j=h.Oc,m=j[i];for(var l=
0;l<m;l++){var o=j[l],r=o.TA(e);if(r){var K=r.it,N=o.be;if(r.zp==e.Xr[i]-1||K<N[i]-1){var na=N.concat();na.splice(0,K+1,f);var pa=new of;pa.be=na;j.push(pa)}}}}var Ab=new Zd,ub=a[le]||ua(a)[xd].getComputedStyle(a,"")||{},jh=new of;jh.be=[new ug("html")];Ab.Oc=[jh];var $f={};for(var g=0,fd;fd=cp[g];g++){$f[fd]=ub[ti(fd)]}Ab.rt($f);d.push(Ab);var vd=new Zd,kh=new of;kh.be=[new ug("body")];var zk={position:"relative",top:"0",left:"0",right:"auto",display:"block",visibility:"visible"};for(g=0,fd;fd=gp[g];g++){zk[fd]=
ub[ti(fd)]}vd.rt(zk,true);vd.Oc=[kh];d.push(vd);var Ak=[];m=d[i];for(g=0;g<m;g++){d[g].DE(Ak)}return Ak.join("")}};var tj=function(){};tj[_P].s=Mc("goog.debug.GcDiagnostics");Ah(tj[_P],function(){if(this.ad){if(this.ad.isTracing()){this.ad.endGcTracing()}this.ad.startGcTracing()}});Bh(tj[_P],function(){if(this.ad&&this.ad.isTracing()){var a=this.ad;this.ad.endGcTracing();var b=a.getNumTraces();this.s.T("*********GC TRACE*********");this.s.T("GC ran "+b+" times.");var c=0;for(var d=0;d<b;d++){var e=a.getTrace(d),f=e.gcStartTime,g=e.gcElapsedTime,h=t.round(g*10)/10,j="GC "+d+": "+h+" ms, numVValAlloc="+e.numVValAlloc+
", numVarAlloc="+e.numVarAlloc+", numBytesSysAlloc="+e.numBytesSysAlloc;if(Vh){Vh.ko(j,null,f)}this.s.T(j);c+=g}if(Vh){Vh.ko("Total GC time was "+c+" ms.")}this.s.T("Total GC time was "+c+" ms.");this.s.T("*********GC TRACE*********")}});;var uq=top,Eg=function(){return uq},ic=function(a,b,c){return a&&a[va]&&a[va].toLowerCase()==b&&(!c||a[Pb]==c)},Oh=function(a){return a.charCodeAt(0)},dt=Mc("TR_Util");var hm=function(a){var b="(/[a-z0-9_\\-%/\\.]+)?(\\?.*)?",c="[a-z0-9\\-]+(\\.[a-z0-9\\-]+)*(:[0-9]+)?",d="^(((http|https|ftp)://("+c+b+")?)|((www|www9|ftp)\\."+c+b+")|("+c+"\\.(net|org|com|edu|gov)(:[0-9]+)?"+b+"))$";return a.search(new RegExp(d,"i"))==0},Ph=function(a){var b=/^([a-z0-9_-])+(\.[a-z0-9_-]+)*\@(([a-z0-9\-])+\.)+[a-z0-9]+$/i;
return a.search(b)==0},lj=function(a){if(a.search(/:/)<0){a="http://"+yn(a)}return a};var kj=function(a){return!/[^\t\n\r ]/.test(a)};function Zl(a){this.bc=a}Zl[_P].tq=function(a){function b(c){if(gj(c)){return NodeFilter.FILTER_SKIP}return NodeFilter.FILTER_ACCEPT}return this.bc.createTreeWalker(a,NodeFilter.SHOW_TEXT,b,true)};var gj=function(a){return kj(a[Bb])},Kl=function(a){if(a[Q]==3||a[Q]==4){return/^[\s\u00a0]*$/.test(a[Bb])}else{return false}},Fd=function(a){return ua(a)[df]=="CSS1Compat"},Zp=function(a){var b=ua(a);return Me(b)},Ll=function(a,b){if(a[Q]==3||a[Q]==4){if(b){return Kl(a)}else{return gj(a)}}if(ic(a,"img")){return false}if(!a[ja]){return false}for(var c=0;c<a[ja][i];c++){if(!Ll(a[ja][c],b)){return false}}return true},Kh=function(a){return!ic(a,"img")&&(a[Q]!=1&&a[Q]!=3||gj(a))},Ed=function(a){while(a){a=
a[Vc];if(!a||!Kh(a))return a}},qc=function(a){while(a){a=a[Qb];if(!a||!Kh(a))return a}},wf=function(a){if(a){var b=a[yd];while(b){if(!Kh(b)){return b}b=b[Vc]}}return null},ce=function(a){if(a){var b=a[Z];while(b){if(!Kh(b)){return b}b=b[Qb]}}return null},ld=function(a){while(ce(a)){a=ce(a)}return a},Ce=function(a){while(wf(a)){a=wf(a)}return a},Yp=function(a){while(a&&!Ed(a)){a=Jl(a)}if(a){a=Ed(a);a=Ce(a);return a}else{return null}},Xp=function(a){while(a&&!qc(a)){a=Jl(a)}if(a){a=qc(a);a=ld(a);return a}else{return null}},
Ol=function(a,b,c){var d=function(e){a.appendChild(e)};aq(d,true,b,c)},aq=function(a,b,c,d){var e=c,f=b?"nextSibling":"previousSibling";while(e&&e!=d){var g=e[f];a(e);e=g}if(e){a(e)}},be=function(a,b){for(;a;a=a[n]){if(b(a)){return a}}return null},Vp=function(a,b){var c=null,d=a;while(d&&!Eb(d)){if(b(d)){c=d}d=d[n]}return c},tf=function(a,b,c){b=b.toLowerCase();var d=function(e){return e[va].toLowerCase()==b&&(!c||e[Pb]==c)};return be(a,d)},Wp=function(a,b,c){var d=function(e){return e.getAttribute&&
e.getAttribute(b)==c};return be(a,d)},$p=function(a){var b=xe(a,"display");return b=="block"},Ic=function(a){return a&&($p(a)||a[va].toLowerCase()=="td"||a[va].toLowerCase()=="table"||a[va].toLowerCase()=="li")},uf=function(a){return be(a,Ic)},cq=function(a,b){b[n].replaceChild(a,b)},dq=function(a,b){var c=b[ja][i];for(var d=0;d<c;d++){X(a,b[Z])}},hj=function(a){var b=a[n],c=a[Qb];while(a[Z]){b.insertBefore(a[Z],c)}},Ml=function(a,b){for(var c in b){a[c]=b[c]}},bq=function(a,b){for(var c=0;c<b[i];++c){a.removeAttribute(b[c])}},
Nl=function(a,b){for(var c in b){a[k][c]=b[c]}},Gl=function(a){for(var b=1;b<arguments[i];++b){X(a,arguments[b])}},Jl=function(a){return a[n]},Yc=function(a,b){return a.hasChildNodes()&&b<a[ja][i]?a[ja][b]:null},md=function(a){return a[i]?a[i]:a[ja][i]},vf=function(a){if(a[eg]){return a[eg]}else if(a.hasChildNodes()){var b="";for(var c=0;c<a[ja][i];c++){var d=a[ja][c];b+=vf(d)}return b}else{return""}},de=function(a){var b=vf(a);if(a.getElementsByTagName){var c=a.getElementsByTagName("img")[i]>0||
a.getElementsByTagName("a")[i]>0||a.getElementsByTagName("iframe")[i]>0||a.getElementsByTagName("embed")[i]>0}return!c&&(b==""||b==we||kj(b))},fj=function(a,b){var c=a[za].createTextNode(b);X(a,c);return c},Up=function(a,b,c,d,e){var f,g=Ga(a);if(typeof b=="string"){f=g.e("A",{href:b});if(e){id(f,"_blank")}}else{f=g.e("SPAN",{className:"tr_pseudo-link"});c.i(f,"click",b)}X(a,f);if(d)fj(f,d);return f},sf=function(a,b,c,d){var e=sa(a,10),f=sa(b,10),g=c.createElement("table");for(var h=0;h<e;h++){var j=
g.insertRow(0);for(var m=0;m<f;m++){var l=j.insertCell(0);if(!d){X(l,c.createTextNode(we))}}}return g};var Hl=function(a,b){for(var c=0,d=a[ja][i];c<d;c++){if(b(a[ja][c])){return c}}return null},Il=function(a){try{return a[ag]}catch(b){}return null};var Wk=function(a){return Xk(a,false)};var Xk=function(a,b){var c=b?Ed:qc;while(a&&!c(a)&&!Ic(a[n])&&!Eb(a[n])){a=a[n]}return a&&!c(a)&&!Eb(a[n])};function vg(a,b){this.ht=a;this.Bu=new Zl(a[ne][za]);this.ux=b}vg[_P].s=Mc("TR_CursorPosition");vg[_P].B=function(a,b){if(!b)b=0;a=qp(a);var c=a.commonAncestorContainer;this.m=this.ux.Ge(c);var d=0,e=this.Bu.tq(this.m),f=e.nextNode(),g=b==1&&dl(a,0);if(g){b=0;this.Gl=true}else{this.Gl=el(a,b)}if(!this.Gl&&b==-1&&el(a,0)){b=0}while(f){if(f==a[eb]){this.G=d+a[gc]+b;break}d+=f[i];f=e.nextNode()}this.m.normalize()};vg[_P].restore=function(){this.m.normalize();var a=this.Bu.tq(this.m),b=0,c=a.nextNode();
while(c){if(b<=this.G&&this.G<=b+c[i]){if(this.Gl&&this.G!=0){b+=c[i];c=a.nextNode()}var d=c,e=this.G-b;break}b+=c[i];var f=a.nextNode();if(!f){var e=b,d=c;break}else{c=f}}if(!d)return;var g=hc(d,e);this.ht.removeAllRanges();this.ht.addRange(g)};var dl=function(a,b){if(!b)b=0;return a[cf]&&a[gc]+b==md(a[eb])&&Wk(a[eb])},el=function(a,b){if(!b)b=0;return a[cf]&&(a[gc]+b==0&&Xk(a[eb],true)||dl(a,0)&&b==1)},cl=function(a,b){var c=null;if(ib){c=new Gh(a,b)}else if(qb){c=new wg(a,b)}if(!c.wr()){c=null}return c},
xg=function(a,b,c){this.$r=b;this.kj=[];while(a&&a[va]!="BODY"&&a!=c){var b=0,d=a[Vc];while(d){d=d[Vc];++b}this.kj.unshift({name:a[va],sg:b});a=a[n]}};pb(xg[_P],function(){var a=[],b;for(var c=0;b=this.kj[c];++c){a.push(b.sg+","+b[hd])}return a.join("\n")+"\n"+this.$r+"\n"});xg[_P].Hp=function(a){var b,c=a;for(var d=0;b=this.kj[d];++d){c=c[ja][b.sg];if(!c||c[va]!=b[hd]){return null}}return c};xg[_P].jq=function(){return this.$r};var Gh=function(a,b){this.ig=false;if(!a){return}var c=a[lh],d=a[ne];
if(!c||!d){return}var e=a.anchorOffset,f=new xg(c,e,b),g=a.focusOffset,h=new xg(d,g,b),j=hc(c,e),m=hc(d,g);if(j.compareBoundaryPoints(Range.START_TO_START,m)<1){this.G=f;this.S=h}else{this.G=h;this.S=f}this.ig=true};Gh[_P].wr=function(){return this.ig};pb(Gh[_P],function(){return"MOZ:"+this.G.toString()+this.S.toString()});Gh[_P].Em=function(a,b){var c=this.G.Hp(a),d=this.S.Hp(a);if(!c||!d){return false}var e=hc(c,this.G.jq(),d,this.S.jq());b.focus();var f=b.getSelection();f.removeAllRanges();f.addRange(e);
return true};var wg=function(a,b){this.ig=false;if(!Kb(b,a.parentElement())){return}var c=b[za][B].createTextRange();c.moveToElementText(b);var d=a.duplicate();d.collapse(true);d.setEndPoint("StartToStart",c);this.G=this.Yo(d);var e=a.duplicate();e.setEndPoint("StartToStart",c);this.S=this.Yo(e);this.ig=true};wg[_P].wr=function(){return this.ig};pb(wg[_P],function(){return"IE:"+this.G+","+this.S});wg[_P].Yo=function(a){var b=a.duplicate(),c=a[ue],d=c[i];b.collapse(true);b.moveEnd("character",d);var e,
f=10;while(e=b.compareEndPoints("EndToEnd",a)){d-=e;b.moveEnd("character",-e);--f;if(0==f){break}}var g=0,h=c.indexOf("\n\r");while(h!=-1){++g;h=c.indexOf("\n\r",h+1)}return d+g};wg[_P].Em=function(a,b){a.focus();var c=a[za][th].createRange();c.moveToElementText(a);c.collapse(true);c.moveEnd("character",this.S);c.moveStart("character",this.G);c.select()};function zg(a,b){this.Ta=a;this.j=b}var hc=function(a,b,c,d){var e=a[za].createRange();e.setStart(a,b);if(c&&d>=0){e.setEnd(c,d)}return e},qp=function(a){var b=a[eb],c=a[gc],d=a[Ec],e=a[Fc];if(Ic(b)){var f=md(b);if(f==c){b=Ce(b);c=md(b)}else{b=Yc(b,c);b=ld(b);c=0}}if(!a[cf]&&Ic(d)){var f=md(d);if(e==0){d=ld(d);e=0}else{d=Yc(d,e-1);d=Ce(d);e=md(d)}}if(a[cf]){return hc(b,c)}else{return hc(b,c,d,e)}};zg[_P].bf=function(a){if(Ic(a[eb])){var b=Yc(a[eb],a[gc]);b=ld(b);var c=0}else{var b=a[eb],c=a[gc]}if(Ic(a[Ec])){var d=
Yc(a[Ec],a[Fc]);d=Ce(d);var e=md(d)}else{var d=a[Ec],e=a[Fc]}a=hc(b,c,d,e);this.Ta.bf(a)};zg[_P].gx=function(a){if(!a[cf]){var b=new vg(this.Ta.getSelection(),this.j);b.B(a,0);var c=op(a),d=pp(a);this.Cx(a);if(c){var e=uf(a[eb]);if(Ll(e,false)){T(e,"&nbsp;");this.Ta.et(e[Z]);b=null}}if(!c&&d){var f=uf(a[eb]),g=qc(f);dq(g,f);ca(g)}if(b)b.restore()}};zg[_P].Cx=function(a){a=a.cloneRange();var b=new vg(this.Ta.getSelection(),this.j);b.B(a);var c=a.extractContents();if(a[eb].hasChildNodes()){var d=Yc(a[eb],
a[gc]);if(d){var e=Ed(d);if(vf(d)==""){ca(d)}if(e&&vf(e)==""){ca(e)}}}b.restore();return c};zg[_P].Uy=function(){var a=this.Ta.ic();a=a.cloneRange();return a};var op=function(a){var b=np(a),c=mp(a);return b==c},pp=function(a){var b=a[Ec];if(Ic(b)&&Ic(Yc(b,a[Fc]))){return false}var c=uf(b);while(c!=b){if(qc(b)){return true}b=b[n]}return a[Fc]!=md(a[Ec])},np=function(a){var b=a[eb];if(Ic(b)&&Ic(Yc(b,a[gc]))){return Yc(b,a[gc])}return uf(b)},mp=function(a){var b=a[Ec];if(Ic(b)&&Ic(Yc(b,a[Fc]))){return Yc(b,
a[Fc])}return uf(b)};var Fp=Ua(),Hc=function(){return"tr_"+Fp++};function Fg(a){this.eb=a}Fg[_P].oh=function(a){var b=a.eb;return 0==Rl(this.eb,b[eb],b[gc])};Fg[_P].nh=function(a){var b=a.eb;return 0==Rl(this.eb,b[Ec],b[Fc])};Fg[_P].cj=function(a){if(a[Q]==3)a=a[n];var b=ld(a),c=Ce(a);if(ic(b,"br")){b=b[n]}if(ic(c,"br")){c=c[n]}this.eb.setStart(b,0);this.eb.setEnd(c,md(c))};function rf(a){Ah(this,new Xf(this,"Start"));this.Bp=new Xf(this,"End");this.eb=a}rf[_P].oh=function(a){return this.Zo(a.start)};rf[_P].nh=function(a){return this.Zo(a.Bp)};rf[_P].Zo=function(a){try{return this.start.EA(a)&&
this.Bp.FA(a)}catch(b){return false}};rf[_P].cj=function(a){var b=this.eb;if(a[Q]==1){b.moveToElementText(a)}else{var c=0,d=a;while(d=d[Vc]){var e=d[Q];if(e==3){c+=d[Bb][i]}else if(e==1){b.moveToElementText(d);break}}if(!d){b.moveToElementText(a[n])}b.collapse(!d);if(c){b.move("character",c)}b.moveEnd("character",a[Bb][i])}};function Xf(a,b){this.Ls=a;this.zs=b;this.fF=true}Xf[_P].EA=function(a){return this.Xo(a)<=0};Xf[_P].FA=function(a){return this.Xo(a)>=0};Xf[_P].Xo=function(a){var b=this.Ls.eb;
return b.compareEndPoints(this.zs+"To"+a.zs,a.Ls.eb)};function Bg(a){if(qb){rf.call(this,a)}else{Fg.call(this,a)}}Bg.b(qb?rf:Fg);var Lh=function(a){var b=qb?a[za][B].createTextRange():a[za].createRange(),c=new Bg(b);c.cj(a);return c};Bg[_P].Hw=function(a){return this.oh(a)&&this.nh(a)};Bg[_P].XB=function(a){return this.oh(a)||this.nh(a)||a.oh(this)||a.nh(this)};var Rl=function(a,b,c){if(a.comparePoint){return a.comparePoint(b,c)}else{return a.compareBoundaryPoints(Range.START_TO_START,hc(b,c))}};function D(a,b){this.w=a||window;if(!b){if(this.w.getSelection){b=this.w.getSelection()}else if(this.w[ta][th]){b=this.w[ta][th]}else if(this.w[ta].getSelection()){b=this.w[ta].getSelection()}}this.ee=b;try{if(b&&b.createRange){if(b[F]=="Control"){var c=b.createRange(),d=c.item()[za];this.p=d[B].createTextRange()}else{this.p=b.createRange()}}else{this.p=b}}catch(e){this.p=null}}D[_P].s=Mc("TR_SelectionUtil");D[_P].ee=null;D[_P].p=null;D[_P].w=null;D[_P].getSelection=function(){return this.p};D[_P].qa=
null;D[_P].fa=null;D[_P].G=-1;D[_P].S=-1;D[_P].Ma=function(){this.qa=null;this.fa=null;this.G=-1;this.S=-1};D[_P].Za=function(){return this.qa||(this.qa=this.Ld(1))};D[_P].fc=function(){return this.fa||(this.fa=this.Ld(0))};D[_P].ji=function(){return this.G>=0?this.G:(this.G=this.kq(1))};D[_P].al=function(){return this.S>=0?this.S:(this.S=this.kq(0))};D[_P].kq=function(a){return ib?this.Qy(a):this.Py(a)};D[_P].Py=function(a){var b=this.Ld(a);if(b[Q]==1){return 0}else{var c=this.Xh(),d=Lh(b).eb;c.setEndPoint(a==
1?"EndToEnd":"StartToStart",d);var e=c[ue][i];return a==0?e:b[Bb][i]-e}};D[_P].Qy=function(a){var b=this.ic();if(!b){return-1}return a==1?b[gc]:b[Fc]};D[_P].Ld=function(a){if(ib){var b=this.ic();if(!b){return null}return a==1?b[eb]:b[Ec]}else if(qb){var c=this.Qa();return this.Rp(c,a)}};D[_P].Rp=function(a,b){if(!a||!a[Z]){return a}var c=b==1?ce(a):wf(a),d=b==1?qc:Ed;while(c){if(this.zf(c,false)){return this.Rp(c,b)}c=d(c)}return a};D[_P].Qa=function(){if(this.p.parentElement){var a=this.p[ue];for(var b=
1;a.charAt(a[i]-b)==" ";++b){this.p.moveEnd("character",-1)}var c=this.p.parentElement(),d=ak(this.p[oh]);while(d[i]>ak(c[pe])[i]){c=c[n]}while(c[ja][i]==1&&c[ph]==c[Z][ph]){if(c[Z][ea]=="IMG"){return c}c=c[Z]}return c}else if(ib){if(zc(this.p[ne])){return null}var e=this.ic();if(!this.hd()&&e[eb][i]==e[gc]&&!Wk(e[eb])){var f=Xp(e[eb]),g=0,h=e[Ec],j=e[Fc];if(f){e=hc(f,g,h,j)}}var h=e[Ec],j=e[Fc];while(h&&!e[cf]&&Kl(h)){var m=Yp(h);if(Tq(m,e[eb])>=0){h=m}if(h){j=h[i];e=hc(e[eb],e[gc],h,j)}if(h!=m){break}}if(e){return e.commonAncestorContainer}else{return null}}else if(this.p.item){return this.p.item(0)}};
D[_P].hd=function(){return this.p.isCollapsed||this.p[ue]==""};D[_P].lr=function(a){var b=this.Qa();return b&&Kb(a,b)};D[_P].empty=function(){this.Ma();if(this.ee.empty){try{this.ee.empty()}catch(a){}}else if(this.ee.removeAllRanges){this.ee.removeAllRanges()}};D[_P].lp=function(a){this.Ma();var b=new zg(this,a),c=b.Uy();b.gx(c);return c};D[_P].zf=function(a,b){if(!a){return false}try{var c=new Bg(this.ic()),d=Lh(a);return b?c.Hw(d):c.XB(d)}catch(e){return false}};D[_P].cj=function(a){this.Ma();if(qb){this.p.moveToElementText(a);
this.p.select()}else if(ib){var b=ld(a),c=Ce(a);this.bf(hc(b,0,c,md(c)))}};D[_P].bf=function(a){this.Ma();if(ib){if(this.p){if(this.p.removeAllRanges){this.p.removeAllRanges();this.p.addRange(a)}else if(this.p.setBaseAndExtent){this.p.setBaseAndExtent(a[eb],a[gc],a[Ec],a[Fc])}this.w.focus()}}};D[_P].selectNodes=function(a,b,c,d){return ib?this.ft(a,b,c,d):this.KC(a,b,c,d)};D[_P].KC=function(a,b,c,d){var e=Lh(a).eb;if(b){e.move("character",b)}var f=Lh(c).eb;f.collapse();if(d){f.moveEnd("character",
d)}if(e[ue][i]||f[ue][i]){e.setEndPoint("EndToEnd",f)}e.select()};D[_P].ft=function(a,b,c,d){this.Ma();var e=a;a=jj(a);if(a!=e){b=Hl(a,function(h){return h==e})}try{var f=c;c=jj(c);if(c!=f){d=Hl(c,function(h){return h==f})}this.bf(hc(a,b,c,d))}catch(g){}};D[_P].et=function(a){this.JC(a,0)};D[_P].JC=function(a,b,c,d){this.Ma();a=ld(a);a=jj(a);var e=hc(a,b,c,d);this.bf(e)};var jj=function(a){return ic(a,"br")?a[n]:a};D[_P].ym=function(){if(qb){this.aj=this.ee.createRange()}else if(ib&&this.p[lh]){this.Yg=
this.Zk(true);this.Tk=this.Zk(false)}};D[_P].xm=function(){this.Ma();if(qb&&this.aj){this.aj.select()}else if(ib&&this.Yg&&this.Yg.k[za]&&this.Tk.k[za]){this.ft(this.Yg.k,this.Yg.sg,this.Tk.k,this.Tk.sg);this.w.focus()}};D[_P].collapse=function(a){if(qb){this.Ew(a)}else if(ib){this.Fw(a)}};D[_P].Ew=function(a){this.Ma();if(this.aj){this.aj.collapse(a)}};D[_P].Fw=function(a){this.Ma();if(!this.hd()){if(a){this.p.collapseToStart()}else{this.p.collapseToEnd()}}};D[_P].l=function(){if(!this.bc){if(this.p[ne]){this.bc=
this.p[ne][za]}else if(this.p.parentElement){this.bc=this.p.parentElement()[za]}}return this.bc};D[_P].Zk=function(a){var b=this.p[a?"anchorNode":"focusNode"],c=this.p[a?"anchorOffset":"focusOffset"];while(b.hasChildNodes){var d=Yc(b,c);if(!d&&!b[yd]){break}if(d){b=d;c=0}else{b=b[yd];c=md(b)}}return{k:b,sg:c}};D[_P].Oy=function(a){var b=this.Qa(),c=[];if(!a){for(var d=b;d&&!Eb(d);d=d[n]){if(d[Q]==1){c.push(d)}}}return this.iq(b,c,a)};D[_P].iq=function(a,b,c){var d=ce(a);if(c&&!d){return[a]}var e=
false;while(d){if(this.zf(d,false)){e=true;if(c||d[Q]==1){b.push(d);if(!c){this.iq(d,b)}}}else if(e){break}d=qc(d)}return b};D[_P].Ui=function(a){if(qb){this.Bs(a,false)}else if(ib){this.Ds(a,false)}};D[_P].Cs=function(a){if(qb){this.Bs(a,true)}else if(ib){this.Ds(a,true)}};D[_P].Bs=function(a,b){this.Ma();this.p=a[za][B].createTextRange();this.p.moveToElementText(a);this.p.collapse(b);this.p.select()};D[_P].Ds=function(a,b){this.Ma();var c=Ga(a),d=c.createTextNode("");a[n].insertBefore(d,b?a:a[Qb]);
this.bf(hc(d,0))};D[_P].ic=function(){if(qb){return this.p}else if(ib&&this.p){if(this.p.getRangeAt){if(this.p.rangeCount){return this.p.getRangeAt(0)}else{return null}}else{var a=this.l();if(!a||!this.p[lh]){return null}else{var b=a.createRange();b.setStart(this.p[lh],this.p.anchorOffset);b.setEnd(this.p[ne],this.p.focusOffset);return b}}}else{return null}};D[_P].surroundContents=function(a){this.Ma();var b=this.ic();if(b){var c=b[oh];if(c){ca(a);var d=a.id,e=d||(a.id=Hc());T(a,c);b.pasteHTML(a[pe]);
a=this.l().getElementById(e);if(a&&!d){a.removeAttribute("id")}}else if(ib){b.surroundContents(a)}else{a=null}}return a};D[_P].Xh=function(){var a=null,b=this.ic();if(qb){a=b.duplicate()}else if(ib){a=b.cloneRange()}return a};D[_P].insertNode=function(a,b){this.Ma();var c=this.Xh();if(c){c.collapse(b);if(qb){var d=Ga(this.l()[B]),e=a.id;a.id=Hc();c.pasteHTML(a[pe]);a=d.Su(a.id);a.id=e}else if(ib){c.insertNode(a);c.detach()}}return a};D[_P].dt=function(a,b){this.empty();var c=this.ee;if(ib){var d=
this.w[ta].createRange();d.setStartBefore(a);d.setEndAfter(b);c.addRange(d)}else if(qb){var e=this.w[ta],f=e[B].createTextRange(),g=e[B].createTextRange();f.moveToElementText(a);g.moveToElementText(b);f.setEndPoint("EndToEnd",g);f.select()}};{D[_P].$D=function(a,b){this.Ma();if(v){var c=this.Xh(),d=this.Xh();c.collapse(false);d.collapse(true);c.insertNode(b);d.insertNode(a);c.detach();d.detach()}else{this.insertNode(a,true);this.insertNode(b,false)}}};var tb=function(a,b){a=a||new D;this.qa=a.Za();this.G=a.ji();this.fa=a.fc();this.S=a.al();if(this.qa[Q]==1&&this.qa[ea]!="BR"){this.qa=this.qa[ja][this.G]||this.qa;this.G=0}if(this.fa[Q]==1){var c=this.fa;this.fa=this.fa[ja][this.S];if(this.fa){this.S=0}else{this.fa=c}}ya.call(this,b?this.fa:this.qa)};tb.b(ya);tb[_P].qa=null;tb[_P].fa=null;tb[_P].G=0;tb[_P].S=0;tb[_P].rq=function(){return this.k[Q]!=3?null:(this.k==this.qa?this.G:0)};tb[_P].ly=function(){return this.k[Q]!=3?null:(this.k==this.fa?
this.S:this.k[Bb][i])};tb[_P].Za=function(){return this.qa};tb[_P].Jt=function(a){if(a&&this.Kl()){this.setPosition(a)}this.qa=a;this.G=0};tb[_P].fc=function(){return this.fa};tb[_P].ZC=function(a){this.fa=a;this.S=0};tb[_P].next=function(){if(this.hg()){this.Oi();return this}return ya[_P].next.apply(this,arguments)};tb[_P].zl=function(){return this.k!=this.fa||this.tr()};tb[_P].Xi=function(){if(!this.Al()){this.Oi();return this}return ya[_P].Xi.apply(this,arguments)};tb[_P].Al=function(){return this.k!=
this.qa||this.nr()};tb[_P].u=function(){var a=new tb;a.setPosition(this.k,this[F],this.Va);a.qa=this.qa;a.fa=this.fa;a.G=this.G;a.S=this.S;return a};;;;var Gs=new Bo(/./,null,{fontSize:/^(\d+)/}),Fs=new Ao(/./,null,{fontSize:/^(\d+)/}),Js=new ud,Ks=new ud,Hs=new ud,qo=function(a,b){if(a.Kb()){return}var c=b?null:a.o();if(c){c.ym()}var d=a.Ke();Js.match(d);var e=false,f=[],g,h=new ud;h.mo(Gs,function(j){if(!e){f.unshift(a.qq());g=Ga(d);e=true}if(j&&j[k]&&(j[k][gd]&&qn(j[k][gd],"em")||Jb(j,"_fs")||Jb(j,"_fontScaler"))||Jb(j,rk)){f.push(oj(f)*Ja(j[k][gd]));return false}else{var m=j[k][gd];ch(j);var l=oj(f),o=ko(m,l),r=o/l;if(Fi(r)){var K=j;if(j[va].match(/^(font|span|li|ul)$/i)){var N=
g.e("SPAN");while(j[Z]){N.appendChild(j[Z])}j.appendChild(N);K=N}Bd(K[k],r+"em")}}return false});h.mo(Fs,function(){f.pop();return false});h.match(d);Ks.match(d);if(c){c.xm()}},Is=function(a){if(a.Kb()){return}qo(a,true);Hs.match(a.Ke())};;;;;var kd=function(a,b){if(a instanceof lb){a.preventDefault();a.stopPropagation();og(a.Jd(),b)}else{if(a.preventDefault){a.preventDefault()}if(a.stopPropagation){a.stopPropagation()}a.cancelBubble=true;og(a,b)}return b},Be=function(a){if(a[S]){var b=a[S];if(ic(b,"iframe")&&b[S]){if(b[Pb]!="igm"){b=b[S]}}return b}else if(a[te]){return a[te]}else if(a[Dc]){return a[Dc]}},Ep=function(a){var b=a[S];while(b&&b[S]){b=b[S]}return b},zl=function(a,b){id(b,a);a.dispatchEvent(b)},Dp=function(a,b){if(a.dispatchEvent){a.dispatchEvent(b)}else{a.fireEvent("on"+
b[F],b)}},Ap=function(a,b,c,d){b=b.Jd()||b;var e;if(a.createEvent){e=Cp(a,b,c,d)}else if(a.createEventObject){e=Bp(a,b,c,d)}return e},Cp=function(a,b,c,d){var e=a.createEvent("MouseEvents");e.initMouseEvent(b[F],b.bubbles,b.cancelable,b.view,b.detail,b[ec],b[fc],ka(c)?b[ec]-c:b[vb],ka(d)?b[fc]-d:b[wb],b[Uc],b[bg],b[re],b[zd],b[cg],b[qe]);return e},Bp=function(a,b,c,d){var e=a.createEventObject(b);if(ka(c)){vh(e,b[ec]-c)}if(ka(d)){wh(e,b[fc]-d)}return e};var Tp=function(a){if(v){Ea(a[k],"none");Ea(a[k],"block")}},Sp=function(a){if(v){var b=a[k].borderTopWidth,c=pf(a,"borderTopWidth")+1;a[k].borderTopWidth=c+"px";a[k].borderTopWidth=b}},Jh=function(a){var b=Ga(a);return b.e("DIV",{style:"overflow:auto;height:100%;"},b.e("DIV",{style:"padding-right:5px;height:100%"},a))};;;;;var sc=function(a){R.call(this);this.Vg=a||window;this.Hi=u(this.Vg,Ne,this.Wz,false,this);this.Ja=Le(this.Vg)};sc.b(R);sc[_P].Hi=null;sc[_P].Vg=null;sc[_P].Ja=null;sc[_P].ug=null;sc[_P].Xf=function(){return this.ug};sc[_P].Et=function(a){this.ug=a};sc[_P].hl=function(){return this.Ja?this.Ja.u():null};sc[_P].f=function(){if(!this.L()){sc.g.f.call(this);if(this.Hi){mb(this.Hi);this.Hi=null}this.Vg=null;this.Ja=null}};sc[_P].Wz=function(a){var b=Le(this.Vg);if(!bn(b,this.Ja)){this.Ja=b;this.dispatchEvent(Ne)}};;;;;;;;;;;;;;;function Ae(a,b){this.uf=a;this.rr=b}Ae[_P].Rf=function(){return this.uf};Ae[_P].Zh=function(){if(!this.uk){this.uk=vf(this.Rf())}return this.uk};Ae[_P].xA=function(){return this.rr};Ae[_P].gr=function(a){xh(this.Rf(),a)};Ae[_P].qw=function(a,b){var c=this.Rf();xh(c,b);var d=this.Zh(),a=a!=d&&a;if(a){var e=ld(c);if(e[Q]==3){e=e[n]}if(vf(e)!=d){e=c}T(e,"");fj(e,a);this.uk=null}this.rr=false};var up=function(a,b,c){var d=new Ae(a,true);d.gr(b);if(c){id(a,c)}return d};function U(a,b,c,d,e,f,g){R.call(this);this.vc=new Sa(a);this.Mk=b;var h=this.vc.l();this.h=Ga(h);this.Yv=e.fb.base;this.Aa=e;this.nn=c;this.dE=d;var j=this.h.e("div",{className:"tr_bubble"});X(h[B],j);this.hb=j;this.xj=f;this.PD=g.vg(new Ae(c,false));this.Vi=new ia(j);this.n=new ab(this);this.oa=new Xb(c[za]);this.n.i(this.oa,"key",this.Me);this.n.i(this.Vi,"show",this.an);this.n.i(this.Vi,"hide",this.te);this.tj=c[va];if(this.tj=="IMG"){this.Qw()}else if(this.tj=="A"){this.Pw()}this.xv();this.cb();
Hh(j,this.n)}U.b(R);var Tk="beforelocationchange";U[_P].Me=function(a){this.te();return true};U[_P].uD=function(a){this.pu=a};U[_P].dD=function(a){this.mr=a};U[_P].xa=function(){return this.nn};U[_P].kz=function(){return this.dE};U[_P].SC=function(a){if(this.hb){M(this.hb,"zIndex",a)}};var Sk="tr_edit-page-span",Uk="tr_test-link-span",Eh="tr_original_link",Vk=function(a){return a.split("_")[1]},Rk=we+we+"-"+we+we,Dh=["tr_small_link","tr_medium_link","tr_large_link",Eh];U[_P].Qd=function(){var a=this.xa();
if(this.tj=="IMG"){return a.src}else if(this.tj=="A"){return this.Aa.wq(a)}};var Pi=s?4:2;U[_P].UB=function(){this.za(true);this.dispatchEvent("opened")};U[_P].CA=function(a){return false};U[_P].te=function(a,b){var c=a?Ep(a):null;if(this.hb&&(!c||!this.CA(c))){ca(this.hb);this.hb=null;if(this.n){this.n.f();this.n=null}if(this.oa){this.oa.f();this.oa=null}this.dispatchEvent("closed");this.dispatchEvent("dispose")}};U[_P].an=function(){this.Ri();this.wm();this.cb()};U[_P].za=function(a){this.Vi.za(a)};
U[_P].rb=function(){return this.Vi.rb()};U[_P].cb=function(){var a=this.xa(),b=this.kz(),c=0,d=a[Ad],e=this.vc.ja(),f=Ql(a,b,e),g=f.y,h=d+g+Pi+c,j=this.vc.Yy(),m=this.vc.Je()+j.y,l=Nb(this.hb),o=l[w];if(o+h>m){var r=Ql(this.Mk[ta][B],this.Mk,e),K=Je(this.Mk).y;h=t.max(g-Pi-o,r.y+K+Pi)}var N=l[x],na=f.x,pa=this.vc.Le()+j.x;if(N+na>pa){na=pa-N}Xg(this.hb,na,h)};U[_P].wm=function(){var a=4,b=0,c=this.hb[ja];for(var d=0,e;e=c[d];d++){var f=Nb(e);a+=f[x];b+=f[w]}bd(this.hb,a,b)};U[_P].Qw=function(){var a=
this.bp(),b;this.Ri=this.xn;{b=this.h.e("div",{id:"tr_sizes-div"});X(a,b);for(var c=0;c<Dh[i];c++){this.dp(Dh[c],false,b);fj(b,Rk)}}this.Cd("tr_delete-image","Remove",this.dx,b);this.wm()};U[_P].Eh=function(a){this.dispatchEvent({type:"change",gw:this.xa(),fB:a})};U[_P].xn=function(){var a=this.h.c("tr_sizes-div");if(a){var b=this.xa(),c=Ip(b,this.Aa.Vd(b.src));for(var d=0;d<Dh[i];d++){this.fD(Dh[d],c)}}};U[_P].fD=function(a,b){var c=Vk(a)==b||(!b||b=="full")&&a==Eh;this.dp(a,c)};U[_P].dp=function(a,
b,c){var d;switch(a){case "tr_small_link":d="Small";break;case "tr_medium_link":d="Medium";break;case "tr_large_link":d="Large";break;case Eh:d="Original size"}if(b){return this.Uw(a,d)}else{var e=a==Eh?this.vC:this.yC.J(this,Vk(a));return this.Cd(a,d,e,c)}};U[_P].Cd=function(a,b,c,d){var e=this.ep(a,b,false,d);if(c){this.n.i(e,rb,c)}return e};U[_P].ep=function(a,b,c,d){var e=this.h.e(c?"a":"span",{className:"tr_link"},b);this.Tt(e,a,d);Hh(e,this.n);return e};U[_P].Uw=function(a,b){var c=this.h.e("b",
{innerHTML:b});this.Tt(c,a);Hh(c,this.n)};U[_P].Tt=function(a,b,c){if(c){c.appendChild(a)}else{var d=this.h.c(b);if(d){Bf(a,d);ca(d)}}a.id=b};U[_P].dx=function(){this.dispatchEvent("imageremoved");this.Eh();this.te(null,true);Mp(this.xa())};U[_P].vC=function(){var a=this.xa(),b=J(this.zC,this),c=Kp.vg(a,this.Aa,b);Jp(a,this.Aa,{ps:b,pB:c})};U[_P].zC=function(){this.xn();this.Eh()};U[_P].Pw=function(){this.Ri=this.Eu;var a=this.Iy();if(Ph(a.Vl)||a[Tc]=="red"){var b=this.h.e("span",{id:"tr_link-text",
style:"color:"+a[Tc]},this.h.createTextNode(a.Vl))}else{var c=this.h.e("span",{id:Uk},"Go to link: "),b=this.h.e("span",{id:"tr_link-text",style:"color:"+a[Tc]},""),d=this.ep("tr_test-link",this.h.createTextNode(Lr(a.Vl,48))[eg],true,b);id(d,"_blank")}var e=this.nk("tr_change-link-span");this.Cd("tr_change-link","Change",this.PD,e);var f=this.nk(Sk);this.Cd("tr_edit-page-link","edit page",this.tx,f);var g=this.nk("tr_delete-link-span");this.Cd("tr_delete-link","Remove",this.fx,g);this.Eu();var h=
this.Kw(b,e,f,g,c?c:"");X(this.bp(),h);this.wm()};U[_P].Rx=function(){return{id:"tr_link-div",style:"padding-top:2px;"}};U[_P].Lw=function(){qj(arguments,0,0,"div",this.Rx());return this.h.e.apply(this.h,arguments)};U[_P].Kw=function(a,b,c,d,e){return this.Lw(e?e:"",a,b,c,d)};U[_P].nk=function(a){return this.h.e("span",{id:a,"class":"tr_option-link"},this.h.createTextNode(Rk))};U[_P].Iy=function(){var a,b=this.Qd();if(Qi(b)){b=b.substring(7)}else if(em(b,this.Yv)){b="invalid url";a=true}else if(this.Aa.Vd(b)){for(var c=
0;c<this.xj[i];c++){var d=this.xj[c].WE({wE:b});if(d){break}}if(d){b=d.title}else{b=Dg(b)+" not found";a=true}}return{Vl:b,color:a?"red":"black"}};U[_P].Eu=function(){var a=this.h.c("tr_link-div");if(a){var b=this.h.c("tr_test-link");if(b){var c=this.h.c(Uk),d=this.Qd();V(c,!Qi(d));xh(b,this.lz())}var e=this.h.c(Sk);if(e){V(e,this.tA())}}};U[_P].lz=function(){var a=this.Qd();return this.pu?this.pu(a):a};U[_P].fx=function(){this.dispatchEvent("linkremoved");this.Eh();this.te();var a=this.xa(),b=this.vc.o();
hj(a);b.Ui(a);ca(a)};U[_P].tA=function(){return this.mr&&this.mr(this.Qd())};U[_P].bp=function(){var a=new Mh(this.vc.l()),b="tr_bubble-content-"+Hc(),c={className:"tr_body",id:b},d=a.Tw(c,"tr_bubble");X(this.hb,d);var e=this.vc.ob(b);T(e,"");this.Ao=e;return e};U[_P].xv=function(){var a=this.h.e("div",{className:"tr_bubble_closebox",innerHTML:"&nbsp;"});this.n.i(a,rb,this.te);M(this.Ao,"paddingRight",this.cF?"10px":"19px");this.Ao.appendChild(a)};U[_P].yC=function(a){var b=this.xa();Np(b,a);this.xn();
this.Eh()};U[_P].tx=function(){var a=new gm(this.Aa.fb.edit),b=a.Ye.substring(0,a.Ye.lastIndexOf("/")+1)+Dg(this.Qd())+(a.Hs||"");if(this.dispatchEvent({type:Tk,wE:b})){this.vc.gD(b)}};var Qi=function(a){return xn(a,"mailto:")};function Xc(a,b,c,d,e){this.mg=(this.Ki=(this.ng=(this.Li=null)));this.Rl=(this.Sl=null);this.rl=null;this.sl=null;this.le=c;this.A=d;this.ea=b;this.jE=a;this.Ax=e;this.n=new ab(this);if(Pd(sa(this.ea[k][qa],10))){Cb(this.ea[k],"0px")}if(Pd(sa(this.ea[k].top,10))){this.ea[k].top="0px"}this.n.i(a,Wb,this.Az)}Xc[_P].f=function(){if(this.n){this.n.f();this.n=null}};Xc[_P].Az=function(a){a=jl(a);if(this.Ax&&a[S]!=this.jE&&xe(a[S],"cursor")!="move"){return false}var b=sa(this.ea[k][qa],10),c=sa(this.ea[k].top,
10);this.mB(b,c,a[vb],a[wb]);this.Rl=a[vb];this.Sl=a[wb];if(!zc(this.mg)){this.Nr=a[vb]-b+this.mg}if(!zc(this.Ki)){this.XA=this.Nr+this.Ki-this.mg}if(!zc(this.ng)){this.Or=a[wb]-c+this.ng}if(!zc(this.Li)){this.YA=this.Or+this.Li-this.ng}this.rl=J(this.yz,this);this.sl=J(this.tl,this);this.Dq=J(this.tl,this);this.Fq=J(this.zz,this);u(this.A,Ef,this.rl);u(this.A,Hd,this.sl);u(this.A,uc,this.Fq);window.setTimeout(J(function(){u(this.A,Wb,this.Dq)},this),10);var d=Eg()[ta];if(this.A==d){this.qi=(this.pi=
null)}else{this.qi=J(this.Gq,this);this.pi=J(this.Gq,this);u(d,Hd,this.qi);u(d,Wb,this.pi)}if(this.ea.setCapture){this.ea.setCapture(true)}return false};Xc[_P].yz=function(a){a=jl(a);var b=a[wb],c=a[vb],d=sa(this.ea[k].top,10),e=sa(this.ea[k][qa],10),f,g;if(!zc(this.mg))c=t.max(c,this.Nr);if(!zc(this.Ki))c=t.min(c,this.XA);if(!zc(this.ng))b=t.max(b,this.Or);if(!zc(this.Li))b=t.min(b,this.YA);f=e+(c-this.Rl);g=d+(b-this.Sl);Cb(this.ea[k],f+"px");this.ea[k].top=g+"px";this.Rl=c;this.Sl=b;this.lB(f,
g,a[vb],a[wb]);return false};Xc[_P].tl=function(a){kd(a);this.Eq({x:a[vb],y:a[wb]})};Xc[_P].zz=function(a){var b=Le(this.le);if(a[vb]>=b[x]||a[wb]>=b[w]||a[vb]<0||a[wb]<0){this.tl(a)}};Xc[_P].Gq=function(a){kd(a);this.Eq()};Xc[_P].Eq=function(a){Ma(this.A,Ef,this.rl);Ma(this.A,Hd,this.sl);Ma(this.A,Wb,this.Dq);Ma(this.A,uc,this.Fq);var b=Eg()[ta];if(this.qi){Ma(b,Hd,this.qi)}if(this.pi){Ma(b,Wb,this.pi)}if(this.ea.releaseCapture){this.ea.releaseCapture()}if(a){this.gs(sa(this.ea[k][qa],10),sa(this.ea[k].top,
10),a.x,a.y)}else{this.gs(sa(this.ea[k][qa],10),sa(this.ea[k].top,10))}};var jl=function(a){if(!ka(a.layerX)){a.layerX=a.offsetX;a.layerY=a.offsetY}return a};Xc[_P].mB=function(a,b,c,d){};Xc[_P].lB=function(a,b,c,d){};Xc[_P].gs=function(a,b,c,d){};var Hh=function(a,b,c){var d=a.getElementsByTagName("input");if(c){for(var e=0;e<d[i];e++){var f=d[e];if((f[F]=="text"||f[F]=="file")&&Tr(f)){f.setAttribute("_wasUnselectable",true)}}}if(Pk){b.i(a,"mousedown",jp,true)}si(a,true);for(var e=0;e<d[i];e++){var f=d[e];if(f[F]=="text"||f[F]=="file"){if(!f.getAttribute("_wasUnselectable")){lp(f)}f.removeAttribute("_wasUnselectable")}}},jp=function(a){var b=Be(a)[va];if(b!="TEXTAREA"&&b!="INPUT"){a.preventDefault()}},lp=function(a){si(a,false);if(Pk){var b=
hl(a);while(b){kp(a,b);a=b;b=hl(a)}}},il=function(){if(v){return"MozUserSelect"}else if(la){return"WebkitUserSelect"}},hl=function(a){var b=function(c){var d=il();return c&&c[k]&&c[k][d].toLowerCase()=="none"};return be(a,b)},kp=function(a,b){while(a&&a!=b){var c=a;a=a[n];if(!a[k]){continue}var d=il();a[k][d]="";var e=a[Z];while(e){if(e!=c&&e[k]){e[k][d]="none"}e=e[Qb]}}};function gm(a){var b=/^([a-zA-Z]+):(.*)$/;if(a.match(b)){this.protocol=RegExp.$1.toLowerCase();a=RegExp.$2;if(this[sh]=="mailto"||this[sh]=="javascript"||a.indexOf("//")!=0){this.hF=true}else{a=a.substring(2)}var c=/^([^\/]+)/;if(a.match(c)){this.domain=RegExp.$1;a=a.substring(this.domain[i])}}if(a.match(/^(\/|[^?#])/)){var d=/^(.[^?#]*)/;a.match(d);this.Ye=RegExp.$1;a=a.substring(this.Ye[i])}if(a.charAt(0)=="?"){this.Hs=a}else if(a.charAt(0)=="#"){this.hash=a}};gm[_P].li=function(){var a=[],b=function(c){if(c)a.push(c);
return c};if(b(this[sh])){b("://")}b(this.domain);b(this.Ye);b(this[fg]);b(this.Hs);return a.join("")};function nd(a){this.zD(a)}nd[_P].zD=function(a){this.fb=a;var b=this.fb.base;this.fb.site=am(b)};var qq=function(){alert("The URL is not valid and cannot be loaded.")},am=function(a){return a.substring(0,a.indexOf("/",9))};nd[_P].li=function(a,b){if(this.Vd(a)){var c=this.fb[b]||this.fb.base;a=c+Dg(a)}return a};nd[_P].wq=function(a){var b=a.getAttribute("href"),c=this.fb.base;if(c&&c!=this.fb.winbase&&b.indexOf(c)==0){b=this.fb.winbase+b.substring(c[i])}return b};nd[_P].Wy=function(a){if(this.Vd(a)){if(cm(a)){return Dg(a)}else{var b=
"about:blank";if(a.indexOf(b)==0){a=a.substring(b[i])}}}return a};nd[_P].Ey=function(a,b){var c=this.lq(a),d=Dg(c),e=d.substring(0,d.lastIndexOf(".")),f="/"+c+"/"+e+"-"+b+".jpg";return this.li(f,"live")};nd[_P].lq=function(a){if(this.Vd(a)&&fm(a)){a=this.li(a,"live");a=a.substring(0,a.lastIndexOf("/"))}return a};var Dg=function(a){var b=sq(a),c=a.lastIndexOf("?");if(c==-1){return Od(a.substring(b))}return Od(a.substring(b,c))},sq=function(a){var b=a.lastIndexOf("/");if(fm(a)){b=a.lastIndexOf("/",
b-1)}var c="about:blank";if(a.indexOf(c,b+1)==0){b+=c[i]}return b+1};nd[_P].Ir=function(a){var b="",c=ic(a,"a")?"href":"src";if(Vo&&c=="href"){b=a[pe].match(/href="([^"]*)"/)[1]}if(!b){b=a[c]}if(this.Vd(b)){a[c]=this.Wy(b)}};var fm=function(a){return!(!bm(a))},bm=function(a){var b=/.*\/([^\/]+)\.\w{1,4}\/([^\/]+)-(small|medium|large|full|custom).*(?:\.\w{1,4})?$/;if(b.test(a)){var c=RegExp.$1,d=RegExp.$2,e=RegExp.$3;if(c==d){return e}}return null},rq=false;nd[_P].Vd=function(a){var b=rq;if(b){if(We(b)){return b(a)}else{if(a.indexOf("mailto:")==
0)return false;var c=false;for(var d in this.fb){if(this.fb[d]!=""){c|=a.search(this.fb[d])==0}}return c||!cm(a)||a.search("/")==0}}else{return false}};nd[_P].CC=function(a,b){var c=a.getElementsByTagName(b);for(var d=0;d<c[i];d++){this.Ir(c[d])}};var cm=function(a){return a.search(/[^:\/\s]+:\/\//)==0},$l=false;var em=function(a,b){var c=$l;if(c){if(We(c)){return c(a)}else{return dm(a)||tq(a,b)}}else{return false}},dm=function(a){return a=="http://"||a=="http:///"||a==""||a=="/"},tq=function(a,b){var c=
am(b);return a==c+"/"||a==c};function Sa(a){this.YB=a}Sa[_P].s=Mc("TR_WindowUtil");Sa[_P].ja=function(){return this.YB};Sa[_P].l=function(){if(!this.bc){this.bc=this.ja()[ta]}return this.bc};Sa[_P].Yy=function(){return Je(this.ja())};Sa[_P].Vk=function(){if(!this.yo){this.yo=this.l()[B]}return this.yo};Sa[_P].Ay=function(){if(!this.Xq){this.Xq=this.Vk()[n]}return this.Xq};Sa[_P].ob=function(a){return this.l().getElementById(a)};Sa[_P].Qs=function(a){var b=this.ob(a);if(b){ca(b)}};Sa[_P].Le=function(){return this.ei()[pc]};Sa[_P].Je=
function(){return this.ei()[dc]};Sa[_P].$y=function(){return this.ei().scrollWidth};Sa[_P].Zy=function(){return this.ei()[ig]};Sa[_P].ei=function(){if(!this.Zr){this.Zr=Fd(this.l())?this.l()[Sd]:this.Vk()}return this.Zr};Sa[_P].xs=function(a,b){var c=this.Je()-50,d=this.Le()-50,e="resizable=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=no,menubar=yes,width="+d+",height="+c,f=this.ja().open(a,b,e,true);f.focus();return f};Sa[_P].gD=function(a){try{this.ja().location=a}catch(b){}};
Sa[_P].Qh=function(){this.ja().focus()};Sa[_P].o=function(){return new D(this.ja())};var Qh=function(){Eg().status="";return true};Sa[_P].refresh=function(){this.ja()[Hb].reload(true)};function Ub(a){this.ar=a;this.jm=[];try{var b=a[ef]}catch(c){}finally{if(b){this.Ut()}else{this.LA()}}}Ub.b(Sa);Ub[_P].s=Mc("TR_IframeUtil");Ub[_P].zk=function(){if(this.Xe){mb(this.Xe);this.Xe=null}};Ub[_P].Ut=function(){Sa.call(this,this.gc()[ef]);this.IA=true};Ub[_P].LA=function(a){if(a){this.jm.push(a)}if(!this.Xe){var b=Ni?"readystatechange":"load";this.Xe=u(this.ar,b,this.vp,true,this)}try{var c=Ni?this.gc()[hg]=="complete":this.gc().contentDocument[B]}catch(d){}if(c){this.vp()}};Ub[_P].vp=
function(){if(!Ni||this.gc()[hg]=="complete"){if(!this.IA){this.Ut()}while(this.jm[i]){var a=this.jm.pop();a()}mb(this.Xe);this.Xe=null}};var Dl=function(a){return a.frameElement};Ub[_P].gc=function(){return this.ar};Ub[_P].fi=function(){return this.gc()[za]};Ub[_P].Ws=function(a,b){var c=sa(a,10),d=sa(b,10);wa(this.gc(),c);Aa(this.gc(),d)};Ub[_P].gC=function(a,b){a.i(this.fi(),"mouseover",J(this.hC,this),true);var c=J(this.fC,this),d=this.l(),e=!(!b);for(var f=0;f<Bl[i];f++){var g=Bl[f];a.i(d,g,
c,e)}};Ub[_P].hC=function(a){this.GC=a[ec]-a[vb];this.HC=a[fc]-a[wb]};var Cl=["target","originalTarget"],Bl=["mousedown","mouseup","mousemove","mouseover","mouseout","click"];Ub[_P].fC=function(a){var b=this.gc();if(!b||!b[n]){return}var c=Ap(this.l(),a,this.GC,this.HC);for(var d=0;d<Cl[i];d++){var e=Cl[d];b[e]=a[e]}Dp(b,c)};;;function W(a,b,c,d){R.call(this);this.A=a[ta];this.q=Ga(this.A);this.le=a;this.Tb=new Sa(a);this.Ta=c;this.Rr=b;this.Eb=new ab(this);this.rc=new sc(this.le);this.Uo=true;this.Dw=true;if(d){this.qd(d)}}W.b(R);W[_P].qd=function(a){if(this[ga]){return}this.content=this.q.e("DIV",{id:Hc(),className:"tr_dialog"});X(a[n],this[ga]);this.So=a.dk;this.Ho=a.$j;this.pC=a.Ps;if(a.rn){this.Dv(a.rn)}this.qv(a);if(a.We){this.We=this.Bv(a.We)}if(a.ih){this.ih=this.tv(a.ih)}if(a.Ue){this.Ve=a.Ue}};W[_P].ug=null;W[_P].Et=
function(a){this.ug=a};W[_P].Xf=function(){return this.ug};var Si="tr_backgroundMask",Ti="tr_dialog-section",$d=[];W[_P].io=function(a){if(!this.Do){this.Do=this.rv("tr_button-region-rhs")}var b=this.q.e("INPUT",{type:"button",value:a});X(this.Do,b);return b};W[_P].rv=function(a){if(!this.gh){this.sv()}var b=this.q.e("DIV",{className:a});Gd(b,this.yw);return b};W[_P].sv=function(){if(!this.gh){this.gh=this.q.e("DIV",null,this.yw=this.q.e("DIV",{style:"clear:both"}));X(this.xo,this.gh)}};W[_P].Qc=
function(){this.dispatchEvent("beforeopen");if(this.Rr){if(this.Ta){this.Ta.ym();this.Ta.empty()}hp(this);this.Wt()}Ea(this[ga][k],"");if(!this.xc){this.HD()}};W[_P].Jc=function(){this.mE();if(this.Rr){ip(this);this.As()}Ea(this[ga][k],"none")};W[_P].Go=function(){if(this.wj&&this.wj.$E()){return Zf("Pending uploads will be canceled. Do you want to continue?")}else{return true}};zh(W[_P],function(){this.Jc();this.Cw();if(this.pC){this[ga][n].removeChild(this[ga])}if(this.Ta){this.Ta.xm()}});W[_P].Cw=
function(){if(this.So){this.So()}if(this.Eb){this.Eb.f();this.Eb=null}if(this.rc){this.rc.f();this.rc=null}if(this.wj){this.wj.f();this.wj=null}if(this.xc){this.xc.f();this.xc=null}this.sA=true;this.dispatchEvent("close")};W[_P].isOpen=function(){return!this.sA};Cd(W[_P],function(a,b){Wd(this[ga][k],"absolute");this[ga][k].top=b+"px";Cb(this[ga][k],a+"px")});W[_P].Ko=function(){Wd(this[ga][k],"absolute");var a=this.Tb.Le(),b=this.Tb.Je(),c=Je(this.le),d=(a-Pl(this[ga]))/2;d+=c.x;var e=(b-Ag(this[ga]))/
2;e+=c.y;this.setPosition(t.floor(d),t.floor(e))};W[_P].Ys=function(){var a=this.Th();wa(a[k],t.max(this.Tb.Le(),this.Tb.$y())+"px");Aa(a[k],t.max(this.Tb.Je(),this.Tb.Zy())+"px")};W[_P].Dv=function(a){var b;this.Rg=this.q.e("DIV",{id:Hc(),className:"tr_dialog-title",style:"cursor:move"},this.q.e("TABLE",{width:"100%",className:"tr_dialog-title-layout-table",id:Hc()},b=this.q.e("TBODY")));var c=b.insertRow(0);this.wF=X(c,this.q.e("TD",{innerHTML:a,width:"100%"}));X(this[ga],this.Rg)};W[_P].HD=function(){if(this.Rg){this.xc=
new Xc(this.Rg,this[ga],this.le,this.A);this.Wm()}};W[_P].Wm=function(){if(this.Rg&&this.xc){this.xc.mg=0;this.xc.ng=0;this.xc.Ki=this.Tb.Le()-Pl(this[ga]);this.xc.Li=this.Tb.Je()-Ag(this[ga])}};W[_P].qv=function(a){this.xo=this.q.e("DIV",null,a);X(this[ga],this.xo)};W[_P].Bv=function(a){var b=this.io(a);b[k].paddingLeft="1.9ex";b[k].paddingRight="1.9ex";b.om=this;Tb(b,gl);return b};W[_P].tv=function(a){var b=this.io(a);b.om=this;Tb(b,fl);return b};W[_P].Wt=function(){var a=this.Th();this.Ys();this.Eb.i(this.rc,
Ne,this.vi);var b={zIndex:this[ga][k].zIndex-1,display:"block",backgroundColor:this.Qx()};Nl(a,b)};W[_P].vi=function(){Ea(this.Th()[k],"none");this.Wm();this.Ys();this.As()};W[_P].Qx=function(){return this.KE||"#afafaf"};W[_P].Th=function(){var a=this.q.c(Si);if(!a){a=this.q.e("IFRAME",{frameBorder:0,scrolling:"no",id:Si,className:Si});X(this.A[B],a)}return a};W[_P].As=function(){var a=$d[i];if(a>0){$d[a-1].Wt()}else{Ea(this.Th()[k],"none");this.Eb.Ka(this.rc,Ne,this.vi)}};var hp=function(a){if(!pd($d,
a)){var b=$d[i];$d.push(a);a[ga][k].zIndex=b==0?201:$d[b-1][ga][k].zIndex+2}},ip=function(a){var b=Rh($d,a);if(b!=-1){$d.splice(b,1)}},gl=function(a,b){var c=b||this.om;if(!c.Go()){return}if(c.Ve){c.Ve()}if(c.Uo){c.remove()}c.dispatchEvent("ok")};W[_P].VC=function(a){this.Uo=a};var fl=function(a,b){var c=b||this.om;if(!c.Go()){return}if(c.Dw){c.remove()}if(c.Ho){c.Ho()}c.dispatchEvent("cancel")};W[_P].Kp=function(a){var b=this.q.c(a);if(b[ea]=="INPUT"){b.focus();Vq(b,b[La][i])}};W[_P].oa=null;W[_P].eD=
function(){this.oa=new Xb(this.A);this.Eb.i(this.oa,"key",this.Me)};W[_P].mE=function(){if(this.oa){this.Eb.Ka(this.oa,"key",this.Me);this.oa.f();this.oa=null}};W[_P].Me=function(a){var b=false;switch(a[hb]){case 13:if(!this.We.disabled){gl(null,this);b=true}break;case 27:fl(null,this);b=true;break;case 9:if(!Kb(this[ga],Be(a))){var c=this[ga].getElementsByTagName("INPUT")[0];if(c){c.focus()}b=true}break}if(b){a.preventDefault()}return b};function fa(a,b,c,d,e,f){this.Bn=b;this.Xv=b.fb.base;this.IE=d;this.sj=e;this.nn=e.Rf();this.Cg=new xf;W.call(this,a,true,c);this.Sk()}fa.b(W);fa[_P].xa=function(){return this.nn};fa[_P].Qd=function(){return this.Bn.wq(this.xa())};var qf="tr_email-address-tab",ye="tr_on-the-web-tab",ze="tr_on-the-web-tab-input",yg="tr_email-address-tab-input",ll="tr_dialog-tab-content-explanation-text",ml="tr_external-input-div",nl=false;fa[_P].Lf=null;fa[_P].Tg=null;fa[_P].Qc=function(){this.eD();this.Ko();W[_P].Qc.call(this);
if(this.pn){V(this.pn,true)}this.Kp(this.rd.id);this.IC(this.rd[La],this.Qd());this.kn()};fa[_P].lk=function(){var a=this.q.e("DIV",{id:"tr_choose-link-dialog",className:"tr_edit-link-dialog-body",rn:"Edit Link",We:"OK",ih:"Cancel",dk:J(this.dk,this),$j:J(this.$j,this),Ue:J(this.Ve,this),Ps:true},this.kw(),this.hw());X(this.A[B],a);return a};fa[_P].Sk=function(){var a=this.lk();this.qd(a);this.Eb.i(this.Cg,"select",J(this.DB,this));this.je=Yl(a,this.A,false,J(this.gm,this));this[ga].className+=" tr_edit-link-dialog";
Hh(this[ga],this.Eb,true)};fa[_P].kw=function(){var a=sf(1,2,this.A,true);Nl(a,{fontSize:"10pt"});var b=this.q.e("DIV",{className:Ti,style:"padding-bottom:.8ex"});T(a[Rb][0][Gb][0],'<span style="position: relative; bottom: 2px; padding-right: 1px;">Text to display:&nbsp;</span>');this.rd=this.q.e("INPUT",{size:50,id:"tr_text-to-display"});var c=this.rd,d=c;if(v){d=Jh(c);this.pn=d;V(this.pn,false)}X(a[Rb][0][Gb][1],d);Yd(c,this.sj.Zh());this.Eb.i(c,"keyup",J(this.MB,this));X(b,a);return b};fa[_P].hw=
function(){var a=this.q.e("DIV",{className:Ti,ln:"Link to:"});Gl(a,this.jw(),this.iw());return a};fa[_P].jw=function(){var a=Nh(ye,"Web address","Link to a page or file somewhere else on the web",this.A,J(this.zE,this)),b=this.q.e("DIV",{innerHTML:"<b>To what URL should this link go?</b>"}),c=this.q.e("INPUT",{id:ze}),d=c;if(v){d=Jh(c)}if(Qk&&Fd(c)){wa(c[k],"99%")}var e=this.q.e("DIV",{className:ml},d);this.Tg=new Ff(c);u(this.Tg,"input",J(this.us,this));var f=Up(e,J(this.RB,this),this.Eb);T(f,"<br>Test this link");
var g=this.q.e("DIV",{className:ll,innerHTML:"<b>Not sure what to put in the box? </b>First, find the page on the web that you want to link to. (A <a href='http://www.google.com/' target='_new'>search engine</a> might be useful.) Then, copy the web address from the box in your browser's address bar, and paste it into the box above."});Gl(a,b,e,g);return a};fa[_P].iw=function(){var a=Nh(qf,"Email address","Link to an email address",this.A,J(this.Ap,this)),b=this.q.e("DIV",{innerHTML:"<b>To what email address should this link?</b>"});
X(a,b);var c=this.q.e("INPUT",{id:yg}),d=c;if(v){d=Jh(c)}if(Qk&&Fd(c)){wa(c[k],"99%")}X(a,d);Ra(d,ml);this.Lf=new Ff(c);u(this.Lf,"input",J(this.us,this));{var e=this.q.e("DIV",{className:ll,innerHTML:"<b>Be careful.</b> Remember that any time you include an email address on a web page, nasty spammers can find it too."});X(a,e)}return a};fa[_P].IC=function(a,b){if(this.Ol()){this.rz(a)}else if(Qi(b)){this.Pc(qf);var c=b.substring(b.indexOf(":")+1);Yd(this.q.c(yg),c);this.dj()}else{this.Pc(ye);Yd(this.q.c(ze),
this.Ol()?"http://":b);this.dj()}};fa[_P].rz=function(a){if(Ph(a)){Yd(this.q.c(yg),a);this.cf(true);this.Pc(qf);this.Ck(true)}else if(hm(a)){Yd(this.q.c(ze),a);this.cf(true);this.Pc(ye);this.Ck(true)}else{if(!this.sj.Zh()){this.cf(true)}var b=ye;this.Pc(b)}};fa[_P].Ck=function(a){this.cf(!a);nl=a};fa[_P].dj=function(){var a=this.gi(),b=false;if(!nl&&(a==qf||a==ye)){var c=this.q.c(a+"-input");b=c[La]==this.rd[La]}this.cf(b)};fa[_P].Pc=function(a,b){this.vF=b;this.je.Pc(a)};fa[_P].gi=function(){return this.vh};
fa[_P].gm=function(a){this.vh=a;{this.Kp(this.vh+"-input");this.kn()}this.Cg.Rm(null);this.ij();if(v){Sp(this[ga])}};fa[_P].RB=function(){var a=this.q.c(ze),b=lj(a[La]);if(!($l?em(b,this.Xv):dm(b))){this.Tb.xs(b,"")}else{qq()}};fa[_P].MB=function(){var a=this.rd[La]=="";if(a){this.cf(true)}else{this.dj()}};fa[_P].us=function(){if(this.wo){this.ij()}else if(this.rd[La]==""){this.dj()}this.kn()};fa[_P].kn=function(){var a;if(this.vh==qf){a=this.q.c(yg)[La]}else if(this.vh==ye){a=this.q.c(ze)[La]}else{return}this.uu(Vg(a)!=
"")};fa[_P].cf=function(a){this.wo=a};fa[_P].ij=function(){if(this.wo){var a=this.gi();if(a==ye||a==qf){var b=a+"-input";Yd(this.rd,this.q.c(b)[La])}}};fa[_P].DB=function(){this.ij();this.uu(true)};fa[_P].uu=function(a){this.We.disabled=!a};fa[_P].dk=function(){if(this.Ta){this.Ta.Ui(this.xa())}this.Ta=null;if(this.Cg){this.Cg.zk();this.Cg=null}if(this.Tg){this.Tg.f();this.Tg=null}if(this.Lf){this.Lf.f();this.Lf=null}this.Ck(false)};fa[_P].$j=function(){var a=this.xa();if(this.Ol()){if(a[db]!=""){hj(a)}ca(a)}};
fa[_P].Ol=function(){return this.sj.xA()};fa[_P].Ve=function(){var a=this.je.gi();if(a&&a.Ue)a.Ue()};fa[_P].zE=function(){var a=this.q.c(ze)[La];if(Ph(a)){this.Ap(ze);return}this.Ot(lj(a))};fa[_P].Ap=function(a){var b=this.q.c(a?a:yg)[La];b="mailto:"+b;this.Ot(b)};fa[_P].Ot=function(a){this.ij();this.sj.qw(this.rd[La],a)};;;{function fb(a,b,c,d,e,f){this.NC=b;this.yB=c;this.Bn=d;this.eC=e;this.$s=J(this.Xs,this);this.Ai=f;W.call(this,a,true,this.NC);this.Sk()}fb.b(W);var Tl="tr_raw-html-dialog-preview-tab",ij="tr_raw-html-dialog-html-tab",Sl="(p|div|h1|h2|h3|h4|h5|h6|hr|table|ul|ol|li)",gq=new RegExp("^<"+Sl+"[\\s\\S]*?>$","i"),fq=new RegExp("^<\\/"+Sl+">$","i");fb[_P].Qc=function(){u(this.le,"resize",this.$s,false);this.je.Pc(ij);W[_P].Qc.call(this);this.Xs();this.Wm();this.nc.focus();if(v){this.nc.selectionStart=0;
this.nc.selectionEnd=0}};fb[_P].Ve=function(){var a=this;this.ia(function(b){a.yB(b);a.remove()})};fb[_P].Jc=function(){Ma(this.le,"resize",this.$s,false);W[_P].Jc.call(this)};fb[_P].Xs=function(){this.Ws();this.Ko()};fb[_P].Ws=function(){var a=this.Tb.Je()*0.9,b=this.Tb.Le()*0.9;wa(this[ga][k],b+"px");Aa(this[ga][k],a+"px");var c=Ag(this.gh),d=Ag(this.Rg),e=Ag(this.je.rj),f=a-c-d-e,g=b,h=this.je.Yx(),j=h,m=0,l=0;while(j!=this[ga]){m+=Fh(j);l+=$k(j);j=j[n]}f-=m;g-=l;if(s&&Fd(this.A)){f-=13}if(f>0){Aa(h[k],
f+"px")}if(g>0){wa(h[k],g+"px")}if(v){Tp(this[ga])}else if(s&&Fd(this.A)){var o=f-Fh(this.nc)-$o(this.nc);if(o>0){Aa(this.nc[k],o+"px")}}};fb[_P].nD=function(a){Yd(this.nc,iq(a))};fb[_P].mz=function(){var a=this.nc[La];return v?hq(a):a};var iq=function(a){var b=Vl(a,[/^<!--[\s\S]*?--\>/,/^<![\s\S]*?>/,/^<(script|style|pre|xmp)[\s\S]*?<\/(\1)[^>]*>/i,/^<\/?\w+[^>]*>/,/^[^<]+/,/^</]),c=[];for(var d=0;d<b[i];++d){var e=b[d],f=/^<(script|style|pre|xmp)[\s\S]*?<\/(\1)[^>]*>/i.test(e);if(f){c.push("\n");
c.push(e);c.push("\n")}else{var g=gq.test(e),h=fq.test(e);if(g){c.push("\n");c.push(e)}else if(h){c.push(e);c.push("\n")}else{c.push(e)}}}return c.join("")},Vl=function(a,b){var c=[];while(a){for(var d=0;d<b[i];++d){var e=a.match(b[d]);if(e){if(!/^\s+$/.test(e[0])){c.push(e[0])}a=a.substring(e[0][i]);break}}}return c},hq=function(a){var b=Vl(a,[/^<!--[\s\S]*?--\>/,/^<![\s\S]*?>/,/^<(script|style|listing)[\s\S]*?<\/(\1)[^>]*>/i,/^<\/?\w+[^>]*>/,/^[^<]+/,/^</]),c=[];for(var d=0,e=false,f=false;d<b[i];++d){var g=
b[d];if(g.charAt(0)!=="<"){if(e||f){var h=e?"<br>":"";g=g.replace(/\r\n?|\n/g,h)}}else if(/^<pre/i.test(g)){e=true}else if(/^<xmp/i.test(g)){f=true}else if(/^<\/pre/i.test(g)){e=false}else if(/^<\/xmp/i.test(g)){f=false}c.push(g)}return c.join("")};fb[_P].ia=function(a){var b=this.Ai?this.Ai.xF:null;this.Tp(a,b)};fb[_P].Sy=function(a){var b=this.Ai?this.Ai.yF:null;this.Tp(a,b)};fb[_P].Tp=function(a,b){a(this.mz())};fb[_P].qE=function(){this.Sy(J(this.rE,this))};fb[_P].rE=function(a){var b=this.$q.l();
T(b[B],a);xl(b,this.Bn);this.JD()};fb[_P].gm=function(a){if(a==Tl){this.qE()}};fb[_P].lk=function(){var a=this.q.e("DIV",{id:"tr_raw-html-dialog",className:"tr_raw-html-dialog-body",rn:"Edit HTML",We:"Update",ih:"Cancel",Ue:J(this.Ve,this),Ps:true},this.Mw());X(this.A[B],a);this.je=Yl(a,this.A,true,J(this.gm,this));return a};fb[_P].Sk=function(){this.qd(this.lk());this.VC(false);this[ga].className+=" tr_raw-html-dialog";this.je.Pc(ij);Ea(this[ga][k],"none")};fb[_P].Mw=function(){return this.q.e("DIV",
{className:Ti,ln:"&nbsp;"},this.Ow(),this.Sw())};fb[_P].Ow=function(){var a=Nh(ij,"HTML","Edit your HTML here",this.A);this.nc=this.q.e("TEXTAREA",{id:"tr_raw-html-area",style:"height:98%;width:100%;direction:ltr"});var b=this.nc;if(v){b=Jh(this.nc);Aa(b[k],"100%")}X(a,b);Aa(a[k],"100%");return a};fb[_P].Sw=function(){var a=Nh(Tl,"Preview","Preview your changes here",this.A),b=this.q.e("IFRAME",{id:"tr_raw-html-dialog-preview-pane",src:this.eC,style:"width:100%;height:100%;"});X(a,b);this.$q=new Ub(b);
Aa(a[k],"100%");return a};fb[_P].JD=function(){var a=this.$q.l();u(a[B],"mousedown",Ul,true);u(a,"click",Ul,true);a.onmousemove=Qh;a.onmouseover=Qh;a.onmouseout=Qh};var Ul=function(a){Qh();kd(a,false)}};var Ql=function(a,b,c){var d=ua(a);if(d.getBoxObjectFor){var e=c&&c[ta];return eq(a,e)}var f=b,g=c||Eg(),h={x:0,y:0},j=a;while(a){h.x+=a[hf];h.y+=a[oe];if(f&&!a[jf]){a=Dl(f);if(f==g){f=null}else{if(a){var m=Je(f);h.x-=m.x;h.y-=m.y}f=f.parent}}else{a=a[jf]}}var a=j;while(a&&!ic(a,"body")){h.x-=a[jg];h.y-=a[lf];a=a[n]}return h},eq=function(a,b){var c={x:0,y:0},d=ua(a),e=d.getBoxObjectFor(a),f=b||d,g=f.getBoxObjectFor(Wg(f));c.x=e[ec]-g[ec];c.y=e[fc]-g[fc];return c},Ag=function(a){var b=a[Ad];if(s&&
Fd(a)){b+=Fh(a)}return b},Pl=function(a){return a[kf]};function C(a,b,c){R.call(this);this.Db={};this.yb=b;this.cA=c;this.Be={};this.Xa={};this.Oh={};this.Nh={};this.Aa=a;if(v){this.pg={};{this.zj={};this.gd={}}}this.Nf={}}var Xi;C.b(R);C[_P].s=Mc("TR_EditableUtil");var Vi=function(a){var b=Wp(a,"g_editable","true");return!(!b)&&a!=b};C[_P].Sq=function(){return!li(this.Db)};C[_P].Pl=function(a){if(!a.getSelection()){return false}var b=a.Qa();if(!b){return false}return Vi(b)||Eb(b)};var ul=function(a,b,c){if(!c)c="";var d=tf(a,b,c);if(!Vi(d))d=null;return d};
C[_P].$c=function(a){if(qb){var b=this.Pa(a),c=this.o(a),d=ua(b);if(c.l()!=d){d[B].createTextRange().select();c=this.o(a)}c.Cs(b);b.focus()}else if(la){var b=this.Pa(a);this.o(a).Cs(ld(b));this.Hb(a).Qh()}else{this.Hb(a).Qh()}};C[_P].aq=function(a){var b;if(this.Pl(a)){b=this.Xx(a)}else{b=this.wy(a)}return b?this.bq(b):null};C[_P].o=function(a){return this.Hb(a).o()};C[_P].Hb=function(a){var b=a||Dd();if(b&&(!Wc||false)&&this.pr(b)){return this.Vf(b)}else{return this.yb}};C[_P].Ry=function(){return this.yb};
C[_P].l=function(a){return this.Hb(a).l()};C[_P].Uf=function(a){return Ga(this.l(a))};C[_P].ja=function(a){return this.Hb(a).ja()};C[_P].ob=function(a){var b=this.Hb().ob(a);if(!b&&v){var c=Dd();for(var d in this.Db){if(this.pr(d)){ae(d);b=this.Hb().ob(a);if(b){break}}}ae(c)}return b};C[_P].Ge=function(a){var b=be(a,Eb);return b?this.bq(b):b};C[_P].He=function(a){var b=this.Ge(a);return b?this.H(b.id):null};C[_P].uA=function(a){return!(!this.Pa(a.id))};C[_P].Ag=function(a,b,c,d,e){if(!this.Xa[a]){this.Xa[a]=
new ab(this)}this.Xa[a].i(b,c,d,e)};C[_P].VB=function(a,b){var c=a.Ae,d=c.id;if(this.Db[d]){return false}a.nodeName=c[va];a.id=d;Ra(a,c[Pb]);a.yt(c[k][wd]);c.className+=" editable";this.Be[d]=a;var e=a.td(),f=this,g=function(){if(e){f.Db[d]=f.Wf(d)}else{f.Db[d]=f.yb.ob(d)}if(s){f.Ro(d)}a.addListener(Df,f.Jz,false,f);f.Db[d].setAttribute("g_editable","true");b(d)};if(e){if(v){this.Ag(d,a,"focus",this.qB.J(this,d))}this.RA(a,g)}else{if(xe(c,"direction")=="rtl"){c[k].direction="rtl"}a.St(c,this.yb);
c.contentEditable=true;var h=c[db],j=Wi(h);if(j!=h){T(c,j)}g()}};C[_P].Ro=function(a){var b=this.o(a),c=this.aq(b);if(c&&c.id==a){b.empty()}};C[_P].H=function(a){return this.Be[a]};C[_P].Jz=function(a){if(a[hb]==8){var b=this.o(),c=this.aq(b),d=b.Za();if(c[Z]==d&&de(d)){kd(a)}}else if(a[hb]==13&&!v){if(s){this.xx()}}};C[_P].Po=function(a){if(this.Oh[a]){mb(this.Oh[a]);this.Oh[a]=null}if(this.Nh[a]){oa.clearInterval(this.Nh[a]);this.Nh[a]=null}};C[_P].To=function(a,b){this.Po(a);var c=this.H(a);if(this.Xa[a]){this.Xa[a].f();
delete this.Xa[a]}if(Dd()==a){ae(null)}if(c){c.Qo()}if(c&&this.Pa(a)){var d=c.Ae;if(b){T(d,b);vp(d,c)}if(v){if(!Wc&&this.Kc(a)){delete this.zj[a];delete this.gd[a]}delete this.pg[a]}if(c.td()){var e=this.ai(a);{ca(e)}}if(this.Nf[a]){delete this.Nf[a]}delete this.Db[a];if(this.Be[a]){delete this.Be[a]}{c.jj(false)}c.nu();c.lx()}};var vp=function(a,b){a.removeAttribute("contentEditable");a.removeAttribute("g_editable");if(!b.id){a.removeAttribute("id")}else{a.id=b.id}if(!b[Pb]){Ra(a,"")}else{Ra(a,b[Pb])}var c=
b.Fy();if(!c){a.removeAttribute("style")}else{Gm(a,{style:c})}};C[_P].Pa=function(a){return this.Db[a]};C[_P].ny=function(a){return this.H(a).my()};C[_P].Mx=function(){var a=[];for(var b in this.Be){a.push(this.H(b))}return a};C[_P].gy=function(){for(var a in this.Db){return this.H(a)}return null};C[_P].Xx=function(a){var b=a.Qa();return this.Ge(b)};C[_P].wy=function(a){for(var b in this.Db){var c=this.Pa(b);if(a.zf(c,false)){return c}}return null};C[_P].bq=function(a){return v?this.Pa(a.id):a};C[_P].Cy=
function(a){var b="padding:0;";return{frameBorder:0,style:b}};C[_P].RA=function(a,b){var c=a.Ae,d=Ga(c),e=d.e("IFRAME",this.Cy(a)),f=c[db],g=c.id;if(s&&this.Ml()){this.s.T("Waiting for iframe load");var h=this.Zq.J(this,g,f,b),j=this.bA.J(this,g,h);this.s.T("Listening to load event on "+g);this.Oh[g]=u(e,"load",j,true);this.Nh[g]=oa.setInterval(this.MA.J(this,g),2000);e.src=this.cA}this.Nf[g]=e;if(v){this.Ev(c,e,b)}if(!Wc&&a.Jb()){this.gd[g]=xe(c,"overflowY")=="auto";var m=c[k][x],l=c[k][w];M(c,"visibility",
"hidden");var o=d.e("div",{style:"height:0;clear:both",innerHTML:"&nbsp;"}),r=o.cloneNode(true);c.insertBefore(o,c[Z]);X(c,r);var K=c[pc],N=c[dc],na=c[k].overflow;if(na!="auto"){M(c,"overflow","auto");var pa=vl();if(c[dc]!=c[Ad]){N+=pa}if(c[pc]!=c[kf]){K+=pa}M(c,"overflow",na)}var Ab="";if(this.gd[g]){Ab="&nbsp;";M(c,"position","relative");M(c,"overflow","visible");M(e,"position","absolute");M(e,"top",0);M(e,"left",0)}bd(c,K,N);T(c,Ab);this.zj[g]=c;bd(e,K,N);bd(c,m,l);M(c,"visibility","");X(c,e)}else{Ra(e,
c[Pb]);e.id=g;cq(e,c)}if(!s||!this.Ml()){this.s.T("Not waiting for load on "+g);var ub=e[ef][ta];if(this.Kc(g)&&Fd(e[za])){ub.open();ub.write("<!DOCTYPE HTML><html></html>");ub.close()}this.Zq(g,f,b)}};C[_P].Ml=function(){var a=Eg()[Hb];return a[sh]=="https:"&&a.search.indexOf("nocheckhttps")==-1};C[_P].bA=function(a,b){this.s.T("Reached load wrapper for "+a);b()};C[_P].MA=function(a){var b=this.ai(a),c;if(!(c=b)){this.s.db("Iframe DNE: "+a)}else if(!(c=c[ef])){this.s.db("win DNE: "+a)}else if(!(c=
c[ta])){this.s.db("doc DNE: "+a)}else if(!(c=c[B])){this.s.db("Body DNE: "+a)}else{this.s.db("iframe ready in loadNeveFired");this.H(a).db=true}};C[_P].Zq=function(a,b,c){this.s.T("Iframe field load handler for "+a);var d=this.H(a);if(d.db){this.s.db("Iframe field load handler did fire for "+a)}this.Po(a);var e=this.Vf(a),f=e.gc();f.EE="true";var g=e.l(),h=Fd(f[za]);b=Wi(b);if(s&&this.Ml()){if(Wc){g[B].contentEditable=true}Ra(g[B],"editable");g[B].setAttribute("g_editable",true);g[B].aF=true;g[B].id=
a;if(xe(d.Ae,"direction")=="rtl"){g[B][k].direction="rtl"}T(g[B],b)}else{var j=[];if(this.Kc(a)&&h){j.push("<!DOCTYPE HTML>")}j.push('<html style="background:none transparent;height:');if(this.Kc(a)){j.push(this.gd[a]?"100%":"auto")}j.push('">');if(this.Kc(a)){var m=this.zj[a];j.push("<head><style>");j.push(ap(m));j.push("</style></head>");var l=this.Ky(a)[B],o=-pf(m,"paddingLeft"),r=-pf(m,"paddingTop");if(r!=0||o!=0){M(f,"position","relative");M(f,"left",o+"px");M(f,"top",r+"px")}}j.push('<body g_editable="true" hidefocus="true" ');
if(Wc){j.push("contentEditable ")}j.push('class="editable ');if(l){j.push(l[Pb])}j.push('" id="');j.push(a);j.push('" style="');if(this.Kc(a)){j.push(l[wd]);j.push(";width:100%;border:0;margin:0;background:none transparent;");j.push(";height:");j.push(h?"100%":"auto");if(this.gd[a]){j.push(";overflow:auto")}else{j.push(";overflow-y:hidden;overflow-x:auto")}}if(xe(d.Ae,"direction")=="rtl"){j.push(";direction:rtl")}j.push('">');j.push(b);j.push("</body></html>");g.open();g.write(j.join(""));g.close()}var K=
g[B];this.Db[a]=K;this.H(a).St(K,e);if(!Wc){yl(g,this.Aa);var N=this.kE.J(this,g,a);try{N()}catch(na){this.s.db("Can't turn on designMode - retry: "+a);oa.setTimeout(N,0)}if(this.Kc(a)){this.FD(a)}this.Ag(a,g,"keyup",this.Lz);this.Ag(a,g,"keypress",this.vl.J(this,a),true)}e.gC(this.ny(a),true);c();this.s.T("End iframe field load handler "+a)};C[_P].kE=function(a,b){a.designMode="on";a.execCommand("useCSS",false,true);if(this.Kc(b)){a.execCommand("enableInlineTableEditing",false,"false");a.execCommand("enableObjectResizing",
false,"false")}this.s.T("Turned on designMode: "+b)};var wl=function(a){if(!a||kj(a)){return rl()}return a};C[_P].zt=function(a,b){var c=Wc?this.Pa(a):this.Wf(a);T(c,Wi(b))};C[_P].Gy=function(a){return this.Pa(a)[db]};C[_P].vl=function(a,b){if(aj()){return}if(b[hb]==13){this.Bz(b)}};C[_P].Lz=function(a){if(aj()){return}};C[_P].Bz=function(a){if(a[re]){return}var b=this.o(),c=b.hd();if(!c){b.lp(this)}};var yl=function(a,b){xl(a,b)},xl=function(a,b){var c=a.getElementsByTagName("img");for(var d=0,e=
c[i];d<e;d++){c[d].src=b.li(c[d].src,"live")}},Wi=function(a){a=wl(a);if(Nk&&a.match(/^\s*<script/i)){a="&nbsp;"+a}if(Qo){a=a.replace(/<(\/?)strong/gi,"<$1b");a=a.replace(/<(\/?)em/gi,"<$1i")}return a};C[_P].Ev=function(a,b,c){var d=a.id;if(!this.pg[d]){this.pg[d]={}}var e=this.pg[d];e.field=a;e.bF=new Ub(b);e.Lj=Zo(a);e.jF=c};C[_P].pr=function(a){return!(!this.Nf[a])};C[_P].Vf=function(a){return new Ub(this.ai(a))};C[_P].ai=function(a){return this.Nf[a]};C[_P].Wf=function(a){return this.Vf(a).Vk()};
C[_P].aC=function(a){var b=this.Wf(a);this.o(a).et(b)};C[_P].qB=function(a){var b=this.Vf(a),c=b.o(),d=this.Pa(a),e=c.getSelection(),f=e.focusOffset==0,g=e[ne],h=!g||this.uA(g)||ic(g,"body");if(f&&h){this.aC(a)}};C[_P].Ee=function(){var a=Dd();return a?this.H(a):null};{C[_P].FD=function(a){var b=this.H(a);if(!this.gd[a]){this.Ag(a,b,ba.sc,this.au.J(this,a),true)}this.Ag(a,b,"outerDocChange",this.bu.J(this,a),true)};C[_P].au=function(a){if(this.ho()){var b=this.Vf(a),c=b.Ay(),d=b.gc(),e=this.Wf(a);
if(sa(Qf(d,"height"),10)===0){M(d,"height","1px")}var f;if(Fd(e)){f=c[Ad]}else{f=c[ig];if(c[dc]!=c[Ad]){f+=vl()}}var g=this.H(a);if(g.Mi){f=t.max(f,g.Mi)}if(sa(Qf(d,"height"),10)!=f){M(d,"height",f+"px")}this.Ns()}};var vl=function(){if(!Xi){var a=He("div",{style:"overflow:scroll;position:absolute;visibility:hidden;"});X(Og()[B],a);Xi=a[kf]-a[pc];ca(a)}return Xi};C[_P].bu=function(a){if(this.ho()){var b=this.ai(a),c=this.Wf(a),d=this.zj[a],e=d[pc];if(sa(Qf(b,"width"),10)!=e){M(b,"width",e+"px");e-=
$k(c);M(c,"width",e+"px")}var f=d[dc];if(this.gd[a]&&sa(Qf(b,"height"),10)!=f){M(b,"height",f+"px");f-=Fh(c);M(c,"height",f+"px")}this.Ns()}};C[_P].nx=function(a){if(this.H(a)&&this.Kc(a)){var b=this.gd[a];if(!b){this.au(a)}this.bu(a)}};C[_P].ho=function(){if(this.$t){return false}return this.$t=true};C[_P].Ns=function(){this.$t=false};C[_P].Ky=function(a){return this.pg[a].Lj}}{C[_P].Kc=function(a){return this.Be[a].Jb()}}{C[_P].xx=function(){var a=this.o(),b=a.getSelection().parentElement();while(b&&
!Eb(b)){var c=b[va];if(c=="LI"||c=="DIV"){return}b=b[n]}var d,e,f=(d=a.ji())&&(e=a.al());if(f){var g=a.Za(),h=a.fc();a.selectNodes(g,d-1,h,e-1)}this.l().execCommand("FormatBlock",false,"<div>");if(f){a.selectNodes(g,d,h,e)}}};;;;{var tg={Rj:"dir",sk:"direction"},sg={Rj:"align",sk:"textAlign"},Lo={ADDRESS:1,BLOCKQUOTE:1,BODY:1,CENTER:1,DIR:1,DIV:1,DL:1,FIELDSET:1,FORM:1,H1:1,H2:1,H3:1,H4:1,H5:1,H6:1,HR:1,OL:1,LI:1,P:1,PRE:1,TABLE:1,TBODY:1,TD:1,TH:1,TR:1,TL:1,UL:1},jd=function(a){return!(!Lo[a[ea]])},Bk=function(a){var b=a[k];if(!b){return 0}var c=sa(b.marginLeft,10),d=sa(b.marginRight,10);if(a[ea]=="BLOCKQUOTE"){return(d==0)-(c==0)}else{return!d-!c}},Oo=function(a){var b=a[ea];return b=="UL"||b=="OL"},Mo=function(a,b){if(a!=
b){while((a=a[n])&&a!=b){var c=qc(a);if(c){return c}}}return null},Li=function(a,b){return jd(a)&&ce(a)||a!=b&&qc(a)||Mo(a,b)},Lk=function(a,b){var c=a[n],d,e;if(Eb(c)||v&&c[ea]=="BLOCKQUOTE"){e=a;d=Ga(c).createElement("DIV")}else{e=c;d=c.cloneNode(false)}var f=b?c[Z]:a[Qb],g=b?a[Vc]:c[yd];Ol(d,f,g);if(b){Gd(d,e)}else{Bf(d,e)}return d},Ch=function(a,b,c,d){if(Eb(a)){return a}var e=b?Ed:qc;if(c){var f=Vp(a,Oo);if(f){return f}}if(v&&d){var g=b?wf:ce,h=a;do{if(h[ea]=="BR"){if(b){h=a}do{a=h;if(e(h)){Lk(h,
b)}}while((h=h[n])&&!jd(h))}else{a=h;if((h=e(h))&&!jd(h)){for(var j=g(h);j;j=g(h)){h=j}}else{h=a[n]}}}while(h&&!jd(h))}else{if(!jd(a)){var m=2;while(m){var h=m==2?a[n]:e(a);if(!h||jd(h)){m--}else{a=h}}}}return a},No=function(a,b){if(a==b){return a}var c=[[a],[b]];for(var d=0;d<2;d++){var e=c[d],f=e[0];while(!Eb(f)&&(f=f[n])){e.push(f)}}var g=c[0][i]-1,h=c[1][i]-1;do{var j=c[0][g]}while(g-- >0&&h-- >0&&c[0][g]==c[1][h]);return j},Kk=function(a,b,c){if(!Ki(a)){return}a.ym();var d=a.Za(),e=a.fc();if(v&&
d==e){var f=a.Zk(d).k;if(f[va]=="BR"){d=(e=f)}}var g=[Ch(d,true,true,true),Ch(e,false,true,true)],h=No(g[0],g[1]);if(!jd(h)){h=h[n]}var j=new Array(2),m=true;for(var l=0;l<2;l++){if(Kb(g[1-l],g[l])){g[l]=g[1-l]}var o=l?Ed:qc,r=l?qc:Ed,K=null,N=null,na=null,pa=g[l]==h;for(var f=g[l];!Eb(f);f=f[n]){if(f[n]==h){pa=true;j[l]=N?o(f):f}if(N){if(Bk(f)){K=f;na=!pa&&f}}else if(r(f)){N=f;na=!pa&&f}if(f[n]==h){m=m&&!N}}if(K){for(var f=N;f&&f!=K;f=f[n]){Lk(f,!l)}}for(var f=na;f&&f[n]!=h;f=f[n]){if(f==na){var Ab=
l?ce(f[n]):f,ub=l?f:wf(f[n])}else{var Ab=l?ce(f[n]):o(f),ub=l?o(f):wf(f[n])}if(Ab&&ub){Jk(Ab,ub,c)}}}if(m){Mi(h,c)}else{if(Ed(j[0])!=j[1]){Jk(j[0],j[1],c)}}Po(b,g[0],g[1],c);a.xm()},Po=function(a,b,c,d){var e=b;if(!Eb(e)){while((e=e[n])&&!Eb(e)){Hk(a,e,d)}}do{Hk(a,b,d)}while(b!=c&&(b=Li(b)))},Hk=function(a,b,c){var d=b[k];if(d){if(Bk(b)*(c=="rtl"?1:-1)>0){var e=b[k].marginLeft;d.marginLeft=d.marginRight;d.marginRight=e}}},Jk=function(a,b,c){var d,e;do{if(jd(a)){if(d){Gk(d,e,c);d=null}Mi(a,c)}else{d=
d||a;e=a}}while(a!=b&&(a=qc(a)));if(d){Gk(d,e,c)}},Gk=function(a,b,c){if(nf(a[n],tg,true)!=c){var d=Ga(a).createElement("DIV");Gd(d,a);Ol(d,a,b);Mi(d,c)}},nf=function(a,b,c){var d=b.sk,e;if(c){if(v){e=Dn(a,d)}else if(s){e=Cn(a,d)}}e=e||a[k][d]||a[b.Rj];if(!v&&c&&(!e||e=="inherit")){var f=a[n];if(f&&f[Q]==1){e=nf(f,b,true)}}if(v&&b==sg){switch(e){case "start":return Ck(a,b);case "-moz-left":return"left";case "-moz-right":return"right"}}return e||(c?Ck(a,b):null)},Ik=function(a,b,c,d){if(!d&&c&&!Eb(a)&&
nf(a[n],b,true)==c){c=""}M(a,b.sk,c);a.removeAttribute(b.Rj)},Ck=function(a,b){switch(b){case sg:var c=nf(a,tg,true);return c=="rtl"?"right":"left";case tg:return"ltr"}return""},Mi=function(a,b){var c=b=="ltr"?"left":"right",d=b=="ltr"?"right":"left";for(var e=a;e;e=Li(e,a)){if(jd(e)){Ik(e,tg,b);b="";var f=nf(e,sg,e==a);if(f==d){Ik(e,sg,c,true)}}}},Dk=function(a,b,c){var d=null;a=Ch(a,true);b=Ch(b,false);var e;if(a==b){e=b;b=null}do{if(!jd(a)){var f=nf(a[n],c,true);if(d&&f!=d){return null}d=f}}while(a!=
b&&(a=Li(a,e)));return d},Ek=function(a){return!Ki(a)?null:Dk(a.Za(),a.fc(),tg)},Ki=function(a){return Fk(a.Za())&&Fk(a.fc())},Fk=function(a){while(a){if(Eb(a)){return true}a=a[n]}return false}};;function Ba(a,b){this.j=a;if(b){this.WB=b.mF}}Ba[_P].s=Mc("TR_StyleUtil");Ba[_P].Kx=function(a,b){var c,d,e;switch(a){case "+backColor":if(!zc(b)){if(So){this.Iv(b)}else{this.Hd(a,b)}}break;case "+link":var f=this.hE("/",b);break;case "+table":this.oA(2,4);break;case "+justifyCenter":case "+justifyFull":case "+justifyRight":case "+justifyLeft":this.JA(a);break;case "ltr":case "rtl":{Kk(this.o(),this.j,a)}break;case "+BLOCKQUOTE":break;case "+removeFormat":this.qC();break;case "+emoticon":break;default:if(a==
Ih){b="<"+b+">"}if(a==Yi&&zc(b)){break}switch(a){case "+indent":case "+outdent":d=true;case "+insertOrderedList":case "+insertUnorderedList":if(s){if(this.Js(this.l(),a)){e=true}else{this.Iw()}}case Ih:c=true;break;case Zi:case "+bold":case "+italic":d=ve&&this.Yk(a,this.l(),true,this.o());break;case Yi:case "+fontName":d=ve}this.Hd(a,b,c,d);if(e){this.l().execCommand("FormatBlock",false,"<div>")}}if(v){this.Hb().Qh()}if(f){return f}};Ba[_P].Iw=function(){var a=this.o(),b=a.Qa();if(b.getElementsByTagName("br")[0]){var c=
this.j.Ge(b),d=cl(a.getSelection(),c);if(b[va]=="P"){Wl(b,true)}else{T(b,b[db].replace(/<br([^\/>]*)\/?>/gi,"<p$1>"));var e=b.getElementsByTagName("p"),f;while(f=e[0]){Wl(f)}}d.Em(c,null)}};var Wl=function(a,b){var c=a[pe].replace(/<(\/?)p/gi,"<$1div");a.outerHTML=b?c.replace(/<br([^\/>]*)\/?>/gi,"</div><div$1>"):c},Xl=function(a){return a.indexOf("+")==0?a.substring(1):a};Ba[_P].Qp=function(a,b){var c=this.l(),d=b&&b.Pl()&&(Wc||c.designMode.toLowerCase()!="off"),e=b&&b.o();if(Ha(a)){return this.Yk(a,
c,d,e)}else{var f={};for(var g=0;g<a[i];g++){f[a[g]]=this.Yk(a[g],c,d,e)}return f}};Ba[_P].Yk=function(a,b,c,d){if(!c){return false}switch(a){case "+link":return this.yA("a");case "+justifyCenter":case "+justifyFull":case "+justifyRight":case "+justifyLeft":return this.wA(a);case Ih:case "+BLOCKQUOTE":case "+indent":case "+outdent":case "+removeFormat":case "+backColor":case "+insertHorizontalRule":case "+unlink":case "+undo":case "+redo":case "+table":return false;case "+fontSize":case "+fontName":case Yi:return this.Ks(b,
a,ve);case "ltr":case "rtl":return Ek(d)==a;case Zi:case "+bold":case "+italic":var e=ve;default:return this.Js(b,a,e)}};Ba[_P].JA=function(a){this.Hd(a,null,null,true);if(v){this.Hd(a,null,null,true)}if(!ve){var b=this.o().Oy();for(var c=0;c<b[i];c++){var d=uf(b[c]);if(d.align){d[k].textAlign=d.align;d.removeAttribute("align")}}}};Ba[_P].wA=function(a){var b=a.replace("+justify","").toLowerCase(),c=this.o();{return b==(!Ki(c)?null:Dk(c.Za(),c.fc(),sg))}};Ba[_P].yA=function(a){var b=this.o().Qa();
return!(!ul(b,a))};Ba[_P].o=function(){return this.j.o()};Ba[_P].l=function(){return this.j.l()};Ba[_P].Uf=function(){return this.j.Uf()};Ba[_P].Hb=function(){return this.j.Hb()};Ba[_P].Js=function(a,b,c){return this.Is(true,a,b,c)};Ba[_P].Ks=function(a,b,c){return this.Is(false,a,b,c)};Ba[_P].Is=function(a,b,c,d){c=Xl(c);if(d){var e=this.l();e.execCommand("useCSS",false,false)}var f=a?b.queryCommandState(c):b.queryCommandValue(c);if(d){e.execCommand("useCSS",false,true)}return f};Ba[_P].Hd=function(a,
b,c,d){var e=this.o();if(c){var f=Ek(e)}a=Xl(a);var g;if(s){g=this.Jv(a)}if(la){g=this.Kv(a)}var h=this.l();if(d&&ve){h.execCommand("useCSS",false,false)}h.execCommand(a,false,b);if(d&&ve){h.execCommand("useCSS",false,true)}if(g){ca(g)}if(f){Kk(this.o(),this.j,f)}};Ba[_P].Iv=function(a){var b=v,c=this.o(),d,e;if(c.hd()){var f=c.l();d=f.createTextNode(b?" ":"");var g=c.Za();e=g[Q]==1?g:g[n];if(e[db]==""){e[k].textIndent="-10000px";e.appendChild(d)}else{var h=Ga(f);e=h.e("span",{style:"text-indent:-10000px"},
d);this.jr(e)}c.cj(d)}this.Hd("hiliteColor",a,null,true);if(d){if(b){lg(d,"")}e[k].textIndent=""}};Ba[_P].hE=function(a,b){var c=this.o(),d=c.Qa(),e=ul(d,"a");if(e){hj(e);ca(e)}else{return this.Cd(c,a,b)}return null};Ba[_P].oA=function(a,b){var c=sf(a,b,this.Hb().l());this.jr(c)};Ba[_P].jr=function(a){var b=this.o(),c=b.getSelection();if(c.pasteHTML){var d="";if(a[pe]){d=a[pe]}else if(a[eg]){d=a[eg]}c.pasteHTML(d)}else if(c.getRangeAt){var e=b.lp(this.j);e.insertNode(a)}};Ba[_P].Cd=function(a,b,c){var d=
null;if(a.hd()){if(ib){d=this.l().createElement("a");var e=a.ic();e.insertNode(d)}else if(qb){a.getSelection().pasteHTML("<a id='newLink'></a>");d=this.l().getElementById("newLink");d.removeAttribute("id")}}else{var f=a.Qa(),g=this.j.He(f),h=Hc();this.Hd("CreateLink",h);var j=function(m,l,o){if(qn(m[gf],h)){d=m}};Vb(g.pb().getElementsByTagName("a"),j)}return up(d,b,c)};Ba[_P].qC=function(){var a=this.o();if(a.hd()){return}var b=a.ic(),c=this.By(b),d=this.WB||pq;c=d(c);this.$B(a,c);this.Hd("RemoveFormat")};
Ba[_P].By=function(a){var b=this.Uf().e("div");if(ib){b.appendChild(a.cloneContents())}else if(qb){var c=a[ue],d=c[i],e=d-yn(c)[i],f=d-c.replace(/\s+$/,"")[i];a.moveStart("character",e);a.moveEnd("character",-f);var g=a[oh];if(this.Ks(a,Ih)=="Formatted"){g=mi(a[oh])}T(b,g)}return b[db]};Ba[_P].$B=function(a,b){var c=Hc(),d=Hc();b='<span id="'+c+'"></span>'+b+'<span id="'+d+'"></span>';var e=Hc(),f='<span id="'+e+'"></span>';if(qb){var g=a.ic();g.pasteHTML(f);var h;while((h=g.parentElement())&&de(h)&&
!Eb(h)){ca(h)}g.pasteHTML(b);var j=this.l().getElementById(e);if(j){ca(j)}}else if(ib){this.l().execCommand("insertImage",false,e);var m=new RegExp("<[^<]*"+e+"[^>]*>"),h=a.Qa();if(h[Q]==3){h=h[n]}T(h,h[db].replace(m,f));var j=this.l().getElementById(e);h=j;while((h=j[n])&&de(h)&&!Eb(h)){Bf(j,h);ca(h)}T(h,h[db].replace(new RegExp(f,"i"),b))}var l=this.l().getElementById(c),o=this.l().getElementById(d);a.dt(l,o);ca(l);ca(o)};var Cg=function(a){if(a[i]){a.push("<br>")}},pq=function(a){var b=Ie().createElement("div");
T(b,a);var c=[],d=[b[ja],0],e=[],f=0;for(var g=0;g>=0;g-=2){var h=false;while(f>0&&g<=e[f-1]){f--;h=true}if(h){Cg(c)}var j=d[g],m=d[g+1];while(m<j[i]){var l=j[m++],o=l[va];switch(o){case "#text":var r=f>0?l[Bb]:ak(l[Bb]);r=fe(r);c.push(r);continue;case "P":Cg(c);Cg(c);break;case "BR":Cg(c);continue;case "PRE":case "XMP":e[f++]=g;break;case "STYLE":case "SCRIPT":case "SELECT":continue;case "IMG":c.push("<img src='");c.push(l.src);c.push("'>");continue;case "TD":c.push(" ");break;default:if(/^(DIV|TR|LI|BLOCKQUOTE|H\d|PRE|XMP)/.test(o)){Cg(c)}}var K=
l[ja];if(K[i]>0){d[g++]=j;d[g++]=m;j=K;m=0}}}return c.join("").replace(/\xa0|[ \t]+/g," ")};var nq={indent:1,outdent:1,insertOrderedList:1,insertUnorderedList:1,justifyCenter:1,justifyFull:1,justifyRight:1,justifyLeft:1,ltr:1,rtl:1},mq={insertOrderedList:1,insertUnorderedList:1};Ba[_P].Jv=function(a){var b=null;if(a in mq){var c=this.o(),d=c.Qa();if(d){var e=Ga(this.j.Ee().pb()),f=Cm("BLOCKQUOTE",null,d),g;for(var h=0;h<f[i];h++){if(c.zf(f[h],true)){g=f[h];break}}var j=g||tf(d,"BLOCKQUOTE");if(j){b=
e.e("div",{style:"height:0"});X(j,b);if(g){c.selectNodes(g,0,b,0)}else if(c.zf(b,true)){c.selectNodes(c.Za(),c.ji(),b,0)}}}}if(!b){var m=this.j.Ee();if(m.Jb()&&a in nq){var l=m.pb(),e=Ga(l),c=this.o();if(c.hd()&&!Cj(l)){var o=c.getSelection(),r=o.duplicate();r.moveToElementText(l);r.collapse(false);if(r.isEqual(o)){l.appendChild(e.createTextNode(we));o.move("character",1);o.move("character",-1);o.select()}}b=e.e("div",{style:"height:0"});X(l,b)}}return b};var oq={justifyCenter:1,justifyFull:1,justifyRight:1,
justifyLeft:1};Ba[_P].Kv=function(a){var b,c=this.j.Ee();if(oq[a]){var d=c.pb();b=Ga(d).e("div",{style:"height: 0"},"x");X(d,b)}return b};;;function Al(a,b,c){this.br=[];this.Lo=[];for(var d=0;d<b;++d){var e=a[ta].createElement("iframe");e.src=c;this.br.push(e)}};Al[_P].kC=function(){while(this.Lo[i]){this.br.push(this.Lo.pop())}};var Pp=function(a,b,c){wa(a,b);Aa(a,c)},Op=function(a){a.removeAttribute("width");a.removeAttribute("height");wa(a[k],"");Aa(a[k],"")},Qp=function(a,b,c){var d=c?c:b,e=a[x],f=a[w],g=b/e,h=d/f;if(h>g){e=b;f=f*g}else{f=d;e=e*h}Pp(a,e,f)},cj={small:96,medium:200,large:420},Np=function(a,b){Gp(a,b)},Gp=function(a,b){Qp(a,cj[b])},Ip=function(a,b){if(a[w]&&a[x]){var c=t.max(a[w],a[x]);for(var d in cj){if(c==cj[d]){return d}}}return b&&Rp?bm(a.src):null},Rp=false,Jp=function(a,b,c){El(a,b,false,c)},Kp=function(a,
b,c){El(a,b,true,{ps:c})},El=function(a,b,c,d){Op(a);var e=a.src;if(b.Vd(e)){if(c){e=b.lq(e)}else{e=b.Ey(e,"full")}}var f,g;if(d){f=d.ps;g=d.pB}if(a.src==e){if(f){f()}return}if(f){Lp(a,f,g)}a.src=e},ej={},dj={},Lp=function(a,b,c){var d=jc(a),e=Fl.vg(b);ej[d]=u(a,s?"readystatechange":"load",e,false);if(c){var f=Fl.vg(c);dj[d]=u(a,"error",f,false)}},Hp=function(a){var b=jc(a);mb(ej[b]);delete ej[b];mb(dj[b]);delete dj[b]},Fl=function(a,b){var c=b[Dc],d=c[hg];if(d&&d!="complete"){return}Hp(c);a(c)},
Mp=function(a){ca(a)};;function Mh(a){this.bc=a;this.h=Ga(a)};Mh[_P].fp=function(a,b,c,d,e){var f=a[Gb];this.Af(f[0],b,e);this.Af(f[1],c,e);this.Af(f[2],d,e)};Mh[_P].Tw=function(a,b,c){var d=sf(3,3,this.bc);Ml(d,{className:b,border:0,cellSpacing:0,cellPadding:0});var e=d[Rb];this.fp(e[0],"tr_tl",c?null:"tr_t","tr_tr",c?null:2);var f=e[1][Gb];this.Af(f[0],c?null:"tr_l");Ml(f[1],a);this.Af(f[2],c?null:"tr_r");this.fp(e[2],"tr_bl",c?null:"tr_b","tr_br",c?null:2);return d};Mh[_P].Af=function(a,b,c){T(a,"");Ra(a,b||"tr_sidebar");
if(c){wa(a,c);Aa(a,c)}a.appendChild(this.h.e("img",{height:1,width:1,alt:""}))};function xf(){R.call(this);var a=this;this.n=new ab(this);this.xi=new yf(function(b){a.$g(b,0)},function(b){a.$g(b,2);a.dispatchEvent({type:"select",Ac:b})});this.cu=new yf(function(b){if(b!=a.xi.getState()){a.$g(b,0)}},function(b){if(b!=a.xi.getState()){a.$g(b,1)}})}xf.b(R);xf[_P].zk=function(){if(this.n){this.n.f();this.n=null}};xf[_P].$g=function(a,b){a[k].background=["","#FFFFE0","#FFFFCC"][b]};xf[_P].Rm=function(a){this.xi.pa(a)};xf[_P].add=function(a,b){var c=this,d=b&&b.onclick?b.onclick:jq(c,
a),e=b&&b.SB?b.SB:function(){},f=b&&b.onmouseover?b.onmouseover:lq(c,a),g=b&&b.onmouseout?b.onmouseout:kq(c);this.n.i(a,"click",d,true);this.n.i(a,"dblclick",e,true);this.n.i(a,"mouseover",f,true);this.n.i(a,"mouseout",g,true)};var jq=function(a,b){return function(){a.xi.pa(b)}},lq=function(a,b){return function(){a.cu.pa(b)}},kq=function(a){return function(){a.cu.pa(null)}};function yf(a,b,c){this.LB=a;this.KB=b;this.nf=c}yf[_P].pa=function(a){if(this.nf!=a){this.Eo(this.LB);this.nf=a;this.Eo(this.KB)}};yf[_P].Eo=function(a){if(this.nf){a(this.nf)}};yf[_P].getState=function(){return this.nf};function De(a,b,c,d){this.A=b;this.h=Ga(b);this.vA=c;if(d){this.qj=this.Yw(d)}this.mu=[];var e=c?sf(2,1,this.A,true):sf(1,2,this.A,true);e.cellPadding=0;e.cellSpacing=0;this.of=e[Rb][0][Gb][0];Ra(this.of,"tr_tabbed-pane-tabs");if(c){this.of.className+=" tr_horizontal-tab";var f=sf(1,2,this.A,true);f.cellPadding=0;f.cellSpacing=0;this.VD=f[Rb][0][Gb][0];wa(this.VD,"99%");wa(f[Rb][0][Gb][1],"1%");X(this.of,f);this.rj=this.h.e("TABLE",{cellPadding:0});this.rj.insertRow(0);X(f[Rb][0][Gb][1],this.rj)}else{this.of.className+=
" tr_vertical-tab";T(this.of,"<p>"+a.ln+"</p>")}this.hk=c?e[Rb][1][Gb][0]:e[Rb][0][Gb][1];Ra(this.hk,"tr_tabbed-pane-tab-content");while(a[ja][i]){this.Fv(a)}X(a,e);a.className+=" tr_tabbed-pane"}De[_P].Fv=function(a){if(a[ja][0][Q]==1){var b=a[ja][0];Ea(b[k],"none");X(this.hk,b);var c=b.aE,d={id:c,mx:b};this.mu.push(d);b.id=c+"-content";var e=this.Xw(c,b.bE,b.cE);if(this.vA){X(this.rj[Rb][0].insertCell(-1),e)}else{X(this.of,e)}}else{a.removeChild(a[Z])}};var Nh=function(a,b,c,d,e){var f=Ga(d).e("DIV",
{aE:a,bE:b,cE:c});if(e){f.Ue=e}return f};De[_P].Xw=function(a,b,c){var d='<table cellpadding=0><tr valign="top"><td><input type="radio" id="'+a+'-dialog-radio" name="'+a+'" /></td><td class="tr_tabbed-pane-tab-label">'+b+"</td></tr></table>",e=this.h.e("DIV",{id:a,innerHTML:d,title:c,qj:this.qj});Tb(e,function(){this.qj.pa(this.id)});return e};De[_P].Yw=function(a){var b=this.A;return new yf(function(c){Ra(b.getElementById(c),"");b.getElementById(c+"-dialog-radio").checked="";Ea(b.getElementById(c+
"-content")[k],"none")},function(c){Ra(b.getElementById(c),"tr_selected-tab-in-tabbed-pane");b.getElementById(c+"-dialog-radio").checked="checked";Ea(b.getElementById(c+"-content")[k],"");if(a){a(c)}})};De[_P].Pc=function(a){this.qj.pa(a)};De[_P].gi=function(){var a,b,c=this.mu;for(var d=0;d<c[i];d++){a=c[d].id+"-dialog-radio";b=this.h.c(a);if(b.checked!="")return c[d].mx}return null};var Yl=function(a,b,c,d){var e=a[ja];for(var f=0;f<e[i];f++){if(e[f][Q]==1&&e[f].ln){return new De(e[f],b,c,d)}}};
De[_P].Yx=function(){return this.hk};function Ib(a,b){R.call(this);this.Rb=[];this.yg=[];this.t=a;this.Gd=a.j;this.n=new ab(this);this.wh={};this.fr=null}Ib.b(R);var kl=function(a,b,c){this.Zc=a;this.content=b;this.Zw=c};kl[_P].Ih=function(a){return this.Zc==a.Zc&&this[ga]==a[ga]};Ib[_P].Cv=function(a){if(this.Rb[i]==0||!a.Ih(this.Rb[this.Rb[i]-1])){this.Rb.push(a);if(this.Rb[i]>20){this.Rb.shift()}this.yg=[];this.dispatchEvent({type:"redostatechange",enabled:false})}if(this.Rb[i]==1){this.dispatchEvent({type:"undostatechange",enabled:true})}};
Ib[_P].Du=function(){this.Vt(this.Rb,this.yg);if(this.Rb[i]==0){this.dispatchEvent({type:"undostatechange",enabled:false})}if(this.yg[i]==1){this.dispatchEvent({type:"redostatechange",enabled:true})}};Ib[_P].sm=function(){this.Vt(this.yg,this.Rb);if(this.yg[i]==0){this.dispatchEvent({type:"redostatechange",enabled:false})}if(this.Rb[i]==1){this.dispatchEvent({type:"undostatechange",enabled:true})}};Ib[_P].Vt=function(a,b){if(a[i]){var c=a.pop(),d=this.Gd.H(c.Zc);if(!d){return}d.mj(true,true);var e=
this.wh[c.Zc];b.push(e);{d.bk(this.t)}this.Gd.zt(c.Zc,c[ga]);this.YC(c.Zc,c.Zw);ae(c.Zc);{var f=Dd();this.t.Hu(f)}this.wh[c.Zc]=c;this.t.ue();this.vr=true;d.Cb()}};Ib[_P].ey=function(a){var b=this.Gd.H(a),c=b&&b.cd();if(!c){return null}var d=this.Gd.Pa(a),e=c.o(),f=e.getSelection();return f?cl(f,d):null};Ib[_P].YC=function(a,b){if(b){var c=this.Gd.Pa(a),d=this.Gd.H(a);oa.setTimeout(function(){b.Em(c,d.cd().ja())},0)}};Ib[_P].Hz=function(a){if(a[Uc]&&!a[bg]){if(a[hb]==90){if(a[re]){this.sm()}else{this.Du()}return kd(a,
false)}else if(a[hb]==89){this.sm();return kd(a,false)}}};Ib[_P].jC=function(a){this.n.i(a,"beforechange",this.hs);this.n.i(a,"delayedchange",this.ks);this.n.i(a,"blur",this.is)};Ib[_P].vw=function(a){if(this.n){this.n.Ka(a,"beforechange",this.hs);this.n.Ka(a,"delayedchange",this.ks);this.n.Ka(a,"blur",this.is)}};Ib[_P].f=function(){if(this.n){this.n.f();this.n=null}};Ib[_P].hs=function(a){var b=a[S],c=b.id;if(this.fr!=c){this.Gu(b);this.fr=c}};Ib[_P].ks=function(a){if(this.vr){this.vr=false;return}var b=
a[S];this.Gu(b)};Ib[_P].is=function(a){var b=a[S];if(b){b.No()}};Ib[_P].Gu=function(a){if(a.lc()){return}var b=a.id,c=this.Gd.Gy(b),d=this.wh[b];if(d){this.Cv(d)}var e=this.ey(b);this.wh[b]=new kl(b,c,e)};;function A(a,b,c){R.call(this);this.eF={};this.xj=[];this.KA=[];this.aa=null;this.zc=new Sa(a);var d=this.zc.ja(),e=d[ta];this.Zg=window;this.Wv="http://pages.google.com/-/images/";this.Tj=yp(b,e[df]);this.Dl=zp(this.Tj);this.Aa=xp(d);this.j=new C(this.Aa,this.zc,this.Tj);this.yc=new Ib(this,e);this.ze=new ab(this);this.rc=new sc(this.Zg);this.style=new Ba(this.j,c)}var $i;A.b(R);A[_P].s=Mc("TR_Editor");var bj=false,zp=function(a){if(!$i){$i=new Al(window,20,a)}return $i},yp=function(a,b){var c=!s&&
b=="CSS1Compat"?"standards":"quirks";return a+"static_files/blank_"+c+".html"},xp=function(a){var b=a[Hb].toString(),c=b.substring(0,b.lastIndexOf("/")+1),d={base:c,winbase:c,draft:c,preview:c,live:c,edit:c};return new nd(d)};A[_P].cd=function(){return this.zc};A[_P].Op=function(){return this.JE||0};{A[_P].QA=function(a){var b=new jb(this,a);a.Tv(b);return b}}A[_P].Wl=function(a){if(!this.j.Sq()){this.Mv()}if(Oa(a)){for(var b=0;b<a[i];++b){this.Fr(a[b])}}else{this.Fr(a)}};A[_P].Hr=function(a,b){if(Oa(a)){for(var c=
0;c<a[i];++c){this.Gr(a[c],b)}}else{this.Gr(a,b)}if(!this.j.Sq()){this.tw();this.VE=null}};A[_P].Gr=function(a,b){var c=a.id,d=this.j.Pa(c);if(!d){this.j.To(c);return}this.uw(c);this.yc.vw(a);var e=b?null:this.sy(c);this.j.To(c,e)};A[_P].de=function(){this.ue();if(this.Ub){this.Ub.f();this.Ub=null}if(this.cr){this.cr.f();this.cr=null}if(this.rc){this.rc.f();this.rc=null}var a=this.j.Mx();this.Hr(a,true);for(var b=0;b<a[i];++b){a[b].f()}if(this.yc){this.yc.f();this.yc=null}if(this.ze){this.ze.f();
this.ze=null}this.lC();this.Dh=null};A[_P].Mv=function(){var a=this.zc.l();this.ze.i(this.rc,Ne,this.vi)};A[_P].tw=function(){if(this.ze){this.ze.nd()}};A[_P].lC=function(){if(this.Dl){this.Dl.kC();this.Dl=null}};A[_P].Xa={};A[_P].Ob=function(a,b,c,d){var e=a.id;if(!this.Xa[e]){this.Xa[e]=new ab(this)}this.Xa[e].i(a,b,c,d)};A[_P].uw=function(a){if(this.Xa[a]){this.Xa[a].f();this.Xa[a]=null}};A[_P].vl=function(a,b){if(a[Uc]||a[zd]){this.wz(a)}};A[_P].wz=function(a){switch(a[mh]){case Oh("b"):this.execute("+bold");
kd(a);break;case Oh("i"):this.execute("+italic");kd(a);break;case Oh("u"):this.execute(Zi);kd(a);break;case Oh("s"):kd(a)}};A[_P].Hq=function(a){var b=Be(a);if(s){this.ul(b.id)}var c=this.j.He(b);c.Cb()};A[_P].Uz=function(a){var b=Be(a),c=this.j.He(b);c.Cb()};A[_P].vi=function(){if(this.Qe())this.aa.cb()};A[_P].ty=function(a,b){var c=a[me];if(c){return this.bl(c,b)}else{var d;if(a.lc()){d="&nbsp;"}else{var e=this.zc.ob(a.id);if(e){d=e[db]}}if(b){b(d)}return d}};A[_P].vt=function(a,b,c,d){if(d){a.mj(true,
true)}var e=a[me];if(e){this.j.zt(e.id,c)}else{T(this.zc.ob(a.id),wl(c))}if(d){a.lj()}else{a.Cb()}};A[_P].sy=function(a,b){var c=this.j.Pa(a);return this.bl(c,b)};var wp=["lang_hashCode_","listen_hc_"].concat(["insertResized_","tabIndex","tabIndexSet"]);A[_P].bl=function(a,b){if(this.j.H(a.id).lc()){var c="&nbsp;";if(b){b(c)}return c}var d=a.cloneNode(false),e=a[db];if(s&&e.match(/^\s*<script/i)){e="&nbsp;"+e}T(d,e);var f=d.getElementsByTagName("img");for(var g=0;g<f[i];g++){var h=f[g];h.removeAttribute("unselectable");
h[k].cursor="";if(Uo){bq(h,wp)}else{si(h,false)}this.Aa.Ir(h)}if(s){this.DC(d)}var c=d[db];if(b){b(c)}else{return c}};A[_P].Km=function(a,b,c,d){var e=this.j.H(a.id);if(e){this.vt(e,b,c,d)}};A[_P].bD=function(a,b,c){var d=this.j.H(a);if(d.lc()){d.bk(this)}this.Km(d[me],false,b,c)};A[_P].DC=function(a){this.Aa.CC(a,"a")};A[_P].Dz=function(a){this.dispatchEvent({type:"focus",Fx:a[S]})};A[_P].Cz=function(a){var b=this.j.H(a),c=b.pb(),d=true;if(s){var e=b.Jb()?c:Dl(Zp(c)),f=ua(e);if(Il(f)!=e){this.j.Ro(a)}else{d=
false}}this.dispatchEvent({type:"blur",Fx:b});if(d){if(b&&de(c)){b.Nm(this)}}};A[_P].Fr=function(a){var b=a.id;this.s.T("Starting make field editable "+b);var c=this.zc.ob(b);if(!c){return}a.Ae=c;if(a.lc()){a.ww(c,this)}this.j.VB(a,J(this.Fz,this));this.s.T("Ending make field editable "+b)};A[_P].Fz=function(a){this.s.T("Starting handleFieldOpen "+a);var b=this.j.Pa(a),c=this.j.H(a);if(de(b)&&Dd()!=a){c.Nm(this)}this.Nv(b);this.yc.jC(c);this.yD(c);c.GD();if(c.Jb()&&c.td()){this.ox(a)}c.jx();this.s.T("End handleFieldOpen "+
a)};A[_P].ox=function(a){var b=this.j;oa.setTimeout(function(){b.nx(a)},0)};A[_P].Nv=function(a){var b=a.id,c=this.j.H(b);if(Ro){c.addListener(Df,this.vl,true,this)}c.addListener(Cf,J(this.yc.Hz,this.yc),false,this);if(s){this.Ob(a,"mousedown",this.Ez)}this.Ob(a,"dragdrop",this.Hq);{this.Ob(c,"beforefocus",this.ul.J(this,b))}this.Ob(c,"focus",this.Dz);this.Ob(c,"blur",this.Cz.J(this,b));this.Ob(c,"selectionchange",ln(zl,this));this.Ob(c,ba.Rn,zl.vg(this));if(!Oi){this.Ob(a,"paste",this.Uz,true);this.Ob(a,
"drop",this.Hq)}};A[_P].yx=function(a){if(s||la){if(!this.j.Ee()){this.j.Ge(a).focus()}}};A[_P].yD=function(a){var b=a.id;this.Ob(a,"selectionchange",this.bC.J(this,b));this.Ob(a,"mouseup",this.fw)};A[_P].Jw=function(a){if(Vi(a)){var b=this.j.Ry().ja();if(a.getAttribute("imageanchor")){return}var c=ic(a,"img"),d=this.j.He(a);this.aa=new U(this.Zg,b,a,d.cd().ja(),this.Aa,this.xj,this.vs.J(this,"link"));if(this.Ub){this.Ub.nd()}else{this.Ub=new ab(this)}this.Ub.i(this.aa,"dispose",this.nC);this.Ub.i(this.aa,
"change",this.ew);this.Ub.i(this.aa,Tk,this.dispatchEvent);this.Ub.i(this.aa,"closed",this.tz);if(ic(a,"a")){this.aa.uD(this.ME);this.aa.dD(this.LE)}if(this.Op()){this.aa.SC(this.Op())}this.aa.UB();this.yx(a)}};A[_P].nC=function(){this.Ub.nd()};A[_P].ew=function(a){if(a){var b=a.gw,c=this.j.He(b);c.Cb(a.fB)}if(this.Qe()){this.aa.cb()}};A[_P].fw=function(a){var b=Be(a);if(!ic(b,"img")){b=tf(b,"a")}this.lf(b)};A[_P].bC=function(){var a=this.j.o(),b=a.Qa(),c=b;if(!ic(b,"img")){c=tf(b,"a")}this.lf(c)};
A[_P].lf=function(a){if(this.Qe()&&a!=this.aa.xa()){this.ue()}if(a&&!this.Qe()){this.Jw(a)}};A[_P].Qe=function(){if(this.aa){if(this.aa.rb()&&this.aa.hb&&this.aa.hb[n]){return true}else{this.aa=null}}return false};A[_P].ue=function(){if(this.Qe()){this.aa.te()}};A[_P].tz=function(a){this.aa=null;var b=a[S].xa();if(this.ju){this.ju.lj(false,true);this.ju=null}};A[_P].vs=function(a,b){var c=this.Np();if(c){if(a=="editHtml"){this.bl(c.pb(),this.ws.J(this,c,a))}else{this.ws(c,a,b)}}};A[_P].ws=function(a,
b,c){if(this.Qe()){this.ue()}var d,e=this[k].o();if(b=="link"){d=new fa(this.Zg,this.Aa,e,this.Wv,c,this.KA);this.xp=u(d,"cancel",this.nB,false,this);this.yp=u(d,"ok",this.oB,false,this)}else if(b=="editHtml"){d=new fb(this.Zg,e,this.kB.J(this,a.pb()),this.Aa,this.Tj,this.zF);d.nD(c)}bj=true;d.Et(this);this.Dh=u(d,"close",this.xz.J(this,a),false,this);d.Qc()};A[_P].Np=function(){var a=this[k].o(),b=this.j.Ee();if(!b){b=this.j.gy();this.$c(b.id)}return b};A[_P].Qp=function(a){var b=this.j.Ee();return this[k].Qp(a,
b)};var Ih="+formatBlock",Zi="+underline",Yi="+foreColor";A[_P].execute=function(a,b){this.ue();var c=this.Np();if(!c){return false}if(a=="+undo"){this.yc.Du()}else if(a=="+redo"){this.yc.sm()}else{if(v){c.mj(true,true)}c.Gf();var d=this[k].Kx(a,b);c.Cb();if(a=="+link"){this.Zz(d)}else{c.Ek()}}return false};A[_P].$c=function(a){ae(a);this.zc.Qh();this.j.$c(a)};A[_P].Zz=function(a){if(a){var b=a.Zh();if(hm(b)){this.Rt(a,lj(b))}else if(Ph(b)){this.Rt(a,"mailto:"+b)}else{this.vs("link",a)}}else{this.ue()}};
A[_P].Rt=function(a,b){a.gr(b);var c=a.Rf();this.lf(c);var d=this[k].o();d.Ui(c)};A[_P].Oo=function(){mb(this.xp);this.xp=null;mb(this.yp);this.yp=null};A[_P].nB=function(a){var b=a[S].xa();if(b[n]){this.lf(b)}this.Oo()};A[_P].oB=function(a){var b=a[S].xa();this.lf(b);var c=this.j.He(b);c.Cb();this.Oo()};A[_P].Ez=function(a){var b=Be(a);if(!Dd()){var c=this.j.Ge(b).id;ae(c)}if(s&&ic(b,"a")&&a[Uc]){this.zc.xs(b[gf],"")}};{A[_P].kB=function(a,b){var c=a.id,d=this.j.H(c);if(d.lc()){this.ul(c)}this.bD(c,
b);if(v){yl(ua(a),this.Aa)}var e=this.j.o();oa.setTimeout(J(e.empty,e),0);d.Cb()}}{A[_P].ul=function(a){this.j.H(a).bk(this)};A[_P].Hu=function(a){var b=this.j.H(a);if(a!=Dd()&&de(b[me])){b.Nm(this)}}}var aj=function(){return bj};A[_P].Hl=function(){return aj()};A[_P].xz=function(a){if(this.Dh){mb(this.Dh);this.Dh=null}a.$w(ba.Ej);bj=false};{function jb(a,b){this.t=a;this.Oa=b;this.Kf=a.cd();this.bn=Hc();this.Pk=Hc();this.Mh=new ab(this);this.Hx=J(this.Ix,this);this.Te=new ab(this);if(!this.Oa.Nl()){this.D()}this.Mh.i(this.Oa,ba.Wn,this.sC);this.Mh.i(this.Oa,ba.co,this.D)}jb.b(Jc);jb[_P].f=function(){this.ga();this.Mh.f();this.Te.f();this.Mh=null;this.Te=null;jb.g.f.call(this)};jb[_P].D=function(){if(this.qr){return}this.qr=true;this.Ni=false;var a=this.$h();if(this.Oa.td()){this.zm=null;this.Te.i(a,Hd,this.Tz);this.Te.i(a,rb,this.ql)}else{this.Te.i(a,
Wb,this.Pz)}if(de(a)){this.Oa.cD(a,this.t)}};jb[_P].ga=function(){this.Te.nd();this.qr=false};jb[_P].$h=function(){return this.Kf.ob(this.Oa.id)};jb[_P].Pz=function(a){this.Ep();this.ga()};jb[_P].ql=function(a){var b=tf(a[S],"A");if(b){a.preventDefault();if(!Ok){this.zm=b}}};jb[_P].Tz=function(a){if(a.qA(0)){this.Kf.ja().setTimeout(this.Hx,0)}};jb[_P].Ix=function(){if(!this.Oa.Nl()){this.Os(this.Kf);if(!this.Oa.lc()){this.mA()}this.Ep()}this.ga();this.zm=null};jb[_P].Ep=function(){if(!this.Oa.Nl()){this.Ni=
true;this.t.Wl(this.Oa)}};jb[_P].sC=function(){if(this.Oa.td()){var a=this.Oa.cd(),b=a.ob(this.bn),c=a.ob(this.Pk),d=b&&c;if(this.Ni||d){this.t.$c(this.Oa.id)}if(d){var e=b[n],f=c[n];a.o().dt(b,c);if(e==f&&e[ea]=="A"){this.t.lf(e)}}this.Os(a)}else{if(this.Ni){this.t.$c(this.Oa.id)}}this.Ni=false};jb[_P].mA=function(){var a=this.Kf.o(),b=this.$h(),c=function(m){return m==b},d=a.Za(),e=a.fc(),f=true;if(d&&e){var g=be(d,c),h=be(e,c);if(g&&h){a.$D(this.uh(),this.th())}else if(g){a.insertNode(this.uh(),
true);this.kA()}else if(h){a.insertNode(this.th(),false);this.lA()}else{f=false}}else{f=false}if(!f){var j;if(Ok){j=Il(this.Kf.l())}else{j=this.zm}if(j&&be(j,c)){Gd(this.uh(),j[Z]);Gd(this.th(),j[Z])}}};jb[_P].Os=function(a){a.Qs(this.bn);a.Qs(this.Pk)};jb[_P].cp=function(a){return He("span",{id:a})};jb[_P].uh=function(){return this.cp(this.bn)};jb[_P].th=function(){return this.cp(this.Pk)};jb[_P].lA=function(){var a=this.$h();Gd(this.uh(),ld(a))};jb[_P].kA=function(){var a=this.$h();Bf(this.th(),
Ce(a))}};{}{}{}{};;var I=function(a,b,c){R.call(this);this.gb=Md("clicktoedit");this.r=a;this.a=b;this.yf=b[n];this.I=c};I.b(R);var sk=v?"p {margin:0;padding:0;}\n ul, ol {margin:0 $RIGHT$ 0 $LEFT$;padding:0;}\n":null;I[_P].r=null;I[_P].a=null;I[_P].yf=null;I[_P].I=null;I[_P].m=null;I[_P].jh=null;I[_P].Nk=false;I[_P].sf=false;I[_P].zo=false;I[_P].xe=null;I[_P].gb=false;I[_P].z=null;I[_P].nb=function(){return qs()};I[_P].o=function(){return this.m?this.m.o():null};I[_P].Il=function(){return this.Nk};I[_P].Ia=function(a){if(this.kb&&
!a||!this.kb&&a){this.kb=a;var b=this.Ya();if(!a){this.hx();if(!this.gb){this.um();b.Ka(this.yf,Wb,this.tg,true)}}else{if(this.gb){this.mk()}else{this.Lu();b.i(this.yf,Wb,this.tg,true)}}}};I[_P].mk=function(){var a=s||v||Md("safarisupport")&&la&&Rc("520");if(!a){return}if(!this.m){if(!this.gb){this.um()}this.m=new z(this.r,2,this.iy());var b=this.Ya();b.i(this.m,"load",this.ms);b.i(this.m,"delayedchange",this.ds);b.i(this.m,"focus",this.ls);b.i(this.m,"beforeblur",this.bs);b.i(this.m,"blur",this.js);
b.i(this.m,"selectionchange",this.ns);b.i(this.m,ba.On,this.hB);if(this.gb){this.jh=this.nb().QA(this.m)}else{this.nb().Wl(this.m)}}else{if(this.jh){this.jh.D()}}};I[_P].eu=function(){this.mk();if(this.gb){this.nb().Wl(this.m);this.nb().$c(this.r)}};I[_P].ay=function(){var a=1.5/(Ja(this.a[k][gd])||1)+"em";if(so()){return sk.replace("$LEFT$",a).replace("$RIGHT$",0)}else{return sk.replace("$RIGHT$",a).replace("$LEFT$",0)}};I[_P].iy=function(){var a={loremIpsumMessage:this.el(),minHeight:uo(this.yf)};
if(sk!=null){a.cssStyles=this.ay()}return a};I[_P].hx=function(){if(!s&&!v){return}if(this.m){if(!this.gb){var a=this.Ya();a.Ka(this.m,"load",this.ms);a.Ka(this.m,"delayedchange",this.ds);a.Ka(this.m,"focus",this.ls);a.Ka(this.m,"beforeblur",this.bs);a.Ka(this.m,"blur",this.js);a.Ka(this.m,"selectionchange",this.ns)}this.m.yt(this.a[k][wd]);this.nb().Hr(this.m);if(this.gb){this.jh.ga()}else{this.m=null}mb(this.zo)}oa.focus()};I[_P].Ya=function(){return this.z||(this.z=new ab(this))};I[_P].pE=function(){if(this.m){this.m.hD(uo(this.yf))}};
I[_P].Zx=function(){return this.sf?this.a[db]:this.ia()};I[_P].el=function(){return rs(this.I)};I[_P].um=function(){if(!this.sf){return}if(!this.po()){return}T(this.a,"");Fb(this.a,"lorem-ipsum");this.sf=false};I[_P].Lu=function(){if(this.Kb()&&this.kb){T(this.a,this.el());Fa(this.a,"lorem-ipsum");this.sf=true}};I[_P].po=function(){if(!this.sf)return true;if(this.Zx()!=this.el()){Pa("TextEditor.removeLoremIpsumText_: Invalid state: usingPresentlyLoremIpsum but text field contents aren't valid lorem ipsum message.");
return false}return true};I[_P].Kb=function(){return de(Ho(this.ia()))};I[_P].Ke=function(){return this.m.pb()};I[_P].ge=function(a){this.I=a};I[_P].ia=function(){if(this.m){return this.nb().ty(this.m)}else if(this.sf){this.po();return""}else{return this.a[db]}};I[_P].qd=function(a){if(!this.m){if(!this.gb){this.um()}var b=false;if(a!=this.ia()){T(this.a,a);b=true}if(!this.gb){this.Lu()}return b}if(a!=this.ia()){this.nb().vt(this.m,false,a);this.nb().Hu(this.r);return true}return false};I[_P].hB=
function(a){var b=this.nb(),c=b.j.o();if(this.MC()){b.execute(a[re]?"+outdent":"+indent")}else{this.m.mj(true,true);var d=c.hd(),e=this.nb().j.Uf(),f=e.createElement("span");e.vD(f,"\u00a0\u00a0 \u00a0");f=c.insertNode(f);if(!d){b.execute("delete")}else{this.m.Cb()}c.Ui(f);this.m.Ek()}a.preventDefault()};I[_P].MC=function(){var a=this.nb().j.o(),b=a.Qa();while(b&&(b[Q]!=1||!Jb(b,"placeholder"))){if(b[ea]=="LI"){return true}b=b[n]}var c=new tb(a);while(!c.fd()){if(c.k[ea]=="LI"){return true}c.next()}return false};
I[_P].ms=function(a){if(this.m.Jb()){this.zo=us(this.m.Zp(),Cf,Og())}if(!this.gb){this.nb().$c(this.r)}Ka("TextEditor.onFieldLoad_: "+this.toString())};I[_P].tg=function(a){Ka("TextEditor.onMouseDown");if(!this.gb){this.mk()}};I[_P].ds=function(a){Ka("TextEditor.onDelayedFieldChange_: New contents for "+this.toString());var b=null;try{var c=he.Wd(zf);if(c){Ka("Before scrub: "+(this.m?this.Ke()[db]:this.ia()))}qo(this);if(c){Ka("After scrub: "+(this.m?this.Ke()[db]:this.ia()))}}catch(d){b=d}Ka("Saving delayed changes.");
this.dispatchEvent(Un);if(b){throw b;}};I[_P].ls=function(a){Ka("TextEditor.onFieldFocus_: "+this.toString());this.Nk=true};I[_P].bs=function(a){Ka("TextEditor.onBeforeFieldBlur_: "+this.toString());this.Bh();Is(this)};I[_P].js=function(a){Ka("TextEditor.onFieldBlur_: "+this.toString());this.Nk=false;this.dispatchEvent("editor_blur")};I[_P].ns=function(a){Ka("TextEditor.onFieldSelectionChange_: "+this.toString());this.Bh()};I[_P].Nd=function(a){if(!this.m){Pa("TextEditor.getFontSize: Shape is not editable!");
return 0}if(!a){var b=this.m.o();if(!b){return 0}a=b.Qa()}var c=jo(a,20);c*=this.qq();Ka("TextEditor.getFontSize: Font size is "+c+"pt");return c};I[_P].qq=function(){if(this.m.td()){return jo(this.a,1)}return 1};var ts=function(a,b){while(a.zl()&&(a.k!=b||a[F]!=-1)){a.next();if(a[F]==1&&a.k[k][gd]){ch(a.k)}}},bo=function(a,b,c,d,e,f){e=e||a[Bb];f=f||e[i];if(b!=0){var g=d.createTextNode(e.substr(0,b));d.kr(g,a)}if(c!=f){var h=d.createTextNode(e.substr(c));d.pA(h,a)}a.nodeValue=e.substring(b,c)};I[_P].$o=
function(a){this.Bh();T(a,this.Ke().dir?"&#x202D;":"&#x202C;");this.xe=a;var b=ua(a)[B].createTextRange();b.moveToElementText(a);b.select()};I[_P].Bh=function(){if(this.xe){var a=this.xe[ph].replace(/\u202c|\u202d/,"");if(a[i]){this.xe.innerText=a}else{ca(this.xe)}}this.xe=null};var ss=function(a,b,c,d,e){var f=new ya(a.k,a[F],a.Va);if(f[F]==0){var g=f.k,h=g[Bb],j=h[i];if(d!=j){bo(g,0,d,e,h,j)}}f.next();Ds(f,c,b,e)};I[_P].bm=function(a){return(a[ea]||a[Bb])+":"+(a[db]||"")};I[_P].gt=function(a,b,
c,d){return this.bm(a)+":"+b+" to "+this.bm(c)+":"+(c[db]||"")+":"+d};I[_P].FC=function(a,b,c,d){var e=a.k;if(e[ea]=="BR"||e[ea]=="UL"&&e[ja][i]){return false}var f=no(e);ch(e);var g=b/this.Nd(e);if(!Fi(g)){ch(e)}else{Bd(e[k],g+"em")}ts(a,e);if(a.hg()&&!(a.k==e&&a[F]==-1)){ss(a,e,f/g,c,d)}return true};I[_P].Ht=function(a){if(!this.m){Pa("TextEditor.getFontSize: Shape is not editable!");return null}this.Bh();var b=this.Ke(),c=this.m.o();if(!c){Pa("TextEditor.getFontSize: Selection is null!");return null}this.m.Gf();
var d=new $a(c.l()),e=c.Za(),f=c.fc(),g=c.ji(),h=c.al(),j=false,m=false,l=new tb(c);Ka("Checking selection relationship to "+b[va]);var o=l.Za();if(o){if(Kb(o,b)){Ka("Moving startContainer.");j=true;e=b[ja][0];o=e;l.Jt(e)}if(Kb(l.fc(),b)){Ka("Moving endContainer.");j=true;f=b;l.ZC(f)}if(l.rq()==0){var r=o[n];while(r!=b&&r[ja][0]==o){o=r;r=o[n]}l.Jt(o)}if(he.Wd(zf)){Ka("Changing font size from "+this.gt(e,g,f,h))}while(!l.fd()){if(he.Wd(zf)){Ka("Iterating: "+this.bm(l.k)+" ("+l[F]+")")}switch(l[F]){case 1:if(this.FC(l,
a,h,d)){m=true}break;case 0:m=true;var K=l.k,N=K[Bb],na=l.rq(),pa=l.ly(),Ab=N[i],ub=K[n];if(na==pa){if(l.Kl()){if(!l.hg()){do{l.next()}while(l[F]==-1&&!l.fd());e=l.k;g=0;continue}}else if(l.hg()){break}}if(na!=0||pa!=Ab){bo(K,na,pa,d,N,Ab);g=na==0?g:0;h=pa==Ab?h:pa-na}else{if(ub&&ub[ea]!="BODY"&&ub!=b&&ub[ja][i]==1){var jh=this.Nd(ub[n]);Bd(ub[k],a/jh+"em");break}}var $f=oo(K,a/this.Nd(ub),d);if(na==pa&&l.Kl()&&l.hg()&&$f&&s){this.$o($f)}break;default:break}if(!l.fd()){l.next()}}}if(!m){Ka("Made no changes during setFontSize - manually adding node.");
var fd=d.e("div"),vd=c.surroundContents(fd)||c.insertNode(fd,false),kh=this.Nd(vd[n]);Bd(vd[k],a/kh+"em");if(s){this.$o(vd)}c.selectNodes(vd,0,vd,0);j=true}if(!j){if(he.Wd(zf)){Ka("Restoring selection to "+ +this.gt(e,g,f,h))}c.selectNodes(e,g,f,h)}this.m.Cb()};var rs=function(a){switch(a){case yb.Vu:case yb.Wu:case yb.Wg:case yb.Tu:return wc(M_DEFAULT_BODY_TEXT);case yb.Uu:return wc(M_DEFAULT_CAPTION_TEXT);case yb.Bj:return wc(M_DEFAULT_TITLE_TEXT);case yb.iv:return wc(M_DEFAULT_SUBTITLE_TEXT);case yb.Fj:return wc(M_DEFAULT_SLIDE_TITLE_TEXT);
default:return""}},tk=null,ps=function(a){tk=new A(a||oa,po())},qs=function(){if(!tk){ps()}return tk};var $=function(a){aa.call(this,a);this.Ad=sb.oe;this.gb=Md("clicktoedit")};$.b(aa);var Bi="contents",Ci="fontSize";$[_P].qh=null;$[_P].Oe=null;$[_P].I=yb.Wg;$[_P].Pf=1;$[_P].t=null;$[_P].ha=function(){return"presently.TextShape"};$[_P].u=function(){var a=$.g.u.apply(this,arguments);a.qd(this.ia());a.ge(this.ki());a.gj(this.Nd());return a};$[_P].kh=function(){var a=this.c().cloneNode(false);if(a.contentEditable){a.contentEditable=false}T(a,this.ia());Do(a);return a};$[_P].sq=function(){return Ke(Ho(this.ia()))};
$[_P].Il=function(){return this.t&&this.t.Il()};$[_P].Ia=function(a){if(this.kb&&!a||!this.kb&&a){$.g.Ia.call(this,a);if(this.t){this.t.Ia(a)}}};$[_P].eu=function(){this.t.eu()};$[_P].Kb=function(){return this.t.Kb()};$[_P].Nd=function(){return this.Pf};$[_P].gj=function(a,b){if(a==this.Pf){return false}if(this.Oe){Bd(this.Oe[k],a+"em")}this.Pf=a;this.wb();return this.Ea(Ci,this.Nd(),!b,Ac)};$[_P].ag=function(){var a=$.g.ag.call(this),b=this.Pf;if(b!=1){a=Zj("font-size: ",Ia(b),"em;",a)}return a};
$[_P].Um=function(a,b){$.g.Um.call(this,a,b);if("font-size"in a){this.gj(Ja(a["font-size"]),b)}};$[_P].Id=function(){$.g.Id.call(this);var a=this.N.attributes;if(!a){return}if(Ci in a){a.style=this.ag();delete a[Ci]}};$[_P].ki=function(){return this.I};$[_P].ge=function(a,b){if(a==this.I){return false}if(this.t){this.t.ge(a)}this.I=a;var c=this.c();if(c){Ra(c,this.Wp())}this.wb();return this.Ea("type",this.ki(),!b,"shape_type_changed")};$[_P].ia=function(){if(this.t){return this.t.ia()}else{return this.Oe?
this.Oe[db]:this.qh}};$[_P].qd=function(a,b){if(!this.t){if(a!=this.ia()){this.qh=a;this.Ea(Bi,this.ia(),!b,Ac);this.wb();return true}return false}if(this.t.qd(a)){this.Ea(Bi,this.ia(),!b,Ac);this.wb();return true}return false};$[_P].ra=function(a,b,c){switch(a){case "type":this.ge(b,c);break;case Bi:this.qd(b,c);break;case Ci:this.gj(b,c);break;default:$.g.ra.call(this,a,b,c);break}};$[_P].e=function(){$.g.e.apply(this,arguments);var a=this.Oe=this.h.e("DIV",{"class":"inner-text"});T(a,this.qh||
"");Bd(a[k],this.Pf+"em");var b=a.id=this.a.id+".inner";X(this.a,this.Oe);this.qh=null;this.t=new I(b,a,this.I);this.Ya().i(this.t,Un,this.Qi);this.Ya().i(this.t,"editor_blur",this.wb)};$[_P].Qi=function(a){Ka("TextShape.onDelayedFieldChange_: New contents for "+this.toString());this.la(Bi,this.ia());this.dispatchEvent(Ac)};$[_P].df=function(a,b){var c=this.gl();$.g.df.call(this,a,b);if(this.t&&a&&c[w]!=this.R[w]){this.t.pE()}};$[_P].mh=function(a){var b=this.c();if(!a||!this.U()||!b||!b[pc]){return null}var c=
this.gl(),d=b[k],e=d[x],f=d[w];wa(d,"auto");Aa(d,"auto");wa(c,t.max(c[x],100*b[pc]/(800*a)));Aa(c,t.max(c[w],100*b[dc]/(600*a)));wa(d,e);Aa(d,f);return c};$[_P].Ht=function(a){if(!this.t){Pa("TextShape.setSelectionFontSize: Shape is not editable!");return null}this.t.Ht(a)};var O=function(a){G.call(this,a);this.eh=this.r+"Build"};O.b(G);O[_P].Gi=null;O[_P].Q=null;O[_P].uj=null;O[_P].ae=0;O[_P].Ca=0;O[_P].eh=null;O[_P].ha=function(){return"presently.EditableSlide"};O[_P].u=function(a){var b=O.g.u.call(this,a);b.At(this.cl());b.Q=this.Q;return b};O[_P].Vw=function(a){return this.Pi(null,{contentType:a})};O[_P].Ww=function(a){switch(a){case sb.oe:return new $;case sb.$n:return new da;case sb.me:return new sd;case sb.Qn:return new dd;default:yk()}};O[_P].kl=function(){return this.Q||
""};O[_P].cl=function(){return this.Gi};O[_P].At=function(a,b){if(a!=this.Gi){this.Gi=a;this.dispatchEvent("slide_layout_changed");if(!b){this.la("layout",this.cl())}return true}return false};O[_P].Uh=function(){return Wn};O[_P].qt=function(a,b){var c=this.Vw(sb.me);c.hj(a);c.Cm(b);c.df(new rd(0,0,100,100));this.Pe(c,0)};O[_P].Pe=function(a,b){O.g.Pe.call(this,a,b);this.tE([a]);this.dispatchEvent(new Ld(this,"shape_inserted",a.Z()))};O[_P].tE=function(a){this.wb();var b=this.gg();Vb(a,function(c){this.yn(c);
c.Ia(b)},this)};O[_P].Pi=function(a,b,c){var d=b.contentType,e=this.Ww(d);e.ef(a||this.Hc().dq()(e));if(!c){e.la("action","create");e.la("index",-1);e.la("contentType",d)}if(d==sb.oe){e.ge(yb.Wg,c)}return e};O[_P].Ah=function(a,b){if(!a){throw new Error("Attempted to delete a non-existent shape");}var c=a.Z();this.dispatchEvent(new Ld(this,"before_delete_shape",c));if(!b){var d=a.Tf("action");if(d=="create"){this.vn(a)}else{a.la("action","delete")}}this.removeChild(a,true);a.f();if(this.uj==c){this.Q=
null;this.uj=null;this.dispatchEvent(Xn);Vb(this.ua,function(e){this.yn(e)},this)}this.dispatchEvent(new Ld(this,"shape_deleted",c));this.wb()};O[_P].e=function(){O.g.e.call(this,"slide "+this.cl())};O[_P].og=function(a,b,c){var d=O.g.og.call(this,a,b,c);if(d){this.dispatchEvent("shape_moved")}return d};O[_P].yn=function(a){var b=a.Yh()==sb.oe&&a.ki();if(b&&a.Z()==this.uj||(b==yb.Fj||b==yb.Bj)&&this.Q==null){this.Q=a.sq();this.uj=a.Z();this.dispatchEvent(Xn)}};O[_P].Qi=function(a){var b=a[S];if(b){this.yn(b)}};
O[_P].EB=function(){this.wb()};O[_P].f=function(){if(!this.L()){O.g.f.call(this);this.Gi=null}};O[_P].D=function(){O.g.D.call(this);this.Ya().i(this,Ac,this.Qi);this.Ya().i(this,Vn,this.EB)};O[_P].ga=function(){O.g.ga.call(this);this.Ya().Ka(this,Ac,this.Qi)};O[_P].ra=function(a,b){switch(a){case "layout":this.At(b,true);break;default:O.g.ra.call(this,a,b);break}};O[_P].qe=function(){if(this.Tc&&this.Ca<this.ae){var a=Y.getElementById(this.Kd(this.Ca++));oc(a,true);return true}return false};O[_P].qf=
function(){if(this.Tc&&this.Ca>0){var a=Y.getElementById(this.Kd(--this.Ca));oc(a,false);return true}return false};O[_P].dh=function(){while(this.qe()){}};O[_P].Cu=function(){while(this.qf()){}};O[_P].Co=function(a){if(this.Tc){while(this.Ca<a){this.qe()}while(this.Ca>a){this.qf()}}};O[_P].Dc=function(){return this.Ca};O[_P].ll=function(a){var b=this.Q;if(b){var c=Vg(b);if(a!=null){if(a<4){a=4}return c[i]<=a?c:c.substr(0,a-3)+"..."}else{return c}}return""};O[_P].Kd=function(a){return this.eh+a};var td=function(a,b,c){this.r=a;this.F=b;this.Gh=c};td[_P].r=null;td[_P].F=null;td[_P].Gh=null;td[_P].Ih=function(a){return this===a||!(!a)&&this.r==a.r&&this.F==a.F&&this.Gh==a.Gh};pb(td[_P],function(){return(new Pc('<User id="')).da(this.r).da('" name="').da(this.F).da('" email="').da(this.Gh).da('"/>').toString()});td[_P].Z=function(){return this.r};td[_P].di=function(){return this.F};var ob=function(a,b){E.call(this,b);if(ka(a)){this.ef(a)}this.pe=null;this.Ce=null;this.bj=1;this.pf=null};ob.b(E);var fo="goog-presently-view",Di="goog-presently-background",eo="goog-presently-foreground";ob[_P].yd=function(a){return a&&a[Q]==1&&a[ea]=="DIV"&&!a[Z]};ob[_P].D=function(){ob.g.D.call(this);var a=this.c();Fa(a,fo,this.pf);this.qo(this.pe);this.ro(this.Ce);this.Gt(this.bj)};ob[_P].ga=function(){var a=this.c();Fb(a,fo,this.pf);this.Bk();this.Ak();ob.g.ga.call(this)};ob[_P].f=function(){if(!this.L()){if(this.Ce){this.Bk();
this.Ce=null}if(this.pe){this.Ak();this.pe=null}ob.g.f.call(this)}};ob[_P].Gt=function(a){if(typeof a!="number"||a<=0){return}this.bj=a;if(this.U()){var b=20*a+"pt",c=this.c();Ea(c[k],"none");M(c,"fontSize",null);if(v){window.setTimeout(function(){M(c,"fontSize",b);Ea(c[k],"block")},1)}else{M(c,"fontSize",b);Ea(c[k],"block")}}};ob[_P].Pt=function(a){if(a!=this.pf){if(this.U()){var b=this.c();if(this.pf){Fb(b,this.pf)}if(a){Fa(b,a)}}this.pf=a}};ob[_P].yy=function(){return this.Ce};ob[_P].vm=function(a){var b=
this.Bk();this.ro(a);return b};ob[_P].Px=function(){return this.pe};ob[_P].Zi=function(a){var b=this.Ak();this.qo(a);return b};ob[_P].ro=function(a){if(a&&this.U()){Fa(a,eo);X(this.c(),a);if(s){var b=this.$k("ie-hack");if(b==null){b=He("div",{"class":"ie-trans-hack",style:"width: 100%; height: 100%; position: absolute;"});b.id=this.Xl("ie-hack")}Gd(b,a)}}this.Ce=a};ob[_P].Bk=function(){var a=this.Ce;if(a){Fb(a,eo);ca(a)}return a};ob[_P].qo=function(a){if(a&&this.U()){var b=this.c();Fa(a,Di);b.insertBefore(a,
b[Z])}this.pe=a};ob[_P].Ak=function(){var a=this.pe;if(a){Fb(a,Di);ca(a)}return a};var Ob=function(a,b){ob.call(this,a,b);this.iC=Yn;this.Ja=null};Ob.b(ob);var Yn=new Da(800,600);Ob[_P].D=function(){Ob.g.D.call(this);if(this.Ja){this.Vm(this.Ja)}else{this.wd()}};Ob[_P].nl=function(){return this.Ja};Ob[_P].Vm=function(a){if(a){this.Ja=a;if(this.U()){Ss(this.c(),a);this.mt(a);this.xt(a);this.tC()}}};Ob[_P].wd=function(){if(this.U()){var a=eh(this.c()[n]);this.Vm(a)}};Ob[_P].Vy=function(){return this.iC};
Ob[_P].vm=function(a){if(a){Ea(a[k],"none")}var b=Ob.g.vm.call(this,a);if(a){this.xt(this.nl());Ea(a[k],"block")}return b};Ob[_P].Zi=function(a){if(a){Ea(a[k],"none")}var b=Ob.g.Zi.call(this,a);if(a){this.mt(this.nl());Ea(a[k],"block")}return b};Ob[_P].xt=function(a){var b=this.yy();if(a&&b){Vf(b,a)}};Ob[_P].mt=function(a){var b=this.Px();if(a&&b){Vf(b,a)}};Ob[_P].tC=function(){var a=this.nl(),b=this.Vy();if(a&&b){var c=t.min(a[x]/b[x],a[w]/b[w]),d=this.c();this.Gt(c)}};var H=function(a,b,c){G.call(this);this.Yq=a;this.Pg=b;this.t=c};H.b(G);H[_P].Na=null;H[_P].Ja=null;H[_P].Pg=null;H[_P].t=null;H[_P].Jo=null;H[_P].bt=null;H[_P].Q=null;H[_P].Og=null;H[_P].ah=null;H[_P].su=null;H[_P].Vo=null;H[_P].ys=null;H[_P].yj=null;H[_P].Aj=null;H[_P].Yq=null;H[_P].ha=function(){return"presently.EditablePresentation"};H[_P].qD=function(a){if(a&&a!=this.bt){this.bt=a;var b=a.split(":"),c=b[0];if(c){this.ef(c)}var d=b[1];if(d){this.pD(d)}}};H[_P].TC=function(a){if(a&&a!=this.Jo){this.Jo=
a}};H[_P].kl=function(){return this.Q};H[_P].Qt=function(a,b){if(a!=this.Q){this.Q=a;this.dispatchEvent("title_changed");if(!b){this.la("title",this.kl())}return true}return false};H[_P].nz=function(){return this.Og};H[_P].kf=function(a,b){if(a!=this.Og){this.Og=a;this.uE();this.dispatchEvent("theme_changed");if(!b){this.la("theme",this.nz())}return true}return false};H[_P].uE=function(){if(this.U()){var a;if(this.Na&&v){a=this.Na.gg();this.Na.Ia(false)}var b=this.c(),c=Fq(Af(b),es);ln(Fb,b).apply(null,
c);Fa(b,"goog-presently-theme-"+this.Og);var d=null;if(s){d=this.$k("ie-hack");if(d){ca(d)}}var e=this.Uk();if(e){e[n].removeChild(e)}e=this.Pg.il(this.Og);if(e){if(this.Ja){Vf(e,this.Ja)}Fa(e,Di);b[n].insertBefore(e,b)}if(d!=null){this.ir(d)}if(this.Na&&v){this.Na.Ia(a)}}};var es=function(a){return xn(a,"goog-presently-theme-")};H[_P].rC=function(a){var b=As(this,function(c){return c instanceof aa&&c.Yh()==sb.me});if(b[i]){if(a?Zf(M_CONFIRM_IMPORT_THEME_CHANGE):Zf(M_CONFIRM_APPLY_CUSTOM_BACKGROUND)){Vb(b,
function(c){c.Hc().Ah(c)})}else{return false}}return true};H[_P].qt=function(a,b){if(this.rC(false)){this.ec(function(c){c.qt(a,b)});this.kf("blank")}};H[_P].Uk=function(){if(this.U()){var a=this.c()[n][Z];if(a&&Jb(a,Di)){return a}}return null};H[_P].ir=function(a){var b=this.Na;if(b){var c,d=b.Wk(0);if(d&&d.Yh()==sb.me){c=d.c()}else{c=this.Uk()}if(c!=null){Bf(a,c)}}};H[_P].zv=function(){var a=this.$k("ie-hack");if(a==null&&this.t&&this.t.Il()){a=He("div",{"class":"ie-trans-hack"});a.id=this.Xl("ie-hack")}if(a){this.ir(a)}};
H[_P].Fc=function(){return this.Na};H[_P].wd=function(a){if(this.U()){var b=this.gg();if(this.Na&&v){b=this.Na.gg();this.Na.Ia(false)}var c=this.c();this.Ja=a;var d=this.Uk();if(d){Vf(d,a)}Vf(c,a);if(this.Na){Vf(this.Na.c(),a)}if(Jo){c=p("slideEditor")}V(c,false);M(c,"fontSize",null);var e=t.min(a[x]/800,a[w]/600),f=20*e+"pt";if(this.ah){window.clearTimeout(this.ah)}this.ah=window.setTimeout(J(function(){this.ah=null;M(c,"fontSize",f);V(c,true);if(this.Na&&v){this.Na.Ia(b)}},this),1);if(s){this.zv()}}};
H[_P].Uh=function(){return"presentation_exterior_bounds_changed"};H[_P].HB=function(){this.wb()};H[_P].wD=function(a){if(a!=this.su){this.su=a;this.dispatchEvent("timestamp_changed")}};H[_P].WC=function(a){if(a!=this.Vo){this.Vo=a;this.dispatchEvent("coeditors_changed")}};H[_P].kD=function(a){var b=new td(a.id,a.name,a.email);if(!b.Ih(this.ys)){this.ys=b;this.dispatchEvent("owner_changed")}};H[_P].DD=function(a){if(a){if(this.yj){km(this.yj)}else{this.yj=[]}Vb(a,function(b){this.yj.push(new td(b.id,
b.name,b.email))},this);this.dispatchEvent("viewers_changed")}};H[_P].ED=function(a){if(a){if(this.Aj){km(this.Aj)}else{this.Aj=[]}Vb(a,function(b){this.Aj.push(new td(b.id,b.name,b.email))},this);this.dispatchEvent("writers_changed")}};H[_P].dq=function(){return this.Yq};H[_P].hc=function(){return this.Xk()};H[_P].Pe=function(a,b,c){H.g.Pe.call(this,a,b,c);V(a.c(),false);this.dispatchEvent(new Ld(this,"slide_created",a.Z()));this.wb()};H[_P].og=function(a,b,c){var d=H.g.og.call(this,a,b,c);if(d){this.dispatchEvent(new Ld(this,
"slide_moved",a.Z()))}return d};H[_P].Ah=function(a,b){if(!a){throw new Error("Attempted to delete a non-existent slide");}var c=a.Z();this.dispatchEvent(new Ld(this,"before_delete_slide",c));if(!b){var d=a.Tf("action");if(d=="create"){this.vn(a)}else{a.la("action","delete")}}this.removeChild(c);a.f();this.dispatchEvent(new Ld(this,"slide_deleted",c));this.wb()};H[_P].Pi=function(a,b,c){var d=new O;d.ef(a||this.dq()(d));if(!c){d.la("action","create");d.la("index",-1)}return d};H[_P].D=function(){H.g.D.call(this);
this.Ya().i(this,Wn,this.HB)};H[_P].$f=function(a){return this.Wk(a)};H[_P].ra=function(a,b,c){switch(a){case "revision":this.qD(b);break;case "cancelRevision":this.TC(b);break;case "title":this.Qt(b,c);break;case "theme":this.kf(b,c);break;case "lastEdited":case "timestamp":this.wD(b);break;case "coeditors":this.WC(b);break;case "owner":this.kD(b);break;case "viewers":this.DD(b);break;case "writers":this.ED(b);break;default:H.g.ra.call(this,a,b,c);break}};var bc=function(a,b,c){var d=Ua();if(!a){Pa("Slide: Unable to create Slide, id is null");return}var e=p(a);if(!e){Pa('Slide: Unable to create Slide, no element with id="'+a+'" found');return}this.r=a;this.Tc=!b;this.bj=!c;this.ae=0;this.Ca=0;this.eh=this.r+"Build";this.dF=this.r+"Image";this.Q=null;this.hA();if(this.Tc){var f=Lg(null,"incremental",e);for(var g=0;g<f[i];g++){if(f[g][ea]=="OL"||f[g][ea]=="UL"){var h=f[g][Z];while(h&&h[n]&&h[n]==f[g]){if(h[Q]==1){h.id=this.Kd(this.ae++);oc(h,false)}h=
h[Qb]}}else{f[g].id=this.Kd(this.ae++);oc(f[g],false)}}}gh('Initialized slide (id="'+this.r+'")',d)};bc[_P].hA=function(){var a=js(this.ii());for(var b=0,c=a[i];b<c;b++){var d=a[b],e=ks(d),f=ls(d);if(e==sb.oe&&(f==yb.Fj||f==yb.Bj)){this.Q=Ke(d);break}}};bc[_P].Z=function(){return this.r};bc[_P].ii=function(){return p(this.r)};bc[_P].ll=function(a){var b=this.Q;if(b){var c=Vg(b);if(a!=null){if(a<4){a=4}return c[i]<=a?c:c.substr(0,a-3)+"..."}else{return c}}return""};bc[_P].qe=function(){if(this.Tc&&
this.Ca<this.ae){var a=Y.getElementById(this.Kd(this.Ca++));oc(a,true);return true}return false};bc[_P].qf=function(){if(this.Tc&&this.Ca>0){var a=Y.getElementById(this.Kd(--this.Ca));oc(a,false);return true}return false};bc[_P].dh=function(){while(this.qe()){}};bc[_P].Cu=function(){while(this.qf()){}};bc[_P].Co=function(a){if(this.Tc){while(this.Ca<a){this.qe()}while(this.Ca>a){this.qf()}}};bc[_P].Dc=function(){return this.Ca};bc[_P].ia=function(){var a=this.ii();return a?'<div class="'+a[Pb]+'">'+
a[db]+"</div>":""};pb(bc[_P],function(){return'<Slide id="'+this.r+'" title="'+this.ll(20)+'" build="'+this.Tc+'" scale="'+this.bj+(this.ae!=0?'" numBuilds="'+this.ae:"")+'" />'});bc[_P].Kd=function(a){return this.eh+a};var Ai=function(a){var b=Ua();if(!a){Pa("Gallery: Unable to create gallery, name is null");return}var c=p(a);if(!c){Pa('Gallery: Unable to create gallery, no data source with id="'+a+'" found');return}this.F=a;this.Mp={};var d=Lg("div","slide",c);for(var e=0;e<d[i];e++){var f=d[e].id;if(f){this.Mp[f]=new bc(f,true,false);Ka("Gallery: Added "+d[e]+" to the gallery")}else{Pa("Gallery: Ignoring <div> at index "+e+"; no ID found")}}gh('Initialized gallery (id="'+a+'")',b)};pb(Ai[_P],function(){return'<Gallery name="'+
this.F+'" />'});Ai[_P].di=function(){return this.F};Ai[_P].il=function(a){var b=null,c=a?this.Mp[a]:null;if(c){b=c.ii().cloneNode(true);b.id=null}return b};var $e=function(a){var b=Ua();if(!a){Pa("Presentation: Unable to create presentation, id is null");return}var c=p(a);if(!c){Pa('Presentation: Unable to create presentation, no element with id="'+a+'" found');return}this.r=a;this.Dd=[];var d=Lg("div","slide",c);for(var e=0;e<d[i];e++){if(!d[e].id){d[e].id=this.az(e)}var f=new bc(d[e].id);this.Dd.push(f);Ka("Presentation: Added "+this.$f(e)+" to the deck")}gh('Initialized presentation (id="'+a+'")',b)};pb($e[_P],function(){return'<Presentation id="'+
this.r+'" numSlides="'+this.Dd[i]+'" />'});$e[_P].Z=function(){return this.r};$e[_P].hc=function(){return this.Dd[i]};$e[_P].$f=function(a){if(typeof a=="undefined"||a<0||a>=this.Dd[i]){Pa("Presentation.getSlide: Index "+a+" out of bounds");return null}return this.Dd[a]};$e[_P].az=function(a){if(typeof a=="undefined"){Pa("Presentation.getSlideIdFromIndex: Unable to generate ID, index is null");return null}return this.r+"Slide"+a};$e[_P].uC=function(){for(var a=0;a<this.Dd[i];a++){this.Dd[a].Cu()}};var Rn,Sn;(function(){function a(h){var j=h.match(/[\d]+/g);Sb(j,3);return j.join(".")}var b=false,c="";if(zb[rh]&&zb[rh][i]){var d=zb[rh]["Shockwave Flash"];if(d){b=true;if(d.description){c=a(d.description)}}if(zb[rh]["Shockwave Flash 2.0"]){b=true;c="2.0.0.11"}}else if(zb[Td]&&zb[Td][i]){var e=zb[Td]["application/x-shockwave-flash"];b=e&&e.enabledPlugin;if(b){c=a(e.enabledPlugin.description)}}else{try{var f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");b=true;c=a(f.GetVariable("$version"))}catch(g){try{var f=
new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");b=true;c="6.0.21"}catch(g){try{var f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");b=true;c=a(f.GetVariable("$version"))}catch(g){}}}}Rn=b;Sn=c})();var Tn=function(a){return on(Sn,a)>=0};(function(){var a="";function b(e){var f=e.match(/\d/g);return f.join(".")}if(la&&zb[Td]&&zb[Td][i]>0){var c=zb[Td]["application/photo"];if(c){var d=c.description;if(d){a=b(d)}}}})();var zi="hasPicasa";(function(){var a=false;if(s){oa[zi]=a;Y.write('<!--[if gte Picasa 2]><script type="text/javascript">this.'+zi+"=true;<\/script><![endif]--\>");a=oa[zi];oa[zi]=Qa}else if(zb[Td]&&zb[Td]["application/x-picasa-detect"]){a=true}})();var cb=function(a,b,c,d){this.F=a;this.Jj=b;this.oo=c;this.O=0;this.dc=null;this.Se=false;this.Jp=false;this.zb=[];this.rm=null;this.en=null;this.Mr=d||{BAD_VERSION_HTML:"Oops!<br><br>The Google Talk Gadget requires Adobe Flash Player version %s or higher.<br>You can install the player <a href='http://www.google.com/url?sa=D&q=http://www.macromedia.com/go/getflashplayer' target='_blank'>here</a>.<br><br>To complete the installation, quit all running instances of your browser.",IE_BAD_VERSION_HTML:"Oops!</span><br><br>The Google Talk Gadget requires Adobe Flash Player version %s or higher.<br>You can install the player <a href='http://www.google.com/url?sa=D&q=http://www.macromedia.com/go/getflashplayer' target='_blank'>here</a>.<br><br>Once you have completed the installation, refresh this page."};
if(Pn){this.Si="windows"}else if(pk){this.Si="macintosh"}else if(ah){this.Si="linux"}else{this.Si=""}},jk,Vr=function(){if(typeof jk=="undefined"){jk=zb.userAgent.toLowerCase().indexOf("firefox/1.0")>=0}return jk};cb[_P].bv=function(){return this.Jj+this.oo};cb[_P].Un=function(){return this.O};cb[_P].pv=function(a,b,c,d,e,f,g,h,j,m){var l=!(!a);this.bB=!l;this.sa=l;this.ud=d;this.dd=e;if(l){this.K=Y.getElementById(a);M(this.K,"z-index","2")}else if(typeof this.K=="undefined"){var o=1,r=1;if(ah&&Vr()){o=
d;r=t.max(e,0.75*d+150)}this.K=Y.createElement("DIV");if(j){M(this.K,"position","absolute");M(this.K,"top",g+"px")}else{M(this.K,"position","absolute");M(this.K,"top",g+"px")}M(this.K,"left",f+"px");M(this.K,"width",o+"px");M(this.K,"height",r+"px");M(this.K,"overflow","hidden")}Kc(J(this.qx,this,l,b,c,h,m),0);Kc(function(){},0)};cb[_P].qx=function(a,b,c,d,e){var f=ah?"9":"8",g,h="<p style='font-family:Arial; color:#666666; font-size:.8em; margin:0; padding:0'>"+ni(s?this.Mr.IE_BAD_VERSION_HTML:this.Mr.BAD_VERSION_HTML,
f)+"</p>";if(Tn(f)){g=this.cv(b,c,"100%","100%",d,false,e);T(this.K,g)}else{T(this.K,h);this.tf(4)}if(!a){Y[B].appendChild(this.K)}this.xy();if(!s){if(this.dc==null||this.dc.src!=c){T(this.K,h);this.tf(4)}}};cb[_P].xy=function(){if(!this.dc){this.dc=Y.getElementById("flash_"+this.F)}return this.dc};cb[_P].cv=function(a,b,c,d,e,f,g){var h=this,j=function(na){h.Zn(na)},m=function(na,pa){h.fv(na,pa)};window["Recv_"+this.F]=j;window[this.F+"_DoFSCommand"]=m;if(s){var l=Y.createElement("SCRIPT");l.event=
"FSCommand(command,args)";l.htmlFor="flash_"+this.F;l.text=this.F+"_DoFSCommand(command, args)";Y[B].appendChild(l)}var o=s?"%s<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' id='%s' name='%s' width='%s' height='%s' style='%s'><param name='scale' value='noScale'/><param name='movie' value='%s'/><param name='quality' value='high'/><param name='bgcolor' value='#ffffff'/><param name='FlashVars' value='%s'/><param name='AllowScriptAccess' value='always'/><param name='allowFullScreen' value='true'/><param name='SeamlessTabbing' value='false'/>%s</object>":
"%s<embed quality='high' id='%s' name='%s' style='width: %s; height: %s; %s' src='%s' FlashVars='%s' AllowScriptAccess='always' allowFullScreen='true' SeamlessTabbing='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' %s></embed>",r=ni("dbg=%s&ap=%s&nm=%s&cb=%s&os=%s&%s",Cc(g?"true":"false"),Cc(this.Jj),Cc(this.oo),Cc("Recv_"+this.F),Cc(this.Si),e+"&"),K="",N;if(s){N=f?"<param name='wmode' value='transparent'/>":"<param name='wmode' value='window'/>"}else{N=
f?"wmode='transparent'":"wmode='window'"}return ni(o,a,"flash_"+this.F,this.F,c,d,K,b,r,N)};cb[_P].av=function(){if(this.bB&&!this.Jp){this.Jp=true;M(this.K,"left","-10000px");M(this.K,"top","0px");M(this.K,"width",this.ud+"px");M(this.K,"height",this.dd+"px")}};cb[_P].lv=function(a){if(ka(this.zb)){this.zb.push(function(b){b.lv(a)})}else{this.sa=a;if(!a){this.Xn(-10000,0);M(this.K,"width",this.ud+"px");M(this.K,"height",this.dd+"px")}}};cb[_P].Tn=function(){if(ka(this.zb)){this.zb.push(function(a){a.Tn()})}else{this.dc.focus();
Kc(function(){this.dc.focus()},0,this)}};cb[_P].Xn=function(a,b){if(ka(this.zb)){this.zb.push(function(c){c.Xn(a,b)})}else{if(typeof a!="undefined"){M(this.K,"left",a+"px")}if(typeof b!="undefined"){M(this.K,"top",b+"px")}}};cb[_P].ao=function(a,b,c){if(ka(this.zb)){this.zb.push(function(d){d.ao(a,b,c)})}else{this.bo(a,b,c)}};cb[_P].bo=function(a,b,c){this.dc.SetVariable("msg",$m([a,b,c]))};cb[_P].fv=function(a,b){if(a=="msg"||a=="FSCommand:msg"){this.Zn(b)}};cb[_P].jv=function(a){this.rm=a};cb[_P].Zn=
function(a){var b=rr(Od(a)),c=b[0],d=b[1],e=b[2];if(d==this.Jj+"."){if(e[0]=="f"){this.Tn();return}else if(e[0]=="b"){this.dc.blur();return}else if(e[0]=="loaded"){this.Yn();return}else if(e[0]=="pong"){this.tf(2);this.av();this.hv();return}}if(this.rm){this.rm(c,d,e)}};cb[_P].kv=function(a){this.en=a};cb[_P].tf=function(a){this.O=a;if(this.en){this.en(this)}};cb[_P].Yn=function(){if(this.dv()){this.gv()}else{Kc(this.Yn,2000,this)}};cb[_P].dv=function(){if(this.Se){return true}var a=this.dc;if(!a){return false}this.Se=
typeof a[hg]!="undefined"&&a[hg]==4||typeof a.PercentLoaded!="undefined"&&a.PercentLoaded()==100;return this.Se};cb[_P].gv=function(){if(this.Un()==2){this.tf(3)}else{this.tf(1);var a=this.bv();this.bo(a,a,["ping"])}};cb[_P].hv=function(){if(ka(this.zb)){var a=this.zb;delete this.zb;for(var b=0;b<a[i];++b){a[b](this)}}};var $b=function(a,b,c,d,e){var f=this;f.Xb=new ha(a+"client");f.vj=new ha(a+"transport?v=1");f.vj.Qb("silent","true");var g=new ha(a+"transport2?v=1");f.vj.Qb("host",g.toString());f.Re=new Date-0;var h="lcid="+Cc(f.Re);for(var j in c){h+="&"+j+"="+Cc(c[j])}f.Xb.Qb("sessionParams",h);f.Xb.Qb("sessionType","jsapi");f.Xb.Qb("host",window[Hb]);var m=b.split("&");f.Xb.Qb("session",m[0]);for(var l=1;l<m[i];++l){var o=m[l].split("=");f.Xb.Qb(Od(o[0]),Od(o[1]));if(o[0]=="u"){f.vj.Qb("u",Od(o[1]))}}if(f.Xb.mq().substring(0,
3)=="/a/"){f.Xb.Qb("nav","true")}if(e){f.Xb.Qb("css",e)}f.aB=0;f.Br=-1;f.yr=-1;f.M=d;f.Vb={};f.ik=null;f.ck=null;var r=this.vj.toString();this.Sg=new cb("api_"+this.Re,this.Re,"t");this.Sg.jv(J(this.zB,this));this.Sg.kv(J(this.PB,this));this.Sg.pv(null,"",r,1,1,0,0,"ap="+this.Re,false,false)};$b[_P].nA=function(a){this.ck=a;this.Lr()};$b[_P].sendMessage=function(a,b){var c=this.aB++;this.Av(c,b);this.Sg.ao(this.Re+"s",this.Re+"s",["mx",a,"s",c])};$b[_P].Av=function(a,b){var c=new Date;for(var d in this.Vb){if(c-
this.Vb[d].BE>=600){delete this.Vb[d]}}if(b){var e={};e.BE=c;e.mw=b;this.Vb[a]=e}};$b[_P].oC=function(a){var b=this.Vb[a];delete this.Vb[a];return b};$b[_P].PB=function(a){var b=this.Sg.Un();if(b==4){this.uc(2,3)}};$b[_P].zB=function(a,b,c){if(c[0]!="connect-dest"&&c[0]!="connect-ack"){this.Nz(c)}};$b[_P].Nz=function(a){switch(a[0]){case "cookie-hash":this.ik=a[1];this.Lr();break;case "connect-state":switch(a[1]){case "searching":this.uc(0);break;case "connecting":this.uc(0);break;case "open":this.uc(0);
break;case "close":this.uc(0);break}break;case "session-state":switch(a[1]){case "open":this.uc(0);break;case "close":this.uc(2,2);break}break;case "js":this.uc(1);break;case "je":this.uc(2,1);break;case "rp":this.AB(a[1],a[2]=="a");break;case "mx":this.xB(a[1],a[2],a[3],a[4]);break;case "m":this.jB(a[1]);break;case "rc":this.CB(a[1]);break;default:break}};$b[_P].uc=function(a,b){this.yr=b||-1;if(this.M&&this.Br!=a){this.Br=a;if(this.M.IB){this.M.IB(a)}else{this.M.JB(a)}}};$b[_P].Lr=function(){if(!this.xf&&
this.ik!=null&&this.ck!=null){this.Xb.Qb("hash",this.ik);this.xf=Y.createElement("IFRAME");Aa(this.xf[k],"100%");wa(this.xf[k],"100%");this.xf.src=this.Xb.toString();this.ck.appendChild(this.xf)}};$b[_P].fq=function(){return this.yr};$b[_P].AB=function(a,b){if(this.M){if(b){if(this.M.rB){this.M.rB(a)}else{this.M.sB(a)}}else{if(this.M.tB){this.M.tB(a)}else{this.M.uB(a)}}}};$b[_P].xB=function(a,b,c,d){if(c=="r"){if(this.M.vB){this.M.vB(a,b)}else{this.M.wB(a,b)}}else if(c=="e"){var e=this.oC(d);if(e){e.mw.onError()}}};
$b[_P].jB=function(a){if(this.M.iB){this.M.iB(a)}};$b[_P].CB=function(a){if(this.M.BB){this.M.BB(a)}};var ie=function(a){this.r=a||"Menu";this.sa=false;var b=He("table",{className:"menu_",id:this.r});Y[B].appendChild(b);b.cellPadding=0;b.cellSpacing=0};ie[_P].ci=function(){var a=Y.getElementById(this.r);if(!a){Pa('Menu.getMenu: No menu with id="'+this.r+'" found');return null}return a};ie[_P].rb=function(){return this.sa};ie[_P].Xg=function(a,b,c){var d=this.ci(),e=d.insertRow(d[Rb][i]);Tb(e,b?this.Rw(b):nc);e.oncontextmenu=nc;Ra(e,b?"menuItem_":"menuItemDisabled_");e.vAlign="middle";var f=e.insertCell(e[Gb][i]);
T(f,a);Ra(f,b?"menuLabel_":"menuLabelDisabled_");f.align="left";var g=e.insertCell(e[Gb][i]);T(g,c||"&nbsp;");Ra(g,"menuHint_");g.align="right"};ie[_P].Ij=function(){var a=this.ci(),b=a.insertRow(a[Rb][i]);Tb(b,nc);b.oncontextmenu=nc;var c=b.insertCell(b[Gb][i]);Ra(c,"menuSeparator_");c.colSpan=2};ie[_P].Rw=function(a){var b=this;return function(c){b.Jc();a(c);return nc(c)}};ie[_P].Qc=function(a,b){var c=this.ci(),d=window.innerWidth||Y[Sd][pc]||Y[B][pc],e=window[gg]||Y[Sd][dc]||Y[B][dc];a=a<d-c[pc]-
4?a:a-c[pc]-4;b=b<e-c[dc]-4?b:b-c[dc]-4;Xg(c,a<4?4:a,b<4?4:b);if(this.sa){return false}else{this.sa=true;return true}};ie[_P].Jc=function(){var a=this.ci();Xg(a,-1000,-1000);if(!this.sa){return false}else{this.sa=false;return true}};var P=function(a,b){R.call(this);a=a||"Presentation";this.Lx=Md("fs");if(b){this.ya=new H;this.ya.Sb(b)}else{this.ya=new $e(a)}this.xh=null;this.jb=xs()||0;this.bb=null;this.Hv=true;this.Pg=new Ai("themes");if(b){this.ya.tb(p(a||"Presentation"))}this.Ne()};P.b(R);P[_P].Ne=function(){this.er();this.dr();this.Fl();this.Qj();this.uo();this.Fa();this.$m()};P[_P].er=function(){if(s){if(p("slideshow_toolbar_controls")){Fa(p("slideshow_toolbar_controls"),"slideshow_toolbar_bg_iehack")}if(p("toolbar_bg")){V(p("toolbar_bg"),
false)}}};P[_P].Qj=function(){window.onresize=v?mc(this,this.Fa):Go(mc(this,this.Fa),100);Y.onkeydown=mc(this,this.Jq);Y.onkeyup=nc;Tb(Y,mc(this,this.oi));Y.oncontextmenu=mc(this,this.Bq);window.onbeforeunload=mc(this,this.ri);window.onunload=mc(this,this.ri);if(!v){Y.onselectstart=nc}};P[_P].uo=function(){var a=this.ml();if(a){for(var b=0,c=this.ya.hc();b<c;b++){var d=M_SLIDE_INDEX.replace(/%1/g,b+1).replace(/%2/g,c).replace(/%3/g,this.ya.$f(b).ll(30));a.options[b]=new Option(d,b)}a.onchange=cc(this,
this.uz)}var e=this.vq();if(e){e.onmousedown=cc(this,this.xl)}var f=this.uq();if(f){f.onmousedown=cc(this,this.ui)}var g=this.oz();if(g){Tb(g,cc(this,this.dg))}};P[_P].ri=function(a){};P[_P].dr=function(){this.ld=new Ob;this.Ga=new Tf(this.ya,this.ld);this.ld.tb(p("primaryViewSlide"));this.ld.Vm(this.Xj());this.Ga.gf(this.jb,0)};P[_P].Fl=function(){if(!this.bb){this.bb=new ie("Menu")}this.bb.Xg(M_NEXT,cc(this,this.ui),M_NEXT_HINT);this.bb.Xg(M_PREV,cc(this,this.xl),M_PREV_HINT);this.bb.Ij();this.bb.Xg(M_TOGGLE_TOOLBAR,
cc(this,this.vu),"~");this.bb.Ij();this.bb.Xg(M_EXIT_PRESENTATION,cc(this,this.de),"Esc, Q");this.bb.Jc()};P[_P].LD=function(a,b){if(!this.bb){return true}return this.bb.Qc(a,b)};P[_P].yi=function(){if(!this.bb){return false}return this.bb.Jc()};P[_P].de=function(){if(this.Lx){window.close()}window.history.back()};Xd(P[_P],function(){this.ya.uC();this.mi(0)});P[_P].Fa=function(a){var b=(new Date).getTime(),c=this.re(),d=this.Xj(c);xo(p("primaryView"),c);xo(p("primaryViewSlide"),d);var e=t.max(0,(c[w]-
d[w])/2);p("primaryViewSlide")[k].marginTop=e+"px";this.ld.wd();gh("Slideshow.handleResize: View(s) resized",b);return true};P[_P].oi=function(a){a=a||window[ff];var b=a[S]||a[te];if(v&&!(!a)&&typeof a.button!="undefined"&&a[cg]==2){return this.Bq(a)}if(this.na()&&b&&Kb(this.na(),b)){return true}if(this.yi()){return nc(a)}else{while(b&&b[za]&&b!=b[za][B]){if(b[ea]&&b[ea].toLowerCase()=="a"&&b[gf]){id(b,"_blank");return true}b=b[n]}}this.ui();return nc(a)};P[_P].fm=function(){return this.ya.hc()>0};
P[_P].ui=function(){if(this.fm()){this.Gv();this.Hf()}};P[_P].xl=function(){if(this.fm()){this.AC();this.Hf()}};P[_P].Bq=function(a){a=a||window[ff];var b=a[S]||a[te];if(b&&b[ea]=="A"){this.yi();return true}this.LD(a[vb],a[wb]);return nc(a)};P[_P].Jq=function(a){var b,c;if(a){b=a;c=b.which}else if(window[ff]){b=window[ff];c=b[hb]}if(b[Uc]||b[bg]||b[zd]){return true}switch(c){case 27:if(!this.yi()){this.de()}break;case 81:this.de();break;case 10:case 13:case 32:case 39:case 40:case 78:this.ui();break;
case 8:case 37:case 38:case 46:case 80:this.xl();break;case 33:this.Fs();this.Fc().dh();this.Hf();break;case 34:this.Wr();this.Fc().dh();this.Hf();break;case 192:this.yi();this.vu();break;default:return true}return nc(a)};P[_P].Hf=function(){Ka("Dispatching event");try{var a=new Zn("user_navigation",this,this.jb,this.Fc().Dc());this.dispatchEvent(a)}catch(b){Pa("Error dispatching event: "+b)}};P[_P].Fc=function(){return this.ya.$f(this.jb)};P[_P].Gv=function(){if(this.ya.hc()<1){this.Mf()}else if(!this.Fc().qe()){this.Wr()}};
P[_P].AC=function(){if(this.ya.hc()>0&&!this.Fc().qf()){this.Fs()}};P[_P].Wr=function(){if(this.jb<this.ya.hc()-1){this.mi(this.jb+1)}else{this.Mf()}};P[_P].Fs=function(){if(this.jb>0){this.mi(this.jb-1)}};P[_P].rf=function(){var a=this.ml();if(a){a.selectedIndex=this.Ga.Gb();Ka("Updated navigator index to "+a.selectedIndex)}};P[_P].mi=function(a,b){Ka("goToSlide: Someone requested slide "+a+"; current slide is "+this.jb);this.jb=a;this.Ga.gf(this.jb,this.Fc().Dc());this.rf()};P[_P].Mf=function(){if(Zf(M_END_OF_PRESENTATION)){if(Md("saveAsZip")){if(s){window.open("",
"_self");window.setTimeout(function(){self.close()},100)}else{window.setTimeout(function(){window.close()},100)}}this.de()}};P[_P].na=function(){return Y.getElementById("Toolbar")};P[_P].ml=function(){return Y.getElementById("ToolbarNav")};P[_P].vq=function(){return Y.getElementById("ToolbarPrev")};P[_P].uq=function(){return Y.getElementById("ToolbarNext")};P[_P].oz=function(){return Y.getElementById("ToolbarClose")};P[_P].dg=function(){var a=this.na();if(a){oc(a,false);this.Fa()}};P[_P].$m=function(){var a=
this.na();if(a){oc(a,true);this.Fa()}};P[_P].ur=function(){var a=this.na();return!Jb(a,"invisible_")};P[_P].vu=function(){var a=this.na();if(a){var b=this.ur();if(b){this.dg()}else{this.$m()}}};P[_P].uz=function(){if(this.fm()){var a=this.ml();if(a){var b=sa(a[La],10);this.mi(Pd(b)?0:b);this.Fc().dh()}this.Hf()}};P[_P].kf=function(a){var b=(new Date).getTime();if(a==this.xh){return}var c=Y.getElementsByTagName("head")[0].getElementsByTagName("link");for(var d=0,e=c[i];d<e;d++){if(c[d].rel&&c[d].rel==
"stylesheet"&&c[d].title){c[d].disabled=c[d].title!=a}}var f=this.Pg.il(a);if(f){this.ld.Zi(f);Fa(p("primaryView"),"goog-presently-theme-"+a);this.ld.Pt("goog-presently-theme-"+a);this.xh=a}else{Pa('Editor.applyTheme: Theme "'+a+'" cannot be applied')}};P[_P].re=function(){var a=eh(Y[B]),b=a[w];if(this.ur()){b-=eh(this.na())[w]}return new Da(t.max(0,a[x]),t.max(0,b))};P[_P].Xj=function(a){a=a||this.re();var b=Yn,c=t.min(a[x]/b[x],a[w]/b[w]);return new Da(t.max(0,b[x]*c),t.max(0,b[w]*c))};var ms=function(a,
b,c){var d=new P(c,a);d.kf(b);return d},Zn=function(a,b,c,d){lb.call(this,a,b);this.mf=c;this.fh=d};Zn.b(lb);var Tf=function(a,b){this.Es=a;this.vo=b;this.mf=0;this.fh=0};Tf[_P].Gb=function(){return this.mf};Tf[_P].Dc=function(){return this.fh};Tf[_P].gf=function(a,b){this.mf=sa(a,10);this.fh=sa(b,10);this.oE()};Tf[_P].oE=function(){if(this.vo){var a=null;if(this.Es.hc()>this.mf){a=this.Es.$f(this.mf);var b=a.c?a.c():a.ii();this.vo.vm(b.cloneNode(true))}}};Nc("_initSlideshow",ms);var q=function(a,b,c,d,e,f,g,h){this.Ra=false;this.ka=Qa;this.ND=false;this.RD=false;this.Yi=new Mb;this.tm=0;this.La=null;this.HE=false;this.vb=null;this.he=true;this.hp=Uf.Vn;this.vd=-1;this.Hh=top!=self;if(this.Hh&&this.Pd()){ca(this.Pd())}if(e&&!this.Hh){this.Dn=c;this.Jl=h;this.Ur=g;if(this.Tq()){this.$d=new $b(d,e,f,this)}}P.call(this,b,a)},$n;q.b(P);var Bc=new Sh("presently.TeamSlideshow");q[_P].Ne=function(a){this.iA();this.Sv();this.Fl();this.dr();this.gA();u(this,"user_navigation",mc(this,
this.QB));var b=this.Zf();if(b){u(b,rb,this.iE,false,this);u(b,$c,this.GB,false,this);u(b,uc,this.FB,false,this)}this.xb();if(this.$d){if(s&&!Rc("7")){Bc.T("Starting IE resize workaround.");window.setInterval(J(this.xC,this),200)}this.fA()}this.eA();this.Fa();if(!this.Hh){this.OD()}};var ao=ah?"9":"8";q[_P].Tq=function(){return Rn&&Tn(ao)};q[_P].xC=function(){var a=Le(window);if(!bn(a,this.xE)){this.xE=a;this.Fa();if(this.he){var b=this.hi();oc(b,false);oc(b,true)}}};q[_P].iA=function(){this.xD("slideshow_toolbar_bg");
var a=this.na();if(a){u(a,$c,this.OB,false,this);u(a,uc,this.NB,false,this)}};q[_P].fA=function(){this.$d.nA(p(this.Ur))};q[_P].Pd=function(){return p("sidebar")};q[_P].Zf=function(){return p("sidebarHandle")};q[_P].hi=function(){return p("sidebarContent")};q[_P].Ly=function(){return p(this.Ur)};q[_P].at=function(){var a=this.Pd();if(!a){return}var b=eh(Y[B])[w],c=Nb(this.Zf())[x];if(this.he){c+=Nb(this.hi())[x]}yo(a,c);var d=Nb(p("statusPane")),e=this.Ly();if(this.Vr==null){var f=Qf(e,"padding"),
g=Ja(Nb(e)[w]);M(e,"padding","0px");this.Vr=g-Ja(Nb(e)[w]);M(e,"padding",f)}M(e,"height",t.max(0,b-d[w]-this.Vr)+"px");if(s&&this.he){var h=this.hi();oc(h,false);oc(h,true)}};q[_P].QD=function(a){if(this.he==a){return}var b=this.Zf(),c=this.hi();this.he=a;Mg(b,"slideshow-sidebar-handle");if(!a){Fa(b,"slideshow-sidebar-handle-collapsed")}oc(c,a);this.Fa()};q[_P].iE=function(){this.QD(!this.he)};q[_P].GB=function(a){Fa(this.Zf(),"slideshow-sidebar-handle-hover")};q[_P].FB=function(a){Fb(this.Zf(),"slideshow-sidebar-handle-hover")};
q[_P].OB=function(a){Fa(this.na(),"slideshow-toolbar-container-hover");var b=p("ToolbarNavText");Fb(b,"slideshow-toolbar-nav-text-fg");Fa(b,"slideshow-toolbar-nav-text-fg-hover");var c=p("SlideshowToolbarSeparator");Fa(c,"slideshow-toolbar-separator")};q[_P].NB=function(a){Fb(this.na(),"slideshow-toolbar-container-hover");var b=p("ToolbarNavText");Fb(b,"slideshow-toolbar-nav-text-fg-hover");Fa(b,"slideshow-toolbar-nav-text-fg");var c=p("SlideshowToolbarSeparator");Fb(c,"slideshow-toolbar-separator")};
q[_P].rs=function(a){var b=a[Dc];if(b){Mg(b,"slideshow-toolbar-nav-arrow-hover")}};q[_P].qs=function(a){var b=a[Dc];if(b){Mg(b,"slideshow-toolbar-nav-arrow")}};q[_P].Fl=function(){};q[_P].gA=function(){var a=p("secondaryViewSlide");if(!a){return}this.pd=new Ob;this.fe=new Tf(this.ya,this.pd);this.pd.tb(a);this.pd.wd();this.fe.gf(this.jb,0)};q[_P].xD=function(a){var b,c=p("toolbar_bg");if(s){a+="_iehack";b=p("slideshow_toolbar_controls");Mg(b,"slideshow_toolbar_controls "+a);V(c,false)}else{Mg(c,a)}};
q[_P].eA=function(){var a=p("floatingMessageContainer");if(s){var b=p("floatingMessageLayout"),c=p("floatingMessageBackground");if(b){Fa(b,"slideshow_floating_message_bg_iehack")}if(c){V(c,false)}}};q[_P].Xt=function(a){var b=p("floatingMessageContainer"),c=p("floatingMessageContent"),d=p("main");tc(c,a);V(b,true);var e=to(d);e-=wo(b);Cb(b[k],e/2+"px");oa.setTimeout(this.Dx.J(this),2000)};q[_P].Dx=function(){var a=p("floatingMessageContainer");if(a){var b=new Ij(a,3000);b.play()}};q[_P].OD=function(){if(pk){return}if(s&&
!Rc("7")){return}this.Xt(M_FULL_SCREEN_HINT)};q[_P].QB=function(a){if(this.ka){this.ka=false;this.xb()}else{this.Iu()}if(this.Ra){this.bh(a.mf,a.fh)}};q[_P].jt=function(a){if(this.$d){this.$d.sendMessage(a)}Bc.Cc("Broadcasting command"+a.command)};q[_P].bh=function(a,b){this.jt({command:"SLIDE_CHANGE",slide:a,build:b})};q[_P].xb=function(){this.vE();this.sE();this.Ju()};q[_P].Mf=function(){if(!this.Hh){q.g.Mf.call(this)}};q[_P].sE=function(){var a=this.dy(),b=this.by(),c;if(a!=b){V(p(b),false);Fb(p(a),
"nodisplay_");if(a==Uf.Dj){T(p(a),wc(M_INSTALL_FLASH_FOR_MORE_FEATURES,{flash_version:ao,flash_install_link:"http://www.google.com/url?sa=D&q=http://www.macromedia.com/go/getflashplayer"}))}c=p(Uf.eo);V(c,a==Uf.Cj);if(a==Uf.Cj){Fb(c,"nodisplay_")}V(p(a),true);this.hp=a;if(s&&!Rc("7")){this.pd.wd()}}this.at()};q[_P].by=function(){return this.hp};q[_P].dy=function(){if($n){return $n}var a=Uf;if(!this.Tq()){return a.Dj}if(this.vd==-1||this.vd==0){return a.Vn}if(this.vd==2){if(this.$d&&this.$d.fq()==
3){return a.Dj}return a.ev}if(this.vd!=1){throw Error("Unexpected api state: "+this.vd);}if(this.Yf()==0){return this.Jl?a.Xu:a.mv}if(!this.Jl){if(this.La==null){return a.ov}return this.ka?a.nv:a.eo}if(this.Ra){return a.$u}if(this.La==null){return a.Zu}return this.ka?a.Yu:a.Cj};var Uf={Dj:"noFlash",Vn:"joiningState",ev:"joinFailedState",mv:"viewerAloneState",Xu:"editorAloneState",Zu:"editorNoOnePresentingState",Cj:"editorNotFollowingState",Yu:"editorFollowingState",$u:"editorPresentingState",nv:"viewerFollowingState",
eo:"viewerNotFollowingState",ov:"viewerNoOnePresentingState"};q[_P].tD=function(a){this.RD=a;var b=p("buzzStartPresentingBtn");if(b){V(b,a)}};q[_P].sD=function(a){this.ND=a;var b=p("buzzFollowingPresenter");if(b){V(b,a)}};q[_P].vE=function(){this.rf();this.Iu();this.Fu()};q[_P].Ju=function(){if(!this.pd){return}var a=p("presentersSlideNumber");if(a){tc(a,wc(M_PRESENTERS_VIEW_SLIDE_NO,{slide_number:this.fe.Gb()+1}))}this.pd.wd()};q[_P].Iu=function(){var a=p("ToolbarPrevContainer"),b=p("ToolbarPrev"),
c=p("ToolbarPrevDisabled"),d=this.Hv,e=this.ya.hc();if(a){var f=this.Ga.Gb()!=0&&e>0;V(b,f);V(c,!f);V(a,d)}var g=p("ToolbarNextContainer"),h=p("ToolbarNext"),j=p("ToolbarNextDisabled");if(g){var m=this.Ga.Gb()+1<e;V(h,m);V(j,!m);V(g,d)}};q[_P].rf=function(){var a=p("ToolbarNavTextContent");if(a){var b=this.ya.hc(),c=t.min(b,this.Ga.Gb()+1),d=p("SlideshowToolbarSeparator");Pg(a);a.appendChild(Bm(c));a.appendChild(d);a.appendChild(Bm(b))}};q[_P].Fu=function(){var a=this.Zj();this.tD(a);this.sD(this.ka);
var b=this.hh(),c=this.Yj(),d=this.na(),e=p("buzzToolbarStatus"),f=p("buzzToolbarParticipantStatus"),g=p("buzzToolbarParticipantsTotal"),h=p("buzzToolbarTakeOverPresenting"),j=p("buzzFollowPresenterBtn"),m=p("buzzStartPresentingButtonLabel");if(m){tc(m,ni(M_START_PRESENTING,this.Yf()))}if(e){if(this.Ra){tc(e,M_PRESENTING)}else if(this.ka){tc(e,M_FOLLOWING_PRESENTER)}else{tc(e,"")}}if(g){tc(g,this.Yf())}if(f){V(f,this.Ra)}if(h){V(h,b&&!this.Ra&&!this.Zj())}if(j){V(j,!b&&c)}};q[_P].Zj=function(){return this.hh()&&
!this.Ra&&!this.Yj()};q[_P].hh=function(){if(this.Jl&&this.Yf()>0){return true}else{this.Ra=false;return false}};q[_P].Yj=function(){if(this.La!=null&&!this.Ra&&this.Yf()>0){return true}else{this.ka=Qa}return false};q[_P].Yf=function(){return this.tm};q[_P].Ft=function(a){var b=this.tm;this.tm=a;Bc.Cc("ViewerCount: "+a);if(b!=a){if(a<2){this.xb()}else{this.Fu()}if(b==0&&!this.he){this.Xt(M_SOMEONE_HAS_JOINED_THE_PRESENTATION)}}};q[_P].oD=function(a,b,c){var d=b||0,e=c||0,f=this.La!=a;this.La=a;this.ka=
this.ka||this.ka===Qa;if(this.ka){this.Ga.gf(d,e)}this.fe.gf(d,e);this.rf();this.Ju();if(this.Ra&&this.La!=this.Dn){Bc.T(this.La+" is now presenting.");this.Ra=Qa}if(f){this.xb()}};q[_P].Sv=function(){this.Rv();this.Qv();this.Ov();this.Pv();this.Qj()};q[_P].Qj=function(){window.onresize=v?mc(this,this.Fa):Go(mc(this,this.Fa),100);Y.onkeydown=mc(this,this.Jq);Y.onkeyup=nc;u(Y,rb,this.oi,false,this);var a=p("main");if(a){if(!v){a.onselectstart=nc}}window.onbeforeunload=mc(this,this.ri);window.onunload=
mc(this,this.ri)};q[_P].Rv=function(){q.g.uo.call(this);var a=this.vq();if(a){u(a,$c,this.rs,false,this);u(a,uc,this.qs,false,this)}var b=this.uq();if(b){u(b,$c,this.rs,false,this);u(b,uc,this.qs,false,this)}var c=p("buzzToolbarTakeOverPresenting");if(c){Tb(c,cc(this,this.wl))}var d=p("buzzStartPresentingBtn");if(d){Tb(d,cc(this,this.Oq))}var e=p("buzzStopPresenting");if(e){Tb(e,cc(this,this.Pq))}var f=p("buzzFollowPresenterBtn");if(f){Tb(f,cc(this,this.ti))}var g=p("buzzStopFollowing");if(g){Tb(g,
cc(this,this.Yz))}var h=p("ToolbarHide");if(h){Tb(h,cc(this,this.dg))}};q[_P].Qv=function(){var a=this.Pd(),b=p("inviteUrl");if(b){u(b,[rb,"focus"],function(h){h[Dc].focus();h[Dc].select()})}var c=p("footerInviteUrl");u(c,[rb,"focus"],function(h){var j=h[Dc];j.focus();j.select();Fa(j,"footer_link_selected")});u(c,"blur",function(h){Fb(h[Dc],"footer_link_selected")});u(c,$c,function(h){Fa(h[Dc],"footer_link_hover")});u(c,uc,function(h){Fb(h[Dc],"footer_link_hover")});var d=p("controlPresentationButton");
if(d){u(d,rb,this.Oq,false,this)}var e=p("followPresenterAction");if(e){u(e,rb,this.ti,false,this)}var f=p("notFollowingTakeControlAction");if(f){u(f,rb,this.wl,false,this)}f=p("followingTakeControlAction");if(f){u(f,rb,this.wl,false,this)}var g=p("stopPresentingAction");if(g){u(g,rb,this.Pq,false,this)}};q[_P].dg=function(){if(this.vb){this.vb.stop()}var a=this.na();if(!this.sn){this.sn=Nb(a)[w]}this.vb=new bi(a,this.sn,0,1000,Sm);u(this.vb,"end",q.g.dg.J(this));u(this.vb,"end",q[_P].wu.J(this));
this.vb.play();return false};q[_P].$m=function(){if(this.vb){this.vb.stop()}var a=this.na();oc(a,true);this.vb=new bi(a,0,this.sn,1000,Sm);u(this.vb,"end",q[_P].wu.J(this));this.vb.play();return false};q[_P].wu=function(){this.vb=null};q[_P].Ov=function(){var a=p("primaryViewSlide");if(a){Tb(a,mc(this,this.Xz))}};q[_P].Pv=function(){var a=p("secondaryViewFollowPresenter");if(a){Tb(a,cc(this,this.ti))}var b=p("secondaryViewSlide");if(b){u(b,rb,this.ti,false,this)}};q[_P].Xz=function(a){q.g.oi.call(this,
a)};q[_P].oi=function(a){a=a||window[ff];var b=a[S]||a[te];if(b&&this.na()&&Kb(this.na(),b)||this.Pd()&&Kb(this.Pd(),b)){return true}while(b&&b[za]&&b!=b[za][B]){if(b[ea]&&b[ea].toLowerCase()=="a"&&b[gf]){return true}b=b[n]}return nc(a)};q[_P].gj=function(a){};q[_P].ti=function(a){if(this.Yj()){this.ka=true}if(a){a.preventDefault()}this.xb();this.jb=this.fe.Gb();this.Fc().Co(this.fe.Dc());this.Ga.gf(this.fe.Gb(),this.fe.Dc())};q[_P].Yz=function(){if(this.ka){this.ka=false;this.xb()}};q[_P].Oq=function(){if(this.Zj()){this.Ra=
true;this.La=this.Dn;this.bh(this.Ga.Gb(),this.Ga.Dc())}this.xb()};q[_P].Pq=function(){if(this.hh()){this.jt(ns)}this.Ra=false;this.ka=false;this.La=null;this.xb()};q[_P].wl=function(){if(this.hh()){this.Ra=true;this.ka=false;this.La=this.Dn;this.bh(this.Ga.Gb(),this.Ga.Dc())}this.xb()};q[_P].kf=function(a){var b=(new Date).getTime();if(a==this.xh){return}var c=[this.ld];if(this.pd){c.push(this.pd)}var d;for(var e=0;e<c[i];e++){var f=this.Pg.il(a);if(f){d=c[e];d.Zi(f);Fa(p("primaryView"),"goog-presently-theme-"+
a);d.Pt("goog-presently-theme-"+a);this.xh=a}else{Bc.db('Theme "'+a+'" cannot be applied.')}}};q[_P].Fa=function(){this.at();q.g.Fa.call(this);var a=this.re(),b=this.cq();bd(p("main"),a);bd(b,new Da(a[x],Gi(b)))};q[_P].re=function(){var a=eh(Y[B]),b=this.cq(),c=a[x],d=a[w]-vo(b),e=this.Pd();if(e){c-=(new Da(wo(e),vo(e)))[x]}return new Da(t.max(0,c),t.max(0,d))};q[_P].JB=function(a){Bc.Cc("onStateChange - "+a);if(a!=this.vd){this.vd=a;if(a==2){Bc.yE("got error from api - "+this.$d.fq())}this.xb()}};
q[_P].sB=function(a){Bc.Cc("onJoin_ - "+a);this.Yi.add(a);this.Ft(t.max(0,this.Yi.ma()-1));if(this.Ra){this.bh(this.Ga.Gb(),this.Ga.Dc())}};q[_P].uB=function(a){Bc.Cc("onLeave_ - "+a);this.Yi.remove(a);this.Ft(t.max(0,this.Yi.ma()-1));if(this.La==a){this.La=null;this.ka=false;this.xb()}};q[_P].wB=function(a,b){Bc.Cc("Msg received from: "+a+", command: "+b.command);if(b.command){this.vz(a,b)}};q[_P].cq=function(){return p("footer")};q[_P].vz=function(a,b){if(!b||!b.command){Bc.db("Message is not a command!");
return}switch(b.command){case "SLIDE_CHANGE":Bc.Cc("Handling slide_change command: "+b.slide+"/"+b.build);this.oD(a,b.slide,b.build);break;case "START_FOLLOWING":break;case "STOP_FOLLOWING":break;case "PRESENTER_STOPPED":this.Vz(a);break;default:Bc.db("Unrecognized commmand: "+b.command)}};q[_P].Vz=function(a){if(this.La==a){this.La=null;this.ka=false;this.xb()}};var ns={command:"PRESENTER_STOPPED"},os=function(a,b,c,d,e,f,g,h){var j=null;if(la&&bh){j=new xb(a)}else{j=new q(a,null,f,c,d,e,g,h)}j.kf(b);
return j};Nc("_initTeamSlideshow",os);var xb=function(a){P.call(this,null,a);this.rf();this.$i=new od(300);u(this.$i,"tick",this.Fa,false,this);this.$i.start();this.Fa();this.$v=J(this.Qk,this)};xb.b(P);xb[_P].$i=null;xb[_P].ed=null;xb[_P].Sd=null;xb[_P].Wc=null;var fs=new Da(480,269),gs=new Da(320,417),hs=function(){window.scrollTo(0,1)};xb[_P].er=function(){u(this.na(),rb,this.ql,false,this);this.Ym();this.ed=Kc(J(this.Qk,this),2333)};xb[_P].rf=function(){var a=p("ToolbarNavTextContent");if(a){var b=this.ya.hc(),c=t.min(b,this.Ga.Gb()+
1);tc(a,c+"/"+b)}};xb[_P].Mf=function(){if(Zf(M_END_OF_PRESENTATION_IPHONE)){this.de()}};xb[_P].de=function(){window.location=Io("m")};xb[_P].Fa=function(){var a=this.re();if(this.Wc&&this.Wc[x]==a[x]){return}this.Wc=a;var b=this.na(),c=p("primaryView"),d=p("primaryViewSlide");bd(b,this.Wc);bd(c,this.Wc);var e=this.Xj(this.Wc);bd(d,e);var f=t.max(0,(this.Wc[w]-e[w])/2-15);d[k].marginTop=f+"px";this.ld.wd();Kc(hs,50)};xb[_P].f=function(){if(!this.L()){this.$i=null;this.ed=null;this.Sd=null;this.Wc=
null;xb.g.f.call(this)}};xb[_P].ql=function(a){var b=p("slideshow_toolbar_controls");if(b[k][nh]=="none"){this.Ym();this.ed=Kc(J(this.Qk,this),2333);return}if(a){var c=a[S].id;if(c=="ToolbarNext"||c=="ToolbarPrev"){if(this.ed){Hg(this.ed)}if(this.Sd){this.Sd.stop()}this.ed=Kc(this.$v,2333);this.Ym();return}}this.Vq()};xb[_P].re=function(){var a=oa.innerWidth<oa[gg];return a?gs:fs};xb[_P].Ym=function(){var a=p("slideshow_toolbar_controls");if(a){ri(a,0.9);V(a,true)}};xb[_P].Vq=function(){var a=p("slideshow_toolbar_controls");
if(a){V(a,false);this.Sd=null;if(this.ed){Hg(this.ed)}}};xb[_P].Qk=function(){var a=p("slideshow_toolbar_controls");if(a){this.Sd=new Ij(a,667);u(this.Sd,"end",J(this.Vq,this),false,this);this.Sd.play()}};
 })()
