/* Copyright 2007 Google. All Rights Reserved. */ (function() { 
var jc=encodeURIComponent,Na=Number,kb=navigator,Ag=Boolean,bb=undefined,ka=parseInt,wb=parseFloat,va=String,wf=confirm,vf=Function,S=document,rd=decodeURIComponent,Od=isNaN,p=Math;function Yg(a,b){return a.stop=b}function eb(a,b){return a.toString=b}function Eb(a,b){return a.length=b}function Yd(a,b){return a.position=b}function If(a,b){return a.relatedTarget=b}function ma(a,b){return a.className=b}function ia(a,b){return a.width=b}function Tg(a,b){return a.data=b}function Vg(a,b){return a.opacity=
b}function M(a,b){return a.innerHTML=b}function hd(a,b){return a.value=b}function li(a,b){return a.fontSize=b}function Ie(a,b){return a.color=b}function wd(a,b){return a.currentTarget=b}function nb(a,b){return a.left=b}function Qc(a,b){return a.target=b}function Kf(a,b){return a.screenX=b}function Lf(a,b){return a.screenY=b}function Wg(a,b){return a.remove=b}function Xg(a,b){return a.start=b}function Gf(a,b){return a.cssText=b}function Hf(a,b){return a.keyCode=b}function Jf(a,b){return a.returnValue=
b}function Ug(a,b){return a.href=b}function ib(a,b){return a.type=b}function qc(a,b){return a.clear=b}function xd(a,b){return a.setPosition=b}function Zd(a,b){return a.reset=b}function Qg(a,b){return a.cellPadding=b}function Fb(a,b){return a.onclick=b}function ta(a,b){return a.display=b}function pa(a,b){return a.height=b}function Rg(a,b){return a.clientX=b}function Sg(a,b){return a.clientY=b}function Zg(a,b){return a.visibility=b}var Ng="scrollTop",Ec="previousSibling",yf="altKey",Ig="innerText",
Cf="hash",xf="activeElement",Td="outerHTML",i="length",Kg="plugins",Hg="htmlText",_P="prototype",Pg="sourceIndex",Ob="className",A="width",Xd="text",ac="clientWidth",Vd="slice",Rd="field",Og="selection",O="nodeType",Ha="startContainer",fa="document",Bf="data",Dc="ctrlKey",Y="content",Jg="opacity",cb="innerHTML",vd="mimeTypes",He="offsetWidth",bk="offsetParent",Wd="srcElement",Be="collapsed",wa="value",Cb="location",Fe="fontSize",zf="button",fd="metaKey",Eg="designMode",ii="offsetLeft",Cc="color",
Bg="anchorNode",k="style",Af="capture",Sd="focusNode",na="nodeName",kc="currentTarget",B="body",Ca="left",da="ownerDocument",$="target",oc="screenX",pc="screenY",ed="lastChild",Df="innerHeight",Ef="readyState",Dg="charCode",xb="cells",td="cssText",Gg="getAttribute",Lg="protocol",lc="endContainer",Ff="scrollHeight",db="keyCode",Z="firstChild",mc="endOffset",Pb="clientHeight",ki="scrollLeft",Ce="compatMode",Cg="bottom",Qd="currentStyle",Ge="href",sd="console",Db="rows",N="type",ha="childNodes",Ud="shiftKey",
oa="tagName",dd="defaultView",Pc="name",n="parentNode",Fg="display",yb="nextSibling",ji="offsetTop",De="contentWindow",z="height",gd="offsetHeight",Qb="startOffset",nc="nodeValue",lb="clientX",mb="clientY",ud="documentElement",Mg="right",Ee="event";var Fp=Fp||{},ga=this;var rq=function(a,b){var c=a.split("."),d=ga,e;while(e=c.shift()){if(!c[i]&&ea(b)){d[e]=b}else if(d[e]){d=d[e]}else{d=(d[e]={})}}},pm=function(a){var b=a.split("."),c=ga;for(var d;d=b.shift();){if(c[d]){c=c[d]}else{return null}}return c};var ea=function(a){return typeof a!="undefined"},gc=function(a){return a===null},La=function(a){return a instanceof Array||Oh(a)&&typeof a.join=="function"&&typeof a.reverse=="function"},Mh=function(a){return Oh(a)&&typeof a[i]=="number"},Xa=
function(a){return typeof a=="string"},Nh=function(a){return typeof a=="number"},te=function(a){return typeof a=="function"||!(!(a&&a.call))},Oh=function(a){return a!=null&&typeof a=="object"},Vb=function(a){if(a.hasOwnProperty&&a.hasOwnProperty(Yf)){return a[Yf]}if(!a[Yf]){a[Yf]=++Aq}return a[Yf]},Yf="closure_hashCode_",Aq=0,D=function(a,b){var c=a.bu;if(arguments[i]>2){var d=Array[_P][Vd].call(arguments,2);if(c){d.unshift.apply(d,c)}c=d}b=a.eu||b;a=a.du||a;var e,f=b||ga;if(c){e=function(){var g=
Array[_P][Vd].call(arguments);g.unshift.apply(g,c);return a.apply(f,g)}}else{e=function(){return a.apply(f,arguments)}}e.bu=c;e.eu=b;e.du=a;return e},Dm=function(a){var b=Array[_P][Vd].call(arguments,1);b.unshift(a,null);return D.apply(null,b)};var Fa=function(){return(new Date).getTime()};var ec=function(a,b){var c=b||{};for(var d in c){a=a.replace(new RegExp("\\{\\$"+d+"\\}","gi"),c[d])}return a},Ub=function(a,b){rq(a,b)},nj=function(a,b,c){a[b]=c};if(!vf[_P].apply){vf[_P].apply=function(a,b){var c=
[],d,e;if(!a)a=ga;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}}vf[_P].G=function(a){if(arguments[i]>1){var b=Array[_P][Vd].call(arguments,1);b.unshift(this,a);return D.apply(null,b)}else{return D(this,a)}};vf[_P].ue=function(){var a=Array[_P][Vd].call(arguments);a.unshift(this,null);return D.apply(null,a)};vf[_P].a=function(a){Bq(this,
a)};var Bq=function(a,b){function c(){}c.prototype=b[_P];a.g=b[_P];a.prototype=new c;a[_P].constructor=a};var uc=function(){};uc[_P].Gj=false;uc[_P].O=function(){return this.Gj};uc[_P].c=function(){if(!this.Gj){this.Gj=true}};var Cq=function(a){if(a==""){return false}a=a.replace(/"(\\.|[^"\\])*"/g,"");return a==""||!/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(a)},Dq=function(a){a=va(a);if(typeof a.parseJSON=="function"){return a.parseJSON()}if(Cq(a)){try{return eval("("+a+")")}catch(b){}}throw Error("Invalid JSON string: "+a);},Cj=function(a){return eval("("+a+")")},Bj=null,mg=function(a){if(!Bj){Bj=new ue}return Bj.lA(a)},ue=function(){};ue[_P].lA=function(a){if(a!=null&&typeof a.toJSONString=="function"){return a.toJSONString()}var b=
[];this.fl(a,b);return b.join("")};ue[_P].fl=function(a,b){switch(typeof a){case "string":this.Ar(a,b);break;case "number":this.nA(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(La(a)){this.mA(a,b);break}this.oA(a,b);break;default:throw Error("Unknown type: "+typeof a);}};var Aj={'"':'\\"',"\\":"\\\\","/":"\\/","\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\u000b":"\\u000b"};ue[_P].Ar=function(a,b){b.push('"',
a.replace(/[\\\"\x00-\x1f\x80-\uffff]/g,function(c){if(c in Aj){return Aj[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 Aj[c]=e+d.toString(16)}),'"')};ue[_P].nA=function(a,b){b.push(isFinite(a)&&!Od(a)?a:"null")};ue[_P].mA=function(a,b){var c=a[i];b.push("[");var d="";for(var e=0;e<c;e++){b.push(d);this.fl(a[e],b);d=","}b.push("]")};ue[_P].oA=function(a,b){b.push("{");var c="";for(var d in a){b.push(c);this.Ar(d,b);b.push(":");this.fl(a[d],
b);c=","}b.push("}")};var Om=function(a,b){return a.indexOf(b)==0},Rh=function(a,b){var c=a[i]-b[i];return c>=0&&a.lastIndexOf(b,c)==c},Th=function(a){for(var b=1;b<arguments[i];b++){var c=va(arguments[b]).replace(/\$/g,"$$$$");a=a.replace(/\%s/,c)}return a},Ij=function(a){return a.replace(/(\r\n|\r|\n)+/g," ")};var qg=function(a){return a.replace(/^\s+|\s+$/g,"")},Pm=function(a){return a.replace(/^\s+/,"")};var Rq=/^[a-zA-Z0-9\-_.!~*'()]*$/,Kj=function(a){a=va(a);if(!Rq.test(a)){return jc(a)}return a},Jj=function(a){return rd(a.replace(/\+/g,
" "))},Sh=function(a,b){return a.replace(/(\r\n|\r|\n)/g,b?"<br />":"<br>")},Jd=function(a,b){if(b){return a.replace(Em,Fm).replace(Km,Lm).replace(Im,Jm).replace(Mm,Nm)}else{if(!Pq.test(a))return a;if(a.indexOf(Qq)!=-1){a=a.replace(Em,Fm)}if(a.indexOf(Tq)!=-1){a=a.replace(Km,Lm)}if(a.indexOf(Sq)!=-1){a=a.replace(Im,Jm)}if(a.indexOf(Uq)!=-1){a=a.replace(Mm,Nm)}return a}},Qq="&",Tq="<",Sq=">",Uq='"',Fm="&amp;",Lm="&lt;",Jm="&gt;",Nm="&quot;",Em=/&/g,Km=/</g,Im=/>/g,Mm=/\"/g,Pq=/[&<>\"]/,Qm=function(a){if(Hm(a,
"&")){if("document"in ga&&!Hm(a,"<")){var b=ga.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=Na("0"+d.substr(1));if(!Od(e)){return va.fromCharCode(e)}}return c}})}}return a},Lj=function(a,b){return Sh(a.replace(/  /g," &#160;"),b)},Vq=function(a,b,c){if(c){a=
Qm(a)}if(a[i]>b){var d=p.floor(b/2),e=a[i]-d;d+=b%2;a=a.substring(0,d)+"..."+a.substring(e)}if(c){a=Jd(a)}return a},Hm=function(a,b){return a.indexOf(b)!=-1};var Gm=function(a,b){var c=0,d=va(a).split("."),e=va(b).split("."),f=p.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 q=l.exec(h)||["","",""],v=m.exec(j)||["","",""];if(q[0][i]==0&&v[0][i]==0){break}var U=q[1][i]==0?0:ka(q[1],10),Q=v[1][i]==0?0:ka(v[1],
10);c=Hj(U,Q)||Hj(q[2][i]==0,v[2][i]==0)||Hj(q[2],v[2])}while(c==0)}return c},Hj=function(a,b){if(a<b){return-1}else if(a>b){return 1}return 0};var Kl=function(a){return a[a[i]-1]},wh=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=p.max(0,a[i]+c)}for(var d=c;d<a[i];d++){if(d in a&&a[d]===b)return d}return-1},vc=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=Xa(a)?a.split(""):a;for(var f=0;f<d;f++){if(f in e){b.call(c,e[f],f,a)}}}},Pp=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=Xa(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},Qp=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=Xa(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},je=function(a,b){if(a.contains){return a.contains(b)}return wh(a,b)>-1};var Il=function(a){if(!La(a)){for(var b=a[i]-1;b>=0;b--){delete a[b]}}Eb(a,0)},Jl=function(a,b,c){Vi(a,c,0,b)},
xh=function(a,b){var c=wh(a,b),d;if(d=c!=-1){Array[_P].splice.call(a,c,1)[i]==1}return d};var Mp=function(a){if(La(a)){return a.concat()}else{var b=[];for(var c=0,d=a[i];c<d;c++){b[c]=a[c]}return b}},Op=function(a,b){for(var c=1;c<arguments[i];c++){var d=arguments[c];if(!La(d)){a.push(d)}else{a.push.apply(a,d)}}},Vi=function(a,b,c,d){return Array[_P].splice.apply(a,Ui(arguments,1))},Ui=function(a,b,c){if(arguments[i]<=2){return Array[_P][Vd].call(a,b)}else{return Array[_P][Vd].call(a,b,c)}},Rp=function(a,
b){Array[_P].sort.call(a,b||Np)},Np=function(a,b){return a>b?1:(a<b?-1:0)};var Ph=function(a,b,c){for(var d in a){b.call(c,a[d],d,a)}},zm=function(a,b,c){for(var d in a){if(!b.call(c,a[d],d,a)){return false}}return true},Bm=function(a){var b=[];for(var c in a){b.push(a[c])}return b},Gj=function(a){var b=[];for(var c in a){b.push(c)}return b},Qh=function(a){for(var b in a){return false}return true},pg=function(a,b){var c;if(c=b in a){delete a[b]}return c},ym=function(a,b,c){if(b in a){throw Error('The object already contains the key "'+b+'"');}Cm(a,b,c)},Am=function(a,b,
c){if(b in a){return a[b]}return c},Cm=function(a,b,c){a[b]=c},Nq=function(a){var b={};for(var c in a){b[c]=a[c]}return b},xm=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Oq=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<xm[i];f++){c=xm[f];if(Object[_P].hasOwnProperty.call(d,c)){a[c]=d[c]}}}};var Sm=function(a){if(typeof a.kb=="function"){return a.kb()}if(Xa(a)){return a.split("")}if(Mh(a)){var b=[],c=a[i];for(var d=0;d<c;d++){b.push(a[d])}return b}return Bm(a)},Xq=function(a){if(typeof a.ic=="function"){return a.ic()}if(typeof a.kb=="function"){return bb}if(Mh(a)||Xa(a)){var b=[],c=a[i];for(var d=0;d<c;d++){b.push(d)}return b}return Gj(a)},Vh=function(a,b,c){if(typeof a.forEach=="function"){a.forEach(b,c)}else if(Mh(a)||Xa(a)){vc(a,b,c)}else{var d=Xq(a),e=Sm(a),f=e[i];for(var g=0;g<f;g++){b.call(c,
e[g],d&&d[g],a)}}};var Ga=function(a){this.da={};this.z=[];if(a){this.Mi(a)}},Mj=":",Rm=Mj.charCodeAt(0);Ga[_P].B=0;var Uh=function(a){a=va(a);if(a in Object[_P]){return Mj+a}else if(a.charCodeAt(0)==Rm){return Mj+a}else{return a}},Wq=function(a){if(a.charCodeAt(0)==Rm){return a.substring(1)}else{return a}};Ga[_P].Ya=function(){return this.B};Ga[_P].kb=function(){this.dj();var a=[];for(var b=0;b<this.z[i];b++){var c=this.z[b];a.push(this.da[c])}return a};Ga[_P].ic=function(){this.dj();var a=[];for(var b=0;b<this.z[i];b++){var c=
this.z[b];a.push(Wq(c))}return a};Ga[_P].Zb=function(a){return Uh(a)in this.da};Ga[_P].nc=function(){return this.B==0};qc(Ga[_P],function(){this.da={};Eb(this.z,0);this.B=0});Wg(Ga[_P],function(a){var b=Uh(a);if(pg(this.da,b)){this.B--;if(this.z[i]>2*this.B){this.dj()}return true}return false});Ga[_P].dj=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.da){this.z[b++]=c}a++}Eb(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++}Eb(this.z,b)}};Ga[_P].ra=function(a,b){var c=Uh(a);if(c in this.da){return this.da[c]}return b};Ga[_P].C=function(a,b){var c=Uh(a);if(!(c in this.da)){this.B++;this.z.push(c)}this.da[c]=b};Ga[_P].Mi=function(a){var b,c;if(a instanceof Ga){b=a.ic();c=a.kb()}else{b=Gj(a);c=Bm(a)}for(var d=0;d<b[i];d++){this.C(b[d],c[d])}};Ga[_P].H=function(){return new Ga(this)};var Lc=function(a){this.da=new Ga;if(a){this.Mi(a)}},Nj=function(a){var b=typeof a;if(b=="object"){return"o"+Vb(a)}else{return b.substr(0,1)+a}};Lc[_P].Ya=function(){return this.da.Ya()};Lc[_P].add=function(a){this.da.C(Nj(a),a)};Lc[_P].Mi=function(a){var b=Sm(a),c=b[i];for(var d=0;d<c;d++){this.add(b[d])}};Wg(Lc[_P],function(a){return this.da.remove(Nj(a))});qc(Lc[_P],function(){this.da.clear()});Lc[_P].nc=function(){return this.da.nc()};Lc[_P].contains=function(a){return this.da.Zb(Nj(a))};Lc[_P].kb=
function(){return this.da.kb()};Lc[_P].H=function(){return new Lc(this)};var Xp=function(a,b){try{var c=Zp(a),d="Message: "+Jd(c.message)+'\nUrl: <a href="view-source:'+c.fileName+'" target="_new">'+c.fileName+"</a>\nLine: "+c.lineNumber+"\n\nBrowser stack:\n"+Jd(c.stack+"-> ")+"[end]\n\nJS stack traversal:\n"+Jd(Yp(b)+"-> ");return d}catch(e){return"Exception trying to expose exception! You win, we lose. "+e}},Zp=function(a){var b=pm("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[Pc],lineNumber:"Not available",fileName:b,stack:"Not available"}:a)},Yp=function(a){return Wl(a||arguments.callee.caller,[])},Wl=function(a,b){var c=[];if(je(b,a)){c.push("[...circular reference...]")}else if(a&&b[i]<50){c.push(Vl(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=Vl(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(Wl(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("")},Vl=function(a){if(!Ch[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,".")}Ch[a]=c}else{Ch[a]="[Anonymous]"}}return Ch[a]},
Ch={};var wc=function(a,b,c){this.FC=Up++;this.oB=Fa();this.oc=a;this.Cy=b;this.oy=c};wc[_P].eo=null;wc[_P].co=null;var Up=0;wc[_P].bk=function(){return this.oy};wc[_P].cw=function(){return this.eo};wc[_P].vA=function(a){this.eo=a};wc[_P].dw=function(){return this.co};wc[_P].wA=function(a){this.co=a};wc[_P].kh=function(){return this.oc};wc[_P].nl=function(a){this.oc=a};wc[_P].Bo=function(){return this.Cy};wc[_P].Co=function(){return this.oB};var gb=function(a){this.ea=a;this.W=null;this.ha={};this.Eh=[]};gb[_P].oc=null;var Ic=function(a,b){this.name=a;hd(this,b)};eb(Ic[_P],function(){return this[Pc]});var fs=new Ic("OFF",Infinity),Rl=new Ic("SHOUT",1200),$i=new Ic("SEVERE",1000),aj=new Ic("WARNING",900),Ql=new Ic("INFO",800),Wp=new Ic("CONFIG",700),Pl=new Ic("FINE",500),ds=new Ic("FINER",400),es=new Ic("FINEST",300),Vp=new Ic("ALL",0),kd=function(a){return yh(a)};gb[_P].Im=function(a){this.Eh.push(a)};gb[_P].hr=function(a){return xh(this.Eh,
a)};gb[_P].od=function(){return this.W};gb[_P].nl=function(a){this.oc=a};gb[_P].kh=function(){return this.oc};gb[_P].Zv=function(){if(this.oc){return this.oc}if(this.W){return this.W.Zv()}return null};gb[_P].Ek=function(a){if(this.oc){return a[wa]>=this.oc[wa]}if(this.W){return this.W.Ek(a)}return false};gb[_P].log=function(a,b,c){if(!this.Ek(a)){return}var d=new wc(a,va(b),this.ea);if(c){d.vA(c);d.wA(Xp(c,arguments.callee.caller))}this.ny(d)};gb[_P].Oa=function(a,b){this.log($i,a,b)};gb[_P].Ns=function(a,
b){this.log(aj,a,b)};gb[_P].R=function(a,b){this.log(Ql,a,b)};gb[_P].fc=function(a,b){this.log(Pl,a,b)};gb[_P].ny=function(a){if(!this.Ek(a.kh())){return}var b=this;while(b){b.ou(a);b=b.od()}};gb[_P].ou=function(a){for(var b=0;b<this.Eh[i];b++){this.Eh[b](a)}};gb[_P].FA=function(a){this.W=a};gb[_P].yt=function(a,b){this.ha[a]=b};var zh={},$f=null,Ol=function(){if(!$f){$f=new gb("");zh[""]=$f;$f.nl(Wp)}},Nl=function(){Ol();return $f},yh=function(a){Ol();if(a in zh){return zh[a]}else{return Tp(a)}},
Tp=function(a){var b=new gb(a),c=a.split("."),d=c[c[i]-1];Eb(c,c[i]-1);var e=c.join("."),f=yh(e);f.yt(d,b);b.FA(f);zh[a]=b;return b};var Ed=function(a){this.ci=a||"";this.br=Fa()};Ed[_P].wl=true;Ed[_P].es=true;Ed[_P].ds=true;Ed[_P].$g=function(a){throw Error("Must override formatRecord");};var Ll=function(a){var b=new Date(a.Co());return ke(b.getFullYear()-2000)+ke(b.getMonth()+1)+ke(b.getDate())+" "+ke(b.getHours())+":"+ke(b.getMinutes())+":"+ke(b.getSeconds())+"."+ke(p.floor(b.getMilliseconds()/10))},ke=function(a){if(a<10){return"0"+a}return va(a)},Ml=function(a,b){var c=a.Co()-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},Zi=function(a){Ed.call(this,a)};Zi.a(Ed);Zi[_P].$g=function(a){var b;switch(a.kh()[wa]){case Rl[wa]:b="dbg-sh";break;case $i[wa]:b="dbg-sev";break;case aj[wa]:b="dbg-w";break;case Ql[wa]:b="dbg-i";break;case Pl[wa]:default:b="dbg-f";break}var c=[];c.push(this.ci," ");if(this.wl){c.push("[",Ll(a),"] ")}if(this.es){c.push("[",Lj(Ml(a,this.br)),"s] ")}if(this.ds){c.push("[",Jd(a.bk()),"] ")}c.push('<span class="',b,'">',Sh(Lj(Jd(a.Bo()))));if(a.cw()){c.push("<br>",
Sh(Lj(a.dw())))}c.push("</span><br>");return c.join("")};var bj=function(a){Ed.call(this,a)};bj.a(Ed);bj[_P].$g=function(a){var b=[];b.push(this.ci," ");if(this.wl){b.push("[",Ll(a),"] ")}if(this.es){b.push("[",Ml(a,this.br),"s] ")}if(this.ds){b.push("[",a.bk(),"] ")}b.push(a.Bo(),"\n");return b.join("")};var Nc,s,u,br,ra,Kd,Qj,Zm,rg,sg;(function(){var a=false,b=false,c=false,d=false,e=false,f=false,g=false,h=false,j=false,l=false,m=false,q="";if(ga.navigator){var v=kb.userAgent;a=typeof opera!="undefined";b=!a&&v.indexOf("MSIE")!=-1;c=!a&&v.indexOf("WebKit")!=-1;m=c&&v.indexOf("Mobile")!=-1;d=!a&&kb.product=="Gecko"&&!c;e=d&&kb.vendor=="Camino";f=!a&&v.indexOf("Konqueror")!=-1;g=f||c;var U,Q;if(a){U=opera.version()}else{if(d){Q=/rv\:([^\);]+)(\)|;)/}else if(b){Q=/MSIE\s+([^\);]+)(\)|;)/}else if(c){Q=
/WebKit\/(\S+)/}else if(f){Q=/Konqueror\/([^\);]+)(\)|;)/}if(Q){Q.test(v);U=RegExp.$1}}q=kb.platform;h=q.indexOf("Mac")!=-1;j=q.indexOf("Win")!=-1;l=q.indexOf("Linux")!=-1}Nc=a;s=b;u=d;br=e;ra=c;Kd=U;Qj=h;Zm=j;rg=l;sg=m})();var $m=function(a,b){return Gm(a,b)},ad=function(a){return $m(Kd,a)>=0};var ca=function(a,b){var c;if(a instanceof ca){this.Be(b==null?a.nw():b);this.sl(a.Gw());this.tl(a.Ww());this.il(a.Xv());this.pl(a.Io());this.De(a.Ho());this.ql(a.Bw().H());this.ml(a.kw())}else if(a&&(c=va(a).match(Kp()))){this.Be(!(!b));this.sl(c[1],true);this.tl(c[2],true);this.il(c[3],true);this.pl(c[4]);this.De(c[5],true);this.ql(c[6]);this.ml(c[7],true)}else{this.Be(!(!b));this.qb=new Ia(null,this,this.Ob)}};ca[_P].Nc="";ca[_P].cg="";ca[_P].bf="";ca[_P].Mf=null;ca[_P].fa="";ca[_P].qb=null;ca[_P].kf=
"";ca[_P].by=false;ca[_P].Ob=false;eb(ca[_P],function(){if(this.qa){return this.qa}var a=[];if(this.Nc){a.push(Si(this.Nc,Hl),":")}if(this.bf){a.push("//");if(this.cg){a.push(Si(this.cg,Hl),"@")}a.push(Gl(this.bf));if(this.Mf!=null){a.push(":",va(this.Io()))}}if(this.fa){a.push(Si(this.fa,Lp))}var b=va(this.qb);if(b){a.push("?",b)}if(this.kf){a.push("#",Gl(this.kf))}return this.qa=a.join("")});ca[_P].H=function(){return new Hp(this.Nc,this.cg,this.bf,this.Mf,this.fa,this.qb.H(),this.kf,this.Ob)};
ca[_P].Gw=function(){return this.Nc};ca[_P].sl=function(a,b){this.Dc();delete this.qa;this.Nc=b?Zf(a):a;if(this.Nc){this.Nc=this.Nc.replace(/:$/,"")}return this};ca[_P].Ww=function(){return this.cg};ca[_P].tl=function(a,b){this.Dc();delete this.qa;this.cg=b?Zf(a):a;return this};ca[_P].Xv=function(){return this.bf};ca[_P].il=function(a,b){this.Dc();delete this.qa;this.bf=b?Zf(a):a;return this};ca[_P].Io=function(){return this.Mf};ca[_P].pl=function(a){this.Dc();delete this.qa;if(a){a=Na(a);if(Od(a)||
a<0){throw Error("Bad port number "+a);}this.Mf=a}else{this.Mf=null}return this};ca[_P].Ho=function(){return this.fa};ca[_P].De=function(a,b){this.Dc();delete this.qa;this.fa=b?Zf(a):a;return this};ca[_P].ql=function(a){this.Dc();delete this.qa;if(a instanceof Ia){this.qb=a;this.qb.Wl=this;this.qb.Be(this.Ob)}else{this.qb=new Ia(a,this,this.Ob)}return this};ca[_P].Bw=function(){return this.qb};ca[_P].ub=function(a,b){this.Dc();delete this.qa;this.qb.C(a,b);return this};ca[_P].kw=function(){return this.kf};
ca[_P].ml=function(a,b){this.Dc();delete this.qa;this.kf=b?Zf(a):a;return this};ca[_P].Dc=function(){if(this.by){throw Error("Tried to modify a read-only Uri");}};ca[_P].Be=function(a){this.Ob=a;if(this.qb){this.qb.Be(a)}};ca[_P].nw=function(){return this.Ob};var Hp=function(a,b,c,d,e,f,g,h){var j=new ca(null,h);j.sl(a);j.tl(b);j.il(c);j.pl(d);j.De(e);j.ql(f);j.ml(g);return j},Zf=function(a){return a?Jj(a):""},Gl=function(a){if(Xa(a)){return jc(a)}return null},Jp=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/,Si=
function(a,b){var c=null;if(Xa(a)){c=a;if(!Jp.test(c)){c=encodeURI(a)}if(c.search(b)>=0){c=c.replace(b,Ip)}}return c},Ip=function(a){var b=a.charCodeAt(0);return"%"+(b>>4&15).toString(16)+(b&15).toString(16)},Ti=null,Kp=function(){if(!Ti){Ti=/^(?:([^:\/?#]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/}return Ti},Hl=/[#\/\?@]/g,Lp=/[\#\?]/g,Ia=function(a,b,c){this.S=new Ga;this.Wl=b;this.Ob=!(!c);if(a){var d=a.split("&");for(var e=0;e<d[i];e++){var f=d[e].split("="),
g=Jj(f[0]);g=this.nd(g);this.add(g,f[i]>1?Jj(f[1]):"")}}};Ia[_P].B=0;Ia[_P].Ya=function(){return this.B};Ia[_P].add=function(a,b){this.Af();a=this.nd(a);if(!this.Zb(a)){this.S.C(a,b)}else{var c=this.S.ra(a);if(La(c)){c.push(b)}else{this.S.C(a,[c,b])}}this.B++;return this};Wg(Ia[_P],function(a){a=this.nd(a);if(this.S.Zb(a)){this.Af();var b=this.S.ra(a);if(La(b)){this.B-=b[i]}else{this.B--}return this.S.remove(a)}return false});qc(Ia[_P],function(){this.Af();this.S.clear();this.B=0});Ia[_P].nc=function(){return this.B==
0};Ia[_P].Zb=function(a){a=this.nd(a);return this.S.Zb(a)};Ia[_P].ic=function(){var a=this.S.kb(),b=this.S.ic(),c=[];for(var d=0;d<b[i];d++){var e=a[d];if(La(e)){for(var f=0;f<e[i];f++){c.push(b[d])}}else{c.push(b[d])}}return c};Ia[_P].kb=function(a){var b;if(a){var c=this.nd(a);if(this.Zb(c)){var d=this.S.ra(c);if(La(d)){return d}else{b=[];b.push(d)}}else{b=[]}}else{var e=this.S.kb();b=[];for(var f=0;f<e[i];f++){var g=e[f];if(La(g)){Op(b,g)}else{b.push(g)}}}return b};Ia[_P].C=function(a,b){this.Af();
a=this.nd(a);if(this.Zb(a)){var c=this.S.ra(a);if(La(c)){this.B-=c[i]}else{this.B--}}this.S.C(a,b);this.B++;return this};Ia[_P].ra=function(a,b){a=this.nd(a);if(this.Zb(a)){var c=this.S.ra(a);if(La(c)){return c[0]}else{return c}}else{return b}};eb(Ia[_P],function(){if(this.qa){return this.qa}var a=[],b=0,c=this.S.ic();for(var d=0;d<c[i];d++){var e=c[d],f=Kj(e),g=this.S.ra(e);if(La(g)){for(var h=0;h<g[i];h++){if(b>0){a.push("&")}a.push(f,"=",Kj(g[h]));b++}}else{if(b>0){a.push("&")}a.push(f,"=",Kj(g));
b++}}return this.qa=a.join("")});Ia[_P].Af=function(){delete this.qa;if(this.Wl){delete this.Wl.qa}};Ia[_P].H=function(){var a=new Ia;a.S=this.S.H();return a};Ia[_P].nd=function(a){var b=va(a);if(this.Ob){b=b.toLowerCase()}return b};Ia[_P].Be=function(a){var b=a&&!this.Ob;if(b){this.Af();Vh(this.S,function(c,d,e){var f=d.toLowerCase();if(d!=f){this.remove(d);this.add(f,c)}},this)}this.Ob=a};Ia[_P].extend=function(a){for(var b=0;b<arguments[i];b++){var c=arguments[b];Vh(c,function(d,e){this.add(e,
d)},this)}};var Ya=function(a,b){uc.call(this);this.vy=b;this.$d=[];for(var c=0;c<a;c++){this.sb(this.We())}};Ya.a(uc);Ya[_P].oj=null;Ya[_P].Fj=null;Ya[_P].Rf=function(a){this.oj=a};Ya[_P].Fr=function(a){this.Fj=a};Ya[_P].ib=function(){if(this.$d[i]){return this.$d.pop()}return this.We()};Ya[_P].sb=function(a){if(this.$d[i]<this.vy){this.$d.push(a)}else{this.Ej(a)}};Ya[_P].We=function(){if(this.oj){return this.oj()}else{return{}}};Ya[_P].Ej=function(a){if(this.Fj){this.Fj(a)}else{if(te(a.c)){a.c()}else{for(var b in a){delete a[b]}}}};
Ya[_P].c=function(){if(!this.O()){Ya.g.c.call(this);var a=this.$d;while(a[i]){this.Ej(a.pop())}this.$d=null}};var Sa=function(a,b){ib(this,a);Qc(this,b);wd(this,this[$])};Sa.a(uc);Sa[_P].Mc=false;Sa[_P].ze=true;Sa[_P].stopPropagation=function(){this.Mc=true};Sa[_P].preventDefault=function(){this.ze=false};var ja=function(a,b){if(a){this.zf(a,b)}};ja.a(Sa);var gq=[1,4,2];ib(ja[_P],null);Qc(ja[_P],null);wd(ja[_P],null);If(ja[_P],null);ja[_P].offsetX=0;ja[_P].offsetY=0;Rg(ja[_P],0);Sg(ja[_P],0);Kf(ja[_P],0);Lf(ja[_P],0);ja[_P].button=0;Hf(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].Xa=null;ja[_P].zf=function(a,b){ib(this,a[N]);Qc(this,a[$]||a[Wd]);wd(this,b);if(a.relatedTarget){If(this,a.relatedTarget)}else if(this[N]==ne){If(this,
a.fromElement)}else if(this[N]==Fd){If(this,a.toElement)}else{If(this,null)}this.offsetX=typeof a.layerX=="number"?a.layerX:a.offsetX;this.offsetY=typeof a.layerY=="number"?a.layerY:a.offsetY;Rg(this,typeof a[lb]=="number"?a[lb]:a.pageX);Sg(this,typeof a[mb]=="number"?a[mb]:a.pageY);Kf(this,a[oc]||0);Lf(this,a[pc]||0);this.button=a[zf];Hf(this,a[db]||0);this.charCode=a[Dg]||(this[N]==af?a[db]:0);this.ctrlKey=a[Dc];this.altKey=a[yf];this.shiftKey=a[Ud];this.metaKey=a[fd];this.Xa=a;this.ze=null;this.Mc=
null};ja[_P].Tx=function(a){if(s){return!(!(this.Xa[zf]&gq[a]))}else{return this.Xa[zf]==a}return false};ja[_P].stopPropagation=function(){this.Mc=true;if(this.Xa.stopPropagation){this.Xa.stopPropagation()}else{this.Xa.cancelBubble=true}};ja[_P].preventDefault=function(){this.ze=false;if(!this.Xa.preventDefault){Jf(this.Xa,false);try{Hf(this.Xa,-1)}catch(a){}}else{this.Xa.preventDefault()}};ja[_P].hd=function(){return this.Xa};ja[_P].c=function(){if(!this.O()){Sa[_P].c.call(this);this.Xa=null}};var dc=function(){},iq=0;dc[_P].Bk=null;dc[_P].xd=null;dc[_P].Vq=null;dc[_P].src=null;ib(dc[_P],null);dc[_P].capture=null;dc[_P].xf=null;dc[_P].ob=0;dc[_P].xe=false;dc[_P].$m=false;dc[_P].zf=function(a,b,c,d,e,f){if(te(a)){this.Bk=true}else if(a&&a.kc&&te(a.kc)){this.Bk=false}else{throw Error("Invalid listener argument");}this.xd=a;this.Vq=b;this.src=c;ib(this,d);this.capture=!(!e);this.xf=f;this.$m=false;this.ob=++iq;this.xe=false};dc[_P].kc=function(a){if(this.Bk){return this.xd.call(this.xf||this.src,
a)}return this.xd.kc.call(this.xd,a)};var df={},Ib={},ld={},ef=new Ya(0,600);ef.Rf(function(){return{B:0}});ef.Fr(function(a){a.B=0});var pe=new Ya(0,600);pe.Rf(function(){return[]});pe.Fr(function(a){Eb(a,0);delete a.Df;delete a.Pk});var lm=new Ya(0,600);lm.Rf(function(){var a=function(b){return oq.call(a.src,a.ob,b)};return a});var lq=function(){return new dc},kj=new Ya(0,600);kj.Rf(lq);var jq=function(){return new ja},kq=function(){var a=null;if(s){a=new Ya(0,600);a.Rf(jq)}return a},im=kq(),qq="on",lj={},t=function(a,b,c,d,e){if(La(b)){for(var f=
0;f<b[i];f++){t(a,b[f],c,d,e)}return null}var g=!(!d),h=Ib;if(!(b in h)){h[b]=ef.ib()}h=h[b];if(!(g in h)){h[g]=ef.ib();h.B++}h=h[g];var j=Vb(a),l,m;if(!h[j]){l=(h[j]=pe.ib());h.B++}else{l=h[j];for(var f=0;f<l[i];f++){m=l[f];if(m.xd==c&&m.xf==e){if(m.xe){break}return l[f].ob}}}var q=lm.ib();q.src=a;m=kj.ib();m.zf(c,q,a,b,g,e);var v=m.ob;q.ob=v;l.push(m);df[v]=m;if(!ld[j]){ld[j]=pe.ib()}ld[j].push(m);if(a.addEventListener){if(a==ga||!a.vj){a.addEventListener(b,q,g)}}else{a.attachEvent(km(b),q)}return v},
qb=function(a,b,c,d,e){if(La(b)){for(var f=0;f<b[i];f++){qb(a,b[f],c,d,e)}return null}var g=!(!d),h=jm(a,b,g);if(!h){return false}for(var f=0;f<h[i];f++){if(h[f].xd==c&&h[f][Af]==g&&h[f].xf==e){return Ua(h[f].ob)}}return false},Ua=function(a){if(!df[a]){return false}var b=df[a];if(b.xe){return false}var c=b.src,d=b[N],e=b.Vq,f=b[Af];if(c.removeEventListener){if(c==ga||!c.vj){c.removeEventListener(d,e,f)}}else if(c.detachEvent){c.detachEvent(km(d),e)}var g=Vb(c),h=Ib[d][f][g];if(ld[g]){var j=ld[g];
xh(j,b);if(j[i]==0){delete ld[g]}}b.xe=true;h.Pk=true;hm(d,f,g,h);delete df[a];return true},hm=function(a,b,c,d){if(!d.Df){if(d.Pk){for(var e=0,f=0;e<d[i];e++){if(d[e].xe){kj.sb(d[e]);continue}if(e!=f){d[f]=d[e]}f++}Eb(d,f);d.Pk=false;if(f==0){pe.sb(d);delete Ib[a][b][c];Ib[a][b].B--;if(Ib[a][b].B==0){ef.sb(Ib[a][b]);delete Ib[a][b];Ib[a].B--}if(Ib[a].B==0){ef.sb(Ib[a]);delete Ib[a]}}}}},mj=function(a,b,c){var d=0,e=a==null,f=b==null,g=c==null;c=!(!c);if(!e){var h=Vb(a);if(ld[h]){var j=ld[h];for(var l=
j[i]-1;l>=0;l--){var m=j[l];if((f||b==m[N])&&(g||c==m[Af])){Ua(m.ob);d++}}}}else{Ph(ld,function(q){for(var v=q[i]-1;v>=0;v--){var U=q[v];if((f||b==U[N])&&(g||c==U[Af])){Ua(U.ob);d++}}})}return d},jm=function(a,b,c){var d=Ib;if(b in d){d=d[b];if(c in d){d=d[c];var e=Vb(a);if(d[e]){return d[e]}}}return null},nq=function(a,b,c,d,e){var f=!(!d),g=jm(a,b,f);if(g){for(var h=0;h<g[i];h++){if(g[h].xd==c&&g[h][Af]==f&&g[h].xf==e){return g[h]}}}return null},hb="click",zc="mousedown",Gd="mouseup",ne="mouseover",
Fd="mouseout",Fh="mousemove",af="keypress",$e="keydown",hq=s?"focusin":"DOMFocusIn",oe="resize",km=function(a){if(a in lj){return lj[a]}return lj[a]=qq+a},cf=function(a,b,c,d){var e=1,f=Ib;if(b in f){f=f[b];if(c in f){f=f[c];var g=Vb(a);if(f[g]){var h=f[g];if(!h.Df){h.Df=1}else{h.Df++}try{var j=h[i];for(var l=0;l<j;l++){var m=h[l];if(m&&!m.xe){e&=jj(m,d)!==false}}}finally{h.Df--;hm(b,c,g,h)}}}}return Ag(e)},jj=function(a,b){var c=a.kc(b);if(a.$m){Ua(a.ob)}return c},mq=function(a,b){if(Xa(b)){b=new Sa(b,
a)}else if(!(b instanceof Sa)){var c=b;b=new Sa(b[N],a);Oq(b,c)}else{Qc(b,b[$]||a)}var d=1,e,f=b[N],g=Ib;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.rf()){e.push(l)}for(var m=e[i]-1;!b.Mc&&m>=0;m--){wd(b,e[m]);d&=cf(e[m],b[N],true,b)&&b.ze!=false}}if(j){if(h){for(var m=0;!b.Mc&&m<e[i];m++){wd(b,e[m]);d&=cf(e[m],b[N],false,b)&&b.ze!=false}}else{for(var q=a;!b.Mc&&q;q=q.rf()){wd(b,q);d&=cf(q,b[N],false,b)&&b.ze!=false}}}return Ag(d)},oq=function(a,b){if(!df[a]){return true}var c=
df[a],d=c[N],e=Ib;if(!(d in e)){return true}e=e[d];var f;if(s){var g=b||pm("window.event"),h=true in e;if(h){if(g[db]<0||g.returnValue!=bb){return true}pq(g)}var j=Vb(c.src),l=im.ib();l.zf(g,this);f=true;try{if(h){var m=pe.ib();for(var q=l[kc];q;q=q[n]){m.push(q)}for(var v=m[i]-1;!l.Mc&&v>=0;v--){wd(l,m[v]);f&=cf(m[v],d,true,l)}for(var v=0;!l.Mc&&v<m[i];v++){wd(l,m[v]);f&=cf(m[v],d,false,l)}}else{f=jj(c,l)}}finally{if(m){Eb(m,0);pe.sb(m)}l.c();im.sb(l)}return f}var U=new ja(b,this);try{f=jj(c,U)}finally{U.c()}return f},
pq=function(a){var b=false;if(a[db]==0){try{Hf(a,-1);return}catch(c){b=true}}if(b||a.returnValue==bb){Jf(a,true)}};var Ta=function(a){this.Q=a};Ta.a(uc);var dm=new Ya(0,100);Ta[_P].j=function(a,b,c,d,e){if(La(b)){for(var f=0;f<b[i];f++){this.j(a,b[f],c,d,e)}return}var g=t(a,b,c||this,d||false,e||this.Q||this);if(this.z){this.z[g]=true}else if(this.Jc){this.z=dm.ib();this.z[this.Jc]=true;this.Jc=null;this.z[g]=true}else{this.Jc=g}};Ta[_P].Fa=function(a,b,c,d,e){if(!this.Jc&&!this.z){return}if(La(b)){for(var f=0;f<b[i];f++){this.Fa(a,b[f],c,d,e)}return}var g=nq(a,b,c||this,d||false,e||this.Q||this);if(g){var h=
g.ob;Ua(h);if(this.z){pg(this.z,h)}else if(this.Jc==h){this.Jc=null}}};Ta[_P].Ed=function(){if(this.z){for(var a in this.z){Ua(a);delete this.z[a]}dm.sb(this.z);this.z=null}else if(this.Jc){Ua(this.Jc)}};Ta[_P].c=function(){if(!this.O()){uc[_P].c.call(this);this.Ed()}};Ta[_P].kc=function(a){throw Error("EventHandler.handleEvent not implemented");};var R=function(){};R.a(uc);R[_P].rf=function(){return null};R[_P].addEventListener=function(a,b,c,d){t(this,a,b,c,d)};R[_P].removeEventListener=function(a,b,c,d){qb(this,a,b,c,d)};R[_P].dispatchEvent=function(a){return mq(this,a)};R[_P].c=function(){if(!this.O()){uc[_P].c.call(this);mj(this)}};R[_P].vj=true;var ya=function(a,b){ia(this,ea(a)?Na(a):bb);pa(this,ea(b)?Na(b):bb)},um=function(a,b){if(a==b){return true}if(!a||!b){return false}return a[A]==b[A]&&a[z]==b[z]};ya[_P].H=function(){return new ya(this[A],this[z])};eb(ya[_P],function(){return"("+this[A]+" x "+this[z]+")"});ya[_P].Nt=function(){return this[A]*this[z]};ya[_P].nc=function(){return!this.Nt()};ya[_P].ceil=function(){ia(this,p.ceil(this[A]));pa(this,p.ceil(this[z]));return this};ya[_P].floor=function(){ia(this,p.floor(this[A]));pa(this,
p.floor(this[z]));return this};ya[_P].round=function(){ia(this,p.round(this[A]));pa(this,p.round(this[z]));return this};ya[_P].scale=function(a){this.width*=a;this.height*=a;return this};var Fq=function(a,b){var c=a%b;return c*b<0?c+b:c},og=function(a,b){this.x=ea(a)?Na(a):bb;this.y=ea(b)?Na(b):bb};og[_P].H=function(){return new og(this.x,this.y)};eb(og[_P],function(){return"("+this.x+", "+this.y+")"});var md=function(a,b,c,d){nb(this,ea(a)?Na(a):bb);this.top=ea(b)?Na(b):bb;ia(this,ea(c)?Na(c):bb);pa(this,ea(d)?Na(d):bb)};md[_P].H=function(){return new md(this[Ca],this.top,this[A],this[z])};eb(md[_P],function(){return"("+this[Ca]+", "+this.top+" - "+this[A]+"w x "+this[z]+"h)"});
var tm=function(a,b){if(a==b){return true}if(!a||!b){return false}return a[Ca]==b[Ca]&&a[A]==b[A]&&a.top==b.top&&a[z]==b[z]};md[_P].fu=function(a){var b=p.max(this[Ca]+this[A],a[Ca]+a[A]),c=p.max(this.top+this[z],a.top+a[z]);nb(this,p.min(this[Ca],a[Ca]));this.top=p.min(this.top,a.top);ia(this,b-this[Ca]);pa(this,c-this.top)};var ng=function(a,b,c,d){this.top=ea(a)?Na(a):bb;this.right=ea(b)?Na(b):bb;this.bottom=ea(c)?Na(c):bb;nb(this,ea(d)?Na(d):bb)};ng[_P].H=function(){return new ng(this.top,this[Mg],
this[Cg],this[Ca])};eb(ng[_P],function(){return"("+this.top+"t, "+this[Mg]+"r, "+this[Cg]+"b, "+this[Ca]+"l)"});ng[_P].contains=function(a){return Eq(this,a)};ng[_P].expand=function(a,b,c,d){if(Oh(a)){this.top-=a.top;this.right+=a[Mg];this.bottom+=a[Cg];this.left-=a[Ca]}else{this.top-=a;this.right+=b;this.bottom+=c;this.left-=d}return this};var Eq=function(a,b){if(!a||!b){return false}return b.x>=a[Ca]&&b.x<=a[Mg]&&b.y>=a.top&&b.y<=a[Cg]},ve=function(a){return Fq(a,360)},vm=function(a){return a*p.PI/
180};var Dj=function(a,b){return b*p.cos(vm(a))},Ej=function(a,b){return b*p.sin(vm(a))};var ej;var Ye=function(){if(!ej){ej=new Ka}return ej},Ra=function(a){return a?new Ka(ua(a)):Ye()},Dh=function(){return Ye().k()},dq=function(a){return Ye().e(a)},o=dq,$l=function(a,b,c){return Ye().uo(a,b,c)},We=$l,ij=function(a,b){Ph(b,function(c,d){if(d=="style"){Gf(a[k],c)}else if(d=="class"){ma(a,c)}else if(d=="for"){a.htmlFor=c}else if(d in Xl){a.setAttribute(Xl[d],c)}else{a[d]=c}})},Xl={WB:"cellPadding",XB:"cellSpacing",YB:"colSpan",CC:"rowSpan",QC:"vAlign",height:"height",width:"width",PC:"useMap",
iC:"frameBorder"},Ze=function(a){var b=a||ga||window,c=b[fa];if(ra&&!ad("500")&&!sg){if(typeof b[Df]=="undefined"){b=window}var d=b[Df],e=b[fa][ud][Ff];if(b==b.top){if(e<d){d-=15}}return new ya(b.innerWidth,d)}var f=Ra(c),g=f.Nv()=="CSS1Compat"&&(!Nc||Nc&&ad("9.50"))?c[ud]:c[B];return new ya(g[ac],g[Pb])},dg=function(a){var b=a||ga||window,c=b[fa],d,e;if(!ra&&c[Ce]=="CSS1Compat"){d=c[ud][ki];e=c[ud][Ng]}else{d=c[B][ki];e=c[B][Ng]}return new og(d,e)},eg=function(a){if(ra&&!ad("500")&&!sg){return null}else{return a.parentWindow||
a[dd]}},Xe=function(a,b){var c=Ye();return c.l.apply(c,arguments)};var Jc=function(a,b){a.appendChild(b)},hj=function(a){var b;while(b=a[Z]){a.removeChild(b)}},me=function(a,b){if(b[n]){b[n].insertBefore(a,b)}},fg=function(a,b){if(b[n]){b[n].insertBefore(a,b[yb])}},ba=function(a){return a&&a[n]?a[n].removeChild(a):null},gj=function(a){return am(a[Z],true)};var bm=function(a){return am(a[yb],true)};var am=function(a,b){while(a&&a[O]!=1){a=b?a[yb]:a[Ec]}return a};var $p=ra&&$m(Kd,"521")<=0,Zc=function(a,
b){if(typeof a.contains!="undefined"&&!$p&&b[O]==1){return a==b||a.contains(b)}if(typeof a.compareDocumentPosition!="undefined"){return a==b||Ag(a.compareDocumentPosition(b)&16)}while(b&&a!=b){b=b[n]}return b==a},bq=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[O]==1,d=b[O]==1,e=c?a[Pg]:a[n][Pg],f=d?b[Pg]:b[n][Pg];if(e!=f){return e-f}else{if(c){return-1}if(d){return 1}var g=b;while(g=
g[Ec]){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[O]==9?a:a[da]||a[fa]};var yc=function(a,b){if("textContent"in a){a.textContent=b}else if(a[Z]&&a[Z][O]==3){while(a[ed]!=a[Z]){a.removeChild(a[ed])}Tg(a[Z],b)}else{while(a.hasChildNodes()){a.removeChild(a[ed])}var c=ua(a);a.appendChild(c.createTextNode(b))}},cg=function(a,
b){var c=[];fj(a,b,c,true);return c[i]?c[0]:bb},cq=function(a,b){var c=[];fj(a,b,c,false);return c},fj=function(a,b,c,d){if(a!=null){for(var e=0,f;f=a[ha][e];e++){if(b(f)){c.push(f);if(d){return}}fj(f,b,c,d)}}},aq={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Yl={IMG:" ",BR:"\n"},Eh=function(a){if(s&&"innerText"in a){return a[Ig].replace(/(\r\n|\r|\n)/g,"\n")}var b=[];cm(a,b,true);var c=b.join("").replace(/ +/g," ");if(c!=" "){c=c.replace(/^\s*/,"")}return c},cm=function(a,b,c){if(a[na]in aq){}else if(a[O]==
3){if(c){b.push(va(a[nc]).replace(/(\r\n|\r|\n)/g,""))}else{b.push(a[nc])}}else if(a[na]in Yl){b.push(Yl[a[na]])}else{var d=a[Z];while(d){cm(d,b,c);d=d[yb]}}};var Ka=function(a){this.Ga=a||ga[fa]||S};Ka[_P].of=Ra;Ka[_P].k=function(){return this.Ga};Ka[_P].e=function(a){if(Xa(a)){return this.Ga.getElementById(a)}else{return a}};Ka[_P].Ts=Ka[_P].e;Ka[_P].uo=function(a,b,c){var d=a||"*",e=c||this.Ga,f=e.getElementsByTagName(d);if(b){var g=[];for(var h=0,j;j=f[h];h++){var l=j[Ob];if(typeof l.split=="function"&&
je(l.split(" "),b)){g.push(j)}}return g}else{return f}};Ka[_P].im=Ka[_P].uo;Ka[_P].l=function(a,b){if(s&&b&&b[Pc]){a="<"+a+' name="'+Jd(b[Pc])+'">'}var c=this.createElement(a);if(b){ij(c,b)}if(arguments[i]>2){function d(g){if(g){this.appendChild(c,Xa(g)?this.createTextNode(g):g)}}for(var e=2;e<arguments[i];e++){var f=arguments[e];if((Mh(f)||ra&&typeof f=="function"&&typeof f[i]=="number")&&!(Oh(f)&&f[O]>0)){vc(La(f)?f:Mp(f),d,this)}else{d.call(this,f)}}}return c};Ka[_P].createElement=function(a){return this.Ga.createElement(a)};
Ka[_P].createTextNode=function(a){return this.Ga.createTextNode(a)};Ka[_P].Nv=function(){if(this.Ga[Ce]){return this.Ga[Ce]}if(ra){var a=this.l("div",{style:"position:absolute;width:0;height:0;width:1"}),b=a[k][A]=="1px"?"BackCompat":"CSS1Compat";return this.Ga.compatMode=b}return"BackCompat"};Ka[_P].appendChild=Jc;Ka[_P].qC=me;Ka[_P].pC=fg;Ka[_P].removeNode=ba;Ka[_P].contains=Zc;Ka[_P].nh=ua;Ka[_P].PA=yc;var I=function(a){R.call(this);this.i=a||Ra()};I.a(R);var ar=0,Yh="Component already rendered",Xm="Unable to set parent component",Wm="Operation not supported while component is not in document";I[_P].t=null;I[_P].i=null;I[_P].mb=false;I[_P].b=null;I[_P].zy=null;I[_P].W=null;I[_P].ha=null;I[_P].Bb=null;I[_P].Os=null;I[_P].w=function(){return this.t||(this.t=this.vw())};I[_P].Sf=function(a){if(this.W&&this.W.Bb){pg(this.W.Bb,this.t);ym(this.W.Bb,a,this)}this.t=a};I[_P].Ja=function(){return"goog.ui.Component"};
I[_P].e=function(){return this.b};I[_P].Or=function(a){if(this==a){throw Error(Xm);}if(a&&this.W&&this.W.be(this.t)){throw Error(Xm);}this.W=a};I[_P].od=function(){return this.W};I[_P].rf=function(){return this.W};I[_P].ca=function(){return this.mb};I[_P].l=function(){this.b=this.i.createElement("div")};I[_P].tb=function(a){this.jr(a)};I[_P].jr=function(a,b){if(this.mb){throw Error(Yh);}if(!this.b){this.l()}if(a){a.insertBefore(this.b,b||null)}else{this.i.k()[B].appendChild(this.b)}if(!this.W||this.W.ca()){this.L()}};
I[_P].Fn=function(a){if(this.mb){throw Error(Yh);}else if(a&&this.pg(a)){this.Os=true;if(!this.i||this.i.k()!=ua(a)){this.i=Ra(a)}this.Gn(a);this.L()}else{throw Error("Invalid element to decorate");}};I[_P].pg=function(a){return true};I[_P].Gn=function(a){this.b=a};I[_P].L=function(){this.mb=true;this.Ia(function(a){if(a.e()){a.L()}})};I[_P].ka=function(){this.Ia(function(a){if(a.ca()){a.ka()}});this.mb=false};I[_P].c=function(){if(!this.O()){I.g.c.call(this);if(this.mb){this.ka()}this.Ia(function(a){a.c()});
if(!this.Os&&this.b){ba(this.b)}this.ha=null;this.Bb=null;this.b=null;this.zy=null;this.W=null}};I[_P].Sp=function(a){return this.w()+"."+a};I[_P].to=function(a){if(!this.mb){throw Error(Wm);}return this.i.e(this.Sp(a))};I[_P].vw=function(){return":"+ar++};I[_P].wt=function(a,b){this.Ni(a,this.Vj(),b)};I[_P].Ni=function(a,b,c){if(a.mb&&(c||!this.mb)){throw Error(Yh);}if(b<0||b>this.Vj()){throw Error("Child component index out of bounds");}a.Or(this);if(!this.Bb||!this.ha){this.Bb={};this.ha=[]}ym(this.Bb,
a.w(),a);Jl(this.ha,a,b);if(c){if(!this.b){this.l()}var d=this.Uj(b+1);a.jr(this.b,d?d.b:null)}else{if(this.mb&&!a.mb&&a.b){a.L()}}};I[_P].Vj=function(){return this.ha?this.ha[i]:0};I[_P].be=function(a){return this.Bb&&a?Am(this.Bb,a)||null:null};I[_P].Uj=function(a){return this.ha?this.ha[a]||null:null};I[_P].Ia=function(a,b){if(this.ha){vc(this.ha,a,b)}};I[_P].wk=function(a){return this.ha&&a?wh(this.ha,a):-1};I[_P].removeChild=function(a,b){if(a){var c=Xa(a)?a:a.w();a=this.be(c);if(c&&a){pg(this.Bb,
c);xh(this.ha,a);if(b){a.ka();if(a.b){ba(a.b)}}a.Or(null)}}if(!a){throw Error("Child is not in parent component");}return a};;;var Xc=function(a,b){R.call(this);this.td=a||1;this.Zf=b||ie;this.Xi=D(this.nB,this);this.Kk=Fa()};Xc.a(R);Xc[_P].enabled=false;var ie=ga.window,Gp=0.8;Xc[_P].Qc=null;Xc[_P].setInterval=function(a){this.td=a;if(this.Qc&&this.enabled){this.stop();this.start()}else if(this.Qc){this.stop()}};Xc[_P].nB=function(){if(this.enabled){var a=Fa()-this.Kk;if(a>0&&a<this.td*Gp){this.Qc=this.Zf.setTimeout(this.Xi,this.td-a);return}this.kv();if(this.enabled){this.Qc=this.Zf.setTimeout(this.Xi,this.td);this.Kk=
Fa()}}};Xc[_P].kv=function(){this.dispatchEvent("tick")};Xg(Xc[_P],function(){this.enabled=true;if(!this.Qc){this.Qc=this.Zf.setTimeout(this.Xi,this.td);this.Kk=Fa()}});Yg(Xc[_P],function(){this.enabled=false;this.Zf.clearTimeout(this.Qc);this.Qc=null});Xc[_P].c=function(){if(!this.O()){R[_P].c.call(this);this.stop();this.Zf=null}};var Yc=function(a,b,c){if(te(a)){if(c){a=D(a,c)}}else if(a&&typeof a.kc=="function"){a=D(a.kc,a)}else{throw Error("Invalid listener argument");}return ie.setTimeout(a,
b||0)},Ri=function(a){ie.clearTimeout(a)};var Kq=null,Lq=null,Hq=null,Mq=function(a,b){Kq=a;Lq=b;Hq=null},Iq=function(){var a=wm();if(a){return new ActiveXObject(a)}else{return new XMLHttpRequest}},Jq=function(){var a=wm(),b={};if(a){b[0]=true;b[1]=true}return b};Mq(Iq,Jq);var Fj=null,wm=function(){if(!Fj&&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);Fj=c;return c}catch(d){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");
}return Fj};;var Gq=function(){if(!u)return;this.ZB={};this.RC={};this.si=[]};Gq[_P].v=kd("goog.net.xhrMonitor");;var cc=function(a,b,c){this.M=a;this.td=b||0;this.Q=c;this.qu=D(this.Rn,this)};cc.a(uc);cc[_P].t=0;cc[_P].c=function(){if(!this.O()){cc.g.c.call(this);this.stop();this.M=null;this.Q=null}};Xg(cc[_P],function(a){this.stop();this.t=Yc(this.qu,ea(a)?a:this.td)});Yg(cc[_P],function(){if(this.up()){Ri(this.t)}this.t=0});cc[_P].Fv=function(){this.Rn();this.stop()};cc[_P].ho=function(){if(this.up()){this.Fv()}};cc[_P].up=function(){return this.t!=0};cc[_P].Rn=function(){this.t=0;if(this.M){this.M.call(this.Q)}};var bg=function(a,b){ma(a,b)},ag=function(a){var b=a[Ob];return b&&typeof b.split=="function"?b.split(" "):[]},Da=function(a,b){var c=ag(a),d=Ui(arguments,1),e=1;for(var f=0;f<d[i];f++){if(!je(c,d[f])){c.push(d[f]);e&=1}else{e&=0}}ma(a,c.join(" "));return Ag(e)},Hb=function(a,b){var c=ag(a),d=Ui(arguments,1),e=0;for(var f=0;f<c[i];f++){if(je(d,c[f])){Vi(c,f--,1);e++}}ma(a,c.join(" "));return e==d[i]},Gb=function(a,b){return je(ag(a),b)};var Zl=function(a,b){if(u){a.setAttributeNS("http://www.w3.org/1999/xhtml","role","wairole:"+b);a.BC=b}},dj=function(a,b,c){if(u){a.setAttributeNS("http://www.w3.org/2005/07/aaa",b,c)}};var om=function(a){return 1-p.pow(1-a,3)},Ab=function(a,b,c,d){R.call(this);if(!La(a)||!La(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.Uf=a;this.tv=b;this.Kj=c;this.Dm=d;this.Zc=[]};Ab.a(R);var ff=[],qe=null,mm=function(){ie.clearTimeout(qe);var a=Fa();vc(ff,function(b){if(b){b.Dn(a)}});qe=ff[i]==0?null:ie.setTimeout(mm,20)},sq=function(a){if(!je(ff,a)){ff.push(a)}if(qe==null){qe=ie.setInterval(mm,
20)}},Gh=function(a){xh(ff,a);if(ff[i][i]==0&&qe!=null){ie.clearInterval(qe);qe=null}};Ab[_P].Ea=0;Ab[_P].ko=0;Ab[_P].$a=0;Ab[_P].Tb=null;Ab[_P].ao=null;Ab[_P].Hk=null;Ab[_P].play=function(a){if(a||this.Ea==0){this.$a=0;this.Zc=this.Uf}else if(this.Ea==1){return false}Gh(this);this.Tb=Fa();if(this.Ea==-1){this.Tb-=this.Kj*this.$a}this.ao=this.Tb+this.Kj;this.Hk=this.Tb;if(this.$a==0){this.Fb("begin")}this.Fb("play");if(this.Ea==-1){this.Fb("resume")}this.Ea=1;sq(this);this.Dn(this.Tb);return true};
Yg(Ab[_P],function(a){Gh(this);this.Ea=0;if(a)this.$a=1;this.Rl(this.$a);this.Fb("stop");this.Fb("end")});Ab[_P].pause=function(){if(this.Ea==1){Gh(this);this.Ea=-1;this.Fb("pause")}};Ab[_P].xj=function(){this.stop();this.Fb("destroy");mj(this);for(var a in this){this[a]=null;delete this[a]}};Ab[_P].Dn=function(a){this.$a=(a-this.Tb)/(this.ao-this.Tb);if(this.$a>=1)this.$a=1;this.ko=1000/(a-this.Hk);this.Hk=a;if(te(this.Dm)){this.Rl(this.Dm(this.$a))}else{this.Rl(this.$a)}if(this.$a==1){this.Ea=0;
this.Fb("finish");this.Fb("end");Gh(this)}else if(this.Ea==1){this.Fb("animate")}};Ab[_P].Rl=function(a){this.Zc=new Array(this.Uf[i]);for(var b=0;b<this.Uf[i];b++){this.Zc[b]=(this.tv[b]-this.Uf[b])*a+this.Uf[b]}};Ab[_P].Fb=function(a){this.dispatchEvent(new nm(a,this))};var nm=function(a,b){Sa.call(this,a);this.coords=b.Zc;this.x=b.Zc[0];this.y=b.Zc[1];this.SC=b.Zc[2];this.cC=b.Kj;this.xC=b.$a;this.hC=b.ko;this.Ie=b.Ea;this.PB=b};nm.a(Sa);var $c=function(a,b,c){Qc(this,a);this.jk=b||a;this.Cc=true;this.cf=false;this.Lk=c||new md;this.Ga=this[$][da]||this[$][fa];Kf(this,0);Lf(this,0);this.Ze=0;this.$e=0;t(this.jk,zc,this.js,false,this);t(this.Ga,Fh,this.fq,false,this);t(this.Ga,Gd,this.$n,false,this)};$c.a(R);$c[_P].Gr=function(a){this.Cc=a};$c[_P].c=function(){if(this.O())return;R[_P].c.call(this);qb(this.jk,zc,this.js,false,this);qb(this.Ga,Fh,this.fq,false,this);qb(this.Ga,Gd,this.$n,false,this);delete this[$];delete this.jk};$c[_P].js=
function(a){if(this.Cc&&!this.cf){var b=this.dispatchEvent(new gg("start",this,a[lb],a[mb],a));if(b!==false){Kf(this,a[oc]);Lf(this,a[pc]);this.Ze=this[$][ii];this.$e=this[$][ji];this.cf=true;a.preventDefault()}}};$c[_P].$n=function(a){if(this.cf){this.cf=false;var b=this.Np(this.Ze),c=this.Op(this.$e);this.dispatchEvent(new gg("end",this,a[lb],a[mb],a,b,c))}};$c[_P].fq=function(a){if(this.cf&&this.Cc){var b=a[oc]-this[oc],c=a[pc]-this[pc];this.Ze+=b;this.$e+=c;var d=this.Np(this.Ze),e=this.Op(this.$e);
Kf(this,a[oc]);Lf(this,a[pc]);var f=this.dispatchEvent(new gg("beforedrag",this,a[lb],a[mb],a,d,e));if(f!==false){this.cv(d,e);this.dispatchEvent(new gg("drag",this,a[lb],a[mb],a,d,e));a.preventDefault()}}};$c[_P].Np=function(a){var b=this.Lk,c=typeof b[Ca]!="undefined"?b[Ca]:null,d=typeof b[A]!="undefined"?b[A]:0,e=c!=null?c+d:Infinity,f=c!=null?c:-Infinity;return p.min(e,p.max(f,a))};$c[_P].Op=function(a){var b=this.Lk,c=typeof b.top!="undefined"?b.top:null,d=typeof b[z]!="undefined"?b[z]:0,e=c!=
null?c+d:Infinity,f=c!=null?c:-Infinity;return p.min(e,p.max(f,a))};$c[_P].cv=function(a,b){nb(this[$][k],a+"px");this[$][k].top=b+"px"};var gg=function(a,b,c,d,e,f,g){Sa.call(this,a);ib(this,a);Rg(this,c);Sg(this,d);this.gu=e;nb(this,ea(f)?f:b.Ze);this.top=ea(g)?g:b.$e;this.bC=b};gg.a(Sa);var G=function(a,b,c){a[k][Xh(b)]=c},of=function(a,b){return a[k][Xh(b)]},Vm=function(a,b){var c=ua(a);if(c[dd]&&c[dd].getComputedStyle){var d=c[dd].getComputedStyle(a,"");if(d){return d[b]}}return null},Tm=function(a,b){return a[Qd]?a[Qd][b]:null};var Wh=function(a,b,c){var d,e;if(b instanceof og){d=b.x;e=b.y}else{d=b;e=c}nb(a[k],typeof d=="number"?p.round(d)+"px":d);a[k].top=typeof e=="number"?p.round(e)+"px":e},Um=function(a){var b;if(a){if(a[O]==9){b=a}else{b=ua(a)}}else{b=Dh()}if(s&&b[Ce]!="CSS1Compat"){return b[B]}return b[ud]};
var Mc=function(a,b,c){var d;if(b instanceof ya){d=b[z];b=b[A]}else{d=c}ia(a[k],typeof b=="number"?p.round(b)+"px":b);pa(a[k],typeof d=="number"?p.round(d)+"px":d)},Ac=function(a){if((Vm(a,"display")||Tm(a,"display")||a[k].display)!="none"){return new ya(a[He],a[gd])}var b=a[k],c=b.visibility,d=b.position;Zg(b,"hidden");Yd(b,"absolute");ta(b,"");var e=a[He],f=a[gd];ta(b,"none");Yd(b,d);Zg(b,c);return new ya(e,f)},Xh=function(a){return va(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})},
pf=function(a,b){var c=a[k];if("opacity"in c){Vg(c,b)}else if("MozOpacity"in c){c.MozOpacity=b}else if("KhtmlOpacity"in c){c.KhtmlOpacity=b}else if("filter"in c){c.filter="alpha(opacity="+b*100+")"}},V=function(a,b){ta(a[k],b?"":"none")},Yq=function(a,b){var c=Ra(b),d=null;if(s){d=c.k().createStyleSheet()}else{var e=c.im("head")[0];if(!e){var f=c.im("body")[0];e=c.l("head");f[n].insertBefore(e,f)}d=c.l("style");c.appendChild(e,d)}Zq(d,a);return d},Zq=function(a,b){if(s){Gf(a,b)}else{var c=ra?"innerText":
"innerHTML";a[c]=b}};var J=function(a,b,c){I.call(this,c);this.ia=a||"modal-dialog";this.Yl=!(!b);this.zc=Ym};J.a(I);J[_P].ia=null;J[_P].Yl=false;J[_P].eq=true;J[_P].Tn=true;J[_P].tz=0.3;J[_P].N="";J[_P].Ue="";J[_P].zc=null;J[_P].Ud=null;J[_P].yb=false;J[_P].T=null;J[_P].U=null;J[_P].ab=null;J[_P].Ub=null;J[_P].Ml=null;J[_P].Jd=null;J[_P].$b=null;J[_P].eb=null;J[_P].Ja=function(){return"goog.ui.Dialog"};J[_P].Wr=function(a){this.N=a;if(this.Ub){yc(this.Ub,a)}};J[_P].ek=function(){return this.N};J[_P].Pu=function(){var a=
new $c(this.b,this.ab);Da(this.ab,this.ia+"-title-draggable");return a};J[_P].l=function(){this.Wp();this.b=this.i.l("div",{className:this.ia,tabIndex:0},this.ab=this.i.l("div",{className:this.ia+"-title",id:this.w()},this.Ub=this.i.l("span",{className:this.ia+"-title-text"},this.N),this.Jd=this.i.l("span",{className:this.ia+"-title-close"})),this.$b=this.i.l("div",{className:this.ia+"-content"}),this.eb=this.i.l("div",{className:this.ia+"-buttons"}));this.Ml=this.ab.id;Zl(this.b,"dialog");dj(this.b,
"labelledby",this.Ml);if(this.Ue){M(this.$b,this.Ue)}V(this.b,false);if(this.zc){this.zc.Pm(this.eb)}};J[_P].Wp=function(){if(this.Yl&&!this.U){this.U=this.i.l("iframe",{frameborder:0,style:"border: 0",className:this.ia+"-bg"});V(this.U,false);pf(this.U,0)}else if(!this.Yl&&this.U){ba(this.U);this.U=null}if(this.eq&&!this.T){this.T=this.i.l("div",{className:this.ia+"-bg"});pf(this.T,this.tz);V(this.T,false)}else if(!this.eq&&this.T){ba(this.T);this.T=null}};J[_P].tb=function(a){if(this.ca()){throw Error(Yh);
}if(!this.b){this.l()}var b=a||this.i.k()[B];this.ir(b);J.g.tb.call(this,b)};J[_P].ir=function(a){if(this.U){a.appendChild(this.U)}if(this.T){a.appendChild(this.T)}};J[_P].pg=function(a){return a&&a[oa]&&a[oa]=="DIV"&&J.g.pg.call(this,a)};J[_P].Gn=function(a){this.b=a;Da(this.b,this.ia);var b=this.ia+"-content";this.$b=cg(this.b,function(g){return g[O]==1&&Gb(g,b)});if(this.$b){this.Ue=this.$b[cb]}else{this.$b=this.i.l("div",{className:b});if(this.Ue){M(this.$b,this.Ue)}this.b.appendChild(this.$b)}var c=
this.ia+"-title",d=this.ia+"-title-text",e=this.ia+"-title-close";this.ab=cg(this.b,function(g){return g[O]==1&&Gb(g,c)});if(this.ab){this.Ub=cg(this.ab,function(g){return g[O]==1&&Gb(g,d)});this.Jd=cg(this.ab,function(g){return g[O]==1&&Gb(g,e)})}else{this.ab=this.i.l("div",{className:c});this.b.insertBefore(this.ab,this.$b)}if(this.Ub){this.N=Eh(this.Ub)}else{this.Ub=this.i.l("span",{className:d},this.N);this.ab.appendChild(this.Ub)}dj(this.b,"labelledby",this.Ml);if(!this.Jd){this.Jd=this.i.l("span",
{className:e},this.N);this.ab.appendChild(this.Jd)}var f=this.ia+"-buttons";this.eb=cg(this.b,function(g){return g[O]==1&&Gb(g,f)});if(this.eb){this.zc=new Lb(this.i);this.zc.Fn(this.eb)}else{this.eb=this.i.l("div",{className:f});this.b.appendChild(this.eb);if(this.zc){this.zc.Pm(this.eb)}}this.Wp();this.ir(ua(this.b)[B])};J[_P].L=function(){J.g.L.call(this);if(this.Tn&&!this.Ud){this.Ud=this.Pu()}t(this.Jd,hb,this.Hq,false,this);t(this.eb,hb,this.pq,false,this);Zl(this.b,"dialog");if(this.Ub.id!==
""){dj(this.b,"labelledby",this.Ub.id)}};J[_P].ka=function(){qb(this.Jd,hb,this.Hq,this);qb(this.eb,hb,this.pq,this);if(this.le()){this.Sb(false)}if(this.Ud){this.Ud.c();this.Ud=null}J.g.ka.call(this)};J[_P].Sb=function(a){if(a==this.yb){return}var b=this.i.k(),c=eg(b)||window;if(!this.ca()){this.tb(b[B])}if(a){this.pr();this.ye();t(b,$e,this.Cq,true,this);t(c,oe,this.Gq,true,this)}else{qb(b,$e,this.Cq,true,this);qb(c,oe,this.Gq,true,this)}if(this.U){V(this.U,a)}if(this.T){V(this.T,a)}V(this.b,a);
if(a&&this.mf().so()){var d=this.eb.getElementsByTagName("button");for(var e=0,f;f=d[e];e++){if(f[Pc]==this.mf().so()){f.focus();break}}}this.yb=a};J[_P].le=function(){return this.yb};J[_P].pr=function(){if(this.U){V(this.U,false)}if(this.T){V(this.T,false)}var a=this.i.k(),b=eg(a)||window,c=Ze(b),d=a[B].scrollWidth,e=p.max(a[B][Ff],c[z]);if(this.U){V(this.U,true);Mc(this.U,d,e)}if(this.T){V(this.T,true);Mc(this.T,d,e)}if(this.Tn){var f=Ac(this.b);this.Ud.Lk=new md(0,0,d-f[A],e-f[z])}};J[_P].ye=function(){var a=
this.i.k(),b=eg(a)||window,c=dg(b),d=c.x,e=c.y,f=Ac(this.b),g=Ze(b),h=p.max(d+g[A]/2-f[A]/2,0),j=p.max(e+g[z]/2-f[z]/2,0);Wh(this.b,h,j)};J[_P].Hq=function(a){var b=this.mf(),c=b.eh();if(c){var d=b.ra(c);if(this.dispatchEvent(new Zh(c,d))){this.Sb(false)}}else{this.Sb(false)}};J[_P].c=function(){if(!this.O()){J.g.c.call(this);if(this.T){ba(this.T);this.T=null}if(this.U){ba(this.U);this.U=null}}};J[_P].mf=function(){return this.zc};J[_P].pq=function(a){if(a[$][oa]=="BUTTON"){var b=a[$][Pc],c=this.mf().ra(b);
if(this.dispatchEvent(new Zh(b,c))){this.Sb(false)}}};J[_P].Cq=function(a){if(a[db]==27){var b=this.mf();if(b.eh()){var c=b.ra(b.eh());if(this.dispatchEvent(new Zh(b.eh(),c))){this.Sb(false)}}else{this.Sb(false)}}};J[_P].Gq=function(a){this.pr()};var Zh=function(a,b){ib(this,"dialogselect");this.ob=a;this.caption=b};Zh.a(Sa);var Lb=function(a){this.i=a||Ra();Ga.call(this)},Ym;Lb.a(Ga);Lb[_P].Hn=null;Lb[_P].b=null;Lb[_P].bn=null;Lb[_P].C=function(a,b,c,d){Ga[_P].C.call(this,a,b);if(c){this.Hn=a}if(d){this.bn=
a}};Lb[_P].Pm=function(a){this.b=a;this.tb()};Lb[_P].tb=function(){if(this.b){M(this.b,"");var a=Ra(this.b);Vh(this,function(b,c){this.b.appendChild(a.l("button",{name:c},b))},this)}};Lb[_P].Fn=function(a){if(!a||a[O]!=1){return}this.b=a;var b=this.b.getElementsByTagName("button");for(var c=0,d,e,f;d=b[c];c++){e=d[Pc]||d.id;f=Eh(d)||d[wa];if(e){this.C(e,f,c==0,d[Pc]=="cancel")}}};Lb[_P].so=function(){return this.Hn};Lb[_P].eh=function(){return this.bn};(function(){var a=ec("OK"),b=ec("Cancel"),c=
ec("Yes"),d=ec("No"),e=ec("Save"),f=ec("Continue"),g=new Lb;g.C("ok",a,true);g.C("cancel",b,false,true);Ym=g;var h=new Lb;h.C("yes",c,true);h.C("no",d,false,true);var j=new Lb;j.C("yes",c);j.C("no",d,true);j.C("cancel",b,false,true);var l=new Lb;l.C("continue",f);l.C("save",e);l.C("cancel",b,true,true)})();;var hg=function(a,b,c,d,e){Ab.call(this,b,c,d,e);this.ef=a};hg.a(Ab);var Hh=function(a,b,c,d,e){hg.call(this,a,[b],[c],d,e);var f=["begin","animate","end"];t(this,f,this.Uz,false,this)};Hh.a(hg);Hh[_P].Uz=function(a){pa(this.ef[k],p.round(a.x)+"px")};var gf=function(a,b,c,d,e){if(Nh(b))b=[b];if(Nh(c))c=[c];hg.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"];t(this,f,this.Av,false,this)};gf.a(hg);gf[_P].Av=function(a){pf(this.ef,
a.x)};gf[_P].tc=function(a){ta(this.ef[k],"")};gf[_P].lc=function(a){ta(this.ef[k],"none")};var oj=function(a,b,c){gf.call(this,a,1,0,b,c);t(this,"begin",this.tc,false,this);t(this,"end",this.lc,false,this)};oj.a(gf);var eq=function(a,b){var c=a[da]||a[fa];if(fq(a)){a.selectionStart=b;a.selectionEnd=b}else if(c[Og]&&a.createTextRange){var d=a.createTextRange();d.collapse(true);d.move("character",b);d.select()}},fq=function(a){try{return typeof a.selectionStart=="number"}catch(b){return false}};;var Tb=function(a){R.call(this);if(a){this.Qt(a)}};Tb.a(R);Tb[_P].b=null;Tb[_P].wd=null;Tb[_P].Cf=null;Tb[_P].Mh=-1;Tb[_P].Mp=0;var gm={"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},fm={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,
F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45};Tb[_P].kc=function(a){var b=a.hd(),c=b[db],d=b.which,e=c||d,f=b.keyIdentifier;if(d){if(d>=63232&&d in gm){e=gm[d]}else{if(d==25&&a[Ud]){e=9}else{var g=d-32;if(va.fromCharCode(d)==va.fromCharCode(g).toLowerCase()){e=g}}}}else if(f&&f in fm){e=fm[f]}var h=e==this.Mh;this.Mh=e;if(ra&&h){if(b.timeStamp-this.Mp<10){return}this.Mp=b.timeStamp}var j=new em(e,h,b);try{this.dispatchEvent(j)}finally{j.c()}};
Tb[_P].vx=function(a){this.Mh=-1};Tb[_P].Qt=function(a){if(this.Cf&&this.wd){this.detach()}this.b=a;var b=s?$e:af;this.wd=t(this.b,b,this);this.Cf=t(this.b,"keyup",this.vx,false,this)};Tb[_P].detach=function(){if(this.Cf&&this.wd){Ua(this.wd);Ua(this.Cf);this.wd=null;this.Cf=null}this.b=null;this.Mh=-1};Tb[_P].c=function(){if(!this.O()){Tb.g.c.call(this);this.detach()}};var em=function(a,b,c){ja.call(this,c);ib(this,"key");Hf(this,a);this.zC=b};em.a(ja);var rb=function(){this.Wc=s?[]:"";for(var a=0;a<arguments[i];a++){this.f(arguments[a])}};rb[_P].f=function(){if(s){for(var a=0;a<arguments[i];a++){this.Wc.push(arguments[a])}}else{for(var a=0;a<arguments[i];a++){this.Wc+=arguments[a]}}return this};qc(rb[_P],function(){if(s){Eb(this.Wc,0)}else{this.Wc=""}});eb(rb[_P],function(){if(s){var a=this.Wc.join("");this.clear();if(a){this.Wc.push(a)}return a}else{return this.Wc}});var hc=function(a){this.Nk=a||100;this.xc=[]};hc[_P].If=0;hc[_P].add=function(a){this.xc[this.If]=a;this.If=(this.If+1)%this.Nk};hc[_P].ra=function(a){a=this.kq(a);return this.xc[a]};hc[_P].C=function(a,b){a=this.kq(a);this.xc[a]=b};hc[_P].Ya=function(){return this.xc[i]};hc[_P].nc=function(){return this.xc[i]==0};qc(hc[_P],function(){Eb(this.xc,0);this.If=0});hc[_P].kb=function(){return this.uw(this.Ya())};hc[_P].uw=function(a){var b=this.Ya(),c=this.Ya()-a,d=[];for(var e=c;e<b;e++){d[e]=this.ra(e)}return d};
hc[_P].ic=function(){var a=[],b=this.Ya();for(var c=0;c<b;c++){a[c]=c}return a};hc[_P].Zb=function(a){return a<this.Ya()};hc[_P].kq=function(a){if(a>=this.xc[i]){throw Error("Out of bounds exception");}if(this.xc[i]<this.Nk){return a}return(this.If+Na(a))%this.Nk};var Ja=function(a,b){this.Ih=a||"";this.ci=b||"";this.Vk=[];this.el=new hc(500);this.Nf=D(this.Sk,this);this.ah=new Zi(this.ci);this.Cv={};this.gl(true);this.Cc=this.ro("enabled")=="1";ga.setInterval(D(this.cA,this),7500)};Ja[_P].JB="LOGGING";Ja[_P].q=null;Ja[_P].am=false;Ja[_P].Jh=false;Ja[_P].Wm=null;Ja[_P].Hp=Fa();Ja[_P].zf=function(){if(this.Cc){this.Uk()}};Ja[_P].Gr=function(a){this.Cc=a;if(this.Cc){this.Uk();if(this.q){this.Rs()}}this.Cr("enabled",a?1:0)};Ja[_P].gl=function(a){if(a==this.Jh){return}this.Jh=
a;var b=Nl();if(a){b.Im(this.Nf)}else{b.hr(this.Nf)}};Ja[_P].Oi=function(){this.Ss("<hr>")};Ja[_P].Sk=function(a){if(this.Cv[a.bk()]){return}var b=this.ah.$g(a);this.Ss(b)};Ja[_P].Ss=function(a){if(this.Cc){this.Uk();this.el.add(a);this.bm(a)}else{this.el.add(a)}};Ja[_P].bm=function(a){this.Vk.push(a);ga.clearTimeout(this.Wm);if(Fa()-this.Hp>750){this.Qs()}else{this.Wm=ga.setTimeout(D(this.Qs,this),250)}};Ja[_P].Qs=function(){this.Hp=Fa();if(this.q){var a=this.q[fa][B],b=a&&a[Ff]-(a[Ng]+a[Pb])<=100;
this.q[fa].write(this.Vk.join(""));Eb(this.Vk,0);if(b){this.q.scrollTo(0,1000000)}}};Ja[_P].LB=function(){var a=this.el.kb();for(var b=0;b<a[i];b++){this.bm(a[b])}};Ja[_P].Uk=function(){if(this.q&&!this.q.closed||this.am){return}var a=this.ro("dbg","0,0,800,500").split(","),b=Na(a[0]),c=Na(a[1]),d=Na(a[2]),e=Na(a[3]);this.am=true;this.q=window.open("","dbg"+this.Ih,"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.jB){alert("Logger popup was blocked");
this.jB=true}}this.am=false;if(this.q){this.Rs()}};Ja[_P].Rs=function(){if(!this.q){return}this.q[fa].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.JB+"<br><small>Logger: "+this.Ih+"</small></div><hr>";this.bm(a);this.LB()};Ja[_P].Cr=function(a,b){a+=this.Ih;S.cookie=a+"="+jc(b)+";expires="+
(new Date(Fa()+2592000000)).toUTCString()};Ja[_P].ro=function(a,b){a+=this.Ih;var c=va(S.cookie),d=c.indexOf(a+"=");if(d!=-1){var e=c.indexOf(";",d);return rd(c.substring(d+a[i]+1,e==-1?c[i]:e))}else{return b||""}};Ja[_P].cA=function(){if(!this.q||this.q.closed){return}var a=this.q[oc]||this.q.screenLeft||0,b=this.q[pc]||this.q.screenTop||0,c=this.q.outerWidth||800,d=this.q.outerHeight||500;this.Cr("dbg",a+","+b+","+c+","+d)};;;;;;;;;;var la=function(a,b){this.Q=new Ta(this);this.uA(a);if(b){this.Tf(b)}};la.a(R);var Pj="toggle_display";la[_P].b=null;la[_P].Xt=true;la[_P].me=false;la[_P].cB=false;la[_P].Kp=-1;la[_P].Jp=-1;la[_P].aa=Pj;la[_P].ge=function(){return this.aa};la[_P].Tf=function(a){this.aa=a};la[_P].e=function(){return this.b};la[_P].uA=function(a){this.wv();this.b=a};la[_P].wv=function(){if(this.me){throw Error("Can not change this state of the popup while showing.");}};la[_P].le=function(){return this.me};la[_P].Sb=
function(a){if(a){if(!this.b){throw Error("Caller must call setElement before trying to show thepopup");}this.zl()}else{this.tk()}};la[_P].kr=function(){};la[_P].zl=function(){if(this.me){return}if(!this.Gy()){return}this.kr();if(this.Xt){var a=ua(this.b);this.Q.j(a,zc,this.tq,true);if(s){var b=a[xf];while(b&&b[na]=="IFRAME"){try{var c=ra?b[fa]||b[De][fa]:b.contentDocument||b[De][fa]}catch(d){break}a=c;b=a[xf]}this.Q.j(a,zc,this.tq,true);this.Q.j(a,"deactivate",this.sq)}else{this.Q.j(a,"blur",this.sq)}}if(this.aa==
Pj){Zg(this.b[k],"visible");V(this.b,true)}else if(this.aa=="move_offscreen"){this.kr()}this.me=true;this.Yh()};la[_P].tk=function(a){if(this.me){if(!this.Fy(a)){return}if(this.Q){this.Q.Ed()}if(this.aa==Pj){if(this.cB){Yc(this.gp,0,this)}else{this.gp()}}else if(this.aa=="move_offscreen"){this.By()}this.me=false;this.Ry(a)}};la[_P].gp=function(){Zg(this.b[k],"hidden");V(this.b,false)};la[_P].By=function(){nb(this.b[k],"-200px");this.b[k].top="-200px"};la[_P].Gy=function(){return this.dispatchEvent("beforeshow")};
la[_P].Yh=function(){this.Kp=Fa();this.Jp=-1;this.dispatchEvent("show")};la[_P].Fy=function(a){return this.dispatchEvent({type:"beforehide",target:a})};la[_P].Ry=function(a){this.Jp=Fa();this.dispatchEvent({type:"hide",target:a})};la[_P].tq=function(a){if(!Zc(this.b,a[$])){this.tk(a[$])}};la[_P].sq=function(a){var b=ua(this.b);if(s){var c=b[xf];if(c&&Zc(this.b,c)){return}}else if(a[$]!=b){return}if(Fa()-this.Kp<150){return}this.tk()};la[_P].c=function(){if(!this.O()){la.g.c.call(this);this.Q.c();
this.b=null;this.Q=null}};;;var le=function(){this.Hb=[];this.Wk=new Ga;this.Tb=0;this.Bs=0;this.As=0;this.Pl=0;this.Hd=new Ga;this.zs=0;this.ij=0;this.Dy=1;this.Tg=new Ya(0,4000);this.Tg.We=function(){return new cj};this.Cl=new Ya(0,50);this.Cl.We=function(){return new Sl};var a=this;this.uk=new Ya(0,2000);this.uk.We=function(){return va(a.Dy++)};this.uk.Ej=function(){};this.dv=3};le[_P].v=kd("goog.debug.Trace");var Sl=function(){this.fb=0;this.rs=0;this.$l=0};eb(Sl[_P],function(){var a=[];a.push(this[N]);a.push(" ");a.push(this.fb);
a.push(" (");a.push(p.round(this.rs*10)/10);a.push(" ms)");if(this.$l){a.push(" [VarAlloc = ");a.push(this.$l);a.push("]")}return a.join("")});var cj=function(){};cj[_P].pB=function(a,b,c){var d=[];if(b==-1){d.push("    ")}else{d.push(Ul(this.Ug-b))}d.push(" ");d.push(Tl(this.Ug-a));if(this.Vg==0){d.push(" Start        ")}else if(this.Vg==1){d.push(" Done ");var e=this.HC-this.ls;d.push(Ul(e));d.push(" ms ")}else{d.push(" Comment      ")}d.push(c);d.push(this.toString());if(this.ys>0){d.push("[VarAlloc ");
d.push(this.ys);d.push("] ")}return d.join("")};eb(cj[_P],function(){if(this[N]==null){return this.pn}else{return"["+this[N]+"] "+this.pn}});Zd(le[_P],function(a){this.dv=a;for(var b=0;b<this.Hb[i];b++){var c=this.Tg.id;if(c){this.uk.sb(c)}this.Tg.sb(this.Hb[b])}Eb(this.Hb,0);this.Wk.clear();this.Tb=Bh();this.Bs=0;this.As=0;this.Pl=0;this.zs=0;this.ij=0;var d=this.Hd.ic();for(var b=0;b<d[i];b++){var e=d[b],f=this.Hd.ra(e);f.fb=0;f.rs=0;f.$l=0;this.Cl.sb(f)}this.Hd.clear()});le[_P].Vw=function(){var a=
this.Fc;if(a&&a.isTracing()){return a.totalVarAlloc}return-1};le[_P].Hm=function(a,b,c){var d=Bh(),e=c?c:d,f=this.Tg.ib();f.Vg=2;f.Ug=e;ib(f,b);f.pn=a;f.ys=this.Vw();this.ij++;if(c){var g=this.Hb[i];for(var h=0;h<g;h++){var j=this.Hb[h],l=j.Ug;if(l>e){Jl(this.Hb,f,h);break}}if(h==g){this.Hb.push(f)}}else{this.Hb.push(f)}var m=f[N];if(m){var q=this.Mw(m);q.fb++}this.Pl+=Bh()-d};le[_P].Mw=function(a){var b=this.Hd.ra(a);if(!b){b=this.Cl.ib();ib(b,a);this.Hd.C(a,b)}return b};eb(le[_P],function(){var a=
[],b=-1,c=[];for(var d=0;d<this.Hb[i];d++){var e=this.Hb[d];if(e.Vg==1){c.pop()}a.push(" ");a.push(e.pB(this.Tb,b,c.join("")));b=e.Ug;a.push("\n");if(e.Vg==0){c.push("|  ")}}if(this.Wk.Ya()!=0){var f=Bh();a.push(" Unstopped timers:\n");Vh(this.Wk,function(j){a.push("  ");a.push(j.toString());a.push(" (");a.push(f-j.ls);a.push(" ms, started at ");a.push(Tl(j.ls));a.push(")\n")})}var g=this.Hd.ic();for(var d=0;d<g[i];d++){var h=this.Hd.ra(g[d]);if(h.fb>1){a.push(" TOTAL ");a.push(h.toString());a.push("\n")}}a.push("Total tracers created "+
this.zs+"\n");a.push("Total comments created "+this.ij+"\n");a.push("Overhead start: "+this.Bs+" ms\n");a.push("Overhead end: "+this.As+" ms\n");a.push("Overhead comment: "+this.Pl+" ms\n");return a.join("")});var Ul=function(a){a=p.round(a);var b="";if(a<1000)b=" ";if(a<100)b="  ";if(a<10)b="   ";return b+a},Tl=function(a){a=p.round(a);var b=a/1000%60,c=a%1000;return va(100+b).substring(1,3)+"."+va(1000+c).substring(1,4)},Bh=function(){return Fa()},Ah=new le;var bf=function(a){R.call(this);this.b=a;var b=s?"propertychange":"input";this.wd=t(this.b,b,this)};bf.a(R);bf[_P].kc=function(a){var b=a.hd();if(b[N]=="propertychange"&&b.propertyName=="value"||b[N]=="input"){if(s){var c=b[Wd];if(c!=ua(c)[xf]){return}}var d=new ja(b);ib(d,"input");try{this.dispatchEvent(d)}finally{d.c()}}};bf[_P].c=function(){if(!this.O()){bf.g.c.call(this);Ua(this.wd);this.b=null}};;;var Wi=function(){this.Nf=D(this.Sk,this);this.ah=new bj;this.ah.wl=false;this.Jh=false;this.my=""};Wi[_P].gl=function(a){if(a==this.Jh){return}var b=Nl();if(a){b.Im(this.Nf)}else{b.hr(this.Nf);this.uC=""}};Wi[_P].Sk=function(a){var b=this.ah.$g(a);if(window[sd]&&window[sd].firebug){switch(a.kh()){case Rl:window[sd].info(b);break;case $i:window[sd].error(b);break;case aj:window[sd].warn(b);break;default:window[sd].debug(b);break}}else if(window[sd]){window[sd].log(b)}else{this.my+=b}};var Xi=null,
Sp=function(){if(!Xi){Xi=new Wi}if(S[Cb][Ge].indexOf("Debug=true")!=-1){Xi.gl(true)}};var gr,Mn={},Vr=function(a,b){Mn[a]=b},ug=function(a){return Mn[a]||window[Cb].search&&window[Cb].search.match(a+"=true")!=null},tr=function(){if(window[Cb][Cf]){var a=/#?(\d+)$/.exec(window[Cb][Cf]);if(a&&a[i]!=0){return ka(a[1],10)}}return null},ci=ug("Debug"),tg=yh("presently"),gi=null,Ir=function(a){if(a){ci=a}if(ci){tg.nl(Vp);if(window.console){Sp()}else{var b=new Ja("googpresent");b.Gr(true)}}vb("Debug console initialized")},Jr=function(){return ci},ab=function(a){if(ci){tg.Oa(a);return true}var b=
o("errorConsole");if(b){yc(b,a)}else{alert(a)}return false},as=function(a){tg.Ns(a);return true},yg=function(a,b){var c=(new Date).getTime()-b;tg.fc(a+" ["+c+"ms]");return true},vb=function(a){tg.fc(a);return true},Xr=function(a,b){vr();gi=window.setTimeout(a,b)},vr=function(){if(gi){window.clearTimeout(gi)}gi=null};var On=function(a){var b=Xe("div");M(b,a);return b},Wb=function(a,b){return function(c){return b.call(a,c)}},Nb=function(a,b){if(arguments[i]<2){ab("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){ab("createTimeoutClosure: Both arguments, func and delay, are required.");return null}return function(){Xr(a,b)}},ur=function(a){if(a&&a[k]&&a[k][Fe]){li(a[k],null)}};var Zb=function(a,b){return b?Hb(a,"invisible_"):Da(a,"invisible_")},Xb=function(a){a=a||window[Ee];if(a.stopPropagation){a.stopPropagation()}else{a.cancelBubble=true}if(a.preventDefault){a.preventDefault()}else{Jf(a,
false)}return false},Gn=null,Wr=function(a){Gn=a},yn=function(){return Gn||"/"},Ur=function(a){if(typeof window[Cb].assign=="function"){window[Cb].assign(a)}else if(typeof window[Cb].replace=="function"){window[Cb].replace(a)}else if(self[Cb][Ge]){Ug(self[Cb],a)}else{window.location=a}},sr=function(){switch(Br()){case 0:Ur("/DocAction?action=unsupported_browser&product=presentations");break;case 1:Yr(M_UNSUPPORTED_BROWSER_VERSION);break;default:}},Br=function(){if(ug("browserok")){return 2}if(s){if(ka(Kd,
10)<6){return 0}}else if(u){if(wb(Kd)<1.8){return 0}else if(wb(Kd)==1.8){var a=Kd.split(".");if(a[2]==0&&a[3]<12){return 1}}}else if(ra){if(sg){return 2}if(ka(Kd,10)>500){return 1}return 0}else{return 0}return 2},Yr=function(a,b){b=b||S[B];var c=Xe("DIV",{className:"page-warning"},a);b.insertBefore(c,b[Z])},wr=function(a){if(s){var b=We("img",null,a);if(b){for(var c=b[i]-1;c>=0;c--){var d=b[c],e=d[n];li(e[k],"1px");e[k].filter=(new rb("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='",d.src,
"',sizingMethod='scale')")).toString();ba(d)}}}},Uj=function(a,b){var c=a.cloneNode(b);Kn(c);return c},Kr=function(a){return a[O]==1},Kn=function(a){a.removeAttribute("id");var b=cq(a,Kr);vc(b,function(c){c.removeAttribute("id")})},xr=function(a,b){var c=[];sn(a,b,c,false);return c},sn=function(a,b,c,d){if(a!=null){a.Ia(function(e){if(b(e)){c.push(e);if(d){return}}sn(e,b,c,d)})}},Ln=function(a){if(!a.ca()){var b=a.od();a.tb(b?b.e():null)}a.Ia(Ln)},rr=function(a,b,c,d){return t(a,b,function(e){cf(c,
b,!(!d),e)})},Rr=function(a){var b={};vc(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 rb;Ph(a,function(c,d){b.f(d).f(":").f(c).f(";")});return b.toString()},Zr=function(a,b,c){var d=new rb(a);if(b){d.f("?").f(Lr(b))}if(c){d.f("#").f(c)}return d.toString()},Lr=function(a){var b=[],c=[];for(var d in a){var e=a[d];if(ea(e)&&!gc(e)){if(!Xa(e)){e=mg(e)}b.push(d);c.push(e)}}return Tr(b,c)},Tr=function(a,b){var c=[];
for(var d=0,e=p.min(a[i],b[i]);d<e;d++){var f=b[d];if(ea(f)&&!gc(f)){c.push(jc(a[d])+"="+jc(f))}}return c.join("&")};Ub("_initConsole",Ir);Ub("_perf",yg);Ub("_isDebug",Jr);Ub("_setPathPrefix",Wr);Ub("_getPathPrefix",yn);Ub("_checkBrowserSupport",sr);Ub("_convertImagesToFiltered",wr);Ub("_setFlag",Vr);var E=function(a){I.call(this,a)};E.a(I);E[_P].H=function(a){var b=new this.constructor;b.F("action","create");b.F("index",-1);if(a){b.Sf(a(b))}return b};E[_P].vg=function(){return Uj(this.e(),false)};E[_P].Du=function(a){var b=this.H(a);this.Ia(function(c){var d=c.Du(a);b.wt(d);b.Gm(d)});return b};E[_P].Gm=function(a){if(a.sk()){this.Km(a)}};E[_P].Cu=function(){var a=this.vg();this.Ia(function(b){a.appendChild(b.Cu())});return a};E[_P].tr=0;E[_P].X=null;E[_P].dc=false;E[_P].Q=null;E[_P].Cg=null;
E[_P].vd=null;E[_P].Wd=null;E[_P].tf=function(){return this.tr};E[_P].IA=function(a){this.tr=a};E[_P].wp=function(){return this.dc};E[_P].Na=function(a){if(this.dc&&!a||!this.dc&&a){if(!this.ca()){throw new Error(Wm);}this.Ia(function(b){b.Na(a)});this.dc=a}};E[_P].md=function(){return this.Q||(this.Q=new Ta(this))};E[_P].A=function(){return this.b?this.b[cb]:this.Cg};E[_P].ak=function(){return this.A()};E[_P].Ca=function(a,b){if(a!=this.A()){if(this.b){M(this.b,a)}else{this.Cg=a}if(!b){this.F("contents",
this.A())}return true}return false};E[_P].Gf=function(a,b,c){if(b!=this.wk(a)){var d=a.wp();if(d){a.Na(false)}this.removeChild(a,true);this.Ni(a,b,true);if(d){a.Na(true)}if(!c){a.F("index",-1)}return true}return false};E[_P].Wh=function(a,b,c){throw new Error("This method must be implemented by a child class");};E[_P].je=function(a,b,c){this.Ni(a,b,true);if(!c){this.Gm(a)}Ln(a)};E[_P].Mg=function(a,b){throw new Error("This method must be implemented by a child class");};E[_P].wc=function(a,b){if(a){var c=
a.children;if(c!=null){var d={};Ph(c,function(U,Q){var za=U.action;if(za=="delete"){this.Mg(this.be(Q),b)}else{var Oa=this.be(Q),$b=U.index;if($b!=null){if(za=="create"){if(Oa){ab('Component.updateInternal: Cannot create already existing child with id="'+Q)}Oa=this.Wh(Q,U.attributes,b)}d[$b]=Oa}if(!Oa){ab('Component.update: Received update for child with id="'+Q+'", but no such child exists!')}Oa.wc(U,b)}},this);var e=Qp(Gj(d),Na);Rp(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.be(m.w())){this.Gf(m,g+h,b)}else{this.je(m,g+h,b)}}}var q=a.attributes;if(q){for(var v in q){this.Kd(v,q[v],b)}}}};E[_P].Kd=function(a,b,c){vb("Component.updateAttribute: Unknown attribute in delta for "+this.toString()+" {"+a+': "'+b+'"}')};E[_P].Ja=function(){return"presently.Component"};eb(E[_P],function(){return(new rb("<")).f(this.Ja()).f(' id="').f(this.w()).f('" revision="').f(this.tf()).f('"/>').toString()});E[_P].$f=function(){throw new Error("Method not supported");
};E[_P].l=function(a){this.b=this.i.l("div",{className:a||"",id:this.w(),AC:this.tf()});M(this.b,this.Cg||"");this.Cg=null};E[_P].ka=function(){this.Na(false);E.g.ka.call(this);this.Wd=null};E[_P].c=function(){if(!this.O()){E.g.c.call(this);if(this.Q){this.Q.c()}this.Q=null}};E[_P].sk=function(){return this.X&&!Qh(this.X)};E[_P].Mv=function(){return this.X||(this.X={})};E[_P].Iu=function(){var a=this.nf("children");if(a){for(var b in a){var c=a[b];if(c.action!="delete"){var d=this.be(b);if("index"in
c){c.index=this.wk(d)}d.Iu()}}}var e=this.X;this.X=null;return e};E[_P].nf=function(a){return this.X?Am(this.X,a):null};E[_P].F=function(a,b){if(!this.X){this.X={}}switch(a){case "children":case "action":case "index":this.X[a]=b;break;default:var c=this.X.attributes;if(!c){c=(this.X.attributes={})}c[a]=b}if(!("action"in this.X)){this.X.action="update"}var d=this.od();if(d){d.Km(this)}};E[_P].wB=function(a){if(this.sk()){switch(a){case "children":case "action":case "index":delete this.X[a];break;default:var b=
this.X.attributes;if(b){delete b[a];if(Qh(b)){delete this.X.attributes}}}if(!this.sk()){var c=this.od();if(c){c.Ql(this)}}}};E[_P].Km=function(a){var b=this.nf("children");if(!b){b={};this.F("children",b)}Cm(b,a.w(),a.Mv())};E[_P].Ql=function(a){var b=false,c=this.nf("children");if(c&&a){b=pg(c,a.w());if(Qh(c)){this.wB("children")}}return b};E[_P].zg=function(a){var b=new md(0,0,100,100),c=false;this.Ia(function(d){if(!c){var e=d.ew(a);if(e){b.fu(e)}else{c=true}}});return c?null:b};E[_P].ew=function(a){if(!this.Wd||
a!=this.vd){this.vd=a||this.vd;if(this.vd){this.Wd=this.zg(this.vd)}}return this.Wd};E[_P].wb=function(){if(this.vd){var a=this.zg(this.vd);if(!tm(a,this.Wd)){this.Wd=a;this.dispatchEvent(this.dh())}}};E[_P].dh=function(){ab("presently.Component#getBoundsEventType is abstract.")};var od=function(a,b,c){Sa.call(this,b,a);Tg(this,c)};od.a(Sa);Tg(od[_P],null);var gn="slide_title_changed",fn="slide_bounds_changed",en="shape_style_changed",we="shape_contents_changed",dn="shape_bounds_changed";var W=function(a){E.call(this,a);this.Je={}};W.a(E);W[_P].aa=null;W[_P].Je=null;W[_P].tj=null;W[_P].Yc="";W[_P].Ja=function(){return"presently.Shape"};W[_P].$f=function(){return(new rb('<div class="')).f(this.Yj()).f('" id="').f(this.w()).f('" revision="').f(this.tf()).f('" style="').f(this.wf()).f('">').f(this.ak()).f("</div>").toString()};W[_P].H=function(a){var b=W.g.H.call(this,a);b.F("contentType",this.Xj());b.Tf(this.ge());b.Tr(Pn(this.Je));b.Ca(this.A());return b};W[_P].Xj=function(){return this.Yc};
W[_P].ge=function(){return this.aa};W[_P].wf=function(){return this.tj};W[_P].Tr=function(a,b){if(a!=this.wf()){this.Je=Rr(a);this.Tl();this.dispatchEvent(en);this.wb();if(!b){this.F("style",this.wf())}return true}return false};W[_P].Tl=function(){this.tj=Pn(this.Je);var a=this.e();if(a){Gf(a[k],this.tj)}};W[_P].Rw=function(){return Eh(On(this.A()))};W[_P].Tf=function(a,b){if(a!=this.aa){this.aa=a;var c=this.e();if(c){ma(c,this.Yj())}this.dispatchEvent("shape_type_changed");this.wb();if(!b){this.F("type",
this.ge())}return true}return false};W[_P].Ca=function(a,b){if(W.g.Ca.call(this,a,b)){this.dispatchEvent(we);this.wb();return true}return false};W[_P].Na=function(a){if(this.dc&&!a||!this.dc&&a){W.g.Na.call(this,a);var b=this.md();if(a){b.j(this.e(),zc,this.Xh,true)}else{b.Fa(this.e(),zc,this.Xh,true)}}};W[_P].l=function(){W.g.l.call(this,this.Yj());this.Tl()};W[_P].oh=function(){var a=this.Ow();return new md(wb(a[Ca]),wb(a.top),wb(a[A]),wb(a[z]))};W[_P].rl=function(a){if(!tm(this.oh(),a)){var b=
this.Je;nb(b,a[Ca]+"%");b.top=a.top+"%";ia(b,a[A]+"%");pa(b,a[z]+"%");this.Tl();this.F("style",this.wf());this.dispatchEvent(en);this.wb()}};W[_P].zg=function(a){return a&&this.ca()&&this.e()?this.oh():null};W[_P].dh=function(){return dn};W[_P].Ow=function(){var a=this.Je;if(!a[A]){a=Nq(a);var b=this.e();if(b){var c=this.us(b[ii],b[ji]),d=of(b,"padding");G(b,"padding","0");var e=Ac(b);G(b,"padding",d);var f=this.us(e[A],e[z]);nb(a,c[0]+"%");a.top=c[1]+"%";ia(a,f[0]+"%");pa(a,f[1]+"%")}}return a};
W[_P].Yj=function(){return(new rb(Tj," ",this.Yc," ",this.aa)).toString()};W[_P].us=function(a,b){var c=Ac(this.e()[n]);return[wb(a)/c[A]*100,wb(b)/c[z]*100]};W[_P].Xh=function(a){if(this.Yc==tb.Md){return}this.dispatchEvent({type:"select",gu:a})};W[_P].Kd=function(a,b,c){switch(a){case "type":this.Tf(b,c);break;case "style":this.Tr(b,c);break;case "contents":this.Ca(b,c);break;case "contentType":break;default:W.g.Kd.call(this,a,b,c);break}};var hr=function(a){return a?We("*",Tj,a):[]},jr=function(a){if(a){for(var b in ub){if(Gb(a,
ub[b])){return ub[b]}}}return ub.Li},ir=function(a){if(a){for(var b in tb){if(Gb(a,tb[b])){return tb[b]}}}return tb.fg},tb={ym:"picture",fg:"text",Md:"background",om:"clipart"},Tj="placeholder",ub={Us:"body",Ws:"col1",Xs:"col2",Vs:"caption",Gi:"centeredTitle",jt:"subtitle",Ki:"title",Li:"unknown"};var sb=function(a){W.call(this,a);this.Yc=tb.ym};sb.a(W);sb[_P].Uc=null;sb[_P].Qa=null;sb[_P].Ja=function(){return"presently.ImageShape"};sb[_P].vg=function(){var a=Uj(this.e(),true);if(s){var b=a[ha];if(b&&b[i]>0&&!b[0].src){b[0].setAttribute("src",this.e()[ha][0].src)}}return a};sb[_P].A=function(){var a=sb.g.A.call(this);if(a){var b=this.Uc?this.Uc.src:a.match(/src\s*=\s*["']([^'"]+)["']/i)[1];if(b){a=(new rb('<img src="',b,'" style="width: 100%; height: 100%"/>')).toString()}}return a};sb[_P].Ca=
function(a,b){var c=a.match(/src\s*=\s*["']([^'"]+)["']/i);if(c&&c[1]){this.Uc={src:c[1]}}if(s){a=(new rb('<div style="width: 100%; height: 100%; font-size: 1px;'," filter:progid:DXImageTransform.Microsoft.","AlphaImageLoader(src='",c[1],"',sizingMethod='scale')\"></div>")).toString()}else if(u){this.ar();if(this.Uc){a=(new rb('<img src="',this.Uc.src,'" style="width: 100%; height: 100%; display: none;"/>')).toString()}}return sb.g.Ca.call(this,a,b)};sb[_P].ak=function(){return sb.g.A.call(this)};
sb[_P].ar=function(){var a=this.e();if(a&&this.Uc){if(!this.Qa){this.Qa=sm("100%","100%",100,100,this.i);var b=this.Qa.e()[k];Yd(b,"absolute");b.top=0;nb(b,0);this.Qa.tb(a);if(Gb(a,"background")){ta(We("IMG",null,a)[0][k],"block")}}else{this.Qa.clear()}var c=this.Qa.drawImage(0,0,100,100,this.Uc.src);Yd(c.e()[k],"absolute")}};sb[_P].L=function(){sb.g.L.call(this);if(u){this.ar()}};var Rj=function(a){sb.call(this,a);this.Yc=tb.Md};Rj.a(sb);Rj[_P].Ja=function(){return"presently.BackgroundShape"};;;var Kc=function(a,b){R.call(this);this.b=a;this.Xw=b;this.vj=false};Kc.a(R);Kc[_P].e=function(){return this.b};Kc[_P].pf=function(){return this.Xw};Kc[_P].addEventListener=function(a,b,c,d){t(this.b,a,b,c,d)};Kc[_P].removeEventListener=function(a,b,c,d){qb(this.b,a,b,c,d)};Kc[_P].c=function(){if(!this.O()){Kc.g.c(this);mj(this.b)}};var fc=function(a,b){Kc.call(this,a,b)};fc.a(Kc);fc[_P].Ir=function(a){this.pf().jl(this,a)};fc[_P].Sr=function(a){this.pf().kl(this,a)};var ig=function(a,b){fc.call(this,a,b)};ig.a(fc);var hf=function(a,b){Kc.call(this,a,b)};hf.a(Kc);qc(hf[_P],function(){throw Error(Va);});var jf=function(a,b){fc.call(this,a,b)};jf.a(fc);xd(jf[_P],function(a,b){throw Error(Va);});var kf=function(a,b){fc.call(this,a,b)};kf.a(fc);kf[_P].De=function(a){throw Error(Va);};var lf=function(a,b){fc.call(this,a,b)};lf.a(fc);xd(lf[_P],function(a,b){throw Error(Va);});var kg=function(a,b){fc.call(this,a,b)};kg.a(fc);var pj=function(){};pj[_P].oa=function(a,b){throw Error(Va);};;var Jb=function(a,b,c,d,e){I.call(this,e);this.Ld=a;this.rd=b;this.Dg=c;this.tn=d};Jb.a(I);qc(Jb[_P],function(){throw Error(Va);});Jb[_P].jl=function(a,b){throw Error(Va);};Jb[_P].kl=function(a,b){throw Error(Va);};Jb[_P].Hj=function(a,b,c,d,e,f,g){throw Error(Va);};Jb[_P].Jj=function(a,b,c,d,e,f,g){throw Error(Va);};Jb[_P].Ij=function(a,b,c,d){throw Error(Va);};Jb[_P].pj=function(){throw Error(Va);};Jb[_P].rj=function(){throw Error(Va);};Jb[_P].qj=function(){throw Error(Va);};Jb[_P].createLinearGradient=
function(){throw Error(Va);};var jg=function(a,b,c,d,e,f){this.dm=a;this.gm=b;this.fm=c;this.hm=d;this.hj=e;this.yg=f};jg.a(pj);var Hd=function(){};qc(Hd[_P],function(){Eb(this.fa,0);return this});Hd[_P].moveTo=function(a,b){throw Error(Va);};Hd[_P].lineTo=function(a,b){throw Error(Va);};Hd[_P].close=function(){throw Error(Va);};Hd[_P].arc=function(a,b,c,d,e,f,g){throw Error(Va);};Hd[_P].th=function(){return this.fa.join(" ")};var re=function(a,b){Ie(this,a);Vg(this,b)};re.a(pj);Ie(re[_P],null);Vg(re[_P],null);var se=function(a,b){ia(this,a);Ie(this,b)};Ie(se[_P],null);ia(se[_P],null);se[_P].oa=function(a,b){throw Error(Va);};var qj=function(a,b){hf.call(this,a,b)};qj.a(hf);qc(qj[_P],function(){hj(this.e())});var qm=function(a,b){ig.call(this,a,b)};qm.a(ig);var uj=function(a,b){lf.call(this,a,b)};uj.a(lf);xd(uj[_P],function(a,b){this.pf().pi(this.e(),{x:a,y:b})});var tj=function(a,b){kf.call(this,a,b)};tj.a(kf);tj[_P].De=function(a){this.pf().pi(this.e(),{d:a.th()})};var wq=function(a,b){kg.call(this,a,b)};wq.a(kg);var rj=function(a,b){jf.call(this,a,b)};rj.a(jf);xd(rj[_P],function(a,b){this.pf().pi(this.e(),{x:a,y:b})});var sj=function(a,b,c,d,e,f){jg.call(this,a,b,c,d,e,f)};sj.a(jg);sj[_P].oa=function(a,b){var c="lg-"+this.dm+"-"+this.gm+"-"+this.fm+"-"+this.hm+"-"+this.hj+"-"+this.yg,d=b.Vv(c);if(!d){var e=b.Db("linearGradient",{x1:this.dm,y1:this.gm,x2:this.fm,y2:this.hm,gradientUnits:"userSpaceOnUse"}),f=b.Db("stop",{offset:"0%",style:"stop-color:"+this.hj});e.appendChild(f);var g=b.Db("stop",{offset:"100%",style:"stop-color:"+this.yg});e.appendChild(g);d=b.At(c,e)}a.setAttribute("fill","url(#"+d+")")};var mf=function(){this.fa=[]};mf.a(Hd);mf[_P].moveTo=function(a,b){this.fa.push("M"+a+","+b);return this};mf[_P].lineTo=function(a,b){this.fa.push("L"+a+","+b);return this};mf[_P].close=function(){this.fa.push("Z");return this};mf[_P].arc=function(a,b,c,d,e,f,g){e=ve(e);f=ve(f);var h=Dj(f,c),j=Ej(f,d),l=g?f-e:e-f,m=ve(l)>180?1:0;this.fa.push("A"+c+","+d+",0,"+m+","+(g?1:0)+","+(a+h)+","+(b+j));return this};var Ih=function(a,b){re.call(this,a,b)};Ih.a(re);var uq=new Ih;Ih[_P].oa=function(a,b){if(this[Jg]!=null){a.setAttribute("fill-opacity",this[Jg])}a.setAttribute("fill",this[Cc]||"none")};var Jh=function(a,b){se.call(this,a,b)};Jh.a(se);var vq=new Jh(0);Jh[_P].oa=function(a,b){a.setAttribute("stroke",this[Cc]||"none");a.setAttribute("stroke-width",this[A]||0)};var Ea=function(a,b,c,d,e){Jb.call(this,a,b,c,d,e);this.bd={}};Ea.a(Jb);var tq=0;Ea[_P].Db=function(a,b){var c=this.i.k().createElementNS("http://www.w3.org/2000/svg",a);if(b){this.pi(c,b)}return c};Ea[_P].pi=function(a,b){for(var c in b){a.setAttribute(c,b[c])}};Ea[_P].uc=function(a,b,c,d){a.Sr(b);a.Ir(c);var e=d||this.cj;e.e().appendChild(a.e())};Ea[_P].jl=function(a,b){if(b){b.oa(a.e(),this)}else{uq.oa(a.e(),this)}};Ea[_P].kl=function(a,b){if(b){b.oa(a.e(),this)}else{vq.oa(a.e(),this)}};Ea[_P].Ja=
function(){return"goog.graphics.SvgGraphics"};Ea[_P].l=function(){var a={width:this.Ld,height:this.rd,overflow:"hidden"};if(ea(this.Dg)){a.viewBox="0 0 "+this.Dg+" "+this.tn;a.preserveAspectRatio="none"}var b=this.Db("svg",a),c=this.Db("g");this.Lg=this.Db("defs");this.cj=new qj(c,this);b.appendChild(this.Lg);b.appendChild(c);this.b=b};qc(Ea[_P],function(){this.cj.clear();hj(this.Lg);this.bd={}});Ea[_P].Hj=function(a,b,c,d,e,f,g){var h=this.Db("ellipse",{cx:a,cy:b,rx:c,ry:d}),j=new qm(h,this);this.uc(j,
e,f,g);return j};Ea[_P].Jj=function(a,b,c,d,e,f,g){var h=this.Db("rect",{x:a,y:b,width:c,height:d}),j=new uj(h,this);this.uc(j,e,f,g);return j};Ea[_P].drawImage=function(a,b,c,d,e,f){var g=this.Db("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 rj(g,this);this.uc(h,null,null,f);return h};Ea[_P].Ij=function(a,b,c,d){var e=this.Db("path",{d:a.th()}),f=new tj(e,this);this.uc(f,
b,c,d);return f};Ea[_P].pj=function(){return new mf};Ea[_P].rj=function(a,b){return new Jh(a,b)};Ea[_P].qj=function(a,b){return new Ih(a,b)};Ea[_P].createLinearGradient=function(a,b,c,d,e,f){return new sj(a,b,c,d,e,f)};Ea[_P].At=function(a,b){if(a in this.bd){return this.bd[a]}var c="_svgdef_"+tq++;b.setAttribute("id",c);this.bd[a]=c;var d=this.Lg;d.appendChild(b);return c};Ea[_P].Vv=function(a){return a in this.bd?this.bd[a]:null};Ea[_P].c=function(){if(!this.O()){this.bd=null;this.Lg=null;this.cj=
null;var a=this.e();Ea.g.c.call(this);ba(a)}};var vj=function(a,b){hf.call(this,a,b)};vj.a(hf);qc(vj[_P],function(){hj(this.e())});var rm=function(a,b,c,d,e,f){ig.call(this,a,b);this.$B=c;this.aC=d;this.DC=e;this.EC=f};rm.a(ig);var zj=function(a,b){lf.call(this,a,b)};zj.a(lf);xd(zj[_P],function(a,b){var c=this.e()[k];nb(c,Id(a));c.top=Id(b)});var yj=function(a,b){kf.call(this,a,b)};yj.a(kf);yj[_P].De=function(a){this.e()[Z].setAttribute("v",a.th())};var zq=function(a,b){kg.call(this,a,b)};zq.a(kg);var wj=function(a,b){jf.call(this,a,b)};wj.a(jf);
xd(wj[_P],function(a,b){var c=this.e()[k];nb(c,Id(a));c.top=Id(b)});var xj=function(a,b,c,d,e,f){jg.call(this,a,b,c,d,e,f)};xj.a(jg);xj[_P].oa=function(a,b){b.gr(a);a.jf="true";var c=b.Ac("fill");Ie(c,this.hj);c.yg=this.yg;var d=ve(p.atan2(this.hm-this.gm,this.fm-this.dm)*180/p.PI);d=p.round(ve(270-d));c.OB=d;ib(c,"gradient");a.appendChild(c)};var nf=function(){this.fa=[]};nf.a(Hd);nf[_P].moveTo=function(a,b){this.fa.push("M"+p.round(a)+","+p.round(b));return this};nf[_P].lineTo=function(a,b){this.fa.push("L"+p.round(a)+","+p.round(b));return this};nf[_P].close=function(){this.fa.push("X");return this};nf[_P].arc=function(a,b,c,d,e,f,g){e=ve(e);f=ve(f);var h=p.round(Dj(e,c)),j=p.round(Ej(e,d)),l=p.round(Dj(f,c)),m=p.round(Ej(f,d));a=p.round(a);b=p.round(b);c=p.round(c);d=p.round(d);var q=g?"WA":"AT";this.fa.push(q+(a-c)+","+(b-d)+","+(a+
c)+","+(b+d)+","+(a+h)+","+(b+j)+","+(a+l)+","+(b+m));return this};var Kh=function(a,b){re.call(this,a,b)};Kh.a(re);var xq=new Kh;Kh[_P].oa=function(a,b){b.gr(a);if(this[Cc]==null||this[Cc]=="transparent"){a.jf=false}else if(this[Jg]!=null){a.jf=true;var c=b.Ac("fill");Vg(c,p.round(this[Jg]*100)+"%");Ie(c,this[Cc]);a.appendChild(c)}else{a.jf=true;a.Pj=this[Cc]}};var Lh=function(a,b){se.call(this,a,b)};Lh.a(se);var yq=new Lh(0);Lh[_P].oa=function(a,b){if(this[Cc]==null){a.Fl=false}else{a.Fl=true;a.IC=this[Cc];a.JC=this[A]||0}};var Wa=function(a,b,c,d,e){Jb.call(this,a,b,c,d,e)};Wa.a(Jb);Wa[_P].Ac=function(a){return this.i.createElement("g_vml_:"+a)};Wa[_P].uc=function(a,b,c,d){a.Sr(b);a.Ir(c);var e=d||this.bj;e.e().appendChild(a.e())};Wa[_P].jl=function(a,b){if(b){b.oa(a.e(),this)}else{xq.oa(a.e(),this)}};Wa[_P].kl=function(a,b){if(b){b.oa(a.e(),this)}else{yq.oa(a.e(),this)}};Wa[_P].gr=function(a){a.Pj="";for(var b=0;b<a[ha][i];b++){var c=a[ha][b];if(c[oa]=="fill"){a.removeChild(c)}}};var lg=function(a,b,c,d,e){var f=a[k];
Yd(f,"absolute");nb(f,Id(b));f.top=Id(c);ia(f,Xa(d)&&Rh(d,"%")?d:Id(d));pa(f,Xa(e)&&Rh(e,"%")?e:Id(e))},Id=function(a){return p.round(a)+"px"};Wa[_P].Ja=function(){return"goog.graphics.VmlGraphics"};Wa[_P].l=function(){var a=this.i.k();if(!a.namespaces.g_vml_){a.namespaces.add("g_vml_","urn:schemas-microsoft-com:vml");var b=a.createStyleSheet();Gf(b,"g_vml_\\:*{behavior:url(#default#VML)}")}var c=this.Ld,d=this.rd,e=this.i.l("div",{style:"overflow:hidden;position:relative;width:"+c+"px;height:"+d+
"px"});this.b=e;var f=this.Ac("group");lg(f,0,0,this.Ld,this.rd);f.un="0 0";if(ea(this.Dg)){f.Eg=this.Dg+" "+this.tn}else{f.Eg=c+" "+d}e.appendChild(f);this.bj=new vj(f,this)};qc(Wa[_P],function(){this.bj.clear()});Wa[_P].Hj=function(a,b,c,d,e,f,g){var h=this.Ac("oval");lg(h,a-c,b-d,c*2,d*2);var j=new rm(h,this,a,b,c,d);this.uc(j,e,f,g);return j};Wa[_P].Jj=function(a,b,c,d,e,f,g){var h=this.Ac("rect");lg(h,a,b,c,d);var j=new zj(h,this);this.uc(j,e,f,g);return j};Wa[_P].drawImage=function(a,b,c,d,
e,f){var g=this.Ac("image");lg(g,a,b,c,d);g.setAttribute("src",e);var h=new wj(g,this);this.uc(h,null,null,f);return h};Wa[_P].Ij=function(a,b,c,d){var e=this.Ac("shape"),f=this.Ac("path");f.setAttribute("v",a.th());lg(e,0,0,this.Ld,this.rd);e.appendChild(f);var g=new yj(e,this);this.uc(g,b,c,d);return g};Wa[_P].pj=function(){return new nf};Wa[_P].rj=function(a,b){return new Lh(a,b)};Wa[_P].qj=function(a,b){return new Kh(a,b)};Wa[_P].createLinearGradient=function(a,b,c,d,e,f){return new xj(a,b,c,
d,e,f)};Wa[_P].c=function(){if(!this.O()){this.bj=null;Wa.g.c.call(this)}};var Va="Not Implemented",sm=function(a,b,c,d,e){var f;if(s){f=new Wa(a,b,c,d,e)}else{f=new Ea(a,b,c,d,e)}f.l();return f};var zg=function(a,b){this.aa=a;this.En=b};zg[_P].aa=null;zg[_P].En=null;zg[_P].Nq=function(a,b,c){var d=c?a.substr(c):a;b.x=wb(d);var e=d.indexOf(",");b.y=wb(d.substr(e+1))};zg[_P].qv=function(a,b,c){var d=this.En,e={};switch(this.aa){case "path":var f=a.pj(),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:ab("Invalid path command: "+h)}g=d.indexOf(";",g)+1}while(g!=0);return a.Ij(f,
c,b);case "ellipse":return a.Hj(d[2],d[3],d[0],d[1],c,b);case "rect":return a.Jj(d[2],d[3],d[0],d[1],c,b);default:ab("Invalid primitive type: "+this.aa);return null}};var $r={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 Za=function(a){W.call(this,a)};Za.a(W);Za[_P].H=function(a){var b=Za.g.H.call(this);b.ed=this.ed;b.Yd=this.Yd;b.Yt=this.Yt;b.Vf=this.Vf;return b};Za[_P].ed=null;Za[_P].Yd=null;Za[_P].vi=null;Za[_P].Vf=null;Za[_P].Ja=function(){return"presently.VectorShape"};Za[_P].vg=function(){if(u){return Uj(this.e(),true)}else{return pn(this.e())}};var pn=function(a){var b=a.cloneNode(false);if(a[oa].indexOf("shape")!=-1){b.jf=a.jf;b.Pj=a.Pj;b.Fl=a.Fl;b.ve=a.ve;b.Zz=a.Zz}if(a.Eg){b.Eg=a.Eg;b.un=a.un}b.removeAttribute("id");
for(var c=0;c<a[ha][i];c++){var d=a[ha][c];b.appendChild(pn(d))}return b};Za[_P].A=function(){var a={elements:this.ed};a.fillColor=this.Yd;a.strokeColor=this.vi;a.strokeWidth=this.Vf;return mg(a)};Za[_P].Ca=function(a,b){a=Cj(a);this.ed=a.elements;this.Yd=a.fillColor||"#ffffff";this.vi=a.strokeColor||"#000000";this.Vf=a.strokeWidth||1;this.ei();if(!b){this.F("contents",this.A())}};Za[_P].hw=function(a){return a&&this.Qa.qj(a)};Za[_P].Nw=function(a,b){return b&&this.Qa.rj(a,b)};Za[_P].setFillColor=
function(a,b){this.Yd=a;if(!b){this.F("contents",this.A())}this.ei();this.dispatchEvent(we)};Za[_P].setStrokeColor=function(a,b){this.vi=a;if(!b){this.F("contents",this.A())}this.ei();this.dispatchEvent(we)};Za[_P].ei=function(){var a=this.e();if(a&&this.ed){if(!this.Qa){this.Qa=sm("100%","100%",100,100,this.i);this.Qa.tb(a)}else{this.Qa.clear()}for(var b=0,c=this.ed[i];b<c;b++){var d=this.ed[b],e=new zg(d.type,d.data),f=this.hw(this.Yd),g=this.Nw(this.Vf,this.vi);e.qv(this.Qa,f,g)}}};Za[_P].L=function(){Za.g.L.call(this);
this.ei()};var nd=function(a){Za.call(this,a);this.Yc=tb.om};nd.a(Za);nd[_P].gj=null;nd[_P].Bu=null;nd[_P].Ja=function(){return"presently.ClipartShape"};nd[_P].A=function(){var a=Cj(nd.g.A.call(this));delete a.elements;a.name=this.gj;return mg(a)};nd[_P].Ca=function(a,b){a=Cj(Qm(a));this.gj=a.name;delete a.name;var c=$r[this.gj];a.elements=c.elements;this.Bu=new ya(c.width,c.height);nd.g.Ca.call(this,mg(a),b)};;var sa=function(a,b,c){if(a){this.setPosition(a||null,b)}this.Wa=c||this[N]};sa[_P].s=null;ib(sa[_P],null);sa[_P].Wa=0;xd(sa[_P],function(a,b,c){this.s=a;if(a){ib(this,b);if(!Nh(this[N])){this.Lw()}}if(Nh(c)){this.Wa=c}});sa[_P].Lw=function(){ib(this,this.s[O]==1?1:0)};sa[_P].Vh=function(){this.s=null};sa[_P].GC=function(){if(this[N]==1){ib(this,-1);this.Wa+=this[N]}};sa[_P].next=function(){if(this.Kh()){return null}if(this[N]==1){if(this.s[Z]){this.setPosition(this.s[Z])}else{this.setPosition(this.s,
-1)}}else{if(this.s[yb]){this.setPosition(this.s[yb])}else{this.setPosition(this.s[n],-1)}}this.Wa+=this[N];return this};sa[_P].cp=function(){return this.s&&(this.s[yb]||this.s[n])};sa[_P].Zx=function(){return!this.cp()};sa[_P].di=function(){if(this.Kh()){return null}if(this[N]==-1){if(this.s[ed]){this.setPosition(this.s[ed]);this.type*=-1}else{this.setPosition(this.s,1)}}else{if(this.s[Ec]){this.setPosition(this.s[Ec])}else{this.setPosition(this.s[n],1)}}this.Wa+=this[N];return this};sa[_P].dp=function(){return this.s&&
(this.s[Ec]||this.s[n])};sa[_P].Dp=function(){return this[N]==1};sa[_P].yp=function(){return this[N]==-1};sa[_P].Kh=function(){return this.s==null};sa[_P].isEqual=function(a){return a.s==this.s&&(!this.s||a[N]==this[N]&&a.Wa==this.Wa)};sa[_P].H=function(){return new sa(this.s,this[N],this.Wa)};var vn=function(a,b){b=b||1;a=qg(""+a).toLowerCase();if(a in tn){return b*tn[a]}if(!(!a.match(/(%|em|ex)$/i))){var c=wn(a);return b*wb(a)*yr[c]}var d;if(a in un){d=un[a]}else if(xn(a)){var c=wn(a);d=zr[c].pt*wb(a)}else if(!(!a.match(/^\d+$/))){d=[0,8,10,12,14,18,24,36][a]||b}else{return 1}return d/20},Ar=function(a,b,c){var d=a[da][B];while(a&&a!=d){if(a[k]){var e=a[k][Fe];if(e){if(xn(e)){break}b*=vn(e)}}if(c&&c(a)){break}a=a[n]}return b},zr={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}},un={"xx-small":7,"x-small":8,small:9,medium:12,large:14,"x-large":17,"xx-large":22},tn={smaller:0.8,larger:1.25},yr={"%":0.01,em:1,ex:0.5};var xn=function(a){return!(!a.match(/(cm|in|mm|pc|pt|px)$/i))};var wn=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 Sr,Xj=function(a,b){if(Xa(a)){return b==a}else{return b&&b.match(a)}},Jn=function(a,b,c){return Xj(a,b in this?this[b]:(this[Gg]?this.getAttribute(b):null))};var Md=function(){};Md[_P].Kc=null;Zd(Md[_P],function(){});Md[_P].Aa=function(a,b){return 0};var xg=function(a,b,c){sa.apply(this,arguments)};xg.a(sa);xg[_P].next=function(){if(!this.Dp()&&this.Wa==0){this.Vh();return this}return sa[_P].next.apply(this,arguments)};xg[_P].di=function(){if(!this.yp()&&this.Wa==0){this.Vh();return this}return sa[_P].di.apply(this,arguments)};xg[_P].H=function(){return new gr(this.s,this[N],this.Wa)};var Nd=function(){};Nd.a(Md);Nd[_P].Ng=0;Nd[_P].Aa=function(a,b){this.Ng+=b;if(this.Ng>=0){return 1}else{this.Ng=0;return 3}};Zd(Nd[_P],function(){this.Ng=0});var ze=function(a,b){this.Rd=a;this.qc=[];this.bq=b||0;Nd.call(this)};ze.a(Nd);ze[_P].qc=null;ze[_P].bq=0;ze[_P].Rd=null;ze[_P].Qb=false;ze[_P].Aa=function(a,b){if(this.Qb){this.reset()}var c=Nd[_P].Aa.apply(this,arguments);switch(c){case 1:var d=false;switch(this.Rd.Aa(a,b)){case 3:d=true;case 2:this.qc.push(this.Rd.Kc);break;default:break}if(d){if(this.Rd.Aa(a,b)==2){this.qc.push(this.Rd.Kc)}}return 1;case 3:this.Qb=true;return this.qc[i]>=this.bq?3:0;default:this.Qb=true;return c}};Zd(ze[_P],function(){this.Qb=
false;Eb(this.qc,0);this.Rd.reset();Nd[_P].reset.call(this)});var qd=function(a,b,c){this.$h=a;this.cq=b||0;this.Ok=c||null;this.qc=[]};qd.a(Md);qd[_P].$h=null;qd[_P].cq=0;qd[_P].Ok=0;qd[_P].fb=0;qd[_P].Qb=false;qd[_P].qc=null;qd[_P].Aa=function(a,b){if(this.Qb){this.reset()}if(b==0&&a[nc].match(/^\s+$/)){return 1}switch(this.$h.Aa(a,b)){case 2:if(this.fb==0){this.Kc=a}this.fb++;this.qc.push(this.$h.Kc);if(this.Ok!==null&&this.fb==this.Ok){this.Qb=true;return 2}else{return 1}case 1:return Sr;case 3:this.fb++;if(this.Eb==this.Bd[i]){this.Qb=true;return 3}else{return this.Aa(a,
b)}default:this.Qb=true;if(this.fb>=this.cq){return 3}else{return 0}}};Zd(qd[_P],function(){this.$h.reset();this.fb=0;this.Qb=false;this.qc=[]});var tf=function(a,b){this.we=a;this.Hx=b};tf.a(Md);tf[_P].we=null;tf[_P].Eb=0;tf[_P].Hx=false;tf[_P].Aa=function(a,b){if(b==0&&a[nc].match(/^\s+$/)){return 1}switch(this.we[this.Eb].Aa(a,b)){case 2:if(this.Eb==0){this.Kc=a}this.Eb++;if(this.Eb==this.we[i]){this.reset();return 2}else{return 1}case 1:return 1;case 3:this.Eb++;if(this.Eb==this.we[i]){this.reset();return 3}else{return this.Aa(a,b)}default:this.reset();return 0}};Zd(tf[_P],function(){if(this.we[this.Eb]){this.we[this.Eb].reset()}this.Eb=
0});var Oc=function(a,b,c,d,e){if(Xa(a)){this.Il=a.toUpperCase()}else{this.Il=a}this.aa=b;this.Ui=c;this.Gl=d;this.Kl=e};Oc.a(Md);Oc[_P].Il=null;Oc[_P].aa=null;Oc[_P].Ui=null;Oc[_P].Gl=null;Oc[_P].Kl=null;Oc[_P].Aa=function(a,b){if(b==this.aa&&Xj(this.Il,a[na])){if(this.Ui&&!zm(this.Ui,Jn,a)){return 0}if(this.Gl&&!zm(this.Gl,Jn,a[k])){return 0}if(this.Kl&&!this.Kl(a)){return 0}this.Kc=a;return 2}return 0};var In=function(a,b,c,d){Oc.call(this,a,1,b,c,d)};In.a(Oc);var Hn=function(a,b,c,d){Oc.call(this,a,-1,b,c,d)};Hn.a(Oc);;var Wj=function(a){this.Xp=a};Wj.a(Md);Wj[_P].Xp=null;Wj[_P].Aa=function(a,b){if(b==0&&Xj(this.Xp,a[nc])){this.Kc=a;return 2}return 0};var bd=function(){this.Bd=[];this.Ab=[]};bd[_P].Bd=null;bd[_P].Ab=null;bd[_P].Jm=function(a,b){this.Bd.push(a);this.Ab.push(b)};bd[_P].lr=function(){for(var a=0,b=this.Bd[i];a<b;a++){this.Bd[a].reset()}};bd[_P].uy=function(a){for(var b=0,c=this.Bd[i];b<c;b++){var d=this.Bd[b];switch(d.Aa(a.s,a[N])){case 2:case 3:var e=this.Ab[b];return e(d.Kc,a,d);default:break}}return false};bd[_P].match=function(a){var b=new xg(a);this.lr();while(true){if(this.uy(b)){this.lr()}else{b.next()}if(b.Kh()){return}}};function w(a,b,c){R.call(this);this.id=a;this.ga=null;if(c){if(Xa(c)){this.Ph=c}else{if(!c.cssStyles){c.cssStyles=bb}this.Bn=c.cssStyles;if(c.className){this.fn=c.className}{this.Ph=c.loremIpsumMessage}if(!c.minHeight){c.minHeight=bb}this.Th=c.minHeight}}ib(this,b);this.El={};this.ui(X.Wb);this.ui(X.Nd);this.Lh=false;this.zp=false;this.wj=new cc(this.Mn,250,this);this.Kg={};for(var d in X){this.Kg[X[d]]=0}if(qi){this.Re=new cc(this.vh,15,this)}this.o=new Ta(this);this.Ps=[];this.Ms=false}w.a(R);w[_P].v=
kd("TR_EditableField");var X={pm:"cvc",um:"load",Bm:"unload",jm:"beforechange",Wb:"change",Nd:"delayedchange",km:"beforefocus",qm:"focus",nm:"blur",lm:"beforetab",Ji:"selectionchange"},Qk=null,Ad=function(a){Qk=a},Sc=function(){return Qk};w[_P].J=function(){return this[Rd]||this.dd||null};w[_P].vo=function(){var a=this.J();return a&&$n?a[da]:a};w[_P].addListener=function(a,b,c,d){var e=this.vo();this.o.j(e,a,b,c,d)};w[_P].pw=function(){return this[td]};w[_P].Kr=function(a){Gf(this,a)};w[_P].DA=function(a){if(a==
this.Th){return}this.Th=a;this.vh()};{w[_P].nb=function(){return this[N]==2}}w[_P].Rc=function(){return!Fc||false};var xi={46:true,8:true};if(s){xi[229]=true;var Ok={86:true,88:true,66:true,73:true,85:true}}else if(u||ra){xi[9]=true;Ok={86:true,88:true}}var Co=function(a,b){if(Tk(a)){return true}return b&&!(a[Dc]||a[fd])&&(!u||a[Dg])},Tk=function(a){var b=(a[Dc]||a[fd])&&a[db]in Ok,c=!(a[Dc]||a[fd])&&a[db]in xi;return b||c},ob=function(a){if(!a[Gg]){return false}return a.getAttribute("g_editable")==
"true"};w[_P].Yr=function(a,b){this.field=a;this.ga=b;this.Lh=false;this.zp=false};w[_P].ns=function(){this.field=null;this.ga=null;this.Yi=null};w[_P].XA=function(){if(qi){this.addListener("focus",this.Nn);this.addListener("blur",this.Ln,true);this.addListener(af,this.Oo);this.addListener("keyup",this.Xo);this.addListener("dragdrop",this.Nn);this.ZA(this.ga)}else{this.addListener($e,this.Oo);this.addListener(af,this.qx);this.addListener("keyup",this.tx);this.addListener(["beforecut","beforepaste",
"drop","dragend"],this.Pg);this.addListener("cut",this.Gb);this.addListener("focus",this.On);this.addListener("blur",this.Ln);this.addListener(hq,this.Kn)}var a=D(this.Dj,this);this.addListener(Gd,a,false);this.iA=new cc(a,250);if(Xn){this.addListener(hb,Bo)}};w[_P].kn=function(){if(this.o){this.o.Ed()}if(this.Re){this.ru()}this.su()};w[_P].c=function(){this.ns();this.kn();if(this.o){this.o.c();this.o=null}this.Kz();w.g.c.call(this)};w[_P].Wt=function(a){this.Ps.push(a)};w[_P].Kz=function(){var a;
while(a=this.Ps.pop()){a.c()}};w[_P].aw=function(){return this.o};var Pk=["DOMNodeInserted","DOMNodeRemoved","DOMNodeRemovedFromDocument","DOMNodeInsertedIntoDocument","DOMCharacterDataModified"];w[_P].ZA=function(a){if(!this.Rc()){return}var b=a.k();this.o.j(b,Pk,this.Yo,true);if(this.nb()){this.o.j(a.nh(),Pk,this.Pn,true);this.o.j(this.ga.V(),"load",this.Qn,true)}this.o.j(b,"DOMAttrModified",this.Qo.G(this,false),true);if(this.nb()){this.o.j(a.nh(),"DOMAttrModified",this.Qo.G(this,true),true)}};
w[_P].Oo=function(a){var b=a[db]==9&&!this.iv(a)||u&&a[fd]&&(a[db]==37||a[db]==39);if(b){a.preventDefault()}else{this.ik=a[Dg]||Co(a,u);if(this.ik){this.Pg()}}};w[_P].qx=function(a,b){this.ik=true;this.Pg()};w[_P].tx=function(a){if(this.ik||Tk(a)){this.vh()}this.Xo(a)};var Ao={8:1,46:1,37:1,39:1,38:1,40:1,13:1,36:1,35:1,9:1,33:1,34:1};w[_P].Xo=function(a){if(this.Za(X.Ji)){return}if(a[Dc]||a[fd]||Ao[a[db]]){this.iA.start()}};w[_P].Qo=function(a,b){if(this.Za(X.Wb)){return}b=b.hd();try{if(b.originalTarget.prefix||
b.originalTarget[na]=="scrollbar"){return}}catch(b){return}if(b.prevValue==b.newValue){return}if(a){this.Pn()}else{this.Yo(b)}};w[_P].Yo=function(a){if(this.Za(X.Wb)){return}a=a.hd?a.hd():a;if(a[$].gC){return}this.Lh=true;this.zp=true;this.Re.start()};w[_P].jc=function(){return this.ga};w[_P].p=function(){return this.jc().p()};w[_P].Dj=function(a){if(this.Za(X.Ji)){return}var b=this.p();this.Yi=b;this.Cj(b.vp(this.J()));this.dispatchEvent({type:"selectionchange",selection:b})};w[_P].Pg=function(){if(this.Za(X.jm)){return}this.dispatchEvent(X.jm)};
w[_P].iv=function(a){return this.dispatchEvent({type:X.lm,shiftKey:a[Ud],altKey:a[yf],ctrlKey:a[Dc]})};w[_P].ti=function(a,b){if(a){if(this.Re){this.vu()}this.ui(X.Wb)}if(b){this.gn();this.ui(X.Nd)}};w[_P].Bl=function(a,b){this.ks(X.Wb);this.ks(X.Nd);if(a){this.vh()}if(b){this.Mn()}};w[_P].ui=function(a){this.El[a]=1};w[_P].ks=function(a){this.El[a]=0};w[_P].bv=function(a){this.Kg[a]=Fa()};w[_P].Za=function(a){return!(!this.El[a])||this.Kg[a]&&Fa()-this.Kg[a]<=500};w[_P].Gb=function(a){this.Bl(true,
a)};w[_P].vh=function(){if(this.Za(X.Wb)){return}this.Lh=true;this.sC=true;this.Qn();if(this.Za(X.Nd)){return}this.wj.start()};w[_P].Qn=function(){if(u&&this.nb()&&this.Rc()){this.dispatchEvent(X.Wb)}};w[_P].Pn=function(){if(this.Za(X.Wb)){return}this.dispatchEvent("outerDocChange")};w[_P].Mn=function(){if(this.Za(X.Nd)){return}this.Lh=false;this.dispatchEvent(X.Nd)};w[_P].vu=function(){this.Re.ho()};w[_P].ru=function(){this.Re.stop()};w[_P].gn=function(){this.wj.ho()};w[_P].su=function(){this.wj.stop()};
w[_P].Nn=function(a){this.Kn(a);this.On(a)};w[_P].Kn=function(a){if(this.Za(X.km)){return}this.dispatchEvent(X.km)};w[_P].On=function(a){if(this.Za(X.qm)){return}Ad(this.id);if(this.Yi&&this.Yi.vp(this.J())){this.Cj(true)}this.dispatchEvent(X.qm);if(!nk){var b=this.jc().V().parent;b.getSelection().removeAllRanges()}};w[_P].Ln=function(a){if(this.Za(X.nm)){return}if(Sc()==this.id){Ad(null)}this.Cj(false);this.dispatchEvent(X.nm);if(!Fc&&!nk&&this.nb()){var b=this.jc().V();ga.setTimeout(function(){var c=
b.getSelection();if(c){var d=new C(b,c);d.collapse(true)}},0)}};w[_P].Gk=function(){return this.fy};w[_P].Cj=function(a){this.fy=a;this.dispatchEvent(X.pm)};var Bo=function(a){if(Qe(fe(a),"a")){a.preventDefault()}};{var Sk=false}w[_P].jv=function(){this.oe=true;var a=this.J();if(this.fn){Da(a,this.fn)}if(this.Bn&&!Sk){if(Fc&&this.nb()){Sk=true}Yq(this.Bn,a)}this.Bl();this.v.R("Dispatching load "+this.id);this.dispatchEvent(X.um);this.v.R("Load dispatched "+this.id)};w[_P].lv=function(){this.oe=false;
this.dispatchEvent(X.Bm)};w[_P].Dk=function(){return this.oe};var Rk=function(){if(ok){return"<br>"}return""};{w[_P].Pb=function(){return this.Ms};w[_P].ri=function(a){this.Ms=a};w[_P].Nr=function(a,b){if(this.Ph!=""&&!this.Pb()&&!b.zk()){this.ri(true);this.nq=a[k].fontStyle;a[k].fontStyle="italic";return true}return false};w[_P].ol=function(a){var b=this[Rd];if(b&&this.Nr(b,a)){a.ll(b,true,this.Ph)}};w[_P].ej=function(a){var b=this[Rd];if(b&&this.Pb()&&!a.zk()){a.ll(b,true,null);b[k].fontStyle=this.nq;
this.ri(false);if(ra){ua(b)[B].focus();a.h.gd(b.id)}}};w[_P].yA=function(a,b){if(this.Nr(a,b)){M(a,this.Ph)}};w[_P].zu=function(a,b){if(this.Pb()&&!b.zk()){M(a,Rk());a[k].fontStyle=this.nq;this.ri(false)}}}{};var ae=va.fromCharCode(160),fb=s,Pa=u||ra||Nc,Fc=s||ra||Nc,qi=u&&!ad("1.9a"),bs=u&&!ad("1.9a"),nk=s||ra||Nc,ah=s||Nc,bh=u||ra,pi=s,qk=s,$n=u||Nc,Yn=s,ok=u||ra||Nc,Vn=u||Nc,Wn=u,Zn=s&&!ad("7.0"),$d=u,Xn=ra,pk=s;var be=function(a,b){if(a[O]!=1){return null}if(a[Qd]){return a[Qd][b]}else{var c=ua(a)[dd];if(c&&c.getComputedStyle){var d=c.getComputedStyle(a,"");return d?d[b]:""}}},Le=function(a,b){var c=be(a,b);return ka(c,10)||0},co=function(a){var b={};b.Qi=[];while(a){var c={nodeName:a[na],className:a[Ob],id:a.id,cssText:a[k][td]};if(a[na]=="BODY"){b.body=c;break}else{b.Qi.push(c)}a=a[n]}return b},eh=function(a){var b=Le;return b(a,"paddingTop")+b(a,"paddingBottom")},Ak=function(a){var b=Le;return b(a,"paddingLeft")+
b(a,"paddingRight")},eo=function(a){var b=Le;return b(a,"borderTopWidth")+b(a,"borderBottomWidth")};{var ko=/a(:(link|visited|active|hover))?/,yd=function(){this.Ye="";this.rc=[]};yd[_P].LA=function(a){this.rc=[];var b=a.split(/,\s*/gm);for(var c=0;c<b[i];c++){var d=b[c];if(d[i]>0){this.rc.push(new Ke(d))}}};yd[_P].H=function(){var a=new yd;a.rc=this.rc.concat();a.Ye=this.Ye;return a};yd[_P].Er=function(a,b){var c=[];for(var d in a){var e=a[d];if(e){c.push(d,":",e,b?" !important":"",";")}}this.Ye=
c.join("")};yd[_P].MB=function(a){var b=this.rc[i],c=false;for(var d=0;d<b;d++){var e=this.rc[d].Ad,f=e[i];for(var g=0;g<f;g++){a.push(e[g].sp," ")}if(d<b-1){a.push(",")}if(u){c=c||ko.test(e[f-1].sp)}}var h=this.Ye;if(c){h=h.replace(bo,"$1 color: $2 ! important; ")}a.push("{",h,"}\n")};var bo=/(^|;|{)\s*color:([^;]+);/g,Ke=function(a){this.wC=[];this.Ri={};if(a){this.GA(a)}};Ke[_P].GA=function(a){var b=[],c=a.split(/\s+/gm);for(var d=0;d<c[i];d++){if(!c[d]){continue}var e=new Of(c[d]);b.push(e)}this.Ad=
b};Ke[_P].sy=function(a){var b=a[Cf];if(this.Ri[b]){return this.Ri[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.Ad[i];j++){e=this.Ad[j];while(c<h){var l=g[c];if(e&&e.os(l)){d={Xn:c,yr:j};c++;break}else if(f&&f.os(l)){d={Xn:c,yr:j-1}}c++}f=e}this.Ri[b]=d;return d};var Of=function(a){var b=yk[a];if(b){return b}if(a.match(/[#\.]/)){var c=a.split(/(?=[#\.])/)}else{var c=[a]}var d={};for(var e=0;e<c[i];e++){var f=c[e];if(f.charAt(0)=="."){ma(d,f.substring(1,f[i]))}else if(f.charAt(0)==
"#"){d.id=f.substring(1,f[i])}else{d.tagName=f.toUpperCase()}}this.sp=a;this.ty=d;this.qs={};yk[a]=this},yk={};Of[_P].os=function(a){var b=a[Cf],c=this.qs[b];if(typeof c!="undefined"){return c}var d=this.ty,e=d[oa],f=d[Ob],g=d.id,h=true;if(e&&e!="*"&&e!=a[na]){h=false}else if(g&&g!=a.id){h=false}else if(f&&!a.uu[f]){h=false}this.qs[b]=h;return h};var ao=function(a){var b=Vb(a),c=zk[b];if(c){return c}var d=[];do{var e={id:a.id,nodeName:a[na]};e.hash=Vb(e);var f=a[Ob],g={};if(f){var h=ag(a);for(var j=
0;j<h[i];j++){g[h[j]]=1}}e.uu=g;d.unshift(e)}while(a=a[n]);this.jq=d;this.hash=Vb(this);zk[b]=this},zk={},ti=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++){ti(f[h],b)}}for(h=0;h<d;h++){var j=c[h],l=j.styleSheet;if(l){ti(l,b)}else{b(h,j)}}},io=function(a,b){var c=a.styleSheets;if(c){var d=c[i];for(var e=0;e<d;e++){ti(c[e],b)}}},go=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[td])){if(s){l+="/* */"}j=g}else if(f[td]){j=c.exec(f[td])[1];l=f[td].replace(c,"").replace(/\}[^\}]*$/g,"")}if(j){var m=new yd;m.LA(j);m.Ye=l;b.push(m)}}io(a,d);return b},Ck={},Bk=function(a){var b=Vb(a);Ck[b]=go(a)},jo=function(a){var b=Vb(a),c=Ck;if(!c[b]){Bk(a)}var d=c[b],e=[];for(var f=0;f<d[i];f++){e.push(d[f].H())}return e},ho=["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"],lo=["font-family","font-size","font-weight","color","text-align","text-decoration","text-indent","text-transform","letter-spacing","white-space","word-spacing"],fo=function(a,b){var c=a[da];if(b){Bk(c)}var d=jo(c),e=new ao(a),f=new Of("body");for(var g=0;g<d[i];g++){var h=d[g],j=h.rc,l=j[i];for(var m=
0;m<l;m++){var q=j[m],v=q.sy(e);if(v){var U=v.yr,Q=q.Ad;if(v.Xn==e.jq[i]-1||U<Q[i]-1){var za=Q.concat();za.splice(0,U+1,f);var Oa=new Ke;Oa.Ad=za;j.push(Oa)}}}}var $b=new yd,cd=a[Qd]||ua(a)[dd].getComputedStyle(a,"")||{},Ae=new Ke;Ae.Ad=[new Of("html")];$b.rc=[Ae];var Yj={};for(var g=0,Pd;Pd=ho[g];g++){Yj[Pd]=cd[Xh(Pd)]}$b.Er(Yj);d.push($b);var hi=new yd,Zj=new Ke;Zj.Ad=[new Of("body")];var $j={position:"relative",top:"0",left:"0",display:"block",visibility:"visible"};for(g=0,Pd;Pd=lo[g];g++){$j[Pd]=
cd[Xh(Pd)]}hi.Er($j,true);hi.rc=[Zj];d.push(hi);var ak=[];l=d[i];for(g=0;g<l;g++){d[g].MB(ak)}return ak.join("")}};var Yi=function(){};Yi[_P].v=kd("goog.debug.GcDiagnostics");Xg(Yi[_P],function(){if(this.Fc){if(this.Fc.isTracing()){this.Fc.endGcTracing()}this.Fc.startGcTracing()}});Yg(Yi[_P],function(){if(this.Fc&&this.Fc.isTracing()){var a=this.Fc;this.Fc.endGcTracing();var b=a.getNumTraces();this.v.R("*********GC TRACE*********");this.v.R("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=p.round(g*10)/10,j="GC "+d+": "+h+" ms, numVValAlloc="+e.numVValAlloc+
", numVarAlloc="+e.numVarAlloc+", numBytesSysAlloc="+e.numBytesSysAlloc;if(Ah){Ah.Hm(j,null,f)}this.v.R(j);c+=g}if(Ah){Ah.Hm("Total GC time was "+c+" ms.")}this.v.R("Total GC time was "+c+" ms.");this.v.R("*********GC TRACE*********")}});;var Ep=top,th=function(){return Ep},Sb=function(a,b,c){return a&&a[na]&&a[na].toLowerCase()==b&&(!c||a[Ob]==c)},sh=function(a){return a.charCodeAt(0)},cs=kd("TR_Util");var Fl=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},uh=function(a){var b=/^([a-z0-9_-])+(\.[a-z0-9_-]+)*\@(([a-z0-9\-])+\.)+[a-z0-9]+$/i;
return a.search(b)==0},Qi=function(a){if(a.search(/:/)<0){a="http://"+Pm(a)}return a};var Pi=function(a){return!/[^\t\n\r ]/.test(a)};function wl(a){this.n=a}wl[_P].Ko=function(a){function b(c){if(Ji(c)){return NodeFilter.FILTER_SKIP}return NodeFilter.FILTER_ACCEPT}return this.n.createTreeWalker(a,NodeFilter.SHOW_TEXT,b,true)};var Ji=function(a){return Pi(a[nc])},il=function(a){if(a[O]==3||a[O]==4){return/^[\s\u00a0]*$/.test(a[nc])}else{return false}};var jd=function(a){return ua(a)[Ce]=="CSS1Compat"},gp=function(a){var b=ua(a);return eg(b)},jl=function(a,b){if(a[O]==3||a[O]==4){if(b){return il(a)}else{return Ji(a)}}if(Sb(a,"img")){return false}if(!a[ha]){return false}for(var c=0;c<a[ha][i];c++){if(!jl(a[ha][c],b)){return false}}return true},mh=function(a){return!Sb(a,"img")&&(a[O]!=1&&a[O]!=3||Ji(a))},id=function(a){while(a){a=
a[Ec];if(!a||!mh(a))return a}},bc=function(a){while(a){a=a[yb];if(!a||!mh(a))return a}},Te=function(a){if(a){var b=a[ed];while(b){if(!mh(b)){return b}b=b[Ec]}}return null},Cd=function(a){if(a){var b=a[Z];while(b){if(!mh(b)){return b}b=b[yb]}}return null},Uc=function(a){while(Cd(a)){a=Cd(a)}return a},ge=function(a){while(Te(a)){a=Te(a)}return a},fp=function(a){while(a&&!id(a)){a=hl(a)}if(a){a=id(a);a=ge(a);return a}else{return null}},ep=function(a){while(a&&!bc(a)){a=hl(a)}if(a){a=bc(a);a=Uc(a);return a}else{return null}},
ll=function(a,b,c){var d=function(e){a.appendChild(e)};lp(d,true,b,c)},lp=function(a,b,c,d){var e=c,f=b?"nextSibling":"previousSibling";while(e&&e!=d){var g=e[f];a(e);e=g}if(e){a(e)}},Bd=function(a,b){for(;a;a=a[n]){if(b(a)){return a}}return null},cp=function(a,b){var c=null,d=a;while(d&&!ob(d)){if(b(d)){c=d}d=d[n]}return c},Qe=function(a,b,c){b=b.toLowerCase();var d=function(e){return e[na].toLowerCase()==b&&(!c||e[Ob]==c)};return Bd(a,d)},dp=function(a,b,c){var d=function(e){return e[Gg]&&e.getAttribute(b)==
c};return Bd(a,d)},jp=function(a){var b=be(a,"display");return b=="block"},tc=function(a){return a&&(jp(a)||a[na].toLowerCase()=="td"||a[na].toLowerCase()=="table"||a[na].toLowerCase()=="li")},Re=function(a){return Bd(a,tc)},Ki=function(a,b,c){if(a.setAttribute){a.setAttribute(b,c);var d=a[ha];for(var e=0;e<d[i];e++){Ki(d[e],b,c)}}},Mi=function(a,b){if(a[k]){oh(a,b);var c=a[Z];while(c){Mi(c,b);c=c[yb]}}},hp=function(a,b){b[n].insertBefore(a,b[yb])},ip=function(a,b){b[n].insertBefore(a,b)},np=function(a,
b){b[n].replaceChild(a,b)},kl=function(a,b){var c=b[ha][i];for(var d=0;d<c;d++){a.appendChild(b[Z])}},kp=function(a,b){var c=a.getElementsByTagName(b);while(c[0]){nh(c[0]);ba(c[0])}},nh=function(a){var b=a[n],c=a[yb];while(a[Z]){b.insertBefore(a[Z],c)}},pb=function(a,b,c,d,e){var f=a.createElement(b);Li(f,c);if(Xa(d)){ij(f,{style:d})}else{oh(f,d)}if(e){e.appendChild(f)}return f},Li=function(a,b){for(var c in b){a[c]=b[c]}},mp=function(a,b){for(var c=0;c<b[i];++c){a.removeAttribute(b[c])}},oh=function(a,
b){for(var c in b){a[k][c]=b[c]}},lh=function(a){for(var b=1;b<arguments[i];++b){Jc(a,arguments[b])}},hl=function(a){return a[n]},Hc=function(a,b){return a.hasChildNodes()&&b<a[ha][i]?a[ha][b]:null},Vc=function(a){return a[i]?a[i]:a[ha][i]},Se=function(a){if(a[Bf]){return a[Bf]}else if(a.hasChildNodes()){var b="";for(var c=0;c<a[ha][i];c++){var d=a[ha][c];b+=Se(d)}return b}else{return""}},Dd=function(a){var b=Se(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==ae||Pi(b))},Ii=function(a,b){var c=a[da].createTextNode(b);a.appendChild(c);return c},bp=function(a,b,c,d,e){var f;if(typeof b=="string"){f=pb(a[da],"a",{href:b},{},a);if(e){Qc(f,"_blank")}}else{f=pb(a[da],"span",{className:"tr_pseudo-link"},{},a);c.j(f,"click",b)}if(d)Ii(f,d);return f},Pe=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(ae))}}}return g};var fl=function(a,b){for(var c=0,d=a[ha][i];c<d;c++){if(b(a[ha][c])){return c}}return null},gl=function(a){try{return a[xf]}catch(b){}return null};var wk=function(a){return xk(a,false)};var xk=function(a,b){var c=b?id:bc;while(a&&!c(a)&&!tc(a[n])&&!ob(a[n])){a=a[n]}return a&&!c(a)&&!ob(a[n])};function fh(a,b){this.xr=a;this.Cs=new wl(a[Sd][da]);this.sv=b}fh[_P].C=function(a,b){if(!b)b=0;a=zo(a);var c=a.commonAncestorContainer;this.r=this.sv.ce(c);var d=0,e=this.Cs.Ko(this.r),f=e.nextNode(),g=b==1&&Ek(a,0);if(g){b=0;this.yk=true}else{this.yk=Fk(a,b)}if(!this.yk&&b==-1&&Fk(a,0)){b=0}while(f){if(f==a[Ha]){this.K=d+a[Qb]+b;break}d+=f[i];f=e.nextNode()}this.r.normalize()};fh[_P].restore=function(){this.r.normalize();var a=this.Cs.Ko(this.r),b=0,c=a.nextNode();while(c){if(b<=this.K&&this.K<=
b+c[i]){if(this.yk&&this.K!=0){b+=c[i];c=a.nextNode()}var d=c,e=this.K-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=rc(d,e);this.xr.removeAllRanges();this.xr.addRange(g)};var Ek=function(a,b){if(!b)b=0;return a[Be]&&a[Qb]+b==Vc(a[Ha])&&wk(a[Ha])},Fk=function(a,b){if(!b)b=0;return a[Be]&&(a[Qb]+b==0&&xk(a[Ha],true)||Ek(a,0)&&b==1)},Dk=function(a,b){var c=null;if(Pa){c=new gh(a,b)}else if(fb){c=new Pf(a,b)}if(!c.Gp()){c=null}return c},Qf=function(a,b,c){this.mq=
b;this.si=[];while(a&&a[na]!="BODY"&&a!=c){var b=0,d=a[Ec];while(d){d=d[Ec];++b}this.si.unshift({name:a[na],Kf:b});a=a[n]}};eb(Qf[_P],function(){var a=[],b;for(var c=0;b=this.si[c];++c){a.push(b.Kf+","+b[Pc])}return a.join("\n")+"\n"+this.mq+"\n"});Qf[_P].fo=function(a){var b,c=a;for(var d=0;b=this.si[d];++d){c=c[ha][b.Kf];if(!c||c[na]!=b[Pc]){return null}}return c};Qf[_P].Eo=function(){return this.mq};var gh=function(a,b){this.Bf=false;if(!a){return}var c=a[Bg],d=a[Sd];if(!c||!d){return}var e=a.anchorOffset,
f=new Qf(c,e,b),g=a.focusOffset,h=new Qf(d,g,b),j=rc(c,e),l=rc(d,g);if(j.compareBoundaryPoints(Range.START_TO_START,l)<1){this.K=f;this.Z=h}else{this.K=h;this.Z=f}this.Bf=true};gh[_P].Gp=function(){return this.Bf};eb(gh[_P],function(){return"MOZ:"+this.K.toString()+this.Z.toString()});gh[_P].hl=function(a,b){var c=this.K.fo(a),d=this.Z.fo(a);if(!c||!d){return false}var e=rc(c,this.K.Eo(),d,this.Z.Eo());b.focus();var f=b.getSelection();f.removeAllRanges();f.addRange(e);return true};var Pf=function(a,
b){this.Bf=false;if(!Zc(b,a.parentElement())){return}var c=b[da][B].createTextRange();c.moveToElementText(b);var d=a.duplicate();d.collapse(true);d.setEndPoint("StartToStart",c);this.K=this.rn(d);var e=a.duplicate();e.setEndPoint("StartToStart",c);this.Z=this.rn(e);this.Bf=true};Pf[_P].Gp=function(){return this.Bf};eb(Pf[_P],function(){return"IE:"+this.K+","+this.Z});Pf[_P].rn=function(a){var b=a.duplicate(),c=a[Xd],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};Pf[_P].hl=function(a,b){a.focus();var c=a[da][Og].createRange();c.moveToElementText(a);c.collapse(true);c.moveEnd("character",this.Z);c.moveStart("character",this.K);c.select()};function Sf(a,b){this.Ba=a;this.h=b}var rc=function(a,b,c,d){var e=a[da].createRange();e.setStart(a,b);if(c&&d>=0){e.setEnd(c,d)}return e},zo=function(a){var b=a[Ha],c=a[Qb],d=a[lc],e=a[mc];if(tc(b)){var f=Vc(b);if(f==c){b=ge(b);c=Vc(b)}else{b=Hc(b,c);b=Uc(b);c=0}}if(!a[Be]&&tc(d)){var f=Vc(d);if(e==0){d=Uc(d);e=0}else{d=Hc(d,e-1);d=ge(d);e=Vc(d)}}if(a[Be]){return rc(b,c)}else{return rc(b,c,d,e)}};Sf[_P].ni=function(a){if(tc(a[Ha])){var b=Hc(a[Ha],a[Qb]);b=Uc(b);var c=0}else{var b=a[Ha],c=a[Qb]}if(tc(a[lc])){var d=
Hc(a[lc],a[mc]);d=ge(d);var e=Vc(d)}else{var d=a[lc],e=a[mc]}a=rc(b,c,d,e);this.Ba.ni(a)};Sf[_P].gv=function(a){if(!a[Be]){var b=new fh(this.Ba.getSelection(),this.h);b.C(a,0);var c=xo(a),d=yo(a);this.yv(a);if(c){var e=Re(a[Ha]);if(jl(e,false)){M(e,"&nbsp;");this.Ba.vr(e[Z]);b=null}}if(!c&&d){var f=Re(a[Ha]),g=bc(f);kl(g,f);ba(g)}if(b)b.restore()}};Sf[_P].yv=function(a){a=a.cloneRange();var b=new fh(this.Ba.getSelection(),this.h);b.C(a);var c=a.extractContents();if(a[Ha].hasChildNodes()){var d=Hc(a[Ha],
a[Qb]);if(d){var e=id(d);if(Se(d)==""){ba(d)}if(e&&Se(e)==""){ba(e)}}}b.restore();return c};Sf[_P].Cw=function(){var a=this.Ba.Nb();a=a.cloneRange();return a};var xo=function(a){var b=wo(a),c=vo(a);return b==c},yo=function(a){var b=a[lc];if(tc(b)&&tc(Hc(b,a[mc]))){return false}var c=Re(b);while(c!=b){if(bc(b)){return true}b=b[n]}return a[mc]!=Vc(a[lc])},wo=function(a){var b=a[Ha];if(tc(b)&&tc(Hc(b,a[Qb]))){return Hc(b,a[Qb])}return Re(b)},vo=function(a){var b=a[lc];if(tc(b)&&tc(Hc(b,a[mc]))){return Hc(b,
a[mc])}return Re(b)};var No=Fa(),sc=function(){return"tr_"+No++};function Xf(a){this.Ra=a}Xf[_P].Bg=function(a){var b=a.Ra;return 0==ol(this.Ra,b[Ha],b[Qb])};Xf[_P].Ag=function(a){var b=a.Ra;return 0==ol(this.Ra,b[lc],b[mc])};Xf[_P].mi=function(a){if(a[O]==3)a=a[n];var b=Uc(a),c=ge(a);if(Sb(b,"br")){b=b[n]}if(Sb(c,"br")){c=c[n]}this.Ra.setStart(b,0);this.Ra.setEnd(c,Vc(c))};function Oe(a){Xg(this,new uf(this,"Start"));this.Zn=new uf(this,"End");this.Ra=a}Oe[_P].Bg=function(a){return this.sn(a.start)};Oe[_P].Ag=function(a){return this.sn(a.Zn)};Oe[_P].sn=function(a){try{return this.start.dy(a)&&
this.Zn.ey(a)}catch(b){return false}};Oe[_P].mi=function(a){var b=this.Ra;if(a[O]==1){b.moveToElementText(a)}else{var c=0,d=a;while(d=d[Ec]){var e=d[O];if(e==3){c+=d[nc][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[nc][i])}};function uf(a,b){this.$q=a;this.Oq=b;this.rC=true}uf[_P].dy=function(a){return this.qn(a)<=0};uf[_P].ey=function(a){return this.qn(a)>=0};uf[_P].qn=function(a){var b=this.$q.Ra;
return b.compareEndPoints(this.Oq+"To"+a.Oq,a.$q.Ra)};function Uf(a){if(fb){Oe.call(this,a)}else{Xf.call(this,a)}}Uf.a(fb?Oe:Xf);var ph=function(a){var b=fb?a[da][B].createTextRange():a[da].createRange(),c=new Uf(b);c.mi(a);return c};Uf[_P].Ju=function(a){return this.Bg(a)&&this.Ag(a)};Uf[_P].xz=function(a){return this.Bg(a)||this.Ag(a)||a.Bg(this)||a.Ag(this)};var ol=function(a,b,c){if(a.comparePoint){return a.comparePoint(b,c)}else{return a.compareBoundaryPoints(Range.START_TO_START,rc(b,c))}};function C(a,b){this.q=a||window;if(!b){if(this.q.getSelection){b=this.q.getSelection()}else if(this.q[fa][Og]){b=this.q[fa][Og]}else if(this.q[fa].getSelection()){b=this.q[fa].getSelection()}}this.Dd=b;try{if(b&&b.createRange){if(b[N]=="Control"){var c=b.createRange(),d=c.item()[da];this.m=d[B].createTextRange()}else{this.m=b.createRange()}}else{this.m=b}}catch(e){this.m=null}}C[_P].v=kd("TR_SelectionUtil");C[_P].Dd=null;C[_P].m=null;C[_P].q=null;C[_P].getSelection=function(){return this.m};C[_P].Da=
null;C[_P].ja=null;C[_P].K=-1;C[_P].Z=-1;C[_P].xa=function(){this.Da=null;this.ja=null;this.K=-1;this.Z=-1};C[_P].Mb=function(){return this.Da||(this.Da=this.kd(1))};C[_P].ld=function(){return this.ja||(this.ja=this.kd(0))};C[_P].Jo=function(){return this.K>=0?this.K:(this.K=this.Fo(1))};C[_P].$v=function(){return this.Z>=0?this.Z:(this.Z=this.Fo(0))};C[_P].Fo=function(a){return Pa?this.yw(a):this.xw(a)};C[_P].xw=function(a){var b=this.kd(a);if(b[O]==1){return 0}else{var c=this.fh(),d=ph(b).Ra;c.setEndPoint(a==
1?"EndToEnd":"StartToStart",d);var e=c[Xd][i];return a==0?e:b[nc][i]-e}};C[_P].yw=function(a){var b=this.Nb();if(!b){return-1}return a==1?b[Qb]:b[mc]};C[_P].kd=function(a){if(Pa){var b=this.Nb();if(!b){return null}return a==1?b[Ha]:b[lc]}else if(fb){var c=this.La();return this.po(c,a)}};C[_P].po=function(a,b){if(!a||!a[Z]){return a}var c=b==1?Cd(a):Te(a),d=b==1?bc:id;while(c){if(this.Te(c,false)){return this.po(c,b)}c=d(c)}return a};C[_P].La=function(){if(this.m.parentElement){var a=this.m[Xd];for(var b=
1;a.charAt(a[i]-b)==" ";++b){this.m.moveEnd("character",-1)}var c=this.m.parentElement(),d=Ij(this.m[Hg]);while(d[i]>Ij(c[Td])[i]){c=c[n]}while(c[ha][i]==1&&c[Ig]==c[Z][Ig]){if(c[Z][oa]=="IMG"){return c}c=c[Z]}return c}else if(Pa){if(gc(this.m[Sd])){return null}var e=this.Nb();if(!this.Ic()&&e[Ha][i]==e[Qb]&&!wk(e[Ha])){var f=ep(e[Ha]),g=0,h=e[lc],j=e[mc];if(f){e=rc(f,g,h,j)}}var h=e[lc],j=e[mc];while(h&&!e[Be]&&il(h)){var l=fp(h);if(bq(l,e[Ha])>=0){h=l}if(h){j=h[i];e=rc(e[Ha],e[Qb],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].Ic=function(){return this.m.isCollapsed||this.m[Xd]==""};C[_P].vp=function(a){var b=this.La();return b&&Zc(a,b)};C[_P].empty=function(){this.xa();if(this.Dd.empty){try{this.Dd.empty()}catch(a){}}else if(this.Dd.removeAllRanges){this.Dd.removeAllRanges()}};C[_P].Jn=function(a){this.xa();var b=new Sf(this,a),c=b.Cw();b.gv(c);return c};C[_P].Te=function(a,b){if(!a){return false}try{var c=new Uf(this.Nb()),d=ph(a);return b?c.Ju(d):c.xz(d)}catch(e){return false}};C[_P].mi=function(a){this.xa();if(fb){this.m.moveToElementText(a);
this.m.select()}else if(Pa){var b=Uc(a),c=ge(a);this.m.collapse(b,0);this.m.extend(c,Vc(c))}};C[_P].ni=function(a){this.xa();if(Pa){if(this.m){if(this.m.removeAllRanges){this.m.removeAllRanges();this.m.addRange(a)}else if(this.m.setBaseAndExtent){this.m.setBaseAndExtent(a[Ha],a[Qb],a[lc],a[mc])}this.q.focus()}}};C[_P].selectNodes=function(a,b,c,d){return Pa?this.wr(a,b,c,d):this.hA(a,b,c,d)};C[_P].hA=function(a,b,c,d){var e=ph(a).Ra;if(b){e.move("character",b)}var f=ph(c).Ra;f.collapse();if(d){f.moveEnd("character",
d)}if(e[Xd][i]||f[Xd][i]){e.setEndPoint("EndToEnd",f)}e.select()};C[_P].wr=function(a,b,c,d){this.xa();var e=a;a=Oi(a);if(a!=e){b=fl(a,function(h){return h==e})}this.m.collapse(a,b);try{var f=c;c=Oi(c);if(c!=f){d=fl(c,function(h){return h==f})}this.m.extend(c,d)}catch(g){}};C[_P].vr=function(a){this.gA(a,0)};C[_P].gA=function(a,b,c,d){this.xa();a=Uc(a);a=Oi(a);var e=rc(a,b,c,d);this.ni(e)};var Oi=function(a){return Sb(a,"br")?a[n]:a};C[_P].ji=function(){if(fb){this.ki=this.Dd.createRange()}else if(Pa&&
this.m[Bg]){this.hg=this.Zj(true);this.Rj=this.Zj(false)}};C[_P].ii=function(){this.xa();if(fb&&this.ki){this.ki.select()}else if(Pa&&this.hg&&this.hg.s[da]&&this.Rj.s[da]){this.wr(this.hg.s,this.hg.Kf,this.Rj.s,this.Rj.Kf);this.q.focus()}};C[_P].collapse=function(a){if(fb){this.Gu(a)}else if(Pa){this.Hu(a)}};C[_P].Gu=function(a){this.xa();if(this.ki){this.ki.collapse(a)}};C[_P].Hu=function(a){this.xa();if(!this.Ic()){if(a){this.m.collapseToStart()}else{this.m.collapseToEnd()}}};C[_P].k=function(){if(!this.n){if(this.m[Sd]){this.n=
this.m[Sd][da]}else if(this.m.parentElement){this.n=this.m.parentElement()[da]}}return this.n};C[_P].Zj=function(a){var b=this.m[a?"anchorNode":"focusNode"],c=this.m[a?"anchorOffset":"focusOffset"];while(b.hasChildNodes){var d=Hc(b,c);if(!d&&!b[ed]){break}if(d){b=d;c=0}else{b=b[ed];c=Vc(b)}}return{s:b,Kf:c}};C[_P].ww=function(a){var b=this.La(),c=[];if(!a){for(var d=b;d&&!ob(d);d=d[n]){if(d[O]==1){c.push(d)}}}return this.Do(b,c,a)};C[_P].Do=function(a,b,c){var d=Cd(a);if(c&&!d){return[a]}var e=false;
while(d){if(this.Te(d,false)){e=true;if(c||d[O]==1){b.push(d);if(!c){this.Do(d,b)}}}else if(e){break}d=bc(d)}return b};C[_P].ai=function(a){if(fb){this.Qq(a,false)}else if(Pa){this.Sq(a,false)}};C[_P].Rq=function(a){if(fb){this.Qq(a,true)}else if(Pa){this.Sq(a,true)}};C[_P].Qq=function(a,b){this.xa();this.m=a[da][B].createTextRange();this.m.moveToElementText(a);this.m.collapse(b);this.m.select()};C[_P].Sq=function(a,b){this.xa();var c=Ra(a),d=c.createTextNode("");a[n].insertBefore(d,b?a:a[yb]);this.ni(rc(d,
0))};C[_P].Nb=function(){if(fb){return this.m}else if(Pa&&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[Bg]){return null}else{var b=a.createRange();b.setStart(this.m[Bg],this.m.anchorOffset);b.setEnd(this.m[Sd],this.m.focusOffset);return b}}}else{return null}};C[_P].surroundContents=function(a){this.xa();var b=this.Nb();if(b){var c=b[Hg];if(c){ba(a);var d=a.id,e=d||(a.id=sc());M(a,c);b.pasteHTML(a[Td]);a=this.k().getElementById(e);
if(a&&!d){a.removeAttribute("id")}}else if(Pa){b.surroundContents(a)}else{a=null}}return a};C[_P].fh=function(){var a=null,b=this.Nb();if(fb){a=b.duplicate()}else if(Pa){a=b.cloneRange()}return a};C[_P].insertNode=function(a,b){this.xa();var c=this.fh();if(c){c.collapse(b);if(fb){var d=Ra(this.k()[B]),e=a.id;a.id=sc();c.pasteHTML(a[Td]);a=d.Ts(a.id);a.id=e}else if(Pa){c.insertNode(a);c.detach()}}return a};C[_P].ur=function(a,b){this.empty();var c=this.Dd;if(Pa){var d=this.q[fa].createRange();d.setStartBefore(a);
d.setEndAfter(b);c.addRange(d)}else if(fb){var e=this.q[fa],f=e[B].createTextRange(),g=e[B].createTextRange();f.moveToElementText(a);g.moveToElementText(b);f.setEndPoint("EndToEnd",g);f.select()}};{C[_P].lB=function(a,b){this.xa();if(u){var c=this.fh(),d=this.fh();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 Yb=function(a,b){a=a||new C;this.Da=a.Mb();this.K=a.Jo();this.ja=a.ld();this.Z=a.$v();if(this.Da[O]==1&&this.Da[oa]!="BR"){this.Da=this.Da[ha][this.K];this.K=0}if(this.ja[O]==1){var c=this.ja;this.ja=this.ja[ha][this.Z];if(this.ja){this.Z=0}else{this.ja=c}}sa.call(this,b?this.ja:this.Da)};Yb.a(sa);Yb[_P].Da=null;Yb[_P].ja=null;Yb[_P].K=0;Yb[_P].Z=0;Yb[_P].Mb=function(){return this.Da};Yb[_P].ld=function(){return this.ja};Yb[_P].next=function(){if(this.Zx()){this.Vh();return this}return sa[_P].next.apply(this,
arguments)};Yb[_P].cp=function(){return this.s!=this.ja||this.Dp()};Yb[_P].di=function(){if(!this.dp()){this.Vh();return this}return sa[_P].di.apply(this,arguments)};Yb[_P].dp=function(){return this.s!=this.Da||this.yp()};Yb[_P].H=function(){var a=new Yb;a.setPosition(this.s,this[N],this.Wa);a.Da=this.Da;a.ja=this.ja;a.K=this.K;a.Z=this.Z;return a};;;;var Dr=new In(/./,null,{fontSize:/^(\d+)/}),Cr=new Hn(/./,null,{fontSize:/^(\d+)/}),Gr=new bd,Hr=new bd,Er=new bd,zn=function(a,b){if(a.nc()){return}var c=b?null:a.p();if(c){c.ji()}var d=a.J().J();Gr.match(d);var e=false,f=[],g,h=new bd;h.Jm(Dr,function(j){if(!e){f.unshift(a.Fw());g=Ra(d);e=true}if(j&&j[k]&&(j[k][Fe]&&Rh(j[k][Fe],"em")||Gb(j,"_fs")||Gb(j,"_fontScaler"))||Gb(j,Tj)){f.push(Kl(f)*wb(j[k][Fe]));return false}else{var l=j[k][Fe];ur(j);var m=Kl(f),q=vn(l,m),v=q/m;if(v<=0.999||v>=1.001){var U=
j;if(j[na].match(/^(font|span|li|ul)$/i)){var Q=g.l("SPAN");while(j[Z]){Q.appendChild(j[Z])}j.appendChild(Q);U=Q}li(U[k],v+"em")}}return false});h.Jm(Cr,function(){f.pop();return false});h.match(d);Hr.match(d);if(c){c.ii()}},Fr=function(a){if(a.nc()){return}zn(a,true);Er.match(a.J().J())};var Bn=function(a){return Ba(a,"height")},fi=function(a,b){pa(a[k],(b>0?b:0)+"px")},di=function(a){if(a==ua(a)[B]){if(s){a=Um(a);return a[Pb]}var b=ua(a),c=eg(b);return c[Df]}return a[Pb]},Mr=function(a,b){var c=Ba(a,"paddingTop")+Ba(a,"paddingBottom");fi(a,b-c)},Nr=function(a,b){var c=Ba(a,"paddingTop")+Ba(a,"paddingBottom"),d=Ba(a,"borderTopWidth")+Ba(a,"borderBottomWidth");fi(a,b-c-d)},Cn=function(a){var b=Ba(a,"marginTop")+Ba(a,"marginBottom");return a[gd]+b},Qr=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");fi(a,b-c-d-e)},Vj=function(a,b){ia(a[k],(b>0?b:0)+"px")},An=function(a){if(a==ua(a)[B]){a=a[n]}return a[ac]},Fn=function(a,b){var c=Ba(a,"paddingLeft")+Ba(a,"paddingRight");Vj(a,b-c)},Or=function(a,b){var c=Ba(a,"paddingLeft")+Ba(a,"paddingRight"),d=Ba(a,"borderLeftWidth")+Ba(a,"borderRightWidth");Vj(a,b-c-d)},Dn=function(a){var b=Ba(a,"marginLeft")+Ba(a,"marginRight");return a[He]+b},
Pr=function(a,b){if(b[A]){Vj(a,b[A])}if(b[z]){fi(a,b[z])}},wg=function(a){return new ya(An(a),di(a))},En=function(a,b){if(b[A]){Fn(a,b[A])}if(b[z]){Mr(a,b[z])}},sf=function(a,b){if(b[A]){Or(a,b[A])}if(b[z]){Nr(a,b[z])}};var Ba=function(a,b){var c=wb(ei(a,b));return Od(c)?0:c},ei=function(a,b){var c,d=ua(a);if(d&&d[dd]&&d[dd].getComputedStyle){var e=d[dd].getComputedStyle(a,"");if(e){c=e[b]}}return ea(c)?c:(a[Qd]?a[Qd][b]:a[k][b])},Bc=function(a){this.jj=a;this.Xc=[];this.Jf=0;this.Qh={};var b=this.kd();
if(b){this.ie(b)}};Bc[_P].xt=function(a){this.Xc.push(a)};Bc[_P].wc=function(){var a=this.kd();if(a){this.ep();this.Vl(a);for(var b=0;b<this.Xc[i];b++){this.Xc[b].wc()}}};Bc[_P].kd=function(){var a=this.jj?o(this.jj):Dh()[B];return a&&a[n]&&a[O]==1&&a[Z]&&a[k][Fg]!="none"?a:null};Bc[_P].ie=function(a){var b=gj(a);while(b&&b[n]&&b[n]==a){if(Gb(b,"autolayout")){var c=b.id;if(!c){c=(this.jj||"page")+".layout"+this.Jf;b.id=c}this.Qh[c]={display:b[k][Fg]};this.Jf++}b=bm(b)}};Bc[_P].ep=function(){for(var a in this.Qh){var b=
o(a);if(b){ta(b[k],"none")}}};Bc[_P].Vl=function(a){};var ye=function(a){Bc.call(this,a)};ye.a(Bc);ye[_P].ie=function(a){var b=a[Db]?a[Db][i]:0;for(var c=0;c<b;c++){var d=a[Db][c],e=d[xb]?d[xb][i]:0;for(var f=0;f<e;f++){var g=d[xb][f];ye.g.ie.call(this,g)}}};ye[_P].wc=function(){var a=this.kd();if(a){this.ep();this.Vl(a);for(var b=0;b<this.Xc[i];b++){this.Xc[b].wc()}if(s){for(var b=0;b<this.Xc[i];b++){this.Xc[b].wc()}}}};var vg=function(a){Bc.call(this,a)};vg.a(Bc);vg[_P].Vl=function(a){var b=0,c=
gj(a);while(c&&c[n]&&c[n]==a){var d=ei(c,"display")=="none"||ei(c,"visibility")=="hidden",e=ei(c,"position")=="absolute";if(!d&&!e&c[oa]!="SCRIPT"){b+=c[gd]}c=bm(c)}var f;if((ra||Nc)&&a[oa]=="TD"){f=di(a[n])}else{f=di(a)}if(this.Jf>0){var g=this.Jf==1?f-b:p.round((f-b)/this.Jf);for(var h in this.Qh){var j=o(h);Qr(j,g);ta(j[k],this.Qh[h][Fg])}}};Ub("TLayout",ye);Ub("VLayout",vg);nj(Bc[_P],"addChildLayout",Bc[_P].xt);nj(ye[_P],"update",ye[_P].wc);nj(vg[_P],"update",vg[_P].wc);;;;;var Tc=function(a,b){if(a instanceof Sa){a.preventDefault();a.stopPropagation();Jf(a.hd(),b)}else{if(a.preventDefault){a.preventDefault()}if(a.stopPropagation){a.stopPropagation()}a.cancelBubble=true;Jf(a,b)}return b},fe=function(a){if(a[$]){var b=a[$];if(Sb(b,"iframe")&&b[$]){if(b[Ob]!="igm"){b=b[$]}}return b}else if(a[Wd]){return a[Wd]}else if(a[kc]){return a[kc]}},Zk=function(a,b){Qc(b,a);a.dispatchEvent(b)},Mo=function(a,b){if(a.dispatchEvent){a.dispatchEvent(b)}else{a.fireEvent("on"+b[N],b)}},
Jo=function(a,b,c,d){b=b.hd()||b;var e;if(a.createEvent){e=Lo(a,b,c,d)}else if(a.createEventObject){e=Ko(a,b,c,d)}return e},Lo=function(a,b,c,d){var e=a.createEvent("MouseEvents");e.initMouseEvent(b[N],b.bubbles,b.cancelable,b.view,b.detail,b[oc],b[pc],ea(c)?b[oc]-c:b[lb],ea(d)?b[pc]-d:b[mb],b[Dc],b[yf],b[Ud],b[fd],b[zf],b.relatedTarget);return e},Ko=function(a,b,c,d){var e=a.createEventObject(b);if(ea(c)){Rg(e,b[oc]-c)}if(ea(d)){Sg(e,b[pc]-d)}return e};var ap=function(a){if(u){ta(a[k],"none");ta(a[k],"block")}},$o=function(a){if(u){var b=a[k].borderTopWidth,c=Le(a,"borderTopWidth")+1;a[k].borderTopWidth=c+"px";a[k].borderTopWidth=b}},kh=function(a){var b=pb(a[da],"div",{},{overflow:"auto",height:"100%"}),c=pb(a[da],"div",{},{paddingRight:"5px",height:"100%"},b);c.appendChild(a);return b};;;;;var xc=function(a){R.call(this);this.eg=a||window;this.Oh=t(this.eg,oe,this.Bx,false,this);this.Pa=Ze(this.eg)};xc.a(R);xc[_P].Oh=null;xc[_P].eg=null;xc[_P].Pa=null;xc[_P].Lf=null;xc[_P].rf=function(){return this.Lf};xc[_P].Pr=function(a){this.Lf=a};xc[_P].c=function(){if(!this.O()){xc.g.c.call(this);if(this.Oh){Ua(this.Oh);this.Oh=null}this.eg=null;this.Pa=null}};xc[_P].Bx=function(a){var b=Ze(this.eg);if(!um(b,this.Pa)){this.Pa=b;this.dispatchEvent(oe)}};;;;;;;;;;;;;;;function ee(a,b){this.Jt=a;this.Cp=b}ee[_P].lf=function(){return this.Jt};ee[_P].gh=function(){if(!this.uj){this.uj=Se(this.lf())}return this.uj};ee[_P].$x=function(){return this.Cp};ee[_P].rp=function(a){Ug(this.lf(),a)};ee[_P].tu=function(a,b){var c=this.lf();Ug(c,b);var d=this.gh(),a=a!=d&&a;if(a){var e=Uc(c);if(e[O]==3){e=e[n]}if(Se(e)!=d){e=c}M(e,"");Ii(e,a);this.uj=null}this.Cp=false};var Do=function(a,b,c){var d=new ee(a,true);d.rp(b);if(c){Qc(a,c)}return d};function Gc(a,b,c,d,e){this.Ef=(this.Rh=(this.Ff=(this.Sh=null)));this.Ik=(this.Jk=null);this.lk=null;this.mk=null;this.dg=c;this.u=d;this.Y=b;this.tB=a;this.xv=e;this.o=new Ta(this);if(Od(ka(this.Y[k][Ca],10))){nb(this.Y[k],"0px")}if(Od(ka(this.Y[k].top,10))){this.Y[k].top="0px"}this.o.j(a,zc,this.hx)}Gc[_P].c=function(){if(this.o){this.o.c();this.o=null}};Gc[_P].hx=function(a){a=Jk(a);if(this.xv&&a[$]!=this.tB&&be(a[$],"cursor")!="move"){return false}var b=ka(this.Y[k][Ca],10),c=ka(this.Y[k].top,
10);this.My(b,c,a[lb],a[mb]);this.Ik=a[lb];this.Jk=a[mb];if(!gc(this.Ef)){this.$p=a[lb]-b+this.Ef}if(!gc(this.Rh)){this.wy=this.$p+this.Rh-this.Ef}if(!gc(this.Ff)){this.aq=a[mb]-c+this.Ff}if(!gc(this.Sh)){this.xy=this.aq+this.Sh-this.Ff}this.lk=D(this.fx,this);this.mk=D(this.nk,this);this.Ro=D(this.nk,this);this.To=D(this.gx,this);t(this.u,Fh,this.lk);t(this.u,Gd,this.mk);t(this.u,Fd,this.To);window.setTimeout(D(function(){t(this.u,zc,this.Ro)},this),10);var d=th()[fa];if(this.u==d){this.yh=(this.xh=
null)}else{this.yh=D(this.Uo,this);this.xh=D(this.Uo,this);t(d,Gd,this.yh);t(d,zc,this.xh)}if(this.Y.setCapture){this.Y.setCapture(true)}return false};Gc[_P].fx=function(a){a=Jk(a);var b=a[mb],c=a[lb],d=ka(this.Y[k].top,10),e=ka(this.Y[k][Ca],10),f,g;if(!gc(this.Ef))c=p.max(c,this.$p);if(!gc(this.Rh))c=p.min(c,this.wy);if(!gc(this.Ff))b=p.max(b,this.aq);if(!gc(this.Sh))b=p.min(b,this.xy);f=e+(c-this.Ik);g=d+(b-this.Jk);nb(this.Y[k],f+"px");this.Y[k].top=g+"px";this.Ik=c;this.Jk=b;this.Ly(f,g,a[lb],
a[mb]);return false};Gc[_P].nk=function(a){Tc(a);this.So({x:a[lb],y:a[mb]})};Gc[_P].gx=function(a){var b=Ze(this.dg);if(a[lb]>=b[A]||a[mb]>=b[z]||a[lb]<0||a[mb]<0){this.nk(a)}};Gc[_P].Uo=function(a){Tc(a);this.So()};Gc[_P].So=function(a){qb(this.u,Fh,this.lk);qb(this.u,Gd,this.mk);qb(this.u,zc,this.Ro);qb(this.u,Fd,this.To);var b=th()[fa];if(this.yh){qb(b,Gd,this.yh)}if(this.xh){qb(b,zc,this.xh)}if(this.Y.releaseCapture){this.Y.releaseCapture()}if(a){this.uq(ka(this.Y[k][Ca],10),ka(this.Y[k].top,
10),a.x,a.y)}else{this.uq(ka(this.Y[k][Ca],10),ka(this.Y[k].top,10))}};var Jk=function(a){if(!ea(a.layerX)){a.layerX=a.offsetX;a.layerY=a.offsetY}return a};Gc[_P].My=function(a,b,c,d){};Gc[_P].Ly=function(a,b,c,d){};Gc[_P].uq=function(a,b,c,d){};function xa(a){this.yz=a};xa[_P].V=function(){return this.yz};xa[_P].k=function(){if(!this.n){this.n=this.V()[fa]}return this.n};xa[_P].Hw=function(){return dg(this.V())};xa[_P].Tj=function(){if(!this.Tm){this.Tm=this.k()[B]}return this.Tm};xa[_P].lw=function(){if(!this.hp){this.hp=this.Tj()[n]}return this.hp};xa[_P].Ka=function(a){return this.k().getElementById(a)};xa[_P].fr=function(a){var b=this.Ka(a);if(b){ba(b)}};xa[_P].he=function(){return this.mh()[ac]};xa[_P].fe=function(){return this.mh()[Pb]};
xa[_P].Jw=function(){return this.mh().scrollWidth};xa[_P].Iw=function(){return this.mh()[Ff]};xa[_P].mh=function(){if(!this.lq){this.lq=jd(this.k())?this.k()[ud]:this.Tj()}return this.lq};xa[_P].Lq=function(a,b){var c=this.fe()-50,d=this.he()-50,e="resizable=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=no,menubar=yes,width="+d+",height="+c,f=this.V().open(a,b,e,true);f.focus();return f};xa[_P].CA=function(a){try{this.V().location=a}catch(b){}};xa[_P].Zg=function(){this.V().focus()};
xa[_P].p=function(){return new C(this.V())};var vh=function(){th().status="";return true};xa[_P].refresh=function(){this.V()[Cb].reload(true)};function Rb(a){this.lp=a;this.Tk=[];try{var b=a[De]}catch(c){}finally{if(b){this.$r()}else{this.jy()}}}Rb.a(xa);Rb[_P].xj=function(){if(this.te){Ua(this.te);this.te=null}};Rb[_P].$r=function(){xa.call(this,this.Kb()[De]);this.gy=true};Rb[_P].jy=function(a){if(a){this.Tk.push(a)}if(!this.te){var b=pi?"readystatechange":"load";this.te=t(this.lp,b,this.Sn,true,this)}try{var c=pi?this.Kb()[Ef]=="complete":this.Kb().contentDocument[B]}catch(d){}if(c){this.Sn()}};Rb[_P].Sn=function(){if(!pi||this.Kb()[Ef]==
"complete"){if(!this.gy){this.$r()}while(this.Tk[i]){var a=this.Tk.pop();a()}Ua(this.te);this.te=null}};var cl=function(a){return a.frameElement};Rb[_P].Kb=function(){return this.lp};Rb[_P].nh=function(){return this.Kb()[da]};Rb[_P].mr=function(a,b){var c=ka(a,10),d=ka(b,10);ia(this.Kb(),c);pa(this.Kb(),d)};Rb[_P].Ez=function(a,b){a.j(this.nh(),"mouseover",D(this.Fz,this),true);var c=D(this.Dz,this),d=this.k(),e=!(!b);for(var f=0;f<al[i];f++){var g=al[f];a.j(d,g,c,e)}};Rb[_P].Fz=function(a){this.dA=
a[oc]-a[lb];this.eA=a[pc]-a[mb]};var bl=["target","originalTarget"],al=["mousedown","mouseup","mousemove","mouseover","mouseout","click"];Rb[_P].Dz=function(a){var b=this.Kb();if(!b||!b[n]){return}var c=Jo(this.k(),a,this.dA,this.eA);for(var d=0;d<bl[i];d++){var e=bl[d];b[e]=a[e]}Mo(b,c)};var nl=function(a,b,c){var d=ua(a);if(d.getBoxObjectFor){var e=c&&c[fa];return op(a,e)}var f=b,g=c||th(),h={x:0,y:0},j=a;while(a){h.x+=a[ii];h.y+=a[ji];if(f&&!a[bk]){a=cl(f);if(f==g){f=null}else{if(a){var l=dg(f);h.x-=l.x;h.y-=l.y}f=f.parent}}else{a=a[bk]}}var a=j;while(a&&!Sb(a,"body")){h.x-=a[ki];h.y-=a[Ng];a=a[n]}return h},op=function(a,b){var c={x:0,y:0},d=ua(a),e=d.getBoxObjectFor(a),f=b||d,g=f.getBoxObjectFor(Um(f));c.x=e[oc]-g[oc];c.y=e[pc]-g[pc];return c},Tf=function(a){var b=a[gd];if(s&&
jd(a)){b+=eh(a)}return b},ml=function(a){return a[He]};;function P(a,b,c,d,e,f,g){R.call(this);this.Yb=new xa(a);this.Lj=b;var h=this.Yb.k();this.i=Ra(h);this.au=e.Sa.base;this.na=e;this.Jl=c;this.mB=d;var j=this.i.l("div",{className:"tr_bubble"});Jc(h[B],j);this.Ta=j;this.Ci=f;this.gB=g.ue(new ee(c,false));this.bi=new la(j);this.o=new Ta(this);pf(j,0.9);this.o.j(j,ne,pf.ue(j,1));this.pb=new Tb(c[da]);this.o.j(this.pb,"key",this.zh);this.o.j(this.bi,"show",this.zl);this.o.j(this.bi,"hide",this.Sd);this.yi=c[na];if(this.yi=="IMG"){this.Su()}else if(this.yi==
"A"){this.Ru()}this.zt();this.ye();hh(j,this.o)}P.a(R);var tk="beforelocationchange";P[_P].zh=function(a){this.Sd();return true};P[_P].OA=function(a){this.ps=a};P[_P].zA=function(a){this.xp=a};P[_P].la=function(){return this.Jl};P[_P].Pw=function(){return this.mB};P[_P].pA=function(a){if(this.Ta){G(this.Ta,"zIndex",a)}};var sk="tr_edit-page-span",uk="tr_test-link-span",dh="tr_original_link",vk=function(a){return a.split("_")[1]},rk=ae+ae+"-"+ae+ae,ch=["tr_small_link","tr_medium_link","tr_large_link",
dh];P[_P].qd=function(){var a=this.la();if(this.yi=="IMG"){return a.src}else if(this.yi=="A"){return this.na.No(a)}};var ri=s?4:2;P[_P].uz=function(){this.Sb(true);this.dispatchEvent("opened")};P[_P].Sd=function(a){if(this.Ta){ba(this.Ta);this.Ta=null;if(this.o){this.o.c();this.o=null}if(this.pb){this.pb.c();this.pb=null}this.dispatchEvent("closed");this.dispatchEvent("dispose")}};P[_P].zl=function(){this.Yh();this.cl();this.ye()};P[_P].Sb=function(a){this.bi.Sb(a)};P[_P].le=function(){return this.bi.le()};
P[_P].ye=function(){var a=this.la(),b=this.Pw(),c=0,d=a[gd],e=this.Yb.V(),f=nl(a,b,e),g=f.y,h=d+g+ri+c,j=this.Yb.Hw(),l=this.Yb.fe()+j.y,m=Ac(this.Ta),q=m[z];if(q+h>l){var v=nl(this.Lj[fa][B],this.Lj,e),U=dg(this.Lj).y;h=p.max(g-ri-q,v.y+U+ri)}var Q=m[A],za=f.x,Oa=this.Yb.he()+j.x;if(Q+za>Oa){za=Oa-Q}Wh(this.Ta,za,h)};P[_P].cl=function(){var a=4,b=0,c=this.Ta[ha];for(var d=0,e;e=c[d];d++){var f=Ac(e);a+=f[A];b+=f[z]}Mc(this.Ta,a,b)};P[_P].Su=function(){var a=this.vn(),b;this.Yh=this.Sl;{b=this.i.l("div",
{id:"tr_sizes-div"});Jc(a,b);for(var c=0;c<ch[i];c++){this.yn(ch[c],false,b);Ii(b,rk)}}this.$c("tr_delete-image","Remove",this.ev,b);this.cl()};P[_P].Qg=function(a){this.dispatchEvent({type:"change",ju:this.la(),Ey:a})};P[_P].Sl=function(){var a=this.i.e("tr_sizes-div");if(a){var b=this.la(),c=Qo(b,this.na.ud(b.src));for(var d=0;d<ch[i];d++){this.BA(ch[d],c)}}};P[_P].BA=function(a,b){var c=vk(a)==b||(!b||b=="full")&&a==dh;this.yn(a,c)};P[_P].yn=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 dh:d="Original size"}if(b){return this.Wu(a,d)}else{var e=a==dh?this.Tz:this.Wz.G(this,vk(a));return this.$c(a,d,e,c)}};P[_P].$c=function(a,b,c,d){var e=this.zn(a,b,false,d);if(c){this.o.j(e,hb,c)}return e};P[_P].zn=function(a,b,c,d){var e=this.i.l(c?"a":"span",{className:"tr_link"},b);this.Zr(e,a,d);hh(e,this.o);return e};P[_P].Wu=function(a,b){var c=this.i.l("b",{innerHTML:b});this.Zr(c,a);hh(c,this.o)};
P[_P].Zr=function(a,b,c){if(c){c.appendChild(a)}else{var d=this.i.e(b);if(d){hp(a,d);ba(d)}}a.id=b};P[_P].ev=function(){this.dispatchEvent("imageremoved");this.Qg();this.Sd(true);Uo(this.la())};P[_P].Tz=function(){var a=this.la(),b=D(this.Xz,this),c=So.ue(a,this.na,b);Ro(a,this.na,{Dq:b,Py:c})};P[_P].Xz=function(){this.Sl();this.Qg()};P[_P].Ru=function(){this.Yh=this.Fs;var a=this.rw();if(uh(a.Mk)||a[Cc]=="red"){var b=this.i.l("span",{id:"tr_link-text",style:"color:"+a[Cc]},this.i.createTextNode(a.Mk))}else{var c=
this.i.l("span",{id:uk},"Go to link: "),b=this.i.l("span",{id:"tr_link-text",style:"color:"+a[Cc]},""),d=this.zn("tr_test-link",this.i.createTextNode(Vq(a.Mk,48))[Bf],true,b);Qc(d,"_blank")}var e=this.nj("tr_change-link-span");this.$c("tr_change-link","Change",this.gB,e);var f=this.nj(sk);this.$c("tr_edit-page-link","edit page",this.rv,f);var g=this.nj("tr_delete-link-span");this.$c("tr_delete-link","Remove",this.fv,g);this.Fs();var h=this.Mu(b,e,f,g,c?c:"");Jc(this.vn(),h);this.cl()};P[_P].Lv=function(){return{id:"tr_link-div",
style:"padding-top:2px;"}};P[_P].Nu=function(){Vi(arguments,0,0,"div",this.Lv());return this.i.l.apply(this.i,arguments)};P[_P].Mu=function(a,b,c,d,e){return this.Nu(e?e:"",a,b,c,d)};P[_P].nj=function(a){return this.i.l("span",{id:a,"class":"tr_option-link"},this.i.createTextNode(rk))};P[_P].rw=function(){var a,b=this.qd();if(si(b)){b=b.substring(7)}else if(Cl(b,this.au)){b="invalid url";a=true}else if(this.na.ud(b)){for(var c=0;c<this.Ci[i];c++){var d=this.Ci[c].fC({GB:b});if(d){break}}if(d){b=d.title}else{b=
Wf(b)+" not found";a=true}}return{Mk:b,color:a?"red":"black"}};P[_P].Fs=function(){var a=this.i.e("tr_link-div");if(a){var b=this.i.e("tr_test-link");if(b){var c=this.i.e(uk),d=this.qd();V(c,!si(d));Ug(b,this.Qw())}var e=this.i.e(sk);if(e){V(e,this.Vx())}}};P[_P].Qw=function(){var a=this.qd();return this.ps?this.ps(a):a};P[_P].fv=function(){this.dispatchEvent("linkremoved");this.Qg();this.Sd();var a=this.la(),b=this.Yb.p();nh(a);b.ai(a);ba(a)};P[_P].Vx=function(){return this.xp&&this.xp(this.qd())};
P[_P].vn=function(){var a=new qh(this.Yb.k()),b="tr_bubble-content-"+sc(),c={className:"tr_body",id:b},d=a.Vu(c,"tr_bubble");Jc(this.Ta,d);var e=this.Yb.Ka(b);M(e,"");this.Vm=e;return e};P[_P].zt=function(){var a=this.i.l("div",{className:"tr_bubble_closebox",innerHTML:"&nbsp;"});this.o.j(a,hb,this.Sd);G(this.Vm,"paddingRight",this.mC?"10px":"19px");this.Vm.appendChild(a)};P[_P].Wz=function(a){var b=this.la();Vo(b,a);this.Sl();this.Qg()};P[_P].rv=function(){var a=new El(this.na.Sa.edit),b=a.ve.substring(0,
a.ve.lastIndexOf("/")+1)+Wf(this.qd())+(a.Wq||"");if(this.dispatchEvent({type:tk,GB:b})){this.Yb.CA(b)}};var si=function(a){return Om(a,"mailto:")};var so=function(a,b,c){var d=[];for(var e=b[i]-1;e>=0;e--){var f=to(a,b[e],c);d.unshift(f)}return d},to=function(a,b,c){var d=a.createElement(c);kl(d,b);if(d[cb]=="")M(d,"&nbsp;");b[n].replaceChild(d,b);kp(d,c);return d},hh=function(a,b,c){var d=a.getElementsByTagName("input");if(c){for(var e=0;e<d[i];e++){var f=d[e];if((f[N]=="text"||f[N]=="file")&&qo(f)){f.setAttribute("_wasUnselectable",true)}}}if(bh){b.j(a,"mousedown",oo,true);var g={};g[Me()]="none";Mi(a,g)}else if(ah){Ki(a,"unselectable","on")}for(var e=
0;e<d[i];e++){var f=d[e];if(f[N]=="text"||f[N]=="file"){if(!f.getAttribute("_wasUnselectable")){ro(f)}f.removeAttribute("_wasUnselectable")}}},oo=function(a){var b=fe(a)[na];if(b!="TEXTAREA"&&b!="INPUT"){a.preventDefault()}},ro=function(a){if(bh){var b={};b[Me()]="";Mi(a,b);var c=Ik(a);while(c){po(a,c);a=c;c=Ik(a)}}else if(ah){Ki(a,"unselectable","")}},Me=function(){if(u){return"MozUserSelect"}else if(ra){return"KhtmlUserSelect"}},qo=function(a){if(bh){return a[k]&&a[k][Me()].toLowerCase()=="none"}else if(ah){return a[Gg]&&
a.getAttribute("unselectable")=="on"}else{return false}},uo=function(a,b){if(bh){a[k][Me()]=b?"none":""}else if(ah){var c=b?"on":"";a.setAttribute("unselectable",c)}},Ik=function(a){var b=function(c){var d=Me();return c&&c[k]&&c[k][d].toLowerCase()=="none"};return Bd(a,b)},po=function(a,b){while(a&&a!=b){var c=a;a=a[n];if(!a[k]){continue}var d=Me();a[k][d]="";var e=a[Z];while(e){if(e!=c&&e[k]){e[k][d]="none"}e=e[yb]}}};function El(a){var b=/^([a-zA-Z]+):(.*)$/;if(a.match(b)){this.protocol=RegExp.$1.toLowerCase();a=RegExp.$2;if(this[Lg]=="mailto"||this[Lg]=="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.ve=RegExp.$1;a=a.substring(this.ve[i])}if(a.charAt(0)=="?"){this.Wq=a}else if(a.charAt(0)=="#"){this.hash=a}};El[_P].sh=function(){var a=[],b=function(c){if(c)a.push(c);
return c};if(b(this[Lg])){b("://")}b(this.domain);b(this.ve);b(this[Cf]);b(this.Wq);return a.join("")};function Wc(a){this.TA(a)}Wc[_P].TA=function(a){this.Sa=a;var b=this.Sa.base;this.Sa.site=yl(b)};var Ap=function(){alert("The URL is not valid and cannot be loaded.")},yl=function(a){return a.substring(0,a.indexOf("/",9))};Wc[_P].sh=function(a,b){if(this.ud(a)){var c=this.Sa[b]||this.Sa.base;a=c+Wf(a)}return a};Wc[_P].No=function(a){var b=a.getAttribute("href"),c=this.Sa.base;if(c&&c!=this.Sa.winbase&&b.indexOf(c)==0){b=this.Sa.winbase+b.substring(c[i])}return b};Wc[_P].Ew=function(a){if(this.ud(a)){if(Al(a)){return Wf(a)}else{var b=
"about:blank";if(a.indexOf(b)==0){a=a.substring(b[i])}}}return a};Wc[_P].ow=function(a,b){var c=this.Go(a),d=Wf(c),e=d.substring(0,d.lastIndexOf(".")),f="/"+c+"/"+e+"-"+b+".jpg";return this.sh(f,"live")};Wc[_P].Go=function(a){if(this.ud(a)&&Dl(a)){a=this.sh(a,"live");a=a.substring(0,a.lastIndexOf("/"))}return a};var Wf=function(a){var b=Cp(a),c=a.lastIndexOf("?");if(c==-1){return rd(a.substring(b))}return rd(a.substring(b,c))},Cp=function(a){var b=a.lastIndexOf("/");if(Dl(a)){b=a.lastIndexOf("/",
b-1)}var c="about:blank";if(a.indexOf(c,b+1)==0){b+=c[i]}return b+1};Wc[_P].Vp=function(a){var b="",c=Sb(a,"a")?"href":"src";if(Zn&&c=="href"){b=a[Td].match(/href="([^"]*)"/)[1]}if(!b){b=a[c]}if(this.ud(b)){a[c]=this.Ew(b)}};var Dl=function(a){return!(!zl(a))},zl=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},Bp=false;Wc[_P].ud=function(a){var b=Bp;if(b){if(te(b)){return b(a)}else{if(a.indexOf("mailto:")==
0)return false;var c=false;for(var d in this.Sa){if(this.Sa[d]!=""){c|=a.search(this.Sa[d])==0}}return c||!Al(a)||a.search("/")==0}}else{return false}};Wc[_P].aA=function(a,b){var c=a.getElementsByTagName(b);for(var d=0;d<c[i];d++){this.Vp(c[d])}};var Al=function(a){return a.search(/[^:\/\s]+:\/\//)==0},xl=false;var Cl=function(a,b){var c=xl;if(c){if(te(c)){return c(a)}else{return Bl(a)||Dp(a,b)}}else{return false}},Bl=function(a){return a=="http://"||a=="http:///"||a==""||a=="/"},Dp=function(a,b){var c=
yl(b);return a==c+"/"||a==c};;;function T(a,b,c,d){R.call(this);this.u=a[fa];this.dg=a;this.Sc=new xa(a);this.Ba=d;this.dq=b;this.content=this.u.createElement("div");this[Y].id=sc();ma(this[Y],"tr_dialog");c[n].appendChild(this[Y]);this.hb=new Ta(this);this.Vb=new xc(this.dg);this.nn=true;this.Fu=true;this.xg=c.wg;this.sg=c.rg;this.Nz=c.er;if(c.Nl){this.Et(c.Nl)}this.st(c);if(c.se){this.se=this.Ct(c.se)}if(c.tg){this.tg=this.vt(c.tg)}if(c.qe){this.re=c.qe}}T.a(R);T[_P].Lf=null;T[_P].Pr=function(a){this.Lf=a};T[_P].rf=function(){return this.Lf};
var ui="tr_backgroundMask",vi="tr_dialog-section",zd=[];T[_P].Fm=function(a){if(!this.Ym){this.Ym=this.tt("tr_button-region-rhs")}var b=this.u.createElement("input");ib(b,"button");hd(b,a);this.Ym.appendChild(b);return b};T[_P].tt=function(a){if(!this.Qe){this.ut()}var b=pb(this.u,"div",{className:a});ip(b,this.Au);return b};T[_P].ut=function(){if(!this.Qe){this.Qe=this.u.createElement("div");this.Wi.appendChild(this.Qe);this.Au=pb(this.u,"div",{},{clear:"both"},this.Qe)}};T[_P].tc=function(){this.dispatchEvent(wi);
if(this.dq){if(this.Ba){this.Ba.ji();this.Ba.empty()}mo(this);this.bs()}ta(this[Y][k],"");if(!this.ac){this.YA()}};T[_P].lc=function(){this.xB();if(this.dq){no(this);this.Pq()}ta(this[Y][k],"none")};T[_P].an=function(){if(this.Bi&&this.Bi.jC()){return wf("Pending uploads will be canceled. Do you want to continue?")}else{return true}};Wg(T[_P],function(){this.lc();this.Eu();if(this.Nz){this[Y][n].removeChild(this[Y])}if(this.Ba){this.Ba.ii()}});T[_P].Eu=function(){if(this.xg){this.xg()}if(this.hb){this.hb.c();
this.hb=null}if(this.Vb){this.Vb.c();this.Vb=null}if(this.Bi){this.Bi.c();this.Bi=null}if(this.ac){this.ac.c();this.ac=null}this.Ux=true;this.dispatchEvent("close")};var wi="beforeopen";T[_P].isOpen=function(){return!this.Ux};xd(T[_P],function(a,b){Yd(this[Y][k],"absolute");this[Y][k].top=b+"px";nb(this[Y][k],a+"px")});T[_P].dn=function(){Yd(this[Y][k],"absolute");var a=this.Sc.he(),b=this.Sc.fe(),c=dg(this.dg),d=(a-ml(this[Y]))/2;d+=c.x;var e=(b-Tf(this[Y]))/2;e+=c.y;this.setPosition(p.floor(d),
p.floor(e))};T[_P].or=function(){var a=this.bh();ia(a[k],p.max(this.Sc.he(),this.Sc.Jw())+"px");pa(a[k],p.max(this.Sc.fe(),this.Sc.Iw())+"px")};T[_P].Et=function(a){this.vc=this.u.createElement("div");this.vc.id=sc();ma(this.vc,"tr_dialog-title");G(this.vc,"cursor","move");var b=this.u.createElement("table");ia(b,"100%");ma(b,"tr_dialog-title-layout-table");b.id=sc();var c=this.u.createElement("tBody");b.appendChild(c);var d=c.insertRow(0);this.ts=d.insertCell(0);M(this.ts,a);ia(this.ts,"100%");this.vc.appendChild(b);
this[Y].appendChild(this.vc)};T[_P].YA=function(){if(this.vc){this.ac=new Gc(this.vc,this[Y],this.dg,this.u);this.vl()}};T[_P].vl=function(){if(this.vc&&this.ac){this.ac.Ef=0;this.ac.Ff=0;this.ac.Rh=this.Sc.he()-ml(this[Y]);this.ac.Sh=this.Sc.fe()-Tf(this[Y])}};T[_P].st=function(a){this.Wi=this.u.createElement("div");this.Wi.appendChild(a);this[Y].appendChild(this.Wi)};T[_P].Ct=function(a){var b=this.Fm(a);b[k].paddingLeft="1.9ex";b[k].paddingRight="1.9ex";b.Xk=this;Fb(b,Hk);return b};T[_P].vt=function(a){var b=
this.Fm(a);b.Xk=this;Fb(b,Gk);return b};T[_P].bs=function(){var a=this.bh();this.or();this.hb.j(this.Vb,oe,this.Dh);var b={zIndex:this[Y][k].zIndex-1,display:"block",backgroundColor:this.Kv()};oh(a,b)};T[_P].Dh=function(){ta(this.bh()[k],"none");this.vl();this.or();this.Pq()};T[_P].Kv=function(){return this.TB||"#afafaf"};T[_P].bh=function(){var a=this.u.getElementById(ui);if(!a){a=this.u.createElement("iframe");a.frameBorder=0;a.scrolling="no";a.id=ui;ma(a,ui);this.u[B].appendChild(a)}return a};
T[_P].Pq=function(){var a=zd[i];if(a>0){zd[a-1].bs()}else{ta(this.bh()[k],"none");this.hb.Fa(this.Vb,oe,this.Dh)}};var mo=function(a){if(!je(zd,a)){var b=zd[i];zd.push(a);a[Y][k].zIndex=b==0?201:zd[b-1][Y][k].zIndex+2}},no=function(a){var b=wh(zd,a);if(b!=-1){zd.splice(b,1)}},Hk=function(a,b){var c=b||this.Xk;if(!c.an()){return}if(c.re){c.re()}if(c.nn){c.remove()}c.dispatchEvent("ok")};T[_P].rA=function(a){this.nn=a};var Gk=function(a,b){var c=b||this.Xk;if(!c.an()){return}if(c.Fu){c.remove()}if(c.sg){c.sg()}c.dispatchEvent("cancel")};
T[_P].jo=function(a){var b=this.n.getElementById(a);if(b[oa]=="INPUT"){b.focus();eq(b,b[wa][i])}};T[_P].pb=null;T[_P].AA=function(){this.pb=new Tb(this.u);this.hb.j(this.pb,"key",this.zh)};T[_P].xB=function(){if(this.pb){this.hb.Fa(this.pb,"key",this.zh);this.pb.c();this.pb=null}};T[_P].zh=function(a){var b=false;switch(a[db]){case 13:if(!this.se.disabled){Hk(null,this);b=true}break;case 27:Gk(null,this);b=true;break;case 9:if(!Zc(this[Y],fe(a))){var c=this[Y].getElementsByTagName("INPUT")[0];if(c){c.focus()}b=
true}break}if(b){a.preventDefault()}return b};function aa(a,b,c,d,e,f){this.q=a;this.n=this.q[fa];this.Xl=b;this.$t=b.Sa.base;this.RB=d;this.xi=e;this.Jl=e.lf();this.ga=new xa(this.q);this.Qf=new Ue;this.mj();T.call(this,this.q,true,this.Aj,c);this.Qj()}aa.a(T);aa[_P].la=function(){return this.Jl};aa[_P].qd=function(){return this.Xl.No(this.la())};var Ne="tr_email-address-tab",ce="tr_on-the-web-tab",de="tr_on-the-web-tab-input",Rf="tr_email-address-tab-input",Lk="tr_dialog-tab-content-explanation-text",Mk="tr_external-input-div",Nk=false;aa[_P].ff=
null;aa[_P].bg=null;aa[_P].tc=function(){this.AA();this.dn();T[_P].tc.call(this);if(this.Ll){V(this.Ll,true)}this.jo(this.Pc.id);this.fA(this.Pc[wa],this.qd());this.Hl()};aa[_P].mj=function(){var a=pb(this.n,"div",{id:"tr_choose-link-dialog",className:"tr_edit-link-dialog-body",Nl:"Edit Link",se:"OK",tg:"Cancel"},{},this.n[B]);a.wg=D(this.wg,this);a.rg=D(this.rg,this);a.qe=D(this.re,this);a.er=true;this.Aj=a};aa[_P].Qj=function(){this.hb.j(this.Qf,"select",D(this.dz,this));lh(this.Aj,this.nu(),this.ku());
this.Id=vl(this.Aj,this.n,false,D(this.Rk,this));this[Y].className+=" tr_edit-link-dialog";hh(this[Y],this.hb,true)};aa[_P].nu=function(){var a=Pe(1,2,this.n,true);oh(a,{fontSize:"10pt"});var b=pb(this.n,"div",{className:vi},{paddingBottom:".8ex"});M(a[Db][0][xb][0],'<span style="position: relative; bottom: 2px; padding-right: 1px;">Text to display:&nbsp;</span>');this.Pc=pb(this.n,"input",{size:50,id:"tr_text-to-display"});var c=this.Pc,d=c;if(u){d=kh(c);this.Ll=d;V(this.Ll,false)}a[Db][0][xb][1].appendChild(d);
hd(c,this.xi.gh());this.hb.j(c,"keyup",D(this.mz,this));b.appendChild(a);return b};aa[_P].ku=function(){var a=pb(this.n,"div",{className:vi});a.setAttribute("tabbedPaneCaption","Link to:");lh(a,this.mu(),this.lu());return a};aa[_P].mu=function(){var a=rh(ce,"Web address","Link to a page or file somewhere else on the web",this.n,D(this.IB,this)),b=this.n.createElement("div");M(b,"<b>To what URL should this link go?</b>");var c=pb(this.n,"input",{id:de}),d=c;if(u){d=kh(c)}if(qk&&jd(c)){ia(c[k],"99%")}var e=
this.n.createElement("div");e.appendChild(d);ma(e,Mk);this.bg=new bf(c);t(this.bg,"input",D(this.Iq,this));var f=bp(e,D(this.rz,this),this.hb);M(f,"<br>Test this link");var g=this.n.createElement("div");ma(g,Lk);M(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.");
lh(a,b,e,g);return a};aa[_P].lu=function(){var a=rh(Ne,"Email address","Link to an email address",this.n,D(this.Yn,this)),b=this.n.createElement("div");M(b,"<b>To what email address should this link?</b>");a.appendChild(b);var c=pb(this.n,"input",{id:Rf}),d=c;if(u){d=kh(c)}if(qk&&jd(c)){ia(c[k],"99%")}a.appendChild(d);ma(d,Mk);this.ff=new bf(c);t(this.ff,"input",D(this.Iq,this));{var e=this.n.createElement("div");ma(e,Lk);M(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};aa[_P].fA=function(a,b){if(this.Fk()){this.Yw(a)}else if(si(b)){this.sc(Ne);var c=b.substring(b.indexOf(":")+1);hd(this.n.getElementById(Rf),c);this.oi()}else{this.sc(ce);hd(this.n.getElementById(de),this.Fk()?"http://":b);this.oi()}};aa[_P].Yw=function(a){if(uh(a)){hd(this.n.getElementById(Rf),a);this.Ae(true);this.sc(Ne);this.Bj(true)}else if(Fl(a)){hd(this.n.getElementById(de),a);this.Ae(true);this.sc(ce);this.Bj(true)}else{if(!this.xi.gh()){this.Ae(true)}var b=ce;this.sc(b)}};
aa[_P].Bj=function(a){this.Ae(!a);Nk=a};aa[_P].oi=function(){var a=this.ph(),b=false;if(!Nk&&(a==Ne||a==ce)){var c=this.n.getElementById(a+"-input");b=c[wa]==this.Pc[wa]}this.Ae(b)};aa[_P].sc=function(a,b){this.LC=b;this.Id.sc(a)};aa[_P].ph=function(){return this.Hg};aa[_P].Rk=function(a){this.Hg=a;{this.jo(this.Hg+"-input");this.Hl()}this.Qf.KA(null);this.qi();if(u){$o(this[Y])}};aa[_P].rz=function(){var a=this.ga.Ka(de),b=Qi(a[wa]);if(!(xl?Cl(b,this.$t):Bl(b))){this.ga.Lq(b,"")}else{Ap()}};aa[_P].mz=
function(){var a=this.Pc[wa]=="";if(a){this.Ae(true)}else{this.oi()}};aa[_P].Iq=function(){if(this.Sm){this.qi()}else if(this.Pc[wa]==""){this.oi()}this.Hl()};aa[_P].Hl=function(){var a;if(this.Hg==Ne){a=this.n.getElementById(Rf)[wa]}else if(this.Hg==ce){a=this.n.getElementById(de)[wa]}else{return}this.vs(qg(a)!="")};aa[_P].Ae=function(a){this.Sm=a};aa[_P].qi=function(){if(this.Sm){var a=this.ph();if(a==ce||a==Ne){var b=a+"-input";hd(this.Pc,this.n.getElementById(b)[wa])}}};aa[_P].dz=function(){this.qi();
this.vs(true)};aa[_P].vs=function(a){this.se.disabled=!a};aa[_P].wg=function(){if(this.Ba){this.Ba.ai(this.la())}this.Ba=null;if(this.Qf){this.Qf.xj();this.Qf=null}if(this.bg){this.bg.c();this.bg=null}if(this.ff){this.ff.c();this.ff=null}this.Bj(false)};aa[_P].rg=function(){var a=this.la();if(this.Fk()){if(a[cb]!=""){nh(a)}ba(a)}};aa[_P].Fk=function(){return this.xi.$x()};aa[_P].re=function(){var a=this.Id.ph();if(a&&a.qe)a.qe()};aa[_P].IB=function(){var a=this.n.getElementById(de)[wa];if(uh(a)){this.Yn(de);
return}this.Ur(Qi(a))};aa[_P].Yn=function(a){var b=this.n.getElementById(a?a:Rf)[wa];b="mailto:"+b;this.Ur(b)};aa[_P].Ur=function(a){this.qi();this.xi.tu(this.Pc[wa],a)};;;{function Aa(a,b,c,d,e,f){this.q=a;this.ga=new xa(this.q);this.n=a[fa];this.kA=b;this.Zy=c;this.Xl=d;this.Cz=e;this.qr=D(this.nr,this);this.Hh=f;var g=this.mj();T.call(this,this.q,true,g,this.kA);this.Qj()}Aa.a(T);var ql="tr_raw-html-dialog-preview-tab",Ni="tr_raw-html-dialog-html-tab",pl="(p|div|h1|h2|h3|h4|h5|h6|hr|table|ul|ol|li)",qp=new RegExp("^<"+pl+"[\\s\\S]*?>$","i"),pp=new RegExp("^<\\/"+pl+">$","i");Aa[_P].tc=function(){t(this.q,"resize",this.qr,false);this.Id.sc(Ni);T[_P].tc.call(this);
this.nr();this.vl();this.Rb.focus();if(u){this.Rb.selectionStart=0;this.Rb.selectionEnd=0}};Aa[_P].re=function(){var a=this;this.A(function(b){a.Zy(b);a.remove()})};Aa[_P].lc=function(){qb(this.q,"resize",this.qr,false);T[_P].lc.call(this)};Aa[_P].xg=function(){};Aa[_P].sg=function(){};Aa[_P].nr=function(){this.mr();this.dn()};Aa[_P].mr=function(){var a=this.ga.fe()*0.9,b=this.ga.he()*0.9;ia(this[Y][k],b+"px");pa(this[Y][k],a+"px");var c=Tf(this.Qe),d=Tf(this.vc),e=Tf(this.Id.Wf),f=a-c-d-e,g=b,h=
this.Id.Pv(),j=h,l=0,m=0;while(j!=this[Y]){l+=eh(j);m+=Ak(j);j=j[n]}f-=l;g-=m;if(s&&jd(this.n)){f-=13}if(f>0){pa(h[k],f+"px")}if(g>0){ia(h[k],g+"px")}if(u){ap(this[Y])}else if(s&&jd(this.n)){var q=f-eh(this.Rb)-eo(this.Rb);if(q>0){pa(this.Rb[k],q+"px")}}};Aa[_P].Ca=function(a){hd(this.Rb,sp(a))};Aa[_P].Sw=function(){var a=this.Rb[wa];return u?rp(a):a};var sp=function(a){var b=sl(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=qp.test(e),h=pp.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("")},sl=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},rp=function(a){var b=sl(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].A=function(a){var b=this.Hh?this.Hh.MC:null;this.qo(a,b)};Aa[_P].Aw=function(a){var b=this.Hh?this.Hh.NC:null;this.qo(a,b)};Aa[_P].qo=function(a,b){a(this.Sw())};
Aa[_P].AB=function(){this.Aw(D(this.BB,this))};Aa[_P].BB=function(a){var b=this.kp.k();M(b[B],a);Wk(b,this.Xl);this.$A()};Aa[_P].Rk=function(a){if(a==ql){this.AB()}};Aa[_P].mj=function(){var a=pb(this.n,"div",{id:"tr_raw-html-dialog",className:"tr_raw-html-dialog-body",Nl:"Edit HTML",se:"Update",tg:"Cancel"});a.wg=D(this.xg,this);a.rg=D(this.sg,this);a.qe=D(this.re,this);a.er=true;this.n[B].appendChild(a);a.appendChild(this.Ou());this.Id=vl(a,this.n,true,D(this.Rk,this));return a};Aa[_P].Qj=function(){this.rA(false);
this[Y].className+=" tr_raw-html-dialog";this.Id.sc(Ni);ta(this[Y][k],"none")};Aa[_P].Ou=function(){var a=pb(this.n,"div",{className:vi});a.setAttribute("tabbedPaneCaption","&nbsp;");lh(a,this.Qu(),this.Uu());return a};Aa[_P].Qu=function(){var a=rh(Ni,"HTML","Edit your HTML here",this.n);this.Rb=pb(this.n,"textarea",{id:"tr_raw-html-area"},{height:"98%",width:"100%",direction:"ltr"});var b=this.Rb;if(u){b=kh(this.Rb);pa(b[k],"100%")}a.appendChild(b);pa(a[k],"100%");return a};Aa[_P].Uu=function(){var a=
rh(ql,"Preview","Preview your changes here",this.n),b=pb(this.n,"iframe",{id:"tr_raw-html-dialog-preview-pane",src:this.Cz},"width:100%;height:100%;",a);this.kp=new Rb(b);pa(a[k],"100%");return a};Aa[_P].$A=function(){var a=this.kp.k();t(a[B],"mousedown",rl,true);t(a,"click",rl,true);a.onmousemove=vh;a.onmouseover=vh;a.onmouseout=vh};var rl=function(a){vh();Tc(a,false)}};;function x(a,b,c){R.call(this);this.gb={};this.ga=b;this.Gx=c;this.Xd={};this.Ha={};this.Yg={};this.Xg={};this.na=a;if(u){this.Hf={};{this.Ei={};this.Hc={}}}this.hf={}}var zi;x.a(R);x[_P].v=kd("TR_EditableUtil");var yi=function(a){var b=dp(a,"g_editable","true");return b&&a!=b?true:false};x[_P].ap=function(){return!Qh(this.gb)};x[_P].Gk=function(a){if(!a.getSelection()){return false}var b=a.La();if(!b){return false}return yi(b)||ob(b)};var Uk=function(a,b,c){if(!c)c="";var d=Qe(a,b,c);if(!yi(d))d=
null;return d};x[_P].gd=function(a){if(fb){var b=this.sa(a),c=this.p(a),d=ua(b);if(c.k()!=d){d[B].createTextRange().select();c=this.p(a)}c.Rq(b);b.focus()}else if(ra){var b=this.sa(a);this.p(a).Rq(Uc(b));this.lb(a).Zg()}else{this.lb(a).Zg()}};x[_P].wo=function(a){var b;if(this.Gk(a)){b=this.Ov(a)}else{b=this.iw(a)}return b?this.xo(b):null};x[_P].p=function(a){return this.lb(a).p()};x[_P].lb=function(a){var b=a||Sc();if(b&&(!Fc||false)&&this.Ap(b)){return this.de(b)}else{return this.ga}};x[_P].zw=
function(){return this.ga};x[_P].k=function(a){return this.lb(a).k()};x[_P].of=function(a){return Ra(this.k(a))};x[_P].V=function(a){return this.lb(a).V()};x[_P].Ka=function(a){var b=this.lb().Ka(a);if(!b&&u){var c=Sc();for(var d in this.gb){if(this.Ap(d)){Ad(d);b=this.lb().Ka(a);if(b){break}}}Ad(c)}return b};x[_P].ce=function(a){var b=Bd(a,ob);return b?this.xo(b):b};x[_P].ee=function(a){var b=this.ce(a);return b?this.D(b.id):null};x[_P].Wx=function(a){return!(!this.sa(a.id))};x[_P].Pf=function(a,
b,c,d,e){if(!this.Ha[a]){this.Ha[a]=new Ta(this)}this.Ha[a].j(b,c,d,e)};x[_P].vz=function(a,b){var c=a.dd,d=c.id;if(this.gb[d]){return false}a.nodeName=c[na];a.id=d;ma(a,c[Ob]);a.Kr(c[k][td]);c.className+=" editable";this.Xd[d]=a;var e=a.Rc(),f=this,g=function(){if(e){f.gb[d]=f.qf(d)}else{f.gb[d]=f.ga.Ka(d)}if(s){f.ln(d)}a.addListener(af,f.sx,false,f);f.gb[d].setAttribute("g_editable","true");b(d)};if(e){if(u){this.Pf(d,a,"focus",this.Qy.G(this,d))}this.qy(a,g)}else{if(be(c,"direction")=="rtl"){c[k].direction=
"rtl"}a.Yr(c,this.ga);this.vB(c);g()}};x[_P].ln=function(a){var b=this.p(a),c=this.wo(b);if(c&&c.id==a){b.empty()}};x[_P].D=function(a){return this.Xd[a]};x[_P].sx=function(a){if(a[db]==8){var b=this.p(),c=this.wo(b),d=b.Mb();if(c[Z]==d&&Dd(d)){Tc(a)}}else if(a[db]==13&&!u){this.uv()}};x[_P].jn=function(a){if(this.Yg[a]){Ua(this.Yg[a]);this.Yg[a]=null}if(this.Xg[a]){ga.clearInterval(this.Xg[a]);this.Xg[a]=null}};x[_P].mn=function(a){this.jn(a);var b=this.D(a);if(this.Ha[a]){this.Ha[a].c();delete this.Ha[a]}if(Sc()==
a){Ad(null)}if(b){b.kn()}if(b&&this.sa(a)){var c=b.dd;if(u){if(!Fc&&this.mc(a)){delete this.Ei[a];delete this.Hc[a]}delete this.Hf[a]}if(b.Rc()){var d=this.ih(a);{ba(d)}}if(this.hf[a]){delete this.hf[a]}Eo(c,b);delete this.gb[a];if(this.Xd[a]){delete this.Xd[a]}}};var Eo=function(a,b){a.removeAttribute("contentEditable");a.removeAttribute("g_editable");if(!b.id){a.removeAttribute("id")}else{a.id=b.id}if(!b[Ob]){ma(a,"")}else{ma(a,b[Ob])}var c=b.pw();if(!c){a.removeAttribute("style")}else{ij(a,{style:c})}};
x[_P].sa=function(a){return this.gb[a]};x[_P].bw=function(a){return this.D(a).aw()};x[_P].Iv=function(){var a=[];for(var b in this.Xd){a.push(this.D(b))}return a};x[_P].Wv=function(){for(var a in this.gb){return this.D(a)}return null};x[_P].Ov=function(a){var b=a.La();return this.ce(b)};x[_P].iw=function(a){for(var b in this.gb){var c=this.sa(b);if(a.Te(c,false)){return c}}return null};x[_P].xo=function(a){return u?this.sa(a.id):a};x[_P].qy=function(a,b){var c=a.dd,d="padding:0;",e=pb(c[da],"iframe",
{frameBorder:0},d),f=c[cb],g=c.id;if(s&&this.Ck()){this.v.R("Waiting for iframe load");var h=this.jp.G(this,g,f,b),j=this.Fx.G(this,g,h);this.v.R("Listening to load event on "+g);this.Yg[g]=t(e,"load",j,true);this.Xg[g]=ga.setInterval(this.ky.G(this,g),2000);e.src=this.Gx}this.hf[g]=e;if(u){this.Ft(c,e,b)}if(!Fc&&a.nb()){this.Hc[g]=be(c,"overflowY")=="auto";var l=c[k][A],m=c[k][z];G(c,"visibility","hidden");var q=Ra(c),v=q.l("div",{style:"height:0;clear:both",innerHTML:"&nbsp;"}),U=v.cloneNode(true);
c.insertBefore(v,c[Z]);c.appendChild(U);var Q=c[ac],za=c[Pb],Oa=c[k].overflow;if(Oa!="auto"){G(c,"overflow","auto");var $b=Vk();if(c[Pb]!=c[gd]){za+=$b}if(c[ac]!=c[He]){Q+=$b}G(c,"overflow",Oa)}var cd="";if(this.Hc[g]){cd="&nbsp;";G(c,"position","relative");G(c,"overflow","visible");G(e,"position","absolute");G(e,"top",0);G(e,"left",0)}Mc(c,Q,za);M(c,cd);this.Ei[g]=c;Mc(e,Q,za);Mc(c,l,m);G(c,"visibility","");c.appendChild(e)}else{ma(e,c[Ob]);e.id=g;np(e,c)}if(!s||!this.Ck()){this.v.R("Not waiting for load on "+
g);var Ae=e[De][fa];if(this.mc(g)&&jd(e[da])){Ae.open();Ae.write("<!DOCTYPE HTML><html></html>");Ae.close()}this.jp(g,f,b)}};x[_P].Ck=function(){var a=top[Cb];return a[Lg]=="https:"&&a.search.indexOf("nocheckhttps")==-1};x[_P].qB=function(a,b){b=b||Sc();var c=this.de(b).k(),d=a?"on":"off";if(c[Eg].toLowerCase()!=d){c.designMode=d}};x[_P].Fx=function(a,b){this.v.R("Reached load wrapper for "+a);b()};x[_P].ky=function(a){var b=this.ih(a),c;if(!(c=b)){this.v.Oa("Iframe DNE: "+a)}else if(!(c=c[De])){this.v.Oa("win DNE: "+
a)}else if(!(c=c[fa])){this.v.Oa("doc DNE: "+a)}else if(!(c=c[B])){this.v.Oa("Body DNE: "+a)}else{this.v.Oa("iframe ready in loadNeveFired");this.D(a).Oa=true}};x[_P].jp=function(a,b,c){this.v.R("Iframe field load handler for "+a);var d=this.D(a);if(d.Oa){this.v.Oa("Iframe field load handler did fire for "+a)}this.jn(a);var e=this.de(a),f=e.Kb();f.NB="true";var g=e.k(),h=jd(f[da]);if(s&&this.Ck()){if(Fc){g[B].contentEditable=true}ma(g[B],"editable");g[B].setAttribute("g_editable",true);g[B].kC=true;
g[B].id=a;if(be(d.dd,"direction")=="rtl"){g[B][k].direction="rtl"}b=ih(b);M(g[B],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.Hc[a]?"100%":"auto")}j.push('">');if(this.mc(a)){var l=this.Ei[a];j.push("<head><style>");j.push(fo(l));j.push("</style></head>");var m=this.sw(a)[B],q=-Le(l,"paddingLeft"),v=-Le(l,"paddingTop");if(v!=0||q!=0){G(f,"position","relative");G(f,"left",q+"px");G(f,"top",v+"px")}}j.push('<body g_editable="true" hidefocus="true" ');
if(Fc){j.push("contentEditable ")}j.push('class="editable ');if(m){j.push(m[Ob])}j.push('" id="');j.push(a);j.push('" style="');if(this.mc(a)){j.push(m[td]);j.push(";width:100%;border:0;margin:0;background:none transparent;");j.push(";height:");j.push(h?"100%":"auto");if(this.Hc[a]){j.push(";overflow:auto")}else{j.push(";overflow-y:hidden;overflow-x:auto")}}if(be(d.dd,"direction")=="rtl"){j.push(";direction:rtl")}j.push('">');b=ih(b);j.push(b);j.push("</body></html>");g.open();g.write(j.join(""));
g.close()}var U=g[B];this.gb[a]=U;this.D(a).Yr(U,e);if(!Fc){Yk(g,this.na);var Q=this.uB.G(this,g,a);try{Q()}catch(za){this.v.Oa("Can't turn on designMode - retry: "+a);ga.setTimeout(Q,0)}if(this.mc(a)){this.WA(a)}this.Pf(a,g,"keyup",this.ux);this.Pf(a,g,"keypress",this.pk.G(this,a),true)}e.Ez(this.bw(a),true);this.dispatchEvent({type:"innerhtmlchange",Ib:a,ly:true});c();this.v.R("End iframe field load handler "+a)};x[_P].uB=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.v.R("Turned on designMode: "+b)};x[_P].vB=function(a){a.contentEditable=true};var ih=function(a){if(!a||Pi(a)){return Rk()}return a};x[_P].Lr=function(a,b,c){b=ih(b);if(ok&&b.match(/^\s*<script/i)){b="&nbsp;"+b}if(Fc){M(this.sa(a),b)}else{var d=this.qf(a);M(d,b)}var e=c?c:false;this.dispatchEvent({type:"innerhtmlchange",Ib:a,ly:e})};x[_P].qw=function(a){var b=this.sa(a);return b[cb]};x[_P].pk=function(a,b){if(Di()){return}if(b[db]==
13){this.ix(b)}};x[_P].ux=function(a){if(Di()){return}};x[_P].ix=function(a){if(a[Ud]){return}var b=this.p();if(!b.Ic()){b.Jn(this)}};var Yk=function(a,b){Wk(a,b)},Wk=function(a,b){var c=a.getElementsByTagName("img");for(var d=0,e=c[i];d<e;d++){c[d].src=b.sh(c[d].src,"live")}},Xk={KC:"b",dC:"i"};x[_P].$z=function(a){var b=this.sa(a),c=this.ga.k();for(var d in Xk){var e=b.getElementsByTagName(d);so(c,e,Xk[d])}};x[_P].Ft=function(a,b,c){var d=a.id;if(!this.Hf[d]){this.Hf[d]={}}var e=this.Hf[d];e.field=
a;e.lC=new Rb(b);e.Qi=co(a);e.vC=c};x[_P].Ap=function(a){return!(!this.hf[a])};x[_P].de=function(a){return new Rb(this.ih(a))};x[_P].ih=function(a){return this.hf[a]};x[_P].qf=function(a){return this.de(a).Tj()};x[_P].Az=function(a){var b=this.qf(a);this.p(a).vr(b)};x[_P].Qy=function(a){var b=this.de(a),c=b.p(),d=this.sa(a);if(!d.bB){if(b.k()[Eg].toLowerCase()=="off"){window.setTimeout(this.nx.G(this,c,b,a),0)}d.bB=true}var e=c.getSelection(),f=e.focusOffset==0,g=e[Sd],h=!g||this.Wx(g)||Sb(g,"body");
if(f&&h){this.Az(a)}};x[_P].nx=function(a,b,c){if(b.k()[Eg].toLowerCase()=="off"){a.ji();b.V().blur();this.qB(true,c);a.ii()}};x[_P].ae=function(){var a=Sc();return a?this.D(a):null};{x[_P].WA=function(a){var b=this.D(a);if(!this.Hc[a]){this.Pf(a,b,X.Wb,this.gs.G(this,a),true)}this.Pf(a,b,"outerDocChange",this.hs.G(this,a),true)};x[_P].gs=function(a){if(this.Em()){var b=this.de(a),c=b.lw(),d=b.Kb(),e=this.qf(a);if(ka(of(d,"height"),10)===0){G(d,"height","1px")}var f;if(jd(e)){f=c[gd]}else{f=c[Ff];
if(c[Pb]!=c[gd]){f+=Vk()}}var g=this.D(a);if(g.Th){f=p.max(f,g.Th)}if(ka(of(d,"height"),10)!=f){G(d,"height",f+"px")}this.cr()}};var Vk=function(){if(!zi){var a=Xe("div",{style:"overflow:scroll;position:absolute;visibility:hidden;"});Jc(Dh()[B],a);zi=a[He]-a[ac];ba(a)}return zi};x[_P].hs=function(a){if(this.Em()){var b=this.ih(a),c=this.qf(a),d=this.Ei[a],e=d[ac];if(ka(of(b,"width"),10)!=e){G(b,"width",e+"px");e-=Ak(c);G(c,"width",e+"px")}var f=d[Pb];if(this.Hc[a]&&ka(of(b,"height"),10)!=f){G(b,"height",
f+"px");f-=eh(c);G(c,"height",f+"px")}this.cr()}};x[_P].nv=function(a){if(this.D(a)&&this.mc(a)){var b=this.Hc[a];if(!b){this.gs(a)}this.hs(a)}};x[_P].Em=function(){if(this.fs){return false}return this.fs=true};x[_P].cr=function(){this.fs=false};x[_P].sw=function(a){return this.Hf[a].Qi}}{x[_P].mc=function(a){return this.Xd[a].nb()}}{x[_P].uv=function(){var a=this.p(),b=a.getSelection().parentElement();while(b&&!ob(b)){var c=b[na];if(c=="LI"||c=="DIV"){return}b=b[n]}this.k().execCommand("FormatBlock",
false,"<div>")}};;;;;{var Nf={Ti:"dir",sj:"direction"},Mf={Ti:"align",sj:"textAlign"},Qn={ADDRESS:1,BLOCKQUOTE:1,BODY:1,CENTER:1,DIR:1,DIV:1,DL:1,FIELDSET:1,FORM:1,H1:1,H2:1,H3:1,H4:1,H5:1,H6:1,HR:1,OL:1,LI:1,P:1,PRE:1,TABLE:1,TBODY:1,TD:1,TH:1,TR:1,TL:1,UL:1},Rc=function(a){return!(!Qn[a[oa]])},ck=function(a){var b=a[k];if(!b){return 0}var c=ka(b.marginLeft,10),d=ka(b.marginRight,10);if(a[oa]=="BLOCKQUOTE"){return(d==0)-(c==0)}else{return!d-!c}},Tn=function(a){var b=a[oa];return b=="UL"||b=="OL"},Rn=function(a,b){if(a!=
b){while((a=a[n])&&a!=b){var c=bc(a);if(c){return c}}}return null},ni=function(a,b){return Rc(a)&&Cd(a)||a!=b&&bc(a)||Rn(a,b)},mk=function(a,b){var c=a[n],d,e;if(ob(c)||u&&c[oa]=="BLOCKQUOTE"){e=a;d=Ra(c).createElement("DIV")}else{e=c;d=c.cloneNode(false)}var f=b?c[Z]:a[yb],g=b?a[Ec]:c[ed];ll(d,f,g);if(b){me(d,e)}else{fg(d,e)}return d},$g=function(a,b,c,d){if(ob(a)){return a}var e=b?id:bc;if(c){var f=cp(a,Tn);if(f){return f}}if(u&&d){var g=b?Te:Cd,h=a;do{if(h[oa]=="BR"){if(b){h=a}do{a=h;if(e(h)){mk(h,
b)}}while((h=h[n])&&!Rc(h))}else{a=h;if((h=e(h))&&!Rc(h)){for(var j=g(h);j;j=g(h)){h=j}}else{h=a[n]}}}while(h&&!Rc(h))}else{if(!Rc(a)){var l=2;while(l){var h=l==2?a[n]:e(a);if(!h||Rc(h)){l--}else{a=h}}}}return a},Sn=function(a,b){if(a==b){return a}var c=[[a],[b]];for(var d=0;d<2;d++){var e=c[d],f=e[0];while(!ob(f)&&(f=f[n])){e.push(f)}}var g=c[0][i]-1,h=c[1][i]-1;do{var j=c[0][g]}while(g-- >0&&h-- >0&&c[0][g]==c[1][h]);return j},lk=function(a,b,c){if(!mi(a)){return}a.ji();var d=a.Mb(),e=a.ld();if(u&&
d==e){var f=a.Zj(d).s;if(f[na]=="BR"){d=(e=f)}}var g=[$g(d,true,true,true),$g(e,false,true,true)],h=Sn(g[0],g[1]);if(!Rc(h)){h=h[n]}var j=new Array(2),l=true;for(var m=0;m<2;m++){if(Zc(g[1-m],g[m])){g[m]=g[1-m]}var q=m?id:bc,v=m?bc:id,U=null,Q=null,za=null,Oa=g[m]==h;for(var f=g[m];!ob(f);f=f[n]){if(f[n]==h){Oa=true;j[m]=Q?q(f):f}if(Q){if(ck(f)){U=f;za=!Oa&&f}}else if(v(f)){Q=f;za=!Oa&&f}if(f[n]==h){l=l&&!Q}}if(U){for(var f=Q;f&&f!=U;f=f[n]){mk(f,!m)}}for(var f=za;f&&f[n]!=h;f=f[n]){if(f==za){var $b=
m?Cd(f[n]):f,cd=m?f:Te(f[n])}else{var $b=m?Cd(f[n]):q(f),cd=m?q(f):Te(f[n])}if($b&&cd){kk($b,cd,c)}}}if(l){oi(h,c)}else{if(id(j[0])!=j[1]){kk(j[0],j[1],c)}}Un(b,g[0],g[1],c);a.ii()},Un=function(a,b,c,d){var e=b;if(!ob(e)){while((e=e[n])&&!ob(e)){ik(a,e,d)}}do{ik(a,b,d)}while(b!=c&&(b=ni(b)))},ik=function(a,b,c){var d=b[k];if(d){if(ck(b)*(c=="rtl"?1:-1)>0){var e=b[k].marginLeft;d.marginLeft=d.marginRight;d.marginRight=e}}},kk=function(a,b,c){var d,e;do{if(Rc(a)){if(d){hk(d,e,c);d=null}oi(a,c)}else{d=
d||a;e=a}}while(a!=b&&(a=bc(a)));if(d){hk(d,e,c)}},hk=function(a,b,c){if(Je(a[n],Nf,true)!=c){var d=Ra(a).createElement("DIV");me(d,a);ll(d,a,b);oi(d,c)}},Je=function(a,b,c){var d=b.sj,e;if(c){if(u){e=Vm(a,d)}else if(s){e=Tm(a,d)}}e=e||a[k][d]||a[b.Ti];if(!u&&c&&(!e||e=="inherit")){var f=a[n];if(f&&f[O]==1){e=Je(f,b,true)}}if(u&&b==Mf){switch(e){case "start":return dk(a,b);case "-moz-left":return"left";case "-moz-right":return"right"}}return e||(c?dk(a,b):null)},jk=function(a,b,c,d){if(!d&&c&&!ob(a)&&
Je(a[n],b,true)==c){c=""}G(a,b.sj,c);a.removeAttribute(b.Ti)},dk=function(a,b){switch(b){case Mf:var c=Je(a,Nf,true);return c=="rtl"?"right":"left";case Nf:return"ltr"}return""},oi=function(a,b){var c=b=="ltr"?"left":"right",d=b=="ltr"?"right":"left";for(var e=a;e;e=ni(e,a)){if(Rc(e)){jk(e,Nf,b);b="";var f=Je(e,Mf,e==a);if(f==d){jk(e,Mf,c,true)}}}},ek=function(a,b,c){var d=null;a=$g(a,true);b=$g(b,false);var e;if(a==b){e=b;b=null}do{if(!Rc(a)){var f=Je(a[n],c,true);if(d&&f!=d){return null}d=f}}while(a!=
b&&(a=ni(a,e)));return d},fk=function(a){return!mi(a)?null:ek(a.Mb(),a.ld(),Nf)},mi=function(a){return gk(a.Mb())&&gk(a.ld())},gk=function(a){while(a){if(ob(a)){return true}a=a[n]}return false}};;function qa(a,b){this.h=a;if(b){this.wz=b.yC}}qa[_P].v=kd("TR_StyleUtil");qa[_P].Gv=function(a,b){var c,d,e;switch(a){case "+backColor":if(!gc(b)){if(u){this.Kt(b)}else{this.fd(a,b)}}break;case "+link":var f=this.rB("/",b);break;case "+table":this.Sx(2,4);break;case "+justifyCenter":case "+justifyFull":case "+justifyRight":case "+justifyLeft":this.hy(a);break;case "ltr":case "rtl":{lk(this.p(),this.h,a)}break;case "+BLOCKQUOTE":break;case "+removeFormat":this.Oz();break;case "+emoticon":break;default:if(a==
jh){b="<"+b+">"}if(a==Ai&&gc(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.Ku()}}case jh:c=true;break;case Bi:case "+bold":case "+italic":d=$d&&this.Wj(a,this.k(),true,this.p());break;case Ai:case "+fontName":d=$d}this.fd(a,b,c,d);if(e){this.k().execCommand("FormatBlock",false,"<div>")}}if(u){this.lb().Zg()}if(f){return f}};qa[_P].Ku=function(){var a=this.p(),b=a.La();if(b.getElementsByTagName("br")[0]){var c=
this.h.ce(b),d=Dk(a.getSelection(),c);if(b[na]=="P"){tl(b,true)}else{M(b,b[cb].replace(/<br([^\/>]*)\/?>/gi,"<p$1>"));var e=b.getElementsByTagName("p"),f;while(f=e[0]){tl(f)}}d.hl(c,null)}};var tl=function(a,b){var c=a[Td].replace(/<(\/?)p/gi,"<$1div");a.outerHTML=b?c.replace(/<br([^\/>]*)\/?>/gi,"</div><div$1>"):c},ul=function(a){return a.indexOf("+")==0?a.substring(1):a};qa[_P].oo=function(a,b){var c=this.k(),d=b&&b.Gk()&&(Fc||c[Eg].toLowerCase()!="off"),e=b&&b.p();if(Xa(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}};qa[_P].Wj=function(a,b,c,d){if(!c){return false}switch(a){case "+link":return this.ay("a");case "+justifyCenter":case "+justifyFull":case "+justifyRight":case "+justifyLeft":return this.Yx(a);case jh: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 Ai:return this.Zq(b,
a,$d);case "ltr":case "rtl":return fk(d)==a;case Bi:case "+bold":case "+italic":var e=$d;default:return this.Yq(b,a,e)}};qa[_P].hy=function(a){this.fd(a,null,null,true);if(u){this.fd(a,null,null,true)}if(!$d){var b=this.p().ww();for(var c=0;c<b[i];c++){var d=Re(b[c]);if(d.align){d[k].textAlign=d.align;d.removeAttribute("align")}}}};qa[_P].Yx=function(a){var b=a.replace("+justify","").toLowerCase(),c=this.p();{return b==(!mi(c)?null:ek(c.Mb(),c.ld(),Mf))}};qa[_P].ay=function(a){var b=this.p().La();
return!(!Uk(b,a))};qa[_P].p=function(){return this.h.p()};qa[_P].k=function(){return this.h.k()};qa[_P].of=function(){return this.h.of()};qa[_P].lb=function(){return this.h.lb()};qa[_P].Yq=function(a,b,c){return this.Xq(true,a,b,c)};qa[_P].Zq=function(a,b,c){return this.Xq(false,a,b,c)};qa[_P].Xq=function(a,b,c,d){c=ul(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};qa[_P].fd=function(a,
b,c,d){var e=this.p();if(c){var f=fk(e)}a=ul(a);var g;if(s){g=this.Lt(a)}if(ra){g=this.Mt(a)}var h=this.k();if(d&&$d){h.execCommand("useCSS",false,false)}h.execCommand(a,false,b);if(d&&$d){h.execCommand("useCSS",false,true)}if(g){ba(g)}if(f){lk(this.p(),this.h,f)}};qa[_P].Kt=function(a){var b=this.p(),c,d;if(b.Ic()){var e=b.k();c=e.createTextNode(" ");var f=b.Mb();d=f[O]==1?f:f[n];if(d[cb]==""){d[k].textIndent="-10000px";d.appendChild(c)}else{var g=Ra(e);d=g.l("span",{style:"text-indent:-10000px"},
c);this.tp(d)}b.mi(c)}this.fd("hiliteColor",a,null,true);if(c){Tg(c,"");d[k].textIndent=""}};qa[_P].rB=function(a,b){var c=this.p(),d=c.La(),e=Uk(d,"a");if(e){nh(e);ba(e)}else{return this.$c(c,a,b)}return null};qa[_P].Sx=function(a,b){var c=Pe(a,b,this.lb().k());this.tp(c)};qa[_P].tp=function(a){var b=this.p(),c=b.getSelection();if(c.pasteHTML){var d="";if(a[Td]){d=a[Td]}else if(a[Bf]){d=a[Bf]}c.pasteHTML(d)}else if(c.getRangeAt){var e=b.Jn(this.h);e.insertNode(a)}};qa[_P].$c=function(a,b,c){var d=
null;if(a.Ic()){if(Pa){d=this.k().createElement("a");var e=a.Nb();e.insertNode(d)}else if(fb){a.getSelection().pasteHTML("<a id='newLink'></a>");d=this.k().getElementById("newLink");d.removeAttribute("id")}}else{var f=a.La(),g=this.h.ee(f),h=sc();this.fd("CreateLink",h);var j=function(l,m,q){if(Rh(l[Ge],h)){d=l}};vc(g.J().getElementsByTagName("a"),j)}return Do(d,b,c)};qa[_P].Oz=function(){var a=this.p();if(a.Ic()){return}var b=a.Nb(),c=this.mw(b),d=this.wz||zp;c=d(c);this.zz(a,c);this.fd("RemoveFormat")};
qa[_P].mw=function(a){var b=this.of().l("div");if(Pa){b.appendChild(a.cloneContents())}else if(fb){var c=a[Xd],d=c[i],e=d-Pm(c)[i],f=d-c.replace(/\s+$/,"")[i];a.moveStart("character",e);a.moveEnd("character",-f);var g=a[Hg];if(this.Zq(a,jh)=="Formatted"){g=Sh(a[Hg])}M(b,g)}return b[cb]};qa[_P].zz=function(a,b){var c=sc(),d=sc();b='<span id="'+c+'"></span>'+b+'<span id="'+d+'"></span>';var e=sc(),f='<span id="'+e+'"></span>';if(fb){var g=a.Nb();g.pasteHTML(f);var h;while((h=g.parentElement())&&Dd(h)&&
!ob(h)){ba(h)}g.pasteHTML(b);var j=this.k().getElementById(e);if(j){ba(j)}}else if(Pa){this.k().execCommand("insertImage",false,e);var l=new RegExp("<[^<]*"+e+"[^>]*>"),h=a.La();if(h[O]==3){h=h[n]}M(h,h[cb].replace(l,f));var j=this.k().getElementById(e);h=j;while((h=j[n])&&Dd(h)&&!ob(h)){fg(j,h);ba(h)}M(h,h[cb].replace(new RegExp(f,"i"),b))}var m=this.k().getElementById(c),q=this.k().getElementById(d);a.ur(m,q);ba(m);ba(q)};var Vf=function(a){if(a[i]){a.push("<br>")}},zp=function(a){var b=Ye().createElement("div");
M(b,a);var c=[],d=[b[ha],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){Vf(c)}var j=d[g],l=d[g+1];while(l<j[i]){var m=j[l++],q=m[na];switch(q){case "#text":var v=f>0?m[nc]:Ij(m[nc]);v=Jd(v);c.push(v);continue;case "P":Vf(c);Vf(c);break;case "BR":Vf(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(q)){Vf(c)}}var U=
m[ha];if(U[i]>0){d[g++]=j;d[g++]=l;j=U;l=0}}}return c.join("").replace(/\xa0|[ \t]+/g," ")};var xp={indent:1,outdent:1,insertOrderedList:1,insertUnorderedList:1,justifyCenter:1,justifyFull:1,justifyRight:1,justifyLeft:1,ltr:1,rtl:1},wp={insertOrderedList:1,insertUnorderedList:1};qa[_P].Lt=function(a){var b=null;if(a in wp){var c=this.p(),d=c.La();if(d){var e=Ra(this.h.ae().J()),f=$l("BLOCKQUOTE",null,d),g;for(var h=0;h<f[i];h++){if(c.Te(f[h],true)){g=f[h];break}}var j=g||Qe(d,"BLOCKQUOTE");if(j){b=
e.l("div",{style:"height:0"});Jc(j,b);if(g){c.selectNodes(g,0,b,0)}else if(c.Te(b,true)){c.selectNodes(c.Mb(),c.Jo(),b,0)}}}}if(!b){var l=this.h.ae();if(l.nb()&&a in xp){var m=l.J(),e=Ra(m),c=this.p();if(c.Ic()&&!gj(m)){var q=c.getSelection(),v=q.duplicate();v.moveToElementText(m);v.collapse(false);if(v.isEqual(q)){m.appendChild(e.createTextNode(ae));q.move("character",1);q.move("character",-1);q.select()}}b=e.l("div",{style:"height:0"});Jc(m,b)}}return b};var yp={justifyCenter:1,justifyFull:1,justifyRight:1,
justifyLeft:1};qa[_P].Mt=function(a){var b,c=this.h.ae();if(yp[a]){var d=c.J();b=Ra(d).l("div",{style:"height: 0"},"x");Jc(d,b)}return b};;;function $k(a,b,c){this.mp=[];this.en=[];for(var d=0;d<b;++d){var e=a[fa].createElement("iframe");e.src=c;this.mp.push(e)}};$k[_P].Iz=function(){while(this.en[i]){this.mp.push(this.en.pop())}};var Xo=function(a,b,c){ia(a,b);pa(a,c)},Wo=function(a){a.removeAttribute("width");a.removeAttribute("height");ia(a[k],"");pa(a[k],"")},Yo=function(a,b,c){var d=c?c:b,e=a[A],f=a[z],g=b/e,h=d/f;if(h>g){e=b;f=f*g}else{f=d;e=e*h}Xo(a,e,f)},Fi={small:96,medium:200,large:420},Vo=function(a,b){Oo(a,b)},Oo=function(a,b){Yo(a,Fi[b])},Qo=function(a,b){if(a[z]&&a[A]){var c=p.max(a[z],a[A]);for(var d in Fi){if(c==Fi[d]){return d}}}return b&&Zo?zl(a.src):null},Zo=false,Ro=function(a,b,c){dl(a,b,false,c)},So=function(a,
b,c){dl(a,b,true,{Dq:c})},dl=function(a,b,c,d){Wo(a);var e=a.src;if(b.ud(e)){if(c){e=b.Go(e)}else{e=b.ow(e,"full")}}var f,g;if(d){f=d.Dq;g=d.Py}if(a.src==e){if(f){f()}return}if(f){To(a,f,g)}a.src=e},Hi={},Gi={},To=function(a,b,c){var d=Vb(a),e=el.ue(b);Hi[d]=t(a,s?"readystatechange":"load",e,false);if(c){var f=el.ue(c);Gi[d]=t(a,"error",f,false)}},Po=function(a){var b=Vb(a);Ua(Hi[b]);delete Hi[b];Ua(Gi[b]);delete Gi[b]},el=function(a,b){var c=b[kc],d=c[Ef];if(d&&d!="complete"){return}Po(c);a(c)},
Uo=function(a){ba(a)};;function qh(a){this.n=a;this.i=Ra(a)};qh[_P].An=function(a,b,c,d,e){var f=a[xb];this.Ve(f[0],b,e);this.Ve(f[1],c,e);this.Ve(f[2],d,e)};qh[_P].Vu=function(a,b,c){var d=Pe(3,3,this.n);Li(d,{className:b,border:0,cellSpacing:0,cellPadding:0});var e=d[Db];this.An(e[0],"tr_tl",c?null:"tr_t","tr_tr",c?null:2);var f=e[1][xb];this.Ve(f[0],c?null:"tr_l");Li(f[1],a);this.Ve(f[2],c?null:"tr_r");this.An(e[2],"tr_bl",c?null:"tr_b","tr_br",c?null:2);return d};qh[_P].Ve=function(a,b,c){M(a,"");ma(a,b||"tr_sidebar");
if(c){ia(a,c);pa(a,c)}a.appendChild(this.i.l("img",{height:1,width:1,alt:""}))};function Ue(){R.call(this);var a=this;this.o=new Ta(this);this.Fh=new Ve(function(b){a.jg(b,0)},function(b){a.jg(b,2);a.dispatchEvent({type:"select",ef:b})});this.is=new Ve(function(b){if(b!=a.Fh.getState()){a.jg(b,0)}},function(b){if(b!=a.Fh.getState()){a.jg(b,1)}})}Ue.a(R);Ue[_P].xj=function(){if(this.o){this.o.c();this.o=null}};Ue[_P].jg=function(a,b){a[k].background=["","#FFFFE0","#FFFFCC"][b]};Ue[_P].KA=function(a){this.Fh.Ee(a)};Ue[_P].add=function(a,b){var c=this,d=b&&b.onclick?b.onclick:tp(c,
a),e=b&&b.sz?b.sz:function(){},f=b&&b.onmouseover?b.onmouseover:vp(c,a),g=b&&b.onmouseout?b.onmouseout:up(c);this.o.j(a,"click",d,true);this.o.j(a,"dblclick",e,true);this.o.j(a,"mouseover",f,true);this.o.j(a,"mouseout",g,true)};var tp=function(a,b){return function(){a.Fh.Ee(b)}},vp=function(a,b){return function(){a.is.Ee(b)}},up=function(a){return function(){a.is.Ee(null)}};function Ve(a,b,c){this.lz=a;this.kz=b;this.Ie=c}Ve[_P].Ee=function(a){if(this.Ie!=a){this.Zm(this.lz);this.Ie=a;this.Zm(this.kz)}};Ve[_P].Zm=function(a){if(this.Ie){a(this.Ie)}};Ve[_P].getState=function(){return this.Ie};function he(a,b,c,d){this.u=b;this.Xx=c;if(d){this.wi=this.$u(d)}this.ms=[];var e=c?Pe(2,1,this.u,true):Pe(1,2,this.u,true);Qg(e,0);e.cellSpacing=0;this.Ke=e[Db][0][xb][0];ma(this.Ke,"tr_tabbed-pane-tabs");if(c){this.Ke.className+=" tr_horizontal-tab";var f=Pe(1,2,this.u,true);Qg(f,0);f.cellSpacing=0;this.kB=f[Db][0][xb][0];ia(this.kB,"99%");ia(f[Db][0][xb][1],"1%");this.Ke.appendChild(f);this.Wf=this.u.createElement("table");Qg(this.Wf,0);this.Wf.insertRow(0);f[Db][0][xb][1].appendChild(this.Wf)}else{this.Ke.className+=
" tr_vertical-tab";M(this.Ke,"<p>"+a.getAttribute("tabbedPaneCaption")+"</p>")}this.kj=c?e[Db][1][xb][0]:e[Db][0][xb][1];ma(this.kj,"tr_tabbed-pane-tab-content");while(a[ha][i]){this.Gt(a)}a.appendChild(e);a.className+=" tr_tabbed-pane"}he[_P].Gt=function(a){if(a[ha][0][O]==1){var b=a[ha][0];ta(b[k],"none");this.kj.appendChild(b);var c={};c.id=b.getAttribute("tabId");c.mv=b;this.ms.push(c);var d=b.getAttribute("tabId");b.id=d+"-content";var e=this.Zu(d,b.getAttribute("tabLabel"),b.getAttribute("tabTooltip"));
if(this.Xx){this.Wf[Db][0].insertCell(-1).appendChild(e)}else{this.Ke.appendChild(e)}}else{a.removeChild(a[Z])}};var rh=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.qe=e}return f};he[_P].Zu=function(a,b,c){var d=this.u.createElement("div");d.id=a;M(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.wi=this.wi;Fb(d,function(){this.wi.Ee(this.id)});return d};he[_P].$u=function(a){var b=this.u;return new Ve(function(c){ma(b.getElementById(c),"");b.getElementById(c+"-dialog-radio").checked="";ta(b.getElementById(c+"-content")[k],"none")},function(c){ma(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)}})};he[_P].sc=function(a){this.wi.Ee(a)};he[_P].ph=function(){var a,b,c=this.ms;
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].mv}return null};var vl=function(a,b,c,d){var e=a[ha];for(var f=0;f<e[i];f++){if(e[f][O]==1&&e[f].getAttribute("tabbedPaneCaption")){return new he(e[f],b,c,d)}}};he[_P].Pv=function(){return this.kj};function zb(a,b){R.call(this);this.vb=[];this.Of=[];this.ec=a;this.cd=a.h;this.o=new Ta(this);this.Ig={};this.qp=null}zb.a(R);var Kk=function(a,b,c){this.Ib=a;this.content=b;this.av=c};Kk[_P].Nj=function(a){return this.Ib==a.Ib&&this[Y]==a[Y]};zb[_P].Dt=function(a){if(this.vb[i]==0||!a.Nj(this.vb[this.vb[i]-1])){this.vb.push(a);if(this.vb[i]>20){this.vb.shift()}this.Of=[];this.dispatchEvent({type:"redostatechange",enabled:false})}if(this.vb[i]==1){this.dispatchEvent({type:"undostatechange",enabled:true})}};
zb[_P].Es=function(){this.as(this.vb,this.Of);if(this.vb[i]==0){this.dispatchEvent({type:"undostatechange",enabled:false})}if(this.Of[i]==1){this.dispatchEvent({type:"redostatechange",enabled:true})}};zb[_P].Zk=function(){this.as(this.Of,this.vb);if(this.Of[i]==0){this.dispatchEvent({type:"redostatechange",enabled:false})}if(this.vb[i]==1){this.dispatchEvent({type:"undostatechange",enabled:true})}};zb[_P].as=function(a,b){if(a[i]){var c=a.pop(),d=this.cd.D(c.Ib);if(d){d.ti(true,true)}var e=this.Ig[c.Ib];
b.push(e);{d.ej(this.ec)}this.cd.Lr(c.Ib,c[Y]);this.tA(c.Ib,c.av);Ad(c.Ib);{var f=Sc();this.ec.Is(f)}this.Ig[c.Ib]=c;this.ec.Td();this.Fp=true;d.Gb()}};zb[_P].Uv=function(a){var b=this.cd.D(a),c=b&&b.jc();if(!c){return null}var d=this.cd.sa(a),e=c.p(),f=e.getSelection();return f?Dk(f,d):null};zb[_P].tA=function(a,b){if(b){var c=this.cd.sa(a),d=this.cd.D(a);ga.setTimeout(function(){b.hl(c,d.jc().V())},0)}};zb[_P].ox=function(a){if(a[Dc]&&!a[yf]){if(a[db]==90){if(a[Ud]){this.Zk()}else{this.Es()}return Tc(a,
false)}else if(a[db]==89){this.Zk();return Tc(a,false)}}};zb[_P].Hz=function(a){this.o.j(a,"beforechange",this.vq);this.o.j(a,"delayedchange",this.yq);this.o.j(a,"blur",this.wq)};zb[_P].yu=function(a){if(this.o){this.o.Fa(a,"beforechange",this.vq);this.o.Fa(a,"delayedchange",this.yq);this.o.Fa(a,"blur",this.wq)}};zb[_P].c=function(){if(this.o){this.o.c();this.o=null}};zb[_P].vq=function(a){var b=a[$],c=b.id;if(this.qp!=c){this.Hs(b);this.qp=c}};zb[_P].yq=function(a){if(this.Fp){this.Fp=false;return}var b=
a[$];this.Hs(b)};zb[_P].wq=function(a){var b=a[$];if(b){b.gn()}};zb[_P].Hs=function(a){if(a.Pb()){return}var b=a.id,c=this.cd.qw(b),d=this.Ig[b];if(d){this.Dt(d)}var e=this.Uv(b);this.Ig[b]=new Kk(b,c,e)};;function y(a,b,c){R.call(this);this.oC={};this.Ci=[];this.iy=[];this.$=null;this.cc=new xa(a);var d=this.cc.V(),e=d[fa];this.ig=window;this.Zt="http://pages.google.com/-/images/";this.Vi=Ho(b,e[Ce]);this.vk=Io(this.Vi);this.na=Go(d);this.h=new x(this.na,this.cc,this.Vi);this.bc=new zb(this,e);this.Vd=new Ta(this);this.Vb=new xc(this.ig);this.style=new qa(this.h,c)}var Ci;y.a(R);y[_P].v=kd("TR_Editor");var Ei=false,Io=function(a){if(!Ci){Ci=new $k(window,20,a)}return Ci},Ho=function(a,b){var c=!s&&
b=="CSS1Compat"?"standards":"quirks";return a+"static_files/blank_"+c+".html"},Go=function(a){var b=a[Cb].toString(),c=b.substring(0,b.lastIndexOf("/")+1),d={base:c,winbase:c,draft:c,preview:c,live:c,edit:c};return new Wc(d)};y[_P].jc=function(){return this.cc};y[_P].no=function(){return this.SB||0};{y[_P].py=function(a){var b=new Qa(this,a);a.Wt(b);return b}}y[_P].Pp=function(a){if(!this.h.ap()){this.Ot()}if(La(a)){for(var b=0;b<a[i];++b){this.Qp(a[b])}}else{this.Qp(a)}};y[_P].Tp=function(a,b){if(La(a)){for(var c=
0;c<a[i];++c){this.Rp(a[c])}}else{this.Rp(a)}if(!this.h.ap()){this.wu();if(b){this.Jz()}this.eC=null}};y[_P].Rp=function(a){var b=a.id,c=this.h.sa(b);if(!c){this.h.mn(b);return}this.xu(b);var d=a.dd;this.bc.yu(a);var e=this.fw(b);this.h.mn(b);{a.ri(false)}M(d,e);a.ns();a.lv()};y[_P].Cd=function(){this.Td();if(this.zb){this.zb.c();this.zb=null}if(this.np){this.np.c();this.np=null}if(this.Vb){this.Vb.c();this.Vb=null}var a=this.h.Iv();this.Tp(a,true);for(var b=0;b<a[i];++b){a[b].c()}if(this.bc){this.bc.c();
this.bc=null}if(this.Vd){this.Vd.c();this.Vd=null}this.Og=null};y[_P].Ot=function(){var a=this.cc.k();this.Vd.j(this.Vb,oe,this.Dh)};y[_P].wu=function(){if(this.Vd){this.Vd.Ed()}};y[_P].Jz=function(){if(this.vk){this.vk.Iz();this.vk=null}};y[_P].Ha={};y[_P].rb=function(a,b,c,d){var e=a.id;if(!this.Ha[e]){this.Ha[e]=new Ta(this)}this.Ha[e].j(a,b,c,d)};y[_P].xu=function(a){if(this.Ha[a]){this.Ha[a].c();this.Ha[a]=null}};y[_P].pk=function(a,b){if(a[Dc]||a[fd]){this.bx(a)}};y[_P].bx=function(a){switch(a[Dg]){case sh("b"):this.execute("+bold");
Tc(a);break;case sh("i"):this.execute("+italic");Tc(a);break;case sh("u"):this.execute(Bi);Tc(a);break;case sh("s"):Tc(a)}};y[_P].Vo=function(a){var b=fe(a);if(s){this.ok(b.id)}var c=this.h.ee(b);c.Gb()};y[_P].zx=function(a){var b=fe(a),c=this.h.ee(b);c.Gb()};y[_P].Dh=function(){if(this.ke())this.$.ye()};y[_P].gw=function(a,b,c){var d=a[Rd];if(d){return this.$j(d,b,c)}else{var e;if(a.Pb()){e="&nbsp;"}else{var f=this.cc.Ka(a.id);if(f){e=f[cb]}}if(c){c(e)}return e}};y[_P].Hr=function(a,b,c,d){if(d){a.ti(true,
true)}var e=a[Rd];if(e){this.h.Lr(e.id,c)}else{M(this.cc.Ka(a.id),ih(c))}if(d){a.Bl()}else{a.Gb()}};y[_P].fw=function(a,b,c){var d=this.h.sa(a);return this.$j(d,b,c)};var Fo=["lang_hashCode_","listen_hc_"].concat(["insertResized_","tabIndex","tabIndexSet"]);y[_P].$j=function(a,b,c){if(this.h.D(a.id).Pb()){var d="&nbsp;";if(c){c(d)}return d}var e=a.cloneNode(false),f=a[cb];if(s&&f.match(/^\s*<script/i)){f="&nbsp;"+f}M(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(Yn){mp(j,Fo)}else{uo(j,false)}this.na.Vp(j)}if(s){this.bA(e)}var d=e[cb];if(c){c(d)}else{return d}};y[_P].ll=function(a,b,c,d){var e=this.h.D(a.id);if(e){this.Hr(e,b,c,d)}};y[_P].xA=function(a,b,c){var d=this.h.D(a);if(d.Pb()){d.ej(this)}this.ll(d[Rd],false,b,c)};y[_P].bA=function(a){this.na.aA(a,"a")};y[_P].kx=function(a){this.dispatchEvent({type:"focus",Bv:a[$]})};y[_P].jx=function(a){var b=this.h.D(a),c=b.J(),d=true;if(s){var e=b.nb()?c:cl(gp(c)),f=ua(e);if(gl(f)!=e){this.h.ln(a)}else{d=
false}}this.dispatchEvent({type:"blur",Bv:b});if(d){if(b&&Dd(c)){b.ol(this)}}};y[_P].Qp=function(a){var b=a.id;this.v.R("Starting make field editable "+b);var c=this.cc.Ka(b);if(!c){return}a.dd=c;if(a.Pb()){a.zu(c,this)}this.h.vz(a,D(this.mx,this));this.v.R("Ending make field editable "+b)};y[_P].mx=function(a){this.v.R("Starting handleFieldOpen "+a);var b=this.h.sa(a),c=this.h.D(a);if(Dd(b)&&Sc()!=a){c.ol(this)}else if(Vn){this.h.$z(a)}this.Pt(b);this.bc.Hz(c);this.SA(c);c.XA();if(c.nb()&&c.Rc()){this.ov(a)}c.jv();
this.v.R("End handleFieldOpen "+a)};y[_P].ov=function(a){var b=this.h;ga.setTimeout(function(){b.nv(a)},0)};y[_P].Pt=function(a){var b=a.id,c=this.h.D(b);if(Wn){c.addListener(af,this.pk,true,this)}c.addListener($e,D(this.bc.ox,this.bc),false,this);if(s){this.rb(a,"mousedown",this.lx)}this.rb(a,"dragdrop",this.Vo);{this.rb(c,"beforefocus",this.ok.G(this,b))}this.rb(c,"focus",this.kx);this.rb(c,"blur",this.jx.G(this,b));this.rb(c,"selectionchange",Dm(Zk,this));this.rb(c,X.pm,Zk.ue(this));if(!qi){this.rb(a,
"paste",this.zx,true);this.rb(a,"drop",this.Vo)}};y[_P].vv=function(a){if(s||ra){if(!this.h.ae()){this.h.ce(a).focus()}}};y[_P].SA=function(a){var b=a.id;this.rb(a,"selectionchange",this.Bz.G(this,b));this.rb(a,"mouseup",this.iu)};y[_P].Lu=function(a){if(yi(a)){var b=this.h.zw().V();if(a.getAttribute("imageanchor")){return}var c=Sb(a,"img"),d=this.h.ee(a);this.$=new P(this.ig,b,a,d.jc().V(),this.na,this.Ci,this.Jq.G(this,"link"));if(this.zb){this.zb.Ed()}else{this.zb=new Ta(this)}this.zb.j(this.$,
"dispose",this.Lz);this.zb.j(this.$,"change",this.hu);this.zb.j(this.$,tk,this.dispatchEvent);this.zb.j(this.$,"closed",this.Zw);if(Sb(a,"a")){this.aB(this.$)}if(this.no()){this.$.pA(this.no())}this.$.uz();this.vv(a)}};y[_P].Lz=function(){this.zb.Ed()};y[_P].aB=function(a){a.OA(this.VB);a.zA(this.UB)};y[_P].hu=function(a){if(a){var b=a.ju,c=this.h.ee(b);c.Gb(a.Ey)}if(this.ke()){this.$.ye()}};y[_P].iu=function(a){var b=fe(a);if(!Sb(b,"img")){b=Qe(b,"a")}this.Ge(b)};y[_P].Bz=function(){var a=this.h.p(),
b=a.La(),c=b;if(!Sb(b,"img")){c=Qe(b,"a")}this.Ge(c)};y[_P].Ge=function(a){if(this.ke()&&a!=this.$.la()){this.Td()}if(a&&!this.ke()){this.Lu(a)}};y[_P].ke=function(){if(this.$){if(this.$.le()&&this.$.Ta&&this.$.Ta[n]){return true}else{this.$=null;return false}}else{return false}};y[_P].Td=function(){if(this.ke()){this.$.Sd()}};y[_P].Zw=function(a){this.$=null;var b=a[$].la()};y[_P].Jq=function(a,b){var c=this.mo();if(c){if(a=="editHtml"){this.$j(c.J(),false,this.Kq.G(this,c,a))}else{this.Kq(c,a,b)}}};
y[_P].Kq=function(a,b,c){if(this.ke()){this.Td()}var d,e=this[k].p();if(b=="link"){d=new aa(this.ig,this.na,e,this.Zt,c,this.iy);this.Vn=t(d,"cancel",this.Ny,false,this);this.Wn=t(d,"ok",this.Oy,false,this)}else if(b=="editHtml"){d=new Aa(this.ig,e,this.Ky.G(this,a.J()),this.na,this.Vi,this.OC);d.Ca(c)}Ei=true;d.Pr(this);this.Og=t(d,"close",this.dx.G(this,a),false,this);d.tc()};y[_P].mo=function(){var a=this[k].p(),b=this.h.ae();if(!b){b=this.h.Wv();this.gd(b.id)}return b};y[_P].oo=function(a){var b=
this.h.ae();return this[k].oo(a,b)};var jh="+formatBlock",Bi="+underline",Ai="+foreColor";y[_P].execute=function(a,b){this.Td();var c=this.mo();if(!c){return false}if(a=="+undo"){this.bc.Es()}else if(a=="+redo"){this.bc.Zk()}else{if(u){c.ti(true,true)}c.Pg();var d=this[k].Gv(a,b);c.Gb();if(a=="+link"){this.Ex(d)}else{c.Dj()}}return false};y[_P].gd=function(a){Ad(a);this.cc.Zg();this.h.gd(a)};y[_P].Ex=function(a){if(a){var b=a.gh();if(Fl(b)){this.Xr(a,Qi(b))}else if(uh(b)){this.Xr(a,"mailto:"+b)}else{this.Jq("link",
a)}}else{this.Td()}};y[_P].Xr=function(a,b){a.rp(b);var c=a.lf();this.Ge(c);var d=this[k].p();d.ai(c)};y[_P].hn=function(){Ua(this.Vn);this.Vn=null;Ua(this.Wn);this.Wn=null};y[_P].Ny=function(a){var b=a[$].la();if(b[n]){this.Ge(b)}this.hn()};y[_P].Oy=function(a){var b=a[$].la();this.Ge(b);var c=this.h.ee(b);c.Gb();this.hn()};y[_P].lx=function(a){var b=fe(a);if(!Sc()){var c=this.h.ce(b).id;Ad(c)}if(s&&Sb(b,"a")&&a[Dc]){this.cc.Lq(b[Ge],"")}};{y[_P].Ky=function(a,b){var c=a.id,d=this.h.D(c);if(d.Pb()){this.ok(c)}this.xA(c,
b);if(u){Yk(ua(a),this.na)}var e=this.h.p();ga.setTimeout(D(e.empty,e),0);d.Gb()}}{y[_P].ok=function(a){this.h.D(a).ej(this)};y[_P].Is=function(a){var b=this.h.D(a);if(a!=Sc()&&Dd(b[Rd])){b.ol(this)}}}var Di=function(){return Ei};y[_P].zk=function(){return Di()};y[_P].dx=function(a){if(this.Og){Ua(this.Og);this.Og=null}a.bv(X.Ji);Ei=false};{function Qa(a,b){this.ec=a;this.ya=b;this.df=a.jc();this.Al=sc();this.Mj=sc();this.Wg=new Ta(this);this.Dv=D(this.Ev,this);this.pe=new Ta(this);if(!this.ya.Dk()){this.L()}this.Wg.j(this.ya,X.um,this.Qz);this.Wg.j(this.ya,X.Bm,this.L)}Qa.a(uc);Qa[_P].c=function(){this.ka();this.Wg.c();this.pe.c();this.Wg=null;this.pe=null;Qa.g.c.call(this)};Qa[_P].L=function(){if(this.Bp){return}this.Bp=true;this.Uh=false;var a=this.hh();if(this.ya.Rc()){this.dl=null;this.pe.j(a,Gd,this.yx);this.pe.j(a,hb,this.kk)}else{this.pe.j(a,
zc,this.xx)}if(Dd(a)){this.ya.yA(a,this.ec)}};Qa[_P].ka=function(){this.pe.Ed();this.Bp=false};Qa[_P].hh=function(){return this.df.Ka(this.ya.id)};Qa[_P].xx=function(a){this.bo();this.ka()};Qa[_P].kk=function(a){var b=Qe(a[$],"A");if(b){a.preventDefault();if(!pk){this.dl=b}}};Qa[_P].yx=function(a){if(a.Tx(0)){this.df.V().setTimeout(this.Dv,0)}};Qa[_P].Ev=function(){if(!this.ya.Dk()){this.dr(this.df);if(!this.ya.Pb()){this.Qx()}this.bo()}this.ka();this.dl=null};Qa[_P].bo=function(){if(!this.ya.Dk()){this.Uh=
true;this.ec.Pp(this.ya)}};Qa[_P].Qz=function(){if(this.ya.Rc()){var a=this.ya.jc(),b=a.Ka(this.Al),c=a.Ka(this.Mj),d=b&&c;if(this.Uh||d){this.ec.gd(this.ya.id)}if(d){var e=b[n],f=c[n];a.p().ur(b,c);if(e==f&&e[oa]=="A"){this.ec.Ge(e)}}this.dr(a)}else{if(this.Uh){this.ec.gd(this.ya.id)}}this.Uh=false};Qa[_P].Qx=function(){var a=this.df.p(),b=this.hh(),c=function(l){return l==b},d=a.Mb(),e=a.ld(),f=true;if(d&&e){var g=Bd(d,c),h=Bd(e,c);if(g&&h){a.lB(this.Gg(),this.Fg())}else if(g){a.insertNode(this.Gg(),
true);this.Ox()}else if(h){a.insertNode(this.Fg(),false);this.Px()}else{f=false}}else{f=false}if(!f){var j;if(pk){j=gl(this.df.k())}else{j=this.dl}if(j&&Bd(j,c)){me(this.Gg(),j[Z]);me(this.Fg(),j[Z])}}};Qa[_P].dr=function(a){a.fr(this.Al);a.fr(this.Mj)};Qa[_P].wn=function(a){return Xe("span",{id:a})};Qa[_P].Gg=function(){return this.wn(this.Al)};Qa[_P].Fg=function(){return this.wn(this.Mj)};Qa[_P].Px=function(){var a=this.hh();me(this.Gg(),Uc(a))};Qa[_P].Ox=function(){var a=this.hh();fg(this.Fg(),
ge(a))}};{}{}{}{};;var L=function(a){W.call(this,a);this.Yc=tb.fg;this.xb=ug("clicktoedit")};L.a(W);var mn=u?"p {margin:0;padding:0;}\n ul, ol {margin:0 0 0 $LEFT$;padding:0;}\n":null,qr={title:2,centeredTitle:2,subtitle:1.5};L[_P].r=null;L[_P].ug=null;L[_P].Un=false;L[_P].Oe=false;L[_P].Um=false;L[_P].Xe=null;L[_P].xb=false;L[_P].Ja=function(){return"presently.TextShape"};L[_P].vg=function(){var a=this.e().cloneNode(false);if(a.contentEditable){a.contentEditable=false}M(a,this.A());Kn(a);return a};L[_P].Jb=function(){return on()};
L[_P].J=function(){return this.r};L[_P].p=function(){return this.r?this.r.p():null};L[_P].Na=function(a){if(this.dc&&!a||!this.dc&&a){L.g.Na.call(this,a);if(!a){this.hv();if(!this.xb){this.al()}}else{if(this.xb){this.xn()}else{this.Ls()}}}};L[_P].xn=function(){var a=s||u||ug("safarisupport")&&ra&&ad("520");if(!a){return}if(!this.r){if(!this.xb){this.al()}this.r=new w(this.w(),2,this.Yv());var b=this.md();b.j(this.r,"load",this.Aq);b.j(this.r,"delayedchange",this.rq);b.j(this.r,"focus",this.zq);b.j(this.r,
"beforeblur",this.oq);b.j(this.r,"blur",this.xq);b.j(this.r,"selectionchange",this.Bq);b.j(this.r,X.lm,this.Hy);if(this.xb){this.ug=this.Jb().py(this.r)}else{this.Jb().Pp(this.r)}}else{if(this.ug){this.ug.L()}}};L[_P].Rv=function(){return mn.replace("$LEFT$",1.5/(qr[this.ge()]||1)+"em")};L[_P].Yv=function(){var a={loremIpsumMessage:this.ck(),minHeight:Bn(this.e())};if(mn!=null){a.cssStyles=this.Rv()}return a};L[_P].hv=function(){if(!s&&!u){return}if(this.r){if(!this.xb){var a=this.md();a.Fa(this.r,
"load",this.Aq);a.Fa(this.r,"delayedchange",this.rq);a.Fa(this.r,"focus",this.zq);a.Fa(this.r,"beforeblur",this.oq);a.Fa(this.r,"blur",this.xq);a.Fa(this.r,"selectionchange",this.Bq)}this.r.Kr(this.wf());this.Jb().Tp(this.r,false);if(this.xb){this.ug.ka()}else{this.r=null}Ua(this.Um)}ga.focus()};L[_P].zB=function(){if(this.r){this.r.DA(Bn(this.e()))}};L[_P].A=function(){if(this.r){return this.Jb().gw(this.r)}else if(this.Oe){this.Mm();return""}else{return L.g.A.call(this)}};L[_P].Qv=function(){return this.Oe?
this.b[cb]:this.A()};L[_P].ck=function(){return nr(this.ge())};L[_P].al=function(){if(!this.Oe){return}if(!this.Mm()){return}M(this.b,"");Hb(this.b,"lorem-ipsum");this.Oe=false};L[_P].Ls=function(){if(this.nc()&&this.dc){M(this.b,this.ck());Da(this.b,"lorem-ipsum");this.Oe=true}};L[_P].Mm=function(){if(!this.Oe)return true;if(this.Qv()!=this.ck()){ab("TextShape.removeLoremIpsumText_: Invalid state: usingPresentlyLoremIpsum but text field contents aren't valid lorem ipsum message.");return false}return true};
L[_P].nc=function(){return Dd(On(this.A()))};L[_P].Ca=function(a,b){if(!this.r){if(!this.xb){this.al()}var c=L.g.Ca.call(this,a,b);if(!this.xb){this.Ls()}return c}if(a!=this.A()){this.Jb().Hr(this.r,false,a);this.Jb().Is(this.w());this.dispatchEvent(we);return true}return false};L[_P].Hy=function(a){var b=this.Jb(),c=b.h.p();if(this.jA()){b.execute(a[Ud]?"+outdent":"+indent")}else{this.r.ti(true,true);var d=c.Ic(),e=this.Jb().h.of(),f=e.createElement("span");e.PA(f,"\u00a0\u00a0 \u00a0");f=c.insertNode(f);
if(!d){b.execute("delete")}else{this.r.Gb()}c.ai(f);this.r.Dj()}a.preventDefault()};L[_P].jA=function(){var a=this.Jb().h.p(),b=a.La();while(b&&(b[O]!=1||!Gb(b,"placeholder"))){if(b[oa]=="LI"){return true}b=b[n]}var c=new Yb(a);while(!c.Kh()){if(c.s[oa]=="LI"){return true}c.next()}return false};L[_P].Aq=function(a){if(this.r.nb()){this.Um=rr(this.r.vo(),$e,Dh())}if(!this.xb){this.Jb().gd(this.w())}vb("TextShape.onFieldLoad_: "+this.toString())};L[_P].Xh=function(a){vb("TextShape.onMouseDown");if(!this.xb){this.xn()}L.g.Xh.call(this,
a)};L[_P].rq=function(a){vb("TextShape.onDelayedFieldChange_: New contents for "+this.toString());var b=null;try{vb("Before scrub: "+(this.J()?this.J().J()[cb]:this.A()));zn(this);vb("After scrub: "+(this.J()?this.J().J()[cb]:this.A()))}catch(c){b=c}vb("Saving delayed changes.");this.F("contents",this.A());this.dispatchEvent(we);if(b){throw b;}};L[_P].zq=function(a){vb("TextShape.onFieldFocus_: "+this.toString());this.Un=true};L[_P].oq=function(a){vb("TextShape.onBeforeFieldBlur_: "+this.toString());
this.In();Fr(this)};L[_P].xq=function(a){vb("TextShape.onFieldBlur_: "+this.toString());this.Un=false;this.wb()};L[_P].Bq=function(a){vb("TextShape.onFieldSelectionChange_: "+this.toString());this.In()};L[_P].rl=function(a){var b=this.oh();L.g.rl.call(this,a);if(b[z]!=a[z]){this.zB()}};L[_P].zg=function(a){var b=this.e();if(!a||!this.ca()||!b||!b[ac]){return null}var c=this.oh(),d=b[k],e=d[A],f=d[z];ia(d,"auto");pa(d,"auto");ia(c,p.max(c[A],100*b[ac]/(800*a)));pa(c,p.max(c[z],100*b[Pb]/(600*a)));
ia(d,e);pa(d,f);return c};L[_P].Fw=function(){if(this.J().Rc()){return Ar(this.e(),1)}return 1};L[_P].In=function(){if(this.Xe){var a=this.Xe[Ig].replace(/\u202c|\u202d/,"");if(a[i]){this.Xe.innerText=a}else{ba(this.Xe)}}this.Xe=null};var nr=function(a){switch(a){case ub.Ws:case ub.Xs:case ub.Li:case ub.Us:return ec(M_DEFAULT_BODY_TEXT);case ub.Vs:return ec(M_DEFAULT_CAPTION_TEXT);case ub.Gi:return ec(M_DEFAULT_TITLE_TEXT);case ub.jt:return ec(M_DEFAULT_SUBTITLE_TEXT);case ub.Ki:return ec(M_DEFAULT_SLIDE_TITLE_TEXT);
default:return""}};var ai=null,or=false,nn=function(a){ai=new y(a||ga,yn());t(ai,[wi,"close"],pr)},on=function(){if(!ai){nn()}return ai},pr=function(a){or=a&&a[N]==wi};Ub("_createCccEditor",nn);Ub("_getCccEditor",on);var H=function(a){E.call(this,a);this.ng=this.t+"Build"};H.a(E);H[_P].Nh=null;H[_P].N=null;H[_P].zi=null;H[_P].zd=0;H[_P].pa=0;H[_P].ng=null;H[_P].Ja=function(){return"presently.EditableSlide"};H[_P].H=function(a){var b=H.g.H.call(this,a);b.Mr(this.jh());b.N=this.N;return b};H[_P].Xu=function(a){return this.Wh(null,{contentType:a})};H[_P].Yu=function(a){switch(a){case tb.fg:return new L;case tb.ym:return new sb;case tb.Md:return new Rj;case tb.om:return new nd;default:as("Unsupported shape content type: "+
a);return null}};H[_P].$f=function(){return(new rb('<div class="')).f("slide").f(" ").f(this.jh()).f('" id="').f(this.w()).f('" revision="').f(this.tf()).f('">').f(this.ak()).f("</div>").toString()};H[_P].ek=function(){return this.N||""};H[_P].jh=function(){return this.Nh};H[_P].Mr=function(a,b){if(a!=this.Nh){this.Nh=a;this.dispatchEvent("slide_layout_changed");if(!b){this.F("layout",this.jh())}return true}return false};H[_P].A=function(){var a=new rb;this.Ia(function(b){a.f("<!-- p$").f(b.w()).f("$ --\>");
a.f(b.$f());a.f("<!-- /p$").f(b.w()).f("$ --\>")});return a.toString()};H[_P].dh=function(){return fn};H[_P].Dr=function(a){if(qg(a)==""){return}var b=new Image;b.src=a;b.setAttribute("width","100%");b.setAttribute("height","100%");var c=this.e()[da].createElement("div");c.appendChild(b);var d=c[cb];ba(c);var e=this.Xu(tb.Md);e.Ca(d);e.rl(new md(0,0,100,100));this.je(e,0)};H[_P].je=function(a,b){H.g.je.call(this,a,b);this.DB([a]);this.dispatchEvent(new od(this,"shape_inserted",a.w()))};H[_P].DB=function(a){this.wb();
var b=this.wp();vc(a,function(c){this.Ul(c);c.Na(b)},this)};H[_P].Wh=function(a,b,c){var d=b.contentType,e=this.Yu(d);e.Sf(a||this.od().zo()(e));if(!c){e.F("action","create");e.F("index",-1);e.F("contentType",d)}e.Tf(ub.Li,c);return e};H[_P].Mg=function(a,b){if(!a){throw new Error("Attempted to delete a non-existent shape");}var c=a.w();this.dispatchEvent(new od(this,"before_delete_shape",c));if(!b){var d=a.nf("action");if(d=="create"){this.Ql(a)}else{a.F("action","delete")}}this.removeChild(a,true);
a.c();if(this.zi==c){this.N=null;this.zi=null;this.dispatchEvent(gn);vc(this.ha,function(e){this.Ul(e)},this)}this.dispatchEvent(new od(this,"shape_deleted",c));this.wb()};H[_P].l=function(){H.g.l.call(this,"slide "+this.jh())};H[_P].Gf=function(a,b,c){var d=H.g.Gf.call(this,a,b,c);if(d){this.dispatchEvent("shape_moved")}return d};H[_P].Ul=function(a){var b=a.ge();if(a.w()==this.zi||(b==ub.Ki||b==ub.Gi)&&this.N==null){this.N=a.Rw();this.zi=a.w();this.dispatchEvent(gn)}};H[_P].qq=function(a){var b=
a[$];if(b){this.Ul(b)}};H[_P].ez=function(){this.wb()};H[_P].c=function(){if(!this.O()){H.g.c.call(this);this.Nh=null}};H[_P].L=function(){H.g.L.call(this);this.md().j(this,we,this.qq);this.md().j(this,dn,this.ez)};H[_P].ka=function(){H.g.ka.call(this);this.md().Fa(this,we,this.qq)};H[_P].Kd=function(a,b){switch(a){case "layout":this.Mr(b,true);break;default:H.g.Kd.call(this,a,b);break}};H[_P].Pd=function(){if(this.yc&&this.pa<this.zd){var a=S.getElementById(this.jd(this.pa++));Zb(a,true);return true}return false};
H[_P].Me=function(){if(this.yc&&this.pa>0){var a=S.getElementById(this.jd(--this.pa));Zb(a,false);return true}return false};H[_P].mg=function(){while(this.Pd()){}};H[_P].Ds=function(){while(this.Me()){}};H[_P].Xm=function(a){if(this.yc){while(this.pa<a){this.Pd()}while(this.pa>a){this.Me()}}};H[_P].gc=function(){return this.pa};H[_P].fk=function(a){var b=this.N;if(b){var c=qg(b);if(a!=null){if(a<4){a=4}return c[i]<=a?c:c.substr(0,a-3)+"..."}else{return c}}return""};H[_P].jd=function(a){return this.ng+
a};var pd=function(a,b,c){this.t=a;this.ea=b;this.Rg=c};pd[_P].t=null;pd[_P].ea=null;pd[_P].Rg=null;pd[_P].Nj=function(a){return this===a||!(!a)&&this.t==a.t&&this.ea==a.ea&&this.Rg==a.Rg};eb(pd[_P],function(){return(new rb('<User id="')).f(this.t).f('" name="').f(this.ea).f('" email="').f(this.Rg).f('"/>').toString()});pd[_P].w=function(){return this.t};var $a=function(a,b){I.call(this,b);if(ea(a)){this.Sf(a)}this.Od=null;this.Zd=null;this.li=1;this.Le=null};$a.a(I);var rn="goog-presently-view",bi="goog-presently-background",qn="goog-presently-foreground";$a[_P].pg=function(a){return a&&a[O]==1&&a[oa]=="DIV"&&!a[Z]};$a[_P].L=function(){$a.g.L.call(this);var a=this.e();Da(a,rn,this.Le);this.Nm(this.Od);this.Om(this.Zd);this.Rr(this.li)};$a[_P].ka=function(){var a=this.e();Hb(a,rn,this.Le);this.zj();this.yj();$a.g.ka.call(this)};$a[_P].c=function(){if(!this.O()){if(this.Zd){this.zj();
this.Zd=null}if(this.Od){this.yj();this.Od=null}$a.g.c.call(this)}};$a[_P].Rr=function(a){if(typeof a!="number"||a<=0){return}this.li=a;if(this.ca()){var b=20*a+"pt",c=this.e();ta(c[k],"none");G(c,"fontSize",null);if(u){window.setTimeout(function(){G(c,"fontSize",b);ta(c[k],"block")},1)}else{G(c,"fontSize",b);ta(c[k],"block")}}};$a[_P].Vr=function(a){if(a!=this.Le){if(this.ca()){var b=this.e();if(this.Le){Hb(b,this.Le)}if(a){Da(b,a)}}this.Le=a}};$a[_P].jw=function(){return this.Zd};$a[_P].bl=function(a){var b=
this.zj();this.Om(a);return b};$a[_P].Jv=function(){return this.Od};$a[_P].gi=function(a){var b=this.yj();this.Nm(a);return b};$a[_P].Om=function(a){if(a&&this.ca()){Da(a,qn);Jc(this.e(),a);if(s){var b=this.to("ie-hack");if(b==null){b=Xe("div",{"class":"ie-trans-hack",style:"width: 100%; height: 100%; position: absolute;"});b.id=this.Sp("ie-hack")}me(b,a)}}this.Zd=a};$a[_P].zj=function(){var a=this.Zd;if(a){Hb(a,qn);ba(a)}return a};$a[_P].Nm=function(a){if(a&&this.ca()){var b=this.e();Da(a,bi);b.insertBefore(a,
b[Z])}this.Od=a};$a[_P].yj=function(){var a=this.Od;if(a){Hb(a,bi);ba(a)}return a};var Bb=function(a,b){$a.call(this,a,b);this.Gz=hn;this.Pa=null};Bb.a($a);var hn=new ya(800,600);Bb[_P].L=function(){Bb.g.L.call(this);if(this.Pa){this.ul(this.Pa)}else{this.Vc()}};Bb[_P].hk=function(){return this.Pa};Bb[_P].ul=function(a){if(a){this.Pa=a;if(this.ca()){Pr(this.e(),a);this.Br(a);this.Jr(a);this.Rz()}}};Bb[_P].Vc=function(){if(this.ca()){var a=wg(this.e()[n]);this.ul(a)}};Bb[_P].Dw=function(){return this.Gz};
Bb[_P].bl=function(a){if(a){ta(a[k],"none")}var b=Bb.g.bl.call(this,a);if(a){this.Jr(this.hk());ta(a[k],"block")}return b};Bb[_P].gi=function(a){if(a){ta(a[k],"none")}var b=Bb.g.gi.call(this,a);if(a){this.Br(this.hk());ta(a[k],"block")}return b};Bb[_P].Jr=function(a){var b=this.jw();if(a&&b){sf(b,a)}};Bb[_P].Br=function(a){var b=this.Jv();if(a&&b){sf(b,a)}};Bb[_P].Rz=function(){var a=this.hk(),b=this.Dw();if(a&&b){var c=p.min(a[A]/b[A],a[z]/b[z]),d=this.e();this.Rr(c)}};var F=function(a,b){E.call(this);this.ip=a;this.Yf=b};F.a(E);F[_P].Va=null;F[_P].Pa=null;F[_P].Yf=null;F[_P].cn=null;F[_P].sr=null;F[_P].N=null;F[_P].Xf=null;F[_P].kg=null;F[_P].ss=null;F[_P].on=null;F[_P].Mq=null;F[_P].Di=null;F[_P].Fi=null;F[_P].ip=null;F[_P].Ja=function(){return"presently.EditablePresentation"};F[_P].$f=function(){var a=new rb;a.f("presentation_").f('" id="').f(this.w()).f('" revision="').f(this.tf()).f('">');this.Ia(function(b){a.f("<!-- s$").f(b.w()).f("$ --\>");a.f(b.$f());
a.f("<!-- /s$").f(b.w()).f("$ --\>")});a.f("</div>");return a.toString()};F[_P].A=function(){var a=new rb;this.Ia(function(b){a.f("<!-- s$").f(b.w()).f("$ --\>");a.f(b.toString());a.f("<!-- /s$").f(b.w()).f("$ --\>")});return a.toString()};F[_P].JA=function(a){if(a&&a!=this.sr){this.sr=a;var b=a.split(":"),c=b[0];if(c){this.Sf(c)}var d=b[1];if(d){this.IA(d)}}};F[_P].qA=function(a){if(a&&a!=this.cn){this.cn=a}};F[_P].ek=function(){return this.N};F[_P].Wr=function(a,b){if(a!=this.N){this.N=a;this.dispatchEvent("title_changed");
if(!b){this.F("title",this.ek())}return true}return false};F[_P].Tw=function(){return this.Xf};F[_P].Fe=function(a,b){if(a!=this.Xf){this.Xf=a;this.EB();this.dispatchEvent("theme_changed");if(!b){this.F("theme",this.Tw())}return true}return false};F[_P].EB=function(){if(this.ca()){if(this.Va&&u){this.Va.Na(false)}var a=this.e(),b=Pp(ag(a),cr);Dm(Hb,a).apply(null,b);Da(a,"goog-presently-theme-"+this.Xf);var c=null;if(s){c=this.to("ie-hack");if(c){ba(c)}}var d=this.Sj();if(d){d[n].removeChild(d)}d=
this.Yf.dk(this.Xf);if(this.Pa){sf(d,this.Pa)}Da(d,bi);a[n].insertBefore(d,a);if(c!=null){this.Nx(c)}if(this.Va&&u){this.Va.Na(true)}}};var cr=function(a){return Om(a,"goog-presently-theme-")};F[_P].Pz=function(a){var b=xr(this,function(c){return c instanceof W&&c.Xj()==tb.Md});if(b[i]){if(a?wf(M_CONFIRM_IMPORT_THEME_CHANGE):wf(M_CONFIRM_APPLY_CUSTOM_BACKGROUND)){vc(b,function(c){c.od().Mg(c)})}else{return false}}return true};F[_P].Dr=function(a){if(this.Pz(false)){this.Ia(function(b){b.Dr(a)});this.Fe("blank")}};
F[_P].Sj=function(){if(this.ca()){var a=this.e()[n][Z];if(a&&Gb(a,bi)){return a}}return null};F[_P].Nx=function(a){var b=this.Va;if(b){var c,d=b.Uj(0);if(d&&d.Xj()==tb.Md){c=d.e()}else{c=this.Sj()}if(c!=null){fg(a,c)}}};F[_P].hc=function(){return this.Va};F[_P].Vc=function(a){if(this.ca()){if(this.Va&&u){this.Va.Na(false)}var b=this.e();this.Pa=a;sf(this.Sj(),a);sf(b,a);if(this.Va){sf(this.Va.e(),a)}V(b,false);G(b,"fontSize",null);var c=p.min(a[A]/800,a[z]/600),d=20*c+"pt";if(this.kg){window.clearTimeout(this.kg)}this.kg=
window.setTimeout(D(function(){this.kg=null;G(b,"fontSize",d);V(b,true);if(this.Va&&u){this.Va.Na(true)}},this),1)}};F[_P].dh=function(){return"presentation_bounds_changed"};F[_P].hz=function(){this.wb()};F[_P].QA=function(a){if(a!=this.ss){this.ss=a;this.dispatchEvent("timestamp_changed")}};F[_P].sA=function(a){if(a!=this.on){this.on=a;this.dispatchEvent("coeditors_changed")}};F[_P].EA=function(a){var b=new pd(a.id,a.name,a.email);if(!b.Nj(this.Mq)){this.Mq=b;this.dispatchEvent("owner_changed")}};
F[_P].UA=function(a){if(a){if(this.Di){Il(this.Di)}else{this.Di=[]}vc(a,function(b){this.Di.push(new pd(b.id,b.name,b.email))},this);this.dispatchEvent("viewers_changed")}};F[_P].VA=function(a){if(a){if(this.Fi){Il(this.Fi)}else{this.Fi=[]}vc(a,function(b){this.Fi.push(new pd(b.id,b.name,b.email))},this);this.dispatchEvent("writers_changed")}};F[_P].zo=function(){return this.ip};F[_P].Lb=function(){return this.Vj()};F[_P].je=function(a,b,c){F.g.je.call(this,a,b,c);V(a.e(),false);this.dispatchEvent(new od(this,
"slide_created",a.w()));this.wb()};F[_P].Gf=function(a,b,c){var d=F.g.Gf.call(this,a,b,c);if(d){this.dispatchEvent(new od(this,"slide_moved",a.w()))}return d};F[_P].Mg=function(a,b){if(!a){throw new Error("Attempted to delete a non-existent slide");}var c=a.w();this.dispatchEvent(new od(this,"before_delete_slide",c));if(!b){var d=a.nf("action");if(d=="create"){this.Ql(a)}else{a.F("action","delete")}}this.removeChild(c);a.c();this.dispatchEvent(new od(this,"slide_deleted",c));this.wb()};F[_P].Wh=function(a,
b,c){var d=new H;d.Sf(a||this.zo()(d));if(!c){d.F("action","create");d.F("index",-1)}return d};F[_P].L=function(){F.g.L.call(this);this.md().j(this,fn,this.hz)};F[_P].vf=function(a){return this.Uj(a)};F[_P].Kd=function(a,b,c){switch(a){case "revision":this.JA(b);break;case "cancelRevision":this.qA(b);break;case "title":this.Wr(b,c);break;case "theme":this.Fe(b,c);break;case "lastEdited":case "timestamp":this.QA(b);break;case "coeditors":this.sA(b);break;case "owner":this.EA(b);break;case "viewers":this.UA(b);
break;case "writers":this.VA(b);break;default:F.g.Kd.call(this,a,b,c);break}};var Mb=function(a,b,c){var d=Fa();if(!a){ab("Slide: Unable to create Slide, id is null");return}var e=o(a);if(!e){ab('Slide: Unable to create Slide, no element with id="'+a+'" found');return}this.t=a;this.yc=!b;this.li=!c;this.zd=0;this.pa=0;this.ng=this.t+"Build";this.nC=this.t+"Image";this.N=null;this.Lx();if(this.yc){var f=We(null,"incremental",e);for(var g=0;g<f[i];g++){if(f[g][oa]=="OL"||f[g][oa]=="UL"){var h=f[g][Z];while(h&&h[n]&&h[n]==f[g]){if(h[O]==1){h.id=this.jd(this.zd++);Zb(h,false)}h=
h[yb]}}else{f[g].id=this.jd(this.zd++);Zb(f[g],false)}}}yg('Initialized slide (id="'+this.t+'")',d)};Mb[_P].Lx=function(){var a=hr(this.rh());for(var b=0,c=a[i];b<c;b++){var d=a[b],e=ir(d),f=jr(d);if(e==tb.fg&&(f==ub.Ki||f==ub.Gi)){this.N=Eh(d);break}}};Mb[_P].w=function(){return this.t};Mb[_P].rh=function(){return o(this.t)};Mb[_P].fk=function(a){var b=this.N;if(b){var c=qg(b);if(a!=null){if(a<4){a=4}return c[i]<=a?c:c.substr(0,a-3)+"..."}else{return c}}return""};Mb[_P].Pd=function(){if(this.yc&&
this.pa<this.zd){var a=S.getElementById(this.jd(this.pa++));Zb(a,true);return true}return false};Mb[_P].Me=function(){if(this.yc&&this.pa>0){var a=S.getElementById(this.jd(--this.pa));Zb(a,false);return true}return false};Mb[_P].mg=function(){while(this.Pd()){}};Mb[_P].Ds=function(){while(this.Me()){}};Mb[_P].Xm=function(a){if(this.yc){while(this.pa<a){this.Pd()}while(this.pa>a){this.Me()}}};Mb[_P].gc=function(){return this.pa};Mb[_P].A=function(){var a=this.rh();return a?'<div class="'+a[Ob]+'">'+
a[cb]+"</div>":""};eb(Mb[_P],function(){return'<Slide id="'+this.t+'" title="'+this.fk(20)+'" build="'+this.yc+'" scale="'+this.li+(this.zd!=0?'" numBuilds="'+this.zd:"")+'" />'});Mb[_P].jd=function(a){return this.ng+a};var Sj=function(a){var b=Fa();if(!a){ab("Gallery: Unable to create gallery, name is null");return}var c=o(a);if(!c){ab('Gallery: Unable to create gallery, no data source with id="'+a+'" found');return}this.ea=a;this.lo={};var d=We("div","slide",c);for(var e=0;e<d[i];e++){var f=d[e].id;if(f){this.lo[f]=new Mb(f,true,false);vb("Gallery: Added "+d[e]+" to the gallery")}else{ab("Gallery: Ignoring <div> at index "+e+"; no ID found")}}yg('Initialized gallery (id="'+a+'")',b)};eb(Sj[_P],function(){return'<Gallery name="'+
this.ea+'" />'});Sj[_P].dk=function(a){var b=null,c=a?this.lo[a]:null;if(c){b=c.rh().cloneNode(true);b.id=null}return b};var xe=function(a){var b=Fa();if(!a){ab("Presentation: Unable to create presentation, id is null");return}var c=o(a);if(!c){ab('Presentation: Unable to create presentation, no element with id="'+a+'" found');return}this.t=a;this.ad=[];var d=We("div","slide",c);for(var e=0;e<d[i];e++){if(!d[e].id){d[e].id=this.Kw(e)}var f=new Mb(d[e].id);this.ad.push(f);vb("Presentation: Added "+this.vf(e)+" to the deck")}yg('Initialized presentation (id="'+a+'")',b)};eb(xe[_P],function(){return'<Presentation id="'+
this.t+'" numSlides="'+this.ad[i]+'" />'});xe[_P].w=function(){return this.t};xe[_P].Lb=function(){return this.ad[i]};xe[_P].vf=function(a){if(typeof a=="undefined"||a<0||a>=this.ad[i]){ab("Presentation.getSlide: Index "+a+" out of bounds");return null}return this.ad[a]};xe[_P].Kw=function(a){if(typeof a=="undefined"){ab("Presentation.getSlideIdFromIndex: Unable to generate ID, index is null");return null}return this.t+"Slide"+a};xe[_P].Sz=function(){for(var a=0;a<this.ad[i];a++){this.ad[a].Ds()}};var an,bn;(function(){function a(h){var j=h.match(/[\d]+/g);Eb(j,3);return j.join(".")}var b=false,c="";if(kb[Kg]&&kb[Kg][i]){var d=kb[Kg]["Shockwave Flash"];if(d){b=true;if(d.description){c=a(d.description)}}if(kb[Kg]["Shockwave Flash 2.0"]){b=true;c="2.0.0.11"}}else if(kb[vd]&&kb[vd][i]){var e=kb[vd]["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){}}}}an=b;bn=c})();var cn=function(a){return Gm(bn,a)>=0};(function(){var a="";function b(e){var f=e.match(/\d/g);return f.join(".")}if(ra&&kb[vd]&&kb[vd][i]>0){var c=kb[vd]["application/photo"];if(c){var d=c.description;if(d){a=b(d)}}}})();var $h="hasPicasa";(function(){var a=false;if(s){ga[$h]=a;S.write('<!--[if gte Picasa 2]><script type="text/javascript">this.'+$h+"=true;<\/script><![endif]--\>");a=ga[$h];ga[$h]=bb}else if(kb[vd]&&kb[vd]["application/x-picasa-detect"]){a=true}})();var Ma=function(a,b,c,d){this.ea=a;this.Pi=b;this.Lm=c;this.Ea=0;this.Ec=null;this.oe=false;this.io=false;this.db=[];this.Yk=null;this.Dl=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(Zm){this.Zh="windows"}else if(Qj){this.Zh="macintosh"}else if(rg){this.Zh="linux"}else{this.Zh=""}},Oj,$q=function(){if(typeof Oj=="undefined"){Oj=kb.userAgent.toLowerCase().indexOf("firefox/1.0")>=0}return Oj};Ma[_P].ct=function(){return this.Pi+this.Lm};Ma[_P].sm=function(){return this.Ea};Ma[_P].rt=function(a,b,c,d,e,f,g,h,j,l){var m=!(!a);this.Ay=!m;this.yb=m;this.Ld=d;this.rd=e;if(m){this.I=S.getElementById(a);G(this.I,"z-index","2")}else if(typeof this.I=="undefined"){var q=1,v=1;if(rg&&
$q()){q=d;v=p.max(e,0.75*d+150)}this.I=S.createElement("DIV");if(j){G(this.I,"position","absolute");G(this.I,"top",g+"px")}else{G(this.I,"position","absolute");G(this.I,"top",g+"px")}G(this.I,"left",f+"px");G(this.I,"width",q+"px");G(this.I,"height",v+"px");G(this.I,"overflow","hidden")}Yc(D(this.pv,this,m,b,c,h,l),0);Yc(function(){},0)};Ma[_P].pv=function(a,b,c,d,e){var f=rg?"9":"8",g,h="<p style='font-family:Arial; color:#666666; font-size:.8em; margin:0; padding:0'>"+Th(s?this.Zp.IE_BAD_VERSION_HTML:
this.Zp.BAD_VERSION_HTML,f)+"</p>";if(cn(f)){g=this.dt(b,c,"100%","100%",d,false,e);M(this.I,g)}else{M(this.I,h);this.Pe(4)}if(!a){S[B].appendChild(this.I)}this.Ec=S.getElementById("flash_"+this.ea);if(!s){if(this.Ec==null||this.Ec.src!=c){M(this.I,h);this.Pe(4)}}};Ma[_P].dt=function(a,b,c,d,e,f,g){var h=this,j=function(za){h.xm(za)},l=function(za,Oa){h.gt(za,Oa)};window["Recv_"+this.ea]=j;window[this.ea+"_DoFSCommand"]=l;if(s){var m=S.createElement("SCRIPT");m.event="FSCommand(command,args)";m.htmlFor=
"flash_"+this.ea;m.text=this.ea+"_DoFSCommand(command, args)";S[B].appendChild(m)}var q=s?"%s<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' id='%s' name='%s' width='%s' height='%s' style='%s'><param name='scale' value='noScale'/><param name='movie' value='%s'/><param name='quality' value='high'/><param name='bgcolor' value='#ffffff'/><param name='FlashVars' value='%s'/><param name='AllowScriptAccess' value='always'/><param name='allowFullScreen' value='true'/><param name='SeamlessTabbing' value='false'/>%s</object>":
"%s<embed quality='high' id='%s' name='%s' style='width: %s; height: %s; %s' src='%s' FlashVars='%s' AllowScriptAccess='always' allowFullScreen='true' SeamlessTabbing='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' %s></embed>",v=Th("dbg=%s&ap=%s&nm=%s&cb=%s&os=%s&%s",jc(g?"true":"false"),jc(this.Pi),jc(this.Lm),jc("Recv_"+this.ea),jc(this.Zh),e+"&"),U="",Q;if(s){Q=f?"<param name='wmode' value='transparent'/>":"<param name='wmode' value='window'/>"}else{Q=
f?"wmode='transparent'":"wmode='window'"}return Th(q,a,"flash_"+this.ea,this.ea,c,d,U,b,v,Q)};Ma[_P].bt=function(){if(this.Ay&&!this.io){this.io=true;G(this.I,"left","-10000px");G(this.I,"top","0px");G(this.I,"width",this.Ld+"px");G(this.I,"height",this.rd+"px")}};Ma[_P].mt=function(a){if(ea(this.db)){this.db.push(function(b){b.mt(a)})}else{this.yb=a;if(!a){this.vm(-10000,0);G(this.I,"width",this.Ld+"px");G(this.I,"height",this.rd+"px")}}};Ma[_P].rm=function(){if(ea(this.db)){this.db.push(function(a){a.rm()})}else{this.Ec.focus();
Yc(function(){this.Ec.focus()},0,this)}};Ma[_P].vm=function(a,b){if(ea(this.db)){this.db.push(function(c){c.vm(a,b)})}else{if(typeof a!="undefined"){G(this.I,"left",a+"px")}if(typeof b!="undefined"){G(this.I,"top",b+"px")}}};Ma[_P].zm=function(a,b,c){if(ea(this.db)){this.db.push(function(d){d.zm(a,b,c)})}else{this.Am(a,b,c)}};Ma[_P].Am=function(a,b,c){this.Ec.SetVariable("msg",mg([a,b,c]))};Ma[_P].gt=function(a,b){if(a=="msg"||a=="FSCommand:msg"){this.xm(b)}};Ma[_P].kt=function(a){this.Yk=a};Ma[_P].xm=
function(a){var b=Dq(rd(a)),c=b[0],d=b[1],e=b[2];if(d==this.Pi+"."){if(e[0]=="f"){this.rm();return}else if(e[0]=="b"){this.Ec.blur();return}else if(e[0]=="loaded"){this.wm();return}else if(e[0]=="pong"){this.Pe(2);this.bt();this.it();return}}if(this.Yk){this.Yk(c,d,e)}};Ma[_P].lt=function(a){this.Dl=a};Ma[_P].Pe=function(a){this.Ea=a;if(this.Dl){this.Dl(this)}};Ma[_P].wm=function(){if(this.et()){this.ht()}else{Yc(this.wm,2000,this)}};Ma[_P].et=function(){if(this.oe){return true}var a=this.Ec;if(!a){return false}this.oe=
typeof a[Ef]!="undefined"&&a[Ef]==4||typeof a.PercentLoaded!="undefined"&&a.PercentLoaded()==100;return this.oe};Ma[_P].ht=function(){if(this.sm()==2){this.Pe(3)}else{this.Pe(1);var a=this.ct();this.Am(a,a,["ping"])}};Ma[_P].it=function(){if(ea(this.db)){var a=this.db;delete this.db;for(var b=0;b<a[i];++b){a[b](this)}}};var Kb=function(a,b,c,d,e){var f=this;f.Cb=new ca(a+"client");f.Ai=new ca(a+"transport?v=1");f.Ai.ub("silent","true");var g=new ca(a+"transport2?v=1");f.Ai.ub("host",g.toString());f.ne=new Date-0;var h="lcid="+jc(f.ne);for(var j in c){h+="&"+j+"="+jc(c[j])}f.Cb.ub("sessionParams",h);f.Cb.ub("sessionType","jsapi");f.Cb.ub("host",window[Cb]);var l=b.split("&");f.Cb.ub("session",l[0]);for(var m=1;m<l[i];++m){var q=l[m].split("=");f.Cb.ub(rd(q[0]),rd(q[1]));if(q[0]=="u"){f.Ai.ub("u",rd(q[1]))}}if(f.Cb.Ho().substring(0,
3)=="/a/"){f.Cb.ub("nav","true")}if(e){f.Cb.ub("css",e)}f.yy=0;f.Lp=-1;f.Ip=-1;f.M=d;f.Ab={};f.lj=null;f.fj=null;var v=this.Ai.toString();this.ag=new Ma("api_"+this.ne,this.ne,"t");this.ag.kt(D(this.$y,this));this.ag.lt(D(this.pz,this));this.ag.rt(null,"",v,1,1,0,0,"ap="+this.ne,false,false)};Kb[_P].Rx=function(a){this.fj=a;this.Yp()};Kb[_P].sendMessage=function(a,b){var c=this.yy++;this.Bt(c,b);this.ag.zm(this.ne+"s",this.ne+"s",["mx",a,"s",c])};Kb[_P].Bt=function(a,b){var c=new Date;for(var d in this.Ab){if(c-
this.Ab[d].KB>=600){delete this.Ab[d]}}if(b){var e={};e.KB=c;e.pu=b;this.Ab[a]=e}};Kb[_P].Mz=function(a){var b=this.Ab[a];delete this.Ab[a];return b};Kb[_P].pz=function(a){var b=this.ag.sm();if(b==4){this.Xb(2,3)}};Kb[_P].$y=function(a,b,c){if(c[0]!="connect-dest"&&c[0]!="connect-ack"){this.wx(c)}};Kb[_P].wx=function(a){switch(a[0]){case "cookie-hash":this.lj=a[1];this.Yp();break;case "connect-state":switch(a[1]){case "searching":this.Xb(0);break;case "connecting":this.Xb(0);break;case "open":this.Xb(0);
break;case "close":this.Xb(0);break}break;case "session-state":switch(a[1]){case "open":this.Xb(0);break;case "close":this.Xb(2,2);break}break;case "js":this.Xb(1);break;case "je":this.Xb(2,1);break;case "rp":this.az(a[1],a[2]=="a");break;case "mx":this.Yy(a[1],a[2],a[3],a[4]);break;case "m":this.Jy(a[1]);break;case "rc":this.cz(a[1]);break;default:break}};Kb[_P].Xb=function(a,b){this.Ip=b||-1;if(this.M&&this.Lp!=a){this.Lp=a;if(this.M.iz){this.M.iz(a)}else{this.M.jz(a)}}};Kb[_P].Yp=function(){if(!this.Se&&
this.lj!=null&&this.fj!=null){this.Cb.ub("hash",this.lj);this.Se=S.createElement("IFRAME");pa(this.Se[k],"100%");ia(this.Se[k],"100%");this.Se.src=this.Cb.toString();this.fj.appendChild(this.Se)}};Kb[_P].Ao=function(){return this.Ip};Kb[_P].az=function(a,b){if(this.M){if(b){if(this.M.Sy){this.M.Sy(a)}else{this.M.Ty(a)}}else{if(this.M.Uy){this.M.Uy(a)}else{this.M.Vy(a)}}}};Kb[_P].Yy=function(a,b,c,d){if(c=="r"){if(this.M.Wy){this.M.Wy(a,b)}else{this.M.Xy(a,b)}}else if(c=="e"){var e=this.Mz(d);if(e){e.pu.onError()}}};
Kb[_P].Jy=function(a){if(this.M.Iy){this.M.Iy(a)}};Kb[_P].cz=function(a){if(this.M.bz){this.M.bz(a)}};var Ld=function(a){this.t=a||"Menu";this.yb=false;var b=Xe("table",{className:"menu_",id:this.t});S[B].appendChild(b);Qg(b,0);b.cellSpacing=0};Ld[_P].lh=function(){var a=S.getElementById(this.t);if(!a){ab('Menu.getMenu: No menu with id="'+this.t+'" found');return null}return a};Ld[_P].le=function(){return this.yb};Ld[_P].gg=function(a,b,c){var d=this.lh(),e=d.insertRow(d[Db][i]);Fb(e,b?this.Tu(b):Xb);e.oncontextmenu=Xb;ma(e,b?"menuItem_":"menuItemDisabled_");e.vAlign="middle";var f=e.insertCell(e[xb][i]);
M(f,a);ma(f,b?"menuLabel_":"menuLabelDisabled_");f.align="left";var g=e.insertCell(e[xb][i]);M(g,c||"&nbsp;");ma(g,"menuHint_");g.align="right"};Ld[_P].Oi=function(){var a=this.lh(),b=a.insertRow(a[Db][i]);Fb(b,Xb);b.oncontextmenu=Xb;var c=b.insertCell(b[xb][i]);ma(c,"menuSeparator_");c.colSpan=2};Ld[_P].Tu=function(a){var b=this;return function(c){b.lc();a(c);return Xb(c)}};Ld[_P].tc=function(a,b){var c=this.lh(),d=window.innerWidth||S[ud][ac]||S[B][ac],e=window[Df]||S[ud][Pb]||S[B][Pb];a=a<d-c[ac]-
4?a:a-c[ac]-4;b=b<e-c[Pb]-4?b:b-c[Pb]-4;Wh(c,a<4?4:a,b<4?4:b);if(this.yb){return false}else{this.yb=true;return true}};Ld[_P].lc=function(){var a=this.lh();Wh(a,-1000,-1000);if(!this.yb){return false}else{this.yb=false;return true}};var K=function(a,b){R.call(this);a=a||"Presentation";this.Hv=ug("fs");if(b){this.ma=new F;this.ma.wc(b)}else{this.ma=new xe(a)}this.Jg=null;this.Ua=tr()||0;this.Ma=null;this.It=true;this.Yf=new Sj("themes");if(b){this.ma.tb(o(a||"Presentation"))}this.ie()};K.a(R);K[_P].ie=function(){this.pp();this.op();this.xk();this.Si();this.Qm();this.ta();this.yl()};K[_P].pp=function(){if(s){if(o("slideshow_toolbar_controls")){Da(o("slideshow_toolbar_controls"),"slideshow_toolbar_bg_iehack")}if(o("toolbar_bg")){V(o("toolbar_bg"),
false)}}};K[_P].Si=function(){window.onresize=u?Wb(this,this.ta):Nn(Wb(this,this.ta),100);S.onkeydown=Wb(this,this.Wo);S.onkeyup=Xb;Fb(S,Wb(this,this.wh));S.oncontextmenu=Wb(this,this.Po);window.onbeforeunload=Wb(this,this.Ah);window.onunload=Wb(this,this.Ah);if(!u){S.onselectstart=Xb}};K[_P].Qm=function(){var a=this.gk();if(a){for(var b=0,c=this.ma.Lb();b<c;b++){var d=M_SLIDE_INDEX.replace(/%1/g,b+1).replace(/%2/g,c).replace(/%3/g,this.ma.vf(b).fk(30));a.options[b]=new Option(d,b)}a.onchange=Nb(this,
this.$w)}var e=this.Mo();if(e){e.onmousedown=Nb(this,this.rk)}var f=this.Lo();if(f){f.onmousedown=Nb(this,this.Ch)}var g=this.Uw();if(g){Fb(g,Nb(this,this.yf))}};K[_P].Ah=function(a){};K[_P].op=function(){this.Lc=new Bb;this.va=new qf(this.ma,this.Lc);this.Lc.tb(o("primaryViewSlide"));this.Lc.ul(this.Zi());this.va.Ce(this.Ua,0)};K[_P].xk=function(){if(!this.Ma){this.Ma=new Ld("Menu")}this.Ma.gg(M_NEXT,Nb(this,this.Ch),M_NEXT_HINT);this.Ma.gg(M_PREV,Nb(this,this.rk),M_PREV_HINT);this.Ma.Oi();this.Ma.gg(M_TOGGLE_TOOLBAR,
Nb(this,this.ws),"~");this.Ma.Oi();this.Ma.gg(M_EXIT_PRESENTATION,Nb(this,this.Cd),"Esc, Q");this.Ma.lc()};K[_P].dB=function(a,b){if(!this.Ma){return true}return this.Ma.tc(a,b)};K[_P].Gh=function(){if(!this.Ma){return false}return this.Ma.lc()};K[_P].Cd=function(){if(this.Hv){window.close()}window.history.back()};Zd(K[_P],function(){this.ma.Sz();this.uh(0)});K[_P].ta=function(a){var b=(new Date).getTime(),c=this.Qd(),d=this.Zi(c);En(o("primaryView"),c);En(o("primaryViewSlide"),d);var e=p.max(0,(c[z]-
d[z])/2);o("primaryViewSlide")[k].marginTop=e+"px";this.Lc.Vc();yg("Slideshow.handleResize: View(s) resized",b);return true};K[_P].wh=function(a){a=a||window[Ee];var b=a[$]||a[Wd];if(u&&!(!a)&&typeof a.button!="undefined"&&a[zf]==2){return this.Po(a)}if(this.ba()&&b&&Zc(this.ba(),b)){return true}if(this.Gh()){return Xb(a)}else{while(b&&b[da]&&b!=b[da][B]){if(b[oa]&&b[oa].toLowerCase()=="a"&&b[Ge]){Qc(b,"_blank");return true}b=b[n]}}this.Ch();return Xb(a)};K[_P].Qk=function(){return this.ma.Lb()>0};
K[_P].Ch=function(){if(this.Qk()){this.Ht();this.af()}};K[_P].rk=function(){if(this.Qk()){this.Yz();this.af()}};K[_P].Po=function(a){a=a||window[Ee];var b=a[$]||a[Wd];if(b&&b[oa]=="A"){this.Gh();return true}this.dB(a[lb],a[mb]);return Xb(a)};K[_P].Wo=function(a){var b,c;if(a){b=a;c=b.which}else if(window[Ee]){b=window[Ee];c=b[db]}if(b[Dc]||b[yf]||b[fd]){return true}switch(c){case 27:if(!this.Gh()){this.Cd()}break;case 81:this.Cd();break;case 10:case 13:case 32:case 39:case 40:case 78:this.Ch();break;
case 8:case 37:case 38:case 46:case 80:this.rk();break;case 33:this.Uq();this.hc().mg();this.af();break;case 34:this.iq();this.hc().mg();this.af();break;case 192:this.Gh();this.ws();break;default:return true}return Xb(a)};K[_P].af=function(){vb("Dispatching event");try{var a=new jn("user_navigation",this,this.Ua,this.hc().gc());this.dispatchEvent(a)}catch(b){ab("Error dispatching event: "+b)}};K[_P].hc=function(){return this.ma.vf(this.Ua)};K[_P].Ht=function(){if(this.ma.Lb()<1){this.gf()}else if(!this.hc().Pd()){this.iq()}};
K[_P].Yz=function(){if(this.ma.Lb()>0&&!this.hc().Me()){this.Uq()}};K[_P].iq=function(){if(this.Ua<this.ma.Lb()-1){this.uh(this.Ua+1)}else{this.gf()}};K[_P].Uq=function(){if(this.Ua>0){this.uh(this.Ua-1)}};K[_P].Ne=function(){var a=this.gk();if(a){a.selectedIndex=this.va.jb();vb("Updated navigator index to "+a.selectedIndex)}};K[_P].uh=function(a,b){vb("goToSlide: Someone requested slide "+a+"; current slide is "+this.Ua);this.Ua=a;this.va.Ce(this.Ua,this.hc().gc());this.Ne()};K[_P].gf=function(){if(wf(M_END_OF_PRESENTATION)){this.Cd()}};
K[_P].ba=function(){return S.getElementById("Toolbar")};K[_P].gk=function(){return S.getElementById("ToolbarNav")};K[_P].Mo=function(){return S.getElementById("ToolbarPrev")};K[_P].Lo=function(){return S.getElementById("ToolbarNext")};K[_P].Uw=function(){return S.getElementById("ToolbarClose")};K[_P].yf=function(){var a=this.ba();if(a){Zb(a,false);this.ta()}};K[_P].yl=function(){var a=this.ba();if(a){Zb(a,true);this.ta()}};K[_P].Ep=function(){var a=this.ba();return!Gb(a,"invisible_")};K[_P].ws=function(){var a=
this.ba();if(a){var b=this.Ep();if(b){this.yf()}else{this.yl()}}};K[_P].$w=function(){if(this.Qk()){var a=this.gk();if(a){var b=ka(a[wa],10);this.uh(Od(b)?0:b);this.hc().mg()}this.af()}};K[_P].Fe=function(a){var b=(new Date).getTime();if(a==this.Jg){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.Yf.dk(a);if(f){this.Lc.gi(f);Da(o("primaryView"),"goog-presently-theme-"+
a);this.Lc.Vr("goog-presently-theme-"+a);this.Jg=a}else{ab('Editor.applyTheme: Theme "'+a+'" cannot be applied')}};K[_P].Qd=function(){var a=wg(S[B]),b=a[z];if(this.Ep()){b-=wg(this.ba())[z]}return new ya(p.max(0,a[A]),p.max(0,b))};K[_P].Zi=function(a){a=a||this.Qd();var b=hn,c=p.min(a[A]/b[A],a[z]/b[z]);return new ya(p.max(0,b[A]*c),p.max(0,b[z]*c))};var kr=function(a,b,c){var d=new K(c,a);d.Fe(b);return d},jn=function(a,b,c,d){Sa.call(this,a,b);this.He=c;this.og=d};jn.a(Sa);var qf=function(a,b){this.Tq=
a;this.Rm=b;this.He=0;this.og=0};qf[_P].jb=function(){return this.He};qf[_P].gc=function(){return this.og};qf[_P].Ce=function(a,b){this.He=ka(a,10);this.og=ka(b,10);this.yB()};qf[_P].yB=function(){if(this.Rm){var a=null;if(this.Tq.Lb()>this.He){a=this.Tq.vf(this.He);var b=a.e?a.e():a.rh();this.Rm.bl(b.cloneNode(true))}}};Ub("_initSlideshow",kr);var r=function(a,b,c,d,e,f,g,h){this.za=false;this.ua=false;this.eB=false;this.iB=false;this.fi=new Lc;this.$k=0;this.wa=null;this.QB=false;this.bb=null;this.Gd=true;this.Cn=rf.tm;this.Tc=-1;this.Sg=top!=self;if(this.Sg&&this.pd()){ba(this.pd())}if(e&&!this.Sg){this.Zl=c;this.Ak=h;this.gq=g;if(this.bp()){this.yd=new Kb(d,e,f,this)}}K.call(this,b,a)},kn;r.a(K);var ic=new yh("presently.TeamSlideshow");r[_P].ie=function(a){this.Mx();this.Vt();this.xk();this.op();this.Kx();t(this,"user_navigation",Wb(this,
this.qz));var b=this.uf();if(b){t(b,hb,this.sB,false,this);t(b,ne,this.gz,false,this);t(b,Fd,this.fz,false,this)}this.cb();if(this.yd){if(s&&!ad("7")){ic.R("Starting IE resize workaround.");window.setInterval(D(this.Vz,this),200)}this.Jx()}this.Ix();this.ta();if(!this.Sg){this.fB()}};var ln=rg?"9":"8";r[_P].bp=function(){return an&&cn(ln)};r[_P].Vz=function(){var a=Ze(window);if(!um(a,this.HB)){this.HB=a;this.ta();if(this.Gd){var b=this.qh();Zb(b,false);Zb(b,true)}}};r[_P].Mx=function(){this.RA("slideshow_toolbar_bg");
var a=this.ba();if(a){t(a,ne,this.oz,false,this);t(a,Fd,this.nz,false,this)}};r[_P].Jx=function(){this.yd.Rx(o(this.gq))};r[_P].pd=function(){return o("sidebar")};r[_P].uf=function(){return o("sidebarHandle")};r[_P].qh=function(){return o("sidebarContent")};r[_P].tw=function(){return o(this.gq)};r[_P].rr=function(){var a=this.pd();if(!a){return}var b=wg(S[B])[z],c=Ac(this.uf())[A];if(this.Gd){c+=Ac(this.qh())[A]}Fn(a,c);var d=Ac(o("statusPane")),e=this.tw();if(this.hq==null){var f=of(e,"padding"),
g=wb(Ac(e)[z]);G(e,"padding","0px");this.hq=g-wb(Ac(e)[z]);G(e,"padding",f)}G(e,"height",p.max(0,b-d[z]-this.hq)+"px");if(s&&this.Gd){var h=this.qh();Zb(h,false);Zb(h,true)}};r[_P].hB=function(a){if(this.Gd==a){return}var b=this.uf(),c=this.qh();this.Gd=a;bg(b,"slideshow-sidebar-handle");if(!a){Da(b,"slideshow-sidebar-handle-collapsed")}Zb(c,a);this.ta()};r[_P].sB=function(){this.hB(!this.Gd)};r[_P].gz=function(a){Da(this.uf(),"slideshow-sidebar-handle-hover")};r[_P].fz=function(a){Hb(this.uf(),"slideshow-sidebar-handle-hover")};
r[_P].oz=function(a){Da(this.ba(),"slideshow-toolbar-container-hover");var b=o("ToolbarNavText");Hb(b,"slideshow-toolbar-nav-text-fg");Da(b,"slideshow-toolbar-nav-text-fg-hover")};r[_P].nz=function(a){Hb(this.ba(),"slideshow-toolbar-container-hover");var b=o("ToolbarNavText");Hb(b,"slideshow-toolbar-nav-text-fg-hover");Da(b,"slideshow-toolbar-nav-text-fg")};r[_P].Fq=function(a){var b=a[kc];if(b){bg(b,"slideshow-toolbar-nav-arrow-hover")}};r[_P].Eq=function(a){var b=a[kc];if(b){bg(b,"slideshow-toolbar-nav-arrow")}};
r[_P].xk=function(){};r[_P].Kx=function(){var a=o("secondaryViewSlide");if(!a){return}this.Oc=new Bb;this.Fd=new qf(this.ma,this.Oc);this.Oc.tb(a);this.Oc.Vc();this.Fd.Ce(this.Ua,0)};r[_P].RA=function(a){var b,c=o("toolbar_bg");if(s){a+="_iehack";b=o("slideshow_toolbar_controls");bg(b,"slideshow_toolbar_controls "+a);V(c,false)}else{bg(c,a)}};r[_P].Ix=function(){var a=o("floatingMessageContainer");if(s){var b=o("floatingMessageLayout"),c=o("floatingMessageBackground");if(b){Da(b,"slideshow_floating_message_bg_iehack")}if(c){V(c,
false)}}};r[_P].cs=function(a){var b=o("floatingMessageContainer"),c=o("floatingMessageContent"),d=o("main");yc(c,a);V(b,true);var e=An(d);e-=Dn(b);nb(b[k],e/2+"px");ga.setTimeout(this.zv.G(this),2000)};r[_P].zv=function(){var a=o("floatingMessageContainer");if(a){var b=new oj(a,3000);b.play()}};r[_P].fB=function(){if(Qj){return}if(s&&!ad("7")){return}this.cs(M_FULL_SCREEN_HINT)};r[_P].qz=function(a){if(this.ua){this.ua=false;this.cb()}else{this.Js()}if(this.za){this.lg(a.He,a.og)}};r[_P].zr=function(a){if(this.yd){this.yd.sendMessage(a)}ic.fc("Broadcasting command"+
a.command)};r[_P].lg=function(a,b){this.zr({command:"SLIDE_CHANGE",slide:a,build:b})};r[_P].cb=function(){this.FB();this.CB();this.Ks()};r[_P].gf=function(){if(!this.Sg){r.g.gf.call(this)}};r[_P].CB=function(){var a=this.Tv(),b=this.Sv(),c;if(a!=b){V(o(b),false);Hb(o(a),"nodisplay_");if(a==rf.Ii){M(o(a),ec(M_INSTALL_FLASH_FOR_MORE_FEATURES,{flash_version:ln,flash_install_link:"http://www.google.com/url?sa=D&q=http://www.macromedia.com/go/getflashplayer"}))}c=o(rf.Cm);V(c,a==rf.Hi);if(a==rf.Hi){Hb(c,
"nodisplay_")}V(o(a),true);this.Cn=a;if(s&&!ad("7")){this.Oc.Vc()}}this.rr()};r[_P].Sv=function(){return this.Cn};r[_P].Tv=function(){if(kn){return kn}var a=rf;if(!this.bp()){return a.Ii}if(this.Tc==-1||this.Tc==0){return a.tm}if(this.Tc==2){if(this.yd&&this.yd.Ao()==3){return a.Ii}return a.ft}if(this.Tc!=1){throw Error("Unexpected api state: "+this.Tc);}if(this.sf()==0){return this.Ak?a.Ys:a.nt}if(!this.Ak){if(this.wa==null){return a.qt}return this.ua?a.ot:a.Cm}if(this.za){return a.at}if(this.wa==
null){return a.$s}return this.ua?a.Zs:a.Hi};var rf={Ii:"noFlash",tm:"joiningState",ft:"joinFailedState",nt:"viewerAloneState",Ys:"editorAloneState",$s:"editorNoOnePresentingState",Hi:"editorNotFollowingState",Zs:"editorFollowingState",at:"editorPresentingState",ot:"viewerFollowingState",Cm:"viewerNotFollowingState",qt:"viewerNoOnePresentingState"};r[_P].NA=function(a){this.iB=a;var b=o("buzzStartPresentingBtn");if(b){V(b,a)}};r[_P].MA=function(a){this.eB=a;var b=o("buzzFollowingPresenter");if(b){V(b,
a)}};r[_P].FB=function(){this.Ne();this.Js();this.Gs()};r[_P].Ks=function(){if(!this.Oc){return}var a=o("presentersSlideNumber");if(a){yc(a,ec(M_PRESENTERS_VIEW_SLIDE_NO,{slide_number:this.Fd.jb()+1}))}this.Oc.Vc()};r[_P].Js=function(){var a=o("ToolbarPrevContainer"),b=o("ToolbarPrev"),c=o("ToolbarPrevDisabled"),d=this.It,e=this.ma.Lb();if(a){var f=this.va.jb()!=0&&e>0;V(b,f);V(c,!f);V(a,d)}var g=o("ToolbarNextContainer"),h=o("ToolbarNext"),j=o("ToolbarNextDisabled");if(g){var l=this.va.jb()+1<e;
V(h,l);V(j,!l);V(g,d)}};r[_P].Ne=function(){var a=o("ToolbarNavTextContent");if(a){var b=this.ma.Lb(),c=p.min(b,this.va.jb()+1);yc(a,c+"/"+b)}};r[_P].Gs=function(){var a=this.aj();this.NA(a);this.MA(this.ua);var b=this.qg(),c=this.$i(),d=this.ba(),e=o("buzzToolbarStatus"),f=o("buzzToolbarParticipantStatus"),g=o("buzzToolbarParticipantsTotal"),h=o("buzzToolbarTakeOverPresenting"),j=o("buzzFollowPresenterBtn"),l=o("buzzStartPresentingButtonLabel");if(l){yc(l,Th(M_START_PRESENTING,this.sf()))}if(e){if(this.za){yc(e,
M_PRESENTING)}else if(this.ua){yc(e,M_FOLLOWING_PRESENTER)}else{yc(e,"")}}if(g){yc(g,this.sf())}if(f){V(f,this.za)}if(h){V(h,b&&!this.za&&!this.aj())}if(j){V(j,!b&&c)}};r[_P].aj=function(){return this.qg()&&!this.za&&!this.$i()};r[_P].qg=function(){if(this.Ak&&this.sf()>0){return true}else{this.za=false;return false}};r[_P].$i=function(){if(this.wa!=null&&!this.za&&this.sf()>0){return true}else{this.ua=false}return false};r[_P].sf=function(){return this.$k};r[_P].Qr=function(a){var b=this.$k;this.$k=
a;ic.fc("ViewerCount: "+a);if(b!=a){if(a<2){this.cb()}else{this.Gs()}if(b==0&&!this.Gd){this.cs(M_SOMEONE_HAS_JOINED_THE_PRESENTATION)}}};r[_P].HA=function(a,b,c){var d=b||0,e=c||0,f=this.wa!=a;this.wa=a;if(this.ua){this.va.Ce(d,e)}this.Fd.Ce(d,e);this.Ne();this.Ks();if(this.za&&this.wa!=this.Zl){ic.R(this.wa+" is now presenting.");this.za=false}if(f){this.cb()}};r[_P].Vt=function(){this.Ut();this.Tt();this.Rt();this.St();this.Si()};r[_P].Si=function(){window.onresize=u?Wb(this,this.ta):Nn(Wb(this,
this.ta),100);S.onkeydown=Wb(this,this.Wo);S.onkeyup=Xb;t(S,hb,this.wh,false,this);var a=o("main");if(a){if(!u){a.onselectstart=Xb}}window.onbeforeunload=Wb(this,this.Ah);window.onunload=Wb(this,this.Ah)};r[_P].Ut=function(){r.g.Qm.call(this);var a=this.Mo();if(a){t(a,ne,this.Fq,false,this);t(a,Fd,this.Eq,false,this)}var b=this.Lo();if(b){t(b,ne,this.Fq,false,this);t(b,Fd,this.Eq,false,this)}var c=o("buzzToolbarTakeOverPresenting");if(c){Fb(c,Nb(this,this.qk))}var d=o("buzzStartPresentingBtn");if(d){Fb(d,
Nb(this,this.Zo))}var e=o("buzzStopPresenting");if(e){Fb(e,Nb(this,this.$o))}var f=o("buzzFollowPresenterBtn");if(f){Fb(f,Nb(this,this.Bh))}var g=o("buzzStopFollowing");if(g){Fb(g,Nb(this,this.Dx))}var h=o("ToolbarHide");if(h){Fb(h,Nb(this,this.yf))}};r[_P].Tt=function(){var a=this.pd(),b=o("inviteUrl");if(b){t(b,[hb,"focus"],function(h){h[kc].focus();h[kc].select()})}var c=o("footerInviteUrl");t(c,[hb,"focus"],function(h){var j=h[kc];j.focus();j.select();Da(j,"footer_link_selected")});t(c,"blur",
function(h){Hb(h[kc],"footer_link_selected")});t(c,ne,function(h){Da(h[kc],"footer_link_hover")});t(c,Fd,function(h){Hb(h[kc],"footer_link_hover")});var d=o("controlPresentationButton");if(d){t(d,hb,this.Zo,false,this)}var e=o("followPresenterAction");if(e){t(e,hb,this.Bh,false,this)}var f=o("notFollowingTakeControlAction");if(f){t(f,hb,this.qk,false,this)}f=o("followingTakeControlAction");if(f){t(f,hb,this.qk,false,this)}var g=o("stopPresentingAction");if(g){t(g,hb,this.$o,false,this)}};r[_P].yf=
function(){if(this.bb){this.bb.stop()}var a=this.ba();if(!this.Ol){this.Ol=Ac(a)[z]}this.bb=new Hh(a,this.Ol,0,1000,om);t(this.bb,"end",r.g.yf.G(this));t(this.bb,"end",r[_P].xs.G(this));this.bb.play();return false};r[_P].yl=function(){if(this.bb){this.bb.stop()}var a=this.ba();Zb(a,true);this.bb=new Hh(a,0,this.Ol,1000,om);t(this.bb,"end",r[_P].xs.G(this));this.bb.play();return false};r[_P].xs=function(){this.bb=null};r[_P].Rt=function(){var a=o("primaryViewSlide");if(a){Fb(a,Wb(this,this.Cx))}};
r[_P].St=function(){var a=o("secondaryViewFollowPresenter");if(a){Fb(a,Nb(this,this.Bh))}var b=o("secondaryViewSlide");if(b){t(b,hb,this.Bh,false,this)}};r[_P].Cx=function(a){r.g.wh.call(this,a)};r[_P].wh=function(a){a=a||window[Ee];var b=a[$]||a[Wd];if(b&&this.ba()&&Zc(this.ba(),b)||this.pd()&&Zc(this.pd(),b)){return true}while(b&&b[da]&&b!=b[da][B]){if(b[oa]&&b[oa].toLowerCase()=="a"&&b[Ge]){return true}b=b[n]}return Xb(a)};r[_P].Bh=function(a){if(this.$i()){this.ua=true}if(a){a.preventDefault()}this.cb();
this.Ua=this.Fd.jb();this.hc().Xm(this.Fd.gc());this.va.Ce(this.Fd.jb(),this.Fd.gc())};r[_P].Dx=function(){if(this.ua){this.ua=false;this.cb()}};r[_P].Zo=function(){if(this.aj()){this.za=true;this.wa=this.Zl;this.lg(this.va.jb(),this.va.gc())}this.cb()};r[_P].$o=function(){if(this.qg()){this.zr(lr)}this.za=false;this.ua=false;this.wa=null;this.cb()};r[_P].qk=function(){if(this.qg()){this.za=true;this.ua=false;this.wa=this.Zl;this.lg(this.va.jb(),this.va.gc())}this.cb()};r[_P].Fe=function(a){var b=
(new Date).getTime();if(a==this.Jg){return}var c=[this.Lc];if(this.Oc){c.push(this.Oc)}var d;for(var e=0;e<c[i];e++){var f=this.Yf.dk(a);if(f){d=c[e];d.gi(f);Da(o("primaryView"),"goog-presently-theme-"+a);d.Vr("goog-presently-theme-"+a);this.Jg=a}else{ic.Oa('Theme "'+a+'" cannot be applied.')}}};r[_P].ta=function(){this.rr();r.g.ta.call(this);var a=this.Qd(),b=this.yo();Mc(o("main"),a);Mc(b,new ya(a[A],di(b)))};r[_P].Qd=function(){var a=wg(S[B]),b=this.yo(),c=a[A],d=a[z]-Cn(b),e=this.pd();if(e){c-=
(new ya(Dn(e),Cn(e)))[A]}return new ya(p.max(0,c),p.max(0,d))};r[_P].jz=function(a){ic.fc("onStateChange - "+a);if(a!=this.Tc){this.Tc=a;if(a==2){ic.Ns("got error from api - "+this.yd.Ao())}this.cb()}};r[_P].Ty=function(a){ic.fc("onJoin_ - "+a);this.fi.add(a);this.Qr(p.max(0,this.fi.Ya()-1));if(this.za){this.lg(this.va.jb(),this.va.gc())}};r[_P].Vy=function(a){ic.fc("onLeave_ - "+a);this.fi.remove(a);this.Qr(p.max(0,this.fi.Ya()-1));if(this.wa==a){this.wa=null;this.ua=false;this.cb()}};r[_P].Xy=function(a,
b){ic.fc("Msg received from: "+a+", command: "+b.command);if(b.command){this.ax(a,b)}};r[_P].yo=function(){return o("footer")};r[_P].ax=function(a,b){if(!b||!b.command){ic.Oa("Message is not a command!");return}switch(b.command){case "SLIDE_CHANGE":ic.fc("Handling slide_change command: "+b.slide+"/"+b.build);this.HA(a,b.slide,b.build);break;case "START_FOLLOWING":break;case "STOP_FOLLOWING":break;case "PRESENTER_STOPPED":this.Ax(a);break;default:ic.Oa("Unrecognized commmand: "+b.command)}};r[_P].Ax=
function(a){if(this.wa==a){this.wa=null;this.ua=false;this.cb()}};var lr={command:"PRESENTER_STOPPED"},mr=function(a,b,c,d,e,f,g,h){var j=null;if(ra&&sg){j=new jb(a)}else{j=new r(a,null,f,c,d,e,g,h)}j.Fe(b);return j};Ub("_initTeamSlideshow",mr);var jb=function(a){K.call(this,null,a);this.Ne();this.hi=new Xc(300);t(this.hi,"tick",this.ta,false,this);this.hi.start();this.ta();this.cu=D(this.Oj,this)};jb.a(K);jb[_P].hi=null;jb[_P].Gc=null;jb[_P].sd=null;jb[_P].Bc=null;var dr=new ya(480,269),er=new ya(320,417),fr=function(){window.scrollTo(0,1)};jb[_P].pp=function(){t(this.ba(),hb,this.kk,false,this);this.xl();this.Gc=Yc(D(this.Oj,this),2333)};jb[_P].Ne=function(){var a=o("ToolbarNavTextContent");if(a){var b=this.ma.Lb(),c=p.min(b,this.va.jb()+
1);yc(a,c+"/"+b)}};jb[_P].gf=function(){if(wf(M_END_OF_PRESENTATION_IPHONE)){this.Cd()}};jb[_P].Cd=function(){window.location=Zr("m")};jb[_P].ta=function(){var a=this.Qd();if(this.Bc&&this.Bc[A]==a[A]){return}this.Bc=a;var b=this.ba(),c=o("primaryView"),d=o("primaryViewSlide");Mc(b,this.Bc);Mc(c,this.Bc);var e=this.Zi(this.Bc);Mc(d,e);var f=p.max(0,(this.Bc[z]-e[z])/2-15);d[k].marginTop=f+"px";this.Lc.Vc();Yc(fr,50)};jb[_P].c=function(){if(!this.O()){this.hi=null;this.Gc=null;this.sd=null;this.Bc=
null;jb.g.c.call(this)}};jb[_P].kk=function(a){var b=o("slideshow_toolbar_controls");if(b[k][Fg]=="none"){this.xl();this.Gc=Yc(D(this.Oj,this),2333);return}if(a){var c=a[$].id;if(c=="ToolbarNext"||c=="ToolbarPrev"){if(this.Gc){Ri(this.Gc)}if(this.sd){this.sd.stop()}this.Gc=Yc(this.cu,2333);this.xl();return}}this.fp()};jb[_P].Qd=function(){var a=ga.innerWidth<ga[Df];return a?er:dr};jb[_P].xl=function(){var a=o("slideshow_toolbar_controls");if(a){pf(a,0.9);V(a,true)}};jb[_P].fp=function(){var a=o("slideshow_toolbar_controls");
if(a){V(a,false);this.sd=null;if(this.Gc){Ri(this.Gc)}}};jb[_P].Oj=function(){var a=o("slideshow_toolbar_controls");if(a){this.sd=new oj(a,667);t(this.sd,"end",D(this.fp,this),false,this);this.sd.play()}};
 })()
