/* Copyright 2007 Google. All Rights Reserved. */ (function() { 
var ec=encodeURIComponent,Pa=Number,wg=Infinity,kb=navigator,vg=Boolean,Ya=undefined,ka=parseInt,sb=parseFloat,va=String,nf=confirm,mf=Function,S=document,md=decodeURIComponent,Id=isNaN,q=Math;function Ug(a,b){return a.stop=b}function $a(a,b){return a.toString=b}function Ab(a,b){return a.length=b}function Sd(a,b){return a.position=b}function yf(a,b){return a.relatedTarget=b}function la(a,b){return a.className=b}function na(a,b){return a.width=b}function Qg(a,b){return a.data=b}function Sg(a,b){return a.opacity=
b}function K(a,b){return a.innerHTML=b}function cd(a,b){return a.value=b}function hi(a,b){return a.fontSize=b}function Ee(a,b){return a.color=b}function rd(a,b){return a.currentTarget=b}function nb(a,b){return a.left=b}function Ic(a,b){return a.target=b}function Af(a,b){return a.screenX=b}function Bf(a,b){return a.screenY=b}function Tg(a,b){return a.remove=b}function Cf(a,b){return a.start=b}function Fe(a,b){return a.cssText=b}function xf(a,b){return a.keyCode=b}function zf(a,b){return a.returnValue=
b}function Rg(a,b){return a.href=b}function ab(a,b){return a.type=b}function yc(a,b){return a.clear=b}function Ge(a,b){return a.setPosition=b}function Td(a,b){return a.reset=b}function Ng(a,b){return a.cellPadding=b}function Bb(a,b){return a.onclick=b}function ta(a,b){return a.display=b}function xa(a,b){return a.height=b}function Og(a,b){return a.clientX=b}function Pg(a,b){return a.clientY=b}function Vg(a,b){return a.visibility=b}var Kg="scrollTop",Hc="previousSibling",qf="altKey",Eg="innerText",
uf="hash",pf="activeElement",Nd="outerHTML",i="length",Hg="plugins",Dg="htmlText",_P="prototype",Mg="sourceIndex",Jb="className",B="width",Rd="text",Ub="clientWidth",Pd="slice",Ld="field",Lg="selection",R="nodeType",Ga="startContainer",ha="document",tf="data",xc="ctrlKey",ca="content",Gg="opacity",Fa="innerHTML",qd="mimeTypes",Ce="offsetWidth",Uj="offsetParent",Qd="srcElement",we="collapsed",wa="value",yb="location",Ae="fontSize",rf="button",ad="metaKey",Ag="designMode",ei="offsetLeft",wc="color",
xg="anchorNode",k="style",sf="capture",Md="focusNode",qa="nodeName",Zc="currentTarget",A="body",Ca="left",ea="ownerDocument",Fg="naturalWidth",aa="target",ic="screenX",jc="screenY",pd="lastChild",vf="innerHeight",De="readyState",zg="charCode",tb="cells",Yc="cssText",Cg="getAttribute",Ig="protocol",fc="endContainer",wf="scrollHeight",Za="keyCode",Z="firstChild",gc="endOffset",Kb="clientHeight",gi="scrollLeft",xe="compatMode",yg="bottom",Kd="currentStyle",Be="href",nd="console",zb="rows",I="type",ia=
"childNodes",Od="shiftKey",sa="tagName",$c="defaultView",Gc="name",n="parentNode",Bg="display",gb="nextSibling",fi="offsetTop",ye="contentWindow",z="height",bd="offsetHeight",Lb="startOffset",hc="nodeValue",lb="clientX",mb="clientY",od="documentElement",Jg="right",ze="event";var $o=$o||{},$=this;var Op=function(a,b){var c=a.split("."),d=$,e;while(e=c.shift()){if(!c[i]&&ga(b)){d[e]=b}else if(d[e]){d=d[e]}else{d=(d[e]={})}}},Sl=function(a){var b=a.split("."),c=$;for(var d;d=b.shift();){if(c[d]){c=c[d]}else{return null}}return c};var ga=function(a){return typeof a!="undefined"},bc=function(a){return a===null},Ka=function(a){return a instanceof Array||Lh(a)&&typeof a.join=="function"&&typeof a.reverse=="function"},Jh=function(a){return Lh(a)&&typeof a[i]=="number"},La=function(a){return typeof a==
"string"},Kh=function(a){return typeof a=="number"},oe=function(a){return typeof a=="function"||!(!(a&&a.call))},Lh=function(a){return a!=null&&typeof a=="object"},Pb=function(a){if(a.hasOwnProperty&&a.hasOwnProperty(Pf)){return a[Pf]}if(!a[Pf]){a[Pf]=++Xp}return a[Pf]},Pf="closure_hashCode_",Xp=0,E=function(a,b){var c=a.Ut;if(arguments[i]>2){var d=Array[_P][Pd].call(arguments,2);if(c){d.unshift.apply(d,c)}c=d}b=a.Wt||b;a=a.Vt||a;var e,f=b||$;if(c){e=function(){var g=Array[_P][Pd].call(arguments);
g.unshift.apply(g,c);return a.apply(f,g)}}else{e=function(){return a.apply(f,arguments)}}e.Ut=c;e.Wt=b;e.Vt=a;return e},em=function(a){var b=Array[_P][Pd].call(arguments,1);b.unshift(a,null);return E.apply(null,b)};var Da=function(){return(new Date).getTime()};var Yb=function(a,b){var c=b||{};for(var d in c){a=a.replace(new RegExp("\\{\\$"+d+"\\}","gi"),c[d])}return a},Ob=function(a,b){Op(a,b)},fj=function(a,b,c){a[b]=c};if(!mf[_P].apply){mf[_P].apply=function(a,b){var c=[],d,e;if(!a)a=$;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}}mf[_P].G=function(a){if(arguments[i]>1){var b=Array[_P][Pd].call(arguments,1);b.unshift(this,a);return E.apply(null,b)}else{return E(this,a)}};mf[_P].te=function(){var a=Array[_P][Pd].call(arguments);a.unshift(this,null);return E.apply(null,a)};mf[_P].a=function(a){Yp(this,a)};var Yp=function(a,
b){function c(){}c.prototype=b[_P];a.h=b[_P];a.prototype=new c;a[_P].constructor=a};if(!Array[_P].push){Array[_P].push=function(a){for(var b=0;b<arguments[i];b++){this[this[i]]=arguments[b]}return this[i]}}if(!Array[_P].pop){Array[_P].pop=function(){var a;if(this[i]){a=this[this[i]-1];this.length--}return a}}Array[_P].peek=function(){return this[this[i]-1]};if(!Array[_P].shift){Array[_P].shift=function(){var a;if(this[i]){a=this[0];for(var b=0;b<this[i]-1;b++){this[b]=this[b+1]}this.length--}return a}}if(!Array[_P].unshift){Array[_P].unshift=
function(a){var b=arguments[i];for(var c=this[i]-1;c>=0;c--){this[c+b]=this[c]}for(var d=0;d<b;d++){this[d]=arguments[d]}return this[i]}};var nc=function(){};nc[_P].Jj=false;nc[_P].P=function(){return this.Jj};nc[_P].c=function(){if(!this.Jj){this.Jj=true}};var Zp=function(a){if(a==""){return false}a=a.replace(/"(\\.|[^"\\])*"/g,"");return a==""||!/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(a)},$p=function(a){a=va(a);if(typeof a.parseJSON=="function"){return a.parseJSON()}if(Zp(a)){try{return eval("("+a+")")}catch(b){}}throw Error("Invalid JSON string: "+a);},uj=function(a){return eval("("+a+")")},tj=null,fg=function(a){if(!tj){tj=new pe}return tj.nA(a)},pe=function(){};pe[_P].nA=function(a){if(a!=null&&typeof a.toJSONString=="function"){return a.toJSONString()}var b=
[];this.il(a,b);return b.join("")};pe[_P].il=function(a,b){switch(typeof a){case "string":this.Br(a,b);break;case "number":this.pA(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(Ka(a)){this.oA(a,b);break}this.qA(a,b);break;default:throw Error("Unknown type: "+typeof a);}};var sj={'"':'\\"',"\\":"\\\\","/":"\\/","\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\u000b":"\\u000b"};pe[_P].Br=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)}),'"')};pe[_P].pA=function(a,b){b.push(isFinite(a)&&!Id(a)?a:"null")};pe[_P].oA=function(a,b){var c=a[i];b.push("[");var d="";for(var e=0;e<c;e++){b.push(d);this.il(a[e],b);d=","}b.push("]")};pe[_P].qA=function(a,b){b.push("{");var c="";for(var d in a){b.push(c);this.Br(d,b);b.push(":");this.il(a[d],
b);c=","}b.push("}")};var pm=function(a,b){return a.indexOf(b)==0},Oh=function(a,b){var c=a[i]-b[i];return c>=0&&a.lastIndexOf(b,c)==c},Qh=function(a){for(var b=1;b<arguments[i];b++){var c=va(arguments[b]).replace(/\$/g,"$$$$");a=a.replace(/\%s/,c)}return a},zj=function(a){return a.replace(/(\r\n|\r|\n)+/g," ")};var kg=function(a){return a.replace(/^\s+|\s+$/g,"")},qm=function(a){return a.replace(/^\s+/,"")};var oq=/^[a-zA-Z0-9\-_.!~*'()]*$/,Bj=function(a){a=va(a);if(!oq.test(a)){return ec(a)}return a},Aj=function(a){return md(a.replace(/\+/g,
" "))},Ph=function(a,b){return a.replace(/(\r\n|\r|\n)/g,b?"<br />":"<br>")},Dd=function(a,b){if(b){return a.replace(fm,gm).replace(lm,mm).replace(jm,km).replace(nm,om)}else{if(!mq.test(a))return a;if(a.indexOf(nq)!=-1){a=a.replace(fm,gm)}if(a.indexOf(qq)!=-1){a=a.replace(lm,mm)}if(a.indexOf(pq)!=-1){a=a.replace(jm,km)}if(a.indexOf(rq)!=-1){a=a.replace(nm,om)}return a}},nq="&",qq="<",pq=">",rq='"',gm="&amp;",mm="&lt;",km="&gt;",om="&quot;",fm=/&/g,lm=/</g,jm=/>/g,nm=/\"/g,mq=/[&<>\"]/,tq=function(a){if(im(a,
"&")){if("document"in $&&!im(a,"<")){var b=$.document.createElement("a");b.innerHTML=a;if(b.normalize){b.normalize()}a=b.firstChild.nodeValue;b.innerHTML=""}else{return a.replace(/&([^;]+);/g,function(c,d){switch(d){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if(d.charAt(0)=="#"){var e=Pa("0"+d.substr(1));if(!Id(e)){return va.fromCharCode(e)}}return c}})}}return a},Cj=function(a,b){return Ph(a.replace(/  /g," &#160;"),b)},sq=function(a,b,c){if(c){a=tq(a)}if(a[i]>
b){var d=q.floor(b/2),e=a[i]-d;d+=b%2;a=a.substring(0,d)+"..."+a.substring(e)}if(c){a=Dd(a)}return a},im=function(a,b){return a.indexOf(b)!=-1};var hm=function(a,b){var c=0,d=va(a).split("."),e=va(b).split("."),f=q.max(d[i],e[i]);for(var g=0;c==0&&g<f;g++){var h=d[g]||"",j=e[g]||"",l=new RegExp("(\\d*)(\\D*)","g"),m=new RegExp("(\\d*)(\\D*)","g");do{var r=l.exec(h)||["","",""],x=m.exec(j)||["","",""];if(r[0][i]==0&&x[0][i]==0){break}var O=r[1][i]==0?0:ka(r[1],10),W=x[1][i]==0?0:ka(x[1],10);c=yj(O,
W)||yj(r[2][i]==0,x[2][i]==0)||yj(r[2],x[2])}while(c==0)}return c},yj=function(a,b){if(a<b){return-1}else if(a>b){return 1}return 0};var sh=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=q.max(0,a[i]+c)}for(var d=c;d<a[i];d++){if(d in a&&a[d]===b)return d}return-1},oc=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=La(a)?a.split(""):a;for(var f=0;f<d;f++){if(f in e){b.call(c,e[f],f,a)}}}},kp=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=La(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},lp=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=La(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},fe=function(a,b){if(a.contains){return a.contains(b)}return sh(a,b)>-1};var ol=function(a){if(!Ka(a)){for(var b=a[i]-1;b>=0;b--){delete a[b]}}Ab(a,0)},pl=function(a,b,c){Oi(a,c,0,b)},th=function(a,
b){var c=sh(a,b),d;if(d=c!=-1){Array[_P].splice.call(a,c,1)[i]==1}return d};var hp=function(a){if(Ka(a)){return a.concat()}else{var b=[];for(var c=0,d=a[i];c<d;c++){b[c]=a[c]}return b}},jp=function(a,b){for(var c=1;c<arguments[i];c++){var d=arguments[c];if(!Ka(d)){a.push(d)}else{a.push.apply(a,d)}}},Oi=function(a,b,c,d){return Array[_P].splice.apply(a,Ni(arguments,1))},Ni=function(a,b,c){if(arguments[i]<=2){return Array[_P][Pd].call(a,b)}else{return Array[_P][Pd].call(a,b,c)}},mp=function(a,b){Array[_P].sort.call(a,
b||ip)},ip=function(a,b){return a>b?1:(a<b?-1:0)};var ig=function(a,b,c){for(var d in a){b.call(c,a[d],d,a)}},bm=function(a,b,c){for(var d in a){if(!b.call(c,a[d],d,a)){return false}}return true},dm=function(a){var b=[];for(var c in a){b.push(a[c])}return b},Mh=function(a){var b=[];for(var c in a){b.push(c)}return b},jg=function(a){for(var b in a){return false}return true},jq=function(a){var b=Mh(a);for(var c=b[i]-1;c>=0;c--){re(a,b[c])}},re=function(a,b){var c;if(c=b in a){delete a[b]}return c},am=function(a,b,c){if(b in a){throw Error('The object already contains the key "'+
b+'"');}Nh(a,b,c)},cm=function(a,b,c){if(b in a){return a[b]}return c},Nh=function(a,b,c){a[b]=c},kq=function(a){var b={};for(var c in a){b[c]=a[c]}return b},$l=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],lq=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<$l[i];f++){c=$l[f];if(Object[_P].hasOwnProperty.call(d,c)){a[c]=d[c]}}}};var sm=function(a){if(typeof a.jb=="function"){return a.jb()}if(La(a)){return a.split("")}if(Jh(a)){var b=[],c=a[i];for(var d=0;d<c;d++){b.push(a[d])}return b}return dm(a)},vq=function(a){if(typeof a.hc=="function"){return a.hc()}if(typeof a.jb=="function"){return Ya}if(Jh(a)||La(a)){var b=[],c=a[i];for(var d=0;d<c;d++){b.push(d)}return b}return Mh(a)},Sh=function(a,b,c){if(typeof a.forEach=="function"){a.forEach(b,c)}else if(Jh(a)||La(a)){oc(a,b,c)}else{var d=vq(a),e=sm(a),f=e[i];for(var g=0;g<f;g++){b.call(c,
e[g],d&&d[g],a)}}};var Ea=function(a){this.ca={};this.z=[];if(a){this.Pi(a)}},Dj=":",rm=Dj.charCodeAt(0);Ea[_P].B=0;var Rh=function(a){a=va(a);if(a in Object[_P]){return Dj+a}else if(a.charCodeAt(0)==rm){return Dj+a}else{return a}},uq=function(a){if(a.charCodeAt(0)==rm){return a.substring(1)}else{return a}};Ea[_P].Wa=function(){return this.B};Ea[_P].jb=function(){this.fj();var a=[];for(var b=0;b<this.z[i];b++){var c=this.z[b];a.push(this.ca[c])}return a};Ea[_P].hc=function(){this.fj();var a=[];for(var b=0;b<this.z[i];b++){var c=
this.z[b];a.push(uq(c))}return a};Ea[_P].Yb=function(a){return Rh(a)in this.ca};Ea[_P].Fc=function(){return this.B==0};yc(Ea[_P],function(){this.ca={};Ab(this.z,0);this.B=0});Tg(Ea[_P],function(a){var b=Rh(a);if(re(this.ca,b)){this.B--;if(this.z[i]>2*this.B){this.fj()}return true}return false});Ea[_P].fj=function(){if(this.B!=this.z[i]){var a=0,b=0;while(a<this.z[i]){var c=this.z[a];if(c in this.ca){this.z[b++]=c}a++}Ab(this.z,b)}if(this.B!=this.z[i]){var d={},a=0,b=0;while(a<this.z[i]){var c=this.z[a];
if(!(c in d)){this.z[b++]=c;d[c]=1}a++}Ab(this.z,b)}};Ea[_P].ra=function(a,b){var c=Rh(a);if(c in this.ca){return this.ca[c]}return b};Ea[_P].D=function(a,b){var c=Rh(a);if(!(c in this.ca)){this.B++;this.z.push(c)}this.ca[c]=b};Ea[_P].Pi=function(a){var b,c;if(a instanceof Ea){b=a.hc();c=a.jb()}else{b=Mh(a);c=dm(a)}for(var d=0;d<b[i];d++){this.D(b[d],c[d])}};Ea[_P].H=function(){return new Ea(this)};var Dc=function(a){this.ca=new Ea;if(a){this.Pi(a)}},Ej=function(a){var b=typeof a;if(b=="object"){return"o"+Pb(a)}else{return b.substr(0,1)+a}};Dc[_P].Wa=function(){return this.ca.Wa()};Dc[_P].add=function(a){this.ca.D(Ej(a),a)};Dc[_P].Pi=function(a){var b=sm(a),c=b[i];for(var d=0;d<c;d++){this.add(b[d])}};Tg(Dc[_P],function(a){return this.ca.remove(Ej(a))});yc(Dc[_P],function(){this.ca.clear()});Dc[_P].Fc=function(){return this.ca.Fc()};Dc[_P].contains=function(a){return this.ca.Yb(Ej(a))};Dc[_P].jb=
function(){return this.ca.jb()};Dc[_P].H=function(){return new Dc(this)};var sp=function(a,b){try{var c=up(a),d="Message: "+Dd(c.message)+'\nUrl: <a href="view-source:'+c.fileName+'" target="_new">'+c.fileName+"</a>\nLine: "+c.lineNumber+"\n\nBrowser stack:\n"+Dd(c.stack+"-> ")+"[end]\n\nJS stack traversal:\n"+Dd(tp(b)+"-> ");return d}catch(e){return"Exception trying to expose exception! You win, we lose. "+e}},up=function(a){var b=Sl("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[Gc],lineNumber:"Not available",fileName:b,stack:"Not available"}:a)},tp=function(a){return Bl(a||arguments.callee.caller,[])},Bl=function(a,b){var c=[];if(fe(b,a)){c.push("[...circular reference...]")}else if(a&&b[i]<50){c.push(Al(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=va(g);break;case "boolean":f=
g?"true":"false";break;case "function":f=Al(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(Bl(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("")},Al=function(a){if(!yh[a]){var b=/function ([^\(]+)/.exec(va(a));if(b){var c=b[1],d=/^\$(.+)\$$/.exec(c);if(d){c=d[1].replace(/\${1,2}/g,".")}yh[a]=c}else{yh[a]="[Anonymous]"}}return yh[a]},
yh={};var pc=function(a,b,c){this.FC=pp++;this.pB=Da();this.nc=a;this.Dy=b;this.py=c};pc[_P].fo=null;pc[_P].eo=null;var pp=0;pc[_P].bk=function(){return this.py};pc[_P].Yv=function(){return this.fo};pc[_P].xA=function(a){this.fo=a};pc[_P].Zv=function(){return this.eo};pc[_P].yA=function(a){this.eo=a};pc[_P].sh=function(){return this.nc};pc[_P].ql=function(a){this.nc=a};pc[_P].Do=function(){return this.Dy};pc[_P].Eo=function(){return this.pB};var cb=function(a){this.da=a;this.V=null;this.ha={};this.Mh=[]};cb[_P].nc=null;var Oc=function(a,b){this.name=a;cd(this,b)};$a(Oc[_P],function(){return this[Gc]});var wl=new Oc("SHOUT",1200),Ti=new Oc("SEVERE",1000),Ui=new Oc("WARNING",900),vl=new Oc("INFO",800),rp=new Oc("CONFIG",700),ul=new Oc("FINE",500),Kr=new Oc("FINER",400),Lr=new Oc("FINEST",300),qp=new Oc("ALL",0),fd=function(a){return uh(a)};cb[_P].Jm=function(a){this.Mh.push(a)};cb[_P].ir=function(a){return th(this.Mh,a)};cb[_P].od=function(){return this.V};
cb[_P].ql=function(a){this.nc=a};cb[_P].sh=function(){return this.nc};cb[_P].Uv=function(){if(this.nc){return this.nc}if(this.V){return this.V.Uv()}return null};cb[_P].Ek=function(a){if(this.nc){return a[wa]>=this.nc[wa]}if(this.V){return this.V.Ek(a)}return false};cb[_P].log=function(a,b,c){if(!this.Ek(a)){return}var d=new pc(a,va(b),this.da);if(c){d.xA(c);d.yA(sp(c,arguments.callee.caller))}this.oy(d)};cb[_P].Ma=function(a,b){this.log(Ti,a,b)};cb[_P].Ls=function(a,b){this.log(Ui,a,b)};cb[_P].Q=
function(a,b){this.log(vl,a,b)};cb[_P].ec=function(a,b){this.log(ul,a,b)};cb[_P].oy=function(a){if(!this.Ek(a.sh())){return}var b=this;while(b){b.fu(a);b=b.od()}};cb[_P].fu=function(a){for(var b=0;b<this.Mh[i];b++){this.Mh[b](a)}};cb[_P].HA=function(a){this.V=a};cb[_P].rt=function(a,b){this.ha[a]=b};var vh={},Sf=null,tl=function(){if(!Sf){Sf=new cb("");vh[""]=Sf;Sf.ql(rp)}},sl=function(){tl();return Sf},uh=function(a){tl();if(a in vh){return vh[a]}else{return op(a)}},op=function(a){var b=new cb(a),
c=a.split("."),d=c[c[i]-1];Ab(c,c[i]-1);var e=c.join("."),f=uh(e);f.rt(d,b);b.HA(f);vh[a]=b;return b};var yd=function(a){this.ji=a||"";this.cr=Da()};yd[_P].zl=true;yd[_P].cs=true;yd[_P].bs=true;yd[_P].ih=function(a){throw Error("Must override formatRecord");};var ql=function(a){var b=new Date(a.Eo());return ge(b.getFullYear()-2000)+ge(b.getMonth()+1)+ge(b.getDate())+" "+ge(b.getHours())+":"+ge(b.getMinutes())+":"+ge(b.getSeconds())+"."+ge(q.floor(b.getMilliseconds()/10))},ge=function(a){if(a<10){return"0"+a}return va(a)},rl=function(a,b){var c=a.Eo()-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},Si=function(a){yd.call(this,a)};Si.a(yd);Si[_P].ih=function(a){var b;switch(a.sh()[wa]){case wl[wa]:b="dbg-sh";break;case Ti[wa]:b="dbg-sev";break;case Ui[wa]:b="dbg-w";break;case vl[wa]:b="dbg-i";break;case ul[wa]:default:b="dbg-f";break}var c=[];c.push(this.ji," ");if(this.zl){c.push("[",ql(a),"] ")}if(this.cs){c.push("[",Cj(rl(a,this.cr)),"s] ")}if(this.bs){c.push("[",Dd(a.bk()),"] ")}c.push('<span class="',b,'">',Ph(Cj(Dd(a.Do()))));if(a.Yv()){c.push("<br>",
Ph(Cj(a.Zv())))}c.push("</span><br>");return c.join("")};var Vi=function(a){yd.call(this,a)};Vi.a(yd);Vi[_P].ih=function(a){var b=[];b.push(this.ji," ");if(this.zl){b.push("[",ql(a),"] ")}if(this.cs){b.push("[",rl(a,this.cr),"s] ")}if(this.bs){b.push("[",a.bk(),"] ")}b.push(a.Do(),"\n");return b.join("")};var Ec,s,y,Bq,ma,Ed,Hj,xm,lg,mg;(function(){var a=false,b=false,c=false,d=false,e=false,f=false,g=false,h=false,j=false,l=false,m=false,r="";if($.navigator){var x=kb.userAgent;a=typeof opera!="undefined";b=!a&&x.indexOf("MSIE")!=-1;c=!a&&x.indexOf("WebKit")!=-1;m=c&&x.indexOf("Mobile")!=-1;d=!a&&kb.product=="Gecko"&&!c;e=d&&kb.vendor=="Camino";f=!a&&x.indexOf("Konqueror")!=-1;g=f||c;var O,W;if(a){O=opera.version()}else{if(d){W=/rv\:([^\);]+)(\)|;)/}else if(b){W=/MSIE\s+([^\);]+)(\)|;)/}else if(c){W=
/WebKit\/(\S+)/}else if(f){W=/Konqueror\/([^\);]+)(\)|;)/}if(W){W.test(x);O=RegExp.$1}}r=kb.platform;h=r.indexOf("Mac")!=-1;j=r.indexOf("Win")!=-1;l=r.indexOf("Linux")!=-1}Ec=a;s=b;y=d;Bq=e;ma=c;Ed=O;Hj=h;xm=j;lg=l;mg=m})();var ym=function(a,b){return hm(a,b)},Uc=function(a){return ym(Ed,a)>=0};var fa=function(a,b){var c;if(a instanceof fa){this.Ae(b==null?a.jw():b);this.ul(a.Cw());this.wl(a.Uw());this.ll(a.Sv());this.sl(a.Lo());this.Xf(a.Ko());this.tl(a.xw().H());this.ol(a.gw())}else if(a&&(c=va(a).match(fp()))){this.Ae(!(!b));this.ul(c[1],true);this.wl(c[2],true);this.ll(c[3],true);this.sl(c[4]);this.Xf(c[5],true);this.tl(c[6]);this.ol(c[7],true)}else{this.Ae(!(!b));this.pb=new Ha(null,this,this.Mb)}};fa[_P].Nc="";fa[_P].hg="";fa[_P].cf="";fa[_P].Qf=null;fa[_P].ea="";fa[_P].pb=null;fa[_P].mf=
"";fa[_P].ay=false;fa[_P].Mb=false;$a(fa[_P],function(){if(this.qa){return this.qa}var a=[];if(this.Nc){a.push(Li(this.Nc,nl),":")}if(this.cf){a.push("//");if(this.hg){a.push(Li(this.hg,nl),"@")}a.push(ml(this.cf));if(this.Qf!=null){a.push(":",va(this.Lo()))}}if(this.ea){a.push(Li(this.ea,gp))}var b=va(this.pb);if(b){a.push("?",b)}if(this.mf){a.push("#",ml(this.mf))}return this.qa=a.join("")});fa[_P].H=function(){return new cp(this.Nc,this.hg,this.cf,this.Qf,this.ea,this.pb.H(),this.mf,this.Mb)};
fa[_P].Cw=function(){return this.Nc};fa[_P].ul=function(a,b){this.Bc();delete this.qa;this.Nc=b?Rf(a):a;if(this.Nc){this.Nc=this.Nc.replace(/:$/,"")}return this};fa[_P].Uw=function(){return this.hg};fa[_P].wl=function(a,b){this.Bc();delete this.qa;this.hg=b?Rf(a):a;return this};fa[_P].Sv=function(){return this.cf};fa[_P].ll=function(a,b){this.Bc();delete this.qa;this.cf=b?Rf(a):a;return this};fa[_P].Lo=function(){return this.Qf};fa[_P].sl=function(a){this.Bc();delete this.qa;if(a){a=Pa(a);if(Id(a)||
a<0){throw Error("Bad port number "+a);}this.Qf=a}else{this.Qf=null}return this};fa[_P].Ko=function(){return this.ea};fa[_P].Xf=function(a,b){this.Bc();delete this.qa;this.ea=b?Rf(a):a;return this};fa[_P].tl=function(a){this.Bc();delete this.qa;if(a instanceof Ha){this.pb=a;this.pb.Zl=this;this.pb.Ae(this.Mb)}else{this.pb=new Ha(a,this,this.Mb)}return this};fa[_P].xw=function(){return this.pb};fa[_P].tb=function(a,b){this.Bc();delete this.qa;this.pb.D(a,b);return this};fa[_P].gw=function(){return this.mf};
fa[_P].ol=function(a,b){this.Bc();delete this.qa;this.mf=b?Rf(a):a;return this};fa[_P].Bc=function(){if(this.ay){throw Error("Tried to modify a read-only Uri");}};fa[_P].Ae=function(a){this.Mb=a;if(this.pb){this.pb.Ae(a)}};fa[_P].jw=function(){return this.Mb};var cp=function(a,b,c,d,e,f,g,h){var j=new fa(null,h);j.ul(a);j.wl(b);j.ll(c);j.sl(d);j.Xf(e);j.tl(f);j.ol(g);return j},Rf=function(a){return a?Aj(a):""},ml=function(a){if(La(a)){return ec(a)}return null},ep=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/,Li=
function(a,b){var c=null;if(La(a)){c=a;if(!ep.test(c)){c=encodeURI(a)}if(c.search(b)>=0){c=c.replace(b,dp)}}return c},dp=function(a){var b=a.charCodeAt(0);return"%"+(b>>4&15).toString(16)+(b&15).toString(16)},Mi=null,fp=function(){if(!Mi){Mi=/^(?:([^:\/?#]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/}return Mi},nl=/[#\/\?@]/g,gp=/[\#\?]/g,Ha=function(a,b,c){this.R=new Ea;this.Zl=b;this.Mb=!(!c);if(a){var d=a.split("&");for(var e=0;e<d[i];e++){var f=d[e].split("="),
g=Aj(f[0]);g=this.nd(g);this.add(g,f[i]>1?Aj(f[1]):"")}}};Ha[_P].B=0;Ha[_P].Wa=function(){return this.B};Ha[_P].add=function(a,b){this.Ef();a=this.nd(a);if(!this.Yb(a)){this.R.D(a,b)}else{var c=this.R.ra(a);if(Ka(c)){c.push(b)}else{this.R.D(a,[c,b])}}this.B++;return this};Tg(Ha[_P],function(a){a=this.nd(a);if(this.R.Yb(a)){this.Ef();var b=this.R.ra(a);if(Ka(b)){this.B-=b[i]}else{this.B--}return this.R.remove(a)}return false});yc(Ha[_P],function(){this.Ef();this.R.clear();this.B=0});Ha[_P].Fc=function(){return this.B==
0};Ha[_P].Yb=function(a){a=this.nd(a);return this.R.Yb(a)};Ha[_P].hc=function(){var a=this.R.jb(),b=this.R.hc(),c=[];for(var d=0;d<b[i];d++){var e=a[d];if(Ka(e)){for(var f=0;f<e[i];f++){c.push(b[d])}}else{c.push(b[d])}}return c};Ha[_P].jb=function(a){var b;if(a){var c=this.nd(a);if(this.Yb(c)){var d=this.R.ra(c);if(Ka(d)){return d}else{b=[];b.push(d)}}else{b=[]}}else{var e=this.R.jb();b=[];for(var f=0;f<e[i];f++){var g=e[f];if(Ka(g)){jp(b,g)}else{b.push(g)}}}return b};Ha[_P].D=function(a,b){this.Ef();
a=this.nd(a);if(this.Yb(a)){var c=this.R.ra(a);if(Ka(c)){this.B-=c[i]}else{this.B--}}this.R.D(a,b);this.B++;return this};Ha[_P].ra=function(a,b){a=this.nd(a);if(this.Yb(a)){var c=this.R.ra(a);if(Ka(c)){return c[0]}else{return c}}else{return b}};$a(Ha[_P],function(){if(this.qa){return this.qa}var a=[],b=0,c=this.R.hc();for(var d=0;d<c[i];d++){var e=c[d],f=Bj(e),g=this.R.ra(e);if(Ka(g)){for(var h=0;h<g[i];h++){if(b>0){a.push("&")}a.push(f,"=",Bj(g[h]));b++}}else{if(b>0){a.push("&")}a.push(f,"=",Bj(g));
b++}}return this.qa=a.join("")});Ha[_P].Ef=function(){delete this.qa;if(this.Zl){delete this.Zl.qa}};Ha[_P].H=function(){var a=new Ha;a.R=this.R.H();return a};Ha[_P].nd=function(a){var b=va(a);if(this.Mb){b=b.toLowerCase()}return b};Ha[_P].Ae=function(a){var b=a&&!this.Mb;if(b){this.Ef();Sh(this.R,function(c,d,e){var f=d.toLowerCase();if(d!=f){this.remove(d);this.add(f,c)}},this)}this.Mb=a};Ha[_P].extend=function(a){for(var b=0;b<arguments[i];b++){var c=arguments[b];Sh(c,function(d,e){this.add(e,
d)},this)}};var Wa=function(a,b){nc.call(this);this.wy=b;this.Zd=[];for(var c=0;c<a;c++){this.rb(this.Xe())}};Wa.a(nc);Wa[_P].rj=null;Wa[_P].Ij=null;Wa[_P].Vf=function(a){this.rj=a};Wa[_P].Hr=function(a){this.Ij=a};Wa[_P].hb=function(){if(this.Zd[i]){return this.Zd.pop()}return this.Xe()};Wa[_P].rb=function(a){if(this.Zd[i]<this.wy){this.Zd.push(a)}else{this.Hj(a)}};Wa[_P].Xe=function(){if(this.rj){return this.rj()}else{return{}}};Wa[_P].Hj=function(a){if(this.Ij){this.Ij(a)}else{if(oe(a.c)){a.c()}else{for(var b in a){delete a[b]}}}};
Wa[_P].c=function(){if(!this.P()){Wa.h.c.call(this);var a=this.Zd;while(a[i]){this.Hj(a.pop())}this.Zd=null}};var Ta=function(a,b){ab(this,a);Ic(this,b);rd(this,this[aa])};Ta.a(nc);Ta[_P].Lc=false;Ta[_P].ye=true;Ta[_P].stopPropagation=function(){this.Lc=true};Ta[_P].preventDefault=function(){this.ye=false};var ja=function(a,b){if(a){this.Df(a,b)}};ja.a(Ta);var Dp=[1,4,2];ab(ja[_P],null);Ic(ja[_P],null);rd(ja[_P],null);yf(ja[_P],null);ja[_P].offsetX=0;ja[_P].offsetY=0;Og(ja[_P],0);Pg(ja[_P],0);Af(ja[_P],0);Bf(ja[_P],0);ja[_P].button=0;xf(ja[_P],0);ja[_P].charCode=0;ja[_P].ctrlKey=false;ja[_P].altKey=false;ja[_P].shiftKey=false;ja[_P].metaKey=false;ja[_P].Va=null;ja[_P].Df=function(a,b){ab(this,a[I]);Ic(this,a[aa]||a[Qd]);rd(this,b);if(a.relatedTarget){yf(this,a.relatedTarget)}else if(this[I]==We){yf(this,
a.fromElement)}else if(this[I]==ie){yf(this,a.toElement)}else{yf(this,null)}this.offsetX=typeof a.layerX=="number"?a.layerX:a.offsetX;this.offsetY=typeof a.layerY=="number"?a.layerY:a.offsetY;Og(this,typeof a[lb]=="number"?a[lb]:a.pageX);Pg(this,typeof a[mb]=="number"?a[mb]:a.pageY);Af(this,a[ic]||0);Bf(this,a[jc]||0);this.button=a[rf];xf(this,a[Za]||0);this.charCode=a[zg]||(this[I]==Ve?a[Za]:0);this.ctrlKey=a[xc];this.altKey=a[qf];this.shiftKey=a[Od];this.metaKey=a[ad];this.Va=a;this.ye=null;this.Lc=
null};ja[_P].Sx=function(a){if(s){return!(!(this.Va[rf]&Dp[a]))}else{return this.Va[rf]==a}return false};ja[_P].stopPropagation=function(){this.Lc=true;if(this.Va.stopPropagation){this.Va.stopPropagation()}else{this.Va.cancelBubble=true}};ja[_P].preventDefault=function(){this.ye=false;if(!this.Va.preventDefault){zf(this.Va,false);try{xf(this.Va,-1)}catch(a){}}else{this.Va.preventDefault()}};ja[_P].hd=function(){return this.Va};ja[_P].c=function(){if(!this.P()){Ta[_P].c.call(this);this.Va=null}};var Xb=function(){},Fp=0;Xb[_P].Bk=null;Xb[_P].vd=null;Xb[_P].Vq=null;Xb[_P].src=null;ab(Xb[_P],null);Xb[_P].capture=null;Xb[_P].Bf=null;Xb[_P].nb=0;Xb[_P].we=false;Xb[_P].an=false;Xb[_P].Df=function(a,b,c,d,e,f){if(oe(a)){this.Bk=true}else if(a&&a.jc&&oe(a.jc)){this.Bk=false}else{throw Error("Invalid listener argument");}this.vd=a;this.Vq=b;this.src=c;ab(this,d);this.capture=!(!e);this.Bf=f;this.an=false;this.nb=++Fp;this.we=false};Xb[_P].jc=function(a){if(this.Bk){return this.vd.call(this.Bf||this.src,
a)}return this.vd.jc.call(this.vd,a)};var Ze={},Db={},hd={},$e=new Wa(0,600);$e.Vf(function(){return{B:0}});$e.Hr(function(a){a.B=0});var ke=new Wa(0,600);ke.Vf(function(){return[]});ke.Hr(function(a){Ab(a,0);delete a.Gf;delete a.Qk});var Ol=new Wa(0,600);Ol.Vf(function(){var a=function(b){return Lp.call(a.src,a.nb,b)};return a});var Ip=function(){return new Xb},cj=new Wa(0,600);cj.Vf(Ip);var Gp=function(){return new ja},Hp=function(){var a=null;if(s){a=new Wa(0,600);a.Vf(Gp)}return a},Ll=Hp(),Np="on",dj={},w=function(a,b,c,d,e){if(Ka(b)){for(var f=
0;f<b[i];f++){w(a,b[f],c,d,e)}return null}var g=!(!d),h=Db;if(!(b in h)){h[b]=$e.hb()}h=h[b];if(!(g in h)){h[g]=$e.hb();h.B++}h=h[g];var j=Pb(a),l,m;if(!h[j]){l=(h[j]=ke.hb());h.B++}else{l=h[j];for(var f=0;f<l[i];f++){m=l[f];if(m.vd==c&&m.Bf==e){if(m.we){break}return l[f].nb}}}var r=Ol.hb();r.src=a;m=cj.hb();m.Df(c,r,a,b,g,e);var x=m.nb;r.nb=x;l.push(m);Ze[x]=m;if(!hd[j]){hd[j]=ke.hb()}hd[j].push(m);if(a.addEventListener){if(a==$||!a.yj){a.addEventListener(b,r,g)}}else{a.attachEvent(Nl(b),r)}return x},
pb=function(a,b,c,d,e){if(Ka(b)){for(var f=0;f<b[i];f++){pb(a,b[f],c,d,e)}return null}var g=!(!d),h=Ml(a,b,g);if(!h){return false}for(var f=0;f<h[i];f++){if(h[f].vd==c&&h[f][sf]==g&&h[f].Bf==e){return Ua(h[f].nb)}}return false},Ua=function(a){if(!Ze[a]){return false}var b=Ze[a];if(b.we){return false}var c=b.src,d=b[I],e=b.Vq,f=b[sf];if(c.removeEventListener){if(c==$||!c.yj){c.removeEventListener(d,e,f)}}else if(c.detachEvent){c.detachEvent(Nl(d),e)}var g=Pb(c),h=Db[d][f][g];if(hd[g]){var j=hd[g];
th(j,b);if(j[i]==0){delete hd[g]}}b.we=true;h.Qk=true;Kl(d,f,g,h);delete Ze[a];return true},Kl=function(a,b,c,d){if(!d.Gf){if(d.Qk){for(var e=0,f=0;e<d[i];e++){if(d[e].we){cj.rb(d[e]);continue}if(e!=f){d[f]=d[e]}f++}Ab(d,f);d.Qk=false;if(f==0){ke.rb(d);delete Db[a][b][c];Db[a][b].B--;if(Db[a][b].B==0){$e.rb(Db[a][b]);delete Db[a][b];Db[a].B--}if(Db[a].B==0){$e.rb(Db[a]);delete Db[a]}}}}},ej=function(a,b,c){var d=0,e=a==null,f=b==null,g=c==null;c=!(!c);if(!e){var h=Pb(a);if(hd[h]){var j=hd[h];for(var l=
j[i]-1;l>=0;l--){var m=j[l];if((f||b==m[I])&&(g||c==m[sf])){Ua(m.nb);d++}}}}else{ig(hd,function(r){for(var x=r[i]-1;x>=0;x--){var O=r[x];if((f||b==O[I])&&(g||c==O[sf])){Ua(O.nb);d++}}})}return d},Ml=function(a,b,c){var d=Db;if(b in d){d=d[b];if(c in d){d=d[c];var e=Pb(a);if(d[e]){return d[e]}}}return null},Kp=function(a,b,c,d,e){var f=!(!d),g=Ml(a,b,f);if(g){for(var h=0;h<g[i];h++){if(g[h].vd==c&&g[h][sf]==f&&g[h].Bf==e){return g[h]}}}return null},hb="click",sc="mousedown",Ad="mouseup",We="mouseover",
ie="mouseout",Ch="mousemove",Ve="keypress",Ue="keydown",Ep=s?"focusin":"DOMFocusIn",je="resize",Nl=function(a){if(a in dj){return dj[a]}return dj[a]=Np+a},Ye=function(a,b,c,d){var e=1,f=Db;if(b in f){f=f[b];if(c in f){f=f[c];var g=Pb(a);if(f[g]){var h=f[g];if(!h.Gf){h.Gf=1}else{h.Gf++}try{var j=h[i];for(var l=0;l<j;l++){var m=h[l];if(m&&!m.we){e&=bj(m,d)!==false}}}finally{h.Gf--;Kl(b,c,g,h)}}}}return vg(e)},bj=function(a,b){var c=a.jc(b);if(a.an){Ua(a.nb)}return c},Jp=function(a,b){if(La(b)){b=new Ta(b,
a)}else if(!(b instanceof Ta)){var c=b;b=new Ta(b[I],a);lq(b,c)}else{Ic(b,b[aa]||a)}var d=1,e,f=b[I],g=Db;if(!(f in g)){return true}g=g[f];var h=true in g,j=false in g;if(h){e=[];for(var l=a;l;l=l.vf()){e.push(l)}for(var m=e[i]-1;!b.Lc&&m>=0;m--){rd(b,e[m]);d&=Ye(e[m],b[I],true,b)&&b.ye!=false}}if(j){if(h){for(var m=0;!b.Lc&&m<e[i];m++){rd(b,e[m]);d&=Ye(e[m],b[I],false,b)&&b.ye!=false}}else{for(var r=a;!b.Lc&&r;r=r.vf()){rd(b,r);d&=Ye(r,b[I],false,b)&&b.ye!=false}}}return vg(d)},Lp=function(a,b){if(!Ze[a]){return true}var c=
Ze[a],d=c[I],e=Db;if(!(d in e)){return true}e=e[d];var f;if(s){var g=b||Sl("window.event"),h=true in e;if(h){if(g[Za]<0||g.returnValue!=Ya){return true}Mp(g)}var j=Pb(c.src),l=Ll.hb();l.Df(g,this);f=true;try{if(h){var m=ke.hb();for(var r=l[Zc];r;r=r[n]){m.push(r)}for(var x=m[i]-1;!l.Lc&&x>=0;x--){rd(l,m[x]);f&=Ye(m[x],d,true,l)}for(var x=0;!l.Lc&&x<m[i];x++){rd(l,m[x]);f&=Ye(m[x],d,false,l)}}else{f=bj(c,l)}}finally{if(m){Ab(m,0);ke.rb(m)}l.c();Ll.rb(l)}return f}var O=new ja(b,this);try{f=bj(c,O)}finally{O.c()}return f},
Mp=function(a){var b=false;if(a[Za]==0){try{xf(a,-1);return}catch(c){b=true}}if(b||a.returnValue==Ya){zf(a,true)}};var Ja=function(a){this.A=a};Ja.a(nc);var Hl=new Wa(0,100);Ja[_P].i=function(a,b,c,d,e){if(Ka(b)){for(var f=0;f<b[i];f++){this.i(a,b[f],c,d,e)}return}var g=w(a,b,c||this,d||false,e||this.A||this);if(this.z){this.z[g]=true}else if(this.Ic){this.z=Hl.hb();this.z[this.Ic]=true;this.Ic=null;this.z[g]=true}else{this.Ic=g}};Ja[_P].Ea=function(a,b,c,d,e){if(!this.Ic&&!this.z){return}if(Ka(b)){for(var f=0;f<b[i];f++){this.Ea(a,b[f],c,d,e)}return}var g=Kp(a,b,c||this,d||false,e||this.A||this);if(g){var h=
g.nb;Ua(h);if(this.z){re(this.z,h)}else if(this.Ic==h){this.Ic=null}}};Ja[_P].Mc=function(){if(this.z){for(var a in this.z){Ua(a);delete this.z[a]}Hl.rb(this.z);this.z=null}else if(this.Ic){Ua(this.Ic)}};Ja[_P].c=function(){if(!this.P()){nc[_P].c.call(this);this.Mc()}};Ja[_P].jc=function(a){throw Error("EventHandler.handleEvent not implemented");};var P=function(){};P.a(nc);P[_P].vf=function(){return null};P[_P].addEventListener=function(a,b,c,d){w(this,a,b,c,d)};P[_P].removeEventListener=function(a,b,c,d){pb(this,a,b,c,d)};P[_P].dispatchEvent=function(a){return Jp(this,a)};P[_P].c=function(){if(!this.P()){nc[_P].c.call(this);ej(this)}};P[_P].yj=true;var bq=function(a,b){var c=a%b;return c*b<0?c+b:c},db=function(a,b){na(this,ga(a)?Pa(a):Ya);xa(this,ga(b)?Pa(b):Ya)};db[_P].H=function(){return new db(this[B],this[z])};$a(db[_P],function(){return"("+this[B]+" x "+this[z]+")"});var Xl=function(a,b){if(a==b){return true}if(!a||!b){return false}return a[B]==b[B]&&a[z]==b[z]},hg=function(a,b){this.x=ga(a)?Pa(a):Ya;this.y=ga(b)?Pa(b):Ya};hg[_P].H=function(){return new hg(this.x,this.y)};$a(hg[_P],function(){return"("+this.x+", "+this.y+")"});var Sc=function(a,
b,c,d){nb(this,ga(a)?Pa(a):Ya);this.top=ga(b)?Pa(b):Ya;na(this,ga(c)?Pa(c):Ya);xa(this,ga(d)?Pa(d):Ya)};Sc[_P].H=function(){return new Sc(this[Ca],this.top,this[B],this[z])};$a(Sc[_P],function(){return"("+this[Ca]+", "+this.top+" - "+this[B]+"w x "+this[z]+"h)"});var Wl=function(a,b){if(a==b){return true}if(!a||!b){return false}return a[Ca]==b[Ca]&&a[B]==b[B]&&a.top==b.top&&a[z]==b[z]};Sc[_P].Xt=function(a){var b=q.max(this[Ca]+this[B],a[Ca]+a[B]),c=q.max(this.top+this[z],a.top+a[z]);nb(this,q.min(this[Ca],
a[Ca]));this.top=q.min(this.top,a.top);na(this,b-this[Ca]);xa(this,c-this.top)};var gg=function(a,b,c,d){this.top=ga(a)?Pa(a):Ya;this.right=ga(b)?Pa(b):Ya;this.bottom=ga(c)?Pa(c):Ya;nb(this,ga(d)?Pa(d):Ya)};gg[_P].H=function(){return new gg(this.top,this[Jg],this[yg],this[Ca])};$a(gg[_P],function(){return"("+this.top+"t, "+this[Jg]+"r, "+this[yg]+"b, "+this[Ca]+"l)"});gg[_P].contains=function(a){return aq(this,a)};gg[_P].expand=function(a,b,c,d){if(Lh(a)){this.top-=a.top;this.right+=a[Jg];this.bottom+=
a[yg];this.left-=a[Ca]}else{this.top-=a;this.right+=b;this.bottom+=c;this.left-=d}return this};var aq=function(a,b){if(!a||!b){return false}return b.x>=a[Ca]&&b.x<=a[Jg]&&b.y>=a.top&&b.y<=a[yg]},qe=function(a){return bq(a,360)},Yl=function(a){return a*q.PI/180};var vj=function(a,b){return b*q.cos(Yl(a))},wj=function(a,b){return b*q.sin(Yl(a))};var Yi;var Re=function(){if(!Yi){Yi=new za}return Yi},vb=function(a){return a?new za(ua(a)):Re()},zh=function(){return Re().k()},zp=function(a){return Re().e(a)},o=zp,Ap=function(a,b,c){return Re().xo(a,b,c)},zd=Ap,aj=function(a,b){ig(b,function(c,d){if(d=="style"){Fe(a[k],c)}else if(d=="class"){la(a,c)}else if(d=="for"){a.htmlFor=c}else if(d in Cl){a.setAttribute(Cl[d],c)}else{a[d]=c}})},Cl={XB:"cellPadding",YB:"cellSpacing",ZB:"colSpan",CC:"rowSpan",QC:"vAlign",height:"height",width:"width",PC:"useMap",
jC:"frameBorder"},Te=function(a){var b=a||$||window,c=b[ha];if(ma&&!Uc("500")&&!mg){if(typeof b[vf]=="undefined"){b=window}var d=b[vf],e=b[ha][od][wf];if(b==b.top){if(e<d){d-=15}}return new db(b.innerWidth,d)}var f=vb(c),g=f.Iv()=="CSS1Compat"&&(!Ec||Ec&&Uc("9.50"))?c[od]:c[A];return new db(g[Ub],g[Kb])},Xf=function(a){var b=a||$||window,c=b[ha],d,e;if(!ma&&c[xe]=="CSS1Compat"){d=c[od][gi];e=c[od][Kg]}else{d=c[A][gi];e=c[A][Kg]}return new hg(d,e)},Yf=function(a){if(ma&&!Uc("500")&&!mg){return null}else{return a.parentWindow||
a[$c]}},Qe=function(a,b){var c=Re();return c.l.apply(c,arguments)};var Pc=function(a,b){a.appendChild(b)},$i=function(a){var b;while(b=a[Z]){a.removeChild(b)}},Zf=function(a,b){if(b[n]){b[n].insertBefore(a,b)}},Bh=function(a,b){if(b[n]){b[n].insertBefore(a,b[gb])}},U=function(a){return a[n]?a[n].removeChild(a):null},Wf=function(a){return Fl(a[Z],true)};var Ah=function(a){return Fl(a[gb],true)};var Fl=function(a,b){while(a&&a[R]!=1){a=b?a[gb]:a[Hc]}return a};var vp=ma&&ym(Ed,"521")<=0,gd=function(a,
b){if(typeof a.contains!="undefined"&&!vp&&b[R]==1){return a==b||a.contains(b)}if(typeof a.compareDocumentPosition!="undefined"){return a==b||vg(a.compareDocumentPosition(b)&16)}while(b&&a!=b){b=b[n]}return b==a},xp=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[R]==1,d=b[R]==1,e=c?a[Mg]:a[n][Mg],f=d?b[Mg]:b[n][Mg];if(e!=f){return e-f}else{if(c){return-1}if(d){return 1}var g=b;while(g=
g[Hc]){if(g==a){return-1}}return 1}}var h=ua(a),j,l;j=h.createRange();j.selectNode(a);j.collapse(true);l=h.createRange();l.selectNode(b);l.collapse(true);return j.compareBoundaryPoints(Range.START_TO_END,l)},ua=function(a){return a[R]==9?a:a[ea]||a[ha]};var rc=function(a,b){if("textContent"in a){a.textContent=b}else if(a[Z]&&a[Z][R]==3){while(a[pd]!=a[Z]){a.removeChild(a[pd])}Qg(a[Z],b)}else{while(a.hasChildNodes()){a.removeChild(a[pd])}var c=ua(a);a.appendChild(c.createTextNode(b))}},Vf=function(a,
b){var c=[];Zi(a,b,c,true);return c[i]?c[0]:Ya},yp=function(a,b){var c=[];Zi(a,b,c,false);return c},Zi=function(a,b,c,d){if(a!=null){for(var e=0,f;f=a[ia][e];e++){if(b(f)){c.push(f);if(d){return}}Zi(f,b,c,d)}}},wp={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Dl={IMG:" ",BR:"\n"},Se=function(a){if(s&&"innerText"in a){return a[Eg].replace(/(\r\n|\r|\n)/g,"\n")}var b=[];Gl(a,b,true);var c=b.join("").replace(/ +/g," ");if(c!=" "){c=c.replace(/^\s*/,"")}return c},Gl=function(a,b,c){if(a[qa]in wp){}else if(a[R]==
3){if(c){b.push(va(a[hc]).replace(/(\r\n|\r|\n)/g,""))}else{b.push(a[hc])}}else if(a[qa]in Dl){b.push(Dl[a[qa]])}else{var d=a[Z];while(d){Gl(d,b,c);d=d[gb]}}};var za=function(a){this.Fa=a||$[ha]||S};za[_P].sf=vb;za[_P].k=function(){return this.Fa};za[_P].e=function(a){if(La(a)){return this.Fa.getElementById(a)}else{return a}};za[_P].Rs=za[_P].e;za[_P].xo=function(a,b,c){var d=a||"*",e=c||this.Fa,f=e.getElementsByTagName(d);if(b){var g=[];for(var h=0,j;j=f[h];h++){var l=j[Jb];if(typeof l.split=="function"&&
fe(l.split(" "),b)){g.push(j)}}return g}else{return f}};za[_P].Tc=za[_P].xo;za[_P].l=function(a,b){if(s&&b&&b[Gc]){a="<"+a+' name="'+Dd(b[Gc])+'">'}var c=this.createElement(a);if(b){aj(c,b)}if(arguments[i]>2){function d(g){if(g){this.appendChild(c,La(g)?this.createTextNode(g):g)}}for(var e=2;e<arguments[i];e++){var f=arguments[e];if((Jh(f)||ma&&typeof f=="function"&&typeof f[i]=="number")&&!(Lh(f)&&f[R]>0)){oc(Ka(f)?f:hp(f),d,this)}else{d.call(this,f)}}}return c};za[_P].createElement=function(a){return this.Fa.createElement(a)};
za[_P].createTextNode=function(a){return this.Fa.createTextNode(a)};za[_P].Iv=function(){if(this.Fa[xe]){return this.Fa[xe]}if(ma){var a=this.l("div",{style:"position:absolute;width:0;height:0;width:1"}),b=a[k][B]=="1px"?"BackCompat":"CSS1Compat";return this.Fa.compatMode=b}return"BackCompat"};za[_P].appendChild=Pc;za[_P].qC=Zf;za[_P].pC=Bh;za[_P].removeNode=U;za[_P].ew=Wf;za[_P].rw=Ah;za[_P].contains=gd;za[_P].vh=ua;za[_P].RA=rc;za[_P].Qw=Se;var J=function(a){P.call(this);this.g=a||vb()};J.a(P);var Aq=0,Vh="Component already rendered",vm="Unable to set parent component",um="Operation not supported while component is not in document";J[_P].t=null;J[_P].g=null;J[_P].lb=false;J[_P].b=null;J[_P].Ay=null;J[_P].V=null;J[_P].ha=null;J[_P].Ab=null;J[_P].Ms=null;J[_P].v=function(){return this.t||(this.t=this.sw())};J[_P].Wf=function(a){if(this.V&&this.V.Ab){re(this.V.Ab,this.t);am(this.V.Ab,a,this)}this.t=a};J[_P].Ia=function(){return"goog.ui.Component"};
J[_P].e=function(){return this.b};J[_P].Or=function(a){if(this==a){throw Error(vm);}if(a&&this.V&&this.V.kd(this.t)){throw Error(vm);}this.V=a};J[_P].od=function(){return this.V};J[_P].vf=function(){return this.V};J[_P].ba=function(){return this.lb};J[_P].l=function(){this.b=this.g.createElement("div")};J[_P].sb=function(a){this.kr(a)};J[_P].kr=function(a,b){if(this.lb){throw Error(Vh);}if(!this.b){this.l()}if(a){a.insertBefore(this.b,b||null)}else{this.g.k()[A].appendChild(this.b)}if(!this.V||this.V.ba()){this.K()}};
J[_P].Gn=function(a){if(this.lb){throw Error(Vh);}else if(a&&this.xg(a)){this.Ms=true;if(!this.g||this.g.k()!=ua(a)){this.g=vb(a)}this.Hn(a);this.K()}else{throw Error("Invalid element to decorate");}};J[_P].xg=function(a){return true};J[_P].Hn=function(a){this.b=a};J[_P].K=function(){this.lb=true;this.Ha(function(a){if(a.e()){a.K()}})};J[_P].ka=function(){this.Ha(function(a){if(a.ba()){a.ka()}});this.lb=false};J[_P].c=function(){if(!this.P()){J.h.c.call(this);if(this.lb){this.ka()}this.Ha(function(a){a.c()});
if(!this.Ms&&this.b){U(this.b)}this.ha=null;this.Ab=null;this.b=null;this.Ay=null;this.V=null}};J[_P].Tp=function(a){return this.v()+"."+a};J[_P].wo=function(a){if(!this.lb){throw Error(um);}return this.g.e(this.Tp(a))};J[_P].sw=function(){return":"+Aq++};J[_P].ot=function(a,b){this.Qi(a,this.nh(),b)};J[_P].Qi=function(a,b,c){if(a.lb&&(c||!this.lb)){throw Error(Vh);}if(b<0||b>this.nh()){throw Error("Child component index out of bounds");}a.Or(this);if(!this.Ab||!this.ha){this.Ab={};this.ha=[]}am(this.Ab,
a.v(),a);pl(this.ha,a,b);if(c){if(!this.b){this.l()}var d=this.rf(b+1);a.kr(this.b,d?d.b:null)}else{if(this.lb&&!a.lb&&a.b){a.K()}}};J[_P].nh=function(){return this.ha?this.ha[i]:0};J[_P].kd=function(a){return this.Ab&&a?cm(this.Ab,a)||null:null};J[_P].rf=function(a){return this.ha?this.ha[a]||null:null};J[_P].Ha=function(a,b){if(this.ha){oc(this.ha,a,b)}};J[_P].wk=function(a){return this.ha&&a?sh(this.ha,a):-1};J[_P].removeChild=function(a,b){if(a){var c=La(a)?a:a.v();a=this.kd(c);if(c&&a){re(this.Ab,
c);th(this.ha,a);if(b){a.ka();if(a.b){U(a.b)}}a.Or(null)}}if(!a){throw Error("Child is not in parent component");}return a};;;var ed=function(a,b){P.call(this);this.sd=a||1;this.cg=b||ee;this.Zi=E(this.oB,this);this.Lk=Da()};ed.a(P);ed[_P].enabled=false;var ee=$.window,bp=0.8;ed[_P].Qc=null;ed[_P].setInterval=function(a){this.sd=a;if(this.Qc&&this.enabled){this.stop();this.start()}else if(this.Qc){this.stop()}};ed[_P].oB=function(){if(this.enabled){var a=Da()-this.Lk;if(a>0&&a<this.sd*bp){this.Qc=this.cg.setTimeout(this.Zi,this.sd-a);return}this.fv();if(this.enabled){this.Qc=this.cg.setTimeout(this.Zi,this.sd);this.Lk=Da()}}};
ed[_P].fv=function(){this.dispatchEvent("tick")};Cf(ed[_P],function(){this.enabled=true;if(!this.Qc){this.Qc=this.cg.setTimeout(this.Zi,this.sd);this.Lk=Da()}});Ug(ed[_P],function(){this.enabled=false;this.cg.clearTimeout(this.Qc);this.Qc=null});ed[_P].c=function(){if(!this.P()){P[_P].c.call(this);this.stop();this.cg=null}};var Qf=function(a,b,c){if(oe(a)){if(c){a=E(a,c)}}else if(a&&typeof a.jc=="function"){a=E(a.jc,a)}else{throw Error("Invalid listener argument");}return ee.setTimeout(a,b||0)},ap=
function(a){ee.clearTimeout(a)};var gq=null,hq=null,dq=null,iq=function(a,b){gq=a;hq=b;dq=null},eq=function(){var a=Zl();if(a){return new ActiveXObject(a)}else{return new XMLHttpRequest}},fq=function(){var a=Zl(),b={};if(a){b[0]=true;b[1]=true}return b};iq(eq,fq);var xj=null,Zl=function(){if(!xj&&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);xj=c;return c}catch(d){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");
}return xj};;var cq=function(){if(!y)return;this.$B={};this.RC={};this.xi=[]};cq[_P].w=fd("goog.net.xhrMonitor");;var Vb=function(a,b,c){this.M=a;this.sd=b||0;this.A=c;this.hu=E(this.Sn,this)};Vb.a(nc);Vb[_P].t=0;Vb[_P].c=function(){if(!this.P()){Vb.h.c.call(this);this.stop();this.M=null;this.A=null}};Cf(Vb[_P],function(a){this.stop();this.t=Qf(this.hu,ga(a)?a:this.sd)});Ug(Vb[_P],function(){if(this.vp()){ap(this.t)}this.t=0});Vb[_P].Av=function(){this.Sn();this.stop()};Vb[_P].jo=function(){if(this.vp()){this.Av()}};Vb[_P].vp=function(){return this.t!=0};Vb[_P].Sn=function(){this.t=0;if(this.M){this.M.call(this.A)}};var Rl=function(a){return 1-q.pow(1-a,3)},wb=function(a,b,c,d){P.call(this);if(!Ka(a)||!Ka(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.Yf=a;this.ov=b;this.Nj=c;this.Em=d;this.$c=[]};wb.a(P);var af=[],le=null,Pl=function(){ee.clearTimeout(le);var a=Da();oc(af,function(b){if(b){b.En(a)}});le=af[i]==0?null:ee.setTimeout(Pl,20)},Pp=function(a){if(!fe(af,a)){af.push(a)}if(le==null){le=ee.setInterval(Pl,
20)}},Dh=function(a){th(af,a);if(af[i][i]==0&&le!=null){ee.clearInterval(le);le=null}};wb[_P].Da=0;wb[_P].mo=0;wb[_P].Za=0;wb[_P].Sb=null;wb[_P].bo=null;wb[_P].Hk=null;wb[_P].play=function(a){if(a||this.Da==0){this.Za=0;this.$c=this.Yf}else if(this.Da==1){return false}Dh(this);this.Sb=Da();if(this.Da==-1){this.Sb-=this.Nj*this.Za}this.bo=this.Sb+this.Nj;this.Hk=this.Sb;if(this.Za==0){this.Eb("begin")}this.Eb("play");if(this.Da==-1){this.Eb("resume")}this.Da=1;Pp(this);this.En(this.Sb);return true};
Ug(wb[_P],function(a){Dh(this);this.Da=0;if(a)this.Za=1;this.Vl(this.Za);this.Eb("stop");this.Eb("end")});wb[_P].pause=function(){if(this.Da==1){Dh(this);this.Da=-1;this.Eb("pause")}};wb[_P].Aj=function(){this.stop();this.Eb("destroy");ej(this);for(var a in this){this[a]=null;delete this[a]}};wb[_P].En=function(a){this.Za=(a-this.Sb)/(this.bo-this.Sb);if(this.Za>=1)this.Za=1;this.mo=1000/(a-this.Hk);this.Hk=a;if(oe(this.Em)){this.Vl(this.Em(this.Za))}else{this.Vl(this.Za)}if(this.Za==1){this.Da=0;
this.Eb("finish");this.Eb("end");Dh(this)}else if(this.Da==1){this.Eb("animate")}};wb[_P].Vl=function(a){this.$c=new Array(this.Yf[i]);for(var b=0;b<this.Yf[i];b++){this.$c[b]=(this.ov[b]-this.Yf[b])*a+this.Yf[b]}};wb[_P].Eb=function(a){this.dispatchEvent(new Ql(a,this))};var Ql=function(a,b){Ta.call(this,a);this.coords=b.$c;this.x=b.$c[0];this.y=b.$c[1];this.SC=b.$c[2];this.dC=b.Nj;this.xC=b.Za;this.iC=b.mo;this.He=b.Da;this.QB=b};Ql.a(Ta);;var H=function(a,b,c){a[k][Uh(b)]=c},ef=function(a,b){return a[k][Uh(b)]},wq=function(a,b){var c=ua(a);if(c[$c]&&c[$c].getComputedStyle){var d=c[$c].getComputedStyle(a,"");if(d){return d[b]}}return null};var Th=function(a,b,c){var d,e;if(b instanceof hg){d=b.x;e=b.y}else{d=b;e=c}nb(a[k],typeof d=="number"?q.round(d)+"px":d);a[k].top=typeof e=="number"?q.round(e)+"px":e},tm=function(a){var b;if(a){if(a[R]==9){b=a}else{b=ua(a)}}else{b=zh()}if(s&&b[xe]!="CSS1Compat"){return b[A]}return b[od]};var Tc=
function(a,b,c){var d;if(b instanceof db){d=b[z];b=b[B]}else{d=c}na(a[k],typeof b=="number"?q.round(b)+"px":b);xa(a[k],typeof d=="number"?q.round(d)+"px":d)},tc=function(a){if((wq(a,"display")||(a[Kd]?a[Kd].display:null)||a[k].display)!="none"){return new db(a[Ce],a[bd])}var b=a[k],c=b.visibility,d=b.position;Vg(b,"hidden");Sd(b,"absolute");ta(b,"");var e=a[Ce],f=a[bd];ta(b,"none");Sd(b,d);Vg(b,c);return new db(e,f)},Uh=function(a){return va(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})},
ff=function(a,b){var c=a[k];if("opacity"in c){Sg(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+")"}},X=function(a,b){ta(a[k],b?"":"none")},xq=function(a,b){var c=vb(b),d=null;if(s){d=c.k().createStyleSheet()}else{var e=c.Tc("head")[0];if(!e){var f=c.Tc("body")[0];e=c.l("head");f[n].insertBefore(e,f)}d=c.l("style");c.appendChild(e,d)}yq(d,a);return d},yq=function(a,b){if(s){Fe(a,b)}else{var c=ma?"innerText":
"innerHTML";a[c]=b}};var ag=function(a,b,c,d,e){wb.call(this,b,c,d,e);this.ff=a};ag.a(wb);var Eh=function(a,b,c,d,e){ag.call(this,a,[b],[c],d,e);var f=["begin","animate","end"];w(this,f,this.Wz,false,this)};Eh.a(ag);Eh[_P].Wz=function(a){xa(this.ff[k],q.round(a.x)+"px")};var bf=function(a,b,c,d,e){if(Kh(b))b=[b];if(Kh(c))c=[c];ag.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"];w(this,f,this.vv,false,this)};bf.a(ag);bf[_P].vv=function(a){ff(this.ff,
a.x)};bf[_P].sc=function(a){ta(this.ff[k],"")};bf[_P].kc=function(a){ta(this.ff[k],"none")};var gj=function(a,b,c){bf.call(this,a,1,0,b,c);w(this,"begin",this.sc,false,this);w(this,"end",this.kc,false,this)};gj.a(bf);var Rc=function(a,b,c){Ic(this,a);this.jk=b||a;this.Ac=true;this.df=false;this.Mk=c||new Sc;this.Fa=this[aa][ea]||this[aa][ha];Af(this,0);Bf(this,0);this.$e=0;this.af=0;w(this.jk,sc,this.hs,true,this);w(this.Fa,Ch,this.fq,false,this);w(this.Fa,Ad,this.ao,false,this)};Rc.a(P);Rc[_P].Ir=function(a){this.Ac=a};Rc[_P].c=function(){if(this.P())return;P[_P].c.call(this);pb(this.jk,sc,this.hs,true,this);pb(this.Fa,Ch,this.fq,false,this);pb(this.Fa,Ad,this.ao,false,this);delete this[aa];delete this.jk};Rc[_P].hs=
function(a){if(this.Ac&&!this.df){var b=this.dispatchEvent(new $f("start",this,a[lb],a[mb],a));if(b!==false){Af(this,a[ic]);Bf(this,a[jc]);this.$e=this[aa][ei];this.af=this[aa][fi];this.df=true;a.preventDefault()}}};Rc[_P].ao=function(a){if(this.df){this.df=false;var b=this.Op(this.$e),c=this.Pp(this.af);this.dispatchEvent(new $f("end",this,a[lb],a[mb],a,b,c))}};Rc[_P].fq=function(a){if(this.df&&this.Ac){var b=a[ic]-this[ic],c=a[jc]-this[jc];this.$e+=b;this.af+=c;var d=this.Op(this.$e),e=this.Pp(this.af);
Af(this,a[ic]);Bf(this,a[jc]);var f=this.dispatchEvent(new $f("beforedrag",this,a[lb],a[mb],a,d,e));if(f!==false){this.Yu(d,e);this.dispatchEvent(new $f("drag",this,a[lb],a[mb],a,d,e));a.preventDefault()}}};Rc[_P].Op=function(a){var b=this.Mk,c=typeof b[Ca]!="undefined"?b[Ca]:null,d=typeof b[B]!="undefined"?b[B]:0,e=c!=null?c+d:wg,f=c!=null?c:-wg;return q.min(e,q.max(f,a))};Rc[_P].Pp=function(a){var b=this.Mk,c=typeof b.top!="undefined"?b.top:null,d=typeof b[z]!="undefined"?b[z]:0,e=c!=null?c+d:wg,
f=c!=null?c:-wg;return q.min(e,q.max(f,a))};Rc[_P].Yu=function(a,b){nb(this[aa][k],a+"px");this[aa][k].top=b+"px"};var $f=function(a,b,c,d,e,f,g){Ta.call(this,a);ab(this,a);Og(this,c);Pg(this,d);this.Yt=e;nb(this,ga(f)?f:b.$e);this.top=ga(g)?g:b.af;this.cC=b};$f.a(Ta);var Uf=function(a,b){la(a,b)},Tf=function(a){var b=a[Jb];return b&&typeof b.split=="function"?b.split(" "):[]},Sa=function(a,b){var c=Tf(a),d=Ni(arguments,1),e=1;for(var f=0;f<d[i];f++){if(!fe(c,d[f])){c.push(d[f]);e&=1}else{e&=0}}la(a,c.join(" "));return vg(e)},Wb=function(a,b){var c=Tf(a),d=Ni(arguments,1),e=0;for(var f=0;f<c[i];f++){if(fe(d,c[f])){Oi(c,f--,1);e++}}la(a,c.join(" "));return e==d[i]},Cb=function(a,b){return fe(Tf(a),b)};var Bp=function(a,b){var c=a[ea]||a[ha];if(Cp(a)){a.selectionStart=b;a.selectionEnd=b}else if(c[Lg]&&a.createTextRange){var d=a.createTextRange();d.collapse(true);d.move("character",b);d.select()}},Cp=function(a){try{return typeof a.selectionStart=="number"}catch(b){return false}};;var El=function(a,b){if(y){a.setAttributeNS("http://www.w3.org/1999/xhtml","role","wairole:"+b);a.BC=b}},Xi=function(a,b,c){if(y){a.setAttributeNS("http://www.w3.org/2005/07/aaa",b,c)}};var qb=function(){this.Xc=s?[]:"";for(var a=0;a<arguments[i];a++){this.f(arguments[a])}};qb[_P].f=function(){if(s){for(var a=0;a<arguments[i];a++){this.Xc.push(arguments[a])}}else{for(var a=0;a<arguments[i];a++){this.Xc+=arguments[a]}}return this};yc(qb[_P],function(){if(s){Ab(this.Xc,0)}else{this.Xc=""}});$a(qb[_P],function(){if(s){var a=this.Xc.join("");this.clear();if(a){this.Xc.push(a)}return a}else{return this.Xc}});var cc=function(a){this.Ok=a||100;this.wc=[]};cc[_P].Mf=0;cc[_P].add=function(a){this.wc[this.Mf]=a;this.Mf=(this.Mf+1)%this.Ok};cc[_P].ra=function(a){a=this.kq(a);return this.wc[a]};cc[_P].D=function(a,b){a=this.kq(a);this.wc[a]=b};cc[_P].Wa=function(){return this.wc[i]};cc[_P].Fc=function(){return this.wc[i]==0};yc(cc[_P],function(){Ab(this.wc,0);this.Mf=0});cc[_P].jb=function(){return this.qw(this.Wa())};cc[_P].qw=function(a){var b=this.Wa(),c=this.Wa()-a,d=[];for(var e=c;e<b;e++){d[e]=this.ra(e)}return d};
cc[_P].hc=function(){var a=[],b=this.Wa();for(var c=0;c<b;c++){a[c]=c}return a};cc[_P].Yb=function(a){return a<this.Wa()};cc[_P].kq=function(a){if(a>=this.wc[i]){throw Error("Out of bounds exception");}if(this.wc[i]<this.Ok){return a}return(this.Mf+Pa(a))%this.Ok};var Ia=function(a,b){this.Qh=a||"";this.ji=b||"";this.Wk=[];this.hl=new cc(500);this.Rf=E(this.Tk,this);this.jh=new Si(this.ji);this.xv={};this.jl(true);this.Ac=this.to("enabled")=="1";$.setInterval(E(this.eA,this),7500)};Ia[_P].KB="LOGGING";Ia[_P].q=null;Ia[_P].fm=false;Ia[_P].Rh=false;Ia[_P].Xm=null;Ia[_P].Ip=Da();Ia[_P].Df=function(){if(this.Ac){this.Vk()}};Ia[_P].Ir=function(a){this.Ac=a;if(this.Ac){this.Vk();if(this.q){this.Ps()}}this.Er("enabled",a?1:0)};Ia[_P].jl=function(a){if(a==this.Rh){return}this.Rh=
a;var b=sl();if(a){b.Jm(this.Rf)}else{b.ir(this.Rf)}};Ia[_P].Ri=function(){this.Qs("<hr>")};Ia[_P].Tk=function(a){if(this.xv[a.bk()]){return}var b=this.jh.ih(a);this.Qs(b)};Ia[_P].Qs=function(a){if(this.Ac){this.Vk();this.hl.add(a);this.gm(a)}else{this.hl.add(a)}};Ia[_P].gm=function(a){this.Wk.push(a);$.clearTimeout(this.Xm);if(Da()-this.Ip>750){this.Os()}else{this.Xm=$.setTimeout(E(this.Os,this),250)}};Ia[_P].Os=function(){this.Ip=Da();if(this.q){var a=this.q[ha][A],b=a&&a[wf]-(a[Kg]+a[Kb])<=100;
this.q[ha].write(this.Wk.join(""));Ab(this.Wk,0);if(b){this.q.scrollTo(0,1000000)}}};Ia[_P].MB=function(){var a=this.hl.jb();for(var b=0;b<a[i];b++){this.gm(a[b])}};Ia[_P].Vk=function(){if(this.q&&!this.q.closed||this.fm){return}var a=this.to("dbg","0,0,800,500").split(","),b=Pa(a[0]),c=Pa(a[1]),d=Pa(a[2]),e=Pa(a[3]);this.fm=true;this.q=window.open("","dbg"+this.Qh,"width="+d+",height="+e+",toolbar=no,resizable=yes,scrollbars=yes,left="+b+",top="+c+",status=no,screenx="+b+",screeny="+c);if(!this.q){if(!this.kB){alert("Logger popup was blocked");
this.kB=true}}this.fm=false;if(this.q){this.Ps()}};Ia[_P].Ps=function(){if(!this.q){return}this.q[ha].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.KB+"<br><small>Logger: "+this.Qh+"</small></div><hr>";this.gm(a);this.MB()};Ia[_P].Er=function(a,b){a+=this.Qh;S.cookie=a+"="+ec(b)+";expires="+
(new Date(Da()+2592000000)).toUTCString()};Ia[_P].to=function(a,b){a+=this.Qh;var c=va(S.cookie),d=c.indexOf(a+"=");if(d!=-1){var e=c.indexOf(";",d);return md(c.substring(d+a[i]+1,e==-1?c[i]:e))}else{return b||""}};Ia[_P].eA=function(){if(!this.q||this.q.closed){return}var a=this.q[ic]||this.q.screenLeft||0,b=this.q[jc]||this.q.screenTop||0,c=this.q.outerWidth||800,d=this.q.outerHeight||500;this.Er("dbg",a+","+b+","+c+","+d)};;;var Qc=function(a){P.call(this);this.b=a;var b=s?Ue:Ve;this.Vh=w(this.b,b,this);this.hy=w(this.b,"keyup",this.tx,false,this)};Qc.a(P);Qc[_P].Vh=null;Qc[_P].Ik=-1;Qc[_P].Np=0;var Jl={"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};Qc[_P].jc=function(a){var b=
a.hd(),c=b[Za],d=b.which,e=c||d;if(d){if(d>=63232&&d in Jl){e=Jl[d]}else{if(d==25&&a[Od]){e=9}else{var f=d-32;if(va.fromCharCode(d)==va.fromCharCode(f).toLowerCase()){e=f}}}}var g=e==this.Ik;this.Ik=e;if(ma&&g){if(b.timeStamp-this.Np<10){return}this.Np=b.timeStamp}var h=new Il(e,g,b);try{this.dispatchEvent(h)}finally{h.c()}};Qc[_P].tx=function(a){this.Ik=-1};Qc[_P].c=function(){if(!this.P()){Qc.h.c.call(this);Ua(this.Vh);Ua(this.hy);this.b=null}};var Il=function(a,b,c){ja.call(this,c);ab(this,"key");
xf(this,a);this.zC=b};Il.a(ja);;;;;;;;var pa=function(a,b){this.A=new Ja(this);this.wA(a);if(b){this.Ee(b)}};pa.a(P);var Gj="toggle_display";pa[_P].b=null;pa[_P].Pt=true;pa[_P].le=false;pa[_P].Lp=-1;pa[_P].Kp=-1;pa[_P].$=Gj;pa[_P].ee=function(){return this.$};pa[_P].Ee=function(a){this.$=a};pa[_P].e=function(){return this.b};pa[_P].wA=function(a){this.rv();this.b=a};pa[_P].rv=function(){if(this.le){throw Error("Can not change this state of the popup while showing.");}};pa[_P].ke=function(){return this.le};pa[_P].Rb=function(a){if(a){if(!this.b){throw Error("Caller must call setElement before trying to show thepopup");
}this.Cl()}else{this.tk()}};pa[_P].lr=function(){};pa[_P].Cl=function(){if(this.le){return}if(!this.Hy()){return}this.lr();if(this.Pt){var a=ua(this.b);this.A.i(a,sc,this.tq,true);if(s){var b=a[pf];while(b&&b[qa]=="IFRAME"){try{var c=ma?b[ha]||b[ye][ha]:b.contentDocument||b[ye][ha]}catch(d){break}a=c;b=a[pf]}this.A.i(a,sc,this.tq,true);this.A.i(a,"deactivate",this.sq)}else{this.A.i(a,"blur",this.sq)}}if(this.$==Gj){Vg(this.b[k],"visible");X(this.b,true)}else if(this.$=="move_offscreen"){this.lr()}this.le=
true;this.ei()};pa[_P].tk=function(a){if(this.le){if(!this.Gy(a)){return}if(this.A){this.A.Mc()}if(this.$==Gj){Vg(this.b[k],"hidden");X(this.b,false)}else if(this.$=="move_offscreen"){this.Cy()}this.le=false;this.Sy()}};pa[_P].Cy=function(){nb(this.b[k],"-200px");this.b[k].top="-200px"};pa[_P].Hy=function(){return this.dispatchEvent("beforeshow")};pa[_P].ei=function(){this.Lp=Da();this.Kp=-1;this.dispatchEvent("show")};pa[_P].Gy=function(a){return this.dispatchEvent({type:"beforehide",target:a})};
pa[_P].Sy=function(){this.Kp=Da();this.dispatchEvent("hide")};pa[_P].tq=function(a){if(!gd(this.b,a[aa])){this.tk(a[aa])}};pa[_P].sq=function(a){var b=ua(this.b);if(s){var c=b[pf];if(c&&gd(this.b,c)){return}}else if(a[aa]!=b){return}if(Da()-this.Lp<150){return}this.tk()};pa[_P].c=function(){if(!this.P()){pa.h.c.call(this);this.A.c();this.b=null;this.A=null}};;;var he=function(){this.Gb=[];this.Xk=new Ea;this.Sb=0;this.zs=0;this.ys=0;this.Tl=0;this.Ed=new Ea;this.xs=0;this.kj=0;this.Ey=1;this.ah=new Wa(0,4000);this.ah.Xe=function(){return new Wi};this.Fl=new Wa(0,50);this.Fl.Xe=function(){return new xl};var a=this;this.uk=new Wa(0,2000);this.uk.Xe=function(){return va(a.Ey++)};this.uk.Hj=function(){};this.Zu=3};he[_P].w=fd("goog.debug.Trace");var xl=function(){this.eb=0;this.ps=0;this.dm=0};$a(xl[_P],function(){var a=[];a.push(this[I]);a.push(" ");a.push(this.eb);
a.push(" (");a.push(q.round(this.ps*10)/10);a.push(" ms)");if(this.dm){a.push(" [VarAlloc = ");a.push(this.dm);a.push("]")}return a.join("")});var Wi=function(){};Wi[_P].qB=function(a,b,c){var d=[];if(b==-1){d.push("    ")}else{d.push(zl(this.bh-b))}d.push(" ");d.push(yl(this.bh-a));if(this.dh==0){d.push(" Start        ")}else if(this.dh==1){d.push(" Done ");var e=this.HC-this.js;d.push(zl(e));d.push(" ms ")}else{d.push(" Comment      ")}d.push(c);d.push(this.toString());if(this.ws>0){d.push("[VarAlloc ");
d.push(this.ws);d.push("] ")}return d.join("")};$a(Wi[_P],function(){if(this[I]==null){return this.qn}else{return"["+this[I]+"] "+this.qn}});Td(he[_P],function(a){this.Zu=a;for(var b=0;b<this.Gb[i];b++){var c=this.ah.id;if(c){this.uk.rb(c)}this.ah.rb(this.Gb[b])}Ab(this.Gb,0);this.Xk.clear();this.Sb=xh();this.zs=0;this.ys=0;this.Tl=0;this.xs=0;this.kj=0;var d=this.Ed.hc();for(var b=0;b<d[i];b++){var e=d[b],f=this.Ed.ra(e);f.eb=0;f.ps=0;f.dm=0;this.Fl.rb(f)}this.Ed.clear()});he[_P].Tw=function(){var a=
this.Dc;if(a&&a.isTracing()){return a.totalVarAlloc}return-1};he[_P].Im=function(a,b,c){var d=xh(),e=c?c:d,f=this.ah.hb();f.dh=2;f.bh=e;ab(f,b);f.qn=a;f.ws=this.Tw();this.kj++;if(c){var g=this.Gb[i];for(var h=0;h<g;h++){var j=this.Gb[h],l=j.bh;if(l>e){pl(this.Gb,f,h);break}}if(h==g){this.Gb.push(f)}}else{this.Gb.push(f)}var m=f[I];if(m){var r=this.Jw(m);r.eb++}this.Tl+=xh()-d};he[_P].Jw=function(a){var b=this.Ed.ra(a);if(!b){b=this.Fl.hb();ab(b,a);this.Ed.D(a,b)}return b};$a(he[_P],function(){var a=
[],b=-1,c=[];for(var d=0;d<this.Gb[i];d++){var e=this.Gb[d];if(e.dh==1){c.pop()}a.push(" ");a.push(e.qB(this.Sb,b,c.join("")));b=e.bh;a.push("\n");if(e.dh==0){c.push("|  ")}}if(this.Xk.Wa()!=0){var f=xh();a.push(" Unstopped timers:\n");Sh(this.Xk,function(j){a.push("  ");a.push(j.toString());a.push(" (");a.push(f-j.js);a.push(" ms, started at ");a.push(yl(j.js));a.push(")\n")})}var g=this.Ed.hc();for(var d=0;d<g[i];d++){var h=this.Ed.ra(g[d]);if(h.eb>1){a.push(" TOTAL ");a.push(h.toString());a.push("\n")}}a.push("Total tracers created "+
this.xs+"\n");a.push("Total comments created "+this.kj+"\n");a.push("Overhead start: "+this.zs+" ms\n");a.push("Overhead end: "+this.ys+" ms\n");a.push("Overhead comment: "+this.Tl+" ms\n");return a.join("")});var zl=function(a){a=q.round(a);var b="";if(a<1000)b=" ";if(a<100)b="  ";if(a<10)b="   ";return b+a},yl=function(a){a=q.round(a);var b=a/1000%60,c=a%1000;return va(100+b).substring(1,3)+"."+va(1000+c).substring(1,4)},xh=function(){return Da()},wh=new he;var Xe=function(a){P.call(this);this.b=a;var b=s?"propertychange":"input";this.Vh=w(this.b,b,this)};Xe.a(P);Xe[_P].jc=function(a){var b=a.hd();if(b[I]=="propertychange"&&b.propertyName=="value"||b[I]=="input"){if(s){var c=b[Qd];if(c!=ua(c)[pf]){return}}var d=new ja(b);ab(d,"input");try{this.dispatchEvent(d)}finally{d.c()}}};Xe[_P].c=function(){if(!this.P()){Xe.h.c.call(this);Ua(this.Vh);this.b=null}};var L=function(a,b,c){J.call(this,c);this.ia=a||"modal-dialog";this.am=!(!b);this.yc=wm};L.a(J);L[_P].ia=null;L[_P].am=false;L[_P].eq=true;L[_P].Un=true;L[_P].vz=0.3;L[_P].O="";L[_P].Ve="";L[_P].yc=null;L[_P].Td=null;L[_P].xb=false;L[_P].S=null;L[_P].T=null;L[_P].$a=null;L[_P].Tb=null;L[_P].Ql=null;L[_P].Gd=null;L[_P].Zb=null;L[_P].db=null;L[_P].Ia=function(){return"goog.ui.Dialog"};L[_P].Ur=function(a){this.O=a;if(this.Tb){rc(this.Tb,a)}};L[_P].ek=function(){return this.O};L[_P].Iu=function(){var a=
new Rc(this.b,this.$a);Sa(this.$a,this.ia+"-title-draggable");return a};L[_P].l=function(){this.Wp();this.b=this.g.l("div",{className:this.ia,tabIndex:0},this.$a=this.g.l("div",{className:this.ia+"-title",id:this.v()},this.Tb=this.g.l("span",{className:this.ia+"-title-text"},this.O),this.Gd=this.g.l("span",{className:this.ia+"-title-close"})),this.Zb=this.g.l("div",{className:this.ia+"-content"}),this.db=this.g.l("div",{className:this.ia+"-buttons"}));this.Ql=this.$a.id;El(this.b,"dialog");Xi(this.b,
"labelledby",this.Ql);if(this.Ve){K(this.Zb,this.Ve)}X(this.b,false);if(this.yc){this.yc.Qm(this.db)}};L[_P].Wp=function(){if(this.am&&!this.T){this.T=this.g.l("iframe",{frameborder:0,style:"border: 0",className:this.ia+"-bg"});X(this.T,false);ff(this.T,0)}else if(!this.am&&this.T){U(this.T);this.T=null}if(this.eq&&!this.S){this.S=this.g.l("div",{className:this.ia+"-bg"});ff(this.S,this.vz);X(this.S,false)}else if(!this.eq&&this.S){U(this.S);this.S=null}};L[_P].sb=function(a){if(this.ba()){throw Error(Vh);
}if(!this.b){this.l()}var b=a||this.g.k()[A];this.jr(b);L.h.sb.call(this,b)};L[_P].jr=function(a){if(this.T){a.appendChild(this.T)}if(this.S){a.appendChild(this.S)}};L[_P].xg=function(a){return a&&a[sa]&&a[sa]=="DIV"&&L.h.xg.call(this,a)};L[_P].Hn=function(a){this.b=a;Sa(this.b,this.ia);var b=this.ia+"-content";this.Zb=Vf(this.b,function(g){return g[R]==1&&Cb(g,b)});if(this.Zb){this.Ve=this.Zb[Fa]}else{this.Zb=this.g.l("div",{className:b});if(this.Ve){K(this.Zb,this.Ve)}this.b.appendChild(this.Zb)}var c=
this.ia+"-title",d=this.ia+"-title-text",e=this.ia+"-title-close";this.$a=Vf(this.b,function(g){return g[R]==1&&Cb(g,c)});if(this.$a){this.Tb=Vf(this.$a,function(g){return g[R]==1&&Cb(g,d)});this.Gd=Vf(this.$a,function(g){return g[R]==1&&Cb(g,e)})}else{this.$a=this.g.l("div",{className:c});this.b.insertBefore(this.$a,this.Zb)}if(this.Tb){this.O=Se(this.Tb)}else{this.Tb=this.g.l("span",{className:d},this.O);this.$a.appendChild(this.Tb)}Xi(this.b,"labelledby",this.Ql);if(!this.Gd){this.Gd=this.g.l("span",
{className:e},this.O);this.$a.appendChild(this.Gd)}var f=this.ia+"-buttons";this.db=Vf(this.b,function(g){return g[R]==1&&Cb(g,f)});if(this.db){this.yc=new Fb(this.g);this.yc.Gn(this.db)}else{this.db=this.g.l("div",{className:f});this.b.appendChild(this.db);if(this.yc){this.yc.Qm(this.db)}}this.Wp();this.jr(ua(this.b)[A])};L[_P].K=function(){L.h.K.call(this);if(this.Un&&!this.Td){this.Td=this.Iu()}w(this.Gd,hb,this.Hq,false,this);w(this.db,hb,this.pq,false,this);El(this.b,"dialog");if(this.Tb.id!==
""){Xi(this.b,"labelledby",this.Tb.id)}};L[_P].ka=function(){pb(this.Gd,hb,this.Hq,this);pb(this.db,hb,this.pq,this);if(this.ke()){this.Rb(false)}if(this.Td){this.Td.c();this.Td=null}L.h.ka.call(this)};L[_P].Rb=function(a){if(a==this.xb){return}var b=this.g.k(),c=ma?window:Yf(b)||window;if(!this.ba()){this.sb(b[A])}if(a){this.qr();this.xe();w(b,Ue,this.Cq,true,this);w(c,je,this.Gq,true,this)}else{pb(b,Ue,this.Cq,true,this);pb(c,je,this.Gq,true,this)}if(this.T){X(this.T,a)}if(this.S){X(this.S,a)}X(this.b,
a);if(a&&this.pf().vo()){var d=this.db.getElementsByTagName("button");for(var e=0,f;f=d[e];e++){if(f[Gc]==this.pf().vo()){f.focus();break}}}this.xb=a};L[_P].ke=function(){return this.xb};L[_P].qr=function(){if(this.T){X(this.T,false)}if(this.S){X(this.S,false)}var a=this.g.k(),b=Yf(a)||window,c=Te(b),d=a[A].scrollWidth,e=q.max(a[A][wf],c[z]);if(this.T){X(this.T,true);Tc(this.T,d,e)}if(this.S){X(this.S,true);Tc(this.S,d,e)}if(this.Un){var f=tc(this.b);this.Td.Mk=new Sc(0,0,d-f[B],e-f[z])}};L[_P].xe=
function(){var a=this.g.k(),b=Yf(a)||window,c=Xf(b),d=c.x,e=c.y,f=tc(this.b),g=Te(b),h=q.max(d+g[B]/2-f[B]/2,0),j=q.max(e+g[z]/2-f[z]/2,0);Th(this.b,h,j)};L[_P].Hq=function(a){var b=this.pf(),c=b.mh();if(c){var d=b.ra(c);if(this.dispatchEvent(new Wh(c,d))){this.Rb(false)}}else{this.Rb(false)}};L[_P].c=function(){if(!this.P()){L.h.c.call(this);if(this.S){U(this.S);this.S=null}if(this.T){U(this.T);this.T=null}}};L[_P].pf=function(){return this.yc};L[_P].pq=function(a){if(a[aa][sa]=="BUTTON"){var b=
a[aa][Gc],c=this.pf().ra(b);if(this.dispatchEvent(new Wh(b,c))){this.Rb(false)}}};L[_P].Cq=function(a){if(a[Za]==27){var b=this.pf();if(b.mh()){var c=b.ra(b.mh());if(this.dispatchEvent(new Wh(b.mh(),c))){this.Rb(false)}}else{this.Rb(false)}}};L[_P].Gq=function(a){this.qr()};var Wh=function(a,b){ab(this,"dialogselect");this.nb=a;this.caption=b};Wh.a(Ta);var Fb=function(a){this.g=a||vb();Ea.call(this)},wm;Fb.a(Ea);Fb[_P].In=null;Fb[_P].b=null;Fb[_P].cn=null;Fb[_P].D=function(a,b,c,d){Ea[_P].D.call(this,
a,b);if(c){this.In=a}if(d){this.cn=a}};Fb[_P].Qm=function(a){this.b=a;this.sb()};Fb[_P].sb=function(){if(this.b){K(this.b,"");Sh(this,function(a,b){this.b.appendChild(this.g.l("button",{name:b},a))},this)}};Fb[_P].Gn=function(a){if(!a||a[R]!=1){return}this.b=a;var b=this.b.getElementsByTagName("button");for(var c=0,d,e,f;d=b[c];c++){e=d[Gc]||d.id;f=Se(d)||d[wa];if(e){this.D(e,f,c==0,d[Gc]=="cancel")}}};Fb[_P].vo=function(){return this.In};Fb[_P].mh=function(){return this.cn};(function(){var a=Yb("OK"),
b=Yb("Cancel"),c=Yb("Yes"),d=Yb("No"),e=Yb("Save"),f=Yb("Continue"),g=new Fb;g.D("ok",a,true);g.D("cancel",b,false,true);wm=g;var h=new Fb;h.D("yes",c,true);h.D("no",d,false,true);var j=new Fb;j.D("yes",c);j.D("no",d,true);j.D("cancel",b,false,true);var l=new Fb;l.D("continue",f);l.D("save",e);l.D("cancel",b,true,true)})();;;var Pi=function(){this.Rf=E(this.Tk,this);this.jh=new Vi;this.jh.zl=false;this.Rh=false;this.ny=""};Pi[_P].jl=function(a){if(a==this.Rh){return}var b=sl();if(a){b.Jm(this.Rf)}else{b.ir(this.Rf);this.uC=""}};Pi[_P].Tk=function(a){var b=this.jh.ih(a);if(window[nd]&&window[nd].firebug){switch(a.sh()){case wl:window[nd].info(b);break;case Ti:window[nd].error(b);break;case Ui:window[nd].warn(b);break;default:window[nd].debug(b);break}}else if(window[nd]){window[nd].log(b)}else{this.ny+=b}};var Qi=null,
np=function(){if(!Qi){Qi=new Pi}if(S[yb][Be].indexOf("Debug=true")!=-1){Qi.jl(true)}};var Hq,mn={},zr=function(a,b){mn[a]=b},pg=function(a){return mn[a]||window[yb].search&&window[yb].search.match(a+"=true")!=null},Vq=function(){if(window[yb][uf]){var a=/#?(\d+)$/.exec(window[yb][uf]);if(a&&a[i]!=0){return ka(a[1],10)}}return null},$h=pg("Debug"),og=uh("presently"),ci=null,kr=function(a){if(a){$h=a}if($h){og.ql(qp);if(window.console){np()}else{var b=new Ia("googpresent");b.Ir(true)}}Oa("Debug console initialized")},lr=function(){return $h},Na=function(a){if($h){og.Ma(a);return true}var b=
o("errorConsole");if(b){rc(b,a)}else{alert(a)}return false},Hr=function(a){og.Ls(a);return true},tg=function(a,b){var c=(new Date).getTime()-b;og.ec(a+" ["+c+"ms]");return true},Oa=function(a){og.ec(a);return true},Br=function(a,b){Xq();ci=window.setTimeout(a,b)},Xq=function(){if(ci){window.clearTimeout(ci)}ci=null};var on=function(a){var b=Qe("div");K(b,a);return b},jn=function(a){if(!a){return}var b=Wf(a),c;while(b&&b[n]==a){c=Ah(b);if(nr(b)){a.removeChild(b)}else if(b[Z]){jn(b)}b=c}},nr=function(a){if(a[sa]==
"IMG"||a[sa]=="HR"||a[sa]=="BR"){return false}if(zd("img",null,a)[0]||zd("hr",null,a)[0]){return false}return kg(Se(a))==""},$q=function(a){if(!a||!a[n]){Na("replaceNode: The first argument must be non-null and have a parent node.");return a}var b;while(b=a[Z]){a[n].insertBefore(b,a)}return U(a)},Dr=function(a,b){var c=a.cloneNode(false),d;do{d=b[gb];c.appendChild(a.removeChild(b));b=d}while(b&&b[n]==a);if(a[n]){if(a[gb]){a[n].insertBefore(c,a[gb])}else{a[n].appendChild(c)}}return c},Er=function(a,
b){while(b[n]&&b[n]!=a){b=Dr(b[n],b)}return b},Qb=function(a,b){return function(c){return b.call(a,c)}},Hb=function(a,b){if(arguments[i]<2){Na("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)}},nn=function(a,b){if(!a||!b){Na("createTimeoutClosure: Both arguments, func and delay, are required.");return null}return function(){Br(a,b)}},Wq=function(a){if(a&&a[k]&&a[k][Ae]){hi(a[k],
null)}};var Tb=function(a,b){return b?Wb(a,"invisible_"):Sa(a,"invisible_")},Rb=function(a){a=a||window[ze];if(a.stopPropagation){a.stopPropagation()}else{a.cancelBubble=true}if(a.preventDefault){a.preventDefault()}else{zf(a,false)}return false},en=null,Ar=function(a){en=a},Ym=function(){return en||"/"},yr=function(a){if(typeof window[yb].assign=="function"){window[yb].assign(a)}else if(typeof window[yb].replace=="function"){window[yb].replace(a)}else if(self[yb][Be]){Rg(self[yb],a)}else{window.location=
a}},Uq=function(){switch(dr()){case 0:yr("/DocAction?action=unsupported_browser&product=presentations");break;case 1:Cr(M_UNSUPPORTED_BROWSER_VERSION);break;default:}},dr=function(){if(pg("browserok")){return 2}if(s){if(ka(Ed,10)<6){return 0}}else if(y){if(sb(Ed)<1.8){return 0}else if(sb(Ed)==1.8){var a=Ed.split(".");if(a[2]==0&&a[3]<12){return 1}}}else if(ma){if(mg){return 2}if(ka(Ed,10)>500){return 1}return 0}else{return 0}return 2},Cr=function(a,b){b=b||S[A];var c=Qe("DIV",{className:"page-warning"},
a);b.insertBefore(c,b[Z])},Yq=function(a){if(s){var b=zd("img",null,a);if(b){for(var c=b[i]-1;c>=0;c--){var d=b[c],e=d[n];hi(e[k],"1px");e[k].filter=(new qb("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='",d.src,"',sizingMethod='scale')")).toString();U(d)}}}},Lj=function(a,b){var c=a.cloneNode(b);kn(c);return c},mr=function(a){return a[R]==1},kn=function(a){a.removeAttribute("id");var b=yp(a,mr);oc(b,function(c){c.removeAttribute("id")})},Zq=function(a,b){var c=[];Sm(a,b,c,false);return c},
Sm=function(a,b,c,d){if(a!=null){a.Ha(function(e){if(b(e)){c.push(e);if(d){return}}Sm(e,b,c,d)})}},ln=function(a){if(!a.ba()){var b=a.od();a.sb(b?b.e():null)}a.Ha(ln)},Tq=function(a,b,c,d){return w(a,b,function(e){Ye(c,b,!(!d),e)})},vr=function(a){var b={};oc(a.split(/\s*;\s*/),function(c){var d=c.split(/\s*:\s*/);if(d[i]==2){b[d[0].toLowerCase()]=d[1]}});return b},pn=function(a){var b=new qb;ig(a,function(c,d){b.f(d).f(":").f(c).f(";")});return b.toString()},Fr=function(a,b,c){var d=new qb(a);if(b){d.f("?").f(or(b))}if(c){d.f("#").f(c)}return d.toString()},
or=function(a){var b=[],c=[];for(var d in a){var e=a[d];if(ga(e)&&!bc(e)){if(!La(e)){e=fg(e)}b.push(d);c.push(e)}}return xr(b,c)},xr=function(a,b){var c=[];for(var d=0,e=q.min(a[i],b[i]);d<e;d++){var f=b[d];if(ga(f)&&!bc(f)){c.push(ec(a[d])+"="+ec(f))}}return c.join("&")};Ob("_initConsole",kr);Ob("_perf",tg);Ob("_isDebug",lr);Ob("_setPathPrefix",Ar);Ob("_getPathPrefix",Ym);Ob("_checkBrowserSupport",Uq);Ob("_convertImagesToFiltered",Yq);Ob("_setFlag",zr);var F=function(a){J.call(this,a)};F.a(J);F[_P].H=function(a){var b=new this.constructor;b.N("action","create");b.N("index",-1);if(a){b.Wf(a(b))}return b};F[_P].Dg=function(){return Lj(this.e(),false)};F[_P].uu=function(a){var b=this.H(a);this.Ha(function(c){var d=c.uu(a);b.ot(d);b.Hm(d)});return b};F[_P].Hm=function(a){if(a.sk()){this.Lm(a)}};F[_P].tu=function(){var a=this.Dg();this.Ha(function(b){a.appendChild(b.tu())});return a};F[_P].ur=0;F[_P].W=null;F[_P].cc=false;F[_P].A=null;F[_P].Kg=null;
F[_P].ud=null;F[_P].Wd=null;F[_P].xf=function(){return this.ur};F[_P].KA=function(a){this.ur=a};F[_P].xp=function(){return this.cc};F[_P].La=function(a){if(this.cc&&!a||!this.cc&&a){if(!this.ba()){throw new Error(um);}this.Ha(function(b){b.La(a)});this.cc=a}};F[_P].Ec=function(){return this.A||(this.A=new Ja(this))};F[_P].C=function(){return this.b?this.b[Fa]:this.Kg};F[_P].ak=function(){return this.C()};F[_P].fa=function(a,b){if(a!=this.C()){if(this.b){K(this.b,a)}else{this.Kg=a}if(!b){this.N("contents",
this.C())}return true}return false};F[_P].Jf=function(a,b,c){if(b!=this.wk(a)){var d=a.xp();if(d){a.La(false)}this.removeChild(a,true);this.Qi(a,b,true);if(d){a.La(true)}if(!c){a.N("index",-1)}return true}return false};F[_P].Lf=function(a,b,c){throw new Error("This method must be implemented by a child class");};F[_P].lc=function(a,b,c){this.Qi(a,b,true);if(!c){this.Hm(a)}ln(a)};F[_P].Ug=function(a,b){throw new Error("This method must be implemented by a child class");};F[_P].vc=function(a,b){if(a){var c=
a.children;if(c!=null){var d={};ig(c,function(O,W){var fb=O.action;if(fb=="delete"){this.Ug(this.kd(W),b)}else{var Ib=this.kd(W),Xc=O.index;if(Xc!=null){if(fb=="create"){if(Ib){Na('Component.updateInternal: Cannot create already existing child with id="'+W)}Ib=this.Lf(W,O.attributes,b)}d[Xc]=Ib}if(!Ib){Na('Component.update: Received update for child with id="'+W+'", but no such child exists!')}Ib.vc(O,b)}},this);var e=lp(Mh(d),Pa);mp(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 l=
this.wk(d[e[j]]);if(0<=l&&l<g){h++}}var m=d[g];if(this.kd(m.v())){this.Jf(m,g+h,b)}else{this.lc(m,g+h,b)}}}var r=a.attributes;if(r){for(var x in r){this.Hd(x,r[x],b)}}}};F[_P].Hd=function(a,b,c){Oa("Component.updateAttribute: Unknown attribute in delta for "+this.toString()+" {"+a+': "'+b+'"}')};F[_P].Ia=function(){return"presently.Component"};$a(F[_P],function(){return(new qb("<")).f(this.Ia()).f(' id="').f(this.v()).f('" revision="').f(this.xf()).f('"/>').toString()});F[_P].eg=function(){throw new Error("Method not supported");
};F[_P].l=function(a){this.b=this.g.l("div",{className:a||"",id:this.v(),AC:this.xf()});K(this.b,this.Kg||"");this.Kg=null};F[_P].ka=function(){this.La(false);F.h.ka.call(this);this.Wd=null};F[_P].c=function(){if(!this.P()){F.h.c.call(this);if(this.A){this.A.c()}this.A=null}};F[_P].sk=function(){return this.W&&!jg(this.W)};F[_P].Hv=function(){return this.W||(this.W={})};F[_P].zu=function(){var a=this.qf("children");if(a){for(var b in a){var c=a[b];if(c.action!="delete"){var d=this.kd(b);if("index"in
c){c.index=this.wk(d)}d.zu()}}}var e=this.W;this.W=null;return e};F[_P].qf=function(a){return this.W?cm(this.W,a):null};F[_P].N=function(a,b){if(!this.W){this.W={}}switch(a){case "children":case "action":case "index":this.W[a]=b;break;default:var c=this.W.attributes;if(!c){c=(this.W.attributes={})}c[a]=b}if(!("action"in this.W)){this.W.action="update"}var d=this.od();if(d){d.Lm(this)}};F[_P].xB=function(a){if(this.sk()){switch(a){case "children":case "action":case "index":delete this.W[a];break;default:var b=
this.W.attributes;if(b){delete b[a];if(jg(b)){delete this.W.attributes}}}if(!this.sk()){var c=this.od();if(c){c.Ul(this)}}}};F[_P].Lm=function(a){var b=this.qf("children");if(!b){b={};this.N("children",b)}Nh(b,a.v(),a.Hv())};F[_P].Ul=function(a){var b=false,c=this.qf("children");if(c&&a){b=re(c,a.v());if(jg(c)){this.xB("children")}}return b};F[_P].Hg=function(a){var b=new Sc(0,0,100,100),c=false;this.Ha(function(d){if(!c){var e=d.$v(a);if(e){b.Xt(e)}else{c=true}}});return c?null:b};F[_P].$v=function(a){if(!this.Wd||
a!=this.ud){this.ud=a||this.ud;if(this.ud){this.Wd=this.Hg(this.ud)}}return this.Wd};F[_P].vb=function(){if(this.ud){var a=this.Hg(this.ud);if(!Wl(a,this.Wd)){this.Wd=a;this.dispatchEvent(this.lh())}}};F[_P].lh=function(){Na("presently.Component#getBoundsEventType is abstract.")};var jd=function(a,b,c){Ta.call(this,b,a);Qg(this,c)};jd.a(Ta);Qg(jd[_P],null);var Hm="slide_title_changed",Gm="slide_bounds_changed",Fm="shape_style_changed",ng="shape_contents_changed",Em="shape_bounds_changed";var V=function(a){F.call(this,a);this.Ie={}};V.a(F);V[_P].$=null;V[_P].Ie=null;V[_P].wj=null;V[_P].Zc="";V[_P].Ia=function(){return"presently.Shape"};V[_P].eg=function(){return(new qb('<div class="')).f(this.Yj()).f('" id="').f(this.v()).f('" revision="').f(this.xf()).f('" style="').f(this.de()).f('">').f(this.ak()).f("</div>").toString()};V[_P].H=function(a){var b=V.h.H.call(this,a);b.N("contenttype",this.Xj());b.Ee(this.ee());b.ui(pn(this.Ie));b.fa(this.C());return b};V[_P].Xj=function(){return this.Zc};
V[_P].ee=function(){return this.$};V[_P].de=function(){return this.wj};V[_P].ui=function(a,b){if(a!=this.de()){this.Ie=vr(a);this.Xl();this.dispatchEvent(Fm);this.vb();if(!b){this.N("style",this.de())}return true}return false};V[_P].Xl=function(){this.wj=pn(this.Ie);var a=this.e();if(a){Fe(a[k],this.wj)}};V[_P].Ow=function(){return Se(on(this.C()))};V[_P].Ee=function(a,b){if(a!=this.$){this.$=a;var c=this.e();if(c){la(c,this.Yj())}this.dispatchEvent("shape_type_changed");this.vb();if(!b){this.N("type",
this.ee())}return true}return false};V[_P].fa=function(a,b){if(V.h.fa.call(this,a,b)){this.dispatchEvent(ng);this.vb();return true}return false};V[_P].La=function(a){if(this.cc&&!a||!this.cc&&a){V.h.La.call(this,a);var b=this.Ec();if(a){b.i(this.e(),sc,this.di,true)}else{b.Ea(this.e(),sc,this.di,true)}}};V[_P].l=function(){V.h.l.call(this,this.Yj());this.Xl()};V[_P].wh=function(){var a=this.Lw();return new Sc(sb(a[Ca]),sb(a.top),sb(a[B]),sb(a[z]))};V[_P].ti=function(a){if(!Wl(this.wh(),a)){var b=
this.Ie;nb(b,a[Ca]+"%");b.top=a.top+"%";na(b,a[B]+"%");xa(b,a[z]+"%");this.Xl();this.N("style",this.de());this.dispatchEvent(Fm);this.vb()}};V[_P].Dr=function(a){var b=ka(a[B],10),c=ka(a[z],10),d=b/800,e=c/600,f=1;if(d<=0.9&&e<=0.9){}else if(d>=e){f=0.9/d}else{f=0.9/e}var g=b*f/800*100,h=c*f/600*100,j=(100-g)/2,l=(100-h)/2;this.ti(new Sc(j,l,g,h))};V[_P].Hg=function(a){return a&&this.ba()&&this.e()?this.wh():null};V[_P].lh=function(){return Em};V[_P].Lw=function(){var a=this.Ie;if(!a[B]){a=kq(a);
var b=this.e();if(b){var c=this.ss(b[ei],b[fi]),d=ef(b,"padding");H(b,"padding","0");var e=tc(b);H(b,"padding",d);var f=this.ss(e[B],e[z]);nb(a,c[0]+"%");a.top=c[1]+"%";na(a,f[0]+"%");xa(a,f[1]+"%")}}return a};V[_P].Yj=function(){return(new qb(Kj," ",this.Zc," ",this.$)).toString()};V[_P].ss=function(a,b){var c=tc(this.e()[n]);return[sb(a)/c[B]*100,sb(b)/c[z]*100]};V[_P].di=function(a){if(this.Zc==eb.Jd){return}this.dispatchEvent({type:"select",Yt:a})};V[_P].Hd=function(a,b,c){switch(a){case "type":this.Ee(b,
c);break;case "style":this.ui(b,c);break;case "contents":this.fa(b,c);break;case "contenttype":break;default:V.h.Hd.call(this,a,b,c);break}};var Iq=function(a){return a?zd("*",Kj,a):[]},Kq=function(a){if(a){for(var b in Y){if(Cb(a,Y[b])){return Y[b]}}}return Y.ng},Jq=function(a){if(a){for(var b in eb){if(Cb(a,eb[b])){return eb[b]}}}return eb.Re},eb={Mi:"picture",Re:"text",Jd:"background",qm:"clipart"},Kj="placeholder",Y={Oe:"body",lg:"col1",mg:"col2",kg:"caption",Pe:"centeredTitle",Oi:"subtitle",
Ld:"title",ng:"unknown"};var rb=function(a){V.call(this,a);this.Zc=eb.Mi};rb.a(V);rb[_P].Vc=null;rb[_P].Oa=null;rb[_P].Ia=function(){return"presently.ImageShape"};rb[_P].Dg=function(){var a=Lj(this.e(),true);if(s){var b=a[ia];if(b&&b[i]>0&&!b[0].src){b[0].setAttribute("src",this.e()[ia][0].src)}}return a};rb[_P].C=function(){var a=rb.h.C.call(this);if(a){var b=this.Vc?this.Vc.src:a.match(/src\s*=\s*["']([^'"]+)["']/i)[1];if(b){a=(new qb('<img src="',b,'" style="width: 100%; height: 100%"/>')).toString()}}return a};rb[_P].fa=
function(a,b){var c=a.match(/src\s*=\s*["']([^'"]+)["']/i);if(c&&c[1]){this.Vc={src:c[1]}}if(s){a=(new qb('<div style="width: 100%; height: 100%; font-size: 1px;'," filter:progid:DXImageTransform.Microsoft.","AlphaImageLoader(src='",c[1],"',sizingMethod='scale')\"></div>")).toString()}else if(y){this.ar();if(this.Vc){a=(new qb('<img src="',this.Vc.src,'" style="width: 100%; height: 100%; display: none;"/>')).toString()}}return rb.h.fa.call(this,a,b)};rb[_P].ak=function(){return rb.h.C.call(this)};
rb[_P].ar=function(){var a=this.e();if(a&&this.Vc){if(!this.Oa){this.Oa=Vl("100%","100%",100,100,this.g);var b=this.Oa.e()[k];Sd(b,"absolute");b.top=0;nb(b,0);this.Oa.sb(a);if(Cb(a,"background")){ta(zd("IMG",null,a)[0][k],"block")}}else{this.Oa.clear()}var c=this.Oa.drawImage(0,0,100,100,this.Vc.src);Sd(c.e()[k],"absolute")}};rb[_P].K=function(){rb.h.K.call(this);if(y){this.ar()}};var Ij=function(a){rb.call(this,a);this.Zc=eb.Jd};Ij.a(rb);Ij[_P].Ia=function(){return"presently.BackgroundShape"};;var Cc=function(a,b){P.call(this);this.b=a;this.Vw=b;this.yj=false};Cc.a(P);Cc[_P].e=function(){return this.b};Cc[_P].md=function(){return this.Vw};Cc[_P].addEventListener=function(a,b,c,d){w(this.b,a,b,c,d)};Cc[_P].removeEventListener=function(a,b,c,d){pb(this.b,a,b,c,d)};Cc[_P].c=function(){if(!this.P()){Cc.h.c(this);ej(this.b)}};var hj=function(){};hj[_P].oa=function(a,b){throw Error("Not implemented");};;var Zb=function(a,b,c,d,e){J.call(this,e);this.Id=a;this.rd=b;this.Lg=c;this.un=d};Zb.a(J);yc(Zb[_P],function(){throw Error("Not implemented");});Zb[_P].Kj=function(a,b,c,d,e,f,g){throw Error("Not implemented");};Zb[_P].Mj=function(a,b,c,d,e,f,g){throw Error("Not implemented");};Zb[_P].Lj=function(a,b,c,d){throw Error("Not implemented");};Zb[_P].sj=function(){throw Error("Not implemented");};Zb[_P].vj=function(){throw Error("Not implemented");};Zb[_P].uj=function(){throw Error("Not implemented");
};Zb[_P].createLinearGradient=function(){throw Error("Not implemented");};var bg=function(a,b,c,d,e,f){this.hm=a;this.jm=b;this.im=c;this.km=d;this.jj=e;this.Gg=f};bg.a(hj);var Bd=function(){};yc(Bd[_P],function(){Ab(this.ea,0);return this});Bd[_P].moveTo=function(a,b){throw Error("Not implemented");};Bd[_P].lineTo=function(a,b){throw Error("Not implemented");};Bd[_P].close=function(){throw Error("Not implemented");};Bd[_P].arc=function(a,b,c,d,e,f,g){throw Error("Not implemented");};Bd[_P].Bh=function(){return this.ea.join(" ")};var me=function(a,b){Ee(this,a);Sg(this,b)};me.a(hj);Ee(me[_P],null);Sg(me[_P],null);var ne=function(a,b){na(this,a);Ee(this,b)};Ee(ne[_P],null);na(ne[_P],null);ne[_P].oa=function(a,b){throw Error("Not implemented");};var cg=function(a,b){Cc.call(this,a,b)};cg.a(Cc);var ij=function(a,b){cg.call(this,a,b)};ij.a(cg);yc(ij[_P],function(){$i(this.e())});var $b=function(a,b){cg.call(this,a,b)};$b.a(cg);$b[_P].nl=function(a){var b=this.e(),c=this.md();if(a){a.oa(b,c)}else{Rp.oa(b,c)}};$b[_P].vl=function(a){var b=this.e(),c=this.md();if(a){a.oa(b,c)}else{Sp.oa(b,c)}};var Tl=function(a,b){$b.call(this,a,b)};Tl.a($b);var mj=function(a,b){$b.call(this,a,b)};mj.a($b);Ge(mj[_P],function(a,b){this.md().si(this.e(),{x:a,y:b})});
var lj=function(a,b){$b.call(this,a,b)};lj.a($b);lj[_P].Xf=function(a){this.md().si(this.e(),{d:a.Bh()})};var Tp=function(a,b){$b.call(this,a,b)};Tp.a($b);var jj=function(a,b){$b.call(this,a,b)};jj.a($b);Ge(jj[_P],function(a,b){this.md().si(this.e(),{x:a,y:b})});var kj=function(a,b,c,d,e,f){bg.call(this,a,b,c,d,e,f)};kj.a(bg);kj[_P].oa=function(a,b){var c="lg-"+this.hm+"-"+this.jm+"-"+this.im+"-"+this.km+"-"+this.jj+"-"+this.Gg,d=b.Qv(c);if(!d){var e=b.Cb("linearGradient",{x1:this.hm,y1:this.jm,x2:this.im,y2:this.km,gradientUnits:"userSpaceOnUse"}),f=b.Cb("stop",{offset:"0%",style:"stop-color:"+this.jj});e.appendChild(f);var g=b.Cb("stop",{offset:"100%",style:"stop-color:"+this.Gg});e.appendChild(g);d=b.tt(c,e)}a.setAttribute("fill","url(#"+d+")")};var cf=function(){this.ea=[]};cf.a(Bd);cf[_P].moveTo=function(a,b){this.ea.push("M"+a+","+b);return this};cf[_P].lineTo=function(a,b){this.ea.push("L"+a+","+b);return this};cf[_P].close=function(){this.ea.push("Z");return this};cf[_P].arc=function(a,b,c,d,e,f,g){e=qe(e);f=qe(f);var h=vj(f,c),j=wj(f,d),l=g?f-e:e-f,m=qe(l)>180?1:0;this.ea.push("A"+c+","+d+",0,"+m+","+(g?1:0)+","+(a+h)+","+(b+j));return this};var Fh=function(a,b){me.call(this,a,b)};Fh.a(me);var Rp=new Fh;Fh[_P].oa=function(a,b){if(this[Gg]!=null){a.setAttribute("fill-opacity",this[Gg])}a.setAttribute("fill",this[wc]||"none")};var Gh=function(a,b){ne.call(this,a,b)};Gh.a(ne);var Sp=new Gh(0);Gh[_P].oa=function(a,b){a.setAttribute("stroke",this[wc]||"none");a.setAttribute("stroke-width",this[B]||0)};var Va=function(a,b,c,d,e){Zb.call(this,a,b,c,d,e);this.cd={}};Va.a(Zb);var Qp=0;Va[_P].Cb=function(a,b){var c=this.g.k().createElementNS("http://www.w3.org/2000/svg",a);if(b){this.si(c,b)}return c};Va[_P].si=function(a,b){for(var c in b){a.setAttribute(c,b[c])}};Va[_P].tc=function(a,b,c,d){a.vl(b);a.nl(c);var e=d||this.ej;e.e().appendChild(a.e())};Va[_P].Ia=function(){return"goog.graphics.SvgGraphics"};Va[_P].l=function(){var a={width:this.Id,height:this.rd,overflow:"hidden"};if(ga(this.Lg)){a.viewBox=
"0 0 "+this.Lg+" "+this.un;a.preserveAspectRatio="none"}var b=this.Cb("svg",a),c=this.Cb("g");this.Tg=this.Cb("defs");this.ej=new ij(c,this);b.appendChild(this.Tg);b.appendChild(c);this.b=b};yc(Va[_P],function(){this.ej.clear();$i(this.Tg);this.cd={}});Va[_P].Kj=function(a,b,c,d,e,f,g){var h=this.Cb("ellipse",{cx:a,cy:b,rx:c,ry:d}),j=new Tl(h,this);this.tc(j,e,f,g);return j};Va[_P].Mj=function(a,b,c,d,e,f,g){var h=this.Cb("rect",{x:a,y:b,width:c,height:d}),j=new mj(h,this);this.tc(j,e,f,g);return j};
Va[_P].drawImage=function(a,b,c,d,e,f){var g=this.Cb("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 jj(g,this);this.tc(h,null,null,f);return h};Va[_P].Lj=function(a,b,c,d){var e=this.Cb("path",{d:a.Bh()}),f=new lj(e,this);this.tc(f,b,c,d);return f};Va[_P].sj=function(){return new cf};Va[_P].vj=function(a,b){return new Gh(a,b)};Va[_P].uj=function(a,b){return new Fh(a,b)};
Va[_P].createLinearGradient=function(a,b,c,d,e,f){return new kj(a,b,c,d,e,f)};Va[_P].tt=function(a,b){if(a in this.cd){return this.cd[a]}var c="_svgdef_"+Qp++;b.setAttribute("id",c);this.cd[a]=c;var d=this.Tg;d.appendChild(b);return c};Va[_P].Qv=function(a){return a in this.cd?this.cd[a]:null};Va[_P].c=function(){if(!this.P()){this.cd=null;this.Tg=null;this.ej=null;var a=this.e();Va.h.c.call(this);U(a)}};var dg=function(a,b){Cc.call(this,a,b)};dg.a(Cc);var nj=function(a,b){dg.call(this,a,b)};nj.a(dg);yc(nj[_P],function(){$i(this.e())});var ac=function(a,b){dg.call(this,a,b)};ac.a(dg);ac[_P].nl=function(a){var b=this.e(),c=this.md();if(a){a.oa(b,c)}else{Up.oa(b,c)}};ac[_P].vl=function(a){var b=this.e(),c=this.md();if(a){a.oa(b,this)}else{Vp.oa(b,this)}};var Ul=function(a,b,c,d,e,f){ac.call(this,a,b);this.aC=c;this.bC=d;this.DC=e;this.EC=f};Ul.a(ac);var rj=function(a,b){ac.call(this,a,b)};rj.a(ac);
Ge(rj[_P],function(a,b){var c=this.e()[k];nb(c,Cd(a));c.top=Cd(b)});var qj=function(a,b){ac.call(this,a,b)};qj.a(ac);qj[_P].Xf=function(a){this.e()[Z].setAttribute("v",a.Bh())};var Wp=function(a,b){ac.call(this,a,b)};Wp.a(ac);var oj=function(a,b){ac.call(this,a,b)};oj.a(ac);Ge(oj[_P],function(a,b){var c=this.e()[k];nb(c,Cd(a));c.top=Cd(b)});var pj=function(a,b,c,d,e,f){bg.call(this,a,b,c,d,e,f)};pj.a(bg);pj[_P].oa=function(a,b){b.hr(a);a.lf="true";var c=b.zc("fill");Ee(c,this.jj);c.Gg=this.Gg;var d=qe(q.atan2(this.km-this.jm,this.im-this.hm)*180/q.PI);d=q.round(qe(270-d));c.PB=d;ab(c,"gradient");a.appendChild(c)};var df=function(){this.ea=[]};df.a(Bd);df[_P].moveTo=function(a,b){this.ea.push("M"+q.round(a)+","+q.round(b));return this};df[_P].lineTo=function(a,b){this.ea.push("L"+q.round(a)+","+q.round(b));return this};df[_P].close=function(){this.ea.push("X");return this};df[_P].arc=function(a,b,c,d,e,f,g){e=qe(e);f=qe(f);var h=q.round(vj(e,c)),j=q.round(wj(e,d)),l=q.round(vj(f,c)),m=q.round(wj(f,d));a=q.round(a);b=q.round(b);c=q.round(c);d=q.round(d);var r=g?"WA":"AT";this.ea.push(r+(a-c)+","+(b-d)+","+(a+
c)+","+(b+d)+","+(a+h)+","+(b+j)+","+(a+l)+","+(b+m));return this};var Hh=function(a,b){me.call(this,a,b)};Hh.a(me);var Up=new Hh;Hh[_P].oa=function(a,b){b.hr(a);if(this[wc]==null||this[wc]=="transparent"){a.lf=false}else if(this[Gg]!=null){a.lf=true;var c=b.zc("fill");Sg(c,q.round(this[Gg]*100)+"%");Ee(c,this[wc]);a.appendChild(c)}else{a.lf=true;a.Rj=this[wc]}};var Ih=function(a,b){ne.call(this,a,b)};Ih.a(ne);var Vp=new Ih(0);Ih[_P].oa=function(a,b){if(this[wc]==null){a.Jl=false}else{a.Jl=true;a.IC=this[wc];a.JC=this[B]||0}};var ib=function(a,b,c,d,e){Zb.call(this,a,b,c,d,e)};ib.a(Zb);ib[_P].zc=function(a){return this.g.createElement("g_vml_:"+a)};ib[_P].tc=function(a,b,c,d){a.vl(b);a.nl(c);var e=d||this.dj;e.e().appendChild(a.e())};ib[_P].hr=function(a){a.Rj="";for(var b=0;b<a[ia][i];b++){var c=a[ia][b];if(c[sa]=="fill"){a.removeChild(c)}}};var eg=function(a,b,c,d,e){var f=a[k];Sd(f,"absolute");nb(f,Cd(b));f.top=Cd(c);na(f,La(d)&&Oh(d,"%")?d:Cd(d));xa(f,La(e)&&Oh(e,"%")?e:Cd(e))},Cd=function(a){return q.round(a)+"px"};
ib[_P].Ia=function(){return"goog.graphics.VmlGraphics"};ib[_P].l=function(){var a=this.g.k();if(!a.namespaces.g_vml_){a.namespaces.add("g_vml_","urn:schemas-microsoft-com:vml");var b=a.createStyleSheet();Fe(b,"g_vml_\\:*{behavior:url(#default#VML)}")}var c=this.Id,d=this.rd,e=this.g.l("div",{style:"overflow:hidden;position:relative;width:"+c+"px;height:"+d+"px"});this.b=e;var f=this.zc("group");eg(f,0,0,this.Id,this.rd);f.vn="0 0";if(ga(this.Lg)){f.Mg=this.Lg+" "+this.un}else{f.Mg=c+" "+d}e.appendChild(f);
this.dj=new nj(f,this)};yc(ib[_P],function(){this.dj.clear()});ib[_P].Kj=function(a,b,c,d,e,f,g){var h=this.zc("oval");eg(h,a-c,b-d,c*2,d*2);var j=new Ul(h,this,a,b,c,d);this.tc(j,e,f,g);return j};ib[_P].Mj=function(a,b,c,d,e,f,g){var h=this.zc("rect");eg(h,a,b,c,d);var j=new rj(h,this);this.tc(j,e,f,g);return j};ib[_P].drawImage=function(a,b,c,d,e,f){var g=this.zc("image");eg(g,a,b,c,d);g.setAttribute("src",e);var h=new oj(g,this);this.tc(h,null,null,f);return h};ib[_P].Lj=function(a,b,c,d){var e=
this.zc("shape"),f=this.zc("path");f.setAttribute("v",a.Bh());eg(e,0,0,this.Id,this.rd);e.appendChild(f);var g=new qj(e,this);this.tc(g,b,c,d);return g};ib[_P].sj=function(){return new df};ib[_P].vj=function(a,b){return new Ih(a,b)};ib[_P].uj=function(a,b){return new Hh(a,b)};ib[_P].createLinearGradient=function(a,b,c,d,e,f){return new pj(a,b,c,d,e,f)};ib[_P].c=function(){if(!this.P()){this.dj=null;ib.h.c.call(this)}};var Vl=function(a,b,c,d,e){var f;if(s){f=new ib(a,b,c,d,e)}else{f=new Va(a,b,c,d,e)}f.l();return f};var ug=function(a,b){this.$=a;this.Fn=b};ug[_P].$=null;ug[_P].Fn=null;ug[_P].Nq=function(a,b,c){var d=c?a.substr(c):a;b.x=sb(d);var e=d.indexOf(",");b.y=sb(d.substr(e+1))};ug[_P].lv=function(a,b,c){var d=this.Fn,e={};switch(this.$){case "path":var f=a.sj(),g=0;do{var h=d.substr(g,1);switch(h){case "M":this.Nq(d,e,g+1);f.moveTo(e.x,e.y);break;case "L":this.Nq(d,e,g+1);f.lineTo(e.x,e.y);break;case "Z":f.close();break;default:Na("Invalid path command: "+h)}g=d.indexOf(";",g)+1}while(g!=0);return a.Lj(f,
c,b);case "ellipse":return a.Kj(d[2],d[3],d[0],d[1],c,b);case "rect":return a.Mj(d[2],d[3],d[0],d[1],c,b);default:Na("Invalid primitive type: "+this.$);return null}};var Gr={arrow:{elements:[{type:"path",data:"M0,30;L0,70;L66,70;L66,99;L99,50;L66,1;L66,30;Z"}],width:200,height:100},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 jb=function(a){V.call(this,a)};jb.a(V);jb[_P].H=function(a){var b=jb.h.H.call(this);b.fd=this.fd;b.kf=this.kf;b.Qt=this.Qt;b.Zf=this.Zf;return b};jb[_P].fd=null;jb[_P].kf=null;jb[_P].Il=null;jb[_P].Zf=null;jb[_P].Ia=function(){return"presently.VectorShape"};jb[_P].Dg=function(){if(y){return Lj(this.e(),true)}else{return Pm(this.e())}};var Pm=function(a){var b=a.cloneNode(false);if(a[sa].indexOf("shape")!=-1){b.lf=a.lf;b.Rj=a.Rj;b.Jl=a.Jl;b.ue=a.ue;b.aA=a.aA}if(a.Mg){b.Mg=a.Mg;b.vn=a.vn}b.removeAttribute("id");
for(var c=0;c<a[ia][i];c++){var d=a[ia][c];b.appendChild(Pm(d))}return b};jb[_P].C=function(){var a={elements:this.fd};a.fillColor=this.kf;a.strokeColor=this.Il;a.strokeWidth=this.Zf;return fg(a)};jb[_P].fa=function(a,b){a=uj(a);this.fd=a.elements;this.kf=a.fillColor||"#ffffff";this.Il=a.strokeColor||"#000000";this.Zf=a.strokeWidth||1;this.br();if(!b){this.N("contents",this.C())}};jb[_P].cw=function(a){return this.Oa.uj(a)};jb[_P].Kw=function(a,b){return this.Oa.vj(a,b)};jb[_P].br=function(){var a=
this.e();if(a&&this.fd){if(!this.Oa){this.Oa=Vl("100%","100%",100,100,this.g);this.Oa.sb(a)}else{this.Oa.clear()}for(var b=0,c=this.fd[i];b<c;b++){var d=this.fd[b],e=new ug(d.type,d.data),f=this.cw(this.kf),g=this.Kw(this.Zf,this.Il);e.lv(this.Oa,f,g)}}};jb[_P].K=function(){jb.h.K.call(this);this.br()};var id=function(a){jb.call(this,a);this.Zc=eb.qm};id.a(jb);id[_P].ij=null;id[_P].su=null;id[_P].Ia=function(){return"presently.ClipartShape"};id[_P].C=function(){var a=uj(id.h.C.call(this));delete a.elements;a.name=this.ij;return fg(a)};id[_P].fa=function(a,b){a=uj(a);this.ij=a.name;delete a.name;var c=Gr[this.ij];a.elements=c.elements;this.su=new db(c.width,c.height);id.h.fa.call(this,fg(a),b)};var Vc=function(){P.call(this);this.Nb={};this.A=new Ja(this)};Vc.a(P);Vc[_P].Nb=null;Vc[_P].A=null;Vc[_P].ut=function(a,b){var c=La(b)?b:b.src;if(c){Nh(this.Nb,a,c)}};Cf(Vc[_P],function(){ig(this.Nb,this.ky,this)});Vc[_P].ky=function(a,b){var c=new Image;Nh(this.Nb,b,c);var d=s?"readystatechange":"load";this.A.i(c,[d,"abort","error"],this.$y);Oa("ImageLoader.loadImage_: Loading "+b+" from "+a);c.id=b;c.src=a};Vc[_P].$y=function(a){var b=a[Zc];if(b){if(s){if(b[De]=="complete"){ab(a,"load")}else{return}}if(a[I]==
"load"){if(!ga(b[Fg])){b.naturalWidth=b[B]}if(!ga(b.naturalHeight)){b.naturalHeight=b[z]}}Oa("ImageLoader.onNetworkEvent_: Raising "+a[I]+' event for <img id="'+b.id+'" src="'+b.src+'"/>');this.dispatchEvent({type:a[I],target:b});re(this.Nb,b.id);if(jg(this.Nb)){Oa("ImageLoader.onNetworkEvent_: Done loading all images.");this.dispatchEvent("complete");if(this.A){this.A.Mc()}}}};Vc[_P].c=function(){if(!this.P()){if(this.Nb){jq(this.Nb);this.Nb=null}if(this.A){this.A.c();this.A=null}Vc.h.c.call(this)}};var ra=function(a,b,c){if(a){this.setPosition(a||null,b)}this.Ua=c||this[I]};ra[_P].s=null;ab(ra[_P],null);ra[_P].Ua=0;Ge(ra[_P],function(a,b,c){this.s=a;if(a){ab(this,b);if(!Kh(this[I])){this.Iw()}}if(Kh(c)){this.Ua=c}});ra[_P].Iw=function(){ab(this,this.s[R]==1?1:0)};ra[_P].ci=function(){this.s=null};ra[_P].GC=function(){if(this[I]==1){ab(this,-1);this.Ua+=this[I]}};ra[_P].next=function(){if(this.Sh()){return null}if(this[I]==1){if(this.s[Z]){this.setPosition(this.s[Z])}else{this.setPosition(this.s,
-1)}}else{if(this.s[gb]){this.setPosition(this.s[gb])}else{this.setPosition(this.s[n],-1)}}this.Ua+=this[I];return this};ra[_P].ep=function(){return this.s&&(this.s[gb]||this.s[n])};ra[_P].Yx=function(){return!this.ep()};ra[_P].ki=function(){if(this.Sh()){return null}if(this[I]==-1){if(this.s[pd]){this.setPosition(this.s[pd]);this.type*=-1}else{this.setPosition(this.s,1)}}else{if(this.s[Hc]){this.setPosition(this.s[Hc])}else{this.setPosition(this.s[n],1)}}this.Ua+=this[I];return this};ra[_P].fp=function(){return this.s&&
(this.s[Hc]||this.s[n])};ra[_P].Ep=function(){return this[I]==1};ra[_P].zp=function(){return this[I]==-1};ra[_P].Sh=function(){return this.s==null};ra[_P].isEqual=function(a){return a.s==this.s&&(!this.s||a[I]==this[I]&&a.Ua==this.Ua)};ra[_P].H=function(){return new ra(this.s,this[I],this.Ua)};var Vm=function(a,b){b=b||1;a=kg(""+a).toLowerCase();if(a in Tm){return b*Tm[a]}if(!(!a.match(/(%|em|ex)$/i))){var c=Wm(a);return b*sb(a)*ar[c]}var d;if(a in Um){d=Um[a]}else if(Xm(a)){var c=Wm(a);d=br[c].pt*sb(a)}else if(!(!a.match(/^\d+$/))){d=[0,8,10,12,14,18,24,36][a]||b}else{return 1}return d/20},cr=function(a,b,c){var d=a[ea][A];while(a&&a!=d){if(a[k]){var e=a[k][Ae];if(e){if(Xm(e)){break}b*=Vm(e)}}if(c&&c(a)){break}a=a[n]}return b},br={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}},Um={"xx-small":7,"x-small":8,small:9,medium:12,large:14,"x-large":17,"xx-large":22},Tm={smaller:0.8,larger:1.25},ar={"%":0.01,em:1,ex:0.5};var Xm=function(a){return!(!a.match(/(cm|in|mm|pc|pt|px)$/i))};var Wm=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 wr,Pj=function(a,b){if(La(a)){return b==a}else{return b&&b.match(a)}},hn=function(a,b,c){return Pj(a,b in this?this[b]:(this[Cg]?this.getAttribute(b):null))};var Gd=function(){};Gd[_P].Jc=null;Td(Gd[_P],function(){});Gd[_P].Aa=function(a,b){return 0};var sg=function(a,b,c){ra.apply(this,arguments)};sg.a(ra);sg[_P].next=function(){if(!this.Ep()&&this.Ua==0){this.ci();return this}return ra[_P].next.apply(this,arguments)};sg[_P].ki=function(){if(!this.zp()&&this.Ua==0){this.ci();return this}return ra[_P].ki.apply(this,arguments)};sg[_P].H=function(){return new Hq(this.s,this[I],this.Ua)};var Hd=function(){};Hd.a(Gd);Hd[_P].Vg=0;Hd[_P].Aa=function(a,b){this.Vg+=b;if(this.Vg>=0){return 1}else{this.Vg=0;return 3}};Td(Hd[_P],function(){this.Vg=0});var ue=function(a,b){this.Pd=a;this.oc=[];this.bq=b||0;Hd.call(this)};ue.a(Hd);ue[_P].oc=null;ue[_P].bq=0;ue[_P].Pd=null;ue[_P].Pb=false;ue[_P].Aa=function(a,b){if(this.Pb){this.reset()}var c=Hd[_P].Aa.apply(this,arguments);switch(c){case 1:var d=false;switch(this.Pd.Aa(a,b)){case 3:d=true;case 2:this.oc.push(this.Pd.Jc);break;default:break}if(d){if(this.Pd.Aa(a,b)==2){this.oc.push(this.Pd.Jc)}}return 1;case 3:this.Pb=true;return this.oc[i]>=this.bq?3:0;default:this.Pb=true;return c}};Td(ue[_P],function(){this.Pb=
false;Ab(this.oc,0);this.Pd.reset();Hd[_P].reset.call(this)});var ld=function(a,b,c){this.gi=a;this.cq=b||0;this.Pk=c||null;this.oc=[]};ld.a(Gd);ld[_P].gi=null;ld[_P].cq=0;ld[_P].Pk=0;ld[_P].eb=0;ld[_P].Pb=false;ld[_P].oc=null;ld[_P].Aa=function(a,b){if(this.Pb){this.reset()}if(b==0&&a[hc].match(/^\s+$/)){return 1}switch(this.gi.Aa(a,b)){case 2:if(this.eb==0){this.Jc=a}this.eb++;this.oc.push(this.gi.Jc);if(this.Pk!==null&&this.eb==this.Pk){this.Pb=true;return 2}else{return 1}case 1:return wr;case 3:this.eb++;if(this.Db==this.zd[i]){this.Pb=true;return 3}else{return this.Aa(a,
b)}default:this.Pb=true;if(this.eb>=this.cq){return 3}else{return 0}}};Td(ld[_P],function(){this.gi.reset();this.eb=0;this.Pb=false;this.oc=[]});var kf=function(a,b){this.ve=a;this.Fx=b};kf.a(Gd);kf[_P].ve=null;kf[_P].Db=0;kf[_P].Fx=false;kf[_P].Aa=function(a,b){if(b==0&&a[hc].match(/^\s+$/)){return 1}switch(this.ve[this.Db].Aa(a,b)){case 2:if(this.Db==0){this.Jc=a}this.Db++;if(this.Db==this.ve[i]){this.reset();return 2}else{return 1}case 1:return 1;case 3:this.Db++;if(this.Db==this.ve[i]){this.reset();return 3}else{return this.Aa(a,b)}default:this.reset();return 0}};Td(kf[_P],function(){if(this.ve[this.Db]){this.ve[this.Db].reset()}this.Db=
0});var Fc=function(a,b,c,d,e){if(La(a)){this.Ml=a.toUpperCase()}else{this.Ml=a}this.$=b;this.Wi=c;this.Kl=d;this.Ol=e};Fc.a(Gd);Fc[_P].Ml=null;Fc[_P].$=null;Fc[_P].Wi=null;Fc[_P].Kl=null;Fc[_P].Ol=null;Fc[_P].Aa=function(a,b){if(b==this.$&&Pj(this.Ml,a[qa])){if(this.Wi&&!bm(this.Wi,hn,a)){return 0}if(this.Kl&&!bm(this.Kl,hn,a[k])){return 0}if(this.Ol&&!this.Ol(a)){return 0}this.Jc=a;return 2}return 0};var gn=function(a,b,c,d){Fc.call(this,a,1,b,c,d)};gn.a(Fc);var fn=function(a,b,c,d){Fc.call(this,a,-1,b,c,d)};fn.a(Fc);;var Oj=function(a){this.Xp=a};Oj.a(Gd);Oj[_P].Xp=null;Oj[_P].Aa=function(a,b){if(b==0&&Pj(this.Xp,a[hc])){this.Jc=a;return 2}return 0};var Wc=function(){this.zd=[];this.zb=[]};Wc[_P].zd=null;Wc[_P].zb=null;Wc[_P].Km=function(a,b){this.zd.push(a);this.zb.push(b)};Wc[_P].mr=function(){for(var a=0,b=this.zd[i];a<b;a++){this.zd[a].reset()}};Wc[_P].vy=function(a){for(var b=0,c=this.zd[i];b<c;b++){var d=this.zd[b];switch(d.Aa(a.s,a[I])){case 2:case 3:var e=this.zb[b];return e(d.Jc,a,d);default:break}}return false};Wc[_P].match=function(a){var b=new sg(a);this.mr();while(true){if(this.vy(b)){this.mr()}else{b.next()}if(b.Sh()){return}}};function t(a,b,c){P.call(this);this.id=a;this.ga=null;if(c){if(La(c)){this.Xh=c}else{if(!c.cssStyles){c.cssStyles=Ya}this.Cn=c.cssStyles;if(c.className){this.gn=c.className}{this.Xh=c.loremIpsumMessage}if(!c.minHeight){c.minHeight=Ya}this.ai=c.minHeight}}ab(this,b);this.Hl={};this.zi(ba.Vb);this.zi(ba.Kd);this.Th=false;this.Ap=false;this.zj=new Vb(this.Nn,250,this);this.Sg={};for(var d in ba){this.Sg[ba[d]]=0}if(ji){this.Te=new Vb(this.Dh,15,this)}this.o=new Ja(this);this.Ns=[];this.Ks=false}t.a(P);
t[_P].w=fd("TR_EditableField");var ba={rm:"cvc",wm:"load",Cm:"unload",lm:"beforechange",Vb:"change",Kd:"delayedchange",nm:"beforefocus",sm:"focus",pm:"blur",om:"beforetab",Ni:"selectionchange"},xk=null,vd=function(a){xk=a},Jc=function(){return xk};t[_P].L=function(){return this[Ld]||this.ed||null};t[_P].yo=function(){var a=this.L();return a&&vn?a[ea]:a};t[_P].addListener=function(a,b,c,d){var e=this.yo();this.o.i(e,a,b,c,d)};t[_P].lw=function(){return this[Yc]};t[_P].Lr=function(a){Fe(this,a)};t[_P].FA=
function(a){if(a==this.ai){return}this.ai=a;this.Dh()};{t[_P].mb=function(){return this[I]==2}}t[_P].Rc=function(){return!zc||false};var qi={46:true,8:true};if(s){qi[229]=true;var vk={86:true,88:true,66:true,73:true,85:true}}else if(y||ma){qi[9]=true;vk={86:true,88:true}}var Xn=function(a,b){if(Ak(a)){return true}return b&&!(a[xc]||a[ad])&&(!y||a[zg])},Ak=function(a){var b=(a[xc]||a[ad])&&a[Za]in vk,c=!(a[xc]||a[ad])&&a[Za]in qi;return b||c},ud=function(a){if(!a[Cg]){return false}return a.getAttribute("g_editable")==
"true"};t[_P].Wr=function(a,b){this.field=a;this.ga=b;this.Th=false;this.Ap=false};t[_P].ls=function(){this.field=null;this.ga=null;this.$i=null};t[_P].ZA=function(){if(ji){this.addListener("focus",this.On);this.addListener("blur",this.Mn,true);this.addListener(Ve,this.Qo);this.addListener("keyup",this.Zo);this.addListener("dragdrop",this.On);this.aB(this.ga)}else{this.addListener(Ue,this.Qo);this.addListener(Ve,this.nx);this.addListener("keyup",this.qx);this.addListener(["beforecut","beforepaste",
"drop","dragend"],this.Xg);this.addListener("cut",this.Fb);this.addListener("focus",this.Pn);this.addListener("blur",this.Mn);this.addListener(Ep,this.Ln)}var a=E(this.Gj,this);this.addListener(Ad,a,false);this.kA=new Vb(a,250);if(sn){this.addListener(hb,Wn)}};t[_P].ln=function(){if(this.o){this.o.Mc()}if(this.Te){this.iu()}this.ju()};t[_P].c=function(){this.ls();this.ln();if(this.o){this.o.c();this.o=null}this.Mz();t.h.c.call(this)};t[_P].Ot=function(a){this.Ns.push(a)};t[_P].Mz=function(){var a;
while(a=this.Ns.pop()){a.c()}};t[_P].Wv=function(){return this.o};var wk=["DOMNodeInserted","DOMNodeRemoved","DOMNodeRemovedFromDocument","DOMNodeInsertedIntoDocument","DOMCharacterDataModified"];t[_P].aB=function(a){if(!this.Rc()){return}var b=a.k();this.o.i(b,wk,this.$o,true);if(this.mb()){this.o.i(a.vh(),wk,this.Qn,true);this.o.i(this.ga.U(),"load",this.Rn,true)}this.o.i(b,"DOMAttrModified",this.So.G(this,false),true);if(this.mb()){this.o.i(a.vh(),"DOMAttrModified",this.So.G(this,true),true)}};
t[_P].Qo=function(a){var b=a[Za]==9&&!this.dv(a)||y&&a[ad]&&(a[Za]==37||a[Za]==39);if(b){a.preventDefault()}else{this.ik=a[zg]||Xn(a,y);if(this.ik){this.Xg()}}};t[_P].nx=function(a,b){this.ik=true;this.Xg()};t[_P].qx=function(a){if(this.ik||Ak(a)){this.Dh()}this.Zo(a)};var Vn={8:1,46:1,37:1,39:1,38:1,40:1,13:1,36:1,35:1,9:1,33:1,34:1};t[_P].Zo=function(a){if(this.Ya(ba.Ni)){return}if(a[xc]||a[ad]||Vn[a[Za]]){this.kA.start()}};t[_P].So=function(a,b){if(this.Ya(ba.Vb)){return}b=b.hd();try{if(b.originalTarget.prefix||
b.originalTarget[qa]=="scrollbar"){return}}catch(b){return}if(b.prevValue==b.newValue){return}if(a){this.Qn()}else{this.$o(b)}};t[_P].$o=function(a){if(this.Ya(ba.Vb)){return}a=a.hd?a.hd():a;if(a[aa].hC){return}this.Th=true;this.Ap=true;this.Te.start()};t[_P].ic=function(){return this.ga};t[_P].p=function(){return this.ic().p()};t[_P].Gj=function(a){if(this.Ya(ba.Ni)){return}var b=this.p();this.$i=b;this.Fj(b.wp(this.L()));this.dispatchEvent({type:"selectionchange",selection:b})};t[_P].Xg=function(){if(this.Ya(ba.lm)){return}this.dispatchEvent(ba.lm)};
t[_P].dv=function(a){return this.dispatchEvent({type:ba.om,shiftKey:a[Od],altKey:a[qf],ctrlKey:a[xc]})};t[_P].yi=function(a,b){if(a){if(this.Te){this.mu()}this.zi(ba.Vb)}if(b){this.hn();this.zi(ba.Kd)}};t[_P].El=function(a,b){this.is(ba.Vb);this.is(ba.Kd);if(a){this.Dh()}if(b){this.Nn()}};t[_P].zi=function(a){this.Hl[a]=1};t[_P].is=function(a){this.Hl[a]=0};t[_P].Xu=function(a){this.Sg[a]=Da()};t[_P].Ya=function(a){return!(!this.Hl[a])||this.Sg[a]&&Da()-this.Sg[a]<=500};t[_P].Fb=function(a){this.El(true,
a)};t[_P].Dh=function(){if(this.Ya(ba.Vb)){return}this.Th=true;this.sC=true;this.Rn();if(this.Ya(ba.Kd)){return}this.zj.start()};t[_P].Rn=function(){if(y&&this.mb()&&this.Rc()){this.dispatchEvent(ba.Vb)}};t[_P].Qn=function(){if(this.Ya(ba.Vb)){return}this.dispatchEvent("outerDocChange")};t[_P].Nn=function(){if(this.Ya(ba.Kd)){return}this.Th=false;this.dispatchEvent(ba.Kd)};t[_P].mu=function(){this.Te.jo()};t[_P].iu=function(){this.Te.stop()};t[_P].hn=function(){this.zj.jo()};t[_P].ju=function(){this.zj.stop()};
t[_P].On=function(a){this.Ln(a);this.Pn(a)};t[_P].Ln=function(a){if(this.Ya(ba.nm)){return}this.dispatchEvent(ba.nm)};t[_P].Pn=function(a){if(this.Ya(ba.sm)){return}vd(this.id);if(this.$i&&this.$i.wp(this.L())){this.Fj(true)}this.dispatchEvent(ba.sm);if(!Vj){var b=this.ic().U().parent;b.getSelection().removeAllRanges()}};t[_P].Mn=function(a){if(this.Ya(ba.pm)){return}if(Jc()==this.id){vd(null)}this.Fj(false);this.dispatchEvent(ba.pm);if(!zc&&!Vj&&this.mb()){var b=this.ic().U();$.setTimeout(function(){var c=
b.getSelection();if(c){var d=new C(b,c);d.collapse(true)}},0)}};t[_P].Gk=function(){return this.ey};t[_P].Fj=function(a){this.ey=a;this.dispatchEvent(ba.rm)};var Wn=function(a){if(If($d(a),"a")){a.preventDefault()}};{var zk=false}t[_P].ev=function(){this.ne=true;var a=this.L();if(this.gn){Sa(a,this.gn)}if(this.Cn&&!zk){if(zc&&this.mb()){zk=true}xq(this.Cn,a)}this.El();this.w.Q("Dispatching load "+this.id);this.dispatchEvent(ba.wm);this.w.Q("Load dispatched "+this.id)};t[_P].gv=function(){this.ne=
false;this.dispatchEvent(ba.Cm)};t[_P].Dk=function(){return this.ne};var yk=function(){if(Wj){return"<br>"}return""};{t[_P].Ob=function(){return this.Ks};t[_P].wi=function(a){this.Ks=a};t[_P].Nr=function(a,b){if(this.Xh!=""&&!this.Ob()&&!b.zk()){this.wi(true);this.nq=a[k].fontStyle;a[k].fontStyle="italic";return true}return false};t[_P].rl=function(a){var b=this[Ld];if(b&&this.Nr(b,a)){a.ml(b,true,this.Xh)}};t[_P].gj=function(a){var b=this[Ld];if(b&&this.Ob()&&!a.zk()){a.ml(b,true,null);b[k].fontStyle=
this.nq;this.wi(false);if(ma){ua(b)[A].focus();a.j.gd(b.id)}}};t[_P].AA=function(a,b){if(this.Nr(a,b)){K(a,this.Xh)}};t[_P].qu=function(a,b){if(this.Ob()&&!b.zk()){K(a,yk());a[k].fontStyle=this.nq;this.wi(false)}}}{};var Vd=va.fromCharCode(160),bb=s,Qa=y||ma||Ec,zc=s||ma||Ec,ji=y&&!Uc("1.9a"),Ir=y&&!Uc("1.9a"),Vj=s||ma||Ec,Wg=s||Ec,Xg=y||ma,ii=s,Yj=s,vn=y||Ec,tn=s,Wj=y||ma||Ec,qn=y||Ec,rn=y,un=s&&!Uc("7.0"),Ud=y,sn=ma,Xj=s;var Wd=function(a,b){if(a[R]!=1){return null}if(a[Kd]){return a[Kd][b]}else{var c=ua(a)[$c];if(c&&c.getComputedStyle){var d=c.getComputedStyle(a,"");return d?d[b]:""}}},Ie=function(a,b){var c=Wd(a,b);return ka(c,10)||0},yn=function(a){var b={};b.Ti=[];while(a){var c={nodeName:a[qa],className:a[Jb],id:a.id,cssText:a[k][Yc]};if(a[qa]=="BODY"){b.body=c;break}else{b.Ti.push(c)}a=a[n]}return b},$g=function(a){var b=Ie;return b(a,"paddingTop")+b(a,"paddingBottom")},hk=function(a){var b=Ie;return b(a,"paddingLeft")+
b(a,"paddingRight")},zn=function(a){var b=Ie;return b(a,"borderTopWidth")+b(a,"borderBottomWidth")};{var Fn=/a(:(link|visited|active|hover))?/,sd=function(){this.Ze="";this.qc=[]};sd[_P].NA=function(a){this.qc=[];var b=a.split(/,\s*/gm);for(var c=0;c<b[i];c++){var d=b[c];if(d[i]>0){this.qc.push(new He(d))}}};sd[_P].H=function(){var a=new sd;a.qc=this.qc.concat();a.Ze=this.Ze;return a};sd[_P].Gr=function(a,b){var c=[];for(var d in a){var e=a[d];if(e){c.push(d,":",e,b?" !important":"",";")}}this.Ze=
c.join("")};sd[_P].NB=function(a){var b=this.qc[i],c=false;for(var d=0;d<b;d++){var e=this.qc[d].yd,f=e[i];for(var g=0;g<f;g++){a.push(e[g].tp," ")}if(d<b-1){a.push(",")}if(y){c=c||Fn.test(e[f-1].tp)}}var h=this.Ze;if(c){h=h.replace(xn,"$1 color: $2 ! important; ")}a.push("{",h,"}\n")};var xn=/(^|;|{)\s*color:([^;]+);/g,He=function(a){this.wC=[];this.Ui={};if(a){this.IA(a)}};He[_P].IA=function(a){var b=[],c=a.split(/\s+/gm);for(var d=0;d<c[i];d++){if(!c[d]){continue}var e=new Df(c[d]);b.push(e)}this.yd=
b};He[_P].ty=function(a){var b=a[uf];if(this.Ui[b]){return this.Ui[b]}var c=0,d=null,e=null,f=null,g=a.jq,h=g[i],j=0,d=null;for(j=0;j<=this.yd[i];j++){e=this.yd[j];while(c<h){var l=g[c];if(e&&e.ms(l)){d={Yn:c,zr:j};c++;break}else if(f&&f.ms(l)){d={Yn:c,zr:j-1}}c++}f=e}this.Ui[b]=d;return d};var Df=function(a){var b=fk[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)=="."){la(d,f.substring(1,f[i]))}else if(f.charAt(0)==
"#"){d.id=f.substring(1,f[i])}else{d.tagName=f.toUpperCase()}}this.tp=a;this.uy=d;this.os={};fk[a]=this},fk={};Df[_P].ms=function(a){var b=a[uf],c=this.os[b];if(typeof c!="undefined"){return c}var d=this.uy,e=d[sa],f=d[Jb],g=d.id,h=true;if(e&&e!="*"&&e!=a[qa]){h=false}else if(g&&g!=a.id){h=false}else if(f&&!a.lu[f]){h=false}this.os[b]=h;return h};var wn=function(a){var b=Pb(a),c=gk[b];if(c){return c}var d=[];do{var e={id:a.id,nodeName:a[qa]};e.hash=Pb(e);var f=a[Jb],g={};if(f){var h=Tf(a);for(var j=
0;j<h[i];j++){g[h[j]]=1}}e.lu=g;d.unshift(e)}while(a=a[n]);this.jq=d;this.hash=Pb(this);gk[b]=this},gk={},mi=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++){mi(f[h],b)}}for(h=0;h<d;h++){var j=c[h],l=j.styleSheet;if(l){mi(l,b)}else{b(h,j)}}},Dn=function(a,b){var c=a.styleSheets;if(c){var d=c[i];for(var e=0;e<d;e++){mi(c[e],b)}}},Bn=function(a){var b=[],c=/([^\{]+)\{/;function d(e,f){var g=f.selectorText;
if(!g){return}var h=f[k],j="",l;if(h&&(l=h[Yc])){if(s){l+="/* */"}j=g}else if(f[Yc]){j=c.exec(f[Yc])[1];l=f[Yc].replace(c,"").replace(/\}[^\}]*$/g,"")}if(j){var m=new sd;m.NA(j);m.Ze=l;b.push(m)}}Dn(a,d);return b},jk={},ik=function(a){var b=Pb(a);jk[b]=Bn(a)},En=function(a){var b=Pb(a),c=jk;if(!c[b]){ik(a)}var d=c[b],e=[];for(var f=0;f<d[i];f++){e.push(d[f].H())}return e},Cn=["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"],Gn=["font-family","font-size","font-weight","color","text-align","text-decoration","text-indent","text-transform","letter-spacing","white-space","word-spacing"],An=function(a,b){var c=a[ea];if(b){ik(c)}var d=En(c),e=new wn(a),f=new Df("body");for(var g=0;g<d[i];g++){var h=d[g],j=h.qc,l=j[i];for(var m=
0;m<l;m++){var r=j[m],x=r.ty(e);if(x){var O=x.zr,W=r.yd;if(x.Yn==e.jq[i]-1||O<W[i]-1){var fb=W.concat();fb.splice(0,O+1,f);var Ib=new He;Ib.yd=fb;j.push(Ib)}}}}var Xc=new sd,of=a[Kd]||ua(a)[$c].getComputedStyle(a,"")||{},ve=new He;ve.yd=[new Df("html")];Xc.qc=[ve];var Qj={};for(var g=0,Jd;Jd=Cn[g];g++){Qj[Jd]=of[Uh(Jd)]}Xc.Gr(Qj);d.push(Xc);var di=new sd,Rj=new He;Rj.yd=[new Df("body")];var Sj={position:"relative",top:"0",left:"0",display:"block",visibility:"visible"};for(g=0,Jd;Jd=Gn[g];g++){Sj[Jd]=
of[Uh(Jd)]}di.Gr(Sj,true);di.qc=[Rj];d.push(di);var Tj=[];l=d[i];for(g=0;g<l;g++){d[g].NB(Tj)}return Tj.join("")}};var Ri=function(){};Ri[_P].w=fd("goog.debug.GcDiagnostics");Cf(Ri[_P],function(){if(this.Dc){if(this.Dc.isTracing()){this.Dc.endGcTracing()}this.Dc.startGcTracing()}});Ug(Ri[_P],function(){if(this.Dc&&this.Dc.isTracing()){var a=this.Dc;this.Dc.endGcTracing();var b=a.getNumTraces();this.w.Q("*********GC TRACE*********");this.w.Q("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=q.round(g*10)/10,j="GC "+d+": "+h+" ms, numVValAlloc="+e.numVValAlloc+
", numVarAlloc="+e.numVarAlloc+", numBytesSysAlloc="+e.numBytesSysAlloc;if(wh){wh.Im(j,null,f)}this.w.Q(j);c+=g}if(wh){wh.Im("Total GC time was "+c+" ms.")}this.w.Q("Total GC time was "+c+" ms.");this.w.Q("*********GC TRACE*********")}});;var Zo=top,ph=function(){return Zo},Nb=function(a,b,c){return a&&a[qa]&&a[qa].toLowerCase()==b&&(!c||a[Jb]==c)},oh=function(a){return a.charCodeAt(0)},Jr=fd("TR_Util");var ll=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},qh=function(a){var b=/^([a-z0-9_-])+(\.[a-z0-9_-]+)*\@(([a-z0-9\-])+\.)+[a-z0-9]+$/i;
return a.search(b)==0},Ki=function(a){if(a.search(/:/)<0){a="http://"+qm(a)}return a};var Ji=function(a){return!/[^\t\n\r ]/.test(a)};function cl(a){this.n=a}cl[_P].Mo=function(a){function b(c){if(Di(c)){return NodeFilter.FILTER_SKIP}return NodeFilter.FILTER_ACCEPT}return this.n.createTreeWalker(a,NodeFilter.SHOW_TEXT,b,true)};var Di=function(a){return Ji(a[hc])},Qk=function(a){if(a[R]==3||a[R]==4){return/^[\s\u00a0]*$/.test(a[hc])}else{return false}};var dd=function(a){return ua(a)[xe]=="CSS1Compat"},Bo=function(a){var b=ua(a);return Yf(b)},Rk=function(a,b){if(a[R]==3||a[R]==4){if(b){return Qk(a)}else{return Di(a)}}if(Nb(a,"img")){return false}if(!a[ia]){return false}for(var c=0;c<a[ia][i];c++){if(!Rk(a[ia][c],b)){return false}}return true},ih=function(a){return!Nb(a,"img")&&(a[R]!=1&&a[R]!=3||Di(a))},Jf=function(a){while(a){a=
a[Hc];if(!a||!ih(a))return a}},be=function(a){while(a){a=a[gb];if(!a||!ih(a))return a}},Ci=function(a){if(a){var b=a[pd];while(b){if(!ih(b)){return b}b=b[Hc]}}return null},hh=function(a){if(a){var b=a[Z];while(b){if(!ih(b)){return b}b=b[gb]}}return null},Lc=function(a){while(hh(a)){a=hh(a)}return a},ce=function(a){while(Ci(a)){a=Ci(a)}return a},Ao=function(a){while(a&&!Jf(a)){a=Pk(a)}if(a){a=Jf(a);a=ce(a);return a}else{return null}},zo=function(a){while(a&&!be(a)){a=Pk(a)}if(a){a=be(a);a=Lc(a);return a}else{return null}},
wd=function(a,b){for(;a;a=a[n]){if(b(a)){return a}}return null},If=function(a,b,c){b=b.toLowerCase();var d=function(e){return e[qa].toLowerCase()==b&&(!c||e[Jb]==c)};return wd(a,d)},yo=function(a,b,c){var d=function(e){return e[Cg]&&e.getAttribute(b)==c};return wd(a,d)},Eo=function(a){var b=Wd(a,"display");return b=="block"},mc=function(a){return a&&(Eo(a)||a[qa].toLowerCase()=="td"||a[qa].toLowerCase()=="table"||a[qa].toLowerCase()=="li")},ae=function(a){return wd(a,mc)},Ei=function(a,b,c){if(a.setAttribute){a.setAttribute(b,
c);var d=a[ia];for(var e=0;e<d[i];e++){Ei(d[e],b,c)}}},Gi=function(a,b){if(a[k]){kh(a,b);var c=a[Z];while(c){Gi(c,b);c=c[gb]}}},Co=function(a,b){b[n].insertBefore(a,b[gb])},Do=function(a,b){b[n].insertBefore(a,b)},Ho=function(a,b){b[n].replaceChild(a,b)},Sk=function(a,b){var c=b[ia][i];for(var d=0;d<c;d++){a.appendChild(b[Z])}},Fo=function(a,b){var c=a.getElementsByTagName(b);while(c[0]){jh(c[0]);U(c[0])}},jh=function(a){var b=a[n],c=a[gb];while(a[Z]){b.insertBefore(a[Z],c)}},ob=function(a,b,c,d,
e){var f=a.createElement(b);Fi(f,c);if(La(d)){aj(f,{style:d})}else{kh(f,d)}if(e){e.appendChild(f)}return f},Fi=function(a,b){for(var c in b){a[c]=b[c]}},Go=function(a,b){for(var c=0;c<b[i];++c){a.removeAttribute(b[c])}},kh=function(a,b){for(var c in b){a[k][c]=b[c]}},gh=function(a){for(var b=1;b<arguments[i];++b){Pc(a,arguments[b])}},Pk=function(a){return a[n]},Bc=function(a,b){return a.hasChildNodes()&&b<a[ia][i]?a[ia][b]:null},Mc=function(a){return a[i]?a[i]:a[ia][i]},Ne=function(a){if(a[tf]){return a[tf]}else if(a.hasChildNodes()){var b=
"";for(var c=0;c<a[ia][i];c++){var d=a[ia][c];b+=Ne(d)}return b}else{return""}},xd=function(a){var b=Ne(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==Vd||Ji(b))},Bi=function(a,b){var c=a[ea].createTextNode(b);a.appendChild(c);return c},xo=function(a,b,c,d,e){var f;if(typeof b=="string"){f=ob(a[ea],"a",{href:b},{},a);if(e){Ic(f,"_blank")}}else{f=
ob(a[ea],"span",{className:"tr_pseudo-link"},{},a);c.i(f,"click",b)}if(d)Bi(f,d);return f},Me=function(a,b,c,d){var e=ka(a,10),f=ka(b,10),g=c.createElement("table");for(var h=0;h<e;h++){var j=g.insertRow(0);for(var l=0;l<f;l++){var m=j.insertCell(0);if(!d){m.appendChild(c.createTextNode(Vd))}}}return g};var Nk=function(a,b){for(var c=0,d=a[ia][i];c<d;c++){if(b(a[ia][c])){return c}}return null},Ok=function(a){try{return a[pf]}catch(b){}return null};var dk=function(a){return ek(a,false)};var ek=function(a,b){var c=b?Jf:be;while(a&&!c(a)&&!mc(a[n])&&!ud(a[n])){a=a[n]}return a&&!c(a)&&!ud(a[n])};function ah(a,b){this.yr=a;this.As=new cl(a[Md][ea]);this.nv=b}ah[_P].D=function(a,b){if(!b)b=0;a=Un(a);var c=a.commonAncestorContainer;this.r=this.nv.$d(c);var d=0,e=this.As.Mo(this.r),f=e.nextNode(),g=b==1&&lk(a,0);if(g){b=0;this.yk=true}else{this.yk=mk(a,b)}if(!this.yk&&b==-1&&mk(a,0)){b=0}while(f){if(f==a[Ga]){this.J=d+a[Lb]+b;break}d+=f[i];f=e.nextNode()}this.r.normalize()};ah[_P].restore=function(){this.r.normalize();var a=this.As.Mo(this.r),b=0,c=a.nextNode();while(c){if(b<=this.J&&this.J<=
b+c[i]){if(this.yk&&this.J!=0){b+=c[i];c=a.nextNode()}var d=c,e=this.J-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=kc(d,e);this.yr.removeAllRanges();this.yr.addRange(g)};var lk=function(a,b){if(!b)b=0;return a[we]&&a[Lb]+b==Mc(a[Ga])&&dk(a[Ga])},mk=function(a,b){if(!b)b=0;return a[we]&&(a[Lb]+b==0&&ek(a[Ga],true)||lk(a,0)&&b==1)},kk=function(a,b){var c=null;if(Qa){c=new bh(a,b)}else if(bb){c=new Ef(a,b)}if(!c.Hp()){c=null}return c},Ff=function(a,b,c){this.mq=
b;this.xi=[];while(a&&a[qa]!="BODY"&&a!=c){var b=0,d=a[Hc];while(d){d=d[Hc];++b}this.xi.unshift({name:a[qa],Of:b});a=a[n]}};$a(Ff[_P],function(){var a=[],b;for(var c=0;b=this.xi[c];++c){a.push(b.Of+","+b[Gc])}return a.join("\n")+"\n"+this.mq+"\n"});Ff[_P].io=function(a){var b,c=a;for(var d=0;b=this.xi[d];++d){c=c[ia][b.Of];if(!c||c[qa]!=b[Gc]){return null}}return c};Ff[_P].Ho=function(){return this.mq};var bh=function(a,b){this.Ff=false;if(!a){return}var c=a[xg],d=a[Md];if(!c||!d){return}var e=a.anchorOffset,
f=new Ff(c,e,b),g=a.focusOffset,h=new Ff(d,g,b),j=kc(c,e),l=kc(d,g);if(j.compareBoundaryPoints(Range.START_TO_START,l)<1){this.J=f;this.Y=h}else{this.J=h;this.Y=f}this.Ff=true};bh[_P].Hp=function(){return this.Ff};$a(bh[_P],function(){return"MOZ:"+this.J.toString()+this.Y.toString()});bh[_P].kl=function(a,b){var c=this.J.io(a),d=this.Y.io(a);if(!c||!d){return false}var e=kc(c,this.J.Ho(),d,this.Y.Ho());b.focus();var f=b.getSelection();f.removeAllRanges();f.addRange(e);return true};var Ef=function(a,
b){this.Ff=false;if(!gd(b,a.parentElement())){return}var c=b[ea][A].createTextRange();c.moveToElementText(b);var d=a.duplicate();d.collapse(true);d.setEndPoint("StartToStart",c);this.J=this.sn(d);var e=a.duplicate();e.setEndPoint("StartToStart",c);this.Y=this.sn(e);this.Ff=true};Ef[_P].Hp=function(){return this.Ff};$a(Ef[_P],function(){return"IE:"+this.J+","+this.Y});Ef[_P].sn=function(a){var b=a.duplicate(),c=a[Rd],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};Ef[_P].kl=function(a,b){a.focus();var c=a[ea][Lg].createRange();c.moveToElementText(a);c.collapse(true);c.moveEnd("character",this.Y);c.moveStart("character",this.J);c.select()};function Hf(a,b){this.Ba=a;this.j=b}var kc=function(a,b,c,d){var e=a[ea].createRange();e.setStart(a,b);if(c&&d>=0){e.setEnd(c,d)}return e},Un=function(a){var b=a[Ga],c=a[Lb],d=a[fc],e=a[gc];if(mc(b)){var f=Mc(b);if(f==c){b=ce(b);c=Mc(b)}else{b=Bc(b,c);b=Lc(b);c=0}}if(!a[we]&&mc(d)){var f=Mc(d);if(e==0){d=Lc(d);e=0}else{d=Bc(d,e-1);d=ce(d);e=Mc(d)}}if(a[we]){return kc(b,c)}else{return kc(b,c,d,e)}};Hf[_P].qi=function(a){if(mc(a[Ga])){var b=Bc(a[Ga],a[Lb]);b=Lc(b);var c=0}else{var b=a[Ga],c=a[Lb]}if(mc(a[fc])){var d=
Bc(a[fc],a[gc]);d=ce(d);var e=Mc(d)}else{var d=a[fc],e=a[gc]}a=kc(b,c,d,e);this.Ba.qi(a)};Hf[_P].bv=function(a){if(!a[we]){var b=new ah(this.Ba.getSelection(),this.j);b.D(a,0);var c=Sn(a),d=Tn(a);this.tv(a);if(c){var e=ae(a[Ga]);if(Rk(e,false)){K(e,"&nbsp;");this.Ba.wr(e[Z]);b=null}}if(!c&&d){var f=ae(a[Ga]),g=be(f);Sk(g,f);U(g)}if(b)b.restore()}};Hf[_P].tv=function(a){a=a.cloneRange();var b=new ah(this.Ba.getSelection(),this.j);b.D(a);var c=a.extractContents();if(a[Ga].hasChildNodes()){var d=Bc(a[Ga],
a[Lb]);if(d){var e=Jf(d);if(Ne(d)==""){U(d)}if(e&&Ne(e)==""){U(e)}}}b.restore();return c};Hf[_P].yw=function(){var a=this.Ba.Lb();a=a.cloneRange();return a};var Sn=function(a){var b=Rn(a),c=Qn(a);return b==c},Tn=function(a){var b=a[fc];if(mc(b)&&mc(Bc(b,a[gc]))){return false}var c=ae(b);while(c!=b){if(be(b)){return true}b=b[n]}return a[gc]!=Mc(a[fc])},Rn=function(a){var b=a[Ga];if(mc(b)&&mc(Bc(b,a[Lb]))){return Bc(b,a[Lb])}return ae(b)},Qn=function(a){var b=a[fc];if(mc(b)&&mc(Bc(b,a[gc]))){return Bc(b,
a[gc])}return ae(b)};var io=Da(),lc=function(){return"tr_"+io++};function Of(a){this.Pa=a}Of[_P].Jg=function(a){var b=a.Pa;return 0==Vk(this.Pa,b[Ga],b[Lb])};Of[_P].Ig=function(a){var b=a.Pa;return 0==Vk(this.Pa,b[fc],b[gc])};Of[_P].pi=function(a){if(a[R]==3)a=a[n];var b=Lc(a),c=ce(a);if(Nb(b,"br")){b=b[n]}if(Nb(c,"br")){c=c[n]}this.Pa.setStart(b,0);this.Pa.setEnd(c,Mc(c))};function Le(a){Cf(this,new lf(this,"Start"));this.$n=new lf(this,"End");this.Pa=a}Le[_P].Jg=function(a){return this.tn(a.start)};Le[_P].Ig=function(a){return this.tn(a.$n)};Le[_P].tn=function(a){try{return this.start.by(a)&&
this.$n.dy(a)}catch(b){return false}};Le[_P].pi=function(a){var b=this.Pa;if(a[R]==1){b.moveToElementText(a)}else{var c=0,d=a;while(d=d[Hc]){var e=d[R];if(e==3){c+=d[hc][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[hc][i])}};function lf(a,b){this.$q=a;this.Oq=b;this.rC=true}lf[_P].by=function(a){return this.rn(a)<=0};lf[_P].dy=function(a){return this.rn(a)>=0};lf[_P].rn=function(a){var b=this.$q.Pa;
return b.compareEndPoints(this.Oq+"To"+a.Oq,a.$q.Pa)};function Lf(a){if(bb){Le.call(this,a)}else{Of.call(this,a)}}Lf.a(bb?Le:Of);var lh=function(a){var b=bb?a[ea][A].createTextRange():a[ea].createRange(),c=new Lf(b);c.pi(a);return c};Lf[_P].Au=function(a){return this.Jg(a)&&this.Ig(a)};Lf[_P].zz=function(a){return this.Jg(a)||this.Ig(a)||a.Jg(this)||a.Ig(this)};var Vk=function(a,b,c){if(a.comparePoint){return a.comparePoint(b,c)}else{return a.compareBoundaryPoints(Range.START_TO_START,kc(b,c))}};function C(a,b){this.q=a||window;if(!b){if(this.q.getSelection){b=this.q.getSelection()}else if(this.q[ha][Lg]){b=this.q[ha][Lg]}else if(this.q[ha].getSelection()){b=this.q[ha].getSelection()}}this.Bd=b;try{if(b&&b.createRange){if(b[I]=="Control"){var c=b.createRange(),d=c.item()[ea];this.m=d[A].createTextRange()}else{this.m=b.createRange()}}else{this.m=b}}catch(e){this.m=null}}C[_P].w=fd("TR_SelectionUtil");C[_P].Bd=null;C[_P].m=null;C[_P].q=null;C[_P].getSelection=function(){return this.m};C[_P].Ca=
null;C[_P].ja=null;C[_P].J=-1;C[_P].Y=-1;C[_P].xa=function(){this.Ca=null;this.ja=null;this.J=-1;this.Y=-1};C[_P].Af=function(){return this.Ca||(this.Ca=this.ld(1))};C[_P].Zj=function(){return this.ja||(this.ja=this.ld(0))};C[_P].Hw=function(){return this.J>=0?this.J:(this.J=this.Io(1))};C[_P].Vv=function(){return this.Y>=0?this.Y:(this.Y=this.Io(0))};C[_P].Io=function(a){return Qa?this.uw(a):this.tw(a)};C[_P].tw=function(a){var b=this.ld(a);if(b[R]==1){return 0}else{var c=this.oh(),d=lh(b).Pa;c.setEndPoint(a==
1?"EndToEnd":"StartToStart",d);var e=c[Rd][i];return a==0?e:b[hc][i]-e}};C[_P].uw=function(a){var b=this.Lb();if(!b){return-1}return a==1?b[Lb]:b[gc]};C[_P].ld=function(a){if(Qa){var b=this.Lb();if(!b){return null}return a==1?b[Ga]:b[fc]}else if(bb){var c=this.Xa();return this.ro(c,a)}};C[_P].ro=function(a,b){if(!a||!a[Z]){return a}var c=b==1?hh(a):Ci(a),d=b==1?be:Jf;while(c){if(this.mj(c,false)){return this.ro(c,b)}c=d(c)}return a};C[_P].Xa=function(){if(this.m.parentElement){var a=this.m[Rd];for(var b=
1;a.charAt(a[i]-b)==" ";++b){this.m.moveEnd("character",-1)}var c=this.m.parentElement(),d=zj(this.m[Dg]);while(d[i]>zj(c[Nd])[i]){c=c[n]}while(c[ia][i]==1&&c[Eg]==c[Z][Eg]){if(c[Z][sa]=="IMG"){return c}c=c[Z]}return c}else if(Qa){if(bc(this.m[Md])){return null}var e=this.Lb();if(!this.Hc()&&e[Ga][i]==e[Lb]&&!dk(e[Ga])){var f=zo(e[Ga]),g=0,h=e[fc],j=e[gc];if(f){e=kc(f,g,h,j)}}var h=e[fc],j=e[gc];while(h&&!e[we]&&Qk(h)){var l=Ao(h);if(xp(l,e[Ga])>=0){h=l}if(h){j=h[i];e=kc(e[Ga],e[Lb],h,j)}if(h!=l){break}}if(e){return e.commonAncestorContainer}else{return null}}else if(this.m.item){return this.m.item(0)}};
C[_P].Hc=function(){return this.m.isCollapsed||this.m[Rd]==""};C[_P].wp=function(a){var b=this.Xa();return b&&gd(a,b)};C[_P].empty=function(){this.xa();if(this.Bd.empty){try{this.Bd.empty()}catch(a){}}else if(this.Bd.removeAllRanges){this.Bd.removeAllRanges()}};C[_P].Kn=function(a){this.xa();var b=new Hf(this,a),c=b.yw();b.bv(c);return c};C[_P].mj=function(a,b){if(!a){return false}try{var c=new Lf(this.Lb()),d=lh(a);return b?c.Au(d):c.zz(d)}catch(e){return false}};C[_P].pi=function(a){this.xa();if(bb){this.m.moveToElementText(a);
this.m.select()}else if(Qa){var b=Lc(a),c=ce(a);this.m.collapse(b,0);this.m.extend(c,Mc(c))}};C[_P].qi=function(a){this.xa();if(Qa){if(this.m){if(this.m.removeAllRanges){this.m.removeAllRanges();this.m.addRange(a)}else if(this.m.setBaseAndExtent){this.m.setBaseAndExtent(a[Ga],a[Lb],a[fc],a[gc])}this.q.focus()}}};C[_P].selectNodes=function(a,b,c,d){return Qa?this.xr(a,b,c,d):this.jA(a,b,c,d)};C[_P].jA=function(a,b,c,d){var e=lh(a).Pa;if(b){e.move("character",b)}var f=lh(c).Pa;f.collapse();if(d){f.moveEnd("character",
d)}if(e[Rd][i]||f[Rd][i]){e.setEndPoint("EndToEnd",f)}e.select()};C[_P].xr=function(a,b,c,d){this.xa();var e=a;a=Ii(a);if(a!=e){b=Nk(a,function(h){return h==e})}this.m.collapse(a,b);try{var f=c;c=Ii(c);if(c!=f){d=Nk(c,function(h){return h==f})}this.m.extend(c,d)}catch(g){}};C[_P].wr=function(a){this.iA(a,0)};C[_P].iA=function(a,b,c,d){this.xa();a=Lc(a);a=Ii(a);var e=kc(a,b,c,d);this.qi(e)};var Ii=function(a){return Nb(a,"br")?a[n]:a};C[_P].fl=function(){if(bb){this.ni=this.Bd.createRange()}else if(Qa&&
this.m[xg]){this.pg=this.uo(true);this.Tj=this.uo(false)}};C[_P].el=function(){this.xa();if(bb&&this.ni){this.ni.select()}else if(Qa&&this.pg&&this.pg.s[ea]&&this.Tj.s[ea]){this.xr(this.pg.s,this.pg.Of,this.Tj.s,this.Tj.Of);this.q.focus()}};C[_P].collapse=function(a){if(bb){this.xu(a)}else if(Qa){this.yu(a)}};C[_P].xu=function(a){this.xa();if(this.ni){this.ni.collapse(a)}};C[_P].yu=function(a){this.xa();if(!this.Hc()){if(a){this.m.collapseToStart()}else{this.m.collapseToEnd()}}};C[_P].k=function(){if(!this.n){if(this.m[Md]){this.n=
this.m[Md][ea]}else if(this.m.parentElement){this.n=this.m.parentElement()[ea]}}return this.n};C[_P].uo=function(a){var b=this.m[a?"anchorNode":"focusNode"],c=this.m[a?"anchorOffset":"focusOffset"];while(b.hasChildNodes){var d=Bc(b,c);if(!d&&!b[pd]){break}if(d){b=d;c=0}else{b=b[pd];c=Mc(b)}}return{s:b,Of:c}};C[_P].Fo=function(a){var b=this.Xa(),c=[];if(!a){for(var d=b;d&&!ud(d);d=d[n]){if(d[R]==1){c.push(d)}}}return this.Go(b,c,a)};C[_P].Go=function(a,b,c){var d=hh(a);if(c&&!d){return[a]}var e=false;
while(d){if(this.mj(d,false)){e=true;if(c||d[R]==1){b.push(d);if(!c){this.Go(d,b)}}}else if(e){break}d=be(d)}return b};C[_P].hi=function(a){if(bb){this.Qq(a,false)}else if(Qa){this.Sq(a,false)}};C[_P].Rq=function(a){if(bb){this.Qq(a,true)}else if(Qa){this.Sq(a,true)}};C[_P].Qq=function(a,b){this.xa();this.m=a[ea][A].createTextRange();this.m.moveToElementText(a);this.m.collapse(b);this.m.select()};C[_P].Sq=function(a,b){this.xa();var c=vb(a),d=c.createTextNode("");a[n].insertBefore(d,b?a:a[gb]);this.qi(kc(d,
0))};C[_P].Lb=function(){if(bb){return this.m}else if(Qa&&this.m){if(this.m.getRangeAt){if(this.m.rangeCount){return this.m.getRangeAt(0)}else{return null}}else{var a=this.k();if(!a||!this.m[xg]){return null}else{var b=a.createRange();b.setStart(this.m[xg],this.m.anchorOffset);b.setEnd(this.m[Md],this.m.focusOffset);return b}}}else{return null}};C[_P].surroundContents=function(a){this.xa();var b=this.Lb();if(b){var c=b[Dg];if(c){U(a);var d=a.id,e=d||(a.id=lc());K(a,c);b.pasteHTML(a[Nd]);a=this.k().getElementById(e);
if(a&&!d){a.removeAttribute("id")}}else if(Qa){b.surroundContents(a)}else{a=null}}return a};C[_P].oh=function(){var a=null,b=this.Lb();if(bb){a=b.duplicate()}else if(Qa){a=b.cloneRange()}return a};C[_P].insertNode=function(a,b){this.xa();var c=this.oh();if(c){c.collapse(b);if(bb){var d=vb(this.k()[A]),e=a.id;a.id=lc();c.pasteHTML(a[Nd]);a=d.Rs(a.id);a.id=e}else if(Qa){c.insertNode(a);c.detach()}}return a};C[_P].vr=function(a,b){this.empty();var c=this.Bd;if(Qa){var d=this.q[ha].createRange();d.setStartBefore(a);
d.setEndAfter(b);c.addRange(d)}else if(bb){var e=this.q[ha],f=e[A].createTextRange(),g=e[A].createTextRange();f.moveToElementText(a);g.moveToElementText(b);f.setEndPoint("EndToEnd",g);f.select()}};{C[_P].mB=function(a,b){this.xa();if(y){var c=this.oh(),d=this.oh();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 Sb=function(a,b){a=a||new C;this.Ca=a.Af();this.J=a.Hw();this.ja=a.Zj();this.Y=a.Vv();if(this.Ca[R]==1&&this.Ca[sa]!="BR"){this.Ca=this.Ca[ia][this.J];this.J=0}if(this.ja[R]==1){var c=this.ja;this.ja=this.ja[ia][this.Y];if(this.ja){this.Y=0}else{this.ja=c}}ra.call(this,b?this.ja:this.Ca)};Sb.a(ra);Sb[_P].Ca=null;Sb[_P].ja=null;Sb[_P].J=0;Sb[_P].Y=0;Sb[_P].Af=function(){return this.Ca};Sb[_P].Zj=function(){return this.ja};Sb[_P].next=function(){if(this.Yx()){this.ci();return this}return ra[_P].next.apply(this,
arguments)};Sb[_P].ep=function(){return this.s!=this.ja||this.Ep()};Sb[_P].ki=function(){if(!this.fp()){this.ci();return this}return ra[_P].ki.apply(this,arguments)};Sb[_P].fp=function(){return this.s!=this.Ca||this.zp()};Sb[_P].H=function(){var a=new Sb;a.setPosition(this.s,this[I],this.Ua);a.Ca=this.Ca;a.ja=this.ja;a.J=this.J;a.Y=this.Y;return a};;;;var fr=new gn(/./,null,{fontSize:/^(\d+)/}),er=new fn(/./,null,{fontSize:/^(\d+)/}),ir=new Wc,jr=new Wc,gr=new Wc,Zm=function(a,b){if(a.Fc()){return}var c=b?null:a.p();if(c){c.fl()}var d=a.L().L();ir.match(d);var e=false,f=[],g,h=new Wc;h.Km(fr,function(j){if(!e){f.unshift(a.Bw());g=vb(d);e=true}if(j&&j[k]&&(j[k][Ae]&&Oh(j[k][Ae],"em")||Cb(j,"_fs")||Cb(j,"_fontScaler"))||Cb(j,Kj)){f.push(f.peek()*sb(j[k][Ae]));return false}else{var l=j[k][Ae];Wq(j);var m=f.peek(),r=Vm(l,m),x=r/m;if(x<=0.999||x>=1.001){var O=
j;if(j[qa].match(/^(font|span|li|ul)$/i)){var W=g.l("SPAN");while(j[Z]){W.appendChild(j[Z])}j.appendChild(W);O=W}hi(O[k],x+"em")}}return false});h.Km(er,function(){f.pop();return false});h.match(d);jr.match(d);if(c){c.el()}},hr=function(a){if(a.Fc()){return}Zm(a,true);gr.match(a.L().L())};var an=function(a){return Ba(a,"height")},bi=function(a,b){xa(a[k],(b>0?b:0)+"px")},Mj=function(a){if(a==ua(a)[A]){if(s){a=tm(a);return a[Kb]}var b=ua(a),c=Yf(b);return c[vf]}return a[Kb]},qr=function(a,b){var c=Ba(a,"paddingTop")+Ba(a,"paddingBottom");bi(a,b-c)},rr=function(a,b){var c=Ba(a,"paddingTop")+Ba(a,"paddingBottom"),d=Ba(a,"borderTopWidth")+Ba(a,"borderBottomWidth");bi(a,b-c-d)},pr=function(a){var b=Ba(a,"marginTop")+Ba(a,"marginBottom");return a[bd]+b},ur=function(a,b){var c=Ba(a,"paddingTop")+
Ba(a,"paddingBottom"),d=Ba(a,"borderTopWidth")+Ba(a,"borderBottomWidth"),e=Ba(a,"marginTop")+Ba(a,"marginBottom");bi(a,b-c-d-e)},Nj=function(a,b){na(a[k],(b>0?b:0)+"px")},$m=function(a){if(a==ua(a)[A]){a=a[n]}return a[Ub]},dn=function(a,b){var c=Ba(a,"paddingLeft")+Ba(a,"paddingRight");Nj(a,b-c)},sr=function(a,b){var c=Ba(a,"paddingLeft")+Ba(a,"paddingRight"),d=Ba(a,"borderLeftWidth")+Ba(a,"borderRightWidth");Nj(a,b-c-d)},bn=function(a){var b=Ba(a,"marginLeft")+Ba(a,"marginRight");return a[Ce]+b},
tr=function(a,b){if(b[B]){Nj(a,b[B])}if(b[z]){bi(a,b[z])}},rg=function(a){return new db($m(a),Mj(a))},cn=function(a,b){if(b[B]){dn(a,b[B])}if(b[z]){qr(a,b[z])}},jf=function(a,b){if(b[B]){sr(a,b[B])}if(b[z]){rr(a,b[z])}};var Ba=function(a,b){var c=sb(ai(a,b));return Id(c)?0:c},ai=function(a,b){var c,d=ua(a);if(d&&d[$c]&&d[$c].getComputedStyle){var e=d[$c].getComputedStyle(a,"");if(e){c=e[b]}}return ga(c)?c:(a[Kd]?a[Kd][b]:a[k][b])},vc=function(a){this.lj=a;this.Yc=[];this.Nf=0;this.Yh={};var b=this.ld();
if(b){this.ie(b)}};vc[_P].qt=function(a){this.Yc.push(a)};vc[_P].vc=function(){var a=this.ld();if(a){this.gp();this.Yl(a);for(var b=0;b<this.Yc[i];b++){this.Yc[b].vc()}}};vc[_P].ld=function(){var a=this.lj?o(this.lj):zh()[A];return a&&a[n]&&a[R]==1&&a[Z]&&a[k][Bg]!="none"?a:null};vc[_P].ie=function(a){var b=Wf(a);while(b&&b[n]&&b[n]==a){if(Cb(b,"autolayout")){var c=b.id;if(!c){c=(this.lj||"page")+".layout"+this.Nf;b.id=c}this.Yh[c]={display:b[k][Bg]};this.Nf++}b=Ah(b)}};vc[_P].gp=function(){for(var a in this.Yh){var b=
o(a);if(b){ta(b[k],"none")}}};vc[_P].Yl=function(a){};var te=function(a){vc.call(this,a)};te.a(vc);te[_P].ie=function(a){var b=a[zb]?a[zb][i]:0;for(var c=0;c<b;c++){var d=a[zb][c],e=d[tb]?d[tb][i]:0;for(var f=0;f<e;f++){var g=d[tb][f];te.h.ie.call(this,g)}}};te[_P].vc=function(){var a=this.ld();if(a){this.gp();this.Yl(a);for(var b=0;b<this.Yc[i];b++){this.Yc[b].vc()}if(s){for(var b=0;b<this.Yc[i];b++){this.Yc[b].vc()}}}};var qg=function(a){vc.call(this,a)};qg.a(vc);qg[_P].Yl=function(a){var b=0,c=
Wf(a);while(c&&c[n]&&c[n]==a){var d=ai(c,"display")=="none"||ai(c,"visibility")=="hidden",e=ai(c,"position")=="absolute";if(!d&&!e&c[sa]!="SCRIPT"){b+=c[bd]}c=Ah(c)}var f;if((ma||Ec)&&a[sa]=="TD"){f=Mj(a[n])}else{f=Mj(a)}if(this.Nf>0){var g=this.Nf==1?f-b:q.round((f-b)/this.Nf);for(var h in this.Yh){var j=o(h);ur(j,g);ta(j[k],this.Yh[h][Bg])}}};Ob("TLayout",te);Ob("VLayout",qg);fj(vc[_P],"addChildLayout",vc[_P].qt);fj(te[_P],"update",te[_P].vc);fj(qg[_P],"update",qg[_P].vc);;;;;var Kc=function(a,b){if(a instanceof Ta){a.preventDefault();a.stopPropagation();zf(a.hd(),b)}else{if(a.preventDefault){a.preventDefault()}if(a.stopPropagation){a.stopPropagation()}a.cancelBubble=true;zf(a,b)}return b},$d=function(a){if(a[aa]){var b=a[aa];if(Nb(b,"iframe")&&b[aa]){if(b[Jb]!="igm"){b=b[aa]}}return b}else if(a[Qd]){return a[Qd]}else if(a[Zc]){return a[Zc]}},Gk=function(a,b){Ic(b,a);a.dispatchEvent(b)},ho=function(a,b){if(a.dispatchEvent){a.dispatchEvent(b)}else{a.fireEvent("on"+b[I],
b)}},eo=function(a,b,c,d){b=b.hd()||b;var e;if(a.createEvent){e=go(a,b,c,d)}else if(a.createEventObject){e=fo(a,b,c,d)}return e},go=function(a,b,c,d){var e=a.createEvent("MouseEvents");e.initMouseEvent(b[I],b.bubbles,b.cancelable,b.view,b.detail,b[ic],b[jc],ga(c)?b[ic]-c:b[lb],ga(d)?b[jc]-d:b[mb],b[xc],b[qf],b[Od],b[ad],b[rf],b.relatedTarget);return e},fo=function(a,b,c,d){var e=a.createEventObject(b);if(ga(c)){Og(e,b[ic]-c)}if(ga(d)){Pg(e,b[jc]-d)}return e};var wo=function(a){if(y){ta(a[k],"none");ta(a[k],"block")}},vo=function(a){if(y){var b=a[k].borderTopWidth,c=Ie(a,"borderTopWidth")+1;a[k].borderTopWidth=c+"px";a[k].borderTopWidth=b}},fh=function(a){var b=ob(a[ea],"div",{},{overflow:"auto",height:"100%"}),c=ob(a[ea],"div",{},{paddingRight:"5px",height:"100%"},b);c.appendChild(a);return b};;;;;var qc=function(a){P.call(this);this.jg=a||window;this.Wh=w(this.jg,je,this.zx,false,this);this.Na=Te(this.jg)};qc.a(P);qc[_P].Wh=null;qc[_P].jg=null;qc[_P].Na=null;qc[_P].Pf=null;qc[_P].vf=function(){return this.Pf};qc[_P].Pr=function(a){this.Pf=a};qc[_P].c=function(){if(!this.P()){qc.h.c.call(this);if(this.Wh){Ua(this.Wh);this.Wh=null}this.jg=null;this.Na=null}};qc[_P].zx=function(a){var b=Te(this.jg);if(!Xl(b,this.Na)){this.Na=b;this.dispatchEvent(je)}};;;;;;;;;;;;;;;function Zd(a,b){this.Dt=a;this.Dp=b}Zd[_P].of=function(){return this.Dt};Zd[_P].ph=function(){if(!this.xj){this.xj=Ne(this.of())}return this.xj};Zd[_P].Zx=function(){return this.Dp};Zd[_P].sp=function(a){Rg(this.of(),a)};Zd[_P].ku=function(a,b){var c=this.of();Rg(c,b);var d=this.ph(),a=a!=d&&a;if(a){var e=Lc(c);if(e[R]==3){e=e[n]}if(Ne(e)!=d){e=c}K(e,"");Bi(e,a);this.xj=null}this.Dp=false};var Yn=function(a,b,c){var d=new Zd(a,true);d.sp(b);if(c){Ic(a,c)}return d};function Ac(a,b,c,d,e){this.Hf=(this.Zh=(this.If=(this.$h=null)));this.Jk=(this.Kk=null);this.lk=null;this.mk=null;this.ig=c;this.u=d;this.X=b;this.uB=a;this.sv=e;this.o=new Ja(this);if(Id(ka(this.X[k][Ca],10))){nb(this.X[k],"0px")}if(Id(ka(this.X[k].top,10))){this.X[k].top="0px"}this.o.i(a,sc,this.fx)}Ac[_P].c=function(){if(this.o){this.o.c();this.o=null}};Ac[_P].fx=function(a){a=qk(a);if(this.sv&&a[aa]!=this.uB&&Wd(a[aa],"cursor")!="move"){return false}var b=ka(this.X[k][Ca],10),c=ka(this.X[k].top,
10);this.Ny(b,c,a[lb],a[mb]);this.Jk=a[lb];this.Kk=a[mb];if(!bc(this.Hf)){this.$p=a[lb]-b+this.Hf}if(!bc(this.Zh)){this.xy=this.$p+this.Zh-this.Hf}if(!bc(this.If)){this.aq=a[mb]-c+this.If}if(!bc(this.$h)){this.yy=this.aq+this.$h-this.If}this.lk=E(this.bx,this);this.mk=E(this.nk,this);this.To=E(this.nk,this);this.Vo=E(this.dx,this);w(this.u,Ch,this.lk);w(this.u,Ad,this.mk);w(this.u,ie,this.Vo);window.setTimeout(E(function(){w(this.u,sc,this.To)},this),10);var d=ph()[ha];if(this.u==d){this.Gh=(this.Fh=
null)}else{this.Gh=E(this.Wo,this);this.Fh=E(this.Wo,this);w(d,Ad,this.Gh);w(d,sc,this.Fh)}if(this.X.setCapture){this.X.setCapture(true)}return false};Ac[_P].bx=function(a){a=qk(a);var b=a[mb],c=a[lb],d=ka(this.X[k].top,10),e=ka(this.X[k][Ca],10),f,g;if(!bc(this.Hf))c=q.max(c,this.$p);if(!bc(this.Zh))c=q.min(c,this.xy);if(!bc(this.If))b=q.max(b,this.aq);if(!bc(this.$h))b=q.min(b,this.yy);f=e+(c-this.Jk);g=d+(b-this.Kk);nb(this.X[k],f+"px");this.X[k].top=g+"px";this.Jk=c;this.Kk=b;this.My(f,g,a[lb],
a[mb]);return false};Ac[_P].nk=function(a){Kc(a);this.Uo({x:a[lb],y:a[mb]})};Ac[_P].dx=function(a){var b=Te(this.ig);if(a[lb]>=b[B]||a[mb]>=b[z]||a[lb]<0||a[mb]<0){this.nk(a)}};Ac[_P].Wo=function(a){Kc(a);this.Uo()};Ac[_P].Uo=function(a){pb(this.u,Ch,this.lk);pb(this.u,Ad,this.mk);pb(this.u,sc,this.To);pb(this.u,ie,this.Vo);var b=ph()[ha];if(this.Gh){pb(b,Ad,this.Gh)}if(this.Fh){pb(b,sc,this.Fh)}if(this.X.releaseCapture){this.X.releaseCapture()}if(a){this.uq(ka(this.X[k][Ca],10),ka(this.X[k].top,
10),a.x,a.y)}else{this.uq(ka(this.X[k][Ca],10),ka(this.X[k].top,10))}};var qk=function(a){if(!ga(a.layerX)){a.layerX=a.offsetX;a.layerY=a.offsetY}return a};Ac[_P].Ny=function(a,b,c,d){};Ac[_P].My=function(a,b,c,d){};Ac[_P].uq=function(a,b,c,d){};function ya(a){this.Az=a};ya[_P].U=function(){return this.Az};ya[_P].k=function(){if(!this.n){this.n=this.U()[ha]}return this.n};ya[_P].Dw=function(){return Xf(this.U())};ya[_P].Vj=function(){if(!this.Um){this.Um=this.k()[A]}return this.Um};ya[_P].hw=function(){if(!this.ip){this.ip=this.Vj()[n]}return this.ip};ya[_P].Ja=function(a){return this.k().getElementById(a)};ya[_P].gr=function(a){var b=this.Ja(a);if(b){U(b)}};ya[_P].fe=function(){return this.uh()[Ub]};ya[_P].ce=function(){return this.uh()[Kb]};
ya[_P].Fw=function(){return this.uh().scrollWidth};ya[_P].Ew=function(){return this.uh()[wf]};ya[_P].uh=function(){if(!this.lq){this.lq=dd(this.k())?this.k()[od]:this.Vj()}return this.lq};ya[_P].Lq=function(a,b){var c=this.ce()-50,d=this.fe()-50,e="resizable=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=no,menubar=yes,width="+d+",height="+c,f=this.U().open(a,b,e,true);f.focus();return f};ya[_P].EA=function(a){try{this.U().location=a}catch(b){}};ya[_P].hh=function(){this.U().focus()};
ya[_P].p=function(){return new C(this.U())};var rh=function(){ph().status="";return true};ya[_P].refresh=function(){this.U()[yb].reload(true)};function Mb(a){this.mp=a;this.Uk=[];try{var b=a[ye]}catch(c){}finally{if(b){this.Yr()}else{this.jy()}}}Mb.a(ya);Mb[_P].Aj=function(){if(this.se){Ua(this.se);this.se=null}};Mb[_P].Yr=function(){ya.call(this,this.Jb()[ye]);this.fy=true};Mb[_P].jy=function(a){if(a){this.Uk.push(a)}if(!this.se){var b=ii?"readystatechange":"load";this.se=w(this.mp,b,this.Tn,true,this)}try{var c=ii?this.Jb()[De]=="complete":this.Jb().contentDocument[A]}catch(d){}if(c){this.Tn()}};Mb[_P].Tn=function(){if(!ii||this.Jb()[De]==
"complete"){if(!this.fy){this.Yr()}while(this.Uk[i]){var a=this.Uk.pop();a()}Ua(this.se);this.se=null}};var Kk=function(a){return a.frameElement};Mb[_P].Jb=function(){return this.mp};Mb[_P].vh=function(){return this.Jb()[ea]};Mb[_P].nr=function(a,b){var c=ka(a,10),d=ka(b,10);na(this.Jb(),c);xa(this.Jb(),d)};Mb[_P].Gz=function(a,b){a.i(this.vh(),"mouseover",E(this.Hz,this),true);var c=E(this.Fz,this),d=this.k(),e=!(!b);for(var f=0;f<Ik[i];f++){var g=Ik[f];a.i(d,g,c,e)}};Mb[_P].Hz=function(a){this.fA=
a[ic]-a[lb];this.gA=a[jc]-a[mb]};var Jk=["target","originalTarget"],Ik=["mousedown","mouseup","mousemove","mouseover","mouseout","click"];Mb[_P].Fz=function(a){var b=this.Jb();if(!b||!b[n]){return}var c=eo(this.k(),a,this.fA,this.gA);for(var d=0;d<Jk[i];d++){var e=Jk[d];b[e]=a[e]}ho(b,c)};var Uk=function(a,b,c){var d=ua(a);if(d.getBoxObjectFor){var e=c&&c[ha];return Io(a,e)}var f=b,g=c||ph(),h={x:0,y:0},j=a;while(a){h.x+=a[ei];h.y+=a[fi];if(f&&!a[Uj]){a=Kk(f);if(f==g){f=null}else{if(a){var l=Xf(f);h.x-=l.x;h.y-=l.y}f=f.parent}}else{a=a[Uj]}}var a=j;while(a&&!Nb(a,"body")){h.x-=a[gi];h.y-=a[Kg];a=a[n]}return h},Io=function(a,b){var c={x:0,y:0},d=ua(a),e=d.getBoxObjectFor(a),f=b||d,g=f.getBoxObjectFor(tm(f));c.x=e[ic]-g[ic];c.y=e[jc]-g[jc];return c},Kf=function(a){var b=a[bd];if(s&&
dd(a)){b+=$g(a)}return b},Tk=function(a){return a[Ce]};;function Q(a,b,c,d,e,f,g){P.call(this);this.Xb=new ya(a);this.Oj=b;var h=this.Xb.k();this.g=vb(h);this.Tt=e.Qa.base;this.na=e;this.Nl=c;this.nB=d;var j=this.g.l("div",{className:"tr_bubble"});Pc(h[A],j);this.Ra=j;this.Gi=f;this.hB=g.te(new Zd(c,false));this.ii=new pa(j);this.o=new Ja(this);ff(j,0.9);this.o.i(j,We,ff.te(j,1));this.ob=new Qc(c[ea]);this.o.i(this.ob,"key",this.Hh);this.o.i(this.ii,"show",this.Cl);this.o.i(this.ii,"hide",this.Qd);this.Ci=c[qa];if(this.Ci=="IMG"){this.Mu()}else if(this.Ci==
"A"){this.Ku()}this.st();this.xe();ch(j,this.o)}Q.a(P);var ak="beforelocationchange";Q[_P].Hh=function(a){this.Qd();return true};Q[_P].QA=function(a){this.ns=a};Q[_P].BA=function(a){this.yp=a};Q[_P].la=function(){return this.Nl};Q[_P].Mw=function(){return this.nB};Q[_P].rA=function(a){if(this.Ra){H(this.Ra,"zIndex",a)}};var $j="tr_edit-page-span",bk="tr_test-link-span",Zg="tr_original_link",ck=function(a){return a.split("_")[1]},Zj=Vd+Vd+"-"+Vd+Vd,Yg=["tr_small_link","tr_medium_link","tr_large_link",
Zg];Q[_P].qd=function(){var a=this.la();if(this.Ci=="IMG"){return a.src}else if(this.Ci=="A"){return this.na.Po(a)}};var ki=s?4:2;Q[_P].wz=function(){this.Rb(true);this.dispatchEvent("opened")};Q[_P].Qd=function(a){if(this.Ra){U(this.Ra);this.Ra=null;if(this.o){this.o.c();this.o=null}if(this.ob){this.ob.c();this.ob=null}this.dispatchEvent("closed");this.dispatchEvent("dispose")}};Q[_P].Cl=function(){this.ei();this.dl();this.xe()};Q[_P].Rb=function(a){this.ii.Rb(a)};Q[_P].ke=function(){return this.ii.ke()};
Q[_P].xe=function(){var a=this.la(),b=this.Mw(),c=0,d=a[bd],e=this.Xb.U(),f=Uk(a,b,e),g=f.y,h=d+g+ki+c,j=this.Xb.Dw(),l=this.Xb.ce()+j.y,m=tc(this.Ra),r=m[z];if(r+h>l){var x=Uk(this.Oj[ha][A],this.Oj,e),O=Xf(this.Oj).y;h=q.max(g-ki-r,x.y+O+ki)}var W=m[B],fb=f.x,Ib=this.Xb.fe()+j.x;if(W+fb>Ib){fb=Ib-W}Th(this.Ra,fb,h)};Q[_P].dl=function(){var a=4,b=0,c=this.Ra[ia];for(var d=0,e;e=c[d];d++){var f=tc(e);a+=f[B];b+=f[z]}Tc(this.Ra,a,b)};Q[_P].Mu=function(){var a=this.wn(),b;this.ei=this.Wl;{b=this.g.l("div",
{id:"tr_sizes-div"});Pc(a,b);for(var c=0;c<Yg[i];c++){this.zn(Yg[c],false,b);Bi(b,Zj)}}this.ad("tr_delete-image","Remove",this.$u,b);this.dl()};Q[_P].Yg=function(a){this.dispatchEvent({type:"change",au:this.la(),Fy:a})};Q[_P].Wl=function(){var a=this.g.e("tr_sizes-div");if(a){var b=this.la(),c=lo(b,this.na.td(b.src));for(var d=0;d<Yg[i];d++){this.DA(Yg[d],c)}}};Q[_P].DA=function(a,b){var c=ck(a)==b||(!b||b=="full")&&a==Zg;this.zn(a,c)};Q[_P].zn=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 Zg:d="Original size"}if(b){return this.Ru(a,d)}else{var e=a==Zg?this.Vz:this.Yz.G(this,ck(a));return this.ad(a,d,e,c)}};Q[_P].ad=function(a,b,c,d){var e=this.An(a,b,false,d);if(c){this.o.i(e,hb,c)}return e};Q[_P].An=function(a,b,c,d){var e=this.g.l(c?"a":"span",{className:"tr_link"},b);this.Xr(e,a,d);ch(e,this.o);return e};Q[_P].Ru=function(a,b){var c=this.g.l("b",{innerHTML:b});this.Xr(c,a);ch(c,this.o)};
Q[_P].Xr=function(a,b,c){if(c){c.appendChild(a)}else{var d=this.g.e(b);if(d){Co(a,d);U(d)}}a.id=b};Q[_P].$u=function(){this.dispatchEvent("imageremoved");this.Yg();this.Qd(true);po(this.la())};Q[_P].Vz=function(){var a=this.la(),b=E(this.Zz,this),c=no.te(a,this.na,b);mo(a,this.na,{Dq:b,Qy:c})};Q[_P].Zz=function(){this.Wl();this.Yg()};Q[_P].Ku=function(){this.ei=this.Ds;var a=this.nw();if(qh(a.Nk)||a[wc]=="red"){var b=this.g.l("span",{id:"tr_link-text",style:"color:"+a[wc]},this.g.createTextNode(a.Nk))}else{var c=
this.g.l("span",{id:bk},"Go to link: "),b=this.g.l("span",{id:"tr_link-text",style:"color:"+a[wc]},""),d=this.An("tr_test-link",this.g.createTextNode(sq(a.Nk,48))[tf],true,b);Ic(d,"_blank")}var e=this.qj("tr_change-link-span");this.ad("tr_change-link","Change",this.hB,e);var f=this.qj($j);this.ad("tr_edit-page-link","edit page",this.mv,f);var g=this.qj("tr_delete-link-span");this.ad("tr_delete-link","Remove",this.av,g);this.Ds();var h=this.Fu(b,e,f,g,c?c:"");Pc(this.wn(),h);this.dl()};Q[_P].Gv=function(){return{id:"tr_link-div",
style:"padding-top:2px;"}};Q[_P].Gu=function(){Oi(arguments,0,0,"div",this.Gv());return this.g.l.apply(this.g,arguments)};Q[_P].Fu=function(a,b,c,d,e){return this.Gu(e?e:"",a,b,c,d)};Q[_P].qj=function(a){return this.g.l("span",{id:a,"class":"tr_option-link"},this.g.createTextNode(Zj))};Q[_P].nw=function(){var a,b=this.qd();if(li(b)){b=b.substring(7)}else if(il(b,this.Tt)){b="invalid url";a=true}else if(this.na.td(b)){for(var c=0;c<this.Gi[i];c++){var d=this.Gi[c].gC({HB:b});if(d){break}}if(d){b=d.title}else{b=
Nf(b)+" not found";a=true}}return{Nk:b,color:a?"red":"black"}};Q[_P].Ds=function(){var a=this.g.e("tr_link-div");if(a){var b=this.g.e("tr_test-link");if(b){var c=this.g.e(bk),d=this.qd();X(c,!li(d));Rg(b,this.Nw())}var e=this.g.e($j);if(e){X(e,this.Ux())}}};Q[_P].Nw=function(){var a=this.qd();return this.ns?this.ns(a):a};Q[_P].av=function(){this.dispatchEvent("linkremoved");this.Yg();this.Qd();var a=this.la(),b=this.Xb.p();jh(a);b.hi(a);U(a)};Q[_P].Ux=function(){return this.yp&&this.yp(this.qd())};
Q[_P].wn=function(){var a=new mh(this.Xb.k()),b="tr_bubble-content-"+lc(),c={className:"tr_body",id:b},d=a.Qu(c,"tr_bubble");Pc(this.Ra,d);var e=this.Xb.Ja(b);K(e,"");this.Wm=e;return e};Q[_P].st=function(){var a=this.g.l("div",{className:"tr_bubble_closebox",innerHTML:"&nbsp;"});this.o.i(a,hb,this.Qd);H(this.Wm,"paddingRight",this.nC?"10px":"19px");this.Wm.appendChild(a)};Q[_P].Yz=function(a){var b=this.la();qo(b,a);this.Wl();this.Yg()};Q[_P].mv=function(){var a=new kl(this.na.Qa.edit),b=a.ue.substring(0,
a.ue.lastIndexOf("/")+1)+Nf(this.qd())+(a.Wq||"");if(this.dispatchEvent({type:ak,HB:b})){this.Xb.EA(b)}};var li=function(a){return pm(a,"mailto:")};var Nn=function(a,b,c){var d=[];for(var e=b[i]-1;e>=0;e--){var f=On(a,b[e],c);d.unshift(f)}return d},On=function(a,b,c){var d=a.createElement(c);Sk(d,b);if(d[Fa]=="")K(d,"&nbsp;");b[n].replaceChild(d,b);Fo(d,c);return d},ch=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[I]=="text"||f[I]=="file")&&Ln(f)){f.setAttribute("_wasUnselectable",true)}}}if(Xg){b.i(a,"mousedown",Jn,true);var g={};g[Je()]="none";Gi(a,g)}else if(Wg){Ei(a,"unselectable","on")}for(var e=
0;e<d[i];e++){var f=d[e];if(f[I]=="text"||f[I]=="file"){if(!f.getAttribute("_wasUnselectable")){Mn(f)}f.removeAttribute("_wasUnselectable")}}},Jn=function(a){var b=$d(a)[qa];if(b!="TEXTAREA"&&b!="INPUT"){a.preventDefault()}},Mn=function(a){if(Xg){var b={};b[Je()]="";Gi(a,b);var c=pk(a);while(c){Kn(a,c);a=c;c=pk(a)}}else if(Wg){Ei(a,"unselectable","")}},Je=function(){if(y){return"MozUserSelect"}else if(ma){return"KhtmlUserSelect"}},Ln=function(a){if(Xg){return a[k]&&a[k][Je()].toLowerCase()=="none"}else if(Wg){return a[Cg]&&
a.getAttribute("unselectable")=="on"}else{return false}},Pn=function(a,b){if(Xg){a[k][Je()]=b?"none":""}else if(Wg){var c=b?"on":"";a.setAttribute("unselectable",c)}},pk=function(a){var b=function(c){var d=Je();return c&&c[k]&&c[k][d].toLowerCase()=="none"};return wd(a,b)},Kn=function(a,b){while(a&&a!=b){var c=a;a=a[n];if(!a[k]){continue}var d=Je();a[k][d]="";var e=a[Z];while(e){if(e!=c&&e[k]){e[k][d]="none"}e=e[gb]}}};function kl(a){var b=/^([a-zA-Z]+):(.*)$/;if(a.match(b)){this.protocol=RegExp.$1.toLowerCase();a=RegExp.$2;if(this[Ig]=="mailto"||this[Ig]=="javascript"||a.indexOf("//")!=0){this.tC=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.ue=RegExp.$1;a=a.substring(this.ue[i])}if(a.charAt(0)=="?"){this.Wq=a}else if(a.charAt(0)=="#"){this.hash=a}};kl[_P].Ah=function(){var a=[],b=function(c){if(c)a.push(c);
return c};if(b(this[Ig])){b("://")}b(this.domain);b(this.ue);b(this[uf]);b(this.Wq);return a.join("")};function Nc(a){this.VA(a)}Nc[_P].VA=function(a){this.Qa=a;var b=this.Qa.base;this.Qa.site=el(b)};var Vo=function(){alert("The URL is not valid and cannot be loaded.")},el=function(a){return a.substring(0,a.indexOf("/",9))};Nc[_P].Ah=function(a,b){if(this.td(a)){var c=this.Qa[b]||this.Qa.base;a=c+Nf(a)}return a};Nc[_P].Po=function(a){var b=a.getAttribute("href"),c=this.Qa.base;if(c&&c!=this.Qa.winbase&&b.indexOf(c)==0){b=this.Qa.winbase+b.substring(c[i])}return b};Nc[_P].Aw=function(a){if(this.td(a)){if(gl(a)){return Nf(a)}else{var b=
"about:blank";if(a.indexOf(b)==0){a=a.substring(b[i])}}}return a};Nc[_P].kw=function(a,b){var c=this.Jo(a),d=Nf(c),e=d.substring(0,d.lastIndexOf(".")),f="/"+c+"/"+e+"-"+b+".jpg";return this.Ah(f,"live")};Nc[_P].Jo=function(a){if(this.td(a)&&jl(a)){a=this.Ah(a,"live");a=a.substring(0,a.lastIndexOf("/"))}return a};var Nf=function(a){var b=Xo(a),c=a.lastIndexOf("?");if(c==-1){return md(a.substring(b))}return md(a.substring(b,c))},Xo=function(a){var b=a.lastIndexOf("/");if(jl(a)){b=a.lastIndexOf("/",
b-1)}var c="about:blank";if(a.indexOf(c,b+1)==0){b+=c[i]}return b+1};Nc[_P].Vp=function(a){var b="",c=Nb(a,"a")?"href":"src";if(un&&c=="href"){var d=a[Nd],e=d.indexOf('href="');if(e>=0){e+=6;var f=d.indexOf('"',e);if(f>=0){b=d.substring(e,f)}}}if(!b){b=a[c]}if(this.td(b)){a[c]=this.Aw(b)}};var jl=function(a){return!(!fl(a))},fl=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},
Wo=false;Nc[_P].td=function(a){var b=Wo;if(b){if(oe(b)){return b(a)}else{if(a.indexOf("mailto:")==0)return false;var c=false;for(var d in this.Qa){if(this.Qa[d]!=""){c|=a.search(this.Qa[d])==0}}return c||!gl(a)||a.search("/")==0}}else{return false}};Nc[_P].cA=function(a,b){var c=a.getElementsByTagName(b);for(var d=0;d<c[i];d++){this.Vp(c[d])}};var gl=function(a){return a.search(/[^:\/\s]+:\/\//)==0},dl=false;var il=function(a,b){var c=dl;if(c){if(oe(c)){return c(a)}else{return hl(a)||Yo(a,b)}}else{return false}},
hl=function(a){return a=="http://"||a=="http:///"||a==""||a=="/"},Yo=function(a,b){var c=el(b);return a==c+"/"||a==c};;;function T(a,b,c,d){P.call(this);this.u=a[ha];this.ig=a;this.Sc=new ya(a);this.Ba=d;this.dq=b;this.content=this.u.createElement("div");this[ca].id=lc();la(this[ca],"tr_dialog");c[n].appendChild(this[ca]);this.gb=new Ja(this);this.Ub=new qc(this.ig);this.on=true;this.wu=true;this.Fg=c.Eg;this.Ag=c.zg;this.Pz=c.fr;if(c.Rl){this.yt(c.Rl)}this.kt(c);if(c.re){this.re=this.wt(c.re)}if(c.Bg){this.Bg=this.nt(c.Bg)}if(c.pe){this.qe=c.pe}}T.a(P);T[_P].Pf=null;T[_P].Pr=function(a){this.Pf=a};T[_P].vf=function(){return this.Pf};
var ni="tr_backgroundMask",oi="tr_dialog-section",td=[];T[_P].Gm=function(a){if(!this.Zm){this.Zm=this.lt("tr_button-region-rhs")}var b=this.u.createElement("input");ab(b,"button");cd(b,a);this.Zm.appendChild(b);return b};T[_P].lt=function(a){if(!this.Se){this.mt()}var b=ob(this.u,"div",{className:a});Do(b,this.ru);return b};T[_P].mt=function(){if(!this.Se){this.Se=this.u.createElement("div");this.Yi.appendChild(this.Se);this.ru=ob(this.u,"div",{},{clear:"both"},this.Se)}};T[_P].sc=function(){this.dispatchEvent(pi);
if(this.dq){if(this.Ba){this.Ba.fl();this.Ba.empty()}Hn(this);this.$r()}ta(this[ca][k],"");if(!this.$b){this.$A()}};T[_P].kc=function(){this.yB();if(this.dq){In(this);this.Pq()}ta(this[ca][k],"none")};T[_P].bn=function(){if(this.Fi&&this.Fi.kC()){return nf("Pending uploads will be canceled. Do you want to continue?")}else{return true}};Tg(T[_P],function(){this.kc();this.vu();if(this.Pz){this[ca][n].removeChild(this[ca])}if(this.Ba){this.Ba.el()}});T[_P].vu=function(){if(this.Fg){this.Fg()}if(this.gb){this.gb.c();
this.gb=null}if(this.Ub){this.Ub.c();this.Ub=null}if(this.Fi){this.Fi.c();this.Fi=null}if(this.$b){this.$b.c();this.$b=null}this.Tx=true;this.dispatchEvent("close")};var pi="beforeopen";T[_P].isOpen=function(){return!this.Tx};Ge(T[_P],function(a,b){Sd(this[ca][k],"absolute");this[ca][k].top=b+"px";nb(this[ca][k],a+"px")});T[_P].en=function(){Sd(this[ca][k],"absolute");var a=this.Sc.fe(),b=this.Sc.ce(),c=Xf(this.ig),d=(a-Tk(this[ca]))/2;d+=c.x;var e=(b-Kf(this[ca]))/2;e+=c.y;this.setPosition(q.floor(d),
q.floor(e))};T[_P].pr=function(){var a=this.kh();na(a[k],q.max(this.Sc.fe(),this.Sc.Fw())+"px");xa(a[k],q.max(this.Sc.ce(),this.Sc.Ew())+"px")};T[_P].yt=function(a){this.uc=this.u.createElement("div");this.uc.id=lc();la(this.uc,"tr_dialog-title");H(this.uc,"cursor","move");var b=this.u.createElement("table");na(b,"100%");la(b,"tr_dialog-title-layout-table");b.id=lc();var c=this.u.createElement("tBody");b.appendChild(c);var d=c.insertRow(0);this.rs=d.insertCell(0);K(this.rs,a);na(this.rs,"100%");this.uc.appendChild(b);
this[ca].appendChild(this.uc)};T[_P].$A=function(){if(this.uc){this.$b=new Ac(this.uc,this[ca],this.ig,this.u);this.yl()}};T[_P].yl=function(){if(this.uc&&this.$b){this.$b.Hf=0;this.$b.If=0;this.$b.Zh=this.Sc.fe()-Tk(this[ca]);this.$b.$h=this.Sc.ce()-Kf(this[ca])}};T[_P].kt=function(a){this.Yi=this.u.createElement("div");this.Yi.appendChild(a);this[ca].appendChild(this.Yi)};T[_P].wt=function(a){var b=this.Gm(a);b[k].paddingLeft="1.9ex";b[k].paddingRight="1.9ex";b.Yk=this;Bb(b,ok);return b};T[_P].nt=
function(a){var b=this.Gm(a);b.Yk=this;Bb(b,nk);return b};T[_P].$r=function(){var a=this.kh();this.pr();this.gb.i(this.Ub,je,this.Lh);var b={zIndex:this[ca][k].zIndex-1,display:"block",backgroundColor:this.Fv()};kh(a,b)};T[_P].Lh=function(){ta(this.kh()[k],"none");this.yl();this.pr();this.Pq()};T[_P].Fv=function(){return this.UB||"#afafaf"};T[_P].kh=function(){var a=this.u.getElementById(ni);if(!a){a=this.u.createElement("iframe");a.frameBorder=0;a.scrolling="no";a.id=ni;la(a,ni);this.u[A].appendChild(a)}return a};
T[_P].Pq=function(){var a=td[i];if(a>0){td[a-1].$r()}else{ta(this.kh()[k],"none");this.gb.Ea(this.Ub,je,this.Lh)}};var Hn=function(a){if(!fe(td,a)){var b=td[i];td.push(a);a[ca][k].zIndex=b==0?201:td[b-1][ca][k].zIndex+2}},In=function(a){var b=sh(td,a);if(b!=-1){td.splice(b,1)}},ok=function(a,b){var c=b||this.Yk;if(!c.bn()){return}if(c.qe){c.qe()}if(c.on){c.remove()}c.dispatchEvent("ok")};T[_P].tA=function(a){this.on=a};var nk=function(a,b){var c=b||this.Yk;if(!c.bn()){return}if(c.wu){c.remove()}if(c.Ag){c.Ag()}c.dispatchEvent("cancel")};
T[_P].lo=function(a){var b=this.n.getElementById(a);if(b[sa]=="INPUT"){b.focus();Bp(b,b[wa][i])}};T[_P].ob=null;T[_P].CA=function(){this.ob=new Qc(this.u);this.gb.i(this.ob,"key",this.Hh)};T[_P].yB=function(){if(this.ob){this.gb.Ea(this.ob,"key",this.Hh);this.ob.c();this.ob=null}};T[_P].Hh=function(a){var b=false;switch(a[Za]){case 13:if(!this.re.disabled){ok(null,this);b=true}break;case 27:nk(null,this);b=true;break;case 9:if(!gd(this[ca],$d(a))){var c=this[ca].getElementsByTagName("INPUT")[0];if(c){c.focus()}b=
true}break}if(b){a.preventDefault()}return b};function da(a,b,c,d,e,f){this.q=a;this.n=this.q[ha];this.$l=b;this.St=b.Qa.base;this.SB=d;this.Bi=e;this.Nl=e.of();this.ga=new ya(this.q);this.Uf=new Oe;this.pj();T.call(this,this.q,true,this.Dj,c);this.Sj()}da.a(T);da[_P].la=function(){return this.Nl};da[_P].qd=function(){return this.$l.Po(this.la())};var Ke="tr_email-address-tab",Xd="tr_on-the-web-tab",Yd="tr_on-the-web-tab-input",Gf="tr_email-address-tab-input",sk="tr_dialog-tab-content-explanation-text",tk="tr_external-input-div",uk=false;da[_P].gf=
null;da[_P].gg=null;da[_P].sc=function(){this.CA();this.en();T[_P].sc.call(this);if(this.Pl){X(this.Pl,true)}this.lo(this.Pc.id);this.hA(this.Pc[wa],this.qd());this.Ll()};da[_P].pj=function(){var a=ob(this.n,"div",{id:"tr_choose-link-dialog",className:"tr_edit-link-dialog-body",Rl:"Edit Link",re:"OK",Bg:"Cancel"},{},this.n[A]);a.Eg=E(this.Eg,this);a.zg=E(this.zg,this);a.pe=E(this.qe,this);a.fr=true;this.Dj=a};da[_P].Sj=function(){this.gb.i(this.Uf,"select",E(this.fz,this));gh(this.Dj,this.eu(),this.bu());
this.Fd=bl(this.Dj,this.n,false,E(this.Sk,this));this[ca].className+=" tr_edit-link-dialog";ch(this[ca],this.gb,true)};da[_P].eu=function(){var a=Me(1,2,this.n,true);kh(a,{fontSize:"10pt"});var b=ob(this.n,"div",{className:oi},{paddingBottom:".8ex"});K(a[zb][0][tb][0],'<span style="position: relative; bottom: 2px; padding-right: 1px;">Text to display:&nbsp;</span>');this.Pc=ob(this.n,"input",{size:50,id:"tr_text-to-display"});var c=this.Pc,d=c;if(y){d=fh(c);this.Pl=d;X(this.Pl,false)}a[zb][0][tb][1].appendChild(d);
cd(c,this.Bi.ph());this.gb.i(c,"keyup",E(this.oz,this));b.appendChild(a);return b};da[_P].bu=function(){var a=ob(this.n,"div",{className:oi});a.setAttribute("tabbedPaneCaption","Link to:");gh(a,this.du(),this.cu());return a};da[_P].du=function(){var a=nh(Xd,"Web address","Link to a page or file somewhere else on the web",this.n,E(this.JB,this)),b=this.n.createElement("div");K(b,"<b>To what URL should this link go?</b>");var c=ob(this.n,"input",{id:Yd}),d=c;if(y){d=fh(c)}if(Yj&&dd(c)){na(c[k],"99%")}var e=
this.n.createElement("div");e.appendChild(d);la(e,tk);this.gg=new Xe(c);w(this.gg,"input",E(this.Iq,this));var f=xo(e,E(this.tz,this),this.gb);K(f,"<br>Test this link");var g=this.n.createElement("div");la(g,sk);K(g,"<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.");
gh(a,b,e,g);return a};da[_P].cu=function(){var a=nh(Ke,"Email address","Link to an email address",this.n,E(this.Zn,this)),b=this.n.createElement("div");K(b,"<b>To what email address should this link?</b>");a.appendChild(b);var c=ob(this.n,"input",{id:Gf}),d=c;if(y){d=fh(c)}if(Yj&&dd(c)){na(c[k],"99%")}a.appendChild(d);la(d,tk);this.gf=new Xe(c);w(this.gf,"input",E(this.Iq,this));{var e=this.n.createElement("div");la(e,sk);K(e,"<b>Be careful.</b> Remember that any time you include an email address on a web page, nasty spammers can find it too.");
a.appendChild(e)}return a};da[_P].hA=function(a,b){if(this.Fk()){this.Ww(a)}else if(li(b)){this.rc(Ke);var c=b.substring(b.indexOf(":")+1);cd(this.n.getElementById(Gf),c);this.ri()}else{this.rc(Xd);cd(this.n.getElementById(Yd),this.Fk()?"http://":b);this.ri()}};da[_P].Ww=function(a){if(qh(a)){cd(this.n.getElementById(Gf),a);this.ze(true);this.rc(Ke);this.Ej(true)}else if(ll(a)){cd(this.n.getElementById(Yd),a);this.ze(true);this.rc(Xd);this.Ej(true)}else{if(!this.Bi.ph()){this.ze(true)}var b=Xd;this.rc(b)}};
da[_P].Ej=function(a){this.ze(!a);uk=a};da[_P].ri=function(){var a=this.xh(),b=false;if(!uk&&(a==Ke||a==Xd)){var c=this.n.getElementById(a+"-input");b=c[wa]==this.Pc[wa]}this.ze(b)};da[_P].rc=function(a,b){this.LC=b;this.Fd.rc(a)};da[_P].xh=function(){return this.Pg};da[_P].Sk=function(a){this.Pg=a;{this.lo(this.Pg+"-input");this.Ll()}this.Uf.MA(null);this.vi();if(y){vo(this[ca])}};da[_P].tz=function(){var a=this.ga.Ja(Yd),b=Ki(a[wa]);if(!(dl?il(b,this.St):hl(b))){this.ga.Lq(b,"")}else{Vo()}};da[_P].oz=
function(){var a=this.Pc[wa]=="";if(a){this.ze(true)}else{this.ri()}};da[_P].Iq=function(){if(this.Tm){this.vi()}else if(this.Pc[wa]==""){this.ri()}this.Ll()};da[_P].Ll=function(){var a;if(this.Pg==Ke){a=this.n.getElementById(Gf)[wa]}else if(this.Pg==Xd){a=this.n.getElementById(Yd)[wa]}else{return}this.ts(a.replace(/[ \r\n\t]/g,"")!="")};da[_P].ze=function(a){this.Tm=a};da[_P].vi=function(){if(this.Tm){var a=this.xh();if(a==Xd||a==Ke){var b=a+"-input";cd(this.Pc,this.n.getElementById(b)[wa])}}};da[_P].fz=
function(){this.vi();this.ts(true)};da[_P].ts=function(a){this.re.disabled=!a};da[_P].Eg=function(){if(this.Ba){this.Ba.hi(this.la())}this.Ba=null;if(this.Uf){this.Uf.Aj();this.Uf=null}if(this.gg){this.gg.c();this.gg=null}if(this.gf){this.gf.c();this.gf=null}this.Ej(false)};da[_P].zg=function(){var a=this.la();if(this.Fk()){if(a[Fa]!=""){jh(a)}U(a)}};da[_P].Fk=function(){return this.Bi.Zx()};da[_P].qe=function(){var a=this.Fd.xh();if(a&&a.pe)a.pe()};da[_P].JB=function(){var a=this.n.getElementById(Yd)[wa];
if(qh(a)){this.Zn(Yd);return}this.Sr(Ki(a))};da[_P].Zn=function(a){var b=this.n.getElementById(a?a:Gf)[wa];b="mailto:"+b;this.Sr(b)};da[_P].Sr=function(a){this.vi();this.Bi.ku(this.Pc[wa],a)};;;{function Aa(a,b,c,d,e,f){this.q=a;this.ga=new ya(this.q);this.n=a[ha];this.mA=b;this.az=c;this.$l=d;this.Ez=e;this.rr=E(this.or,this);this.Ph=f;var g=this.pj();T.call(this,this.q,true,g,this.mA);this.Sj()}Aa.a(T);var Xk="tr_raw-html-dialog-preview-tab",Hi="tr_raw-html-dialog-html-tab",Wk="(p|div|h1|h2|h3|h4|h5|h6|hr|table|ul|ol|li)",Ko=new RegExp("^<"+Wk+"[\\s\\S]*?>$","i"),Jo=new RegExp("^<\\/"+Wk+">$","i");Aa[_P].sc=function(){w(this.q,"resize",this.rr,false);this.Fd.rc(Hi);T[_P].sc.call(this);
this.or();this.yl();this.Qb.focus();if(y){this.Qb.selectionStart=0;this.Qb.selectionEnd=0}};Aa[_P].qe=function(){var a=this;this.C(function(b){a.az(b);a.remove()})};Aa[_P].kc=function(){pb(this.q,"resize",this.rr,false);T[_P].kc.call(this)};Aa[_P].Fg=function(){};Aa[_P].Ag=function(){};Aa[_P].or=function(){this.nr();this.en()};Aa[_P].nr=function(){var a=this.ga.ce()*0.9,b=this.ga.fe()*0.9;na(this[ca][k],b+"px");xa(this[ca][k],a+"px");var c=Kf(this.Se),d=Kf(this.uc),e=Kf(this.Fd.$f),f=a-c-d-e,g=b,
h=this.Fd.Kv(),j=h,l=0,m=0;while(j!=this[ca]){l+=$g(j);m+=hk(j);j=j[n]}f-=l;g-=m;if(s&&dd(this.n)){f-=13}if(f>0){xa(h[k],f+"px")}if(g>0){na(h[k],g+"px")}if(y){wo(this[ca])}else if(s&&dd(this.n)){var r=f-$g(this.Qb)-zn(this.Qb);if(r>0){xa(this.Qb[k],r+"px")}}};Aa[_P].fa=function(a){cd(this.Qb,Mo(a))};Aa[_P].Pw=function(){var a=this.Qb[wa];return y?Lo(a):a};var Mo=function(a){var b=Zk(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=Ko.test(e),h=Jo.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("")},Zk=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},Lo=function(a){var b=Zk(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("")};Aa[_P].C=function(a){var b=this.Ph?this.Ph.MC:null;this.so(a,b)};Aa[_P].ww=function(a){var b=this.Ph?this.Ph.NC:null;this.so(a,b)};Aa[_P].so=function(a,b){a(this.Pw())};
Aa[_P].BB=function(){this.ww(E(this.CB,this))};Aa[_P].CB=function(a){var b=this.lp.k();K(b[A],a);Dk(b,this.$l);this.bB()};Aa[_P].Sk=function(a){if(a==Xk){this.BB()}};Aa[_P].pj=function(){var a=ob(this.n,"div",{id:"tr_raw-html-dialog",className:"tr_raw-html-dialog-body",Rl:"Edit HTML",re:"Update",Bg:"Cancel"});a.Eg=E(this.Fg,this);a.zg=E(this.Ag,this);a.pe=E(this.qe,this);a.fr=true;this.n[A].appendChild(a);a.appendChild(this.Hu());this.Fd=bl(a,this.n,true,E(this.Sk,this));return a};Aa[_P].Sj=function(){this.tA(false);
this[ca].className+=" tr_raw-html-dialog";this.Fd.rc(Hi);ta(this[ca][k],"none")};Aa[_P].Hu=function(){var a=ob(this.n,"div",{className:oi});a.setAttribute("tabbedPaneCaption","&nbsp;");gh(a,this.Ju(),this.Pu());return a};Aa[_P].Ju=function(){var a=nh(Hi,"HTML","Edit your HTML here",this.n);this.Qb=ob(this.n,"textarea",{id:"tr_raw-html-area"},{height:"98%",width:"100%",direction:"ltr"});var b=this.Qb;if(y){b=fh(this.Qb);xa(b[k],"100%")}a.appendChild(b);xa(a[k],"100%");return a};Aa[_P].Pu=function(){var a=
nh(Xk,"Preview","Preview your changes here",this.n),b=ob(this.n,"iframe",{id:"tr_raw-html-dialog-preview-pane",src:this.Ez},"width:100%;height:100%;",a);this.lp=new Mb(b);xa(a[k],"100%");return a};Aa[_P].bB=function(){var a=this.lp.k();w(a[A],"mousedown",Yk,true);w(a,"click",Yk,true);a.onmousemove=rh;a.onmouseover=rh;a.onmouseout=rh};var Yk=function(a){rh();Kc(a,false)}};;;function u(a,b,c){P.call(this);this.fb={};this.ga=b;this.Ex=c;this.Xd={};this.Ga={};this.gh={};this.fh={};this.na=a;if(y){this.Kf={};{this.Ii={};this.Gc={}}}this.jf={}}var si;u.a(P);u[_P].w=fd("TR_EditableUtil");var ri=function(a){var b=yo(a,"g_editable","true");return b&&a!=b?true:false};u[_P].cp=function(){return!jg(this.fb)};u[_P].Gk=function(a){if(!a.getSelection()){return false}var b=a.Xa();if(!b){return false}return ri(b)||ud(b)};var Bk=function(a,b,c){if(!c)c="";var d=If(a,b,c);if(!ri(d))d=
null;return d};u[_P].gd=function(a){if(bb){var b=this.sa(a),c=this.p(a),d=ua(b);if(c.k()!=d){d[A].createTextRange().select();c=this.p(a)}c.Rq(b);b.focus()}else if(ma){var b=this.sa(a);this.p(a).Rq(Lc(b));this.kb(a).hh()}else{this.kb(a).hh()}};u[_P].zo=function(a){var b;if(this.Gk(a)){b=this.Jv(a)}else{b=this.dw(a)}return b?this.Ao(b):null};u[_P].p=function(a){return this.kb(a).p()};u[_P].kb=function(a){var b=a||Jc();if(b&&(!zc||false)&&this.Bp(b)){return this.ae(b)}else{return this.ga}};u[_P].vw=
function(){return this.ga};u[_P].k=function(a){return this.kb(a).k()};u[_P].sf=function(a){return vb(this.k(a))};u[_P].U=function(a){return this.kb(a).U()};u[_P].Ja=function(a){var b=this.kb().Ja(a);if(!b&&y){var c=Jc();for(var d in this.fb){if(this.Bp(d)){vd(d);b=this.kb().Ja(a);if(b){break}}}vd(c)}return b};u[_P].$d=function(a){var b=wd(a,ud);return b?this.Ao(b):b};u[_P].be=function(a){var b=this.$d(a);return b?this.F(b.id):null};u[_P].Vx=function(a){return!(!this.sa(a.id))};u[_P].Tf=function(a,
b,c,d,e){if(!this.Ga[a]){this.Ga[a]=new Ja(this)}this.Ga[a].i(b,c,d,e)};u[_P].xz=function(a,b){var c=a.ed,d=c.id;if(this.fb[d]){return false}a.nodeName=c[qa];a.id=d;la(a,c[Jb]);a.Lr(c[k][Yc]);c.className+=" editable";this.Xd[d]=a;var e=a.Rc(),f=this,g=function(){if(e){f.fb[d]=f.tf(d)}else{f.fb[d]=f.ga.Ja(d)}if(s){f.mn(d)}a.addListener(Ve,f.ox,false,f);f.fb[d].setAttribute("g_editable","true");b(d)};if(e){if(y){this.Tf(d,a,"focus",this.Ry.G(this,d))}this.sy(a,g)}else{a.Wr(c,this.ga);this.wB(c);g()}};
u[_P].mn=function(a){var b=this.p(a),c=this.zo(b);if(c&&c.id==a){b.empty()}};u[_P].F=function(a){return this.Xd[a]};u[_P].ox=function(a){if(a[Za]==8){var b=this.p(),c=this.zo(b),d=b.Af();if(c[Z]==d&&xd(d)){Kc(a)}}else if(a[Za]==13&&s){this.pv()}};u[_P].kn=function(a){if(this.gh[a]){Ua(this.gh[a]);this.gh[a]=null}if(this.fh[a]){$.clearInterval(this.fh[a]);this.fh[a]=null}};u[_P].nn=function(a){this.kn(a);var b=this.F(a);if(this.Ga[a]){this.Ga[a].c();delete this.Ga[a]}if(Jc()==a){vd(null)}if(b){b.ln()}if(b&&
this.sa(a)){var c=b.ed;if(y){if(!zc&&this.mc(a)){delete this.Ii[a];delete this.Gc[a]}delete this.Kf[a]}if(b.Rc()){var d=this.rh(a);{U(d)}}if(this.jf[a]){delete this.jf[a]}Zn(c,b);delete this.fb[a];if(this.Xd[a]){delete this.Xd[a]}}};var Zn=function(a,b){a.removeAttribute("contentEditable");a.removeAttribute("g_editable");if(!b.id){a.removeAttribute("id")}else{a.id=b.id}if(!b[Jb]){la(a,"")}else{la(a,b[Jb])}var c=b.lw();if(!c){a.removeAttribute("style")}else{aj(a,{style:c})}};u[_P].sa=function(a){return this.fb[a]};
u[_P].Xv=function(a){return this.F(a).Wv()};u[_P].Dv=function(){var a=[];for(var b in this.Xd){a.push(this.F(b))}return a};u[_P].Rv=function(){for(var a in this.fb){return this.F(a)}return null};u[_P].Jv=function(a){var b=a.Xa();return this.$d(b)};u[_P].dw=function(a){for(var b in this.fb){var c=this.sa(b);if(a.mj(c,false)){return c}}return null};u[_P].Ao=function(a){return y?this.sa(a.id):a};u[_P].sy=function(a,b){var c=a.ed,d="padding:0;",e=ob(c[ea],"iframe",{frameBorder:0},d),f=c[Fa],g=c.id;if(s&&
this.Ck()){this.w.Q("Waiting for iframe load");var h=this.kp.G(this,g,f,b),j=this.Dx.G(this,g,h);this.w.Q("Listening to load event on "+g);this.gh[g]=w(e,"load",j,true);this.fh[g]=$.setInterval(this.ly.G(this,g),2000);e.src=this.Ex}this.jf[g]=e;if(y){this.zt(c,e,b)}if(!zc&&a.mb()){this.Gc[g]=Wd(c,"overflowY")=="auto";var l=c[k][B],m=c[k][z];H(c,"visibility","hidden");var r=vb(c),x=r.l("div",{style:"height:0;clear:both",innerHTML:"&nbsp;"}),O=x.cloneNode(true);c.insertBefore(x,c[Z]);c.appendChild(O);
var W=c[Ub],fb=c[Kb],Ib=c[k].overflow;if(Ib!="auto"){H(c,"overflow","auto");var Xc=Ck();if(c[Kb]!=c[bd]){fb+=Xc}if(c[Ub]!=c[Ce]){W+=Xc}H(c,"overflow",Ib)}var of="";if(this.Gc[g]){of="&nbsp;";H(c,"position","relative");H(c,"overflow","visible");H(e,"position","absolute");H(e,"top",0);H(e,"left",0)}Tc(c,W,fb);K(c,of);this.Ii[g]=c;Tc(e,W,fb);Tc(c,l,m);H(c,"visibility","");c.appendChild(e)}else{la(e,c[Jb]);e.id=g;Ho(e,c)}if(!s||!this.Ck()){this.w.Q("Not waiting for load on "+g);var ve=e[ye][ha];if(this.mc(g)&&
dd(e[ea])){ve.open();ve.write("<!DOCTYPE HTML><html></html>");ve.close()}this.kp(g,f,b)}};u[_P].Ck=function(){var a=top[yb];return a[Ig]=="https:"&&a.search.indexOf("nocheckhttps")==-1};u[_P].rB=function(a,b){b=b||Jc();var c=this.ae(b).k(),d=a?"on":"off";if(c[Ag].toLowerCase()!=d){c.designMode=d}};u[_P].Dx=function(a,b){this.w.Q("Reached load wrapper for "+a);b()};u[_P].ly=function(a){var b=this.rh(a),c;if(!(c=b)){this.w.Ma("Iframe DNE: "+a)}else if(!(c=c[ye])){this.w.Ma("win DNE: "+a)}else if(!(c=
c[ha])){this.w.Ma("doc DNE: "+a)}else if(!(c=c[A])){this.w.Ma("Body DNE: "+a)}else{this.w.Ma("iframe ready in loadNeveFired");this.F(a).Ma=true}};u[_P].kp=function(a,b,c){this.w.Q("Iframe field load handler for "+a);var d=this.F(a);if(d.Ma){this.w.Ma("Iframe field load handler did fire for "+a)}this.kn(a);var e=this.ae(a),f=e.Jb();f.OB="true";var g=e.k(),h=dd(f[ea]);if(s&&this.Ck()){if(zc){g[A].contentEditable=true}la(g[A],"editable");g[A].setAttribute("g_editable",true);g[A].lC=true;g[A].id=a;if(Wd(d.ed,
"direction")=="rtl"){g[A][k].direction="rtl"}b=dh(b);K(g[A],b)}else{var j=[];if(this.mc(a)&&h){j.push("<!DOCTYPE HTML>")}j.push('<html style="background:none transparent;height:');if(this.mc(a)){j.push(this.Gc[a]?"100%":"auto")}j.push('">');if(this.mc(a)){var l=this.Ii[a];j.push("<head><style>");j.push(An(l));j.push("</style></head>");var m=this.ow(a)[A],r=-Ie(l,"paddingLeft"),x=-Ie(l,"paddingTop");if(x!=0||r!=0){H(f,"position","relative");H(f,"left",r+"px");H(f,"top",x+"px")}}j.push('<body g_editable="true" hidefocus="true" ');
if(zc){j.push("contentEditable ")}j.push('class="editable ');if(m){j.push(m[Jb])}j.push('" id="');j.push(a);j.push('" style="');if(this.mc(a)){j.push(m[Yc]);j.push(";width:100%;border:0;margin:0;background:none transparent;");j.push(";height:");j.push(h?"100%":"auto");if(this.Gc[a]){j.push(";overflow:auto")}else{j.push(";overflow-y:hidden;overflow-x:auto")}}if(Wd(d.ed,"direction")=="rtl"){j.push(";direction:rtl")}j.push('">');b=dh(b);j.push(b);j.push("</body></html>");g.open();g.write(j.join(""));
g.close()}var O=g[A];this.fb[a]=O;this.F(a).Wr(O,e);if(!zc){Fk(g,this.na);var W=this.vB.G(this,g,a);try{W()}catch(fb){this.w.Ma("Can't turn on designMode - retry: "+a);$.setTimeout(W,0)}if(this.mc(a)){this.YA(a)}this.Tf(a,g,"keyup",this.sx);this.Tf(a,g,"keypress",this.pk.G(this,a),true)}e.Gz(this.Xv(a),true);this.dispatchEvent({type:"innerhtmlchange",Hb:a,my:true});c();this.w.Q("End iframe field load handler "+a)};u[_P].vB=function(a,b){a.designMode="on";a.execCommand("useCSS",false,true);if(this.mc(b)){a.execCommand("enableInlineTableEditing",
false,"false");a.execCommand("enableObjectResizing",false,"false")}this.w.Q("Turned on designMode: "+b)};u[_P].wB=function(a){a.contentEditable=true};var dh=function(a){if(!a||Ji(a)){return yk()}return a};u[_P].Mr=function(a,b,c){b=dh(b);if(Wj&&b.match(/^\s*<script/i)){b="&nbsp;"+b}if(zc){K(this.sa(a),b)}else{var d=this.tf(a);K(d,b)}var e=c?c:false;this.dispatchEvent({type:"innerhtmlchange",Hb:a,my:e})};u[_P].mw=function(a){var b=this.sa(a);return b[Fa]};u[_P].pk=function(a,b){if(wi()){return}if(b[Za]==
13){this.gx(b)}};u[_P].sx=function(a){if(wi()){return}};u[_P].gx=function(a){if(a[Od]){return}var b=this.p();if(!b.Hc()){b.Kn(this)}};var Fk=function(a,b){Dk(a,b)},Dk=function(a,b){var c=a.getElementsByTagName("img");for(var d=0,e=c[i];d<e;d++){c[d].src=b.Ah(c[d].src,"live")}},Ek={KC:"b",eC:"i"};u[_P].bA=function(a){var b=this.sa(a),c=this.ga.k();for(var d in Ek){var e=b.getElementsByTagName(d);Nn(c,e,Ek[d])}};u[_P].zt=function(a,b,c){var d=a.id;if(!this.Kf[d]){this.Kf[d]={}}var e=this.Kf[d];e.field=
a;e.mC=new Mb(b);e.Ti=yn(a);e.vC=c};u[_P].Bp=function(a){return!(!this.jf[a])};u[_P].ae=function(a){return new Mb(this.rh(a))};u[_P].rh=function(a){return this.jf[a]};u[_P].tf=function(a){return this.ae(a).Vj()};u[_P].Cz=function(a){var b=this.tf(a);this.p(a).wr(b)};u[_P].Ry=function(a){var b=this.ae(a),c=b.p(),d=this.sa(a);if(!d.dB){if(b.k()[Ag].toLowerCase()=="off"){window.setTimeout(this.lx.G(this,c,b,a),0)}d.dB=true}var e=c.getSelection(),f=e.focusOffset==0,g=e[Md],h=!g||this.Vx(g)||Nb(g,"body");
if(f&&h){this.Cz(a)}};u[_P].lx=function(a,b,c){if(b.k()[Ag].toLowerCase()=="off"){a.fl();b.U().blur();this.rB(true,c);a.el()}};u[_P].nf=function(){var a=Jc();return a?this.F(a):null};{u[_P].YA=function(a){var b=this.F(a);if(!this.Gc[a]){this.Tf(a,b,ba.Vb,this.es.G(this,a),true)}this.Tf(a,b,"outerDocChange",this.fs.G(this,a),true)};u[_P].es=function(a){if(this.Fm()){var b=this.ae(a),c=b.hw(),d=b.Jb(),e=this.tf(a);if(ka(ef(d,"height"),10)===0){H(d,"height","1px")}var f;if(dd(e)){f=c[bd]}else{f=c[wf];
if(c[Kb]!=c[bd]){f+=Ck()}}var g=this.F(a);if(g.ai){f=q.max(f,g.ai)}if(ka(ef(d,"height"),10)!=f){H(d,"height",f+"px")}this.dr()}};var Ck=function(){if(!si){var a=Qe("div",{style:"overflow:scroll;position:absolute;visibility:hidden;"});Pc(zh()[A],a);si=a[Ce]-a[Ub];U(a)}return si};u[_P].fs=function(a){if(this.Fm()){var b=this.rh(a),c=this.tf(a),d=this.Ii[a],e=d[Ub];if(ka(ef(b,"width"),10)!=e){H(b,"width",e+"px");e-=hk(c);H(c,"width",e+"px")}var f=d[Kb];if(this.Gc[a]&&ka(ef(b,"height"),10)!=f){H(b,"height",
f+"px");f-=$g(c);H(c,"height",f+"px")}this.dr()}};u[_P].iv=function(a){if(this.F(a)&&this.mc(a)){var b=this.Gc[a];if(!b){this.es(a)}this.fs(a)}};u[_P].Fm=function(){if(this.ds){return false}return this.ds=true};u[_P].dr=function(){this.ds=false};u[_P].ow=function(a){return this.Kf[a].Ti}}{u[_P].mc=function(a){return this.Xd[a].mb()}}{u[_P].pv=function(){var a=this.p(),b=a.getSelection().parentElement();while(b&&!ud(b)){var c=b[qa];if(c=="LI"||c=="DIV"){return}b=b[n]}this.k().execCommand("FormatBlock",
false,"<div>")}};;;;;;function oa(a,b){this.j=a;if(b){this.yz=b.yC}}oa[_P].w=fd("TR_StyleUtil");oa[_P].Bv=function(a,b){var c,d,e;switch(a){case "+backColor":if(!bc(b)){if(y){this.Et(b)}else{this.Vd(a,b)}}break;case "+link":var f=this.sB("/",b);break;case "+table":this.Rx(2,4);break;case "+justifyCenter":case "+justifyFull":case "+justifyRight":case "+justifyLeft":this.gy(a);break;case "ltr":case "rtl":break;case "+BLOCKQUOTE":break;case "+removeFormat":this.Qz();break;default:if(a==eh){b="<"+b+">"}if(a==ti&&bc(b)){break}switch(a){case "+indent":case "+outdent":d=
true;case "+insertOrderedList":case "+insertUnorderedList":if(s){if(this.Yq(this.k(),a)){e=true}else{this.Bu()}}case eh:c=false;break;case ui:case "+bold":case "+italic":d=Ud&&this.Wj(a,this.k(),true,this.p());break;case ti:case "+fontName":d=Ud}this.Vd(a,b,c,d);if(e){this.k().execCommand("FormatBlock",false,"<div>")}}if(y){this.kb().hh()}if(f){return f}};oa[_P].Bu=function(){var a=this.p(),b=a.Xa();if(b.getElementsByTagName("br")[0]){var c=this.j.$d(b),d=kk(a.getSelection(),c);if(b[qa]=="P"){$k(b,
true)}else{K(b,b[Fa].replace(/<br([^\/>]*)\/?>/gi,"<p$1>"));var e=b.getElementsByTagName("p"),f;while(f=e[0]){$k(f)}}d.kl(c,null)}};var $k=function(a,b){var c=a[Nd].replace(/<(\/?)p/gi,"<$1div");a.outerHTML=b?c.replace(/<br([^\/>]*)\/?>/gi,"</div><div$1>"):c},al=function(a){return a.indexOf("+")==0?a.substring(1):a};oa[_P].qo=function(a,b){var c=this.k(),d=b&&b.Gk()&&(zc||c[Ag].toLowerCase()!="off"),e=b&&b.p();if(La(a)){return this.Wj(a,c,d,e)}else{var f={};for(var g=0;g<a[i];g++){f[a[g]]=this.Wj(a[g],
c,d,e)}return f}};oa[_P].Wj=function(a,b,c,d){if(!c){return false}switch(a){case "+link":return this.$x("a");case "+justifyCenter":case "+justifyFull":case "+justifyRight":case "+justifyLeft":return this.Xx(a);case eh: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 ti:return this.Zq(b,a,Ud);case "ltr":case "rtl":return false;
case ui:case "+bold":case "+italic":var e=Ud;default:return this.Yq(b,a,e)}};oa[_P].gy=function(a){this.Vd(a,null,null,true);if(!Ud){var b=this.p().Fo();for(var c=0;c<b[i];c++){var d=ae(b[c]);if(d.align){d[k].textAlign=d.align;d.removeAttribute("align")}}}};var Qo={center:1,justify:1,right:1,left:1};oa[_P].Xx=function(a){var b=a.replace("+justify","").toLowerCase(),c=this.p();{var d=c.Fo(true);for(var e=0;e<d[i];e++){var f=ae(d[e]);if(b!=To(f)){return false}}return true}};var To=function(a){var b=
Wd(a,"textAlign");if(!Qo[b]){b=a.align||"left"}return b};oa[_P].$x=function(a){var b=this.p().Xa();return!(!Bk(b,a))};oa[_P].p=function(){return this.j.p()};oa[_P].k=function(){return this.j.k()};oa[_P].sf=function(){return this.j.sf()};oa[_P].kb=function(){return this.j.kb()};oa[_P].Yq=function(a,b,c){return this.Xq(true,a,b,c)};oa[_P].Zq=function(a,b,c){return this.Xq(false,a,b,c)};oa[_P].Xq=function(a,b,c,d){c=al(c);if(d){var e=this.k();e.execCommand("useCSS",false,false)}var f=a?b.queryCommandState(c):
b.queryCommandValue(c);if(d){e.execCommand("useCSS",false,true)}return f};oa[_P].Vd=function(a,b,c,d){var e=this.p();a=al(a);var f;if(s){f=this.Ft(a)}if(ma){f=this.Gt(a)}var g=this.k();if(d&&Ud){g.execCommand("useCSS",false,false)}g.execCommand(a,false,b);if(d&&Ud){g.execCommand("useCSS",false,true)}if(f){U(f)}};oa[_P].Et=function(a){var b=this.p(),c,d;if(b.Hc()){var e=b.k();c=e.createTextNode(" ");var f=b.Af();d=f[R]==1?f:f[n];if(d[Fa]==""){d[k].textIndent="-10000px";d.appendChild(c)}else{var g=
vb(e);d=g.l("span",{style:"text-indent:-10000px"},c);this.up(d)}b.pi(c)}this.Vd("hiliteColor",a,null,true);if(c){Qg(c,"");d[k].textIndent=""}};oa[_P].sB=function(a,b){var c=this.p(),d=c.Xa(),e=Bk(d,"a");if(e){jh(e);U(e)}else{return this.ad(c,a,b)}return null};oa[_P].Rx=function(a,b){var c=Me(a,b,this.kb().k());this.up(c)};oa[_P].up=function(a){var b=this.p(),c=b.getSelection();if(c.pasteHTML){var d="";if(a[Nd]){d=a[Nd]}else if(a[tf]){d=a[tf]}c.pasteHTML(d)}else if(c.getRangeAt){var e=b.Kn(this.j);
e.insertNode(a)}};oa[_P].ad=function(a,b,c){var d=null;if(a.Hc()){if(Qa){d=this.k().createElement("a");var e=a.Lb();e.insertNode(d)}else if(bb){a.getSelection().pasteHTML("<a id='newLink'></a>");d=this.k().getElementById("newLink");d.removeAttribute("id")}}else{var f=a.Xa(),g=this.j.be(f),h=lc();this.Vd("CreateLink",h);var j=function(l,m,r){if(Oh(l[Be],h)){d=l}};oc(g.L().getElementsByTagName("a"),j)}return Yn(d,b,c)};oa[_P].Qz=function(){var a=this.p();if(a.Hc()){return}var b=a.Lb(),c=this.iw(b),
d=this.yz||Uo;c=d(c);this.Bz(a,c);this.Vd("RemoveFormat")};oa[_P].iw=function(a){var b=this.sf().l("div");if(Qa){b.appendChild(a.cloneContents())}else if(bb){var c=a[Rd],d=c[i],e=d-qm(c)[i],f=d-c.replace(/\s+$/,"")[i];a.moveStart("character",e);a.moveEnd("character",-f);var g=a[Dg];if(this.Zq(a,eh)=="Formatted"){g=Ph(a[Dg])}K(b,g)}return b[Fa]};oa[_P].Bz=function(a,b){var c=lc(),d=lc();b='<span id="'+c+'"></span>'+b+'<span id="'+d+'"></span>';var e=lc(),f='<span id="'+e+'"></span>';if(bb){var g=a.Lb();
g.pasteHTML(f);var h;while((h=g.parentElement())&&xd(h)&&!ud(h)){U(h)}g.pasteHTML(b);var j=this.k().getElementById(e);if(j){U(j)}}else if(Qa){this.k().execCommand("insertImage",false,e);var l=new RegExp("<[^<]*"+e+"[^>]*>"),h=a.Xa();if(h[R]==3){h=h[n]}K(h,h[Fa].replace(l,f));var j=this.k().getElementById(e);h=j;while((h=j[n])&&xd(h)&&!ud(h)){Bh(j,h);U(h)}K(h,h[Fa].replace(new RegExp(f,"i"),b))}var m=this.k().getElementById(c),r=this.k().getElementById(d);a.vr(m,r);U(m);U(r)};var Mf=function(a){if(a[i]){a.push("<br>")}},
Uo=function(a){var b=Re().createElement("div");K(b,a);var c=[],d=[b[ia],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){Mf(c)}var j=d[g],l=d[g+1];while(l<j[i]){var m=j[l++],r=m[qa];switch(r){case "#text":var x=f>0?m[hc]:zj(m[hc]);x=Dd(x);c.push(x);continue;case "P":Mf(c);Mf(c);break;case "BR":Mf(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(m.src);c.push("'>");continue;
case "TD":c.push(" ");break;default:if(/^(DIV|TR|LI|BLOCKQUOTE|H\d|PRE|XMP)/.test(r)){Mf(c)}}var O=m[ia];if(O[i]>0){d[g++]=j;d[g++]=l;j=O;l=0}}}return c.join("").replace(/\xa0|[ \t]+/g," ")};var Ro={indent:1,outdent:1,insertOrderedList:1,insertUnorderedList:1,justifyCenter:1,justifyFull:1,justifyRight:1,justifyLeft:1,ltr:1,rtl:1};oa[_P].Ft=function(a){var b=null;{var c=this.j.nf();if(c.mb()&&a in Ro){var d=c.L(),e=vb(d),f=this.p();if(f.Hc()&&!Wf(d)){var g=f.getSelection(),h=g.duplicate();h.moveToElementText(d);
h.collapse(false);if(h.isEqual(g)){d.appendChild(e.createTextNode(Vd));g.move("character",1);g.move("character",-1);g.select()}}b=e.l("div",{style:"height:0"});Pc(d,b)}}return b};var So={justifyCenter:1,justifyFull:1,justifyRight:1,justifyLeft:1};oa[_P].Gt=function(a){var b,c=this.j.nf();if(So[a]){var d=c.L();b=vb(d).l("div",{style:"height: 0"},"x");Pc(d,b)}return b};;;function Hk(a,b,c){this.np=[];this.fn=[];for(var d=0;d<b;++d){var e=a[ha].createElement("iframe");e.src=c;this.np.push(e)}};Hk[_P].Kz=function(){while(this.fn[i]){this.np.push(this.fn.pop())}};var so=function(a,b,c){na(a,b);xa(a,c)},ro=function(a){a.removeAttribute("width");a.removeAttribute("height");na(a[k],"");xa(a[k],"")},to=function(a,b,c){var d=c?c:b,e=a[B],f=a[z],g=b/e,h=d/f;if(h>g){e=b;f=f*g}else{f=d;e=e*h}so(a,e,f)},yi={small:96,medium:200,large:420},qo=function(a,b){jo(a,b)},jo=function(a,b){to(a,yi[b])},lo=function(a,b){if(a[z]&&a[B]){var c=q.max(a[z],a[B]);for(var d in yi){if(c==yi[d]){return d}}}return b&&uo?fl(a.src):null},uo=false,mo=function(a,b,c){Lk(a,b,false,c)},no=function(a,
b,c){Lk(a,b,true,{Dq:c})},Lk=function(a,b,c,d){ro(a);var e=a.src;if(b.td(e)){if(c){e=b.Jo(e)}else{e=b.kw(e,"full")}}var f,g;if(d){f=d.Dq;g=d.Qy}if(a.src==e){if(f){f()}return}if(f){oo(a,f,g)}a.src=e},Ai={},zi={},oo=function(a,b,c){var d=Pb(a),e=Mk.te(b);Ai[d]=w(a,s?"readystatechange":"load",e,false);if(c){var f=Mk.te(c);zi[d]=w(a,"error",f,false)}},ko=function(a){var b=Pb(a);Ua(Ai[b]);delete Ai[b];Ua(zi[b]);delete zi[b]},Mk=function(a,b){var c=b[Zc],d=c[De];if(d&&d!="complete"){return}ko(c);a(c)},
po=function(a){U(a)};;function mh(a){this.n=a;this.g=vb(a)};mh[_P].Bn=function(a,b,c,d,e){var f=a[tb];this.We(f[0],b,e);this.We(f[1],c,e);this.We(f[2],d,e)};mh[_P].Qu=function(a,b,c){var d=Me(3,3,this.n);Fi(d,{className:b,border:0,cellSpacing:0,cellPadding:0});var e=d[zb];this.Bn(e[0],"tr_tl",c?null:"tr_t","tr_tr",c?null:2);var f=e[1][tb];this.We(f[0],c?null:"tr_l");Fi(f[1],a);this.We(f[2],c?null:"tr_r");this.Bn(e[2],"tr_bl",c?null:"tr_b","tr_br",c?null:2);return d};mh[_P].We=function(a,b,c){K(a,"");la(a,b||"tr_sidebar");
if(c){na(a,c);xa(a,c)}a.appendChild(this.g.l("img",{height:1,width:1,alt:""}))};function Oe(){P.call(this);var a=this;this.o=new Ja(this);this.Nh=new Pe(function(b){a.rg(b,0)},function(b){a.rg(b,2);a.dispatchEvent({type:"select",ff:b})});this.gs=new Pe(function(b){if(b!=a.Nh.getState()){a.rg(b,0)}},function(b){if(b!=a.Nh.getState()){a.rg(b,1)}})}Oe.a(P);Oe[_P].Aj=function(){if(this.o){this.o.c();this.o=null}};Oe[_P].rg=function(a,b){a[k].background=["","#FFFFE0","#FFFFCC"][b]};Oe[_P].MA=function(a){this.Nh.Ce(a)};Oe[_P].add=function(a,b){var c=this,d=b&&b.onclick?b.onclick:No(c,
a),e=b&&b.uz?b.uz:function(){},f=b&&b.onmouseover?b.onmouseover:Po(c,a),g=b&&b.onmouseout?b.onmouseout:Oo(c);this.o.i(a,"click",d,true);this.o.i(a,"dblclick",e,true);this.o.i(a,"mouseover",f,true);this.o.i(a,"mouseout",g,true)};var No=function(a,b){return function(){a.Nh.Ce(b)}},Po=function(a,b){return function(){a.gs.Ce(b)}},Oo=function(a){return function(){a.gs.Ce(null)}};function Pe(a,b,c){this.nz=a;this.mz=b;this.He=c}Pe[_P].Ce=function(a){if(this.He!=a){this.$m(this.nz);this.He=a;this.$m(this.mz)}};Pe[_P].$m=function(a){if(this.He){a(this.He)}};Pe[_P].getState=function(){return this.He};function de(a,b,c,d){this.u=b;this.Wx=c;if(d){this.Ai=this.Vu(d)}this.ks=[];var e=c?Me(2,1,this.u,true):Me(1,2,this.u,true);Ng(e,0);e.cellSpacing=0;this.Je=e[zb][0][tb][0];la(this.Je,"tr_tabbed-pane-tabs");if(c){this.Je.className+=" tr_horizontal-tab";var f=Me(1,2,this.u,true);Ng(f,0);f.cellSpacing=0;this.lB=f[zb][0][tb][0];na(this.lB,"99%");na(f[zb][0][tb][1],"1%");this.Je.appendChild(f);this.$f=this.u.createElement("table");Ng(this.$f,0);this.$f.insertRow(0);f[zb][0][tb][1].appendChild(this.$f)}else{this.Je.className+=
" tr_vertical-tab";K(this.Je,"<p>"+a.getAttribute("tabbedPaneCaption")+"</p>")}this.nj=c?e[zb][1][tb][0]:e[zb][0][tb][1];la(this.nj,"tr_tabbed-pane-tab-content");while(a[ia][i]){this.At(a)}a.appendChild(e);a.className+=" tr_tabbed-pane"}de[_P].At=function(a){if(a[ia][0][R]==1){var b=a[ia][0];ta(b[k],"none");this.nj.appendChild(b);var c={};c.id=b.getAttribute("tabId");c.hv=b;this.ks.push(c);var d=b.getAttribute("tabId");b.id=d+"-content";var e=this.Uu(d,b.getAttribute("tabLabel"),b.getAttribute("tabTooltip"));
if(this.Wx){this.$f[zb][0].insertCell(-1).appendChild(e)}else{this.Je.appendChild(e)}}else{a.removeChild(a[Z])}};var nh=function(a,b,c,d,e){var f=d.createElement("div");f.setAttribute("tabID",a);f.setAttribute("tabLabel",b);f.setAttribute("tabTooltip",c);if(e){f.pe=e}return f};de[_P].Uu=function(a,b,c){var d=this.u.createElement("div");d.id=a;K(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>");
d.title=c;d.Ai=this.Ai;Bb(d,function(){this.Ai.Ce(this.id)});return d};de[_P].Vu=function(a){var b=this.u;return new Pe(function(c){la(b.getElementById(c),"");b.getElementById(c+"-dialog-radio").checked="";ta(b.getElementById(c+"-content")[k],"none")},function(c){la(b.getElementById(c),"tr_selected-tab-in-tabbed-pane");b.getElementById(c+"-dialog-radio").checked="checked";ta(b.getElementById(c+"-content")[k],"");if(a){a(c)}})};de[_P].rc=function(a){this.Ai.Ce(a)};de[_P].xh=function(){var a,b,c=this.ks;
for(var d=0;d<c[i];d++){a=c[d].id+"-dialog-radio";b=this.u.getElementById(a);if(b.checked!="")return c[d].hv}return null};var bl=function(a,b,c,d){var e=a[ia];for(var f=0;f<e[i];f++){if(e[f][R]==1&&e[f].getAttribute("tabbedPaneCaption")){return new de(e[f],b,c,d)}}};de[_P].Kv=function(){return this.nj};function ub(a,b){P.call(this);this.ub=[];this.Sf=[];this.dc=a;this.dd=a.j;this.o=new Ja(this);this.Qg={};this.rp=null}ub.a(P);var rk=function(a,b,c){this.Hb=a;this.content=b;this.Wu=c};rk[_P].Qj=function(a){return this.Hb==a.Hb&&this[ca]==a[ca]};ub[_P].xt=function(a){if(this.ub[i]==0||!a.Qj(this.ub[this.ub[i]-1])){this.ub.push(a);if(this.ub[i]>20){this.ub.shift()}this.Sf=[];this.dispatchEvent({type:"redostatechange",enabled:false})}if(this.ub[i]==1){this.dispatchEvent({type:"undostatechange",enabled:true})}};
ub[_P].Cs=function(){this.Zr(this.ub,this.Sf);if(this.ub[i]==0){this.dispatchEvent({type:"undostatechange",enabled:false})}if(this.Sf[i]==1){this.dispatchEvent({type:"redostatechange",enabled:true})}};ub[_P].$k=function(){this.Zr(this.Sf,this.ub);if(this.Sf[i]==0){this.dispatchEvent({type:"redostatechange",enabled:false})}if(this.ub[i]==1){this.dispatchEvent({type:"undostatechange",enabled:true})}};ub[_P].Zr=function(a,b){if(a[i]){var c=a.pop(),d=this.dd.F(c.Hb);if(d){d.yi(true,true)}var e=this.Qg[c.Hb];
b.push(e);{d.gj(this.dc)}this.dd.Mr(c.Hb,c[ca]);this.vA(c.Hb,c.Wu);vd(c.Hb);{var f=Jc();this.dc.Gs(f)}this.Qg[c.Hb]=c;this.dc.Rd();this.Gp=true;d.Fb()}};ub[_P].Pv=function(a){var b=this.dd.F(a),c=b&&b.ic();if(!c){return null}var d=this.dd.sa(a),e=c.p(),f=e.getSelection();return f?kk(f,d):null};ub[_P].vA=function(a,b){if(b){var c=this.dd.sa(a),d=this.dd.F(a);$.setTimeout(function(){b.kl(c,d.ic().U())},0)}};ub[_P].mx=function(a){if(a[xc]&&!a[qf]){if(a[Za]==90){if(a[Od]){this.$k()}else{this.Cs()}return Kc(a,
false)}else if(a[Za]==89){this.$k();return Kc(a,false)}}};ub[_P].Jz=function(a){this.o.i(a,"beforechange",this.vq);this.o.i(a,"delayedchange",this.yq);this.o.i(a,"blur",this.wq)};ub[_P].pu=function(a){if(this.o){this.o.Ea(a,"beforechange",this.vq);this.o.Ea(a,"delayedchange",this.yq);this.o.Ea(a,"blur",this.wq)}};ub[_P].c=function(){if(this.o){this.o.c();this.o=null}};ub[_P].vq=function(a){var b=a[aa],c=b.id;if(this.rp!=c){this.Fs(b);this.rp=c}};ub[_P].yq=function(a){if(this.Gp){this.Gp=false;return}var b=
a[aa];this.Fs(b)};ub[_P].wq=function(a){var b=a[aa];if(b){b.hn()}};ub[_P].Fs=function(a){if(a.Ob()){return}var b=a.id,c=this.dd.mw(b),d=this.Qg[b];if(d){this.xt(d)}var e=this.Pv(b);this.Qg[b]=new rk(b,c,e)};;function v(a,b,c){P.call(this);this.Nb={};this.Gi=[];this.iy=[];this.Z=null;this.bc=new ya(a);var d=this.bc.U(),e=d[ha];this.qg=window;this.Rt="http://pages.google.com/-/images/";this.Xi=bo(b,e[xe]);this.vk=co(this.Xi);this.na=ao(d);this.j=new u(this.na,this.bc,this.Xi);this.ac=new ub(this,e);this.Ud=new Ja(this);this.Ub=new qc(this.qg);this.style=new oa(this.j,c)}var vi;v.a(P);v[_P].w=fd("TR_Editor");var xi=false,co=function(a){if(!vi){vi=new Hk(window,20,a)}return vi},bo=function(a,b){var c=!s&&
b=="CSS1Compat"?"standards":"quirks";return a+"static_files/blank_"+c+".html"},ao=function(a){var b=a[yb].toString(),c=b.substring(0,b.lastIndexOf("/")+1),d={base:c,winbase:c,draft:c,preview:c,live:c,edit:c};return new Nc(d)};v[_P].ic=function(){return this.bc};v[_P].po=function(){return this.TB||0};{v[_P].qy=function(a){var b=new Ra(this,a);a.Ot(b);return b}}v[_P].Qp=function(a){if(!this.j.cp()){this.Ht()}if(Ka(a)){for(var b=0;b<a[i];++b){this.Rp(a[b])}}else{this.Rp(a)}};v[_P].Up=function(a,b){if(Ka(a)){for(var c=
0;c<a[i];++c){this.Sp(a[c])}}else{this.Sp(a)}if(!this.j.cp()){this.nu();if(b){this.Lz()}this.fC=null}};v[_P].Sp=function(a){var b=a.id,c=this.j.sa(b);if(!c){this.j.nn(b);return}this.ou(b);var d=a.ed;this.ac.pu(a);var e=this.aw(b);this.j.nn(b);{a.wi(false)}K(d,e);a.ls();a.gv()};v[_P].Ad=function(){this.Rd();if(this.yb){this.yb.c();this.yb=null}if(this.op){this.op.c();this.op=null}if(this.Ub){this.Ub.c();this.Ub=null}var a=this.j.Dv();this.Up(a,true);for(var b=0;b<a[i];++b){a[b].c()}if(this.ac){this.ac.c();
this.ac=null}if(this.Ud){this.Ud.c();this.Ud=null}this.Wg=null};v[_P].Ht=function(){var a=this.bc.k();this.Ud.i(this.Ub,je,this.Lh)};v[_P].nu=function(){if(this.Ud){this.Ud.Mc()}};v[_P].Lz=function(){if(this.vk){this.vk.Kz();this.vk=null}};v[_P].Ga={};v[_P].qb=function(a,b,c,d){var e=a.id;if(!this.Ga[e]){this.Ga[e]=new Ja(this)}this.Ga[e].i(a,b,c,d)};v[_P].ou=function(a){if(this.Ga[a]){this.Ga[a].c();this.Ga[a]=null}};v[_P].pk=function(a,b){if(a[xc]||a[ad]){this.$w(a)}};v[_P].$w=function(a){switch(a[zg]){case oh("b"):this.execute("+bold");
Kc(a);break;case oh("i"):this.execute("+italic");Kc(a);break;case oh("u"):this.execute(ui);Kc(a);break;case oh("s"):Kc(a)}};v[_P].Xo=function(a){var b=$d(a);if(s){this.ok(b.id)}var c=this.j.be(b);c.Fb()};v[_P].xx=function(a){var b=$d(a),c=this.j.be(b);c.Fb()};v[_P].Lh=function(){if(this.je())this.Z.xe()};v[_P].bw=function(a,b,c){var d=a[Ld];if(d){return this.$j(d,b,c)}else{var e;if(a.Ob()){e="&nbsp;"}else{var f=this.bc.Ja(a.id);if(f){e=f[Fa]}}if(c){c(e)}return e}};v[_P].Jr=function(a,b,c,d){if(d){a.yi(true,
true)}var e=a[Ld];if(e){this.j.Mr(e.id,c)}else{K(this.bc.Ja(a.id),dh(c))}if(d){a.El()}else{a.Fb()}};v[_P].aw=function(a,b,c){var d=this.j.sa(a);return this.$j(d,b,c)};var $n=["lang_hashCode_","listen_hc_"].concat(["insertResized_","tabIndex","tabIndexSet"]);v[_P].$j=function(a,b,c){if(this.j.F(a.id).Ob()){var d="&nbsp;";if(c){c(d)}return d}var e=a.cloneNode(false),f=a[Fa];if(s&&f.match(/^\s*<script/i)){f="&nbsp;"+f}K(e,f);var g=e.getElementsByTagName("img");for(var h=0;h<g[i];h++){var j=g[h];j.removeAttribute("unselectable");
j[k].cursor="";if(tn){Go(j,$n)}else{Pn(j,false)}this.na.Vp(j)}if(s){this.dA(e)}var d=e[Fa];if(c){c(d)}else{return d}};v[_P].ml=function(a,b,c,d){var e=this.j.F(a.id);if(e){this.Jr(e,b,c,d)}};v[_P].zA=function(a,b,c){var d=this.j.F(a);if(d.Ob()){d.gj(this)}this.ml(d[Ld],false,b,c)};v[_P].dA=function(a){this.na.cA(a,"a")};v[_P].ix=function(a){this.dispatchEvent({type:"focus",wv:a[aa]})};v[_P].hx=function(a){var b=this.j.F(a),c=b.L(),d=true;if(s){var e=b.mb()?c:Kk(Bo(c)),f=ua(e);if(Ok(f)!=e){this.j.mn(a)}else{d=
false}}this.dispatchEvent({type:"blur",wv:b});if(d){if(b&&xd(c)){b.rl(this)}}};v[_P].Rp=function(a){var b=a.id;this.w.Q("Starting make field editable "+b);var c=this.bc.Ja(b);if(!c){return}a.ed=c;if(a.Ob()){a.qu(c,this)}this.j.xz(a,E(this.kx,this));this.w.Q("Ending make field editable "+b)};v[_P].kx=function(a){this.w.Q("Starting handleFieldOpen "+a);var b=this.j.sa(a),c=this.j.F(a);if(xd(b)&&Jc()!=a){c.rl(this)}else if(qn){this.j.bA(a)}this.It(b);this.ac.Jz(c);this.UA(c);c.ZA();if(c.mb()&&c.Rc()){this.jv(a)}c.ev();
this.w.Q("End handleFieldOpen "+a)};v[_P].jv=function(a){var b=this.j;$.setTimeout(function(){b.iv(a)},0)};v[_P].It=function(a){var b=a.id,c=this.j.F(b);if(rn){c.addListener(Ve,this.pk,true,this)}c.addListener(Ue,E(this.ac.mx,this.ac),false,this);if(s){this.qb(a,"mousedown",this.jx)}this.qb(a,"dragdrop",this.Xo);{this.qb(c,"beforefocus",this.ok.G(this,b))}this.qb(c,"focus",this.ix);this.qb(c,"blur",this.hx.G(this,b));this.qb(c,"selectionchange",em(Gk,this));this.qb(c,ba.rm,Gk.te(this));if(!ji){this.qb(a,
"paste",this.xx,true);this.qb(a,"drop",this.Xo)}};v[_P].qv=function(a){if(s||ma){if(!this.j.nf()){this.j.$d(a).focus()}}};v[_P].UA=function(a){var b=a.id;this.qb(a,"selectionchange",this.Dz.G(this,b));this.qb(a,"mouseup",this.$t)};v[_P].Eu=function(a){if(ri(a)){var b=this.j.vw().U();if(a.getAttribute("imageanchor")){return}var c=Nb(a,"img"),d=this.j.be(a);this.Z=new Q(this.qg,b,a,d.ic().U(),this.na,this.Gi,this.Jq.G(this,"link"));if(this.yb){this.yb.Mc()}else{this.yb=new Ja(this)}this.yb.i(this.Z,
"dispose",this.Nz);this.yb.i(this.Z,"change",this.Zt);this.yb.i(this.Z,ak,this.dispatchEvent);this.yb.i(this.Z,"closed",this.Xw);if(Nb(a,"a")){this.cB(this.Z)}if(this.po()){this.Z.rA(this.po())}this.Z.wz();this.qv(a)}};v[_P].Nz=function(){this.yb.Mc()};v[_P].cB=function(a){a.QA(this.WB);a.BA(this.VB)};v[_P].Zt=function(a){if(a){var b=a.au,c=this.j.be(b);c.Fb(a.Fy)}if(this.je()){this.Z.xe()}};v[_P].$t=function(a){var b=$d(a);if(!Nb(b,"img")){b=If(b,"a")}this.Fe(b)};v[_P].Dz=function(){var a=this.j.p(),
b=a.Xa(),c=b;if(!Nb(b,"img")){c=If(b,"a")}this.Fe(c)};v[_P].Fe=function(a){if(this.je()&&a!=this.Z.la()){this.Rd()}if(a&&!this.je()){this.Eu(a)}};v[_P].je=function(){if(this.Z){if(this.Z.ke()&&this.Z.Ra&&this.Z.Ra[n]){return true}else{this.Z=null;return false}}else{return false}};v[_P].Rd=function(){if(this.je()){this.Z.Qd()}};v[_P].Xw=function(a){this.Z=null;var b=a[aa].la()};v[_P].Jq=function(a,b){var c=this.oo();if(c){if(a=="editHtml"){this.$j(c.L(),false,this.Kq.G(this,c,a))}else{this.Kq(c,a,
b)}}};v[_P].Kq=function(a,b,c){if(this.je()){this.Rd()}var d,e=this[k].p();if(b=="link"){d=new da(this.qg,this.na,e,this.Rt,c,this.iy);this.Wn=w(d,"cancel",this.Oy,false,this);this.Xn=w(d,"ok",this.Py,false,this)}else if(b=="editHtml"){d=new Aa(this.qg,e,this.Ly.G(this,a.L()),this.na,this.Xi,this.OC);d.fa(c)}xi=true;d.Pr(this);this.Wg=w(d,"close",this.ax.G(this,a),false,this);d.sc()};v[_P].oo=function(){var a=this[k].p(),b=this.j.nf();if(!b){b=this.j.Rv();this.gd(b.id)}return b};v[_P].qo=function(a){var b=
this.j.nf();return this[k].qo(a,b)};var eh="+formatBlock",ui="+underline",ti="+foreColor";v[_P].execute=function(a,b){this.Rd();var c=this.oo();if(!c){return false}if(a=="+undo"){this.ac.Cs()}else if(a=="+redo"){this.ac.$k()}else{if(y){c.yi(true,true)}c.Xg();var d=this[k].Bv(a,b);c.Fb();if(a=="+link"){this.Cx(d)}else{c.Gj()}}return false};v[_P].gd=function(a){vd(a);this.bc.hh();this.j.gd(a)};v[_P].Cx=function(a){if(a){var b=a.ph();if(ll(b)){this.Vr(a,Ki(b))}else if(qh(b)){this.Vr(a,"mailto:"+b)}else{this.Jq("link",
a)}}else{this.Rd()}};v[_P].Vr=function(a,b){a.sp(b);var c=a.of();this.Fe(c);var d=this[k].p();d.hi(c)};v[_P].jn=function(){Ua(this.Wn);this.Wn=null;Ua(this.Xn);this.Xn=null};v[_P].Oy=function(a){var b=a[aa].la();if(b[n]){this.Fe(b)}this.jn()};v[_P].Py=function(a){var b=a[aa].la();this.Fe(b);var c=this.j.be(b);c.Fb();this.jn()};v[_P].jx=function(a){var b=$d(a);if(!Jc()){var c=this.j.$d(b).id;vd(c)}if(s&&Nb(b,"a")&&a[xc]){this.bc.Lq(b[Be],"")}};{v[_P].Ly=function(a,b){var c=a.id,d=this.j.F(c);if(d.Ob()){this.ok(c)}this.zA(c,
b);if(y){Fk(ua(a),this.na)}var e=this.j.p();$.setTimeout(E(e.empty,e),0);d.Fb()}}{v[_P].ok=function(a){this.j.F(a).gj(this)};v[_P].Gs=function(a){var b=this.j.F(a);if(a!=Jc()&&xd(b[Ld])){b.rl(this)}}}var wi=function(){return xi};v[_P].zk=function(){return wi()};v[_P].ax=function(a){if(this.Wg){Ua(this.Wg);this.Wg=null}a.Xu(ba.Ni);xi=false};{function Ra(a,b){this.dc=a;this.ya=b;this.ef=a.ic();this.Dl=lc();this.Pj=lc();this.eh=new Ja(this);this.yv=E(this.zv,this);this.oe=new Ja(this);if(!this.ya.Dk()){this.K()}this.eh.i(this.ya,ba.wm,this.Sz);this.eh.i(this.ya,ba.Cm,this.K)}Ra.a(nc);Ra[_P].c=function(){this.ka();this.eh.c();this.oe.c();this.eh=null;this.oe=null;Ra.h.c.call(this)};Ra[_P].K=function(){if(this.Cp){return}this.Cp=true;this.bi=false;var a=this.qh();if(this.ya.Rc()){this.gl=null;this.oe.i(a,Ad,this.wx);this.oe.i(a,hb,this.kk)}else{this.oe.i(a,
sc,this.vx)}if(xd(a)){this.ya.AA(a,this.dc)}};Ra[_P].ka=function(){this.oe.Mc();this.Cp=false};Ra[_P].qh=function(){return this.ef.Ja(this.ya.id)};Ra[_P].vx=function(a){this.co();this.ka()};Ra[_P].kk=function(a){var b=If(a[aa],"A");if(b){a.preventDefault();if(!Xj){this.gl=b}}};Ra[_P].wx=function(a){if(a.Sx(0)){this.ef.U().setTimeout(this.yv,0)}};Ra[_P].zv=function(){if(!this.ya.Dk()){this.er(this.ef);if(!this.ya.Ob()){this.Px()}this.co()}this.ka();this.gl=null};Ra[_P].co=function(){if(!this.ya.Dk()){this.bi=
true;this.dc.Qp(this.ya)}};Ra[_P].Sz=function(){if(this.ya.Rc()){var a=this.ya.ic(),b=a.Ja(this.Dl),c=a.Ja(this.Pj),d=b&&c;if(this.bi||d){this.dc.gd(this.ya.id)}if(d){var e=b[n],f=c[n];a.p().vr(b,c);if(e==f&&e[sa]=="A"){this.dc.Fe(e)}}this.er(a)}else{if(this.bi){this.dc.gd(this.ya.id)}}this.bi=false};Ra[_P].Px=function(){var a=this.ef.p(),b=this.qh(),c=function(l){return l==b},d=a.Af(),e=a.Zj(),f=true;if(d&&e){var g=wd(d,c),h=wd(e,c);if(g&&h){a.mB(this.Og(),this.Ng())}else if(g){a.insertNode(this.Og(),
true);this.Nx()}else if(h){a.insertNode(this.Ng(),false);this.Ox()}else{f=false}}else{f=false}if(!f){var j;if(Xj){j=Ok(this.ef.k())}else{j=this.gl}if(j&&wd(j,c)){Zf(this.Og(),j[Z]);Zf(this.Ng(),j[Z])}}};Ra[_P].er=function(a){a.gr(this.Dl);a.gr(this.Pj)};Ra[_P].xn=function(a){return Qe("span",{id:a})};Ra[_P].Og=function(){return this.xn(this.Dl)};Ra[_P].Ng=function(){return this.xn(this.Pj)};Ra[_P].Ox=function(){var a=this.qh();Zf(this.Og(),Lc(a))};Ra[_P].Nx=function(){var a=this.qh();Bh(this.Ng(),
ce(a))}};;;var N=function(a){V.call(this,a);this.Zc=eb.Re;this.wb=pg("clicktoedit")};N.a(V);var Mm=y?"p {margin:0;padding:0;}\n ul, ol {margin:0 0 0 $LEFT$;padding:0;}\n":null,Sq={title:2,centeredTitle:2,subtitle:1.5};N[_P].r=null;N[_P].Cg=null;N[_P].Vn=false;N[_P].Ne=false;N[_P].Vm=false;N[_P].Ye=null;N[_P].wb=false;N[_P].Ia=function(){return"presently.TextShape"};N[_P].Dg=function(){var a=this.e().cloneNode(false);if(a.contentEditable){a.contentEditable=false}K(a,this.C());kn(a);return a};N[_P].Ib=function(){return Om()};
N[_P].L=function(){return this.r};N[_P].p=function(){return this.r?this.r.p():null};N[_P].La=function(a){if(this.cc&&!a||!this.cc&&a){N.h.La.call(this,a);if(!a){this.cv();if(!this.wb){this.bl()}}else{if(this.wb){this.yn()}else{this.Js()}}}};N[_P].yn=function(){var a=s||y||pg("safarisupport")&&ma&&Uc("520");if(!a){return}if(!this.r){if(!this.wb){this.bl()}this.r=new t(this.v(),2,this.Tv());var b=this.Ec();b.i(this.r,"load",this.Aq);b.i(this.r,"delayedchange",this.rq);b.i(this.r,"focus",this.zq);b.i(this.r,
"beforeblur",this.oq);b.i(this.r,"blur",this.xq);b.i(this.r,"selectionchange",this.Bq);b.i(this.r,ba.om,this.Iy);if(this.wb){this.Cg=this.Ib().qy(this.r)}else{this.Ib().Qp(this.r)}}else{if(this.Cg){this.Cg.K()}}};N[_P].Mv=function(){return Mm.replace("$LEFT$",1.5/(Sq[this.ee()]||1)+"em")};N[_P].Tv=function(){var a={loremIpsumMessage:this.ck(),minHeight:an(this.e())};if(Mm!=null){a.cssStyles=this.Mv()}return a};N[_P].cv=function(){if(!s&&!y){return}if(this.r){if(!this.wb){var a=this.Ec();a.Ea(this.r,
"load",this.Aq);a.Ea(this.r,"delayedchange",this.rq);a.Ea(this.r,"focus",this.zq);a.Ea(this.r,"beforeblur",this.oq);a.Ea(this.r,"blur",this.xq);a.Ea(this.r,"selectionchange",this.Bq)}this.r.Lr(this.de());this.Ib().Up(this.r,false);if(this.wb){this.Cg.ka()}else{this.r=null}Ua(this.Vm)}$.focus()};N[_P].AB=function(){if(this.r){this.r.FA(an(this.e()))}};N[_P].C=function(){if(this.r){return this.Ib().bw(this.r)}else if(this.Ne){this.Nm();return""}else{return N.h.C.call(this)}};N[_P].Lv=function(){return this.Ne?
this.b[Fa]:this.C()};N[_P].ck=function(){return Oq(this.ee())};N[_P].bl=function(){if(!this.Ne){return}if(!this.Nm()){return}K(this.b,"");Wb(this.b,"lorem-ipsum");this.Ne=false};N[_P].Js=function(){if(this.Fc()&&this.cc){K(this.b,this.ck());Sa(this.b,"lorem-ipsum");this.Ne=true}};N[_P].Nm=function(){if(!this.Ne)return true;if(this.Lv()!=this.ck()){Na("TextShape.removeLoremIpsumText_: Invalid state: usingPresentlyLoremIpsum but text field contents aren't valid lorem ipsum message.");return false}return true};
N[_P].Fc=function(){return xd(on(this.C()))};N[_P].fa=function(a,b){if(!this.r){if(!this.wb){this.bl()}var c=N.h.fa.call(this,a,b);if(!this.wb){this.Js()}return c}if(a!=this.C()){this.Ib().Jr(this.r,false,a);this.Ib().Gs(this.v());this.dispatchEvent(ng);return true}return false};N[_P].Iy=function(a){var b=this.Ib(),c=b.j.p();if(this.lA()){b.execute(a[Od]?"+outdent":"+indent")}else{this.r.yi(true,true);var d=c.Hc(),e=this.Ib().j.sf(),f=e.createElement("span");e.RA(f,"\u00a0\u00a0 \u00a0");f=c.insertNode(f);
if(!d){b.execute("delete")}else{this.r.Fb()}c.hi(f);this.r.Gj()}a.preventDefault()};N[_P].lA=function(){var a=this.Ib().j.p(),b=a.Xa();while(b&&(b[R]!=1||!Cb(b,"placeholder"))){if(b[sa]=="LI"){return true}b=b[n]}var c=new Sb(a);while(!c.Sh()){if(c.s[sa]=="LI"){return true}c.next()}return false};N[_P].Aq=function(a){if(this.r.mb()){this.Vm=Tq(this.r.yo(),Ue,zh())}if(!this.wb){this.Ib().gd(this.v())}Oa("TextShape.onFieldLoad_: "+this.toString())};N[_P].di=function(a){Oa("TextShape.onMouseDown");if(!this.wb){this.yn()}N.h.di.call(this,
a)};N[_P].rq=function(a){Oa("TextShape.onDelayedFieldChange_: New contents for "+this.toString());var b=null;try{Oa("Before scrub: "+(this.L()?this.L().L()[Fa]:this.C()));Zm(this);Oa("After scrub: "+(this.L()?this.L().L()[Fa]:this.C()))}catch(c){b=c}Oa("Saving delayed changes.");this.N("contents",this.C());this.dispatchEvent(ng);if(b){throw b;}};N[_P].zq=function(a){Oa("TextShape.onFieldFocus_: "+this.toString());this.Vn=true};N[_P].oq=function(a){Oa("TextShape.onBeforeFieldBlur_: "+this.toString());
this.Jn();hr(this)};N[_P].xq=function(a){Oa("TextShape.onFieldBlur_: "+this.toString());this.Vn=false;this.vb()};N[_P].Bq=function(a){Oa("TextShape.onFieldSelectionChange_: "+this.toString());this.Jn()};N[_P].ti=function(a){var b=this.wh();N.h.ti.call(this,a);if(b[z]!=a[z]){this.AB()}};N[_P].Hg=function(a){var b=this.e();if(!a||!this.ba()||!b||!b[Ub]){return null}var c=this.wh(),d=b[k],e=d[B],f=d[z];na(d,"auto");xa(d,"auto");na(c,q.max(c[B],100*b[Ub]/(800*a)));xa(c,q.max(c[z],100*b[Kb]/(600*a)));
na(d,e);xa(d,f);return c};N[_P].Bw=function(){if(this.L().Rc()){return cr(this.e(),1)}return 1};N[_P].Jn=function(){if(this.Ye){var a=this.Ye[Eg].replace(/\u202c|\u202d/,"");if(a[i]){this.Ye.innerText=a}else{U(this.Ye)}}this.Ye=null};var Oq=function(a){switch(a){case Y.lg:case Y.mg:case Y.ng:case Y.Oe:return Yb(M_DEFAULT_BODY_TEXT);case Y.kg:return Yb(M_DEFAULT_CAPTION_TEXT);case Y.Pe:return Yb(M_DEFAULT_TITLE_TEXT);case Y.Oi:return Yb(M_DEFAULT_SUBTITLE_TEXT);case Y.Ld:return Yb(M_DEFAULT_SLIDE_TITLE_TEXT);
default:return""}},Pq=function(a){switch(a){case Y.Pe:return"font-size:1.8em";case Y.Oi:return"font-size:1.2em";case Y.kg:return"font-size:1.2em";case Y.Ld:return"font-size:1.6em";case Y.ng:return"width: 50%; height: 25%; top: 25%; left: 25%";case Y.lg:case Y.mg:case Y.Oe:default:return""}},Yh=null,Qq=false,Nm=function(a){Yh=new v(a||$,Ym());w(Yh,[pi,"close"],Rq)},Om=function(){if(!Yh){Nm()}return Yh},Rq=function(a){Qq=a&&a[I]==pi};Ob("_createCccEditor",Nm);Ob("_getCccEditor",Om);var G=function(a){F.call(this,a);this.vg=this.t+"Build"};G.a(F);G[_P].Uh=null;G[_P].O=null;G[_P].dg=null;G[_P].xd=0;G[_P].pa=0;G[_P].vg=null;G[_P].Ia=function(){return"presently.EditableSlide"};G[_P].H=function(a){var b=G.h.H.call(this,a);b.pl(this.uf());b.O=this.O;return b};G[_P].Hx=function(){var a=this.uf(),b=Dq(a);for(var c=0,d=b[i];c<d;c++){this.lc(this.Nu(b[c]),c)}};G[_P].Nu=function(a){var b=this.tj(eb.Re);b.Ee(a);b.ui(Pq(a));return b};G[_P].tj=function(a){return this.Lf(null,{contenttype:a})};
G[_P].Su=function(a){switch(a){case eb.Re:return new N;case eb.Mi:return new rb;case eb.Jd:return new Ij;case eb.qm:return new id;default:Hr("Unsupported shape content type: "+a);return null}};var Dq=function(a){switch(a){case "LAYOUT_TITLE_SLIDE":return[Y.Pe,Y.Oi];case Dm:return[Y.Ld,Y.Oe];case "LAYOUT_2_COLUMNS_TITLE":return[Y.Ld,Y.lg,Y.mg];case "LAYOUT_BODY":return[Y.Oe];case "LAYOUT_2_COLUMNS":return[Y.lg,Y.mg];case "LAYOUT_BODY_CAPTION":return[Y.Oe,Y.kg];case "LAYOUT_CAPTION":return[Y.kg];case Cm:default:return[]}};
G[_P].eg=function(){return(new qb('<div class="')).f("slide").f(" ").f(this.uf()).f('" id="').f(this.v()).f('" revision="').f(this.xf()).f('">').f(this.ak()).f("</div>").toString()};G[_P].ek=function(){return this.O||""};G[_P].uf=function(){return this.Uh};G[_P].pl=function(a,b){if(a!=this.Uh){this.Uh=a;this.dispatchEvent("slide_layout_changed");if(!b){this.N("layout",this.uf())}return true}return false};G[_P].C=function(){var a=new qb;this.Ha(function(b){a.f("<!-- p$").f(b.v()).f("$ --\>");a.f(b.eg());
a.f("<!-- /p$").f(b.v()).f("$ --\>")});return a.toString()};G[_P].lh=function(){return Gm};G[_P].Fr=function(a){var b=new Image;b.src=a;b.setAttribute("width","100%");b.setAttribute("height","100%");var c=this.e()[ea].createElement("div");c.appendChild(b);var d=c[Fa];U(c);var e=this.tj(eb.Jd);e.fa(d);e.ti(new Sc(0,0,100,100));this.lc(e,0)};G[_P].Lu=function(a,b){Fe(a[k],"width: 100%; height: 100%;");var c=this.e()[ea].createElement("div");c.appendChild(a);var d=c[Fa];U(c);var e=this.tj(eb.Mi);e.fa(d);
var f=b||new db(a[Fg],a.naturalHeight);e.Dr(f);return e};G[_P].lc=function(a,b){G.h.lc.call(this,a,b);this.EB([a]);this.dispatchEvent(new jd(this,"shape_inserted",a.v()))};G[_P].EB=function(a){this.vb();var b=this.xp();oc(a,function(c){this.Ei(c);c.La(b)},this)};G[_P].Lf=function(a,b,c){var d=b.contenttype,e=this.Su(d);e.Wf(a||this.od().Bo()(e));if(!c){e.N("action","create");e.N("index",-1);e.N("contenttype",d)}e.Ee(Y.ng,c);return e};G[_P].Ug=function(a,b){if(!a){throw new Error("Attempted to delete a non-existent shape");
}var c=a.v();this.dispatchEvent(new jd(this,"before_delete_shape",c));if(!b){var d=a.qf("action");if(d=="create"){this.Ul(a)}else{a.N("action","delete")}}this.removeChild(a,true);a.c();if(this.dg==c){this.O=null;this.dg=null;this.dispatchEvent(Hm);oc(this.ha,function(e){this.Ei(e)},this)}this.dispatchEvent(new jd(this,"shape_deleted",c));this.vb()};G[_P].l=function(){G.h.l.call(this,"slide "+this.uf())};G[_P].Jf=function(a,b,c){var d=G.h.Jf.call(this,a,b,c);if(d){this.dispatchEvent("shape_moved")}return d};
G[_P].Ei=function(a){var b=a.ee();if(a.v()==this.dg||(b==Y.Ld||b==Y.Pe)&&(this.O==null||this.dg==null)){this.O=a.Ow();this.dg=a.v();this.dispatchEvent(Hm)}};G[_P].qq=function(a){var b=a[aa];if(b){this.Ei(b)}};G[_P].gz=function(){this.vb()};G[_P].c=function(){if(!this.P()){G.h.c.call(this);this.Uh=null}};G[_P].K=function(){G.h.K.call(this);this.Ec().i(this,ng,this.qq);this.Ec().i(this,Em,this.gz)};G[_P].ka=function(){G.h.ka.call(this);this.Ec().Ea(this,ng,this.qq)};G[_P].Du=function(a){var b=this.rf(0),
c=this.rf(1),d=this.g.Tc("h1",null,a);for(var e=0,f;f=d[e];e++){var g=kg(this.g.Qw(f));if(g!=""){b.ui([f[k][Yc],b.de()].join(" "));b.fa(g);this.Ei(b);U(f);break}}var h=this.g.Tc("img",null,a);if(h[i]){var j=!h[0][Fg],l=new Vc;for(var e=0,m;m=h[e];e++){var r=this.Lu(m);this.lc(r,this.nh());l.ut(r.v(),m)}if(j){var x=this.Ec();x.i(l,"load",function(O){var W=O[aa],fb=new db(W[Fg],W.naturalHeight);this.kd(W.id).Dr(fb)});l.start()}}c.fa(a[Fa])};G[_P].Hd=function(a,b){switch(a){case "layout":this.pl(b,true);
break;default:G.h.Hd.call(this,a,b);break}};G[_P].Nd=function(){if(this.xc&&this.pa<this.xd){var a=S.getElementById(this.jd(this.pa++));Tb(a,true);return true}return false};G[_P].Le=function(){if(this.xc&&this.pa>0){var a=S.getElementById(this.jd(--this.pa));Tb(a,false);return true}return false};G[_P].ug=function(){while(this.Nd()){}};G[_P].Bs=function(){while(this.Le()){}};G[_P].Ym=function(a){if(this.xc){while(this.pa<a){this.Nd()}while(this.pa>a){this.Le()}}};G[_P].fc=function(){return this.pa};
G[_P].fk=function(a){var b=this.O;if(b){var c=kg(b);if(a!=null){if(a<4){a=4}return c[i]<=a?c:c.substr(0,a-3)+"..."}else{return c}}return""};var Cm="LAYOUT_BLANK_SLIDE",Dm="LAYOUT_TITLE_BODY_SLIDE";G[_P].jd=function(a){return this.vg+a};var kd=function(a,b,c){this.t=a;this.da=b;this.Zg=c};kd[_P].t=null;kd[_P].da=null;kd[_P].Zg=null;kd[_P].Qj=function(a){return this===a||!(!a)&&this.t==a.t&&this.da==a.da&&this.Zg==a.Zg};$a(kd[_P],function(){return(new qb('<User id="')).f(this.t).f('" name="').f(this.da).f('" email="').f(this.Zg).f('"/>').toString()});kd[_P].v=function(){return this.t};var Xa=function(a,b){J.call(this,b);if(ga(a)){this.Wf(a)}this.Md=null;this.Yd=null;this.oi=1;this.Ke=null};Xa.a(J);var Rm="goog-presently-view",Zh="goog-presently-background",Qm="goog-presently-foreground";Xa[_P].xg=function(a){return a&&a[R]==1&&a[sa]=="DIV"&&!a[Z]};Xa[_P].K=function(){Xa.h.K.call(this);var a=this.e();Sa(a,Rm,this.Ke);this.Om(this.Md);this.Pm(this.Yd);this.Rr(this.oi)};Xa[_P].ka=function(){var a=this.e();Wb(a,Rm,this.Ke);this.Cj();this.Bj();Xa.h.ka.call(this)};Xa[_P].c=function(){if(!this.P()){if(this.Yd){this.Cj();
this.Yd=null}if(this.Md){this.Bj();this.Md=null}Xa.h.c.call(this)}};Xa[_P].Rr=function(a){if(typeof a!="number"||a<=0){return}this.oi=a;if(this.ba()){var b=20*a+"pt",c=this.e();ta(c[k],"none");H(c,"fontSize",null);if(y){window.setTimeout(function(){H(c,"fontSize",b);ta(c[k],"block")},1)}else{H(c,"fontSize",b);ta(c[k],"block")}}};Xa[_P].Tr=function(a){if(a!=this.Ke){if(this.ba()){var b=this.e();if(this.Ke){Wb(b,this.Ke)}if(a){Sa(b,a)}}this.Ke=a}};Xa[_P].fw=function(){return this.Yd};Xa[_P].cl=function(a){var b=
this.Cj();this.Pm(a);return b};Xa[_P].Ev=function(){return this.Md};Xa[_P].mi=function(a){var b=this.Bj();this.Om(a);return b};Xa[_P].Pm=function(a){if(a&&this.ba()){Sa(a,Qm);Pc(this.e(),a);if(s){var b=this.wo("ie-hack");if(b==null){b=Qe("div",{"class":"ie-trans-hack",style:"width: 100%; height: 100%; position: absolute;"});b.id=this.Tp("ie-hack")}Zf(b,a)}}this.Yd=a};Xa[_P].Cj=function(){var a=this.Yd;if(a){Wb(a,Qm);U(a)}return a};Xa[_P].Om=function(a){if(a&&this.ba()){var b=this.e();Sa(a,Zh);b.insertBefore(a,
b[Z])}this.Md=a};Xa[_P].Bj=function(){var a=this.Md;if(a){Wb(a,Zh);U(a)}return a};var xb=function(a,b){Xa.call(this,a,b);this.Iz=Im;this.Na=null};xb.a(Xa);var Im=new db(800,600);xb[_P].K=function(){xb.h.K.call(this);if(this.Na){this.xl(this.Na)}else{this.Wc()}};xb[_P].hk=function(){return this.Na};xb[_P].xl=function(a){if(a){this.Na=a;if(this.ba()){tr(this.e(),a);this.Cr(a);this.Kr(a);this.Tz()}}};xb[_P].Wc=function(){if(this.ba()){var a=rg(this.e()[n]);this.xl(a)}};xb[_P].zw=function(){return this.Iz};
xb[_P].cl=function(a){if(a){ta(a[k],"none")}var b=xb.h.cl.call(this,a);if(a){this.Kr(this.hk());ta(a[k],"block")}return b};xb[_P].mi=function(a){if(a){ta(a[k],"none")}var b=xb.h.mi.call(this,a);if(a){this.Cr(this.hk());ta(a[k],"block")}return b};xb[_P].Kr=function(a){var b=this.fw();if(a&&b){jf(b,a)}};xb[_P].Cr=function(a){var b=this.Ev();if(a&&b){jf(b,a)}};xb[_P].Tz=function(){var a=this.hk(),b=this.zw();if(a&&b){var c=q.min(a[B]/b[B],a[z]/b[z]),d=this.e();this.Rr(c)}};var D=function(a,b){F.call(this);this.jp=a;this.bg=b};D.a(F);D[_P].Ta=null;D[_P].Na=null;D[_P].bg=null;D[_P].dn=null;D[_P].tr=null;D[_P].O=null;D[_P].ag=null;D[_P].sg=null;D[_P].qs=null;D[_P].pn=null;D[_P].Mq=null;D[_P].Hi=null;D[_P].Ji=null;D[_P].jp=null;D[_P].Ia=function(){return"presently.EditablePresentation"};D[_P].eg=function(){var a=new qb;a.f("presentation_").f('" id="').f(this.v()).f('" revision="').f(this.xf()).f('">');this.Ha(function(b){a.f("<!-- s$").f(b.v()).f("$ --\>");a.f(b.eg());
a.f("<!-- /s$").f(b.v()).f("$ --\>")});a.f("</div>");return a.toString()};D[_P].C=function(){var a=new qb;this.Ha(function(b){a.f("<!-- s$").f(b.v()).f("$ --\>");a.f(b.toString());a.f("<!-- /s$").f(b.v()).f("$ --\>")});return a.toString()};D[_P].LA=function(a){if(a&&a!=this.tr){this.tr=a;var b=a.split(":"),c=b[0];if(c){this.Wf(c)}var d=b[1];if(d){this.KA(d)}}};D[_P].sA=function(a){if(a&&a!=this.dn){this.dn=a}};D[_P].ek=function(){return this.O};D[_P].Ur=function(a,b){if(a!=this.O){this.O=a;this.dispatchEvent("title_changed");
if(!b){this.N("title",this.ek())}return true}return false};D[_P].Rw=function(){return this.ag};D[_P].De=function(a,b){if(a!=this.ag){this.ag=a;this.FB();this.dispatchEvent("theme_changed");if(!b){this.N("theme",this.Rw())}return true}return false};D[_P].FB=function(){if(this.ba()){if(this.Ta&&y){this.Ta.La(false)}var a=this.e(),b=kp(Tf(a),Cq);em(Wb,a).apply(null,b);Sa(a,"goog-presently-theme-"+this.ag);var c=null;if(s){c=this.wo("ie-hack");if(c){U(c)}}var d=this.Uj();if(d){d[n].removeChild(d)}d=this.bg.dk(this.ag);
if(this.Na){jf(d,this.Na)}Sa(d,Zh);a[n].insertBefore(d,a);if(c!=null){this.Mx(c)}if(this.Ta&&y){this.Ta.La(true)}}};var Cq=function(a){return pm(a,"goog-presently-theme-")};D[_P].Rz=function(a){var b=Zq(this,function(c){return c instanceof V&&c.Xj()==eb.Jd});if(b[i]){if(a?nf(M_CONFIRM_IMPORT_THEME_CHANGE):nf(M_CONFIRM_APPLY_CUSTOM_BACKGROUND)){oc(b,function(c){c.od().Ug(c)})}else{return false}}return true};D[_P].Fr=function(a){if(this.Rz(false)){this.Ha(function(b){b.Fr(a)});this.De("blank")}};D[_P].Uj=
function(){if(this.ba()){var a=this.e()[n][Z];if(a&&Cb(a,Zh)){return a}}return null};D[_P].Mx=function(a){var b=this.Ta;if(b){var c,d=b.rf(0);if(d&&d.Xj()==eb.Jd){c=d.e()}else{c=this.Uj()}if(c!=null){Bh(a,c)}}};D[_P].gc=function(){return this.Ta};D[_P].Wc=function(a){if(this.ba()){if(this.Ta&&y){this.Ta.La(false)}var b=this.e();this.Na=a;jf(this.Uj(),a);jf(b,a);if(this.Ta){jf(this.Ta.e(),a)}X(b,false);H(b,"fontSize",null);var c=q.min(a[B]/800,a[z]/600),d=20*c+"pt",e=E(function(){this.sg=null;H(b,
"fontSize",d);X(b,true);if(this.Ta&&y){this.Ta.La(true)}},this);if(y){if(this.sg){window.clearTimeout(this.sg)}this.sg=window.setTimeout(e,1)}else{e()}}};D[_P].lh=function(){return"presentation_bounds_changed"};D[_P].jz=function(){this.vb()};D[_P].SA=function(a){if(a!=this.qs){this.qs=a;this.dispatchEvent("timestamp_changed")}};D[_P].uA=function(a){if(a!=this.pn){this.pn=a;this.dispatchEvent("coeditors_changed")}};D[_P].GA=function(a){var b=new kd(a.id,a.name,a.email);if(!b.Qj(this.Mq)){this.Mq=b;
this.dispatchEvent("owner_changed")}};D[_P].WA=function(a){if(a){if(this.Hi){ol(this.Hi)}else{this.Hi=[]}oc(a,function(b){this.Hi.push(new kd(b.id,b.name,b.email))},this);this.dispatchEvent("viewers_changed")}};D[_P].XA=function(a){if(a){if(this.Ji){ol(this.Ji)}else{this.Ji=[]}oc(a,function(b){this.Ji.push(new kd(b.id,b.name,b.email))},this);this.dispatchEvent("writers_changed")}};D[_P].Bo=function(){return this.jp};D[_P].Kb=function(){return this.nh()};D[_P].Tu=function(a){a=a||Cm;var b=this.Lf();
b.pl(a);return b};D[_P].lc=function(a,b,c){D.h.lc.call(this,a,b,c);X(a.e(),false);this.dispatchEvent(new jd(this,"slide_created",a.v()));this.vb()};D[_P].Jf=function(a,b,c){var d=D.h.Jf.call(this,a,b,c);if(d){this.dispatchEvent(new jd(this,"slide_moved",a.v()))}return d};D[_P].Ug=function(a,b){if(!a){throw new Error("Attempted to delete a non-existent slide");}var c=a.v();this.dispatchEvent(new jd(this,"before_delete_slide",c));if(!b){var d=a.qf("action");if(d=="create"){this.Ul(a)}else{a.N("action",
"delete")}}this.removeChild(c);a.c();this.dispatchEvent(new jd(this,"slide_deleted",c));this.vb()};D[_P].Lf=function(a,b,c){var d=new G;d.Wf(a||this.Bo()(d));if(!c){d.N("action","create");d.N("index",-1)}return d};D[_P].K=function(){D.h.K.call(this);this.Ec().i(this,Gm,this.jz)};D[_P].Cu=function(a){Oa("EditablePresentation: Legacy document.");var b=this.e();K(b,a);var c=null;while(c=this.g.Tc("font",null,b)[0]){$q(c)}jn(b);var d=this.g.l("div"),e=this.g.l("div");d.appendChild(e);var f;while(f=b[Z]){e.appendChild(f)}var g=
this.g.Tc("hr","slideBreak_",d);if(!g||g[i]==0){var h=this.g.Tc("h1",null,d);for(var j=1,l;l=h[j];j++){var m=this.g.l("hr",{className:"slideBreak_"});l[n].insertBefore(m,l);g.push(m)}}for(var j=0,m;m=g[j];j++){Er(d,m);U(m)}var r=0;e=this.g.ew(d);while(e){var x=Dm,O=this.Tu(x);this.lc(O,r++);O.Hx();O.Du(e);e=this.g.rw(e)}U(d)};D[_P].zf=function(a){return this.rf(a)};D[_P].Hd=function(a,b,c){switch(a){case "revision":this.LA(b);break;case "cancelRevision":this.sA(b);break;case "title":this.Ur(b,c);
break;case "theme":this.De(b,c);break;case "lastEdited":case "timestamp":this.SA(b);break;case "coeditors":this.uA(b);break;case "owner":this.GA(b);break;case "viewers":this.WA(b);break;case "writers":this.XA(b);break;case "contents":this.Cu(b);break;default:D.h.Hd.call(this,a,b,c);break}};var Gb=function(a,b,c){var d=Da();if(!a){Na("Slide: Unable to create Slide, id is null");return}var e=o(a);if(!e){Na('Slide: Unable to create Slide, no element with id="'+a+'" found');return}this.t=a;this.xc=!b;this.oi=!c;this.xd=0;this.pa=0;this.vg=this.t+"Build";this.oC=this.t+"Image";this.O=null;this.Kx();if(this.xc){var f=zd(null,"incremental",e);for(var g=0;g<f[i];g++){if(f[g][sa]=="OL"||f[g][sa]=="UL"){var h=f[g][Z];while(h&&h[n]&&h[n]==f[g]){if(h[R]==1){h.id=this.jd(this.xd++);Tb(h,false)}h=
h[gb]}}else{f[g].id=this.jd(this.xd++);Tb(f[g],false)}}}tg('Initialized slide (id="'+this.t+'")',d)};Gb[_P].Kx=function(){var a=Iq(this.zh());for(var b=0,c=a[i];b<c;b++){var d=a[b],e=Jq(d),f=Kq(d);if(e==eb.Re&&(f==Y.Ld||f==Y.Pe)){this.O=Se(d);break}}};Gb[_P].v=function(){return this.t};Gb[_P].zh=function(){return o(this.t)};Gb[_P].fk=function(a){var b=this.O;if(b){var c=kg(b);if(a!=null){if(a<4){a=4}return c[i]<=a?c:c.substr(0,a-3)+"..."}else{return c}}return""};Gb[_P].Nd=function(){if(this.xc&&this.pa<
this.xd){var a=S.getElementById(this.jd(this.pa++));Tb(a,true);return true}return false};Gb[_P].Le=function(){if(this.xc&&this.pa>0){var a=S.getElementById(this.jd(--this.pa));Tb(a,false);return true}return false};Gb[_P].ug=function(){while(this.Nd()){}};Gb[_P].Bs=function(){while(this.Le()){}};Gb[_P].Ym=function(a){if(this.xc){while(this.pa<a){this.Nd()}while(this.pa>a){this.Le()}}};Gb[_P].fc=function(){return this.pa};Gb[_P].C=function(){var a=this.zh();return a?'<div class="'+a[Jb]+'">'+a[Fa]+
"</div>":""};$a(Gb[_P],function(){return'<Slide id="'+this.t+'" title="'+this.fk(20)+'" build="'+this.xc+'" scale="'+this.oi+(this.xd!=0?'" numBuilds="'+this.xd:"")+'" />'});Gb[_P].jd=function(a){return this.vg+a};var Jj=function(a){var b=Da();if(!a){Na("Gallery: Unable to create gallery, name is null");return}var c=o(a);if(!c){Na('Gallery: Unable to create gallery, no data source with id="'+a+'" found');return}this.da=a;this.no={};var d=zd("div","slide",c);for(var e=0;e<d[i];e++){var f=d[e].id;if(f){this.no[f]=new Gb(f,true,false);Oa("Gallery: Added "+d[e]+" to the gallery")}else{Na("Gallery: Ignoring <div> at index "+e+"; no ID found")}}tg('Initialized gallery (id="'+a+'")',b)};$a(Jj[_P],function(){return'<Gallery name="'+
this.da+'" />'});Jj[_P].dk=function(a){var b=null,c=a?this.no[a]:null;if(c){b=c.zh().cloneNode(true);b.id=null}return b};var se=function(a){var b=Da();if(!a){Na("Presentation: Unable to create presentation, id is null");return}var c=o(a);if(!c){Na('Presentation: Unable to create presentation, no element with id="'+a+'" found');return}this.t=a;this.bd=[];var d=zd("div","slide",c);for(var e=0;e<d[i];e++){if(!d[e].id){d[e].id=this.Gw(e)}var f=new Gb(d[e].id);this.bd.push(f);Oa("Presentation: Added "+this.zf(e)+" to the deck")}tg('Initialized presentation (id="'+a+'")',b)};$a(se[_P],function(){return'<Presentation id="'+
this.t+'" numSlides="'+this.bd[i]+'" />'});se[_P].v=function(){return this.t};se[_P].Kb=function(){return this.bd[i]};se[_P].zf=function(a){if(typeof a=="undefined"||a<0||a>=this.bd[i]){Na("Presentation.getSlide: Index "+a+" out of bounds");return null}return this.bd[a]};se[_P].Gw=function(a){if(typeof a=="undefined"){Na("Presentation.getSlideIdFromIndex: Unable to generate ID, index is null");return null}return this.t+"Slide"+a};se[_P].Uz=function(){for(var a=0;a<this.bd[i];a++){this.bd[a].Bs()}};var zm,Am;(function(){function a(h){var j=h.match(/[\d]+/g);Ab(j,3);return j.join(".")}var b=false,c="";if(kb[Hg]&&kb[Hg][i]){var d=kb[Hg]["Shockwave Flash"];if(d){b=true;if(d.description){c=a(d.description)}}if(kb[Hg]["Shockwave Flash 2.0"]){b=true;c="2.0.0.11"}}else if(kb[qd]&&kb[qd][i]){var e=kb[qd]["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){}}}}zm=b;Am=c})();var Bm=function(a){return hm(Am,a)>=0};(function(){var a="";function b(e){var f=e.match(/\d/g);return f.join(".")}if(ma&&kb[qd]&&kb[qd][i]>0){var c=kb[qd]["application/photo"];if(c){var d=c.description;if(d){a=b(d)}}}})();var Xh="hasPicasa";(function(){var a=false;if(s){$[Xh]=a;S.write('<!--[if gte Picasa 2]><script type="text/javascript">this.'+Xh+"=true;<\/script><![endif]--\>");a=$[Xh];$[Xh]=Ya}else if(kb[qd]&&kb[qd]["application/x-picasa-detect"]){a=true}})();var Ma=function(a,b,c,d){this.da=a;this.Si=b;this.Mm=c;this.Da=0;this.Cc=null;this.ne=false;this.ko=false;this.cb=[];this.Zk=null;this.Gl=null;this.Zp=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(xm){this.fi="windows"}else if(Hj){this.fi="macintosh"}else if(lg){this.fi="linux"}else{this.fi=""}},Fj,zq=function(){if(typeof Fj=="undefined"){Fj=kb.userAgent.toLowerCase().indexOf("firefox/1.0")>=0}return Fj};Ma[_P].Xs=function(){return this.Si+this.Mm};Ma[_P].um=function(){return this.Da};Ma[_P].jt=function(a,b,c,d,e,f,g,h,j){var l=!(!a);this.By=!l;this.xb=l;this.Id=c;this.rd=d;if(l){this.I=S.getElementById(a);H(this.I,"z-index","2")}else if(typeof this.I=="undefined"){var m=1,r=1;if(lg&&zq()){m=
c;r=q.max(d,0.75*c+150)}this.I=S.createElement("DIV");if(h){H(this.I,"position","absolute");H(this.I,"top",f+"px")}else{H(this.I,"position","absolute");H(this.I,"top",f+"px")}H(this.I,"left",e+"px");H(this.I,"width",m+"px");H(this.I,"height",r+"px");H(this.I,"overflow","hidden")}Qf(E(this.kv,this,l,b,g,j),0);Qf(function(){},0)};Ma[_P].kv=function(a,b,c,d){var e=lg?"9":"8",f,g="<p style='font-family:Arial; color:#666666; font-size:.8em; margin:0; padding:0'>"+Qh(s?this.Zp.IE_BAD_VERSION_HTML:this.Zp.BAD_VERSION_HTML,
e)+"</p>";if(Bm(e)){f=this.Ys(b,"100%","100%",c,false,d);K(this.I,f)}else{K(this.I,g);this.Qe(4)}if(!a){S[A].appendChild(this.I)}this.Cc=S.getElementById("flash_"+this.da);if(!s){if(this.Cc==null||this.Cc.src!=b){K(this.I,g);this.Qe(4)}}};Ma[_P].Ys=function(a,b,c,d,e,f){var g=this,h=function(W){g.zm(W)},j=function(W,fb){g.at(W,fb)};window["Recv_"+this.da]=h;window[this.da+"_DoFSCommand"]=j;if(s){var l=S.createElement("SCRIPT");l.event="FSCommand(command,args)";l.htmlFor="flash_"+this.da;l.text=this.da+
"_DoFSCommand(command, args)";S[A].appendChild(l)}var m=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>":
"<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=Qh("dbg=%s&ap=%s&nm=%s&cb=%s&os=%s&%s",ec(f?"true":"false"),ec(this.Si),ec(this.Mm),ec("Recv_"+this.da),ec(this.fi),d+"&"),x="",O;if(s){O=e?"<param name='wmode' value='transparent'/>":"<param name='wmode' value='window'/>"}else{O=
e?"wmode='transparent'":"wmode='window'"}return Qh(m,"flash_"+this.da,this.da,b,c,x,a,r,O)};Ma[_P].Ws=function(){if(this.By&&!this.ko){this.ko=true;H(this.I,"left","-10000px");H(this.I,"top","0px");H(this.I,"width",this.Id+"px");H(this.I,"height",this.rd+"px")}};Ma[_P].ft=function(a){if(ga(this.cb)){this.cb.push(function(b){b.ft(a)})}else{this.xb=a;if(!a){this.xm(-10000,0);H(this.I,"width",this.Id+"px");H(this.I,"height",this.rd+"px")}}};Ma[_P].tm=function(){if(ga(this.cb)){this.cb.push(function(a){a.tm()})}else{this.Cc.focus();
Qf(function(){this.Cc.focus()},0,this)}};Ma[_P].xm=function(a,b){if(ga(this.cb)){this.cb.push(function(c){c.xm(a,b)})}else{if(typeof a!="undefined"){H(this.I,"left",a+"px")}if(typeof b!="undefined"){H(this.I,"top",b+"px")}}};Ma[_P].Am=function(a,b,c){if(ga(this.cb)){this.cb.push(function(d){d.Am(a,b,c)})}else{this.Bm(a,b,c)}};Ma[_P].Bm=function(a,b,c){this.Cc.SetVariable("msg",fg([a,b,c]))};Ma[_P].at=function(a,b){if(a=="msg"||a=="FSCommand:msg"){this.zm(b)}};Ma[_P].dt=function(a){this.Zk=a};Ma[_P].zm=
function(a){var b=$p(md(a)),c=b[0],d=b[1],e=b[2];if(d==this.Si+"."){if(e[0]=="f"){this.tm();return}else if(e[0]=="b"){this.Cc.blur();return}else if(e[0]=="loaded"){this.ym();return}else if(e[0]=="pong"){this.Qe(2);this.Ws();this.ct();return}}if(this.Zk){this.Zk(c,d,e)}};Ma[_P].et=function(a){this.Gl=a};Ma[_P].Qe=function(a){this.Da=a;if(this.Gl){this.Gl(this)}};Ma[_P].ym=function(){if(this.Zs()){this.bt()}else{Qf(this.ym,2000,this)}};Ma[_P].Zs=function(){if(this.ne){return true}var a=this.Cc;if(!a){return false}this.ne=
typeof a[De]!="undefined"&&a[De]==4||typeof a.PercentLoaded!="undefined"&&a.PercentLoaded()==100;return this.ne};Ma[_P].bt=function(){if(this.um()==2){this.Qe(3)}else{this.Qe(1);var a=this.Xs();this.Bm(a,a,["ping"])}};Ma[_P].ct=function(){if(ga(this.cb)){var a=this.cb;delete this.cb;for(var b=0;b<a[i];++b){a[b](this)}}};var Eb=function(a,b,c,d,e){var f=this;f.Bb=new fa(a+"client");f.Di=new fa(a+"transport?v=1");f.Di.tb("silent","true");var g=new fa(a+"transport2?v=1");f.Di.tb("host",g.toString());f.me=new Date-0;var h="lcid="+ec(f.me);for(var j in c){h+="&"+j+"="+ec(c[j])}f.Bb.tb("sessionParams",h);f.Bb.tb("sessionType","jsapi");f.Bb.tb("host",window[yb]);var l=b.split("&");f.Bb.tb("session",l[0]);for(var m=1;m<l[i];++m){var r=l[m].split("=");f.Bb.tb(md(r[0]),md(r[1]));if(r[0]=="u"){f.Di.tb("u",md(r[1]))}}if(f.Bb.Ko().substring(0,
3)=="/a/"){f.Bb.tb("nav","true")}if(e){f.Bb.tb("css",e)}f.zy=0;f.Mp=-1;f.Jp=-1;f.M=d;f.zb={};f.oj=null;f.hj=null;var x=this.Di.toString();this.fg=new Ma("api_"+this.me,this.me,"t");this.fg.dt(E(this.bz,this));this.fg.et(E(this.rz,this));this.fg.jt(null,x,1,1,0,0,"ap="+this.me,false,false)};Eb[_P].Qx=function(a){this.hj=a;this.Yp()};Eb[_P].sendMessage=function(a,b){var c=this.zy++;this.vt(c,b);this.fg.Am(this.me+"s",this.me+"s",["mx",a,"s",c])};Eb[_P].vt=function(a,b){var c=new Date;for(var d in this.zb){if(c-
this.zb[d].LB>=600){delete this.zb[d]}}if(b){var e={};e.LB=c;e.gu=b;this.zb[a]=e}};Eb[_P].Oz=function(a){var b=this.zb[a];delete this.zb[a];return b};Eb[_P].rz=function(a){var b=this.fg.um();if(b==4){this.Wb(2,3)}};Eb[_P].bz=function(a,b,c){if(c[0]!="connect-dest"&&c[0]!="connect-ack"){this.ux(c)}};Eb[_P].ux=function(a){switch(a[0]){case "cookie-hash":this.oj=a[1];this.Yp();break;case "connect-state":switch(a[1]){case "searching":this.Wb(0);break;case "connecting":this.Wb(0);break;case "open":this.Wb(0);
break;case "close":this.Wb(0);break}break;case "session-state":switch(a[1]){case "open":this.Wb(0);break;case "close":this.Wb(2,2);break}break;case "js":this.Wb(1);break;case "je":this.Wb(2,1);break;case "rp":this.cz(a[1],a[2]=="a");break;case "mx":this.Zy(a[1],a[2],a[3],a[4]);break;case "m":this.Ky(a[1]);break;case "rc":this.ez(a[1]);break;default:break}};Eb[_P].Wb=function(a,b){this.Jp=b||-1;if(this.M&&this.Mp!=a){this.Mp=a;if(this.M.kz){this.M.kz(a)}else{this.M.lz(a)}}};Eb[_P].Yp=function(){if(!this.Ue&&
this.oj!=null&&this.hj!=null){this.Bb.tb("hash",this.oj);this.Ue=S.createElement("IFRAME");xa(this.Ue[k],"100%");na(this.Ue[k],"100%");this.Ue.src=this.Bb.toString();this.hj.appendChild(this.Ue)}};Eb[_P].Co=function(){return this.Jp};Eb[_P].cz=function(a,b){if(this.M){if(b){if(this.M.Ty){this.M.Ty(a)}else{this.M.Uy(a)}}else{if(this.M.Vy){this.M.Vy(a)}else{this.M.Wy(a)}}}};Eb[_P].Zy=function(a,b,c,d){if(c=="r"){if(this.M.Xy){this.M.Xy(a,b)}else{this.M.Yy(a,b)}}else if(c=="e"){var e=this.Oz(d);if(e){e.gu.onError()}}};
Eb[_P].Ky=function(a){if(this.M.Jy){this.M.Jy(a)}};Eb[_P].ez=function(a){if(this.M.dz){this.M.dz(a)}};var Fd=function(a){this.t=a||"Menu";this.xb=false;var b=Qe("table",{className:"menu_",id:this.t});S[A].appendChild(b);Ng(b,0);b.cellSpacing=0};Fd[_P].th=function(){var a=S.getElementById(this.t);if(!a){Na('Menu.getMenu: No menu with id="'+this.t+'" found');return null}return a};Fd[_P].ke=function(){return this.xb};Fd[_P].og=function(a,b,c){var d=this.th(),e=d.insertRow(d[zb][i]);Bb(e,b?this.Ou(b):Rb);e.oncontextmenu=Rb;la(e,b?"menuItem_":"menuItemDisabled_");e.vAlign="middle";var f=e.insertCell(e[tb][i]);
K(f,a);la(f,b?"menuLabel_":"menuLabelDisabled_");f.align="left";var g=e.insertCell(e[tb][i]);K(g,c||"&nbsp;");la(g,"menuHint_");g.align="right"};Fd[_P].Ri=function(){var a=this.th(),b=a.insertRow(a[zb][i]);Bb(b,Rb);b.oncontextmenu=Rb;var c=b.insertCell(b[tb][i]);la(c,"menuSeparator_");c.colSpan=2};Fd[_P].Ou=function(a){var b=this;return function(c){b.kc();a(c);return Rb(c)}};Fd[_P].sc=function(a,b){var c=this.th(),d=window.innerWidth||S[od][Ub]||S[A][Ub],e=window[vf]||S[od][Kb]||S[A][Kb];a=a<d-c[Ub]-
4?a:a-c[Ub]-4;b=b<e-c[Kb]-4?b:b-c[Kb]-4;Th(c,a<4?4:a,b<4?4:b);if(this.xb){return false}else{this.xb=true;return true}};Fd[_P].kc=function(){var a=this.th();Th(a,-1000,-1000);if(!this.xb){return false}else{this.xb=false;return true}};var M=function(a,b){P.call(this);a=a||"Presentation";this.Cv=pg("fs");if(b){this.ma=new D;this.ma.vc(b)}else{this.ma=new se(a)}this.Rg=null;this.Sa=Vq()||0;this.Ka=null;this.Ct=true;this.bg=new Jj("themes");if(b){this.ma.sb(o(a||"Presentation"))}this.ie()};M.a(P);M[_P].ie=function(){this.qp();this.pp();this.xk();this.Vi();this.Rm();this.ta();this.Bl()};M[_P].qp=function(){if(s){if(o("slideshow_toolbar_controls")){Sa(o("slideshow_toolbar_controls"),"slideshow_toolbar_bg_iehack")}if(o("toolbar_bg")){X(o("toolbar_bg"),
false)}}};M[_P].Vi=function(){window.onresize=y?Qb(this,this.ta):nn(Qb(this,this.ta),100);S.onkeydown=Qb(this,this.Yo);S.onkeyup=Rb;Bb(S,Qb(this,this.Eh));S.oncontextmenu=Qb(this,this.Ro);window.onbeforeunload=Qb(this,this.Ih);window.onunload=Qb(this,this.Ih);if(!y){S.onselectstart=Rb}};M[_P].Rm=function(){var a=this.gk();if(a){for(var b=0,c=this.ma.Kb();b<c;b++){var d=M_SLIDE_INDEX.replace(/%1/g,b+1).replace(/%2/g,c).replace(/%3/g,this.ma.zf(b).fk(30));a.options[b]=new Option(d,b)}a.onchange=Hb(this,
this.Yw)}var e=this.Oo();if(e){e.onmousedown=Hb(this,this.rk)}var f=this.No();if(f){f.onmousedown=Hb(this,this.Kh)}var g=this.Sw();if(g){Bb(g,Hb(this,this.Cf))}};M[_P].Ih=function(a){};M[_P].pp=function(){this.Kc=new xb;this.va=new gf(this.ma,this.Kc);this.Kc.sb(o("primaryViewSlide"));this.Kc.xl(this.aj());this.va.Be(this.Sa,0)};M[_P].xk=function(){if(!this.Ka){this.Ka=new Fd("Menu")}this.Ka.og(M_NEXT,Hb(this,this.Kh),M_NEXT_HINT);this.Ka.og(M_PREV,Hb(this,this.rk),M_PREV_HINT);this.Ka.Ri();this.Ka.og(M_TOGGLE_TOOLBAR,
Hb(this,this.us),"~");this.Ka.Ri();this.Ka.og(M_EXIT_PRESENTATION,Hb(this,this.Ad),"Esc, Q");this.Ka.kc()};M[_P].eB=function(a,b){if(!this.Ka){return true}return this.Ka.sc(a,b)};M[_P].Oh=function(){if(!this.Ka){return false}return this.Ka.kc()};M[_P].Ad=function(){if(this.Cv){window.close()}window.history.back()};Td(M[_P],function(){this.ma.Uz();this.Ch(0)});M[_P].ta=function(a){var b=(new Date).getTime(),c=this.Od(),d=this.aj(c);cn(o("primaryView"),c);cn(o("primaryViewSlide"),d);var e=q.max(0,(c[z]-
d[z])/2);o("primaryViewSlide")[k].marginTop=e+"px";this.Kc.Wc();tg("Slideshow.handleResize: View(s) resized",b);return true};M[_P].Eh=function(a){a=a||window[ze];var b=a[aa]||a[Qd];if(y&&!(!a)&&typeof a.button!="undefined"&&a[rf]==2){return this.Ro(a)}if(this.aa()&&b&&gd(this.aa(),b)){return true}if(this.Oh()){return Rb(a)}else{while(b&&b[ea]&&b!=b[ea][A]){if(b[sa]&&b[sa].toLowerCase()=="a"&&b[Be]){Ic(b,"_blank");return true}b=b[n]}}this.Kh();return Rb(a)};M[_P].Rk=function(){return this.ma.Kb()>
0};M[_P].Kh=function(){if(this.Rk()){this.Bt();this.bf()}};M[_P].rk=function(){if(this.Rk()){this.$z();this.bf()}};M[_P].Ro=function(a){a=a||window[ze];var b=a[aa]||a[Qd];if(b&&b[sa]=="A"){this.Oh();return true}this.eB(a[lb],a[mb]);return Rb(a)};M[_P].Yo=function(a){var b,c;if(a){b=a;c=b.which}else if(window[ze]){b=window[ze];c=b[Za]}if(b[xc]||b[qf]||b[ad]){return true}switch(c){case 27:if(!this.Oh()){this.Ad()}break;case 81:this.Ad();break;case 10:case 13:case 32:case 39:case 40:case 78:this.Kh();
break;case 8:case 37:case 38:case 46:case 80:this.rk();break;case 33:this.Uq();this.gc().ug();this.bf();break;case 34:this.iq();this.gc().ug();this.bf();break;case 192:this.Oh();this.us();break;default:return true}return Rb(a)};M[_P].bf=function(){Oa("Dispatching event");try{var a=new Jm("user_navigation",this,this.Sa,this.gc().fc());this.dispatchEvent(a)}catch(b){Na("Error dispatching event: "+b)}};M[_P].gc=function(){return this.ma.zf(this.Sa)};M[_P].Bt=function(){if(this.ma.Kb()<1){this.hf()}else if(!this.gc().Nd()){this.iq()}};
M[_P].$z=function(){if(this.ma.Kb()>0&&!this.gc().Le()){this.Uq()}};M[_P].iq=function(){if(this.Sa<this.ma.Kb()-1){this.Ch(this.Sa+1)}else{this.hf()}};M[_P].Uq=function(){if(this.Sa>0){this.Ch(this.Sa-1)}};M[_P].Me=function(){var a=this.gk();if(a){a.selectedIndex=this.va.ib();Oa("Updated navigator index to "+a.selectedIndex)}};M[_P].Ch=function(a,b){Oa("goToSlide: Someone requested slide "+a+"; current slide is "+this.Sa);this.Sa=a;this.va.Be(this.Sa,this.gc().fc());this.Me()};M[_P].hf=function(){if(nf(M_END_OF_PRESENTATION)){this.Ad()}};
M[_P].aa=function(){return S.getElementById("Toolbar")};M[_P].gk=function(){return S.getElementById("ToolbarNav")};M[_P].Oo=function(){return S.getElementById("ToolbarPrev")};M[_P].No=function(){return S.getElementById("ToolbarNext")};M[_P].Sw=function(){return S.getElementById("ToolbarClose")};M[_P].Cf=function(){var a=this.aa();if(a){Tb(a,false);this.ta()}};M[_P].Bl=function(){var a=this.aa();if(a){Tb(a,true);this.ta()}};M[_P].Fp=function(){var a=this.aa();return!Cb(a,"invisible_")};M[_P].us=function(){var a=
this.aa();if(a){var b=this.Fp();if(b){this.Cf()}else{this.Bl()}}};M[_P].Yw=function(){if(this.Rk()){var a=this.gk();if(a){var b=ka(a[wa],10);this.Ch(Id(b)?0:b);this.gc().ug()}this.bf()}};M[_P].De=function(a){var b=(new Date).getTime();if(a==this.Rg){return}var c=S.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.bg.dk(a);if(f){this.Kc.mi(f);Sa(o("primaryView"),"goog-presently-theme-"+
a);this.Kc.Tr("goog-presently-theme-"+a);this.Rg=a}else{Na('Editor.applyTheme: Theme "'+a+'" cannot be applied')}};M[_P].Od=function(){var a=rg(S[A]),b=a[z];if(this.Fp()){b-=rg(this.aa())[z]}return new db(q.max(0,a[B]),q.max(0,b))};M[_P].aj=function(a){a=a||this.Od();var b=Im,c=q.min(a[B]/b[B],a[z]/b[z]);return new db(q.max(0,b[B]*c),q.max(0,b[z]*c))};var Lq=function(a,b,c){var d=new M(c,a);d.De(b);return d},Jm=function(a,b,c,d){Ta.call(this,a,b);this.Ge=c;this.wg=d};Jm.a(Ta);var gf=function(a,b){this.Tq=
a;this.Sm=b;this.Ge=0;this.wg=0};gf[_P].ib=function(){return this.Ge};gf[_P].fc=function(){return this.wg};gf[_P].Be=function(a,b){this.Ge=ka(a,10);this.wg=ka(b,10);this.zB()};gf[_P].zB=function(){if(this.Sm){var a=null;if(this.Tq.Kb()>this.Ge){a=this.Tq.zf(this.Ge);var b=a.e?a.e():a.zh();this.Sm.cl(b.cloneNode(true))}}};Ob("_initSlideshow",Lq);var p=function(a,b,c,d,e,f,g,h){this.za=false;this.ua=false;this.fB=false;this.jB=false;this.li=new Dc;this.al=0;this.wa=null;this.RB=false;this.ab=null;this.Dd=true;this.Dn=hf.vm;this.Uc=-1;this.$g=top!=self;if(this.$g&&this.pd()){U(this.pd())}if(e&&!this.$g){this.bm=c;this.Ak=h;this.gq=g;if(this.dp()){this.wd=new Eb(d,e,f,this)}}M.call(this,b,a)},Km;p.a(M);var dc=new uh("presently.TeamSlideshow");p[_P].ie=function(a){this.Lx();this.Nt();this.xk();this.pp();this.Jx();w(this,"user_navigation",Qb(this,
this.sz));var b=this.yf();if(b){w(b,hb,this.tB,false,this);w(b,We,this.iz,false,this);w(b,ie,this.hz,false,this)}this.bb();if(this.wd){if(s&&!Uc("7")){dc.Q("Starting IE resize workaround.");window.setInterval(E(this.Xz,this),200)}this.Ix()}this.Gx();this.ta();if(!this.$g){this.gB()}};var Lm=lg?"9":"8";p[_P].dp=function(){return zm&&Bm(Lm)};p[_P].Xz=function(){var a=Te(window);if(!Xl(a,this.IB)){this.IB=a;this.ta();if(this.Dd){var b=this.yh();Tb(b,false);Tb(b,true)}}};p[_P].Lx=function(){this.TA("slideshow_toolbar_bg");
var a=this.aa();if(a){w(a,We,this.qz,false,this);w(a,ie,this.pz,false,this)}};p[_P].Ix=function(){this.wd.Qx(o(this.gq))};p[_P].pd=function(){return o("sidebar")};p[_P].yf=function(){return o("sidebarHandle")};p[_P].yh=function(){return o("sidebarContent")};p[_P].pw=function(){return o(this.gq)};p[_P].sr=function(){var a=this.pd();if(!a){return}var b=rg(S[A])[z],c=tc(this.yf())[B];if(this.Dd){c+=tc(this.yh())[B]}dn(a,c);var d=tc(o("statusPane")),e=this.pw();if(this.hq==null){var f=ef(e,"padding"),
g=sb(tc(e)[z]);H(e,"padding","0px");this.hq=g-sb(tc(e)[z]);H(e,"padding",f)}H(e,"height",q.max(0,b-d[z]-this.hq)+"px");if(s&&this.Dd){var h=this.yh();Tb(h,false);Tb(h,true)}};p[_P].iB=function(a){if(this.Dd==a){return}var b=this.yf(),c=this.yh();this.Dd=a;Uf(b,"slideshow-sidebar-handle");if(!a){Sa(b,"slideshow-sidebar-handle-collapsed")}Tb(c,a);this.ta()};p[_P].tB=function(){this.iB(!this.Dd)};p[_P].iz=function(a){Sa(this.yf(),"slideshow-sidebar-handle-hover")};p[_P].hz=function(a){Wb(this.yf(),"slideshow-sidebar-handle-hover")};
p[_P].qz=function(a){Sa(this.aa(),"slideshow-toolbar-container-hover");var b=o("ToolbarNavText");Wb(b,"slideshow-toolbar-nav-text-fg");Sa(b,"slideshow-toolbar-nav-text-fg-hover")};p[_P].pz=function(a){Wb(this.aa(),"slideshow-toolbar-container-hover");var b=o("ToolbarNavText");Wb(b,"slideshow-toolbar-nav-text-fg-hover");Sa(b,"slideshow-toolbar-nav-text-fg")};p[_P].Fq=function(a){var b=a[Zc];if(b){Uf(b,"slideshow-toolbar-nav-arrow-hover")}};p[_P].Eq=function(a){var b=a[Zc];if(b){Uf(b,"slideshow-toolbar-nav-arrow")}};
p[_P].xk=function(){};p[_P].Jx=function(){var a=o("secondaryViewSlide");if(!a){return}this.Oc=new xb;this.Cd=new gf(this.ma,this.Oc);this.Oc.sb(a);this.Oc.Wc();this.Cd.Be(this.Sa,0)};p[_P].TA=function(a){var b,c=o("toolbar_bg");if(s){a+="_iehack";b=o("slideshow_toolbar_controls");Uf(b,"slideshow_toolbar_controls "+a);X(c,false)}else{Uf(c,a)}};p[_P].Gx=function(){var a=o("floatingMessageContainer");if(s){var b=o("floatingMessageLayout"),c=o("floatingMessageBackground");if(b){Sa(b,"slideshow_floating_message_bg_iehack")}if(c){X(c,
false)}}};p[_P].as=function(a){var b=o("floatingMessageContainer"),c=o("floatingMessageContent"),d=o("main");rc(c,a);X(b,true);var e=$m(d);e-=bn(b);nb(b[k],e/2+"px");$.setTimeout(this.uv.G(this),2000)};p[_P].uv=function(){var a=o("floatingMessageContainer");if(a){var b=new gj(a,3000);b.play()}};p[_P].gB=function(){if(Hj){return}if(s&&!Uc("7")){return}this.as(M_FULL_SCREEN_HINT)};p[_P].sz=function(a){if(this.ua){this.ua=false;this.bb()}else{this.Hs()}if(this.za){this.tg(a.Ge,a.wg)}};p[_P].Ar=function(a){if(this.wd){this.wd.sendMessage(a)}dc.ec("Broadcasting command"+
a.command)};p[_P].tg=function(a,b){this.Ar({command:"SLIDE_CHANGE",slide:a,build:b})};p[_P].bb=function(){this.GB();this.DB();this.Is()};p[_P].hf=function(){if(!this.$g){p.h.hf.call(this)}};p[_P].DB=function(){var a=this.Ov(),b=this.Nv(),c;if(a!=b){X(o(b),false);Wb(o(a),"nodisplay_");if(a==hf.Li){K(o(a),Yb(M_INSTALL_FLASH_FOR_MORE_FEATURES,{flash_version:Lm,flash_install_link:"http://www.google.com/url?sa=D&q=http://www.macromedia.com/go/getflashplayer"}))}c=o(hf.Dm);X(c,a==hf.Ki);if(a==hf.Ki){Wb(c,
"nodisplay_")}X(o(a),true);this.Dn=a;if(s&&!Uc("7")){this.Oc.Wc()}}this.sr()};p[_P].Nv=function(){return this.Dn};p[_P].Ov=function(){if(Km){return Km}var a=hf;if(!this.dp()){return a.Li}if(this.Uc==-1||this.Uc==0){return a.vm}if(this.Uc==2){if(this.wd&&this.wd.Co()==3){return a.Li}return a.$s}if(this.Uc!=1){throw Error("Unexpected api state: "+this.Uc);}if(this.wf()==0){return this.Ak?a.Ss:a.gt}if(!this.Ak){if(this.wa==null){return a.it}return this.ua?a.ht:a.Dm}if(this.za){return a.Vs}if(this.wa==
null){return a.Us}return this.ua?a.Ts:a.Ki};var hf={Li:"noFlash",vm:"joiningState",$s:"joinFailedState",gt:"viewerAloneState",Ss:"editorAloneState",Us:"editorNoOnePresentingState",Ki:"editorNotFollowingState",Ts:"editorFollowingState",Vs:"editorPresentingState",ht:"viewerFollowingState",Dm:"viewerNotFollowingState",it:"viewerNoOnePresentingState"};p[_P].PA=function(a){this.jB=a;var b=o("buzzStartPresentingBtn");if(b){X(b,a)}};p[_P].OA=function(a){this.fB=a;var b=o("buzzFollowingPresenter");if(b){X(b,
a)}};p[_P].GB=function(){this.Me();this.Hs();this.Es()};p[_P].Is=function(){if(!this.Oc){return}var a=o("presentersSlideNumber");if(a){rc(a,Yb(M_PRESENTERS_VIEW_SLIDE_NO,{slide_number:this.Cd.ib()+1}))}this.Oc.Wc()};p[_P].Hs=function(){var a=o("ToolbarPrevContainer"),b=o("ToolbarPrev"),c=o("ToolbarPrevDisabled"),d=this.Ct,e=this.ma.Kb();if(a){var f=this.va.ib()!=0&&e>0;X(b,f);X(c,!f);X(a,d)}var g=o("ToolbarNextContainer"),h=o("ToolbarNext"),j=o("ToolbarNextDisabled");if(g){var l=this.va.ib()+1<e;
X(h,l);X(j,!l);X(g,d)}};p[_P].Me=function(){var a=o("ToolbarNavTextContent");if(a){var b=this.ma.Kb(),c=q.min(b,this.va.ib()+1);rc(a,c+"/"+b)}};p[_P].Es=function(){var a=this.cj();this.PA(a);this.OA(this.ua);var b=this.yg(),c=this.bj(),d=this.aa(),e=o("buzzToolbarStatus"),f=o("buzzToolbarParticipantStatus"),g=o("buzzToolbarParticipantsTotal"),h=o("buzzToolbarTakeOverPresenting"),j=o("buzzFollowPresenterBtn"),l=o("buzzStartPresentingButtonLabel");if(l){rc(l,Qh(M_START_PRESENTING,this.wf()))}if(e){if(this.za){rc(e,
M_PRESENTING)}else if(this.ua){rc(e,M_FOLLOWING_PRESENTER)}else{rc(e,"")}}if(g){rc(g,this.wf())}if(f){X(f,this.za)}if(h){X(h,b&&!this.za&&!this.cj())}if(j){X(j,!b&&c)}};p[_P].cj=function(){return this.yg()&&!this.za&&!this.bj()};p[_P].yg=function(){if(this.Ak&&this.wf()>0){return true}else{this.za=false;return false}};p[_P].bj=function(){if(this.wa!=null&&!this.za&&this.wf()>0){return true}else{this.ua=false}return false};p[_P].wf=function(){return this.al};p[_P].Qr=function(a){var b=this.al;this.al=
a;dc.ec("ViewerCount: "+a);if(b!=a){if(a<2){this.bb()}else{this.Es()}if(b==0&&!this.Dd){this.as(M_SOMEONE_HAS_JOINED_THE_PRESENTATION)}}};p[_P].JA=function(a,b,c){var d=b||0,e=c||0,f=this.wa!=a;this.wa=a;if(this.ua){this.va.Be(d,e)}this.Cd.Be(d,e);this.Me();this.Is();if(this.za&&this.wa!=this.bm){dc.Q(this.wa+" is now presenting.");this.za=false}if(f){this.bb()}};p[_P].Nt=function(){this.Mt();this.Lt();this.Jt();this.Kt();this.Vi()};p[_P].Vi=function(){window.onresize=y?Qb(this,this.ta):nn(Qb(this,
this.ta),100);S.onkeydown=Qb(this,this.Yo);S.onkeyup=Rb;w(S,hb,this.Eh,false,this);var a=o("main");if(a){if(!y){a.onselectstart=Rb}}window.onbeforeunload=Qb(this,this.Ih);window.onunload=Qb(this,this.Ih)};p[_P].Mt=function(){p.h.Rm.call(this);var a=this.Oo();if(a){w(a,We,this.Fq,false,this);w(a,ie,this.Eq,false,this)}var b=this.No();if(b){w(b,We,this.Fq,false,this);w(b,ie,this.Eq,false,this)}var c=o("buzzToolbarTakeOverPresenting");if(c){Bb(c,Hb(this,this.qk))}var d=o("buzzStartPresentingBtn");if(d){Bb(d,
Hb(this,this.ap))}var e=o("buzzStopPresenting");if(e){Bb(e,Hb(this,this.bp))}var f=o("buzzFollowPresenterBtn");if(f){Bb(f,Hb(this,this.Jh))}var g=o("buzzStopFollowing");if(g){Bb(g,Hb(this,this.Bx))}var h=o("ToolbarHide");if(h){Bb(h,Hb(this,this.Cf))}};p[_P].Lt=function(){var a=this.pd(),b=o("inviteUrl");if(b){w(b,[hb,"focus"],function(g){g[Zc].focus();g[Zc].select()})}var c=o("controlPresentationButton");if(c){w(c,hb,this.ap,false,this)}var d=o("followPresenterAction");if(d){w(d,hb,this.Jh,false,
this)}var e=o("notFollowingTakeControlAction");if(e){w(e,hb,this.qk,false,this)}e=o("followingTakeControlAction");if(e){w(e,hb,this.qk,false,this)}var f=o("stopPresentingAction");if(f){w(f,hb,this.bp,false,this)}};p[_P].Cf=function(){if(this.ab){this.ab.stop()}var a=this.aa();if(!this.Sl){this.Sl=tc(a)[z]}this.ab=new Eh(a,this.Sl,0,1000,Rl);w(this.ab,"end",p.h.Cf.G(this));w(this.ab,"end",p[_P].vs.G(this));this.ab.play();return false};p[_P].Bl=function(){if(this.ab){this.ab.stop()}var a=this.aa();
Tb(a,true);this.ab=new Eh(a,0,this.Sl,1000,Rl);w(this.ab,"end",p[_P].vs.G(this));this.ab.play();return false};p[_P].vs=function(){this.ab=null};p[_P].Jt=function(){var a=o("primaryViewSlide");if(a){Bb(a,Qb(this,this.Ax))}};p[_P].Kt=function(){var a=o("secondaryViewFollowPresenter");if(a){Bb(a,Hb(this,this.Jh))}var b=o("secondaryViewSlide");if(b){w(b,hb,this.Jh,false,this)}};p[_P].Ax=function(a){p.h.Eh.call(this,a)};p[_P].Eh=function(a){a=a||window[ze];var b=a[aa]||a[Qd];if(b&&this.aa()&&gd(this.aa(),
b)||this.pd()&&gd(this.pd(),b)){return true}while(b&&b[ea]&&b!=b[ea][A]){if(b[sa]&&b[sa].toLowerCase()=="a"&&b[Be]){return true}b=b[n]}return Rb(a)};p[_P].Jh=function(a){if(this.bj()){this.ua=true}if(a){a.preventDefault()}this.bb();this.Sa=this.Cd.ib();this.gc().Ym(this.Cd.fc());this.va.Be(this.Cd.ib(),this.Cd.fc())};p[_P].Bx=function(){if(this.ua){this.ua=false;this.bb()}};p[_P].ap=function(){if(this.cj()){this.za=true;this.wa=this.bm;this.tg(this.va.ib(),this.va.fc())}this.bb()};p[_P].bp=function(){if(this.yg()){this.Ar(Mq)}this.za=
false;this.ua=false;this.wa=null;this.bb()};p[_P].qk=function(){if(this.yg()){this.za=true;this.ua=false;this.wa=this.bm;this.tg(this.va.ib(),this.va.fc())}this.bb()};p[_P].De=function(a){var b=(new Date).getTime();if(a==this.Rg){return}var c=[this.Kc];if(this.Oc){c.push(this.Oc)}var d;for(var e=0;e<c[i];e++){var f=this.bg.dk(a);if(f){d=c[e];d.mi(f);Sa(o("primaryView"),"goog-presently-theme-"+a);d.Tr("goog-presently-theme-"+a);this.Rg=a}else{dc.Ma('Theme "'+a+'" cannot be applied.')}}};p[_P].ta=function(){this.sr();
p.h.ta.call(this);var a=this.Od();Tc(o("main"),a)};p[_P].Od=function(){var a=rg(S[A]),b=a[B],c=this.pd();if(c){b-=(new db(bn(c),pr(c)))[B]}return new db(q.max(0,b),q.max(0,a[z]))};p[_P].lz=function(a){dc.ec("onStateChange - "+a);if(a!=this.Uc){this.Uc=a;if(a==2){dc.Ls("got error from api - "+this.wd.Co())}this.bb()}};p[_P].Uy=function(a){dc.ec("onJoin_ - "+a);this.li.add(a);this.Qr(q.max(0,this.li.Wa()-1));if(this.za){this.tg(this.va.ib(),this.va.fc())}};p[_P].Wy=function(a){dc.ec("onLeave_ - "+a);
this.li.remove(a);this.Qr(q.max(0,this.li.Wa()-1));if(this.wa==a){this.wa=null;this.ua=false;this.bb()}};p[_P].Yy=function(a,b){dc.ec("Msg received from: "+a+", command: "+b.command);if(b.command){this.Zw(a,b)}};p[_P].Zw=function(a,b){if(!b||!b.command){dc.Ma("Message is not a command!");return}switch(b.command){case "SLIDE_CHANGE":dc.ec("Handling slide_change command: "+b.slide+"/"+b.build);this.JA(a,b.slide,b.build);break;case "START_FOLLOWING":break;case "STOP_FOLLOWING":break;case "PRESENTER_STOPPED":this.yx(a);
break;default:dc.Ma("Unrecognized commmand: "+b.command)}};p[_P].yx=function(a){if(this.wa==a){this.wa=null;this.ua=false;this.bb()}};var Mq={command:"PRESENTER_STOPPED"},Nq=function(a,b,c,d,e,f,g,h){var j=null;if(ma&&mg){j=new uc(a)}else{j=new p(a,null,f,c,d,e,g,h)}j.De(b);return j};Ob("_initTeamSlideshow",Nq);var uc=function(a){M.call(this,null,a);this.Me();$.setInterval(E(this.ta,this),100);this.ta();this.he=null;this.ge=null};uc.a(M);var Eq=new db(480,269),Fq=new db(320,417),Gq=function(){window.scrollTo(0,1)};uc[_P].qp=function(){w(this.aa(),hb,this.kk,false,this);this.Al();this.he=$.setTimeout(E(this.ho,this),5000)};uc[_P].Me=function(){var a=o("ToolbarNavTextContent");if(a){var b=this.ma.Kb(),c=q.min(b,this.va.ib()+1);rc(a,c+"/"+b)}};uc[_P].hf=function(){if(nf(M_END_OF_PRESENTATION_IPHONE)){this.Ad()}};
uc[_P].Ad=function(){window.location=Fr("m")};uc[_P].ta=function(){var a=this.Od();if(!this.Sd||this.Sd[B]!=a[B]){this.Sd=a;var b=this.aa(),c=o("primaryView"),d=o("primaryViewSlide");Tc(b,this.Sd);Tc(c,this.Sd);var e=this.aj(this.Sd);Tc(d,e);var f=q.max(0,(this.Sd[z]-e[z])/2-15);d[k].marginTop=f+"px";this.Kc.Wc();$.setTimeout(function(){Gq()},50)}};uc[_P].kk=function(a){var b=o("slideshow_toolbar_controls");if(b[k][Bg]=="none"){this.Al();return}if(a){var c=a[aa].id;if(c=="ToolbarNext"||c=="ToolbarPrev"){if(this.he){$.clearTimeout(this.he)}if(this.ge){this.ge.stop()}this.he=
$.setTimeout(E(this.ho,this),5000);this.Al();return}}this.hp()};uc[_P].Od=function(){var a=$.innerWidth<$[vf];return a?Fq:Eq};uc[_P].Al=function(){var a=o("slideshow_toolbar_controls");if(a){ff(a,0.9);X(a,true)}};uc[_P].hp=function(){var a=o("slideshow_toolbar_controls");if(a){X(a,false);this.ge=null;if(this.he){$.clearTimeout(this.he)}}};uc[_P].ho=function(){var a=o("slideshow_toolbar_controls");if(a){this.ge=new gj(a,3000);w(this.ge,"end",E(this.hp,this),false,this);this.ge.play()}};
 })()
