(function() { 
function d(a){throw a;}
var i=true,j=null,k=false,p,aa,ba,ca=[/^\'(?:[^\']|\'\')*\'/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|z+|Z+)/,/^[^\'GyMkSEahKHcLQdmsvzZ]+/],fa=function(a,b){b=da(b);for(var c=[];a;)for(var e=0;e<ca.length;++e){var f=a.match(ca[e]);if(f){var g=f[0];a=a.substring(g.length);if(e==0)if(g=="''")g="'";else{g=g.substring(1,g.length-1);g=g.replace(/\'\'/,"'")}c.push({text:g,type:e});break}}return function(h){for(var l="",m=0;m<c.length;++m)if(1==c[m].type){var n=c[m].text,o=ea[n.charAt(0)];
l+=o(n.length,h,b)}else l+=c[m].text;return l}},ga=function(a,b){for(var c=String(a);c.length<b;)c="0000000000000000".substring(0,Math.min(b-c.length,"0000000000000000".length))+c;return c},ia=function(a,b,c){var e=b.getFullYear()>0?1:0;return a>=4?c.cC[e]:c.dC[e]},ja=function(a,b){var c=b.getFullYear();if(c<0)c=-c;return a==2?ga(c%100,2):String(c)},ka=function(a,b,c){var e=b.getMonth();switch(a){case 5:return c.st[e];case 4:return c.rt[e];case 3:return c.tt[e];default:return ga(e+1,a)}},la=function(a,
b){var c=b.getHours();return c==0?ga(24,a):ga(c,a)},ma=function(a,b){var c=b.getTime()%1000;if(a==1)return String(Math.round(c/100));if(a==2){c=Math.floor(c/10);return ga(c,2)}var e=ga(c,3);if(a>3)e+=ga(0,a-3);return e},na=function(a,b,c){var e=b.getDay();return a>=4?c.vt[e]:c.ut[e]},oa=function(a,b,c){return b.getHours()>=12&&b.getHours()<24?c.nt[1]:c.nt[0]},pa=function(a,b){var c=b.getHours()%12;return c==0?ga(12,a):ga(c,a)},qa=function(a,b){var c=b.getHours()%12;return ga(c,a)},ra=function(a,b){var c=
b.getHours();return ga(c,a)},ta=function(a,b,c){var e=b.getDay();switch(a){case 5:return c.AC[e];case 4:return c.DC[e];case 3:return c.CC[e];default:return ga(e,1)}},ua=function(a,b,c){var e=b.getMonth();switch(a){case 5:return c.zC[e];case 4:return c.yC[e];case 3:return c.BC[e];default:return ga(e+1,a)}},va=function(a,b,c){var e=Math.floor(b.getMonth()/3);return a<4?c.wC[e]:c.sC[e]},wa=function(a,b){var c=b.getDate();return ga(c,a)},ya=function(a,b){var c=b.getMinutes();return ga(c,a)},za=function(a,
b){var c=b.getSeconds();return ga(c,a)},Ba=function(a,b,c){if(a<4){var e=b.getTimezoneOffset(),f="-";if(e<0){e=-e;f="+"}e=e/3*5+e%60;return f+ga(e,4)}return Aa(a,b,c)},Aa=function(a,b){var c=b.getTimezoneOffset(),e="";if(c>0)e+="GMT-";else{c=-c;e+="GMT+"}e+=ga(c/60,2);e+=":";e+=ga(c%60,2);return e},ea={G:ia,y:ja,M:ka,k:la,S:ma,E:na,a:oa,h:pa,K:qa,H:ra,c:ta,L:ua,Q:va,d:wa,m:ya,s:za,v:Aa,z:Aa,Z:Ba},da=function(a){if(!a){aa||(aa=ba);a=aa}return a},Ca={dC:["BC","AD"],cC:["Before Christ","Anno Domini"],
st:["J","F","M","A","M","J","J","A","S","O","N","D"],rt:["January","February","March","April","May","June","July","August","September","October","November","December"],tt:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],vt:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ut:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],pC:["S","M","T","W","T","F","S"],wC:["Q1","Q2","Q3","Q4"],sC:["1st quarter","2nd quarter","3rd quarter","4th quarter"],nt:["AM","PM"],
$B:["EEEE, MMMM d, yyyy","MMMM d, yyyy","MMM d, yyyy","M/d/yy"],kQ:["h:mm:ss a v","h:mm:ss a z","h:mm:ss a","h:mm a"],XP:6,rQ:[5,6],YP:5};Ca.zC=Ca.st;Ca.yC=Ca.rt;Ca.BC=Ca.tt;Ca.DC=Ca.vt;Ca.CC=Ca.ut;Ca.AC=Ca.pC;ba=Ca;
var Da=Da||{},q=this,Ea=function(a,b,c){var e=a.split("."),f=c||q;!(e[0]in f)&&f.execScript&&f.execScript("var "+e[0]);for(var g;e.length&&(g=e.shift());)if(!e.length&&b!==undefined)f[g]=b;else f=f[g]?f[g]:(f[g]={})},Fa=function(a,b){for(var c=a.split("."),e=b||q,f;f=c.shift();)if(e[f])e=e[f];else return j;return e},s=function(){},Ga=function(a){a.Ka=function(){return a.RI||(a.RI=new a)}},Ha=function(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array||!(a instanceof Object)&&Object.prototype.toString.call(a)==
"[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(!(a instanceof Object)&&(Object.prototype.toString.call(a)=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call")))return"function"}else return"null";else if(b=="function"&&typeof a.call=="undefined")return"object";return b},u=function(a){return Ha(a)=="array"},
Ia=function(a){var b=Ha(a);return b=="array"||b=="object"&&typeof a.length=="number"},v=function(a){return typeof a=="string"},Ja=function(a){return typeof a=="number"},Ka=function(a){return Ha(a)=="function"},La=function(a){var b=Ha(a);return b=="object"||b=="array"||b=="function"},Oa=function(a){if(a.hasOwnProperty&&a.hasOwnProperty(Ma))return a[Ma];a[Ma]||(a[Ma]=++Na);return a[Ma]},Ma="closure_hashCode_"+Math.floor(Math.random()*2147483648).toString(36),Na=0,Pa=function(a){var b=Ha(a);if(b=="object"||
b=="array"){if(a.W)return a.W.call(a);var c=b=="array"?[]:{};for(var e in a)c[e]=Pa(a[e]);return c}return a},w=function(a,b){var c=a.JD;if(arguments.length>2){var e=Array.prototype.slice.call(arguments,2);c&&e.unshift.apply(e,c);c=e}b=a.MD||b;a=a.KD||a;var f,g=b||q;f=c?function(){var h=Array.prototype.slice.call(arguments);h.unshift.apply(h,c);return a.apply(g,h)}:function(){return a.apply(g,arguments)};f.JD=c;f.MD=b;f.KD=a;return f},Qa=function(a){var b=Array.prototype.slice.call(arguments,1);b.unshift(a,
j);return w.apply(j,b)},x=Date.now||function(){return(new Date).getTime()},z=function(a,b){var c=b||{};for(var e in c)a=a.replace(new RegExp("\\{\\$"+e+"\\}","gi"),c[e]);return a},A=function(a,b){function c(){}c.prototype=b.prototype;a.f=b.prototype;a.prototype=new c;a.prototype.constructor=a};Function.prototype.Y=function(a){if(arguments.length>1){var b=Array.prototype.slice.call(arguments,1);b.unshift(this,a);return w.apply(j,b)}else return w(this,a)};
Function.prototype.iz=function(){var a=Array.prototype.slice.call(arguments);a.unshift(this,j);return w.apply(j,a)};Function.prototype.Ua=function(a){A(this,a)};
var Ra=function(a){return a[a.length-1]},Sa=function(a,b,c){if(a.indexOf)return a.indexOf(b,c);if(Array.indexOf)return Array.indexOf(a,b,c);for(var e=c==j?0:c<0?Math.max(0,a.length+c):c,f=e;f<a.length;f++)if(f in a&&a[f]===b)return f;return-1},B=function(a,b,c){if(a.forEach)a.forEach(b,c);else if(Array.forEach)Array.forEach(a,b,c);else for(var e=a.length,f=v(a)?a.split(""):a,g=0;g<e;g++)g in f&&b.call(c,f[g],g,a)},Ta=function(a,b,c){if(a.map)return a.map(b,c);if(Array.map)return Array.map(a,b,c);
for(var e=a.length,f=[],g=0,h=v(a)?a.split(""):a,l=0;l<e;l++)if(l in h)f[g++]=b.call(c,h[l],l,a);return f},Ua=function(a,b,c){if(a.some)return a.some(b,c);if(Array.some)return Array.some(a,b,c);for(var e=a.length,f=v(a)?a.split(""):a,g=0;g<e;g++)if(g in f&&b.call(c,f[g],g,a))return i;return k},Va=function(a,b,c){if(a.every)return a.every(b,c);if(Array.every)return Array.every(a,b,c);for(var e=a.length,f=v(a)?a.split(""):a,g=0;g<e;g++)if(g in f&&!b.call(c,f[g],g,a))return k;return i},Wa=function(a,
b,c){var e;a:{for(var f=a.length,g=v(a)?a.split(""):a,h=0;h<f;h++)if(h in g&&b.call(c,g[h],h,a)){e=h;break a}e=-1}return e<0?j:v(a)?a.charAt(e):a[e]},Xa=function(a,b){if(a.contains)return a.contains(b);return Sa(a,b)>-1},Ya=function(a){if(!u(a))for(var b=a.length-1;b>=0;b--)delete a[b];a.length=0},Za=function(a,b){var c=Sa(a,b),e;if(e=c!=-1)Array.prototype.splice.call(a,c,1).length==1;return e},$a=function(a){if(u(a))return a.concat();else{for(var b=[],c=0,e=a.length;c<e;c++)b[c]=a[c];return b}},
ab=function(a){if(u(a))return a.concat();return $a(a)},bb=function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];if(Ia(c)){c=ab(c);a.push.apply(a,c)}else a.push(c)}},db=function(a){return Array.prototype.splice.apply(a,cb(arguments,1))},cb=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},eb=function(a,b){return a>b?1:a<b?-1:0},fb=function(a,b){this.x=a!==undefined?a:0;this.y=b!==undefined?b:0};
fb.prototype.W=function(){return new fb(this.x,this.y)};fb.prototype.toString=function(){return"("+this.x+", "+this.y+")"};var gb=function(a,b){return new fb(a.x-b.x,a.y-b.y)},hb=function(a,b){this.width=a;this.height=b},ib=function(a,b){if(a==b)return i;if(!a||!b)return k;return a.width==b.width&&a.height==b.height};p=hb.prototype;p.W=function(){return new hb(this.width,this.height)};p.toString=function(){return"("+this.width+" x "+this.height+")"};p.tD=function(){return this.width*this.height};
p.qc=function(){return!this.tD()};p.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};p.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};p.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};p.scale=function(a){this.width*=a;this.height*=a;return this};
var jb=function(a,b,c){for(var e in a)b.call(c,a[e],e,a)},kb=function(a){var b=0;for(var c in a)b++;return b},lb=function(a){var b=[],c=0;for(var e in a)b[c++]=a[e];return b},mb=function(a){var b=[],c=0;for(var e in a)b[c++]=e;return b},nb=function(a){for(var b in a)return k;return i},ob=function(a,b){var c;if(c=b in a)delete a[b];return c},pb=function(a,b,c){if(b in a)d(Error('The object already contains the key "'+b+'"'));a[b]=c},qb=function(a,b,c){if(b in a)return a[b];return c},rb=function(a,
b,c){a[b]=c},sb=function(a){var b={};for(var c in a)b[c]=a[c];return b},tb=function(a){var b={};for(var c in a)b[a[c]]=c;return b},ub=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],vb=function(a){for(var b,c,e=1;e<arguments.length;e++){c=arguments[e];for(b in c)a[b]=c[b];for(var f=0;f<ub.length;f++){b=ub[f];if(Object.prototype.hasOwnProperty.call(c,b))a[b]=c[b]}}},wb=function(){var a=arguments.length;if(a==1&&u(arguments[0]))return wb.apply(j,
arguments[0]);if(a%2)d(Error("Uneven number of arguments"));for(var b={},c=0;c<a;c+=2)b[arguments[c]]=arguments[c+1];return b},xb=function(){var a=arguments.length;if(a==1&&u(arguments[0]))return xb.apply(j,arguments[0]);for(var b={},c=0;c<a;c++)b[arguments[c]]=i;return b},yb=function(a,b){var c=a.length-b.length;return c>=0&&a.lastIndexOf(b,c)==c},zb=function(a){return/^[\s\xa0]*$/.test(a)},Ab=function(a){return!/[^\t\n\r ]/.test(a)},Bb=function(a){return a.replace(/(\r\n|\r|\n)+/g," ")},Cb=function(a){return a.replace(/(\r\n|\r|\n)/g,
"\n")},Db=function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},Eb=function(a){return a.replace(/^[\s\xa0]+/,"")},Fb=function(a){return a.replace(/[\s\xa0]+$/,"")},Gb=/^[a-zA-Z0-9\-_.!~*'()]*$/,Hb=function(a){a=String(a);if(!Gb.test(a))return encodeURIComponent(a);return a},Ib=function(a){return decodeURIComponent(a.replace(/\+/g," "))},Jb=function(a,b){return a.replace(/(\r\n|\r|\n)/g,b?"<br />":"<br>")},Pb=function(a,b){if(b)return a.replace(Kb,"&amp;").replace(Lb,"&lt;").replace(Mb,"&gt;").replace(Nb,
"&quot;");else{if(!Ob.test(a))return a;if(a.indexOf("&")!=-1)a=a.replace(Kb,"&amp;");if(a.indexOf("<")!=-1)a=a.replace(Lb,"&lt;");if(a.indexOf(">")!=-1)a=a.replace(Mb,"&gt;");if(a.indexOf('"')!=-1)a=a.replace(Nb,"&quot;");return a}},Kb=/&/g,Lb=/</g,Mb=/>/g,Nb=/\"/g,Ob=/[&<>\"]/,Tb=function(a){if(Qb(a,"&"))return"document"in q&&!Qb(a,"<")?Rb(a):Sb(a);return a},Rb=function(a){var b=q.document.createElement("a");b.innerHTML=a;b.normalize&&b.normalize();a=b.firstChild.nodeValue;b.innerHTML="";return a},
Sb=function(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if(c.charAt(0)=="#"){var e=Number("0"+c.substr(1));if(!isNaN(e))return String.fromCharCode(e)}return b}})},Ub=function(a,b){return Jb(a.replace(/  /g," &#160;"),b)},Qb=function(a,b){return a.indexOf(b)!=-1},Vb=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Xb=function(a,b){for(var c=0,
e=Db(String(a)).split("."),f=Db(String(b)).split("."),g=Math.max(e.length,f.length),h=0;c==0&&h<g;h++){var l=e[h]||"",m=f[h]||"",n=new RegExp("(\\d*)(\\D*)","g"),o=new RegExp("(\\d*)(\\D*)","g");do{var r=n.exec(l)||["","",""],t=o.exec(m)||["","",""];if(r[0].length==0&&t[0].length==0)break;var y=r[1].length==0?0:parseInt(r[1],10),K=t[1].length==0?0:parseInt(t[1],10);c=Wb(y,K)||Wb(r[2].length==0,t[2].length==0)||Wb(r[2],t[2])}while(c==0)}return c},Wb=function(a,b){if(a<b)return-1;else if(a>b)return 1;
return 0},Yb=x(),Zb=function(){return"goog_"+Yb++},$b,ac,bc,cc,dc,ec,fc,gc,hc,ic,jc=function(){return q.navigator?q.navigator.userAgent:j},kc=function(){return q.navigator};ec=dc=cc=bc=ac=$b=k;var lc;if(lc=jc()){var mc=kc();$b=lc.indexOf("Opera")==0;ac=!$b&&lc.indexOf("MSIE")!=-1;cc=(bc=!$b&&lc.indexOf("WebKit")!=-1)&&lc.indexOf("Mobile")!=-1;ec=(dc=!$b&&!bc&&mc.product=="Gecko")&&mc.vendor=="Camino"}var C=$b,D=ac,E=dc,F=bc,nc=cc,pc,qc=kc();pc=qc&&qc.platform||"";fc=Qb(pc,"Mac");gc=Qb(pc,"Win");
hc=Qb(pc,"Linux");ic=!!kc()&&Qb(kc().appVersion||"","X11");var rc=fc,sc=gc,tc=ic,uc,vc="",wc;if(C&&q.opera){var xc=q.opera.version;vc=typeof xc=="function"?xc():xc}else{if(E)wc=/rv\:([^\);]+)(\)|;)/;else if(D)wc=/MSIE\s+([^\);]+)(\)|;)/;else if(F)wc=/WebKit\/(\S+)/;if(wc){var yc=wc.exec(jc());vc=yc?yc[1]:""}}uc=vc;
var zc={},G=function(a){return zc[a]||(zc[a]=Xb(uc,a)>=0)},Ac,Bc=function(a,b){a.className=b},Cc=function(a){var b=a.className;return b&&typeof b.split=="function"?b.split(" "):[]},Dc=function(a){for(var b=Cc(a),c=cb(arguments,1),e,f=0,g=0;g<c.length;g++)if(!Xa(b,c[g])){b.push(c[g]);f++}e=f==c.length;a.className=b.join(" ");return e},Ec=function(a){for(var b=Cc(a),c=cb(arguments,1),e,f=0,g=0;g<b.length;g++)if(Xa(c,b[g])){db(b,g--,1);f++}e=f==c.length;a.className=b.join(" ");return e},Fc=function(a,
b){return Xa(Cc(a),b)},Gc=function(a,b,c){c?Dc(a,b):Ec(a,b)},I=function(a){return a?new Hc(H(a)):Ac||(Ac=new Hc)},J=function(a){return v(a)?document.getElementById(a):a},Ic=J,Kc=function(a,b,c){return Jc(document,a,b,c)},Jc=function(a,b,c,e){var f=e||a,g=b&&b!="*"?b.toLowerCase():"";if(f.querySelectorAll&&(g||c)&&(!F||Lc(a)||G("528"))){var h=g+(c?"."+c:"");return f.querySelectorAll(h)}if(c&&f.getElementsByClassName){var l=f.getElementsByClassName(c);if(g){for(var m={},n=0,o=0,r;r=l[o];o++)if(g==r.nodeName.toLowerCase())m[n++]=
r;m.length=n;return m}else return l}l=f.getElementsByTagName(g||"*");if(c){m={};for(o=n=0;r=l[o];o++){var t=r.className;if(typeof t.split=="function"&&Xa(t.split(" "),c))m[n++]=r}m.length=n;return m}else return l},Mc=Kc,Oc=function(a,b){jb(b,function(c,e){if(e=="style")a.style.cssText=c;else if(e=="class")a.className=c;else if(e=="for")a.htmlFor=c;else if(e in Nc)a.setAttribute(Nc[e],c);else a[e]=c})},Nc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",
height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",type:"type"},Pc=function(a){var b=a.document;if(F&&!G("500")&&!nc){if(typeof a.innerHeight=="undefined")a=window;var c=a.innerHeight,e=a.document.documentElement.scrollHeight;if(a==a.top)if(e<c)c-=15;return new hb(a.innerWidth,c)}var f=Lc(b)&&(!C||C&&G("9.50"))?b.documentElement:b.body;return new hb(f.clientWidth,f.clientHeight)},Qc=function(a){var b=a||q||window;return I(b.document).Ig()},Sc=function(a){return a?Rc(a):window},
Rc=function(a){if(a.parentWindow)return a.parentWindow;if(F&&!G("500")&&!nc){var b=a.createElement("script");b.innerHTML="document.parentWindow=window";var c=a.documentElement;c.appendChild(b);c.removeChild(b);return a.parentWindow}return a.defaultView},Uc=function(){return Tc(document,arguments)},Tc=function(a,b){var c=b[0],e=b[1];if(D&&e&&(e.name||e.type)){var f=["<",c];e.name&&f.push(' name="',Pb(e.name),'"');if(e.type){f.push(' type="',Pb(e.type),'"');e=Pa(e);delete e.type}f.push(">");c=f.join("")}var g=
a.createElement(c);if(e)if(v(e))g.className=e;else Oc(g,e);if(b.length>2){function h(n){if(n)g.appendChild(v(n)?a.createTextNode(n):n)}for(var l=2;l<b.length;l++){var m=b[l];Ia(m)&&!(La(m)&&m.nodeType>0)?B(Vc(m)?$a(m):m,h):h(m)}}return g},Lc=function(a){return a.compatMode=="CSS1Compat"},Wc=function(a,b){a.appendChild(b)},Xc=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},Yc=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)},Zc=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,
b.nextSibling)},L=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):j},$c=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)},ad=function(a){var b,c=a.parentNode;if(c&&c.nodeType!=11)if(a.removeNode)return a.removeNode(k);else{for(;b=a.firstChild;)c.insertBefore(b,a);return L(a)}},cd=function(a){return bd(a.firstChild,i)},bd=function(a,b){for(;a&&a.nodeType!=1;)a=b?a.nextSibling:a.previousSibling;return a},dd=F&&Xb(uc,"521")<=0,ed=function(a,b){if(typeof a.contains!="undefined"&&
!dd&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a},hd=function(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=a.nodeType==1,e=b.nodeType==1;if(c&&e)return a.sourceIndex-b.sourceIndex;else{var f=a.parentNode,g=b.parentNode;if(f==g)return fd(a,
b);if(!c&&ed(f,b))return-1*gd(a,b);if(!e&&ed(g,a))return gd(b,a);return(c?a.sourceIndex:f.sourceIndex)-(e?b.sourceIndex:g.sourceIndex)}}var h=H(a),l,m;l=h.createRange();l.selectNode(a);l.collapse(i);m=h.createRange();m.selectNode(b);m.collapse(i);return l.compareBoundaryPoints(q.Range.START_TO_END,m)},gd=function(a,b){var c=a.parentNode;if(c==b)return-1;for(var e=b;e.parentNode!=c;)e=e.parentNode;return fd(e,a)},fd=function(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1},id=function(){var a,
b=arguments.length;if(b){if(b==1)return arguments[0]}else return j;var c=[],e=Infinity;for(a=0;a<b;a++){for(var f=[],g=arguments[a];g;){f.unshift(g);g=g.parentNode}c.push(f);e=Math.min(e,f.length)}var h=j;for(a=0;a<e;a++){for(var l=c[0][a],m=1;m<b;m++)if(l!=c[m][a])return h;h=l}return h},H=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},jd=function(a){var b;return b=F?a.document||a.contentWindow.document:a.contentDocument||a.contentWindow.document},kd=function(a,b){if("textContent"in
a)a.textContent=b;else if(a.firstChild&&a.firstChild.nodeType==3){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else{Xc(a);var c=H(a);a.appendChild(c.createTextNode(b))}},ld={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},md={IMG:" ",BR:"\n"},nd=function(a){var b=a.getAttributeNode("tabindex");if(b&&b.specified){var c=a.tabIndex;return Ja(c)&&c>=0}return k},od=function(a,b){if(b)a.tabIndex=0;else a.removeAttribute("tabIndex")},qd=function(a){var b;if(D&&"innerText"in a)b=
Cb(a.innerText);else{var c=[];pd(a,c,i);b=c.join("")}b=b.replace(/\xAD/g,"");b=b.replace(/ +/g," ");if(b!=" ")b=b.replace(/^\s*/,"");return b},pd=function(a,b,c){if(!(a.nodeName in ld))if(a.nodeType==3)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in md)b.push(md[a.nodeName]);else for(var e=a.firstChild;e;){pd(e,b,c);e=e.nextSibling}},Vc=function(a){if(a&&typeof a.length=="number")if(La(a))return typeof a.item=="function"||typeof a.item=="string";
else if(Ka(a))return typeof a.item=="function";return k},sd=function(a,b,c){return rd(a,function(e){return(!b||e.nodeName==b)&&(!c||Fc(e,c))},i)},rd=function(a,b,c,e){if(!c)a=a.parentNode;for(var f=e==j,g=0;a&&(f||g<=e);){if(b(a))return a;a=a.parentNode;g++}return j},Hc=function(a){this.$a=a||q.document||document};p=Hc.prototype;p.D=function(){return this.$a};p.b=function(a){return v(a)?this.$a.getElementById(a):a};p.qo=Hc.prototype.b;p.Np=function(a,b,c){return Jc(this.$a,a,b,c)};p.VB=Hc.prototype.Np;
p.zH=function(a){var b,c=a||this.V();return b=Pc(c||window)};p.e=function(){return Tc(this.$a,arguments)};p.createElement=function(a){return this.$a.createElement(a)};p.createTextNode=function(a){return this.$a.createTextNode(a)};p.Pm=function(){return Lc(this.$a)};p.V=function(){return Rc(this.$a)};p.Xv=function(){return!F&&Lc(this.$a)?this.$a.documentElement:this.$a.body};p.Ig=function(){var a,b=!F&&Lc(this.$a)?this.$a.documentElement:this.$a.body;return a=new fb(b.scrollLeft,b.scrollTop)};
p.appendChild=Wc;p.zz=Xc;p.removeNode=L;p.replaceNode=$c;p.PF=ad;p.dw=cd;p.contains=ed;p.tw=H;
var ud=function(a,b){if(b&&!a)d(Error("Can't create document with namespace and no root tag"));if(document.implementation&&document.implementation.createDocument)return document.implementation.createDocument(b||"",a||"",j);else if(typeof ActiveXObject!="undefined"){var c=td();if(c){if(a)c.appendChild(c.createNode(1,a,b||""));return c}}d(Error("Your browser does not support creating new documents"))},td=function(){var a=new ActiveXObject("MSXML2.DOMDocument");if(a){a.resolveExternals=k;a.mR=k;a.setProperty("ProhibitDTD",
i);a.setProperty("MaxXMLSize",2048);a.setProperty("MaxElementDepth",256)}return a},wd=function(){return vd()},vd=j,xd=j,yd=j,Ad=function(){var a=zd();return a?new ActiveXObject(a):new XMLHttpRequest},Bd=function(){var a=zd(),b={};if(a){b[0]=i;b[1]=i}return b};vd=Ad;xd=Bd;
var Cd=yd=j,zd=function(){if(!Cd&&typeof XMLHttpRequest=="undefined"&&typeof ActiveXObject!="undefined"){for(var a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],b=0;b<a.length;b++){var c=a[b];try{new ActiveXObject(c);return Cd=c}catch(e){}}d(Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed"))}return Cd};if("StopIteration"in q)var Dd=q.StopIteration;else Dd=Error("StopIteration");var Ed=function(){};
Ed.prototype.kb=function(){d(Dd)};Ed.prototype.Ce=function(){return this};
var Fd=function(a){if(a instanceof Ed)return a;if(typeof a.Ce=="function")return a.Ce(k);if(Ia(a)){var b=0,c=new Ed;c.kb=function(){for(;1;){if(b>=a.length)d(Dd);if(b in a)return a[b++];else b++}};return c}d(Error("Not implemented"))},Gd=function(a,b,c){if(Ia(a))try{B(a,b,c)}catch(e){if(e!==Dd)d(e)}else{a=Fd(a);try{for(;1;)b.call(c,a.kb(),undefined,a)}catch(f){if(f!==Dd)d(f)}}},Hd=function(a,b,c){a=Fd(a);var e=new Ed;e.kb=function(){for(;1;){var f=a.kb();if(b.call(c,f,undefined,a))return f}};return e},
Id=function(a,b,c){a=Fd(a);try{for(;1;)if(b.call(c,a.kb(),undefined,a))return i}catch(e){if(e!==Dd)d(e)}return k},Jd=function(a){if(typeof a.la=="function")return a.la();if(Ia(a)||v(a))return a.length;return kb(a)},Kd=function(a){if(typeof a.oc=="function")return a.oc();if(v(a))return a.split("");if(Ia(a)){for(var b=[],c=a.length,e=0;e<c;e++)b.push(a[e]);return b}return lb(a)},Ld=function(a){if(typeof a.mc=="function")return a.mc();if(typeof a.oc=="function")return undefined;if(Ia(a)||v(a)){for(var b=
[],c=a.length,e=0;e<c;e++)b.push(e);return b}return mb(a)},Md=function(a,b){if(typeof a.contains=="function")return a.contains(b);if(typeof a.$i=="function")return a.$i(b);if(Ia(a)||v(a))return Xa(a,b);var c;a:{for(var e in a)if(a[e]==b){c=i;break a}c=k}return c},Nd=function(a,b,c){if(typeof a.forEach=="function")a.forEach(b,c);else if(Ia(a)||v(a))B(a,b,c);else for(var e=Ld(a),f=Kd(a),g=f.length,h=0;h<g;h++)b.call(c,f[h],e&&e[h],a)},Od=function(a,b,c){if(typeof a.every=="function")return a.every(b,
c);if(Ia(a)||v(a))return Va(a,b,c);for(var e=Ld(a),f=Kd(a),g=f.length,h=0;h<g;h++)if(!b.call(c,f[h],e&&e[h],a))return k;return i},Pd=function(a){this.Ha={};this.ba=[];var b=arguments.length;if(b>1){if(b%2)d(Error("Uneven number of arguments"));for(var c=0;c<b;c+=2)this.w(arguments[c],arguments[c+1])}else a&&this.so(a)};p=Pd.prototype;p.ra=0;p.gl=0;p.la=function(){return this.ra};p.oc=function(){this.Wi();for(var a=[],b=0;b<this.ba.length;b++){var c=this.ba[b];a.push(this.Ha[c])}return a};
p.mc=function(){this.Wi();return this.ba.concat()};p.Cd=function(a){return Rd(this.Ha,a)};p.$i=function(a){for(var b=0;b<this.ba.length;b++){var c=this.ba[b];if(Rd(this.Ha,c)&&this.Ha[c]==a)return i}return k};p.ac=function(a,b){if(this===a)return i;if(this.ra!=a.la())return k;var c=b||Sd;this.Wi();for(var e,f=0;e=this.ba[f];f++)if(!c(this.t(e),a.t(e)))return k;return i};var Sd=function(a,b){return a===b};p=Pd.prototype;p.qc=function(){return this.ra==0};
p.clear=function(){this.Ha={};this.gl=this.ra=this.ba.length=0};p.remove=function(a){if(Rd(this.Ha,a)){delete this.Ha[a];this.ra--;this.gl++;this.ba.length>2*this.ra&&this.Wi();return i}return k};p.Wi=function(){if(this.ra!=this.ba.length){for(var a=0,b=0;a<this.ba.length;){var c=this.ba[a];if(Rd(this.Ha,c))this.ba[b++]=c;a++}this.ba.length=b}if(this.ra!=this.ba.length){var e={};for(b=a=0;a<this.ba.length;){c=this.ba[a];if(!Rd(e,c)){this.ba[b++]=c;e[c]=1}a++}this.ba.length=b}};
p.t=function(a,b){if(Rd(this.Ha,a))return this.Ha[a];return b};p.w=function(a,b){if(!Rd(this.Ha,a)){this.ra++;this.ba.push(a);this.gl++}this.Ha[a]=b};p.so=function(a){var b,c;if(a instanceof Pd){b=a.mc();c=a.oc()}else{b=mb(a);c=lb(a)}for(var e=0;e<b.length;e++)this.w(b[e],c[e])};p.W=function(){return new Pd(this)};
p.Ce=function(a){this.Wi();var b=0,c=this.ba,e=this.Ha,f=this.gl,g=this,h=new Ed;h.kb=function(){for(;1;){if(f!=g.gl)d(Error("The map has changed since the iterator was created"));if(b>=c.length)d(Dd);var l=c[b++];return a?l:e[l]}};return h};
var Rd=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},Td=/^(?:([^:\/?#]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,Ud=function(a){return a.match(Td)},Vd=function(a,b){var c;if(a instanceof Vd){this.Fi(b==j?a.LG():b);this.ys(a.jH());this.Bs(a.xH());this.ns(a.wG());this.ws(a.ww());this.vs(a.cH());this.xs(a.aq().W());this.qs(a.FG())}else if(a&&(c=Ud(String(a)))){this.Fi(!!b);this.ys(c[1]||"",i);this.Bs(c[2]||"",i);this.ns(c[3]||"",i);this.ws(c[4]);
this.vs(c[5]||"",i);this.DN(c[6]||"",i);this.qs(c[7]||"",i)}else{this.Fi(!!b);this.Rd=new Wd(j,this,this.re)}};p=Vd.prototype;p.ag="";p.el="";p.lj="";p.Dk=j;p.Ck="";p.vj="";p.vJ=k;p.re=k;
p.toString=function(){if(this.Ad)return this.Ad;var a=[];this.ag&&a.push(Xd(this.ag,Yd),":");if(this.lj){a.push("//");this.el&&a.push(Xd(this.el,Yd),"@");a.push(Zd(this.lj));this.Dk!=j&&a.push(":",String(this.ww()))}this.Ck&&a.push(Xd(this.Ck,$d));var b=String(this.Rd);b&&a.push("?",b);this.vj&&a.push("#",Xd(this.vj,ae));return this.Ad=a.join("")};
p.W=function(){var a,b=this.ag,c=this.el,e=this.lj,f=this.Dk,g=this.Ck,h=this.Rd.W(),l=this.vj,m=new Vd(j,this.re);b&&m.ys(b);c&&m.Bs(c);e&&m.ns(e);f&&m.ws(f);g&&m.vs(g);h&&m.xs(h);l&&m.qs(l);return a=m};p.jH=function(){return this.ag};p.ys=function(a,b){this.ge();delete this.Ad;if(this.ag=b?a?decodeURIComponent(a):"":a)this.ag=this.ag.replace(/:$/,"");return this};p.xH=function(){return this.el};p.Bs=function(a,b){this.ge();delete this.Ad;this.el=b?a?decodeURIComponent(a):"":a;return this};
p.wG=function(){return this.lj};p.ns=function(a,b){this.ge();delete this.Ad;this.lj=b?a?decodeURIComponent(a):"":a;return this};p.ww=function(){return this.Dk};p.ws=function(a){this.ge();delete this.Ad;if(a){a=Number(a);if(isNaN(a)||a<0)d(Error("Bad port number "+a));this.Dk=a}else this.Dk=j;return this};p.cH=function(){return this.Ck};p.vs=function(a,b){this.ge();delete this.Ad;this.Ck=b?a?decodeURIComponent(a):"":a;return this};
p.xs=function(a,b){this.ge();delete this.Ad;if(a instanceof Wd){this.Rd=a;this.Rd.Be=this;this.Rd.Fi(this.re)}else{b||(a=Xd(a,be));this.Rd=new Wd(a,this,this.re)}return this};p.DN=function(a,b){return this.xs(a,b)};p.aq=function(){return this.Rd};p.vN=function(a,b){this.ge();delete this.Ad;this.Rd.w(a,b);return this};p.FG=function(){return this.vj};p.qs=function(a,b){this.ge();delete this.Ad;this.vj=b?a?decodeURIComponent(a):"":a;return this};
p.ny=function(){this.ge();this.vN("zx",Math.floor(Math.random()*2147483648).toString(36)+(Math.floor(Math.random()*2147483648)^(new Date).getTime()).toString(36));return this};p.removeParameter=function(a){this.ge();this.Rd.remove(a);return this};p.ge=function(){if(this.vJ)d(Error("Tried to modify a read-only Uri"))};p.Fi=function(a){this.re=a;this.Rd&&this.Rd.Fi(a)};p.LG=function(){return this.re};
var Zd=function(a){if(v(a))return encodeURIComponent(a);return j},ce=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/,Xd=function(a,b){var c=j;if(v(a)){c=a;ce.test(c)||(c=encodeURI(a));if(c.search(b)>=0)c=c.replace(b,de)}return c},de=function(a){var b=a.charCodeAt(0);return"%"+(b>>4&15).toString(16)+(b&15).toString(16)},Yd=/[#\/\?@]/g,$d=/[\#\?]/g,be=/[\#\?@]/g,ae=/#/g,Wd=function(a,b,c){this.Ne=a||j;this.Be=b||j;this.re=!!c};p=Wd.prototype;
p.he=function(){if(!this.Pa){this.Pa=new Pd;if(this.Ne)for(var a=this.Ne.split("&"),b=0;b<a.length;b++){var c=a[b].indexOf("="),e=j,f=j;if(c>=0){e=a[b].substring(0,c);f=a[b].substring(c+1)}else e=a[b];e=Ib(e);e=this.Og(e);this.add(e,f?Ib(f):"")}}};p.Pa=j;p.ra=j;p.la=function(){this.he();return this.ra};p.add=function(a,b){this.he();this.ck();a=this.Og(a);if(this.Cd(a)){var c=this.Pa.t(a);u(c)?c.push(b):this.Pa.w(a,[c,b])}else this.Pa.w(a,b);this.ra++;return this};
p.remove=function(a){this.he();a=this.Og(a);if(this.Pa.Cd(a)){this.ck();var b=this.Pa.t(a);if(u(b))this.ra-=b.length;else this.ra--;return this.Pa.remove(a)}return k};p.clear=function(){this.ck();this.Pa&&this.Pa.clear();this.ra=0};p.qc=function(){this.he();return this.ra==0};p.Cd=function(a){this.he();a=this.Og(a);return this.Pa.Cd(a)};p.$i=function(a){var b=this.oc();return Xa(b,a)};
p.mc=function(){this.he();for(var a=this.Pa.oc(),b=this.Pa.mc(),c=[],e=0;e<b.length;e++){var f=a[e];if(u(f))for(var g=0;g<f.length;g++)c.push(b[e]);else c.push(b[e])}return c};p.oc=function(a){this.he();var b;if(a){var c=this.Og(a);if(this.Cd(c)){var e=this.Pa.t(c);if(u(e))return e;else{b=[];b.push(e)}}else b=[]}else{var f=this.Pa.oc();b=[];for(var g=0;g<f.length;g++){var h=f[g];u(h)?bb(b,h):b.push(h)}}return b};
p.w=function(a,b){this.he();this.ck();a=this.Og(a);if(this.Cd(a)){var c=this.Pa.t(a);if(u(c))this.ra-=c.length;else this.ra--}this.Pa.w(a,b);this.ra++;return this};p.t=function(a,b){this.he();a=this.Og(a);if(this.Cd(a)){var c=this.Pa.t(a);return u(c)?c[0]:c}else return b};
p.toString=function(){if(this.Ne)return this.Ne;if(!this.Pa)return"";for(var a=[],b=0,c=this.Pa.mc(),e=0;e<c.length;e++){var f=c[e],g=Hb(f),h=this.Pa.t(f);if(u(h))for(var l=0;l<h.length;l++){b>0&&a.push("&");a.push(g,"=",Hb(h[l]));b++}else{b>0&&a.push("&");a.push(g,"=",Hb(h));b++}}return this.Ne=a.join("")};p.ck=function(){delete this.bp;delete this.Ne;this.Be&&delete this.Be.Ad};p.W=function(){var a=new Wd;if(this.bp)a.bp=this.bp;if(this.Ne)a.Ne=this.Ne;if(this.Pa)a.Pa=this.Pa.W();return a};
p.Og=function(a){var b=String(a);if(this.re)b=b.toLowerCase();return b};p.Fi=function(a){var b=a&&!this.re;if(b){this.he();this.ck();Nd(this.Pa,function(c,e){var f=e.toLowerCase();if(e!=f){this.remove(e);this.add(f,c)}},this)}this.re=a};p.extend=function(){for(var a=0;a<arguments.length;a++){var b=arguments[a];Nd(b,function(c,e){this.add(e,c)},this)}};var ee=function(a){this.Ha=new Pd;a&&this.so(a)},fe=function(a){var b=typeof a;return b=="object"&&a?"o"+Oa(a):b.substr(0,1)+a};p=ee.prototype;
p.la=function(){return this.Ha.la()};p.add=function(a){this.Ha.w(fe(a),a)};p.so=function(a){for(var b=Kd(a),c=b.length,e=0;e<c;e++)this.add(b[e])};p.Xc=function(a){for(var b=Kd(a),c=b.length,e=0;e<c;e++)this.remove(b[e])};p.remove=function(a){return this.Ha.remove(fe(a))};p.clear=function(){this.Ha.clear()};p.qc=function(){return this.Ha.qc()};p.contains=function(a){return this.Ha.Cd(fe(a))};p.Hx=function(a){for(var b=new ee,c=Kd(a),e=0;e<c.length;e++){var f=c[e];this.contains(f)&&b.add(f)}return b};
p.oc=function(){return this.Ha.oc()};p.W=function(){return new ee(this)};p.ac=function(a){return this.la()==Jd(a)&&this.yJ(a)};p.yJ=function(a){var b=Jd(a);if(this.la()>b)return k;if(!(a instanceof ee)&&b>5)a=new ee(a);return Od(this,function(c){return Md(a,c)})};p.Ce=function(){return this.Ha.Ce(k)};
var he=function(a,b){try{var c,e=Fa("window.location.href");c=typeof a=="string"?{message:a,name:"Unknown error",lineNumber:"Not available",fileName:e,stack:"Not available"}:!a.lineNumber||!a.fileName||!a.stack?{message:a.message,name:a.name,lineNumber:a.lineNumber||a.line||"Not available",fileName:a.fileName||a.filename||a.sourceURL||e,stack:a.stack||"Not available"}:a;var f="Message: "+Pb(c.message)+'\nUrl: <a href="view-source:'+c.fileName+'" target="_new">'+c.fileName+"</a>\nLine: "+c.lineNumber+
"\n\nBrowser stack:\n"+Pb(c.stack+"-> ")+"[end]\n\nJS stack traversal:\n"+Pb(ge(b)+"-> ");return f}catch(g){return"Exception trying to expose exception! You win, we lose. "+g}},ge=function(a){return ie(a||arguments.callee.caller,[])},ie=function(a,b){var c=[];if(Xa(b,a))c.push("[...circular reference...]");else if(a&&b.length<50){c.push(je(a)+"(");for(var e=a.arguments,f=0;f<e.length;f++){f>0&&c.push(", ");var g,h=e[f];switch(typeof h){case "object":g=h?"object":"null";break;case "string":g=h;break;
case "number":g=String(h);break;case "boolean":g=h?"true":"false";break;case "function":g=(g=je(h))?g:"[fn]";break;case "undefined":default:g=typeof h;break}if(g.length>40)g=g.substr(0,40)+"...";c.push(g)}b.push(a);c.push(")\n");try{c.push(ie(a.caller,b))}catch(l){c.push("[exception trying to get caller]\n")}}else a?c.push("[...long stack...]"):c.push("[end]");return c.join("")},je=function(a){var b=String(a);if(!ke[b]){var c=/function ([^\(]+)/.exec(b);if(c){var e=c[1];ke[b]=e}else ke[b]="[Anonymous]"}return ke[b]},
ke={},me=function(a,b,c,e,f){this.cR=typeof f=="number"?f:le++;this.SO=e||x();this.ef=a;this.lK=b;this.SJ=c};me.prototype.ov=j;me.prototype.nv=j;var le=0;p=me.prototype;p.Xp=function(){return this.SJ};p.Yv=function(){return this.ov};p.fN=function(a){this.ov=a};p.Zv=function(){return this.nv};p.gN=function(a){this.nv=a};p.Wp=function(){return this.ef};p.Qn=function(a){this.ef=a};p.nw=function(){return this.lK};p.ow=function(){return this.SO};
var ne=function(a){this.Ac=a;this.db=j;this.ub={};this.Gm=[]};ne.prototype.ef=j;var oe=function(a,b){this.name=a;this.value=b};oe.prototype.toString=function(){return this.name};
var pe=new oe("OFF",Infinity),qe=new oe("SHOUT",1200),re=new oe("SEVERE",1000),se=new oe("WARNING",900),te=new oe("INFO",800),ue=new oe("CONFIG",700),ve=new oe("FINE",500),we=new oe("FINER",400),xe=new oe("FINEST",300),ye=new oe("ALL",0),ze=[pe,qe,re,se,te,ue,ve,we,xe,ye],Ae=j,Be=function(){Ae={};for(var a=0,b;b=ze[a];a++){Ae[b.value]=b;Ae[b.name]=b}},Ce=function(a){Ae||Be();return Ae[a]||j};p=ne.prototype;p.UC=function(a){this.Gm.push(a)};p.ML=function(a){return Za(this.Gm,a)};p.Se=function(){return this.db};
p.Qn=function(a){this.ef=a};p.Wp=function(){return this.ef};p.Wq=function(a){if(this.ef)return a.value>=this.ef.value;if(this.db)return this.db.Wq(a);return k};p.log=function(a,b,c){this.Wq(a)&&this.RJ(this.TG(a,b,c))};p.TG=function(a,b,c){var e=new me(a,String(b),this.Ac);if(c){e.fN(c);e.gN(he(c,arguments.callee.caller))}return e};p.kO=function(a,b){this.log(qe,a,b)};p.hg=function(a,b){this.log(re,a,b)};p.lo=function(a,b){this.log(se,a,b)};p.info=function(a,b){this.log(te,a,b)};
p.hb=function(a,b){this.log(ve,a,b)};p.xv=function(a,b){this.log(we,a,b)};p.Bp=function(a,b){this.log(xe,a,b)};p.RJ=function(a){if(this.Wq(a.Wp()))for(var b=this;b;){b.VD(a);b=b.Se()}};p.VD=function(a){for(var b=0;b<this.Gm.length;b++)this.Gm[b](a)};p.xN=function(a){this.db=a};p.SC=function(a,b){this.ub[a]=b};
var De={},Ee=j,Fe=function(){if(!Ee){Ee=new ne("");De[""]=Ee;Ee.Qn(ue)}},M=function(a){Fe();return a in De?De[a]:Ge(a)},Ge=function(a){var b=new ne(a),c=a.split("."),e=c[c.length-1];c.length=c.length-1;var f=c.join("."),g=M(f);g.SC(e,b);b.xN(g);return De[a]=b},He=function(){};p=He.prototype;p.t=s;p.w=s;p.Hg=s;p.Ib=s;p.jm=s;p.Oc=s;p.load=s;p.Tx=s;var Ie=function(){};p=Ie.prototype;p.w=s;p.Hg=function(){return new Je};p.Ib=function(){return j};p.jm=function(){return j};p.load=s;var Ke=function(){};
p=Ke.prototype;p.add=s;p.t=s;p.Ip=s;p.la=s;p.removeNode=s;var Le=function(a){this.Ha={};this.ah=[];this.Kd={};if(a)for(var b=0,c;c=a[b];b++)this.add(c)};p=Le.prototype;p.add=function(a){this.ah.push(a);var b=a.Oc();if(b){this.Ha[b]=a;this.Kd[b]=this.ah.length-1}};p.t=function(a){return this.Ha[a]||j};p.Ip=function(a){return this.ah[a]||j};p.la=function(){return this.ah.length};
p.removeNode=function(a){var b=this.Kd[a];if(b!=j){this.ah.splice(b,1);delete this.Ha[a];delete this.Kd[a];for(var c in this.Kd)this.Kd[c]>b&&this.Kd[c]--}return b!=j};p.indexOf=function(a){return this.Kd[a]};var Je=function(){Le.call(this)};A(Je,Le);Je.prototype.add=function(){d(Error("Can't add to EmptyNodeList"))};var Me=function(a,b){this.qu=a;Le.call(this,b)};A(Me,Le);
Me.prototype.add=function(a){if(this.qu){var b;a:{for(var c=this.ah,e=0,f=c.length-1,g=this.qu||eb;e<=f;){var h=e+f>>1,l=g(a,c[h]);if(l>0)e=h+1;else if(l<0)f=h-1;else{b=h;break a}}b=-(e+1)}if(b<0)b=-(b+1);for(var m in this.Kd)this.Kd[m]>=b&&this.Kd[m]++;db(this.ah,b,0,a);var n=a.Oc();if(n){this.Ha[n]=a;this.Kd[n]=b}}else this.C(a)};Me.prototype.C=function(a){Me.f.add.call(this,a)};var Ne=M("goog.ds"),Pe=function(a){a&&this.BA(a)};p=Pe.prototype;
p.BA=function(a,b,c,e){this.yO=a;if(!c&&!e){if(yb(a,"?")){this.WD=i;a=a.substring(0,a.length-1)}if(yb(a,"()"))if(yb(a,"name()")||yb(a,"count()")||yb(a,"position()")){var f=a.lastIndexOf("/");if(f!=-1){this.wp=a.substring(f+1);a=a.substring(0,f)}else{this.wp=a;a="."}if(this.wp=="count()")this.aJ=i}}this.Wf=b||a.split("/");this.ta=this.Wf.length;this.nk=this.Wf[this.ta-1];this.lf=this.Wf[0];if(this.ta==1){this.Yr=this;this.ek=a.indexOf("$")==0}else{this.Yr=Qe(this.lf,j,this,j);this.ek=this.Yr.ek;this.lf=
this.Yr.lf}if(this.ta==1&&!this.ek){this.bf=a=="."||a=="";this.kJ=a.indexOf("@")==0;this.UI=a=="*|text()";this.TI=a=="@*";this.VI=a=="*"}};p.hq=function(){return this.yO};p.Se=function(){if(!this.gL){if(this.ta>1)this.gz=Qe(j,this.Wf.slice(0,this.Wf.length-1),this,j);this.gL=i}return this.gz};p.qw=function(){if(!this.oK){if(this.ta>1)this.By=Qe(j,this.Wf.slice(1),j,this);this.oK=i}return this.By};
p.da=function(a){if(a==j)a=Re();else if(this.ek)a=a.Lp?a.Lp():Re();if(this.aJ){var b=this.YG(a);return b.la()}if(this.ta==1)return a.jm(this.lf);else if(this.ta==0)return a.t();var c=a.Ib(this.lf);return c==j?j:this.qw().da(c)};p.YG=function(a,b){return this.Yp(a,k,b)};p.XG=function(a,b){return this.Yp(a,i,b)};
p.Yp=function(a,b,c){if(a==j)a=Re();else if(this.ek)a=a.Lp?a.Lp():Re();if(this.ta==0&&b)return a;else if(this.ta==0&&!b)return new Le([a]);else if(this.ta==1)if(b)return a.Ib(this.lf,c);else{var e=a.Ib(this.lf);return e&&e.Tx()?e.Hg():a.Hg(this.lf)}else{var f=a.Ib(this.lf,c);if(f==j&&b)return j;else if(f==j&&!b)return new Je;return this.qw().Yp(f,b,c)}};p.WD=k;p.Wf=[];p.ta=j;p.nk=j;p.bf=k;p.kJ=k;p.UI=k;p.TI=k;p.VI=k;p.wp=j;p.gz=j;p.By=j;
var Te=function(a){var b=Se[a];if(b==j){b=new Pe(a);Se[a]=b}return b},Qe=function(a,b,c,e){var f=a||b.join("/"),g=Se[f];if(g==j){g=new Pe;g.BA(f,b,c,e);Se[f]=g}return g},Se={};Te(".");Te("*|text()");Te("*");Te("@*");Te("name()");Te("count()");Te("position()");var Ue=function(){this.fj=new Le;this.CD=new Pd;this.jr={};this.bn={};this.Gt={};this.yF=0;this.OQ={}},Ve=j;A(Ue,He);var Re=function(){Ve||(Ve=new Ue);return Ve};p=Ue.prototype;p.Tv=function(a){return this.Gt[a]?this.Gt[a].XG():this.fj.t(a)};
p.t=function(){return this.fj};p.w=function(){d(Error("Can't set on DataManager"))};p.Hg=function(a){return a?new Le([this.Ib(a)]):this.fj};p.Ib=function(a){return this.Tv(a)};p.jm=function(a){var b=this.Tv(a);return b?b.t():j};p.Oc=function(){return""};p.load=function(){for(var a=this.fj.la(),b=0;b<a;b++){var c=this.fj.Ip(b),e=this.CD.t(c.Oc());e&&c.load()}};p.Tx=function(){return k};
p.hc=function(a,b,c){var e=0;if(yb(b,"/...")){e=1000;b=b.substring(0,b.length-4)}else if(yb(b,"/*")){e=1;b=b.substring(0,b.length-2)}c=c||"";var f=b+":"+c+":"+Oa(a),g={AQ:b,id:c,QF:a},h=Te(b),l=Oa(a);this.bn[l]||(this.bn[l]={});for(this.bn[l][f]={ue:g,DJ:[]};h;){var m={ue:g,$J:e},n=this.jr[h.hq()];if(n==j){n={};this.jr[h.hq()]=n}n[f]=m;e=0;h=h.Se();this.bn[l][f].DJ.push({Sc:f,TQ:n})}};
p.yv=function(a){if(!this.CQ){for(var b=Te(a),c=0;b;){var e=this.jr[b.hq()];if(e)for(var f in e){var g=e[f],h=g.ue;c<=g.$J&&h.QF(a,h.id)}c++;b=b.Se()}this.yF++}};var We=function(a,b,c){this.db=b;this.VE=c||(a?a.nodeName:"");this.tN(a)};p=We.prototype;p.tN=function(a){this.Sb=a;if(a!=j)switch(a.nodeType){case 2:case 3:this.tc=a.nodeValue;break;case 1:if(a.childNodes.length==1&&a.firstChild.nodeType==3)this.tc=a.firstChild.nodeValue}};
p.vu=function(){if(!this.gu){var a=new Le;if(this.Sb!=j)for(var b=this.Sb.childNodes,c=0,e;e=b[c];c++)if(e.nodeType!=3||!/^[\r\n\t ]*$/.test(e.nodeValue)){var f=new We(e,this,e.nodeName);a.add(f)}this.gu=a}};p.qE=function(){if(!this.Nt){var a=new Le;if(this.Sb!=j&&this.Sb.attributes!=j)for(var b=this.Sb.attributes,c=0,e;e=b[c];c++){var f=new We(e,this,e.nodeName);a.add(f)}this.Nt=a}};p.t=function(){this.vu();return this.tc};p.w=function(){d(Error("Can't set on XmlDataSource yet"))};
p.Hg=function(a){if(a&&a=="@*"){this.qE();return this.Nt}else if(a==j||a=="*"){this.vu();return this.gu}else d(Error("Unsupported selector"))};p.Ib=function(a){if(a.indexOf("@")==0){var b=this.Sb.getAttributeNode(a.substring(1));return b?new We(b,this):j}else return this.Hg().t(a)};p.jm=function(a){if(a.indexOf("@")==0){var b=this.Sb.getAttributeNode(a.substring(1));return b?b.nodeValue:j}else return(b=this.Ib(a))?b.t():j};p.Oc=function(){return this.VE};p.load=function(){};
var Xe=function(a,b){We.call(this,j,j,b);this.Be=a?new Vd(a):j};A(Xe,We);Xe.prototype.ld="NOT_LOADED";Xe.prototype.load=function(){if(this.Be){Ne.info("Sending XML request for DataSource "+this.Oc()+" to "+this.Be);this.ld="LOADING";this.QJ=new Ye(this.Be,w(this.Ii,this),w(this.EF,this))}else{this.Sb=ud("nothing");this.ld="NOT_LOADED"}};
Xe.prototype.Ii=function(){Ne.info("Got data for DataSource "+this.Oc());var a=this.QJ.gH(),b=a.responseXML;if(b&&!b.hasChildNodes()&&La(a.responseText)){var c=a.responseText;if(typeof DOMParser!="undefined")b=(new DOMParser).parseFromString(c,"application/xml");else if(typeof ActiveXObject!="undefined"){var e=td();e.loadXML(c);b=e}else d(Error("Your browser does not support loading xml documents"))}if(!b||!b.hasChildNodes()){this.ld="FAILED";this.Sb=ud("nothing")}else{this.ld="LOADED";this.Sb=b.documentElement}this.Oc()&&
Re().yv(this.Oc())};Xe.prototype.EF=function(){Ne.info("Data retrieve failed for DataSource "+this.Oc());this.ld="FAILED";this.Sb=ud("nothing");this.Oc()&&Re().yv(this.Oc())};var Ye=function(a,b,c){this.jh=j;this.JK=b;this.Ky=c||this.MH;this.Be=new Vd(a);this.PJ()};p=Ye.prototype;p.PJ=function(){if(this.jh=new wd)try{this.jh.onreadystatechange=w(this.mn,this);this.jh.open("GET",String(this.Be),i);this.jh.send(j)}catch(a){this.Ky.call(this)}};
p.mn=function(){var a=this.jh,b=a.readyState;if(b==4){var c=a.status,e;e=c==200||c==0?w(this.KK,this):w(this.CK,this);window.setTimeout(e,10)}};p.KK=function(){this.JK(this)};p.CK=function(){this.Ky(this)};p.MH=function(){d(Error("Error fetching data from URL: "+this.Be))};p.gH=function(){return this.jh};
var af=function(a){var b;a:{var c=0,e=0;if(Ze(a)){c=a.selectionStart;e=-1}else if(D){var f=$e(a),g=f[0],h=f[1];if(g.inRange(h)){g.setEndPoint("EndToStart",h);if(a.type=="textarea"){{h.duplicate();for(var l=g.text,m=l,n=k;!n;)if(g.compareEndPoints("StartToEnd",g)==0)n=i;else{g.moveEnd("character",-1);if(g.text==l)m+="\r\n";else n=i}b=[m.length,-1]}break a}c=g.text.length;e=-1}}b=[c,e]}return b[0]},$e=function(a){var b=a.ownerDocument||a.document,c=b.selection.createRange(),e;if(a.type=="textarea"){e=
b.body.createTextRange();e.moveToElementText(a)}else e=a.createTextRange();return[e,c]},Ze=function(a){try{return typeof a.selectionStart=="number"}catch(b){return k}},bf=function(){};bf.prototype.Ma=k;bf.prototype.Qq=function(){return this.Ma};bf.prototype.p=function(){if(!this.Ma){this.Ma=i;this.o()}};bf.prototype.o=function(){};var cf=function(a,b){bf.call(this);this.dh=b;this.Pb=[];this.AE(a)};A(cf,bf);p=cf.prototype;p.So=j;p.kp=j;p.Mk=function(a){this.So=a};p.pA=function(a){this.kp=a};
p.Jb=function(){if(this.Pb.length)return this.Pb.pop();return this.Ge()};p.Td=function(a){this.Pb.length<this.dh?this.Pb.push(a):this.Ke(a)};p.AE=function(a){if(a>this.dh)d(Error("[goog.structs.SimplePool] Initial cannot be greater than max"));for(var b=0;b<a;b++)this.Pb.push(this.Ge())};p.Ge=function(){return this.So?this.So():{}};p.Ke=function(a){if(this.kp)this.kp(a);else if(Ka(a.p))a.p();else for(var b in a)delete a[b]};
p.o=function(){cf.f.o.call(this);for(var a=this.Pb;a.length;)this.Ke(a.pop());delete this.Pb};var df=function(a,b){this.type=a;this.currentTarget=this.target=b};A(df,bf);p=df.prototype;p.o=function(){delete this.type;delete this.target;delete this.currentTarget};p.Xf=k;p.Ai=i;p.stopPropagation=function(){this.Xf=i};p.preventDefault=function(){this.Ai=k};var ef=function(a,b){a&&this.$e(a,b)};A(ef,df);var ff=[1,4,2];p=ef.prototype;p.type=j;p.target=j;p.relatedTarget=j;p.offsetX=0;p.offsetY=0;
p.clientX=0;p.clientY=0;p.screenX=0;p.screenY=0;p.button=0;p.keyCode=0;p.charCode=0;p.ctrlKey=k;p.altKey=k;p.shiftKey=k;p.metaKey=k;p.fd=j;
p.$e=function(a,b){this.type=a.type;this.target=a.target||a.srcElement;this.currentTarget=b;this.relatedTarget=a.relatedTarget?a.relatedTarget:this.type=="mouseover"?a.fromElement:this.type=="mouseout"?a.toElement:j;this.offsetX=typeof a.layerX=="number"?a.layerX:a.offsetX;this.offsetY=typeof a.layerY=="number"?a.layerY:a.offsetY;this.clientX=typeof a.clientX=="number"?a.clientX:a.pageX;this.clientY=typeof a.clientY=="number"?a.clientY:a.pageY;this.screenX=a.screenX||0;this.screenY=a.screenY||0;this.button=
a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(this.type=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.fd=a;delete this.Ai;delete this.Xf};p.Kx=function(a){return D?this.type=="click"?a==0:!!(this.fd.button&ff[a]):this.fd.button==a};p.stopPropagation=function(){this.Xf=i;if(this.fd.stopPropagation)this.fd.stopPropagation();else this.fd.cancelBubble=i};
p.preventDefault=function(){this.Ai=k;if(this.fd.preventDefault)this.fd.preventDefault();else{this.fd.returnValue=k;try{this.fd.keyCode=-1}catch(a){}}};p.me=function(){return this.fd};p.o=function(){ef.f.o.call(this);this.fd=j};var gf=function(){},hf=0;p=gf.prototype;p.Tq=j;p.ue=j;p.nz=j;p.src=j;p.type=j;p.Ch=j;p.Xj=j;p.Sc=0;p.zi=k;p.Eo=k;
p.$e=function(a,b,c,e,f,g){if(Ka(a))this.Tq=i;else if(a&&a.handleEvent&&Ka(a.handleEvent))this.Tq=k;else d(Error("Invalid listener argument"));this.ue=a;this.nz=b;this.src=c;this.type=e;this.Ch=!!f;this.Xj=g;this.Eo=k;this.Sc=++hf;this.zi=k};p.handleEvent=function(a){if(this.Tq)return this.ue.call(this.Xj||this.src,a);return this.ue.handleEvent.call(this.ue,a)};var jf={},kf={},lf={},mf=new cf(0,600);mf.Mk(function(){return{ra:0,Ud:0}});mf.pA(function(a){a.ra=0});var nf=new cf(0,600);nf.Mk(function(){return[]});
nf.pA(function(a){a.length=0;delete a.pk;delete a.vr});var of=new cf(0,600);of.Mk(function(){var a=function(b){return pf.call(a.src,a.Sc,b)};return a});var qf=function(){return new gf},rf=new cf(0,600);rf.Mk(qf);var sf=function(){return new ef},tf,uf=j;if(D){uf=new cf(0,600);uf.Mk(sf)}tf=uf;
var vf="on",wf={},N=function(a,b,c,e,f){if(b)if(u(b)){for(var g=0;g<b.length;g++)N(a,b[g],c,e,f);return j}else{var h=!!e,l=kf;b in l||(l[b]=mf.Jb());l=l[b];if(!(h in l)){l[h]=mf.Jb();l.ra++}l=l[h];var m=Oa(a),n,o;l.Ud++;if(l[m]){n=l[m];for(g=0;g<n.length;g++){o=n[g];if(o.ue==c&&o.Xj==f){if(o.zi)break;return n[g].Sc}}}else{n=l[m]=nf.Jb();l.ra++}var r=of.Jb();r.src=a;o=rf.Jb();o.$e(c,r,a,b,h,f);var t=o.Sc;r.Sc=t;n.push(o);jf[t]=o;lf[m]||(lf[m]=nf.Jb());lf[m].push(o);if(a.addEventListener){if(a==q||
!a.Fu)a.addEventListener(b,r,h)}else a.attachEvent(xf(b),r);return t}else d(Error("Invalid event type"))},yf=function(a,b,c,e,f){if(u(b)){for(var g=0;g<b.length;g++)yf(a,b[g],c,e,f);return j}var h=N(a,b,c,e,f),l=jf[h];l.Eo=i;return h},zf=function(a,b,c,e,f){if(u(b)){for(var g=0;g<b.length;g++)zf(a,b[g],c,e,f);return j}var h=!!e,l=Af(a,b,h);if(!l)return k;for(g=0;g<l.length;g++)if(l[g].ue==c&&l[g].Ch==h&&l[g].Xj==f)return O(l[g].Sc);return k},O=function(a){if(!jf[a])return k;var b=jf[a];if(b.zi)return k;
var c=b.src,e=b.type,f=b.nz,g=b.Ch;if(c.removeEventListener){if(c==q||!c.Fu)c.removeEventListener(e,f,g)}else c.detachEvent&&c.detachEvent(xf(e),f);var h=Oa(c),l=kf[e][g][h];if(lf[h]){var m=lf[h];Za(m,b);m.length==0&&delete lf[h]}b.zi=i;l.vr=i;Bf(e,g,h,l);delete jf[a];return i},Bf=function(a,b,c,e){if(!e.pk)if(e.vr){for(var f=0,g=0;f<e.length;f++)if(e[f].zi)rf.Td(e[f]);else{if(f!=g)e[g]=e[f];g++}e.length=g;e.vr=k;if(g==0){nf.Td(e);delete kf[a][b][c];kf[a][b].ra--;if(kf[a][b].ra==0){mf.Td(kf[a][b]);
delete kf[a][b];kf[a].ra--}if(kf[a].ra==0){mf.Td(kf[a]);delete kf[a]}}}},Cf=function(a,b,c){var e=0,f=a==j,g=b==j,h=c==j;c=!!c;if(f)jb(lf,function(r){for(var t=r.length-1;t>=0;t--){var y=r[t];if((g||b==y.type)&&(h||c==y.Ch)){O(y.Sc);e++}}});else{var l=Oa(a);if(lf[l])for(var m=lf[l],n=m.length-1;n>=0;n--){var o=m[n];if((g||b==o.type)&&(h||c==o.Ch)){O(o.Sc);e++}}}return e},Af=function(a,b,c){var e=kf;if(b in e){e=e[b];if(c in e){e=e[c];var f=Oa(a);if(e[f])return e[f]}}return j},Df=D?"focusin":"DOMFocusIn",
xf=function(a){if(a in wf)return wf[a];return wf[a]=vf+a},Ff=function(a,b,c,e,f){var g=1,h=Oa(b);if(a[h]){a.Ud--;var l=a[h];if(l.pk)l.pk++;else l.pk=1;try{for(var m=l.length,n=0;n<m;n++){var o=l[n];if(o&&!o.zi)g&=Ef(o,f)!==k}}finally{l.pk--;Bf(c,e,h,l)}}return Boolean(g)},Ef=function(a,b){var c=a.handleEvent(b);a.Eo&&O(a.Sc);return c},pf=function(a,b){if(!jf[a])return i;var c=jf[a],e=c.type,f=kf;if(!(e in f))return i;f=f[e];var g,h;if(D){var l=b||Fa("window.event"),m=i in f,n=k in f;if(m){if(l.keyCode<
0||l.returnValue!=undefined)return i;a:{var o=k;if(l.keyCode==0)try{l.keyCode=-1;break a}catch(r){o=i}if(o||l.returnValue==undefined)l.returnValue=i}}var t=tf.Jb();t.$e(l,this);g=i;try{if(m){for(var y=nf.Jb(),K=t.currentTarget;K;K=K.parentNode)y.push(K);h=f[i];h.Ud=h.ra;for(var P=y.length-1;!t.Xf&&P>=0&&h.Ud;P--){t.currentTarget=y[P];g&=Ff(h,y[P],e,i,t)}if(n){h=f[k];h.Ud=h.ra;for(P=0;!t.Xf&&P<y.length&&h.Ud;P++){t.currentTarget=y[P];g&=Ff(h,y[P],e,k,t)}}}else g=Ef(c,t)}finally{if(y){y.length=0;nf.Td(y)}t.p();
tf.Td(t)}return g}var Y=new ef(b,this);try{g=Ef(c,Y)}finally{Y.p()}return g},Q=function(){};A(Q,bf);p=Q.prototype;p.Fu=i;p.Ir=j;p.$p=function(){return this.Ir};p.wA=function(a){this.Ir=a};p.addEventListener=function(a,b,c,e){N(this,a,b,c,e)};p.removeEventListener=function(a,b,c,e){zf(this,a,b,c,e)};
p.dispatchEvent=function(a){var b;{var c=a;if(v(c))c=new df(c,this);else if(c instanceof df)c.target=c.target||this;else{var e=c;c=new df(c.type,this);vb(c,e)}var f=1,g,h=c.type,l=kf;if(h in l){l=l[h];var m=i in l,n;if(m){g=[];for(var o=this;o;o=o.$p())g.push(o);n=l[i];n.Ud=n.ra;for(var r=g.length-1;!c.Xf&&r>=0&&n.Ud;r--){c.currentTarget=g[r];f&=Ff(n,g[r],c.type,i,c)&&c.Ai!=k}}var t=k in l;if(t){n=l[k];n.Ud=n.ra;if(m)for(r=0;!c.Xf&&r<g.length&&n.Ud;r++){c.currentTarget=g[r];f&=Ff(n,g[r],c.type,k,
c)&&c.Ai!=k}else for(var y=this;!c.Xf&&y&&n.Ud;y=y.$p()){c.currentTarget=y;f&=Ff(n,y,c.type,k,c)&&c.Ai!=k}}b=Boolean(f)}else b=i}return b};p.o=function(){Q.f.o.call(this);Cf(this);this.Ir=j};var Gf=function(a,b,c){if(a.length!=b.length)return j;this.EO(a,c);this.nR=b};Gf.prototype.EO=function(a,b){this.YQ=a;for(var c=1;c<a.length;c++)if(a[c]==j)a[c]=a[c-1]+1;else if(b)a[c]+=a[c-1]};
({"":1,n:Math.pow(1024,-3),u:Math.pow(1024,-2),m:9.765625E-4,k:1024,K:1024,M:Math.pow(1024,2),G:Math.pow(1024,3),T:Math.pow(1024,4),P:Math.pow(1024,5)});var Hf=function(a,b,c,e){this.top=a;this.right=b;this.bottom=c;this.left=e};Hf.prototype.W=function(){return new Hf(this.top,this.right,this.bottom,this.left)};Hf.prototype.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};
Hf.prototype.contains=function(a){var b;b=!this||!a?k:a instanceof Hf?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom;return b};Hf.prototype.expand=function(a,b,c,e){if(La(a)){this.top-=a.top;this.right+=a.right;this.bottom+=a.bottom;this.left-=a.left}else{this.top-=a;this.right+=b;this.bottom+=c;this.left-=e}return this};
var If=function(a,b){if(a==b)return i;if(!a||!b)return k;return a.top==b.top&&a.right==b.right&&a.bottom==b.bottom&&a.left==b.left},Jf=function(a,b){a=Number(a);b=Number(b);this.start=a<b?a:b;this.gv=a<b?b:a};Jf.prototype.W=function(){return new Jf(this.start,this.gv)};Jf.prototype.toString=function(){return"["+this.start+", "+this.gv+"]"};var Kf=function(a,b,c,e){this.left=a;this.top=b;this.width=c;this.height=e};p=Kf.prototype;p.W=function(){return new Kf(this.left,this.top,this.width,this.height)};
p.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};p.Hx=function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var e=Math.max(this.top,a.top),f=Math.min(this.top+this.height,a.top+a.height);if(e<=f){this.left=b;this.top=e;this.width=c-b;this.height=f-e;return i}}return k};
p.contains=function(a){return a instanceof Kf?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height};p.Hj=function(){return new hb(this.width,this.height)};
var Lf={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},Qf=function(a){var b={};a=String(a);var c=a.charAt(0)=="#"?a:"#"+a;if(Mf.test(c)){b.Hm=Nf(c);b.type="hex";return b}else{var e;
a:{var f=a.match(Of);if(f){var g=Number(f[1]),h=Number(f[2]),l=Number(f[3]);if(g>=0&&g<=255&&h>=0&&h<=255&&l>=0&&l<=255){e=[g,h,l];break a}}e=[]}if(e.length){b.Hm=Pf(e[0],e[1],e[2]);b.type="rgb";return b}else if(Lf){var m=Lf[a.toLowerCase()];if(m){b.Hm=m;b.type="named";return b}}}d(Error(a+" is not a valid color string"))},Rf=/#(.)(.)(.)/,Nf=function(a){if(!Mf.test(a))d(Error("'"+a+"' is not a valid hex color"));if(a.length==4)a=a.replace(Rf,"#$1$1$2$2$3$3");return a.toLowerCase()},Sf=function(a){a=
Nf(a);var b=parseInt(a.substr(1,2),16),c=parseInt(a.substr(3,2),16),e=parseInt(a.substr(5,2),16);return[b,c,e]},Pf=function(a,b,c){a=Number(a);b=Number(b);c=Number(c);if(isNaN(a)||a<0||a>255||isNaN(b)||b<0||b>255||isNaN(c)||c<0||c>255)d(Error('"('+a+","+b+","+c+'") is not a valid RGB color'));var e=Tf(a.toString(16)),f=Tf(b.toString(16)),g=Tf(c.toString(16));return"#"+e+f+g},Mf=/^#(?:[0-9a-f]{3}){1,2}$/i,Of=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,Tf=function(a){return a.length==
1?"0"+a:a},Uf,Vf,Wf,Xf,Yf,Zf;Zf=Yf=Xf=Wf=Vf=Uf=k;var $f=jc();if($f)if($f.indexOf("Firefox")!=-1)Uf=i;else if($f.indexOf("Camino")!=-1)Vf=i;else if($f.indexOf("iPhone")!=-1||$f.indexOf("iPod")!=-1)Wf=i;else if($f.indexOf("Android")!=-1)Xf=i;else if($f.indexOf("Chrome")!=-1)Yf=i;else if($f.indexOf("Safari")!=-1)Zf=i;
var bg=function(a,b,c){v(b)?ag(a,c,b):jb(b,Qa(ag,a))},ag=function(a,b,c){a.style[cg(c)]=b},dg=function(a,b){var c=H(a);if(c.defaultView&&c.defaultView.getComputedStyle){var e=c.defaultView.getComputedStyle(a,"");if(e)return e[b]}return j},eg=function(a,b){return a.currentStyle?a.currentStyle[b]:j},fg=function(a,b){return dg(a,b)||eg(a,b)||a.style[b]},gg=function(a){return fg(a,"position")},hg=function(a,b,c){var e,f,g=E&&(rc||tc)&&G("1.9");if(b instanceof fb){e=b.x;f=b.y}else{e=b;f=c}a.style.left=
typeof e=="number"?(g?Math.round(e):e)+"px":e;a.style.top=typeof f=="number"?(g?Math.round(f):f)+"px":f},ig=function(a){var b;b=a?a.nodeType==9?a:H(a):document;if(D&&!I(b).Pm())return b.body;return b.documentElement},jg=function(a){var b=a.getBoundingClientRect();if(D){var c=a.ownerDocument;b.left-=c.documentElement.clientLeft+c.body.clientLeft;b.top-=c.documentElement.clientTop+c.body.clientTop}return b},kg=function(a){if(D)return a.offsetParent;for(var b=H(a),c=fg(a,"position"),e=c=="fixed"||c==
"absolute",f=a.parentNode;f&&f!=b;f=f.parentNode){c=fg(f,"position");e=e&&c=="static"&&f!=b.documentElement&&f!=b.body;if(!e&&(f.scrollWidth>f.clientWidth||f.scrollHeight>f.clientHeight||c=="fixed"||c=="absolute"))return f}return j},ng=function(a){for(var b=new Hf(0,Infinity,Infinity,0),c=I(a),e=c.Xv(),f,g=a;g=kg(g);)if((!D||g.clientWidth!=0)&&(g.scrollWidth!=g.clientWidth||g.scrollHeight!=g.clientHeight)&&fg(g,"overflow")!="visible"){var h=lg(g),l;if(E&&!G("1.9")){var m=parseFloat(dg(g,"borderLeftWidth"));
if(mg(g)){var n=g.offsetWidth-g.clientWidth-m-parseFloat(dg(g,"borderRightWidth"));m+=n}l=new fb(m,parseFloat(dg(g,"borderTopWidth")))}else l=new fb(g.clientLeft,g.clientTop);h.x+=l.x;h.y+=l.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+g.clientWidth);b.bottom=Math.min(b.bottom,h.y+g.clientHeight);b.left=Math.max(b.left,h.x);f=f||g!=e}var o=e.scrollLeft,r=e.scrollTop;if(F){b.left+=o;b.top+=r}else{b.left=Math.max(b.left,o);b.top=Math.max(b.top,r)}if(!f||F){b.right+=o;b.bottom+=r}var t=c.zH();
b.right=Math.min(b.right,o+t.width);b.bottom=Math.min(b.bottom,r+t.height);return b.top>=0&&b.left>=0&&b.bottom>b.top&&b.right>b.left?b:j},lg=function(a){var b,c=H(a),e=fg(a,"position"),f=E&&c.getBoxObjectFor&&!a.getBoundingClientRect&&e=="absolute"&&(b=c.getBoxObjectFor(a))&&(b.screenX<0||b.screenY<0),g=new fb(0,0),h=ig(c);if(a==h)return g;if(a.getBoundingClientRect){b=jg(a);var l=I(c).Ig();g.x=b.left+l.x;g.y=b.top+l.y}else if(c.getBoxObjectFor&&!f){b=c.getBoxObjectFor(a);var m=c.getBoxObjectFor(h);
g.x=b.screenX-m.screenX;g.y=b.screenY-m.screenY}else{var n=a;do{g.x+=n.offsetLeft;g.y+=n.offsetTop;if(n!=a){g.x+=n.clientLeft||0;g.y+=n.clientTop||0}if(F&&gg(n)=="fixed"){g.x+=c.body.scrollLeft;g.y+=c.body.scrollTop;break}n=n.offsetParent}while(n&&n!=a);if(C||F&&e=="absolute")g.y-=c.body.offsetTop;for(n=a;(n=kg(n))&&n!=c.body&&n!=h;){g.x-=n.scrollLeft;if(!C||n.tagName!="TR")g.y-=n.scrollTop}}return g},pg=function(a,b){var c=new fb(0,0),e=Sc(H(a)),f=a;do{var g=e==b?lg(f):og(f);c.x+=g.x;c.y+=g.y}while(e&&
e!=b&&(f=e.frameElement)&&(e=e.parent));return c},og=function(a){var b=new fb;if(a.nodeType==1)if(a.getBoundingClientRect){var c=jg(a);b.x=c.left;b.y=c.top}else{var e=I(a).Ig(),f=lg(a);b.x=f.x-e.x;b.y=f.y-e.y}else{b.x=a.clientX;b.y=a.clientY}return b},qg=function(a,b,c){var e=lg(a);if(b instanceof fb){c=b.y;b=b.x}var f=b-e.x,g=c-e.y;hg(a,a.offsetLeft+f,a.offsetTop+g)},rg=function(a,b,c){var e;if(b instanceof hb){e=b.height;b=b.width}else{if(c==undefined)d(Error("missing height argument"));e=c}a.style.width=
typeof b=="number"?Math.round(b)+"px":b;a.style.height=typeof e=="number"?Math.round(e)+"px":e},sg=function(a){var b=C&&!G("10");if(fg(a,"display")!="none")return b?new hb(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientHeight):new hb(a.offsetWidth,a.offsetHeight);var c=a.style,e=c.display,f=c.visibility,g=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";var h,l;if(b){h=a.offsetWidth||a.clientWidth;l=a.offsetHeight||a.clientHeight}else{h=a.offsetWidth;l=a.offsetHeight}c.display=
e;c.position=g;c.visibility=f;return new hb(h,l)},tg=function(a){var b=lg(a),c=sg(a);return new Kf(b.x,b.y,c.width,c.height)},ug={},cg=function(a){return ug[a]||(ug[a]=String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()}))},vg=function(a,b){var c=a.style;if("opacity"in c)c.opacity=b;else if("MozOpacity"in c)c.MozOpacity=b;else if("filter"in c)c.filter=b===""?"":"alpha(opacity="+b*100+")"},R=function(a,b){a.style.display=b?"":"none"},xg=function(a,b){var c=I(b),e=j;if(D){e=c.D().createStyleSheet();
wg(e,a)}else{var f=c.Np("head")[0];if(!f){var g=c.Np("body")[0];f=c.e("head");g.parentNode.insertBefore(f,g)}e=c.e("style");wg(e,a);c.appendChild(f,e)}return e},wg=function(a,b){if(D)a.cssText=b;else{var c=F?"innerText":"innerHTML";a[c]=b}},yg=function(a){return a?v(a)||a.nodeType==3?i:Ua(a,yg):k},zg=E&&!G("1.9"),mg=function(a){return"rtl"==fg(a,"direction")},Ag=E?"MozUserSelect":F?"WebkitUserSelect":j,Bg=function(a){if(Ag)return a.style[Ag].toLowerCase()=="none";else if(D||C)return a.getAttribute("unselectable")==
"on";return k},Cg=function(a,b,c){var e=!c?a.getElementsByTagName("*"):j;if(Ag){var f=b?"none":"";a.style[Ag]=f;if(e)for(var g=0,h;h=e[g];g++)h.style[Ag]=f}else if(D||C){f=b?"on":"";a.setAttribute("unselectable",f);if(e)for(g=0;h=e[g];g++)h.setAttribute("unselectable",f)}},Dg=function(a,b,c,e){if(/^\d+px?$/.test(b))return parseInt(b,10);else{var f=a.style[c],g=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;var h=a.style[e];a.style[c]=f;a.runtimeStyle[c]=g;return h}},Eg=function(a,
b){return Dg(a,eg(a,b),"left","pixelLeft")},Fg=function(a){var b;{var c="padding";if(D){var e=Eg(a,c+"Left"),f=Eg(a,c+"Right"),g=Eg(a,c+"Top"),h=Eg(a,c+"Bottom");b=new Hf(g,f,h,e)}else{e=dg(a,c+"Left");f=dg(a,c+"Right");g=dg(a,c+"Top");h=dg(a,c+"Bottom");b=new Hf(parseFloat(g),parseFloat(f),parseFloat(h),parseFloat(e))}}return b},Gg={thin:2,medium:4,thick:6},Hg=function(a,b){if(eg(a,b+"Style")=="none")return 0;var c=eg(a,b+"Width");if(c in Gg)return Gg[c];return Dg(a,c,"left","pixelLeft")},Ig=function(a){if(D){var b=
Hg(a,"borderLeft"),c=Hg(a,"borderRight"),e=Hg(a,"borderTop"),f=Hg(a,"borderBottom");return new Hf(e,c,f,b)}else{b=dg(a,"borderLeftWidth");c=dg(a,"borderRightWidth");e=dg(a,"borderTopWidth");f=dg(a,"borderBottomWidth");return new Hf(parseFloat(e),parseFloat(c),parseFloat(f),parseFloat(b))}},Kg=function(a,b){Q.call(this);this.Xg=a||1;this.$k=b||Jg;this.Co=w(this.QO,this);this.nk=x()};A(Kg,Q);Kg.prototype.oj=k;var Jg=q.window,Lg=0.8;p=Kg.prototype;p.Xa=j;
p.setInterval=function(a){this.Xg=a;if(this.Xa&&this.oj){this.stop();this.start()}else this.Xa&&this.stop()};p.QO=function(){if(this.oj){var a=x()-this.nk;if(a>0&&a<this.Xg*Lg)this.Xa=this.$k.setTimeout(this.Co,this.Xg-a);else{this.nF();if(this.oj){this.Xa=this.$k.setTimeout(this.Co,this.Xg);this.nk=x()}}}};p.nF=function(){this.dispatchEvent("tick")};p.start=function(){this.oj=i;if(!this.Xa){this.Xa=this.$k.setTimeout(this.Co,this.Xg);this.nk=x()}};
p.stop=function(){this.oj=k;if(this.Xa){this.$k.clearTimeout(this.Xa);this.Xa=j}};p.o=function(){Kg.f.o.call(this);this.stop();delete this.$k};
var Mg=function(a,b,c){if(Ka(a)){if(c)a=w(a,c)}else if(a&&typeof a.handleEvent=="function")a=w(a.handleEvent,a);else d(Error("Invalid listener argument"));return b>2147483647?-1:Jg.setTimeout(a,b||0)},Ng=function(a){Jg.clearTimeout(a)},Og=function(a,b,c,e){Q.call(this);if(!u(a)||!u(b))d(Error("Start and end parameters must be arrays"));if(a.length!=b.length)d(Error("Start and end points must be the same length"));this.jg=a;this.rp=b;this.duration=c;this.xt=e;this.coords=[]};A(Og,Q);
var Pg={},Qg=j,Rg=function(){Jg.clearTimeout(Qg);var a=x();for(var b in Pg)Pg[b].Mu(a);Qg=nb(Pg)?j:Jg.setTimeout(Rg,20)},Sg=function(a){var b=Oa(a);delete Pg[b];if(Qg&&nb(Pg)){Jg.clearTimeout(Qg);Qg=j}};p=Og.prototype;p.Hb=0;p.Ev=0;p.Wc=0;p.xe=j;p.jv=j;p.er=j;
p.play=function(a){if(a||this.Hb==0){this.Wc=0;this.coords=this.jg}else if(this.Hb==1)return k;Sg(this);this.xe=x();if(this.Hb==-1)this.xe-=this.duration*this.Wc;this.jv=this.xe+this.duration;this.er=this.xe;this.Wc||this.gf();this.QK();this.Hb==-1&&this.RK();this.Hb=1;var b=Oa(this);b in Pg||(Pg[b]=this);Qg||(Qg=Jg.setTimeout(Rg,20));this.Mu(this.xe);return i};p.stop=function(a){Sg(this);this.Hb=0;if(a)this.Wc=1;this.et(this.Wc);this.XK();this.ui()};
p.pause=function(){if(this.Hb==1){Sg(this);this.Hb=-1;this.PK()}};p.o=function(){this.Hb!=0&&this.stop(k);this.yK();Og.f.o.call(this)};p.Pu=function(){this.p()};p.Mu=function(a){this.Wc=(a-this.xe)/(this.jv-this.xe);if(this.Wc>=1)this.Wc=1;this.Ev=1000/(a-this.er);this.er=a;Ka(this.xt)?this.et(this.xt(this.Wc)):this.et(this.Wc);if(this.Wc==1){this.Hb=0;Sg(this);this.EK();this.ui()}else this.Hb==1&&this.xr()};
p.et=function(a){this.coords=new Array(this.jg.length);for(var b=0;b<this.jg.length;b++)this.coords[b]=(this.rp[b]-this.jg[b])*a+this.jg[b]};p.xr=function(){this.Je("animate")};p.gf=function(){this.Je("begin")};p.yK=function(){this.Je("destroy")};p.ui=function(){this.Je("end")};p.EK=function(){this.Je("finish")};p.PK=function(){this.Je("pause")};p.QK=function(){this.Je("play")};p.RK=function(){this.Je("resume")};p.XK=function(){this.Je("stop")};p.Je=function(a){this.dispatchEvent(new Tg(a,this))};
var Tg=function(a,b){df.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.oR=b.coords[2];this.duration=b.duration;this.Wc=b.Wc;this.KQ=b.Ev;this.Ec=b.Hb;this.uQ=b};A(Tg,df);var S=function(a,b,c,e,f){Og.call(this,b,c,e,f);this.Ea=a};A(S,Og);S.prototype.yd=s;S.prototype.xr=function(){this.yd();S.f.xr.call(this)};S.prototype.ui=function(){this.yd();S.f.ui.call(this)};S.prototype.gf=function(){this.yd();S.f.gf.call(this)};
var Ug=function(a,b,c){if(b.length!=2||c.length!=2)d(Error("Start and end points must be 2D"));S.apply(this,arguments)};A(Ug,S);Ug.prototype.yd=function(){this.Ea.style.left=Math.round(this.coords[0])+"px";this.Ea.style.top=Math.round(this.coords[1])+"px"};var Vg=function(a,b,c,e){var f=[a.offsetLeft,a.offsetTop];Ug.call(this,a,f,b,c,e)};A(Vg,Ug);Vg.prototype.gf=function(){this.jg=[this.Ea.offsetLeft,this.Ea.offsetTop];Vg.f.gf.call(this)};
var Wg=function(a,b,c){if(b.length!=2||c.length!=2)d(Error("Start and end points must be 2D"));S.apply(this,arguments);this.sy=Math.max(this.rp[0],this.jg[0]);this.ry=Math.max(this.rp[1],this.jg[1])};A(Wg,S);Wg.prototype.yd=function(){var a=this.coords[0],b=this.coords[1];this.iE(Math.round(a),Math.round(b),this.sy,this.ry);this.Ea.style.width=Math.round(a)+"px";this.Ea.style.marginLeft=Math.round(a)-this.sy+"px";this.Ea.style.marginTop=Math.round(b)-this.ry+"px"};
Wg.prototype.iE=function(a,b,c,e){this.Ea.style.clip="rect("+(e-b)+"px "+c+"px "+e+"px "+(c-a)+"px)"};var Xg=function(a,b,c){if(b.length!=2||c.length!=2)d(Error("Start and end points must be 2D"));S.apply(this,arguments)};A(Xg,S);Xg.prototype.yd=function(){this.Ea.scrollLeft=Math.round(this.coords[0]);this.Ea.scrollTop=Math.round(this.coords[1])};var Yg=function(a,b,c){if(b.length!=2||c.length!=2)d(Error("Start and end points must be 2D"));S.apply(this,arguments)};A(Yg,S);
Yg.prototype.yd=function(){this.Ea.style.width=Math.round(this.coords[0])+"px";this.Ea.style.height=Math.round(this.coords[1])+"px"};var Zg=function(a,b,c,e,f){S.call(this,a,[b],[c],e,f)};A(Zg,S);Zg.prototype.yd=function(){this.Ea.style.width=Math.round(this.coords[0])+"px"};var $g=function(a,b,c,e,f){S.call(this,a,[b],[c],e,f)};A($g,S);$g.prototype.yd=function(){this.Ea.style.height=Math.round(this.coords[0])+"px"};
var ah=function(a,b,c,e,f){if(Ja(b))b=[b];if(Ja(c))c=[c];S.call(this,a,b,c,e,f);if(b.length!=1||c.length!=1)d(Error("Start and end points must be 1D"))};A(ah,S);ah.prototype.yd=function(){vg(this.Ea,this.coords[0])};ah.prototype.td=function(){this.Ea.style.display=""};ah.prototype.Jd=function(){this.Ea.style.display="none"};var bh=function(a,b,c){ah.call(this,a,1,0,b,c)};A(bh,ah);var ch=function(a,b,c){ah.call(this,a,0,1,b,c)};A(ch,ah);var dh=function(a,b,c){ah.call(this,a,1,0,b,c)};A(dh,ah);
dh.prototype.gf=function(){this.td();dh.f.gf.call(this)};dh.prototype.ui=function(){this.Jd();dh.f.ui.call(this)};var eh=function(a,b,c){ah.call(this,a,0,1,b,c)};A(eh,ah);eh.prototype.gf=function(){this.td();eh.f.gf.call(this)};var fh=function(a,b,c){if(b.length!=3||c.length!=3)d(Error("Start and end points must be 3D"));S.apply(this,arguments)};A(fh,S);
fh.prototype.$M=function(){for(var a=[],b=0;b<this.coords.length;b++)a[b]=Math.round(this.coords[b]);var c="rgb("+a.join(",")+")";this.Ea.style.backgroundColor=c};fh.prototype.yd=function(){this.$M()};var gh=function(a,b,c){if(b.length!=3||c.length!=3)d(Error("Start and end points must be 3D"));S.apply(this,arguments)};A(gh,S);gh.prototype.yd=function(){for(var a=[],b=0;b<this.coords.length;b++)a[b]=Math.round(this.coords[b]);var c="rgb("+a.join(",")+")";this.Ea.style.color=c};
var hh=function(a,b,c){if(!D&&!(F&&G("525")))return i;if(D&&!c&&(b==17||b==18))return k;if(a>=48&&a<=57)return i;if(a>=96&&a<=106)return i;if(a>=65&&a<=90)return i;if(a==27&&F)return k;switch(a){case 13:case 27:case 32:case 63:case 107:case 109:case 110:case 111:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return i;default:return k}},ih=function(a){if(a>=48&&a<=57)return i;if(a>=96&&a<=106)return i;if(a>=65&&a<=90)return i;switch(a){case 32:case 63:case 107:case 109:case 110:case 111:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return i;
default:return k}},jh,kh=function(a,b){if(E||jh){a.setAttribute("role",b);a.$Q=b}},lh=function(a,b,c){if(E||jh)a.setAttribute("aria-"+b,c)},mh=function(a,b){lh(a,"activedescendant",b?b.id:"")},nh=function(a){this.jb=a};A(nh,bf);var oh=new cf(0,100);p=nh.prototype;p.l=function(a,b,c,e,f){if(u(b))for(var g=0;g<b.length;g++)this.l(a,b[g],c,e,f);else{var h=N(a,b,c||this,e||k,f||this.jb||this);this.zL(h)}return this};
p.zL=function(a){if(this.ba)this.ba[a]=i;else if(this.Pd){this.ba=oh.Jb();this.ba[this.Pd]=i;this.Pd=j;this.ba[a]=i}else this.Pd=a};p.Ya=function(a,b,c,e,f){if(this.Pd||this.ba)if(u(b))for(var g=0;g<b.length;g++)this.Ya(a,b[g],c,e,f);else{var h;a:{var l=!!(e||k),m=Af(a,b,l);if(m)for(var n=0;n<m.length;n++)if(m[n].ue==(c||this)&&m[n].Ch==l&&m[n].Xj==(f||this.jb||this)){h=m[n];break a}h=j}if(h){var o=h.Sc;O(o);if(this.ba)ob(this.ba,o);else if(this.Pd==o)this.Pd=j}}return this};
p.Xc=function(){if(this.ba){for(var a in this.ba){O(a);delete this.ba[a]}oh.Td(this.ba);this.ba=j}else this.Pd&&O(this.Pd)};p.o=function(){nh.f.o.call(this);this.Xc()};p.handleEvent=function(){d(Error("EventHandler.handleEvent not implemented"))};var ph=function(){};Ga(ph);ph.prototype.wr=0;ph.prototype.WG=function(){return":"+(this.wr++).toString(36)};ph.Ka();var rh=function(a){Q.call(this);this.g=a||I();this.Gk=qh};A(rh,Q);rh.prototype.HI=ph.Ka();
var qh=j,sh=function(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?"highlight":"unhighlight";case 4:return b?"activate":"deactivate";case 8:return b?"select":"unselect";case 16:return b?"check":"uncheck";case 32:return b?"focus":"blur";case 64:return b?"open":"close";default:}d(Error("Invalid component state"))};p=rh.prototype;p.yb=j;p.g=j;p.xc=k;p.q=j;p.Gk=j;p.pr=j;p.db=j;p.ub=j;p.Bd=j;p.PB=k;p.wb=function(){return this.yb||(this.yb=this.HI.WG())};
p.nf=function(a){if(this.db&&this.db.Bd){ob(this.db.Bd,this.yb);pb(this.db.Bd,a,this)}this.yb=a};p.b=function(){return this.q};p.Ei=function(a){this.q=a};p.ab=function(){return this.ii||(this.ii=new nh(this))};p.us=function(a){if(this==a)d(Error("Unable to set parent component"));if(a&&this.db&&this.yb&&this.db.yj(this.yb)&&this.db!=a)d(Error("Unable to set parent component"));this.db=a};p.Se=function(){return this.db};p.$p=function(){return this.db};p.wA=function(){d(Error("Method not supported"))};
p.Rb=function(){return this.xc};p.e=function(){this.q=this.g.createElement("div")};p.rc=function(a){this.Fz(a)};p.Fz=function(a,b){if(this.xc)d(Error("Component already rendered"));this.q||this.e();a?a.insertBefore(this.q,b||j):this.g.D().body.appendChild(this.q);if(!this.db||this.db.Rb())this.gb()};p.wa=function(a){if(this.xc)d(Error("Component already rendered"));else if(a&&this.Wb(a)){this.PB=i;if(!this.g||this.g.D()!=H(a))this.g=I(a);this.ce(a);this.gb()}else d(Error("Invalid element to decorate"))};
p.Wb=function(){return i};p.ce=function(a){this.q=a};p.gb=function(){this.xc=i;this.Dg(function(a){!a.Rb()&&a.b()&&a.gb()})};p.gd=function(){this.Dg(function(a){a.Rb()&&a.gd()});this.ii&&this.ii.Xc();this.xc=k};p.o=function(){rh.f.o.call(this);this.xc&&this.gd();if(this.ii){this.ii.p();delete this.ii}this.Dg(function(a){a.p()});!this.PB&&this.q&&L(this.q);this.db=this.pr=this.q=this.Bd=this.ub=j};p.UG=function(){return this.pr};p.sN=function(a){this.pr=a};p.De=function(a,b){this.Ri(a,this.Gg(),b)};
p.Ri=function(a,b,c){if(a.xc&&(c||!this.xc))d(Error("Component already rendered"));if(b<0||b>this.Gg())d(Error("Child component index out of bounds"));if(!this.Bd||!this.ub){this.Bd={};this.ub=[]}if(a.Se()==this){var e=a.wb();this.Bd[e]=a;Za(this.ub,a)}else pb(this.Bd,a.wb(),a);a.us(this);db(this.ub,b,0,a);if(a.xc&&this.xc&&a.Se()==this){var f=this.Ta();f.insertBefore(a.b(),f.childNodes[b+1]||j)}else if(c){this.q||this.e();var g=this.Fg(b+1);a.Fz(this.Ta(),g?g.q:j)}else this.xc&&!a.xc&&a.q&&a.gb()};
p.Ta=function(){return this.q};p.oi=function(){if(this.Gk==j)this.Gk=mg(this.xc?this.q:this.g.D().body);return this.Gk};p.gg=function(a){if(this.xc)d(Error("Component already rendered"));this.Gk=a};p.gx=function(){return!!this.ub&&this.ub.length!=0};p.Gg=function(){return this.ub?this.ub.length:0};p.yj=function(a){return this.Bd&&a?qb(this.Bd,a)||j:j};p.Fg=function(a){return this.ub?this.ub[a]||j:j};p.Dg=function(a,b){this.ub&&B(this.ub,a,b)};p.Om=function(a){return this.ub&&a?Sa(this.ub,a):-1};
p.removeChild=function(a,b){if(a){var c=v(a)?a:a.wb();a=this.yj(c);if(c&&a){ob(this.Bd,c);Za(this.ub,a);if(b){a.gd();a.q&&L(a.q)}a.us(j)}}if(!a)d(Error("Child is not in parent component"));return a};p.GL=function(a,b){return this.removeChild(this.Fg(a),b)};p.zz=function(a){for(;this.gx();)this.GL(0,a)};var th=function(){},uh;Ga(th);p=th.prototype;p.le=function(){return undefined};p.e=function(a){return a.g.e("div",this.Re(a).join(" "),a.Nc())};p.Ta=function(a){return a};
p.Ul=function(a,b,c){var e=a.b?a.b():a;if(e)if(D&&!G("7")){var f=this.Fp(Cc(e),b);f.push(b);var g=c?Dc:Ec;Qa(g,e).apply(j,f)}else Gc(e,b,c)};p.dv=function(a,b,c){this.Ul(a,b,c)};p.Wb=function(){return i};
p.wa=function(a,b){b.id&&a.nf(b.id);var c=this.Ta(b);c&&c.firstChild?a.Ci(c.firstChild.nextSibling?$a(c.childNodes):c.firstChild):a.Ci(j);var e=0,f=this.R(),g=this.Lj(),h=k,l=k,m=k,n=Cc(b);B(n,function(t){if(!h&&t==f){h=i;if(g==f)l=i}else if(!l&&t==g)l=i;else e|=this.iq(t)},this);a.CA(e);if(!h){n.push(f);if(g==f)l=i}l||n.push(g);var o=a.aw();o&&n.push.apply(n,o);if(D&&!G("7")){var r=this.Fp(n);if(r.length>0){n.push.apply(n,r);m=i}}if(!h||!l||o||m)Bc(b,n.join(" "));return b};
p.te=function(a){a.oi()&&this.gg(a.b(),i);a.ka()&&this.rd(a,a.Oa())};p.jA=function(a){if(E){var b=this.le();b&&kh(a,b)}};p.Kk=function(a,b){Cg(a,!b,!D&&!C)};p.gg=function(a,b){this.Ul(a,this.Lj()+"-rtl",b)};p.cf=function(a){var b;if(a.zc(32)&&(b=a.Db()))return nd(b);return k};p.rd=function(a,b){var c;if(a.zc(32)&&(c=a.Db())){if(!b&&a.Rx()){try{c.blur()}catch(e){}a.Rx()&&a.Lf(j)}nd(c)!=b&&od(c,b)}};p.sa=function(a,b){R(a,b)};
p.Gb=function(a,b,c){var e=a.b();if(e){var f=this.zj(b);f&&this.Ul(a,f,c);this.Mi(e,b,c)}};p.Mi=function(a,b,c){if(E){uh||(uh=wb(1,"disabled",4,"pressed",8,"selected",16,"checked",64,"expanded"));var e=uh[b];e&&lh(a,e,c)}};p.Xd=function(a,b){var c=this.Ta(a);if(c){Xc(c);if(b)if(v(b))kd(c,b);else{function e(f){if(f){var g=H(c);c.appendChild(v(f)?g.createTextNode(f):f)}}u(b)?B(b,e):e(b)}}};p.Db=function(a){return a.b()};p.R=function(){return"goog-control"};p.JG=function(){return[]};p.Lj=function(){return this.R()};
p.Re=function(a){var b=this.R(),c=[b],e=this.Lj();e!=b&&c.push(e);var f=this.nG(a.Kj());f&&c.push.apply(c,f);var g=a.aw();g&&c.push.apply(c,g);D&&!G("7")&&c.push.apply(c,this.Fp(c));return c};p.Fp=function(a,b){var c=[];if(b)a=a.concat([b]);B(this.JG(),function(e){if(Va(e,Qa(Xa,a))&&(!b||Xa(e,b)))c.push(e.join("_"))});return c};p.nG=function(a){if(a){for(var b=[],c=1;a;c<<=1)if(a&c){b.push(this.zj(c));a&=~c}return b}return j};p.zj=function(a){this.Dl||this.wu();return this.Dl[a]};
p.iq=function(a){this.hB||this.LE();var b=parseInt(this.hB[a],10);return isNaN(b)?0:b};p.wu=function(){var a=this.Lj();this.Dl=wb(1,a+"-disabled",2,a+"-hover",4,a+"-active",8,a+"-selected",16,a+"-checked",32,a+"-focused",64,a+"-open")};p.LE=function(){this.Dl||this.wu();this.hB=tb(this.Dl)};var vh=function(){th.call(this)};A(vh,th);Ga(vh);p=vh.prototype;p.le=function(){return"button"};p.Mi=function(a,b,c){if(E)b==16?lh(a,"pressed",c):vh.f.Mi.call(this,a,b,c)};
p.e=function(a){var b=vh.f.e.call(this,a),c=a.Ve();c&&this.rh(b,c);var e=a.da();e&&this.Wa(b,e);a.zc(16)&&this.Mi(b,16,k);return b};p.wa=function(a,b){b=vh.f.wa.call(this,a,b);a.cO(this.da(b));a.VN(this.Ve(b));a.zc(16)&&this.Mi(b,16,k);return b};p.da=s;p.Wa=s;p.Ve=function(a){return a.title};p.rh=function(a,b){if(a)a.title=b||""};p.R=function(){return"goog-button"};var wh=function(a){Q.call(this);a&&this.zo(a)};A(wh,Q);p=wh.prototype;p.q=j;p.Vm=j;p.br=j;p.Wm=j;p.mk=-1;p.gr=k;p.ri=-1;p.by=0;p.II=i;
var xh={"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},yh={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},zh={61:187,
59:186},Ah=D||F&&G("525");p=wh.prototype;p.Qj=function(a){if(Ah&&!hh(a.keyCode,this.mk,a.shiftKey))this.handleEvent(a);else this.ri=E&&a.keyCode in zh?zh[a.keyCode]:a.keyCode};p.eI=function(){this.ri=this.mk=-1};
p.handleEvent=function(a){var b=a.me(),c,e;if(D&&a.type=="keypress"){c=this.ri;e=c!=13&&c!=27?b.keyCode:0}else if(F&&a.type=="keypress"){c=this.ri;e=b.charCode>=0&&b.charCode<63232&&ih(c)?b.charCode:0}else if(C){c=this.ri;e=ih(c)?b.keyCode:0}else{c=b.keyCode||this.ri;e=b.charCode||0;if(rc&&e==63&&!c)c=191}var f=c,g=b.keyIdentifier;if(c)if(c>=63232&&c in xh)f=xh[c];else{if(c==25&&a.shiftKey)f=9}else if(g&&g in yh)f=yh[g];var h=f==this.mk;this.mk=f;if(F&&this.II){if(h&&b.timeStamp-this.by<50){this.gr&&
a.preventDefault();return}this.by=b.timeStamp}var l=new Bh(f,e,h,b);this.gr=k;try{this.gr=!this.dispatchEvent(l)}finally{l.p()}};p.zo=function(a){this.Wm&&this.detach();this.q=a;this.Vm=N(this.q,"keypress",this);this.br=N(this.q,"keydown",this.Qj,k,this);this.Wm=N(this.q,"keyup",this.eI,k,this)};p.detach=function(){if(this.Vm){O(this.Vm);O(this.br);O(this.Wm);this.Wm=this.br=this.Vm=j}this.q=j;this.mk=-1};p.o=function(){wh.f.o.call(this);this.detach()};
var Bh=function(a,b,c,e){ef.call(this,e);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};A(Bh,ef);
var Dh=function(a){for(var b,c;a;){b=Oa(a);if(c=Ch[b])break;a=a.f?a.f.constructor:j}if(c)return Ka(c.Ka)?c.Ka():new c;return j},Fh=function(a,b){if(!a)d(Error("Invalid class name "+a));if(!Ka(b))d(Error("Invalid decorator function "+b));Eh[a]=b},Gh=function(a){for(var b,c=Cc(a),e=0,f=c.length;e<f;e++)if(b=c[e]in Eh?Eh[c[e]]():j)return b;return j},Ch={},Eh={},Hh=function(a){var b=Gh(a);b&&b.wa(a);return b},Ih=function(a,b,c){rh.call(this,c);this.N=b||Dh(this.constructor);this.Ci(a)};A(Ih,rh);p=Ih.prototype;
p.Dd=j;p.Hb=0;p.Vk=39;p.wl=255;p.Yn=0;p.Ra=i;p.ie=j;p.qq=i;p.It=k;p.hJ=function(){return this.qq};p.rs=function(a){this.Rb()&&a!=this.qq&&this.fv(a);this.qq=a};p.Db=function(){return this.N.Db(this)};p.sm=function(){return this.oa||(this.oa=new wh)};p.pe=function(){return this.N};p.aw=function(){return this.ie};p.uo=function(a){if(a){if(this.ie)Xa(this.ie,a)||this.ie.push(a);else this.ie=[a];this.N.dv(this,a,i)}};
p.HL=function(a){if(a&&this.ie){Za(this.ie,a);if(this.ie.length==0)this.ie=j;this.N.dv(this,a,k)}};p.Ul=function(a,b){b?this.uo(a):this.HL(a)};p.e=function(){var a=this.N.e(this);this.Ei(a);this.N.jA(a);this.Kq()||this.N.Kk(a,k);this.Oa()||this.N.sa(a,k)};p.Ta=function(){return this.N.Ta(this.b())};p.Wb=function(a){return this.N.Wb(a)};p.ce=function(a){a=this.N.wa(this,a);this.Ei(a);this.N.jA(a);this.Kq()||this.N.Kk(a,k);this.Ra=a.style.display!="none"};
p.gb=function(){Ih.f.gb.call(this);this.N.te(this);if(this.Vk&-2){this.hJ()&&this.fv(i);if(this.zc(32)){var a=this.Db();if(a){var b=this.sm();b.zo(a);this.ab().l(b,"key",this.Kb).l(a,"focus",this.Cm).l(a,"blur",this.Lf)}}}};
p.fv=function(a){var b=this.ab(),c=this.b();if(a){b.l(c,"mouseover",this.Uj).l(c,"mousedown",this.Xe).l(c,"mouseup",this.Vj).l(c,"mouseout",this.Tj);D&&b.l(c,"dblclick",this.Nw)}else{b.Ya(c,"mouseover",this.Uj).Ya(c,"mousedown",this.Xe).Ya(c,"mouseup",this.Vj).Ya(c,"mouseout",this.Tj);D&&b.Ya(c,"dblclick",this.Nw)}};p.gd=function(){Ih.f.gd.call(this);this.oa&&this.oa.detach();this.Oa()&&this.ka()&&this.N.rd(this,k)};
p.o=function(){Ih.f.o.call(this);if(this.oa){this.oa.p();delete this.oa}delete this.N;this.ie=this.Dd=j};p.Nc=function(){return this.Dd};p.Xd=function(a){this.N.Xd(this.b(),a);this.Ci(a)};p.Ci=function(a){this.Dd=a};p.xj=function(){var a=this.Nc();if(!a||v(a))return a;var b=u(a)?Ta(a,qd).join(""):qd(a);return b&&Db(b)};p.gg=function(a){Ih.f.gg.call(this,a);var b=this.b();b&&this.N.gg(b,a)};p.Kq=function(){return this.It};p.Kk=function(a){this.It=a;var b=this.b();b&&this.N.Kk(b,a)};p.Oa=function(){return this.Ra};
p.sa=function(a,b){if(b||this.Ra!=a&&this.dispatchEvent(a?"show":"hide")){var c=this.b();c&&this.N.sa(c,a);this.ka()&&this.N.rd(this,a);this.Ra=a;return i}return k};p.ka=function(){return!this.qe(1)};p.rJ=function(){var a=this.Se();return!!a&&typeof a.ka=="function"&&!a.ka()};p.Bc=function(a){if(!this.rJ()&&this.Zg(1,!a)){if(!a){this.setActive(k);this.we(k)}this.Oa()&&this.N.rd(this,a);this.Gb(1,!a)}};p.we=function(a){this.Zg(2,a)&&this.Gb(2,a)};p.Ld=function(){return this.qe(4)};
p.setActive=function(a){this.Zg(4,a)&&this.Gb(4,a)};p.of=function(a){this.Zg(8,a)&&this.Gb(8,a)};p.Ox=function(){return this.qe(16)};p.eg=function(a){this.Zg(16,a)&&this.Gb(16,a)};p.Rx=function(){return this.qe(32)};p.sA=function(a){this.Zg(32,a)&&this.Gb(32,a)};p.isOpen=function(){return this.qe(64)};p.Va=function(a){this.Zg(64,a)&&this.Gb(64,a)};p.Kj=function(){return this.Hb};p.qe=function(a){return!!(this.Hb&a)};
p.Gb=function(a,b){if(this.zc(a)&&b!=this.qe(a)){this.N.Gb(this,a,b);this.Hb=b?this.Hb|a:this.Hb&~a}};p.CA=function(a){this.Hb=a};p.zc=function(a){return!!(this.Vk&a)};p.Dc=function(a,b){if(this.Rb()&&this.qe(a)!=b)d(Error("Component already rendered"));!b&&this.qe(a)&&this.Gb(a,k);this.Vk=b?this.Vk|a:this.Vk&~a};p.Rc=function(a){return!!(this.wl&a)&&this.zc(a)};p.UM=function(a,b){this.wl=b?this.wl|a:this.wl&~a};p.oA=function(a,b){this.Yn=b?this.Yn|a:this.Yn&~a};
p.Zg=function(a,b){return this.zc(a)&&this.qe(a)!=b&&(!(this.Yn&a)||this.dispatchEvent(sh(a,b)))&&!this.Qq()};p.Uj=function(a){a.relatedTarget&&!ed(this.b(),a.relatedTarget)&&this.dispatchEvent("enter")&&this.ka()&&this.Rc(2)&&this.we(i)};p.Tj=function(a){if(a.relatedTarget&&!ed(this.b(),a.relatedTarget)&&this.dispatchEvent("leave")){this.Rc(4)&&this.setActive(k);this.Rc(2)&&this.we(k)}};
p.Xe=function(a){if(this.ka()){this.Rc(2)&&this.we(i);if(a.Kx(0)){this.Rc(4)&&this.setActive(i);this.N.cf(this)&&this.Db().focus()}}!this.Kq()&&a.Kx(0)&&a.preventDefault()};p.Vj=function(a){if(this.ka()){this.Rc(2)&&this.we(i);this.Ld()&&this.jf(a)&&this.Rc(4)&&this.setActive(k)}};p.Nw=function(a){this.ka()&&this.jf(a)};p.jf=function(){this.Rc(16)&&this.eg(!this.Ox());this.Rc(8)&&this.of(i);this.Rc(64)&&this.Va(!this.isOpen());return this.dispatchEvent("action")};p.Cm=function(){this.Rc(32)&&this.sA(i)};
p.Lf=function(){this.Rc(4)&&this.setActive(k);this.Rc(32)&&this.sA(k)};p.Kb=function(a){if(this.Oa()&&this.ka()&&this.ji(a)){a.preventDefault();a.stopPropagation();return i}return k};p.ji=function(a){return a.keyCode==13&&this.jf(a)};if(!Ka(Ih))d(Error("Invalid component class "+Ih));if(!Ka(th))d(Error("Invalid renderer class "+th));var Jh=Oa(Ih);Ch[Jh]=th;Fh("goog-control",function(){return new Ih(j)});var Kh=function(){vh.call(this)};A(Kh,vh);Ga(Kh);p=Kh.prototype;p.le=function(){return undefined};
p.e=function(a){this.FA(a);return a.g.e("button",{"class":this.Re(a).join(" "),disabled:!a.ka(),title:a.Ve()||"",value:a.da()||""},a.xj()||"")};p.Wb=function(a){return a.tagName=="BUTTON"||a.tagName=="INPUT"&&(a.type=="button"||a.type=="submit"||a.type=="reset")};p.wa=function(a,b){this.FA(a);b.disabled&&Dc(b,this.zj(1));return Kh.f.wa.call(this,a,b)};p.te=function(a){a.ab().l(a.b(),"click",a.jf)};p.Kk=s;p.gg=s;p.cf=function(a){return a.ka()};p.rd=s;
p.Gb=function(a,b,c){Kh.f.Gb.call(this,a,b,c);var e=a.b();if(e&&b==1)e.disabled=c};p.da=function(a){return a.value};p.Wa=function(a,b){if(a)a.value=b};p.Mi=s;p.FA=function(a){a.rs(k);a.UM(255,k);a.Dc(32,k)};var Lh=function(a,b,c){Ih.call(this,a,b||Kh.Ka(),c)};A(Lh,Ih);p=Lh.prototype;p.da=function(){return this.tc};p.Wa=function(a){this.tc=a;this.N.Wa(this.b(),a)};p.cO=function(a){this.tc=a};p.Ve=function(){return this.bl};p.rh=function(a){this.bl=a;this.N.rh(this.b(),a)};
p.VN=function(a){this.bl=a};p.o=function(){Lh.f.o.call(this);delete this.tc;delete this.bl};p.gb=function(){Lh.f.gb.call(this);if(this.zc(32)){var a=this.Db();a&&this.ab().l(a,"keyup",this.ji)}};p.ji=function(a){if(a.keyCode==13&&a.type=="key"||a.keyCode==32&&a.type=="keyup")return this.jf(a);return a.keyCode==32};Fh("goog-button",function(){return new Lh(j)});var Mh=function(){vh.call(this)};A(Mh,vh);Ga(Mh);p=Mh.prototype;
p.e=function(a){var b=this.Re(a),c={"class":"goog-inline-block "+b.join(" "),title:a.Ve()||""};return a.g.e("div",c,this.Ml(a.Nc(),a.g))};p.Ta=function(a){return a&&a.firstChild.firstChild};p.Ml=function(a,b){var c="goog-inline-block "+this.R();return b.e("div",c+"-outer-box",b.e("div",c+"-inner-box",a))};p.Wb=function(a){return a.tagName=="DIV"};
p.pI=function(a,b){var c=a.g.dw(b);if(c&&c.className.indexOf(this.R()+"-outer-box")!=-1){var e=a.g.dw(c);if(e&&e.className.indexOf(this.R()+"-inner-box")!=-1)return i}return k};p.wa=function(a,b){Nh(b,i);Nh(b,k);this.pI(a,b)||b.appendChild(this.Ml(b.childNodes,a.g));Dc(b,"goog-inline-block",this.R());return Mh.f.wa.call(this,a,b)};p.R=function(){return"goog-custom-button"};
var Nh=function(a,b){if(a)for(var c=b?a.firstChild:a.lastChild,e;c&&c.parentNode==a;){e=b?c.nextSibling:c.previousSibling;if(c.nodeType==3){var f=c.nodeValue;if(Db(f)=="")a.removeChild(c);else{c.nodeValue=b?Eb(f):Fb(f);break}}else break;c=e}},Oh=function(a,b,c){Lh.call(this,a,b||Mh.Ka(),c)};A(Oh,Lh);Fh("goog-custom-button",function(){return new Oh(j)});var Ph=function(a){Q.call(this);this.q=a;var b=D?"focusin":"focus",c=D?"focusout":"blur";this.IJ=N(this.q,b,this,!D);this.JJ=N(this.q,c,this,!D)};
A(Ph,Q);Ph.prototype.handleEvent=function(a){var b=a.me(),c=new ef(b);c.type=a.type=="focusin"||a.type=="focus"?"focusin":"focusout";try{this.dispatchEvent(c)}finally{c.p()}};Ph.prototype.o=function(){Ph.f.o.call(this);O(this.IJ);O(this.JJ);delete this.q};var Qh=function(a,b,c){this.target=a;this.Am=b||a;this.Zm=c||new Kf(NaN,NaN,NaN,NaN);this.$a=a.ownerDocument||a.document;N(this.Am,"mousedown",this.Ms,k,this)};A(Qh,Q);var Rh=E&&!G("1.9a");p=Qh.prototype;p.screenX=0;p.screenY=0;p.fB=0;p.gB=0;
p.ij=0;p.jj=0;p.nb=i;p.Le=k;p.px=0;p.iK=0;p.qx=k;var Sh=function(a){a.preventDefault()};p=Qh.prototype;p.nN=function(a){this.Zm=a||new Kf(NaN,NaN,NaN,NaN)};p.Bc=function(a){this.nb=a};p.o=function(){Qh.f.o.call(this);zf(this.Am,"mousedown",this.Ms,k,this);this.oB();delete this.target;delete this.Am};
p.Ms=function(a){if(this.nb&&!this.Le){if(this.px==0){this.xx(a);if(this.Le)a.preventDefault();else return}else a.preventDefault();this.eO();this.screenX=this.fB=a.screenX;this.screenY=this.gB=a.screenY;this.ij=this.target.offsetLeft;this.jj=this.target.offsetTop;this.Bk=I(this.$a).Ig();this.iK=x()}};
p.eO=function(){N(this.$a,"mousemove",this.yy,k,this);N(this.$a,"mouseup",this.Nh,k,this);if(Rh)try{N(window.top,"mouseout",this.bz,k,this)}catch(a){}D&&this.qx&&N(this.$a,"dragstart",Sh,k,this);this.fs&&N(this.fs,"scroll",this.Yy,k,this)};p.xx=function(a){var b=this.dispatchEvent(new Th("start",this,a.clientX,a.clientY,a));if(b!==k)this.Le=i};
p.Nh=function(a,b){this.oB();if(this.Le){this.Le=k;var c=this.dy(this.ij),e=this.ey(this.jj);this.dispatchEvent(new Th("end",this,a.clientX,a.clientY,a,c,e,b))}};p.iv=function(a){this.Nh(a,i)};p.oB=function(){zf(this.$a,"mousemove",this.yy,k,this);zf(this.$a,"mouseup",this.Nh,k,this);if(Rh)try{zf(window.top,"mouseout",this.bz,k,this)}catch(a){}D&&this.qx&&zf(this.$a,"dragstart",Sh,k,this);this.fs&&zf(this.fs,"scroll",this.Yy,k,this)};
p.bz=function(a){this.Le&&!a.relatedTarget&&a.target.tagName!="IFRAME"&&this.iv(a)};
p.yy=function(a){if(this.nb)if(D&&!a.button&&!G("8"))this.iv(a);else{var b=a.screenX-this.screenX,c=a.screenY-this.screenY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.Le){var e=this.fB-this.screenX,f=this.gB-this.screenY,g=e*e+f*f;if(g>this.px){this.xx(a);if(!this.Le){this.Nh(a);return}}}var h=this.$t(b,c),l=h.x,m=h.y;if(this.Le){var n=this.dispatchEvent(new Th("beforedrag",this,a.clientX,a.clientY,a,l,m));if(n!==k){this.Yu(a,l,m,k);a.preventDefault()}}}};
p.$t=function(a,b){var c=I(this.$a).Ig();a+=c.x-this.Bk.x;b+=c.y-this.Bk.y;this.Bk=c;this.ij+=a;this.jj+=b;var e=this.dy(this.ij),f=this.ey(this.jj);return new fb(e,f)};p.Yy=function(a){var b=this.$t(0,0);a.clientX=this.Bk.x-this.screenX;a.clientY=this.Bk.x-this.screenY;this.Yu(a,b.x,b.y,i)};p.Yu=function(a,b,c){this.YE(b,c);this.dispatchEvent(new Th("drag",this,a.clientX,a.clientY,a,b,c))};
p.dy=function(a){var b=this.Zm,c=!isNaN(b.left)?b.left:j,e=!isNaN(b.width)?b.width:0,f=c!=j?c+e:Infinity,g=c!=j?c:-Infinity;return Math.min(f,Math.max(g,a))};p.ey=function(a){var b=this.Zm,c=!isNaN(b.top)?b.top:j,e=!isNaN(b.height)?b.height:0,f=c!=j?c+e:Infinity,g=c!=j?c:-Infinity;return Math.min(f,Math.max(g,a))};p.YE=function(a,b){this.target.style.left=a+"px";this.target.style.top=b+"px"};
var Th=function(a,b,c,e,f,g,h,l){df.call(this,a);this.type=a;this.clientX=c;this.clientY=e;this.Vt=f;this.left=g!==undefined?g:b.ij;this.top=h!==undefined?h:b.jj;this.av=b;this.DQ=!!l};A(Th,df);var Vh=function(a,b,c){rh.call(this,c);this.Xb=a||"modal-dialog";this.ht=!!b;this.be=Uh;this.em=new Ph(this.g.D())};A(Vh,rh);p=Vh.prototype;p.ht=k;p.cn=i;p.$u=i;p.DD=0.3;p.eo="";p.Dd="";p.be=j;p.Kh=j;p.Ra=k;p.oF=k;p.Cb=j;p.tb=j;p.wd=j;p.ze=j;p.Zs=j;p.uh=j;p.Hc=j;p.ic=j;
p.TN=function(a){this.eo=a;this.ze&&kd(this.ze,a)};p.Xd=function(a){this.Dd=a;if(this.Hc)this.Hc.innerHTML=a};p.Nc=function(){return this.Dd};p.Ta=function(){this.Hc||this.rc();return this.Hc};p.mG=function(){return this.Xb};p.vE=function(){var a=new Qh(this.b(),this.wd);Dc(this.wd,this.Xb+"-title-draggable");return a};
p.e=function(){this.oy();this.Ei(this.g.e("div",{className:this.Xb,tabIndex:0},this.wd=this.g.e("div",{className:this.Xb+"-title",id:this.wb()},this.ze=this.g.e("span",this.Xb+"-title-text",this.eo),this.uh=this.g.e("span",this.Xb+"-title-close")),this.Hc=this.g.e("div",this.Xb+"-content"),this.ic=this.g.e("div",this.Xb+"-buttons"),this.lB=this.g.e("span",{tabIndex:0})));this.Zs=this.wd.id;kh(this.b(),"dialog");lh(this.b(),"labelledby",this.Zs||"");if(this.Dd)this.Hc.innerHTML=this.Dd;R(this.b(),
k);this.be&&this.be.Ao(this.ic)};p.oy=function(){if(this.ht&&this.cn&&!this.tb){this.tb=this.g.e("iframe",{frameborder:0,style:"border: 0; vertical-align: bottom",src:'javascript:""'});this.tb.className=this.Xb+"-bg";R(this.tb,k);vg(this.tb,0)}else if((!this.ht||!this.cn)&&this.tb){L(this.tb);this.tb=j}if(this.cn&&!this.Cb){this.Cb=this.g.e("div",this.Xb+"-bg");vg(this.Cb,this.DD);R(this.Cb,k)}else if(!this.cn&&this.Cb){L(this.Cb);this.Cb=j}};
p.rc=function(a){if(this.Rb())d(Error("Component already rendered"));this.b()||this.e();var b=a||this.g.D().body;this.Bz(b);Vh.f.rc.call(this,b)};p.Bz=function(a){this.tb&&a.appendChild(this.tb);this.Cb&&a.appendChild(this.Cb)};p.Wb=function(a){return a&&a.tagName&&a.tagName=="DIV"&&Vh.f.Wb.call(this,a)};
p.ce=function(a){Vh.f.ce.call(this,a);Dc(this.b(),this.Xb);var b=this.Xb+"-content";if(this.Hc=Mc(j,b,this.b())[0])this.Dd=this.Hc.innerHTML;else{this.Hc=this.g.e("div",b);if(this.Dd)this.Hc.innerHTML=this.Dd;this.b().appendChild(this.Hc)}var c=this.Xb+"-title",e=this.Xb+"-title-text",f=this.Xb+"-title-close";if(this.wd=Mc(j,c,this.b())[0]){this.ze=Mc(j,e,this.wd)[0];this.uh=Mc(j,f,this.wd)[0]}else{this.wd=this.g.e("div",c);this.b().insertBefore(this.wd,this.Hc)}if(this.ze)this.eo=qd(this.ze);else{this.ze=
this.g.e("span",e,this.eo);this.wd.appendChild(this.ze)}lh(this.b(),"labelledby",this.Zs||"");if(!this.uh){this.uh=this.g.e("span",f);this.wd.appendChild(this.uh)}var g=this.Xb+"-buttons";if(this.ic=Mc(j,g,this.b())[0]){this.be=new Wh(this.g);this.be.wa(this.ic)}else{this.ic=this.g.e("div",g);this.b().appendChild(this.ic);this.be&&this.be.Ao(this.ic)}this.oy();this.Bz(H(this.b()).body);R(this.b(),k)};
p.gb=function(){Vh.f.gb.call(this);if(this.$u&&!this.Kh)this.Kh=this.vE();this.ab().l(this.uh,"click",this.$K).l(this.em,"focusin",this.ln);kh(this.b(),"dialog");this.ze.id!==""&&lh(this.b(),"labelledby",this.ze.id)};p.gd=function(){this.Oa()&&this.sa(k);if(this.Kh){this.Kh.p();this.Kh=j}Vh.f.gd.call(this)};
p.sa=function(a){if(!(a==this.Ra)){var b=this.g.D(),c=Sc(b)||window;this.Rb()||this.rc(b.body);if(a){this.Lz();this.Ia();this.ab().l(this.b(),"keydown",this.Oy,i).l(c,"resize",this.Wy,i)}else this.ab().Ya(this.b(),"keydown",this.Oy,i).Ya(c,"resize",this.Wy,i);this.tb&&R(this.tb,a);this.Cb&&R(this.Cb,a);R(this.b(),a);if(a){E&&this.b().focus();if(this.Vh()){var e=this.Vh().Uv();if(e)for(var f=this.ic.getElementsByTagName("button"),g=0,h;h=f[g];g++)if(h.name==e){try{if(F||C){var l=b.createElement("input");
l.style.cssText="position:fixed;width:0;height:0";this.b().appendChild(l);l.focus();this.b().removeChild(l)}h.focus()}catch(m){}break}}}if(this.Ra=a)this.ab().l(this.ic,"click",this.Hy);else{this.ab().Ya(this.ic,"click",this.Hy);this.dispatchEvent("afterhide");this.oF&&this.p()}}};p.Oa=function(){return this.Ra};
p.Lz=function(){this.tb&&R(this.tb,k);this.Cb&&R(this.Cb,k);var a=this.g.D(),b=Sc(a)||window,c=Pc(b||window),e=a.body.scrollWidth,f=Math.max(a.body.scrollHeight,c.height);if(this.tb){R(this.tb,i);rg(this.tb,e,f)}if(this.Cb){R(this.Cb,i);rg(this.Cb,e,f)}if(this.$u){var g=sg(this.b());this.Kh.Zm=new Kf(0,0,e-g.width,f-g.height)}};
p.Ia=function(){var a=this.g.D(),b=Sc(a)||window;if(gg(this.b())=="fixed")var c=0,e=0;else{var f=this.g.Ig();c=f.x;e=f.y}var g=sg(this.b()),h=Pc(b||window),l=Math.max(c+h.width/2-g.width/2,0),m=Math.max(e+h.height/2-g.height/2,0);hg(this.b(),l,m)};p.$K=function(){var a=this.Vh(),b=a&&a.Mv();if(b){var c=a.t(b);this.dispatchEvent(new Xh(b,c))&&this.sa(k)}else this.sa(k)};
p.o=function(){Vh.f.o.call(this);if(this.em){this.em.p();this.em=j}if(this.Cb){L(this.Cb);this.Cb=j}if(this.tb){L(this.tb);this.tb=j}this.lB=this.ic=this.uh=j};p.XM=function(a){this.be=a;this.ic&&this.be.Ao(this.ic)};p.Vh=function(){return this.be};p.Hy=function(a){var b=this.IF(a.target);if(b){var c=b.name,e=this.Vh().t(c);this.dispatchEvent(new Xh(c,e))&&this.sa(k)}};p.IF=function(a){for(var b=a;b!=j&&b!=this.ic;){if(b.tagName=="BUTTON")return b;b=b.parentNode}return j};
p.Oy=function(a){var b=this.Vh();if(a.keyCode==27){var c=b&&b.Mv();if(c){var e=b.t(c);this.dispatchEvent(new Xh(c,e))&&this.sa(k)}else this.sa(k);a.stopPropagation()}else if(a.keyCode==13){var f;if(a.target&&a.target.tagName=="BUTTON")f=a.target.name;else if(b){var g=b.Uv(),h=g&&b.kG(g);f=h&&!h.disabled?g:j}if(f&&this.dispatchEvent(new Xh(f,String(b.t(f))))){this.sa(k);a.preventDefault()}a.stopPropagation()}else if(a.keyCode==9&&a.shiftKey&&a.target==this.b()){a.preventDefault();a.stopPropagation()}};
p.Wy=function(){this.Lz()};p.ln=function(a){this.lB==a.target&&Mg(this.RF,0,this)};p.RF=function(){D&&this.g.D().body.focus();this.b().focus()};var Xh=function(a,b){this.type="dialogselect";this.Sc=a;this.caption=b};A(Xh,df);var Wh=function(a){this.g=a||I();Pd.call(this)},Uh,Yh,Zh,$h,ai;A(Wh,Pd);p=Wh.prototype;p.cp=j;p.q=j;p.du=j;p.w=function(a,b,c,e){Pd.prototype.w.call(this,a,b);if(c)this.cp=a;if(e)this.du=a;return this};p.Ao=function(a){this.q=a;this.rc()};
p.rc=function(){if(this.q){this.q.innerHTML="";var a=I(this.q);Nd(this,function(b,c){this.q.appendChild(a.e("button",{name:c},b))},this)}};p.wa=function(a){if(!(!a||a.nodeType!=1)){this.q=a;for(var b=this.q.getElementsByTagName("button"),c=0,e,f,g;e=b[c];c++){f=e.name||e.id;g=qd(e)||e.value;f&&this.w(f,g,c==0,e.name=="cancel")}}};p.dN=function(a){this.cp=a};p.Uv=function(){return this.cp};p.Mv=function(){return this.du};
p.kG=function(a){for(var b=this.gG(),c=0,e;e=b[c];c++)if(e.name==a||e.id==a)return e;return j};p.gG=function(){return this.q.getElementsByTagName("BUTTON")};(function(){var a=z("OK"),b=z("Cancel"),c=z("Yes"),e=z("No"),f=z("Save"),g=z("Continue");Yh=(new Wh).w("ok",a,i);Uh=(new Wh).w("ok",a,i).w("cancel",b,k,i);Zh=(new Wh).w("yes",c,i).w("no",e,k,i);$h=(new Wh).w("yes",c).w("no",e,i).w("cancel",b,k,i);ai=(new Wh).w("continue",g).w("save",f).w("cancel",b,i,i)})();var bi=function(){vh.call(this)};
A(bi,vh);Ga(bi);p=bi.prototype;p.e=function(a){var b=this.Re(a),c={"class":"goog-inline-block "+b.join(" "),title:a.Ve()||""};return a.g.e("div",c,a.Nc())};p.Wb=function(a){return a.tagName=="DIV"};p.wa=function(a,b){Dc(b,"goog-inline-block");return bi.f.wa.call(this,a,b)};p.da=function(){return j};p.R=function(){return"goog-flat-button"};Fh("goog-flat-button",function(){return new Lh(j,bi.Ka())});var ci=function(){return th.call(this)};A(ci,th);Ga(ci);
ci.prototype.e=function(a){return a.g.e("div",this.R())};ci.prototype.wa=function(a,b){if(b.tagName=="HR"){var c=b;b=this.e(a);Yc(b,c);L(c)}else Dc(b,this.R());return b};ci.prototype.Xd=function(){};ci.prototype.R=function(){return"goog-menuseparator"};var di=function(a,b){Ih.call(this,j,a||ci.Ka(),b);this.Dc(1,k);this.Dc(2,k);this.Dc(4,k);this.Dc(32,k);this.CA(1)};A(di,Ih);di.prototype.gb=function(){di.f.gb.call(this);kh(this.b(),"separator")};Fh("goog-menuseparator",function(){return new di});
var ei=function(){};Ga(ei);p=ei.prototype;p.le=function(){return undefined};p.uI=function(a){if(a){var b=a.getAttributeNode("tabindex");if(b&&b.specified){var c=a.tabIndex;return Ja(c)&&c>=0}}return k};p.op=function(a,b){if(a)a.tabIndex=b?0:-1};p.e=function(a){return a.g.e("div",this.Re(a).join(" "))};p.Ta=function(a){return a};p.Wb=function(a){return a.tagName=="DIV"};
p.wa=function(a,b){b.id&&a.nf(b.id);var c=this.R(),e=k,f=Cc(b);f&&B(f,function(g){if(g==c)e=i;else g&&this.NN(a,g,c)},this);e||Dc(b,c);this.XE(a,b);return b};p.NN=function(a,b,c){if(b==c+"-disabled")a.Bc(k);else if(b==c+"-horizontal")a.ts("horizontal");else b==c+"-vertical"&&a.ts("vertical")};
p.XE=function(a,b){if(b)for(var c=b.firstChild,e;c&&c.parentNode==b;){e=c.nextSibling;if(c.nodeType==1){var f=this.Bj(c);if(f){f.Ei(c);a.ka()||f.Bc(k);a.De(f);f.wa(c)}}else if(!c.nodeValue||Db(c.nodeValue)=="")b.removeChild(c);c=e}};p.Bj=function(a){return Gh(a)};p.te=function(a){var b=a.b();Cg(b,i,E);if(D)b.hideFocus=i;var c=this.le();c&&kh(b,c);if(a.Dj()=="horizontal"&&E&&!G("1.9a")&&a.oi()){var e=this.Ta(b);a.Dg(function(f){var g=f.b();g&&g.parentNode==e&&fi(f)})}};p.Db=function(a){return a.b()};
p.R=function(){return"goog-container"};p.Re=function(a){var b=this.R(),c=a.Dj()=="horizontal",e=[b,b+(c?"-horizontal":"-vertical")];a.ka()||e.push(this.R()+"-disabled");return e};p.Vv=function(){return"vertical"};
var fi=function(a){var b=a.b();if(b){var c=b.parentNode,e=b.nextSibling,f=a instanceof di?"display:-moz-box;position:relative;top:4px":"display:-moz-box;position:relative";c.insertBefore(a.g.e("div",{style:f},b),e)}},gi=function(a){var b=a.b();if(b){var c=b.parentNode;c.parentNode.insertBefore(b,c);L(c)}},hi=function(a,b,c){rh.call(this,c);this.N=b||ei.Ka();this.lb=a||this.N.Vv()};A(hi,rh);p=hi.prototype;p.FJ=j;p.oa=j;p.N=j;p.lb=j;p.Ra=i;p.nb=i;p.Cg=i;p.xb=-1;p.Fb=j;p.qr=k;p.iD=k;p.uf=j;
p.Db=function(){return this.FJ||this.N.Db(this)};p.sm=function(){return this.oa||(this.oa=new wh(this.Db()))};p.pe=function(){return this.N};p.e=function(){this.Ei(this.N.e(this))};p.Ta=function(){return this.N.Ta(this.b())};p.Wb=function(a){return this.N.Wb(a)};p.ce=function(a){this.Ei(this.N.wa(this,a));if(a.style.display=="none")this.Ra=k};
p.gb=function(){hi.f.gb.call(this);this.Dg(function(b){b.Rb()&&this.tz(b)},this);var a=this.b();this.N.te(this);this.sa(this.Ra,i);this.ab().l(this,"enter",this.oq).l(this,"highlight",this.pq).l(this,"unhighlight",this.tq).l(this,"open",this.jI).l(this,"close",this.KH).l(a,"mousedown",this.Xe).l(H(a),"mouseup",this.RH).l(a,["mousedown","mouseup","mouseover","mouseout"],this.JH);this.cf()&&this.ev(i)};
p.ev=function(a){var b=this.ab(),c=this.Db();a?b.l(c,"focus",this.Cm).l(c,"blur",this.Lf).l(this.sm(),"key",this.Kb):b.Ya(c,"focus",this.Cm).Ya(c,"blur",this.Lf).Ya(this.sm(),"key",this.Kb)};p.gd=function(){this.Cc(-1);this.Fb&&this.Fb.Va(k);this.qr=k;hi.f.gd.call(this)};p.o=function(){hi.f.o.call(this);if(this.oa){this.oa.p();this.oa=j}this.N=this.Fb=this.uf=j};p.oq=function(){return i};
p.pq=function(a){var b=this.Om(a.target);if(b>-1&&b!=this.xb){var c=this.ai();c&&c.we(k);this.xb=b;c=this.ai();this.mJ()&&c.setActive(i);if(this.Fb&&c!=this.Fb)c.zc(64)?c.Va(i):this.Fb.Va(k)}lh(this.b(),"activedescendant",a.target.b().id)};p.tq=function(a){if(a.target==this.ai())this.xb=-1;lh(this.b(),"activedescendant","")};p.jI=function(a){var b=a.target;if(b&&b!=this.Fb&&b.Se()==this){this.Fb&&this.Fb.Va(k);this.Fb=b}};p.KH=function(a){if(a.target==this.Fb)this.Fb=j};
p.Xe=function(a){this.nb&&this.ph(i);var b=this.Db();this.N.uI(b)?b.focus():a.preventDefault()};p.RH=function(){this.ph(k)};p.JH=function(a){var b=this.aH(a.target);if(b)switch(a.type){case "mousedown":b.Xe(a);break;case "mouseup":b.Vj(a);break;case "mouseover":b.Uj(a);break;case "mouseout":b.Tj(a);break}};p.aH=function(a){if(this.uf)for(var b=this.b();a&&a.parentNode&&a!=b;){var c=a.id;if(c in this.uf)return this.uf[c];a=a.parentNode}return j};p.Cm=function(){};
p.Lf=function(){this.Cc(-1);this.ph(k);this.Fb&&this.Fb.Va(k)};p.Kb=function(a){if(this.ka()&&this.Gg()!=0&&this.ji(a)){a.preventDefault();a.stopPropagation();return i}return k};
p.ji=function(a){var b=this.ai();if(b&&typeof b.Kb=="function"&&b.Kb(a))return i;if(this.Fb&&this.Fb!=b&&typeof this.Fb.Kb=="function"&&this.Fb.Kb(a))return i;switch(a.keyCode){case 27:if(this.cf())this.Db().blur();else return k;break;case 36:this.BI();break;case 35:this.DI();break;case 38:if(this.lb=="vertical")this.yq();else return k;break;case 37:if(this.lb=="horizontal")this.oi()?this.xq():this.yq();else return k;break;case 40:if(this.lb=="vertical")this.xq();else return k;break;case 39:if(this.lb==
"horizontal")this.oi()?this.yq():this.xq();else return k;break;default:return k}return i};p.tz=function(a){var b=a.b(),c=b.id||(b.id=a.wb());if(!this.uf)this.uf={};this.uf[c]=a};p.De=function(a,b){hi.f.De.call(this,a,b)};p.Ri=function(a,b,c){a.oA(2,i);a.oA(64,i);if(this.cf()||!this.fJ())a.Dc(32,k);a.rs(k);hi.f.Ri.call(this,a,b,c);c&&this.Rb()&&this.tz(a);c&&this.Rb()&&this.oi()&&this.Dj()=="horizontal"&&E&&!G("1.9a")&&fi(a);b<=this.xb&&this.xb++};
p.removeChild=function(a,b){var c=this.Om(a);if(c!=-1)if(c==this.xb)a.we(k);else c<this.xb&&this.xb--;b&&this.Rb()&&this.oi()&&this.Dj()=="horizontal"&&E&&!G("1.9a")&&gi(a);var e=a.b();e&&e.id&&ob(this.uf,e.id);a=hi.f.removeChild.call(this,a,b);a.rs(i);return a};p.Dj=function(){return this.lb};p.ts=function(a){if(this.b())d(Error("Component already rendered"));this.lb=a};p.Oa=function(){return this.Ra};
p.sa=function(a,b){if(b||this.Ra!=a&&this.dispatchEvent(a?"show":"hide")){this.Ra=a;var c=this.b();if(c){R(c,a);this.cf()&&this.N.op(this.Db(),this.nb&&this.Ra);this.Ra&&!b&&this.dispatchEvent("aftershow")}return i}return k};p.ka=function(){return this.nb};
p.Bc=function(a){if(this.nb!=a&&this.dispatchEvent(a?"enable":"disable")){if(a){this.nb=i;this.Dg(function(b){if(b.QB)delete b.QB;else b.Bc(i)})}else{this.Dg(function(b){if(b.ka())b.Bc(k);else b.QB=i});this.nb=k;this.ph(k)}this.cf()&&this.N.op(this.Db(),a&&this.Ra)}};p.cf=function(){return this.Cg};p.rd=function(a){a!=this.Cg&&this.Rb()&&this.ev(a);this.Cg=a;this.nb&&this.Ra&&this.N.op(this.Db(),a)};p.fJ=function(){return this.iD};p.Cc=function(a){var b=this.Fg(a);if(b)b.we(i);else this.xb>-1&&this.ai().we(k)};
p.we=function(a){this.Cc(this.Om(a))};p.ai=function(){return this.Fg(this.xb)};p.BI=function(){this.Jm(function(a,b){return(a+1)%b},this.Gg()-1)};p.DI=function(){this.Jm(function(a,b){a--;return a<0?b-1:a},0)};p.xq=function(){this.Jm(function(a,b){return(a+1)%b},this.xb)};p.yq=function(){this.Jm(function(a,b){a--;return a<0?b-1:a},this.xb)};p.Jm=function(a,b){var c=b<0?this.Om(this.Fb):b,e=this.Gg();c=a(c,e);for(var f=0;f<=e;){var g=this.Fg(c);if(g&&this.bu(g)){this.iN(c);return i}f++;c=a(c,e)}return k};
p.bu=function(a){return a.Oa()&&a.ka()&&a.zc(2)};p.iN=function(a){this.Cc(a)};p.mJ=function(){return this.qr};p.ph=function(a){this.qr=a};var ii=function(){th.call(this);this.hu={}};A(ii,th);Ga(ii);p=ii.prototype;p.Wh=function(a){return this.hu[a]||(this.hu[a]=this.Lj()+a)};p.le=function(){return"menuitem"};p.e=function(a){var b=a.g.e("div",this.Re(a).join(" "),this.yu(a.Nc(),a.g));this.ps(a,b,a.zc(8)||a.zc(16));return b};p.Ta=function(a){return a&&a.firstChild};
p.wa=function(a,b){this.qI(b)||b.appendChild(this.yu(b.childNodes,a.g));if(Fc(b,"goog-option")){a.On(i);this.On(a,b,i)}return ii.f.wa.call(this,a,b)};p.Xd=function(a,b){var c=this.Ta(a),e=this.uq(a)?c.firstChild:j;ii.f.Xd.call(this,a,b);if(e&&!this.uq(a))c.insertBefore(e,c.firstChild||j)};p.qI=function(a){var b=cd(a),c=this.Wh("-content");return!!b&&b.className.indexOf(c)!=-1};p.yu=function(a,b){var c=this.Wh("-content");return b.e("div",c,a)};
p.zs=function(a,b,c){if(b){kh(b,c?"menuitemradio":this.le());this.ps(a,b,c)}};p.On=function(a,b,c){if(b){kh(b,c?"menuitemcheckbox":this.le());this.ps(a,b,c)}};p.uq=function(a){var b=this.Ta(a);if(b){var c=b.firstChild,e=this.Wh("-checkbox");return!!c&&!!c.className&&c.className.indexOf(e)!=-1}return k};p.ps=function(a,b,c){if(c!=this.uq(b)){Gc(b,"goog-option",c);var e=this.Ta(b);if(c){var f=this.Wh("-checkbox");e.insertBefore(a.g.e("div",f),e.firstChild||j)}else e.removeChild(e.firstChild)}};
p.zj=function(a){switch(a){case 2:return this.Wh("-highlight");case 16:case 8:return"goog-option-selected";default:return ii.f.zj.call(this,a)}};p.iq=function(a){var b=this.Wh("-highlight");switch(a){case "goog-option-selected":return 16;case b:return 2;default:return ii.f.iq.call(this,a)}};p.R=function(){return"goog-menuitem"};var ji=function(a,b,c,e){Ih.call(this,a,e||ii.Ka(),c);this.Wa(b)};A(ji,Ih);ji.prototype.da=function(){var a=this.UG();return a!=j?a:this.xj()};ji.prototype.Wa=function(a){this.sN(a)};
ji.prototype.zs=function(a){this.Dc(8,a);this.Ox()&&!a&&this.eg(k);var b=this.b();b&&this.N.zs(this,b,a)};ji.prototype.On=function(a){this.Dc(16,a);var b=this.b();b&&this.N.On(this,b,a)};Fh("goog-menuitem",function(){return new ji(j)});var ki=function(){ei.call(this)};A(ki,ei);Ga(ki);p=ki.prototype;p.le=function(){return"menu"};p.Wb=function(a){return a.tagName=="UL"||ki.f.Wb.call(this,a)};p.Bj=function(a){return a.tagName=="HR"?new di:ki.f.Bj.call(this,a)};p.yg=function(a,b){return ed(a.b(),b)};
p.R=function(){return"goog-menu"};p.te=function(a){ki.f.te.call(this,a);var b=a.b();lh(b,"haspopup","true")};var li=function(a){di.call(this,ci.Ka(),a)};A(li,di);Fh("goog-menuseparator",function(){return new di});var mi=function(a,b){hi.call(this,"vertical",b||ki.Ka(),a);this.rd(k)};A(mi,hi);p=mi.prototype;p.wo=i;p.jD=k;p.R=function(){return this.pe().R()};p.yg=function(a){return this.pe().yg(this,a)||this.gx()&&Ua(this.ub,function(b){return typeof b.yg=="function"&&b.yg(a)})};
p.Zc=function(a){this.De(a,i)};p.zh=function(a,b){this.Ri(a,b,i)};p.ci=function(a){return this.Fg(a)};p.Ng=function(){return this.Gg()};p.di=function(){return this.ub||[]};p.setPosition=function(a,b){var c=this.Oa();c||R(this.b(),i);qg(this.b(),a,b);c||R(this.b(),k)};p.JM=function(a){(this.wo=a)&&this.rd(i)};p.sa=function(a,b){var c=mi.f.sa.call(this,a,b);c&&a&&this.Rb()&&this.wo&&this.Db().focus();return c};p.oq=function(a){this.wo&&this.Db().focus();return mi.f.oq.call(this,a)};
p.bu=function(a){return(this.jD||a.ka())&&a.Oa()&&a.zc(2)};
var ni={IC:0,mQ:2,ZB:1,PP:3,nQ:4,lQ:6,QP:5,OP:7},pi=function(a,b,c,e,f,g,h,l){var m,n=c.offsetParent;if(n){var o=n.tagName=="HTML"||n.tagName=="BODY";if(!o||gg(n)!="static"){m=lg(n);o||(m=gb(m,new fb(n.scrollLeft,n.scrollTop)))}}var r,t=tg(a),y=ng(a);y&&t.Hx(new Kf(y.left,y.top,y.right-y.left,y.bottom-y.top));r=t;var K=I(a),P=I(c);if(K.D()!=P.D()){var Y=K.D().body,$=pg(Y,P.V());$=gb($,lg(Y));if(D&&!K.Pm())$=gb($,K.Ig());r.left+=$.x;r.top+=$.y}var ha=(b&4&&mg(a)?b^2:b)&-5,xa=new fb(ha&2?r.left+r.width:
r.left,ha&1?r.top+r.height:r.top);if(m)xa=gb(xa,m);if(f){xa.x+=(ha&2?-1:1)*f.x;xa.y+=(ha&1?-1:1)*f.y}var sa;if(h)if((sa=ng(c))&&m){sa.top=Math.max(0,sa.top-m.y);sa.right-=m.x;sa.bottom-=m.y;sa.left=Math.max(0,sa.left-m.x)}return oi(xa,c,e,g,sa,h,l)},oi=function(a,b,c,e,f,g,h){a=a.W();var l=0,m=(c&4&&mg(b)?c^2:c)&-5,n=sg(b),o=h?h.W():n;if(e||m!=0){if(m&2)a.x-=o.width+(e?e.right:0);else if(e)a.x+=e.left;if(m&1)a.y-=o.height+(e?e.bottom:0);else if(e)a.y+=e.top}if(g){l=f?qi(a,o,f,g):256;if(l&496)return l}hg(b,
a);ib(n,o)||rg(b,o);return l},qi=function(a,b,c,e){var f=0;if(a.x<c.left&&e&1){a.x=c.left;f|=1}if(a.x<c.left&&a.x+b.width>c.right&&e&16){b.width-=a.x+b.width-c.right;f|=4}if(a.x+b.width>c.right&&e&1){a.x=Math.max(c.right-b.width,c.left);f|=1}if(e&2)f|=(a.x<c.left?16:0)|(a.x+b.width>c.right?32:0);if(a.y<c.top&&e&4){a.y=c.top;f|=2}if(a.y>=c.top&&a.y+b.height>c.bottom&&e&32){b.height-=a.y+b.height-c.bottom;f|=8}if(a.y+b.height>c.bottom&&e&4){a.y=Math.max(c.bottom-b.height,c.top);f|=2}if(e&8)f|=(a.y<
c.top?64:0)|(a.y+b.height>c.bottom?128:0);return f},ri=function(){};ri.prototype.Ia=function(){};var si=function(a,b){this.Ea=a;this.Eh=b};A(si,ri);si.prototype.Ia=function(a,b,c){pi(this.Ea,this.Eh,a,b,undefined,c)};var ti=function(a,b,c){si.call(this,a,b);this.gD=c};A(ti,si);ti.prototype.Ia=function(a,b,c,e){var f=pi(this.Ea,this.Eh,a,b,j,c,10,e)&496;if(f)if(f=pi(this.Ea,b,a,this.Eh,j,c,10,e)&496)this.gD?pi(this.Ea,this.Eh,a,b,j,c,5,e):pi(this.Ea,this.Eh,a,b,j,c,0,e)};
var ui=function(a,b,c,e){ti.call(this,a,b,c);this.Wr=e};A(ui,ti);ui.prototype.Ia=function(a,b,c,e){this.Wr?pi(this.Ea,this.Eh,a,b,j,c,33,e):ui.f.Ia.call(this,a,b,c,e)};var vi=function(){Mh.call(this)};A(vi,Mh);Ga(vi);if(E)vi.prototype.Xd=function(a,b){var c=vi.f.Ta.call(this,a&&a.firstChild);c&&$c(this.createCaption(b,I(a)),c)};vi.prototype.Ta=function(a){var b=vi.f.Ta.call(this,a&&a.firstChild);if(E&&b&&b.__goog_wrapper_div)b=b.firstChild;return b};
vi.prototype.wa=function(a,b){var c=Mc("*","goog-menu",b)[0];if(c){R(c,k);var e=H(c).body;e.appendChild(c);var f=new mi;f.wa(c);a.oh(f)}return vi.f.wa.call(this,a,b)};vi.prototype.Ml=function(a,b){return vi.f.Ml.call(this,[this.createCaption(a,b),this.Nl(b)],b)};vi.prototype.createCaption=function(a,b){return wi(a,this.R(),b)};var wi=function(a,b,c){var e={"class":"goog-inline-block "+b+"-caption"};if(zg&&yg(a)){e.__goog_wrapper_div=i;return c.e("div",e,Uc("div",j,a))}else return c.e("div",e,a)};
vi.prototype.Nl=function(a){return a.e("div","goog-inline-block "+this.R()+"-dropdown","\u00a0")};vi.prototype.R=function(){return"goog-menu-button"};var xi=function(a,b,c,e){Lh.call(this,a,c||vi.Ka(),e);this.Dc(64,i);b&&this.oh(b);this.Xa=new Kg(500)};A(xi,Lh);p=xi.prototype;p.hD=i;p.es=k;p.gJ=k;p.gb=function(){xi.f.gb.call(this);this.fa&&this.ul(this.fa,i);lh(this.b(),"haspopup","true")};
p.gd=function(){xi.f.gd.call(this);if(this.fa){this.Va(k);this.fa.gd();this.ul(this.fa,k);var a=this.fa.b();a&&L(a)}};p.o=function(){xi.f.o.call(this);if(this.fa){this.fa.p();delete this.fa}this.Xa.p()};p.Xe=function(a){xi.f.Xe.call(this,a);if(this.Ld()){this.Va(!this.isOpen());this.fa&&this.fa.ph(this.isOpen())}};p.Vj=function(a){xi.f.Vj.call(this,a);this.fa&&!this.Ld()&&this.fa.ph(k)};p.jf=function(){this.setActive(k);return i};p.QH=function(a){this.fa&&this.fa.Oa()&&!this.yg(a.target)&&this.Va(k)};
p.yg=function(a){return a&&ed(this.b(),a)||this.fa&&this.fa.yg(a)||k};p.ji=function(a){var b=a.keyCode==32?"keyup":"key";if(a.type!=b)return k;if(this.fa&&this.fa.Oa()){var c=this.fa.Kb(a);if(a.keyCode==27){this.Va(k);return i}return c}if(a.keyCode==40||a.keyCode==38||a.keyCode==32){this.Va(i);return i}return k};p.Sj=function(){this.Va(k)};p.fI=function(){this.Ld()||this.Va(k)};p.Lf=function(a){this.Sq()||this.Va(k);xi.f.Lf.call(this,a)};
p.ei=function(){this.fa||this.oh(new mi(this.g));return this.fa||j};p.oh=function(a){var b=this.fa;if(a!=b){if(b){this.Va(k);this.Rb()&&this.ul(b,k);delete this.fa}if(a){this.fa=a;a.us(this);a.sa(k);a.JM(this.Sq());this.Rb()&&this.ul(a,i)}}return b};p.Zc=function(a){this.ei().De(a,i)};p.zh=function(a,b){this.ei().Ri(a,b,i)};p.ci=function(a){return this.fa?this.fa.Fg(a):j};p.Ng=function(){return this.fa?this.fa.Gg():0};p.sa=function(a,b){var c=xi.f.sa.call(this,a,b);c&&!this.Oa()&&this.Va(k);return c};
p.Bc=function(a){xi.f.Bc.call(this,a);this.ka()||this.Va(k)};p.Jx=function(){return this.hD};p.Sq=function(){return this.gJ};p.SA=function(){this.Va(i)};p.Va=function(a){xi.f.Va.call(this,a);if(this.fa&&this.qe(64)==a){if(a){this.fa.Rb()||this.fa.rc();this.NB=ng(this.b());this.Yt=tg(this.b());this.lz();this.fa.Cc(-1)}else{this.setActive(k);this.fa.ph(k);if(this.qn!=j){this.qn=undefined;var b=this.fa.b();b&&rg(b,"","")}}this.fa.sa(a);this.zD(a)}};
p.lz=function(){var a=this.Jx()?5:7,b=new ui(this.b(),a,!this.es,this.es),c=this.fa.b();if(!this.fa.Oa()){c.style.visibility="hidden";R(c,i)}if(!this.qn&&this.es)this.qn=sg(c);var e=this.Jx()?4:6;b.Ia(c,e,j,this.qn);if(!this.fa.Oa()){R(c,k);c.style.visibility="visible"}};p.nn=function(){var a=tg(this.b()),b=ng(this.b()),c;{var e=this.Yt;c=e==a?i:!e||!a?k:e.left==a.left&&e.width==a.width&&e.top==a.top&&e.height==a.height}if(!c||!If(this.NB,b)){this.Yt=a;this.NB=b;this.lz()}};
p.ul=function(a,b){var c=this.ab(),e=b?c.l:c.Ya;e.call(c,a,"action",this.Sj);e.call(c,a,"highlight",this.pq);e.call(c,a,"unhighlight",this.tq)};p.pq=function(a){lh(this.b(),"activedescendant",a.target.b().id)};p.tq=function(){this.fa.ai()||lh(this.b(),"activedescendant","")};p.zD=function(a){var b=this.ab(),c=a?b.l:b.Ya;c.call(b,this.g.D(),"mousedown",this.QH,i);this.Sq()&&c.call(b,this.fa,"blur",this.fI);c.call(b,this.Xa,"tick",this.nn);a?this.Xa.start():this.Xa.stop()};Fh("goog-menu-button",function(){return new xi(j)});
var yi=function(){bi.call(this)};A(yi,bi);Ga(yi);p=yi.prototype;p.e=function(a){var b=this.Re(a),c={"class":"goog-inline-block "+b.join(" "),title:a.Ve()||""};return a.g.e("div",c,[this.createCaption(a.Nc(),a.g),this.Nl(a.g)])};p.Ta=function(a){return a&&a.firstChild};p.wa=function(a,b){var c=Mc("*","goog-menu",b)[0];if(c){R(c,k);a.g.D().body.appendChild(c);var e=new mi;e.wa(c);a.oh(e)}b.appendChild(this.createCaption(b.childNodes,a.g));b.appendChild(this.Nl(a.g));return yi.f.wa.call(this,a,b)};
p.createCaption=function(a,b){return b.e("div","goog-inline-block "+this.R()+"-caption",a)};p.Nl=function(a){return a.e("div","goog-inline-block "+this.R()+"-dropdown","\u00a0")};p.R=function(){return"goog-flat-menu-button"};Fh("goog-flat-menu-button",function(){return new xi(j,j,yi.Ka())});var zi=function(a){Q.call(this);this.cb=[];this.vo(a)};A(zi,Q);p=zi.prototype;p.mh=j;p.nh=j;p.KN=function(a){this.nh=a};p.Ng=function(){return this.cb.length};p.KI=function(a){return a?Sa(this.cb,a):-1};
p.ci=function(a){return this.cb[a]||j};p.vo=function(a){if(a){B(a,function(b){this.Bi(b,k)},this);bb(this.cb,a)}};p.Zc=function(a){this.zh(a,this.Ng())};p.zh=function(a,b){if(a){this.Bi(a,k);db(this.cb,b,0,a)}};p.If=function(){return this.mh};p.Yd=function(a){if(a!=this.mh){this.Bi(this.mh,k);this.mh=a;this.Bi(a,i)}this.dispatchEvent("select")};p.Hf=function(){return this.KI(this.mh)};p.pf=function(a){this.Yd(this.ci(a))};p.clear=function(){Ya(this.cb);this.mh=j};
p.o=function(){zi.f.o.call(this);delete this.cb;this.mh=j};p.Bi=function(a,b){if(a)if(typeof this.nh=="function")this.nh(a,b);else typeof a.of=="function"&&a.of(b)};var Ai=function(a,b,c,e){xi.call(this,a,b,c,e);this.Di(a)};A(Ai,xi);p=Ai.prototype;p.ea=j;p.dp=j;p.gb=function(){Ai.f.gb.call(this);this.dt()};p.ce=function(a){Ai.f.ce.call(this,a);var b=this.xj();b?this.Di(b):this.pf(0)};p.o=function(){Ai.f.o.call(this);if(this.ea){this.ea.p();this.ea=j}this.dp=j};
p.Sj=function(a){this.Yd(a.target);Ai.f.Sj.call(this,a);a.stopPropagation();this.dispatchEvent("action")};p.Wj=function(){var a=this.If();Ai.f.Wa.call(this,a&&a.da());this.dt()};p.oh=function(a){var b=Ai.f.oh.call(this,a);if(a!=b){this.ea&&this.ea.clear();if(a)this.ea?this.ea.vo(a.di()):this.Vo(a.di())}return b};p.Di=function(a){this.dp=a;this.dt()};p.Zc=function(a){Ai.f.Zc.call(this,a);this.ea?this.ea.Zc(a):this.Vo(this.ei().di())};
p.zh=function(a,b){Ai.f.zh.call(this,a,b);this.ea?this.ea.zh(a,b):this.Vo(this.ei().di())};p.Yd=function(a){this.ea&&this.ea.Yd(a)};p.pf=function(a){this.ea&&this.Yd(this.ea.ci(a))};p.Wa=function(a){if(a!=j&&this.ea)for(var b=0,c;c=this.ea.ci(b);b++)if(c&&typeof c.da=="function"&&c.da()==a){this.Yd(c);return}this.Yd(j)};p.If=function(){return this.ea?this.ea.If():j};p.Hf=function(){return this.ea?this.ea.Hf():-1};p.Vo=function(a){this.ea=new zi(a);this.ab().l(this.ea,"select",this.Wj)};
p.dt=function(){var a=this.If();this.Xd(a?a.xj():this.dp)};p.Va=function(a){Ai.f.Va.call(this,a);this.isOpen()&&this.ei().Cc(this.Hf())};Fh("goog-select",function(){return new Ai(j)});var Bi=function(a,b,c){ji.call(this,a,b,c);this.zs(i)};A(Bi,ji);Bi.prototype.jf=function(){return this.dispatchEvent("action")};Fh("goog-option",function(){return new Bi(j)});var Ci=function(a,b){this.wf=a instanceof fb?a:new fb(a,b)};A(Ci,ri);Ci.prototype.Ia=function(a,b,c,e){oi(this.wf,a,b,c,j,j,e)};
var Di=function(a,b){this.wf=a instanceof fb?a:new fb(a,b)};A(Di,ri);Di.prototype.Ia=function(a,b,c,e){var f=ig(a),g=new fb(this.wf.x+f.scrollLeft,this.wf.y+f.scrollTop);pi(f,0,a,b,g,c,j,e)};var Ei=function(a,b){Di.call(this,a,b)};A(Ei,Di);
Ei.prototype.Ia=function(a,b,c,e){var f=ig(a),g=ng(f),h=I(a).Xv(),l=new fb(this.wf.x+h.scrollLeft,this.wf.y+h.scrollTop),m=10,n=b,o=oi(l,a,n,c,g,m,e);if(!((o&496)==0)){if(o&16||o&32)n=n^2;if(o&64||o&128)n=n^1;o=oi(l,a,n,c,g,m,e);(o&496)==0||oi(l,a,b,c,g,undefined,e)}};var Fi=function(a,b){this.wf=a instanceof fb?a:new fb(a,b)};A(Fi,ri);Fi.prototype.Ia=function(a,b,c,e){pi(ig(a),0,a,b,this.wf,c,j,e)};var Gi=function(a,b){this.jb=new nh(this);this.eN(a||j);b&&this.WN(b)};A(Gi,Q);p=Gi.prototype;
p.q=j;p.Pt=i;p.Ot=j;p.Od=k;p.jO=k;p.ay=-1;p.fr=-1;p.yI=k;p.vF=i;p.xd="toggle_display";p.Na=function(){return this.xd};p.WN=function(a){this.xd=a};p.b=function(){return this.q};p.eN=function(a){this.lv();this.q=a};p.SM=function(a){this.lv();this.Pt=a};p.lv=function(){if(this.Od)d(Error("Can not change this state of the popup while showing."))};p.Oa=function(){return this.Od};p.qJ=function(){return this.Od||x()-this.fr<150};p.sa=function(a){a?this.Fs():this.Im()};p.Ia=function(){};
p.Fs=function(){if(!this.Od)if(this.vK()){if(!this.q)d(Error("Caller must call setElement before trying to show the popup"));this.Ia();var a=H(this.q);this.yI&&this.jb.l(a,"keydown",this.AK,i);if(this.Pt){this.jb.l(a,"mousedown",this.Jy,i);if(D){for(var b=a.activeElement;b&&b.nodeName=="IFRAME";){try{var c=jd(b)}catch(e){break}a=c;b=a.activeElement}this.jb.l(a,"mousedown",this.Jy,i);this.jb.l(a,"deactivate",this.Iy)}else this.jb.l(a,"blur",this.Iy)}if(this.xd=="toggle_display")this.rO();else this.xd==
"move_offscreen"&&this.Ia();this.Od=i;this.TK()}};p.Im=function(a){if(!this.Od||!this.uK(a))return k;this.jb&&this.jb.Xc();if(this.xd=="toggle_display")this.jO?Mg(this.ix,0,this):this.ix();else this.xd=="move_offscreen"&&this.jK();this.Od=k;this.FK(a);return i};p.rO=function(){this.q.style.visibility="visible";R(this.q,i)};p.ix=function(){this.q.style.visibility="hidden";R(this.q,k)};p.jK=function(){this.q.style.left="-200px";this.q.style.top="-200px"};p.vK=function(){return this.dispatchEvent("beforeshow")};
p.TK=function(){this.ay=x();this.fr=-1;this.dispatchEvent("show")};p.uK=function(a){return this.dispatchEvent({type:"beforehide",target:a})};p.FK=function(a){this.fr=x();this.dispatchEvent({type:"hide",target:a})};p.Jy=function(a){var b=a.target;if(!ed(this.q,b)&&(!this.Ot||ed(this.Ot,b))&&!this.OA())this.Im(b)};p.AK=function(a){if(a.keyCode==27)if(this.Im(a.target)){a.preventDefault();a.stopPropagation()}};
p.Iy=function(a){if(this.vF){var b=H(this.q);if(D||C){var c=b.activeElement;if(c&&ed(this.q,c))return}else if(a.target!=b)return;this.OA()||this.Im()}};p.OA=function(){return x()-this.ay<150};p.o=function(){Gi.f.o.call(this);this.jb.p();delete this.q;delete this.jb};var Hi=function(a,b){this.kz=4;this.Nr=b||undefined;Gi.call(this,a)};A(Hi,Gi);var Ii=ni;Hi.prototype.zN=function(a){this.kz=a;this.Od&&this.Ia()};Hi.prototype.setPosition=function(a){this.Nr=a||undefined;this.Od&&this.Ia()};
Hi.prototype.qN=function(a,b,c,e){this.UJ=a==j||a instanceof Hf?a:new Hf(a,b,c,e);this.Od&&this.Ia()};Hi.prototype.Ia=function(){if(this.Nr){var a=!this.Od&&this.Na()!="move_offscreen",b=this.q;if(a){this.q.style.visibility="hidden";R(b,i)}this.Nr.Ia(b,this.kz,this.UJ);a&&R(b,k)}};
var Ji=si,Ki=function(a,b,c,e,f,g,h){Vh.call(this,f,g,h);this.TN(a);this.Xd(b+"<br><br>");this.Ee=c;this.ep=e!==undefined?e:"";N(this,"dialogselect",this.Uy);var l=z("OK"),m=z("Cancel"),n=new Wh(h);n.w("ok",l,i);n.w("cancel",m,k,i);this.XM(n)};A(Ki,Vh);p=Ki.prototype;p.Ee=s;p.ep="";p.Yc=j;p.Oq=k;p.eb=1;p.Il=0;
p.e=function(){Ki.f.e.call(this);var a=this.mG(),b={className:a+"-userInput",value:this.ep};if(this.eb==1){this.Yc=this.g.e("input",b);this.Yc.type="text";if(this.Il)this.Yc.size=this.Il}else{this.Yc=this.g.e("textarea",b);this.Yc.rows=this.eb;if(this.Il)this.Yc.cols=this.Il}var c=this.Ta();c.appendChild(this.g.e("div",{style:"overflow: auto"},this.Yc));this.eb>1&&this.Vh().dN(j)};p.sa=function(a){Vh.prototype.sa.call(this,a);if(a){this.Oq=k;this.Yc.value=this.ep;C&&this.Yc.focus();this.Yc.select()}};
p.Uy=function(a){if(!this.Oq){this.Oq=i;a.Sc=="ok"?Mg(w(this.Ee,this,this.Yc.value),1):Mg(w(this.Ee,this,j),1)}};p.o=function(){L(this.Yc);zf(this,"dialogselect",this.Uy,i,this);Ki.f.o.call(this);this.Yc=this.BQ=j};var Li=function(a,b,c){Lh.call(this,a,b||Mh.Ka(),c);this.Dc(16,i)};A(Li,Lh);Fh("goog-toggle-button",function(){return new Li(j)});
var Mi=function(a,b,c){Q.call(this);this.qy=a;this.nh=c;this.N=b;N(b,["hilite","select","canceldismiss","dismiss"],this);this.Ae=j;this.eb=[];this.kd=-1;this.je=0;this.Ag=this.gc=j};A(Mi,Q);p=Mi.prototype;p.bK=10;p.Qt=i;p.Ht=k;p.cP=k;p.handleEvent=function(a){if(a.target==this.N)switch(a.type){case "hilite":this.Mf(a.Gn);break;case "select":this.Mn();break;case "canceldismiss":this.Go();break;case "dismiss":this.gp();break}};p.TM=function(a){this.Qt=a};p.KM=function(a){this.Ht=a};
p.UN=function(a,b){if(!(this.Ae==a)){this.Ae=a;this.qy.Gz(this.Ae,this.bK,w(this.YJ,this),b);this.Go()}};p.rH=function(){return this.gc};p.RN=function(a){this.gc=a};p.isOpen=function(){return this.N.Oa()};p.lx=function(){if(this.kd>=this.je&&this.kd<this.je+this.eb.length-1){this.Mf(this.kd+1);return i}else if(this.kd==-1){this.Mf(this.je);return i}return k};p.mx=function(){if(this.kd>this.je){this.Mf(this.kd-1);return i}else this.Ht&&this.kd==this.je&&this.Mf(-1);return k};
p.Mf=function(a){this.kd=a;this.N.Mf(a);return this.Tp(a)!=-1};p.Mn=function(){var a=this.Tp(this.kd);if(a!=-1){var b=this.eb[a],c=this.nh.eA(b);this.xf();if(!c){this.dispatchEvent({type:"update",Gn:b});this.cP&&this.nh.Li(i)}return i}else{this.xf();this.dispatchEvent({type:"update",Gn:j});return k}};p.xf=function(){this.kd=-1;this.Ae=j;this.je+=this.eb.length;this.eb=[];window.clearTimeout(this.Ag);this.Ag=j;this.N.xf()};p.gp=function(){if(!this.Ag)this.Ag=window.setTimeout(w(this.xf,this),100)};
p.Go=function(){window.setTimeout(w(function(){if(this.Ag){window.clearTimeout(this.Ag);this.Ag=j}},this),10)};p.o=function(){Mi.f.o.call(this);this.N.p();this.nh.p();this.qy=j};p.YJ=function(a,b,c){if(!(this.Ae!=a)){var e=c?this.Tp(this.kd):j;this.je+=this.eb.length;this.eb=b;for(var f=[],g=0;g<b.length;++g)f.push({id:this.gw(g),data:b[g]});this.N.QL(f,this.Ae,this.gc);if(this.Qt&&f.length!=0){var h=e!=j?this.gw(e):this.je;this.Mf(h)}else this.kd=-1}};
p.Tp=function(a){var b=a-this.je;if(b<0||b>=this.eb.length)return-1;return b};p.gw=function(a){return this.je+a};var Ni=function(a,b){this.eb=a;this.tP=!b};Ni.prototype.Gz=function(a,b,c){var e=this.dH(a,b);if(e.length==0&&this.tP)e=this.oH(a,b);c(a,e)};Ni.prototype.dH=function(a,b){var c=[];if(a!=""){var e=Vb(a),f=new RegExp("(^|\\W+)"+e,"i");Id(this.eb,function(g){String(g).match(f)&&c.push(g);return c.length>=b})}return c};
Ni.prototype.oH=function(a,b){var c=[];Gd(this.eb,function(g,h){var l=a.toLowerCase(),m=String(g).toLowerCase(),n=0;if(m.indexOf(l)!=-1)n=parseInt((m.indexOf(l)/4).toString(),10);else for(var o=l.split(""),r=-1,t=10,y=0,K;K=o[y];y++){var P=m.indexOf(K);if(P>r){var Y=P-r-1;if(Y>t-5)Y=t-5;n+=Y;r=P}else{n+=t;t+=5}}n<l.length*6&&c.push({FO:g,aA:n,index:h})});c.sort(function(g,h){var l=g.aA-h.aA;if(l!=0)return l;return g.index-h.index});for(var e=[],f=0;f<b&&f<c.length;f++)e.push(c[f].FO);return e};
var Oi=function(a,b,c,e){bf.call(this);var f=e||150;this.MN(a!=j?a:",;");this.gy=b||"";this.oL=this.ti=c!=j?c:i;this.Xa=f>0?new Kg(f):j;this.$b=new nh(this);this.ml=new nh(this);this.oa=new wh;this.Zx=-1};A(Oi,bf);p=Oi.prototype;p.zP=i;p.bG=i;p.KB=k;p.EM=i;p.DM=i;p.fb=j;p.hr="";p.rg=k;p.$r=k;p.kP=i;p.Kt=function(a){this.mb=a};p.xD=function(a){lh(a,"haspopup",i);this.$b.l(a,"focus",this.ln);this.$b.l(a,"blur",this.wK);this.fb||this.ml.l(a,"keydown",this.HK)};p.Mt=function(){for(var a=0;a<arguments.length;a++)this.xD(arguments[a])};
p.eA=function(a,b){var c=this.mb.rH();if(b!==undefined?b:this.ti){var e=af(c),f=this.Hw(c.value,e),g=this.Is(c.value),h=a.toString();this.CM.test(h)||(h=Fb(h)+this.ZE);if(this.zP){if(f!=0&&!zb(g[f-1]))h=" "+h;if(f<g.length&&!zb(g[f+1]))h=h+" "}if(h!=g[f]){g[f]=h;c.value=g.join("");for(var l=0,m=0;m<=f;m++)l+=g[m].length;c.focus();var n=l;if(Ze(c))c.selectionStart=n;else if(D){var o=$e(c),r=o[0],t=o[1];if(r.inRange(t)){if(c.type=="textarea"){var y=c.value.substring(0,n);n=Cb(y).length}r.collapse(i);
r.move("character",n);r.select()}}var K=l;if(Ze(c))c.selectionEnd=K;else if(D){var P=$e(c),Y=P[0],$=P[1];if(Y.inRange($)){var ha=af(c);if(c.type=="textarea"){var xa=c.value.substring(0,K);K=Cb(xa).length;var sa=c.value.substring(0,ha);ha=Cb(sa).length}$.collapse(i);$.moveEnd("character",K-ha);$.select()}}}}else c.value=a.toString();this.$r=i;return k};p.o=function(){Oi.f.o.call(this);this.$b.p();delete this.$b;this.ml.p();this.ml=j};
p.MN=function(a){this.Jk=a;this.ZE=this.Jk.substring(0,1);var b=this.ti?"[\\s"+this.Jk+"]+":"[\\s]+";this.DB=new RegExp("^"+b+"|"+b+"$","g");this.CM=new RegExp("\\s*["+this.Jk+"]$")};
p.Kb=function(a){switch(a.keyCode){case 40:if(this.mb.isOpen()){this.rr();a.preventDefault();return i}else if(!this.ti){this.Li(i);a.preventDefault();return i}break;case 38:if(this.mb.isOpen()){this.sr();a.preventDefault();return i}break;case 9:this.Li();if(this.mb.Mn()&&this.oL){a.preventDefault();return i}break;case 13:this.Li();if(this.mb.Mn()){a.preventDefault();return i}break;case 27:if(this.mb.isOpen()){this.mb.xf();return i}break;case 229:if(!this.rg){this.BO();return i}break;default:if(this.Xa&&
!this.kP){this.Xa.stop();this.Xa.start()}}return this.bx(a)};p.bx=function(a){var b=this.ti&&a.charCode&&this.Jk.indexOf(String.fromCharCode(a.charCode))!=-1;this.EM&&b&&this.Li();if(this.DM&&b)if(this.mb.Mn()){a.preventDefault();return i}return k};p.mK=function(){return k};p.Dm=function(){return k};p.XC=function(){this.oa.zo(this.fb);this.$b.l(this.oa,"key",this.Ry);this.mK()&&this.$b.l(this.fb,"keyup",this.Dm);D&&this.$b.l(this.fb,"keypress",this.My)};
p.OL=function(){this.$b.Ya(this.oa,"key",this.Ry);this.oa.detach();this.$b.Ya(this.fb,"keyup",this.Dm);D&&this.$b.Ya(this.fb,"keypress",this.My);this.rg&&this.Ss()};p.ln=function(a){this.ml.Xc();this.mb&&this.mb.Go();if(a.target!=this.fb){this.fb=a.target||j;if(this.Xa){this.Xa.start();this.$b.l(this.Xa,"tick",this.nn)}this.hr=this.fb.value;this.XC()}};p.wK=function(){if(this.fb){this.OL();this.fb=j;if(this.Xa){this.Xa.stop();this.$b.Ya(this.Xa,"tick",this.nn)}this.mb&&this.mb.gp()}};p.nn=function(){this.Li()};
p.HK=function(a){this.ln(a)};p.Ry=function(a){this.Zx=a.keyCode;this.mb&&this.Kb(a)};p.Py=function(){this.rg&&this.Zx!=229&&this.Ss()};p.Qy=function(a){if(this.rg&&(a.keyCode==13||a.keyCode==77&&a.ctrlKey))this.Ss()};p.BO=function(){if(!this.rg){this.$b.l(this.fb,"keyup",this.Qy);this.$b.l(this.fb,"keypress",this.Py);this.rg=i}};p.Ss=function(){if(this.rg){this.rg=k;this.$b.Ya(this.fb,"keypress",this.Py);this.$b.Ya(this.fb,"keyup",this.Qy)}};p.My=function(a){this.bx(a)};
p.Li=function(a){if(a||this.fb&&this.fb.value!=this.hr){if(a||!this.$r){var b=this.hL();if(this.mb){this.mb.RN(this.fb);this.mb.UN(b,this.fb.value)}}this.hr=this.fb.value}this.$r=k};p.sr=function(){return this.KB?this.mb.lx():this.mb.mx()};p.rr=function(){return this.KB?this.mb.mx():this.mb.lx()};p.hL=function(){var a=af(this.fb),b=this.fb.value;return this.dP(this.Is(b)[this.Hw(b,a)])};p.dP=function(a){return this.DB?String(a).replace(this.DB,""):a};
p.Hw=function(a,b){var c=this.Is(a);if(b==a.length)return c.length-1;for(var e=0,f=0,g=0;f<c.length&&g<b;f++){g+=c[f].length;e=f}return e};p.Is=function(a){if(!this.ti)return[a];for(var b=String(a).split(""),c=[],e=[],f=0,g=k;f<b.length;f++)if(this.gy&&this.gy.indexOf(b[f])!=-1){if(this.bG&&!g){c.push(e.join(""));e.length=0}e.push(b[f]);g=!g}else if(!g&&this.Jk.indexOf(b[f])!=-1){e.push(b[f]);c.push(e.join(""));e.length=0}else e.push(b[f]);c.push(e.join(""));return c};
var Pi=function(a,b,c,e){this.db=a||document.body;this.g=I(this.db);this.UL=!a;this.q=j;this.Ae="";this.eb=[];this.cB=this.Km=-1;this.Ra=k;this.className="ac-renderer";this.Zr="ac-row";this.cy="active";this.zt="ac-active";this.EI="ac-highlighted";this.Gh=b||j;this.uP=e!=j?e:i;this.fM=c!=j?c:k;this.ar=j;this.fo=k};A(Pi,Q);var Qi=0;p=Pi.prototype;p.QL=function(a,b,c){this.Ae=b;this.eb=a;this.Km=0;this.cB=x();this.gc=c;this.Hk=[];this.Cn()};
p.xf=function(){this.gc&&mh(this.gc,j);if(this.Ra){this.Ra=k;R(this.q,k)}};p.td=function(){if(!this.Ra){this.Ra=i;R(this.q,i)}};p.Oa=function(){return this.Ra};p.nx=function(a){this.FI();this.Km=a;if(a>=0&&a<this.q.childNodes.length){var b=this.Hk[a];Dc(b,this.zt,this.cy);this.gc&&mh(this.gc,b)}};p.FI=function(){this.Km>=0&&Ec(this.Hk[this.Km],this.zt,this.cy)};p.Mf=function(a){if(a==-1)this.nx(-1);else for(var b=0;b<this.eb.length;b++)if(this.eb[b].id==a){this.nx(b);return}};
p.rN=function(a){Dc(a,this.className)};p.dK=function(){if(!this.q){var a=this.g.e("div",{style:"display:none"});this.q=a;this.rN(a);kh(a,"listbox");a.id="goog-acr-"+Qi++;if(this.gc){kh(this.gc,"combobox");lh(this.gc,"autocomplete","list");lh(this.gc,"haspopup",i)}this.g.appendChild(this.db,a);N(a,"click",this.Mw,k,this);N(a,"mousedown",this.ki,k,this);N(this.g.D(),"click",this.Ow,k,this);N(a,"mouseover",this.Xw,k,this)}};
p.Cn=function(){this.dK();if(this.fo)this.q.style.visibility="hidden";this.Hk.length=0;this.g.zz(this.q);if(this.Gh&&this.Gh.rc)this.Gh.rc(this,this.q,this.eb,this.Ae);else{var a=j;Gd(this.eb,function(b){b=this.Ez(b,this.Ae);this.fo?this.q.insertBefore(b,a):this.g.appendChild(this.q,b);a=b},this)}if(this.eb.length==0)this.xf();else{this.td();this.pL(this.q);this.Ia();Cg(this.q,i)}};
p.Ia=function(){if(this.gc&&this.UL){var a=lg(this.gc),b=sg(this.gc),c=sg(ig(this.gc)),e=sg(this.q);a.y=this.fo?a.y-e.height:a.y+b.height;if((this.fM||a.x+e.width>c.width)&&this.ar!="LEFT"){a.x=a.x+b.width-e.width;this.ar="RIGHT"}else this.ar="LEFT";qg(this.q,a);if(this.fo)this.q.style.visibility="visible"}};
p.o=function(){Pi.f.o.call(this);if(this.q){zf(this.q,"click",this.Mw,k,this);zf(this.q,"mousedown",this.ki,k,this);zf(this.g.D(),"click",this.Ow,k,this);zf(this.q,"mouseover",this.Xw,k,this);this.g.removeNode(this.q);this.q=j;this.Ra=k}delete this.db};p.pL=function(a){if(E&&rc){a.style.width="";a.style.overflow="visible";a.style.width=a.offsetWidth;a.style.overflow="auto"}};p.PL=function(a,b,c){c.innerHTML=Pb(a.data.toString())};
p.zq=function(a,b){if(a.nodeType==3){var c,e=j;if(u(b)){c=b.length>0?b[0]:"";if(b.length>1)e=cb(b,1)}else c=b;if(!(c.length==0)){var f=a.nodeValue;c=Vb(c);for(var g=new RegExp("(.*?)(^|\\W+)("+c+")","gi"),h=[],l=0,m=g.exec(f);m;){h.push(m[1]);h.push(m[2]);h.push(m[3]);l=g.lastIndex;m=g.exec(f)}h.push(f.substring(l));if(h.length>1){a.nodeValue=h[0]+h[1];var n=this.g.createElement("b");n.className=this.EI;this.g.appendChild(n,this.g.createTextNode(h[2]));n=a.parentNode.insertBefore(n,a.nextSibling);
for(var o=h.length-1;o>=3;o--)a.parentNode.insertBefore(this.g.createTextNode(h[o]),n.nextSibling)}else e&&this.zq(a,e)}}else for(var r=a.firstChild;r;){var t=r.nextSibling;this.zq(r,b);r=t}};p.Ez=function(a,b){var c=this.g.e("div",{className:this.Zr,id:"goog-acri-"+Qi++});kh(c,"option");this.Gh&&this.Gh.Dz?this.Gh.Dz(a,b,c):this.PL(a,b,c);b&&this.uP&&this.zq(c,b);Dc(c,this.Zr);this.Hk.push(c);return c};p.Bw=function(a){for(;a&&a!=this.q&&!Fc(a,this.Zr);)a=a.parentNode;return a?Sa(this.Hk,a):-1};
p.Mw=function(a){var b=this.Bw(a.target);b>=0&&this.dispatchEvent({type:"select",Gn:this.eb[b].id});a.stopPropagation()};p.ki=function(a){this.dispatchEvent("canceldismiss");a.stopPropagation();a.preventDefault()};p.Ow=function(){this.dispatchEvent("dismiss")};p.Xw=function(a){var b=this.Bw(a.target);if(b>=0)x()-this.cB<300||this.dispatchEvent({type:"hilite",Gn:this.eb[b].id})};var Ri=function(){};Ri.prototype.rc=function(){};
var Si=function(a,b,c,e){var f=new Ni(a,!e),g=new Pi,h=new Oi(j,j,!!c);Mi.call(this,f,g,h);h.Kt(this);h.Mt(b)};A(Si,Mi);var Ti,Ui,Vi="ScriptEngine"in q;Ui=(Ti=Vi&&q.ScriptEngine()=="JScript")?q.ScriptEngineMajorVersion()+"."+q.ScriptEngineMinorVersion()+"."+q.ScriptEngineBuildVersion():"0";var Wi=function(a){this.ae=Ti?[]:"";a!=j&&this.C.apply(this,arguments)};Wi.prototype.w=function(a){this.clear();this.C(a)};
if(Ti){Wi.prototype.Do=0;Wi.prototype.C=function(a,b){if(b==j)this.ae[this.Do++]=a;else{this.ae.push.apply(this.ae,arguments);this.Do=this.ae.length}return this}}else Wi.prototype.C=function(a,b){this.ae+=a;if(b!=j)for(var c=1;c<arguments.length;c++)this.ae+=arguments[c];return this};Wi.prototype.clear=function(){if(Ti)this.Do=this.ae.length=0;else this.ae=""};Wi.prototype.toString=function(){if(Ti){var a=this.ae.join("");this.clear();a&&this.C(a);return a}else return this.ae};
var Xi=function(a){this.or=a||100;this.tf=[]};p=Xi.prototype;p.wk=0;p.add=function(a){this.tf[this.wk]=a;this.wk=(this.wk+1)%this.or};p.t=function(a){a=this.Dy(a);return this.tf[a]};p.w=function(a,b){a=this.Dy(a);this.tf[a]=b};p.la=function(){return this.tf.length};p.qc=function(){return this.tf.length==0};p.clear=function(){this.wk=this.tf.length=0};p.oc=function(){return this.VG(this.la())};p.VG=function(a){for(var b=this.la(),c=this.la()-a,e=[],f=c;f<b;f++)e[f]=this.t(f);return e};
p.mc=function(){for(var a=[],b=this.la(),c=0;c<b;c++)a[c]=c;return a};p.Cd=function(a){return a<this.la()};p.$i=function(a){for(var b=this.la(),c=0;c<b;c++)if(this.t(c)==a)return i;return k};p.Dy=function(a){if(a>=this.tf.length)d(Error("Out of bounds exception"));if(this.tf.length<this.or)return a;return(this.wk+Number(a))%this.or};
var Yi=/\s*;\s*/,Zi=function(a,b,c,e,f){if(/[;=]/.test(a))d(Error('Invalid cookie name "'+a+'"'));if(/;/.test(b))d(Error('Invalid cookie value "'+b+'"'));c!==undefined||(c=-1);var g=f?";domain="+f:"",h=e?";path="+e:"",l;if(c<0)l="";else if(c==0){var m=new Date(1970,1,1);l=";expires="+m.toUTCString()}else{var n=new Date((new Date).getTime()+c*1000);l=";expires="+n.toUTCString()}document.cookie=a+"="+b+g+h+l},$i=function(a,b){for(var c=a+"=",e=String(document.cookie).split(Yi),f=0,g;g=e[f];f++)if(g.indexOf(c)==
0)return g.substr(c.length);return b},aj=function(){};aj.prototype.hA=function(a){var b=[];this.js(a,b);return b.join("")};aj.prototype.js=function(a,b){switch(typeof a){case "string":this.iA(a,b);break;case "number":this.GM(a,b);break;case "boolean":b.push(a);break;case "undefined":b.push("null");break;case "object":if(a==j){b.push("null");break}if(u(a)){this.FM(a,b);break}this.HM(a,b);break;case "function":break;default:d(Error("Unknown type: "+typeof a))}};
var bj={'"':'\\"',"\\":"\\\\","/":"\\/","\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\u000b":"\\u000b"},cj=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;aj.prototype.iA=function(a,b){b.push('"',a.replace(cj,function(c){if(c in bj)return bj[c];var e=c.charCodeAt(0),f="\\u";if(e<16)f+="000";else if(e<256)f+="00";else if(e<4096)f+="0";return bj[c]=f+e.toString(16)}),'"')};aj.prototype.GM=function(a,b){b.push(isFinite(a)&&!isNaN(a)?a:"null")};
aj.prototype.FM=function(a,b){var c=a.length;b.push("[");for(var e="",f=0;f<c;f++){b.push(e);this.js(a[f],b);e=","}b.push("]")};aj.prototype.HM=function(a,b){b.push("{");var c="";for(var e in a)if(a.hasOwnProperty(e)){var f=a[e];if(typeof f!="function"){b.push(c);this.iA(e,b);b.push(":");this.js(f,b);c=","}}b.push("}")};var dj=function(){if(E){this.vf={};this.po={};this.Wn=[]}};p=dj.prototype;p.r=M("goog.net.xhrMonitor");
p.An=function(a){if(E){var b=v(a)?a:La(a)?Oa(a):"";this.r.Bp("Pushing context: "+a+" ("+b+")");this.Wn.push(b)}};p.wn=function(){if(E){var a=this.Wn.pop();this.r.Bp("Popping context: "+a);this.jP(a)}};p.ZI=function(a){if(!E)return i;var b=this.vf[v(a)?a:La(a)?Oa(a):""];this.r.hb("Context is safe : "+a+" - "+b);return!b};p.WJ=function(a){if(E){var b=Oa(a);this.r.hb("Opening XHR : "+b);for(var c=0;c<this.Wn.length;c++){var e=this.Wn[c];this.ql(this.vf,e,b);this.ql(this.po,b,e)}}};
p.VJ=function(a){if(E){var b=Oa(a);this.r.hb("Closing XHR : "+b);delete this.po[b];for(var c in this.vf){Za(this.vf[c],b);this.vf[c].length==0&&delete this.vf[c]}}};p.jP=function(a){var b=this.po[a],c=this.vf[a];if(b&&c){this.r.Bp("Updating dependent contexts");B(b,function(e){B(c,function(f){this.ql(this.vf,e,f);this.ql(this.po,f,e)},this)},this)}};p.ql=function(a,b,c){a[b]||(a[b]=[]);Xa(a[b],c)||a[b].push(c)};var ej=new dj,fj=function(){Q.call(this);this.headers=new Pd};A(fj,Q);fj.prototype.r=M("goog.net.XhrIo");
var gj=[],ij=function(a,b,c,e,f,g){var h=new fj;gj.push(h);b&&N(h,"complete",b);N(h,"ready",Qa(hj,h));g&&h.DA(g);h.send(a,c,e,f)},jj=function(){for(var a=gj;a.length;)a.pop().p()},kj=function(a,b){fj.prototype.Ar=a.WQ(fj.prototype.Ar,b)},hj=function(a){a.p();Za(gj,a)};p=fj.prototype;p.sb=k;p.Aa=j;p.oo=j;p.df="";p.$x="";p.Tc=0;p.kk="";p.sp=k;p.Nm=k;p.Gq=k;p.Ug=k;p.th=0;p.og=j;p.DA=function(a){this.th=Math.max(0,a)};
p.send=function(a,b,c,e){if(this.sb)d(Error("[goog.net.XhrIo] Object is active with another request"));var f=b||"GET";this.df=a;this.kk="";this.Tc=0;this.$x=f;this.sp=k;this.sb=i;this.Aa=new wd;this.oo=yd||(yd=xd());ej.WJ(this.Aa);this.Aa.onreadystatechange=w(this.mn,this);try{this.r.hb(this.Qe("Opening Xhr"));this.Gq=i;this.Aa.open(f,a,i);this.Gq=k}catch(g){this.r.hb(this.Qe("Error opening Xhr: "+g.message));this.Oh(5,g);return}var h=c||"",l=this.headers.W();e&&Nd(e,function(n,o){l.w(o,n)});f=="POST"&&
!l.Cd("Content-Type")&&l.w("Content-Type","application/x-www-form-urlencoded;charset=utf-8");Nd(l,function(n,o){this.Aa.setRequestHeader(o,n)},this);try{if(this.og){Jg.clearTimeout(this.og);this.og=j}if(this.th>0){this.r.hb(this.Qe("Will abort after "+this.th+"ms if incomplete"));this.og=Jg.setTimeout(w(this.Ys,this),this.th)}this.r.hb(this.Qe("Sending request"));this.Nm=i;this.Aa.send(h);this.Nm=k}catch(m){this.r.hb(this.Qe("Send error: "+m.message));this.Oh(5,m)}};
p.dispatchEvent=function(a){if(this.Aa){ej.An(this.Aa);try{fj.f.dispatchEvent.call(this,a)}finally{ej.wn()}}else fj.f.dispatchEvent.call(this,a)};p.Ys=function(){if(!(typeof Da=="undefined"))if(this.Aa){this.kk="Timed out after "+this.th+"ms, aborting";this.Tc=8;this.r.hb(this.Qe(this.kk));this.dispatchEvent("timeout");this.abort(8)}};p.Oh=function(a,b){this.sb=k;if(this.Aa){this.Ug=i;this.Aa.abort();this.Ug=k}this.kk=b;this.Tc=a;this.Tu();this.El()};
p.Tu=function(){if(!this.sp){this.sp=i;this.dispatchEvent("complete");this.dispatchEvent("error")}};p.abort=function(a){if(this.Aa){this.r.hb(this.Qe("Aborting"));this.sb=k;this.Ug=i;this.Aa.abort();this.Ug=k;this.Tc=a||7;this.dispatchEvent("complete");this.dispatchEvent("abort");this.El()}};p.o=function(){if(this.Aa){if(this.sb){this.sb=k;this.Ug=i;this.Aa.abort();this.Ug=k}this.El(i)}fj.f.o.call(this)};p.mn=function(){!this.Gq&&!this.Nm&&!this.Ug?this.Ar():this.Vy()};p.Ar=function(){this.Vy()};
p.Vy=function(){if(this.sb)if(!(typeof Da=="undefined"))if(this.oo[1]&&this.Ej()==4&&this.Hd()==2)this.r.hb(this.Qe("Local request error detected and ignored"));else if(this.Nm&&this.Ej()==4)Jg.setTimeout(w(this.mn,this),0);else{this.dispatchEvent("readystatechange");if(this.Pq()){this.r.hb(this.Qe("Request complete"));this.sb=k;if(this.qi()){this.dispatchEvent("complete");this.dispatchEvent("success")}else{this.Tc=6;this.kk=this.qH()+" ["+this.Hd()+"]";this.Tu()}this.El()}}};
p.El=function(a){if(this.Aa){this.Aa.onreadystatechange=this.oo[0]?s:j;var b=this.Aa;this.oo=this.Aa=j;if(this.og){Jg.clearTimeout(this.og);this.og=j}if(!a){ej.An(b);this.dispatchEvent("ready");ej.wn()}ej.VJ(b)}};p.Ld=function(){return this.sb};p.Pq=function(){return this.Ej()==4};p.qi=function(){switch(this.Hd()){case 0:case 200:case 204:case 304:return i;default:return k}};p.Ej=function(){return this.Aa?this.Aa.readyState:0};
p.Hd=function(){try{return this.Ej()>2?this.Aa.status:-1}catch(a){this.r.lo("Can not get status: "+a.message);return-1}};p.qH=function(){try{return this.Ej()>2?this.Aa.statusText:""}catch(a){this.r.hb("Can not get status: "+a.message);return""}};p.lw=function(){return this.df};p.wm=function(){return this.Aa?this.Aa.responseText:""};p.eq=function(){return this.Aa?this.Aa.responseXML:j};p.getResponseHeader=function(a){return this.Aa&&this.Pq()?this.Aa.getResponseHeader(a):undefined};p.kw=function(){return this.Tc};
p.Qe=function(a){return a+" ["+this.$x+" "+this.df+" "+this.Hd()+"]"};var lj=fj;lj.send=ij;lj.xQ=jj;lj.XQ=kj;lj.yQ=hj;lj.UP="Content-Type";lj.aQ="application/x-www-form-urlencoded;charset=utf-8";lj.bR=gj;var mj=function(){this.xa=[]};p=mj.prototype;p.Id=0;p.lg=0;p.Vl=function(a){this.xa[this.lg++]=a};p.Hh=function(){if(this.Id==this.lg)return undefined;var a=this.xa[this.Id];delete this.xa[this.Id];this.Id++;return a};p.peek=function(){if(this.Id==this.lg)return undefined;return this.xa[this.Id]};
p.la=function(){return this.lg-this.Id};p.qc=function(){return this.lg-this.Id==0};p.clear=function(){this.lg=this.Id=this.xa.length=0};p.contains=function(a){return Xa(this.xa,a)};p.remove=function(a){var b=Sa(this.xa,a);if(b<0)return k;if(b==this.Id)this.Hh();else{Array.prototype.splice.call(this.xa,b,1).length==1;this.lg--}return i};p.oc=function(){return this.xa.slice(this.Id,this.lg)};
var nj=function(a,b){bf.call(this);this.uy=a||0;this.dh=b||10;if(this.uy>this.dh)d(Error("[goog.structs.Pool] Min can not be greater than max"));this.Pb=new mj;this.se=new ee;this.rl()};A(nj,bf);p=nj.prototype;p.Jb=function(){var a=this.KL();a&&this.se.add(a);return a};p.Td=function(a){if(this.se.remove(a)){this.ol(a);return i}return k};p.KL=function(){for(var a;this.Rp()>0;){a=this.Pb.Hh();if(this.gn(a))break;else this.rl()}if(!a&&this.la()<this.dh)a=this.Ge();return a};
p.ol=function(a){this.se.remove(a);this.gn(a)&&this.la()<this.dh?this.Pb.Vl(a):this.Ke(a)};p.rl=function(){for(var a=this.Pb;this.la()<this.uy;)a.Vl(this.Ge());for(;this.la()>this.dh&&this.Rp()>0;)this.Ke(a.Hh())};p.Ge=function(){return{}};p.Ke=function(a){if(typeof a.p=="function")a.p();else for(var b in a)a[b]=j};p.gn=function(a){if(typeof a.XD=="function")return a.XD();return i};p.contains=function(a){return this.Pb.contains(a)||this.se.contains(a)};p.la=function(){return this.Pb.la()+this.se.la()};
p.NG=function(){return this.se.la()};p.Rp=function(){return this.Pb.la()};p.qc=function(){return this.Pb.qc()&&this.se.qc()};p.o=function(){nj.f.o.call(this);if(this.NG()>0)d(Error("[goog.structs.Pool] Objects not released"));Gd(this.se,this.Ke,this);this.se.clear();delete this.se;for(var a=this.Pb;!a.qc();)this.Ke(a.Hh());delete this.Pb};var oj=function(a,b){this.Pd=a;this.tc=b};oj.prototype.Ff=function(){return this.Pd};oj.prototype.da=function(){return this.tc};
oj.prototype.W=function(){return new oj(this.Pd,this.tc)};var pj=function(a){this.Uc=[];a&&this.NI(a)};p=pj.prototype;p.Cx=function(a,b){var c=new oj(a,b),e=this.Uc;e.push(c);this.sr(e.length-1)};p.NI=function(a){var b,c;if(a instanceof pj){b=a.mc();c=a.oc();if(a.la()<=0){for(var e=this.Uc,f=0;f<b.length;f++)e.push(new oj(b[f],c[f]));return}}else{b=mb(a);c=lb(a)}for(f=0;f<b.length;f++)this.Cx(b[f],c[f])};
p.remove=function(){var a=this.Uc,b=a.length,c=a[0];if(b<=0)return undefined;else if(b==1)Ya(a);else{a[0]=a.pop();this.rr(0)}return c.da()};p.peek=function(){var a=this.Uc;if(a.length==0)return undefined;return a[0].da()};p.rr=function(a){for(var b=this.Uc,c=b.length,e=b[a];a<Math.floor(c/2);){var f=this.PG(a),g=this.iH(a),h=g<c&&b[g].Ff()<b[f].Ff()?g:f;if(b[h].Ff()>e.Ff())break;b[a]=b[h];a=h}b[a]=e};
p.sr=function(a){for(var b=this.Uc,c=b[a];a>0;){var e=this.bH(a);if(b[e].Ff()>c.Ff()){b[a]=b[e];a=e}else break}b[a]=c};p.PG=function(a){return a*2+1};p.iH=function(a){return a*2+2};p.bH=function(a){return Math.floor((a-1)/2)};p.oc=function(){for(var a=this.Uc,b=[],c=a.length,e=0;e<c;e++)b.push(a[e].da());return b};p.mc=function(){for(var a=this.Uc,b=[],c=a.length,e=0;e<c;e++)b.push(a[e].Ff());return b};p.$i=function(a){return Ua(this.Uc,function(b){return b.da()==a})};
p.Cd=function(a){return Ua(this.Uc,function(b){return b.Ff()==a})};p.W=function(){return new pj(this)};p.la=function(){return this.Uc.length};p.qc=function(){return this.Uc.length==0};p.clear=function(){Ya(this.Uc)};var qj=function(){pj.call(this)};A(qj,pj);qj.prototype.Vl=function(a,b){this.Cx(a,b)};qj.prototype.Hh=function(){return this.remove()};var rj=function(a,b){this.En=new qj;nj.call(this,a,b)};A(rj,nj);p=rj.prototype;
p.Jb=function(a,b){if(!a)return rj.f.Jb.call(this);var c=b||100;this.En.Vl(c,a);this.sq();return undefined};p.sq=function(){for(var a=this.En;a.la()>0;){var b=this.Jb();if(b){var c=a.Hh();c.apply(this,[b])}else return}};p.ol=function(a){rj.f.ol.call(this,a);this.sq()};p.rl=function(){rj.f.rl.call(this);this.sq()};p.o=function(){rj.f.o.call(this);this.En.clear();this.En=j};var sj=function(a,b,c){rj.call(this,b,c);this.xI=a};A(sj,rj);
sj.prototype.Ge=function(){var a=new fj,b=this.xI;b&&Nd(b,function(c,e){a.headers.w(e,c)});return a};sj.prototype.Ke=function(a){a.p()};sj.prototype.gn=function(a){return!a.Qq()&&!a.Ld()};
var tj=sj,uj={KC:"+undo",tC:"+redo",yh:"+link",hC:"+formatBlock",jC:"+indent",rC:"+outdent",gQ:"+removeFormat",EC:"+strikeThrough",iC:"+insertHorizontalRule",FC:"+subscript",GC:"+superscript",JC:"+underline",LC:"+unlink",ot:"+bold",qt:"+italic",gC:"+fontSize",fC:"+fontName",eC:"+foreColor",bC:"+emoticon",XB:"+backColor",qC:"+insertOrderedList",MC:"+insertUnorderedList",jQ:"+table",lC:"+justifyCenter",mC:"+justifyFull",oC:"+justifyRight",nC:"+justifyLeft",YB:"+BLOCKQUOTE",pt:"ltr",ro:"rtl",SP:"clearlorem",
pQ:"updatelorem",qQ:"usinglorem"},vj=function(){vi.call(this)};A(vj,vi);Ga(vj);vj.prototype.createCaption=function(a,b){return vj.f.createCaption.call(this,wj(a,b),b)};var wj=function(a,b){return b.e("div","goog-color-menu-button-indicator",a)};vj.prototype.Wa=function(a,b){a&&xj(this.Ta(a),b)};var xj=function(a,b){if(a&&a.firstChild){var c;try{c=Qf(b).Hm}catch(e){c=j}a.firstChild.style.borderBottomColor=c||(D?"":"transparent")}};
vj.prototype.te=function(a){this.Wa(a.b(),a.da());Dc(a.b(),"goog-color-menu-button");vj.f.te.call(this,a)};var yj=function(){th.call(this)};A(yj,th);Ga(yj);var zj=0;p=yj.prototype;p.e=function(a){var b=this.Re(a);return a.g.e("div",b?b.join(" "):j,this.xE(a.Nc(),a.Hj(),a.g))};p.xE=function(a,b,c){for(var e=[],f=0,g=0;f<b.height;f++){for(var h=[],l=0;l<b.width;l++){var m=a&&a[g++];h.push(this.Oo(m,c))}e.push(this.To(h,c))}return this.Du(e,c)};
p.Du=function(a,b){var c=b.e("table",this.R()+"-table",b.e("tbody",this.R()+"-body",a));c.cellSpacing=0;c.cellPadding=0;kh(c,"grid");return c};p.To=function(a,b){return b.e("tr",this.R()+"-row",a)};p.Oo=function(a,b){var c=b.e("td",{"class":this.R()+"-cell",id:this.R()+"-cell-"+zj++},a);kh(c,"gridcell");return c};p.Wb=function(){return k};p.wa=function(){return j};
p.Xd=function(a,b){if(a){var c=Mc("tbody",this.R()+"-body",a)[0];if(c){var e=0;B(c.rows,function(n){B(n.cells,function(o){Xc(o);if(b){var r=b[e++];r&&Wc(o,r)}})});if(e<b.length){for(var f=[],g=I(a),h=c.rows[0].cells.length;e<b.length;){var l=b[e++];f.push(this.Oo(l,g));if(f.length==h){var m=this.To(f,g);c.appendChild(m);f.length=0}}if(f.length>0){for(;f.length<h;)f.push(this.Oo("",g));m=this.To(f,g);c.appendChild(m)}}}Cg(a,i,E)}};
p.Kp=function(a,b){for(var c=a.b();b&&b.nodeType==1&&b!=c;){if(b.tagName=="TD"&&Fc(b,this.R()+"-cell"))return b.firstChild;b=b.parentNode}return j};p.jx=function(a,b,c){if(b){var e=b.parentNode;Gc(e,this.R()+"-cell-hover",c);var f=a.b().firstChild;lh(f,"activedescendent",e.id)}};p.vM=function(a,b,c){if(b){var e=b.parentNode;Gc(e,this.R()+"-cell-selected",c)}};p.R=function(){return"goog-palette"};var Aj=function(a,b,c){Ih.call(this,a,b||yj.Ka(),c)};A(Aj,Ih);p=Aj.prototype;p.ta=j;p.xb=-1;p.ea=j;
p.o=function(){Aj.f.o.call(this);if(this.ea){this.ea.p();this.ea=j}this.ta=j};p.Ci=function(a){Aj.f.Ci.call(this,a);this.Ft();if(this.ea){this.ea.clear();this.ea.vo(a)}else{this.ea=new zi(a);this.ea.KN(w(this.Bi,this));this.ab().l(this.ea,"select",this.Wj)}this.xb=-1};p.xj=function(){return j};p.Uj=function(a){Aj.f.Uj.call(this,a);var b=this.pe().Kp(this,a.target);b&&a.relatedTarget&&ed(b,a.relatedTarget)||b!=this.pm()&&this.tA(b)};
p.Tj=function(a){Aj.f.Tj.call(this,a);var b=this.pe().Kp(this,a.target);b&&a.relatedTarget&&ed(b,a.relatedTarget)||b==this.pm()&&this.pe().jx(this,b,k)};p.Xe=function(a){Aj.f.Xe.call(this,a);if(this.Ld()){var b=this.pe().Kp(this,a.target);b!=this.pm()&&this.tA(b)}};p.jf=function(){var a=this.pm();if(a){this.Yd(a);return this.dispatchEvent("action")}return k};
p.Kb=function(a){var b=this.Nc(),c=b?b.length:0,e=this.ta.width;if(c==0||!this.ka())return k;if(a.keyCode==13||a.keyCode==32)return this.jf(a);if(a.keyCode==36){this.Cc(0);return i}else if(a.keyCode==35){this.Cc(c-1);return i}var f=this.xb<0?this.Hf():this.xb;switch(a.keyCode){case 37:if(f==-1)f=c;if(f>0){this.Cc(f-1);a.preventDefault();return i}break;case 39:if(f<c-1){this.Cc(f+1);a.preventDefault();return i}break;case 38:if(f==-1)f=c+e-1;if(f>=e){this.Cc(f-e);a.preventDefault();return i}break;case 40:if(f==
-1)f=-e;if(f<c-e){this.Cc(f+e);a.preventDefault();return i}break}return k};p.Wj=function(){};p.Hj=function(){return this.ta};p.Sn=function(a,b){if(this.b())d(Error("Component already rendered"));this.ta=Ja(a)?new hb(a,b):a;this.Ft()};p.pm=function(){var a=this.Nc();return a&&a[this.xb]};p.Cc=function(a){if(a!=this.xb){this.kx(this.xb,k);this.xb=a;this.kx(a,i)}};p.tA=function(a){var b=this.Nc();this.Cc(b?Sa(b,a):-1)};p.Hf=function(){return this.ea?this.ea.Hf():-1};
p.If=function(){return this.ea?this.ea.If():j};p.pf=function(a){this.ea&&this.ea.pf(a)};p.Yd=function(a){this.ea&&this.ea.Yd(a)};p.kx=function(a,b){if(this.b()){var c=this.Nc();c&&a>=0&&a<c.length&&this.pe().jx(this,c[a],b)}};p.Bi=function(a,b){this.b()&&this.pe().vM(this,a,b)};
p.Ft=function(){var a=this.Nc();if(a)if(this.ta&&this.ta.width){var b=Math.ceil(a.length/this.ta.width);if(!Ja(this.ta.height)||this.ta.height<b)this.ta.height=b}else{var c=Math.ceil(Math.sqrt(a.length));this.ta=new hb(c,c)}else this.ta=new hb(0,0)};var Bj=function(a,b,c){this.Hl=a||[];Aj.call(this,j,b||yj.Ka(),c);this.ls(this.Hl)};A(Bj,Aj);p=Bj.prototype;p.fn=j;p.ls=function(a){this.Hl=a;this.fn=j;this.Xd(this.uE())};p.Fj=function(){var a=this.If();if(a){var b=a.style[cg("background-color")];return Cj(b)}else return j};
p.qh=function(a){var b=Cj(a);if(!this.fn)this.fn=Ta(this.Hl,function(c){return Cj(c)});this.pf(b?Sa(this.fn,b):-1)};p.uE=function(){return Ta(this.Hl,function(a){var b=this.g.e("div",{"class":this.pe().R()+"-colorswatch",style:"background-color:"+a});b.title=a.charAt(0)=="#"?"RGB ("+Sf(a).join(", ")+")":a;return b},this)};var Cj=function(a){if(a)try{return Qf(a).Hm}catch(b){}return j},Dj=function(a,b,c,e){xi.call(this,a,b,c||vj.Ka(),e)};A(Dj,xi);
var Ej={bQ:["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],iQ:["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],eQ:["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc","#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd","#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0","#cc0000","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79","#990000","#b45f06","#bf9000","#38761d","#134f5c",
"#0b5394","#351c75","#741b47","#660000","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]},Fj=function(a,b){var c=new mi(b);a&&B(a,function(e){c.De(e,i)});jb(Ej,function(e){var f=new Bj(e,j,b);f.Sn(8);c.De(f,i)});return c};p=Dj.prototype;p.Fj=function(){return this.da()};p.qh=function(a){this.Wa(a)};p.Wa=function(a){for(var b=0,c;c=this.ci(b);b++)typeof c.qh=="function"&&c.qh(a);Dj.f.Wa.call(this,a)};
p.Sj=function(a){if(typeof a.target.Fj=="function")this.Wa(a.target.Fj());else a.target.da()=="none"&&this.Wa(j);Dj.f.Sj.call(this,a);a.stopPropagation();this.dispatchEvent("action")};p.Va=function(a){if(a&&this.Ng()==0){this.oh(Fj(j,this.g));this.Wa(this.da())}Dj.f.Va.call(this,a)};Fh("goog-color-menu-button",function(){return new Dj(j)});var Gj=function(){return ci.call(this)};A(Gj,ci);Ga(Gj);Gj.prototype.e=function(a){return a.g.e("div",this.R()+" goog-inline-block","\u00a0")};
Gj.prototype.wa=function(a,b){b=Gj.f.wa.call(this,a,b);Dc(b,"goog-inline-block");return b};Gj.prototype.R=function(){return"goog-toolbar-separator"};var Hj=function(){ei.call(this)};A(Hj,ei);Ga(Hj);Hj.prototype.le=function(){return"toolbar"};Hj.prototype.Bj=function(a){return a.tagName=="HR"?new di(Gj.Ka()):Hj.f.Bj.call(this,a)};Hj.prototype.R=function(){return"goog-toolbar"};Hj.prototype.Vv=function(){return"horizontal"};var Ij=function(a,b,c){hi.call(this,b,a||Hj.Ka(),c)};A(Ij,hi);var Jj=function(){Mh.call(this)};
A(Jj,Mh);Ga(Jj);Jj.prototype.R=function(){return"goog-toolbar-button"};var Kj=function(a,b,c){Lh.call(this,a,b||Jj.Ka(),c)};A(Kj,Lh);Fh("goog-toolbar-button",function(){return new Kj(j)});var Lj=function(){vi.call(this)};A(Lj,vi);Ga(Lj);Lj.prototype.R=function(){return"goog-toolbar-menu-button"};var Mj=function(){Lj.call(this)};A(Mj,Lj);Ga(Mj);Mj.prototype.createCaption=function(a,b){return wi(wj(a,b),this.R(),b)};Mj.prototype.Wa=function(a,b){a&&xj(this.Ta(a),b)};
Mj.prototype.te=function(a){this.Wa(a.b(),a.da());Dc(a.b(),"goog-toolbar-color-menu-button");Mj.f.te.call(this,a)};var Nj=function(a,b,c,e){Dj.call(this,a,b,c||Mj.Ka(),e)};A(Nj,Dj);Fh("goog-toolbar-color-menu-button",function(){return new Nj(j)});var Oj=function(a,b,c,e){xi.call(this,a,b,c||Lj.Ka(),e)};A(Oj,xi);Fh("goog-toolbar-menu-button",function(){return new Oj(j)});var Pj=function(a,b,c,e){Ai.call(this,a,b,c||Lj.Ka(),e)};A(Pj,Ai);Fh("goog-toolbar-select",function(){return new Pj(j)});
var Qj=function(a,b,c){this.kr=a;this.Xg=b||0;this.jb=c;this.Ee=w(this.Jh,this)};A(Qj,bf);p=Qj.prototype;p.yb=0;p.o=function(){Qj.f.o.call(this);this.stop();delete this.kr;delete this.jb};p.start=function(a){this.stop();this.yb=Mg(this.Ee,a!==undefined?a:this.Xg)};p.stop=function(){this.Ld()&&Ng(this.yb);this.yb=0};p.LF=function(){this.stop();this.Jh()};p.Th=function(){this.Ld()&&this.LF()};p.Ld=function(){return this.yb!=0};p.Jh=function(){this.yb=0;this.kr&&this.kr.call(this.jb)};
var Rj=E||F||C,Sj=D||F||C||k,Tj=F||k,Uj=D||F||C,Vj=E||F,Wj=E||F||C,Xj=F||C,Yj=E&&i,Zj=E||F||C,$j=E||C;D&&!G("7.0");D||C||E&&G("1.9");var ak=E||F,bk=D||C,ck=D||E||F,dk=D||F&&G("525"),ek=F&&!G("528");E&&G("1.9")||D||C||F&&G("531");var fk=D||E,gk=E||F&&!G("526"),hk=D||C,ik=!D&&!C,jk=function(a,b,c){this.Sb=a;this.dM=!!c;a&&!b&&this.kb()};A(jk,Ed);jk.prototype.kb=function(){var a=this.Sb;if(!a)d(Dd);this.Sb=this.dM?a.previousSibling:a.nextSibling;return a};
var kk=function(a,b,c){c!==undefined||(c=b&&a.childNodes.length?a.childNodes.length-1:0);jk.call(this,a.childNodes[c],i,b)};A(kk,jk);var lk=function(a,b){(this.Sb=a)&&!b&&this.kb()};A(lk,Ed);lk.prototype.kb=function(){var a=this.Sb;if(!a)d(Dd);this.Sb=a.parentNode;return a};
var mk=xb("ADDRESS","BLOCKQUOTE","BODY","CAPTION","CENTER","COL","COLGROUP","DIR","DIV","DL","DD","DT","FIELDSET","FORM","H1","H2","H3","H4","H5","H6","HR","ISINDEX","OL","LI","MAP","MENU","OPTGROUP","OPTION","P","PRE","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","TL","UL"),nk=function(a){return I(a).Pm()},pk=function(a){for(var b;b=ok(a);)a=b;return a},rk=function(a){for(var b;b=qk(a);)a=b;return a},qk=function(a){return!a||a.nodeType!=1?j:sk(Hd(new kk(a,k),tk))},ok=function(a){return!a||a.nodeType!=
1?j:sk(Hd(new kk(a,i),tk))},uk=function(a){return sk(Hd(new jk(a,k,i),tk))},vk=function(a){return sk(Hd(new jk(a),tk))},sk=function(a){try{return a.kb()}catch(b){return j}},tk=function(a){return a.nodeType==1||a.nodeType==3&&!Ab(a.nodeValue)},wk=function(a){var b,c=[];pd(a,c,k);b=c.join("");if(a.getElementsByTagName)var e=a.getElementsByTagName("IMG").length>0||a.getElementsByTagName("IFRAME").length>0||a.getElementsByTagName("embed").length>0;return!e&&(b==""||b=="\u00a0"||Ab(b))},xk=function(a){try{return a.activeElement}catch(b){}return j},
yk=function(a){return a.length||a.childNodes.length},zk=function(a,b){for(var c=0,e=a.childNodes.length;c<e;c++)if(b(a.childNodes[c]))return c;return j},Ak=function(a){return!!mk[a.tagName]},Dk=function(a){for(;a&&a.nodeType==3&&!a.nodeValue;)a=a.nextSibling;return a},Ek=function(){bf.call(this)};A(Ek,bf);var Fk=M("goog.dom.SavedRange");Ek.prototype.restore=function(a){this.Qq()&&Fk.hg("Disposed SavedRange objects cannot be restored.");var b=this.Fn();a||this.p();return b};
var Gk=function(a){Ek.call(this);this.$A=Zb();this.hv=Zb();this.g=I(a.D());a.Wk(this.uu(i),this.uu(k))};A(Gk,Ek);p=Gk.prototype;p.xB=function(){var a=j,b=this.Eg(i),c=this.Eg(k);if(b&&c)if(C){var e=b.parentNode,f=c.parentNode,g=Sa(e.childNodes,b),h=Sa(f.childNodes,c);a=Hk(e,g,f,h)}else a=Hk(b,0,c,0);return a};p.Eg=function(a){return this.g.qo(a?this.$A:this.hv)};p.Dn=function(){L(this.Eg(i));L(this.Eg(k))};p.Fn=function(){var a=this.xB();a&&a.select();this.Dn();return a};
p.o=function(){this.Dn();this.g=j};p.uu=function(a){return this.g.e("SPAN",{id:a?this.$A:this.hv})};var Ik=function(a,b,c,e,f){this.Ub=!!b;a&&this.setPosition(a,e);this.bd=f!=undefined?f:this.Mb||0;if(this.Ub)this.bd*=-1;this.Jl=!c};A(Ik,Ed);p=Ik.prototype;p.ga=j;p.Mb=j;p.Ns=k;p.setPosition=function(a,b,c){if(this.ga=a)this.Mb=Ja(b)?b:this.ga.nodeType!=1?0:this.Ub?-1:1;if(Ja(c))this.bd=c};p.Fe=function(a){this.ga=a.ga;this.Mb=a.Mb;this.bd=a.bd;this.Ub=a.Ub;this.Jl=a.Jl};
p.W=function(){return new Ik(this.ga,this.Ub,!this.Jl,this.Mb,this.bd)};p.uO=function(){var a=this.Ub?-1:1;if(this.Mb==a){this.Mb=a*-1;this.bd+=this.Mb*(this.Ub?-1:1)}};p.$L=function(){var a=this.Ub?1:-1;if(this.Mb==a){this.Mb=a*-1;this.bd+=this.Mb*(this.Ub?-1:1)}};
p.kb=function(){var a;if(this.Ns){if(!this.ga||this.Jl&&this.bd==0)d(Dd);a=this.ga;var b=this.Ub?-1:1;if(this.Mb==b){var c=this.Ub?a.lastChild:a.firstChild;c?this.setPosition(c):this.setPosition(a,b*-1)}else{var e=this.Ub?a.previousSibling:a.nextSibling;e?this.setPosition(e):this.setPosition(a.parentNode,b*-1)}this.bd+=this.Mb*(this.Ub?-1:1)}else this.Ns=i;a=this.ga;if(!this.ga)d(Dd);return a};p.xJ=function(){return this.Ns};p.wJ=function(){return this.Mb==1};p.bJ=function(){return this.Mb==-1};
p.ac=function(a){return a.ga==this.ga&&(!this.ga||a.Mb==this.Mb)};p.splice=function(){var a=this.ga;this.$L();this.Ub=!this.Ub;Ik.prototype.kb.call(this);this.Ub=!this.Ub;for(var b=Ia(arguments[0])?arguments[0]:arguments,c=b.length-1;c>=0;c--)Zc(b[c],a);L(a)};var Jk=function(){},Kk=function(a){if(a.getSelection)return a.getSelection();else{var b=a.document;return b.selection||b.getSelection&&b.getSelection()}};p=Jk.prototype;p.Lk=function(){return k};
p.Sg=function(){for(var a=[],b=0,c=this.Rg();b<c;b++)a.push(this.ec(b));return a};p.Xh=function(){var a=this.Mc();return a.nodeType==1?a:a.parentNode};p.hm=function(){return this.Yg()?this.ma():this.aa()};p.Ep=function(){return this.Yg()?this.Ga():this.pa()};p.nm=function(){return this.Yg()?this.aa():this.ma()};p.om=function(){return this.Yg()?this.pa():this.Ga()};p.Yg=function(){return k};p.D=function(){return H(D?this.Mc():this.aa())};p.V=function(){return Sc(this.D())};
p.containsNode=function(a,b){return this.zg(Lk(Mk(a),undefined),b)};p.iM=function(){return this.aa()&&this.ma()?new Gk(this):j};var Nk=function(a,b){Ik.call(this,a,b,i)};A(Nk,Ik);var Ok=function(){};A(Ok,Jk);Ok.prototype.zg=function(a,b){var c=this.Sg(),e=a.Sg(),f=b?Ua:Va;return f(e,function(g){return Ua(c,function(h){return h.zg(g,b)})})};Ok.prototype.insertNode=function(a,b){b?Yc(a,this.aa()):Zc(a,this.ma())};Ok.prototype.Wk=function(a,b){this.insertNode(a,i);this.insertNode(b,k)};
var Pk=function(a,b,c,e,f){var g;if(a){this.U=a;this.za=b;this.X=c;this.va=e;if(a.nodeType==1&&a.tagName!="BR"){var h=a.childNodes,l=h[b];if(l){this.U=l;this.za=0}else{if(h.length)this.U=Ra(h);g=i}}if(c.nodeType==1)if(this.X=c.childNodes[e])this.va=0;else this.X=c}Nk.call(this,f?this.X:this.U,f);if(g)try{this.kb()}catch(m){if(m!=Dd)d(m)}};A(Pk,Nk);p=Pk.prototype;p.U=j;p.X=j;p.za=0;p.va=0;p.aa=function(){return this.U};p.ma=function(){return this.X};
p.gk=function(){return this.xJ()&&this.ga==this.X&&(!this.va||!this.wJ())};p.kb=function(){if(this.gk())d(Dd);return Pk.f.kb.call(this)};p.Fe=function(a){this.U=a.U;this.X=a.X;this.za=a.za;this.va=a.va;this.Md=a.Md;Pk.f.Fe.call(this,a)};p.W=function(){var a=new Pk(this.U,this.za,this.X,this.va,this.Md);a.Fe(this);return a};var Qk=function(){};Qk.prototype.zg=function(a,b){return this.Mo(a.Hp(),b)};
Qk.prototype.Mo=function(a,b){try{return b?this.wg(a,0,1)>=0&&this.wg(a,1,0)<=0:this.wg(a,0,0)>=0&&this.wg(a,1,1)<=0}catch(c){if(!D)d(c);return k}};Qk.prototype.containsNode=function(a,b){return this.zg(Mk(a),b)};Qk.prototype.Ce=function(){return new Pk(this.aa(),this.pa(),this.ma(),this.Ga())};var Rk=function(a){this.B=a};A(Rk,Qk);
var Sk=function(a){var b=H(a).createRange();if(a.nodeType==3){b.setStart(a,0);b.setEnd(a,a.length)}else{for(var c,e=a;c=e.firstChild;)e=c;b.setStart(e,0);for(e=a;c=e.lastChild;)e=c;b.setEnd(e,e.nodeType==1?e.childNodes.length:e.length)}return b},Tk=function(a,b,c,e){var f=H(a).createRange();f.setStart(a,b);f.setEnd(c,e);return f};p=Rk.prototype;p.W=function(){return new this.constructor(this.B.cloneRange())};p.Hp=function(){return this.B};p.Mc=function(){return this.B.commonAncestorContainer};
p.aa=function(){return this.B.startContainer};p.pa=function(){return this.B.startOffset};p.ma=function(){return this.B.endContainer};p.Ga=function(){return this.B.endOffset};p.wg=function(a,b,c){return this.B.compareBoundaryPoints(c==1?b==1?q.Range.START_TO_START:q.Range.START_TO_END:b==1?q.Range.END_TO_START:q.Range.END_TO_END,a)};p.isCollapsed=function(){return this.B.collapsed};p.Qg=function(){return this.B.toString()};p.select=function(a){var b=Sc(H(this.aa()));this.hs(b.getSelection(),a)};
p.hs=function(a){a.addRange(this.B)};p.Yf=function(){var a=this.B;a.extractContents();if(a.startContainer.hasChildNodes()){var b=a.startContainer.childNodes[a.startOffset];if(b){var c=b.previousSibling;qd(b)==""&&L(b);c&&qd(c)==""&&L(c)}}};p.surroundContents=function(a){this.B.surroundContents(a);return a};p.insertNode=function(a,b){var c=this.B.cloneRange();c.collapse(b);c.insertNode(a);c.detach();return a};
p.Wk=function(a,b){var c=Sc(H(this.aa())),e=Uk(c);if(e)var f=e.aa(),g=e.ma(),h=e.pa(),l=e.Ga();var m=this.B.cloneRange(),n=this.B.cloneRange();m.collapse(k);n.collapse(i);m.insertNode(b);n.insertNode(a);m.detach();n.detach();if(e){var o=function(r){return r==a||r==b};if(f.nodeType==3)for(;h>f.length;){h-=f.length;do f=f.nextSibling;while(o(f))}if(g.nodeType==3)for(;l>g.length;){l-=g.length;do g=g.nextSibling;while(o(g))}Hk(f,h,g,l).select()}};p.collapse=function(a){this.B.collapse(a)};
var Vk=function(a){Rk.call(this,a)};A(Vk,Rk);Vk.prototype.hs=function(a,b){var c=b?this.ma():this.aa(),e=b?this.Ga():this.pa(),f=b?this.aa():this.ma(),g=b?this.pa():this.Ga();a.collapse(c,e);if(c!=f||e!=g)a.extend(f,g)};var Wk=function(a,b,c,e){Ik.call(this,a,b,c,j,e)};A(Wk,Ik);Wk.prototype.kb=function(){do Wk.f.kb.call(this);while(this.bJ());return this.ga};var Xk=function(a,b){this.B=a;this.de=b};A(Xk,Qk);
var Yk=M("goog.dom.browserrange.IeRange"),Zk=function(a){var b=H(a).body.createTextRange();if(a.nodeType==1)b.moveToElementText(a);else{for(var c=0,e=a;e=e.previousSibling;){var f=e.nodeType;if(f==3)c+=e.length;else if(f==1){b.moveToElementText(e);break}}e||b.moveToElementText(a.parentNode);b.collapse(!e);c&&b.move("character",c);b.moveEnd("character",a.length)}return b},$k=function(a,b,c,e){var f,g=k;if(a.nodeType==1){b>a.childNodes.length&&Yk.hg("Cannot have startOffset > startNode child count");
f=a.childNodes[b];g=!f;a=f||a;b=0}var h=Zk(a);b&&h.move("character",b);g&&h.collapse(k);g=k;if(c.nodeType==1){b>a.childNodes.length&&Yk.hg("Cannot have endOffset > endNode child count");c=(f=c.childNodes[e])||c;if(c.tagName=="BR")e=1;else{e=0;g=!f}}var l=Zk(c);l.collapse(!g);e&&l.moveEnd("character",e);h.setEndPoint("EndToEnd",l);return h},al=function(a){var b=new Xk(Zk(a),H(a));b.gh=a;return b};p=Xk.prototype;p.gh=j;p.U=j;p.X=j;
p.W=function(){var a=new Xk(this.B.duplicate(),this.de);a.gh=this.gh;a.U=this.U;a.X=this.X;return a};p.Hp=function(){return this.B};p.Yb=function(){this.gh=this.U=this.X=j};
p.Mc=function(){if(!this.gh){for(var a=this.B.text,b=1;a.charAt(a.length-b)==" ";b++)this.B.moveEnd("character",-1);for(var c=this.B.parentElement(),e=Bb(this.B.htmlText);e.length>Bb(c.outerHTML).length;)c=c.parentNode;for(;c.childNodes.length==1&&c.innerText==(c.firstChild.nodeType==3?c.firstChild.nodeValue:c.firstChild.innerText);){if(c.firstChild.tagName=="IMG")break;c=c.firstChild}if(a.length==0)c=this.vv(c);this.gh=c}return this.gh};
p.vv=function(a){for(var b=a.childNodes,c=0,e=b.length;c<e;c++){var f=b[c];if(f.nodeType==1)if(this.B.inRange(Zk(f)))return this.vv(f)}return a};p.aa=function(){return this.U||(this.U=this.Op(1))};p.pa=function(){return this.um(1)};p.ma=function(){return this.X||(this.X=this.Op(0))};p.Ga=function(){return this.um(0)};p.zg=function(a,b){return this.Mo(a.B,b)};p.wg=function(a,b,c){return this.B.compareEndPoints((b==1?"Start":"End")+"To"+(c==1?"Start":"End"),a)};
p.Op=function(a,b){var c=b||this.Mc();if(!c||!c.firstChild){if(a==0&&c.previousSibling&&c.previousSibling.tagName=="BR"&&this.um(a,c)==0)c=c.previousSibling;return c.tagName=="BR"?c.parentNode:c}for(var e=a==1?c.firstChild:c.lastChild;e;){if(this.containsNode(e,i))return this.Op(a,e);e=a==1?e.nextSibling:e.previousSibling}return c};
p.um=function(a,b){var c=b||(a==1?this.aa():this.ma());if(c.nodeType==1){for(var e=c.childNodes,f=e.length,g=a==1?0:f-1;g>=0&&g<f;){var h=e[g];if(this.containsNode(h,i)){a==0&&h.previousSibling&&h.previousSibling.tagName=="BR"&&this.um(a,h)==0&&g--;break}g+=a==1?1:-1}return g==-1?0:g}else{var l=this.B.duplicate(),m=Zk(c);l.setEndPoint(a==1?"EndToEnd":"StartToStart",m);var n=l.text.length;return a==0?n:c.length-n}};
p.ni=function(){var a=this.de.body.createTextRange();a.moveToElementText(this.de.body);return this.Mo(a,i)};p.isCollapsed=function(){return this.B.text==""};p.Qg=function(){return this.B.text};p.select=function(){this.B.select()};
p.Yf=function(){if(this.B.htmlText){var a=this.aa(),b=this.ma(),c=this.B.text,e=this.B.duplicate();e.moveStart("character",1);e.moveStart("character",-1);if(e.text!=c){var f=new Wk(a,k,i),g=[];Gd(f,function(o){if(o.nodeType!=3&&this.containsNode(o)){g.push(o);f.uO()}if(o==b)d(Dd)});this.collapse(i);B(g,L);this.Yb()}else{this.B=e;this.B.text="";this.Yb();var h=this.aa(),l=this.pa();try{var m=a.nextSibling;if(a==b&&a.parentNode&&a.nodeType==3&&m&&m.nodeType==3){a.nodeValue+=m.nodeValue;L(m);this.B=
Zk(h);this.B.move("character",l);this.Yb()}}catch(n){}}}};var bl=function(a,b,c){c=c||I(a.parentElement());var e,f=e=b.id;if(!e)e=b.id=Zb();a.pasteHTML(b.outerHTML);if(b=c.qo(e))f||b.removeAttribute("id");return b};Xk.prototype.surroundContents=function(a){L(a);a.innerHTML=this.B.htmlText;(a=bl(this.B,a))&&this.B.moveToElementText(a);this.Yb();return a};
var cl=function(a,b,c,e){e=e||I(a.parentElement());var f;if(b.nodeType!=1){f=i;b=e.e("DIV",j,b)}a.collapse(c);b=bl(a,b,e);if(f){var g=b.firstChild;e.PF(b);b=g}return b};Xk.prototype.insertNode=function(a,b){var c=cl(this.B.duplicate(),a,b);this.Yb();return c};Xk.prototype.Wk=function(a,b){var c=this.B.duplicate(),e=this.B.duplicate();cl(c,a,i);cl(e,b,k);this.Yb()};Xk.prototype.collapse=function(a){this.B.collapse(a);if(a)this.X=this.U;else this.U=this.X};var dl=function(a){Rk.call(this,a)};A(dl,Rk);
dl.prototype.wg=function(a,b,c){if(G("528"))return dl.f.wg.call(this,a,b,c);return this.B.compareBoundaryPoints(c==1?b==1?q.Range.START_TO_START:q.Range.END_TO_START:b==1?q.Range.START_TO_END:q.Range.END_TO_END,a)};dl.prototype.hs=function(a,b){a.removeAllRanges();b?a.setBaseAndExtent(this.ma(),this.Ga(),this.aa(),this.pa()):a.setBaseAndExtent(this.aa(),this.pa(),this.ma(),this.Ga())};
var el=function(a){return D?new Xk(a,H(a.parentElement())):F?new dl(a):E?new Vk(a):new Rk(a)},Mk=function(a){return D?al(a):F?new dl(Sk(a)):E?new Vk(Sk(a)):new Rk(Sk(a))},fl=function(){};A(fl,Jk);var Lk=function(a,b){var c=new fl;c.rf=a;c.Md=!!b;return c},Hk=function(a,b,c,e){var f=new fl;f.Md=gl(a,b,c,e);if(a.tagName=="BR"){var g=a.parentNode;b=Sa(g.childNodes,a);a=g}if(c.tagName=="BR"){g=c.parentNode;e=Sa(g.childNodes,c);c=g}if(f.Md){f.U=c;f.za=e;f.X=a;f.va=b}else{f.U=a;f.za=b;f.X=c;f.va=e}return f};
p=fl.prototype;p.rf=j;p.U=j;p.za=j;p.X=j;p.va=j;p.Md=k;p.W=function(){var a=new fl;a.rf=this.rf;a.U=this.U;a.za=this.za;a.X=this.X;a.va=this.va;a.Md=this.Md;return a};p.Na=function(){return"text"};p.Lc=function(){return this.bc().Hp()};p.Lk=function(a){if(a.addElement)return k;this.rf=el(a);this.Yb();return i};p.Yb=function(){this.U=this.za=this.X=this.va=j};p.Rg=function(){return 1};p.ec=function(){return this};
p.bc=function(){return this.rf||(this.rf=D?new Xk($k(this.U,this.za,this.X,this.va),H(this.U)):F?new dl(Tk(this.U,this.za,this.X,this.va)):E?new Vk(Tk(this.U,this.za,this.X,this.va)):new Rk(Tk(this.U,this.za,this.X,this.va)))};p.Mc=function(){return this.bc().Mc()};p.aa=function(){return this.U||(this.U=this.bc().aa())};p.pa=function(){return this.za!=j?this.za:(this.za=this.bc().pa())};p.ma=function(){return this.X||(this.X=this.bc().ma())};p.Ga=function(){return this.va!=j?this.va:(this.va=this.bc().Ga())};
p.Yg=function(){return this.Md};p.zg=function(a,b){var c=a.Na();if(c=="text")return this.bc().zg(a.bc(),b);else if(c=="control"){var e=a.Zh(),f=b?Ua:Va;return f(e,function(g){return this.containsNode(g,b)},this)}};var hl=function(a){if(D){var b=k;try{b=a.parentNode}catch(c){}return!!b}else return ed(a.ownerDocument.body,a)};p=fl.prototype;p.ni=function(){return(!this.U||hl(this.U))&&(!this.X||hl(this.X))&&(!D||this.bc().ni())};p.isCollapsed=function(){return this.bc().isCollapsed()};p.Qg=function(){return this.bc().Qg()};
p.Ce=function(){return new Pk(this.aa(),this.pa(),this.ma(),this.Ga())};p.select=function(){this.bc().select(this.Md)};p.Yf=function(){this.bc().Yf();this.Yb()};p.surroundContents=function(a){var b=this.bc().surroundContents(a);this.Yb();return b};p.insertNode=function(a,b){var c=this.bc().insertNode(a,b);this.Yb();return c};p.Wk=function(a,b){this.bc().Wk(a,b);this.Yb()};p.as=function(){return new il(this)};
p.collapse=function(a){var b=this.Yg()?!a:a;this.rf&&this.rf.collapse(b);if(b){this.X=this.U;this.va=this.za}else{this.U=this.X;this.za=this.va}this.Md=k};var il=function(a){this.kD=a.hm();this.lD=a.Ep();this.TF=a.nm();this.UF=a.om()};A(il,Ek);il.prototype.Fn=function(){return Hk(this.kD,this.lD,this.TF,this.UF)};il.prototype.o=function(){il.f.o.call(this);delete this.U;delete this.X};var jl=function(){};A(jl,Ok);
var kl=function(a){var b=new jl;b.B=a;return b},ll=function(){for(var a=H(arguments[0]).body.createControlRange(),b=0,c=arguments.length;b<c;b++)a.addElement(arguments[b]);return kl(a)};p=jl.prototype;p.B=j;p.xa=j;p.Qk=j;p.Yb=function(){this.Qk=this.xa=j};p.W=function(){return ll.apply(this,this.Zh())};p.Na=function(){return"control"};p.Lc=function(){return this.B||document.body.createControlRange()};p.Lk=function(a){if(!a.addElement)return k;this.B=a};
p.Rg=function(){return this.B?this.B.length:0};p.ec=function(a){var b,c=this.B.item(a);return b=Lk(Mk(c),undefined)};p.Mc=function(){return id.apply(j,this.Zh())};p.aa=function(){return this.gq()[0]};p.pa=function(){return 0};p.ma=function(){var a=this.gq(),b=Ra(a);return Wa(a,function(c){return ed(c,b)})};p.Ga=function(){return this.ma().childNodes.length};p.Zh=function(){if(!this.xa){this.xa=[];if(this.B)for(var a=0;a<this.B.length;a++)this.xa.push(this.B.item(a))}return this.xa};
p.gq=function(){if(!this.Qk){this.Qk=this.Zh().concat();this.Qk.sort(function(a,b){return a.sourceIndex-b.sourceIndex})}return this.Qk};p.ni=function(){var a=k;try{a=Va(this.Zh(),function(c){return D?c.parentNode:ed(c.ownerDocument.body,c)})}catch(b){}return a};p.isCollapsed=function(){return!this.B||!this.B.length};p.Qg=function(){return""};p.Ce=function(){return new ml(this)};p.select=function(){this.B&&this.B.select()};
p.Yf=function(){if(this.B){for(var a=[],b=0,c=this.B.length;b<c;b++)a.push(this.B.item(b));B(a,L);this.collapse(k)}};p.as=function(){return new nl(this)};p.collapse=function(){this.B=j;this.Yb()};var nl=function(a){this.xa=a.Zh()};A(nl,Ek);nl.prototype.Fn=function(){for(var a=this.xa.length?H(this.xa[0]):document,b=a.body.createControlRange(),c=0,e=this.xa.length;c<e;c++)b.addElement(this.xa[c]);return kl(b)};nl.prototype.o=function(){nl.f.o.call(this);delete this.xa};
var ml=function(a){if(a){this.xa=a.gq();this.U=this.xa.shift();this.X=Ra(this.xa)||this.U}Nk.call(this,this.U,k)};A(ml,Nk);p=ml.prototype;p.U=j;p.X=j;p.xa=j;p.aa=function(){return this.U};p.ma=function(){return this.X};p.gk=function(){return!this.bd&&!this.xa.length};p.kb=function(){if(this.gk())d(Dd);else if(!this.bd){var a=this.xa.shift();this.setPosition(a,1,1);return a}return ml.f.kb.call(this)};p.Fe=function(a){this.xa=a.xa;this.U=a.U;this.X=a.X;ml.f.Fe.call(this,a)};
p.W=function(){var a=new ml(j);a.Fe(this);return a};var ol=function(){this.zd=[];this.Ab=[];this.Kl=this.Gi=j};A(ol,Ok);var pl=function(a){for(var b=new ol,c=0,e=a.rangeCount;c<e;c++)b.zd.push(a.getRangeAt(c));return b},ql=function(a){var b=new ol;b.Ab=a;b.zd=Ta(a,function(c){return c.Lc()});return b};p=ol.prototype;p.r=M("goog.dom.MultiRange");p.Yb=function(){this.Ab=[];this.Kl=this.Gi=j};p.W=function(){var a,b=new ol;b.zd=$a(this.zd);return a=b};p.Na=function(){return"mutli"};
p.Lc=function(){this.zd.length>1&&this.r.lo("getBrowserRangeObject called on MultiRange with more than 1 range");return this.zd[0]};p.Lk=function(){return k};p.Rg=function(){return this.zd.length};p.ec=function(a){this.Ab[a]||(this.Ab[a]=Lk(el(this.zd[a]),undefined));return this.Ab[a]};p.Mc=function(){if(!this.Kl){for(var a=[],b=0,c=this.Rg();b<c;b++)a.push(this.ec(b).Mc());this.Kl=id.apply(j,a)}return this.Kl};
p.Jj=function(){if(!this.Gi){this.Gi=this.Sg();this.Gi.sort(function(a,b){var c=a.aa(),e=a.pa(),f=b.aa(),g=b.pa();if(c==f&&e==g)return 0;return gl(c,e,f,g)?1:-1})}return this.Gi};p.aa=function(){return this.Jj()[0].aa()};p.pa=function(){return this.Jj()[0].pa()};p.ma=function(){return Ra(this.Jj()).ma()};p.Ga=function(){return Ra(this.Jj()).Ga()};p.ni=function(){return Va(this.Sg(),function(a){return a.ni()})};p.isCollapsed=function(){return this.zd.length==0||this.zd.length==1&&this.ec(0).isCollapsed()};
p.Qg=function(){return Ta(this.Sg(),function(a){return a.Qg()}).join("")};p.Ce=function(){return new rl(this)};p.select=function(){var a=Kk(this.V());a.removeAllRanges();for(var b=0,c=this.Rg();b<c;b++)a.addRange(this.ec(b).Lc())};p.Yf=function(){B(this.Sg(),function(a){a.Yf()})};p.as=function(){return new sl(this)};p.collapse=function(a){if(!this.isCollapsed()){var b=a?this.ec(0):this.ec(this.Rg()-1);this.Yb();b.collapse(a);this.Ab=[b];this.Gi=[b];this.zd=[b.Lc()]}};
var sl=function(a){this.bs=Ta(a.Sg(),function(b){return b.as()})};A(sl,Ek);sl.prototype.Fn=function(){var a=Ta(this.bs,function(b){return b.restore()});return ql(a)};sl.prototype.o=function(){sl.f.o.call(this);B(this.bs,function(a){a.p()});delete this.bs};var rl=function(a){if(a){this.Ab=a.Jj();if(this.Ab.length){this.U=this.Ab[0].aa();this.X=Ra(this.Ab).ma()}}Nk.call(this,this.U,k)};A(rl,Nk);p=rl.prototype;p.U=j;p.X=j;p.Ab=j;p.aa=function(){return this.U};p.ma=function(){return this.X};
p.gk=function(){return this.Ab.length==1&&this.Ab[0].gk()};p.kb=function(){do try{this.Ab[0].kb();break}catch(a){if(a!=Dd)d(a);this.Ab.shift()}while(this.Ab.length);if(this.Ab.length){var b=this.Ab[0];this.setPosition(b.ga,b.Mb,b.bd);return b.ga}else d(Dd)};p.Fe=function(a){this.U=a.U;this.X=a.X;this.Ab=$a(a.Ab);rl.f.Fe.call(this,a)};p.W=function(){var a=new rl(j);a.Fe(this);return a};
var Uk=function(a){var b=Kk(a||window);return b&&tl(b)},tl=function(a){var b,c=k;if(a.createRange)try{b=a.createRange()}catch(e){return j}else if(a.rangeCount)if(a.rangeCount>1)return new pl(a);else{b=a.getRangeAt(0);c=gl(a.anchorNode,a.anchorOffset,a.focusNode,a.focusOffset)}else return j;return b.addElement?kl(b):Lk(el(b),c)},ul=function(a,b){return Hk(a,b,a,b)},vl=function(a){var b=Kk(a||window);if(b.empty)try{b.empty()}catch(c){}else b.removeAllRanges()},gl=function(a,b,c,e){if(a==c)return e<
b;var f;if(a.nodeType==1&&b)if(f=a.childNodes[b]){a=f;b=0}else if(ed(a,c))return i;if(c.nodeType==1&&e)if(f=c.childNodes[e]){c=f;e=0}else if(ed(c,a))return k;return(hd(a,c)||b-e)>0},xl=function(a,b){var c=wl(a,1,b);c=wl(c,0,b);var e=c.aa(),f=c.ma(),g=c.pa(),h=c.Ga();if(e==f){for(;f!=b&&g==0&&h==yk(f);){var l=f.parentNode;g=Sa(l.childNodes,f);h=g+1;f=l}e=f}return Hk(e,g,f,h)},wl=function(a,b,c){for(var e=b==1,f=e?a.aa():a.ma(),g=e?a.pa():a.Ga(),h=a.Xh();f!=h&&f!=c;){if(e&&g!=0||!e&&g!=yk(f))break;
var l=f.parentNode,m=Sa(l.childNodes,f);g=e?m:m+1;f=l}var n,o=e?f:a.aa(),r=e?g:a.pa(),t=e?a.ma():f,y=e?a.Ga():g;return n=Hk(o,r,t,y)},Al=function(a,b){var c=D?yl(a,b):zl(a,b);c.select();return c},yl=function(a,b){var c=Lk(Mk(a),undefined);c.collapse(b);return c},zl=function(a,b){var c=I(a);if(C){var e=a.parentNode,f=Sa(e.childNodes,a)+(b?0:1);return Hk(e,f,e,f)}else{var g=c.createTextNode("");a.parentNode.insertBefore(g,b?a:a.nextSibling);return ul(g,0)}},Cl=function(a){var b=H(a),c=Uk(Sc(b)),e=c&&
Bl(c),f=c&&c.Mc();f?id(f,a).normalize():a.normalize();e&&e().select()},El=function(a,b){return b?Dl(a.aa(),a.pa()):Dl(a.ma(),a.Ga())},Bl=function(a){var b=Fl(El(a,i)),c=b.uw(),e=b.ga.previousSibling,f=Fl(El(a,k)),g=f.uw(),h=f.ga.previousSibling;return function(){return Hk(e?e.nextSibling:c.ga.firstChild,b.Tf,h?h.nextSibling:g.ga.firstChild,f.Tf)}},Fl=function(a){var b;if(a.ga.nodeType==3){for(var c=a.ga.previousSibling;c&&c.nodeType==3;c=c.previousSibling)a.Tf+=yk(c);b=c}else b=a.ga.previousSibling;
var e=a.ga.parentNode;a.ga=b?b.nextSibling:e.firstChild;return a},Gl=function(a,b){this.ga=a;this.Tf=b};Gl.prototype.uw=function(){var a=this.ga.parentNode;return new Gl(a,Sa(a.childNodes,this.ga))};var Dl=function(a,b){for(;a.nodeType==1;){var c=a.childNodes[b];if(!c&&!a.lastChild)break;if(c){a=c;b=0}else{a=a.lastChild;b=yk(a)}}return new Gl(a,b)},Hl=function(a){Gk.call(this,a)};A(Hl,Gk);Hl.prototype.Dn=function(){var a=this.Eg(i),b=this.Eg(k),c=a&&b?id(a,b):a||b;Hl.f.Dn.call(this);c&&Cl(c)};
var Il=String.fromCharCode(160),T=uj,Jl={Qi:"image",xC:"spChar",Pi:"editHtml",aC:"editImage",yh:"link",kC:"insertModule"},Kl=function(a,b,c,e,f){this.rv=a;this.Js=b;this.zl=c;this.Av=e;this.xp=f||{}},Ll=function(a,b){this.BP=a;this.Eu=b},Ml=k,Nl=function(a,b,c,e){if(a.zl){var f=c.BP,g=Fg(f);if(g.top||g.left||g.right||g.bottom)bg(e,"margin",-g.top+"px "+-g.right+"px "+-g.bottom+"px "+-g.left+"px")}var h,l=[];if(a.zl&&a.Js||Ml)l.push("<!DOCTYPE HTML>");l.push("<html ");Sj&&!ck&&l.push("contentEditable ");
l.push('style="background:none transparent;');Sj&&!ck&&l.push("min-height:100%;");if(a.zl)l.push("height:",a.Av?"100%":"auto");l.push('">');l.push("<head><style>");c&&c.Eu&&l.push(c.Eu);E&&a.Js&&l.push(" img {-moz-force-broken-image-icon: 1;}");l.push("</style></head>");l.push('<body g_editable="true" hidefocus="true" ');Sj&&ck&&l.push("contentEditable ");l.push('class="editable ');l.push('" id="',a.rv,'" style="');if(E&&a.zl){l.push(";width:100%;border:0;margin:0;background:none transparent;",";height:",
a.Js?"100%":"auto");a.Av?l.push(";overflow:auto"):l.push(";overflow-y:hidden;overflow-x:auto")}for(var m in a.xp)l.push(";"+m+":"+a.xp[m]);l.push('">',b,"</body></html>");h=l.join("");var n=jd(e);n.open();n.write(h);n.close()},Ol=function(a){var b=/^([a-zA-Z]+):(.*)$/;if(a.match(b)){this.protocol=RegExp.$1.toLowerCase();a=RegExp.$2;if(this.protocol=="mailto"||this.protocol=="javascript"||a.indexOf("//")!=0)this.RQ=i;else a=a.substring(2);var c=/^([^\/]+)/;if(a.match(c)){this.domain=RegExp.$1;a=a.substring(this.domain.length)}}if(a.match(/^(\/|[^?#])/)){var e=
/^(.[^?#]*)/;a.match(e);this.md=RegExp.$1;a=a.substring(this.md.length)}if(a.charAt(0)=="?")this.nd=a;else if(a.charAt(0)=="#")this.hash=a};Ol.prototype.We=function(){var a=[],b=function(c){c&&a.push(c);return c};b(this.protocol)&&b("://");b(this.domain);b(this.md);b(this.hash);b(this.nd);return a.join("")};Ol.prototype.Ix=function(){return!!this.protocol&&this.protocol!=""};
Ol.prototype.iy=function(a){if(!this.Ix()){this.protocol=a.protocol;this.domain=a.domain;if(this.md){var b;{var c=a.md||"/",e=this.md;if(e.match(/^\//))b=e;else{if(c.length>0&&!c.match(/\/$/))c+="/";b=c+e}}this.md=b}}};Ol.prototype.kB=function(){if(this.md)this.md=this.md=="/"?undefined:this.md.replace(/\/$/,"")};
var Pl=function(a){this.bO(a)},Ql=function(a){var b=a.location.toString(),c=b.substring(0,b.lastIndexOf("/")+1);return new Pl({base:c,winbase:c,draft:c,preview:c,live:c,edit:c})},Rl=function(a){return!!a&&a.indexOf("mailto:")==0};Pl.prototype.bO=function(a){this.Bb=a;var b=this.Bb.base;this.Bb.site=b.substring(0,b.indexOf("/",9))};var Sl=function(){var a=z("The URL is not valid and cannot be loaded.");alert(a)};Pl.prototype.We=function(a,b){if(this.mi(a)){var c=this.Bb[b]||this.Bb.base;a=c+Tl(a)}return a};
Pl.prototype.Iw=function(a){var b=a.getAttribute("href")||"",c=this.Bb.base;if(c&&c!=this.Bb.winbase&&b.indexOf(c)==0)b=this.Bb.winbase+b.substring(c.length);return b};Pl.prototype.eH=function(a){if(this.mi(a))if(a.search(/[^:\/\s]+:\/\//)==0)return Tl(a);else{var b="about:blank";if(a.indexOf(b)==0)a=a.substring(b.length)}return a};var Ul={thumb:96,small:96,medium:200,large:420};Pl.prototype.Ij=function(a,b){return Ul[b]};
Pl.prototype.bi=function(a,b,c){if(b=="thumb")b="small";var e=this.vm(a),f=Tl(e),g=f.substring(0,f.lastIndexOf(".")),h=c?";"+c:"",l="/"+e+"/"+g+"-"+b+h+".jpg";return this.We(l,"live")};Pl.prototype.vm=function(a){if(this.mi(a)&&Vl(a)){a=this.We(a,"live");a=a.substring(0,a.lastIndexOf("/"))}return a};Pl.prototype.mr=function(a){for(var b=a.getElementsByTagName("img"),c=0,e=b.length;c<e;c++)b[c].src=this.We(b[c].src,"live")};
var Tl=function(a){var b,c=a.lastIndexOf("/");if(Vl(a))c=a.lastIndexOf("/",c-1);var e="about:blank";if(a.indexOf(e,c+1)==0)c+=e.length;b=c+1;var f=a.lastIndexOf("?");if(f==-1)return decodeURIComponent(a.substring(b));return decodeURIComponent(a.substring(b,f))},Vl=function(a){var b=/.*\/([^\/]+)\.\w{1,4}\/([^\/]+)-(small|medium|large|full|custom).*(?:\.\w{1,4})?$/;if(b.test(a)){var c=RegExp.$1,e=RegExp.$2,f=RegExp.$3;if(c==e)return f}return j},Wl=k;
Pl.prototype.mi=function(a){var b=Wl;if(b)if(Ka(b))return b(a);else{if(Rl(a))return k;var c=k;for(var e in this.Bb)if(this.Bb[e]!="")c|=a.search(this.Bb[e])==0;return c||!(a.search(/[^:\/\s]+:\/\//)==0)||a.search("/")==0}else return k};var Xl=function(a){Wl=a};Pl.prototype.Tm=function(a){return this.mi(a)};
var Yl=function(a){if(a.search(/:/)<0)a="http://"+Eb(a);return a},Zl=k,bm=function(a,b){var c=Zl;return c?Ka(c)?c(a):$l(a)||am(a,b):k},cm=function(a){Zl=a},$l=function(a){return a=="http://"||a=="http:///"||a==""||a=="/"},am=function(a,b){var c=b.substring(0,b.indexOf("/",9));return a==c+"/"||a==c};M("TR_CssUtil");
var dm=function(a,b){if(a.nodeType!=1)return j;return D?eg(a,b):dg(a,b)},em=function(a){var b=Fg(a);return b.top+b.bottom},fm=function(a){var b=Fg(a);return b.left+b.right},gm=function(a){var b=Ig(a);return b.top+b.bottom},hm=/a(:(link|visited|active|hover))?/,im=function(){this.gj="";this.mf=[]};im.prototype.LN=function(a){this.mf=[];for(var b=a.split(/,\s*/gm),c=0;c<b.length;c++){var e=b[c];e.length>0&&this.mf.push(new jm(e))}};
im.prototype.W=function(){var a=new im;a.mf=this.mf.concat();a.gj=this.gj;return a};im.prototype.nA=function(a,b){var c=[];for(var e in a){var f=a[e];if(f)c.push(e,":",f,b?" !important":"",";")}this.gj=c.join("")};im.prototype.EP=function(a){for(var b=this.mf.length,c=k,e=0;e<b;e++){for(var f=this.mf[e].Vf,g=f.length,h=0;h<g;h++)a.push(f[h].Bx," ");e<b-1&&a.push(",");if(E&&!G("1.9a"))c=c||hm.test(f[g-1].Bx)}var l=this.gj;if(c)l=l.replace(km,"$1 color: $2 ! important; ");a.push("{",l,"}\n")};
var km=/(^|;|{)\s*color:([^;]+);/g,jm=function(a){this.Wf=[];this.xo={};a&&this.yN(a)};jm.prototype.yN=function(a){for(var b=[],c=a.split(/\s+/gm),e=0;e<c.length;e++)if(c[e]){var f=new lm(c[e]);b.push(f)}this.Vf=b};jm.prototype.XJ=function(a){var b=a.hash;if(this.xo[b])return this.xo[b];for(var c=0,e=j,f=j,g=j,h=a.Cy,l=h.length,m=0;m<=this.Vf.length;m++){for(f=this.Vf[m];c<l;){var n=h[c];if(f&&f.qB(n)){e={bv:c,fA:m};c++;break}else if(g&&g.qB(n))e={bv:c,fA:m-1};c++}g=f}return this.xo[b]=e};
var lm=function(a){var b=mm[a];if(b)return b;var c;c=a.match(/[#\.]/)?a.split(/(?=[#\.])/):[a];for(var e={},f=0;f<c.length;f++){var g=c[f];if(g.charAt(0)==".")e.className=g.substring(1,g.length);else if(g.charAt(0)=="#")e.id=g.substring(1,g.length);else e.tagName=g.toUpperCase()}this.Bx=a;this.ZJ=e;this.tB={};mm[a]=this},mm={};
lm.prototype.qB=function(a){var b=a.hash,c=this.tB[b];if(typeof c!="undefined")return c;var e=this.ZJ,f=e.tagName,g=e.className,h=e.id,l=i;if(f&&f!="*"&&f!=a.nodeName)l=k;else if(h&&h!=a.id)l=k;else if(g&&!a.aE[g])l=k;return this.tB[b]=l};
var om=function(a){var b=Oa(a),c=nm[b];if(c)return c;var e=[];do{var f={id:a.id,nodeName:a.nodeName};f.hash=Oa(f);var g=a.className,h={};if(g)for(var l=Cc(a),m=0;m<l.length;m++)h[l[m]]=1;f.aE=h;e.unshift(f)}while(a=a.parentNode);this.Cy=e;this.hash=Oa(this);nm[b]=this},nm={},pm=function(a,b){if(!a.disabled){try{var c=a.cssRules||a.rules,e=c.length}catch(f){return}if(a.imports)for(var g=a.imports,h=g.length,l=0;l<h;l++)pm(g[l],b);for(l=0;l<e;l++){var m=c[l],n=m.styleSheet;n?pm(n,b):b(l,m)}}},qm=function(a,
b){var c=a.styleSheets;if(c)for(var e=c.length,f=0;f<e;f++)pm(c[f],b)},rm=function(a){var b=[],c=/([^\{]+)\{/;function e(f,g){var h=g.selectorText;if(h){var l=g.style,m="",n;if(l&&(n=l.cssText)){if(D)n+="/* */";m=h}else if(g.cssText){m=c.exec(g.cssText)[1];n=g.cssText.replace(c,"").replace(/\}[^\}]*$/g,"")}if(m){var o=new im;o.LN(m);o.gj=n;b.push(o)}}}qm(a,e);return b},sm={},tm=function(a){var b=Oa(a);sm[b]=rm(a)},um=["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"],vm=["font-family","font-size","font-weight","font-variant","font-style","color","text-align","text-decoration","text-indent","text-transform","letter-spacing","white-space","word-spacing"];M("TR_Node");
var wm=function(a){var b=H(a);return Sc(b)},xm=function(a,b){if(a.nodeType==3||a.nodeType==4)return b?a.nodeType==3||a.nodeType==4?/^[\s\u00a0]*$/.test(a.nodeValue):k:Ab(a.nodeValue);if(a.nodeName=="IMG")return k;if(!a.childNodes)return k;for(var c=0;c<a.childNodes.length;c++)if(!xm(a.childNodes[c],b))return k;return i},zm=function(a,b,c){var e=function(f){a.appendChild(f)};ym(e,i,b,c)},ym=function(a,b,c,e){for(var f=c,g=b?"nextSibling":"previousSibling";f&&f!=e;){var h=f[g];a(f);f=h}f&&a(f)},Bm=
function(a,b){for(var c=j,e=a;e&&!Am(e);){if(b(e))c=e;e=e.parentNode}return c},Cm=function(a,b,c){return rd(a,function(e){return e.getAttribute&&e.getAttribute(b)==c},i)},Dm=function(a){return!!(a&&(dm(a,"display")=="block"||a.nodeName.toLowerCase()=="td"||a.nodeName.toLowerCase()=="table"||a.nodeName.toLowerCase()=="li"))},Em=function(a){return rd(a,Dm,i)},Fm=function(a,b){for(var c in b)a.style[c]=b[c]},Gm=function(a){for(var b=1;b<arguments.length;++b)a.appendChild(arguments[b])},Hm=function(a,
b,c){for(var e;a!=c&&(e=a.parentNode);){for(var f=e.cloneNode(k);a.nextSibling;)f.appendChild(a.nextSibling);b&&f.insertBefore(b,f.firstChild);b=f;a=e}return b},Im=function(a){if(a.data)return a.data;else if(a.hasChildNodes()){for(var b="",c=0;c<a.childNodes.length;c++){var e=a.childNodes[c];b+=Im(e)}return b}else return""},Jm=function(a,b){var c=a.ownerDocument.createTextNode(b);a.appendChild(c);return c},Km=function(a,b,c){var e=a.ownerDocument.createElement(b);c&&Jm(e,c);a.appendChild(e);return e},
Lm=function(a,b,c,e,f){var g,h=I(a);if(typeof b=="string"){g=h.e("A",{href:b});if(f)g.target="_blank"}else{g=h.e("SPAN",{className:"tr_pseudo-link"});c.l(g,"click",b)}a.appendChild(g);e&&Jm(g,e);return g},Mm=function(a,b,c,e){for(var f=v(a)?parseInt(a,10):a,g=v(b)?parseInt(b,10):b,h=c.createElement("table"),l=0;l<f;l++)for(var m=h.insertRow(0),n=0;n<g;n++){var o=m.insertCell(0);e||Wc(o,c.createTextNode("\u00a0"))}return h},Nm=function(a,b,c){for(var e=0;e<c.length;e++){var f=c[e];b.style[f]=a.style[f]}},
Om=function(a,b){for(var c=0;c<b.length;c++)a.style[b[c]]=""},Pm=function(a,b){for(var c=0;c<a.length;++c)xm(a[c],b)&&L(a[c])},Am=function(a){if(!a.getAttribute)return k;return a.getAttribute("g_editable")=="true"},Qm=function(a){Q.call(this);this.xh=a||window;this.an=N(this.xh,"resize",this.mI,k,this);this.ta=Pc(this.xh||window);if(this.tJ())this.mo=window.setInterval(w(this.eu,this),500)};A(Qm,Q);p=Qm.prototype;p.an=j;p.xh=j;p.ta=j;p.mo=j;p.tJ=function(){return F&&sc||C&&this.xh.aR!=this.xh.top};
p.Hj=function(){return this.ta?this.ta.W():j};p.o=function(){Qm.f.o.call(this);if(this.an){O(this.an);this.an=j}if(this.mo){window.clearInterval(this.mo);this.mo=j}this.ta=this.xh=j};p.mI=function(){this.eu()};p.eu=function(){var a=Pc(this.xh||window);if(!ib(a,this.ta)){this.ta=a;this.dispatchEvent("resize")}};M("TR_EventUtil");
var Rm=function(a,b){if(a instanceof df){a.preventDefault();a.stopPropagation();if(a.me)a.me().returnValue=b}else{a.preventDefault&&a.preventDefault();a.stopPropagation&&a.stopPropagation();a.cancelBubble=i;a.returnValue=b}return b},Sm=function(a){if(a.target){var b=a.target;if(b.nodeName=="IFRAME"&&b.target)if(b.className!="igm")b=b.target;return b}else if(a.srcElement)return a.srcElement;else if(a.currentTarget)return a.currentTarget},Tm=function(a,b){b.target=a;a.dispatchEvent(b)},Xm=function(a,
b,c){var e=a.getElementsByTagName("input");if(c)for(var f=0;f<e.length;f++){var g=e[f];Um(g)&&Bg(g)&&g.setAttribute("_wasUnselectable",i)}Vj&&b.l(a,"mousedown",Vm,i);Cg(a,i);for(f=0;f<e.length;f++){g=e[f];if(Um(g)){g.getAttribute("_wasUnselectable")||Wm(g);g.removeAttribute("_wasUnselectable")}}},Um=function(a){return a.type=="text"||a.type=="file"||a.type=="url"},Vm=function(a){var b=Sm(a).nodeName;b!="TEXTAREA"&&b!="INPUT"&&a.preventDefault()},Wm=function(a){Cg(a,k);if(Vj)for(var b=Ym(a);b;){for(var c=
a;c&&c!=b;){var e=c;c=c.parentNode;if(c.style){var f=Zm();c.style[f]="";for(var g=c.firstChild;g;){if(g!=e&&g.style)g.style[f]="none";g=g.nextSibling}}}a=b;b=Ym(a)}},Zm=function(){if(E)return"MozUserSelect";else if(F)return"WebkitUserSelect"},Ym=function(a){var b=function(c){var e=Zm();return c&&c.style&&c.style[e].toLowerCase()=="none"};return rd(a,b,i)},$m=function(a){this.de=a;this.g=I(a)};$m.prototype.Du=function(a){var b=this.Bu(a,"tr_feedback",i);b.align="center";return b};
$m.prototype.LA=function(a,b,c,e,f){var g=a.cells;this.Pk(g[0],b,f);this.Pk(g[1],c,f);this.Pk(g[2],e,f)};$m.prototype.Bu=function(a,b,c){var e=Mm(3,3,this.de);Oc(e,{"class":b,border:0,cellSpacing:0,cellPadding:0});var f=e.rows;this.LA(f[0],"tr_tl",c?j:"tr_t","tr_tr",c?j:2);var g=f[1].cells;this.Pk(g[0],c?j:"tr_l");Oc(g[1],a);this.Pk(g[2],c?j:"tr_r");this.LA(f[2],"tr_bl",c?j:"tr_b","tr_br",c?j:2);return e};
$m.prototype.Pk=function(a,b,c){a.innerHTML="";a.className=b||"tr_sidebar";if(c){a.width=c;a.height=c}a.appendChild(this.g.e("img",{height:1,width:1,alt:""}))};var an=function(a){return function(){return a}},bn=an(k),cn=an(i),dn=function(){Q.call(this);this.nb=this.nl()};A(dn,Q);p=dn.prototype;p.j=j;p.ib=function(){return this.j&&this.j.Qb()};p.BD=i;p.r=M("trog.plugins.Plugin");p.uz=function(a){this.j=a};p.EB=function(){if(this.j){this.Ih(this.j);this.j=j}};
p.nj=function(a){if(this.j==a)this.nb=i;else this.r.hg("Trying to enable an unregistered EditableField with this plugin.")};p.Ih=function(a){if(this.j==a)this.nb=k;else this.r.hg("Trying to disable an unregistered EditableField with this plugin.")};p.ka=function(a){return this.j==a?this.nb:k};p.XI=function(){return this.BD};p.nl=bn;p.$q=bn;p.o=function(){this.j&&this.EB(this.j);dn.f.o.call(this)};var en=tb({LQ:1,aI:2,Dm:3,Wj:4,Tw:5,execCommand:6,queryCommandValue:7,yn:8,iu:10,bE:11}),fn=xb(8,10,11);
dn.prototype.execCommand=function(a){var b=this.$q(a);if(!b){E&&this.j.Rs(i,i);this.j.dd()}try{var c=this.qj.apply(this,arguments)}finally{if(!b){this.j.jc();a!="+link"&&this.j.kj()}}return c};dn.prototype.Nd=function(){return k};var gn=function(a){this.Si=a;dn.call(this)};A(gn,dn);var hn=Il+"-"+Il;p=gn.prototype;p.r=M("trog.plugins.BubbleBase");p.Kv=function(){return this.g};p.jd=an("BubbleBase");p.Nd=function(a){return a==this.Si};p.qj=function(a){if(a==this.Si)return this.ax(arguments[1])};
p.nj=function(a){gn.f.nj.call(this,a);if(this.ka(a))this.il=new Qm(this.j.wj())};p.Ih=function(a){gn.f.Ih.call(this,a);if(this.il&&!this.ka(a)){this.il.p();this.il=j}};p.Fm=function(){this.Oa()&&this.Ia()};p.wc=function(){return this.mg};p.WM=function(a){this.PD=a;this.sf&&bg(this.sf,"zIndex",a)};p.Wj=function(a){var b=a?Sm(a):this.j.bb().Fd();return this.ax(b)};p.ax=function(a){if(a){var b=this.Lv(a);if(b){if(b!=this.mg||!this.sf)this.rE(b);this.bL();return i}}return k};
p.rE=function(a){this.g=new I(this.OD||this.j.wj().document.body);this.mg=a;this.EQ=this.ib().V();var b=this.g.e("div",{className:"tr_bubble"}),c=this.OD||this.g.D().body;c.appendChild(b);this.sf=b;this.WM(this.PD||this.j.Iv());this.iR=a.nodeName;this.zb=new Gi(b);this.O=new nh(this);this.oa=new wh(a.ownerDocument);this.O.l(this.oa,"key",this.Kb);this.O.l(this.zb,"show",this.Fs);this.O.l(this.zb,"hide",this.$w);this.tu(this.sE());this.TC();this.Ia();this.il&&this.O.l(this.il,"resize",this.Fm,k,this);
Xm(b,this.O)};p.sE=function(){var a=new $m(this.g.D()),b="tr_bubble-content-"+Zb(),c={className:"tr_body",id:b},e=a.Bu(c,"tr_bubble");this.sf.appendChild(e);var f=this.g.qo(b);f.innerHTML="";return this.ND=f};p.TC=function(){var a=this.g.e("div",{className:"tr_bubble_closebox",innerHTML:"&nbsp;"});this.Ur(a,this.Yi);this.ND.appendChild(a)};p.Ur=function(a,b){this.O.l(a,"click",b)};p.bL=function(){if(this.zb){this.zb.sa(i);this.Ia()}};p.Yi=function(){this.zb&&this.zb.sa(k);this.$w()};
p.Fs=function(){this.vi();this.Ia()};p.vi=s;p.$w=function(){if(this.sf){L(this.sf);this.sf=j;if(this.O){this.O.p();this.O=j}if(this.oa){this.oa.p();this.oa=j}}};p.Oa=function(){if(this.zb)return this.zb.Oa();return k};var jn=D?4:2,kn=new Hf(jn,0,jn,0);p=gn.prototype;p.Ia=function(){this.wc();var a=496;a=this.Mr(5,4,9);if(a&496)a=this.Mr(4,5,9);if(a&496){a=this.Mr(5,4,5);a&496&&this.r.lo("reposition(): positionAtAnchor() failed with "+a)}};
p.Mr=function(a,b,c){return pi(this.wc(),a,this.sf,b,j,kn,c)};p.Ro=function(a){return this.g.e("span",{id:a,"class":"tr_option-link"},this.g.createTextNode(hn))};p.bj=function(a,b,c,e){var f=this.Au(a,b,k,e);c&&this.Ur(f,c);return f};p.Au=function(a,b,c,e){var f=this.g.e(c?"a":"span",{className:"tr_bubble_link"},b);this.KA(f,a,e);Xm(f,this.O);return f};p.KA=function(a,b,c){if(c)c.appendChild(a);else{var e=this.g.b(b);if(e){Zc(a,e);L(e)}}a.id=b};p.Kb=function(){this.Yi();return i};
p.cx=function(a){if(a.Vt.target!=this.Tl.Am&&dm(a.Vt.target,"cursor")!="move")a.preventDefault();else this.Tl.target.setCapture&&this.Tl.target.setCapture(i)};p.Rw=function(){this.Tl.target.releaseCapture&&this.Tl.target.releaseCapture()};var ln=function(){gn.call(this,"openImageBubble")};A(ln,gn);
var mn=["tr_small_link","tr_medium_link","tr_large_link","tr_original_link"],nn=z("Remove"),on=z("Original size"),pn=z("Small"),qn=z("Medium"),rn=z("Large"),sn=wb("tr_small_link",pn,"tr_medium_link",qn,"tr_large_link",rn,"tr_original_link",on);p=ln.prototype;p.jd=function(){return"ImageBubble"};
p.Lv=function(a){if(!a)return j;var b=j;if(a.nodeName=="IMG")b=a;else if(a.getAttribute&&a.getAttribute("imageanchor")){var c=zk(a,function(e){return e.nodeName=="IMG"});c===j||(b=a.childNodes[c])}if(b&&Fc(b,"tr_noresize"))b=j;return b};p.Ue=function(){return this.wc().src};p.QG=function(){return this.Kv().b("tr_sizes-div")};p.tu=function(a){this.ha=Ql(this.ib().V());var b=this.g.e("div",{id:"tr_sizes-div"});a.appendChild(b);this.pE(b)};p.pE=function(a){this.IE(a);Jm(a,hn);this.HE(a)};
p.IE=function(a){this.Ue();for(var b=0;b<mn.length;b++){b>0&&Jm(a,hn);this.zu(mn[b],k,a)}};p.HE=function(a){this.bj("tr_delete-image",nn,this.dF,a)};p.vi=function(){ln.f.vi.call(this);this.IB()};p.IB=function(){if(this.QG()){var a=this.wc(),b;if(a.height&&a.width){var c=Math.max(a.height,a.width),e=j,f;for(var g in Ul)if(!(g=="thumb")){var h=this.ha.Ij(a.src,g);if(h>=c&&(!e||h-c<f)){e=g;f=h-c}}b=e}else b=j;for(var l=0;l<mn.length;l++)this.oN(mn[l],b)}this.Ia()};
p.oN=function(a,b){var c=this.sI(),e=!c&&a=="tr_original_link"||c&&a.split("_")[1]==b;this.zu(a,e)};p.sI=function(){if(D)var a=this.mg.getAttribute("width",2),b=this.mg.getAttribute("height",2);else{a=this.mg.getAttribute("width");b=this.mg.getAttribute("height")}return a||b?i:k};p.zu=function(a,b,c){var e=sn[a];if(b)return this.JE(a,e);else{var f=a=="tr_original_link"?w(this.XL,this):w(this.YL,this,a.split("_")[1]);return this.bj(a,e,f,c)}};
p.JE=function(a,b){var c=this.g.e("b",{innerHTML:b});this.KA(c,a);Xm(c,this.O)};p.YL=function(a){var b=this.wc();this.j.dd();var c=this.ha;tn(b,c.Ij(b.src,a));un&&vn(b,a,c);this.IB();this.j.jc()};p.dF=function(){this.j.dd();this.Yi();var a=this.wc();wn(a,"IMG");this.j.jc()};p.XL=function(){this.j.dd();var a=this.wc(),b=w(this.Vz,this),c=w(this.eM,this,a,a.src);xn(a,this.ha,k,{Ty:b,DK:c})};p.Vz=function(){this.vi();this.j.jc()};p.eM=function(a,b){var c=w(this.Vz,this);a.src=b;xn(a,this.ha,i,{Ty:c})};
p.Ur=function(a,b){var c="click";if(D)c="mouseup";this.O.l(a,c,b)};var yn=function(a,b){this.mD=a;this.Vx=b};p=yn.prototype;p.Uh=function(){return this.mD};p.mm=function(){if(!this.Zo)this.Zo=Im(this.Uh());return this.Zo};p.oJ=function(){return this.Vx};p.yx=function(a){this.Uh().href=a};p.ZD=function(a,b){var c=this.Uh();c.href=b;var e=this.mm();if(a!=e){var f=rk(c);if(f.nodeType==3)f=f.parentNode;if(Im(f)!=e)f=c;f.innerHTML="";Jm(f,a);this.Zo=j}this.Vx=k};
p.Kr=function(){var a=this.Uh();if(ek){var b,c=a.nextSibling;if(c&&c.nodeType==3&&(c.data.indexOf("\u00a0")==0||c.data.indexOf(" ")==0))b=c;else{var e=I(a);b=e.createTextNode("\u00a0");Zc(b,a)}var f=ul(b,1);f.select()}else Al(a,k)};var zn=function(a,b,c){var e=new yn(a,i);e.yx(b);if(c)a.target=c;return e},An=function(a){Q.call(this);this.q=a;var b=D?"propertychange":F&&a.tagName=="TEXTAREA"?"keypress":"input";this.$m=N(this.q,b,this)};A(An,Q);
An.prototype.handleEvent=function(a){var b=a.me();if(b.type=="propertychange"&&b.propertyName=="value"||b.type=="input"||b.type=="keypress"){if(D||C){var c=b.srcElement;if(c!=H(c).activeElement)return}var e=new ef(b);e.type="input";try{this.dispatchEvent(e)}finally{e.p()}}};An.prototype.o=function(){An.f.o.call(this);O(this.$m);delete this.q};
var Bn=function(a){if(E){var b=a.style.borderTopWidth,c=Ig(a).top+1;a.style.borderTopWidth=c+"px";a.style.borderTopWidth=b}},Cn=function(a,b){var c=I(a);return c.e("DIV",{style:"overflow:auto;height:100%;"},c.e("DIV",b?{style:"padding-left:5px;height:100%"}:{style:"padding-right:5px;height:100%"},a))},Dn=function(a){this.cr=a.label;this.bl=a.qa;this.ej=a.ap;this.yb=Zb()};Dn.prototype.gi=function(){return"tr_customTab_"+this.yb};Dn.prototype.OG=function(){return this.cr};
Dn.prototype.Ve=function(){return this.bl||this.cr||""};Dn.prototype.$o=function(a){this.ej&&this.ej(this,a,this.ID);return!!this.ej};var En=function(a){this.Lo=a};En.prototype.aD=function(a,b){for(var c in a){var e=a[c];this.pl(e,c,b)}};En.prototype.pl=function(a,b,c){var e=c(a,b);if(e)this.qp?Yc(e,this.qp):this.Lo.appendChild(e)};En.prototype.nE=function(){return!!(this.qp?this.qp.previousSibling:this.Lo.firstChild)};En.prototype.SG=function(){return this.Lo};
var Fn=function(a){var b=a.parentNode,c=a.offsetTop-b.firstChild.offsetTop,e=c-b.scrollTop;if(e<0||e+a.offsetHeight>=b.offsetHeight)b.scrollTop=c};En.prototype.fill=function(a,b,c,e,f){var g=0,h={},l=0,m=this,n=function(r,t){g++;if(e&&!l||g<=b+l){m.pl(t,r,c);if(a.ik(e,r))l=g}else h[r]=t};a.forEach(n,f);var o=w(this.aD,this,h,c);window.setTimeout(o,0)};var Gn=function(a){Dn.call(this,a);this.Qa=a.sP;this.pv=a.vp};A(Gn,Dn);p=Gn.prototype;p.mw=function(){return"tr_customTabList_"+this.yb};p.wH=function(){return this.Qa};
p.zG=function(){return this.pv};p.aN=function(a,b){this.ID=a;this.Pz=new En(b)};p.hH=function(){return this.Pz.SG()};p.Aw=function(){return this.Pz};p.JF=function(a){for(var b=this.hH().firstChild;b;){if(this.ik(a,b.url))return b;b=b.nextSibling}};p.Ap=function(a){return this.Qa.zp(a,this.pv)};p.ik=function(a,b){return this.Qa.ik(a,b)};
var Hn=z("OK"),In=z("Cancel"),Jn=z("Pending uploads will be canceled. Do you want to continue?"),Kn=z("Edit Link"),Ln=z("Text to display:"),Mn=z("Link to:"),Nn=z("Web address"),On=z("Link to a page or file somewhere else on the web"),Pn=z("Test this link"),Qn=z("{$startBold}Not sure what to put in the box?{$endBold} First, find the page on the web that you want to link to. (A {$searchEngineLink}search engine{$endLink} might be useful.) Then, copy the web address from the box in your browser's address bar, and paste it into the box above.",
{startBold:"<b>",endBold:"</b>",searchEngineLink:"<a href='http://www.google.com/' target='_new'>",endLink:"</a>"}),Rn=z("To what URL should this link go?"),Sn=z("Email address"),Tn=z("Link to an email address"),Un=z("Invalid email address"),Vn=z("To what email address should this link?"),Wn=z("{$preb}Be careful.{$postb} Remember that any time you include an email address on a web page, nasty spammers can find it too.",{preb:"<b>",postb:"</b>"}),Xn=z("Edit HTML"),Yn=z("Update"),Zn=z("HTML"),$n=z("Edit your HTML here"),
ao=z("Preview"),bo=z("Preview your changes here"),co=k,eo=function(a,b){this.Ca=a;this.rI=!!b;this.Uq=this.Ux();if(!this.Uq){var c=D&&!G("7"),e=c?"readystatechange":"load";this.Qd=N(this.Ca,e,this.Rj,k,this);this.Jq=window.setInterval(w(this.Rj,this),100)}};A(eo,Q);p=eo.prototype;p.Qd=j;p.Sf=function(){return this.Uq};p.ty=function(){if(this.Jq){window.clearInterval(this.Jq);this.Jq=j}};p.Mg=function(){return this.Ca};p.o=function(){delete this.Ca;this.ty();O(this.Qd);eo.f.o.call(this)};
p.Ux=function(){var a=k;try{a=D?this.Ca.readyState=="complete":!!jd(this.Ca).body&&(!this.rI||!!jd(this.Ca).body.firstChild)}catch(b){}return a};p.Rj=function(){if(this.Ux()){this.ty();O(this.Qd);this.Qd=j;this.Uq=i;this.dispatchEvent("ifload")}};var fo=function(a,b){this.jn=[];for(this.en=[];a&&a.nodeName!="BODY"&&a!=b;){for(var c=0,e=a.previousSibling;e;){e=e.previousSibling;++c}this.jn.unshift(c);this.en.unshift(a.nodeName);a=a.parentNode}};A(fo,bf);
fo.prototype.toString=function(){for(var a=[],b,c=0;b=this.en[c];c++)a.push(this.jn[c]+","+b);return a.join("\n")};fo.prototype.wv=function(a){for(var b,c=a,e=0;b=this.en[e];++e){c=c.childNodes[this.jn[e]];if(!c||c.nodeName!=b)return j}return c};fo.prototype.o=function(){delete this.jn;delete this.en};
var go=function(a,b){this.jk=k;if(a){var c=a.hm(),e=a.nm();if(c&&e){var f=a.Ep(),g=new fo(c,b),h=a.om(),l=new fo(e,b);if(a.Yg()){this.za=l;this.Rk=h;this.va=g;this.pj=f}else{this.za=g;this.Rk=f;this.va=l;this.pj=h}this.jk=i}}};p=go.prototype;p.r=M("TR_CursorPosition");p.collapse=function(a){if(a){this.va=this.za;this.pj=this.Rk}else{this.za=this.va;this.Rk=this.pj}};p.Yx=function(){return this.jk};p.toString=function(){return"MOZ:"+this.za.toString()+"\n"+this.Rk+":"+this.va.toString()+"\n"+this.pj};
p.Eb=function(a){var b=this.za.wv(a),c=this.va.wv(a);if(!b||!c)return j;return Hk(b,this.Rk,c,this.pj).Lc()};var io=function(a,b){this.jk=k;if(a&&ed(b,a.parentElement())){var c=b.ownerDocument.body.createTextRange();c.moveToElementText(b);var e=a.duplicate();e.collapse(i);e.setEndPoint("StartToStart",c);this.za=ho(e);var f=a.duplicate();f.setEndPoint("StartToStart",c);this.va=ho(f);this.jk=i}};io.prototype.Yx=function(){return this.jk};io.prototype.toString=function(){return"IE:"+this.za+","+this.va};
var ho=function(a){var b=a.duplicate(),c=a.text,e=c.length;b.collapse(i);b.moveEnd("character",e);for(var f,g=10;f=b.compareEndPoints("EndToEnd",a);){e-=f;b.moveEnd("character",-f);--g;if(0==g)break}for(var h=0,l=c.indexOf("\n\r");l!=-1;){++h;l=c.indexOf("\n\r",l+1)}return e+h};io.prototype.Eb=function(a){var b=a.ownerDocument.body.createTextRange();b.moveToElementText(a);b.collapse(i);b.moveEnd("character",this.va);b.moveStart("character",this.za);return b};
var jo=function(a){this.na=a||window;this.de=this.na.document;var b=this.getSelection();this.Zb=b&&tl(b)};p=jo.prototype;p.r=M("TR_SelectionUtil");p.$I=function(){return this.Sa().Na()=="control"};p.getSelection=function(){return Kk(this.na)};p.kh=function(){var a;if(this.Zb)a=this.sH();if(!this.Zb||!a||!this.Zb.Lk(a))this.Zb=Uk(this.na)};p.Gd=function(){var a=this.Sa();return a&&a.aa()};p.Df=function(){var a=this.Sa();return a&&a.ma()};p.pa=function(){var a=this.Sa();return a&&a.pa()};
p.Ga=function(){var a=this.Sa();return a&&a.Ga()};p.Fd=function(){var a=this.Sa();return a&&a.Xh()};p.pi=function(){var a=this.Sa();return!a||a.isCollapsed()};p.empty=function(){vl(this.na);this.kh()};
p.fF=function(){var a=this.Sa();if(a&&!a.isCollapsed()){var b=this.Fd(),c=this.Aj(b),e=this.jJ(),f=!e&&this.sJ(),g=this.Aj(b);a.Yf();g.collapse(i);this.gs(g,b);if(e){var h=Em(a.aa());if(xm(h,k)){var l="&nbsp;";if(C&&h.tagName=="LI")l="<br>";h.innerHTML=l;ul(rk(h.firstChild),0).select();this.kh();c=j}}if(f){var m=Em(a.aa()),n=vk(m);if(n){for(var o=n.childNodes.length,r=0;r<o;r++)m.appendChild(n.firstChild);L(n)}}if(c){c.collapse(i);this.gs(c,b)}}return a.Lc()};
p.jJ=function(){var a=this.Gd();if(Dm(a))a=a.childNodes[this.pa()]||a;a=Em(a);var b=this.Df();if(Dm(b))b=b.childNodes[this.Ga()]||b;b=Em(b);return a==b};p.sJ=function(){var a=this.Df(),b=this.Ga(),c=a;if(Dm(c)){var e=c.childNodes[b];if(!e||e.nodeType==1&&Dm(e))return k}for(var f=Em(c);f!=c;){if(vk(c))return i;c=c.parentNode}return b!=yk(a)};p.containsNode=function(a,b){if(!a)return k;var c=this.Sa();try{return c?c.containsNode(a,!b):k}catch(e){return k}};
p.jG=function(a){var b=this.Gd(),c=this.Df();c=Em(c);var e=this.Fd(),f=[];if(e){var g=Em(e),h=Em(b);if(h==g)this.containsNode(h,a)&&f.push(h);else for(;h&&this.containsNode(h);){for(;Em(h.parentNode)!=g;)h=Em(h.parentNode);this.containsNode(h,a)&&f.push(h);var l=vk(h);if(l)h=l;else if(h=vk(h.parentNode))h=qk(h)}}return f};p.wM=function(a){this.Zb=Lk(Mk(a),undefined);this.Zb.select()};p.fm=function(){this.na.focus()};
p.yM=function(a){if(!this.Zb||!this.Zb.Lk(a))this.Zb=a.addElement?kl(a):Lk(el(a),undefined);this.Zb.select()};p.selectNodes=function(a,b,c,e){this.Zb=Hk(a,b,c,e);this.Zb.select()};p.Yz=function(){if(D){var a=this.Sa();if(a)this.In=a.W()}else if(Rj)if((a=this.Sa())&&a.hm()){this.sl={ga:a.hm(),Tf:a.Ep()};this.Dp={ga:a.nm(),Tf:a.om()}}};
p.Xr=function(){if(D&&this.In)this.In.select();else if(Rj&&this.sl&&this.sl.ga.ownerDocument&&this.Dp.ga.ownerDocument){this.selectNodes(this.sl.ga,this.sl.Tf,this.Dp.ga,this.Dp.Tf);C||this.na.focus()}this.kh()};p.Aj=function(a){var b=j;if(Rj)b=new go(this.Sa(),a);else if(D)b=new io(this.ec(),a);b.Yx()||(b=j);return b};p.gs=function(a,b){var c=a.Eb(b);if(c){D&&b.focus();this.yM(c)}};p.collapse=function(a){if(D)this.kE(a);else Rj&&this.lE(a);this.kh()};p.kE=function(a){this.In&&this.In.collapse(a)};
p.lE=function(a){if(!this.pi()){this.Sa().collapse(a);this.Sa().select()}};p.D=function(){return this.de};p.Fx=function(a){var b=this.D().createTextNode(a);this.ec().insertNode(b);this.kh();return b};p.rw=function(a){var b=this.Fd(),c=[];if(!a)for(var e=b;e&&!Am(e);e=e.parentNode)e.nodeType==1&&c.push(e);return this.sw(b,c,a)};p.sw=function(a,b,c){var e=qk(a);if(c&&!e)return[a];for(var f=k;e;){if(this.containsNode(e)){f=i;if(c||e.nodeType==1){b.push(e);c||this.sw(e,b)}}else if(f)break;e=vk(e)}return b};
p.Kr=function(a){this.Zb=Al(a,k)};p.ec=function(){var a=this.Sa();return a&&a.ec(0).Lc()};p.sH=function(){var a=Uk(this.na);return a&&a.Lc()};p.Sa=function(){if(!this.Wx(this.Zb)){var a=Uk(this.na);this.Zb=this.Wx(a)?a:j}return this.Zb};p.Wx=function(a){return!!a&&a.ni()&&a.V()==this.na};p.Dx=function(a){var b=this.Sa(),c=this.$I();c&&b.insertNode(a,i);b.isCollapsed()||b.Yf();c||b.insertNode(a,i)};
var ko=top,lo=new RegExp("^((https?|ftp):\\/\\/(\\w+(:\\w+)?@)?[\\w\\.-]+|([\\w-]+\\.)*[\\w-]+\\.(com|org|net|edu|gov|[a-z]{2}(\\.[a-z]{2})?)|(\\d{1,3}\\.){3}\\d{1,3})(:\\d+)?([\\?\\/]\\S*)?$","i"),mo=/^[\w-]+(\.[\w-]+)*\@([\w-]+\.)+(\d+|\w\w+)$/i,no=function(a){this.fL=a},oo;p=no.prototype;p.r=M("TR_WindowUtil");p.V=function(){return this.fL};p.D=function(){if(!this.de)this.de=this.V().document;return this.de};p.Cw=function(){return Qc(this.V())};
p.Gp=function(){if(!this.Tt)this.Tt=this.D().body;return this.Tt};p.fw=function(){if(!this.ox)this.ox=this.Gp().parentNode;return this.ox};p.hi=function(){return this.tm().clientWidth};p.Cj=function(){return this.tm().clientHeight};p.kH=function(){return this.tm().scrollWidth};p.Dw=function(){return this.tm().scrollHeight};var po=function(){if(!oo){var a=Uc("div",{style:"overflow:scroll;position:absolute;visibility:hidden;"});document.body.appendChild(a);oo=a.offsetWidth-a.clientWidth;L(a)}return oo};
p=no.prototype;p.tm=function(){if(!this.Fy)this.Fy=nk(this.D())?this.D().documentElement:this.Gp();return this.Fy};p.cz=function(a,b){var c=this.Cj()-50,e=this.hi()-50,f="resizable=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=no,menubar=yes,width="+e+",height="+c,g=this.V().open(a,b,f,i);g&&g.focus();return g};p.fm=function(){this.V().focus()};p.bb=function(){return new jo(this.V())};p.Eb=function(){return Uk(this.V())};var qo=function(){ko.status="";return i};
no.prototype.mM=function(a,b){this.V().scrollBy(a,b)};no.prototype.refresh=function(){this.V().location.reload(i)};var ro=function(a,b){this.Lm=new eo(a,b);this.Br=[];try{var c=a.contentWindow}catch(e){}finally{c?this.MA():this.load()}};A(ro,no);p=ro.prototype;p.r=M("TR_IframeUtil");p.Pu=function(){if(this.Qd){O(this.Qd);this.Qd=j}this.Lm.p()};p.MA=function(){no.call(this,this.Mg().contentWindow);this.CJ=i};
p.load=function(a){a&&this.Br.push(a);if(!this.Qd)this.Qd=N(this.Lm,"ifload",this.Zu,i,this);this.Lm.Sf()&&this.Zu()};p.Zu=function(){for(this.CJ||this.MA();this.Br.length;){var a=this.Br.pop();a()}O(this.Qd);this.Qd=j};var so=function(a){return a.frameElement};p=ro.prototype;p.Mg=function(){return this.Lm.Mg()};p.tw=function(){return this.Mg().ownerDocument};
p.KG=function(){var a=this.fw(),b=this.Mg();parseInt(b.style[cg("height")],10)===0&&bg(b,"height","1px");var c;if(nk(this.Gp()))c=a.offsetHeight;else{c=a.scrollHeight;if(a.clientHeight!=a.offsetHeight)c+=po()}return c};p.Or=function(a,b){a.l(this.tw(),"mouseover",w(this.yL,this),i);for(var c=w(this.tL,this),e=this.D(),f=!!b,g=0;g<to.length;g++){var h=to[g];a.l(e,h,c,f)}};p.yL=function(a){this.kM=a.screenX-a.clientX;this.lM=a.screenY-a.clientY};
var uo=["target","originalTarget"],to=["mousedown","mouseup","mousemove","mouseover","mouseout","click"];
ro.prototype.tL=function(a){var b=this.Mg();if(b&&b.parentNode){var c,e=this.D(),f=a,g=this.kM,h=this.lM;f=f.me();var l;if(e.createEvent){var m=e.createEvent("MouseEvents");m.initMouseEvent(f.type,f.bubbles,f.cancelable,f.view,f.detail,f.screenX,f.screenY,g!==undefined?f.screenX-g:f.clientX,h!==undefined?f.screenY-h:f.clientY,f.ctrlKey,f.altKey,f.shiftKey,f.metaKey,f.button,f.relatedTarget);l=m}else if(e.createEventObject){var n=e.createEventObject(f);if(g!==undefined)n.clientX=f.screenX-g;if(h!==
undefined)n.clientY=f.screenY-h;l=n}c=l;for(var o=0;o<uo.length;o++){var r=uo[o];b[r]=a[r]}b.dispatchEvent?b.dispatchEvent(c):b.fireEvent("on"+c.type,c)}};var vo=function(a){var b=a.offsetHeight;if(D&&nk(a))b+=em(a);return b},yo=function(){this.Ac="closure_frame"+wo++;this.$j=[];xo[this.Ac]=this},zo;A(yo,Q);var xo={},wo=0,Ao=function(a,b){Nd(b,function(c,e){var f=Uc("input",{type:"hidden",name:e,value:c});a.appendChild(f)})};p=yo.prototype;p.r=M("goog.net.IframeIo");p.vb=j;p.Ca=j;p.Tg=j;p.pK=0;
p.sb=k;p.Zi=k;p.Ii=k;p.df=j;p.Xm=j;p.Tc=0;p.th=0;p.og=j;p.zv=j;p.Of=j;
p.send=function(a,b,c,e){if(this.sb)d(Error("[goog.net.IframeIo] Unable to send, already active."));var f=new Vd(a);this.df=f;var g=b?b.toUpperCase():"GET";c&&f.ny();this.r.info("Sending iframe request: "+f+" ["+g+"]");var h;if(!zo){zo=Uc("form");zo.acceptCharset="utf-8";var l=zo.style;l.position="absolute";l.visibility="hidden";l.top=l.left="-10px";l.width=l.height="10px";l.overflow="hidden";document.body.appendChild(zo)}this.vb=h=zo;g=="GET"&&Ao(this.vb,f.aq());e&&Ao(this.vb,e);this.vb.action=f.toString();
this.vb.method=g;this.gA()};p.AM=function(a,b,c){if(this.sb)d(Error("[goog.net.IframeIo] Unable to send, already active."));var e=new Vd(b||a.action);c&&e.ny();this.r.info("Sending iframe request from form: "+e);this.df=e;this.vb=a;this.vb.action=e.toString();this.gA()};p.abort=function(a){if(this.sb){this.r.info("Request aborted");Cf(this.dq());this.Ii=this.sb=this.Zi=k;this.Tc=a||7;this.dispatchEvent("abort");this.nr()}};
p.o=function(){this.r.hb("Disposing iframeIo instance");if(this.sb){this.r.hb("Aborting active request");this.abort()}yo.f.o.call(this);this.Ca&&this.$z();this.Xu();delete this.mv;this.df=this.HJ=this.Xm=this.GJ=this.vb=j;this.Tc=0;delete xo[this.Ac]};p.Pq=function(){return this.Zi};p.qi=function(){return this.Ii};p.Ld=function(){return this.sb};p.wm=function(){return this.Xm};p.eq=function(){if(!this.Ca)return j;return this.lm()};p.lw=function(){return this.df};p.kw=function(){return this.Tc};
p.DA=function(a){this.th=Math.max(0,a)};p.dispatchEvent=function(a){this.Ca&&ej.An(this.Ca);try{yo.f.dispatchEvent.call(this,a)}finally{this.Ca&&ej.wn()}};
p.gA=function(){this.sb=i;this.Zi=k;this.Tc=0;this.zE();if(D){this.vb.target=this.Tg||"";this.Jt();N(this.Ca,"readystatechange",this.yr,k,this);try{this.tp=k;this.vb.submit()}catch(a){zf(this.Ca,"readystatechange",this.yr,k,this);this.Pj(1)}}else{this.r.hb("Setting up iframes and cloning form");this.Jt();var b=this.Tg+"_inner",c=jd(this.Ca),e="<body><iframe id="+b+" name="+b+"></iframe>";if(C)c.documentElement.innerHTML=e;else c.write(e);N(c.getElementById(b),"load",this.zr,k,this);for(var f=this.vb.getElementsByTagName("textarea"),
g=0,h=f.length;g<h;g++)qd(f[g])!=f[g].value&&kd(f[g],f[g].value);var l=c.importNode(this.vb,i);l.target=b;c.body.appendChild(l);var m=this.vb.getElementsByTagName("select"),n=l.getElementsByTagName("select");g=0;for(h=m.length;g<h;g++)n[g].selectedIndex=m[g].selectedIndex;var o=this.vb.getElementsByTagName("input"),r=l.getElementsByTagName("input");g=0;for(h=o.length;g<h;g++)if(o[g].type=="file")if(o[g].value!=r[g].value){this.r.hb("File input value not cloned properly.  Will submit using original form.");
this.vb.target=b;l=this.vb;break}this.r.hb("Submitting form");try{this.tp=k;l.submit();c.close();if(E)this.zv=Mg(this.rB,250,this)}catch(t){this.r.hg("Error when submitting form: "+he(t));zf(c.getElementById(b),"load",this.zr,k,this);c.close();this.Pj(2)}}};p.yr=function(){if(this.Ca.readyState=="complete"){zf(this.Ca,"readystatechange",this.yr,k,this);var a;try{a=jd(this.Ca);if(D&&a.location=="about:blank"&&!navigator.onLine){this.Pj(9);return}}catch(b){this.Pj(1);return}this.Rj(a)}};
p.zr=function(){if(!(C&&this.lm().location=="about:blank")){zf(this.dq(),"load",this.zr,k,this);this.Rj(this.lm())}};
p.Rj=function(a){this.r.hb("Iframe loaded");this.Zi=i;this.sb=k;var b;try{var c=a.body;this.Xm=c.textContent||c.innerText;this.GJ=c.innerHTML}catch(e){b=1}var f;if(!b&&typeof this.mv=="function")if(f=this.mv(a))b=4;this.r.xv("Last content: "+this.Xm);this.r.xv("Last uri: "+this.df);if(b){this.r.hb("Load event occurred but failed");this.Pj(b,f)}else{this.r.hb("Load succeeded");this.Ii=i;this.Tc=0;this.dispatchEvent("complete");this.dispatchEvent("success");this.nr()}};
p.Pj=function(a,b){if(!this.tp){this.sb=this.Ii=k;this.Zi=i;this.Tc=a;if(a==4)this.HJ=b;this.dispatchEvent("complete");this.dispatchEvent("error");this.nr();this.tp=i}};p.nr=function(){this.r.info("Ready for new requests");var a=this.Ca;this.$z();this.Xu();ej.An(a);try{this.dispatchEvent("ready")}finally{ej.wn()}};
p.zE=function(){this.r.hb("Creating iframe");this.Tg=this.Ac+"_"+(this.pK++).toString(36);var a={name:this.Tg,id:this.Tg};if(D&&uc<7)a.src='javascript:""';this.Ca=Uc("iframe",a);var b=this.Ca.style;b.visibility="hidden";b.width=b.height="10px";if(F)b.marginTop=b.marginLeft="-10px";else{b.position="absolute";b.top=b.left="-10px"}};p.Jt=function(){document.body.appendChild(this.Ca)};
p.$z=function(){var a=this.Ca;if(a){a.onreadystatechange=j;a.onload=j;a.onerror=j;this.$j.push(a)}if(this.Of){Ng(this.Of);this.Of=j}if(E||C)this.Of=Mg(this.jp,2000,this);else this.jp();this.Tg=this.Ca=j};
p.jp=function(){if(this.Of){Ng(this.Of);this.Of=j}for(var a=0;a<this.$j.length;){var b=this.$j[a];if(ej.ZI(b)){this.r.info("Disposing iframe");Array.prototype.splice.call(this.$j,a,1).length==1;L(b)}else a++}if(this.$j.length!=0){this.r.info("Requests outstanding, waiting to dispose");this.Of=Mg(this.jp,2000,this)}};p.Xu=function(){this.vb&&this.vb==zo&&Xc(this.vb);this.vb=j};p.lm=function(){if(this.Ca)return jd(this.dq());return j};
p.dq=function(){if(this.Ca)return D?this.Ca:jd(this.Ca).getElementById(this.Tg+"_inner");return j};p.rB=function(){if(this.sb){this.lm();this.zv=Mg(this.rB,250,this)}};var Bo=function(a){df.call(this,"incrementaldata");this.data=a};A(Bo,df);var Co=function(a,b,c){this.GI=a;this.Qz=b;this.ZL=c||j};p=Co.prototype;p.IG=function(){return this.GI};p.wm=function(){return this.Qz};p.eq=function(){return this.ZL};p.qi=function(){return this.IG()==200};p.dJ=function(){return!this.qi()};
var Do=function(a,b,c){Co.call(this,a,b,c);this.xd="error";if(a==200&&b){var e;a:{var f=String(b),g;if(/^\s*$/.test(f))g=k;else{var h=/\\["\\\/bfnrtu]/g,l=/"[^"\\\n\r\u2028\u2029\x00-\x1f\x80-\x9f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,m=/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,n=/^[\],:{}\s\u2028\u2029]*$/;g=n.test(f.replace(h,"@").replace(l,"]").replace(m,""))}if(g)try{e=eval("("+f+")");break a}catch(o){}d(Error("Invalid JSON string: "+f))}if(e){this.xd=e.type;this.iF=e.details}}};
A(Do,Co);p=Do.prototype;p.Na=function(){return this.xd};p.Wv=function(){return this.iF};p.qi=function(){return this.Na()=="ok"};p.BJ=function(){return this.Na()=="verbatim_error"};p.uJ=function(){return this.Na()=="quota"};p.AJ=function(){return this.Na()=="unsupported_file_type"};p.cJ=function(){return this.Na()=="exceeded_max_file_size"};var Eo=function(a,b,c,e,f){Q.call(this);this.hh=[];this.Ph=[];this.YF=b;this.vx=c;this.FF=e;this.Ah="/-/images/";this.rP=a;this.wh=f;this.ed=new nh(this)};
A(Eo,Q);p=Eo.prototype;p.o=function(){Eo.f.o.call(this);if(this.ed){this.ed.p();this.ed=j}if(this.Ie){this.Ie.p();this.Ie=j}};p.VM=function(a){this.Ah=a};p.vq=function(){return this.hh.length>0};
p.Xt=function(){var a,b=Km(this.YF,"div");b.style.overflow="auto";b.innerHTML=['<form method="post" enctype="multipart/form-data" accept-charset="utf-8" style="margin-bottom: 0px" onsubmit="return false" action="',this.rP,'"></form>'].join("");a=b.firstChild;var c='<input type="file" name="file" '+this.FF.join(" ")+">";if(this.wh)for(var e in this.wh)c+='<input type="hidden" name="'+e+'" value="'+this.wh[e]+'">';a.innerHTML=c;var f=a.childNodes[0];Cg(f,i);this.ed.l(f,"change",w(this.UK,this,a));return a};
p.UK=function(a){a.parentNode.style.display="none";this.Xt();for(var b,c=0;c<this.Ph.length;c++)if(this.Ph[c].form.childNodes[0].value==a.childNodes[0].value){b=this.Ph[c];this.Ph.splice(c,1);L(b.form.parentNode);break}var e=b?b.Hq:this.WC(),f={form:a,Hq:e};this.Dt(f)};
p.Ly=function(a){var b=a.target,c;try{c=new Do(200,b.wm())}catch(e){c=new Do(200,"")}var f=b.kw()==7;this.Ie.Xc();if(c.qi()){var g=new df("succeeded");g.bm=c.Wv();this.dispatchEvent(g)}else if(c.size==0)alert(Fo(this.qm(this.hh[0]).filename));else if(!f){g=new df("failed");g.ZQ=c;this.dispatchEvent(g)}var h=this.hh.shift();b.p();h.Dq=j;if(c.dJ()&&!f){this.Ph.push(h);this.OM(h,c)}else{L(h.Hq);L(h.form.parentNode)}this.hh.length>0&&this.bB()};
p.Dt=function(a){this.hh.push(a);this.PM(a);this.dispatchEvent("addedtoqueue");this.hh.length==1&&this.bB()};p.bB=function(){var a=this.hh[0],b=new yo;a.Dq=b;this.QM(a);this.Ie.l(b,"complete",w(this.Ly,this));this.Ie.l(b,"abort",w(this.Ly,this));b.AM(a.form)};p.WC=function(){var a=I(this.vx),b=a.e("TR",j,a.e("TD",j,"  "),a.e("TD",{style:"width:20px"}),a.e("TD"),a.e("TD",{align:"right"}),a.e("TD",j," "));this.vx.appendChild(b);return b};
p.qm=function(a){var b=a.Hq,c,e=a.form.childNodes[0].value,f=Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"));c=e.substring(f+1);var g,h=c;if(h.length>20)h=h.substring(0,17)+"...";g=h;return{filename:g,Aq:b.childNodes[1],ur:b.childNodes[2],Sk:b.childNodes[3]}};
p.QM=function(a){var b=this.qm(a);b.Aq.innerHTML='<img width="16" height="16" src="'+this.Ah+'pie.gif">';kd(b.ur,b.filename);b.Sk.innerHTML="";if(this.Ie)this.Ie.Xc();else this.Ie=new nh(this);var c=z("cancel upload");Lm(b.Sk,w(a.Dq.abort,a.Dq,7),this.Ie,c)};p.PM=function(a){var b=this.qm(a),c=z("queued");b.Aq.innerHTML="";kd(b.ur,b.filename);b.Sk.innerHTML="[<i>"+c+"</i>]"};
p.OM=function(a,b){var c=this.qm(a),e=i,f="";if(b.AJ()){f=Go(c.filename);e=k}else if(b.uJ())f=Ho(c.filename);else if(b.cJ()){f=Io(c.filename);e=k}else if(b.BJ())f=b.Wv();function g(n){return'<font color="#FF0000">'+n+"</font>"}var h=z("failed"),l=z("retry");c.Aq.innerHTML="";c.ur.innerHTML=g("[<i><nobr>"+h+"</nobr></i>]")+"&nbsp;"+Pb(c.filename)+"<br />"+Pb(f);c.Sk.innerHTML="";var m=function(){Za(this.Ph,a);this.Dt(a)};e&&Lm(c.Sk,w(m,this),this.ed,l)};
var Fo=function(a){var b=z("The file you uploaded ({$fileName})  has zero size.  Please check the file path and try again.",{fileName:a});return b},Go=function(a){var b=z("Unable to upload unsupported file type of file: {$fileName}",{fileName:a});return b},Ho=function(a){var b=z("Unable to upload file ({$fileName}) because the site has exceeded its file upload quota.",{fileName:a});return b},Io=function(a){var b=z("Unable to upload file ({$fileName}) because it exceeds the maximum file size (10MB).",
{fileName:a});return b},Jo=function(a,b,c,e,f,g){Q.call(this);this.g=a;this.qb=b;this.cr=c;this.NQ=e;this.ya=f||{};this.SQ=!!g};A(Jo,Q);Jo.prototype.vq=function(){return!!this.ho&&this.ho.vq()};Jo.prototype.o=function(){this.lR=j;if(this.ho){this.ho.p();this.ho=j}Jo.f.o.call(this)};var Ko=function(a,b,c,e){Q.call(this);this.$=a.document;this.F=I(this.$);this.kl=a;this.$d=new no(a);this.Wd=c;this.xy=b;this.O=new nh(this);this.$g=new nh(this);this.jl=new Qm(this.kl);this.mu=i;this.dm=j;e&&this.Pn(e)};
A(Ko,Q);Ko.prototype.Pn=function(a){if(!this.content){this.content=this.F.e("DIV",{id:Zb(),"class":"tr_dialog"});a.parentNode.appendChild(this.content);this.Gl=a.Fl;this.Cl=a.Bl;this.IL=a.Vr;a.co&&this.cD(a.co);this.OC(a);if(a.Vc)this.Vc=this.$C(a.Vc);if(a.vg)this.vg=this.RC(a.vg);if(a.ff)this.Uf=a.ff}};var Lo=200,Mo=[];p=Ko.prototype;p.At=function(a){if(!this.Zt)this.Zt=this.PC("tr_button-region-rhs");var b=this.F.e("INPUT",{type:"button",value:a});this.Zt.appendChild(b);return b};
p.PC=function(a){this.Al||this.QC();var b=this.F.e("DIV",{"class":a});Yc(b,this.hE);return b};p.QC=function(){if(!this.Al){this.Al=this.F.e("DIV",j,this.hE=this.F.e("DIV",{style:"clear:both"}));this.St.appendChild(this.Al)}};
p.td=function(){this.dispatchEvent("beforeopen");if(this.xy){if(this.Wd){this.Wd.Yz();this.Wd.empty()}if(!Xa(Mo,this)){var a=Mo.length;Mo.push(this);this.content.style.zIndex=a==0?Lo+1:parseInt(Mo[a-1].content.style.zIndex,10)+2}this.QA()}co=i;this.content.style.display="";this.yf||this.fO()};p.Jd=function(){this.iP();if(this.xy){var a=Sa(Mo,this);a!=-1&&Mo.splice(a,1);this.jz()}this.content.style.display="none";this.YI=i;co=k};p.Fo=function(){return this.qg&&this.qg.vq()?confirm(Jn):i};
p.remove=function(){this.Jd();this.Gl&&this.Gl();this.dispatchEvent("close");this.IL&&this.content.parentNode.removeChild(this.content);if(this.Wd){this.Wd.fm();this.Wd.Xr()}};p.o=function(){this.isOpen()&&this.Jd();if(this.Ze){this.Ze.Pu();this.Ze=j}if(this.O){this.O.p();this.O=j}if(this.$g){this.$g.p();this.$g=j}if(this.jl){this.jl.p();this.jl=j}if(this.qg){this.qg.p();this.qg=j}if(this.yf){this.yf.p();this.yf=j}};p.pG=function(){return"close"};p.isOpen=function(){return!this.YI};
p.setPosition=function(a,b){this.content.style.position="absolute";this.content.style.top=b+"px";this.content.style.left=a+"px"};p.Ho=function(){this.content.style.position="absolute";var a=this.$d.hi(),b=this.$d.Cj(),c=Qc(this.kl),e=(a-this.content.offsetWidth)/2;e+=c.x;var f=(b-vo(this.content))/2;f+=c.y;this.setPosition(Math.floor(e),Math.floor(f))};p.Kz=function(){var a=this.im();a.style.width=Math.max(this.$d.hi(),this.$d.kH())+"px";a.style.height=Math.max(this.$d.Cj(),this.$d.Dw())+"px"};
p.cD=function(a){var b;this.al=this.F.e("DIV",{id:Zb(),"class":"tr_dialog-title",style:"cursor:move"},this.F.e("TABLE",{width:"100%","class":"tr_dialog-title-layout-table",id:Zb()},b=this.F.e("TBODY")));var c=b.insertRow(0);this.TO=this.F.e("TD",{innerHTML:a,width:"100%"});c.appendChild(this.TO);this.content.appendChild(this.al)};p.fO=function(){if(this.al){this.yf=new Qh(this.content,this.al);this.O.l(this.yf,"start",this.cx);this.O.l(this.yf,"end",this.Rw);this.Cs()}};
p.Cs=function(){this.al&&this.yf&&this.yf.nN(new Kf(0,0,this.$d.hi()-this.content.offsetWidth,this.$d.Dw()-vo(this.content)))};p.cx=function(){this.content.setCapture&&this.content.setCapture(i)};p.Rw=function(){this.content.releaseCapture&&this.content.releaseCapture()};p.OC=function(a){this.St=this.F.e("DIV",j,a);this.content.appendChild(this.St)};p.$C=function(a){var b=this.At(a);b.style.paddingLeft="1.9ex";b.style.paddingRight="1.9ex";b.onclick=w(this.kn,this);return b};
p.RC=function(a){var b=this.At(a);b.onclick=w(this.cu,this);return b};p.QA=function(){var a=this.im();this.Kz();this.O.l(this.jl,"resize",this.Fm);var b={zIndex:parseInt(this.content.style.zIndex,10)-1,display:"block",backgroundColor:this.hG()};Fm(a,b)};p.Fm=function(){this.im().style.display="none";this.Cs();this.Kz();this.jz()};p.hG=function(){return this.vQ||"#afafaf"};
p.im=function(){var a=this.F.b("tr_backgroundMask");if(!a){var b={frameBorder:0,scrolling:"no",id:"tr_backgroundMask","class":"tr_backgroundMask"};if(D&&this.F.V().location.protocol=="https:")b.src='javascript:""';a=this.F.e("IFRAME",b);this.Ze=new ro(a);this.Ze.load(w(function(){this.Ze.Or(this.O)},this));this.$.body.appendChild(a)}if(!this.Ze){this.Ze=new ro(a);this.Ze.load(w(function(){this.Ze.Or(this.O)},this))}return a};
p.jz=function(){var a=Mo.length;if(a>0)Mo[a-1].QA();else{this.im().style.display="none";this.O.Ya(this.jl,"resize",this.Fm)}};p.kn=function(){var a=this;if(a.Fo()){a.Uf&&a.Uf();a.mu&&a.remove();a.dispatchEvent("ok")}};p.ZM=function(a){this.mu=a};p.cu=function(){var a=this;if(a.Fo()){a.remove();a.Cl&&a.Cl();a.dispatchEvent("cancel")}};
p.Cp=function(a){var b=this.F.b(a);if(b.tagName=="INPUT"){b.focus();var c=b.value.length,e=b.ownerDocument||b.document;if(Ze(b)){b.selectionStart=c;b.selectionEnd=c}else if(e.selection&&b.createTextRange){var f=b.createTextRange();f.collapse(i);f.move("character",c);f.select()}}};p.oa=j;p.uA=function(){this.oa=new wh(this.$);this.$g.l(this.oa,"key",this.Kb);if(this.dm){this.$g.l(this.dm,"keydown",this.$O);this.$g.l(this.vg,"keydown",this.aP)}};
p.iP=function(){if(this.oa){this.$g.Xc();this.oa.p();this.oa=j}};p.Kb=function(a){var b=k;switch(a.keyCode){case 13:if(!this.Vc.disabled){this.kn();b=i}break;case 27:this.cu();b=i;break}b&&a.preventDefault();return b};p.$O=function(a){if(a.keyCode==9&&a.shiftKey){a.preventDefault();this.vg.focus()}};p.aP=function(a){if(a.keyCode==9&&!a.shiftKey){a.preventDefault();this.dm.focus()}};
p.hO=function(a,b,c,e,f,g){var h=Mm(2,2,a.ownerDocument,i);h.width="100%";a.appendChild(h);var l=h.rows[1].cells[0],m=h.rows[0].cells[0];m.innerHTML='<br><span style="white-space:nowrap; font-size:10pt;font-weight: bold;">'+b+"&nbsp;</span>";m.id="tr_upload_vertical";l.innerHTML='<span style="white-space:nowrap; font-size:10pt;">'+b+"&nbsp;</span>";l.id="tr_upload_horizontal";var n=f?m:l;n.style.display="none";var o=h.rows[1].cells[1],r=E?20:29;this.qg=new Eo(c,o,e,['size="'+r+'"'],g);this.qg.Xt()};
var No=function(a,b,c){this.WK=a;this.VK=b;this.Ec=c};No.prototype.Gb=function(a){if(this.Ec!=a){this.au(this.WK);this.Ec=a;this.au(this.VK)}};No.prototype.au=function(a){this.Ec&&a(this.Ec)};No.prototype.Kj=function(){return this.Ec};var Oo=function(){Q.call(this);var a=this;this.ed=new nh(this);this.Yj=new No(function(b){a.tl(b,0)},function(b){a.tl(b,2);a.dispatchEvent({type:"select",Ea:b})});this.XA=new No(function(b){b!=a.Yj.Kj()&&a.tl(b,0)},function(b){b!=a.Yj.Kj()&&a.tl(b,1)})};A(Oo,Q);p=Oo.prototype;
p.o=function(){this.ed.p();this.ed=j;Oo.f.o.call(this)};p.tl=function(a,b){a.style.background=["","#FFFFE0","#FFFFCC"][b]};p.xm=function(){return this.Yj.Kj()};p.of=function(a){this.Yj.Gb(a)};p.add=function(a,b){var c=this,e=b&&b.onclick?b.onclick:Po(c,a),f=b&&b.ondblclick?b.ondblclick:function(){},g=b&&b.onmouseover?b.onmouseover:Qo(c,a),h=b&&b.onmouseout?b.onmouseout:Ro(c);this.ed.l(a,"click",e,i);this.ed.l(a,"dblclick",f,i);this.ed.l(a,"mouseover",g,i);this.ed.l(a,"mouseout",h,i)};
var Po=function(a,b){return function(){a.Yj.Gb(b)}},Qo=function(a,b){return function(){a.XA.Gb(b)}},Ro=function(a){return function(){a.XA.Gb(j)}},So=function(a,b,c,e){this.$=b;this.g=I(b);this.iJ=c;if(e)this.$n=this.NE(e);this.mB=[];var f=c?Mm(2,1,this.$,i):Mm(1,2,this.$,i);f.cellPadding=0;f.cellSpacing=0;this.Ji=f.rows[0].cells[0];this.Ji.className="tr_tabbed-pane-tabs";if(c){this.Ji.className+=" tr_horizontal-tab";var g=Mm(1,2,this.$,i);g.cellPadding=0;g.cellSpacing=0;this.vO=g.rows[0].cells[0];
this.vO.width="99%";g.rows[0].cells[1].width="1%";this.Ji.appendChild(g);this.bo=this.g.e("TABLE",{cellPadding:0});this.bo.insertRow(0);g.rows[0].cells[1].appendChild(this.bo)}else{this.Ji.className+=" tr_vertical-tab";this.Ji.innerHTML="<p>"+a.ao+"</p>"}this.No=c?f.rows[1].cells[0]:f.rows[0].cells[1];for(this.No.className="tr_tabbed-pane-tab-content";a.childNodes.length;)this.eD(a);a.appendChild(f);a.className+=" tr_tabbed-pane"};
So.prototype.eD=function(a){if(a.childNodes[0].nodeType==1){var b=a.childNodes[0];b.style.display="none";this.No.appendChild(b);var c=b.KO,e={id:c,pF:b};this.mB.push(e);b.id=c+"-content";var f=this.ME(c,b.MO,b.NO);this.iJ?Wc(this.bo.rows[0].insertCell(-1),f):Wc(this.Ji,f)}else a.removeChild(a.firstChild)};var To=function(a,b,c,e,f){var g=I(e).e("DIV",{KO:a,MO:b,NO:c});if(f)g.ff=f;return g};
So.prototype.ME=function(a,b,c){var e="<table cellpadding=0><tr valign=top><td><input type=radio id="+a+"-dialog-radio name="+a+" class=tr_radio /></td><td class=tr_tabbed-pane-tab-label>"+b+"</td></tr></table>",f=this.g.e("DIV",{id:a,innerHTML:e,title:c,$n:this.$n});f.onclick=function(){this.$n.Gb(this.id)};return f};
So.prototype.NE=function(a){var b=this.$;return new No(function(c){b.getElementById(c).className="";b.getElementById(c+"-dialog-radio").checked="";b.getElementById(c+"-content").style.display="none"},function(c){b.getElementById(c).className="tr_selected-tab-in-tabbed-pane";b.getElementById(c+"-dialog-radio").checked="checked";b.getElementById(c+"-content").style.display="";a&&a(c)})};So.prototype.sd=function(a){this.$n.Gb(a)};
So.prototype.Gj=function(){for(var a,b,c=this.mB,e=0;e<c.length;e++){a=c[e].id+"-dialog-radio";b=this.g.b(a);if(b.checked!="")return c[e].pF}return j};var Uo=function(a,b,c,e){for(var f=a.childNodes,g=0;g<f.length;g++)if(f[g].nodeType==1&&f[g].ao)return new So(f[g],b,c,e)};So.prototype.rG=function(){return this.No};
var Vo=function(a,b,c,e,f,g){this.ha=b;this.Bh=b.Bb.base;this.Ah=e;this.Yk=f;this.mg=f.Uh();this.Za=[];if(g)for(var h=0;h<g.length;h++)this.Za[h]=new Gn(g[h]);this.Vd=new Oo;Ko.call(this,a,i,c);this.hk=mg(this.$.body);this.uj()};A(Vo,Ko);Vo.prototype.wc=function(){return this.mg};Vo.prototype.Ue=function(){return this.ha.Iw(this.wc())};var bp=k;p=Vo.prototype;p.mj=j;p.dl=j;
p.td=function(){this.uA();this.O.l(this.Vd,"select",this.Zy);this.Ho();Vo.f.td.call(this);this.Xs&&R(this.Xs,i);this.Cp(this.ye.id);this.uM(this.ye.value,this.Ue());this.Ws()};p.Jd=function(){this.O.Ya(this.Vd,"select",this.Zy);Vo.f.Jd.call(this)};p.aj=function(){var a=this.F.e("DIV",{id:"tr_choose-link-dialog",className:"tr_edit-link-dialog-body",co:Kn,Vc:Hn,vg:In,Fl:w(this.Fl,this),Bl:w(this.Bl,this),ff:w(this.Uf,this),Vr:i},this.UD(),this.RD());this.$.body.appendChild(a);return a};
p.uj=function(){var a=this.aj();this.Pn(a);this.dm=this.ye;this.ud=Uo(a,this.$,k,w(this.xk,this));this.content.className+=" tr_edit-link-dialog";for(var b=0;b<this.Za.length;b++)this.Za[b].$o(this);Xm(this.content,this.O,i)};
p.UD=function(){var a=Mm(1,2,this.$,i);Fm(a,{fontSize:"10pt"});var b=this.F.e("DIV",{className:"tr_dialog-section",style:"padding-bottom:.8ex"});a.rows[0].cells[0].innerHTML='<span style="position: relative; bottom: 2px; padding-right: 1px;">'+Ln+"&nbsp;</span>";var c=this.ye=this.F.e("INPUT",{size:50,id:"tr_text-to-display"}),e=c;if(E){this.Xs=e=Cn(c,this.hk);R(this.Xs,k)}a.rows[0].cells[1].appendChild(e);c.value=this.Yk.mm();this.O.l(c,"keyup",w(this.ZK,this));b.appendChild(a);return b};
p.RD=function(){for(var a=this.F.e("DIV",{className:"tr_dialog-section",ao:Mn}),b=0;b<this.Za.length;b++){var c=this.QD(this.Za[b]);a.appendChild(c)}Gm(a,this.TD(),this.SD());return a};
p.TD=function(){var a=To("tr_on-the-web-tab",Nn,On,this.$,w(this.yP,this)),b=this.F.e("DIV",{innerHTML:"<b>"+Rn+"</b>"}),c=this.F.e("INPUT",{id:"tr_on-the-web-tab-input"});if(!D)c.type="url";var e=c;if(E)e=Cn(c,this.hk);if(D&&nk(c))c.style.width="99%";var f=this.F.e("DIV",{className:"tr_external-input-div"},e);this.dl=new An(c);N(this.dl,"input",w(this.az,this));var g=Lm(f,w(this.aL,this),this.O);g.innerHTML="<br>"+Pn;var h=this.F.e("DIV",{className:"tr_dialog-tab-content-explanation-text",innerHTML:Qn});
Gm(a,b,f,h);return a};
p.SD=function(){var a=To("tr_email-address-tab",Sn,Tn,this.$,w(this.cv,this)),b=this.F.e("DIV",{innerHTML:"<b>"+Vn+"</b>"});a.appendChild(b);var c=this.F.e("INPUT",{id:"tr_email-address-tab-input"}),e=c;if(E)e=Cn(c,this.hk);if(D&&nk(c))c.style.width="99%";a.appendChild(e);e.className="tr_external-input-div";this.mj=new An(c);N(this.mj,"input",w(this.az,this));var f=this.F.e("DIV",{id:"tr_email-warning-div"},Un);a.appendChild(f);var g=this.F.e("DIV",{className:"tr_dialog-tab-content-explanation-text",innerHTML:Wn});
a.appendChild(g);return a};p.uM=function(a,b){if(this.Xq())this.DH(a);else if(Rl(b)){this.sd("tr_email-address-tab");var c=b.substring(b.indexOf(":")+1);this.F.b("tr_email-address-tab-input").value=c;this.Nn()}else if(!this.cA(b,a)){this.sd("tr_on-the-web-tab");this.F.b("tr_on-the-web-tab-input").value=this.Xq()?"http://":b;this.Nn()}};
p.DH=function(a){var b;if(mo.test(a)){this.F.b("tr_email-address-tab-input").value=a;this.dg(i);this.sd("tr_email-address-tab");this.fp(i)}else if(lo.test(a)){this.F.b("tr_on-the-web-tab-input").value=a;this.dg(i);this.sd("tr_on-the-web-tab");this.fp(i)}else if(b=this.uv({title:a})){var c=b.Ap({title:a}).url;this.dg(i);this.sd(b.gi(),c)}else{this.Yk.mm()||this.dg(i);var e=this.Za.length>0?this.Za[0].gi():"tr_on-the-web-tab";this.sd(e)}};p.fp=function(a){this.dg(!a);bp=a};
p.Nn=function(){var a=this.Gj(),b=k;if(!bp&&(a=="tr_email-address-tab"||a=="tr_on-the-web-tab")){var c=this.F.b(a+"-input");b=c.value==this.ye.value}this.dg(b)};p.sd=function(a,b){this.nB=b;this.ud.sd(a)};p.Gj=function(){return this.Ol};p.xk=function(a){this.Ol=a;if(this.Sv(a))this.$s(k);else{this.Cp(this.Ol+"-input");this.Ws()}this.Vd.of(j);this.Un();this.GF(a);E&&Bn(this.content)};
p.aL=function(){var a=this.F.b("tr_on-the-web-tab-input"),b=Yl(a.value);!(Zl?bm(b,this.Bh):$l(b))?this.$d.cz(b,""):Sl()};p.ZK=function(){var a=this.ye.value=="";a?this.dg(i):this.Nn()};p.az=function(){if(this.Rt)this.Un();else this.ye.value==""&&this.Nn();this.Ws()};
p.Ws=function(){var a;if(this.Ol=="tr_email-address-tab"){a=this.F.b("tr_email-address-tab-input").value;this.VO(a!=""&&!mo.test(a))}else if(this.Ol=="tr_on-the-web-tab")a=this.F.b("tr_on-the-web-tab-input").value;else return;this.$s(Db(a)!="")};p.dg=function(a){this.Rt=a};p.Un=function(){if(this.Rt){var a=this.Gj();if(a=="tr_on-the-web-tab"||a=="tr_email-address-tab"){var b=a+"-input";this.ye.value=this.F.b(b).value}else{var c=this.Vd.xm();this.ye.value=c?c.title:""}}};
p.Zy=function(){this.Un();this.$s(i)};p.VO=function(a){this.F.b("tr_email-warning-div").style.visibility=a?"visible":""};p.$s=function(a){this.Vc.disabled=!a};p.Fl=function(){if(this.Wd){this.Wd.fm();this.Yk.Kr()}this.Wd=j;if(this.Vd){this.Vd.p();this.Vd=j}if(this.dl){this.dl.p();this.dl=j}if(this.mj){this.mj.p();this.mj=j}this.fp(k)};p.Bl=function(){var a=this.wc();this.Xq()&&ad(a)};p.Xq=function(){return this.Yk.oJ()};p.Uf=function(){var a=this.ud.Gj();a&&a.ff&&a.ff()};
p.yP=function(){var a=this.F.b("tr_on-the-web-tab-input").value;mo.test(a)?this.cv("tr_on-the-web-tab-input"):this.As(Yl(a))};p.cv=function(a){var b=this.F.b(a?a:"tr_email-address-tab-input").value;b="mailto:"+b;this.As(b)};p.As=function(a){this.Un();this.Yk.ZD(this.ye.value,a)};p.uv=function(a){for(var b=0;b<this.Za.length;b++)if(this.Za[b].Ap(a))return this.Za[b]};p.cA=function(a,b){var c=this.uv({url:a});if(c){this.sd(c.gi(),a);var e=c.JF(a);if(e){e.title==b&&this.dg(i);this.Vd.of(e);Fn(e)}}return c};
p.Sv=function(a){for(var b=0;b<this.Za.length;b++)if(this.Za[b].gi()==a)return this.Za[b]};p.OJ=function(a){var b=this.nB;if(b&&!a.Ap({url:b}))b=undefined;a.Aw().fill(a.wH(),9,w(this.pl,this),b,a.zG());this.nB=undefined;b&&this.cA(b,j)};p.GF=function(a){var b=this.Sv(a);if(b)b.Aw().nE()||this.OJ(b)};
p.QD=function(a){var b=To(a.gi(),a.OG(),a.Ve(),this.$,w(this.UE,this,a)),c="tr_resource-list tr_resource-list-size tr_resource-list-icons",e=this.F.e("DIV",{id:a.mw(),className:c});b.appendChild(e);a.aN(b,e);return b};p.pl=function(a,b){var c='<img src="'+this.Ah+'page-small.gif" />',e=this.F.e("DIV",{innerHTML:c+a,url:b,title:a}),f={};f.ondblclick=w(this.tM,this,e);this.Vd.add(e,f);return e};p.tM=function(a){this.Vd.of(a);this.kn()};
p.UE=function(a){var b=this.Vd.xm();b&&b.parentNode.id==a.mw()&&this.As(b.url)};var cp=function(a){Q.call(this);this.q=a;var b=E?"DOMMouseScroll":"mousewheel";this.$m=N(this.q,b,this)};A(cp,Q);
cp.prototype.handleEvent=function(a){var b=0,c=a.me(),e="vertical";if(c.type=="mousewheel"){b=-c.wheelDelta/40;if(F){G("530.4")||(b/=3);if(c.wheelDeltaX)e="horizontal"}}else b=c.detail;if(typeof c.axis!="undefined"&&typeof c.HORIZONTAL_AXIS!="undefined"&&c.axis==c.HORIZONTAL_AXIS)e="horizontal";if(b>100)b=3;else if(b<-100)b=-3;var f=new dp(b,c,e);try{this.dispatchEvent(f)}finally{f.p()}};cp.prototype.o=function(){cp.f.o.call(this);O(this.$m);delete this.$m};
var dp=function(a,b,c){ef.call(this,b);this.type="mousewheel";this.axis=c||"vertical";this.detail=a};A(dp,ef);var ep=function(){Q.call(this)};A(ep,Q);p=ep.prototype;p.tc=0;p.tk=0;p.rk=100;p.rj=0;p.Hi=1;p.Nx=k;p.tr=k;p.vA=function(a){this.tr=a};p.Wa=function(a){a=this.$f(a);if(this.tc!=a){this.tc=a+this.rj>this.rk?this.rk-this.rj:a<this.tk?this.tk:a;!this.Nx&&!this.tr&&this.dispatchEvent("change")}};p.da=function(){return this.$f(this.tc)};
p.Nk=function(a){a=this.$f(a);if(this.rj!=a){this.rj=a<0?0:this.tc+a>this.rk?this.rk-this.tc:a;!this.Nx&&!this.tr&&this.dispatchEvent("change")}};p.Jg=function(){return this.gM(this.rj)};p.dc=function(){return this.$f(this.tk)};p.nc=function(){return this.$f(this.rk)};p.$f=function(a){if(this.Hi==j)return a;return this.tk+Math.round((a-this.tk)/this.Hi)*this.Hi};p.gM=function(a){if(this.Hi==j)return a;return Math.round(a/this.Hi)*this.Hi};
var fp=function(a){rh.call(this,a);this.Da=new ep;this.ab().l(this.Da,"change",this.lI)};A(fp,rh);p=fp.prototype;p.lb="horizontal";p.Lq=k;p.kK=k;p.HD=10;p.sk=0;p.e=function(){fp.f.e.call(this);var a=this.g.e("div",this.R(this.lb));this.ce(a)};p.ce=function(a){fp.f.ce.call(this,a);Dc(a,this.R(this.lb));this.PE();this.NM()};
p.gb=function(){fp.f.gb.call(this);this.it=new Qh(this.rb);this.AF=new Qh(this.Jc);this.oa=new wh(this.b());this.dn=new cp(this.b());this.ab().l(this.it,"beforedrag",this.Lw).l(this.AF,"beforedrag",this.Lw).l(this.oa,"key",this.Qj).l(this.b(),"mousedown",this.ki).l(this.dn,"mousewheel",this.iI);this.b().tabIndex=0;this.cl()};
p.Lw=function(a){var b=a.av==this.it?this.rb:this.Jc,c;if(this.lb=="vertical"){var e=this.b().clientHeight-b.offsetHeight;c=(e-a.top)/e*(this.nc()-this.dc())+this.dc()}else{var f=this.b().clientWidth-b.offsetWidth;c=a.left/f*(this.nc()-this.dc())+this.dc()}c=a.av==this.it?Math.min(Math.max(c,this.dc()),this.da()+this.Jg()):Math.min(Math.max(c,this.da()),this.nc());this.Ok(b,c);a.preventDefault()};
p.Qj=function(a){var b=i;switch(a.keyCode){case 36:this.yo(this.dc());break;case 35:this.yo(this.nc());break;case 33:this.vk(this.Cf());break;case 34:this.vk(-this.Cf());break;case 37:case 40:this.vk(a.shiftKey?-this.Cf():-this.kq());break;case 39:case 38:this.vk(a.shiftKey?this.Cf():this.kq());break;default:b=k}b&&a.preventDefault()};p.ki=function(a){this.b().focus&&this.b().focus();var b=a.target;if(!ed(this.rb,b)&&!ed(this.Jc,b))this.kK?this.yo(this.Jw(a)):this.zO(a)};
p.iI=function(a){var b=a.detail>0?-1:1;this.vk(b*this.kq());a.preventDefault()};p.zO=function(a){this.Us(a);this.vd=this.Ov(this.Jw(a));this.ux=this.lb=="vertical"?this.Ym<this.vd.offsetTop:this.Ym>this.vd.offsetLeft+this.vd.offsetWidth;var b=H(this.b());this.ab().l(b,"mouseup",this.Em,i).l(this.b(),"mousemove",this.Us);if(!this.Qf){this.Qf=new Kg(200);this.ab().l(this.Qf,"tick",this.dx)}this.dx();this.Qf.start()};
p.dx=function(){var a;if(this.lb=="vertical"){var b=this.Ym,c=this.vd.offsetTop;if(this.ux){if(b<c)a=this.Jf(this.vd)+this.Cf()}else{var e=this.vd.offsetHeight;if(b>c+e)a=this.Jf(this.vd)-this.Cf()}}else{var f=this.Ym,g=this.vd.offsetLeft;if(this.ux){var h=this.vd.offsetWidth;if(f>g+h)a=this.Jf(this.vd)+this.Cf()}else if(f<g)a=this.Jf(this.vd)-this.Cf()}a!==undefined&&this.Ok(this.vd,a)};
p.Em=function(){this.Qf&&this.Qf.stop();var a=H(this.b());this.ab().Ya(a,"mouseup",this.Em,i).Ya(this.b(),"mousemove",this.Us)};p.cq=function(a){var b,c=this.b(),e=og(a),f=og(c);b=new fb(e.x-f.x,e.y-f.y);return this.lb=="vertical"?b.y:b.x};p.Us=function(a){this.Ym=this.cq(a)};
p.Jw=function(a){var b=this.dc(),c=this.nc();if(this.lb=="vertical"){var e=this.rb.offsetHeight,f=this.b().clientHeight-e,g=this.cq(a)-e/2;return(c-b)*(f-g)/f+b}else{var h=this.rb.offsetWidth,l=this.b().clientWidth-h,m=this.cq(a)-h/2;return(c-b)*m/l+b}};p.Jf=function(a){if(a==this.rb)return this.Da.da();else if(a==this.Jc)return this.Da.da()+this.Da.Jg();else d(Error("Illegal thumb element. Neither minThumb nor maxThumb"))};
p.vk=function(a){var b=this.Jf(this.rb)+a,c=this.Jf(this.Jc)+a,e=this.dc(),f=this.nc()-this.sk;b=Math.min(Math.max(b,e),f);var g=this.dc()+this.sk,h=this.nc();c=Math.min(Math.max(c,g),h);this.HA(b,c-b)};p.Ok=function(a,b){var c=j;if(a==this.Jc&&b<=this.Da.nc()&&b>=this.Da.da()+this.sk)c=b-this.Da.da();var e=c||this.Da.Jg();if(a==this.rb&&b>=this.dc()&&b<=this.Da.da()+e-this.sk){var f=e-(b-this.Da.da());if(this.Da.$f(b)+this.Da.$f(f)==this.Da.$f(b+f)){this.HA(b,f);c=j}}c!=j&&this.Da.Nk(c)};
p.HA=function(a,b){if(this.dc()<=a&&a<=this.nc()-b&&this.sk<=b&&b<=this.nc()-a)if(!(a==this.da()&&b==this.Jg())){this.Da.vA(i);this.Da.Nk(0);this.Da.Wa(a);this.Da.Nk(b);this.Da.vA(k);this.cl();this.dispatchEvent("change")}};p.dc=function(){return this.Da.dc()};p.nc=function(){return this.Da.nc()};p.Ov=function(a){return a<=this.Da.da()+this.Da.Jg()/2?this.rb:this.Jc};p.lI=function(){this.cl();this.GB();this.dispatchEvent("change")};
p.cl=function(){if(this.rb&&!this.Lq){var a=this.jq(this.Jf(this.rb)),b=this.jq(this.Jf(this.Jc));if(this.lb=="vertical"){this.rb.style.top=a.y+"px";this.Jc.style.top=b.y+"px"}else{this.rb.style.left=a.x+"px";this.Jc.style.left=b.x+"px"}}};
p.jq=function(a){var b=new fb;if(this.rb){var c=this.dc(),e=this.nc(),f=(a-c)/(e-c);if(this.lb=="vertical"){var g=this.rb.offsetHeight,h=this.b().clientHeight-g,l=Math.round(f*h);b.y=h-l}else{var m=this.b().clientWidth-this.rb.offsetWidth,n=Math.round(f*m);b.x=n}}return b};
p.yo=function(a){a=Math.min(this.nc(),Math.max(a,this.dc()));this.cj&&this.cj.stop(i);var b,c=this.Ov(a),e=this.jq(a);b=this.lb=="vertical"?[c.offsetLeft,e.y]:[e.x,c.offsetTop];var f=new Vg(c,b,100);this.cj=f;this.ab().l(f,"end",this.xF);this.Lq=i;this.Ok(c,a);f.play(k)};p.xF=function(){this.Lq=k};
p.ts=function(a){if(this.lb!=a){var b=this.R(this.lb),c=this.R(a);this.lb=a;if(this.b()){for(var e=this.b(),f=Cc(e),g=k,h=0;h<f.length;h++)if(f[h]==b){db(f,h--,1);g=i}if(g){f.push(c);e.className=f.join(" ")}this.rb.style.left=this.rb.style.top="";this.Jc.style.left=this.Jc.style.top="";this.cl()}}};p.Dj=function(){return this.lb};
p.o=function(){fp.f.o.call(this);this.Qf&&this.Qf.p();delete this.Qf;this.cj&&this.cj.p();delete this.cj;delete this.rb;this.Da.p();if(this.oa){this.oa.p();delete this.oa}if(this.dn){this.dn.p();delete this.dn}};p.Cf=function(){return this.HD};p.gP=1;p.kq=function(){return this.gP};p.da=function(){return this.Da.da()};p.Wa=function(a){this.Ok(this.rb,a)};p.Jg=function(){return this.Da.Jg()};p.Nk=function(a){this.Ok(this.Jc,this.Da.da()+a)};p.sa=function(a){R(this.b(),a);a&&this.cl()};
p.NM=function(){kh(this.b(),"slider");this.GB()};p.GB=function(){var a=this.b();if(a){lh(a,"valuemin",this.dc());lh(a,"valuemax",this.nc());lh(a,"valuenow",this.da())}};var gp=function(a){fp.call(this,a);this.Da.Nk(0)};A(gp,fp);gp.prototype.R=function(a){return"goog-slider-"+a};gp.prototype.PE=function(){var a=this.b(),b=Mc(j,"goog-slider-thumb",a)[0];if(!b){b=this.OE();a.appendChild(b)}this.Jc=this.rb=b};gp.prototype.OE=function(){var a=this.g.e("div","goog-slider-thumb");kh(a,"button");return a};
var hp=function(a){Q.call(this);this.g=I(a);this.yk=a;this.zk=a.nodeName.toLowerCase();this.os(a,k)};A(hp,Q);var ip=["clear","marginBottom","marginLeft","marginRight","cssFloat","styleFloat"];p=hp.prototype;p.os=function(a,b,c){if(b){if(this.pb){this.zk=this.pb.nodeName.toLowerCase();this.yk=this.pb}this.Xk=i}if(c)this.uL=c;this.pb=a;this.rK=this.pb.nodeName.toLowerCase()};p.oe=function(){return this.pb};p.xw=function(){return this.uL||{}};
p.Jv=function(a){for(var b=a;b&&!Am(b);){if(dm(b,"display")=="block"&&b.nodeName!=this.rK)return b;b=b.parentNode}return j};p.Lr=function(a,b,c,e){var f=e||this.Jv(a);if(!f){var g=b.b();if(g){f=b.D().createElement("P");g.insertBefore(f,qk(g))}}b.dd();var h=f!=this.pb.parentNode||c!=this.eG();if(jp(f)){if(h||a.nodeName==this.zk&&a!=this.pb.nextSibling)this.kL(f,a,c)}else h&&this.jL(f,c);q.setTimeout(w(b.jc,b),0)};p.zm=function(a){this.pb.parentNode!=a&&wn(this.pb,this.zk)};
var wn=function(a,b){var c=a.parentNode;if(c){L(a);if(jp(c))if(wk(c))L(c);else{if(!c.getElementsByTagName(b).length)c.className=""}else c.nodeName=="A"&&wk(c)&&L(c)}};p=hp.prototype;p.jL=function(a,b){if(b=="center")this.KE(a);else{this.zm(a);this.rA(b=="left");a.insertBefore(this.pb,qk(a))}};p.kL=function(a,b,c){if(c=="center"){this.AA();if(b.nodeName==this.zk){this.zm(b.parentNode);Yc(this.pb,b)}else{this.zm(a);a.appendChild(this.pb)}}else{this.rA(c=="left");this.zm(a);a.insertBefore(this.pb,qk(a))}};
p.KE=function(a){wn(this.pb,this.zk);var b=this.Cu();Yc(b,a);this.AA();b.appendChild(this.pb)};p.Cu=function(){return this.g.e("P",{className:"separator",style:"text-align:center;clear:both"})};p.rA=function(a){this.FB();var b=a?"left":"right",c={clear:b,marginBottom:"1em",cssFloat:b,styleFloat:b};c["margin"+(a?"Right":"Left")]="1em";Fm(this.pb,c);this.Xk&&Fm(this.yk,c)};p.AA=function(){this.FB();var a={marginLeft:"1em",marginRight:"1em"};Fm(this.pb,a);Fm(this.pb,this.xw());this.Xk&&Fm(this.yk,a)};
var kp={left:"left",right:"right"};hp.prototype.eG=function(){var a=this.pb.style.cssFloat||this.pb.style.styleFloat;return kp[a]||"center"};hp.prototype.FB=function(){Om(this.pb,ip);this.Xk&&Om(this.yk,ip)};
var jp=function(a){return a.nodeName=="P"&&a.className=="separator"},lp=function(a){a.removeAttribute("width");a.removeAttribute("height");a.style.width="";a.style.height=""},mp=function(a,b,c){if(a.width>b||a.height>c){tn(a,b,c);return i}return k},tn=function(a,b,c){var e=c?c:b,f=a.width,g=a.height,h=b/f,l=e/g;if(l>h){f=b;g=g*h}else{g=e;f=f*l}a.width=f;a.height=g},vn=function(a,b,c){if(c.Tm(a.src)){var e=a.src;np(a,Qa(lp,a),Qa(op,a,e,c));a.src=c.bi(a.src,b)}},op=function(a,b,c){np(a,pp.iz(k),pp.iz(i));
a.src=b;var e=qp(a);e&&e.href==c.bi(a.src,"full")&&rp(a,c,c.vm(a.src))},pp=function(a){var b=z("Oops! The image could not be found");a&&alert(b)},un=k,xn=function(a,b,c,e){lp(a);var f=a.src;if(un&&b.Tm(f))f=c?b.vm(f):b.bi(f,"full");var g,h;if(e){g=e.Ty;h=e.DK}if(a.src==f)g&&g();else{g&&np(a,g,h);a.src=f}},sp={},tp={},up={},np=function(a,b,c){var e=Oa(a),f=Qa(vp,b);sp[e]=N(a,D?"readystatechange":"load",f,k);if(c){var g=Qa(vp,c);tp[e]=N(a,"error",g,k)}},xp=function(a,b,c){var e=Oa(a),f=Qa(wp,a,b,c);
up[e]=q.setInterval(Qa(vp,f,{currentTarget:a}),300)},yp=function(a){var b=Oa(a);O(sp[b]);delete sp[b];O(tp[b]);delete tp[b];if(up[b]){q.clearInterval(up[b]);delete up[b]}},vp=function(a,b){var c=b.currentTarget,e=c.readyState;if(!(e&&e!="complete")){yp(c);a(c)}},wp=function(a,b,c){var e=b.Ij(a.src,"medium"),f=un&&mp(a,e,e);if(f){c&&np(a,c);var g="medium";tn(a,b.Ij(a.src,g));un&&vn(a,g,b)}else c&&c(a)},zp=function(a){if(!a.LO){if(a.tabIndex)a.Gy=a.tabIndex;a.tabIndex="-1";a.LO=i}},qp=function(a){var b=
sd(a,"A");if(b)if(b.childNodes.length==1&&b.firstChild==a&&Ab(Im(b)))return b;return j},rp=function(a,b,c){var e=qp(a);if(!e){e=I(a).createElement("A");e.setAttribute("imageanchor",1)}var f=e,g;if(c)g=c;else{g=a.src;if(un&&b.Tm(g))g=b.bi(g,"full")}if(b.mi(g))g=b.eH(g);f.href=g;a.border="0";Nm(a,f,ip);Om(a,ip);if(a.parentNode!=f){$c(f,a);f.appendChild(a)}return f},Ap=function(){gn.call(this,"openLinkBubble")},Bp,Cp,Dp;A(Ap,gn);var Ep=z("Go to link: "),Fp=z("Change"),Gp=z("Edit page"),Hp=z("Remove");
p=Ap.prototype;p.jd=function(){return"LinkBubble"};p.Lv=function(a){var b=sd(a,"A");if(b&&!(b.getAttribute&&b.getAttribute("imageanchor")))return b;return j};p.aO=function(a){this.Ni=a};p.SN=function(a){this.sB=a};p.mN=function(a){this.Px=a};p.Ue=function(){return this.ha.Iw(this.wc())};
p.tu=function(a){this.aO(Bp);this.SN(Cp);this.mN(Dp);this.ha=Ql(this.ib().V());this.Bo=this.ha.Bb.base;var b=this.RG();if(mo.test(b.ir)||b.color=="red")var c=this.g.e("span",{id:"tr_link-text",style:"color:"+b.color},this.g.createTextNode(b.ir));else{var e=this.g.e("span",{id:"tr_test-link-span"},Ep);c=this.g.e("span",{id:"tr_link-text",style:"color:"+b.color},"");var f,g=b.ir;if(g.length>48){var h=Math.floor(24),l=g.length-h;h+=48%2;g=g.substring(0,h)+"..."+g.substring(l)}f=g;var m=this.Au("tr_test-link",
this.g.createTextNode(f).data,i,c);m.target="_blank";m.href=this.Fw()}var n=this.Ro("tr_change-link-span");this.bj("tr_change-link",Fp,this.oO,n);var o=this.Ro("tr_edit-page-span");this.bj("tr_edit-page-link",Gp,this.uF,o);var r=this.Ro("tr_delete-link-span");this.bj("tr_delete-link",Hp,this.eF,r);this.vi();var t={id:"tr_link-div",style:"padding-top:2px;"},y=this.g.e("div",t,e?e:"",c,n,o,r);a.appendChild(y)};
p.RG=function(){var a,b=this.Ue();if(Rl(b))b=b.substring(7);else if(bm(b,this.Bo)){var c=z("invalid url");b=c;a=i}else if(this.ha.mi(b)&&this.Ni){for(var e=0;e<this.Ni.length;e++){var f=this.Ni[e].zp({url:b});if(f)break}if(f)b=f.title;else{var g=z("{$fileName} not found",{fileName:Tl(b)});b=g;a=i}}return{ir:b,color:a?"red":"black"}};p.oO=function(){this.j.execCommand(Jl.yh,new yn(this.wc(),k));this.Yi()};
p.uF=function(){var a=new Ol(this.ha.Bb.edit),b=a.md.substring(0,a.md.lastIndexOf("/")+1)+Tl(this.Ue())+(a.nd||"");this.j.dd();try{this.Kv().V().location=b}catch(c){}};p.eF=function(){this.j.dd();this.Yi();var a=this.wc(),b=a.lastChild;ad(a);Al(b,k);this.j.jc()};p.vi=function(){var a=this.g.b("tr_link-div");if(a){var b=this.g.b("tr_test-link");if(b){var c=this.g.b("tr_test-link-span"),e=this.Ue();R(c,!Rl(e));b.href=this.Fw()}var f=this.g.b("tr_edit-page-span");f&&R(f,this.fk())}};
p.Fw=function(){var a=this.Ue();return this.sB?this.sB(a):a};p.fk=function(){return this.Px&&this.Px(this.Ue())};var Ip=function(a){dn.call(this);this.eK=a};A(Ip,dn);p=Ip.prototype;p.r=M("trog.plugins.LoremIpsum");p.jd=an("LoremIpsum");p.nl=cn;p.$q=cn;p.fl=k;p.queryCommandValue=function(a){return a=="usinglorem"&&this.fl};p.execCommand=function(a,b){if(a=="clearlorem")this.eE(b);else a=="updatelorem"&&this.mP()};p.Nd=function(a){return a=="clearlorem"||a=="updatelorem"||a=="usinglorem"};
p.mP=function(){var a=this.j;if(!this.fl&&!co&&Jp!=a.id){var b=a.b();if(b)if(wk(b)){this.fl=i;this.tK=b.style.fontStyle;b.style.fontStyle="italic";a.fg(i,this.eK,i)}}};p.eE=function(a){if(this.fl&&!co){var b=this.j,c=b.b();if(c){this.fl=k;c.style.fontStyle=this.tK;b.fg(i,j,i)}if(a&&b.Sf())if(F){H(b.b()).body.focus();b.Bv()}else C&&b.Jr()}};
var Kp=k,Lp=an(j),Mp=k,Op=function(a,b,c){Q.call(this);this.wI=this.id=a;this.Ic=j;this.ve={};this.Vg={};for(var e in en)this.Vg[e]=[];var f=this.Ui=this.He="";if(b)if(v(b))f=b;else{this.He=b.cssStyles||"";this.Ui=b.className||"";f=b.loremIpsumMessage||""}if(F&&G("525.13")&&Xb(uc,"525.18")<=0){var g="tr-webkit-workaround";this.He=this.He+"."+g+">*{padding-right:1}";this.Ui=this.Ui+" "+g}this.Ts={};this.Zn("change");this.Zn("delayedchange");this.Rq=this.Sm=k;this.Rl=new Qj(this.Su,250,this);this.Pl=
{};for(var h in Np)this.Pl[Np[h]]=0;if(E)this.ad=new Qj(this.Oj,15,this);this.O=new nh(this);this.CP=[];this.ld=0;this.DL();if(c){this.cm(c);this.tg=this.fh.V()}f&&this.od(new Ip(f))};A(Op,Q);Op.prototype.$l=j;Op.prototype.pn=j;Op.prototype.r=M("TR_EditableField");var Np={TP:"cvc",dQ:"load",oQ:"unload",KP:"beforechange",RP:"change",WP:"delayedchange",LP:"beforefocus",ZP:"focus",NP:"blur",MP:"beforetab",hQ:"selectionchange"},Jp=j,Pp=function(a){Jp=a};p=Op.prototype;p.Ed=function(){return this.wI};
p.Kg=function(){return this.$l||this.pn};p.b=function(){return this.$l};p.ob=function(){return this.pn};p.cm=function(a){this.fh=I(a);this.FQ=this.pn=this.fh.b(this.id)};p.yG=function(){var a=this.b();if(!ck&&a.parentNode.contentEditable)a=a.parentNode;return a&&Yj?a.ownerDocument:a};p.hc=function(a,b,c,e){var f=this.yG();this.O.l(f,a,b,c,e)};p.Gf=function(a){return this.ve[a]};
p.od=function(a){var b=a.jd();this.ve[b]&&this.r.hg("Cannot register the same class of plugin twice.");this.ve[b]=a;for(var c in en){var e=en[c];a[e]&&this.Vg[c].push(a)}a.uz(this);this.Sf()&&a.nj(this)};p.kN=function(a){this.cssText=a};
p.WL=function(){var a=this.ob();a.removeAttribute("contentEditable");a.removeAttribute("g_editable");if(this.id)a.id=this.id;else a.removeAttribute("id");a.className=this.className||"";var b=this.cssText;b?Oc(a,{style:b}):a.removeAttribute("style");if(v(this.Dr)){bg(a,"lineHeight",this.Dr);this.Dr=j}};p.Ob=function(){return i};var Qp={46:i,8:i};D||(Qp[9]=i);var Rp={86:i,88:i};if(D)Qp[229]=i;
var Tp=function(a,b){if(Sp(a))return i;return!!(b&&!(a.ctrlKey||a.metaKey)&&(!E||a.charCode))},Sp=function(a){var b=(a.ctrlKey||a.metaKey)&&a.keyCode in Rp,c=!(a.ctrlKey||a.metaKey)&&a.keyCode in Qp;return b||c};p=Op.prototype;p.MM=function(a){this.tg=a};p.wj=function(){return this.tg};p.ks=function(a){this.FD=a};p.Iv=function(){return this.FD||0};p.JA=function(a){this.ld=2;this.$l=a;this.Ic=I(a);this.Rq=this.Sm=k;a.setAttribute("g_editable","true")};
p.pB=function(){for(var a in this.ve){var b=this.ve[a];b.nl()||b.Ih(this)}this.ld=0;this.Ic=this.$l=j};
p.dO=function(){if(C&&this.Ob()){this.O.l(this.Qb().D(),"focus",this.hp);this.O.l(this.Qb().D(),"blur",this.Sl)}else{if(bk){this.hc("focus",this.Uu);this.hc(Df,this.Ru)}else this.hc("focus",this.hp);this.hc("blur",this.Sl,E)}if(E)this.Ds();else{this.hc(["beforecut","beforepaste","drop","dragend"],this.dd);this.hc(["cut","paste"],this.jc);this.hc("drop",this.Qw)}var a=F?"dragend":"dragdrop";this.hc(a,this.Qw);this.hc("keydown",this.Qj);this.hc("keypress",this.bI);this.hc("keyup",this.dI);var b=w(this.kj,
this);this.is=new Qj(b,250);F&&this.hc("click",Up);this.hc("mousedown",this.ki);this.hc("mouseup",this.Em)};p.ku=function(){this.O&&this.O.Xc();this.ad&&this.ad.stop();this.Rl.stop()};p.o=function(){if(this.Vq()||this.Sf())this.r.lo("Disposing a field that is in use.");this.ob()&&this.execCommand("clearlorem");this.pB();this.ku();this.fh=j;if(this.O){this.O.p();this.O=j}this.FL();Jp==this.id&&Pp(j);for(var a in this.ve){var b=this.ve[a];b.XI()&&b.p()}delete this.ve;Op.f.o.call(this)};
p.FL=function(){for(var a;a=this.CP.pop();)a.p()};var Vp=["DOMNodeInserted","DOMNodeRemoved","DOMNodeRemovedFromDocument","DOMNodeInsertedIntoDocument","DOMCharacterDataModified"];Op.prototype.Ds=function(){if(Tj)this.O.l(this.b(),"DOMSubtreeModified",this.rq);else{var a=this.Qb().D();this.O.l(a,Vp,this.rq,i);this.O.l(a,"DOMAttrModified",w(this.Pw,this,this.rq),i)}};
Op.prototype.Kw=function(a){var b=a.keyCode==9&&!this.jF(a)||E&&a.metaKey&&(a.keyCode==37||a.keyCode==39);if(b){a.preventDefault();return k}else(this.nq=a.charCode||Tp(a,E))&&this.dd();return i};var Wp=1,Xp=1,Yp=1,Zp=1,$p=1,aq=1,bq=1,cq=1,dq=1,eq=1,fq=1,gq=1,hq={8:Wp,9:Xp,13:Yp,33:Zp,34:$p,35:aq,36:bq,37:cq,38:dq,39:eq,40:fq,46:gq},iq={65:i,86:i,88:i},jq={8:1,9:1,13:1,27:1,33:1,34:1,37:1,38:1,39:1,40:1};p=Op.prototype;
p.dk=function(a){for(var b=this.Vg[a],c=cb(arguments,1),e=0;e<b.length;++e){var f=b[e];if((f.ka(this)||fn[a])&&f[en[a]].apply(f,c))return i}return k};p.SI=function(a){for(var b=this.Vg[a],c=cb(arguments,1),e=0;e<b.length;++e){var f=b[e];if(f.ka(this)||fn[a])f[en[a]].apply(f,c)}};p.Tr=function(a){for(var b=this.Vg[a],c=cb(arguments,1),e=0;e<b.length;++e){var f=b[e];if(f.ka(this)||fn[a])c[0]=f[en[a]].apply(f,c)}return c[0]};p.zx=function(a,b){var c={},e=this.jw(a,c);bg(b,c);b.innerHTML=e};
p.jw=function(a,b){return this.Tr(8,a||"",b)};p.Qj=function(a){if(!E)if(!this.Kw(a))return;!this.dk(1,a)&&dk&&this.Uw(a)};p.bI=function(a){if(E){if(!this.Kw(a))return}else{this.nq=i;this.dd()}!this.dk(2,a)&&!dk&&this.Uw(a)};p.dI=function(a){if(!E&&(this.nq||Sp(a)))this.Oj();this.dk(3,a);if(!this.yc("selectionchange"))if(hq[a.keyCode]||(a.ctrlKey||a.metaKey)&&iq[a.keyCode])this.is.start()};
p.Uw=function(a){if(!a.altKey){var b=rc?a.metaKey:a.ctrlKey;if(b||jq[a.keyCode]){var c=a.which||a.charCode||a.keyCode;if(!(c==17)){var e=String.fromCharCode(c).toLowerCase();this.dk(5,a,e,b)&&a.preventDefault()}}}};p.execCommand=function(a){for(var b=arguments,c,e=this.Vg[6],f=0;f<e.length;++f){var g=e[f];if(g.ka(this)&&g.Nd(a)){c=g.execCommand.apply(g,b);break}}return c};
p.queryCommandValue=function(a){var b=this.Sf()&&this.Yq();if(v(a))return this.Bn(a,b);else{for(var c={},e=0;e<a.length;e++)c[a[e]]=this.Bn(a[e],b);return c}};p.Bn=function(a,b){for(var c=this.Vg[7],e=0;e<c.length;++e){var f=c[e];if(f.ka(this)&&f.Nd(a)&&(b||f.nl()))return f.queryCommandValue(a)}return b?j:k};p.Pw=function(a,b){if(!this.yc("change")){b=b.me();try{if(b.originalTarget.prefix||b.originalTarget.nodeName=="scrollbar")return}catch(c){return}b.prevValue==b.newValue||a.call(this,b)}};
p.rq=function(a){if(!this.yc("change")){a=a.me?a.me():a;if(!a.target.JQ){this.Rq=this.Sm=i;this.ad.start()}}};p.Qw=function(){D&&this.execCommand("clearlorem",i);E&&this.hp();this.jc()};p.Yh=function(){var a;if(this.Ob()&&(a=this.Qb())){var b=a.V();return b&&b.frameElement}return j};p.Nj=function(){var a=this.Yh();return a&&new ro(a)};p.iw=function(){if(!this.Ob())d("No iframe!");return this.Nj()};p.Qb=function(){return this.Ic};p.bb=function(){var a=this.Ic&&this.Ic.V();return a&&new jo(a)};
p.Eb=function(){var a=this.Ic&&this.Ic.V();return a&&Uk(a)};p.kj=function(a){if(!this.yc("selectionchange")){var b=this.Eb(),c=b&&b.Xh();this.Zq=!!c&&ed(this.b(),c);this.kF();this.dispatchEvent({type:"selectionchange",VQ:a&&a.type});this.dk(4,a)}};p.dd=function(){this.yc("beforechange")||this.dispatchEvent("beforechange")};p.jF=function(a){return this.dispatchEvent({type:"beforetab",shiftKey:a.shiftKey,altKey:a.altKey,ctrlKey:a.ctrlKey})};
p.Rs=function(a,b){if(a){this.ad&&this.ad.Th();this.Zn("change")}if(b){this.Xi();this.Zn("delayedchange")}};p.Ls=function(a,b){!a&&this.ad&&this.ad.Th();this.aB("change");this.aB("delayedchange");a&&this.Oj();b&&this.Su()};p.Zn=function(a){this.Ts[a]=1};p.aB=function(a){this.Ts[a]=0};p.WE=function(a){this.Pl[a]=x()};p.yc=function(a){return!!this.Ts[a]||this.Pl[a]&&x()-this.Pl[a]<=500};p.kF=function(a){a?this.dispatchEvent({type:"cvc",ou:a}):this.dispatchEvent("cvc")};p.jc=function(a){this.Ls(i,a)};
p.Oj=function(){if(!this.yc("change")){this.ad&&this.ad.stop();this.Rq=this.Sm=i;this.yc("delayedchange")||this.Rl.start()}};p.Su=function(){if(!this.yc("delayedchange")){this.Rl.stop();this.Sm=k;this.dispatchEvent("delayedchange")}};p.Xi=function(){this.ad&&this.ad.Th();this.Rl.Th()};p.hp=function(){this.Ru();this.Uu()};p.Ru=function(){if(!this.yc("beforefocus")){this.execCommand("clearlorem",i);this.dispatchEvent("beforefocus")}};
p.Uu=function(){if(!this.yc("focus")){Jp=this.id;this.Zq=i;this.dispatchEvent("focus");if(E){var a=this.b(),b=this.Eb();if(b){var c=b.nm();if(b.om()==0&&(!c||c==a||c.tagName=="BODY"))ul(rk(a),0).select()}}if(!Uj&&this.Ob()){var e=this.Qb().V().parent;e.getSelection().removeAllRanges()}}};p.Sl=function(){if(!this.yc("blur")){Jp==this.id&&Pp(j);this.Zq=k;this.dispatchEvent("blur")}};p.Yq=function(){return this.Zq};var Up=function(a){sd(a.target,"A")&&a.preventDefault()};p=Op.prototype;
p.ki=function(a){Jp||Pp(this.id);if(D){var b=a.target;if(b&&b.tagName=="A"&&a.ctrlKey){var c=new no(this.fh.V());c.cz(b.href,"")}}};p.Em=function(a){this.kj(a);D&&this.is.start()};p.km=function(){if(this.queryCommandValue("usinglorem"))return"\u00a0";if(!this.Sf()){var a=this.ob();a||this.r.kO("Couldn't get the field element to read the contents");return a.innerHTML}var b=this.BG();this.SI(11,b);return this.Tr(10,b.innerHTML)};
p.BG=function(){var a=this.b(),b=a.cloneNode(k),c=a.innerHTML;if(D&&c.match(/^\s*<script/i))c="\u00a0"+c;b.innerHTML=c;return b};p.fg=function(a,b,c,e){if(this.Vq())this.r.hg("Can't set html while loading Trogedit");else{e&&this.execCommand("clearlorem");c&&this.Rs(k,i);this.lN(b);e&&this.execCommand("updatelorem");if(this.Sf())if(c){E&&this.ad.Th();this.Ls()}else this.jc()}};
p.lN=function(a){var b=this.b();if(b){if(this.Ob()&&F)for(var c=b.ownerDocument.getElementsByTagName("HEAD"),e=c.length-1;e>=1;--e)c[e].parentNode.removeChild(c[e])}else b=this.ob();b&&this.zx(a,b)};p.D=function(){return this.Ic?this.Ic.D():j};p.bt=function(){var a=this.Qb().D();a.designMode="on";a.execCommand("useCSS",k,i)};p.Gx=function(){this.He&&this.Vn()&&xg(this.He,this.b())};p.mF=function(){var a=this.b();this.Ui&&Dc(a,this.Ui);this.Gx();this.Ls();this.r.info("Dispatching load "+this.id);this.dispatchEvent("load")};
p.zJ=function(){return this.ld==0};p.Sf=function(){return this.ld==2};p.Vq=function(){return this.ld==1};p.Aj=function(){var a=this.bb(),b=this.b();return a.Aj(b)};p.cN=function(a){var b=this.bb(),c=this.b();b.gs(a,c)};p.focus=function(){if(!Sj||F)this.Qb().V().focus();else{if(C)var a=this.tg.pageXOffset,b=this.tg.pageYOffset;var c=this.b();if(!ck&&c.parentNode.contentEditable)c=c.parentNode;c.focus();C&&this.tg.scrollTo(a,b)}};p.Bv=function(){if(D||F)this.Jr();this.focus()};
p.Jr=function(){var a=this.b(),b=a;if(Rj)if(a)b=rk(a);Al(b,i);this.kj()};p.DL=function(){this.od(new Ap);this.od(new ln);Kp&&!this.Gf("Bidi")&&this.od(Lp())};p.bh=function(a){this.ld=1;var b=this.ob();this.nodeName=b.nodeName;this.className=b.className;this.kN(b.style.cssText);b.className+=" editable";this.lr(a)};p.lr=function(a){this.TJ(a)};p.Bm=function(){D&&vl(this.Ic.V());Jp!=this.id&&this.execCommand("updatelorem");this.dO();this.mF();for(var a in this.ve)this.ve[a].nj(this)};
p.my=function(a){if(this.zJ())d(Error("makeUneditable: Field is already uneditable"));this.Xi();this.is.Th();this.execCommand("clearlorem");var b=j;if(!a&&this.b())b=this.km();this.ju();var c=this.ob();Jp==c.id&&Pp(j);this.ku();if(v(b)){c.innerHTML=b;this.WL()}this.Rz();this.pB();F&&c.blur();this.execCommand("updatelorem");this.dispatchEvent("unload")};p.Rz=function(){var a=this.ob();if(a){var b=this.Yh();b&&$c(a,b)}};
p.Vn=function(){if(!(this.Rm!==undefined)){this.Rm=k;if(D&&this.Ob()){for(var a=this.fh.V();a!=a.parent;)try{a=a.parent}catch(b){break}var c=a.location;this.Rm=c.protocol=="https:"&&c.search.indexOf("nocheckhttps")==-1}}return this.Rm};p.TJ=function(a){var b=this.ob();if(b){var c=b.innerHTML,e={};c=this.Tr(8,c,e);var f=this.fh.e("IFRAME",this.hw());if(this.Vn()){var g=w(this.rx,this,f,c,e);this.yp=N(f,"load",g,i);if(a)f.src=a}this.Lt(f);this.Vn()||this.rx(f,c,e)}};
p.Lt=function(a){var b=this.ob();a.className=b.className;a.id=b.id;$c(a,b)};p.Pp=function(a){var b=this.ob(),c=nk(b);return new Kl(this.id,c,k,k,a)};p.TB=function(a,b,c){var e=this.Pp(c);if(this.Vn()){var f=jd(a),g=f.body;if(Sj)g.contentEditable=i;g.className="editable";g.setAttribute("g_editable",i);g.hideFocus=i;g.id=e.rv;bg(g,e.xp);g.innerHTML=b}else{var h=new Ll(this.b(),this.He);Nl(e,b,h,a)}};
p.rx=function(a,b,c){this.ju();a.tQ="true";this.TB(a,b,c);var e=jd(a),f=e.body;this.JA(f);if(!Sj){var g=Ql(this.fh.V());g.mr(e);this.bt()}this.Bm()};p.ju=function(){if(this.yp){O(this.yp);this.yp=j}};p.hw=function(){var a="padding:0;"+this.ob().style.cssText;yb(a,";")||(a+=";");a+="background-color:white;";if(D)a+="overflow:visible;";return{frameBorder:0,style:a}};Ea("TR_EditableField",Op,undefined);var kq=Op.prototype;kq.registerPlugin=kq.od;kq.getPluginByClassId=kq.Gf;
var lq=function(a,b){dn.call(this);this.xd=a;this.hz=b};A(lq,dn);p=lq.prototype;p.$q=an(i);p.Uz=k;p.o=function(){if(this.vc){this.vc.p();this.vc=j}lq.f.o.call(this)};p.qj=function(a,b){if(!(a!=this.xd)){if(!this.Uz&&this.vc){this.vc.p();this.vc=j}if(!this.vc)this.vc=this.Po(b);this.hz&&this.vc.wA(this.hz);yf(this.vc,this.vc.pG(),this.PH,k,this);this.vc.td()}};p.Nd=function(a){return a==this.xd};p.PH=function(){this.j.WE("selectionchange");if(!this.Uz&&this.vc){this.vc.p();this.vc=j}};
var mq=function(a,b,c){lq.call(this,a,b);this.ee=b;this.Si=c;this.Ln=new nh(this)};A(mq,lq);mq.prototype.o=function(){mq.f.o.call(this);this.Ln.p();this.Ln=j};mq.prototype.yD=function(a){this.Ln.l(a,["ok","cancel"],this.zK)};mq.prototype.zK=function(a){var b=a.target.wc(),c=a.type=="ok";if(c||b.parentNode)this.Si&&this.j.execCommand(this.Si,b);c&&this.j.jc();this.Ln.Xc()};var nq=function(a,b){mq.call(this,Jl.yh,a,"openLinkBubble");this.ha=a.Mj();this.ok=b};A(nq,mq);nq.prototype.r=M("trog.plugins.EditLinkDialogPlugin");
nq.prototype.jd=an("EditLinkDialogPlugin");nq.prototype.Po=function(a){var b=new Vo(this.j.wj(),this.ha,this.j.bb(),"http://pages.google.com/-/images/",a,this.ok);this.yD(b);return b};var oq=function(){dn.call(this)},pq,qq,rq;A(oq,dn);p=oq.prototype;p.r=M("trog.plugins.EnterHandler");p.jd=function(){return"EnterHandler"};p.yn=function(a){if(!a||Ab(a))return Zj?this.ZG():"";return a};p.ZG=function(){return"<br>"};
p.GH=function(a,b){var c=this.j.b(),e=b.Gd();if(c.firstChild==e&&wk(e)){a.preventDefault();a.stopPropagation()}};p.sL=function(a,b){if(D||C)this.kv("DIV");else if(!b&&F){var c=this.j.bb(),e;a:{for(var f=c.Fd(),g=f;g;g=g.parentNode)if(Ak(g)){e=g.tagName=="BLOCKQUOTE";break a}e=k}if(e){var h=this.ib(),l=h.createElement("BR");c.Sa().insertNode(l,i);Ak(l.parentNode)&&!Dk(l.nextSibling)&&Yc(h.createElement("BR"),l);Al(l,k);a.preventDefault()}}};p.OH=function(a){this.aF(a)};
p.aF=function(a){var b=this.j.Eb();if(b.isCollapsed()){var c=b.ma();if(c.nodeType==1){var e=c.childNodes[b.Ga()];if(e&&e.tagName=="BR"){c.removeChild(e);a.preventDefault()}}}};p.aI=function(a){if(!(E&&co))if(a.keyCode==8)this.GH(a,this.j.bb());else if(a.keyCode==13)if(E)a.shiftKey||this.TH(a);else{this.j.dd();var b=this.Ou(),c=k;c=this.ZA(a,b);this.xz(b);F&&this.UH(a);this.sL(a,c);this.j.jc()}else E&&a.keyCode==46&&this.OH(a)};p.Dm=function(a){E&&co||this.cI(a)};
p.cI=function(a){if(D||C)a.keyCode==13&&this.kv("DIV",i)};p.TH=function(a){var b=this.j.bb(),c=b.pi(),e=this.Ou(),f=k;f=this.ZA(a,e);this.xz(e);f||this.SH(a,c,b)};p.UH=s;p.SH=s;var sq={LI:1,DIV:1,H1:1,H2:1,H3:1,H4:1,H5:1,H6:1};p=oq.prototype;
p.kv=function(a,b){var c,e;if(D){e=this.j.Eb().Lc();c=e.parentElement()}else{e=this.j.Eb();c=e.Mc()}for(var f=this.j.b(),g;c&&c!=f;){var h=c.nodeName;if(h==a||sq[h]&&(!b||!(wk(c)&&c.getElementsByTagName("BR").length==1))){if(C&&g){if(h==a&&g==c.lastChild&&wk(g)){Zc(g,c);Lk(Mk(g),undefined).select()}break}return}if(C&&b&&h=="P"&&h!=a)g=c;c=c.parentNode}if(D){var l=k,m=e.duplicate();m.moveEnd("character",1);if(m.text.length){var n=m.parentElement(),o=m.duplicate();o.collapse(k);var r=o.parentElement();
if(l=n!=r&&r!=e.parentElement()){e.move("character",-1);e.select()}}}this.j.Qb().D().execCommand("FormatBlock",k,"<"+a+">");if(l){e.move("character",1);e.select()}};p.Ou=function(){return Rj?this.cF():this.bF()};p.xz=function(a){Rj||a.removeNode(i)};p.bF=function(){var a=this.ib().D(),b=a.selection.createRange(),c=Zb();b.pasteHTML('<span id="'+c+'"></span>');var e=a.getElementById(c);e.id="";return e};
p.cF=function(){var a=this.j.bb(),b=a.Sa();if(!b.isCollapsed()){var c=i;if(C){var e=b.aa(),f=b.pa();if(e==b.ma()&&e.lastChild&&e.lastChild.tagName=="BR"&&f==e.childNodes.length-1)c=k}c&&a.fF()}return El(b,i)};var tq="tr_bq",uq=i,vq=function(a,b){if(a.tagName!="BLOCKQUOTE")return k;if(!uq)return b;var c=Fc(a,tq);return b?c:!c},wq=function(a){return vq(a,i)},xq=function(a){return vq(a,k)};oq.prototype.ZA=function(a,b){if(tq||!uq){var c=Rj?this.xO(b):this.wO(b);if(c){a.preventDefault();a.stopPropagation()}}return!!c};
oq.prototype.xO=function(a){var b=this.j.bb(),c=a.ga,e=Bm(c.parentNode,wq),f,g=k;if(e)if(c.nodeType==3)f=c.splitText(a.Tf);else g=i;else if(wq(c)){e=c;g=i}if(g){c=b.Fx("");f=b.Fx("")}if(!e)return k;f=Hm(c,f,e);Zc(f,e);var h;h="DIV";var l=this.ib(),m=l.createElement(h);m.innerHTML="&nbsp;";e.parentNode.insertBefore(m,f);l.V().getSelection().collapse(m,0);Pm([e,f],k);return i};
oq.prototype.wO=function(a){var b=this.ib(),c=Bm(a.parentNode,wq);if(!c)return k;var e=a.cloneNode(k),f=Hm(a,e,c);Zc(f,c);var g;g="DIV";var h=b.createElement(g);c.parentNode.insertBefore(h,f);h.innerHTML="&nbsp;";var l=b.D().selection.createRange();l.moveToElementText(a);l.move("character",2);l.select();h.innerHTML="";l.pasteHTML("");Pm([c,f],k);return i};var yq=function(a){Dn.call(this,a);this.Lu=a.TE;this.Ku=a.Ju;this.Iu=a.Hu;this.Gu=a.zQ};A(yq,Dn);p=yq.prototype;p.$o=function(a){if(this.ej)return this.ej(a)};
p.Hu=function(a){if(this.Iu)return this.Iu(a)};p.TE=function(a){if(this.Lu)return this.Lu(a)};p.Ju=function(a){if(this.Ku)return this.Ku(a)};p.SE=function(a){if(this.Gu)return this.Gu(a)};var zq=function(a,b){this.Bb=a;this.Qa=[];this.Bh=b;for(var c in this.Bb)this.Qa.push(c)};p=zq.prototype;p.indexOf=function(a){return Sa(this.Qa,a)};p.forEach=function(a,b){for(var c=0;c<this.Qa.length;c++){var e=this.Bb[this.Qa[c]];if(!(b&&Xa(b,this.Qa[c]))){var f=a(this.Qa[c],e);if(f)return f}}};
p.zp=function(a,b){if(!a.url&&!a.title)return undefined;var c=function(e,f){if((!a.url||this.ik(a.url,e))&&(!a.title||a.title==f))return{url:e,title:f}};return this.forEach(w(c,this),b)};p.add=function(a,b){this.Bb[a]=b;this.Qa.push(a)};p.slice=function(a,b){var c={},e=this.Qa.length;if(b!==undefined&&b<e)e=b;for(var f=a;f<e;f++)c[this.Qa[f]]=this.Bb[this.Qa[f]];return new zq(c,this.Bh)};
p.ik=function(a,b){if(!a)return k;if(this.jo)return this.jo(a,b,this.Bh);var c,e=a,f=b,g=this.Bh,h=this.Bh;e=new Ol(e);f=new Ol(f);g&&e.iy(new Ol(g));h&&f.iy(new Ol(h));e.kB();f.kB();return c=e.We()==f.We()};p.$N=function(a){this.jo=a};p.qc=function(){return!this.Qa.length};p.length=function(){return this.Qa.length};
var Aq=function(a,b,c,e,f,g,h,l,m){this.ha=b;this.Ah=f;this.ak=c;this.Fh=0;this.Qa=new zq(this.ak,this.ha.Bb.winbase);this.io=e;this.wh=l;this.cg=new Oo;this.rF=h;this.hj=j;this.Za={};if(m)for(var n=0;n<m.length;n++){var o=new yq(m[n]);this.Za[o.gi()]=o}Ko.call(this,a,i,g);this.hk=mg(this.$.body);this.uj()};A(Aq,Ko);
var Bq=z("If your URL is correct, you'll see an image preview here. Large images may take a few minutes to appear."),Cq=z("Remember: Using others' images on the web without their permission may be bad manners, or worse, copyright infringement."),Dq=z("Next&nbsp;&raquo;"),Eq=z("&laquo;&nbsp;Prev"),Fq={};p=Aq.prototype;p.sj=j;p.td=function(){this.uA();this.Ho();Ko.prototype.td.call(this);this.kl.focus()};
p.aj=function(){var a=z("Add an Image"),b=z("Add Image"),c=this.F.e("DIV",{id:"tr_insert-image-dialog",className:"tr_image-dialog-body",co:a,Vc:b,vg:In,Fl:w(this.Gl,this),Bl:w(this.Cl,this),ff:w(this.Uf,this),Vr:i},this.Qo());this.$.body.appendChild(c);return c};
p.uj=function(){var a=this.aj();this.Pn(a);this.ud=Uo(a,this.$,k,w(this.xk,this));this.iO();this.content.className+=" tr_image-dialog";this.ud&&this.ud.sd("tr_image-dialog-your-images-tab");for(var b in this.Za)this.Za[b].SE(this);Xm(this.content,this.O,i)};p.xk=function(a){this.VL(a);if(a=="tr_image-dialog-your-images-tab"&&!this.Pf.childNodes.length)this.sv();else if(a=="tr_image-dialog-external-image-tab")this.Cp(a+"-input");else this.Za[a]&&this.Za[a].Hu(this);E&&Bn(this.content)};
p.sv=function(){var a=this.Fh*8,b=a+8;this.Pf.innerHTML="";var c=this.Qa.slice(a,b);c.forEach(w(this.VC,this))};p.VL=function(a){if(a=="tr_image-dialog-your-images-tab"){var b=this.cg.xm();this.Vc.disabled=!b}else if(a=="tr_image-dialog-external-image-tab")this.Vc.disabled=!this.qv;else this.Za[a]&&this.Za[a].Ju(this)};
p.Qo=function(){var a;a=this.F.e("DIV",{className:"tr_dialog-section",ao:"&nbsp;"});a.appendChild(this.RE());a.appendChild(this.CE());for(var b in this.Za)a.appendChild(this.Za[b].$o(this));return a};p.BH=function(){var a=z("Uploaded images");return a};
p.RE=function(){var a=z("Add one of your images to your page");this.ll=To("tr_image-dialog-your-images-tab",this.BH(),a,this.$,Gq("tr_image-dialog-image-list",this));this.Pf=this.F.e("DIV",{id:"tr_image-dialog-image-list"});this.ll.appendChild(this.Pf);var b=this.QE();this.ll.appendChild(b);if(this.Qa.qc())this.Pf.style.display="none";return this.ll};p.IA=function(a,b){bg(this.F.b(a),"visibility",b?"":"hidden")};p.Sy=function(){return!(8*(this.Fh+1)<this.Qa.length())};
p.lP=function(){this.IA("tr_image-dialog-image-list-nav-prev",this.Fh!=0);this.IA("tr_image-dialog-image-list-nav-next",!this.Sy())};p.mq=function(a){this.Vc.disabled=i;this.Fh=a;this.lP();this.sv()};p.MJ=function(){this.mq(this.Fh+1)};p.NJ=function(){this.mq(this.Fh-1)};
p.QE=function(){var a=I(this.$),b=a.e("td",{id:"tr_image-dialog-image-list-nav-prev",className:"tr_image-dialog-nav-item",style:"visibility:hidden",innerHTML:Eq});this.O.l(b,"click",this.NJ);var c=a.e("td",{id:"tr_image-dialog-image-list-nav-next",className:"tr_image-dialog-nav-item",style:this.Sy()?"visibility:hidden":"",innerHTML:Dq});this.O.l(c,"click",this.MJ);return a.e("div",{id:"tr_image-dialog-image-list-nav",style:"clear:both"},a.e("table",{width:"100%",height:"100%"},a.e("tbody",j,a.e("tr",
j,b,a.e("td",{width:"100%"}),c))))};p.CE=function(){var a=z("Web address (URL)"),b=z("Add an image from the web"),c=To("tr_image-dialog-external-image-tab",a,b,this.$,Gq("tr_image-dialog-external-image-tab",this)),e=this.DE();c.appendChild(e);return c};p.DE=function(){var a=Mm(2,1,this.$,i);Oc(a,{width:"100%",height:"100%"});var b=this.wE();a.rows[0].cells[0].appendChild(b);var c=this.FE();a.rows[1].cells[0].appendChild(c);return a};
p.FE=function(){return this.F.e("DIV",{id:"tr_image-dialog-external-image-preview",className:"tr_image-dialog-external-image-preview",innerHTML:Hq()})};var Hq=function(){return Bq+"<p><font size=-2>"+Cq+"</font></p>"};p=Aq.prototype;
p.wE=function(){var a=z("Image URL"),b=Mm(1,2,this.$,i);b.width="100%";b.rows[0].cells[0].innerHTML='<span style="white-space:nowrap; font-size:10pt;">'+a+"&nbsp;</span>";var c=b.rows[0].cells[1],e=this.F.e("INPUT",{value:"http://",id:"tr_image-dialog-external-image-tab-input"}),f=D&&nk(this.$)?"99%":"100%";e.style.width=f;var g=e;if(E)g=Cn(e,this.hk);c.appendChild(g);c.width="100%";this.BF=e;this.sj=new An(e);N(this.sj,"input",w(this.OB,this));this.O.l(e,"keyup",w(this.OB,this));return b};
p.VC=function(a){var b=this.F.createElement("IMG");if(un){np(b,s,w(this.Oz,this,b,a));b.src=this.ha.bi(a,"thumb")}else this.Oz(b,a);Xm(b,this.O);var c=this.F.createElement("TABLE");c.className="tr_image-dialog-image-list-table";var e=c.insertRow(-1).insertCell(-1);e.className="tr_image-dialog-image-list-td";e.appendChild(b);var f=this.F.e("DIV",{style:"overflow:hidden",url:a,className:"tr_image-dialog-image-list-div"},c),g=Ul.thumb;g+=2;rg(c,g,g);if(D&&!nk(this.$))g+=16;rg(f,g,g);var h={onclick:w(this.dA,
this,f),ondblclick:w(this.sM,this,f)};this.cg.add(f,h);if(this.Pf.childNodes.length%4==0)f.style.clear="left";this.Pf.appendChild(f)};p.Oz=function(a,b){np(a,w(Iq,j,a,this.ha));a.src=this.ha.We(b,"live")};p.dA=function(a){this.cg.of(a);this.Vc.disabled=k};p.sM=function(a){this.cg.of(a);this.Fo()&&this.kn()};var Iq=function(a,b){tn(a,b.Ij(a.src,"thumb"))};p=Aq.prototype;p.Ex=function(a){this.Wd.Xr();var b=Fq[a];if(this.ha.Tm(a))a=un?this.ha.bi(a,"medium","init:"):this.ha.vm(a);this.Eq=this.rF(a,b)};
p.$v=function(){var a=this.BF.value;(new Ol(a)).Ix()||(a="http://"+a);return a};p.OB=function(){if(!this.hj)this.hj=new Qj(w(this.rL,this),200);this.hj.start()};p.rL=function(){var a=this.$v(),b=this.F.b("tr_image-dialog-external-image-preview");if(a!=b.childNodes[0].src&&a.search(/[^:\/]\//)!=-1){b.removeChild(b.childNodes[0]);b.innerHTML=Hq();this.Vc.disabled=i;this.qv=k;var c=b.ownerDocument.createElement("img"),e=w(this.CF,this,c,b);np(c,e);c.src=a}};
p.CF=function(a,b){var c=b.offsetWidth,e=400;a.style.visibility="hidden";b.replaceChild(a,b.childNodes[0]);mp(a,c,e);a.style.visibility="";this.Vc.disabled=k;this.qv=i};
p.FH=function(a){var b=a.bm.fileName,c=a.bm.fileUrl||b,e=a.bm.anchorUrl,f=a.bm.contentType;if(f&&f.indexOf("image/")!=0){var g=z("Your file has been uploaded.  However, most browsers do not support images of this file type.");alert(g)}else{if(this.Qa.qc()){this.Pf.style.display="";this.F.b("tr_upload_vertical").style.display="none";this.F.b("tr_upload_horizontal").style.display="";E&&Bn(this.content)}var h;if(this.ak[c])h=this.Qa.indexOf(c);else{this.Qa.add(c,b);Fq[c]=e;h=this.Qa.length()-1}var l=
Math.floor(h/8),m=h%8;this.mq(l);var n=this.Pf.childNodes[m];this.dA(n);Fn(n)}};p.Gl=function(){if(this.Eq){var a=j;a=qp(this.Eq);if(!a||!F){a=a||this.Eq;Al(a,k);this.Wd=j}}if(this.cg){this.cg.p();this.cg=j}if(this.sj){this.sj.p();this.sj=j}this.hj&&this.hj.p()};p.Cl=function(){};p.Uf=function(){if(this.ud){var a=this.ud.Gj();a&&a.ff&&a.ff()}else this.gR()};
var Gq=function(a,b){return a=="tr_image-dialog-image-list"?function(){var c=b.cg.xm();c&&c.parentNode.id==a&&b.Ex(c.url)}:a=="tr_image-dialog-external-image-tab"?function(){b.Ex(b.$v())}:j};Aq.prototype.iO=function(){if(this.io){var a=this.F.e("TABLE",{width:"100%"});this.ll.appendChild(a);var b=Km(a,"tbody"),c=z("Upload an image");this.hO(this.ll,c,this.io,b,!this.Qa.qc(),this.wh);this.qg.VM(this.Ah);this.O.l(this.qg,"succeeded",w(this.FH,this))}};var Jq=function(a){this.ha=a.Mj();this.ee=a};
Jq.prototype.Iq=function(a,b,c,e,f){var g=this.ee.style.Iq(a,this.ha,w(this.$H,this,a,!!f));if(g){D&&zp(g);g.src=this.ha.We(b,"live");e||rp(g,this.ha,c);a.jc()}return g};Jq.prototype.$H=function(a,b,c){a.jc();b||a.execCommand("openImageBubble",c)};var Kq=function(a,b){lq.call(this,Jl.Qi,a);this.ha=a.Mj();this.Fq=b;this.ee=a;this.tx=new Jq(a)};A(Kq,lq);Kq.prototype.r=M("trog.plugins.ImageDialogPlugin");Kq.prototype.jd=an("ImageDialogPlugin");
Kq.prototype.Po=function(){var a=this.j,b=this.ee;return new Aq(a.wj(),this.ha,b.MG(),b.uH(),"http://pages.google.com/-/images/",a.bb(),w(this.tx.Iq,this.tx,a),b.vH(),this.Fq)};
var Lq=function(a){this.RO=a&&a>0?a:0},Mq=/(?:<!--.*?--\>|<!.*?>|<(\/?)(\w+)[^>]*>|[^<]+|<)/g,Nq=xb("script","style","pre","xmp"),Oq=xb("address","applet","area","base","basefont","blockquote","body","caption","center","col","colgroup","dir","div","dl","fieldset","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","hr","html","iframe","isindex","legend","link","menu","meta","noframes","noscript","ol","optgroup","option","p","param","table","tbody","td","tfoot","th","thead","title","tr",
"ul"),Pq=xb("br","dd","dt","br","li","noframes"),Qq=xb("br","hr","isindex");
Lq.prototype.$F=function(a){a=a.replace(/^\s*?( *\S)/,"$1");a=a.replace(/\s+$/,"");for(var b=this.RO,c=b?x():0,e=new Rq,f=0,g=[],h;h=Mq.exec(a);){var l=h[0];if(h.length==3){var m=h[2];if(m)m=m.toLowerCase();if(Nq.hasOwnProperty(m))if(h[1]=="/"){var n=g.length,o=n?g[n-1]:j;if(o==m){g.pop();e.kf(k,l,!g.length)}else e.kf(k,l,k)}else{e.kf(!g.length,l,k);g.push(m)}else if(g.length)e.kf(k,l,k);else if(Oq.hasOwnProperty(m)){var r=Qq.hasOwnProperty(m),t=h[1]=="/";e.kf(r||!t,l,r||t)}else if(Pq.hasOwnProperty(m)){r=
Qq.hasOwnProperty(m);t=h[1]=="/";e.kf(k,l,t||r)}else e.kf(k,l,k)}else e.kf(k,l,k);var y=Mq.lastIndex;if(!l||y<=f)d(Error("Regex failed to make progress through source html."));f=y;if(b)if(x()-c>b){e.kf(k,a.substring(Mq.lastIndex),k);Mq.lastIndex=0;break}}e.fy();var K=String(e),P=a.length+e.Ut;if(K.length!=P)d(Error("Lost data pretty printing html."));return K};var Rq=function(){this.Er=new Wi};p=Rq.prototype;p.Ut=0;p.Nq=i;p.Ay=k;
p.kf=function(a,b,c){if((this.Ay||a)&&!/^\r?\n/.test(b)&&!/\/ul/i.test(b))this.fy();this.Er.C(b);this.Nq=/\r?\n$/.test(b);this.Ay=c&&!this.Nq};p.fy=function(){if(!this.Nq){this.Er.C("\n");++this.Ut}};p.toString=function(){return this.Er.toString()};var Sq=function(a,b,c,e,f,g,h){this.zM=b;this.OK=c;this.ha=e;this.qL=f;this.Mz=w(this.Jz,this);this.mz=g;Ko.call(this,a,i,this.zM);this.uj();this.nL=h||new Lq};A(Sq,Ko);p=Sq.prototype;
p.td=function(){N(this.kl,"resize",this.Mz,k);this.ud.sd("tr_raw-html-dialog-html-tab");Ko.prototype.td.call(this);this.Jz();this.Cs();this.Sd.focus();if(E){this.Sd.selectionStart=0;this.Sd.selectionEnd=0}};p.Uf=function(){this.OK(this.Gw());this.remove()};p.Jd=function(){zf(this.kl,"resize",this.Mz,k);Ko.prototype.Jd.call(this)};p.Jz=function(){this.Wr();this.Ho()};
p.Wr=function(){var a=this.$d.Cj()*0.9,b=this.$d.hi()*0.9;this.content.style.width=b+"px";this.content.style.height=a+"px";for(var c=vo(this.Al),e=vo(this.al),f=vo(this.ud.bo),g=a-c-e-f,h=b,l=this.ud.rG(),m=l,n=0,o=0;m!=this.content;){n+=em(m);o+=fm(m);m=m.parentNode}g-=n;h-=o;if(D&&nk(this.$))g-=13;if(g>0)l.style.height=g+"px";if(h>0){l.style.width=h+"px";if(D)this.Sd.style.width=h+"px"}if(E){var r=this.content;if(E){r.style.display="none";r.style.display="block"}}else if(D&&nk(this.$)){var t=g-
em(this.Sd)-gm(this.Sd);if(t>0)this.Sd.style.height=t+"px"}};p.GN=function(a){this.Sd.value=this.nL.$F(a)};p.Gw=function(){return this.Sd.value};p.oP=function(){this.nP(this.Gw())};p.nP=function(a){var b=this.xi.D();b.body.innerHTML=a;this.ha.mr(b);this.gO()};p.xk=function(a){a=="tr_raw-html-dialog-preview-tab"&&this.oP()};
p.aj=function(){var a=this.F.e("DIV",{id:"tr_raw-html-dialog",className:"tr_raw-html-dialog-body",co:Xn,Vc:Yn,vg:In,ff:w(this.Uf,this),Vr:i},this.Qo());this.$.body.appendChild(a);this.ud=Uo(a,this.$,i,w(this.xk,this));return a};p.uj=function(){this.Pn(this.aj());this.ZM(k);this.content.className+=" tr_raw-html-dialog";this.ud.sd("tr_raw-html-dialog-html-tab");this.content.style.display="none"};p.Qo=function(){return this.F.e("DIV",{className:"tr_dialog-section",ao:"&nbsp;"},this.yE(),this.GE())};
p.yE=function(){var a=To("tr_raw-html-dialog-html-tab",Zn,$n,this.$);var b=this.Sd=this.F.e("TEXTAREA",{id:"tr_raw-html-area",style:"height:98%;width:100%;direction:ltr"});if(E){b=Cn(this.Sd);b.style.height="100%"}a.appendChild(b);a.style.height="100%";return a};
p.GE=function(){var a=To("tr_raw-html-dialog-preview-tab",ao,bo,this.$),b=this.F.e("IFRAME",{id:"tr_raw-html-dialog-preview-pane",src:this.qL,style:"width:100%;height:100%;"});this.xi=new ro(b,i);this.xi.load(w(this.OI,this));a.appendChild(b);a.style.height="100%";return a};p.OI=function(){if(this.mz){var a=this.xi.D();xg(this.mz,a);this.fE()}};p.fE=function(){var a=this.xi.D();Oc(a.body,{style:"border:0;margin:0;background:none transparent;"});Oc(this.xi.fw(),{style:"background:none transparent;"})};
p.gO=function(){var a=this.xi.D();N(a.body,"mousedown",Tq,i);N(a,"click",Tq,i);a.onmousemove=qo;a.onmouseover=qo;a.onmouseout=qo};var Tq=function(a){qo();Rm(a,k)},Uq=function(a,b,c){lq.call(this,Jl.Pi,c);this.ha=a;this.xl=b};A(Uq,lq);p=Uq.prototype;p.r=M("trog.plugins.RawHtmlDialogPlugin");p.jd=an("RawHtmlDialogPlugin");p.Po=function(a){var b=this.j,c=b.Sp?b.Sp():j,e=new Sq(b.wj(),b.bb(),w(this.NK,this),this.ha,this.xl,c);e.GN(a||this.oG());return e};
p.oG=function(){var a=this.j,b=a.km(),c=a.Gf("Bidi");if(c)b=c.yn(b,j);return b};p.NK=function(a){var b=this.j;b.execCommand("clearlorem",i);b.fg(k,a,k,i);E&&this.ha.mr(H(b.Kg()));var c=b.bb();q.setTimeout(w(c.empty,c),0);b.jc()};var Vq=function(a){this.vD=a};A(Vq,Q);Vq.prototype.WI=function(){return this.vD};var Wq=function(){Q.call(this);this.cK=100;this.Fc=[];this.ih=[];this.tn=[]};A(Wq,Q);p=Wq.prototype;p.Mm=j;
p.bD=function(a){if(this.Fc.length==0||!a.ac(this.Fc[this.Fc.length-1])){this.Fc.push(a);this.Fc.length>this.cK&&this.Fc.shift();var b=this.ih.length;this.ih.length=0;this.dispatchEvent({type:"state_added",Ec:a});if(this.Fc.length==1||b)this.Wu()}};p.Wu=function(){this.dispatchEvent("state_change")};p.ct=function(){this.NA(this.Fc,this.ih)};p.Rr=function(){this.NA(this.ih,this.Fc)};p.vI=function(){return this.Fc.length>0};p.tI=function(){return this.ih.length>0};
p.NA=function(a,b){if(a.length){var c=a.pop();b.push(c);this.NC({type:a==this.Fc?"before_undo":"before_redo",Fv:a==this.Fc?c.ct:c.Rr,Ec:c});if(a.length==0||b.length==1)this.Wu()}};p.NC=function(a){this.tn.push(a);this.tn.length==1&&this.Jh()};p.Jh=function(){if(!(this.Mm||this.tn.length==0)){var a=this.tn.shift(),b={type:a.type,Ec:a.Ec};if(this.dispatchEvent(b))if(a.Ec.WI()){this.Mm=N(a.Ec,"action_completed",this.KF,k,this);a.Fv.call(a.Ec)}else{a.Fv.call(a.Ec);this.Jh()}}};
p.KF=function(){O(this.Mm);this.Mm=j;this.Jh()};p.fP=function(){return this.Fc[this.Fc.length-1]};p.BL=function(){return this.ih[this.ih.length-1]};var Xq=function(a){dn.call(this);this.XN(a||new Wq);this.Bg={};this.dj={};this.wx=j;this.LD=w(this.bM,this)};A(Xq,dn);Xq.prototype.r=M("trog.plugins.UndoRedo");Xq.prototype.bk=j;var Yq={KC:"+undo",tC:"+redo"},Zq=tb(Yq);p=Xq.prototype;p.XN=function(a){this.py&&O(this.py);this.Zd=a;this.py=N(this.Zd,"state_change",this.lF,k,this)};
p.Nd=function(a){return a in Zq};p.uz=function(a){if(!this.Sh)this.j=a};p.EB=function(a){this.Ih(a);this.j=j};p.Rv=function(){return this.Sh?this.Sh.Qp():this.j};p.nj=function(a){if(!this.ka(a)){a.Xi();var b=new nh(this);E||b.l(a,"beforechange",this.HH);b.l(a,"delayedchange",this.NH);b.l(a,"blur",this.IH);this.Bg[a.Ed()]=b;this.ft(a)}};p.Ih=function(a){a.Xi();var b=this.Bg[a.Ed()];if(b){b.p();delete this.Bg[a.Ed()]}this.dj[a.Ed()]&&delete this.dj[a.Ed()]};p.ka=function(a){return!!this.Bg[a.Ed()]};
p.o=function(){Xq.f.o.call(this);for(var a in this.Bg){this.Bg[a].p();delete this.Bg[a]}this.Sh=this.j=j;if(this.Zd){this.Zd.p();delete this.Zd}};p.jd=function(){return"UndoRedo"};p.execCommand=function(a){if(a=="+undo")this.Zd.ct();else a=="+redo"&&this.Zd.Rr()};p.queryCommandValue=function(a){var b=j;if(a=="+undo")b=this.Zd.vI();else if(a=="+redo")b=this.Zd.tI();return b};p.lF=function(){var a=this.Sh||this.j;a.dispatchEvent({type:"cvc",ou:["+redo","+undo"]})};
p.bM=function(a,b,c){var e=this.Sh?this.Sh.EG(a.Rh):this.j;if(e){e.Rs(i,i);e.dd();e.execCommand("clearlorem",i);e.b().innerHTML=b;c&&e.cN(c);var f=this.Rv();e.focus();f&&f.Ed()!=a.Rh&&f.execCommand("updatelorem");this.dj[a.Rh].EA(b,c);this.bk=a;e.jc();e.kj()}};p.Tw=function(a,b,c){if(c){var e;if(b=="z")e=a.shiftKey?"+redo":"+undo";else if(b=="y")e="+redo";if(e){var f=e=="+undo"?this.Zd.fP():this.Zd.BL();f&&f.Rh?this.Rv().execCommand(e):this.execCommand(e);return i}}return k};
p.HH=function(a){if(!this.bk){var b=a.target,c=b.Ed();if(this.wx!=c){this.wx=c;this.ft(b)}}};p.NH=function(a){if(this.bk){var b=this.bk;this.bk=j;b.dispatchEvent("action_completed")}else this.ft(a.target)};p.IH=function(a){var b=a.target;b&&b.Xi()};
p.ft=function(a){var b=a.Ed(),c,e;if(a.queryCommandValue("usinglorem")){c="";e=j}else{c=a.b().innerHTML;e=a.Aj()}var f=this.dj[b];if(f){if(f.vh==c)return;else if(c==""||f.vh==""){var g=a.jw("",{});if(c==g&&f.vh==""||f.vh==g&&c=="")return}f.HN(c,e);this.Zd.bD(f)}this.dj[b]=new $q(b,c,e,this.LD)};var $q=function(a,b,c,e){Vq.call(this,i);this.Rh=a;this.Sz=e;this.EA(b,c)};A($q,Vq);p=$q.prototype;p.ct=function(){this.Sz(this,this.vh,this.eP)};p.Rr=function(){this.Sz(this,this.Sr,this.AL)};
p.EA=function(a,b){this.vh=a;this.eP=b};p.HN=function(a,b){this.Sr=a;this.AL=b};p.ac=function(a){return this.Rh==a.Rh&&this.vh==a.vh&&this.Sr==a.Sr};var ar=function(){return $i("letmeinanyway")||E&&Xb(uc,"1.8")>=0||D&&Xb(uc,"6.0")>=0};Ea("TR_IsBrowserSupported",ar,undefined);var br=function(a,b,c){Op.call(this,a,b,c);if(b&&!v(b))this.vy=b.minHeight};A(br,Op);p=br.prototype;p.r=M("TR_BlendedEditableField");p.Qx=k;p.eJ=k;p.Qm=function(){return this.Qx};
p.AD=function(){if(!this.eJ){var a=this.ob();if(a)this.Qx=dm(a,"overflowY")=="auto"}};p.Vu=function(){if(this.Ob()){this.VA();this.dispatchEvent("change")}};p.Zw=function(){this.yc("change")||this.WA()};p.VA=function(){if(this.yt()){var a=this.iw(),b=a.Mg(),c=a.KG();if(this.vy)c=Math.max(c,this.vy);if(parseInt(b.style[cg("height")],10)!=c)b.style.height=c+"px";this.yz()}};
p.WA=function(){if(this.yt()){var a=this.Yh(),b=this.b();if(b){var c=a.parentNode,e=c.offsetWidth;if(parseInt(a.style[cg("width")],10)!=e){a.style.width=e+"px";b.style.width=e-fm(b)+"px"}var f=c.offsetHeight;if(this.Qm()&&parseInt(a.style[cg("height")],10)!=f){a.style.height=f+"px";b.style.height=f-em(b)+"px"}this.yz()}}};p.lp=function(){if(this.b()){this.Qm()||this.VA();this.WA()}};p.yt=function(){if(this.UA)return k;return this.UA=i};p.yz=function(){this.UA=k};p.Cq="";
p.Sp=function(a){if(!this.Cq||a){var b=this.ob();if(b){var c,e=b.ownerDocument;a&&tm(e);var f,g=Oa(e);sm[g]||tm(e);for(var h=sm[g],l=[],m=0;m<h.length;m++)l.push(h[m].W());f=l;for(var n=new om(b),o=new lm("body"),r=0;r<f.length;r++)for(var t=f[r],y=t.mf,K=y.length,P=0;P<K;P++){var Y=y[P],$=Y.XJ(n);if($){var ha=$.fA,xa=Y.Vf,sa=xa.length-1,oc;if($.bv==n.Cy.length-1||ha<sa){var Oe=xa.concat();Oe.splice(0,ha+1,o);oc=new jm;oc.Vf=Oe;y.push(oc)}else if(ha>0&&ha==sa){oc=new jm;oc.Vf=[o,xa[sa]];y.push(oc)}}}var Bk=
new im,Wo=b.currentStyle||H(b).defaultView.getComputedStyle(b,"")||{},Xo=new jm;Xo.Vf=[new lm("html")];Bk.mf=[Xo];var Yo={};r=0;for(var Qd;Qd=um[r];r++)Yo[Qd]=Wo[cg(Qd)];Bk.nA(Yo);f.push(Bk);var Ck=new im,Zo=new jm;Zo.Vf=[new lm("body")];var $o={position:"relative",top:"0",left:"0",right:"auto",display:"block",visibility:"visible"};for(r=0,Qd;Qd=vm[r];r++)$o[Qd]=Wo[cg(Qd)];Ck.nA($o,i);Ck.mf=[Zo];f.push(Ck);var ap=[];K=f.length;for(r=0;r<K;r++)f[r].EP(ap);this.Cq=c=ap.join("")}}return this.Cq};
var cr=k;p=br.prototype;p.Ob=function(){return!Sj};p.Ds=function(){br.f.Ds.call(this);if(this.Ob()){var a=this.Yh(),b=a.ownerDocument;this.O.l(b,Vp,this.Zw,i);this.O.l(this.Qb().V(),"load",this.Vu,i);this.O.l(b,"DOMAttrModified",w(this.Pw,this,this.Zw),i)}};p.Oj=function(){if(!this.yc("change")){br.f.Oj.call(this);this.Vu()}};
p.Sl=function(){if(!this.yc("blur")){br.f.Sl.call(this);if(!Sj&&!Uj){var a=this.Qb().V(),b=k;yf(a.document.body,"dragover",function(){b=i});q.setTimeout(w(function(){if(!b)if(this.Ic){var c=this.Ic.V();vl(c)}},this),0)}}};p.bt=function(){br.f.bt.call(this);var a=this.Qb().D();a.execCommand("enableInlineTableEditing",k,"false");a.execCommand("enableObjectResizing",k,"false")};p.Gx=function(){if(!this.Ob())if(!cr){this.He&&xg(this.He,this.b());cr=i}};
p.lr=function(a){if(this.Ob())br.f.lr.call(this,a);else{var b=this.ob();if(b){this.JA(b);b.contentEditable=i;this.zx(b.innerHTML,b);this.Bm()}}};p.Nj=function(){return this.Ob()?br.f.Nj.call(this):this.Qb()&&new no(this.Qb().V())};p.Bm=function(){if(this.Ob()){var a=this;q.setTimeout(function(){a.lp()},0)}br.f.Bm.call(this)};p.hw=function(){return{frameBorder:0,style:"padding:0;"}};
p.Lt=function(a){this.AD();var b=this.ob(),c=I(b),e=b.style.width,f=b.style.height;bg(b,"visibility","hidden");var g=c.e("div",{style:"height:0;clear:both",innerHTML:"&nbsp;"}),h=g.cloneNode(i);b.insertBefore(g,b.firstChild);b.appendChild(h);var l;{var m=H(b),n=D&&b.currentStyle;if(n&&I(m).Pm()&&n.width!="auto"&&n.height!="auto"&&!n.wQ){var o=Dg(b,n.width,"width","pixelWidth"),r=Dg(b,n.height,"height","pixelHeight");l=new hb(o,r)}else{var t=new hb(b.offsetWidth,b.offsetHeight),y=Fg(b),K=Ig(b);l=new hb(t.width-
K.left-y.left-y.right-K.right,t.height-K.top-y.top-y.bottom-K.bottom)}}var P=l.width,Y=l.height,$="";if(this.Qm()){$="&nbsp;";bg(b,"position","relative");bg(b,"overflow","visible");bg(a,"position","absolute");bg(a,"top","0");bg(a,"left","0")}rg(b,P,Y);if(nk(b)){this.Dr=b.style.lineHeight;bg(b,"lineHeight","0")}b.innerHTML=$;rg(a,P,Y);rg(b,e,f);bg(b,"visibility","");b.appendChild(a);if(!(D&&Op.Rm())){var ha=a.contentWindow.document;if(nk(a.ownerDocument)){ha.open();ha.write("<!DOCTYPE HTML><html></html>");
ha.close()}}};p.Pp=function(a){var b=this.ob();if(b)return new Kl(this.id,nk(b),i,this.Qm(),a);d(Error("no field"))};p.TB=function(a,b,c){bg(a,"visibility","hidden");var e=this.Pp(c),f=new Ll(this.ob(),this.He+this.Sp());Nl(e,b,f,a);this.lp();bg(a,"visibility","visible")};p.Rz=function(){this.Ob()&&L(this.Yh())};Ea("TR_BlendedEditableField",br,undefined);var dr=function(a){this.SB=a;this.tj={}};dr.prototype.dD=function(a,b){this.tj[a]=b};dr.prototype.LL=function(a){this.tj[a]=j};
var er=function(a){var b=Cm(a,"g_editable","true");return!!b&&a!=b};dr.prototype.Yq=function(a){if(!a.Sa())return k;var b=a.Fd(i);if(!b)return k;return er(b)||Am(b)};var fr=function(a,b,c){c||(c="");var e=sd(a,b,c);er(e)||(e=j);return e};p=dr.prototype;p.bb=function(a){return this.lq(a).bb()};p.lq=function(a){var b=a||Jp,c=b?this.Lg(b):j;return b&&c.Ob()&&this.tj[b]?c.iw():this.SB};p.fi=function(){return this.SB};p.D=function(a){return this.lq(a).D()};p.V=function(a){return this.lq(a).V()};
p.CG=function(a){var b=rd(a,Am,i);return b&&E?this.bw(b.id):b};p.DG=function(a){var b=this.CG(a);return b?this.Lg(b.id):j};p.XF=function(a){var b=[];for(var c in this.tj)b.push(a(this.bw(c)));return b};p.Lg=function(a){return this.tj[a]};p.bw=function(a){var b=this.Lg(a);return b&&b.b()};p.dG=function(){var a=Jp;return a?this.Lg(a):j};var gr=function(a,b){nh.call(this,b);this.IQ=a};A(gr,nh);
var ir=function(a,b,c,e){Q.call(this);hp.call(this,a);this.Ja=b;this.ha=c;if(a.nodeName=="IMG"){var f=qp(a);f&&this.os(f,k)}this.$=this.Ja.D();if(a.nodeName=="IMG")this.Sw=a.src;this.lk=this.Xn=e;hr=[];hr[0]="left";hr[1]="center";hr[2]="right"},hr;A(ir,hp);p=ir.prototype;p.r=M("TR_ImageDragger");p.Zp=function(){return this.yk};
p.Ms=function(a){this.mp=k;F&&Rm(a);if(this.Sw){this.Lb=this.$.createElement("IMG");np(this.Lb,w(this.ZH,this,this.Lb));this.Lb.src=this.Sw;var b={position:"absolute",opacity:"0.3",MozOpacity:"0.3",filter:"alpha(opacity=30)"};Fm(this.Lb,b);this.Lb.style.visibility="hidden"}this.Xk&&window.setTimeout(w(this.TL,this),0);this.Oe=w(this.Nh,this);N(this.$,"mouseup",this.Oe,k);this.Ja.V().setTimeout(w(this.wD,this),10);if(D){this.Vw=w(this.gI,this);N(this.$,"mousemove",this.Vw,k);this.Xn.b().setCapture(k);
if(this.Lb){this.$.body.appendChild(this.Lb);this.JB(a)}}else{if(this.am)this.am.Xc();else this.am=new nh(this);this.Ja.XF(w(this.KJ,this));var c=ko.document;if(this.Lb){c.body.appendChild(this.Lb);this.gt(a,this.Xn.b())}var e=this.Ja.fi().D();this.Yw=w(this.kI,this);N(e,"mousemove",this.Yw,k);if(this.$!=c){N(c,"mouseup",this.Oe,k);N(c,"mousedown",this.Oe,k)}}this.dispatchEvent("dragstart")};p.wD=function(){N(this.$,"mousedown",this.Oe,k)};
p.TL=function(){if(!this.mp){Nm(this.Zp(),this.oe(),ip);Fm(this.oe(),this.xw());$c(this.oe(),this.Zp())}};p.SL=function(){var a=this.oe(),b=a.parentNode;b&&b.nodeType!=11&&$c(this.Zp(),a)};p.ZH=function(a){mp(a,Ul.thumb,Ul.thumb);if(this.Lb)this.Lb.style.visibility=""};p.kI=function(a){var b=this.Ja.fi(),c=b.D(),e={},f=b.Cw();e.clientX=a.clientX+f.x;e.clientY=a.clientY+f.y;this.gt(e,c.body);this.ds(a.clientX,a.clientY)};
p.ds=function(a,b){var c=this.Ja.fi(),e=c.hi(),f=c.Cj(),g=jr(a,e),h=jr(b,f);g==0&&h==0?this.iB():this.oM(g,h)};var jr=function(a,b){var c=0;if(a<30)c=-25;else if(a>b-30)c=25;return c};p=ir.prototype;p.oM=function(a,b){if(!this.Jn){var c=this.Ja.V();this.Jn=c.setInterval(w(this.nM,this),100)}this.scrollX=a;this.scrollY=b};p.nM=function(){this.Ja.fi().mM(this.scrollX,this.scrollY)};p.iB=function(){this.Jn&&this.Ja.V().clearInterval(this.Jn);this.Jn=j};
p.KJ=function(a){var b=w(this.hI,this,a);this.am.l(a,"mousemove",b)};p.hP=function(){this.am.Xc()};p.gI=function(a){this.ds(a.clientX,a.clientY);this.JB(a);this.Ww(a)};p.hI=function(a,b){var c=this.pw(b,a),e=this.Ja.fi(),f=e.D(),g=pg(f.body,ko),h=pg(a,ko),l=e.Cw(),m=c.clientX-g.x+h.x-l.x,n=c.clientY-g.y+h.y-l.y;this.ds(m,n);var o={};o.clientX=c.x;o.clientY=c.y;this.gt(o,a);this.Ww(b)};
p.Ww=function(a){var b=Sm(a),c=this.Ja.DG(b);if(c){var e=c.b();if(e&&!ed(this.oe(),b)&&b!=this.oe()){var f=this.pw(a,e),g=this.lG(b,e,f);if(g&&er(g))var h=this.fG(g,f)}if(h){if(this.lk!=c){this.dispatchEvent({type:"beforechangefield",sK:this.lk,nK:c});this.Mx=i;var l=g.parentNode;if(!l||l.nodeType==11){for(var m=g=e;m&&m.nodeType==1;){g=m;m=m.firstChild}if(g==e){g=I(e).createElement("P");e.insertBefore(g,qk(e))}}}this.Lr(b,c,h,g);var n=this.oe();if(n.nodeName=="IMG"&&!Fc(n,"tr_placeholder")&&1)if(!qp(n)){var o=
rp(n,this.ha);this.os(o,k)}if(this.Mx){this.dispatchEvent({type:"changefield",sK:this.lk,nK:c});this.Mx=k;this.lk=c}}}};p.fG=function(a,b){var c,e;if(D){var f=a.style.border;a.style.border="1px solid blue";c=lg(a);c.x=a.getBoundingClientRect().left;e=a.offsetWidth;a.style.border=f}else{c=lg(a);e=a.offsetWidth}if(!(this.oe().parentNode!=a&&!this.nJ(c.y,b.y))){var g,h=Math.floor((b.x-c.x)/e*3);h=Math.max(0,h);g=h=Math.min(2,h);return hr[g]}};
p.lG=function(a,b,c){var e,f=this.oe(),g=vo(f);if(Am(a))e=this.Nv(b,c,g);else{e=this.Jv(a);if(!e){e=this.Nv(b,c,g);if(!e){var h=lg(f);if(h.y<c.y&&c.y<h.y+g)e=f.parentNode}}}return e};p.Nv=function(a,b,c){var e,f=lg(a),g=f.y+vo(a);if(b.y>g-c){var h=a.lastChild;if(h&&jp(h))e=h;else{e=this.Cu();a.appendChild(e)}}return e};p.gt=function(a,b){var c=pg(b,ko);this.zy(a.clientX+c.x,a.clientY+c.y)};p.JB=function(a){var b=Qc(this.Ja.V());this.zy(a.clientX+b.x,a.clientY+b.y)};
p.zy=function(a,b){if(this.Lb){this.Lb.style.left=a+20+"px";this.Lb.style.top=b+20+"px"}};p.pw=function(a,b){var c={};c.x=a.clientX;c.y=a.clientY;if(E&&Xb(uc,"1.7")<=0&&b!=this.Xn.b()){var e=pg(b,ko);c.x-=e.x;c.y-=e.y}if(D||F)c.y+=Qc(this.Ja.V()).y;return c};
p.Nh=function(){if(!this.mp){this.mp=i;yp(this.Lb);this.iB();zf(this.$,"mouseup",this.Oe,k);var a=zf(this.$,"mousedown",this.Oe,k);a||this.Ja.V().setTimeout(w(zf,j,this.$,"mousedown",this.Oe,k),10);if(this.Lb){L(this.Lb);this.Lb=j}this.Xk&&this.SL();if(D){this.Xn.b().releaseCapture();zf(this.$,"mousemove",this.Vw,k)}else{this.hP();var b=ko.document;if(this.$!=b){zf(b,"mouseup",this.Oe,k);zf(b,"mousedown",this.Oe,k)}var c=this.Ja.fi().D();zf(c,"mousemove",this.Yw,k)}this.dispatchEvent({type:"dragend",
HQ:this.lk})}};p.nJ=function(a,b){return b-a<vo(this.oe())+100};var kr=function(a){this.Ja=a};kr.prototype.bb=function(){return this.Ja.bb()};kr.prototype.Iq=function(a,b,c){var e=a.Qb().createElement("img");np(e,Qa(wp,e,b,c));e.removeAttribute("height");e.removeAttribute("width");var f=a.bb();if(!this.Ja.Yq(f)){var g=z("Select a paragraph to insert the image into.");alert(g);return j}e=this.Lr(a,e);D&&xp(e,b,c);return e};
kr.prototype.Lr=function(a,b){var c="setTempIdToRetrieveImage";b.setAttribute("id",c);var e=a.bb();e.Dx(b);(b=a.Qb().b(c))&&b.removeAttribute("id");return b};var lr=function(){if(D)try{this.sg=new ActiveXObject("Msxml2.XMLHTTP")}catch(a){try{this.sg=new ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}else if(XMLHttpRequest!==undefined)this.sg=new XMLHttpRequest};p=lr.prototype;p.r=M("TR_XmlHttp");p.status=function(){return this.sg.status};p.Qz=function(){return this.sg.responseText};
p.send=function(a){try{this.sg.setRequestHeader("Content-Type","text/plain; charset=UTF-8");this.sg.send(a)}catch(b){}};p.t=function(a,b){this.ly("GET",a,"",b)};p.head=function(a,b,c){this.ly("HEAD",a,b,c)};p.ly=function(a,b,c,e){this.sg.onreadystatechange=e;this.sg.open(a,b,i);this.send(c)};
var mr=function(a,b){Q.call(this);this.ak={};this.Ni=[];this.ok=[];this.Fq=[];this.zf=new no(a);var c=this.zf.V();this.tg=window;this.DO=b+"static_files";var e,f=!D&&c.document.compatMode=="CSS1Compat"?"standards":"quirks";this.xl=e=this.DO+"/blank_"+f+".html";this.ha=Ql(c);this.Ja=new dr(this.zf);this.Mh=new nh(this);this.style=new kr(this.Ja);this.Af={}};A(mr,Q);p=mr.prototype;p.r=M("TR_Editor");p.Mj=function(){return this.ha};p.Nj=function(){return this.zf};p.ks=function(a){this.ED=a};
p.iG=function(){return this.ED||0};p.bh=function(a){if(u(a))for(var b=0;b<a.length;++b)this.ky(a[b]);else this.ky(a)};p.EG=function(a){return this.Af[a]};p.qk=function(a,b){if(u(a))for(var c=0;c<a.length;++c)a[c].my(b);else a.my(b)};p.YH=function(a){var b=a.target,c=b.id;if(this.Qh[c]){this.Qh[c].p();this.Qh[c]=j}this.Ja.LL(c);delete this.Af[b.Ed()];if(nb(this.Af)){this.Mh&&this.Mh.Xc();this.GQ=j}};p.wL=function(){this.p()};
p.o=function(){if(this.sx){this.sx.p();this.sx=j}for(var a in this.Af){var b=this.Af[a];this.qk(b,i);b.p()}if(this.Mh){this.Mh.p();this.Mh=j}mr.f.o.call(this)};p.Qh={};p.yi=function(a,b,c,e){var f=a.id;this.Qh[f]||(this.Qh[f]=new nh(this));this.Qh[f].l(a,b,c,e)};
p.OF=function(a){if(Bg(a.target)){var b=a.target.ownerDocument,c=b.defaultView,e=b.activeElement;if(e&&e.contentEditable){var f=Uk(c);if(!f.isCollapsed()){if(C){c.getSelection().collapseToEnd();f.select()}c.setTimeout(function(){var g=Uk(c);if(g.isCollapsed()){var h=g.aa(),l=g.pa();if(h==f.aa()&&l==f.pa()||h==f.ma()&&l==f.Ga())f.select()}},0)}}}};p.qA=function(a,b,c,e,f){a.ob()||a.cm(this.zf.D());a.fg(b,c,e,f)};p.hN=function(a,b,c){var e=this.Ja.Lg(a);this.qA(e,k,b,c,i)};
p.cw=function(a){a.ob()||a.cm(this.zf.D());return a.km()};p.AG=function(a){var b=this.Ja.Lg(a);return this.cw(b)};p.WH=function(a){this.dispatchEvent({type:"focus",j:a.target})};p.VH=function(a){var b=i;if(D){var c=a.b(),e=!a.Ob()?c:so(wm(c)),f=H(e);if(e.contains(xk(f)))b=k;else{var g=a.Eb(),h=g&&g.Xh();h&&ed(c,h)&&vl(a.Ic.V())}}this.dispatchEvent({type:"blur",j:a});b&&a.execCommand("updatelorem")};
p.ky=function(a){a.MM(this.tg);var b=this.iG();b&&!a.Iv()&&a.ks(b);a.Gf("RawHtmlDialogPlugin")||a.od(new Uq(this.Mj(),this.xl,this));a.Gf("ImageDialogPlugin")||a.od(new Kq(this,this.Fq));a.Gf("EditLinkDialogPlugin")||a.od(new nq(this,this.ok));var c=a.id;a.cm(this.zf.D());if(a.ob()){a.execCommand("clearlorem",i);C&&!a.Ob()&&this.Mh.l(this.Nj().D(),"mousedown",this.OF);this.Ja.dD(c,a);this.yi(a,"load",this.XH);a.bh(this.xl);this.Af[a.Ed()]=a}};
p.XH=function(a){var b=a.target;this.uD(b);var c=b.Yh();if(c){var e=new ro(c);e.Or(b.O,i)}};p.uD=function(a){a.b();this.yi(a,"unload",this.YH);this.yi(a,"focus",this.WH);this.yi(a,"blur",w(this.VH,this,a));this.yi(a,"selectionchange",Qa(Tm,this));this.yi(a,"cvc",Qa(Tm,this))};p.openDialog=function(a,b){var c=this.ew();c&&c.execCommand(a,b)};p.Qp=function(){return this.Ja.dG()};p.ew=function(){var a=this.Qp();if(!a&&!nb(this.Af)){a:{var b=this.Af;for(var c in b){a=b[c];break a}a=void 0}this.Cv(a)}return a};
p.Pv=function(a){var b=this.Qp();return b?b.queryCommandValue(a):{}};var nr=tb(Jl);p=mr.prototype;p.execute=function(a,b){var c=j,e=this.ew();if(!e)return j;c=e.execCommand(a,b);a=="+link"&&this.nI(e,c);return c};p.Cv=function(a){if(Jp==a.id)Uk(this.zf.V())||a.Jr();else{Jp=a.id;this.zf.fm();a.Bv()}};p.VF=function(a){this.Cv(this.Ja.Lg(a))};p.nI=function(a,b){if(b){var c=b.mm();if(lo.test(c))this.GA(a,b,Yl(c));else mo.test(c)?this.GA(a,b,"mailto:"+c):this.openDialog(Jl.yh,b)}};
p.GA=function(a,b,c){b.yx(c);var e=b.Uh();b.Kr();a.execCommand("openLinkBubble",e)};p.ss=function(a){this.ak=a};p.MG=function(){return this.ak};p.YN=function(a){this.io=a};p.uH=function(){return this.io};p.ZN=function(a){this.wh=a};p.vH=function(){return this.wh};p.uG=function(){return this.ok};p.YC=function(a,b,c,e){var f=c instanceof zq?c:new zq(c,this.ha.Bb.winbase),g={label:a,qa:b,sP:f};if(e){e.jo&&f.$N(e.jo);if(e.ap)g.ap=e.ap;if(e.vp)g.vp=e.vp}this.ok.push(g);this.Ni.push(f);Bp=this.Ni;return g};
Ea("TR_Editor",mr,undefined);var U=mr.prototype;U.execute=U.execute;U.getCommandValues=U.Pv;U.makeEditable=U.bh;U.makeNotEditable=U.qk;U.getFieldContentsById=U.AG;U.openDialog=U.openDialog;U.quit=U.wL;U.dispose=U.p;U.focusOnField=U.VF;U.setFieldContentsById=U.hN;U.setBaseZindex=U.ks;U.getFieldHTML=U.cw;U.setFieldHTML=U.qA;mr.isBrowserSupported=ar;mr.setInvalidUrlCheck=cm;mr.setInternalUrlCheck=Xl;Ea("TR_EditorCommand",uj,undefined);mr.COMMAND=uj;T.UNDO="+undo";T.REDO="+redo";T.LINK="+link";
T.FORMAT_BLOCK="+formatBlock";T.INDENT="+indent";T.OUTDENT="+outdent";T.REMOVE_FORMAT="+removeFormat";T.STRIKE_THROUGH="+strikeThrough";T.HORIZONTAL_RULE="+insertHorizontalRule";T.SUBSCRIPT="+subscript";T.SUPERSCRIPT="+superscript";T.UNDERLINE="+underline";T.UNLINK="+unlink";T.BOLD="+bold";T.ITALIC="+italic";T.FONT_SIZE="+fontSize";T.FONT_FACE="+fontName";T.FONT_COLOR="+foreColor";T.EMOTICON="+emoticon";T.BACKGROUND_COLOR="+backColor";T.ORDERED_LIST="+insertOrderedList";T.UNORDERED_LIST="+insertUnorderedList";
T.TABLE="+table";T.JUSTIFY_CENTER="+justifyCenter";T.JUSTIFY_FULL="+justifyFull";T.JUSTIFY_RIGHT="+justifyRight";T.JUSTIFY_LEFT="+justifyLeft";T.BLOCKQUOTE="+BLOCKQUOTE";T.DIR_LTR="ltr";T.DIR_RTL="rtl";Ea("TR_DialogType",Jl,undefined);mr.DIALOG=Jl;Jl.IMAGE=Jl.Qi;Jl.SP_CHAR=Jl.xC;Jl.EDIT_HTML=Jl.Pi;Jl.EDIT_IMAGE=Jl.aC;Jl.LINK=Jl.yh;Jl.INSERT_MODULE=Jl.kC;U.setBlockquoteClassname=U.dR;U.setBlockquoteStyles=U.eR;U.setImages=U.ss;U.addLinkTab=U.YC;U.getCustomLinkTabDescriptions=U.uG;U.getUrlUtil=U.Mj;
U.setUploadFileUrl=U.YN;U.setUploadParams=U.ZN;
var V=function(a,b,c){Q.call(this);this.r=j;this.jb=new nh(this);this.ee=a;this.Nb=b;this.Pr=[];B(or,function(e){var f=this.Nb.yj(this.Qv(e));if(f){this.Pr.push(e);switch(e){case "+fontName":if(f.Ng()==0){pr(f,c);f.Di(qr)}break;case "+fontSize":if(f.Ng()==0){rr(f);f.Di(sr)}break;case "+foreColor":f.qh("#000000");break;case "+backColor":f.qh("#FFFFFF");break;case "+formatBlock":if(f.Ng()==0){tr(f);f.Di(ur)}break}}},this);this.Nb.rd(k);this.jb.l(this.ee,"cvc",this.pP);this.jb.l(this.Nb,"action",this.EH)};
A(V,Q);p=V.prototype;p.Qv=function(a){return a};p.qG=function(a){return a};p.ab=function(){return this.jb};p.Oa=function(){return!!this.Nb&&this.Nb.Oa()};p.sa=function(a){this.Nb&&this.Nb.sa(a)};p.ka=function(){return!!this.Nb&&this.Nb.ka()};p.Bc=function(a){this.Nb&&this.Nb.Bc(a)};p.blur=function(){this.Nb.Lf(j)};p.o=function(){V.f.o.call(this);if(this.jb){this.jb.p();this.jb=j}if(this.Nb){this.Nb.p();this.Nb=j}this.r=j;delete this.ee;this.Pr=j};
p.pP=function(a){if(this.Nb.ka()&&this.dispatchEvent("change")){var b;try{b=this.ee.Pv(a.ou||this.Pr)}catch(c){b={}}this.qP(b)}};
p.qP=function(a){for(var b in a){var c=this.Nb.yj(this.Qv(b));if(c){var e=a[b];switch(b){case "+undo":case "+redo":c.Bc(e);break;case "+fontName":var f=j;if(e&&e.length>0)f=c.ei().yj(vr(e));var g=c.If();f!=g&&c.Yd(f);break;case "+fontSize":e=e>0?e:j;e!=c.da()&&c.Wa(e);break;case "+foreColor":case "+backColor":try{if(D){var h="000000"+e.toString(16),l=h.substr(h.length-6,6);e=(new Wi("#",l.substring(4,6),l.substring(2,4),l.substring(0,2))).toString()}e!=c.da()&&c.Wa(e)}catch(m){}break;case "rtl":var n=
!!e;this.IN(n);c.eg(n);break;case "+formatBlock":e=e&&e.length>0?e:j;e!=c.da()&&c.Wa(e);break;default:c.eg(!!e);break}}}};p.IN=function(a){Gc(this.Nb.b(),"tr-rtl-mode",a)};p.EH=function(a){var b=this.qG(a.target.wb());b in nr?this.ee.openDialog(b):this.ee.execute(b,a.target.da())};
var vr=function(a){var b=a.indexOf(","),c=(b!=-1?a.substring(0,b):a).toLowerCase(),e;a:{for(var f="\"'",g=f.length,h=0;h<g;h++){var l=g==1?f:f.charAt(h);if(c.charAt(0)==l&&c.charAt(c.length-1)==l){e=c.substring(1,c.length-1);break a}}e=c}return e},pr=function(a,b){var c=b?b.replace(/_/,"-").toLowerCase():"en-us",e=[];if(c in wr)e=wr[c];e.length>0&&xr(a,e);xr(a,yr)},xr=function(a,b){B(b,function(c){zr(a,c.caption,c.value)})},zr=function(a,b,c){var e=vr(c),f=a.g.e("span",{style:"font-family:"+c},b),
g=new Bi(f,c,a.g);g.nf(e);a.Zc(g);B(g.b().childNodes,function(h){Dc(h,"goog-inline-block");bg(h,"vertical-align","middle")})},rr=function(a){Ar(a,Br)},Ar=function(a,b){B(b,function(c){Cr(a,c.caption,c.value)})},Cr=function(a,b,c){var e=a.g.e("font",{size:c},b),f=new Bi(e,c,a.g);f.nf(b);a.Zc(f);B(f.b().childNodes,function(g){Dc(g,"goog-inline-block");bg(g,"vertical-align","middle")})},tr=function(a){Dr(a,Er)},Dr=function(a,b){B(b,function(c){Fr(a,c.caption,c.ia)})},Fr=function(a,b,c){var e=new Bi(a.g.e("div",
j,b),c,a.g);e.nf(c);a.Zc(e);B(e.b().childNodes,function(f){Dc(f,"goog-inline-block");bg(f,"vertical-align","middle")})},Gr=function(a){var b=new Ij;b.rd(k);b.wa(a);return b},Kr=function(a,b){var c=b||mg(a),e=c?Hr:Ir;return Jr(e,a)},Jr=function(a,b,c){var e=I(b),f=new Ij(Hj.Ka(),"horizontal",e),g=c||mg(b);f.gg(g);f.rd(k);for(var h=0,l;l=a[h];h++){if(v(l))l=Lr(l,e);l.Dc(32,k);l.gg(g);f.De(l,i)}f.rc(b);return f},Lr=function(a,b){var c,e=Mr[a];if(e){var f=e.lc||Nr,g=e.ia,h=e.qa,l=e.caption,m=e.Vi||"tr-icon tr-"+
(g.charAt(0)=="+"?g.substring(1):g),n=b||I();c=f(g,h,l,m,j,n)}return c},Pr=function(a,b,c,e,f,g){var h=new Kj(Or(c,e,g),f,g);h.nf(a);h.rh(b);return h},Nr=function(a,b,c,e,f,g){var h=Pr(a,b,c,e,f,g);h.Dc(16,i);return h},Qr=function(a,b,c,e,f,g){var h=new Oj(Or(c,e,g),j,f,g);h.nf(a);h.rh(b);return h},Rr=function(a,b,c,e,f,g){var h=new Pj(j,j,f,g);e&&B(e.split(/\s+/),h.uo,h);h.uo("goog-toolbar-select");h.Di(c);h.nf(a);h.rh(b);return h},Sr=function(a,b,c,e,f,g){var h=new Nj(Or(c,e,g),j,f,g);h.nf(a);h.rh(b);
return h},Or=function(a,b,c){if((!a||a=="")&&E&&!G("1.9a"))a="\u00a0";return(c||I()).e("div",b?{"class":b}:j,a)},or=["+fontName","+fontSize","+bold","+italic","+underline","+strikeThrough","+foreColor","+backColor","+insertUnorderedList","+insertOrderedList","+justifyLeft","+justifyCenter","+justifyRight","+justifyFull","+subscript","+superscript","+undo","+redo"];or.push("ltr");or.push("rtl");or.push("+BLOCKQUOTE");or.push("+formatBlock");
var qr=z("Normal"),Tr=z("Normal / serif"),Ur=z("Small"),sr=z("Normal"),Vr=z("Large"),Wr=z("Huge"),Xr=z("Format"),Yr=z("Format"),Zr=z("Heading"),$r=z("Subheading"),as=z("Minor heading"),ur=z("Normal"),yr=[{caption:qr,value:"arial,sans-serif"},{caption:Tr,value:"times new roman,serif"},{caption:"Courier New",value:"courier new,monospace"},{caption:"Georgia",value:"georgia,serif"},{caption:"Trebuchet",value:"trebuchet ms,sans-serif"},{caption:"Verdana",value:"verdana,sans-serif"}],wr={ja:[{caption:"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af",
value:"ms pgothic,sans-serif"},{caption:"\uff2d\uff33 \uff30\u660e\u671d",value:"ms pmincho,serif"},{caption:"\uff2d\uff33 \u30b4\u30b7\u30c3\u30af",value:"ms gothic,monospace"}],ko:[{caption:"\uad74\ub9bc",value:"gulim,sans-serif"},{caption:"\ubc14\ud0d5",value:"batang,serif"},{caption:"\uad74\ub9bc\uccb4",value:"gulimche,monospace"}],"zh-tw":[{caption:"\u65b0\u7d30\u660e\u9ad4",value:"pmingliu,serif"},{caption:"\u7d30\u660e\u9ad4",value:"mingliu,serif"}],"zh-cn":[{caption:"\u5b8b\u4f53",value:"simsun,serif"},
{caption:"\u9ed1\u4f53",value:"simhei,sans-serif"},{caption:"MS Song",value:"ms song,monospace"}]},Br=[{caption:Ur,value:1},{caption:sr,value:2},{caption:Vr,value:4},{caption:Wr,value:6}],Er=[{caption:Zr,ia:"H2"},{caption:$r,ia:"H3"},{caption:as,ia:"H4"},{caption:ur,ia:"P"}],Ir=[Jl.Qi,"+link","+bold","+italic","+insertUnorderedList","+foreColor","+fontName","+fontSize","+justifyLeft","+justifyCenter","+justifyRight"],Hr=[Jl.Qi,"+link","+bold","+italic","+insertUnorderedList","+foreColor","+fontName",
"+fontSize","+justifyRight","+justifyCenter","+justifyLeft","rtl","ltr"];Ir.push("ltr");Ir.push("rtl");Ir.push(Jl.Pi);Hr.push(Jl.Pi);
var bs=z("Undo"),cs=z("Redo"),ds=z("Font"),es=z("Font size"),fs=z("Bold"),gs=z("Italic"),hs=z("Underline"),is=z("Text color"),js=z("Text background color"),ks=z("Add or remove link"),ls=z("Link"),ms=z("Numbered list"),ns=z("Bullet list"),os=z("Decrease indent"),ps=z("Increase indent"),qs=z("Align left"),rs=z("Align center"),ss=z("Align right"),ts=z("Justify"),us=z("Remove formatting"),vs=z("Insert image");z("Insert Special Characters");z("\u2230Special\u2230");
var ws=z("Strikethrough"),xs=z("Subscript"),ys=z("Superscript"),zs=z("Insert drawing"),As=z("Insert equation"),Bs=z("Left-to-right"),Cs=z("Right-to-left"),Ds=z("Quote"),Es=z("Edit HTML source"),Fs=z("Edit HTML"),Mr={},Gs=[{ia:"+undo",qa:bs,lc:Pr},{ia:"+redo",qa:cs,lc:Pr},{ia:"+fontName",qa:ds,Vi:"tr-fontName",lc:Rr},{ia:"+fontSize",qa:es,Vi:"tr-fontSize",lc:Rr},{ia:"+bold",qa:fs},{ia:"+italic",qa:gs},{ia:"+underline",qa:hs},{ia:"+foreColor",qa:is,lc:Sr},{ia:"+backColor",qa:js,lc:Sr},{ia:"+link",qa:ks,
caption:ls,Vi:"tr-link",lc:Pr},{ia:"+insertOrderedList",qa:ms},{ia:"+insertUnorderedList",qa:ns},{ia:"+outdent",qa:os,lc:Pr},{ia:"+indent",qa:ps,lc:Pr},{ia:"+justifyLeft",qa:qs},{ia:"+justifyCenter",qa:rs},{ia:"+justifyRight",qa:ss},{ia:"+justifyFull",qa:ts},{ia:"+removeFormat",qa:us,lc:Pr},{ia:Jl.Qi,qa:vs,lc:Pr},{ia:"+strikeThrough",qa:ws},{ia:"+subscript",qa:xs},{ia:"+superscript",qa:ys}];Gs.push({ia:"ltr",qa:Bs});Gs.push({ia:"rtl",qa:Cs});Gs.push({ia:"+BLOCKQUOTE",qa:Ds});
Gs.push({ia:"+formatBlock",qa:Xr,caption:Yr,Vi:"tr-formatBlock",lc:Rr});Gs.push({ia:Jl.Pi,qa:Es,caption:Fs,Vi:"tr-editHtml",lc:Pr});Gs.push({ia:"+newDrawing",qa:zs,lc:Pr});Gs.push({ia:"+equation",qa:As,lc:Pr});for(var Hs=0,Is;Is=Gs[Hs];Hs++)Mr[Is.ia]=Is;delete Gs;Ea("TR_EditorToolbar",V,undefined);V.prototype.isVisible=V.prototype.Oa;V.prototype.setVisible=V.prototype.sa;V.prototype.isEnabled=V.prototype.ka;V.prototype.setEnabled=V.prototype.Bc;V.prototype.blur=V.prototype.blur;
V.prototype.dispose=V.prototype.p;V.addDefaultFonts=pr;V.addFonts=xr;V.addFont=zr;V.addDefaultFontSizes=rr;V.addFontSizes=Ar;V.addFontSize=Cr;V.addDefaultFormatOptions=tr;V.addFormatOptions=Dr;V.addFormatOption=Fr;V.decorateToolbar=Gr;V.makeDefaultToolbar=Kr;V.makeToolbar=Jr;V.makeBuiltInToolbarButton=Lr;V.makeButton=Pr;V.makeToggleButton=Nr;V.makeMenuButton=Qr;V.makeSelectButton=Rr;V.makeColorMenuButton=Sr;V.DEFAULT_BUTTONS=Ir;V.DEFAULT_BUTTONS_RTL=Hr;
var Js=function(a,b){rh.call(this,a);this.La=b||j;this.ab().l(this,"action",this.xK)};A(Js,rh);p=Js.prototype;p.Cg=i;p.ls=function(a){this.La?this.La.ls(a):this.xu(a)};p.Sn=function(a){this.La||this.xu([]);this.La.Sn(a)};p.Hj=function(){return this.La?this.La.Hj():j};p.Hf=function(){return this.La?this.La.Hf():-1};p.pf=function(a){this.La&&this.La.pf(a)};p.Fj=function(){return this.La?this.La.Fj():j};p.qh=function(a){this.La&&this.La.qh(a)};p.cf=function(){return this.Cg};
p.rd=function(a){this.Cg=a;this.La&&this.La.Dc(32,a)};p.Wb=function(){return k};p.gb=function(){Js.f.gb.call(this);this.La&&this.La.rc(this.b());this.b().unselectable="on"};p.o=function(){Js.f.o.call(this);if(this.La){this.La.p();this.La=j}};p.focus=function(){this.La&&this.La.b().focus()};p.xK=function(a){a.stopPropagation();this.dispatchEvent("change")};p.xu=function(a){var b=new Bj(a,j,this.g);b.Sn(5);b.Dc(32,this.Cg);this.De(b);this.La=b;this.Rb()&&this.La.rc(this.b())};
var Ks=function(){this.wz=x()},Ls=new Ks;Ks.prototype.w=function(a){this.wz=a};Ks.prototype.reset=function(){this.w(x())};Ks.prototype.t=function(){return this.wz};var Ms=function(a){this.xn=a||"";this.dB=Ls};Ms.prototype.PA=i;Ms.prototype.TA=i;Ms.prototype.RA=i;Ms.prototype.Es=k;
var Os=function(a){var b=new Date(a.ow());return Ns(b.getFullYear()-2000)+Ns(b.getMonth()+1)+Ns(b.getDate())+" "+Ns(b.getHours())+":"+Ns(b.getMinutes())+":"+Ns(b.getSeconds())+"."+Ns(Math.floor(b.getMilliseconds()/10))},Ns=function(a){if(a<10)return"0"+a;return String(a)},Ps=function(a,b){var c=a.ow()-b,e=c/1000,f=e.toFixed(3),g=0;if(e<1)g=2;else for(;e<100;){g++;e*=10}for(;g-- >0;)f=" "+f;return f},Qs=function(a){Ms.call(this,a)};A(Qs,Ms);Qs.prototype.Es=i;
Qs.prototype.Dv=function(a){var b;switch(a.Wp().value){case qe.value:b="dbg-sh";break;case re.value:b="dbg-sev";break;case se.value:b="dbg-w";break;case te.value:b="dbg-i";break;case ve.value:default:b="dbg-f";break}var c=[];c.push(this.xn," ");this.PA&&c.push("[",Os(a),"] ");this.TA&&c.push("[",Ub(Ps(a,this.dB.t())),"s] ");this.RA&&c.push("[",Pb(a.Xp()),"] ");c.push('<span class="',b,'">',Jb(Ub(Pb(a.nw()))));if(this.Es&&a.Yv())c.push("<br>",Jb(Ub(a.Zv()||"")));c.push("</span><br>");return c.join("")};
var Rs=function(a){Ms.call(this,a)};A(Rs,Ms);Rs.prototype.Dv=function(a){var b=[];b.push(this.xn," ");this.PA&&b.push("[",Os(a),"] ");this.TA&&b.push("[",Ps(a,this.dB.t()),"s] ");this.RA&&b.push("[",a.Xp(),"] ");b.push(a.nw(),"\n");this.Es&&a.Yv()&&b.push(a.Zv(),"\n");return b.join("")};
var Ts=function(a,b){this.Nf=a||"";this.xn=b||"";this.wi=[];this.Hn=new Xi(500);this.oz=w(this.ZC,this);this.aG=new Qs(this.xn);this.HF={};this.YM(i);this.nb=Ss(this.Nf,"enabled")=="1";q.setInterval(w(this.jM,this),7500)};p=Ts.prototype;p.RB="LOGGING";p.na=j;p.kt=k;p.Lx=k;p.Wt=j;p.dr=x();p.$e=function(){this.nb&&this.Cr()};p.ka=function(){return this.nb};p.Bc=function(a){if(this.nb=a){this.Cr();this.na&&this.no()}this.lA("enabled",a?"1":"0")};
p.YM=function(a){if(!(a==this.Lx)){this.Lx=a;var b;Fe();b=Ee;a?b.UC(this.oz):b.ML(this.oz)}};p.gE=function(){this.Hn.clear();this.na&&this.no()};p.ZC=function(a){if(!this.HF[a.Xp()]){var b=this.aG.Dv(a);this.FP(b)}};p.FP=function(a){if(this.nb){this.Cr();this.Hn.add(a);this.mt(a)}else this.Hn.add(a)};p.mt=function(a){this.wi.push(a);q.clearTimeout(this.Wt);if(x()-this.dr>750)this.lt();else this.Wt=q.setTimeout(w(this.lt,this),250)};
p.lt=function(){this.dr=x();if(this.na){var a=this.na.document.body,b=a&&a.scrollHeight-(a.scrollTop+a.clientHeight)<=100;this.na.document.write(this.wi.join(""));this.wi.length=0;b&&this.na.scrollTo(0,1000000)}};p.UB=function(){for(var a=this.Hn.oc(),b=0;b<a.length;b++)this.mt(a[b])};
p.Cr=function(){if(!(this.na&&!this.na.closed||this.kt)){var a=this.sG("dbg","0,0,800,500").split(","),b=Number(a[0]),c=Number(a[1]),e=Number(a[2]),f=Number(a[3]);this.kt=i;this.na=window.open("",this.AH(),"width="+e+",height="+f+",toolbar=no,resizable=yes,scrollbars=yes,left="+b+",top="+c+",status=no,screenx="+b+",screeny="+c);if(!this.na)if(!this.tO){alert("Logger popup was blocked");this.tO=i}this.kt=k;this.na&&this.no()}};p.AH=function(){return D?this.Nf.replace(/[\s\-\.\,]/g,"_"):this.Nf};
p.ym=function(){return"*{font:normal 14px monospace;}.dbg-sev{color:#F00}.dbg-w{color:#E92}.dbg-sh{background-color:#fd4;font-weight:bold;color:#000}.dbg-i{color:#666}.dbg-f{color:#999}.dbg-ev{color:#0A0}.dbg-m{color:#990}"};p.no=function(){if(this.na){this.na.document.open();var a="<style>"+this.ym()+'</style><hr><div class="dbg-ev" style="text-align:center">'+this.RB+"<br><small>Logger: "+this.Nf+"</small></div><hr>";this.mt(a);this.UB()}};
p.lA=function(a,b){a+=this.Nf;document.cookie=a+"="+encodeURIComponent(b)+";expires="+(new Date(x()+2592000000)).toUTCString()};p.sG=function(a,b){return Ss(this.Nf,a,b)};var Ss=function(a,b,c){var e=b+a,f=String(document.cookie),g=f.indexOf(e+"=");if(g!=-1){var h=f.indexOf(";",g);return decodeURIComponent(f.substring(g+e.length+1,h==-1?f.length:h))}else return c||""};
Ts.prototype.jM=function(){if(!(!this.na||this.na.closed)){var a=this.na.screenX||this.na.screenLeft||0,b=this.na.screenY||this.na.screenTop||0,c=this.na.outerWidth||800,e=this.na.outerHeight||500;this.lA("dbg",a+","+b+","+c+","+e)}};var Us=function(a,b){Ts.call(this,a,b)};A(Us,Ts);p=Us.prototype;
p.lt=function(){this.dr=x();if(this.na){for(var a=this.cd.b("log"),b=a.scrollHeight-(a.scrollTop+a.offsetHeight)<=100,c=0;c<this.wi.length;c++){var e=this.cd.e("div","logmsg");e.innerHTML=this.wi[c];a.appendChild(e)}this.wi.length=0;this.Nz();if(b)a.scrollTop=a.scrollHeight}};
p.no=function(){if(this.na){var a=this.na.document;a.open();a.write(this.HG());a.close();(D?a.body:this.na).onresize=w(this.Nz,this);this.cd=new Hc(a);this.cd.b("openbutton").onclick=w(this.cL,this);this.cd.b("closebutton").onclick=w(this.jE,this);this.cd.b("clearbutton").onclick=w(this.gE,this);this.UB()}};
p.cL=function(){var a=this.cd.b("optionsarea");a.innerHTML="";for(var b=Vs(),c=this.cd,e=0;e<b.length;e++){var f=M(b[e]),g=f.ef?f.ef.name:"INHERIT",h=c.e("div",{},this.xG("sel"+b[e],g),c.e("span",{},b[e]||"(root)"));a.appendChild(h)}this.cd.b("options").style.display="block";return k};
p.xG=function(a,b){for(var c=this.cd,e=c.e("select",{id:a}),f=0;f<ze.length;f++){var g=ze[f],h=c.e("option",{},g.name);if(b==g.name)h.selected=i;e.appendChild(h)}e.appendChild(c.e("option",{selected:b=="INHERIT"},"INHERIT"));return e};p.jE=function(){this.cd.b("options").style.display="none";for(var a=Vs(),b=this.cd,c=0;c<a.length;c++){var e=M(a[c]),f=b.b("sel"+a[c]),g=f.options[f.selectedIndex].text;g=="INHERIT"?e.Qn(j):e.Qn(Ce(g))}return k};
p.Nz=function(){var a=this.cd,b=a.b("log"),c=a.b("head");b.style.top=c.offsetHeight+"px";b.style.height=a.D().body.offsetHeight-c.offsetHeight-(D?4:0)+"px"};var Vs=function(){var a=mb(De);a.sort();return a};Us.prototype.ym=function(){return Us.f.ym.call(this)+"html,body{height:100%;width:100%;margin:0px;padding:0px;background-color:#FFF;overflow:hidden}*{}.logmsg{border-bottom:1px solid #CCC;padding:2px;font:medium monospace;}#head{position:absolute;width:100%;font:x-small arial;border-bottom:2px solid #999;background-color:#EEE;}#head p{margin:0px 5px;}#log{position:absolute;width:100%;background-color:#FFF;}#options{position:absolute;right:0px;width:50%;height:100%;border-left:1px solid #999;background-color:#DDD;display:none;padding-left: 5px;font:normal small arial;overflow:auto;}#openbutton,#closebutton{text-decoration:underline;color:#00F;cursor:pointer;position:absolute;top:0px;right:5px;font:x-small arial;}#clearbutton{text-decoration:underline;color:#00F;cursor:pointer;position:absolute;top:0px;right:50px;font:x-small arial;}select{font:x-small arial;margin-right:10px;}hr{border:0;height:5px;background-color:#8c8;color:#8c8;}"};
Us.prototype.HG=function(){return'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Logging: '+this.Nf+"</title><style>"+this.ym()+'</style></head><body><div id="log" style="overflow:auto"></div><div id="head"><p><b>Logging: '+this.Nf+"</b></p><p>"+this.RB+'</p><span id="clearbutton">clear</span><span id="openbutton">options</span></div><div id="options"><big><b>Options:</b></big><div id="optionsarea"></div><span id="closebutton">save and close</span></div></body></html>'};
var Ys=function(){this.kc=[];this.Fr=new Pd;this.at=this.BB=this.CB=this.eB=0;this.sh=new Pd;this.Ko=this.AB=0;this.wr=1;this.Wl=new cf(0,4000);this.Wl.Ge=function(){return new Ws};this.Os=new cf(0,50);this.Os.Ge=function(){return new Xs};var a=this;this.Bq=new cf(0,2000);this.Bq.Ge=function(){return String(a.wr++)};this.Bq.Ke=function(){};this.$E=3};Ys.prototype.r=M("goog.debug.Trace");var Xs=function(){this.jt=this.wB=this.Ll=0};
Xs.prototype.toString=function(){var a=[];a.push(this.type," ",this.Ll," (",Math.round(this.wB*10)/10," ms)");this.jt&&a.push(" [VarAlloc = ",this.jt,"]");return a.join("")};var Ws=function(){};
Ws.prototype.UO=function(a,b,c){var e=[];b==-1?e.push("    "):e.push(Zs(this.Xl-b));e.push(" ",$s(this.Xl-a));if(this.Yl==0)e.push(" Start        ");else if(this.Yl==1){e.push(" Done ");var f=this.hR-this.xe;e.push(Zs(f)," ms ")}else e.push(" Comment      ");e.push(c,this);this.zB>0&&e.push("[VarAlloc ",this.zB,"] ");return e.join("")};Ws.prototype.toString=function(){return this.type==j?this.pu:"["+this.type+"] "+this.pu};p=Ys.prototype;
p.reset=function(a){this.$E=a;for(var b=0;b<this.kc.length;b++){var c=this.Wl.id;c&&this.Bq.Td(c);this.Wl.Td(this.kc[b])}this.kc.length=0;this.Fr.clear();this.eB=x();this.Ko=this.AB=this.at=this.BB=this.CB=0;var e=this.sh.mc();for(b=0;b<e.length;b++){var f=e[b],g=this.sh.t(f);g.Ll=0;g.wB=0;g.jt=0;this.Os.Td(g)}this.sh.clear()};p.tH=function(){var a=this.Bf;if(a&&a.isTracing())return a.totalVarAlloc;return-1};
p.Bt=function(a,b,c){var e=x(),f=c?c:e,g=this.Wl.Jb();g.Yl=2;g.Xl=f;g.type=b;g.pu=a;g.zB=this.tH();this.Ko++;if(c){for(var h=this.kc.length,l=0;l<h;l++){var m=this.kc[l],n=m.Xl;if(n>f){db(this.kc,l,0,g);break}}l==h&&this.kc.push(g)}else this.kc.push(g);var o=g.type;if(o){var r=this.pH(o);r.Ll++}this.at+=x()-e};p.pH=function(a){var b=this.sh.t(a);if(!b){b=this.Os.Jb();b.type=a;this.sh.w(a,b)}return b};
p.toString=function(){for(var a=[],b=-1,c=[],e=0;e<this.kc.length;e++){var f=this.kc[e];f.Yl==1&&c.pop();a.push(" ",f.UO(this.eB,b,c.join("")));b=f.Xl;a.push("\n");f.Yl==0&&c.push("|  ")}if(this.Fr.la()!=0){var g=x();a.push(" Unstopped timers:\n");Gd(this.Fr,function(m){a.push("  ",m," (",g-m.xe," ms, started at ",$s(m.xe),")\n")})}var h=this.sh.mc();for(e=0;e<h.length;e++){var l=this.sh.t(h[e]);l.Ll>1&&a.push(" TOTAL ",l,"\n")}a.push("Total tracers created ",this.AB,"\n","Total comments created ",
this.Ko,"\n","Overhead start: ",this.CB," ms\n","Overhead end: ",this.BB," ms\n","Overhead comment: ",this.at," ms\n");return a.join("")};var Zs=function(a){a=Math.round(a);var b="";if(a<1000)b=" ";if(a<100)b="  ";if(a<10)b="   ";return b+a},$s=function(a){a=Math.round(a);var b=a/1000%60,c=a%1000;return String(100+b).substring(1,3)+"."+String(1000+c).substring(1,4)},at=new Ys,bt=function(){};bt.prototype.r=M("goog.debug.GcDiagnostics");
bt.prototype.start=function(){if(this.Bf){this.Bf.isTracing()&&this.Bf.endGcTracing();this.Bf.startGcTracing()}};
bt.prototype.stop=function(){if(this.Bf&&this.Bf.isTracing()){var a=this.Bf;this.Bf.endGcTracing();var b=a.getNumTraces();this.r.info("*********GC TRACE*********");this.r.info("GC ran "+b+" times.");for(var c=0,e=0;e<b;e++){var f=a.getTrace(e),g=f.gcStartTime,h=f.gcElapsedTime,l=Math.round(h*10)/10,m="GC "+e+": "+l+" ms, numVValAlloc="+f.numVValAlloc+", numVarAlloc="+f.numVarAlloc+", numBytesSysAlloc="+f.numBytesSysAlloc;at&&at.Bt(m,j,g);this.r.info(m);c+=h}at&&at.Bt("Total GC time was "+c+" ms.");
this.r.info("Total GC time was "+c+" ms.");this.r.info("*********GC TRACE*********")}};new bt;var ct=function(a,b){this.qb=a;this.yb=b};ct.prototype.We=function(){return this.qb};ct.prototype.wb=function(){return this.yb};var dt=function(){dn.call(this)};A(dt,dn);dt.prototype.jd=function(){return"BasicTextFormatter"};dt.prototype.r=M("trog.plugins.BasicTextFormatter");
var et={yh:"+link",hC:"+formatBlock",jC:"+indent",rC:"+outdent",EC:"+strikeThrough",iC:"+insertHorizontalRule",FC:"+subscript",GC:"+superscript",JC:"+underline",LC:"+unlink",ot:"+bold",qt:"+italic",gC:"+fontSize",fC:"+fontName",eC:"+foreColor",bC:"+emoticon",XB:"+backColor",qC:"+insertOrderedList",MC:"+insertUnorderedList",lC:"+justifyCenter",mC:"+justifyFull",oC:"+justifyRight",nC:"+justifyLeft",YB:"+BLOCKQUOTE"},ft=tb(et);p=dt.prototype;p.Nd=function(a){return a in ft};p.hd=function(){return this.j.bb()};
p.ne=function(){return this.ib().D()};
p.qj=function(a){var b,c,e,f,g,h=arguments[1];switch(a){case "+backColor":if(!(h===j))if(ak)this.nD(h);else C?this.Pe("hiliteColor",h):this.Pe(a,h);break;case "+link":g=this.WO("/",h);break;case "+justifyCenter":case "+justifyFull":case "+justifyRight":case "+justifyLeft":this.EJ(a);break;case "+BLOCKQUOTE":this.AP();break;case "+emoticon":break;default:if(D&&a=="+formatBlock"&&h)h="<"+h+">";if(a=="+foreColor"&&h===j)break;switch(a){case "+indent":case "+outdent":c=i;case "+insertOrderedList":case "+insertUnorderedList":if(hk&&
this.rz(this.ne(),a))e=i;else ik||this.ru();if(E&&gk&&!this.queryCommandValue(a))f|=this.GD();case "+formatBlock":b=!!this.j.Gf("Bidi");break;case "+subscript":case "+superscript":fk&&this.sD(a);break;case "+underline":case "+bold":case "+italic":c=E&&this.queryCommandValue(a);break;case "+foreColor":case "+fontName":c=E}this.Pe(a,h,b,c);f&&this.ne().execCommand("Delete",k,i);e&&this.ne().execCommand("FormatBlock",k,"<div>")}E&&this.ib().V().focus();return g};
p.queryCommandValue=function(a){switch(a){case "+link":return this.pJ("a");case "+justifyCenter":case "+justifyFull":case "+justifyRight":case "+justifyLeft":return this.lJ(a);case "+formatBlock":return this.mH();case "+BLOCKQUOTE":case "+indent":case "+outdent":case "+insertHorizontalRule":case "+unlink":return k;case "+fontSize":case "+fontName":case "+foreColor":case "+backColor":return this.Bn(this.ne(),a,E);case "+underline":case "+bold":case "+italic":var b=E;default:return this.rz(this.ne(),
a,b)}};p.yn=function(a){if(Zj&&a.match(/^\s*<script/i))a="&nbsp;"+a;if($j){a=a.replace(/<(\/?)strong([^\w])/gi,"<$1b$2");a=a.replace(/<(\/?)em([^\w])/gi,"<$1i$2")}return a};p.bE=function(a){for(var b=Mc("IMG",j,a),c=0,e;e=b[c];c++)if(D){e.removeAttribute("tabIndex");e.removeAttribute("tabIndexSet");"removeAttribute"in e&&e.removeAttribute(Ma);try{delete e[Ma]}catch(f){}if(e.Gy)e.tabIndex=e.Gy}};
p.iu=function(a){if(F){for(var b=this.j.Qb().VB("HEAD"),c=[],e=b.length,f=1;f<e;++f)for(var g=Mc("STYLE",j,b[f]),h=g.length,l=0;l<h;++l)c.push(g[l].outerHTML);return c.join("")+a}return a};p.Tw=function(a,b,c){if(!c)return k;var e;switch(b){case "b":e="+bold";break;case "i":e="+italic";break;case "u":e="+underline";break;case "s":return i}if(e){this.j.execCommand(e);return i}return k};var gt=/<br([^\/>]*)\/?>/gi;
dt.prototype.ru=function(){var a=this.j.Eb(),b=a.Xh(),c=this.ne();if(b.getElementsByTagName("BR")[0]){var e=a.iM();if(b.tagName=="P")ht(b,i);else{var f=b.getElementsByClassName?"class":"id",g="temp_br";b.innerHTML=b.innerHTML.replace(gt,"<p$1 "+f+'="'+g+'">');var h=ab(f=="class"?b.getElementsByClassName(g):b.all[g]);Gd(h,function(l){l.removeAttribute(f);Ab(qd(l))&&l.appendChild(c.createTextNode("\u00a0"));ht(l)})}e.restore();return i}return k};
var ht=function(a,b){var c=a.outerHTML.replace(/<(\/?)p/gi,"<$1div");a.outerHTML=b?c.replace(gt,"</div><div$1>"):c},it=function(a){return a.indexOf("+")==0?a.substring(1):a};p=dt.prototype;p.EJ=function(a){this.Pe(a,j,k,i);E&&this.Pe(a,j,k,i);if(!E)for(var b=this.hd().rw(),c=0;c<b.length;c++){var e=Em(b[c]);if(e.align&&!(D&&0)){e.style.textAlign=e.align;e.removeAttribute("align")}}};
p.Pe=function(a,b,c,e){this.hd();var f=j;if(c)f=this.j.queryCommandValue(T.ro)?"rtl":this.j.queryCommandValue(T.pt)?"ltr":j;a=it(a);var g,h;if(D){var l=this.qD(a);g=l[0];h=l[1]}if(F)g=this.rD(a);E&&this.pD(a);var m=this.ne();e&&E&&m.execCommand("useCSS",k,k);m.execCommand(a,k,b);e&&E&&m.execCommand("useCSS",k,i);F&&!G("526")&&a.toLowerCase()=="formatblock"&&b&&/^[<]?h\d[>]?$/i.test(b)&&this.cE();if(/insert(un)?orderedlist/i.test(a)){F&&this.NF();if(D){this.MF();h&&L(h)}}g&&L(g);f&&this.j.execCommand(f)};
p.nD=function(a){var b=this.hd(),c,e;if(b.pi()){c=this.ib().createTextNode(E?" ":"");var f=b.Gd();e=f.nodeType==1?f:f.parentNode;if(e.innerHTML==""){e.style.textIndent="-10000px";e.appendChild(c)}else{e=this.ib().e("span",{style:"text-indent:-10000px"},c);b.Dx(e)}b.wM(c)}this.Pe("hiliteColor",a,k,i);if(c){if(E)c.data="";e.style.textIndent=""}};p.WO=function(a,b){var c=this.hd(),e=c.Fd(i),f=fr(e,"a");if(f)ad(f);else return this.BE(c,a,b);return j};
p.BE=function(a,b,c){var e=j,f=a.Fd(i);if(f.tagName=="IMG")return j;if(a.pi())if(Rj){e=this.ib().createElement("a");var g=a.ec();g.insertNode(e)}else{if(D){a.ec().pasteHTML("<a id='newLink'></a>");e=this.ib().b("newLink");e.removeAttribute("id")}}else{var h=Zb();this.Pe("CreateLink",h);var l=function(m){if(yb(m.href,h))e=m};B(this.j.Kg().getElementsByTagName("a"),l)}return zn(e,b,c)};
p.AP=function(){var a=this.hd(),b=a.Sa(),c=tq,e,f,g=this.ib();if(this.j.queryCommandValue(T.ro)){e=rq;f=pq}else e=qq;if(Wj){this.Pe("FormatBlock","blockquote");a.kh();if(e||c)if(Xj)this.oD(a.Gd(),a.Df(),c,f,e);else{var h=a.Gd(),l=this.j.b(),m=rd(h,xq,i);if(!m&&h==l)m=h.firstChild;m&&ed(l,m)&&jt(m,c,f,e)}}else{m=g.e("blockquote");jt(m,c,f,e);if(b.isCollapsed()){var n=b.insertNode(g.e("SPAN"),k);this.ru()&&Al(n,i);this.Pe("FormatBlock","<div>");a.kh();var o=a.Fd();if(o==n)o=n.parentNode;Yc(m,o);m.appendChild(o);
ad(o);Al(n,i);L(n)}else b.surroundContents(m)}};var jt=function(a,b,c,e){if(b){Dc(a,b);c&&Dc(a,c)}e&&Oc(a,{style:e})};
dt.prototype.oD=function(a,b,c,e,f){if(c||f){var g=rd(a,xq,i),h=rd(b,xq,i);C&&g&&g.parentNode!=this.j.b()&&g.parentNode.tagName=="DIV"&&g.parentNode.childNodes.length==1&&ad(g.parentNode);if(C&&!h)h=g;if(g)for(var l=Dk(g);l&&l!=h.nextSibling;l=Dk(l.nextSibling)){if(C&&l.tagName=="DIV"&&l.childNodes.length==1&&l.firstChild.tagName=="BLOCKQUOTE"){l=l.firstChild;ad(l.parentNode)}if(xq(l))jt(l,c,e,f);else break}}};
var kt={indent:1,outdent:1,insertOrderedList:1,insertUnorderedList:1,justifyCenter:1,justifyFull:1,justifyRight:1,justifyLeft:1,ltr:1,rtl:1},lt={insertOrderedList:1,insertUnorderedList:1};dt.prototype.sD=function(a){if(!this.queryCommandValue(a)){var b=a=="+subscript"?"+superscript":"+subscript",c=it(b);this.queryCommandValue(b)||this.ne().execCommand(c,k,j);this.ne().execCommand(c,k,j)}};
dt.prototype.qD=function(a){var b=[],c=j,e=this.hd(),f=this.ib();if(a in lt){var g=e.Fd();if(g){for(var h=Kc("BLOCKQUOTE",j,g),l,m=0;m<h.length;m++)if(e.containsNode(h[m],i)){l=h[m];break}var n=l||sd(g,"BLOCKQUOTE");if(n){c=f.e("div",{style:"height:0"});n.appendChild(c);b.push(c);if(l)e.selectNodes(l,0,c,0);else e.containsNode(c,i)&&e.selectNodes(e.Gd(),e.pa(),c,0)}}}if(!c)if(!this.j.Ob()&&a in kt){var o=this.j.Kg();if(e.pi()&&!cd(o)){var r=e.ec(),t=r.duplicate();t.moveToElementText(o);t.collapse(k);
if(t.isEqual(r)){var y=f.createTextNode("\u00a0");o.appendChild(y);r.move("character",1);r.move("character",-1);r.select();b.push(y)}}c=f.e("div",{style:"height:0"});o.appendChild(c);b.push(c)}return b};dt.prototype.cE=function(){var a=this.hd();Gd(a.Sa(),function(b){if(b.className=="Apple-style-span"){b.style.fontSize="";b.style.fontWeight=""}})};
dt.prototype.NF=function(){var a=this.hd(),b=k;Gd(a.Sa(),function(c){var e=c.tagName;if(e=="UL"||e=="OL")if(b){var f=bd(c.previousSibling,k);if(f){var g=c.ownerDocument.createRange();g.setStartAfter(f);g.setEndBefore(c);if(zb(g.toString()))if(f.nodeName==c.nodeName){for(;f.lastChild;)c.insertBefore(f.lastChild,c.firstChild);f.parentNode.removeChild(f)}}}else b=i})};var mt={"1":1,a:1,A:1,i:1,I:1},nt={disc:1,circle:1,square:1};
dt.prototype.MF=function(){for(var a=this.hd().Sa().Mc();a&&a.tagName!="UL"&&a.tagName!="OL";)a=a.parentNode;if(a)a=a.parentNode;if(a){var b=ab(a.getElementsByTagName("UL"));bb(b,ab(a.getElementsByTagName("OL")));B(b,function(c){var e=c.type;if(e){var f=c.tagName=="UL"?nt:mt;if(!f[e])c.type=""}})}};var ot={justifyCenter:1,justifyFull:1,justifyRight:1,justifyLeft:1,formatBlock:1},pt={insertOrderedList:1,insertUnorderedList:1};
dt.prototype.rD=function(a){var b;if(ot[a]){b=this.ib().e("div",{style:"height: 0"},"x");var c=this.j.Kg();c.appendChild(b)}if(pt[a]){var e=this.j.Kg();b=this.ib().e("div",{style:"height: 0"},"x");e.insertBefore(b,e.firstChild)}return b};dt.prototype.pD=function(a){if(G("1.9")&&a.toLowerCase()=="formatblock"){var b=this.j.Eb(),c=b.aa();if(b.isCollapsed()&&c&&c.tagName=="BODY"){var e=b.pa(),f=c.childNodes[e];if(f&&f.tagName=="BR"){var g=b.Lc();g.setStart(f,0);g.setEnd(f,0)}}}};
dt.prototype.GD=function(){var a=this.j.Eb();if(a.isCollapsed()&&a.Mc().nodeType!=3){var b=this.ib().createTextNode("\u00a0");a.insertNode(b,k);Lk(Mk(b),undefined).select();return i}return k};dt.prototype.mH=function(){var a=this.hd().jG(k);if(a.length){for(var b=a[0].nodeName,c=0;c<a.length;c++)if(b!=a[c].nodeName)return j;if(b=="div")b="p";return b}};var qt={center:1,justify:1,right:1,left:1};
dt.prototype.lJ=function(a){var b=a.replace("+justify","").toLowerCase(),c=this.hd(),e=this.j.Gf("Bidi");if(e)return b==e.lH();else{var f=c.rw(i);if(f.length==0)return k;else{for(var g=0;g<f.length;g++){var h=Em(f[g]);if(b!=rt(h))return k}return i}}};var rt=function(a){var b=dm(a,"textAlign");qt[b]||(b=a.align||"left");return b};dt.prototype.pJ=function(a){var b=this.hd().Fd();return!!fr(b,a)};dt.prototype.rz=function(a,b,c){return this.qz(i,a,b,c)};
dt.prototype.Bn=function(a,b,c){return this.qz(k,a,b,c)};dt.prototype.qz=function(a,b,c,e){c=it(c);if(e){var f=this.ne();f.execCommand("useCSS",k,k)}var g=a?b.queryCommandState(c):b.queryCommandValue(c);e&&f.execCommand("useCSS",k,i);return g};var st=function(){dn.call(this)};A(st,dn);var tt=/^(DIV|TR|LI|BLOCKQUOTE|H\d|PRE|XMP)/,ut=function(a){a.push("<br>")};st.prototype.jd=function(){return"RemoveFormatting"};st.prototype.Nd=function(a){return a=="+removeFormat"};
st.prototype.qj=function(a){a=="+removeFormat"&&this.JL()};st.prototype.JL=function(){var a=this.j.Eb();if(!a.isCollapsed()){var b=this.UQ||w(this.Az,this);this.su(b);var c=this.ib().D();c.execCommand("RemoveFormat",k,undefined);F&&this.su(function(e){var f=G("528")?/&nbsp;/g:/\u00A0/g;return e.replace(f," ")})}};var vt=function(a){return rd(a,function(b){return b.tagName=="TABLE"},i)};p=st.prototype;
p.iL=function(a){var b=this.j.Eb(),c=this.ib(),e=Zb(),f=Zb();a='<span id="'+e+'"></span>'+a+'<span id="'+f+'"></span>';var g=Zb(),h='<span id="'+g+'"></span>';if(D){var l=b.ec(0).Lc();l.pasteHTML(h);for(var m;(m=l.parentElement())&&wk(m)&&!Am(m);){var n=m.nodeName;if(n=="TD"||n=="TR"||n=="TH")break;L(m)}l.pasteHTML(a);var o=c.b(g);o&&L(o)}else if(Rj){c.D().execCommand("insertImage",k,g);var r=new RegExp("<[^<]*"+g+"[^>]*>");m=this.j.Eb().Xh();if(m.nodeType==3)m=m.parentNode;for(;!r.test(m.innerHTML);)m=
m.parentNode;if(E)m.innerHTML=m.innerHTML.replace(r,a);else{m.innerHTML=m.innerHTML.replace(r,h);for(m=o=c.b(g);(m=o.parentNode)&&wk(m)&&!Am(m);){n=m.nodeName;if(n=="TD"||n=="TR"||n=="TH")break;Zc(o,m);L(m)}m.innerHTML=m.innerHTML.replace(new RegExp(h,"i"),a)}}var t=c.b(e),y=c.b(f);Hk(t,0,y,y.childNodes.length).select();L(t);L(y)};
p.GG=function(a){var b=this.ib().e("div"),c=a.Lc();if(Rj)b.appendChild(c.cloneContents());else if(D){var e=a.Qg();e=e.replace(/\r\n/g,"\r");var f=e.length,g=f-Eb(e).length,h=f-Fb(e).length;c.moveStart("character",g);c.moveEnd("character",-h);var l=c.htmlText;if(c.queryCommandValue("formatBlock")=="Formatted")l=Jb(c.htmlText);b.innerHTML=l}return b.innerHTML};
p.fD=function(a,b,c){var e=new Hl(a),f=a.aa(),g=a.pa(),h=a.ma(),l=a.Ga(),m=this.ib();if(b){var n=m.createTextNode("");Zc(n,b);f=n;g=0}if(c){n=m.createTextNode("");Yc(n,c);h=n;l=0}Hk(f,g,h,l).select();return e};p.pz=function(a,b){var c=L(a.Eg(b));if(b)this.Ks=c;else this.pp=c};p.aM=function(){var a=this.j.b();if(this.Ks){a.insertBefore(this.Ks,a.firstChild);this.Ks=j}if(this.pp){a.appendChild(this.pp);this.pp=j}};
p.su=function(a){var b=this.j.Eb();if(!(b.Rg()>1)){if(E){var c=xl(b,this.j.b()),e=vt(c.aa()),f=vt(c.ma());if(e||f){if(e==f)return;var g=this.fD(b,e,f);e||this.pz(g,i);f||this.pz(g,k);b=this.j.Eb();c=xl(b,this.j.b())}c.select();b=c}var h=this.GG(b);this.iL(a(h));if(E&&g){b=this.j.Eb();this.aM();var l=g.xB(),m=e?l:b,n=f?l:b,o,r=m.aa(),t=m.pa(),y=n.ma(),K=n.Ga();o=Hk(r,t,y,K);o.select();g.p()}}};
p.Az=function(a){var b=document.createElement("div");b.innerHTML=a;for(var c=[],e=[b.childNodes,0],f=[],g=0,h=[],l=0,m=0;m>=0;m-=2){for(var n=k;l>0&&m<=h[l-1];){l--;n=i}n&&ut(c);for(n=k;g>0&&m<=f[g-1];){g--;n=i}n&&ut(c);for(var o=e[m],r=e[m+1];r<o.length;){var t=o[r++],y=t.nodeName,K=this.yH(t);if(K)c.push(K);else{switch(y){case "#text":var P=g>0?t.nodeValue:Bb(t.nodeValue);P=Pb(P);c.push(P);continue;case "P":ut(c);ut(c);break;case "BR":ut(c);continue;case "TABLE":ut(c);h[l++]=m;break;case "PRE":case "XMP":f[g++]=
m;break;case "STYLE":case "SCRIPT":case "SELECT":continue;case "A":if(t.href&&t.href!=""){c.push("<a href='");c.push(t.href);c.push("'>");c.push(this.Az(t.innerHTML));c.push("</a>");continue}else break;case "IMG":c.push("<img src='");c.push(t.src);c.push("'>");continue;case "TD":t.previousSibling&&c.push(" ");break;case "TR":t.previousSibling&&ut(c);break;case "DIV":var Y=t.parentNode;if(Y.firstChild==t&&tt.test(Y.tagName))break;default:tt.test(y)&&ut(c)}var $=t.childNodes;if($.length>0){e[m++]=o;
e[m++]=r;o=$;r=0}}}}var ha,xa=c.join("");return ha=xa.replace(/\xa0|[ \t]+/g," ")};p.yH=function(){return j};var xt=function(){dn.call(this);this.Qu=wt};A(xt,dn);var yt={vl:"dir",Yo:"direction",LB:k},zt={vl:"align",Yo:"textAlign",LB:i},wt=/^[^<]*<DIV\s+DIR\s*=\s*.?(LTR|RTL).?>([\s\S]*)<\/DIV>[^>]*$/i,At=/^[^<]*<DIV\s+(?:xmlns[\S^>]*\s+)?DIR\s*=\s*.?(LTR|RTL).?(?:\s+xmlns[\S^>]*)?>([\s\S]*)<\/DIV>[^>]*$/i,Bt=!!Date.now;p=xt.prototype;p.jd=function(){return"Bidi"};
p.Nd=function(a){return a==T.pt||a==T.ro};p.qj=function(a){this.Nd(a)&&this.JN(a)};p.queryCommandValue=function(a){return this.Nd(a)&&this.nH()==a};p.yn=function(a,b){var c=a&&this.Qu.exec(a),e=this.vG(),f=a;if(c){e=c[1];f=c[2]}if(b)b.direction=e;return f};p.iu=function(a){var b=Ct(this.j.b(),yt,i);if(b)a='<DIV DIR="'+b+'">'+a+"</DIV>";return a};p.vG=function(){if(!this.Nu){var a=this.j,b=a.b()||a.ob();this.Nu=b&&mg(b)?"rtl":"ltr"}return this.Nu};p.LM=function(a){this.Qu=a?At:wt};
var Dt=function(a){var b=a.style;if(!b)return 0;var c=parseInt(b.marginLeft,10),e=parseInt(b.marginRight,10);return a.tagName=="BLOCKQUOTE"?(e==0)-(c==0):!e-!c},Et=function(a){var b=a.tagName;return b=="UL"||b=="OL"},Gt=function(a,b){return Ak(a)&&qk(a)||a!=b&&vk(a)||Ft(a,b)},Ft=function(a,b){if(a!=b)for(;(a=a.parentNode)&&a!=b;){var c=vk(a);if(c)return c}return j};p=xt.prototype;
p.YA=function(a,b){var c=a.parentNode,e,f;if(c==this.j.b()||E&&c.tagName=="BLOCKQUOTE"){f=a;e=I(c).createElement("DIV")}else{f=c;e=c.cloneNode(k)}var g=b?c.firstChild:a.nextSibling,h=b?a.previousSibling:c.lastChild;zm(e,g,h);b?Yc(e,f):Zc(e,f);return e};
p.tv=function(a,b,c,e){if(a==this.j.b())return a;var f=b?uk:vk;if(c){var g=Bm(a,Et);if(g)return g}if(E&&e){var h=b?ok:qk,l=a;do if(l.tagName=="BR"){if(b)l=a;do{a=l;f(l)&&this.YA(l,b)}while((l=l.parentNode)&&!Ak(l))}else{a=l;if((l=f(l))&&!Ak(l))for(var m=h(l);m;m=h(l))l=m;else l=a.parentNode}while(l&&!Ak(l))}else if(!Ak(a))for(var n=2;n;){l=n==2?a.parentNode:f(a);if(!l||Ak(l))n--;else a=l}return a};
p.ex=function(a,b){var c=this.j.b(),e=rd(a,function(f){return f==c||f.tagName==b},i);return e!=c&&e!=j};
p.JN=function(a){var b=this.j.bb(),c=b.Gd(),e=b.Df(),f;if(!(this.ex(c,"TABLE")||this.ex(e,"TABLE"))){b.Yz();if(c==e){var g=El(b.Sa(),i).ga;if(E&&b.pi()&&g.tagName=="BR"){f=g;var h=g.previousSibling;c=h&&h.nodeType==3?h:g;e=g}else if(c==this.j.b()){if(!c.firstChild){c.innerHTML="<div>&nbsp;</div>";var l=qk(c);this.Tn(l,a);ul(c,0).select();return}c=qk(c);e=ok(e)}}var m=[this.tv(c,i,i,i),this.tv(e,k,i,i)],n=id(m[0],m[1]);if(n){if(!Ak(n))n=n.parentNode;for(var o=new Array(2),r=n!=this.j.b(),t=0;t<2;t++){if(ed(m[1-
t],m[t]))m[t]=m[1-t];var y=t?uk:vk,K=t?vk:uk,P=j,Y=j,$=j,ha=m[t]==n;for(g=m[t];g!=this.j.b();g=g.parentNode){if(g.parentNode==n){ha=i;o[t]=Y?y(g):g}if(Y){if(Dt(g)){P=g;$=!ha&&g}}else if(K(g)){Y=g;$=!ha&&g}if(g.parentNode==n)r=r&&!Y}if(P)for(g=Y;g&&g!=P;g=g.parentNode)this.YA(g,!t);for(g=$;g&&g.parentNode!=n;g=g.parentNode){if(g==$)var xa=t?qk(g.parentNode):g,sa=t?g:ok(g.parentNode);else{xa=t?qk(g.parentNode):y(g);sa=t?y(g):ok(g.parentNode)}xa&&sa&&this.yA(xa,sa,a)}}if(r)this.Tn(n,a);else uk(o[0])!=
o[1]&&this.yA(o[0],o[1],a);this.gK(rk(m[0]),pk(m[1]),a);if(f){for(var oc=f.parentNode,Oe=0;oc.childNodes[Oe]!=f;Oe++);ul(oc,Oe).select()}else b.Xr()}}};p.gK=function(a,b,c){var e=a;if(e!=this.j.b())for(;(e=e.parentNode)&&e!=this.j.b();)this.wy(e,c);do this.wy(a,c);while(a!=b&&(a=Gt(a)))};
p.wy=function(a,b){var c=a.style;if(c)if(wq(a)){var e=a.style.direction,f=a.style.textAlign,g;if(this.bq(a.firstChild,a,yt)=="ltr"){g=qq;Ec(a,pq)}else{g=rq;Dc(a,pq)}Oc(a,{style:g});a.style.direction=e;a.style.textAlign=f}else if(Dt(a)*(b=="rtl"?1:-1)>0){var h=a.style.marginLeft;c.marginLeft=c.marginRight;c.marginRight=h}};p.yA=function(a,b,c){var e,f;do if(Ak(a)){if(e){this.jy(e,f,c);e=j}this.Tn(a,c)}else{e=e||a;f=a}while(a!=b&&(a=vk(a)));e&&this.jy(e,f,c)};
p.jy=function(a,b,c){if(Ct(a.parentNode,yt,i)!=c){var e=I(a).createElement("DIV");Yc(e,a);zm(e,a,b);this.Tn(e,c)}};var Ct=function(a,b,c){var e=b.Yo,f;if(c)if(E)f=dg(a,e);else if(D)f=eg(a,e);f=f||a.style[e]||a[b.vl];if(!E&&c&&(!f||f=="inherit")){var g=a.parentNode;if(g&&g.nodeType==1)f=Ct(g,b,i)}if(E&&b==zt)switch(f){case "start":return Ht(a,b);case "-moz-left":return"left";case "-moz-right":return"right";case "-moz-center":return"center"}return f||(c?Ht(a,b):j)};
xt.prototype.xA=function(a,b,c,e){if(!e&&c&&a!=this.j.b()&&Ct(a.parentNode,b,i)==c)c="";if(b.LB||!c)a.removeAttribute(b.vl);else{a.setAttribute(b.vl,c);c=""}bg(a,b.Yo,c)};var Ht=function(a,b){switch(b){case zt:var c=Ct(a,yt,i);return c=="rtl"?"right":"left";case yt:return"ltr"}return""};p=xt.prototype;p.Tn=function(a,b){for(var c=b=="ltr"?"left":"right",e=b=="ltr"?"right":"left",f=a;f;f=Gt(f,a))if(Ak(f)){this.xA(f,yt,b);b="";var g=Ct(f,zt,f==a);g==e&&this.xA(f,zt,c,i)}};
p.bq=function(a,b,c){var e=j,f=id(a,b);if(!f)return j;if(a==b)a=qk(a)||a;var g;this.AO();do if(!Ak(a)&&g!=a.parentNode){g=a.parentNode;var h=Ct(g,c,i);if(e&&h!=e)return j;e=h}while(a!=b&&(a=Gt(a,f))&&!this.Ys());return e};p.nH=function(){var a=this.j.bb();return!this.Xx(a)?j:this.bq(a.Gd(),a.Df(),yt)};p.lH=function(){var a=this.j.bb();return!this.Xx(a)?j:this.bq(a.Gd(),a.Df(),zt)};p.Xx=function(a){return this.Sx(a.Gd())&&this.Sx(a.Df())};p.Sx=function(a){for(;a;){if(a==this.j.b())return i;a=a.parentNode}return k};
p.AO=function(){this.qK=0;if(!this.PQ)this.Io=40;this.CO=x()};p.Ys=function(){if(Bt||++this.qK>this.Io){var a=x()-this.CO;if(a>=20)return i;else if(!Bt){this.Io*=1+(1-a/20)*2;this.Io++}}return k};Lp=function(){var a=new xt;a.LM(Mp);return a};Kp=i;var It=Wi,W=function(a){return Pb(String(a))};if(typeof Jt=="undefined")var Jt={};if(typeof Kt=="undefined")var Kt={};if(typeof Lt=="undefined")var Lt={};if(typeof Mt=="undefined")var Mt={};if(typeof Nt=="undefined")var Nt={};
if(typeof Ot=="undefined")var Ot={};if(typeof Pt=="undefined")var Pt={};
var St=function(a,b){var c=b||new It;c.C('<div class="wavrcCSS"><span class="wavrhtCSS wavltCSS">',W(a.pg.SubjectSnippet),'</span> <span class="wavrhdCSS">',W(Qt(a.pg.Date)),"</span></div>");if(a.pg.BestAnswerSnippet){c.C('<div><img src="http://www.gstatic.com/support/forum/images/check.gif" class="wlciCSS"> <span class="wavraCSS">Answered </span>(');Rt(a,c);c.C("): ",W(a.pg.BestAnswerSnippet),"</div>")}else{c.C('<div class="wavraCSS">');Rt(a,c);c.C("</div>")}if(!b)return c.toString()},Tt=function(a,
b){var c=b||new It;c.C('<div class="wavclbCSS"><span class="wavltCSS" onclick="CALL(\'cf.askPage.handleCloseRow\')">close</span></div>');if(!b)return c.toString()},Rt=function(a,b){var c=b||new It;c.C(a.pg.NumReplies==0?"No replies yet":a.pg.NumReplies==1?W(a.pg.NumReplies)+" reply":W(a.pg.NumReplies)+" replies");if(!b)return c.toString()},Yt=function(a,b){var c=b||new It;if(a.ca.Kc.length>0){c.C('<div style="color: green; font-size: 11px;">');for(var e=a.ca.Kc,f=e.length,g=0;g<f;g++){var h=e[g];
c.C(!(g==0)?" - ":"",h instanceof Ut?W(h.text):h instanceof Vt?"<a "+Wt({qb:h.url,Tb:a.Tb})+'style="color: green; white-space: nowrap;">'+W(h.text)+"</a>":h instanceof Xt?"<a "+Wt({qb:h.url,Tb:a.Tb})+'style="color: green; white-space: nowrap;">'+h.Zj+"</a>":"")}c.C("</div>")}if(!b)return c.toString()},$t=function(a,b){var c=b||new It;c.C(a.ca.nd?'<div style="color: #808080; text-align: right;">Query used: <a '+Wt({qb:a.ca.nd.url,Tb:a.Tb})+">"+W(Zt(a.ca.nd.text,50))+"</a></div>":"");if(!b)return c.toString()},
cu=function(a,b){var c=b||new It;c.C(!a.ca.Me?"":a.ca.Me instanceof au?'<div style="margin: 8px 0px;"><a '+Wt({qb:a.ca.Me.Jo,Tb:a.Tb})+'><img src="'+W(a.ca.Me.hn)+'" style="display: inline; border: solid 1px #ddd;" class=wsiembCSS></a></div>':a.ca.Me instanceof bu?'<div style="margin: 8px 0px;"><object style="width: 425px; height: 344px;"><param name="movie" value="'+W(a.ca.Me.hn)+'"></param><param name="wmode" value="transparent"></param><embed src="'+W(a.ca.Me.hn)+'" type="application/x-shockwave-flash" wmode="transparent" width="425" height="344"></embed></object></div>':
"");if(!b)return c.toString()},Wt=function(a,b){var c=b||new It;c.C(a.Tb?'href="http://www.google.com/url?sa=D&q='+W(escape(a.qb))+'"':'href="'+W(a.qb)+'"',a.qb&&a.qb.substring(0,11)!="javascript:"?' target="_blank" rel="nofollow"':"");if(!b)return c.toString()},gu=function(a,b){var c=b||new It;c.C("<table><tbody><tr><td><select onchange=\"CALL('cf.sourceSearchModule.setCurrentTab', this.value);\">");for(var e=a.Vb,f=e.length,g=0;g<f;g++){var h=e[g];c.C(h.Te(g,g==a.uc))}c.C('</select></td><td style="width: 350px; padding-right: 10px;"><input type=text id="wsskws" class=wssmqiCSS onkeypress="',
du(),'"></td><td>',eu({uB:"Search"}),'</td><td style="text-align: right;">',fu(),"</td></tr></tbody></table>");if(!b)return c.toString()},hu=function(a,b){var c=b||new It;c.C(a.bf?'<option value="'+W(a.kg)+'" selected>'+W(a.Ac)+"</option>":'<option value="'+W(a.kg)+'">'+W(a.Ac)+"</option>");if(!b)return c.toString()},eu=function(a,b){var c=b||new It;c.C("<button onclick=\"CALL('cf.sourceSearchModule.search')\">",W(a.uB),"</button>");if(!b)return c.toString()},fu=function(a,b){var c=b||new It;c.C('<span id="wpiplb"><img src="http://www.gstatic.com/support/forum/images/loading_balls.gif">Searching ...</span>');
if(!b)return c.toString()},du=function(a,b){var c=b||new It;c.C("if (event.keyCode == 13) {CALL('cf.sourceSearchModule.search'); return false;}");if(!b)return c.toString()},iu=function(a,b){var c=b||new It;c.C('<div style="padding: 8px 8px 16px 8px; font-size: 13px;"><table style="width: 100%;"><tbody><tr>');if(a.Ak&&a.Ak.total>=2){c.C('<td style="width: 70px;">&nbsp;</td><td>');for(var e=a.Ak.total,f=0;f<e;f+=1)c.C(f==a.Ak.current?'<span style="margin-right: 8px; font-weight: bold;">'+W(f+1)+"</span>":
'<span style="color: blue; text-decoration: underline; cursor: pointer; margin-right: 8px;" onclick="CALL(\'cf.sourceSearchModule.gotoPage\', '+W(f)+')">'+W(f+1)+"</span>");c.C("</td>")}c.C("</tr></tbody></table></div>");if(!b)return c.toString()},ju=function(a,b){var c=b||new It;c.C('<div style="padding: 4px; margin-bottom: 8px; background-color: #eef1f6;"><div style="float: left;">Search results</div><div><img src="http://www.gstatic.com/support/forum/images/del.gif" style="float: right; width: 16px; height: 16px; cursor: pointer;" onclick="CALL(\'cf.sourceSearchModule.hideResults\')"/></div><div style="clear: both;"></div></div>');
if(!b)return c.toString()},ku=function(a,b){var c=b||new It;c.C("<img ",a.Vs?'src="http://www.gstatic.com/support/forum/images/star_solid.png" title=""':'src="http://www.gstatic.com/support/forum/images/star_empty.png" title=""',' class="wlsCSS" ',a.Ti?'style="cursor: progress"':"onclick=\"CALL('saveTopicSubscription', '"+W(a.Uk)+"');\"","> ");if(!b)return c.toString()},lu=function(a,b){var c=b||new It;c.C('<input type="checkbox" id="',W(a.Uk),'_checkbox" name="wtssc"',a.Ti?'disabled="true"':"",a.Vs?
"checked":"",'><label for="',W(a.Uk),"_checkbox\">Email me when people reply</label><button onclick=\"CALL('saveTopicEmailSubscription', '",W(a.Uk),"')\"",a.Ti?'disabled="true"':"",'class="wtssbCSS">Save</button>',a.Ti?' <img style="display: inline" src="http://www.gstatic.com/support/forum/images/loading_balls.gif">':"");if(!b)return c.toString()},mu={},nu,ou,pu,qu,ru,su,tu,uu,vu,wu,xu,yu,zu,Au,Bu,Cu,Du,Eu,Fu,Gu,Hu,Iu,Ju,Ku,Lu,Mu,Nu,Ou,Pu,Qu="http://www.google.com/url?sa=D&q=",Ru="20112",Su="traxForm",
Tu="box",Uu="to",Vu="from",Wu="subject",Xu="body",Yu="thread",Zu="rss_v2_0_msgs.xml",$u={};$u.HC="wirpti";$u={};$u.$P="wirpf";$u.HC="wirpti";
var av=[T.ot,T.qt],bv={"http://www.google.com/images/logo.gif":"Google Logo"},cv=j,dv=function(a,b,c){if(!c)return a;var e=a;if(e.indexOf("?")<0)e+="?";else if(e.charAt(e.length-1)!="&")e+="&";return e=e+b+"="+Hb(c)},ev=function(a){return a&&a.indexOf("/")==0?hdf["CGI.PathPrefix"]+a:hdf["CGI.PathPrefix"]+"/"+a},fv=function(){var a="loginredirect";a=ev(a);a=dv(a,"hl",hdf["CGI.HL"]);a=dv(a,"continue",hdf["CGI.RequestURI"]);window.location=a},gv=function(a){window.location=a},hv=function(a){var b="/";
b=ev(b);b=dv(b,"hl",a);window.location=b},iv=function(){C&&window.scrollTo(0,0);window.location.hash="#"},kv=function(a,b){var c=b||{},e=function(f,g){var h=c[g]||"";return h};return a.replace(jv,e)},jv=new RegExp("\\<\\?cs\\ +var\\:([a-zA-Z0-9_\\.]+)\\ +\\?\\>","g"),lv=0,mv=Wi,nv=function(a){if(!a)return a;var b=document.createElement("div");b.innerHTML=a;if(E)var c=b.textContent;else c=b.innerText;b.innerHTML="";return c},ov=function(a,b){var c=document.getElementsByTagName("head")[0],e=document.createElement("script");
e.type="text/javascript";e.src=a;var f=function(){if(D){if(e.readyState!="loaded"&&e.readyState!="complete")return;e.onreadystatechange=j}b&&b()};if(D)e.onreadystatechange=f;else e.onload=f;c.appendChild(e)},pv=/\w[\w\.\+-]*@\w[\w\.-]*\.[\w]{2,8}/,rv=function(a){this.vL=new qv(a)};rv.prototype.CI=function(a,b){return this.vL.replace(a,"<em class="+b+">","</em>")};
rv.prototype.AI=function(){for(var a=document.getElementsByName("whlm"),b=0;b<a.length;++b){var c=a[b],e=c.parentNode.tagName.toLowerCase()=="a"?"whluCSS":"whlnCSS",f=c.innerHTML;if(f)f=this.CI(f,e);c.innerHTML=f}};
var sv=[],tv=function(a){sv.push(a)},_LOAD=tv,uv=["RootPage","LabelPage","SearchPage","UserPage","StarredPage"],vv=function(){if(Xa(uv,hdf["CGI.base_name"])){_LOAD(nu=new mu.WB);nu.uN(hdf["CGI.RequestURI"]);nu.pN(i)}else if(hdf["CGI.base_name"]=="TopicThreadPage"){_LOAD(nu=new mu.WB);nu.uN(hdf["CGI.RequestURI"]);nu.pN(k);nu.fR(hdf["Target.Topic.TopicId"])}},Rv=function(){Zi("TZ",(new Date).getTimezoneOffset(),-1,hdf["CGI.PathPrefix"]);X("redirectToLogin",fv);X("redirectBack",gv);X("scrollToTop",iv);
X("switchLanguage",hv);var a=window.location.search,b={};if(a.charAt(0)=="?")a=a.slice(1);for(var c=a.split("&"),e=0;e<c.length;++e){var f=c[e],g=f.split("="),h=g[0],l=g[1]?Ib(g[1]):j;if(b[h])if(u(b[h]))b[h].push(l);else b[h]=[b[h],l];else b[h]=l}cv=b;switch(hdf["CGI.base_name"]){case "TopicThreadPage":X("cf.postContentPanel.displaySource",wv);var m=".wpcpfhCSS,.wpcsaCSS,.wtsrsCSS {  display: none;}.wpcsmCSS {  display: inline;}.wpsfmCSS {  display: block;}";xg(m);var n=xv;n["1"]=yv;n["2"]=zv;n["3"]=
Av;n["4"]=Bv;n["8"]=Cv;n["16"]=Dv;X("cf.SourceUtil.addItemToEdit",Ev);_LOAD(vu=new Fv);_LOAD(wu=new Gv);_LOAD(xu=new Hv);_LOAD(yu=new Iv);break;case "SignUpPage":_LOAD(zu=new Jv);break;case "UserPage":_LOAD(Au=new Kv);break}_LOAD(Bu=new Lv);_LOAD(Cu=new Mv);hdf.IsGuide&&vv();X("cf.Program.loadBody",Nv);window.onload=Ov;window.onbeforeunload=Pv;window.onunload=Qv};Ea("LOAD_FIRST",Rv,undefined);
var Nv=function(){var a=hdf.Highlight;if(a&&a.length>0){var b=new rv(a);b.AI()}switch(hdf["CGI.base_name"]){case "SearchPage":_LOAD(Du=new Sv);break;case "TopicThreadPage":_LOAD(Eu=new Tv);_LOAD(Fu=new Uv);if(hdf["Target.Answerable"]&&!hdf.RM){_LOAD(Gu=new Vv);_LOAD(Hu=new Wv);_LOAD(Iu=new Xv);_LOAD(Ju=new Yv);J("wtsrs")||Fu.Zl()}if(hdf["Target.Appendable"])_LOAD(Ku=new Zv);break}hdf.CompactView&&$v();if(hdf.IsGuide){switch(hdf.AdminPage){case "LabelAdminPage.cs":_LOAD(ou=new mu.fQ(hdf.Privileges));
break;case "CategoryAdminPage.cs":_LOAD(pu=new mu.VP);break;case "InternalLabelSettingsPage.cs":_LOAD(qu=new mu.cQ);break;case "AdminUserTitlesPage.cs":_LOAD(ru=new mu.JP);break;case "AdminUserPage.cs":_LOAD(su=new mu.IP);break;case "AdminPreferencePage.cs":_LOAD(tu=new mu.HP);break}_LOAD(uu=new mu.GP)}_LOAD(Lu=new aw);Lu.dE()},bw=[],Ov=function(){Ju&&Ju.BK();switch(hdf["CGI.base_name"]){case "AskPage":case "Iu2uAskPage":_LOAD(Mu=new cw);break}hdf["Param.Focus.Hovercard.Page"]&&dw();if(Xa(uv,hdf["CGI.base_name"])){_LOAD(Nu=
new ew);Nu.Cz(hdf.IsGuide);_LOAD(Ou=new fw)}for(var a=0;a<bw.length;++a)bw[a]()},hw=function(a){for(var b=[],c=1;c<arguments.length;++c)b.push(arguments[c]);var e=gw[a];e&&bw.push(e.Y(j,b))};Ea("SCHEDULE_LOAD_LAST",hw,undefined);
var Pv=function(){Ju&&Ju.IK()},Qv=function(){for(var a=sv,b=a.length-1;b>=0;--b){var c=a[b];c.p&&c.p()}sv=[];gw={};try{Cf()}catch(e){}},$v=function(){for(var a=document.body.getElementsByTagName("a"),b=0;b<a.length;++b){var c=a[b];if(!c.target)c.target="_blank";if(!c.rel)c.rel="nofollow";if(hdf.InternalIP)c.href=Qu+escape(c.href)}},gw={},iw=function(a,b){gw[a]=b},X=iw,jw=function(a){delete gw[a]},Z=jw,kw=function(a){for(var b=[],c=1;c<arguments.length;++c)b.push(arguments[c]);var e=gw[a];if(e)return e.apply(j,
b)};Ea("CALL",kw,undefined);var lw=function(){this.Oi=new tj(j,3,5)};lw.prototype.Jb=function(a,b){var c=this.Oi.Jb();if(c){var e=yf(c,"success",Qa(a,c),k,this),f=yf(c,"error",Qa(b,c),k,this);yf(c,"ready",w(this.cM,this,c,e,f),k,this)}return c};lw.prototype.cM=function(a,b,c){if(this.Oi.gn(a)){O(b);O(c);this.Oi.ol(a)}else"Xhrlite object has become stale. Remaining free count: "+this.Oi.Rp()};var mw=function(a){this.Fk=j;this.Tk=1;this.Oh=j;this.ya=new Wd;this.Rf=k;this.Oi=new lw;this.Ey=3;a&&this.wN(a)};
p=mw.prototype;p.Rn=function(a,b,c){this.ya.clear();this.ya.w("command",a);this.ya.w("entity",b);this.ya.w("id",c);this.Rf=i};p.EN=function(a,b,c,e){this.ya.clear();this.ya.w("command","setrating");this.ya.w("entity",a);this.ya.w("id",b);this.ya.w("user",c);this.ya.w("value",e);this.Rf=i};p.ON=function(a,b,c){this.ya.clear();this.ya.w("command","suggest");this.ya.w("subject",a);this.ya.w("detail",b);this.ya.w("ask_page_id",c);this.Rf=i};
p.BN=function(){this.ya.clear();this.ya.w("command","setproduct");this.Rf=i};p.EL=function(a,b,c){this.ya.clear();this.ya.w("command","removeabuse");this.ya.w("entity",a);this.ya.w("id",b);this.ya.w("at",c);this.Rf=i};p.eL=function(a){this.ya.clear();this.ya.w("command","optinshowavatar");var b=a?"1":"0";this.ya.w("showavatar",b);this.Rf=i};p.wN=function(a){if(a&&a.la()>0){this.ya.clear();this.ya.extend(a);this.Rf=i}else this.Rf=k};p.Hd=function(){return this.Tk};p.zw=function(){return this.Fk};
p.wF=function(){var a=this.ya.W(),b=$i("cftk");b&&a.w("POST_TOKEN",b);(b=$i("hl"))&&a.w("hl",b);return a.toString()};p.pd=function(a,b){var c=this.Oi.Jb(w(this.IO,this),w(this.up,this)),e=ev(hdf["BASE.ProductPath"]);if(hdf["BASE.Product"])e=e+"p/"+hdf["BASE.Product"]+"/";e=b?e+b:e+"ajax";this.Ee=a;var f=this.wF();c.send(e,"POST",f,{"Content-Type":"application/x-www-form-urlencoded"});return c};
p.Tz=function(){if(this.Ey--<=0)return k;this.Tk=1;this.Oh=this.Fk=j;var a=300;Mg(w(this.pd,this,this.Ee),a,this);return i};p.IO=function(a){var b=a.wm();try{this.Fk=eval("("+b+")")}catch(c){return}if(this.Fk[0].Status=="ok")this.Tk=0;else{if(this.Tz())return;this.Tk=3;var e=this.Fk[0].Message;this.Oh=e?e:"UNKNOWN ERROR"}this.Wz()};p.up=function(a,b){var c=a.lw()+" Error:"+(b.message||b);if(!this.Tz()){this.Oh=c;this.Tk=3;this.Wz()}};p.Wz=function(){this.Ey=3;this.Ee&&this.Ee()};
var nw=function(){this.ba=[]};nw.prototype.add=function(a,b,c,e,f){var g=N(a,b,c,e,f);this.ba.push(g)};nw.prototype.clear=function(){for(var a=0;a<this.ba.length;++a)O(this.ba[a]);this.ba=[]};var Qt=function(a){Ja(a)||(a=new Number(a));var b,c=j;c=da(c);return b=fa(c.$B[3],c)(new Date(a),c)},ow=function(){this.gm=[]},pw=0;p=ow.prototype;p.push=function(a){this.gm.push(a);++pw};p.pop=function(){var a=this.gm.pop();if(a){a();--pw}};p.lL=function(){return this.pop.Y(this)};
p.clear=function(){pw-=this.gm.length;this.gm=[]};p.alert=function(a){alert(a);this.pop()};var qw=function(){};p=qw.prototype;p.Zz=function(a){var b=this.Vp(a),c=b.value.split(":"),e=c[0],f=this.Jp(a);this.Lh(a,f,i);var g=f?this.Wo(e):this.Xo(e),h=function(){if(g.Hd()==0){this.Lh(a,f,k);var l=[e,f?"1":"0"];b.value=l.join(":")}else this.Lh(a,f,k)};g.pd(w(h,this))};p.Cn=function(a){var b=this.Vp(a),c=b.value.split(":"),e=c[1]=="1"||c[1]=="true";this.Lh(a,e,k)};p.Lh=function(){};
p.Vp=function(a){return J(a+"_input")};p.Ew=function(a){return J(a+"_span")};p.Jp=function(){};p.Wo=function(){};p.Xo=function(){};var Lv=function(){qw.call(this);X("saveTopicSubscription",w(this.Zz,this));X("redrawTopicSubscriber",w(this.Cn,this));X("topicSubscriptionMsg",w(this.pO,this))};Lv.Ua(qw);p=Lv.prototype;p.Wo=function(a){var b=new mw;b.Rn("bind","topic",a);return b};p.Xo=function(a){var b=new mw;b.Rn("unbind","topic",a);return b};
p.Jp=function(a){var b=this.Vp(a),c=b.value.split(":");return c[1]=="0"};p.Lh=function(a,b,c){var e={Uk:a,Vs:b,Ti:c},f=this.Ew(a);f.innerHTML=ku(e)};p.pO=function(a){Pu||_LOAD(Pu=new rw);Pu.SA(a,"Sign up for Google Help Forums to add this post to your Starred Discussions list.")};var Hv=function(){qw.call(this);X("saveTopicEmailSubscription",w(this.Zz,this));X("redrawTopicEmailSubscriber",w(this.Cn,this))};Hv.Ua(qw);Hv.prototype.Wo=function(a){var b=new mw;b.Rn("bind","email",a);return b};
Hv.prototype.Xo=function(a){var b=new mw;b.Rn("unbind","email",a);return b};Hv.prototype.Jp=function(a){return J(a+"_checkbox").checked};Hv.prototype.Lh=function(a,b,c){var e={Uk:a,Vs:b,Ti:c},f=this.Ew(a);f.innerHTML=lu(e)};var qv=function(a,b){this.sn=j;this.mL=!!b;u(a)||(a=[a]);this.sn=this.EE(a)};p=qv.prototype;p.zp=function(a){for(this.sn.lastIndex=0;1;){var b=this.sn.exec(a);if(!b)return-1;if(this.MB(a,b[0],b.index))return b.index}};
p.replace=function(a,b,c){return a.replace(this.sn,this.RL.Y(this,b,c))};p.RL=function(a,b,c,e,f){return this.MB(f,c,e)?a+c+b:c};p.MB=function(a,b,c){if(!this.Um(a.charAt(c))&&!this.Um(a.charAt(c-1)))return k;var e=c+b.length-1;if(!this.mL&&!this.Um(a.charAt(e))&&!this.Um(a.charAt(e+1)))return k;return i};p.vC=/[^a-zA-Z\u0410-\u044f]/;p.Um=function(a){var b=!a||this.vC.test(a);return b};p.EE=function(a){for(var b=[],c=0;c<a.length;++c)b.push(this.CL(a[c]));return new RegExp(b.join("|"),"gi")};
p.uC=/[\^\$\.\*\+\?\=\!\:\|\\\/\(\)\[\]\{\}]/g;p.CL=function(a){return a.replace(this.uC,"\\$&")};var sw=function(a){this.af={};this.ba=a;for(var b=0;b<a.length;++b){var c=a[b];v(c);this.af[c]=j}};p=sw.prototype;p.w=function(a,b){a&&this.af.hasOwnProperty(a);this.af[a]=b};p.t=function(a){a&&this.af.hasOwnProperty(a);return this.af[a]};p.W=function(){var a=new sw(this.ba);a.af=sb(this.af);return a};p.ac=function(a){for(var b in this.af)if(this.t(b)!=a.t(b))return k;return i};p.mc=function(){return this.ba};
p.toString=function(){for(var a=[],b=0;b<this.ba.length;++b){var c=this.ba[b];a.push('"'+c+'" : "'+(this.af[c]||"")+'"')}return"<cf.Properties>{"+a.join(", ")+"}"};var tw=function(){this.hy=k};tw.prototype.Mp=function(){return[]};tw.prototype.load=function(){};var uw=function(){tw.call(this)};uw.Ua(tw);uw.prototype.Mp=function(){return[]};
uw.prototype.load=function(a){var b="http://www.{domain}/uds?key=ABQIAAAAJf9vqLtR-FI14CX3xsuJJxTRERdeAiwZ9EeJWta3L_JZVS0bOBTVjbSSacjHIp3sdH9L8LOhIB3nfA";b=b.replace("{domain}","google.com");ov(b,a)};var vw=function(){tw.call(this)};vw.Ua(tw);vw.prototype.Mp=function(){return[1]};vw.prototype.load=function(a){var b={callback:a,nocss:i,locale:hdf["CGI.HL"]};google.load("search","1",b)};var Gv=function(){this.bA={};this.vz(1,new uw);this.vz(2,new vw)};
Gv.prototype.load=function(a,b){var c=this.bA[a];if(c.hy)b();else{var e=function(){c.hy=i;b()},f=new ow;f.push(c.load.Y(c,e));for(var g=c.Mp(),h=0;h<g.length;++h)f.push(this.load.Y(this,g[h],f.lL()));f.pop()}};Gv.prototype.vz=function(a,b){this.bA[a]=b};var rw=function(){this.kc=new nw;this.uk=this.eh=j;this.zb=new Hi(J("pop"));this.kc.add(this.zb.b(),"mouseover",this.MK,k,this);this.kc.add(this.zb.b(),"mouseout",this.LK,k,this)};
rw.prototype.SA=function(a,b){if(this.zb.qJ())this.zb.sa(k);else{var c=Ii.ZB,e=Ii.IC,f=new Hf(3,5,3,5);this.zb.zN(e);this.zb.qN(f);this.zb.setPosition(new Ji(a,c));this.zb.b().innerHTML=b;this.zb.SM(i);this.zb.sa(i);this.uk=window.setTimeout(w(this.Jd,this),4000)}};rw.prototype.Jd=function(){this.zb.sa(k);this.eh&&window.clearTimeout(this.eh);this.uk&&window.clearTimeout(this.uk)};rw.prototype.MK=function(){this.eh&&window.clearTimeout(this.eh);this.uk&&window.clearTimeout(this.uk)};
rw.prototype.LK=function(){this.eh&&window.clearTimeout(this.eh);this.eh=window.setTimeout(w(this.Jd,this),1000)};var ww=function(a,b,c,e,f,g){var h=j,l=sg(J(c));if(l&&l.height)h={minHeight:l.height};this.ua=new mr(a,"");this.sc=new br(c,h);this.ua.ss&&bv&&this.ua.ss(bv);this.sc.od(new dt);this.sc.od(new oq);this.sc.od(new st);this.sc.od(new Xq);E&&N(a,"resize",w(this.sc.lp,this.sc),k,this);this.kR=new V(this.ua,Jr(f,J(e)),b);this.fk=k;this.bh(g)};p=ww.prototype;
p.$h=function(){if(this.sc)return this.sc.km();return""};p.Kg=function(){return this.sc};p.focus=function(){this.sc.focus()};p.bh=function(a){if(this.fk)a&&a(this.sc);else{a&&N(this.sc,"load",Qa(a,this.sc),k,this);this.ua.bh(this.sc);this.fk=i}};p.qk=function(a){this.ua.qk(this.sc,a);this.fk=k};var Mv=function(){X("cf.survey.setSurveyLink",w(this.QN,this))};Mv.prototype.p=function(){if(!this.Ma){this.Ma=i;Z("cf.survey.setSurveyLink")}};
Mv.prototype.PN=function(a,b){var c="GoogleHelpForumSurvey",e=2592000,f=new Wd($i(c));f.w(a,"1");Zi(c,f.toString(),e,b)};Mv.prototype.ZO=function(a){window.pageTracker&&a&&window.pageTracker.sQ(a)};Mv.prototype.QN=function(a,b,c,e){var f=J(a);f&&N(f,"click",function(){this.PN(b,c);this.ZO(e)},k,this)};
var xw=k,dw=function(){if(!xw){for(var a="focus-hover",b=Kc(j,a),c=0;c<b.length;c++){var e=b[c],f=e.id&&e.id.split("-",1)[0],g={hl:hdf["CGI.HL"],service:"u2u"};if(e.title)g.nickname=e.title;window.addHovercard&&f&&window.addHovercard(e,f,g);e.title=""}xw=i}},ew=function(){X("cf.listHeader.init",w(this.$e,this));X("cf.listHeader.renderDefault",w(this.Cz,this));X("cf.listHeader.createSelection",w(this.Uo,this));X("cf.listHeader.refreshList",w(this.sz,this));this.Ma=k};p=ew.prototype;
p.p=function(){if(!this.Ma){Z("cf.listHeader.init");Z("cf.listHeader.renderDefault");Z("cf.listHeader.createSelection");Z("cf.listHeader.refreshList");this.Ma=i}};p.Ps=[];p.Qs=[];p.Gs=[];p.Hs=[];p.Ek=[];var yw=["all","unanswered","answered"],zw=["all","unanswered","answered"],Aw=["recent activity","date asked","popularity"],Bw=Aw.concat("most replies"),Cw=["recent","date","popularity"],Dw=Cw.concat("replies");ew.prototype.$e=function(a,b,c,e,f){this.Bo=a;this.Ps=b;this.Qs=c;this.Gs=e;this.Hs=f};
ew.prototype.Cz=function(a){var b=J("wlhd");if(b){a?this.$e(hdf["CGI.RequestURI"],yw,zw,Bw,Dw):this.$e(hdf["CGI.RequestURI"],yw,zw,Aw,Cw);this.Uo("tab",cv.tab,"wlhss");this.Uo("sort",cv.sort,"wlhsos");b.style.visibility="visible"}};ew.prototype.Uo=function(a,b,c){var e=new Ai(j,j,yi.Ka()),f=[],g=[];if(a=="tab"){f=this.Ps;g=this.Qs}else{f=this.Gs;g=this.Hs}for(var h in f)e.Zc(new Bi(f[h]));if(b){var l=Sa(g,b);e.pf(l)}else e.pf(0);e.rc(Ic(c));this.Ek[a]=b;N(e,"action",w(this.sz,this,a),k,this)};
ew.prototype.sz=function(a,b){var c=b.target,e=c.da(),f,g;if(a=="tab"){var h=Sa(this.Ps,e);f=this.Qs[h];this.Ek.tab=f;g=this.Ek.sort}else{f=this.Ek.tab;h=Sa(this.Gs,e);g=this.Hs[h];this.Ek.sort=g}c.Bc(k);var l=new Vd(this.Bo),m=l.aq();if(f)f=="all"?m.remove("tab"):m.w("tab",f);if(g)g=="recent"?m.remove("sort"):m.w("sort",g);m.remove("start");gv(l.toString())};var aw=function(){X("cf.cseSearch.searcher",w(this.qd,this));X("cf.cseSearch.googleSearch",w(this.CH,this));this.bg=J("whasi");this.pM=J("whasf")};
p=aw.prototype;p.qd=function(){var a=this.yw();if(a&&!Qb(this.bg.value,a))this.bg.value=this.bg.value+" "+a};p.yw=function(){var a="";if(this.pM.forum){a="more:forum";if(hdf.iu2u&&!hdf.CseUrl)a+=" inurl:hl="+hdf["CGI.HL"]}return a};p.CH=function(){window.location.href="http://www.google.com/search?q="+this.bg.value};p.dE=function(){var a=this.yw();if(this.bg&&this.bg.value&&a){var b,c=new RegExp(Vb(" "+a),"");b=this.bg.value.replace(c,"");this.bg.value=b}};
p.p=function(){if(!this.Ma){this.Ma=i;Z("cf.cseSearch.search");Z("cf.cseSearch.googleSearch")}};var fw=function(){this.Ik={};X("cf.superUserThreadAction.doCheckboxClick",w(this.qF,this));X("cf.superUserThreadAction.doReportAbuse",w(this.sF,this));X("cf.superUserThreadAction.selectAll",w(this.rM,this));X("cf.superUserThreadAction.selectNone",w(this.xM,this))};p=fw.prototype;
p.p=function(){if(!this.Ma){Z("cf.superUserThreadAction.doCheckboxClick");Z("cf.superUserThreadAction.doReportAbuse");Z("cf.superUserThreadAction.selectAll");Z("cf.superUserThreadAction.selectNone");this.Ma=i}};p.qF=function(a,b){Ic(a).checked?rb(this.Ik,b,a):ob(this.Ik,b)};p.Hv=function(){return Mc("input","thread_checkbox")};p.kA=function(a,b){if(a.checked&&!b||!a.checked&&b)a.click()};p.rM=function(){for(var a=this.Hv(),b=0;b<a.length;b++)this.kA(a[b],i)};
p.xM=function(){for(var a=this.Hv(),b=0;b<a.length;b++)this.kA(a[b],k)};p.cG=function(){var a=Ic("wsutaeats");return a.selectedIndex<=0?j:a.options[a.selectedIndex].value};p.sF=function(){if(nb(this.Ik))alert("No threads selected. Please select a thread.");else{var a=this.cG();if(a){var b="wsutaerab";Ic(b).disabled=i;this.BM(a)}else alert("No abuse type selected. Please select an abuse type.")}};
p.BM=function(a){if(!nb(this.Ik))if(a){var b=new mw,c,e=mb(this.Ik);c=(new aj).hA(e);b.EL("topic",c,a);b.pd(w(this.tF,this,b));this.sO()}};p.tF=function(a){if(a.Hd()==0)window.location.reload(i);else{alert("Failed to report abuse. Please try again.");var b="wsutaerab";Ic(b).disabled=k;this.zI()}};p.sO=function(){var a=Ic("info"),b=Ic("info_content");R(a,i);Xc(b);var c=document.createTextNode("Working ...");b.appendChild(c)};p.zI=function(){var a=Ic("info");R(a,k)};function Ew(){}
var Zv=function(){this.ua=j;X("cf.addendumInputPanel.submit",w(this.submit,this));X("cf.addendumInputPanel.cancel",w(this.YD,this));X("cf.addendumInputPanel.initTrEditor",w(this.Wg,this))};p=Zv.prototype;p.p=function(){if(!this.Ma){this.Ma=i;Z("cf.addendumInputPanel.submit");Z("cf.addendumInputPanel.cancel");Z("cf.addendumInputPanel.initTrEditor")}};
p.Wg=function(){if(this.ua)this.ua.bh(w(this.li,this));else{var a="waipde";if(J(a)){J("waipdi").style.display="none";J("waipdew").style.display="block";var b="waipdet",c=hdf["CGI.HL"];this.ua=new ww(window,c,a,b,av,w(this.li,this))}}};p.li=function(a){a.fg(i,J("waipdi").value,i);a.focus()};
p.submit=function(){if(this.hx()){var a;if(this.ua){a=this.ua.$h();J("waipdi").value=a;a=nv(a)}else a=J("waipdi").value;a=Db(a);var b=Number("8192");if(a.length>b)alert("Your update is too long.");else{var c=hdf["Param.WarnEmail.Enabled"],e="Your input may contain an e-mail address. OK to continue?";if(!(c&&pv.test(a)&&!confirm(e))){J("wpcpads_submit").disabled=i;J("waipfm").submit()}}}else alert("Please write an update to the question.")};
p.YD=function(){var a="Are you sure you'd like to cancel your update?";if(!(this.hx()&&!confirm(a))){J("waipdi").value="";if(this.ua){this.ua.Kg().fg(i,"",i);this.ua.qk(i)}Fu.nu()}};p.hx=function(){var a;if(this.ua){a=this.ua.$h();J("waipdi").value=a;a=nv(a)}else a=J("waipdi").value;a=Db(a);return a!=""};var cw=function(){this.ua=j;this.yB=[];this.qM="related_question";this.Kn="";this.fx=k;this.wt=new Fw(J("wavsi"));this.MI()};p=cw.prototype;
p.p=function(){if(!this.Ma){this.Ma=i;this.JO&&window.clearInterval(this.JO);Z("cf.askPage.submit");Z("cf.askPage.setProduct");Z("cf.askPage.resetGroupCategory");Z("cf.askPage.resetDefaultCategory");Z("cf.askPage.getPickupTopicUrl");Z("cf.askPage.handleCloseRow")}};p.vw=function(a,b){var c=Gw(a,b);c=dv(c,"search_impression_id",this.Kn);return c=dv(c,"search_source",this.qM)};
p.submit=function(a){var b=J("wavpi"),c=J("wavli"),e=Kc("select","wavcgCSS");if(b&&!b.selectedIndex){alert("Choose the product corresponding to your question. A properly labeled question is more likely to receive an answer. Incorrectly labeled questions may be deleted.");return k}if(!c||!c.selectedIndex)if(e.length==0){alert("Choose the category corresponding to your question. A properly labeled question is more likely to receive an answer. Incorrectly labeled questions may be deleted.");return k}else{for(var f=
0;f<e.length;++f)if(!e[f].selectedIndex){alert("Choose the category corresponding to your question. A properly labeled question is more likely to receive an answer. Incorrectly labeled questions may be deleted.");return k}var g=J("wavdc");L(g)}else if(c&&c.selectedIndex)if(e)for(f=0;f<e.length;++f){if(e[f].selectedIndex){alert("Choose the category corresponding to your question. A properly labeled question is more likely to receive an answer. Incorrectly labeled questions may be deleted.");return k}var h=
J("wavcg");L(h)}if(this.ua)J("wavdi").value=this.ua.$h();var l=hdf["Param.WarnEmail.Enabled"];if(l){var m=J("wavdi").value;if(this.ua)m=nv(m);var n="Your input may contain an e-mail address. OK to continue?";if(pv.test(m)&&!confirm(n))return k}J("search_topic_ids").value=(new aj).hA(this.yB);if(this.Kn)J("search_impression_id").value=this.Kn;if(a)a.disabled=i;this.fx=i;var o=J("wavfm");o.submit();return k};
p.MI=function(){X("cf.askPage.submit",w(this.submit,this));X("cf.askPage.setProduct",w(this.AN,this));X("cf.askPage.resetGroupCategory",w(this.Iz,this));X("cf.askPage.resetDefaultCategory",w(this.Hz,this));X("cf.askPage.getPickupTopicUrl",w(this.vw,this));X("cf.askPage.handleCloseRow",w(this.LH,this));var a=J("wavsi");a&&a.focus();J("wbsb").disabled=k;this.Wg();hdf.IsIe6&&this.jN();window.onbeforeunload=w(this.nO,this)};
p.Wg=function(){if(J("wavde")){J("wavdi").style.display="none";J("wavdew").style.display="block";var a=hdf["CGI.HL"];this.ua=new ww(window,a,"wavde","wavdet",av,w(this.li,this))}};p.li=function(a){a.fg(i,J("wavdi").value,i)};p.to=function(a,b){for(var c=0;b["Name"+c];){var e="Name"+c,f="Id"+c,g=Uc("option",{value:b[f]},b[e]);a.appendChild(g);c++}};
p.CN=function(a){if(!(a.Hd()!=0)){var b=a.zw()[1],c=J("wavcg");Xc(c);if(b.CategoryGroups)for(var e=0;e<kb(b.CategoryGroups);++e){var f=b.CategoryGroups[e],g=Uc("div",{"class":"wirtxCSS"},f.Name);c.appendChild(g);var h=Uc("select",{multiple:k,name:"wavli"+e,"class":"wavcgCSS",onchange:this.Hz,id:"wavli"+e},Uc("option",{value:"Choose a category"},"Choose a category"));c.appendChild(h);this.to(h,f.Categories)}if(b.Categories||b.PrivateCategories){var l=J("wavdc");Xc(l);var m=Uc("div",{"class":"wirtxCSS"},
"Category:");l.appendChild(m);h=Uc("select",{multiple:k,name:"wavli",onchange:this.Iz,id:"wavli"});if(b.Categories){var n=Uc("option",{value:"Choose a category"},"Choose a category");h.appendChild(n)}l.appendChild(h);b.Categories&&this.to(h,b.Categories);if(b.PrivateCategories){var o=Uc("option",{value:""},"---Private Categories---");if(b.Categories)o.disabled=i;h.appendChild(o);this.to(h,b.PrivateCategories)}}}};
p.AN=function(){var a=J("wavpi");if(a.selectedIndex==0){var b=J("wavcg");Xc(b);var c=J("wavdc");Xc(c)}else{var e=a.options[a.selectedIndex].value;hdf["BASE.Product"]=e;var f=new mw;f.BN();f.pd(w(this.CN,this,f))}};p.Iz=function(){for(var a=Kc("select","wavcgCSS"),b=0;b<a.length;++b)a[b].selectedIndex=0};p.Hz=function(){var a=J("wavli");if(a)a.selectedIndex=0};p.LH=function(){Mu.wt.gp()};p.jN=function(){window.setInterval(w(this.YO,this),200)};
p.YO=function(){var a=J("wavli"),b=J("wavpi");if(Mu.wt.isOpen()){a.style.visibility="hidden";if(b)b.style.visibility="hidden"}else{a.style.visibility="";if(b)b.style.visibility=""}};p.nO=function(){var a=J("wavsi").value,b=(this.ua?this.ua.$h():J("wavdi")).value;if(!this.fx&&(a||b))return"You have not posted your question yet. If you leave this page, your question will not be saved."};
var Uv=function(){this.aK=parseInt("20",10);this.DF=parseInt("1200",10);X("cf.postContentPanel.expandReplyInput",w(this.Zl,this));X("cf.postContentPanel.expandAddendumInput",w(this.zF,this));X("cf.postContentPanel.collapseAddendumInput",w(this.nu,this));X("cf.postContentPanel.chooseBestAnswer",w(this.$D,this));X("cf.postContentPanel.showAllFollowups",w(this.lO,this))},wv=function(a){for(var b=Hw(a),c=b.length,e=0;e<c;++e)vu.DP(b[e],e,c)};p=Uv.prototype;
p.p=function(){if(!this.Ma){this.Ma=i;Z("cf.postContentPanel.expandReplyInput");Z("cf.postContentPanel.expandAddendumInput");Z("cf.postContentPanel.collapseAddendumInput");Z("cf.postContentPanel.displaySource");Z("cf.postContentPanel.chooseBestAnswer")}};p.Zl=function(){if(J("wssmfm")){Iu.tG()<0&&Iu.mA(0);Iu.wq()}J("wpcprie").style.display="block";J("wpiprde")&&Gu.Wg()};p.zF=function(){R(J("wpcpaie"),i);R(J("wpcpaic"),k);var a="waipde";J(a)?Ku.Wg():J("waipdi").focus()};
p.nu=function(){J("wpcpaie").style.display="none";J("wpcpaic").style.display="block"};p.$D=function(a){var b=confirm("Would you like to choose this post as the best answer?");b&&J(a).submit()};
p.lO=function(){R(J("wpsfm"),k);Ec(J("wpcsa"),"wpcsaCSS");R(J("wpcsm"),k);var a=J("wpcpfhd"),b=og(a);b&&b.y<0&&a.scrollIntoView(i);for(var c=J("wpsf"),e=c.childNodes,f=0;f<e.length;f++){var g=e[f];if(g.nodeType==1)if(Fc(g,"wpcpfhCSS"))if(f<this.aK){vg(g,0);Ec(g,"wpcpfhCSS");var h=new ch(g,this.DF);h.play()}else Ec(g,"wpcpfhCSS");else Fc(g,"wpcpfsCSS")&&Ec(g,"wpcpfsCSS")}c&&bg(cd(c),"border-top-color","#FFFFFF");var l=J("wtsrs");l&&Ec(l,"wtsrsCSS");this.Zl()};
var Vv=function(){this.kc=new nw;this.ua=j;X("cf.postInputPanel.traxReply",this.bP.Y(this));X("cf.postInputPanel.submitReply",this.HO.Y(this));X("cf.postInputPanel.initTrEditor",w(this.Wg,this))};p=Vv.prototype;p.Wg=function(){if(!this.ua)if(J("wpiprde")){J("wpiprdi").style.display="none";J("wpiprdew").style.display="block";var a=hdf["CGI.HL"];this.ua=new ww(window,a,"wpiprde","wpiprdet",av,w(this.li,this))}};p.li=function(a){a.fg(i,J("wpiprdi").value,i)};
p.p=function(){if(!this.Ma){this.Ma=i;Z("cf.postInputPanel.submitReply");Z("cf.postInputPanel.initTrEditor");this.kc.clear()}};
p.bP=function(a,b,c,e,f){if(this.fu()){var g=hdf.TraxQueue;g||(g=Ru);var h=document.forms[Su];Xc(h);var l=document.createElement("input");l.type="hidden";l.setAttribute("name",Tu);l.setAttribute("value",g);h.appendChild(l);var m=document.createElement("input");m.type="hidden";m.setAttribute("name",Vu);m.setAttribute("value",b);h.appendChild(m);var n=document.createElement("input");n.type="hidden";n.setAttribute("name",Uu);n.setAttribute("value",c);h.appendChild(n);var o=document.createElement("input");
o.type="hidden";o.setAttribute("name",Wu);o.setAttribute("value",e);h.appendChild(o);var r=document.createElement("input");r.type="hidden";r.setAttribute("name",Xu);r.setAttribute("value",this.fH());h.appendChild(r);h.submit();var t=new Wd;t.w("command","trax");t.w("tid",f);t.w("trax_queue",g);var y=new mw(t);y.pd(j)}else alert("Please enter an answer.")};
p.HO=function(a){if(!this.fu()){alert("Please enter an answer.");return k}var b=hdf["Param.WarnEmail.Enabled"];if(b){var c=J("wpiprdi").value;if(this.ua)c=nv(c);var e="Your input may contain an e-mail address. OK to continue?";if(pv.test(c)&&!confirm(e))return k}if(a)a.disabled=i;Hu.Xz();var f=J("wpipf");f.submit();return i};p.fu=function(){var a=Hu.oE(),b;if(this.ua){b=this.ua.$h();J("wpiprdi").value=b;b=nv(b)}else b=J("wpiprdi").value;b=Db(b);return a>0||b!=""};
p.fH=function(){var a;if(this.ua){a=this.ua.$h();J("wpiprdi").value=a;a=nv(a)}else{a=J("wpiprdi").value;a=Pb(a)}return a=Db(a)};var Gw=function(a){var b=hdf["BASE.ProductPath"]+Yu;b=ev(b);b=dv(b,"tid",a.TopicId);return b=dv(b,"hl",hdf["CGI.HL"])};Gw=function(a,b){var c=hdf["BASE.ProductPath"];if(b)c=hdf["BASE.ProductPath"]+"p/"+b+"/";c=c+Yu;c=ev(c);c=dv(c,"tid",a.TopicId);return c=dv(c,"hl",hdf["CGI.HL"])};
var Tv=function(){this.jR=j;this.wP="Delete this post?\n";this.vP="Delete this reply?\n";X("cf.topicThreadPage.destroyTopic",w(this.hF,this));X("cf.topicThreadPage.destroyFollowup",w(this.gF,this));var a=J("wpcpaie"),b=J("wpcpaic");if(a)a.style.display="none";if(b)b.style.display="inline";var c=cv.fid,e=cv.unsub;if(c&&!e){var f=J("fid_"+c);if(f){var g=bd(f.previousSibling,k);if(g){g=bd(g.lastChild,k)||g;g.scrollIntoView(i)}else f.scrollIntoView(i)}}};
Tv.prototype.p=function(){Z("cf.topicThreadPage.destroyTopic");Z("cf.topicThreadPage.destroyFollowup")};Tv.prototype.hF=function(a,b){confirm(this.wP+a)&&J(b).submit()};Tv.prototype.gF=function(a,b){confirm(this.vP+a)&&J(b).submit()};var Yv=function(){};Yv.prototype.BK=function(){var a=J("wpiprdi"),b=a?a.value:j,c=J("wpiprsi"),e=c?c.value:j;if(b||e){Fu.Zl();if(e){Hu.LJ();Hu.display()}}};Yv.prototype.IK=function(){Hu.Xz()};var Sv=function(){X("cf.searchPage.showMore",this.qO.Y(this))};
Sv.prototype.p=function(){if(!this.Ma){this.Ma=i;Z("cf.searchPage.showMore")}};Sv.prototype.qO=function(){for(var a="wsrchrh",b=document.getElementsByName(a),c=0;c<b.length;++c)b[c].style.display="inline";a="wsrchrml";b=document.getElementsByName(a);for(c=0;c<b.length;++c)b[c].style.display="none"};var Jv=function(){X("cf.signupPage.displayFocusProfile",w(this.ip,this));X("cf.signupPage.toggleProfilePreviewOpacity",w(this.XO,this))};
Jv.prototype.p=function(){Z("cf.signupPage.displayFocusProfile");Z("cf.signupPage.toggleProfilePreviewOpacity")};Jv.prototype.ip=function(a,b,c){if(window.addProfileEditor&&b){c.IM="u2u";window.addProfileEditor(a,b,c)}};Jv.prototype.XO=function(a){var b=J("wsupgpw"),c=a?1:0.5;vg(b,c)};var Kv=function(){this.on="wdpsac_checkbox";this.dz="wdpsac_button";this.ez="wdpsac_loading";this.WF="wuvfp";X("cf.userPage.displayFocusProfile",w(this.ip,this));X("cf.userPage.optInShowAvatar",w(this.dL,this))};
Kv.prototype.GO=function(a,b){var c=J(this.on);if(a.Hd()!=0)c.checked=b;vg(J(this.WF),c.checked?1:0.5);J(this.dz).disabled=k;J(this.on).disabled=k;R(J(this.ez),k)};Kv.prototype.ip=function(a,b,c,e){if(window.addProfileEditor&&b){c.IM="u2u";window.addProfileEditor(a,b,c);vg(J(a),e?1:0.5)}};Kv.prototype.dL=function(){J(this.dz).disabled=i;J(this.on).disabled=i;bg(J(this.ez),"display","inline");var a=J(this.on).checked,b=new mw;b.eL(a);b.pd(w(this.GO,this,b,!a))};
Kv.prototype.p=function(){if(!this.Ma){this.Ma=i;Z("cf.userPage.displayFocusProfile");Z("cf.userPage.optInShowAvatar")}};var Iv=function(){this.Ql={};X("cf.ratingManager.setControl",w(this.bN,this))};p=Iv.prototype;p.p=function(){Z("cf.ratingManager.setControl");this.Ma=i};
p.bN=function(a,b,c,e,f){var g=Hh(J(a+"_y"));g.eg(f.UserRating=="5");N(g,"action",w(this.zA,this,a,b,c,e,f,"5"),k,this);this.Ql[a+"_y"]=g;var h=Hh(J(a+"_n"));h.eg(f.UserRating=="1");N(h,"action",w(this.zA,this,a,b,c,e,f,"1"),k,this);this.Ql[a+"_n"]=h};p.HB=function(a,b){var c=this.Ql[a+"_y"];c.eg(b.UserRating=="5");var e=this.Ql[a+"_n"];e.eg(b.UserRating=="1")};p.zA=function(a,b,c,e,f,g){var h=new mw;h.EN(b,c,e,g);h.pd(w(this.FN,this,h,a,f));var l=sb(f);l.UserRating=g;this.HB(a,l)};
p.FN=function(a,b,c){if(a.Hd()!=0){alert("Could not set rating. Please try again.");this.HB(b,c)}};var Fw=function(a){var b=new Iw(Number("3")),c=new Pi(j,new Jw);c.className="rq-renderer";var e=new Kw(j,j,k,750);Mi.call(this,b,c,e);e.Kt(this);e.Mt(a);this.TM(k);this.KM(i)};A(Fw,Mi);var Iw=function(a){this.fK=a;this.vn=j};
Iw.prototype.Gz=function(a,b,c){var e=function(){this.vn=j;if(f.Hd()!=0)c(a,[]);else{var g=f.zw()[1];if(g){var h=g.Topics||[];c(a,h);Mu.Kn=g.search_impression_id||"";for(var l=[],m=0;m<h.length;m++)l.push(h[m].Topic.TopicId);Mu.yB=l}else c(a,[])}};this.vn&&this.vn.abort();if(!a||a.length<this.fK)c(a,[]);else{var f=new mw;f.ON(a,"",J("ask_page_id").value);this.vn=f.pd(w(e,this))}};var Jw=function(){this.g=I();this.lu="rq-close"};A(Jw,Ri);
Jw.prototype.Dz=function(a,b,c){a.data.url=Mu.vw(a.data.Topic);var e={pg:a.data};c.innerHTML=St(e)};Jw.prototype.tE=function(){var a=this.g.e("div",{className:this.lu});Dc(a,this.lu);kh(a,"menuitem");a.innerHTML=Tt();return a};Jw.prototype.rc=function(a,b,c,e){Gd(c,function(f){f=a.Ez(f,e);this.g.appendChild(b,f)},this);c.length>0&&this.g.appendChild(b,this.tE(a))};var Kw=function(a,b,c,e){Oi.call(this,a,b,c,e)};A(Kw,Oi);
Kw.prototype.Kb=function(a){if(a.keyCode==9){this.mb.xf();return i}return Kw.f.Kb.call(this,a)};Kw.prototype.eA=function(a){a.url&&window.open(a.url,"_blank")};var Fv=function(){this.cb=[]};Fv.prototype.DP=function(a,b,c){var e=new Lw;e.style=1;e.index=b;e.total=c;var f=a.cc(e);document.write(f);this.cb.push(a)};Fv.prototype.rm=function(a){return Mw(this.cb,a)};var Wv=function(){this.cb=[];X("cf.sourceEditModule.addItem",this.Zc.Y(this));X("cf.sourceEditModule.removeItemById",this.NL.Y(this))};
p=Wv.prototype;p.Zc=function(a){var b=a.W();this.Qr();this.cb.push(b);this.display();var c,e=b.wb()+"root";c=J(e);var f=5,g=window.document.documentElement||window.document.body,h=g.scrollTop,l=g.clientHeight,m=h+l,n=lg(c).y-f,o=c.scrollHeight,r=n+o+f+f;if(n<h)g.scrollTop=n;else if(r>m)g.scrollTop=Math.min(g.scrollTop+r-m,n);var t,y=b.wb()+"title";t=J(y);t.focus();t.select()};
p.NL=function(a){for(var b=this.cb,c=j,e=0;e<b.length;++e){var f=b[e];if(f.wb()==a){c=f;break}}c&&b.splice(e,1);this.Qr();this.display()};p.rm=function(a){return Mw(this.cb,a)};p.oE=function(){return this.cb.length};p.mE=function(a){var b;a:{for(var c=this.cb,e=0;e<c.length;++e){var f=c[e];if(f.ac(a)){b=f;break a}}b=j}return b!=j};p.Xz=function(){this.Qr();var a=J("wpiprsi");if(a)a.value=Nw(this.cb)};p.LJ=function(){var a=J("wpiprsi");if(a)this.cb=Hw(a.value)};
p.display=function(){for(var a=new mv,b=this.cb.length,c=0;c<b;++c){var e=new Lw;e.style=2;e.index=c;e.total=b;a.C(this.cb[c].cc(e))}var f=J("wesmct");f.innerHTML=a.toString();var g=J("wpipess");g.style.display=this.cb.length>0?"block":"none"};p.Qr=function(){for(var a=0;a<this.cb.length;++a)this.cb[a].xL()};
var Pw=function(){var a,b="jsuid"+ ++lv+"_";this.yb=a=b;this.zn=new sw(Ow)},Ow=["visibleUrl","invisibleUrl","type","title","titleHtml","query","snippetHtml","thumbnailUrl","date","authors","width","height","webUrl","imageObjectUrl","imageContextUrl","videoObjectUrl","videoPageUrl","videoDuration","blogPostUrl","blogHomepageUrl","helpUrl","helpProduct","forumUrl"],xv={};p=Pw.prototype;p.W=function(){var a=new this.constructor;a.zn=this.zn.W();return a};
p.Dh=function(a,b){var c=this.Ba(a);this.setProperty(b,c)};p.wb=function(){return this.yb};p.ac=function(){};p.Na=function(){return this.Ba("type")};p.Ba=function(a){return this.zn.t(a)};p.Kf=function(){};p.setProperty=function(a,b){!b||v(b)||Ja(b);this.zn.w(a,b)};p.Pc=function(){};p.cc=function(){};p.xL=function(){var a=J(this.yb+"title");this.setProperty("title",a.value)};
var Lw=function(){this.style=j;this.total=this.index=0;this.MQ=this.selected=this.Et=k},Qw=function(a,b){this.item=a;this.options=b;this.ig=this.Ye=this.Qc=j;this.Kc=[];this.Ki=this.Me=j;this.vB=120;this.nd=j},Rw=function(a,b){this.text=a;this.url=b},Sw=function(a,b){this.Zj=a;this.url=b},Tw=function(a){this.Zj=a},Uw=function(){},Ut=function(a){this.text=a};Ut.Ua(Uw);var Vt=function(a,b){this.text=a;this.url=b};Vt.Ua(Uw);var Xt=function(a,b){this.Zj=a;this.url=b};Xt.Ua(Uw);
var Vw=function(){},au=function(a,b){this.hn=a;this.Jo=b};au.Ua(Vw);var bu=function(a){this.hn=a};bu.Ua(Vw);var Ww=function(a,b,c){this.PO=a;this.Jo=b;this.oI=c},Xw=function(a,b){this.text=a;this.url=b};
Qw.prototype.cc=function(){var a={ca:this,Tb:hdf.RedirectionEnabled};switch(this.options.style){case 1:var b;{var c=new It;c.C('<div id="',W(a.ca.item.wb()),'root" class=wpcpsriCSS><div><table><tbody><tr style="vertical-align: top;"><td style="padding-right: 10px; font-size: 13px; white-space: nowrap;">[',W(a.ca.options.index+1),']</td><td width="100%"><div><a ',Wt({qb:a.ca.Qc.url,Tb:a.Tb}),'style="margin-right: 6px; font-size: 13px;">',W(a.ca.Qc.text||"Untitled"),"</a>(",W(a.ca.item.Kf()),")</div>");
Yt(a,c);cu(a,c);$t(a,c);c.C("</td></tr></tbody></table></div></div>");b=c.toString()}return b;case 2:var e;{var f=new It;f.C('<div id="',W(a.ca.item.wb()),'root" class=wpcpsriCSS><div><table style="width: 100%"><tbody><tr style="vertical-align: top;"><td style="padding-right: 10px; font-size: 13px; white-space: nowrap;">[',W(a.ca.options.index+1),']</td><td width="100%"><table style="width: 100%;"><tbody><tr style="vertical-align: top;"><td><label for="',W(a.ca.item.wb()),'title" style="font-size: 13px;">Title:</label> <input id="',
W(a.ca.item.wb()),'title" value="',W(a.ca.Qc.text),'" class="wesmiCSS" style="font-size: 13px;" onkeypress="return event.keyCode != 13"> </td><td style="text-align: right;"><span class="wesmlbCSS" onclick="CALL(\'cf.sourceEditModule.removeItemById\', \'',W(a.ca.item.wb()),"'); CALL('cf.sourceSearchModule.drawResults');\">Remove</span></td></tr></tbody></table></div><div><a ",Wt({qb:a.ca.Qc.url,Tb:a.Tb}),'style="margin-right: 6px;">',W(Yw(a.ca.Qc.url)),"</a>(",W(a.ca.item.Kf()),")</div>");Yt(a,f);
cu(a,f);$t(a,f);f.C("</td></tr></tbody></table></div></div>");e=f.toString()}return e;case 3:var g;{var h=new It;h.C('<div id="',W(a.ca.item.wb()),'root" style="padding: 8px;"><table style="width: 100%;"><tbody><tr><td style="width: 70px; text-align: center; vertical-align: top;">');{var l=h||new It;l.C(a.ca.options.Et?'<span style="font-size: 13px; position: static; color: #808080; font-weight: bold;">Added</span>':"<button class=\"wssmsbCSS\" onclick=\"CALL('cf.SourceUtil.addItemToEdit', '"+W(a.ca.item.wb())+
"')\">Add</button>");h||l.toString()}h.C("</td>");{var m=h||new It;m.C(a.ca.Ki?'<td style="width: '+W(a.ca.vB+15)+'px;"><a '+Wt({qb:a.ca.Ki.Jo})+'><img src="'+W(a.ca.Ki.PO)+'" class=wsitniCSS style="width: '+W(a.ca.vB)+"px;"+(a.ca.Ki.oI?"border: 1px solid #ccc;":"")+'"></a></td>':"");h||m.toString()}h.C('<td style="width: auto; padding-right: 8px; vertical-align: top;"><div>',a.ca.Ye?"<a "+Wt({qb:a.ca.Ye.url,Tb:a.Tb})+'style="font-size: 13px;">'+a.ca.Ye.Zj+"</a>":"<a "+Wt({qb:a.ca.Qc.url,Tb:a.Tb})+
'style="font-size: 13px;">'+W(a.ca.Qc.text||"Untitled")+"</a>","</div>",a.ca.ig?"<div>"+a.ca.ig.Zj+"</div>":"");Yt(a,h);h.C("</td></tr></tbody></table></div>");g=h.toString()}return g;default:}};var yv=function(){Pw.call(this);this.setProperty("type","1")};yv.Ua(Pw);yv.prototype.Kf=function(){return"Web"};
yv.prototype.cc=function(a){var b=this.Ba.Y(this),c=new Qw(this,a);c.Qc=new Rw(b("title")||"",b("webUrl"));if(b("titleHtml"))c.Ye=new Sw(b("titleHtml"),b("webUrl"));c.Kc.push(new Ut(Zw(b("webUrl"))));if(b("snippetHtml"))c.ig=new Tw(b("snippetHtml"));if(b("query"))c.nd=new Xw(b("query"),this.Pc());return c.cc()};
yv.prototype.Pc=function(){var a=this.Ba("query");if(a){var b="http://www.{domain}/search?hl={hl}&q={q}";b=b.replace("{domain}","google.com");b=b.replace("{hl}",hdf["CGI.HL"]);return b=b.replace("{q}",Hb(a))}else return j};yv.prototype.ac=function(a){return this.Na()==a.Na()&&this.Ba("webUrl")==a.Ba("webUrl")};var zv=function(){Pw.call(this);this.setProperty("type","2")};zv.Ua(Pw);zv.prototype.Kf=function(){return"Images"};
zv.prototype.cc=function(a){var b=this.Ba.Y(this),c=new Qw(this,a);c.Qc=new Rw(b("title")||"",b("imageObjectUrl"));if(b("titleHtml"))c.Ye=new Sw(b("titleHtml"),b("imageObjectUrl"));c.Me=new au(b("imageObjectUrl"),b("imageObjectUrl"));if(b("thumbnailUrl"))c.Ki=new Ww(b("thumbnailUrl"),b("imageObjectUrl"),i);b("imageContextUrl")?c.Kc.push(new Vt(Zw(b("imageContextUrl")),b("imageContextUrl"))):c.Kc.push(new Ut(Zw(b("imageObjectUrl"))));b("width")&&b("height")&&c.Kc.push(new Ut(b("width")+"x"+b("height")));
if(b("snippetHtml"))c.ig=new Tw(b("snippetHtml"));if(b("query"))c.nd=new Xw(b("query"),this.Pc());return c.cc()};zv.prototype.Pc=function(){var a=this.Ba("query");if(a){var b="http://images.{domain}/images?hl={hl}&q={q}";b=b.replace("{domain}","google.com");b=b.replace("{hl}",hdf["CGI.HL"]);return b=b.replace("{q}",Hb(a))}else return j};zv.prototype.ac=function(a){return this.Na()==a.Na()&&this.Ba("imageObjectUrl")==a.Ba("imageObjectUrl")};var Av=function(){Pw.call(this);this.setProperty("type","3")};
Av.Ua(Pw);Av.prototype.Kf=function(){return"Videos"};
Av.prototype.cc=function(a){var b=this.Ba.Y(this),c=new Qw(this,a);c.Qc=new Rw(b("title")||"",b("videoPageUrl"));if(b("titleHtml"))c.Ye=new Sw(b("titleHtml"),b("videoPageUrl"));c.Me=new bu(b("videoObjectUrl"));if(b("thumbnailUrl"))c.Ki=new Ww(b("thumbnailUrl"),b("videoPageUrl"),i);c.Kc.push(new Ut(Zw(b("videoObjectUrl"))));b("videoDuration")&&c.Kc.push(new Ut($w(b("videoDuration"))));if(b("snippetHtml"))c.ig=new Tw(b("snippetHtml"));if(b("query"))c.nd=new Xw(b("query"),this.Pc());return c.cc()};
Av.prototype.Pc=function(){var a=this.Ba("query");if(a){var b="http://video.google.com/videosearch?hl={hl}&q={q}";b=b.replace("{domain}","google.com");b=b.replace("{hl}",hdf["CGI.HL"]);return b=b.replace("{q}",Hb(a))}else return j};Av.prototype.ac=function(a){return this.Na()==a.Na()&&this.Ba("videoPageUrl")==a.Ba("videoPageUrl")};
var $w=function(a){var b=a%60;a=Math.floor(a/60);var c=a%60;var e=a=Math.floor(a/60),f=b.toString();if(f.length==1)f="0"+f;var g=c.toString();if(g.length==1)g="0"+g;var h=e.toString();if(h.length==1)h="0"+h;var l;return l=e>0?h+":"+g+":"+f:g+":"+f},Bv=function(){Pw.call(this);this.setProperty("type","4")};Bv.Ua(Pw);Bv.prototype.Kf=function(){return"Blogs"};
Bv.prototype.cc=function(a){var b=this.Ba.Y(this),c=new Qw(this,a);c.Qc=new Rw(b("title")||"",b("blogPostUrl"));if(b("titleHtml"))c.Ye=new Sw(b("titleHtml"),b("blogPostUrl"));c.Kc.push(new Vt(Zw(b("blogHomepageUrl")),b("blogHomepageUrl")));b("authors")&&c.Kc.push(new Ut(b("authors")));b("date")&&c.Kc.push(new Ut(Qt(b("date"))));if(b("snippetHtml"))c.ig=new Tw(b("snippetHtml"));if(b("query"))c.nd=new Xw(b("query"),this.Pc());return c.cc()};
Bv.prototype.Pc=function(){var a=this.Ba("query");if(a){var b="http://blogsearch.{domain}/blogsearch?hl={hl}&q={q}";b=b.replace("{domain}","google.com");b=b.replace("{hl}",hdf["CGI.HL"]);return b=b.replace("{q}",Hb(a))}else return j};Bv.prototype.ac=function(a){return this.Na()==a.Na()&&this.Ba("blogPostUrl")==a.Ba("blogPostUrl")};var Cv=function(){Pw.call(this);this.setProperty("type","8")};Cv.Ua(Pw);Cv.prototype.Kf=function(){return"Help Articles"};
Cv.prototype.cc=function(a){var b=this.Ba.Y(this),c=new Qw(this,a);c.Qc=new Rw(b("title")||"",b("helpUrl"));if(b("titleHtml"))c.Ye=new Sw(b("titleHtml"),b("helpUrl"));c.Kc.push(new Ut(Zw(b("helpUrl"))));if(b("snippetHtml"))c.ig=new Tw(b("snippetHtml"));if(b("query"))c.nd=new Xw(b("query"),this.Pc());return c.cc()};
Cv.prototype.Pc=function(){var a=this.Ba("query");if(a){var b="http://www.{domain}/cse?cx=003125405486913854919:6ixdakj4aiq&hl={hl}&q={q}";b=b.replace("{domain}","google.com");b=b.replace("{hl}",hdf["CGI.HL"]);return b=b.replace("{q}",Hb(a))}else return j};Cv.prototype.ac=function(a){return this.Na()==a.Na()&&this.Ba("helpUrl")==a.Ba("helpUrl")};var Dv=function(){Pw.call(this);this.setProperty("type","16")};Dv.Ua(Pw);Dv.prototype.Kf=function(){return"Help Forum"};
Dv.prototype.cc=function(a){var b=this.Ba.Y(this),c=new Qw(this,a);c.Qc=new Rw(b("title")||"",b("forumUrl"));if(b("titleHtml"))c.Ye=new Sw(b("titleHtml"),b("forumUrl"));c.Kc.push(new Ut(b("forumUrl")));if(b("snippetHtml"))c.ig=new Tw(b("snippetHtml"));if(b("query"))c.nd=new Xw(b("query"),this.Pc());return c.cc()};
Dv.prototype.Pc=function(){var a=this.Ba("query");if(a){var b="http://{domain}/p/{product}/rss_v2_0_msgs.xml?hl={hl}&q={q}";b=b.replace("{domain}",hdf["CGI.Host"]+hdf["CGI.PathPrefix"]);b=b.replace("{product}",hdf["BASE.ProductName"]);b=b.replace("{hl}",hdf["CGI.HL"]);return b=b.replace("{q}",Hb(a))}else return j};Dv.prototype.ac=function(a){return this.Na()==a.Na()&&this.Ba("forumUrl")==a.Ba("forumUrl")};
var Xv=function(){this.Vb=[];this.uc=-1;this.cs=new ax;this.cs.ms(this.YK.Y(this));this.si=k;this.Fa=new bx;this.ZF=J("wssmfm");this.Zf=J("wssmrt");X("cf.sourceSearchModule.setCurrentTab",this.mA.Y(this));X("cf.sourceSearchModule.search",this.search.Y(this));X("cf.sourceSearchModule.gotoPage",this.gotoPage.Y(this));X("cf.sourceSearchModule.drawResults",this.np.Y(this));X("cf.sourceSearchModule.getItemById",this.rm.Y(this));X("cf.sourceSearchModule.hideResults",this.wq.Y(this));this.QI()};p=Xv.prototype;
p.QI=function(){this.Vb.push(new cx);this.Vb.push(new dx);this.Vb.push(new ex);this.Vb.push(new fx);this.Vb.push(new gx);this.Vb.push(new hx);this.Vb.push(new ix)};p.mA=function(a){this.jB();var b=this.uc;this.uc=a;var c=this.Vb[a],e={Vb:this.Vb,uc:this.uc};this.ZF.innerHTML=c.Ef(e);this.mO();b!=-1&&this.SF();if(c.Mq()){f=new jx;this.yl(f)}else{var f=new kx;f.qd=c;f.ke=this.Fa.W();this.yl(f)}};p.tG=function(){return this.uc};
p.search=function(){this.jB();var a=new kx;a.qd=this.Vb[this.uc];a.ke=this.Fa.W();this.yl(a)};p.gotoPage=function(a){if(!this.QQ){var b=new kx;b.qd=this.Vb[this.uc];b.page=a;this.yl(b)}};
p.np=function(){if(!(this.si||this.uc<0)){var a=this.Vb[this.uc],b=a.fq();if(b.length==0){var c;{var e=new It;e.C('<div style="color: #808080;">Results not found.</div>');c=e.toString()}this.Zf.innerHTML=c;this.Zf.style.display="";this.Zf.className="wssmertCSS"}else{this.Zf.className="wssmsicCSS";var f=new mv;f.C(ju());var g=a.$G();g&&f.C(g);for(var h=0;h<b.length;++h){var l=b[h],m=new Lw;m.style=3;m.index=h;m.total=b.length;m.Et=Hu.mE(l);f.C(l.cc(m))}var n={Ak:a.Pg(),hK:b[0].Pc()};if(n.Ak||n.hK)f.C(iu(n));
this.Zf.innerHTML=f.toString()}}};p.wq=function(){this.Zf.style.display="none"};p.rm=function(a){return Mw(this.di(),a)};p.Vq=function(){return this.si};p.di=function(){if(this.si||this.uc<0)return[];var a=this.Vb[this.uc];return a.fq()};p.yl=function(a){if(a.ke&&!a.qd.ng(a.ke)||a instanceof jx){this.cs.Ct(new jx);this.si=k;J("wpiplb").style.visibility="hidden";this.wq()}else{this.cs.Ct(a);this.si=i;J("wpiplb").style.visibility="visible"}};
p.YK=function(){this.si=k;J("wpiplb").style.visibility="hidden";var a=this.Vb[this.uc];if(a.Mq()){this.Zf.style.display="none";var b=a.fq()[0];b&&Ev(b.wb())}else{this.np();this.Zf.style.display=""}};p.jB=function(){for(var a=this.Fa.mc(),b=0;b<a.length;++b){var c=a[b],e=J(c);e&&this.Fa.w(c,e.value)}};p.mO=function(){for(var a=this.Fa.mc(),b=0;b<a.length;++b){var c=a[b],e=J(c);if(e)e.value=this.Fa.t(c)||""}};p.SF=function(){for(var a=this.Fa.mc(),b=0;b<a.length;++b){var c=J(a[b]);if(c){try{c.focus()}catch(e){}return}}};
var kx=function(){this.page=this.ke=this.qd=j};kx.prototype.ac=function(a){return this.qd==a.qd&&this.ke.ac(a.ke)&&this.page==a.page};kx.prototype.pd=function(a){Ew(lx(this.ke,Ja(this.page)),"Invalid operation parameters.");this.qd.ms(a);var b=function(){this.ke?this.qd.qf(this.ke):this.qd.ug(this.page)};q.setTimeout(b.Y(this),0)};var jx=function(){kx.call(this)};jx.Ua(kx);jx.prototype.pd=function(){};var ax=function(){this.xg=this.un=this.lh=j;this.Ax=this.SK.Y(this)};p=ax.prototype;
p.ms=function(a){this.xg=a};p.Ct=function(a){if(this.lh)this.un=a.ac(this.lh)?j:a;else if(!(a instanceof jx)){this.lh=a;a.pd(this.Ax)}this.$y()};p.toString=function(){var a=new mv,b={running:this.lh,pending:this.un};for(var c in b){var e=b[c];a.C(c+": ");if(e){a.C("searcher="+e.qd+",");a.C("formInput="+e.ke+",");a.C("page="+e.page)}else a.C("null");a.C("; ")}return a.toString()};p.SK=function(){var a=this.lh,b=this.un;this.un=this.lh=j;!b&&this.xg&&this.xg(a);if(b&&!(b instanceof jx)){this.lh=b;b.pd(this.Ax)}this.$y()};
p.$y=function(){};var mx=function(){this.Fa=this.fc=this.xg=j},nx=k;p=mx.prototype;p.ms=function(a){this.xg=a};p.ng=function(){};p.qf=function(){};p.ug=function(){};p.fq=function(){return this.fc};p.Pg=function(){return j};p.Te=function(){};p.Ef=function(){};p.$G=function(){return j};p.Mq=function(){return k};p.Gc=function(){nx=i};p.fe=function(){nx=k;this.xg&&this.xg()};var ox=function(){this.total=this.current=0},bx=function(){sw.call(this,px)};bx.Ua(sw);
var px=["wsskws","wssurl"],ex=function(){mx.call(this);this.J=j};ex.Ua(mx);p=ex.prototype;p.ng=function(a){var b=a.t("wsskws");return!!b};p.qf=function(a){this.Gc();this.Fa=a.W();wu.load(2,this.$c.Y(this))};p.$c=function(){var a=this.Fa.t("wsskws");if(!this.J){this.J=new google.search.WebSearch;this.J.setNoHtmlGeneration();this.J.setResultSetSize(google.search.Search.SMALL_RESULTSET);this.J.setSearchCompleteCallback(this,this.hf.Y(this))}this.J.execute(a)};p.ug=function(a){this.Gc();this.J.gotoPage(a)};
p.hf=function(){var a=this.J.results;this.fc=[];for(var b=0;b<a.length;++b){var c=a[b],e=new yv;e.setProperty("title",Tb(c.titleNoFormatting));e.setProperty("titleHtml",c.title);e.setProperty("webUrl",c.unescapedUrl);e.setProperty("snippetHtml",c.content);e.setProperty("query",this.Fa.t("wsskws"));this.fc.push(e)}this.fe()};p.Pg=function(){return qx(this.J)};p.Te=function(a,b){var c={Ac:"Web",kg:a,bf:b};return hu(c)};p.Ef=function(a){return gu(a)};var fx=function(){mx.call(this);this.J=j};fx.Ua(mx);
p=fx.prototype;p.ng=function(a){var b=a.t("wsskws");return!!b};p.qf=function(a){this.Gc();this.Fa=a.W();wu.load(2,this.$c.Y(this))};p.$c=function(){var a=this.Fa.t("wsskws");if(!this.J){this.J=new google.search.ImageSearch;this.J.setNoHtmlGeneration();this.J.setResultSetSize(google.search.Search.SMALL_RESULTSET);this.J.setSearchCompleteCallback(this,this.hf.Y(this))}this.J.execute(a)};p.ug=function(a){this.Gc();this.J.gotoPage(a)};
p.hf=function(){var a=this.J.results;this.fc=[];for(var b=0;b<a.length;++b){var c=a[b],e=new zv;e.setProperty("title",Tb(c.titleNoFormatting));e.setProperty("titleHtml",c.title);e.setProperty("imageObjectUrl",c.unescapedUrl);e.setProperty("imageContextUrl",c.originalContextUrl);e.setProperty("thumbnailUrl",c.tbUrl);e.setProperty("snippetHtml",c.content);e.setProperty("width",c.width);e.setProperty("height",c.height);e.setProperty("query",this.Fa.t("wsskws"));this.fc.push(e)}this.fe()};p.Pg=function(){return qx(this.J)};
p.Te=function(a,b){var c={Ac:"Images",kg:a,bf:b};return hu(c)};p.Ef=function(a){return gu(a)};var ix=function(){mx.call(this);this.Gv=new ow;this.Zk=this.pc=this.qb=j;this.OO=5000};ix.Ua(mx);p=ix.prototype;p.ng=function(a){var b=a.t("wssurl");return!!b};
p.qf=function(a){this.Gc();this.Fa=a.W();var b=a.t("wssurl");b=Db(b);var c=b.indexOf("://"),e=c>=0?b.substring(0,c):"";if(!(e=="http"||e=="https"))if(e){var f=kv('"<?cs var:MSG.protocol ?>" protocol is not supported.',{"MSG.protocol":e});this.up(f);return}else b="http://"+b;this.qb=b;var g=this.Gv;g.clear();g.push(this.xP.Y(this));g.push(this.JI.Y(this));g.pop()};p.Te=function(a,b){var c={Ac:"URL",kg:a,bf:b};return hu(c)};
p.Ef=function(a){var b;{var c=new It;c.C("<table><tbody><tr><td><select onchange=\"CALL('cf.sourceSearchModule.setCurrentTab', this.value);\">");for(var e=a.Vb,f=e.length,g=0;g<f;g++){var h=e[g];c.C(h.Te(g,g==a.uc))}c.C('</select></td><td style="width: 350px; padding-right: 10px;"><input type=text id="wssurl" class=wssmqiCSS onkeypress="',du(),'"><div class=wssmlitCSS><b>Web or image URL</b>  e.g., "http://www.google.com/"</div></td><td style="vertical-align: top;">',eu({uB:"Add"}),'</td><td style="vertical-align: top; text-align: right;">',
fu(),"</td></tr></tbody></table>");b=c.toString()}return b};p.Mq=function(){return i};p.JI=function(){if(this.pc){document.body.removeChild(this.pc);this.pc=j}this.pc=document.createElement("img");this.pc.onload=this.GK.Y(this);this.pc.onerror=this.Ny.Y(this);this.pc.src=this.qb;this.pc.style.display="none";document.body.appendChild(this.pc);this.Zk=q.setTimeout(this.Ny.Y(this),this.OO)};
p.GK=function(){if(this.pc){this.pc.onload=j;this.pc.onerror=j}this.Zk&&q.clearTimeout(this.Zk);var a=new zv;a.setProperty("imageObjectUrl",this.qb);a.setProperty("thumbnailUrl",this.qb);this.fc=[a];this.fe()};p.Ny=function(){if(this.pc){this.pc.onload=j;this.pc.onerror=j}this.Zk&&q.clearTimeout(this.Zk);this.Gv.pop()};p.xP=function(){var a=new yv;a.setProperty("webUrl",this.qb);this.fc=[a];this.fe()};p.up=function(a){alert(a);this.fc=[];this.fe()};var gx=function(){mx.call(this);this.J=j};gx.Ua(mx);
p=gx.prototype;p.ng=function(a){var b=a.t("wsskws");return!!b};p.qf=function(a){this.Gc();this.Fa=a.W();wu.load(2,this.$c.Y(this))};p.$c=function(){var a=this.Fa.t("wsskws");if(!this.J){this.J=new google.search.VideoSearch;this.J.setNoHtmlGeneration();this.J.setResultSetSize(google.search.Search.SMALL_RESULTSET);this.J.setSearchCompleteCallback(this,this.hf.Y(this))}this.J.execute(a)};p.ug=function(a){this.Gc();this.J.gotoPage(a)};
p.hf=function(){var a=this.J.results;this.fc=[];for(var b=0;b<a.length;++b){var c=a[b],e=new Av;e.setProperty("title",Tb(c.titleNoFormatting));e.setProperty("titleHtml",c.title);e.setProperty("videoPageUrl",c.url);e.setProperty("videoObjectUrl",rx(Ib(c.playUrl)));e.setProperty("thumbnailUrl",c.tbUrl);e.setProperty("snippetHtml",c.content);e.setProperty("videoDuration",c.duration);e.setProperty("query",this.Fa.t("wsskws"));this.fc.push(e)}this.fe()};p.Pg=function(){return qx(this.J)};
p.Te=function(a,b){var c={Ac:"Videos",kg:a,bf:b};return hu(c)};p.Ef=function(a){return gu(a)};var hx=function(){mx.call(this);this.J=j};hx.Ua(mx);p=hx.prototype;p.ng=function(a){var b=a.t("wsskws");return!!b};p.qf=function(a){this.Gc();this.Fa=a.W();wu.load(2,this.$c.Y(this))};p.$c=function(){var a=this.Fa.t("wsskws");if(!this.J){this.J=new google.search.BlogSearch;this.J.setNoHtmlGeneration();this.J.setResultSetSize(google.search.Search.SMALL_RESULTSET);this.J.setSearchCompleteCallback(this,this.hf.Y(this))}this.J.execute(a)};
p.ug=function(a){this.Gc();this.J.gotoPage(a)};p.hf=function(){var a=this.J.results;this.fc=[];for(var b=0;b<a.length;++b){var c=a[b],e=new Bv;e.setProperty("title",Tb(c.titleNoFormatting));e.setProperty("titleHtml",c.title);e.setProperty("blogPostUrl",c.postUrl);e.setProperty("blogHomepageUrl",c.blogUrl);e.setProperty("snippetHtml",c.content);e.setProperty("authors",c.author);e.setProperty("date",sx(c.publishedDate));e.setProperty("query",this.Fa.t("wsskws"));this.fc.push(e)}this.fe()};p.Pg=function(){return qx(this.J)};
p.Te=function(a,b){var c={Ac:"Blogs",kg:a,bf:b};return hu(c)};p.Ef=function(a){return gu(a)};var cx=function(){mx.call(this);this.J=j};cx.Ua(mx);p=cx.prototype;p.ng=function(a){var b=a.t("wsskws");return!!b};p.qf=function(a){this.Gc();this.Fa=a.W();wu.load(2,this.$c.Y(this))};
p.$c=function(){var a=this.Fa.t("wsskws");if(!this.J){this.J=new google.search.WebSearch;this.J.setSiteRestriction("003125405486913854919:6ixdakj4aiq");this.J.setNoHtmlGeneration();this.J.setResultSetSize(google.search.Search.SMALL_RESULTSET);this.J.setSearchCompleteCallback(this,this.hf.Y(this))}this.J.execute(a)};p.ug=function(a){this.Gc();this.J.gotoPage(a)};
p.hf=function(){var a=this.J.results;this.fc=[];for(var b=0;b<a.length;++b){var c=a[b],e=new Cv;e.setProperty("title",Tb(c.titleNoFormatting));e.setProperty("titleHtml",c.title);e.setProperty("helpUrl",c.unescapedUrl);e.setProperty("snippetHtml",c.content);e.setProperty("query",this.Fa.t("wsskws"));this.fc.push(e)}this.fe()};p.Pg=function(){return qx(this.J)};p.Te=function(a,b){var c={Ac:"Help Articles",kg:a,bf:b};return hu(c)};p.Ef=function(a){return gu(a)};
var dx=function(){mx.call(this);this.hM=ev(hdf["BASE.ProductPath"]+Zu);this.rn=0;this.Gr="4";this.fz="8"};dx.Ua(mx);p=dx.prototype;p.ng=function(a){var b=a.t("wsskws");return!!b};p.qf=function(a){this.Gc();this.rn=0;this.Fa=a.W();wu.load(2,this.$c.Y(this))};
p.$c=function(){var a=this.Fa.t("wsskws"),b=new Wd;b.add("hl",hdf["CGI.HL"]);b.add("q",a);b.add("nonstandard_rss","1");b.add("sz",this.Gr);b.add("start",this.rn*this.Gr);var c=new fj;N(c,"success",this.Xy.Y(this));N(c,"error",this.Xy.Y(this));c.send(this.hM+"?"+b.toString(),"GET",j,j)};
p.Xy=function(a){this.fc=[];var b=new We(a.target.eq(),j),c=b.Ib("rss");if(c){var e=c.Ib("channel"),f=e.Hg(),g=e.Ib("totalResults").t();this.Hr=Math.ceil(g/this.Gr);if(this.Hr>this.fz)this.Hr=this.fz;for(var h=0;h<f.la();h++){var l=f.Ip(h);if(l.Oc()=="item"){var m=new Dv;m.setProperty("title",l.Ib("title").t());m.setProperty("titleHtml",Pb(l.Ib("title").t()));m.setProperty("forumUrl",l.Ib("link").t());var n=sx(l.Ib("pubDate").t());m.setProperty("snippetHtml",Pb(l.Ib("details").t())+"<br/>Author: "+
l.Ib("author").t()+" ("+Qt(n)+")");m.setProperty("query",this.Fa.t("wsskws"));this.fc.push(m)}}this.fe()}else this.fe()};p.ug=function(a){this.Gc();this.rn=a;this.$c()};p.Pg=function(){var a={current:this.rn,total:this.Hr};return a};p.Te=function(a,b){var c={Ac:"Help Forum",kg:a,bf:b};return hu(c)};p.Ef=function(a){return gu(a)};
var tx=["type","title","visibleUrl","invisibleUrl","query","webUrl","imageObjectUrl","imageContextUrl","width","height","videoObjectUrl","videoPageUrl","videoDuration","blogPostUrl","blogHomepageUrl","authors","date","helpUrl","helpProduct","forumUrl"],Nw=function(a){for(var b=[],c=0;c<a.length;++c){for(var e=a[c],f=[],g=0;g<tx.length;++g){var h=tx[g],l=e.Ba(h);if(!v(l)&&!Ja(l))l="";f.push(Hb(l))}var m=f.join("&");b.push(m)}return m=b.join("+")},Hw=function(a){for(var b=[],c=a.split("+"),e=0;e<c.length;++e){for(var f=
c[e].split("&"),g=0;g<f.length;++g)f[g]=Ib(f[g]);if(!(f.length<5)){var h=f[0],l=xv[h];if(l){var m=new l,n=Math.min(f.length,tx.length);for(g=0;g<n;++g){var o=tx[g],r=f[g];m.setProperty(o,r)}if(f.length==5)switch(m.Ba("type")){case "1":m.Dh("visibleUrl","webUrl");break;case "2":m.Dh("visibleUrl","imageObjectUrl");break;case "3":m.Dh("visibleUrl","videoPageUrl");m.Dh("invisibleUrl","videoObjectUrl");break;case "8":m.Dh("visibleUrl","helpUrl");break;case "16":m.Dh("visibleUrl","forumUrl");break;default:continue}b.push(m)}}}return b},
Mw=function(a,b){for(var c=0;c<a.length;++c){var e=a[c];if(e.wb()==b)return e}return j},qx=function(a){var b=a.cursor;if(b){var c=new ox;c.current=b.currentPageIndex;c.total=b.pages.length;return c}else return j},lx=function(a,b){return!!(a?!b:b)},Zw=function(a){if(!a)return"";var b=ux.exec(a+"/");if(b)a=b[1];return Zt(a,50)},ux=/^[^\:]+\:\/\/([^\/]+)\//,Zt=function(a,b){if(!a)return"";if(a.length>b)a=a.substring(0,b-"...".length)+"...";return a},Yw=function(a){if(a&&a.substring(0,11)=="javascript:")a=
"";return Zt(a,50)},Ev=function(a){var b=Iu.rm(a);if(b){Hu.Zc(b);Iu.np()}},rx=function(a){return a.replace(vx,"")},vx=/&autoplay=[0-9a-z]+/i,sx=function(a){var b;return b=a?(new Date(a)).valueOf():0};
 })();
