rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
if (isLoad == true && queryResult.enable_custom) { $("#content").prepend(myTemplateHtml); $("#tt_custom_select").append("<option></option>"); $("#tt_custom_save").click(onCustomSave); $("#tt_custom_delete").click(onCustomDelete); $("#tt_custom_select").change(onCustomChanged); $("#tt_custom_tip").click(onCustomTip); $("#tt_custom_select").val(""); }
function handleResponseQuery(result) { if (result == 0 || result == -1) { return; } queryResult = result; // fill custom template select var custom_names = []; for (name in queryResult.field_value_mapping_custom){ custom_names.push(name); } custom_names.sort(); for (i in custom_names){ var name = custom_names[i]; $("#tt_custom_select").append("<option>"+name+"</option>"); } // delete edit_buffer from my template $("#tt_custom_select option:contains('edit_buffer')").remove(); if (isLoad == true) { var evt = {"type": "change"}; // trigger type change $("#field-type").change(); if (result["warning"] == "1") { // apply template if first loaded var tt_name = $("#field-type").val(); // reset isLoad isLoad = false; } else { // apply template if first loaded // reset isLoad isLoad = false; } } }
c.find(a,this[f],b);if(f>0)for(var j=d;j<b.length;j++)for(var i=0;i<d;i++)if(b[i]===b[j]){b.splice(j--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ia(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ia(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,j=
c.contains=k.contains})();var Za=/Until$/,$a=/^(?:parents|prevUntil|prevAll)/,ab=/,/,Na=/^.[^:#\[\.,]*$/,bb=Array.prototype.slice,cb=c.expr.match.POS;c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,e=0,f=this.length;e<f;e++){d=b.length;c.find(a,this[e],b);if(e>0)for(var h=d;h<b.length;h++)for(var l=0;l<d;l++)if(b[l]===b[h]){b.splice(h--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},
c.find(a,this[f],b);if(f>0)for(var j=d;j<b.length;j++)for(var i=0;i<d;i++)if(b[i]===b[j]){b.splice(j--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ia(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ia(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,j=
a)}return d.grep(a,function(h){return d.inArray(h,b)>=0===e})};d.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),e=0,g=0,h=this.length;g<h;g++){e=b.length;d.find(a,this[g],b);if(g>0)for(var k=e;k<b.length;k++)for(var l=0;l<e;l++)if(b[l]===b[k]){b.splice(k--,1);break}}return b},has:function(a){var b=d(a);return this.filter(function(){for(var e=0,g=b.length;e<g;e++)if(d.contains(this,b[e]))return true})},not:function(a){return this.pushStack(ha(this,a,false),"not",a)},filter:function(a){return this.pushStack(ha(this,
has: function(a,i,m){return jQuery.find(m[3],a).length;},
a)}return d.grep(a,function(h){return d.inArray(h,b)>=0===e})};d.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),e=0,g=0,h=this.length;g<h;g++){e=b.length;d.find(a,this[g],b);if(g>0)for(var k=e;k<b.length;k++)for(var l=0;l<e;l++)if(b[l]===b[k]){b.splice(k--,1);break}}return b},has:function(a){var b=d(a);return this.filter(function(){for(var e=0,g=b.length;e<g;e++)if(d.contains(this,b[e]))return true})},not:function(a){return this.pushStack(ha(this,a,false),"not",a)},filter:function(a){return this.pushStack(ha(this,
"find",a),d=0,e=0,f=this.length;e<f;e++){d=b.length;c.find(a,this[e],b);if(e>0)for(var h=d;h<b.length;h++)for(var k=0;k<d;k++)if(b[k]===b[h]){b.splice(h--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(ka(this,a,false),"not",a)},filter:function(a){return this.pushStack(ka(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,
c.contains=k.contains})();var Za=/Until$/,$a=/^(?:parents|prevUntil|prevAll)/,ab=/,/,Na=/^.[^:#\[\.,]*$/,bb=Array.prototype.slice,cb=c.expr.match.POS;c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,e=0,f=this.length;e<f;e++){d=b.length;c.find(a,this[e],b);if(e>0)for(var h=d;h<b.length;h++)for(var l=0;l<d;l++)if(b[l]===b[h]){b.splice(h--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},
"find",a),d=0,e=0,f=this.length;e<f;e++){d=b.length;c.find(a,this[e],b);if(e>0)for(var h=d;h<b.length;h++)for(var k=0;k<d;k++)if(b[k]===b[h]){b.splice(h--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(ka(this,a,false),"not",a)},filter:function(a){return this.pushStack(ka(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,
if(l.contextMenu){l.contextMenu.addListener(function(p){if(p&&p.hasAscendant('form',true))return{form:2};});l.contextMenu.addListener(function(p){if(p){var q=p.getName();if(q=='select')return{select:2};if(q=='textarea')return{textarea:2};if(q=='input'){var r=p.getAttribute('type');if(r=='text'||r=='password')return{textfield:2};if(r=='button'||r=='submit'||r=='reset')return{button:2};if(r=='checkbox')return{checkbox:2};if(r=='radio')return{radio:2};if(r=='image')return{imagebutton:2};}if(q=='img'&&p.getAttribute('_cke_real_element_type')=='hiddenfield')return{hiddenfield:2};}});}},afterInit:function(l){if(c){var m=l.dataProcessor,n=m&&m.htmlFilter;n&&n.addRules({elements:{input:function(o){var p=o.attributes,q=p.type;if(q=='checkbox'||q=='radio')p.value=='on'&&delete p.value;}}});}},requires:['image']});if(c)h.prototype.hasAttribute=function(l){var o=this;var m=o.$.attributes.getNamedItem(l);if(o.getName()=='input')switch(l){case 'class':return o.$.className.length>0;case 'checked':return!!o.$.checked;case 'value':var n=o.getAttribute('type');if(n=='checkbox'||n=='radio')return o.$.value!='on';break;default:}return!!(m&&m.specified);};(function(){var l={canUndo:false,exec:function(n){n.insertElement(n.document.createElement('hr'));}},m='horizontalrule';j.add(m,{init:function(n){n.addCommand(m,l);n.ui.addButton('HorizontalRule',{label:n.lang.horizontalrule,command:m});}});})();(function(){var l=/^[\t\r\n ]*(?:&nbsp;|\xa0)$/,m='{cke_protected}';function n(O){var P=O.children.length,Q=O.children[P-1];while(Q&&Q.type==3&&!e.trim(Q.value))Q=O.children[--P];return Q;};function o(O,P){var Q=O.children,R=n(O);if(R){if((P||!c)&&R.type==1&&R.name=='br')Q.pop();if(R.type==3&&l.test(R.value))Q.pop();}};function p(O){var P=n(O);return!P||P.type==1&&P.name=='br'||O.name=='form'&&P.name=='input';};function q(O){o(O,true);if(p(O))if(c)O.add(new a.htmlParser.text('\xa0'));else O.add(new a.htmlParser.element('br',{}));};function r(O){o(O);if(p(O))O.add(new a.htmlParser.text('\xa0'));};var s=f,t=e.extend({},s.$block,s.$listItem,s.$tableContent);for(var u in t){if(!('br' in s[u]))delete t[u];}delete t.pre;var v={attributeNames:[[/^on/,'_cke_pa_on']]},w={elements:{}};for(u in t)w.elements[u]=q;var x={elementNames:[[/^cke:/,''],[/^\?xml:namespace$/,'']],attributeNames:[[/^_cke_(saved|pa)_/,''],[/^_cke.*/,''],['hidefocus','']],elements:{$:function(O){var P=O.attributes;if(P){if(P.cke_temp)return false;var Q=['name','href','src'],R;for(var S=0;S<Q.length;S++){R='_cke_saved_'+Q[S];
if(c)n&&n.addRules({elements:{input:function(p){var q=p.attributes,r=q.type;if(r=='checkbox'||r=='radio')q.value=='on'&&delete q.value;}}});if(o)o.addRules({elements:{input:function(p){if(p.attributes.type=='hidden')return l.createFakeParserElement(p,'cke_hidden','hiddenfield');}}});},requires:['image','fakeobjects']});if(c)h.prototype.hasAttribute=function(l){var o=this;var m=o.$.attributes.getNamedItem(l);if(o.getName()=='input')switch(l){case 'class':return o.$.className.length>0;case 'checked':return!!o.$.checked;case 'value':var n=o.getAttribute('type');if(n=='checkbox'||n=='radio')return o.$.value!='on';break;default:}return!!(m&&m.specified);};(function(){var l={canUndo:false,exec:function(n){n.insertElement(n.document.createElement('hr'));}},m='horizontalrule';j.add(m,{init:function(n){n.addCommand(m,l);n.ui.addButton('HorizontalRule',{label:n.lang.horizontalrule,command:m});}});})();(function(){var l=/^[\t\r\n ]*(?:&nbsp;|\xa0)$/,m='{cke_protected}';function n(R){var S=R.children.length,T=R.children[S-1];while(T&&T.type==3&&!e.trim(T.value))T=R.children[--S];return T;};function o(R,S){var T=R.children,U=n(R);if(U){if((S||!c)&&U.type==1&&U.name=='br')T.pop();if(U.type==3&&l.test(U.value))T.pop();}};function p(R){var S=n(R);return!S||S.type==1&&S.name=='br'||R.name=='form'&&S.name=='input';};function q(R){o(R,true);if(p(R))if(c)R.add(new a.htmlParser.text('\xa0'));else R.add(new a.htmlParser.element('br',{}));};function r(R){o(R);if(p(R))R.add(new a.htmlParser.text('\xa0'));};var s=f,t=e.extend({},s.$block,s.$listItem,s.$tableContent);for(var u in t){if(!('br' in s[u]))delete t[u];}delete t.pre;var v={elements:{},attributeNames:[[/^on/,'_cke_pa_on']]},w={elements:{}};for(u in t)w.elements[u]=q;var x={elementNames:[[/^cke:/,''],[/^\?xml:namespace$/,'']],attributeNames:[[/^_cke_(saved|pa)_/,''],[/^_cke.*/,''],['hidefocus','']],elements:{$:function(R){var S=R.attributes;if(S){if(S.cke_temp)return false;var T=['name','href','src'],U;for(var V=0;V<T.length;V++){U='_cke_saved_'+T[V];U in S&&delete S[T[V]];}}return R;},embed:function(R){var S=R.parent;if(S&&S.name=='object'){var T=S.attributes.width,U=S.attributes.height;T&&(R.attributes.width=T);U&&(R.attributes.height=U);}},param:function(R){R.children=[];R.isEmpty=true;return R;},a:function(R){if(!(R.children.length||R.attributes.name||R.attributes._cke_saved_name))return false;},html:function(R){delete R.attributes.contenteditable;delete R.attributes['class'];},body:function(R){delete R.attributes.spellcheck;
if(l.contextMenu){l.contextMenu.addListener(function(p){if(p&&p.hasAscendant('form',true))return{form:2};});l.contextMenu.addListener(function(p){if(p){var q=p.getName();if(q=='select')return{select:2};if(q=='textarea')return{textarea:2};if(q=='input'){var r=p.getAttribute('type');if(r=='text'||r=='password')return{textfield:2};if(r=='button'||r=='submit'||r=='reset')return{button:2};if(r=='checkbox')return{checkbox:2};if(r=='radio')return{radio:2};if(r=='image')return{imagebutton:2};}if(q=='img'&&p.getAttribute('_cke_real_element_type')=='hiddenfield')return{hiddenfield:2};}});}},afterInit:function(l){if(c){var m=l.dataProcessor,n=m&&m.htmlFilter;n&&n.addRules({elements:{input:function(o){var p=o.attributes,q=p.type;if(q=='checkbox'||q=='radio')p.value=='on'&&delete p.value;}}});}},requires:['image']});if(c)h.prototype.hasAttribute=function(l){var o=this;var m=o.$.attributes.getNamedItem(l);if(o.getName()=='input')switch(l){case 'class':return o.$.className.length>0;case 'checked':return!!o.$.checked;case 'value':var n=o.getAttribute('type');if(n=='checkbox'||n=='radio')return o.$.value!='on';break;default:}return!!(m&&m.specified);};(function(){var l={canUndo:false,exec:function(n){n.insertElement(n.document.createElement('hr'));}},m='horizontalrule';j.add(m,{init:function(n){n.addCommand(m,l);n.ui.addButton('HorizontalRule',{label:n.lang.horizontalrule,command:m});}});})();(function(){var l=/^[\t\r\n ]*(?:&nbsp;|\xa0)$/,m='{cke_protected}';function n(O){var P=O.children.length,Q=O.children[P-1];while(Q&&Q.type==3&&!e.trim(Q.value))Q=O.children[--P];return Q;};function o(O,P){var Q=O.children,R=n(O);if(R){if((P||!c)&&R.type==1&&R.name=='br')Q.pop();if(R.type==3&&l.test(R.value))Q.pop();}};function p(O){var P=n(O);return!P||P.type==1&&P.name=='br'||O.name=='form'&&P.name=='input';};function q(O){o(O,true);if(p(O))if(c)O.add(new a.htmlParser.text('\xa0'));else O.add(new a.htmlParser.element('br',{}));};function r(O){o(O);if(p(O))O.add(new a.htmlParser.text('\xa0'));};var s=f,t=e.extend({},s.$block,s.$listItem,s.$tableContent);for(var u in t){if(!('br' in s[u]))delete t[u];}delete t.pre;var v={attributeNames:[[/^on/,'_cke_pa_on']]},w={elements:{}};for(u in t)w.elements[u]=q;var x={elementNames:[[/^cke:/,''],[/^\?xml:namespace$/,'']],attributeNames:[[/^_cke_(saved|pa)_/,''],[/^_cke.*/,''],['hidefocus','']],elements:{$:function(O){var P=O.attributes;if(P){if(P.cke_temp)return false;var Q=['name','href','src'],R;for(var S=0;S<Q.length;S++){R='_cke_saved_'+Q[S];
hasBeginMusic: function() {
this.hasBeginMusic = function() {
hasBeginMusic: function() { return this.lines.length > 0; },
},
};
hasBeginMusic: function() { return this.lines.length > 0; },
a===false?"":d.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,e=this.length;b<e;b++)if((" "+this[b].className+" ").replace(ia," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===v){var b=this[0];if(b){if(d.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(d.nodeName(b,"select")){var e=b.selectedIndex,g=[],h=b.options;b=b.type==="select-one";if(e<0)return null;var k=b?e:0;for(e=b?e+1:h.length;k<e;k++){var l=h[k];if(l.selected){a=
l[q?"addClass":"removeClass"](h)}else if(e==="undefined"||e==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,e=this.length;b<e;b++)if((" "+this[b].className+" ").replace(ia," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===v){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,
a===false?"":d.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,e=this.length;b<e;b++)if((" "+this[b].className+" ").replace(ia," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===v){var b=this[0];if(b){if(d.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(d.nodeName(b,"select")){var e=b.selectedIndex,g=[],h=b.options;b=b.type==="select-one";if(e<0)return null;var k=b?e:0;for(e=b?e+1:h.length;k<e;k++){var l=h[k];if(l.selected){a=
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+O.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k,
g.isHidden(a)||g.fitToWindow(a,b,f,b,f)};this.Horizontal=1;this.Vertical=2;this.positionAtWidget=function(a,b,f,l){a=g.getElement(a);b=g.getElement(b);var n=g.widgetPageCoordinates(b),o;if(l){a.parentNode.removeChild(a);$(".Wt-domRoot").get(0).appendChild(a)}a.style.position="absolute";a.style.display="block";if(f==g.Horizontal){f=n.x+b.offsetWidth;l=n.y;o=n.x;b=n.y+b.offsetHeight}else{f=n.x;l=n.y+b.offsetHeight;o=n.x+b.offsetWidth;b=n.y}g.fitToWindow(a,f,l,o,b);a.style.visibility=""};this.hasFocus= function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+O.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k,h,s,A;if(!C.contentWindow||
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+O.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k,
g.isHidden(a)||g.fitToWindow(a,b,f,b,f)};this.Horizontal=1;this.Vertical=2;this.positionAtWidget=function(a,b,f,l){a=g.getElement(a);b=g.getElement(b);var n=g.widgetPageCoordinates(b),o;if(l){a.parentNode.removeChild(a);$(".Wt-domRoot").get(0).appendChild(a)}a.style.position="absolute";a.style.display="block";if(f==g.Horizontal){f=n.x+b.offsetWidth;l=n.y;o=n.x;b=n.y+b.offsetHeight}else{f=n.x;l=n.y+b.offsetHeight;o=n.x+b.offsetWidth;b=n.y}g.fitToWindow(a,f,l,o,b);a.style.visibility=""};this.hasFocus= function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+O.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k,h,s,A;if(!C.contentWindow||
o=n.x+b.offsetWidth;b=n.y}g.fitToWindow(a,f,l,o,b);a.style.visibility=""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+O.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();
g.isHidden(a)||g.fitToWindow(a,b,f,b,f)};this.Horizontal=1;this.Vertical=2;this.positionAtWidget=function(a,b,f,l){a=g.getElement(a);b=g.getElement(b);var n=g.widgetPageCoordinates(b),o;if(l){a.parentNode.removeChild(a);$(".Wt-domRoot").get(0).appendChild(a)}a.style.position="absolute";a.style.display="block";if(f==g.Horizontal){f=n.x+b.offsetWidth;l=n.y;o=n.x;b=n.y+b.offsetHeight}else{f=n.x;l=n.y+b.offsetHeight;o=n.x+b.offsetWidth;b=n.y}g.fitToWindow(a,f,l,o,b);a.style.visibility=""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+O.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k,h,s,A;if(!C.contentWindow||
function(a,b,f){a=g.getElement(a);g.isHidden(a)||g.fitToWindow(a,b,f,b,f)};this.Horizontal=1;this.Vertical=2;this.positionAtWidget=function(a,b,f,k){a=g.getElement(a);b=g.getElement(b);var h=g.widgetPageCoordinates(b),o;if(k){a.parentNode.removeChild(a);$(".Wt-domRoot").get(0).appendChild(a)}a.style.display="block";if(f==g.Horizontal){f=h.x+b.offsetWidth;k=h.y;o=h.x;b=h.y+b.offsetHeight}else{f=h.x;k=h.y+b.offsetHeight;o=h.x+b.offsetWidth;b=h.y}g.fitToWindow(a,f,k,o,b)};this.hasFocus=function(a){return a== document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){v.value=G+"|"+C;if(u)v.value+="|"+M.join(",")}function f(l){if(l){if(!l||C!==l){C=l||G;H(unescape(C))}}else{C=G;H(unescape(C))}}function k(l){var p;l='<html><body><div id="state">'+l+"</div></body></html>";try{p=F.contentWindow.document;p.open();p.write(l);p.close();return true}catch(q){return false}}function h(){var l,p,q,m;if(!F.contentWindow||!F.contentWindow.document)setTimeout(h,
a.style.visibility=""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var l,q;q=location.href;l=q.indexOf("#");return l>=0?q.substr(l+1):null}function b(){w.value=G+"|"+C;if(v)w.value+="|"+M.join(",")}function f(l){if(l){if(!l||C!==l){C=l||G;H(unescape(C))}}else{C=G;H(unescape(C))}}function k(l){var q;l='<html><body><div id="state">'+l+"</div></body></html>";try{q=F.contentWindow.document;q.open();q.write(l);q.close();return true}catch(r){return false}}
function(a,b,f){a=g.getElement(a);g.isHidden(a)||g.fitToWindow(a,b,f,b,f)};this.Horizontal=1;this.Vertical=2;this.positionAtWidget=function(a,b,f,k){a=g.getElement(a);b=g.getElement(b);var h=g.widgetPageCoordinates(b),o;if(k){a.parentNode.removeChild(a);$(".Wt-domRoot").get(0).appendChild(a)}a.style.display="block";if(f==g.Horizontal){f=h.x+b.offsetWidth;k=h.y;o=h.x;b=h.y+b.offsetHeight}else{f=h.x;k=h.y+b.offsetHeight;o=h.x+b.offsetWidth;b=h.y}g.fitToWindow(a,f,k,o,b)};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){v.value=G+"|"+C;if(u)v.value+="|"+M.join(",")}function f(l){if(l){if(!l||C!==l){C=l||G;H(unescape(C))}}else{C=G;H(unescape(C))}}function k(l){var p;l='<html><body><div id="state">'+l+"</div></body></html>";try{p=F.contentWindow.document;p.open();p.write(l);p.close();return true}catch(q){return false}}function h(){var l,p,q,m;if(!F.contentWindow||!F.contentWindow.document)setTimeout(h,
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+N.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k,
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+O.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k,
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+N.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k,
function(a,b,f){a=g.getElement(a);b=g.getElement(b);var h=g.widgetPageCoordinates(b),k,o;a.style.display="block";if(f==g.Horizontal){f=h.x+b.offsetWidth;k=h.y;o=h.x;b=h.y+b.offsetHeight}else{f=h.x;k=h.y+b.offsetHeight;o=h.x+b.offsetWidth;b=h.y}g.fitToWindow(a,f,k,o,b)};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){v.value=G+"|"+C;if(u)v.value+="|"+M.join(",")}function f(l){if(l){if(!l||
h]]="";a.style[x[k]]=f+"px";a.style[x[1-k]]=""};this.positionXY=function(a,b,f){a=g.getElement(a);g.isHidden(a)||g.fitToWindow(a,b,f,b,f)};this.Horizontal=1;this.Vertical=2;this.positionAtWidget=function(a,b,f){a=g.getElement(a);b=g.getElement(b);var h=g.widgetPageCoordinates(b),k,o;a.style.display="block";if(f==g.Horizontal){f=h.x+b.offsetWidth;k=h.y;o=h.x;b=h.y+b.offsetHeight}else{f=h.x;k=h.y+b.offsetHeight;o=h.x+b.offsetWidth;b=h.y}g.fitToWindow(a,f,k,o,b)};this.hasFocus=function(a){return a== document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){v.value=G+"|"+C;if(u)v.value+="|"+M.join(",")}function f(l){if(l){if(!l||C!==l){C=l||G;H(unescape(C))}}else{C=G;H(unescape(C))}}function h(l){var p;l='<html><body><div id="state">'+l+"</div></body></html>";try{p=F.contentWindow.document;p.open();p.write(l);p.close();return true}catch(q){return false}}function k(){var l,p,q,n;if(!F.contentWindow||!F.contentWindow.document)setTimeout(k,
function(a,b,f){a=g.getElement(a);b=g.getElement(b);var h=g.widgetPageCoordinates(b),k,o;a.style.display="block";if(f==g.Horizontal){f=h.x+b.offsetWidth;k=h.y;o=h.x;b=h.y+b.offsetHeight}else{f=h.x;k=h.y+b.offsetHeight;o=h.x+b.offsetWidth;b=h.y}g.fitToWindow(a,f,k,o,b)};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){v.value=G+"|"+C;if(u)v.value+="|"+M.join(",")}function f(l){if(l){if(!l||
b){return a.nodeType==1&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.remove=function(a){(a=g.getElement(a))&&a.parentNode.removeChild(a)};this.unstub=function(a,b,f){if(f==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.style.width=
b){return a.nodeType==1&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.remove=function(a){(a=g.getElement(a))&&a.parentNode.removeChild(a)};this.contains=function(a,b){for(b=b.parentNode;b!=null&&b.tagName.toLowerCase()!="body";){if(b==a)return true;b=b.parentNode}return false};this.unstub=function(a,b,f){if(f==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;
0){q=0;for(B=o.childNodes.length;q<B;){var r=l(o.childNodes[q++],L);r&&u.appendChild(r)}}return u;case 3:case 4:case 5:return document.createTextNode(o.nodeValue)}return null}if(g.isIE||_$_INNER_HTML_$_&&!f)if(f)a.innerHTML+=b;else a.innerHTML=b;else{var n;n=new DOMParser;n=n.parseFromString("<div>"+b+"</div>","application/xhtml+xml").documentElement;if(n.nodeType!=1)n=n.nextSibling;if(!f)a.innerHTML="";b=0;for(f=n.childNodes.length;b<f;)a.appendChild(l(n.childNodes[b++],true))}};this.hasTag=function(a,b){return a.nodeType==1&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.remove=function(a){(a=g.getElement(a))&&a.parentNode.removeChild(a)};this.unstub=function(a,b,f){if(f==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.style.width=
case 3:case 4:case 5:return document.createTextNode(n.nodeValue)}return null}if(h.isIE||_$_INNER_HTML_$_&&!e)if(e)a.innerHTML+=b;else a.innerHTML=b;else{var i;i=new DOMParser;i=i.parseFromString("<div>"+b+"</div>","application/xhtml+xml").documentElement;if(i.nodeType!=1)i=i.nextSibling;if(!e)a.innerHTML="";b=0;for(e=i.childNodes.length;b<e;)a.appendChild(k(i.childNodes[b++],true))}};this.hasTag=function(a,b){return a.nodeType==1&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,e){a.childNodes.length==
case 3:case 4:case 5:return document.createTextNode(n.nodeValue)}return null}if(g.isIE||_$_INNER_HTML_$_&&!e)if(e)a.innerHTML+=b;else a.innerHTML=b;else{var i;i=new DOMParser;i=i.parseFromString("<div>"+b+"</div>","application/xhtml+xml").documentElement;if(i.nodeType!=1)i=i.nextSibling;if(!e)a.innerHTML="";b=0;for(e=i.childNodes.length;b<e;)a.appendChild(j(i.childNodes[b++],true))}};this.hasTag=function(a,b){return a.nodeType==1&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,e){a.childNodes.length==
case 3:case 4:case 5:return document.createTextNode(n.nodeValue)}return null}if(h.isIE||_$_INNER_HTML_$_&&!e)if(e)a.innerHTML+=b;else a.innerHTML=b;else{var i;i=new DOMParser;i=i.parseFromString("<div>"+b+"</div>","application/xhtml+xml").documentElement;if(i.nodeType!=1)i=i.nextSibling;if(!e)a.innerHTML="";b=0;for(e=i.childNodes.length;b<e;)a.appendChild(k(i.childNodes[b++],true))}};this.hasTag=function(a,b){return a.nodeType==1&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,e){a.childNodes.length==
case 3:case 4:case 5:return document.createTextNode(n.nodeValue)}return null}if(g.isIE||_$_INNER_HTML_$_&&!e)if(e)a.innerHTML+=b;else a.innerHTML=b;else{var i;i=new DOMParser;i=i.parseFromString("<div>"+b+"</div>","application/xhtml+xml").documentElement;if(i.nodeType!=1)i=i.nextSibling;if(!e)a.innerHTML="";b=0;for(e=i.childNodes.length;b<e;)a.appendChild(k(i.childNodes[b++],true))}};this.hasTag=function(a,b){return a.nodeType==1&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,e){a.childNodes.length==
case 3:case 4:case 5:return document.createTextNode(n.nodeValue)}return null}if(h.isIE||_$_INNER_HTML_$_&&!e)if(e)a.innerHTML+=b;else a.innerHTML=b;else{var i;i=new DOMParser;i=i.parseFromString("<div>"+b+"</div>","application/xhtml+xml").documentElement;if(i.nodeType!=1)i=i.nextSibling;if(!e)a.innerHTML="";b=0;for(e=i.childNodes.length;b<e;)a.appendChild(k(i.childNodes[b++],true))}};this.hasTag=function(a,b){return a.nodeType==1&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,e){a.childNodes.length==
case 3:case 4:case 5:return document.createTextNode(n.nodeValue)}return null}if(g.isIE||_$_INNER_HTML_$_&&!e)if(e)a.innerHTML+=b;else a.innerHTML=b;else{var i;i=new DOMParser;i=i.parseFromString("<div>"+b+"</div>","application/xhtml+xml").documentElement;if(i.nodeType!=1)i=i.nextSibling;if(!e)a.innerHTML="";b=0;for(e=i.childNodes.length;b<e;)a.appendChild(k(i.childNodes[b++],true))}};this.hasTag=function(a,b){return a.nodeType==1&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,e){a.childNodes.length==
this.hasTag=function(a,b){return a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.unstub=function(a,b,f){if(f==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.style.width=a.style.width};this.unwrap=function(a){a=k.getElement(a);
"application/xhtml+xml").documentElement;if(l.nodeType!=1)l=l.nextSibling;if(!f)a.innerHTML="";b=0;for(f=l.childNodes.length;b<f;)a.appendChild(m(l.childNodes[b++],true))}};this.hasTag=function(a,b){return a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.unstub=function(a,b,f){if(f==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;
this.hasTag=function(a,b){return a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.unstub=function(a,b,f){if(f==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.style.width=a.style.width};this.unwrap=function(a){a=k.getElement(a);
if (options.get("activate").has("all", "help"))
if (!options["activate"] || options.get("activate").has("all", "help"))
help: function (topic, unchunked) { if (!topic) { let helpFile = unchunked ? "all" : options["helpfile"]; if (helpFile in services.get("liberator:").FILE_MAP) liberator.open("liberator://help/" + helpFile, { from: "help" }); else liberator.echomsg("Sorry, help file " + helpFile.quote() + " not found"); return; } let page = this.findHelp(topic, unchunked); liberator.assert(page != null, "E149: Sorry, no help for " + topic); liberator.open("liberator://help/" + page, { from: "help" }); if (options.get("activate").has("all", "help")) content.postMessage("fragmentChange", "*"); },
"1"}else if(a.currentStyle){e=b.replace(oa,qa);g=a.currentStyle[b]||a.currentStyle[e];if(!Qa.test(g)&&Ra.test(g)){b=h.left;var k=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;h.left=e==="fontSize"?"1em":g||0;g=h.pixelLeft+"px";h.left=b;a.runtimeStyle.left=k}}return g},swap:function(a,b,e){var g={};for(var h in b){g[h]=a.style[h];a.style[h]=b[h]}e.call(a);for(h in b)a.style[h]=g[h]}});if(d.expr&&d.expr.filters){d.expr.filters.hidden=function(a){var b=a.offsetWidth,e=a.offsetHeight,g= a.nodeName.toLowerCase()==="tr";return b===0&&e===0&&!g?true:b>0&&e>0&&!g?false:d.curCSS(a,"display")==="none"};d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)}}x.jQuery=x.$=d})(window);
hidden: function(a){return "hidden"==a.type||jQuery.css(a,"display")=="none"||jQuery.css(a,"visibility")=="hidden";},
"1"}else if(a.currentStyle){e=b.replace(oa,qa);g=a.currentStyle[b]||a.currentStyle[e];if(!Qa.test(g)&&Ra.test(g)){b=h.left;var k=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;h.left=e==="fontSize"?"1em":g||0;g=h.pixelLeft+"px";h.left=b;a.runtimeStyle.left=k}}return g},swap:function(a,b,e){var g={};for(var h in b){g[h]=a.style[h];a.style[h]=b[h]}e.call(a);for(h in b)a.style[h]=g[h]}});if(d.expr&&d.expr.filters){d.expr.filters.hidden=function(a){var b=a.offsetWidth,e=a.offsetHeight,g=a.nodeName.toLowerCase()==="tr";return b===0&&e===0&&!g?true:b>0&&e>0&&!g?false:d.curCSS(a,"display")==="none"};d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)}}x.jQuery=x.$=d})(window);
(function(c){var d=[];c.tools=c.tools||{};c.tools.tooltip={version:"1.1.3",conf:{effect:"toggle",fadeOutSpeed:"fast",tip:null,predelay:0,delay:30,opacity:1,lazy:undefined,position:["top","center"],offset:[0,0],cancelDefault:true,relative:false,oneInstance:true,events:{def:"mouseover,mouseout",input:"focus,blur",widget:"focus mouseover,blur mouseout",tooltip:"mouseover,mouseout"},api:false},addEffect:function(e,g,f){b[e]=[g,f]}};var b={toggle:[function(e){var f=this.getConf(),g=this.getTip(),h=f.opacity;if(h<1){g.css({opacity:h})}g.show();e.call()},function(e){this.getTip().hide();e.call()}],fade:[function(e){this.getTip().fadeIn(this.getConf().fadeInSpeed,e)},function(e){this.getTip().fadeOut(this.getConf().fadeOutSpeed,e)}]};function a(f,g){var p=this,k=c(this);f.data("tooltip",p);var l=f.next();if(g.tip){l=c(g.tip);if(l.length>1){l=f.nextAll(g.tip).eq(0);if(!l.length){l=f.parent().nextAll(g.tip).eq(0)}}}function o(u){var t=g.relative?f.position().top:f.offset().top,s=g.relative?f.position().left:f.offset().left,v=g.position[0];t-=l.outerHeight()-g.offset[0];s+=f.outerWidth()+g.offset[1];var q=l.outerHeight()+f.outerHeight();if(v=="center"){t+=q/2}if(v=="bottom"){t+=q}v=g.position[1];var r=l.outerWidth()+f.outerWidth();if(v=="center"){s-=r/2}if(v=="left"){s-=r}return{top:t,left:s}}var i=f.is(":input"),e=i&&f.is(":checkbox, :radio, select, :button"),h=f.attr("type"),n=g.events[h]||g.events[i?(e?"widget":"input"):"def"];n=n.split(/,\s*/);if(n.length!=2){throw"Tooltip: bad events configuration for "+h}f.bind(n[0],function(r){if(g.oneInstance){c.each(d,function(){this.hide()})}var q=l.data("trigger");if(q&&q[0]!=this){l.hide().stop(true,true)}r.target=this;p.show(r);n=g.events.tooltip.split(/,\s*/);l.bind(n[0],function(){p.show(r)});if(n[1]){l.bind(n[1],function(){p.hide(r)})}});f.bind(n[1],function(q){p.hide(q)});if(!c.browser.msie&&!i&&!g.predelay){f.mousemove(function(){if(!p.isShown()){f.triggerHandler("mouseover")}})}if(g.opacity<1){l.css("opacity",g.opacity)}var m=0,j=f.attr("title");if(j&&g.cancelDefault){f.removeAttr("title");f.data("title",j)}c.extend(p,{show:function(r){if(r){f=c(r.target)}clearTimeout(l.data("timer"));if(l.is(":animated")||l.is(":visible")){return p}function q(){l.data("trigger",f);var t=o(r);if(g.tip&&j){l.html(f.data("title"))}r=r||c.Event();r.type="onBeforeShow";k.trigger(r,[t]);if(r.isDefaultPrevented()){return p}t=o(r);l.css({position:"absolute",top:t.top,left:t.left});var s=b[g.effect];if(!s){throw'Nonexistent effect "'+g.effect+'"'}s[0].call(p,function(){r.type="onShow";k.trigger(r)})}if(g.predelay){clearTimeout(m);m=setTimeout(q,g.predelay)}else{q()}return p},hide:function(r){clearTimeout(l.data("timer"));clearTimeout(m);if(!l.is(":visible")){return}function q(){r=r||c.Event();r.type="onBeforeHide";k.trigger(r);if(r.isDefaultPrevented()){return}b[g.effect][1].call(p,function(){r.type="onHide";k.trigger(r)})}if(g.delay&&r){l.data("timer",setTimeout(q,g.delay))}else{q()}return p},isShown:function(){return l.is(":visible, :animated")},getConf:function(){return g},getTip:function(){return l},getTrigger:function(){return f},bind:function(q,r){k.bind(q,r);return p},onHide:function(q){return this.bind("onHide",q)},onBeforeShow:function(q){return this.bind("onBeforeShow",q)},onShow:function(q){return this.bind("onShow",q)},onBeforeHide:function(q){return this.bind("onBeforeHide",q)},unbind:function(q){k.unbind(q);return p}});c.each(g,function(q,r){if(c.isFunction(r)){p.bind(q,r)}})}c.prototype.tooltip=function(e){var f=this.eq(typeof e=="number"?e:0).data("tooltip");if(f){return f}var g=c.extend(true,{},c.tools.tooltip.conf);if(c.isFunction(e)){e={onBeforeShow:e}}else{if(typeof e=="string"){e={tip:e}}}e=c.extend(true,g,e);if(typeof e.position=="string"){e.position=e.position.split(/,?\s/)}if(e.lazy!==false&&(e.lazy===true||this.length>20)){this.one("mouseover",function(h){f=new a(c(this),e);f.show(h);d.push(f)})}else{this.each(function(){f=new a(c(this),e);d.push(f)})}return e.api?f:this}})(jQuery);
h.trigger(e,[g]);if(e.isDefaultPrevented())return c;g=p(a,d,b);d.css({position:"absolute",top:g.top,left:g.left});l=true;r[0].call(c,function(){e.type="onShow";l="full";h.trigger(e)});g=b.events.tooltip.split(/,\s*/);if(!d.data("__set")){d.bind(g[0],function(){clearTimeout(i);clearTimeout(j)});g[1]&&!a.is("input:not(:checkbox, :radio), textarea")&&d.bind(g[1],function(n){n.relatedTarget!=a[0]&&a.trigger(k[1].split(" ")[0])});d.data("__set",true)}return c},hide:function(e){if(!d||!c.isShown())return c; e=e||f.Event();e.type="onBeforeHide";h.trigger(e);if(!e.isDefaultPrevented()){l=false;o[b.effect][1].call(c,function(){e.type="onHide";h.trigger(e)});return c}},isShown:function(e){return e?l=="full":l},getConf:function(){return b},getTip:function(){return d},getTrigger:function(){return a}});f.each("onHide,onBeforeShow,onShow,onBeforeHide".split(","),function(e,g){f.isFunction(b[g])&&f(c).bind(g,b[g]);c[g]=function(n){n&&f(c).bind(g,n);return c}})}f.tools=f.tools||{version:"1.2.5"};f.tools.tooltip=
(function(c){var d=[];c.tools=c.tools||{};c.tools.tooltip={version:"1.1.3",conf:{effect:"toggle",fadeOutSpeed:"fast",tip:null,predelay:0,delay:30,opacity:1,lazy:undefined,position:["top","center"],offset:[0,0],cancelDefault:true,relative:false,oneInstance:true,events:{def:"mouseover,mouseout",input:"focus,blur",widget:"focus mouseover,blur mouseout",tooltip:"mouseover,mouseout"},api:false},addEffect:function(e,g,f){b[e]=[g,f]}};var b={toggle:[function(e){var f=this.getConf(),g=this.getTip(),h=f.opacity;if(h<1){g.css({opacity:h})}g.show();e.call()},function(e){this.getTip().hide();e.call()}],fade:[function(e){this.getTip().fadeIn(this.getConf().fadeInSpeed,e)},function(e){this.getTip().fadeOut(this.getConf().fadeOutSpeed,e)}]};function a(f,g){var p=this,k=c(this);f.data("tooltip",p);var l=f.next();if(g.tip){l=c(g.tip);if(l.length>1){l=f.nextAll(g.tip).eq(0);if(!l.length){l=f.parent().nextAll(g.tip).eq(0)}}}function o(u){var t=g.relative?f.position().top:f.offset().top,s=g.relative?f.position().left:f.offset().left,v=g.position[0];t-=l.outerHeight()-g.offset[0];s+=f.outerWidth()+g.offset[1];var q=l.outerHeight()+f.outerHeight();if(v=="center"){t+=q/2}if(v=="bottom"){t+=q}v=g.position[1];var r=l.outerWidth()+f.outerWidth();if(v=="center"){s-=r/2}if(v=="left"){s-=r}return{top:t,left:s}}var i=f.is(":input"),e=i&&f.is(":checkbox, :radio, select, :button"),h=f.attr("type"),n=g.events[h]||g.events[i?(e?"widget":"input"):"def"];n=n.split(/,\s*/);if(n.length!=2){throw"Tooltip: bad events configuration for "+h}f.bind(n[0],function(r){if(g.oneInstance){c.each(d,function(){this.hide()})}var q=l.data("trigger");if(q&&q[0]!=this){l.hide().stop(true,true)}r.target=this;p.show(r);n=g.events.tooltip.split(/,\s*/);l.bind(n[0],function(){p.show(r)});if(n[1]){l.bind(n[1],function(){p.hide(r)})}});f.bind(n[1],function(q){p.hide(q)});if(!c.browser.msie&&!i&&!g.predelay){f.mousemove(function(){if(!p.isShown()){f.triggerHandler("mouseover")}})}if(g.opacity<1){l.css("opacity",g.opacity)}var m=0,j=f.attr("title");if(j&&g.cancelDefault){f.removeAttr("title");f.data("title",j)}c.extend(p,{show:function(r){if(r){f=c(r.target)}clearTimeout(l.data("timer"));if(l.is(":animated")||l.is(":visible")){return p}function q(){l.data("trigger",f);var t=o(r);if(g.tip&&j){l.html(f.data("title"))}r=r||c.Event();r.type="onBeforeShow";k.trigger(r,[t]);if(r.isDefaultPrevented()){return p}t=o(r);l.css({position:"absolute",top:t.top,left:t.left});var s=b[g.effect];if(!s){throw'Nonexistent effect "'+g.effect+'"'}s[0].call(p,function(){r.type="onShow";k.trigger(r)})}if(g.predelay){clearTimeout(m);m=setTimeout(q,g.predelay)}else{q()}return p},hide:function(r){clearTimeout(l.data("timer"));clearTimeout(m);if(!l.is(":visible")){return}function q(){r=r||c.Event();r.type="onBeforeHide";k.trigger(r);if(r.isDefaultPrevented()){return}b[g.effect][1].call(p,function(){r.type="onHide";k.trigger(r)})}if(g.delay&&r){l.data("timer",setTimeout(q,g.delay))}else{q()}return p},isShown:function(){return l.is(":visible, :animated")},getConf:function(){return g},getTip:function(){return l},getTrigger:function(){return f},bind:function(q,r){k.bind(q,r);return p},onHide:function(q){return this.bind("onHide",q)},onBeforeShow:function(q){return this.bind("onBeforeShow",q)},onShow:function(q){return this.bind("onShow",q)},onBeforeHide:function(q){return this.bind("onBeforeHide",q)},unbind:function(q){k.unbind(q);return p}});c.each(g,function(q,r){if(c.isFunction(r)){p.bind(q,r)}})}c.prototype.tooltip=function(e){var f=this.eq(typeof e=="number"?e:0).data("tooltip");if(f){return f}var g=c.extend(true,{},c.tools.tooltip.conf);if(c.isFunction(e)){e={onBeforeShow:e}}else{if(typeof e=="string"){e={tip:e}}}e=c.extend(true,g,e);if(typeof e.position=="string"){e.position=e.position.split(/,?\s/)}if(e.lazy!==false&&(e.lazy===true||this.length>20)){this.one("mouseover",function(h){f=new a(c(this),e);f.show(h);d.push(f)})}else{this.each(function(){f=new a(c(this),e);d.push(f)})}return e.api?f:this}})(jQuery);
g.px(a,"borderLeftWidth")-g.px(a,"borderRightWidth")-g.px(a.parentNode,"paddingLeft")-g.px(a.parentNode,"paddingRight");b=U(b,0);f=U(f,1E5);return l<b?b-1:l>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=""};var z=null;this.firedTarget=null;this.target=
"body"?g.isHidden(a):false}};this.IEwidth=function(a,b,f){if(a.parentNode){var l=a.parentNode.clientWidth-g.px(a,"marginLeft")-g.px(a,"marginRight")-g.px(a,"borderLeftWidth")-g.px(a,"borderRightWidth")-g.px(a.parentNode,"paddingLeft")-g.px(a.parentNode,"paddingRight");b=U(b,0);f=U(f,1E5);return l<b?b-1:l>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display=
g.px(a,"borderLeftWidth")-g.px(a,"borderRightWidth")-g.px(a.parentNode,"paddingLeft")-g.px(a.parentNode,"paddingRight");b=U(b,0);f=U(f,1E5);return l<b?b-1:l>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=""};var z=null;this.firedTarget=null;this.target=
$(window).unbind("click.dp"); $(document).unbind("keydown.dp");
$(window).unbind("click.d"); $(document).unbind("keydown.d");
hide: function(e) { if (root.is(":visible")) { root.hide(); $(window).unbind("click.dp"); $(document).unbind("keydown.dp"); // onHide e = e || $.Event(); e.type = "onHide"; fire.trigger(e); } return self; },
if (opened) { root.hide(); $(document).unbind("click.d").unbind("keydown.d");
if (opened) {
hide: function(e) { if (opened) { root.hide(); $(document).unbind("click.d").unbind("keydown.d"); // onHide opened = false; e = e || $.Event(); e.type = "onHide"; fire.trigger(e); } return self; },
opened = false;
hide: function(e) { if (opened) { root.hide(); $(document).unbind("click.d").unbind("keydown.d"); // onHide opened = false; e = e || $.Event(); e.type = "onHide"; fire.trigger(e); } return self; },
$(document).unbind("click.d").unbind("keydown.d"); if (e.isDefaultPrevented()) { return; } root.hide(); opened = false;
hide: function(e) { if (opened) { root.hide(); $(document).unbind("click.d").unbind("keydown.d"); // onHide opened = false; e = e || $.Event(); e.type = "onHide"; fire.trigger(e); } return self; },
"paddingRight"),k=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(k=k&&k.length==2?k[1]:"0")?parseFloat(k):0;f=(k=(k=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(f))&&k.length==2?k[1]:"100000")?parseFloat(k):1E5;return h<b?b-1:h>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=
a.parentNode.clientWidth-g.px(a,"marginLeft")-g.px(a,"marginRight")-g.px(a,"borderLeftWidth")-g.px(a,"borderRightWidth")-g.px(a.parentNode,"paddingLeft")-g.px(a.parentNode,"paddingRight"),k=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(k=k&&k.length==2?k[1]:"0")?parseFloat(k):0;f=(k=(k=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(f))&&k.length==2?k[1]:"100000")?parseFloat(k):1E5;return h<b?b-1:h>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display= "none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=""};var B=null,S=false,Y=false;this.capture=function(a){ca();if(!(B&&a)){B=a;var b=document.body;if(b.setCapture)a!=null?b.setCapture():b.releaseCapture();if(a!=null){$(b).addClass("unselectable");b.setAttribute("unselectable","on");b.onselectstart="return false;"}else{$(b).removeClass("unselectable");b.setAttribute("unselectable",
"paddingRight"),k=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(k=k&&k.length==2?k[1]:"0")?parseFloat(k):0;f=(k=(k=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(f))&&k.length==2?k[1]:"100000")?parseFloat(k):1E5;return h<b?b-1:h>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=
this.hide=function(a){k.getElement(a).style.display="none"};this.inline=function(a){k.getElement(a).style.display="inline"};this.block=function(a){k.getElement(a).style.display="block"};this.show=function(a){k.getElement(a).style.display=""};var G=null,P=false;this.capture=function(a){F();G=a;var b=document.body;if(b.setCapture)a!=null?b.setCapture():b.releaseCapture();if(a!=null){b.className="unselectable";b.setAttribute("unselectable","on");b.onselectstart="return false;"}else{b.className="";b.setAttribute("unselectable",
k.px(a,"marginLeft")-k.px(a,"marginRight")-k.px(a,"borderLeftWidth")-k.px(a,"borderRightWidth")-k.px(a.parentNode,"paddingLeft")-k.px(a.parentNode,"paddingRight"),l=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(l=l&&l.length==2?l[1]:"0")?parseFloat(l):0;f=(l=(l=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(f))&&l.length==2?l[1]:"100000")?parseFloat(l):1E5;return m<b?b-1:m>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){k.getElement(a).style.display="none"};this.inline=function(a){k.getElement(a).style.display=
this.hide=function(a){k.getElement(a).style.display="none"};this.inline=function(a){k.getElement(a).style.display="inline"};this.block=function(a){k.getElement(a).style.display="block"};this.show=function(a){k.getElement(a).style.display=""};var G=null,P=false;this.capture=function(a){F();G=a;var b=document.body;if(b.setCapture)a!=null?b.setCapture():b.releaseCapture();if(a!=null){b.className="unselectable";b.setAttribute("unselectable","on");b.onselectstart="return false;"}else{b.className="";b.setAttribute("unselectable",
if(!c&&l!=m)return false;for(var n=0;n<l;n++){var o=j[n];if((!c||o.specified&&o.nodeName!='_cke_expando')&&o.nodeValue!=i.getAttribute(o.nodeName))return false;}if(c)for(n=0;n<m;n++){o=k[n];if(o.specified&&o.nodeName!='_cke_expando'&&o.nodeValue!=this.getAttribute(o.nodeName))return false;}return true;},isVisible:function(){var i=!!this.$.offsetHeight&&this.getComputedStyle('visibility')!='hidden',j,k;if(i&&(b.webkit||b.opera)){j=this.getWindow();if(!j.equals(a.document.getWindow())&&(k=j.$.frameElement))i=new h(k).isVisible();}return i;},hasAttributes:c&&(b.ie7Compat||b.ie6Compat)?function(){var i=this.$.attributes;for(var j=0;j<i.length;j++){var k=i[j];switch(k.nodeName){case 'class':if(this.getAttribute('class'))return true;case '_cke_expando':continue;default:if(k.specified)return true;}}return false;}:function(){var i=this.$.attributes;return i.length>1||i.length==1&&i[0].nodeName!='_cke_expando';},hasAttribute:function(i){var j=this.$.attributes.getNamedItem(i);return!!(j&&j.specified);},hide:function(){this.setStyle('display','none');},moveChildren:function(i,j){var k=this.$;i=i.$;if(k==i)return;var l;if(j)while(l=k.lastChild)i.insertBefore(k.removeChild(l),i.firstChild);else while(l=k.firstChild)i.appendChild(k.removeChild(l));},show:function(){this.setStyles({display:'',visibility:''});},setAttribute:(function(){var i=function(j,k){this.$.setAttribute(j,k);return this;};if(c&&(b.ie7Compat||b.ie6Compat))return function(j,k){var l=this;if(j=='class')l.$.className=k;else if(j=='style')l.$.style.cssText=k;else if(j=='tabindex')l.$.tabIndex=k;else if(j=='checked')l.$.checked=k;else i.apply(l,arguments);return l;};else return i;})(),setAttributes:function(i){for(var j in i)this.setAttribute(j,i[j]);return this;},setValue:function(i){this.$.value=i;return this;},removeAttribute:(function(){var i=function(j){this.$.removeAttribute(j);};if(c&&(b.ie7Compat||b.ie6Compat))return function(j){if(j=='class')j='className';else if(j=='tabindex')j='tabIndex';i.call(this,j);};else return i;})(),removeAttributes:function(i){if(e.isArray(i))for(var j=0;j<i.length;j++)this.removeAttribute(i[j]);else for(var k in i)i.hasOwnProperty(k)&&this.removeAttribute(k);},removeStyle:function(i){var j=this;j.setStyle(i,'');if(j.$.style.removeAttribute)j.$.style.removeAttribute(e.cssStyleToDomStyle(i));if(!j.$.style.cssText)j.removeAttribute('style');},setStyle:function(i,j){this.$.style[e.cssStyleToDomStyle(i)]=j;return this;},setStyles:function(i){for(var j in i)this.setStyle(j,i[j]);
},is:function(){var i=this.getName();for(var j=0;j<arguments.length;j++){if(arguments[j]==i)return true;}return false;},isEditable:function(){var i=this.getName(),j=!f.$nonEditable[i]&&(f[i]||f.span);return j&&j['#'];},isIdentical:function(i){if(this.getName()!=i.getName())return false;var j=this.$.attributes,k=i.$.attributes,l=j.length,m=k.length;if(!c&&l!=m)return false;for(var n=0;n<l;n++){var o=j[n];if((!c||o.specified&&o.nodeName!='_cke_expando')&&o.nodeValue!=i.getAttribute(o.nodeName))return false;}if(c)for(n=0;n<m;n++){o=k[n];if(o.specified&&o.nodeName!='_cke_expando'&&o.nodeValue!=this.getAttribute(o.nodeName))return false;}return true;},isVisible:function(){var i=!!this.$.offsetHeight&&this.getComputedStyle('visibility')!='hidden',j,k;if(i&&(b.webkit||b.opera)){j=this.getWindow();if(!j.equals(a.document.getWindow())&&(k=j.$.frameElement))i=new h(k).isVisible();}return i;},isEmptyInlineRemoveable:function(){if(!f.$removeEmpty[this.getName()])return false;var i=this.getChildren();for(var j=0,k=i.count();j<k;j++){var l=i.getItem(j);if(l.type==1&&l.getAttribute('_cke_bookmark'))continue;if(l.type==1&&!l.isEmptyInlineRemoveable()||l.type==3&&e.trim(l.getText()))return false;}return true;},hasAttributes:c&&(b.ie7Compat||b.ie6Compat)?function(){var i=this.$.attributes;for(var j=0;j<i.length;j++){var k=i[j];switch(k.nodeName){case 'class':if(this.getAttribute('class'))return true;case '_cke_expando':continue;default:if(k.specified)return true;}}return false;}:function(){var i=this.$.attributes,j=i.length,k={_cke_expando:1,_moz_dirty:1};return j>0&&(j>2||!k[i[0].nodeName]||j==2&&!k[i[1].nodeName]);},hasAttribute:function(i){var j=this.$.attributes.getNamedItem(i);return!!(j&&j.specified);},hide:function(){this.setStyle('display','none');},moveChildren:function(i,j){var k=this.$;i=i.$;if(k==i)return;var l;if(j)while(l=k.lastChild)i.insertBefore(k.removeChild(l),i.firstChild);else while(l=k.firstChild)i.appendChild(k.removeChild(l));},mergeSiblings:(function(){function i(j,k,l){if(k&&k.type==1){var m=[];while(k.getAttribute('_cke_bookmark')||k.isEmptyInlineRemoveable()){m.push(k);k=l?k.getNext():k.getPrevious();if(!k||k.type!=1)return;}if(j.isIdentical(k)){var n=l?j.getLast():j.getFirst();while(m.length)m.shift().move(j,!l);k.moveChildren(j,!l);k.remove();if(n&&n.type==1)n.mergeSiblings();}}};return function(){var j=this;if(!(f.$removeEmpty[j.getName()]||j.is('a')))return;i(j,j.getNext(),true);i(j,j.getPrevious());};})(),show:function(){this.setStyles({display:'',visibility:''});
if(!c&&l!=m)return false;for(var n=0;n<l;n++){var o=j[n];if((!c||o.specified&&o.nodeName!='_cke_expando')&&o.nodeValue!=i.getAttribute(o.nodeName))return false;}if(c)for(n=0;n<m;n++){o=k[n];if(o.specified&&o.nodeName!='_cke_expando'&&o.nodeValue!=this.getAttribute(o.nodeName))return false;}return true;},isVisible:function(){var i=!!this.$.offsetHeight&&this.getComputedStyle('visibility')!='hidden',j,k;if(i&&(b.webkit||b.opera)){j=this.getWindow();if(!j.equals(a.document.getWindow())&&(k=j.$.frameElement))i=new h(k).isVisible();}return i;},hasAttributes:c&&(b.ie7Compat||b.ie6Compat)?function(){var i=this.$.attributes;for(var j=0;j<i.length;j++){var k=i[j];switch(k.nodeName){case 'class':if(this.getAttribute('class'))return true;case '_cke_expando':continue;default:if(k.specified)return true;}}return false;}:function(){var i=this.$.attributes;return i.length>1||i.length==1&&i[0].nodeName!='_cke_expando';},hasAttribute:function(i){var j=this.$.attributes.getNamedItem(i);return!!(j&&j.specified);},hide:function(){this.setStyle('display','none');},moveChildren:function(i,j){var k=this.$;i=i.$;if(k==i)return;var l;if(j)while(l=k.lastChild)i.insertBefore(k.removeChild(l),i.firstChild);else while(l=k.firstChild)i.appendChild(k.removeChild(l));},show:function(){this.setStyles({display:'',visibility:''});},setAttribute:(function(){var i=function(j,k){this.$.setAttribute(j,k);return this;};if(c&&(b.ie7Compat||b.ie6Compat))return function(j,k){var l=this;if(j=='class')l.$.className=k;else if(j=='style')l.$.style.cssText=k;else if(j=='tabindex')l.$.tabIndex=k;else if(j=='checked')l.$.checked=k;else i.apply(l,arguments);return l;};else return i;})(),setAttributes:function(i){for(var j in i)this.setAttribute(j,i[j]);return this;},setValue:function(i){this.$.value=i;return this;},removeAttribute:(function(){var i=function(j){this.$.removeAttribute(j);};if(c&&(b.ie7Compat||b.ie6Compat))return function(j){if(j=='class')j='className';else if(j=='tabindex')j='tabIndex';i.call(this,j);};else return i;})(),removeAttributes:function(i){if(e.isArray(i))for(var j=0;j<i.length;j++)this.removeAttribute(i[j]);else for(var k in i)i.hasOwnProperty(k)&&this.removeAttribute(k);},removeStyle:function(i){var j=this;j.setStyle(i,'');if(j.$.style.removeAttribute)j.$.style.removeAttribute(e.cssStyleToDomStyle(i));if(!j.$.style.cssText)j.removeAttribute('style');},setStyle:function(i,j){this.$.style[e.cssStyleToDomStyle(i)]=j;return this;},setStyles:function(i){for(var j in i)this.setStyle(j,i[j]);
$(document).unbind("click.d").unbind("keydown.d");
hide: function(e) { if (opened) { // onHide e = $.Event(); e.type = "onHide"; fire.trigger(e); $(document).unbind("click.d").unbind("keydown.d"); // cancelled ? if (e.isDefaultPrevented()) { return; } // do the hide root.hide(); opened = false; } return self; },
$(document).unbind("click.d").unbind("keydown.d"); input.focus(); input.select();
hide: function(e) { if (opened) { // onHide e = $.Event(); e.type = "onHide"; fire.trigger(e); $(document).unbind("click.d").unbind("keydown.d"); // cancelled ? if (e.isDefaultPrevented()) { return; } // do the hide root.hide(); opened = false; } return self; },
BF.changeCSS(".verse a, .search_verse a, .first_verse a, .psalm_title a", "");
BF.changeCSS(".verse a, .search_verse a, .first_verse a, .psalm_title a, .subscription a", "");
function hide_cursor_delayed() { clearTimeout(hide_cursor_timeout); hide_cursor_timeout = window.setTimeout(function () { ///NOTE: Works in Mozilla/IE9. /// WebKit (at least 532.9 (Safari 4/Chromium 4.0)) does not properly support completely transparent cursors. It also cannot be set via a timeout (see http://code.google.com/p/chromium/issues/detail?id=26723). /// WebKit can use an almost completely transparent PNG, and it will change the mouse cursor, but it calls the onmousemove event when the cursor changes. /// It would be possible to manually determine if the onmousemove event was legitimate by checking the X and Y coordinates. /// Opera (at least 10.53) has no alternate cursor support whatsoever. page.style.cursor = "none"; /// All words have a hand cursor, so this style must be removed. ///TODO: Determine a way to do this without modifying the CSS. BF.changeCSS(".verse a, .search_verse a, .first_verse a, .psalm_title a", ""); is_cursor_visible = false; }, 2000); }
hide_cursor_timeout = setTimeout(function ()
hide_cursor_timeout = window.setTimeout(function ()
function hide_cursor_delayed() { show_cursor(); hide_cursor_timeout = setTimeout(function () { ///NOTE: Only works in Mozilla. /// IE is the only other major browser family that supports transparent cursors (.CUR files only), but it cannot be set via a timeout. /// WebKit (at least 532.9 (Safari 4/Chromium 4.0)) does not properly support completely transparent cursors. It also cannot be set via a timeout (see http://code.google.com/p/chromium/issues/detail?id=26723). /// WebKit can use an almost completely transparent PNG, and it will change the mouse cursor, but it calls the onmousemove event when the cursor changes. /// It would be possible to manually determine if the onmousemove event was legitimate by checking the X and Y coordinates. /// Opera (at least 10.53) has no alternate cursor support whatsoever. page.style.cursor = "none"; }, 2000); }
is_cursor_visible = false;
function hide_cursor_delayed() { clearTimeout(hide_cursor_timeout); hide_cursor_timeout = window.setTimeout(function () { ///NOTE: Works in Mozilla/IE9. /// WebKit (at least 532.9 (Safari 4/Chromium 4.0)) does not properly support completely transparent cursors. It also cannot be set via a timeout (see http://code.google.com/p/chromium/issues/detail?id=26723). /// WebKit can use an almost completely transparent PNG, and it will change the mouse cursor, but it calls the onmousemove event when the cursor changes. /// It would be possible to manually determine if the onmousemove event was legitimate by checking the X and Y coordinates. /// Opera (at least 10.53) has no alternate cursor support whatsoever. page.style.cursor = "none"; }, 2000); }
(function(){function a(h){return h.type==CKEDITOR.NODE_TEXT&&h.getLength()>0;};function b(h){return!(h.type==CKEDITOR.NODE_ELEMENT&&h.isBlockBoundary(CKEDITOR.tools.extend({},CKEDITOR.dtd.$empty,CKEDITOR.dtd.$nonEditable)));};var c=function(){var h=this;return{textNode:h.textNode,offset:h.offset,character:h.textNode?h.textNode.getText().charAt(h.offset):null,hitMatchBoundary:h._.matchBoundary};},d=['find','replace'],e=[['txtFindFind','txtFindReplace'],['txtFindCaseChk','txtReplaceCaseChk'],['txtFindWordChk','txtReplaceWordChk'],['txtFindCyclic','txtReplaceCyclic']];function f(h){var i,j,k,l;i=h==='find'?1:0;j=1-i;var m,n=e.length;for(m=0;m<n;m++){k=this.getContentElement(d[i],e[m][i]);l=this.getContentElement(d[j],e[m][j]);l.setValue(k.getValue());}};var g=function(h,i){var j=new CKEDITOR.style(CKEDITOR.tools.extend({fullMatch:true,childRule:function(){return false;}},h.config.find_highlight)),k=function(w,x){var y=new CKEDITOR.dom.walker(w);y.guard=x?b:null;y.evaluator=a;y.breakOnFalse=true;this._={matchWord:x,walker:y,matchBoundary:false};};k.prototype={next:function(){return this.move();},back:function(){return this.move(true);},move:function(w){var y=this;var x=y.textNode;if(x===null)return c.call(y);y._.matchBoundary=false;if(x&&w&&y.offset>0){y.offset--;return c.call(y);}else if(x&&y.offset<x.getLength()-1){y.offset++;return c.call(y);}else{x=null;while(!x){x=y._.walker[w?'previous':'next'].call(y._.walker);if(y._.matchWord&&!x||y._.walker._.end)break;if(!x&&!b(y._.walker.current))y._.matchBoundary=true;}y.textNode=x;if(x)y.offset=w?x.getLength()-1:0;else y.offset=0;}return c.call(y);}};var l=function(w,x){this._={walker:w,cursors:[],rangeLength:x,highlightRange:null,isMatched:false};};l.prototype={toDomRange:function(){var w=new CKEDITOR.dom.range(h.document),x=this._.cursors;if(x.length<1){var y=this._.walker.textNode;if(y)w.setStartAfter(y);else return null;}else{var z=x[0],A=x[x.length-1];w.setStart(z.textNode,z.offset);w.setEnd(A.textNode,A.offset+1);}return w;},updateFromDomRange:function(w){var z=this;var x,y=new k(w);z._.cursors=[];do{x=y.next();if(x.character)z._.cursors.push(x);}while(x.character)z._.rangeLength=z._.cursors.length;},setMatched:function(){this._.isMatched=true;},clearMatched:function(){this._.isMatched=false;},isMatched:function(){return this._.isMatched;},highlight:function(){var y=this;if(y._.cursors.length<1)return;if(y._.highlightRange)y.removeHighlight();var w=y.toDomRange();j.applyToRange(w);y._.highlightRange=w;var x=w.startContainer; if(x.type!=CKEDITOR.NODE_ELEMENT)x=x.getParent();x.scrollIntoView();y.updateFromDomRange(w);},removeHighlight:function(){var w=this;if(!w._.highlightRange)return;j.removeFromRange(w._.highlightRange);w.updateFromDomRange(w._.highlightRange);w._.highlightRange=null;},moveBack:function(){var y=this;var w=y._.walker.back(),x=y._.cursors;if(w.hitMatchBoundary)y._.cursors=x=[];x.unshift(w);if(x.length>y._.rangeLength)x.pop();return w;},moveNext:function(){var y=this;var w=y._.walker.next(),x=y._.cursors;if(w.hitMatchBoundary)y._.cursors=x=[];x.push(w);if(x.length>y._.rangeLength)x.shift();return w;},getEndCharacter:function(){var w=this._.cursors;if(w.length<1)return null;return w[w.length-1].character;},getNextCharacterRange:function(w){var x,y,z=this._.cursors;if(x=z[z.length-1])y=new k(m(x));else y=this._.walker;return new l(y,w);},getCursors:function(){return this._.cursors;}};function m(w,x){var y=new CKEDITOR.dom.range();y.setStart(w.textNode,x?w.offset:w.offset+1);y.setEndAt(h.document.getBody(),CKEDITOR.POSITION_BEFORE_END);return y;};function n(w){var x=new CKEDITOR.dom.range();x.setStartAt(h.document.getBody(),CKEDITOR.POSITION_AFTER_START);x.setEnd(w.textNode,w.offset);return x;};var o=0,p=1,q=2,r=function(w,x){var y=[-1];if(x)w=w.toLowerCase();for(var z=0;z<w.length;z++){y.push(y[z]+1);while(y[z+1]>0&&w.charAt(z)!=w.charAt(y[z+1]-1))y[z+1]=y[y[z+1]-1]+1;}this._={overlap:y,state:0,ignoreCase:!!x,pattern:w};};r.prototype={feedCharacter:function(w){var x=this;if(x._.ignoreCase)w=w.toLowerCase();for(;;){if(w==x._.pattern.charAt(x._.state)){x._.state++;if(x._.state==x._.pattern.length){x._.state=0;return q;}return p;}else if(!x._.state)return o;else x._.state=x._.overlap[x._.state];}return null;},reset:function(){this._.state=0;}};var s=/[.,"'?!;: \u0085\u00a0\u1680\u280e\u2028\u2029\u202f\u205f\u3000]/,t=function(w){if(!w)return true;var x=w.charCodeAt(0);return x>=9&&x<=13||x>=8192&&x<=8202||s.test(w);},u={searchRange:null,matchRange:null,find:function(w,x,y,z,A,B){var K=this;if(!K.matchRange)K.matchRange=new l(new k(K.searchRange),w.length);else{K.matchRange.removeHighlight();K.matchRange=K.matchRange.getNextCharacterRange(w.length);}var C=new r(w,!x),D=o,E='%';while(E!==null){K.matchRange.moveNext();while(E=K.matchRange.getEndCharacter()){D=C.feedCharacter(E);if(D==q)break;if(K.matchRange.moveNext().hitMatchBoundary)C.reset();}if(D==q){if(y){var F=K.matchRange.getCursors(),G=F[F.length-1],H=F[0],I=new k(n(H),true),J=new k(m(G),true);if(!(t(I.back().character)&&t(J.next().character)))continue;
(function(){var a;function b(i){return i.type==CKEDITOR.NODE_TEXT&&i.getLength()>0&&(!a||!i.isReadOnly());};function c(i){return!(i.type==CKEDITOR.NODE_ELEMENT&&i.isBlockBoundary(CKEDITOR.tools.extend({},CKEDITOR.dtd.$empty,CKEDITOR.dtd.$nonEditable)));};var d=function(){var i=this;return{textNode:i.textNode,offset:i.offset,character:i.textNode?i.textNode.getText().charAt(i.offset):null,hitMatchBoundary:i._.matchBoundary};},e=['find','replace'],f=[['txtFindFind','txtFindReplace'],['txtFindCaseChk','txtReplaceCaseChk'],['txtFindWordChk','txtReplaceWordChk'],['txtFindCyclic','txtReplaceCyclic']];function g(i){var j,k,l,m;j=i==='find'?1:0;k=1-j;var n,o=f.length;for(n=0;n<o;n++){l=this.getContentElement(e[j],f[n][j]);m=this.getContentElement(e[k],f[n][k]);m.setValue(l.getValue());}};var h=function(i,j){var k=new CKEDITOR.style(CKEDITOR.tools.extend({fullMatch:true,childRule:function(){return false;}},i.config.find_highlight)),l=function(x,y){var z=new CKEDITOR.dom.walker(x);z.guard=y?c:null;z.evaluator=b;z.breakOnFalse=true;this._={matchWord:y,walker:z,matchBoundary:false};};l.prototype={next:function(){return this.move();},back:function(){return this.move(true);},move:function(x){var z=this;var y=z.textNode;if(y===null)return d.call(z);z._.matchBoundary=false;if(y&&x&&z.offset>0){z.offset--;return d.call(z);}else if(y&&z.offset<y.getLength()-1){z.offset++;return d.call(z);}else{y=null;while(!y){y=z._.walker[x?'previous':'next'].call(z._.walker);if(z._.matchWord&&!y||z._.walker._.end)break;if(!y&&!c(z._.walker.current))z._.matchBoundary=true;}z.textNode=y;if(y)z.offset=x?y.getLength()-1:0;else z.offset=0;}return d.call(z);}};var m=function(x,y){this._={walker:x,cursors:[],rangeLength:y,highlightRange:null,isMatched:false};};m.prototype={toDomRange:function(){var x=new CKEDITOR.dom.range(i.document),y=this._.cursors;if(y.length<1){var z=this._.walker.textNode;if(z)x.setStartAfter(z);else return null;}else{var A=y[0],B=y[y.length-1];x.setStart(A.textNode,A.offset);x.setEnd(B.textNode,B.offset+1);}return x;},updateFromDomRange:function(x){var A=this;var y,z=new l(x);A._.cursors=[];do{y=z.next();if(y.character)A._.cursors.push(y);}while(y.character)A._.rangeLength=A._.cursors.length;},setMatched:function(){this._.isMatched=true;},clearMatched:function(){this._.isMatched=false;},isMatched:function(){return this._.isMatched;},highlight:function(){var A=this;if(A._.cursors.length<1)return;if(A._.highlightRange)A.removeHighlight();var x=A.toDomRange(),y=x.createBookmark(); k.applyToRange(x);x.moveToBookmark(y);A._.highlightRange=x;var z=x.startContainer;if(z.type!=CKEDITOR.NODE_ELEMENT)z=z.getParent();z.scrollIntoView();A.updateFromDomRange(x);},removeHighlight:function(){var y=this;if(!y._.highlightRange)return;var x=y._.highlightRange.createBookmark();k.removeFromRange(y._.highlightRange);y._.highlightRange.moveToBookmark(x);y.updateFromDomRange(y._.highlightRange);y._.highlightRange=null;},isReadOnly:function(){if(!this._.highlightRange)return 0;return this._.highlightRange.startContainer.isReadOnly();},moveBack:function(){var z=this;var x=z._.walker.back(),y=z._.cursors;if(x.hitMatchBoundary)z._.cursors=y=[];y.unshift(x);if(y.length>z._.rangeLength)y.pop();return x;},moveNext:function(){var z=this;var x=z._.walker.next(),y=z._.cursors;if(x.hitMatchBoundary)z._.cursors=y=[];y.push(x);if(y.length>z._.rangeLength)y.shift();return x;},getEndCharacter:function(){var x=this._.cursors;if(x.length<1)return null;return x[x.length-1].character;},getNextCharacterRange:function(x){var y,z,A=this._.cursors;if((y=A[A.length-1])&&y.textNode)z=new l(n(y));else z=this._.walker;return new m(z,x);},getCursors:function(){return this._.cursors;}};function n(x,y){var z=new CKEDITOR.dom.range();z.setStart(x.textNode,y?x.offset:x.offset+1);z.setEndAt(i.document.getBody(),CKEDITOR.POSITION_BEFORE_END);return z;};function o(x){var y=new CKEDITOR.dom.range();y.setStartAt(i.document.getBody(),CKEDITOR.POSITION_AFTER_START);y.setEnd(x.textNode,x.offset);return y;};var p=0,q=1,r=2,s=function(x,y){var z=[-1];if(y)x=x.toLowerCase();for(var A=0;A<x.length;A++){z.push(z[A]+1);while(z[A+1]>0&&x.charAt(A)!=x.charAt(z[A+1]-1))z[A+1]=z[z[A+1]-1]+1;}this._={overlap:z,state:0,ignoreCase:!!y,pattern:x};};s.prototype={feedCharacter:function(x){var y=this;if(y._.ignoreCase)x=x.toLowerCase();for(;;){if(x==y._.pattern.charAt(y._.state)){y._.state++;if(y._.state==y._.pattern.length){y._.state=0;return r;}return q;}else if(!y._.state)return p;else y._.state=y._.overlap[y._.state];}return null;},reset:function(){this._.state=0;}};var t=/[.,"'?!;: \u0085\u00a0\u1680\u280e\u2028\u2029\u202f\u205f\u3000]/,u=function(x){if(!x)return true;var y=x.charCodeAt(0);return y>=9&&y<=13||y>=8192&&y<=8202||t.test(x);},v={searchRange:null,matchRange:null,find:function(x,y,z,A,B,C){var L=this;if(!L.matchRange)L.matchRange=new m(new l(L.searchRange),x.length);else{L.matchRange.removeHighlight();L.matchRange=L.matchRange.getNextCharacterRange(x.length);}var D=new s(x,!y),E=p,F='%';while(F!==null){L.matchRange.moveNext();
(function(){function a(h){return h.type==CKEDITOR.NODE_TEXT&&h.getLength()>0;};function b(h){return!(h.type==CKEDITOR.NODE_ELEMENT&&h.isBlockBoundary(CKEDITOR.tools.extend({},CKEDITOR.dtd.$empty,CKEDITOR.dtd.$nonEditable)));};var c=function(){var h=this;return{textNode:h.textNode,offset:h.offset,character:h.textNode?h.textNode.getText().charAt(h.offset):null,hitMatchBoundary:h._.matchBoundary};},d=['find','replace'],e=[['txtFindFind','txtFindReplace'],['txtFindCaseChk','txtReplaceCaseChk'],['txtFindWordChk','txtReplaceWordChk'],['txtFindCyclic','txtReplaceCyclic']];function f(h){var i,j,k,l;i=h==='find'?1:0;j=1-i;var m,n=e.length;for(m=0;m<n;m++){k=this.getContentElement(d[i],e[m][i]);l=this.getContentElement(d[j],e[m][j]);l.setValue(k.getValue());}};var g=function(h,i){var j=new CKEDITOR.style(CKEDITOR.tools.extend({fullMatch:true,childRule:function(){return false;}},h.config.find_highlight)),k=function(w,x){var y=new CKEDITOR.dom.walker(w);y.guard=x?b:null;y.evaluator=a;y.breakOnFalse=true;this._={matchWord:x,walker:y,matchBoundary:false};};k.prototype={next:function(){return this.move();},back:function(){return this.move(true);},move:function(w){var y=this;var x=y.textNode;if(x===null)return c.call(y);y._.matchBoundary=false;if(x&&w&&y.offset>0){y.offset--;return c.call(y);}else if(x&&y.offset<x.getLength()-1){y.offset++;return c.call(y);}else{x=null;while(!x){x=y._.walker[w?'previous':'next'].call(y._.walker);if(y._.matchWord&&!x||y._.walker._.end)break;if(!x&&!b(y._.walker.current))y._.matchBoundary=true;}y.textNode=x;if(x)y.offset=w?x.getLength()-1:0;else y.offset=0;}return c.call(y);}};var l=function(w,x){this._={walker:w,cursors:[],rangeLength:x,highlightRange:null,isMatched:false};};l.prototype={toDomRange:function(){var w=new CKEDITOR.dom.range(h.document),x=this._.cursors;if(x.length<1){var y=this._.walker.textNode;if(y)w.setStartAfter(y);else return null;}else{var z=x[0],A=x[x.length-1];w.setStart(z.textNode,z.offset);w.setEnd(A.textNode,A.offset+1);}return w;},updateFromDomRange:function(w){var z=this;var x,y=new k(w);z._.cursors=[];do{x=y.next();if(x.character)z._.cursors.push(x);}while(x.character)z._.rangeLength=z._.cursors.length;},setMatched:function(){this._.isMatched=true;},clearMatched:function(){this._.isMatched=false;},isMatched:function(){return this._.isMatched;},highlight:function(){var y=this;if(y._.cursors.length<1)return;if(y._.highlightRange)y.removeHighlight();var w=y.toDomRange();j.applyToRange(w);y._.highlightRange=w;var x=w.startContainer;if(x.type!=CKEDITOR.NODE_ELEMENT)x=x.getParent();x.scrollIntoView();y.updateFromDomRange(w);},removeHighlight:function(){var w=this;if(!w._.highlightRange)return;j.removeFromRange(w._.highlightRange);w.updateFromDomRange(w._.highlightRange);w._.highlightRange=null;},moveBack:function(){var y=this;var w=y._.walker.back(),x=y._.cursors;if(w.hitMatchBoundary)y._.cursors=x=[];x.unshift(w);if(x.length>y._.rangeLength)x.pop();return w;},moveNext:function(){var y=this;var w=y._.walker.next(),x=y._.cursors;if(w.hitMatchBoundary)y._.cursors=x=[];x.push(w);if(x.length>y._.rangeLength)x.shift();return w;},getEndCharacter:function(){var w=this._.cursors;if(w.length<1)return null;return w[w.length-1].character;},getNextCharacterRange:function(w){var x,y,z=this._.cursors;if(x=z[z.length-1])y=new k(m(x));else y=this._.walker;return new l(y,w);},getCursors:function(){return this._.cursors;}};function m(w,x){var y=new CKEDITOR.dom.range();y.setStart(w.textNode,x?w.offset:w.offset+1);y.setEndAt(h.document.getBody(),CKEDITOR.POSITION_BEFORE_END);return y;};function n(w){var x=new CKEDITOR.dom.range();x.setStartAt(h.document.getBody(),CKEDITOR.POSITION_AFTER_START);x.setEnd(w.textNode,w.offset);return x;};var o=0,p=1,q=2,r=function(w,x){var y=[-1];if(x)w=w.toLowerCase();for(var z=0;z<w.length;z++){y.push(y[z]+1);while(y[z+1]>0&&w.charAt(z)!=w.charAt(y[z+1]-1))y[z+1]=y[y[z+1]-1]+1;}this._={overlap:y,state:0,ignoreCase:!!x,pattern:w};};r.prototype={feedCharacter:function(w){var x=this;if(x._.ignoreCase)w=w.toLowerCase();for(;;){if(w==x._.pattern.charAt(x._.state)){x._.state++;if(x._.state==x._.pattern.length){x._.state=0;return q;}return p;}else if(!x._.state)return o;else x._.state=x._.overlap[x._.state];}return null;},reset:function(){this._.state=0;}};var s=/[.,"'?!;: \u0085\u00a0\u1680\u280e\u2028\u2029\u202f\u205f\u3000]/,t=function(w){if(!w)return true;var x=w.charCodeAt(0);return x>=9&&x<=13||x>=8192&&x<=8202||s.test(w);},u={searchRange:null,matchRange:null,find:function(w,x,y,z,A,B){var K=this;if(!K.matchRange)K.matchRange=new l(new k(K.searchRange),w.length);else{K.matchRange.removeHighlight();K.matchRange=K.matchRange.getNextCharacterRange(w.length);}var C=new r(w,!x),D=o,E='%';while(E!==null){K.matchRange.moveNext();while(E=K.matchRange.getEndCharacter()){D=C.feedCharacter(E);if(D==q)break;if(K.matchRange.moveNext().hitMatchBoundary)C.reset();}if(D==q){if(y){var F=K.matchRange.getCursors(),G=F[F.length-1],H=F[0],I=new k(n(H),true),J=new k(m(G),true);if(!(t(I.back().character)&&t(J.next().character)))continue;
highlight : function (abcelem)
this.highlight = function (abcelem)
highlight : function (abcelem) { this.setSelection(abcelem.startChar, abcelem.endChar); }
}
};
highlight : function (abcelem) { this.setSelection(abcelem.startChar, abcelem.endChar); }
var tmp_found_ids = [], count = 1, regex_id, regex_length = highlight_re.length, i, ids;
var i, ids, regex_id, regex_length = highlight_re.length, tmp_found_ids = [];
function highlight_search_results(search_str) { var tmp_found_ids = [], count = 1, regex_id, regex_length = highlight_re.length, i, ids; for (regex_id = 0; regex_id < regex_length; ++regex_id) { tmp_found_ids = search_str.split(highlight_re[regex_id]); ids = tmp_found_ids.length; ///NOTE: search_str.split() creates an array of the HTML with the correct ids every third one. for (i = 1; i < ids; i += 2) { ///TODO: Determine if there is a downside to having a space at the start of the className. ///TODO: Determine if we ever need to replace an existing f* className. doc.getElementById(tmp_found_ids[i]).className += " f" + (regex_id + 1); } } }
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+O.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k, h,s,A;if(!C.contentWindow||!C.contentWindow.document)setTimeout(n,10);else{k=C.contentWindow.document;s=(h=k.getElementById("state"))?h.innerText:null;A=a();setInterval(function(){var H,E;k=C.contentWindow.document;H=(h=k.getElementById("state"))?h.innerText:null;E=a();if(H!==s){s=H;f(s);E=s?s:x;A=location.hash=E;b()}else if(E!==A){A=E;l(E)}},50);K=true;r!=null&&r()}}function o(){if(!q){var k=a(),h=history.length;M&&clearInterval(M);M=setInterval(function(){var s,A;s=a();A=history.length;if(s!==k){k= s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k, h){if(!K){var s=navigator.vendor||"";if(s!=="KDE")if(typeof window.opera!=="undefined")B=true;else if(!q&&s.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof k==="string")k=document.getElementById(k);if(!(!k||k.tagName.toUpperCase()!=="TEXTAREA"&&(k.tagName.toUpperCase()!=="INPUT"||k.type!=="hidden"&&k.type!=="text"))){J=k;if(q){if(typeof h==="string")h=document.getElementById(h);!h||h.tagName.toUpperCase()!=="IFRAME"||(C=h)}}}},navigate:function(k){if(K){fqstate=k;if(q)l(fqstate);else{location.hash= fqstate;if(u){O[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!K)return"";return D}}}()});
function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+O.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k,h,s,A;if(!C.contentWindow|| !C.contentWindow.document)setTimeout(n,10);else{k=C.contentWindow.document;s=(h=k.getElementById("state"))?h.innerText:null;A=a();setInterval(function(){var H,E;k=C.contentWindow.document;H=(h=k.getElementById("state"))?h.innerText:null;E=a();if(H!==s){s=H;f(s);E=s?s:x;A=location.hash=E;b()}else if(E!==A){A=E;l(E)}},50);K=true;r!=null&&r()}}function o(){if(!q){var k=a(),h=history.length;M&&clearInterval(M);M=setInterval(function(){var s,A;s=a();A=history.length;if(s!==k){k=s;h=A;f(k);b()}else if(A!== h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,h){if(!K){var s=navigator.vendor|| "";if(s!=="KDE")if(typeof window.opera!=="undefined")B=true;else if(!q&&s.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof k==="string")k=document.getElementById(k);if(!(!k||k.tagName.toUpperCase()!=="TEXTAREA"&&(k.tagName.toUpperCase()!=="INPUT"||k.type!=="hidden"&&k.type!=="text"))){J=k;if(q){if(typeof h==="string")h=document.getElementById(h);!h||h.tagName.toUpperCase()!=="IFRAME"||(C=h)}}}},navigate:function(k){if(K){fqstate=k;if(q)l(fqstate);else{location.hash=fqstate;if(u){O[history.length]= fqstate;b()}}}},getCurrentState:function(){if(!K)return"";return D}}}()});
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+O.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k,h,s,A;if(!C.contentWindow||!C.contentWindow.document)setTimeout(n,10);else{k=C.contentWindow.document;s=(h=k.getElementById("state"))?h.innerText:null;A=a();setInterval(function(){var H,E;k=C.contentWindow.document;H=(h=k.getElementById("state"))?h.innerText:null;E=a();if(H!==s){s=H;f(s);E=s?s:x;A=location.hash=E;b()}else if(E!==A){A=E;l(E)}},50);K=true;r!=null&&r()}}function o(){if(!q){var k=a(),h=history.length;M&&clearInterval(M);M=setInterval(function(){var s,A;s=a();A=history.length;if(s!==k){k=s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,h){if(!K){var s=navigator.vendor||"";if(s!=="KDE")if(typeof window.opera!=="undefined")B=true;else if(!q&&s.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof k==="string")k=document.getElementById(k);if(!(!k||k.tagName.toUpperCase()!=="TEXTAREA"&&(k.tagName.toUpperCase()!=="INPUT"||k.type!=="hidden"&&k.type!=="text"))){J=k;if(q){if(typeof h==="string")h=document.getElementById(h);!h||h.tagName.toUpperCase()!=="IFRAME"||(C=h)}}}},navigate:function(k){if(K){fqstate=k;if(q)l(fqstate);else{location.hash=fqstate;if(u){O[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!K)return"";return D}}}()});
function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+O.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k,h,s,A;if(!C.contentWindow|| !C.contentWindow.document)setTimeout(n,10);else{k=C.contentWindow.document;s=(h=k.getElementById("state"))?h.innerText:null;A=a();setInterval(function(){var H,E;k=C.contentWindow.document;H=(h=k.getElementById("state"))?h.innerText:null;E=a();if(H!==s){s=H;f(s);E=s?s:x;A=location.hash=E;b()}else if(E!==A){A=E;l(E)}},50);K=true;r!=null&&r()}}function o(){if(!q){var k=a(),h=history.length;M&&clearInterval(M);M=setInterval(function(){var s,A;s=a();A=history.length;if(s!==k){k=s;h=A;f(k);b()}else if(A!== h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,h){if(!K){var s=navigator.vendor|| "";if(s!=="KDE")if(typeof window.opera!=="undefined")B=true;else if(!q&&s.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof k==="string")k=document.getElementById(k);if(!(!k||k.tagName.toUpperCase()!=="TEXTAREA"&&(k.tagName.toUpperCase()!=="INPUT"||k.type!=="hidden"&&k.type!=="text"))){J=k;if(q){if(typeof h==="string")h=document.getElementById(h);!h||h.tagName.toUpperCase()!=="IFRAME"||(C=h)}}}},navigate:function(k){if(K){fqstate=k;if(q)l(fqstate);else{location.hash=fqstate;if(u){O[history.length]= fqstate;b()}}}},getCurrentState:function(){if(!K)return"";return D}}}()});
o=n.x+b.offsetWidth;b=n.y}g.fitToWindow(a,f,l,o,b);a.style.visibility=""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+O.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open(); h.write(k);h.close();return true}catch(s){return false}}function n(){var k,h,s,A;if(!C.contentWindow||!C.contentWindow.document)setTimeout(n,10);else{k=C.contentWindow.document;s=(h=k.getElementById("state"))?h.innerText:null;A=a();setInterval(function(){var H,E;k=C.contentWindow.document;H=(h=k.getElementById("state"))?h.innerText:null;E=a();if(H!==s){s=H;f(s);E=s?s:x;A=location.hash=E;b()}else if(E!==A){A=E;l(E)}},50);K=true;r!=null&&r()}}function o(){if(!q){var k=a(),h=history.length;M&&clearInterval(M); M=setInterval(function(){var s,A;s=a();A=history.length;if(s!==k){k=s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()}, register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,h){if(!K){var s=navigator.vendor||"";if(s!=="KDE")if(typeof window.opera!=="undefined")B=true;else if(!q&&s.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof k==="string")k=document.getElementById(k);if(!(!k||k.tagName.toUpperCase()!=="TEXTAREA"&&(k.tagName.toUpperCase()!=="INPUT"||k.type!=="hidden"&&k.type!=="text"))){J=k;if(q){if(typeof h==="string")h=document.getElementById(h);!h||h.tagName.toUpperCase()!=="IFRAME"||(C=h)}}}}, navigate:function(k){if(K){fqstate=k;if(q)l(fqstate);else{location.hash=fqstate;if(u){O[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!K)return"";return D}}}()});
function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+O.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k,h,s,A;if(!C.contentWindow||!C.contentWindow.document)setTimeout(n,10);else{k=C.contentWindow.document;s=(h=k.getElementById("state"))?h.innerText:null;A=a();setInterval(function(){var H,E;k=C.contentWindow.document;H=(h=k.getElementById("state"))?h.innerText:null;E=a();if(H!==s){s=H;f(s);E=s?s:x;A=location.hash=E;b()}else if(E!==A){A=E;l(E)}},50);K=true;r!=null&&r()}}function o(){if(!q){var k=a(),h=history.length;M&&clearInterval(M);M=setInterval(function(){var s,A;s=a();A=history.length;if(s!==k){k=s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,h){if(!K){var s=navigator.vendor||"";if(s!=="KDE")if(typeof window.opera!=="undefined")B=true;else if(!q&&s.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof k==="string")k=document.getElementById(k);if(!(!k||k.tagName.toUpperCase()!=="TEXTAREA"&&(k.tagName.toUpperCase()!=="INPUT"||k.type!=="hidden"&&k.type!=="text"))){J=k;if(q){if(typeof h==="string")h=document.getElementById(h);!h||h.tagName.toUpperCase()!=="IFRAME"||(C=h)}}}},navigate:function(k){if(K){fqstate=k;if(q)l(fqstate);else{location.hash=fqstate;if(u){O[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!K)return"";return D}}}()});
document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){v.value=G+"|"+C;if(u)v.value+="|"+M.join(",")}function f(l){if(l){if(!l||C!==l){C=l||G;H(unescape(C))}}else{C=G;H(unescape(C))}}function k(l){var p;l='<html><body><div id="state">'+l+"</div></body></html>";try{p=F.contentWindow.document;p.open();p.write(l);p.close();return true}catch(q){return false}}function h(){var l,p,q,m;if(!F.contentWindow||!F.contentWindow.document)setTimeout(h, 10);else{l=F.contentWindow.document;q=(p=l.getElementById("state"))?p.innerText:null;m=a();setInterval(function(){var N,J;l=F.contentWindow.document;N=(p=l.getElementById("state"))?p.innerText:null;J=a();if(N!==q){q=N;f(q);J=q?q:G;m=location.hash=J;b()}else if(J!==m){m=J;k(J)}},50);I=true;x!=null&&x()}}function o(){if(!s){var l=a(),p=history.length;U&&clearInterval(U);U=setInterval(function(){var q,m;q=a();m=history.length;if(q!==l){l=q;p=m;f(l);b()}else if(m!==p&&u){l=q;p=m;q=M[p-1];f(q);b()}},50)}} function E(){var l;l=v.value.split("|");if(l.length>1){G=l[0];C=l[1]}if(l.length>2)M=l[2].split(",");if(s)h();else{o();I=true;x!=null&&x()}}var u=false,s=false,z=false,x=null,F=null,v=null,I=false,U=null,M=[],G,C,H=function(){};return{onReady:function(l){if(I)setTimeout(function(){l()},0);else x=l},_initialize:function(){v!=null&&E()},_initTimeout:function(){o()},register:function(l,p){if(!I){C=G=escape(l);H=p}},initialize:function(l,p){if(!I){var q=navigator.vendor||"";if(q!=="KDE")if(typeof window.opera!== "undefined")z=true;else if(typeof document.all!=="undefined")s=true;else if(q.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof l==="string")l=document.getElementById(l);if(!(!l||l.tagName.toUpperCase()!=="TEXTAREA"&&(l.tagName.toUpperCase()!=="INPUT"||l.type!=="hidden"&&l.type!=="text"))){v=l;if(s){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(F=p)}}}},navigate:function(l){if(I){fqstate=l;if(s)k(fqstate);else{location.hash=fqstate;if(u){M[history.length]= fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return C}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=m.pageCoordinates(d);N=d.x;J=d.y}function t(){var d=m.history.getCurrentState();if(O!=d){O=d;setTimeout(function(){z(null,"hash",null,true)},1)}}function D(d){if(O!=d){O=d;m.history.navigate(escape(d))}}function T(){window.onresize=function(){E()};document.body.ondragstart=function(){return false}}function ca(d,c){var e=aa;e.object=m.getElement(d.getAttribute("dwid"));if(e.object==
a.style.visibility=""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var l,q;q=location.href;l=q.indexOf("#");return l>=0?q.substr(l+1):null}function b(){w.value=G+"|"+C;if(v)w.value+="|"+M.join(",")}function f(l){if(l){if(!l||C!==l){C=l||G;H(unescape(C))}}else{C=G;H(unescape(C))}}function k(l){var q;l='<html><body><div id="state">'+l+"</div></body></html>";try{q=F.contentWindow.document;q.open();q.write(l);q.close();return true}catch(r){return false}} function h(){var l,q,r,m;if(!F.contentWindow||!F.contentWindow.document)setTimeout(h,10);else{l=F.contentWindow.document;r=(q=l.getElementById("state"))?q.innerText:null;m=a();setInterval(function(){var N,J;l=F.contentWindow.document;N=(q=l.getElementById("state"))?q.innerText:null;J=a();if(N!==r){r=N;f(r);J=r?r:G;m=location.hash=J;b()}else if(J!==m){m=J;k(J)}},50);I=true;y!=null&&y()}}function o(){if(!s){var l=a(),q=history.length;V&&clearInterval(V);V=setInterval(function(){var r,m;r=a();m=history.length; if(r!==l){l=r;q=m;f(l);b()}else if(m!==q&&v){l=r;q=m;r=M[q-1];f(r);b()}},50)}}function E(){var l;l=w.value.split("|");if(l.length>1){G=l[0];C=l[1]}if(l.length>2)M=l[2].split(",");if(s)h();else{o();I=true;y!=null&&y()}}var v=false,s=false,z=false,y=null,F=null,w=null,I=false,V=null,M=[],G,C,H=function(){};return{onReady:function(l){if(I)setTimeout(function(){l()},0);else y=l},_initialize:function(){w!=null&&E()},_initTimeout:function(){o()},register:function(l,q){if(!I){C=G=escape(l);H=q}},initialize:function(l, q){if(!I){var r=navigator.vendor||"";if(r!=="KDE")if(typeof window.opera!=="undefined")z=true;else if(typeof document.all!=="undefined")s=true;else if(r.indexOf("Apple Computer, Inc.")>-1)v=true;if(typeof l==="string")l=document.getElementById(l);if(!(!l||l.tagName.toUpperCase()!=="TEXTAREA"&&(l.tagName.toUpperCase()!=="INPUT"||l.type!=="hidden"&&l.type!=="text"))){w=l;if(s){if(typeof q==="string")q=document.getElementById(q);!q||q.tagName.toUpperCase()!=="IFRAME"||(F=q)}}}},navigate:function(l){if(I){fqstate= l;if(s)k(fqstate);else{location.hash=fqstate;if(v){M[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return C}}}()}),_$_APP_CLASS_$_=new (function(){function x(d){d=m.pageCoordinates(d);N=d.x;J=d.y}function u(){var d=m.history.getCurrentState();if(O!=d){O=d;setTimeout(function(){z(null,"hash",null,true)},1)}}function D(d){if(O!=d){O=d;m.history.navigate(escape(d))}}function T(){window.onresize=function(){E()};document.body.ondragstart=function(){return false}}function ca(d,
document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){v.value=G+"|"+C;if(u)v.value+="|"+M.join(",")}function f(l){if(l){if(!l||C!==l){C=l||G;H(unescape(C))}}else{C=G;H(unescape(C))}}function k(l){var p;l='<html><body><div id="state">'+l+"</div></body></html>";try{p=F.contentWindow.document;p.open();p.write(l);p.close();return true}catch(q){return false}}function h(){var l,p,q,m;if(!F.contentWindow||!F.contentWindow.document)setTimeout(h,10);else{l=F.contentWindow.document;q=(p=l.getElementById("state"))?p.innerText:null;m=a();setInterval(function(){var N,J;l=F.contentWindow.document;N=(p=l.getElementById("state"))?p.innerText:null;J=a();if(N!==q){q=N;f(q);J=q?q:G;m=location.hash=J;b()}else if(J!==m){m=J;k(J)}},50);I=true;x!=null&&x()}}function o(){if(!s){var l=a(),p=history.length;U&&clearInterval(U);U=setInterval(function(){var q,m;q=a();m=history.length;if(q!==l){l=q;p=m;f(l);b()}else if(m!==p&&u){l=q;p=m;q=M[p-1];f(q);b()}},50)}}function E(){var l;l=v.value.split("|");if(l.length>1){G=l[0];C=l[1]}if(l.length>2)M=l[2].split(",");if(s)h();else{o();I=true;x!=null&&x()}}var u=false,s=false,z=false,x=null,F=null,v=null,I=false,U=null,M=[],G,C,H=function(){};return{onReady:function(l){if(I)setTimeout(function(){l()},0);else x=l},_initialize:function(){v!=null&&E()},_initTimeout:function(){o()},register:function(l,p){if(!I){C=G=escape(l);H=p}},initialize:function(l,p){if(!I){var q=navigator.vendor||"";if(q!=="KDE")if(typeof window.opera!=="undefined")z=true;else if(typeof document.all!=="undefined")s=true;else if(q.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof l==="string")l=document.getElementById(l);if(!(!l||l.tagName.toUpperCase()!=="TEXTAREA"&&(l.tagName.toUpperCase()!=="INPUT"||l.type!=="hidden"&&l.type!=="text"))){v=l;if(s){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(F=p)}}}},navigate:function(l){if(I){fqstate=l;if(s)k(fqstate);else{location.hash=fqstate;if(u){M[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return C}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=m.pageCoordinates(d);N=d.x;J=d.y}function t(){var d=m.history.getCurrentState();if(O!=d){O=d;setTimeout(function(){z(null,"hash",null,true)},1)}}function D(d){if(O!=d){O=d;m.history.navigate(escape(d))}}function T(){window.onresize=function(){E()};document.body.ondragstart=function(){return false}}function ca(d,c){var e=aa;e.object=m.getElement(d.getAttribute("dwid"));if(e.object==
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var g,p;p=location.href;g=p.indexOf("#");return g>=0?p.substr(g+1):null}function b(){J.value=L+"|"+C;if(u)J.value+="|"+D.join(",")}function e(g){if(g){if(!g||C!==g){C=g||L;E(unescape(C))}}else{C=L;E(unescape(C))}}function j(g){var p;g='<html><body><div id="state">'+g+"</div></body></html>";try{p=I.contentWindow.document;p.open();p.write(g);p.close();return true}catch(r){return false}}function l(){var g,
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var g,p;p=location.href;g=p.indexOf("#");return g>=0?p.substr(g+1):null}function b(){K.value=L+"|"+C;if(u)K.value+="|"+D.join(",")}function e(g){if(g){if(!g||C!==g){C=g||L;E(unescape(C))}}else{C=L;E(unescape(C))}}function j(g){var p;g='<html><body><div id="state">'+g+"</div></body></html>";try{p=I.contentWindow.document;p.open();p.write(g);p.close();return true}catch(r){return false}}function l(){var g,
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var g,p;p=location.href;g=p.indexOf("#");return g>=0?p.substr(g+1):null}function b(){J.value=L+"|"+C;if(u)J.value+="|"+D.join(",")}function e(g){if(g){if(!g||C!==g){C=g||L;E(unescape(C))}}else{C=L;E(unescape(C))}}function j(g){var p;g='<html><body><div id="state">'+g+"</div></body></html>";try{p=I.contentWindow.document;p.open();p.write(g);p.close();return true}catch(r){return false}}function l(){var g,p,r,v;if(!I.contentWindow||!I.contentWindow.document)setTimeout(l,10);else{g=I.contentWindow.document;r=(p=g.getElementById("state"))?p.innerText:null;v=a();setInterval(function(){var M,B;g=I.contentWindow.document;M=(p=g.getElementById("state"))?p.innerText:null;B=a();if(M!==r){r=M;e(r);B=r?r:L;v=location.hash=B;b()}else if(B!==v){v=B;j(B)}},50);F=true;y!=null&&y()}}function n(){if(!q){var g=a(),p=history.length;Q&&clearInterval(Q);Q=setInterval(function(){var r,v;r=a();v=history.length;if(r!==g){g=r;p=v;e(g);b()}else if(v!==p&&u){g=r;p=v;r=D[p-1];e(r);b()}},50)}}function H(){var g;g=J.value.split("|");if(g.length>1){L=g[0];C=g[1]}if(g.length>2)D=g[2].split(",");if(q)l();else{n();F=true;y!=null&&y()}}var u=false,q=self.isIElt9,s=false,y=null,I=null,J=null,F=false,Q=null,D=[],L,C,E=function(){};return{onReady:function(g){if(F)setTimeout(function(){g()},0);else y=g},_initialize:function(){J!=null&&H()},_initTimeout:function(){n()},register:function(g,p){if(!F){C=L=escape(g);E=p}},initialize:function(g,p){if(!F){var r=navigator.vendor||"";if(r!=="KDE")if(typeof window.opera!=="undefined")s=true;else if(!q&&r.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof g==="string")g=document.getElementById(g);if(!(!g||g.tagName.toUpperCase()!=="TEXTAREA"&&(g.tagName.toUpperCase()!=="INPUT"||g.type!=="hidden"&&g.type!=="text"))){J=g;if(q){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(I=p)}}}},navigate:function(g){if(F){fqstate=g;if(q)j(fqstate);else{location.hash=fqstate;if(u){D[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!F)return"";return C}}}()}),_$_APP_CLASS_$_=new (function(){function x(d){d=g.pageCoordinates(d);p=d.x;r=d.y}function w(){var d=g.history.getCurrentState();if(v!=d){v=d;setTimeout(function(){H(null,"hash",null,true)},1)}}function G(d){if(v!=d){v=d;g.history.navigate(escape(d))}}function U(){window.onresize=function(){j()};document.body.ondragstart=function(){return false}}function Z(d,c){var f=M;f.object=g.getElement(d.getAttribute("dwid"));
r;p=v;e(g);b()}else if(v!==p&&u){g=r;p=v;r=D[p-1];e(r);b()}},50)}}function H(){var g;g=J.value.split("|");if(g.length>1){L=g[0];C=g[1]}if(g.length>2)D=g[2].split(",");if(q)l();else{n();F=true;y!=null&&y()}}var u=false,q=self.isIElt9,s=false,y=null,I=null,J=null,F=false,Q=null,D=[],L,C,E=function(){};return{onReady:function(g){if(F)setTimeout(function(){g()},0);else y=g},_initialize:function(){J!=null&&H()},_initTimeout:function(){n()},register:function(g,p){if(!F){C=L=escape(g);E=p}},initialize:function(g, p){if(!F){var r=navigator.vendor||"";if(r!=="KDE")if(typeof window.opera!=="undefined")s=true;else if(!q&&r.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof g==="string")g=document.getElementById(g);if(!(!g||g.tagName.toUpperCase()!=="TEXTAREA"&&(g.tagName.toUpperCase()!=="INPUT"||g.type!=="hidden"&&g.type!=="text"))){J=g;if(q){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(I=p)}}}},navigate:function(g){if(F){fqstate=g;if(q)j(fqstate);else{location.hash=
r;p=v;e(g);b()}else if(v!==p&&u){g=r;p=v;r=D[p-1];e(r);b()}},50)}}function H(){var g;g=K.value.split("|");if(g.length>1){L=g[0];C=g[1]}if(g.length>2)D=g[2].split(",");if(q)l();else{n();F=true;y!=null&&y()}}var u=false,q=self.isIElt9,s=false,y=null,I=null,K=null,F=false,Q=null,D=[],L,C,E=function(){};return{onReady:function(g){if(F)setTimeout(function(){g()},0);else y=g},_initialize:function(){K!=null&&H()},_initTimeout:function(){n()},register:function(g,p){if(!F){C=L=escape(g);E=p}},initialize:function(g, p){if(!F){var r=navigator.vendor||"";if(r!=="KDE")if(typeof window.opera!=="undefined")s=true;else if(!q&&r.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof g==="string")g=document.getElementById(g);if(!(!g||g.tagName.toUpperCase()!=="TEXTAREA"&&(g.tagName.toUpperCase()!=="INPUT"||g.type!=="hidden"&&g.type!=="text"))){K=g;if(q){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(I=p)}}}},navigate:function(g){if(F){fqstate=g;if(q)j(fqstate);else{location.hash=
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var g,p;p=location.href;g=p.indexOf("#");return g>=0?p.substr(g+1):null}function b(){J.value=L+"|"+C;if(u)J.value+="|"+D.join(",")}function e(g){if(g){if(!g||C!==g){C=g||L;E(unescape(C))}}else{C=L;E(unescape(C))}}function j(g){var p;g='<html><body><div id="state">'+g+"</div></body></html>";try{p=I.contentWindow.document;p.open();p.write(g);p.close();return true}catch(r){return false}}function l(){var g,p,r,v;if(!I.contentWindow||!I.contentWindow.document)setTimeout(l,10);else{g=I.contentWindow.document;r=(p=g.getElementById("state"))?p.innerText:null;v=a();setInterval(function(){var M,B;g=I.contentWindow.document;M=(p=g.getElementById("state"))?p.innerText:null;B=a();if(M!==r){r=M;e(r);B=r?r:L;v=location.hash=B;b()}else if(B!==v){v=B;j(B)}},50);F=true;y!=null&&y()}}function n(){if(!q){var g=a(),p=history.length;Q&&clearInterval(Q);Q=setInterval(function(){var r,v;r=a();v=history.length;if(r!==g){g=r;p=v;e(g);b()}else if(v!==p&&u){g=r;p=v;r=D[p-1];e(r);b()}},50)}}function H(){var g;g=J.value.split("|");if(g.length>1){L=g[0];C=g[1]}if(g.length>2)D=g[2].split(",");if(q)l();else{n();F=true;y!=null&&y()}}var u=false,q=self.isIElt9,s=false,y=null,I=null,J=null,F=false,Q=null,D=[],L,C,E=function(){};return{onReady:function(g){if(F)setTimeout(function(){g()},0);else y=g},_initialize:function(){J!=null&&H()},_initTimeout:function(){n()},register:function(g,p){if(!F){C=L=escape(g);E=p}},initialize:function(g,p){if(!F){var r=navigator.vendor||"";if(r!=="KDE")if(typeof window.opera!=="undefined")s=true;else if(!q&&r.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof g==="string")g=document.getElementById(g);if(!(!g||g.tagName.toUpperCase()!=="TEXTAREA"&&(g.tagName.toUpperCase()!=="INPUT"||g.type!=="hidden"&&g.type!=="text"))){J=g;if(q){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(I=p)}}}},navigate:function(g){if(F){fqstate=g;if(q)j(fqstate);else{location.hash=fqstate;if(u){D[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!F)return"";return C}}}()}),_$_APP_CLASS_$_=new (function(){function x(d){d=g.pageCoordinates(d);p=d.x;r=d.y}function w(){var d=g.history.getCurrentState();if(v!=d){v=d;setTimeout(function(){H(null,"hash",null,true)},1)}}function G(d){if(v!=d){v=d;g.history.navigate(escape(d))}}function U(){window.onresize=function(){j()};document.body.ondragstart=function(){return false}}function Z(d,c){var f=M;f.object=g.getElement(d.getAttribute("dwid"));
j+"</div></body></html>";try{o=F.contentWindow.document;o.open();o.write(j);o.close();return true}catch(p){return false}}function k(){var j,o,p,w;if(!F.contentWindow||!F.contentWindow.document)setTimeout(k,10);else{j=F.contentWindow.document;p=(o=j.getElementById("state"))?o.innerText:null;w=a();setInterval(function(){var O,G;j=F.contentWindow.document;O=(o=j.getElementById("state"))?o.innerText:null;G=a();if(O!==p){p=O;f(p);G=p?p:D;w=location.hash=G;b()}else if(G!==w){w=G;n(G)}},50);B=true;z!=null&& z()}}function m(){if(!t){var j=a(),o=history.length;P&&clearInterval(P);P=setInterval(function(){var p,w;p=a();w=history.length;if(p!==j){j=p;o=w;f(j);b()}else if(w!==o&&r){j=p;o=w;p=E[o-1];f(p);b()}},50)}}function x(){var j;j=I.value.split("|");if(j.length>1){D=j[0];y=j[1]}if(j.length>2)E=j[2].split(",");if(t)k();else{m();B=true;z!=null&&z()}}var r=false,t=false,A=false,z=null,F=null,I=null,B=false,P=null,E=[],D,y,J=function(){};return{onReady:function(j){if(B)setTimeout(function(){j()},0);else z=
j+"</div></body></html>";try{o=F.contentWindow.document;o.open();o.write(j);o.close();return true}catch(p){return false}}function k(){var j,o,p,w;if(!F.contentWindow||!F.contentWindow.document)setTimeout(k,10);else{j=F.contentWindow.document;p=(o=j.getElementById("state"))?o.innerText:null;w=a();setInterval(function(){var P,G;j=F.contentWindow.document;P=(o=j.getElementById("state"))?o.innerText:null;G=a();if(P!==p){p=P;f(p);G=p?p:D;w=location.hash=G;b()}else if(G!==w){w=G;n(G)}},50);B=true;z!=null&& z()}}function m(){if(!t){var j=a(),o=history.length;Q&&clearInterval(Q);Q=setInterval(function(){var p,w;p=a();w=history.length;if(p!==j){j=p;o=w;f(j);b()}else if(w!==o&&r){j=p;o=w;p=E[o-1];f(p);b()}},50)}}function x(){var j;j=I.value.split("|");if(j.length>1){D=j[0];y=j[1]}if(j.length>2)E=j[2].split(",");if(t)k();else{m();B=true;z!=null&&z()}}var r=false,t=false,A=false,z=null,F=null,I=null,B=false,Q=null,E=[],D,y,J=function(){};return{onReady:function(j){if(B)setTimeout(function(){j()},0);else z=
var n=l.widgetPageCoordinates(b),k,m;a.style.display="block";if(f==l.Horizontal){f=n.x+b.offsetWidth;k=n.y;m=n.x;b=n.y+b.offsetHeight}else{f=n.x;k=n.y+b.offsetHeight;m=n.x+b.offsetWidth;b=n.y}l.fitToWindow(a,f,k,m,b)};this.history=function(){function a(){var j,o;o=location.href;j=o.indexOf("#");return j>=0?o.substr(j+1):null}function b(){I.value=D+"|"+y;if(r)I.value+="|"+E.join(",")}function f(j){if(j){if(!j||y!==j){y=j||D;J(unescape(y))}}else{y=D;J(unescape(y))}}function n(j){var o;j='<html><body><div id="state">'+j+"</div></body></html>";try{o=F.contentWindow.document;o.open();o.write(j);o.close();return true}catch(p){return false}}function k(){var j,o,p,w;if(!F.contentWindow||!F.contentWindow.document)setTimeout(k,10);else{j=F.contentWindow.document;p=(o=j.getElementById("state"))?o.innerText:null;w=a();setInterval(function(){var O,G;j=F.contentWindow.document;O=(o=j.getElementById("state"))?o.innerText:null;G=a();if(O!==p){p=O;f(p);G=p?p:D;w=location.hash=G;b()}else if(G!==w){w=G;n(G)}},50);B=true;z!=null&&z()}}function m(){if(!t){var j=a(),o=history.length;P&&clearInterval(P);P=setInterval(function(){var p,w;p=a();w=history.length;if(p!==j){j=p;o=w;f(j);b()}else if(w!==o&&r){j=p;o=w;p=E[o-1];f(p);b()}},50)}}function x(){var j;j=I.value.split("|");if(j.length>1){D=j[0];y=j[1]}if(j.length>2)E=j[2].split(",");if(t)k();else{m();B=true;z!=null&&z()}}var r=false,t=false,A=false,z=null,F=null,I=null,B=false,P=null,E=[],D,y,J=function(){};return{onReady:function(j){if(B)setTimeout(function(){j()},0);else z=j},_initialize:function(){I!=null&&x()},_initTimeout:function(){m()},register:function(j,o){if(!B){y=D=escape(j);J=o}},initialize:function(j,o){if(!B){var p=navigator.vendor||"";if(p!=="KDE")if(typeof window.opera!=="undefined")A=true;else if(typeof document.all!=="undefined")t=true;else if(p.indexOf("Apple Computer, Inc.")>-1)r=true;if(typeof j==="string")j=document.getElementById(j);if(!(!j||j.tagName.toUpperCase()!=="TEXTAREA"&&(j.tagName.toUpperCase()!=="INPUT"||j.type!=="hidden"&&j.type!=="text"))){I=j;if(t){if(typeof o==="string")o=document.getElementById(o);!o||o.tagName.toUpperCase()!=="IFRAME"||(F=o)}}}},navigate:function(j){if(B){fqstate=j;if(t)return n(fqstate);else{location.hash=fqstate;if(r){E[history.length]=fqstate;b()}return true}}},getCurrentState:function(){if(!B)return"";return y}}}()}),_$_APP_CLASS_$_=new (function(){function l(c){c=q.pageCoordinates(c);$=c.x;aa=c.y}function a(){var c=q.history.getCurrentState();if(L!=c){L=c;setTimeout(function(){J(null,"hash",null,true)},1)}}function b(c){if(L!=
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+N.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k,
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+O.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k,
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+N.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k,h,s,A;if(!C.contentWindow||!C.contentWindow.document)setTimeout(n,10);else{k=C.contentWindow.document;s=(h=k.getElementById("state"))?h.innerText:null;A=a();setInterval(function(){var H,E;k=C.contentWindow.document;H=(h=k.getElementById("state"))?h.innerText:null;E=a();if(H!==s){s=H;f(s);E=s?s:x;A=location.hash=E;b()}else if(E!==A){A=E;l(E)}},50);K=true;r!=null&&r()}}function o(){if(!q){var k=a(),h=history.length;M&&clearInterval(M);M=setInterval(function(){var s,A;s=a();A=history.length;if(s!==k){k=s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=N[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)N=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=self.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,N=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,h){if(!K){var s=navigator.vendor||"";if(s!=="KDE")if(typeof window.opera!=="undefined")B=true;else if(!q&&s.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof k==="string")k=document.getElementById(k);if(!(!k||k.tagName.toUpperCase()!=="TEXTAREA"&&(k.tagName.toUpperCase()!=="INPUT"||k.type!=="hidden"&&k.type!=="text"))){J=k;if(q){if(typeof h==="string")h=document.getElementById(h);!h||h.tagName.toUpperCase()!=="IFRAME"||(C=h)}}}},navigate:function(k){if(K){fqstate=k;if(q)l(fqstate);else{location.hash=fqstate;if(u){N[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!K)return"";return D}}}()});
s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=N[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)N=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=self.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,N=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,
s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=self.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+N.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k,h,s,A;if(!C.contentWindow||!C.contentWindow.document)setTimeout(n,10);else{k=C.contentWindow.document;s=(h=k.getElementById("state"))?h.innerText:null;A=a();setInterval(function(){var H,E;k=C.contentWindow.document;H=(h=k.getElementById("state"))?h.innerText:null;E=a();if(H!==s){s=H;f(s);E=s?s:x;A=location.hash=E;b()}else if(E!==A){A=E;l(E)}},50);K=true;r!=null&&r()}}function o(){if(!q){var k=a(),h=history.length;M&&clearInterval(M);M=setInterval(function(){var s,A;s=a();A=history.length;if(s!==k){k=s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=N[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)N=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=self.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,N=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,h){if(!K){var s=navigator.vendor||"";if(s!=="KDE")if(typeof window.opera!=="undefined")B=true;else if(!q&&s.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof k==="string")k=document.getElementById(k);if(!(!k||k.tagName.toUpperCase()!=="TEXTAREA"&&(k.tagName.toUpperCase()!=="INPUT"||k.type!=="hidden"&&k.type!=="text"))){J=k;if(q){if(typeof h==="string")h=document.getElementById(h);!h||h.tagName.toUpperCase()!=="IFRAME"||(C=h)}}}},navigate:function(k){if(K){fqstate=k;if(q)l(fqstate);else{location.hash=fqstate;if(u){N[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!K)return"";return D}}}()});
fqstate;if(u){N[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!K)return"";return D}}}()});
fqstate;if(u){O[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!K)return"";return D}}}()});
""};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var k,h;h=location.href;k=h.indexOf("#");return k>=0?h.substr(k+1):null}function b(){J.value=x+"|"+D;if(u)J.value+="|"+N.join(",")}function f(k){if(k){if(!k||D!==k){D=k||x;Y(unescape(D))}}else{D=x;Y(unescape(D))}}function l(k){var h;k='<html><body><div id="state">'+k+"</div></body></html>";try{h=C.contentWindow.document;h.open();h.write(k);h.close();return true}catch(s){return false}}function n(){var k,h,s,A;if(!C.contentWindow||!C.contentWindow.document)setTimeout(n,10);else{k=C.contentWindow.document;s=(h=k.getElementById("state"))?h.innerText:null;A=a();setInterval(function(){var H,E;k=C.contentWindow.document;H=(h=k.getElementById("state"))?h.innerText:null;E=a();if(H!==s){s=H;f(s);E=s?s:x;A=location.hash=E;b()}else if(E!==A){A=E;l(E)}},50);K=true;r!=null&&r()}}function o(){if(!q){var k=a(),h=history.length;M&&clearInterval(M);M=setInterval(function(){var s,A;s=a();A=history.length;if(s!==k){k=s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=N[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)N=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=self.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,N=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,h){if(!K){var s=navigator.vendor||"";if(s!=="KDE")if(typeof window.opera!=="undefined")B=true;else if(!q&&s.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof k==="string")k=document.getElementById(k);if(!(!k||k.tagName.toUpperCase()!=="TEXTAREA"&&(k.tagName.toUpperCase()!=="INPUT"||k.type!=="hidden"&&k.type!=="text"))){J=k;if(q){if(typeof h==="string")h=document.getElementById(h);!h||h.tagName.toUpperCase()!=="IFRAME"||(C=h)}}}},navigate:function(k){if(K){fqstate=k;if(q)l(fqstate);else{location.hash=fqstate;if(u){N[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!K)return"";return D}}}()});
k.x+b.offsetWidth;i=k.y;n=k.x;b=k.y+b.offsetHeight}else{e=k.x;i=k.y+b.offsetHeight;n=k.x+b.offsetWidth;b=k.y}h.fitToWindow(a,e,i,n,b)};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){F.value=L+"|"+E;if(u)F.value+="|"+M.join(",")}function e(l){if(l){if(!l||E!==l){E=l||L;N(unescape(E))}}else{E=L;N(unescape(E))}}function k(l){var p;l='<html><body><div id="state">'+l+"</div></body></html>"; try{p=A.contentWindow.document;p.open();p.write(l);p.close();return true}catch(r){return false}}function i(){var l,p,r,y;if(!A.contentWindow||!A.contentWindow.document)setTimeout(i,10);else{l=A.contentWindow.document;r=(p=l.getElementById("state"))?p.innerText:null;y=a();setInterval(function(){var o,H;l=A.contentWindow.document;o=(p=l.getElementById("state"))?p.innerText:null;H=a();if(o!==r){r=o;e(r);H=r?r:L;y=location.hash=H;b()}else if(H!==y){y=H;k(H)}},50);I=true;x!=null&&x()}}function n(){if(!q){var l= a(),p=history.length;G&&clearInterval(G);G=setInterval(function(){var r,y;r=a();y=history.length;if(r!==l){l=r;p=y;e(l);b()}else if(y!==p&&u){l=r;p=y;r=M[p-1];e(r);b()}},50)}}function K(){var l;l=F.value.split("|");if(l.length>1){L=l[0];E=l[1]}if(l.length>2)M=l[2].split(",");if(q)i();else{n();I=true;x!=null&&x()}}var u=false,q=false,D=false,x=null,A=null,F=null,I=false,G=null,M=[],L,E,N=function(){};return{onReady:function(l){if(I)setTimeout(function(){l()},0);else x=l},_initialize:function(){F!= null&&K()},_initTimeout:function(){n()},register:function(l,p){if(!I){E=L=escape(l);N=p}},initialize:function(l,p){if(!I){var r=navigator.vendor||"";if(r!=="KDE")if(typeof window.opera!=="undefined")D=true;else if(typeof document.all!=="undefined")q=true;else if(r.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof l==="string")l=document.getElementById(l);if(!(!l||l.tagName.toUpperCase()!=="TEXTAREA"&&(l.tagName.toUpperCase()!=="INPUT"||l.type!=="hidden"&&l.type!=="text"))){F=l;if(q){if(typeof p=== "string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(A=p)}}}},navigate:function(l){if(I){fqstate=l;if(q)k(fqstate);else{location.hash=fqstate;if(u){M[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return E}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=o.pageCoordinates(d);H=d.x;ea=d.y}function t(){var d=o.history.getCurrentState();if(P!=d){P=d;setTimeout(function(){A(null,"hash",null,true)},1)}}function B(d){if(P!=d){P=d;o.history.navigate(escape(d))}}
a.style.display="block";if(e==g.Horizontal){e=j.x+b.offsetWidth;i=j.y;n=j.x;b=j.y+b.offsetHeight}else{e=j.x;i=j.y+b.offsetHeight;n=j.x+b.offsetWidth;b=j.y}g.fitToWindow(a,e,i,n,b)};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){E.value=K+"|"+D;if(u)E.value+="|"+L.join(",")}function e(l){if(l){if(!l||D!==l){D=l||K;M(unescape(D))}}else{D=K;M(unescape(D))}}function j(l){var p; l='<html><body><div id="state">'+l+"</div></body></html>";try{p=z.contentWindow.document;p.open();p.write(l);p.close();return true}catch(r){return false}}function i(){var l,p,r,x;if(!z.contentWindow||!z.contentWindow.document)setTimeout(i,10);else{l=z.contentWindow.document;r=(p=l.getElementById("state"))?p.innerText:null;x=a();setInterval(function(){var o,G;l=z.contentWindow.document;o=(p=l.getElementById("state"))?p.innerText:null;G=a();if(o!==r){r=o;e(r);G=r?r:K;x=location.hash=G;b()}else if(G!== x){x=G;j(G)}},50);H=true;w!=null&&w()}}function n(){if(!q){var l=a(),p=history.length;F&&clearInterval(F);F=setInterval(function(){var r,x;r=a();x=history.length;if(r!==l){l=r;p=x;e(l);b()}else if(x!==p&&u){l=r;p=x;r=L[p-1];e(r);b()}},50)}}function J(){var l;l=E.value.split("|");if(l.length>1){K=l[0];D=l[1]}if(l.length>2)L=l[2].split(",");if(q)i();else{n();H=true;w!=null&&w()}}var u=false,q=false,C=false,w=null,z=null,E=null,H=false,F=null,L=[],K,D,M=function(){};return{onReady:function(l){if(H)setTimeout(function(){l()}, 0);else w=l},_initialize:function(){E!=null&&J()},_initTimeout:function(){n()},register:function(l,p){if(!H){D=K=escape(l);M=p}},initialize:function(l,p){if(!H){var r=navigator.vendor||"";if(r!=="KDE")if(typeof window.opera!=="undefined")C=true;else if(typeof document.all!=="undefined")q=true;else if(r.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof l==="string")l=document.getElementById(l);if(!(!l||l.tagName.toUpperCase()!=="TEXTAREA"&&(l.tagName.toUpperCase()!=="INPUT"||l.type!=="hidden"&&l.type!== "text"))){E=l;if(q){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(z=p)}}}},navigate:function(l){if(H){fqstate=l;if(q)j(fqstate);else{location.hash=fqstate;if(u){L[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!H)return"";return D}}}()}),_$_APP_CLASS_$_=new (function(){function v(d){d=o.pageCoordinates(d);G=d.x;da=d.y}function t(){var d=o.history.getCurrentState();if(O!=d){O=d;setTimeout(function(){z(null,"hash",null,true)},1)}}function A(d){if(O!=
k.x+b.offsetWidth;i=k.y;n=k.x;b=k.y+b.offsetHeight}else{e=k.x;i=k.y+b.offsetHeight;n=k.x+b.offsetWidth;b=k.y}h.fitToWindow(a,e,i,n,b)};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){F.value=L+"|"+E;if(u)F.value+="|"+M.join(",")}function e(l){if(l){if(!l||E!==l){E=l||L;N(unescape(E))}}else{E=L;N(unescape(E))}}function k(l){var p;l='<html><body><div id="state">'+l+"</div></body></html>";try{p=A.contentWindow.document;p.open();p.write(l);p.close();return true}catch(r){return false}}function i(){var l,p,r,y;if(!A.contentWindow||!A.contentWindow.document)setTimeout(i,10);else{l=A.contentWindow.document;r=(p=l.getElementById("state"))?p.innerText:null;y=a();setInterval(function(){var o,H;l=A.contentWindow.document;o=(p=l.getElementById("state"))?p.innerText:null;H=a();if(o!==r){r=o;e(r);H=r?r:L;y=location.hash=H;b()}else if(H!==y){y=H;k(H)}},50);I=true;x!=null&&x()}}function n(){if(!q){var l=a(),p=history.length;G&&clearInterval(G);G=setInterval(function(){var r,y;r=a();y=history.length;if(r!==l){l=r;p=y;e(l);b()}else if(y!==p&&u){l=r;p=y;r=M[p-1];e(r);b()}},50)}}function K(){var l;l=F.value.split("|");if(l.length>1){L=l[0];E=l[1]}if(l.length>2)M=l[2].split(",");if(q)i();else{n();I=true;x!=null&&x()}}var u=false,q=false,D=false,x=null,A=null,F=null,I=false,G=null,M=[],L,E,N=function(){};return{onReady:function(l){if(I)setTimeout(function(){l()},0);else x=l},_initialize:function(){F!=null&&K()},_initTimeout:function(){n()},register:function(l,p){if(!I){E=L=escape(l);N=p}},initialize:function(l,p){if(!I){var r=navigator.vendor||"";if(r!=="KDE")if(typeof window.opera!=="undefined")D=true;else if(typeof document.all!=="undefined")q=true;else if(r.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof l==="string")l=document.getElementById(l);if(!(!l||l.tagName.toUpperCase()!=="TEXTAREA"&&(l.tagName.toUpperCase()!=="INPUT"||l.type!=="hidden"&&l.type!=="text"))){F=l;if(q){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(A=p)}}}},navigate:function(l){if(I){fqstate=l;if(q)k(fqstate);else{location.hash=fqstate;if(u){M[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return E}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=o.pageCoordinates(d);H=d.x;ea=d.y}function t(){var d=o.history.getCurrentState();if(P!=d){P=d;setTimeout(function(){A(null,"hash",null,true)},1)}}function B(d){if(P!=d){P=d;o.history.navigate(escape(d))}}
b.offsetHeight;n=k.x+b.offsetWidth;b=k.y}g.fitToWindow(a,e,i,n,b)};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){F.value=L+"|"+E;if(u)F.value+="|"+M.join(",")}function e(l){if(l){if(!l||E!==l){E=l||L;N(unescape(E))}}else{E=L;N(unescape(E))}}function k(l){var p;l='<html><body><div id="state">'+l+"</div></body></html>";try{p=A.contentWindow.document;p.open();p.write(l);
b.offsetHeight;n=k.x+b.offsetWidth;b=k.y}h.fitToWindow(a,e,i,n,b)};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){F.value=L+"|"+E;if(u)F.value+="|"+M.join(",")}function e(l){if(l){if(!l||E!==l){E=l||L;N(unescape(E))}}else{E=L;N(unescape(E))}}function k(l){var p;l='<html><body><div id="state">'+l+"</div></body></html>";try{p=A.contentWindow.document;p.open();p.write(l);
b.offsetHeight;n=k.x+b.offsetWidth;b=k.y}g.fitToWindow(a,e,i,n,b)};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){F.value=L+"|"+E;if(u)F.value+="|"+M.join(",")}function e(l){if(l){if(!l||E!==l){E=l||L;N(unescape(E))}}else{E=L;N(unescape(E))}}function k(l){var p;l='<html><body><div id="state">'+l+"</div></body></html>";try{p=A.contentWindow.document;p.open();p.write(l);p.close();return true}catch(r){return false}}function i(){var l,p,r,y;if(!A.contentWindow||!A.contentWindow.document)setTimeout(i,10);else{l=A.contentWindow.document;r=(p=l.getElementById("state"))?p.innerText:null;y=a();setInterval(function(){var o,H;l=A.contentWindow.document;o=(p=l.getElementById("state"))?p.innerText:null;H=a();if(o!==r){r=o;e(r);H=r?r:L;y=location.hash=H;b()}else if(H!==y){y=H;k(H)}},50);I=true;x!=null&&x()}}function n(){if(!q){var l=a(),p=history.length;G&&clearInterval(G);G=setInterval(function(){var r,y;r=a();y=history.length;if(r!==l){l=r;p=y;e(l);b()}else if(y!==p&&u){l=r;p=y;r=M[p-1];e(r);b()}},50)}}function K(){var l;l=F.value.split("|");if(l.length>1){L=l[0];E=l[1]}if(l.length>2)M=l[2].split(",");if(q)i();else{n();I=true;x!=null&&x()}}var u=false,q=false,D=false,x=null,A=null,F=null,I=false,G=null,M=[],L,E,N=function(){};return{onReady:function(l){if(I)setTimeout(function(){l()},0);else x=l},_initialize:function(){F!=null&&K()},_initTimeout:function(){n()},register:function(l,p){if(!I){E=L=escape(l);N=p}},initialize:function(l,p){if(!I){var r=navigator.vendor||"";if(r!=="KDE")if(typeof window.opera!=="undefined")D=true;else if(typeof document.all!=="undefined")q=true;else if(r.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof l==="string")l=document.getElementById(l);if(!(!l||l.tagName.toUpperCase()!=="TEXTAREA"&&(l.tagName.toUpperCase()!=="INPUT"||l.type!=="hidden"&&l.type!=="text"))){F=l;if(q){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(A=p)}}}},navigate:function(l){if(I){fqstate=l;if(q)k(fqstate);else{location.hash=fqstate;if(u){M[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return E}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=o.pageCoordinates(d);H=d.x;ea=d.y}function t(){var d=o.history.getCurrentState();if(P!=d){P=d;setTimeout(function(){A(null,"hash",null,true)},1)}}function B(d){if(P!=d){P=d;o.history.navigate(escape(d))}}function ba(){window.onresize=function(){q()};document.body.ondragstart=
function(a,b,f){a=g.getElement(a);b=g.getElement(b);var h=g.widgetPageCoordinates(b),k,o;a.style.display="block";if(f==g.Horizontal){f=h.x+b.offsetWidth;k=h.y;o=h.x;b=h.y+b.offsetHeight}else{f=h.x;k=h.y+b.offsetHeight;o=h.x+b.offsetWidth;b=h.y}g.fitToWindow(a,f,k,o,b)};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){v.value=G+"|"+C;if(u)v.value+="|"+M.join(",")}function f(l){if(l){if(!l|| C!==l){C=l||G;H(unescape(C))}}else{C=G;H(unescape(C))}}function h(l){var p;l='<html><body><div id="state">'+l+"</div></body></html>";try{p=F.contentWindow.document;p.open();p.write(l);p.close();return true}catch(q){return false}}function k(){var l,p,q,n;if(!F.contentWindow||!F.contentWindow.document)setTimeout(k,10);else{l=F.contentWindow.document;q=(p=l.getElementById("state"))?p.innerText:null;n=a();setInterval(function(){var N,J;l=F.contentWindow.document;N=(p=l.getElementById("state"))?p.innerText: null;J=a();if(N!==q){q=N;f(q);J=q?q:G;n=location.hash=J;b()}else if(J!==n){n=J;h(J)}},50);I=true;x!=null&&x()}}function o(){if(!r){var l=a(),p=history.length;U&&clearInterval(U);U=setInterval(function(){var q,n;q=a();n=history.length;if(q!==l){l=q;p=n;f(l);b()}else if(n!==p&&u){l=q;p=n;q=M[p-1];f(q);b()}},50)}}function E(){var l;l=v.value.split("|");if(l.length>1){G=l[0];C=l[1]}if(l.length>2)M=l[2].split(",");if(r)k();else{o();I=true;x!=null&&x()}}var u=false,r=false,y=false,x=null,F=null,v=null, I=false,U=null,M=[],G,C,H=function(){};return{onReady:function(l){if(I)setTimeout(function(){l()},0);else x=l},_initialize:function(){v!=null&&E()},_initTimeout:function(){o()},register:function(l,p){if(!I){C=G=escape(l);H=p}},initialize:function(l,p){if(!I){var q=navigator.vendor||"";if(q!=="KDE")if(typeof window.opera!=="undefined")y=true;else if(typeof document.all!=="undefined")r=true;else if(q.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof l==="string")l=document.getElementById(l);if(!(!l|| l.tagName.toUpperCase()!=="TEXTAREA"&&(l.tagName.toUpperCase()!=="INPUT"||l.type!=="hidden"&&l.type!=="text"))){v=l;if(r){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(F=p)}}}},navigate:function(l){if(I){fqstate=l;if(r)h(fqstate);else{location.hash=fqstate;if(u){M[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return C}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=n.pageCoordinates(d);N=d.x;J=d.y}function t(){var d=
document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){v.value=G+"|"+C;if(u)v.value+="|"+M.join(",")}function f(l){if(l){if(!l||C!==l){C=l||G;H(unescape(C))}}else{C=G;H(unescape(C))}}function h(l){var p;l='<html><body><div id="state">'+l+"</div></body></html>";try{p=F.contentWindow.document;p.open();p.write(l);p.close();return true}catch(q){return false}}function k(){var l,p,q,n;if(!F.contentWindow||!F.contentWindow.document)setTimeout(k, 10);else{l=F.contentWindow.document;q=(p=l.getElementById("state"))?p.innerText:null;n=a();setInterval(function(){var N,J;l=F.contentWindow.document;N=(p=l.getElementById("state"))?p.innerText:null;J=a();if(N!==q){q=N;f(q);J=q?q:G;n=location.hash=J;b()}else if(J!==n){n=J;h(J)}},50);I=true;x!=null&&x()}}function o(){if(!r){var l=a(),p=history.length;U&&clearInterval(U);U=setInterval(function(){var q,n;q=a();n=history.length;if(q!==l){l=q;p=n;f(l);b()}else if(n!==p&&u){l=q;p=n;q=M[p-1];f(q);b()}},50)}} function E(){var l;l=v.value.split("|");if(l.length>1){G=l[0];C=l[1]}if(l.length>2)M=l[2].split(",");if(r)k();else{o();I=true;x!=null&&x()}}var u=false,r=false,y=false,x=null,F=null,v=null,I=false,U=null,M=[],G,C,H=function(){};return{onReady:function(l){if(I)setTimeout(function(){l()},0);else x=l},_initialize:function(){v!=null&&E()},_initTimeout:function(){o()},register:function(l,p){if(!I){C=G=escape(l);H=p}},initialize:function(l,p){if(!I){var q=navigator.vendor||"";if(q!=="KDE")if(typeof window.opera!== "undefined")y=true;else if(typeof document.all!=="undefined")r=true;else if(q.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof l==="string")l=document.getElementById(l);if(!(!l||l.tagName.toUpperCase()!=="TEXTAREA"&&(l.tagName.toUpperCase()!=="INPUT"||l.type!=="hidden"&&l.type!=="text"))){v=l;if(r){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(F=p)}}}},navigate:function(l){if(I){fqstate=l;if(r)h(fqstate);else{location.hash=fqstate;if(u){M[history.length]= fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return C}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=n.pageCoordinates(d);N=d.x;J=d.y}function t(){var d=n.history.getCurrentState();if(O!=d){O=d;setTimeout(function(){y(null,"hash",null,true)},1)}}function D(d){if(O!=d){O=d;n.history.navigate(escape(d))}}function T(){window.onresize=function(){E()};document.body.ondragstart=function(){return false}}function ca(d,c){var e=aa;e.object=n.getElement(d.getAttribute("dwid"));if(e.object==
function(a,b,f){a=g.getElement(a);b=g.getElement(b);var h=g.widgetPageCoordinates(b),k,o;a.style.display="block";if(f==g.Horizontal){f=h.x+b.offsetWidth;k=h.y;o=h.x;b=h.y+b.offsetHeight}else{f=h.x;k=h.y+b.offsetHeight;o=h.x+b.offsetWidth;b=h.y}g.fitToWindow(a,f,k,o,b)};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var l,p;p=location.href;l=p.indexOf("#");return l>=0?p.substr(l+1):null}function b(){v.value=G+"|"+C;if(u)v.value+="|"+M.join(",")}function f(l){if(l){if(!l||C!==l){C=l||G;H(unescape(C))}}else{C=G;H(unescape(C))}}function h(l){var p;l='<html><body><div id="state">'+l+"</div></body></html>";try{p=F.contentWindow.document;p.open();p.write(l);p.close();return true}catch(q){return false}}function k(){var l,p,q,n;if(!F.contentWindow||!F.contentWindow.document)setTimeout(k,10);else{l=F.contentWindow.document;q=(p=l.getElementById("state"))?p.innerText:null;n=a();setInterval(function(){var N,J;l=F.contentWindow.document;N=(p=l.getElementById("state"))?p.innerText:null;J=a();if(N!==q){q=N;f(q);J=q?q:G;n=location.hash=J;b()}else if(J!==n){n=J;h(J)}},50);I=true;x!=null&&x()}}function o(){if(!r){var l=a(),p=history.length;U&&clearInterval(U);U=setInterval(function(){var q,n;q=a();n=history.length;if(q!==l){l=q;p=n;f(l);b()}else if(n!==p&&u){l=q;p=n;q=M[p-1];f(q);b()}},50)}}function E(){var l;l=v.value.split("|");if(l.length>1){G=l[0];C=l[1]}if(l.length>2)M=l[2].split(",");if(r)k();else{o();I=true;x!=null&&x()}}var u=false,r=false,y=false,x=null,F=null,v=null,I=false,U=null,M=[],G,C,H=function(){};return{onReady:function(l){if(I)setTimeout(function(){l()},0);else x=l},_initialize:function(){v!=null&&E()},_initTimeout:function(){o()},register:function(l,p){if(!I){C=G=escape(l);H=p}},initialize:function(l,p){if(!I){var q=navigator.vendor||"";if(q!=="KDE")if(typeof window.opera!=="undefined")y=true;else if(typeof document.all!=="undefined")r=true;else if(q.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof l==="string")l=document.getElementById(l);if(!(!l||l.tagName.toUpperCase()!=="TEXTAREA"&&(l.tagName.toUpperCase()!=="INPUT"||l.type!=="hidden"&&l.type!=="text"))){v=l;if(r){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(F=p)}}}},navigate:function(l){if(I){fqstate=l;if(r)h(fqstate);else{location.hash=fqstate;if(u){M[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!I)return"";return C}}}()}),_$_APP_CLASS_$_=new (function(){function w(d){d=n.pageCoordinates(d);N=d.x;J=d.y}function t(){var d=
function(a,b,f){a=k.getElement(a);b=k.getElement(b);var m=k.widgetPageCoordinates(b),l,o;a.style.display="block";if(f==k.Horizontal){f=m.x+b.offsetWidth;l=m.y;o=m.x;b=m.y+b.offsetHeight}else{f=m.x;l=m.y+b.offsetHeight;o=m.x+b.offsetWidth;b=m.y}k.fitToWindow(a,f,l,o,b)};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var g,p;p=location.href;g=p.indexOf("#");return g>=0?p.substr(g+1):null}function b(){H.value=I+"|"+z;if(r)H.value+="|"+A.join(",")}function f(g){if(g){if(!g|| z!==g){z=g||I;Q(unescape(z))}}else{z=I;Q(unescape(z))}}function m(g){var p;g='<html><body><div id="state">'+g+"</div></body></html>";try{p=K.contentWindow.document;p.open();p.write(g);p.close();return true}catch(n){return false}}function l(){var g,p,n,y;if(!K.contentWindow||!K.contentWindow.document)setTimeout(l,10);else{g=K.contentWindow.document;n=(p=g.getElementById("state"))?p.innerText:null;y=a();setInterval(function(){var M,w;g=K.contentWindow.document;M=(p=g.getElementById("state"))?p.innerText: null;w=a();if(M!==n){n=M;f(n);w=n?n:I;y=location.hash=w;b()}else if(w!==y){y=w;m(w)}},50);E=true;D!=null&&D()}}function o(){if(!t){var g=a(),p=history.length;R&&clearInterval(R);R=setInterval(function(){var n,y;n=a();y=history.length;if(n!==g){g=n;p=y;f(g);b()}else if(y!==p&&r){g=n;p=y;n=A[p-1];f(n);b()}},50)}}function B(){var g;g=H.value.split("|");if(g.length>1){I=g[0];z=g[1]}if(g.length>2)A=g[2].split(",");if(t)l();else{o();E=true;D!=null&&D()}}var r=false,t=false,C=false,D=null,K=null,H=null, E=false,R=null,A=[],I,z,Q=function(){};if(!document.activeElement){function S(g){if(g&&g.target)document.activeElement=g.target==document?null:g.target}function Y(){document.activeElement=null}document.addEventListener("focus",S,true);document.addEventListener("blur",Y,true)}return{onReady:function(g){if(E)setTimeout(function(){g()},0);else D=g},_initialize:function(){H!=null&&B()},_initTimeout:function(){o()},register:function(g,p){if(!E){z=I=escape(g);Q=p}},initialize:function(g,p){if(!E){var n= navigator.vendor||"";if(n!=="KDE")if(typeof window.opera!=="undefined")C=true;else if(typeof document.all!=="undefined")t=true;else if(n.indexOf("Apple Computer, Inc.")>-1)r=true;if(typeof g==="string")g=document.getElementById(g);if(!(!g||g.tagName.toUpperCase()!=="TEXTAREA"&&(g.tagName.toUpperCase()!=="INPUT"||g.type!=="hidden"&&g.type!=="text"))){H=g;if(t){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(K=p)}}}},navigate:function(g){if(E){fqstate=g; if(t)m(fqstate);else{location.hash=fqstate;if(r){A[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!E)return"";return z}}}()}),_$_APP_CLASS_$_=new (function(){function v(d){d=n.pageCoordinates(d);y=d.x;M=d.y}function s(){var d=n.history.getCurrentState();if(w!=d){w=d;setTimeout(function(){H(null,"hash",null,true)},1)}}function F(d){if(w!=d){w=d;n.history.navigate(escape(d))}}function k(){window.onresize=function(){C()};document.body.ondragstart=function(){return false}}function G(d,
k.Horizontal){f=m.x+b.offsetWidth;l=m.y;n=m.x;b=m.y+b.offsetHeight}else{f=m.x;l=m.y+b.offsetHeight;n=m.x+b.offsetWidth;b=m.y}k.fitToWindow(a,f,l,n,b)};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var g,o;o=location.href;g=o.indexOf("#");return g>=0?o.substr(g+1):null}function b(){L.value=I+"|"+y;if(q)L.value+="|"+N.join(",")}function f(g){if(g){if(!g||y!==g){y=g||I;S(unescape(y))}}else{y=I;S(unescape(y))}}function m(g){var o;g='<html><body><div id="state">'+ g+"</div></body></html>";try{o=F.contentWindow.document;o.open();o.write(g);o.close();return true}catch(p){return false}}function l(){var g,o,p,s;if(!F.contentWindow||!F.contentWindow.document)setTimeout(l,10);else{g=F.contentWindow.document;p=(o=g.getElementById("state"))?o.innerText:null;s=a();setInterval(function(){var J,B;g=F.contentWindow.document;J=(o=g.getElementById("state"))?o.innerText:null;B=a();if(J!==p){p=J;f(p);B=p?p:I;s=location.hash=B;b()}else if(B!==s){s=B;m(B)}},50);w=true;A!=null&& A()}}function n(){if(!u){var g=a(),o=history.length;O&&clearInterval(O);O=setInterval(function(){var p,s;p=a();s=history.length;if(p!==g){g=p;o=s;f(g);b()}else if(s!==o&&q){g=p;o=s;p=N[o-1];f(p);b()}},50)}}function E(){var g;g=L.value.split("|");if(g.length>1){I=g[0];y=g[1]}if(g.length>2)N=g[2].split(",");if(u)l();else{n();w=true;A!=null&&A()}}var q=false,u=false,H=false,A=null,F=null,L=null,w=false,O=null,N=[],I,y,S=function(){};if(!document.activeElement){function K(g){if(g&&g.target)document.activeElement= g.target==document?null:g.target}function V(){document.activeElement=null}document.addEventListener("focus",K,true);document.addEventListener("blur",V,true)}return{onReady:function(g){if(w)setTimeout(function(){g()},0);else A=g},_initialize:function(){L!=null&&E()},_initTimeout:function(){n()},register:function(g,o){if(!w){y=I=escape(g);S=o}},initialize:function(g,o){if(!w){var p=navigator.vendor||"";if(p!=="KDE")if(typeof window.opera!=="undefined")H=true;else if(typeof document.all!=="undefined")u= true;else if(p.indexOf("Apple Computer, Inc.")>-1)q=true;if(typeof g==="string")g=document.getElementById(g);if(!(!g||g.tagName.toUpperCase()!=="TEXTAREA"&&(g.tagName.toUpperCase()!=="INPUT"||g.type!=="hidden"&&g.type!=="text"))){L=g;if(u){if(typeof o==="string")o=document.getElementById(o);!o||o.tagName.toUpperCase()!=="IFRAME"||(F=o)}}}},navigate:function(g){if(w){fqstate=g;if(u)m(fqstate);else{location.hash=fqstate;if(q){N[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!w)return""; return y}}}()}),_$_APP_CLASS_$_=new (function(){function x(d){d=g.pageCoordinates(d);o=d.x;p=d.y}function t(){var d=g.history.getCurrentState();if(s!=d){s=d;setTimeout(function(){A(null,"hash",null,true)},1)}}function C(d){if(s!=d){s=d;g.history.navigate(escape(d))}}function Y(){window.onresize=function(){q()};document.body.ondragstart=function(){return false}}function k(d,c){var e=J;e.object=g.getElement(d.getAttribute("dwid"));if(e.object==null)return true;e.sourceId=d.getAttribute("dsid");e.objectPrevStyle=
function(a,b,f){a=k.getElement(a);b=k.getElement(b);var m=k.widgetPageCoordinates(b),l,o;a.style.display="block";if(f==k.Horizontal){f=m.x+b.offsetWidth;l=m.y;o=m.x;b=m.y+b.offsetHeight}else{f=m.x;l=m.y+b.offsetHeight;o=m.x+b.offsetWidth;b=m.y}k.fitToWindow(a,f,l,o,b)};this.hasFocus=function(a){return a==document.activeElement};this.history=function(){function a(){var g,p;p=location.href;g=p.indexOf("#");return g>=0?p.substr(g+1):null}function b(){H.value=I+"|"+z;if(r)H.value+="|"+A.join(",")}function f(g){if(g){if(!g||z!==g){z=g||I;Q(unescape(z))}}else{z=I;Q(unescape(z))}}function m(g){var p;g='<html><body><div id="state">'+g+"</div></body></html>";try{p=K.contentWindow.document;p.open();p.write(g);p.close();return true}catch(n){return false}}function l(){var g,p,n,y;if(!K.contentWindow||!K.contentWindow.document)setTimeout(l,10);else{g=K.contentWindow.document;n=(p=g.getElementById("state"))?p.innerText:null;y=a();setInterval(function(){var M,w;g=K.contentWindow.document;M=(p=g.getElementById("state"))?p.innerText:null;w=a();if(M!==n){n=M;f(n);w=n?n:I;y=location.hash=w;b()}else if(w!==y){y=w;m(w)}},50);E=true;D!=null&&D()}}function o(){if(!t){var g=a(),p=history.length;R&&clearInterval(R);R=setInterval(function(){var n,y;n=a();y=history.length;if(n!==g){g=n;p=y;f(g);b()}else if(y!==p&&r){g=n;p=y;n=A[p-1];f(n);b()}},50)}}function B(){var g;g=H.value.split("|");if(g.length>1){I=g[0];z=g[1]}if(g.length>2)A=g[2].split(",");if(t)l();else{o();E=true;D!=null&&D()}}var r=false,t=false,C=false,D=null,K=null,H=null,E=false,R=null,A=[],I,z,Q=function(){};if(!document.activeElement){function S(g){if(g&&g.target)document.activeElement=g.target==document?null:g.target}function Y(){document.activeElement=null}document.addEventListener("focus",S,true);document.addEventListener("blur",Y,true)}return{onReady:function(g){if(E)setTimeout(function(){g()},0);else D=g},_initialize:function(){H!=null&&B()},_initTimeout:function(){o()},register:function(g,p){if(!E){z=I=escape(g);Q=p}},initialize:function(g,p){if(!E){var n=navigator.vendor||"";if(n!=="KDE")if(typeof window.opera!=="undefined")C=true;else if(typeof document.all!=="undefined")t=true;else if(n.indexOf("Apple Computer, Inc.")>-1)r=true;if(typeof g==="string")g=document.getElementById(g);if(!(!g||g.tagName.toUpperCase()!=="TEXTAREA"&&(g.tagName.toUpperCase()!=="INPUT"||g.type!=="hidden"&&g.type!=="text"))){H=g;if(t){if(typeof p==="string")p=document.getElementById(p);!p||p.tagName.toUpperCase()!=="IFRAME"||(K=p)}}}},navigate:function(g){if(E){fqstate=g;if(t)m(fqstate);else{location.hash=fqstate;if(r){A[history.length]=fqstate;b()}}}},getCurrentState:function(){if(!E)return"";return z}}}()}),_$_APP_CLASS_$_=new (function(){function v(d){d=n.pageCoordinates(d);y=d.x;M=d.y}function s(){var d=n.history.getCurrentState();if(w!=d){w=d;setTimeout(function(){H(null,"hash",null,true)},1)}}function F(d){if(w!=d){w=d;n.history.navigate(escape(d))}}function k(){window.onresize=function(){C()};document.body.ondragstart=function(){return false}}function G(d,
if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}();
n=g=null})();(function(){var g=t.createElement("div");g.appendChild(t.createComment(""));if(g.getElementsByTagName("*").length>0)o.find.TAG=function(i,n){var m=n.getElementsByTagName(i[1]);if(i[1]==="*"){for(var p=[],q=0;m[q];q++)m[q].nodeType===1&&p.push(m[q]);m=p}return m};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")o.attrHandle.href=function(i){return i.getAttribute("href",2)};g=null})();t.querySelectorAll&&
if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}();
0)o.find.TAG=function(f,i){i=i.getElementsByTagName(f[1]);if(f[1]==="*"){f=[];for(var j=0;i[j];j++)i[j].nodeType===1&&f.push(i[j]);i=f}return i};c.innerHTML="<a href='#'></a>";if(c.firstChild&&typeof c.firstChild.getAttribute!=="undefined"&&c.firstChild.getAttribute("href")!=="#")o.attrHandle.href=function(f){return f.getAttribute("href",2)};c=null})();r.querySelectorAll&&function(){var c=p,f=r.createElement("div");f.innerHTML="<p class='TEST'></p>";if(!(f.querySelectorAll&&f.querySelectorAll(".TEST").length===
POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(c){return c.getAttribute("href")}},relative:{"+":function(c,f){var i=typeof f==="string",j=i&&!/\W/.test(f);i=i&&!j;if(j)f=f.toLowerCase();j=0;for(var n=c.length,m;j<n;j++)if(m=c[j]){for(;(m=m.previousSibling)&&m.nodeType!==1;);c[j]=i||m&&m.nodeName.toLowerCase()===
0)o.find.TAG=function(f,i){i=i.getElementsByTagName(f[1]);if(f[1]==="*"){f=[];for(var j=0;i[j];j++)i[j].nodeType===1&&f.push(i[j]);i=f}return i};c.innerHTML="<a href='#'></a>";if(c.firstChild&&typeof c.firstChild.getAttribute!=="undefined"&&c.firstChild.getAttribute("href")!=="#")o.attrHandle.href=function(f){return f.getAttribute("href",2)};c=null})();r.querySelectorAll&&function(){var c=p,f=r.createElement("div");f.innerHTML="<p class='TEST'></p>";if(!(f.querySelectorAll&&f.querySelectorAll(".TEST").length===
"")],g)[0]}else return this.cloneNode(true)});if(a===true){$(this,b);$(this.find("*"),b.find("*"))}return b},html:function(a){if(a===v)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ka,""):null;else if(typeof a==="string"&&!/<script/i.test(a)&&(d.support.leadingWhitespace||!R.test(a))&&!y[(la.exec(a)||["",""])[1].toLowerCase()])try{for(var b=0,e=this.length;b<e;b++)if(this[b].nodeType===1){M(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(g){this.empty().append(a)}else d.isFunction(a)? this.each(function(h){var k=d(this),l=k.html();k.empty().append(function(){return a.call(this,h,l)})}):this.empty().append(a);return this},replaceWith:function(a){return this[0]&&this[0].parentNode?this.each(function(){var b=this.nextSibling,e=this.parentNode;d(this).remove();b?d(b).before(a):d(e).append(a)}):this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,e){function g(w){return d.nodeName(w,"table")?w.getElementsByTagName("tbody")[0]||
f.createElement("div");e.appendChild(this.cloneNode(true));e=e.innerHTML}return c.clean([e.replace(ka,"").replace(R,"")],f)[0]}else return this.cloneNode(true)});if(a===true){$(this,b);$(this.find("*"),b.find("*"))}return b},html:function(a){if(a===v)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ka,""):null;else if(typeof a==="string"&&!/<script/i.test(a)&&(c.support.leadingWhitespace||!R.test(a))&&!z[(la.exec(a)||["",""])[1].toLowerCase()])try{for(var b=0,e=this.length;b<e;b++)if(this[b].nodeType=== 1){M(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}else c.isFunction(a)?this.each(function(h){var k=c(this),l=k.html();k.empty().append(function(){return a.call(this,h,l)})}):this.empty().append(a);return this},replaceWith:function(a){return this[0]&&this[0].parentNode?this.each(function(){var b=this.nextSibling,e=this.parentNode;c(this).remove();b?c(b).before(a):c(e).append(a)}):this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,
"")],g)[0]}else return this.cloneNode(true)});if(a===true){$(this,b);$(this.find("*"),b.find("*"))}return b},html:function(a){if(a===v)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ka,""):null;else if(typeof a==="string"&&!/<script/i.test(a)&&(d.support.leadingWhitespace||!R.test(a))&&!y[(la.exec(a)||["",""])[1].toLowerCase()])try{for(var b=0,e=this.length;b<e;b++)if(this[b].nodeType===1){M(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(g){this.empty().append(a)}else d.isFunction(a)?this.each(function(h){var k=d(this),l=k.html();k.empty().append(function(){return a.call(this,h,l)})}):this.empty().append(a);return this},replaceWith:function(a){return this[0]&&this[0].parentNode?this.each(function(){var b=this.nextSibling,e=this.parentNode;d(this).remove();b?d(b).before(a):d(e).append(a)}):this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,e){function g(w){return d.nodeName(w,"table")?w.getElementsByTagName("tbody")[0]||
elt = null;
delete elt;
function html_entity_decode(str) { var elt = document.createElement('textarea'); elt.innerHTML = str.replace(/</g, '<').replace(/>/g, '>'); var result = elt.value; elt = null; return result; }
return Math.round( size / a , 2) + " " + filesizename[i];
return (size == 0) ? "0 KB" : (Math.round( size / a , 2) + " " + filesizename[i]);
function HumanFileSize(size){ var filesizename = new Array("KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"); var loga = Math.log(size)/Math.log(1024); var i = Math.floor(loga); var a = Math.pow(1024, i); return Math.round( size / a , 2) + " " + filesizename[i];}
q._p_.comm.sendUpdate(la+j,"request=jsupdate&"+d.result+"&ackId="+ea,c,ea,-1);L=e?setTimeout(s,_$_SERVER_PUSH_TIMEOUT_$_):null}}function I(d,c){var e={},j=A.length;e.signal="user";e.id=typeof d==="string"?d:d==q?"app":d.id;if(typeof c==="object"){e.name=c.name;e.object=c.eventObject;e.event=c.event}else{e.name=c;e.object=e.event=null}e.args=[];for(var n=2;n<arguments.length;++n){var i=arguments[n];i=i===false?0:i===true?1:i.toDateString?i.toDateString():i;e.args[n-2]=i}e.feedback=true;A[j]=B(e,j); x()}function U(d,c,e){var j=function(){var i=m.getElement(d);if(i){if(e)i.timer=setTimeout(i.tm,c);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},n=m.getElement(d);n.timer=setTimeout(j,c);n.tm=j}function M(d,c){setTimeout(function(){if(R[d]===true)c();else R[d]=c},20)}function G(d){if(R[d]!==true){typeof R[d]!=="undefined"&&R[d]();R[d]=true}}function C(d,c){var e=false;if(c!="")try{e=!eval("typeof "+c+" === 'undefined'")}catch(j){e=false}if(e)G(d);else{var n=document.createElement("script");
1E5);if(A.length>0){d=S();c=d.feedback?setTimeout(h,_$_INDICATOR_TIMEOUT_$_):null;e=false}else{d={result:"signal=poll"};c=null;e=true}K=r._p_.comm.sendUpdate(la+j,"request=jsupdate&"+d.result+"&ackId="+ea,c,ea,-1);L=e?setTimeout(s,_$_SERVER_PUSH_TIMEOUT_$_):null}}function I(d,c){var e={},j=A.length;e.signal="user";e.id=typeof d==="string"?d:d==r?"app":d.id;if(typeof c==="object"){e.name=c.name;e.object=c.eventObject;e.event=c.event}else{e.name=c;e.object=e.event=null}e.args=[];for(var n=2;n<arguments.length;++n){var i= arguments[n];i=i===false?0:i===true?1:i.toDateString?i.toDateString():i;e.args[n-2]=i}e.feedback=true;A[j]=B(e,j);y()}function V(d,c,e){var j=function(){var i=m.getElement(d);if(i){if(e)i.timer=setTimeout(i.tm,c);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},n=m.getElement(d);n.timer=setTimeout(j,c);n.tm=j}function M(d,c){setTimeout(function(){if(R[d]===true)c();else R[d]=c},20)}function G(d){if(R[d]!==true){typeof R[d]!=="undefined"&&R[d]();R[d]=true}}function C(d,c,e){function j(){var t=
q._p_.comm.sendUpdate(la+j,"request=jsupdate&"+d.result+"&ackId="+ea,c,ea,-1);L=e?setTimeout(s,_$_SERVER_PUSH_TIMEOUT_$_):null}}function I(d,c){var e={},j=A.length;e.signal="user";e.id=typeof d==="string"?d:d==q?"app":d.id;if(typeof c==="object"){e.name=c.name;e.object=c.eventObject;e.event=c.event}else{e.name=c;e.object=e.event=null}e.args=[];for(var n=2;n<arguments.length;++n){var i=arguments[n];i=i===false?0:i===true?1:i.toDateString?i.toDateString():i;e.args[n-2]=i}e.feedback=true;A[j]=B(e,j);x()}function U(d,c,e){var j=function(){var i=m.getElement(d);if(i){if(e)i.timer=setTimeout(i.tm,c);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},n=m.getElement(d);n.timer=setTimeout(j,c);n.tm=j}function M(d,c){setTimeout(function(){if(R[d]===true)c();else R[d]=c},20)}function G(d){if(R[d]!==true){typeof R[d]!=="undefined"&&R[d]();R[d]=true}}function C(d,c){var e=false;if(c!="")try{e=!eval("typeof "+c+" === 'undefined'")}catch(j){e=false}if(e)G(d);else{var n=document.createElement("script");
N=f?setTimeout(n,_$_SERVER_PUSH_TIMEOUT_$_):null}}function y(d,c){var f={},k=z.length;f.signal="user";f.id=typeof d==="string"?d:d==E?"app":d.id;if(typeof c==="object"){f.name=c.name;f.object=c.eventObject;f.event=c.event}else{f.name=c;f.object=f.event=null}f.args=[];for(var m=2;m<arguments.length;++m){var i=arguments[m];i=i===false?0:i===true?1:i.toDateString?i.toDateString():i;f.args[m-2]=i}f.feedback=true;z[k]=aa(f,k);u()}function I(d,c,f){var k=function(){var i=g.getElement(d);if(i){if(f)i.timer= setTimeout(i.tm,c);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},m=g.getElement(d);m.timer=setTimeout(k,c);m.tm=k}function J(d,c){setTimeout(function(){if(T[d]===true)c();else T[d]=c},20)}function F(d){if(T[d]!==true){typeof T[d]!=="undefined"&&T[d]();T[d]=true}}function Q(d,c,f){function k(){var t=f===undefined?2:f;if(t>1)Q(d,c,t-1);else{alert("Fatal error: failed loading "+d);P()}}var m=false;if(c!="")try{m=!eval("typeof "+c+" === 'undefined'")}catch(i){m=false}if(m)F(d);else{var o=document.createElement("script");
ea,-1);N=f?setTimeout(n,_$_SERVER_PUSH_TIMEOUT_$_):null}}}function y(d,c){var f={},k=z.length;f.signal="user";f.id=typeof d==="string"?d:d==E?"app":d.id;if(typeof c==="object"){f.name=c.name;f.object=c.eventObject;f.event=c.event}else{f.name=c;f.object=f.event=null}f.args=[];for(var m=2;m<arguments.length;++m){var i=arguments[m];i=i===false?0:i===true?1:i.toDateString?i.toDateString():i;f.args[m-2]=i}f.feedback=true;z[k]=aa(f,k);u()}function I(d,c,f){var k=function(){var i=g.getElement(d);if(i){if(f)i.timer= setTimeout(i.tm,c);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},m=g.getElement(d);m.timer=setTimeout(k,c);m.tm=k}function K(d,c){setTimeout(function(){if(T[d]===true)c();else T[d]=c},20)}function F(d){if(T[d]!==true){typeof T[d]!=="undefined"&&T[d]();T[d]=true}}function Q(d,c,f){function k(){var t=f===undefined?2:f;if(t>1)Q(d,c,t-1);else{alert("Fatal error: failed loading "+d);P()}}var m=false;if(c!="")try{m=!eval("typeof "+c+" === 'undefined'")}catch(i){m=false}if(m)F(d);else{var o=document.createElement("script");
N=f?setTimeout(n,_$_SERVER_PUSH_TIMEOUT_$_):null}}function y(d,c){var f={},k=z.length;f.signal="user";f.id=typeof d==="string"?d:d==E?"app":d.id;if(typeof c==="object"){f.name=c.name;f.object=c.eventObject;f.event=c.event}else{f.name=c;f.object=f.event=null}f.args=[];for(var m=2;m<arguments.length;++m){var i=arguments[m];i=i===false?0:i===true?1:i.toDateString?i.toDateString():i;f.args[m-2]=i}f.feedback=true;z[k]=aa(f,k);u()}function I(d,c,f){var k=function(){var i=g.getElement(d);if(i){if(f)i.timer=setTimeout(i.tm,c);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},m=g.getElement(d);m.timer=setTimeout(k,c);m.tm=k}function J(d,c){setTimeout(function(){if(T[d]===true)c();else T[d]=c},20)}function F(d){if(T[d]!==true){typeof T[d]!=="undefined"&&T[d]();T[d]=true}}function Q(d,c,f){function k(){var t=f===undefined?2:f;if(t>1)Q(d,c,t-1);else{alert("Fatal error: failed loading "+d);P()}}var m=false;if(c!="")try{m=!eval("typeof "+c+" === 'undefined'")}catch(i){m=false}if(m)F(d);else{var o=document.createElement("script");
a.getElement(t).dirty=true;window.onresize()}function i(){var e,j=0;for(e=0;;++e){var m=p(e);if(m)j+=a.pctself(m,"width");else break}if(j!=0)for(e=0;;++e)if(m=p(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/j+"%"}else break}function k(e,j,m){e=p(j);var n=o(e,j),r=p(j+1),u=o(r,j+1);if(a.pctself(e,"width")>0&&a.pctself(r,"width")>0){e.style.width="";i()}a.pctself(e,"width")==0&&b(j,n+m);a.pctself(r,"width")==0&&b(j+1,u-m);window.onresize()}var g=this,p=g.getColumn,l=a.getElement(t);if(l)if(!g.resizeInitialized){var q=
"paddingTop"),x=a.pxself(s.rows[s.rows.length-1].childNodes[0],"paddingBottom");new a.SizeHandle(a,"h",u.offsetWidth,s.offsetHeight-w-x,n,r,"Wt-hsh",function(B){k(e,j,B)},u,l,m,0,-e.offsetTop+w-a.pxself(e,"paddingTop"))}function i(e,j,m){var n=e.parentNode.previousSibling;e=e.parentNode.nextSibling;var r=n.offsetHeight,u=e.offsetHeight;if(h.stretch[j]>0&&h.stretch[j+1]>0)h.stretch[j]=-1;if(h.stretch[j+1]==0)h.stretch[j+1]=-1;h.stretch[j]<=0&&g.adjustRow(n,r+m);h.stretch[j+1]<=0&&g.adjustRow(e,u-m); a.getElement(t).dirty=true;window.onresize()}function d(){var e,j=0;for(e=0;;++e){var m=p(e);if(m)j+=a.pctself(m,"width");else break}if(j!=0)for(e=0;;++e)if(m=p(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/j+"%"}else break}function k(e,j,m){e=p(j);var n=o(e,j),r=p(j+1),u=o(r,j+1);if(a.pctself(e,"width")>0&&a.pctself(r,"width")>0){e.style.width="";d()}a.pctself(e,"width")==0&&b(j,n+m);a.pctself(r,"width")==0&&b(j+1,u-m);window.onresize()}var g=this,p=g.getColumn,l=a.getElement(t);if(l)if(!g.resizeInitialized){var s=
a.getElement(t).dirty=true;window.onresize()}function i(){var e,j=0;for(e=0;;++e){var m=p(e);if(m)j+=a.pctself(m,"width");else break}if(j!=0)for(e=0;;++e)if(m=p(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/j+"%"}else break}function k(e,j,m){e=p(j);var n=o(e,j),r=p(j+1),u=o(r,j+1);if(a.pctself(e,"width")>0&&a.pctself(r,"width")>0){e.style.width="";i()}a.pctself(e,"width")==0&&b(j,n+m);a.pctself(r,"width")==0&&b(j+1,u-m);window.onresize()}var g=this,p=g.getColumn,l=a.getElement(t);if(l)if(!g.resizeInitialized){var q=
document.location;ja=true}}else{var d,c,e,j="&rand="+Math.round(Math.random(ka)*1E5);if(A.length>0){d=S();c=d.feedback?setTimeout(k,_$_INDICATOR_TIMEOUT_$_):null;e=false}else{d={result:"signal=poll"};c=null;e=true}K=q._p_.comm.sendUpdate(la+j,"request=jsupdate&"+d.result+"&ackId="+ea,c,ea,-1);L=e?setTimeout(r,_$_SERVER_PUSH_TIMEOUT_$_):null}}function I(d,c){var e={},j=A.length;e.signal="user";e.id=typeof d==="string"?d:d==q?"app":d.id;if(typeof c==="object"){e.name=c.name;e.object=c.eventObject;e.event= c.event}else{e.name=c;e.object=e.event=null}e.args=[];for(var m=2;m<arguments.length;++m){var i=arguments[m];i=i===false?0:i===true?1:i.toDateString?i.toDateString():i;e.args[m-2]=i}e.feedback=true;A[j]=B(e,j);x()}function U(d,c,e){var j=function(){var i=n.getElement(d);if(i){if(e)i.timer=setTimeout(i.tm,c);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},m=n.getElement(d);m.timer=setTimeout(j,c);m.tm=j}function M(d,c){setTimeout(function(){if(R[d]===true)c();else R[d]=c},20)}function G(d){if(R[d]!==
null}}function I(d,c){var e={},j=A.length;e.signal="user";e.id=typeof d==="string"?d:d==q?"app":d.id;if(typeof c==="object"){e.name=c.name;e.object=c.eventObject;e.event=c.event}else{e.name=c;e.object=e.event=null}e.args=[];for(var m=2;m<arguments.length;++m){var i=arguments[m];i=i===false?0:i===true?1:i.toDateString?i.toDateString():i;e.args[m-2]=i}e.feedback=true;A[j]=B(e,j);x()}function U(d,c,e){var j=function(){var i=n.getElement(d);if(i){if(e)i.timer=setTimeout(i.tm,c);else{i.timer=null;i.tm=
document.location;ja=true}}else{var d,c,e,j="&rand="+Math.round(Math.random(ka)*1E5);if(A.length>0){d=S();c=d.feedback?setTimeout(k,_$_INDICATOR_TIMEOUT_$_):null;e=false}else{d={result:"signal=poll"};c=null;e=true}K=q._p_.comm.sendUpdate(la+j,"request=jsupdate&"+d.result+"&ackId="+ea,c,ea,-1);L=e?setTimeout(r,_$_SERVER_PUSH_TIMEOUT_$_):null}}function I(d,c){var e={},j=A.length;e.signal="user";e.id=typeof d==="string"?d:d==q?"app":d.id;if(typeof c==="object"){e.name=c.name;e.object=c.eventObject;e.event=c.event}else{e.name=c;e.object=e.event=null}e.args=[];for(var m=2;m<arguments.length;++m){var i=arguments[m];i=i===false?0:i===true?1:i.toDateString?i.toDateString():i;e.args[m-2]=i}e.feedback=true;A[j]=B(e,j);x()}function U(d,c,e){var j=function(){var i=n.getElement(d);if(i){if(e)i.timer=setTimeout(i.tm,c);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},m=n.getElement(d);m.timer=setTimeout(j,c);m.tm=j}function M(d,c){setTimeout(function(){if(R[d]===true)c();else R[d]=c},20)}function G(d){if(R[d]!==
e=false}else{d={result:"signal=poll"};c=null;e=true}J=p._p_.comm.sendUpdate(ia+h,"request=jsupdate&"+d.result+"&ackId="+ca,c,ca,-1);L=e?setTimeout(K,_$_SERVER_PUSH_TIMEOUT_$_):null}}function I(d,c){var e={},h=x.length;e.signal="user";e.id=typeof d==="string"?d:d==_$_APP_CLASS_$_?"app":d.id;if(typeof c==="object"){e.name=c.name;e.object=c.eventObject;e.event=c.event}else{e.name=c;e.object=e.event=null}e.args=[];for(var i=2;i<arguments.length;++i){var j=arguments[i];j=j===false?0:j===true?1:j.toDateString? j.toDateString():j;e.args[i-2]=j}e.feedback=true;x[h]=b(e,h);E()}function z(d,c,e){var h=function(){var j=n.getElement(d);if(j){if(e)j.timer=setTimeout(j.tm,c);else{j.timer=null;j.tm=null}j.onclick()}},i=n.getElement(d);i.timer=setTimeout(h,c);i.tm=h}function Q(d,c){setTimeout(function(){if(O[d]===true)c();else O[d]=c},20)}function S(d){if(O[d]!==true){typeof O[d]!=="undefined"&&O[d]();O[d]=true}}function Y(d,c){var e=false;if(c!="")try{e=!eval("typeof "+c+" === 'undefined'")}catch(h){e=false}if(e)S(d);
setTimeout(j.tm,c);else{j.timer=null;j.tm=null}j.onclick()}},i=g.getElement(d);i.timer=setTimeout(h,c);i.tm=h}function I(d,c){setTimeout(function(){if(Q[d]===true)c();else Q[d]=c},20)}function y(d){if(Q[d]!==true){typeof Q[d]!=="undefined"&&Q[d]();Q[d]=true}}function S(d,c){var e=false;if(c!="")try{e=!eval("typeof "+c+" === 'undefined'")}catch(h){e=false}if(e)y(d);else{var i=document.createElement("script");i.setAttribute("src",d);i.onload=function(){y(d)};i.onreadystatechange=function(){if(i.readyState==
e=false}else{d={result:"signal=poll"};c=null;e=true}J=p._p_.comm.sendUpdate(ia+h,"request=jsupdate&"+d.result+"&ackId="+ca,c,ca,-1);L=e?setTimeout(K,_$_SERVER_PUSH_TIMEOUT_$_):null}}function I(d,c){var e={},h=x.length;e.signal="user";e.id=typeof d==="string"?d:d==_$_APP_CLASS_$_?"app":d.id;if(typeof c==="object"){e.name=c.name;e.object=c.eventObject;e.event=c.event}else{e.name=c;e.object=e.event=null}e.args=[];for(var i=2;i<arguments.length;++i){var j=arguments[i];j=j===false?0:j===true?1:j.toDateString?j.toDateString():j;e.args[i-2]=j}e.feedback=true;x[h]=b(e,h);E()}function z(d,c,e){var h=function(){var j=n.getElement(d);if(j){if(e)j.timer=setTimeout(j.tm,c);else{j.timer=null;j.tm=null}j.onclick()}},i=n.getElement(d);i.timer=setTimeout(h,c);i.tm=h}function Q(d,c){setTimeout(function(){if(O[d]===true)c();else O[d]=c},20)}function S(d){if(O[d]!==true){typeof O[d]!=="undefined"&&O[d]();O[d]=true}}function Y(d,c){var e=false;if(c!="")try{e=!eval("typeof "+c+" === 'undefined'")}catch(h){e=false}if(e)S(d);
arguments[h];i=i===false?0:i===true?1:i.toDateString?i.toDateString():i;e.args[h-2]=i}e.feedback=true;v[g]=r(e,g);j()}function P(c,d,e){var g=function(){var i=p.getElement(c);if(i){if(e)i.timer=setTimeout(i.tm,d);else{i.timer=null;i.tm=null}i.onclick()}},h=p.getElement(c);h.timer=setTimeout(g,d);h.tm=g}function G(c,d){setTimeout(function(){if(N[c]===true)d();else N[c]=d},20)}function Z(c){if(N[c]!==true){typeof N[c]!=="undefined"&&N[c]();N[c]=true}}function ia(c,d){var e=false;if(d!="")try{e=!eval("typeof "+ d+" === 'undefined'")}catch(g){e=false}if(e)Z(c);else{var h=document.createElement("script");h.setAttribute("src",c);h.onload=function(){Z(c)};h.onreadystatechange=function(){if(h.readyState=="complete"||h.readyState=="loaded")Z(c)};document.getElementsByTagName("head")[0].appendChild(h)}}function O(c,d){this.callback=d;this.work=c.length;this.images=[];if(c.length==0)d(this.images);else for(d=0;d<c.length;d++)this.preload(c[d])}var ea=this,p=_$_WT_CLASS_$_,$=0,aa=0,L=null,T={object:null,sourceId:null,
true}}function ia(c,d){var e=false;if(d!="")try{e=!eval("typeof "+d+" === 'undefined'")}catch(g){e=false}if(e)Z(c);else{var h=document.createElement("script");h.setAttribute("src",c);h.onload=function(){Z(c)};h.onreadystatechange=function(){if(h.readyState=="complete"||h.readyState=="loaded")Z(c)};document.getElementsByTagName("head")[0].appendChild(h)}}function O(c,d){this.callback=d;this.work=c.length;this.images=[];if(c.length==0)d(this.images);else for(d=0;d<c.length;d++)this.preload(c[d])}var ea=
arguments[h];i=i===false?0:i===true?1:i.toDateString?i.toDateString():i;e.args[h-2]=i}e.feedback=true;v[g]=r(e,g);j()}function P(c,d,e){var g=function(){var i=p.getElement(c);if(i){if(e)i.timer=setTimeout(i.tm,d);else{i.timer=null;i.tm=null}i.onclick()}},h=p.getElement(c);h.timer=setTimeout(g,d);h.tm=g}function G(c,d){setTimeout(function(){if(N[c]===true)d();else N[c]=d},20)}function Z(c){if(N[c]!==true){typeof N[c]!=="undefined"&&N[c]();N[c]=true}}function ia(c,d){var e=false;if(d!="")try{e=!eval("typeof "+d+" === 'undefined'")}catch(g){e=false}if(e)Z(c);else{var h=document.createElement("script");h.setAttribute("src",c);h.onload=function(){Z(c)};h.onreadystatechange=function(){if(h.readyState=="complete"||h.readyState=="loaded")Z(c)};document.getElementsByTagName("head")[0].appendChild(h)}}function O(c,d){this.callback=d;this.work=c.length;this.images=[];if(c.length==0)d(this.images);else for(d=0;d<c.length;d++)this.preload(c[d])}var ea=this,p=_$_WT_CLASS_$_,$=0,aa=0,L=null,T={object:null,sourceId:null,
hideSection('IC1KKRPCdownloaded');
hideSection('IC1KRPCdownloaded');
function IC1finished(mainWindow){ hideSection('IC1KKRPCdownloaded'); showSection('InstallFinished'); mainWindow.keeFoxInst._KFLog.debug("AAA"); launchAndConnectToKeePass();}
mainWindow.keeFoxInst._KFLog.debug("AAA");
function IC1finished(mainWindow){ hideSection('IC1KKRPCdownloaded'); showSection('InstallFinished'); mainWindow.keeFoxInst._KFLog.debug("AAA"); launchAndConnectToKeePass();}
file.append(KF_KP_SAVE_NAME); threadFixer = file.path;
file.append(KF_KP_SAVE_NAME);
function IC1setupKP(mainWindow){ try { if ((installState & KF_INSTALL_STATE_KP_DOWNLOADED) && (installState & KF_INSTALL_STATE_NET_EXECUTED || installState & KF_INSTALL_STATE_NET35_EXECUTED)) { if (installState & KF_INSTALL_STATE_NET_EXECUTED) hideSection('IC1setupNETdownloaded'); else if (installState & KF_INSTALL_STATE_NET35_EXECUTED) hideSection('IC1setupNET35downloaded'); var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_SAVE_NAME,KF_KP_FILE_CHECKSUM); hideSection('IC1setupKPdownloading'); // if applicable (probably this was never shown) if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else { mainWindow.KFLog.error("File checksum failed. Download corrupted?"); } // TODO: kick user back to start if it fails showSection('IC1setupKPdownloaded'); var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(mainWindow.keeFoxInst._myDepsDir()); file.append(KF_KP_SAVE_NAME); threadFixer = file.path; installState |= KF_INSTALL_STATE_KP_EXECUTING; setupKPThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupKPThread.dispatch(new mainWindow. KFexecutableInstallerRunner(threadFixer,"/silent", "IC1KPSetupFinished", mainWindow, window), setupKPThread.DISPATCH_NORMAL); } else if (installState & KF_INSTALL_STATE_KP_DOWNLOADING) { hideSection('IC1setupNETdownloaded'); showSection('IC1setupKPdownloading'); } } catch (err) { mainWindow.keeFoxInst._KFLog.error(err); } }
setupKPThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupKPThread.dispatch(new mainWindow. KFexecutableInstallerRunner(threadFixer,"/silent", "IC1KPSetupFinished", mainWindow, window), setupKPThread.DISPATCH_NORMAL);
keeFoxInst.runAnInstaller(file.path,"/silent", function () { var mainWin = window.QueryInterface(Components.interfaces.nsIInterfaceRequestor) .getInterface(Components.interfaces.nsIWebNavigation) .QueryInterface(Components.interfaces.nsIDocShellTreeItem) .rootTreeItem .QueryInterface(Components.interfaces.nsIInterfaceRequestor) .getInterface(Components.interfaces.nsIDOMWindow); var mainWindow = mainWin.keefox_org.ILM._currentWindow; var kth = new mainWindow.KFmainThreadHandler("executableInstallerRunner", "IC1KPSetupFinished", '', mainWindow, window); kth.run(); });
function IC1setupKP(mainWindow){ try { if ((installState & KF_INSTALL_STATE_KP_DOWNLOADED) && (installState & KF_INSTALL_STATE_NET_EXECUTED || installState & KF_INSTALL_STATE_NET35_EXECUTED)) { if (installState & KF_INSTALL_STATE_NET_EXECUTED) hideSection('IC1setupNETdownloaded'); else if (installState & KF_INSTALL_STATE_NET35_EXECUTED) hideSection('IC1setupNET35downloaded'); var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_SAVE_NAME,KF_KP_FILE_CHECKSUM); hideSection('IC1setupKPdownloading'); // if applicable (probably this was never shown) if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else { mainWindow.KFLog.error("File checksum failed. Download corrupted?"); } // TODO: kick user back to start if it fails showSection('IC1setupKPdownloaded'); var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(mainWindow.keeFoxInst._myDepsDir()); file.append(KF_KP_SAVE_NAME); threadFixer = file.path; installState |= KF_INSTALL_STATE_KP_EXECUTING; setupKPThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupKPThread.dispatch(new mainWindow. KFexecutableInstallerRunner(threadFixer,"/silent", "IC1KPSetupFinished", mainWindow, window), setupKPThread.DISPATCH_NORMAL); } else if (installState & KF_INSTALL_STATE_KP_DOWNLOADING) { hideSection('IC1setupNETdownloaded'); showSection('IC1setupKPdownloading'); } } catch (err) { mainWindow.keeFoxInst._KFLog.error(err); } }
var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_FILE_NAME,KF_KP_FILE_CHECKSUM);
var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_SAVE_NAME,KF_KP_FILE_CHECKSUM);
function IC1setupKP(mainWindow) {try { if ((installState & KF_INSTALL_STATE_KP_DOWNLOADED) && (installState & KF_INSTALL_STATE_NET_EXECUTED || installState & KF_INSTALL_STATE_NET35_EXECUTED)) { if (installState & KF_INSTALL_STATE_NET_EXECUTED) hideSection('IC1setupNETdownloaded'); else if (installState & KF_INSTALL_STATE_NET35_EXECUTED) hideSection('IC1setupNET35downloaded'); var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_FILE_NAME,KF_KP_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC1setupKPdownloading'); // if applicable (probably this was never shown) showSection('IC1setupKPdownloaded'); var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(mainWindow.keeFoxInst._myDepsDir()); file.append(KF_KP_FILE_NAME); threadFixer = file.path; installState |= KF_INSTALL_STATE_KP_EXECUTING; setupKPThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupKPThread.dispatch(new mainWindow.KFexecutableInstallerRunner(threadFixer,"/silent","IC1KPSetupFinished", mainWindow, window), setupKPThread.DISPATCH_NORMAL); } else if (installState & KF_INSTALL_STATE_KP_DOWNLOADING) { hideSection('IC1setupNETdownloaded'); showSection('IC1setupKPdownloading'); }} catch (err) { mainWindow.keeFoxInst._KFLog.error(err); } }
file.append(KF_KP_FILE_NAME);
file.append(KF_KP_SAVE_NAME);
function IC1setupKP(mainWindow) {try { if ((installState & KF_INSTALL_STATE_KP_DOWNLOADED) && (installState & KF_INSTALL_STATE_NET_EXECUTED || installState & KF_INSTALL_STATE_NET35_EXECUTED)) { if (installState & KF_INSTALL_STATE_NET_EXECUTED) hideSection('IC1setupNETdownloaded'); else if (installState & KF_INSTALL_STATE_NET35_EXECUTED) hideSection('IC1setupNET35downloaded'); var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_FILE_NAME,KF_KP_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC1setupKPdownloading'); // if applicable (probably this was never shown) showSection('IC1setupKPdownloaded'); var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(mainWindow.keeFoxInst._myDepsDir()); file.append(KF_KP_FILE_NAME); threadFixer = file.path; installState |= KF_INSTALL_STATE_KP_EXECUTING; setupKPThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupKPThread.dispatch(new mainWindow.KFexecutableInstallerRunner(threadFixer,"/silent","IC1KPSetupFinished", mainWindow, window), setupKPThread.DISPATCH_NORMAL); } else if (installState & KF_INSTALL_STATE_KP_DOWNLOADING) { hideSection('IC1setupNETdownloaded'); showSection('IC1setupKPdownloading'); }} catch (err) { mainWindow.keeFoxInst._KFLog.error(err); } }
hideSection('IC1setupKPdownloading');
function IC1setupKP(mainWindow) {try { if ((installState & KF_INSTALL_STATE_KP_DOWNLOADED) && (installState & KF_INSTALL_STATE_NET_EXECUTED || installState & KF_INSTALL_STATE_NET35_EXECUTED)) { if (installState & KF_INSTALL_STATE_NET_EXECUTED) hideSection('IC1setupNETdownloaded'); else if (installState & KF_INSTALL_STATE_NET35_EXECUTED) hideSection('IC1setupNET35downloaded'); var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_SAVE_NAME,KF_KP_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC1setupKPdownloading'); // if applicable (probably this was never shown) showSection('IC1setupKPdownloaded'); var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(mainWindow.keeFoxInst._myDepsDir()); file.append(KF_KP_SAVE_NAME); threadFixer = file.path; installState |= KF_INSTALL_STATE_KP_EXECUTING; setupKPThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupKPThread.dispatch(new mainWindow.KFexecutableInstallerRunner(threadFixer,"/silent","IC1KPSetupFinished", mainWindow, window), setupKPThread.DISPATCH_NORMAL); } else if (installState & KF_INSTALL_STATE_KP_DOWNLOADING) { hideSection('IC1setupNETdownloaded'); showSection('IC1setupKPdownloading'); }} catch (err) { mainWindow.keeFoxInst._KFLog.error(err); } }
if (KeePassEXEfound)
if (KeePassEXEfound && copyKeePassRPCFilesTo(keePassLocation))
function IC1setupKRPC(mainWindow){ try { if ((installState & KF_INSTALL_STATE_KRPC_DOWNLOADED) && (installState & KF_INSTALL_STATE_KP_EXECUTED)) { // we don't checksum bundled DLLs since if they are compromised the // whole XPI, including this file, could be too hideSection('IC1setupKPdownloaded'); showSection('IC1KRPCdownloaded'); installState |= KF_INSTALL_STATE_KRPC_EXECUTING; // we've just run the official KeePass installer so can be pretty // confident that we can automatically find the installation directory // (though if we get time, we should handle exceptions too...) var keePassLocation; var KeePassEXEfound; KeePassEXEfound = false; keePassLocation = "not installed"; keePassLocation = mainWindow.keeFoxInst._discoverKeePassInstallLocation(); if (keePassLocation != "not installed") { KeePassEXEfound = mainWindow.keeFoxInst._confirmKeePassInstallLocation(keePassLocation); } if (KeePassEXEfound) { copyKeePassRPCFilesTo(keePassLocation); installState ^= KF_INSTALL_STATE_KRPC_EXECUTING; // we can // safely assume this bit is already set since no other threads are involved installState |= KF_INSTALL_STATE_KRPC_EXECUTED; IC1finished(mainWindow); } else { hideSection('IC1KRPCdownloaded'); showSection('ERRORInstallButtonMain'); } } } catch (err) { mainWindow.keeFoxInst._KFLog.error(err); }}
copyKeePassRPCFilesTo(keePassLocation);
function IC1setupKRPC(mainWindow){ try { if ((installState & KF_INSTALL_STATE_KRPC_DOWNLOADED) && (installState & KF_INSTALL_STATE_KP_EXECUTED)) { // we don't checksum bundled DLLs since if they are compromised the // whole XPI, including this file, could be too hideSection('IC1setupKPdownloaded'); showSection('IC1KRPCdownloaded'); installState |= KF_INSTALL_STATE_KRPC_EXECUTING; // we've just run the official KeePass installer so can be pretty // confident that we can automatically find the installation directory // (though if we get time, we should handle exceptions too...) var keePassLocation; var KeePassEXEfound; KeePassEXEfound = false; keePassLocation = "not installed"; keePassLocation = mainWindow.keeFoxInst._discoverKeePassInstallLocation(); if (keePassLocation != "not installed") { KeePassEXEfound = mainWindow.keeFoxInst._confirmKeePassInstallLocation(keePassLocation); } if (KeePassEXEfound) { copyKeePassRPCFilesTo(keePassLocation); installState ^= KF_INSTALL_STATE_KRPC_EXECUTING; // we can // safely assume this bit is already set since no other threads are involved installState |= KF_INSTALL_STATE_KRPC_EXECUTED; IC1finished(mainWindow); } else { hideSection('IC1KRPCdownloaded'); showSection('ERRORInstallButtonMain'); } } } catch (err) { mainWindow.keeFoxInst._KFLog.error(err); }}
threadFixer = file.path; setupNETThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupNETThread.dispatch(new mainWindow. KFexecutableInstallerRunner(threadFixer,"", "IC1NET35SetupFinished", mainWindow, window), setupNETThread.DISPATCH_NORMAL);
mainWindow.keeFoxInst.runAnInstaller(file.path,"", function () { var mainWin = window.QueryInterface(Components.interfaces.nsIInterfaceRequestor) .getInterface(Components.interfaces.nsIWebNavigation) .QueryInterface(Components.interfaces.nsIDocShellTreeItem) .rootTreeItem .QueryInterface(Components.interfaces.nsIInterfaceRequestor) .getInterface(Components.interfaces.nsIDOMWindow); var mainWindow = mainWin.keefox_org.ILM._currentWindow; var kth = new mainWindow.KFmainThreadHandler("executableInstallerRunner", "IC1NET35SetupFinished", '', mainWindow, window); kth.run(); });
function IC1setupNET35(mainWindow){ try { if ((installState & KF_INSTALL_STATE_NET35_DOWNLOADED) && (installState & KF_INSTALL_STATE_SELECTED_SEC)) { var checkTest = mainWindow.KFMD5checksumVerification(KF_NET35_FILE_NAME,KF_NET35_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC1setupNET35downloading'); showSection('IC1setupNET35downloaded'); // start the pre-download of the KeePass setup file (while user installs .Net...) installState |= KF_INSTALL_STATE_KP_DOWNLOADING; persist = mainWindow.KFdownloadFile("IC1SecDownload", KF_KP_DOWNLOAD_PATH + KF_KP_FILE_NAME, KF_KP_SAVE_NAME, mainWindow, window, persist); installState |= KF_INSTALL_STATE_NET_EXECUTING; var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(mainWindow.keeFoxInst._myDepsDir()); file.append(KF_NET35_FILE_NAME); threadFixer = file.path; setupNETThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupNETThread.dispatch(new mainWindow. KFexecutableInstallerRunner(threadFixer,"", "IC1NET35SetupFinished", mainWindow, window), setupNETThread.DISPATCH_NORMAL); } } catch (err) { mainWindow.keeFoxInst._KFLog.error(err); }}
mainWindow.KFdownloadFile("IC1SecDownload", KF_KP_DOWNLOAD_PATH + KF_KP_FILE_NAME, KF_KP_FILE_NAME, mainWindow, window);
persist = mainWindow.KFdownloadFile("IC1SecDownload", KF_KP_DOWNLOAD_PATH + KF_KP_FILE_NAME, KF_KP_SAVE_NAME, mainWindow, window, persist);
function IC1setupNET35(mainWindow) {try { if ((installState & KF_INSTALL_STATE_NET35_DOWNLOADED) && (installState & KF_INSTALL_STATE_SELECTED_SEC)) { var checkTest = mainWindow.KFMD5checksumVerification(KF_NET35_FILE_NAME,KF_NET35_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC1setupNET35downloading'); showSection('IC1setupNET35downloaded'); // start the pre-download of the KeePass setup file (while user installs .Net...) installState |= KF_INSTALL_STATE_KP_DOWNLOADING; mainWindow.KFdownloadFile("IC1SecDownload", KF_KP_DOWNLOAD_PATH + KF_KP_FILE_NAME, KF_KP_FILE_NAME, mainWindow, window); installState |= KF_INSTALL_STATE_NET_EXECUTING; var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(mainWindow.keeFoxInst._myDepsDir()); file.append(KF_NET35_FILE_NAME); threadFixer = file.path; setupNETThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupNETThread.dispatch(new mainWindow.KFexecutableInstallerRunner(threadFixer,"","IC1NET35SetupFinished", mainWindow, window), setupNETThread.DISPATCH_NORMAL); }} catch (err) { mainWindow.keeFoxInst._KFLog.error(err); }}
threadFixer = file.path; setupNETThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupNETThread.dispatch(new mainWindow. KFexecutableInstallerRunner(threadFixer,"", "IC1NETSetupFinished", mainWindow, window), setupNETThread.DISPATCH_NORMAL);
mainWindow.keeFoxInst.runAnInstaller(file.path,"", function () { var mainWin = window.QueryInterface(Components.interfaces.nsIInterfaceRequestor) .getInterface(Components.interfaces.nsIWebNavigation) .QueryInterface(Components.interfaces.nsIDocShellTreeItem) .rootTreeItem .QueryInterface(Components.interfaces.nsIInterfaceRequestor) .getInterface(Components.interfaces.nsIDOMWindow); var mainWindow = mainWin.keefox_org.ILM._currentWindow; var kth = new mainWindow.KFmainThreadHandler("executableInstallerRunner", "IC1NETSetupFinished", '', mainWindow, window); kth.run(); });
function IC1setupNET(mainWindow){ try { if ((installState & KF_INSTALL_STATE_NET_DOWNLOADED) && (installState & KF_INSTALL_STATE_SELECTED_PRI)) { var checkTest = mainWindow.KFMD5checksumVerification(KF_NET_FILE_NAME,KF_NET_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC1setupNETdownloading'); showSection('IC1setupNETdownloaded'); // start the pre-download of the KeePass setup file (while user installs .Net...) installState |= KF_INSTALL_STATE_KP_DOWNLOADING; persist = mainWindow.KFdownloadFile("IC1PriDownload", KF_KP_DOWNLOAD_PATH + KF_KP_FILE_NAME, KF_KP_SAVE_NAME, mainWindow, window, persist); installState |= KF_INSTALL_STATE_NET_EXECUTING; var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(mainWindow.keeFoxInst._myDepsDir()); file.append(KF_NET_FILE_NAME); threadFixer = file.path; setupNETThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupNETThread.dispatch(new mainWindow. KFexecutableInstallerRunner(threadFixer,"", "IC1NETSetupFinished", mainWindow, window), setupNETThread.DISPATCH_NORMAL); } } catch (err) { mainWindow.keeFoxInst._KFLog.error(err); }}
mainWindow.KFdownloadFile("IC1PriDownload", KF_KP_DOWNLOAD_PATH + KF_KP_FILE_NAME, KF_KP_FILE_NAME, mainWindow, window);
persist = mainWindow.KFdownloadFile("IC1PriDownload", KF_KP_DOWNLOAD_PATH + KF_KP_FILE_NAME, KF_KP_SAVE_NAME, mainWindow, window, persist);
function IC1setupNET(mainWindow) {try { if ((installState & KF_INSTALL_STATE_NET_DOWNLOADED) && (installState & KF_INSTALL_STATE_SELECTED_PRI)) { var checkTest = mainWindow.KFMD5checksumVerification(KF_NET_FILE_NAME,KF_NET_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC1setupNETdownloading'); showSection('IC1setupNETdownloaded'); // start the pre-download of the KeePass setup file (while user installs .Net...) installState |= KF_INSTALL_STATE_KP_DOWNLOADING; mainWindow.KFdownloadFile("IC1PriDownload", KF_KP_DOWNLOAD_PATH + KF_KP_FILE_NAME, KF_KP_FILE_NAME, mainWindow, window); installState |= KF_INSTALL_STATE_NET_EXECUTING; var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(mainWindow.keeFoxInst._myDepsDir()); file.append(KF_NET_FILE_NAME); threadFixer = file.path; setupNETThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupNETThread.dispatch(new mainWindow.KFexecutableInstallerRunner(threadFixer,"","IC1NETSetupFinished", mainWindow, window), setupNETThread.DISPATCH_NORMAL); }} catch (err) { mainWindow.keeFoxInst._KFLog.error(err); }}
mainWindow.keeFoxInst._KFLog.debug("AAA");
function IC2finished(mainWindow) {//TODO: customise this for upgrades?)/*if upgrade:keeFoxInst._keeFoxVariableInit(window.keeFoxToolbar, window, this.result); keeFoxInst._configureKeeICECallbacks(); keeFoxInst._refreshKPDB(); */ hideSection('IC2KRPCdownloaded'); showSection('InstallFinished'); mainWindow.keeFoxInst._KFLog.debug("AAA"); launchAndConnectToKeePass();}
threadFixer = file.path;
function IC2setupCustomKP(mainWindow){ try { if ((installState & KF_INSTALL_STATE_KP_DOWNLOADED) && (installState & KF_INSTALL_STATE_SELECTED_SEC)) { var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_SAVE_NAME,KF_KP_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC2setupKPdownloading'); // if applicable (probably this was never shown) showSection('IC2setupKPdownloaded'); installState |= KF_INSTALL_STATE_KP_EXECUTING; var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(mainWindow.keeFoxInst._myDepsDir()); file.append(KF_KP_SAVE_NAME); threadFixer = file.path; setupKPThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupKPThread.dispatch(new mainWindow.KFexecutableInstallerRunner(threadFixer, "","IC2KPSetupFinished", mainWindow, window), setupKPThread.DISPATCH_NORMAL); // var temp = new mainWindow.KFexecutableInstallerRunner("KeePass-2.06-Beta-Setup.exe", //"","IC1KPSetupFinished", mainWindow, window); // temp.run(); } else if (installState & KF_INSTALL_STATE_KP_DOWNLOADING) { showSection('IC2setupKPdownloading'); } } catch (err) { mainWindow.keeFoxInst._KFLog.error(err); } }
setupKPThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupKPThread.dispatch(new mainWindow.KFexecutableInstallerRunner(threadFixer, "","IC2KPSetupFinished", mainWindow, window), setupKPThread.DISPATCH_NORMAL);
mainWindow.keeFoxInst.runAnInstaller(file.path,"", function () { var mainWin = window.QueryInterface(Components.interfaces.nsIInterfaceRequestor) .getInterface(Components.interfaces.nsIWebNavigation) .QueryInterface(Components.interfaces.nsIDocShellTreeItem) .rootTreeItem .QueryInterface(Components.interfaces.nsIInterfaceRequestor) .getInterface(Components.interfaces.nsIDOMWindow); var mainWindow = mainWin.keefox_org.ILM._currentWindow; var kth = new mainWindow.KFmainThreadHandler("executableInstallerRunner", "IC2KPSetupFinished", '', mainWindow, window); kth.run(); });
function IC2setupCustomKP(mainWindow){ try { if ((installState & KF_INSTALL_STATE_KP_DOWNLOADED) && (installState & KF_INSTALL_STATE_SELECTED_SEC)) { var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_SAVE_NAME,KF_KP_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC2setupKPdownloading'); // if applicable (probably this was never shown) showSection('IC2setupKPdownloaded'); installState |= KF_INSTALL_STATE_KP_EXECUTING; var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(mainWindow.keeFoxInst._myDepsDir()); file.append(KF_KP_SAVE_NAME); threadFixer = file.path; setupKPThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupKPThread.dispatch(new mainWindow.KFexecutableInstallerRunner(threadFixer, "","IC2KPSetupFinished", mainWindow, window), setupKPThread.DISPATCH_NORMAL); // var temp = new mainWindow.KFexecutableInstallerRunner("KeePass-2.06-Beta-Setup.exe", //"","IC1KPSetupFinished", mainWindow, window); // temp.run(); } else if (installState & KF_INSTALL_STATE_KP_DOWNLOADING) { showSection('IC2setupKPdownloading'); } } catch (err) { mainWindow.keeFoxInst._KFLog.error(err); } }
var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_FILE_NAME,KF_KP_FILE_CHECKSUM);
var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_SAVE_NAME,KF_KP_FILE_CHECKSUM);
function IC2setupCustomKP(mainWindow) {try { if ((installState & KF_INSTALL_STATE_KP_DOWNLOADED) && (installState & KF_INSTALL_STATE_SELECTED_SEC)) { var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_FILE_NAME,KF_KP_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC2setupKPdownloading'); // if applicable (probably this was never shown) showSection('IC2setupKPdownloaded'); installState |= KF_INSTALL_STATE_KP_EXECUTING; var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(mainWindow.keeFoxInst._myDepsDir()); file.append(KF_KP_FILE_NAME); threadFixer = file.path; setupKPThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupKPThread.dispatch(new mainWindow.KFexecutableInstallerRunner(threadFixer,"","IC2KPSetupFinished", mainWindow, window), setupKPThread.DISPATCH_NORMAL); // var temp = new mainWindow.KFexecutableInstallerRunner("KeePass-2.06-Beta-Setup.exe","","IC1KPSetupFinished", mainWindow, window); // temp.run(); } else if (installState & KF_INSTALL_STATE_KP_DOWNLOADING) { showSection('IC2setupKPdownloading'); }} catch (err) { mainWindow.keeFoxInst._KFLog.error(err); } }
file.append(KF_KP_FILE_NAME);
file.append(KF_KP_SAVE_NAME);
function IC2setupCustomKP(mainWindow) {try { if ((installState & KF_INSTALL_STATE_KP_DOWNLOADED) && (installState & KF_INSTALL_STATE_SELECTED_SEC)) { var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_FILE_NAME,KF_KP_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC2setupKPdownloading'); // if applicable (probably this was never shown) showSection('IC2setupKPdownloaded'); installState |= KF_INSTALL_STATE_KP_EXECUTING; var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(mainWindow.keeFoxInst._myDepsDir()); file.append(KF_KP_FILE_NAME); threadFixer = file.path; setupKPThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupKPThread.dispatch(new mainWindow.KFexecutableInstallerRunner(threadFixer,"","IC2KPSetupFinished", mainWindow, window), setupKPThread.DISPATCH_NORMAL); // var temp = new mainWindow.KFexecutableInstallerRunner("KeePass-2.06-Beta-Setup.exe","","IC1KPSetupFinished", mainWindow, window); // temp.run(); } else if (installState & KF_INSTALL_STATE_KP_DOWNLOADING) { showSection('IC2setupKPdownloading'); }} catch (err) { mainWindow.keeFoxInst._KFLog.error(err); } }
threadFixer = file.path; setupKPThread = Components.classes["@mozilla.org/thread-manager;1"] .getService().newThread(0); setupKPThread.dispatch(new mainWindow.KFexecutableInstallerRunner(threadFixer, "/silent","IC2KPSetupFinished", mainWindow, window), setupKPThread.DISPATCH_NORMAL);
mainWindow.keeFoxInst.runAnInstaller(file.path,"/silent", function () { var mainWin = window.QueryInterface(Components.interfaces.nsIInterfaceRequestor) .getInterface(Components.interfaces.nsIWebNavigation) .QueryInterface(Components.interfaces.nsIDocShellTreeItem) .rootTreeItem .QueryInterface(Components.interfaces.nsIInterfaceRequestor) .getInterface(Components.interfaces.nsIDOMWindow); var mainWindow = mainWin.keefox_org.ILM._currentWindow; var kth = new mainWindow.KFmainThreadHandler("executableInstallerRunner", "IC2KPSetupFinished", '', mainWindow, window); kth.run(); });
function IC2setupKP(mainWindow){ try { if ((installState & KF_INSTALL_STATE_KP_DOWNLOADED) && (installState & KF_INSTALL_STATE_SELECTED_PRI)) { var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_SAVE_NAME,KF_KP_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC2setupKPdownloading'); // if applicable showSection('IC2setupKPdownloaded'); installState |= KF_INSTALL_STATE_KP_EXECUTING; var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(mainWindow.keeFoxInst._myDepsDir()); file.append(KF_KP_SAVE_NAME); threadFixer = file.path; setupKPThread = Components.classes["@mozilla.org/thread-manager;1"] .getService().newThread(0); setupKPThread.dispatch(new mainWindow.KFexecutableInstallerRunner(threadFixer, "/silent","IC2KPSetupFinished", mainWindow, window), setupKPThread.DISPATCH_NORMAL); } else if (installState & KF_INSTALL_STATE_KP_DOWNLOADING) { showSection('IC2setupKPdownloading'); } } catch (err) { mainWindow.keeFoxInst._KFLog.error(err); } }
var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_FILE_NAME,KF_KP_FILE_CHECKSUM);
var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_SAVE_NAME,KF_KP_FILE_CHECKSUM);
function IC2setupKP(mainWindow) {try { if ((installState & KF_INSTALL_STATE_KP_DOWNLOADED) && (installState & KF_INSTALL_STATE_SELECTED_PRI)) { var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_FILE_NAME,KF_KP_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC2setupKPdownloading'); // if applicable showSection('IC2setupKPdownloaded'); installState |= KF_INSTALL_STATE_KP_EXECUTING; var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(mainWindow.keeFoxInst._myDepsDir()); file.append(KF_KP_FILE_NAME); threadFixer = file.path; setupKPThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupKPThread.dispatch(new mainWindow.KFexecutableInstallerRunner(threadFixer,"/silent","IC2KPSetupFinished", mainWindow, window), setupKPThread.DISPATCH_NORMAL); } else if (installState & KF_INSTALL_STATE_KP_DOWNLOADING) { showSection('IC2setupKPdownloading'); }} catch (err) { mainWindow.keeFoxInst._KFLog.error(err); } }
file.append(KF_KP_FILE_NAME);
file.append(KF_KP_SAVE_NAME);
function IC2setupKP(mainWindow) {try { if ((installState & KF_INSTALL_STATE_KP_DOWNLOADED) && (installState & KF_INSTALL_STATE_SELECTED_PRI)) { var checkTest = mainWindow.KFMD5checksumVerification(KF_KP_FILE_NAME,KF_KP_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC2setupKPdownloading'); // if applicable showSection('IC2setupKPdownloaded'); installState |= KF_INSTALL_STATE_KP_EXECUTING; var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(mainWindow.keeFoxInst._myDepsDir()); file.append(KF_KP_FILE_NAME); threadFixer = file.path; setupKPThread = Components.classes["@mozilla.org/thread-manager;1"].getService().newThread(0); setupKPThread.dispatch(new mainWindow.KFexecutableInstallerRunner(threadFixer,"/silent","IC2KPSetupFinished", mainWindow, window), setupKPThread.DISPATCH_NORMAL); } else if (installState & KF_INSTALL_STATE_KP_DOWNLOADING) { showSection('IC2setupKPdownloading'); }} catch (err) { mainWindow.keeFoxInst._KFLog.error(err); } }
if (KeePassEXEfound)
if (KeePassEXEfound && copyKeePassRPCFilesTo(keePassLocation))
function IC2setupKRPC(mainWindow){ try { if ((installState & KF_INSTALL_STATE_KRPC_DOWNLOADED) && (installState & KF_INSTALL_STATE_KP_EXECUTED)) { // we don't checksum bundled DLLs since if they are compromised // the whole XPI, including this file, could be too hideSection('IC2setupKPdownloaded'); showSection('IC2KRPCdownloaded'); installState |= KF_INSTALL_STATE_KRPC_EXECUTING; // we've just run the official KeePass installer so can be pretty // confident that we can automatically find the installation directory // (though if we get time, we should handle exceptions too...) var keePassLocation; var KeePassEXEfound; KeePassEXEfound = false; keePassLocation = "not installed"; keePassLocation = mainWindow.keeFoxInst._discoverKeePassInstallLocation(); if (keePassLocation != "not installed") { KeePassEXEfound = mainWindow.keeFoxInst._confirmKeePassInstallLocation(keePassLocation); } if (KeePassEXEfound) { copyKeePassRPCFilesTo(keePassLocation); installState ^= KF_INSTALL_STATE_KRPC_EXECUTING; // we can safely // assume this bit is already set since no other threads are involved installState |= KF_INSTALL_STATE_KRPC_EXECUTED; IC2finished(mainWindow); } else { hideSection('IC2KRPCdownloaded'); showSection('ERRORInstallButtonMain'); } } } catch (err) { mainWindow.keeFoxInst._KFLog.error(err); }}
copyKeePassRPCFilesTo(keePassLocation);
function IC2setupKRPC(mainWindow){ try { if ((installState & KF_INSTALL_STATE_KRPC_DOWNLOADED) && (installState & KF_INSTALL_STATE_KP_EXECUTED)) { // we don't checksum bundled DLLs since if they are compromised // the whole XPI, including this file, could be too hideSection('IC2setupKPdownloaded'); showSection('IC2KRPCdownloaded'); installState |= KF_INSTALL_STATE_KRPC_EXECUTING; // we've just run the official KeePass installer so can be pretty // confident that we can automatically find the installation directory // (though if we get time, we should handle exceptions too...) var keePassLocation; var KeePassEXEfound; KeePassEXEfound = false; keePassLocation = "not installed"; keePassLocation = mainWindow.keeFoxInst._discoverKeePassInstallLocation(); if (keePassLocation != "not installed") { KeePassEXEfound = mainWindow.keeFoxInst._confirmKeePassInstallLocation(keePassLocation); } if (KeePassEXEfound) { copyKeePassRPCFilesTo(keePassLocation); installState ^= KF_INSTALL_STATE_KRPC_EXECUTING; // we can safely // assume this bit is already set since no other threads are involved installState |= KF_INSTALL_STATE_KRPC_EXECUTED; IC2finished(mainWindow); } else { hideSection('IC2KRPCdownloaded'); showSection('ERRORInstallButtonMain'); } } } catch (err) { mainWindow.keeFoxInst._KFLog.error(err); }}
var checkTest = mainWindow.KFMD5checksumVerification(KF_KPZIP_FILE_NAME, KF_KPZIP_FILE_CHECKSUM);
var checkTest = mainWindow.KFMD5checksumVerification(KF_KPZIP_SAVE_NAME, KF_KPZIP_FILE_CHECKSUM);
function IC5zipKP() { if ((installState & KF_INSTALL_STATE_KPZIP_DOWNLOADED) && (installState & KF_INSTALL_STATE_SELECTED_TER)) { var checkTest = mainWindow.KFMD5checksumVerification(KF_KPZIP_FILE_NAME, KF_KPZIP_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC5zipKPdownloading'); showSection('IC5installing'); installState |= KF_INSTALL_STATE_KPZIP_EXECUTING; const nsIFilePicker = Components.interfaces.nsIFilePicker; var fp = Components.classes["@mozilla.org/filepicker;1"] .createInstance(nsIFilePicker); fp.init(window, "Choose a directory for KeePass", nsIFilePicker.modeGetFolder); //fp.appendFilters(nsIFilePicker.filterAll); var rv = fp.show(); if (rv == nsIFilePicker.returnOK || rv == nsIFilePicker.returnReplace) { var folder = fp.file; // Get the path as string. Note that you usually won't // need to work with the string paths. var path = fp.file.path; //TODO: permissions, failures, missing directories, etc. etc. extractKPZip (KF_KPZIP_FILE_NAME, folder); var KeePassEXEfound; mainWindow.keeFoxInst._keeFoxExtension.prefs.setValue("keePassInstalledLocation",path+"\\"); //TODO: probably should store the file object itself rather than string version (X-Plat) KeePassEXEfound = mainWindow.keeFoxInst._confirmKeePassInstallLocation(path+"\\"); mainWindow.KFLog.info("KeePass install location set to: " + path+"\\"); if (!KeePassEXEfound) { mainWindow.keeFoxInst._keeFoxExtension.prefs.setValue("keePassInstalledLocation",""); } else { copyKeeICEFilesTo(path); } hideSection('IC5installing'); showSection('InstallFinished'); mainWindow.keeFoxInst._KFLog.debug("AAA"); launchAndConnectToKeePass(); } else { hideSection('installProgressView'); showSection('installationStartView'); hideSection('IC5installing'); } } else if (installState & KF_INSTALL_STATE_KPZIP_DOWNLOADING) { showSection('IC5zipKPdownloading'); } }
extractKPZip (KF_KPZIP_FILE_NAME, folder);
extractKPZip (KF_KPZIP_SAVE_NAME, folder);
function IC5zipKP() { if ((installState & KF_INSTALL_STATE_KPZIP_DOWNLOADED) && (installState & KF_INSTALL_STATE_SELECTED_TER)) { var checkTest = mainWindow.KFMD5checksumVerification(KF_KPZIP_FILE_NAME, KF_KPZIP_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC5zipKPdownloading'); showSection('IC5installing'); installState |= KF_INSTALL_STATE_KPZIP_EXECUTING; const nsIFilePicker = Components.interfaces.nsIFilePicker; var fp = Components.classes["@mozilla.org/filepicker;1"] .createInstance(nsIFilePicker); fp.init(window, "Choose a directory for KeePass", nsIFilePicker.modeGetFolder); //fp.appendFilters(nsIFilePicker.filterAll); var rv = fp.show(); if (rv == nsIFilePicker.returnOK || rv == nsIFilePicker.returnReplace) { var folder = fp.file; // Get the path as string. Note that you usually won't // need to work with the string paths. var path = fp.file.path; //TODO: permissions, failures, missing directories, etc. etc. extractKPZip (KF_KPZIP_FILE_NAME, folder); var KeePassEXEfound; mainWindow.keeFoxInst._keeFoxExtension.prefs.setValue("keePassInstalledLocation",path+"\\"); //TODO: probably should store the file object itself rather than string version (X-Plat) KeePassEXEfound = mainWindow.keeFoxInst._confirmKeePassInstallLocation(path+"\\"); mainWindow.KFLog.info("KeePass install location set to: " + path+"\\"); if (!KeePassEXEfound) { mainWindow.keeFoxInst._keeFoxExtension.prefs.setValue("keePassInstalledLocation",""); } else { copyKeeICEFilesTo(path); } hideSection('IC5installing'); showSection('InstallFinished'); mainWindow.keeFoxInst._KFLog.debug("AAA"); launchAndConnectToKeePass(); } else { hideSection('installProgressView'); showSection('installationStartView'); hideSection('IC5installing'); } } else if (installState & KF_INSTALL_STATE_KPZIP_DOWNLOADING) { showSection('IC5zipKPdownloading'); } }
copyKeePassRPCFilesTo(path);
if (!copyKeePassRPCFilesTo(path)) { hideSection('IC5installing'); showSection('ERRORInstallButtonMain'); return; }
function IC5zipKP(){ if ((installState & KF_INSTALL_STATE_KPZIP_DOWNLOADED) && (installState & KF_INSTALL_STATE_SELECTED_TER)) { var checkTest = mainWindow.KFMD5checksumVerification(KF_KPZIP_SAVE_NAME, KF_KPZIP_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC5zipKPdownloading'); showSection('IC5installing'); installState |= KF_INSTALL_STATE_KPZIP_EXECUTING; const nsIFilePicker = Components.interfaces.nsIFilePicker; var fp = Components.classes["@mozilla.org/filepicker;1"] .createInstance(nsIFilePicker); fp.init(window, "Choose a directory for KeePass", nsIFilePicker.modeGetFolder); //fp.appendFilters(nsIFilePicker.filterAll); var rv = fp.show(); if (rv == nsIFilePicker.returnOK || rv == nsIFilePicker.returnReplace) { var folder = fp.file; // Get the path as string. Note that you usually won't // need to work with the string paths. var path = fp.file.path; //TODO: permissions, failures, missing directories, etc. etc. extractKPZip (KF_KPZIP_SAVE_NAME, folder); var KeePassEXEfound; mainWindow.keeFoxInst._keeFoxExtension.prefs .setValue("keePassInstalledLocation",path+"\\"); //TODO: probably should store the file object // itself rather than string version (X-Plat) KeePassEXEfound = mainWindow.keeFoxInst._confirmKeePassInstallLocation(path+"\\"); mainWindow.KFLog.info("KeePass install location set to: " + path+"\\"); if (!KeePassEXEfound) { mainWindow.keeFoxInst._keeFoxExtension.prefs.setValue("keePassInstalledLocation",""); } else { copyKeePassRPCFilesTo(path); } hideSection('IC5installing'); showSection('InstallFinished'); mainWindow.keeFoxInst._KFLog.debug("AAA"); launchAndConnectToKeePass(); } else { hideSection('installProgressView'); showSection('installationStartView'); hideSection('IC5installing'); } } else if (installState & KF_INSTALL_STATE_KPZIP_DOWNLOADING) { showSection('IC5zipKPdownloading'); } }
mainWindow.keeFoxInst._KFLog.debug("AAA");
function IC5zipKP(){ if ((installState & KF_INSTALL_STATE_KPZIP_DOWNLOADED) && (installState & KF_INSTALL_STATE_SELECTED_TER)) { var checkTest = mainWindow.KFMD5checksumVerification(KF_KPZIP_SAVE_NAME, KF_KPZIP_FILE_CHECKSUM); if (checkTest) mainWindow.KFLog.info("File checksum succeeded."); else mainWindow.KFLog.error("File checksum failed. Download corrupted?"); // TODO: kick user back to start if it fails hideSection('IC5zipKPdownloading'); showSection('IC5installing'); installState |= KF_INSTALL_STATE_KPZIP_EXECUTING; const nsIFilePicker = Components.interfaces.nsIFilePicker; var fp = Components.classes["@mozilla.org/filepicker;1"] .createInstance(nsIFilePicker); fp.init(window, "Choose a directory for KeePass", nsIFilePicker.modeGetFolder); //fp.appendFilters(nsIFilePicker.filterAll); var rv = fp.show(); if (rv == nsIFilePicker.returnOK || rv == nsIFilePicker.returnReplace) { var folder = fp.file; // Get the path as string. Note that you usually won't // need to work with the string paths. var path = fp.file.path; //TODO: permissions, failures, missing directories, etc. etc. extractKPZip (KF_KPZIP_SAVE_NAME, folder); var KeePassEXEfound; mainWindow.keeFoxInst._keeFoxExtension.prefs .setValue("keePassInstalledLocation",path+"\\"); //TODO: probably should store the file object // itself rather than string version (X-Plat) KeePassEXEfound = mainWindow.keeFoxInst._confirmKeePassInstallLocation(path+"\\"); mainWindow.KFLog.info("KeePass install location set to: " + path+"\\"); if (!KeePassEXEfound) { mainWindow.keeFoxInst._keeFoxExtension.prefs.setValue("keePassInstalledLocation",""); } else { copyKeePassRPCFilesTo(path); } hideSection('IC5installing'); showSection('InstallFinished'); mainWindow.keeFoxInst._KFLog.debug("AAA"); launchAndConnectToKeePass(); } else { hideSection('installProgressView'); showSection('installationStartView'); hideSection('IC5installing'); } } else if (installState & KF_INSTALL_STATE_KPZIP_DOWNLOADING) { showSection('IC5zipKPdownloading'); } }
q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>";
i="script"+(new Date).getTime(),n=t.documentElement;g.innerHTML="<a name='"+i+"'/>";n.insertBefore(g,n.firstChild);if(t.getElementById(i)){o.find.ID=function(m,p,q){if(typeof p.getElementById!=="undefined"&&!q)return(p=p.getElementById(m[1]))?p.id===m[1]||typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id").nodeValue===m[1]?[p]:B:[]};o.filter.ID=function(m,p){var q=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&q&&q.nodeValue===p}}n.removeChild(g);
q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>";
j="script"+(new Date).getTime();g.innerHTML="<a name='"+j+"'/>";var o=u.documentElement;o.insertBefore(g,o.firstChild);if(u.getElementById(j)){n.find.ID=function(m,p,q){if(typeof p.getElementById!=="undefined"&&!q)return(p=p.getElementById(m[1]))?p.id===m[1]||typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id").nodeValue===m[1]?[p]:A:[]};n.filter.ID=function(m,p){var q=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&q&&q.nodeValue===p}}o.removeChild(g);
i="script"+(new Date).getTime(),n=t.documentElement;g.innerHTML="<a name='"+i+"'/>";n.insertBefore(g,n.firstChild);if(t.getElementById(i)){o.find.ID=function(m,p,q){if(typeof p.getElementById!=="undefined"&&!q)return(p=p.getElementById(m[1]))?p.id===m[1]||typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id").nodeValue===m[1]?[p]:B:[]};o.filter.ID=function(m,p){var q=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&q&&q.nodeValue===p}}n.removeChild(g);
j="script"+(new Date).getTime();g.innerHTML="<a name='"+j+"'/>";var o=u.documentElement;o.insertBefore(g,o.firstChild);if(u.getElementById(j)){n.find.ID=function(m,p,q){if(typeof p.getElementById!=="undefined"&&!q)return(p=p.getElementById(m[1]))?p.id===m[1]||typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id").nodeValue===m[1]?[p]:A:[]};n.filter.ID=function(m,p){var q=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&q&&q.nodeValue===p}}o.removeChild(g);
if(r.getElementById(f)){o.find.ID=function(j,n,m){if(typeof n.getElementById!=="undefined"&&!m)return(n=n.getElementById(j[1]))?n.id===j[1]||typeof n.getAttributeNode!=="undefined"&&n.getAttributeNode("id").nodeValue===j[1]?[n]:v:[]};o.filter.ID=function(j,n){var m=typeof j.getAttributeNode!=="undefined"&&j.getAttributeNode("id");return j.nodeType===1&&m&&m.nodeValue===n}}i.removeChild(c);i=c=null})();(function(){var c=r.createElement("div");c.appendChild(r.createComment(""));if(c.getElementsByTagName("*").length>
" "+c[1].replace(/\\/g,"")+" ";if(m)return c;m=0;for(var t;(t=f[m])!=null;m++)if(t)if(n^(t.className&&(" "+t.className+" ").replace(/[\t\n]/g," ").indexOf(c)>=0))i||j.push(t);else if(i)f[m]=false;return false},ID:function(c){return c[1].replace(/\\/g,"")},TAG:function(c){return c[1].toLowerCase()},CHILD:function(c){if(c[1]==="nth"){var f=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(c[2]==="even"&&"2n"||c[2]==="odd"&&"2n+1"||!/\D/.test(c[2])&&"0n+"+c[2]||c[2]);c[2]=f[1]+(f[2]||1)-0;c[3]=f[3]-0}c[0]=h++;return c},
if(r.getElementById(f)){o.find.ID=function(j,n,m){if(typeof n.getElementById!=="undefined"&&!m)return(n=n.getElementById(j[1]))?n.id===j[1]||typeof n.getAttributeNode!=="undefined"&&n.getAttributeNode("id").nodeValue===j[1]?[n]:v:[]};o.filter.ID=function(j,n){var m=typeof j.getAttributeNode!=="undefined"&&j.getAttributeNode("id");return j.nodeType===1&&m&&m.nodeValue===n}}i.removeChild(c);i=c=null})();(function(){var c=r.createElement("div");c.appendChild(r.createComment(""));if(c.getElementsByTagName("*").length>
32&&a.keyCode<125:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};this.px=function(a,b){return G(w(a,b))};this.pxself=function(a,b){return G(a.style[b])};this.pctself=function(a,b){return U(a.style[b],0)};this.isHidden=function(a){if(a.style.display=="none")return true;else{a=a.parentNode;return a!=null&&a.tagName.toLowerCase()!="body"?g.isHidden(a):false}};this.IEwidth=function(a,b,f){if(a.parentNode){var l=a.parentNode.clientWidth-g.px(a,"marginLeft")-g.px(a,"marginRight")- g.px(a,"borderLeftWidth")-g.px(a,"borderRightWidth")-g.px(a.parentNode,"paddingLeft")-g.px(a.parentNode,"paddingRight");b=U(b,0);f=U(f,1E5);return l<b?b-1:l>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=""};var z=null;this.firedTarget=null;this.target=
"body"?g.isHidden(a):false}};this.IEwidth=function(a,b,f){if(a.parentNode){var l=a.parentNode.clientWidth-g.px(a,"marginLeft")-g.px(a,"marginRight")-g.px(a,"borderLeftWidth")-g.px(a,"borderRightWidth")-g.px(a.parentNode,"paddingLeft")-g.px(a.parentNode,"paddingRight");b=U(b,0);f=U(f,1E5);return l<b?b-1:l>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display=
32&&a.keyCode<125:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};this.px=function(a,b){return G(w(a,b))};this.pxself=function(a,b){return G(a.style[b])};this.pctself=function(a,b){return U(a.style[b],0)};this.isHidden=function(a){if(a.style.display=="none")return true;else{a=a.parentNode;return a!=null&&a.tagName.toLowerCase()!="body"?g.isHidden(a):false}};this.IEwidth=function(a,b,f){if(a.parentNode){var l=a.parentNode.clientWidth-g.px(a,"marginLeft")-g.px(a,"marginRight")-g.px(a,"borderLeftWidth")-g.px(a,"borderRightWidth")-g.px(a.parentNode,"paddingLeft")-g.px(a.parentNode,"paddingRight");b=U(b,0);f=U(f,1E5);return l<b?b-1:l>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=""};var z=null;this.firedTarget=null;this.target=
13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};this.px=function(a,b){return G(w(a,b))};this.pxself=function(a,b){return G(a.style[b])};this.pctself=function(a,b){return U(a.style[b],0)};this.isHidden=function(a){if(a.style.display=="none")return true;else{a=a.parentNode;return a!=null&&a.tagName.toLowerCase()!="body"?g.isHidden(a):false}};this.IEwidth=function(a,b,f){if(a.parentNode){var l=a.parentNode.clientWidth-g.px(a,"marginLeft")-g.px(a,"marginRight")-g.px(a,"borderLeftWidth")- g.px(a,"borderRightWidth")-g.px(a.parentNode,"paddingLeft")-g.px(a.parentNode,"paddingRight");b=U(b,0);f=U(f,1E5);return l<b?b-1:l>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=""};var z=null;this.firedTarget=null;this.target=function(a){return g.firedTarget||
32&&a.keyCode<125:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};this.px=function(a,b){return G(w(a,b))};this.pxself=function(a,b){return G(a.style[b])};this.pctself=function(a,b){return U(a.style[b],0)};this.isHidden=function(a){if(a.style.display=="none")return true;else{a=a.parentNode;return a!=null&&a.tagName.toLowerCase()!="body"?g.isHidden(a):false}};this.IEwidth=function(a,b,f){if(a.parentNode){var l=a.parentNode.clientWidth-g.px(a,"marginLeft")-g.px(a,"marginRight")- g.px(a,"borderLeftWidth")-g.px(a,"borderRightWidth")-g.px(a.parentNode,"paddingLeft")-g.px(a.parentNode,"paddingRight");b=U(b,0);f=U(f,1E5);return l<b?b-1:l>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=""};var z=null;this.firedTarget=null;this.target=
13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};this.px=function(a,b){return G(w(a,b))};this.pxself=function(a,b){return G(a.style[b])};this.pctself=function(a,b){return U(a.style[b],0)};this.isHidden=function(a){if(a.style.display=="none")return true;else{a=a.parentNode;return a!=null&&a.tagName.toLowerCase()!="body"?g.isHidden(a):false}};this.IEwidth=function(a,b,f){if(a.parentNode){var l=a.parentNode.clientWidth-g.px(a,"marginLeft")-g.px(a,"marginRight")-g.px(a,"borderLeftWidth")-g.px(a,"borderRightWidth")-g.px(a.parentNode,"paddingLeft")-g.px(a.parentNode,"paddingRight");b=U(b,0);f=U(f,1E5);return l<b?b-1:l>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=""};var z=null;this.firedTarget=null;this.target=function(a){return g.firedTarget||
a.length==2?a[1]:"0")?parseFloat(a):0};this.pctself=function(a,b){a=a.style[b];if(a=="auto"||a==null)return 0;return(a=(a=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(a))&&a.length==2?a[1]:"0")?parseFloat(a):0};this.IEwidth=function(a,b,e){if(a.parentNode){var k=a.parentNode.clientWidth-h.px(a,"marginLeft")-h.px(a,"marginRight")-h.px(a,"borderLeftWidth")-h.px(a,"borderRightWidth")-h.px(a.parentNode,"paddingLeft")-h.px(a.parentNode,"paddingRight"),i=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(i=i&&i.length== 2?i[1]:"0")?parseFloat(i):0;e=(i=(i=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(e))&&i.length==2?i[1]:"100000")?parseFloat(i):1E5;return k<b?b-1:k>e?e+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){h.getElement(a).style.display="none"};this.inline=function(a){h.getElement(a).style.display="inline"};this.block=function(a){h.getElement(a).style.display="block"};this.show=function(a){h.getElement(a).style.display=""};var C=null,T=false;this.capture=function(a){ba();if(!(C&&a)){C=
a.length==2?a[1]:"0")?parseFloat(a):0};this.pctself=function(a,b){a=a.style[b];if(a=="auto"||a==null)return 0;return(a=(a=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(a))&&a.length==2?a[1]:"0")?parseFloat(a):0};this.IEwidth=function(a,b,e){if(a.parentNode){var j=a.parentNode.clientWidth-g.px(a,"marginLeft")-g.px(a,"marginRight")-g.px(a,"borderLeftWidth")-g.px(a,"borderRightWidth")-g.px(a.parentNode,"paddingLeft")-g.px(a.parentNode,"paddingRight"),i=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(i=i&&i.length== 2?i[1]:"0")?parseFloat(i):0;e=(i=(i=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(e))&&i.length==2?i[1]:"100000")?parseFloat(i):1E5;return j<b?b-1:j>e?e+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=""};var B=null,S=false;this.capture=function(a){aa();if(!(B&&a)){B=
a.length==2?a[1]:"0")?parseFloat(a):0};this.pctself=function(a,b){a=a.style[b];if(a=="auto"||a==null)return 0;return(a=(a=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(a))&&a.length==2?a[1]:"0")?parseFloat(a):0};this.IEwidth=function(a,b,e){if(a.parentNode){var k=a.parentNode.clientWidth-h.px(a,"marginLeft")-h.px(a,"marginRight")-h.px(a,"borderLeftWidth")-h.px(a,"borderRightWidth")-h.px(a.parentNode,"paddingLeft")-h.px(a.parentNode,"paddingRight"),i=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(i=i&&i.length==2?i[1]:"0")?parseFloat(i):0;e=(i=(i=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(e))&&i.length==2?i[1]:"100000")?parseFloat(i):1E5;return k<b?b-1:k>e?e+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){h.getElement(a).style.display="none"};this.inline=function(a){h.getElement(a).style.display="inline"};this.block=function(a){h.getElement(a).style.display="block"};this.show=function(a){h.getElement(a).style.display=""};var C=null,T=false;this.capture=function(a){ba();if(!(C&&a)){C=
a.length==2?a[1]:"0")?parseFloat(a):0};this.IEwidth=function(a,b,e){if(a.parentNode){var k=a.parentNode.clientWidth-g.px(a,"marginLeft")-g.px(a,"marginRight")-g.px(a,"borderLeftWidth")-g.px(a,"borderRightWidth")-g.px(a.parentNode,"paddingLeft")-g.px(a.parentNode,"paddingRight"),i=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(i=i&&i.length==2?i[1]:"0")?parseFloat(i):0;e=(i=(i=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(e))&&i.length==2?i[1]:"100000")?parseFloat(i):1E5;return k<b?b-1:k>e?e+1:a.style.styleFloat!= ""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=""};var C=null,T=false;this.capture=function(a){ba();if(!(C&&a)){C=a;var b=document.body;if(b.setCapture)a!=null?b.setCapture():b.releaseCapture();if(a!=null){$(b).addClass("unselectable");b.setAttribute("unselectable","on");b.onselectstart=
a.length==2?a[1]:"0")?parseFloat(a):0};this.IEwidth=function(a,b,e){if(a.parentNode){var k=a.parentNode.clientWidth-h.px(a,"marginLeft")-h.px(a,"marginRight")-h.px(a,"borderLeftWidth")-h.px(a,"borderRightWidth")-h.px(a.parentNode,"paddingLeft")-h.px(a.parentNode,"paddingRight"),i=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(i=i&&i.length==2?i[1]:"0")?parseFloat(i):0;e=(i=(i=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(e))&&i.length==2?i[1]:"100000")?parseFloat(i):1E5;return k<b?b-1:k>e?e+1:a.style.styleFloat!= ""?b-1:"auto"}else return"auto"};this.hide=function(a){h.getElement(a).style.display="none"};this.inline=function(a){h.getElement(a).style.display="inline"};this.block=function(a){h.getElement(a).style.display="block"};this.show=function(a){h.getElement(a).style.display=""};var C=null,T=false;this.capture=function(a){ba();if(!(C&&a)){C=a;var b=document.body;if(b.setCapture)a!=null?b.setCapture():b.releaseCapture();if(a!=null){$(b).addClass("unselectable");b.setAttribute("unselectable","on");b.onselectstart=
a.length==2?a[1]:"0")?parseFloat(a):0};this.IEwidth=function(a,b,e){if(a.parentNode){var k=a.parentNode.clientWidth-g.px(a,"marginLeft")-g.px(a,"marginRight")-g.px(a,"borderLeftWidth")-g.px(a,"borderRightWidth")-g.px(a.parentNode,"paddingLeft")-g.px(a.parentNode,"paddingRight"),i=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(i=i&&i.length==2?i[1]:"0")?parseFloat(i):0;e=(i=(i=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(e))&&i.length==2?i[1]:"100000")?parseFloat(i):1E5;return k<b?b-1:k>e?e+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=""};var C=null,T=false;this.capture=function(a){ba();if(!(C&&a)){C=a;var b=document.body;if(b.setCapture)a!=null?b.setCapture():b.releaseCapture();if(a!=null){$(b).addClass("unselectable");b.setAttribute("unselectable","on");b.onselectstart=
if(a=="auto"||a==null)return 0;return(a=(a=/^\s*(-?\d+(?:\.\d+)?)\s*px\s*$/.exec(a))&&a.length==2?a[1]:"0")?parseFloat(a):0};this.pctself=function(a,b){a=a.style[b];if(a=="auto"||a==null)return 0;return(a=(a=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(a))&&a.length==2?a[1]:"0")?parseFloat(a):0};this.IEwidth=function(a,b,f){if(a.parentNode){var h=a.parentNode.clientWidth-g.px(a,"marginLeft")-g.px(a,"marginRight")-g.px(a,"borderLeftWidth")-g.px(a,"borderRightWidth")-g.px(a.parentNode,"paddingLeft")-g.px(a.parentNode, "paddingRight"),k=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(k=k&&k.length==2?k[1]:"0")?parseFloat(k):0;f=(k=(k=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(f))&&k.length==2?k[1]:"100000")?parseFloat(k):1E5;return h<b?b-1:h>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=
function(a){if(a.style.display=="none")return true;else{a=a.parentNode;return a!=null&&a.tagName.toLowerCase()!="body"?g.isHidden(a):false}};this.pxself=function(a,b){a=a.style[b];if(a=="auto"||a==null)return 0;return(a=(a=/^\s*(-?\d+(?:\.\d+)?)\s*px\s*$/.exec(a))&&a.length==2?a[1]:"0")?parseFloat(a):0};this.pctself=function(a,b){a=a.style[b];if(a=="auto"||a==null)return 0;return(a=(a=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(a))&&a.length==2?a[1]:"0")?parseFloat(a):0};this.IEwidth=function(a,b,f){if(a.parentNode){var h= a.parentNode.clientWidth-g.px(a,"marginLeft")-g.px(a,"marginRight")-g.px(a,"borderLeftWidth")-g.px(a,"borderRightWidth")-g.px(a.parentNode,"paddingLeft")-g.px(a.parentNode,"paddingRight"),k=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(k=k&&k.length==2?k[1]:"0")?parseFloat(k):0;f=(k=(k=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(f))&&k.length==2?k[1]:"100000")?parseFloat(k):1E5;return h<b?b-1:h>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display=
if(a=="auto"||a==null)return 0;return(a=(a=/^\s*(-?\d+(?:\.\d+)?)\s*px\s*$/.exec(a))&&a.length==2?a[1]:"0")?parseFloat(a):0};this.pctself=function(a,b){a=a.style[b];if(a=="auto"||a==null)return 0;return(a=(a=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(a))&&a.length==2?a[1]:"0")?parseFloat(a):0};this.IEwidth=function(a,b,f){if(a.parentNode){var h=a.parentNode.clientWidth-g.px(a,"marginLeft")-g.px(a,"marginRight")-g.px(a,"borderLeftWidth")-g.px(a,"borderRightWidth")-g.px(a.parentNode,"paddingLeft")-g.px(a.parentNode,"paddingRight"),k=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(k=k&&k.length==2?k[1]:"0")?parseFloat(k):0;f=(k=(k=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(f))&&k.length==2?k[1]:"100000")?parseFloat(k):1E5;return h<b?b-1:h>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=
0};this.IEwidth=function(a,b,f){if(a.parentNode){var m=a.parentNode.clientWidth-k.px(a,"marginLeft")-k.px(a,"marginRight")-k.px(a,"borderLeftWidth")-k.px(a,"borderRightWidth")-k.px(a.parentNode,"paddingLeft")-k.px(a.parentNode,"paddingRight"),l=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(l=l&&l.length==2?l[1]:"0")?parseFloat(l):0;f=(l=(l=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(f))&&l.length==2?l[1]:"100000")?parseFloat(l):1E5;return m<b?b-1:m>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};
"none")return true;else{a=a.parentNode;return a!=null&&a.tagName.toLowerCase()!="body"?k.isHidden(a):false}};this.pxself=function(a,b){a=a.style[b];if(a=="auto"||a==null)return 0;return(a=(a=/^\s*(-?\d+(?:\.\d+)?)\s*px\s*$/.exec(a))&&a.length==2?a[1]:"0")?parseFloat(a):0};this.pctself=function(a,b){a=a.style[b];if(a=="auto"||a==null)return 0;return(a=(a=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(a))&&a.length==2?a[1]:"0")?parseFloat(a):0};this.IEwidth=function(a,b,f){if(a.parentNode){var m=a.parentNode.clientWidth- k.px(a,"marginLeft")-k.px(a,"marginRight")-k.px(a,"borderLeftWidth")-k.px(a,"borderRightWidth")-k.px(a.parentNode,"paddingLeft")-k.px(a.parentNode,"paddingRight"),l=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(l=l&&l.length==2?l[1]:"0")?parseFloat(l):0;f=(l=(l=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(f))&&l.length==2?l[1]:"100000")?parseFloat(l):1E5;return m<b?b-1:m>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){k.getElement(a).style.display="none"};this.inline=function(a){k.getElement(a).style.display=
0};this.IEwidth=function(a,b,f){if(a.parentNode){var m=a.parentNode.clientWidth-k.px(a,"marginLeft")-k.px(a,"marginRight")-k.px(a,"borderLeftWidth")-k.px(a,"borderRightWidth")-k.px(a.parentNode,"paddingLeft")-k.px(a.parentNode,"paddingRight"),l=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(l=l&&l.length==2?l[1]:"0")?parseFloat(l):0;f=(l=(l=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(f))&&l.length==2?l[1]:"100000")?parseFloat(l):1E5;return m<b?b-1:m>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};
if (maps.length == 0) {
if (urlPattern) maps = [map for each (map in maps) if (this._matchingUrlsTest(map, urlPattern))];
if (maps.length == 0) {
w.ownerDocument&&w!==b;){if(p?p.index(w)>-1:d(w).is(a))return w;w=w.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return d.inArray(this[0],a?d(a):this.parent().children());return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?d(a,b||this.context):d.makeArray(a);b=d.merge(this.get(),a);return this.pushStack(a[0]&&(a[0].setInterval||a[0].nodeType===9||a[0].parentNode&&a[0].parentNode.nodeType!==11)?d.unique(b):b)},andSelf:function(){return this.add(this.prevObject)}});
-1:c(f).is(h)){e.push({selector:l,elem:f});delete k[l]}}f=f.parentNode}}return e}var p=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(o,w){for(;w&&w.ownerDocument&&w!==b;){if(p?p.index(w)>-1:c(w).is(a))return w;w=w.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),
w.ownerDocument&&w!==b;){if(p?p.index(w)>-1:d(w).is(a))return w;w=w.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return d.inArray(this[0],a?d(a):this.parent().children());return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?d(a,b||this.context):d.makeArray(a);b=d.merge(this.get(),a);return this.pushStack(a[0]&&(a[0].setInterval||a[0].nodeType===9||a[0].parentNode&&a[0].parentNode.nodeType!==11)?d.unique(b):b)},andSelf:function(){return this.add(this.prevObject)}});
root : new Ext.tree.TreeNode({
showRepositoryDropDown : false }; Ext.apply(this, config, defaultConfig); if (!this.root) { this.root = new Ext.tree.TreeNode({
Sonatype.repoServer.IndexBrowserPanel = function(config) { var config = config || {}; var defaultConfig = { url : '', root : new Ext.tree.TreeNode({ text : '(Not Available)', id : '/', singleClickExpand : true, expanded : true }), showRepositoryDropDown : false }; Ext.apply(this, config, defaultConfig); if (this.showRepositoryDropDown) { this.toolbarInitEvent = 'indexBrowserToolbarInit'; } Sonatype.repoServer.IndexBrowserPanel.superclass.constructor.call(this, { nodeIconClass : 'x-tree-node-nexus-icon', useNodeIconClassParam : 'locallyAvailable' });};