rem
stringlengths 0
126k
| add
stringlengths 0
441k
| context
stringlengths 15
136k
|
---|---|---|
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")- | if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>=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= | 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")- |
"undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>=32&&a.keyCode<125:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):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.pxself=function(a,b){a=a.style[b];if(a== | "undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>=32&&a.keyCode<125:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=x(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):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.pxself=function(a,b){a=a.style[b];if(a== | "undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>=32&&a.keyCode<125:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):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.pxself=function(a,b){a=a.style[b];if(a== |
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")- | 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")- | 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")- |
"undefined"?a.charCode:0)>0||h.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var X=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return X.test(a)?parseFloat(a):0};this.isHidden=function(a){if(a.style.display=="none")return true;else{a=a.parentNode;return a!=null&&a.tagName.toLowerCase()!="body"?h.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))&& | "undefined"?a.charCode:0)>0||g.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var X=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=v(a,b);if(a=="auto"||a==null)return 0;return X.test(a)?parseFloat(a):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.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))&& | "undefined"?a.charCode:0)>0||h.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var X=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return X.test(a)?parseFloat(a):0};this.isHidden=function(a){if(a.style.display=="none")return true;else{a=a.parentNode;return a!=null&&a.tagName.toLowerCase()!="body"?h.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))&& |
this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return X.test(a)?parseFloat(a):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.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))&& | this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return X.test(a)?parseFloat(a):0};this.isHidden=function(a){if(a.style.display=="none")return true;else{a=a.parentNode;return a!=null&&a.tagName.toLowerCase()!="body"?h.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))&& | this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return X.test(a)?parseFloat(a):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.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))&& |
if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):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.pxself=function(a,b){a=a.style[b]; | b;a.selectionEnd=f}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",f-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode>=32&&a.keyCode<125};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):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.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= | if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):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.pxself=function(a,b){a=a.style[b]; |
2?a[1]:"0")?parseFloat(f):0};this.isHidden=function(a){if(a.style.display=="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): | f);a.moveStart("character",b);a.select()}else if(a.setSelectionRange){a.focus();a.setSelectionRange(b,f)}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||k.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var U=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=x(a,b);if(a=="auto"||a==null)return 0;return U.test(a)?parseFloat(a):0};this.isHidden=function(a){if(a.style.display== "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- | 2?a[1]:"0")?parseFloat(f):0};this.isHidden=function(a){if(a.style.display=="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): |
i.appendChild(j.$.cloneNode(true));return i.innerHTML;},setHtml:function(i){return this.$.innerHTML=i;},setText:function(i){h.prototype.setText=this.$.innerText!=undefined?function(j){return this.$.innerText=j;}:function(j){return this.$.textContent=j;};return this.setText(i);},getAttribute:(function(){var i=function(j){return this.$.getAttribute(j,2);};if(c&&(b.ie7Compat||b.ie6Compat))return function(j){var n=this;switch(j){case 'class':j='className';break;case 'tabindex':var k=i.call(n,j);if(k!==0&&n.$.tabIndex===0)k=null;return k;break;case 'checked':var l=n.$.attributes.getNamedItem(j),m=l.specified?l.nodeValue:n.$.checked;return m?'checked':null;case 'hspace':return n.$.hspace;case 'style':return n.$.style.cssText;}return i.call(n,j);};else return i;})(),getChildren:function(){return new d.nodeList(this.$.childNodes);},getComputedStyle:c?function(i){return this.$.currentStyle[e.cssStyleToDomStyle(i)];}:function(i){return this.getWindow().$.getComputedStyle(this.$,'').getPropertyValue(i);},getDtd:function(){var i=f[this.getName()];this.getDtd=function(){return i;};return i;},getElementsByTag:g.prototype.getElementsByTag,getTabIndex:c?function(){var i=this.$.tabIndex;if(i===0&&!f.$tabIndex[this.getName()]&&parseInt(this.getAttribute('tabindex'),10)!==0)i=-1;return i;}:b.webkit?function(){var i=this.$.tabIndex;if(i==undefined){i=parseInt(this.getAttribute('tabindex'),10);if(isNaN(i))i=-1;}return i;}:function(){return this.$.tabIndex;},getText:function(){return this.$.textContent||this.$.innerText||'';},getWindow:function(){return this.getDocument().getWindow();},getId:function(){return this.$.id||null;},getNameAtt:function(){return this.$.name||null;},getName:function(){var i=this.$.nodeName.toLowerCase();if(c){var j=this.$.scopeName;if(j!='HTML')i=j.toLowerCase()+':'+i;}return(this.getName=function(){return i;})();},getValue:function(){return this.$.value;},getFirst:function(i){var j=this.$.firstChild,k=j&&new d.node(j);if(k&&i&&!i(k))k=k.getNext(i);return k;},getLast:function(i){var j=this.$.lastChild,k=j&&new d.node(j);if(k&&i&&!i(k))k=k.getPrevious(i);return k;},getStyle:function(i){return this.$.style[e.cssStyleToDomStyle(i)];},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;},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:''}); | i.appendChild(j.$.cloneNode(true));return i.innerHTML;},setHtml:function(i){return this.$.innerHTML=i;},setText:function(i){h.prototype.setText=this.$.innerText!=undefined?function(j){return this.$.innerText=j;}:function(j){return this.$.textContent=j;};return this.setText(i);},getAttribute:(function(){var i=function(j){return this.$.getAttribute(j,2);};if(c&&(b.ie7Compat||b.ie6Compat))return function(j){var n=this;switch(j){case 'class':j='className';break;case 'tabindex':var k=i.call(n,j);if(k!==0&&n.$.tabIndex===0)k=null;return k;break;case 'checked':var l=n.$.attributes.getNamedItem(j),m=l.specified?l.nodeValue:n.$.checked;return m?'checked':null;case 'hspace':return n.$.hspace;case 'style':return n.$.style.cssText;}return i.call(n,j);};else return i;})(),getChildren:function(){return new d.nodeList(this.$.childNodes);},getComputedStyle:c?function(i){return this.$.currentStyle[e.cssStyleToDomStyle(i)];}:function(i){return this.getWindow().$.getComputedStyle(this.$,'').getPropertyValue(i);},getDtd:function(){var i=f[this.getName()];this.getDtd=function(){return i;};return i;},getElementsByTag:g.prototype.getElementsByTag,getTabIndex:c?function(){var i=this.$.tabIndex;if(i===0&&!f.$tabIndex[this.getName()]&&parseInt(this.getAttribute('tabindex'),10)!==0)i=-1;return i;}:b.webkit?function(){var i=this.$.tabIndex;if(i==undefined){i=parseInt(this.getAttribute('tabindex'),10);if(isNaN(i))i=-1;}return i;}:function(){return this.$.tabIndex;},getText:function(){return this.$.textContent||this.$.innerText||'';},getWindow:function(){return this.getDocument().getWindow();},getId:function(){return this.$.id||null;},getNameAtt:function(){return this.$.name||null;},getName:function(){var i=this.$.nodeName.toLowerCase();if(c){var j=this.$.scopeName;if(j!='HTML')i=j.toLowerCase()+':'+i;}return(this.getName=function(){return i;})();},getValue:function(){return this.$.value;},getFirst:function(i){var j=this.$.firstChild,k=j&&new d.node(j);if(k&&i&&!i(k))k=k.getNext(i);return k;},getLast:function(i){var j=this.$.lastChild,k=j&&new d.node(j);if(k&&i&&!i(k))k=k.getPrevious(i);return k;},getStyle:function(i){return this.$.style[e.cssStyleToDomStyle(i)];},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;},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]); |
"number")f=-1;if(b<0)b=0;if(f>l.length)f=l.length;if(f<b)f=b;if(b>f)b=f;a.focus();if(typeof a.selectionStart!=="undefined"){a.selectionStart=b;a.selectionEnd=f}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",f-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>= 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")- | 0?{start:a.selectionStart,end:a.selectionEnd}:{start:-1,end:-1}};this.setSelectionRange=function(a,b,f){var l=$(a).val();if(typeof b!="number")b=-1;if(typeof f!="number")f=-1;if(b<0)b=0;if(f>l.length)f=l.length;if(f<b)f=b;if(b>f)b=f;a.focus();if(typeof a.selectionStart!=="undefined"){a.selectionStart=b;a.selectionEnd=f}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",f-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event; if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>=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()!= | "number")f=-1;if(b<0)b=0;if(f>l.length)f=l.length;if(f<b)f=b;if(b>f)b=f;a.focus();if(typeof a.selectionStart!=="undefined"){a.selectionStart=b;a.selectionEnd=f}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",f-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>=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")- |
"undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>=32&&a.keyCode<125:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):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.pxself=function(a,b){a=a.style[b];if(a== | "undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>=32&&a.keyCode<125:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=x(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):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.pxself=function(a,b){a=a.style[b];if(a== | this.setSelectionRange=function(a,b,f){var k=$(a).val();if(typeof b!="number")b=-1;if(typeof f!="number")f=-1;if(b<0)b=0;if(f>k.length)f=k.length;if(f<b)f=b;if(b>f)b=f;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=f}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",f-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>=32&&a.keyCode<125:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):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.pxself=function(a,b){a=a.style[b];if(a== |
0)b=0;if(f>l.length)f=l.length;if(f<b)f=b;if(b>f)b=f;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=f}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",f-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>=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")- | "number")f=-1;if(b<0)b=0;if(f>l.length)f=l.length;if(f<b)f=b;if(b>f)b=f;a.focus();if(typeof a.selectionStart!=="undefined"){a.selectionStart=b;a.selectionEnd=f}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",f-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>= 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")- | 0)b=0;if(f>l.length)f=l.length;if(f<b)f=b;if(b>f)b=f;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=f}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",f-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>=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")- |
this.setSelectionRange=function(a,b,e){var k=$(a).val();if(typeof b!="number")b=-1;if(typeof e!="number")e=-1;if(b<0)b=0;if(e>k.length)e=k.length;if(e<b)e=b;if(b>e)b=e;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=e}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",e-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!== "undefined"?a.charCode:0)>0||h.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var X=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return X.test(a)?parseFloat(a):0};this.isHidden=function(a){if(a.style.display=="none")return true;else{a=a.parentNode;return a!=null&&a.tagName.toLowerCase()!="body"?h.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))&& | this.setSelectionRange=function(a,b,e){var j=$(a).val();if(typeof b!="number")b=-1;if(typeof e!="number")e=-1;if(b<0)b=0;if(e>j.length)e=j.length;if(e<b)e=b;if(b>e)b=e;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=e}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",e-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!== "undefined"?a.charCode:0)>0||g.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var X=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=v(a,b);if(a=="auto"||a==null)return 0;return X.test(a)?parseFloat(a):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.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))&& | this.setSelectionRange=function(a,b,e){var k=$(a).val();if(typeof b!="number")b=-1;if(typeof e!="number")e=-1;if(b<0)b=0;if(e>k.length)e=k.length;if(e<b)e=b;if(b>e)b=e;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=e}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",e-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||h.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var X=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return X.test(a)?parseFloat(a):0};this.isHidden=function(a){if(a.style.display=="none")return true;else{a=a.parentNode;return a!=null&&a.tagName.toLowerCase()!="body"?h.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))&& |
k.length;if(e<b)e=b;if(b>e)b=e;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=e}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",e-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var X=/^-?\d+(?:px)?$/i; | k.length;if(e<b)e=b;if(b>e)b=e;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=e}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",e-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||h.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var X=/^-?\d+(?:px)?$/i; | k.length;if(e<b)e=b;if(b>e)b=e;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=e}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",e-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var X=/^-?\d+(?:px)?$/i; |
a.selectionStart==0?{start:a.selectionStart,end:a.selectionEnd}:{start:-1,end:-1}};this.setSelectionRange=function(a,b,f){var h=$(a).val();if(typeof b!="number")b=-1;if(typeof f!="number")f=-1;if(b<0)b=0;if(f>h.length)f=h.length;if(f<b)f=b;if(b>f)b=f;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=f}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",f-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event; if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):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.pxself=function(a,b){a=a.style[b]; | b;a.selectionEnd=f}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",f-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode>=32&&a.keyCode<125};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):0};this.isHidden= | a.selectionStart==0?{start:a.selectionStart,end:a.selectionEnd}:{start:-1,end:-1}};this.setSelectionRange=function(a,b,f){var h=$(a).val();if(typeof b!="number")b=-1;if(typeof f!="number")f=-1;if(b<0)b=0;if(f>h.length)f=h.length;if(f<b)f=b;if(b>f)b=f;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=f}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",f-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):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.pxself=function(a,b){a=a.style[b]; |
function(a){if(document.selection){var b=document.selection.createRange(),f=b.duplicate();f.moveToElementText(a);f.setEndPoint("EndToEnd",b);a=f.text.length-b.text.length;return{start:a,end:a+b.text.length}}else return{start:a.selectionStart,end:a.selectionEnd}};this.setSelectionRange=function(a,b,f){if(a.createTextRange){a=a.createTextRange();a.collapse(true);a.moveEnd("character",f);a.moveStart("character",b);a.select()}else if(a.setSelectionRange){a.focus();a.setSelectionRange(b,f)}};this.isKeyPress= function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||k.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};this.px=function(a,b){var f=null;f=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:a.style[b];if(f=="auto"||f==null)return 0;return(f=(a=/^\s*(-?\d+(?:\.\d+)?)\s*px\s*$/.exec(f))&&a.length== | f);a.moveStart("character",b);a.select()}else if(a.setSelectionRange){a.focus();a.setSelectionRange(b,f)}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||k.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var U=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=x(a,b);if(a=="auto"||a==null)return 0;return U.test(a)?parseFloat(a):0};this.isHidden=function(a){if(a.style.display== | function(a){if(document.selection){var b=document.selection.createRange(),f=b.duplicate();f.moveToElementText(a);f.setEndPoint("EndToEnd",b);a=f.text.length-b.text.length;return{start:a,end:a+b.text.length}}else return{start:a.selectionStart,end:a.selectionEnd}};this.setSelectionRange=function(a,b,f){if(a.createTextRange){a=a.createTextRange();a.collapse(true);a.moveEnd("character",f);a.moveStart("character",b);a.select()}else if(a.setSelectionRange){a.focus();a.setSelectionRange(b,f)}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||k.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};this.px=function(a,b){var f=null;f=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:a.style[b];if(f=="auto"||f==null)return 0;return(f=(a=/^\s*(-?\d+(?:\.\d+)?)\s*px\s*$/.exec(f))&&a.length== |
var i = this.skipWhiteSpace(str); if (finished(str, i)) return 0; if (str.substring(i).startsWith(match)) return i+match.length; | var i = this.skipWhiteSpace(str); if (finished(str, i)) | this.isMatch = function(str, match) { var i = this.skipWhiteSpace(str); if (finished(str, i)) return 0; if (str.substring(i).startsWith(match)) return i+match.length; return 0; }; |
}; | if (str.substring(i).startsWith(match)) return i+match.length; return 0; }; | this.isMatch = function(str, match) { var i = this.skipWhiteSpace(str); if (finished(str, i)) return 0; if (str.substring(i).startsWith(match)) return i+match.length; return 0; }; |
if (gaFeatureTypes[i] == sFeature) | if (gaFeatureTypes[i] == sFeature) { | function isRecognizedFeature(sFeature) { for (var i=0; i<gaFeatureTypes.length; i++) { if (gaFeatureTypes[i] == sFeature) return true; } return false;} |
} | function isRecognizedFeature(sFeature) { for (var i=0; i<gaFeatureTypes.length; i++) { if (gaFeatureTypes[i] == sFeature) return true; } return false;} |
|
return d1.getYear() === d2.getYear() && | return d1.getFullYear() === d2.getFullYear() && | function isSameDay(d1, d2) { return d1.getYear() === d2.getYear() && d1.getMonth() == d2.getMonth() && d1.getDate() == d2.getDate(); } |
function isSeperator(c) { return c === '.'; } | function isSeperator(c) { return c === '.' || c === 'r'; } | function isSeperator(c) { return c === '.'; } |
var regexp = /(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/i; | var regexp = /^((http|ftp|https):\/{2})?(([0-9a-zA-Z_-]+\.)+[0-9a-zA-Z]+)((:[0-9]+)?)((\/([~0-9a-zA-Z\#%@\.\/_-]+)?(\?[0-9a-zA-Z%@\/&=_-]+)?)?)$/i; | isURL: function(element) { var regexp = /(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/i; return regexp.test(element.val()); }, |
var selectedTree = this.find('name', 'roles-privs-tree')[0]; var treeValid = selectedTree.validate.call(selectedTree); if (!treeValid) { this.markTreeInvalid(selectedTree); } return treeValid && this.form.isValid(); | return this.form.isValid() && this.find('name', 'roleManager')[0].validate(); | isValid : function() { var selectedTree = this.find('name', 'roles-privs-tree')[0]; var treeValid = selectedTree.validate.call(selectedTree); if (!treeValid) { this.markTreeInvalid(selectedTree); } return treeValid && this.form.isValid(); }, |
"paddingTop"),w=a.pxself(t.rows[t.rows.length-1].childNodes[0],"paddingBottom");new a.SizeHandle(a,"h",u.offsetWidth,t.offsetHeight-v-w,n,r,"Wt-hsh",function(B){q(e,k,B)},u,l,m,0,-e.offsetTop+v-a.pxself(e,"paddingTop"))}function j(e,k,m){var n=e.parentNode.previousSibling;e=e.parentNode.nextSibling;var r=n.offsetHeight,u=e.offsetHeight;if(h.stretch[k]>0&&h.stretch[k+1]>0)h.stretch[k]=-1;if(h.stretch[k+1]==0)h.stretch[k+1]=-1;h.stretch[k]<=0&&d.adjustRow(n,r+m);h.stretch[k+1]<=0&&d.adjustRow(e,u-m); a.getElement(s).dirty=true;window.onresize()}function g(){var e,k=0;for(e=0;;++e){var m=b(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=b(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=b(k);var n=p(e,k),r=b(k+1),u=p(r,k+1);if(a.pctself(e,"width")>0&&a.pctself(r,"width")>0){e.style.width="";g()}a.pctself(e,"width")==0&&c(k,n+m);a.pctself(r,"width")==0&&c(k+1,u-m);window.onresize()}var d=this,b=d.getColumn,l=a.getElement(s);if(l)if(!d.resizeInitialized){var t= | "paddingTop"),w=a.pxself(t.rows[t.rows.length-1].childNodes[0],"paddingBottom");new a.SizeHandle(a,"h",u.offsetWidth,t.offsetHeight-v-w,n,r,"Wt-hsh",function(B){q(e,k,B)},u,l,m,0,-e.offsetTop+v-a.pxself(e,"paddingTop"))}function j(e,k,m){var n=e.parentNode.previousSibling;e=e.parentNode.nextSibling;var r=n.offsetHeight,u=e.offsetHeight;if(i.stretch[k]>0&&i.stretch[k+1]>0)i.stretch[k]=-1;if(i.stretch[k+1]==0)i.stretch[k+1]=-1;i.stretch[k]<=0&&d.adjustRow(n,r+m);i.stretch[k+1]<=0&&d.adjustRow(e,u-m); a.getElement(s).dirty=true;window.onresize()}function h(){var e,k=0;for(e=0;;++e){var m=c(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=c(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=c(k);var n=o(e,k),r=c(k+1),u=o(r,k+1);if(a.pctself(e,"width")>0&&a.pctself(r,"width")>0){e.style.width="";h()}a.pctself(e,"width")==0&&b(k,n+m);a.pctself(r,"width")==0&&b(k+1,u-m);window.onresize()}var d=this,c=d.getColumn,l=a.getElement(s);if(l)if(!d.resizeInitialized){var t= | "paddingTop"),w=a.pxself(t.rows[t.rows.length-1].childNodes[0],"paddingBottom");new a.SizeHandle(a,"h",u.offsetWidth,t.offsetHeight-v-w,n,r,"Wt-hsh",function(B){q(e,k,B)},u,l,m,0,-e.offsetTop+v-a.pxself(e,"paddingTop"))}function j(e,k,m){var n=e.parentNode.previousSibling;e=e.parentNode.nextSibling;var r=n.offsetHeight,u=e.offsetHeight;if(h.stretch[k]>0&&h.stretch[k+1]>0)h.stretch[k]=-1;if(h.stretch[k+1]==0)h.stretch[k+1]=-1;h.stretch[k]<=0&&d.adjustRow(n,r+m);h.stretch[k+1]<=0&&d.adjustRow(e,u-m);a.getElement(s).dirty=true;window.onresize()}function g(){var e,k=0;for(e=0;;++e){var m=b(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=b(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=b(k);var n=p(e,k),r=b(k+1),u=p(r,k+1);if(a.pctself(e,"width")>0&&a.pctself(r,"width")>0){e.style.width="";g()}a.pctself(e,"width")==0&&c(k,n+m);a.pctself(r,"width")==0&&c(k+1,u-m);window.onresize()}var d=this,b=d.getColumn,l=a.getElement(s);if(l)if(!d.resizeInitialized){var t= |
WT_DECLARE_WT_MEMBER(1,"WSpinBox",function(m,b,g,h,f){function i(a){if(a>h)a=h;else if(a<g)a=g;b.value=a}function j(){var a=Number(b.value);a+=f;i(a);b.onchange()}function k(){var a=Number(b.value);a-=f;i(a);b.onchange()}jQuery.data(b,"obj",this);var d=m.WT,e=null,l;this.update=function(a,c,n){g=a;h=c;f=n};this.mouseMove=function(a,c){if(e){a=d.pageCoordinates(c).y-e.y;c=l;c-=a*f;i(c)}else{a=d.widgetCoordinates(b,c);if(a.x>b.offsetWidth-16){c=b.offsetHeight/2;b.style.cursor=a.y>=c-1&&a.y<=c+1?"crosshair": | WT_DECLARE_WT_MEMBER(1,"WSpinBox",function(n,b,h,i,f){function j(a){if(a>i)a=i;else if(a<h)a=h;b.value=a}function k(){var a=Number(b.value);a+=f;j(a);b.onchange()}function l(){var a=Number(b.value);a-=f;j(a);b.onchange()}jQuery.data(b,"obj",this);var d=n.WT,g=$(b),e=null,m;this.update=function(a,c,o){h=a;i=c;f=o};this.mouseOut=function(){g.removeClass("Wt-spinbox-dn").removeClass("Wt-spinbox-up")};this.mouseMove=function(a,c){if(e){a=d.pageCoordinates(c).y-e.y;c=m;c-=a*f;j(c)}else{a=d.widgetCoordinates(b, | WT_DECLARE_WT_MEMBER(1,"WSpinBox",function(m,b,g,h,f){function i(a){if(a>h)a=h;else if(a<g)a=g;b.value=a}function j(){var a=Number(b.value);a+=f;i(a);b.onchange()}function k(){var a=Number(b.value);a-=f;i(a);b.onchange()}jQuery.data(b,"obj",this);var d=m.WT,e=null,l;this.update=function(a,c,n){g=a;h=c;f=n};this.mouseMove=function(a,c){if(e){a=d.pageCoordinates(c).y-e.y;c=l;c-=a*f;i(c)}else{a=d.widgetCoordinates(b,c);if(a.x>b.offsetWidth-16){c=b.offsetHeight/2;b.style.cursor=a.y>=c-1&&a.y<=c+1?"crosshair": |
"paddingTop"),w=a.pxself(t.rows[t.rows.length-1].childNodes[0],"paddingBottom");new a.SizeHandle(a,"h",u.offsetWidth,t.offsetHeight-v-w,n,r,"Wt-hsh",function(B){q(e,k,B)},u,l,m,0,-e.offsetTop+v-a.pxself(e,"paddingTop"))}function j(e,k,m){var n=e.parentNode.previousSibling;e=e.parentNode.nextSibling;var r=n.offsetHeight,u=e.offsetHeight;if(i.stretch[k]>0&&i.stretch[k+1]>0)i.stretch[k]=-1;if(i.stretch[k+1]==0)i.stretch[k+1]=-1;i.stretch[k]<=0&&d.adjustRow(n,r+m);i.stretch[k+1]<=0&&d.adjustRow(e,u-m); a.getElement(s).dirty=true;window.onresize()}function f(){var e,k=0;for(e=0;;++e){var m=b(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=b(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=b(k);var n=p(e,k),r=b(k+1),u=p(r,k+1);if(a.pctself(e,"width")>0&&a.pctself(r,"width")>0){e.style.width="";f()}a.pctself(e,"width")==0&&c(k,n+m);a.pctself(r,"width")==0&&c(k+1,u-m);window.onresize()}var d=this,b=d.getColumn,l=a.getElement(s);if(l)if(!d.resizeInitialized){var t= | "paddingTop"),w=a.pxself(t.rows[t.rows.length-1].childNodes[0],"paddingBottom");new a.SizeHandle(a,"h",u.offsetWidth,t.offsetHeight-v-w,n,r,"Wt-hsh",function(B){q(e,k,B)},u,l,m,0,-e.offsetTop+v-a.pxself(e,"paddingTop"))}function j(e,k,m){var n=e.parentNode.previousSibling;e=e.parentNode.nextSibling;var r=n.offsetHeight,u=e.offsetHeight;if(h.stretch[k]>0&&h.stretch[k+1]>0)h.stretch[k]=-1;if(h.stretch[k+1]==0)h.stretch[k+1]=-1;h.stretch[k]<=0&&d.adjustRow(n,r+m);h.stretch[k+1]<=0&&d.adjustRow(e,u-m); a.getElement(s).dirty=true;window.onresize()}function g(){var e,k=0;for(e=0;;++e){var m=b(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=b(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=b(k);var n=p(e,k),r=b(k+1),u=p(r,k+1);if(a.pctself(e,"width")>0&&a.pctself(r,"width")>0){e.style.width="";g()}a.pctself(e,"width")==0&&c(k,n+m);a.pctself(r,"width")==0&&c(k+1,u-m);window.onresize()}var d=this,b=d.getColumn,l=a.getElement(s);if(l)if(!d.resizeInitialized){var t= | "paddingTop"),w=a.pxself(t.rows[t.rows.length-1].childNodes[0],"paddingBottom");new a.SizeHandle(a,"h",u.offsetWidth,t.offsetHeight-v-w,n,r,"Wt-hsh",function(B){q(e,k,B)},u,l,m,0,-e.offsetTop+v-a.pxself(e,"paddingTop"))}function j(e,k,m){var n=e.parentNode.previousSibling;e=e.parentNode.nextSibling;var r=n.offsetHeight,u=e.offsetHeight;if(i.stretch[k]>0&&i.stretch[k+1]>0)i.stretch[k]=-1;if(i.stretch[k+1]==0)i.stretch[k+1]=-1;i.stretch[k]<=0&&d.adjustRow(n,r+m);i.stretch[k+1]<=0&&d.adjustRow(e,u-m);a.getElement(s).dirty=true;window.onresize()}function f(){var e,k=0;for(e=0;;++e){var m=b(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=b(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=b(k);var n=p(e,k),r=b(k+1),u=p(r,k+1);if(a.pctself(e,"width")>0&&a.pctself(r,"width")>0){e.style.width="";f()}a.pctself(e,"width")==0&&c(k,n+m);a.pctself(r,"width")==0&&c(k+1,u-m);window.onresize()}var d=this,b=d.getColumn,l=a.getElement(s);if(l)if(!d.resizeInitialized){var t= |
V.concat(v);V=[];if(K){clearTimeout(K);K=null}C=null;if(c>0)++R;else R=0;if(ca||v.length>0)if(c==1){c=Math.min(12E4,Math.exp(R)*500);S=setTimeout(function(){p()},c)}else p()}}function y(){C.abort();K=C=null;p()}function J(c,d,e,g){H&&c==H&&e.type=="mouseup"&&f(null);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!C){_$_$endif_$_();var h={},i=v.length;h.object=c;h.signal=d;h.event=e;h.feedback=g;v[i]=r(h,i);j();E();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function j(){if(C!=null&&K!=null){clearTimeout(K); C.abort();C=null}if(C==null)if(S==null)S=setTimeout(function(){p()},q.updateDelay);else if(R){clearTimeout(S);p()}}function o(c){Y=c;da._p_.comm.responseReceived(c)}function p(){S=null;if(q.isIEMobile)feedback=false;if(X){if(!ea){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;ea=true}}else{var c,d,e,g="&rand="+Math.round(Math.random(fa)*1E5);if(v.length>0){c=t();d=c.feedback?setTimeout(B,_$_INDICATOR_TIMEOUT_$_):null;e=false}else{c={result:"signal=poll"}; | V.concat(v);V=[];if(K){clearTimeout(K);K=null}C=null;if(c>0)++S;else S=0;if(ca||v.length>0)if(c==1){c=Math.min(12E4,Math.exp(S)*500);M=setTimeout(function(){p()},c)}else p()}}function y(){C.abort();K=C=null;p()}function J(c,d,e,g){H&&c==H&&e.type=="mouseup"&&f(null);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!C){_$_$endif_$_();var h={},i=v.length;h.object=c;h.signal=d;h.event=e;h.feedback=g;v[i]=r(h,i);j();E();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function j(){if(C!=null&&K!=null){clearTimeout(K); C.abort();C=null}if(C==null)if(M==null){M=setTimeout(function(){p()},q.updateDelay);da=(new Date).getTime()}else if(S){clearTimeout(M);p()}else if((new Date).getTime()-da>q.updateDelay){clearTimeout(M);p()}}function o(c){Y=c;ea._p_.comm.responseReceived(c)}function p(){M=null;if(q.isIEMobile)feedback=false;if(X){if(!fa){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;fa=true}}else{var c,d,e,g="&rand="+Math.round(Math.random(ga)*1E5);if(v.length> | V.concat(v);V=[];if(K){clearTimeout(K);K=null}C=null;if(c>0)++R;else R=0;if(ca||v.length>0)if(c==1){c=Math.min(12E4,Math.exp(R)*500);S=setTimeout(function(){p()},c)}else p()}}function y(){C.abort();K=C=null;p()}function J(c,d,e,g){H&&c==H&&e.type=="mouseup"&&f(null);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!C){_$_$endif_$_();var h={},i=v.length;h.object=c;h.signal=d;h.event=e;h.feedback=g;v[i]=r(h,i);j();E();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function j(){if(C!=null&&K!=null){clearTimeout(K);C.abort();C=null}if(C==null)if(S==null)S=setTimeout(function(){p()},q.updateDelay);else if(R){clearTimeout(S);p()}}function o(c){Y=c;da._p_.comm.responseReceived(c)}function p(){S=null;if(q.isIEMobile)feedback=false;if(X){if(!ea){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;ea=true}}else{var c,d,e,g="&rand="+Math.round(Math.random(fa)*1E5);if(v.length>0){c=t();d=c.feedback?setTimeout(B,_$_INDICATOR_TIMEOUT_$_):null;e=false}else{c={result:"signal=poll"}; |
e.signal="user";e.id=typeof c==="string"?c:c==k?"app":c.id;if(typeof d==="object"){e.name=d.name;e.object=d.eventObject;e.event=d.event}else{e.name=d;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;y[j]=g(e,j);q()}function J(c,d,e){var j=function(){var i=h.getElement(c);if(i){if(e)i.timer=setTimeout(i.tm,d);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},m=h.getElement(c); m.timer=setTimeout(j,d);m.tm=j}function K(c,d){setTimeout(function(){if(T[c]===true)d();else T[c]=d},20)}function M(c){if(T[c]!==true){typeof T[c]!=="undefined"&&T[c]();T[c]=true}}function N(c,d,e){function j(){var t=e===undefined?2:e;if(t>1)N(c,d,t-1);else{alert("Fatal error: failed loading "+c);z()}}var m=false;if(d!="")try{m=!eval("typeof "+d+" === 'undefined'")}catch(i){m=false}if(m)M(c);else{var p=document.createElement("script");p.setAttribute("src",c);p.onload=function(){M(c)};p.onerror=j; | fa,d,fa,-1);P=e?setTimeout(L,_$_SERVER_PUSH_TIMEOUT_$_):null}}}}function C(c,d){var e={},j=y.length;e.signal="user";e.id=typeof c==="string"?c:c==k?"app":c.id;if(typeof d==="object"){e.name=d.name;e.object=d.eventObject;e.event=d.event}else{e.name=d;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;y[j]=g(e,j);q()}function J(c,d,e){var j=function(){var i=h.getElement(c);if(i){if(e)i.timer= setTimeout(i.tm,d);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},m=h.getElement(c);m.timer=setTimeout(j,d);m.tm=j}function K(c,d){setTimeout(function(){if(T[c]===true)d();else T[c]=d},20)}function M(c){if(T[c]!==true){typeof T[c]!=="undefined"&&T[c]();T[c]=true}}function O(c,d,e){function j(){var t=e===undefined?2:e;if(t>1)O(c,d,t-1);else{alert("Fatal error: failed loading "+c);N()}}var m=false;if(d!="")try{m=!eval("typeof "+d+" === 'undefined'")}catch(i){m=false}if(m)M(c);else{var p=document.createElement("script"); | e.signal="user";e.id=typeof c==="string"?c:c==k?"app":c.id;if(typeof d==="object"){e.name=d.name;e.object=d.eventObject;e.event=d.event}else{e.name=d;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;y[j]=g(e,j);q()}function J(c,d,e){var j=function(){var i=h.getElement(c);if(i){if(e)i.timer=setTimeout(i.tm,d);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},m=h.getElement(c);m.timer=setTimeout(j,d);m.tm=j}function K(c,d){setTimeout(function(){if(T[c]===true)d();else T[c]=d},20)}function M(c){if(T[c]!==true){typeof T[c]!=="undefined"&&T[c]();T[c]=true}}function N(c,d,e){function j(){var t=e===undefined?2:e;if(t>1)N(c,d,t-1);else{alert("Fatal error: failed loading "+c);z()}}var m=false;if(d!="")try{m=!eval("typeof "+d+" === 'undefined'")}catch(i){m=false}if(m)M(c);else{var p=document.createElement("script");p.setAttribute("src",c);p.onload=function(){M(c)};p.onerror=j; |
g.toDateString():g;f.args[m-2]=g}f.feedback=true;z[j]=T(f,j);F()}function L(d,c,f){var j=function(){var g=o.getElement(d);if(g){if(f)g.timer=setTimeout(g.tm,c);else{g.timer=null;g.tm=null}g.onclick&&g.onclick()}},m=o.getElement(d);m.timer=setTimeout(j,c);m.tm=j}function E(d,c){setTimeout(function(){if(S[d]===true)c();else S[d]=c},20)}function N(d){if(S[d]!==true){typeof S[d]!=="undefined"&&S[d]();S[d]=true}}function l(d,c){var f=false;if(c!="")try{f=!eval("typeof "+c+" === 'undefined'")}catch(j){f= | this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,e){function j(n,J){var u,q,C;switch(n.nodeType){case 1:u=n.namespaceURI==null?document.createElement(n.nodeName):document.createElementNS(n.namespaceURI,n.nodeName);if(n.attributes&&n.attributes.length>0){q=0;for(C=n.attributes.length;q<C;)u.setAttribute(n.attributes[q].nodeName,n.getAttribute(n.attributes[q++].nodeName))}if(J&&n.childNodes.length>0){q=0;for(C=n.childNodes.length;q<C;){var w=j(n.childNodes[q++],J);w&&u.appendChild(w)}}return u; 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== | g.toDateString():g;f.args[m-2]=g}f.feedback=true;z[j]=T(f,j);F()}function L(d,c,f){var j=function(){var g=o.getElement(d);if(g){if(f)g.timer=setTimeout(g.tm,c);else{g.timer=null;g.tm=null}g.onclick&&g.onclick()}},m=o.getElement(d);m.timer=setTimeout(j,c);m.tm=j}function E(d,c){setTimeout(function(){if(S[d]===true)c();else S[d]=c},20)}function N(d){if(S[d]!==true){typeof S[d]!=="undefined"&&S[d]();S[d]=true}}function l(d,c){var f=false;if(c!="")try{f=!eval("typeof "+c+" === 'undefined'")}catch(j){f= |
O=f?setTimeout(x,_$_SERVER_PUSH_TIMEOUT_$_):null}}function M(d,c){var f={},j=z.length;f.signal="user";f.id=typeof d==="string"?d:d==_$_APP_CLASS_$_?"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 h=arguments[m];h=h===false?0:h===true?1:h.toDateString?h.toDateString():h;f.args[m-2]=h}f.feedback=true;z[j]=T(f,j);F()}function L(d,c,f){var j=function(){var h=o.getElement(d);if(h){if(f)h.timer= setTimeout(h.tm,c);else{h.timer=null;h.tm=null}h.onclick()}},m=o.getElement(d);m.timer=setTimeout(j,c);m.tm=j}function E(d,c){setTimeout(function(){if(S[d]===true)c();else S[d]=c},20)}function N(d){if(S[d]!==true){typeof S[d]!=="undefined"&&S[d]();S[d]=true}}function l(d,c){var f=false;if(c!="")try{f=!eval("typeof "+c+" === 'undefined'")}catch(j){f=false}if(f)N(d);else{var m=document.createElement("script");m.setAttribute("src",d);m.onload=function(){N(d)};m.onreadystatechange=function(){if(m.readyState== | O=f?setTimeout(x,_$_SERVER_PUSH_TIMEOUT_$_):null}}function M(d,c){var f={},j=z.length;f.signal="user";f.id=typeof d==="string"?d:d==_$_APP_CLASS_$_?"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 g=arguments[m];g=g===false?0:g===true?1:g.toDateString?g.toDateString():g;f.args[m-2]=g}f.feedback=true;z[j]=T(f,j);F()}function L(d,c,f){var j=function(){var g=o.getElement(d);if(g){if(f)g.timer= setTimeout(g.tm,c);else{g.timer=null;g.tm=null}g.onclick&&g.onclick()}},m=o.getElement(d);m.timer=setTimeout(j,c);m.tm=j}function E(d,c){setTimeout(function(){if(S[d]===true)c();else S[d]=c},20)}function N(d){if(S[d]!==true){typeof S[d]!=="undefined"&&S[d]();S[d]=true}}function l(d,c){var f=false;if(c!="")try{f=!eval("typeof "+c+" === 'undefined'")}catch(j){f=false}if(f)N(d);else{var m=document.createElement("script");m.setAttribute("src",d);m.onload=function(){N(d)};m.onreadystatechange=function(){if(m.readyState== | O=f?setTimeout(x,_$_SERVER_PUSH_TIMEOUT_$_):null}}function M(d,c){var f={},j=z.length;f.signal="user";f.id=typeof d==="string"?d:d==_$_APP_CLASS_$_?"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 h=arguments[m];h=h===false?0:h===true?1:h.toDateString?h.toDateString():h;f.args[m-2]=h}f.feedback=true;z[j]=T(f,j);F()}function L(d,c,f){var j=function(){var h=o.getElement(d);if(h){if(f)h.timer=setTimeout(h.tm,c);else{h.timer=null;h.tm=null}h.onclick()}},m=o.getElement(d);m.timer=setTimeout(j,c);m.tm=j}function E(d,c){setTimeout(function(){if(S[d]===true)c();else S[d]=c},20)}function N(d){if(S[d]!==true){typeof S[d]!=="undefined"&&S[d]();S[d]=true}}function l(d,c){var f=false;if(c!="")try{f=!eval("typeof "+c+" === 'undefined'")}catch(j){f=false}if(f)N(d);else{var m=document.createElement("script");m.setAttribute("src",d);m.onload=function(){N(d)};m.onreadystatechange=function(){if(m.readyState== |
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= 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]!==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 m=document.createElement("script");m.setAttribute("src",d);m.onload=function(){G(d)};m.onreadystatechange=function(){if(m.readyState=="complete"||m.readyState== | 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]!== |
V.concat(v);V=[];if(K){clearTimeout(K);K=null}C=null;if(c>0)++S;else S=0;if(ca||v.length>0)if(c==1){c=Math.min(12E4,Math.exp(S)*500);M=setTimeout(function(){q()},c)}else q()}}function y(){C.abort();K=C=null;q()}function I(c,d,e,g){J&&c==J&&e.type=="mouseup"&&f(null);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!C){_$_$endif_$_();var h={},i=v.length;h.object=c;h.signal=d;h.event=e;h.feedback=g;v[i]=r(h,i);j();E();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function j(){if(C!=null&&K!=null){clearTimeout(K); C.abort();C=null}if(C==null)if(M==null){M=setTimeout(function(){q()},p.updateDelay);da=(new Date).getTime()}else if(S){clearTimeout(M);q()}else if((new Date).getTime()-da>p.updateDelay){clearTimeout(M);q()}}function o(c){Y=c;ea._p_.comm.responseReceived(c)}function q(){M=null;if(p.isIEMobile)feedback=false;if(X){if(!fa){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;fa=true}}else{var c,d,e,g="&rand="+Math.round(Math.random(ga)*1E5);if(v.length> | function j(){if(C!=null&&K!=null){clearTimeout(K);C.abort();C=null}if(C==null)if(M==null){M=setTimeout(function(){q()},p.updateDelay);da=(new Date).getTime()}else if(S){clearTimeout(M);q()}else if((new Date).getTime()-da>p.updateDelay){clearTimeout(M);q()}}function o(c){Y=c;ea._p_.comm.responseReceived(c)}function q(){M=null;if(p.isIEMobile)feedback=false;if(X){if(!fa){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;fa=true}}else{var c,d,e,g="&rand="+ | V.concat(v);V=[];if(K){clearTimeout(K);K=null}C=null;if(c>0)++S;else S=0;if(ca||v.length>0)if(c==1){c=Math.min(12E4,Math.exp(S)*500);M=setTimeout(function(){q()},c)}else q()}}function y(){C.abort();K=C=null;q()}function I(c,d,e,g){J&&c==J&&e.type=="mouseup"&&f(null);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!C){_$_$endif_$_();var h={},i=v.length;h.object=c;h.signal=d;h.event=e;h.feedback=g;v[i]=r(h,i);j();E();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function j(){if(C!=null&&K!=null){clearTimeout(K);C.abort();C=null}if(C==null)if(M==null){M=setTimeout(function(){q()},p.updateDelay);da=(new Date).getTime()}else if(S){clearTimeout(M);q()}else if((new Date).getTime()-da>p.updateDelay){clearTimeout(M);q()}}function o(c){Y=c;ea._p_.comm.responseReceived(c)}function q(){M=null;if(p.isIEMobile)feedback=false;if(X){if(!fa){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;fa=true}}else{var c,d,e,g="&rand="+Math.round(Math.random(ga)*1E5);if(v.length> |
function c(){d=true;switch(b.readyState){case 0:a.aborted(b);break;case 4:b.status===200?a.complete(b):a.error(Xmla.Exception._newError("HTTP_ERROR","_ajax",a));break}}b.onreadystatechange=c;b.setRequestHeader("Content-Type","text/xml");b.send(a.data);!a.async&&!d&&c.call(b);return b}function j(a){return typeof a==="undefined"}function t(a){return typeof a==="function"}function N(a){return typeof a==="string"}function O(a){return typeof a==="number"}function P(a){return typeof a==="object"}function C(a){return a.replace(/\&/g, | a.error(Xmla.Exception._newError("HTTP_ERROR","_ajax",a));break}}b=K?new ActiveXObject("MSXML2.XMLHTTP.3.0"):new XMLHttpRequest;b.open("POST",a.url,a.async);b.onreadystatechange=c;b.setRequestHeader("Content-Type","text/xml");b.send(a.data);!a.async&&!d&&c.call(b);return b}function j(a){return typeof a==="undefined"}function M(a){return typeof a==="function"}function N(a){return typeof a==="string"}function O(a){return typeof a==="number"}function P(a){return typeof a==="object"}function B(a){return a.replace(/\&/g, | function c(){d=true;switch(b.readyState){case 0:a.aborted(b);break;case 4:b.status===200?a.complete(b):a.error(Xmla.Exception._newError("HTTP_ERROR","_ajax",a));break}}b.onreadystatechange=c;b.setRequestHeader("Content-Type","text/xml");b.send(a.data);!a.async&&!d&&c.call(b);return b}function j(a){return typeof a==="undefined"}function t(a){return typeof a==="function"}function N(a){return typeof a==="string"}function O(a){return typeof a==="number"}function P(a){return typeof a==="object"}function C(a){return a.replace(/\&/g, |
$.jQRTE.element=element | $.jQRTE.element=element; | },jqp_o:function(id,element,btn_id){$.jQRTE.boxy[id]=id;$("#"+id).jqpopup_open(element+"_"+btn_id+"_btn");$.jQRTE.element=element},jqp_c:function(){$.each($.jQRTE.boxy,function(){$("#"+this).jqpopup_close() |
this.clientVersion = [0,7,6]; | this.clientVersion = [0,7,7]; | function jsonrpcClient() { this.requestId = 1; this.callbacks = {}; //TODO: does FF JS engine leak memory if I use high indexed, mostly empty arrays? this.syncRequestResults = {}; // ditto this.partialData = {}; //this.syncRequestComplete = false; this.parsingStringContents = false; this.tokenCurlyCount = 0; this.tokenSquareCount = 0; this.adjacentBackslashCount = 0; this.clientVersion = [0,7,6]; //this.syncFixupTimer = null;} |
this.adjacentBackslashCount = 0; | function jsonrpcClient() { this.requestId = 1; this.callbacks = {}; //TODO: does FF JS engine leak memory if I use high indexed, mostly empty arrays? this.syncRequestResults = {}; // ditto this.partialData = {}; //this.syncRequestComplete = false; this.parsingStringContents = false; this.tokenCurlyCount = 0; this.tokenSquareCount = 0; this.clientVersion = [0,7,6];} |
|
this.clientVersion = [0,8,3]; | this.clientVersion = [0,8,4]; | function jsonrpcClient() { this.requestId = 1; this.callbacks = {}; //TODO: does FF JS engine leak memory if I use high indexed, mostly empty arrays? this.callbacksData = {}; // ditto this.syncRequestResults = {}; // ditto this.partialData = {}; this.parsingStringContents = false; this.tokenCurlyCount = 0; this.tokenSquareCount = 0; this.adjacentBackslashCount = 0; this.clientVersion = [0,8,3];} |
WT_DECLARE_WT_MEMBER(1,"WDialog",function(j,b){function k(a){a=c.pageCoordinates(a||window.event);h=true;b.style.left=c.pxself(b,"left")+a.x-f+"px";b.style.top=c.pxself(b,"top")+a.y-g+"px";f=a.x;g=a.y}jQuery.data(b,"obj",this);var d=$(b).find(".titlebar").first().get(0),c=j.WT,f,g,h=false;d.onmousedown=function(a){a=a||window.event;c.capture(d);a=c.pageCoordinates(a);f=a.x;g=a.y;d.onmousemove=k};d.onmouseup=function(){d.onmousemove=null;c.capture(null)};this.centerDialog=function(){if(b.parentNode== | WT_DECLARE_WT_MEMBER(1,"WDialog",function(j,b){function k(a){a=c.pageCoordinates(a||window.event);h=true;b.style.left=c.pxself(b,"left")+a.x-f+"px";b.style.top=c.pxself(b,"top")+a.y-g+"px";f=a.x;g=a.y}jQuery.data(b,"obj",this);var d=$(b).find(".titlebar").first().get(0),c=j.WT,f,g,h=false;if(d){d.onmousedown=function(a){a=a||window.event;c.capture(d);a=c.pageCoordinates(a);f=a.x;g=a.y;d.onmousemove=k};d.onmouseup=function(){d.onmousemove=null;c.capture(null)}}this.centerDialog=function(){if(b.parentNode== | WT_DECLARE_WT_MEMBER(1,"WDialog",function(j,b){function k(a){a=c.pageCoordinates(a||window.event);h=true;b.style.left=c.pxself(b,"left")+a.x-f+"px";b.style.top=c.pxself(b,"top")+a.y-g+"px";f=a.x;g=a.y}jQuery.data(b,"obj",this);var d=$(b).find(".titlebar").first().get(0),c=j.WT,f,g,h=false;d.onmousedown=function(a){a=a||window.event;c.capture(d);a=c.pageCoordinates(a);f=a.x;g=a.y;d.onmousemove=k};d.onmouseup=function(){d.onmousemove=null;c.capture(null)};this.centerDialog=function(){if(b.parentNode== |
WT_DECLARE_WT_MEMBER(1,"WDialog",function(g,b){function k(a){a=c.pageCoordinates(a||window.event);j=true;b.style.left=c.pxself(b,"left")+a.x-h+"px";b.style.top=c.pxself(b,"top")+a.y-i+"px";h=a.x;i=a.y}jQuery.data(b,"obj",this);var l=this,e=$(b).find(".titlebar").first().get(0),c=g.WT,h,i,j=false;if(e){e.onmousedown=function(a){a=a||window.event;c.capture(e);a=c.pageCoordinates(a);h=a.x;i=a.y;e.onmousemove=k};e.onmouseup=function(){e.onmousemove=null;c.capture(null)}}this.centerDialog=function(){if(b.parentNode== | WT_DECLARE_WT_MEMBER(1,"WDialog",function(g,b){function k(a){var c=a||window.event;a=d.pageCoordinates(c);c=d.windowCoordinates(c);var e=d.windowSize();if(c.x>0&&c.x<e.x&&c.y>0&&c.y<e.y){j=true;b.style.left=d.pxself(b,"left")+a.x-h+"px";b.style.top=d.pxself(b,"top")+a.y-i+"px";h=a.x;i=a.y}}jQuery.data(b,"obj",this);var l=this,f=$(b).find(".titlebar").first().get(0),d=g.WT,h,i,j=false;if(f){f.onmousedown=function(a){a=a||window.event;d.capture(f);a=d.pageCoordinates(a);h=a.x;i=a.y;f.onmousemove=k}; | WT_DECLARE_WT_MEMBER(1,"WDialog",function(g,b){function k(a){a=c.pageCoordinates(a||window.event);j=true;b.style.left=c.pxself(b,"left")+a.x-h+"px";b.style.top=c.pxself(b,"top")+a.y-i+"px";h=a.x;i=a.y}jQuery.data(b,"obj",this);var l=this,e=$(b).find(".titlebar").first().get(0),c=g.WT,h,i,j=false;if(e){e.onmousedown=function(a){a=a||window.event;c.capture(e);a=c.pageCoordinates(a);h=a.x;i=a.y;e.onmousemove=k};e.onmouseup=function(){e.onmousemove=null;c.capture(null)}}this.centerDialog=function(){if(b.parentNode== |
e)return h.offsetWidth;q+=h.colSpan}}return 0}}function k(c,e){var h=a.getElement(t).firstChild;n(c).style.width=e+"px";var i,q,s,v;q=i=0;for(s=h.rows.length;i<s;i++){v=h.rows[i];if(v.className!="Wt-hrh"){var w,B,D,F;D=B=0;for(F=v.childNodes.length;B<F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D==c&&w.childNodes.length==1){v=w.firstChild;w=e-r.marginH(v);v.style.width=w+"px";break}D+=w.colSpan}}++q}}}function l(c,e,h){var i=c.firstChild;new a.SizeHandle(a,"v",i.offsetHeight, | f,j){var l=c.parentNode.previousSibling;c=c.parentNode.nextSibling;var q=l.offsetHeight,s=c.offsetHeight;if(i.stretch[f]>0&&i.stretch[f+1]>0)i.stretch[f]=-1;if(i.stretch[f+1]==0)i.stretch[f+1]=-1;i.stretch[f]<=0&&r.adjustRow(l,q+j);i.stretch[f+1]<=0&&r.adjustRow(c,s-j);a.getElement(t).dirty=true;window.onresize()}function k(){var c,f=0;for(c=0;;++c){var j=o(c);if(j)f+=a.pctself(j,"width");else break}if(f!=0)for(c=0;;++c)if(j=o(c)){var l=a.pctself(j,"width");if(l)j.style.width=l*100/f+"%"}else break} | e)return h.offsetWidth;q+=h.colSpan}}return 0}}function k(c,e){var h=a.getElement(t).firstChild;n(c).style.width=e+"px";var i,q,s,v;q=i=0;for(s=h.rows.length;i<s;i++){v=h.rows[i];if(v.className!="Wt-hrh"){var w,B,D,F;D=B=0;for(F=v.childNodes.length;B<F;++B){w=v.childNodes[B];if(w.className!="Wt-vrh"){if(w.colSpan==1&&D==c&&w.childNodes.length==1){v=w.firstChild;w=e-r.marginH(v);v.style.width=w+"px";break}D+=w.colSpan}}++q}}}function l(c,e,h){var i=c.firstChild;new a.SizeHandle(a,"v",i.offsetHeight, |
-1&&navigator.userAgent.toLowerCase().indexOf("opera")==-1)&&navigator.userAgent.toLowerCase().indexOf("msie 6")!=-1;this.isGecko=navigator.userAgent.toLowerCase().indexOf("gecko")!=-1;this.isIEMobile=navigator.userAgent.toLowerCase().indexOf("msie 4")!=-1||navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1;this.isOpera=typeof window.opera!=="undefined";this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,f){function k(o,E){var u,s,z;switch(o.nodeType){case 1:u=o.namespaceURI==null?document.createElement(o.nodeName): document.createElementNS(o.namespaceURI,o.nodeName);if(o.attributes&&o.attributes.length>0){s=0;for(z=o.attributes.length;s<z;)u.setAttribute(o.attributes[s].nodeName,o.getAttribute(o.attributes[s++].nodeName))}if(E&&o.childNodes.length>0){s=0;for(z=o.childNodes.length;s<z;){var x=k(o.childNodes[s++],E);x&&u.appendChild(x)}}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 h;h=new DOMParser; | -1&&navigator.userAgent.toLowerCase().indexOf("opera")==-1)&&navigator.userAgent.toLowerCase().indexOf("msie 6")!=-1;this.isGecko=navigator.userAgent.toLowerCase().indexOf("gecko")!=-1;this.isIEMobile=navigator.userAgent.toLowerCase().indexOf("msie 4")!=-1||navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1;this.isOpera=typeof window.opera!=="undefined";this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,f){function k(o,E){var v,s,z;switch(o.nodeType){case 1:v=o.namespaceURI==null?document.createElement(o.nodeName): document.createElementNS(o.namespaceURI,o.nodeName);if(o.attributes&&o.attributes.length>0){s=0;for(z=o.attributes.length;s<z;)v.setAttribute(o.attributes[s].nodeName,o.getAttribute(o.attributes[s++].nodeName))}if(E&&o.childNodes.length>0){s=0;for(z=o.childNodes.length;s<z;){var y=k(o.childNodes[s++],E);y&&v.appendChild(y)}}return v;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 h;h=new DOMParser; | -1&&navigator.userAgent.toLowerCase().indexOf("opera")==-1)&&navigator.userAgent.toLowerCase().indexOf("msie 6")!=-1;this.isGecko=navigator.userAgent.toLowerCase().indexOf("gecko")!=-1;this.isIEMobile=navigator.userAgent.toLowerCase().indexOf("msie 4")!=-1||navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1;this.isOpera=typeof window.opera!=="undefined";this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,f){function k(o,E){var u,s,z;switch(o.nodeType){case 1:u=o.namespaceURI==null?document.createElement(o.nodeName):document.createElementNS(o.namespaceURI,o.nodeName);if(o.attributes&&o.attributes.length>0){s=0;for(z=o.attributes.length;s<z;)u.setAttribute(o.attributes[s].nodeName,o.getAttribute(o.attributes[s++].nodeName))}if(E&&o.childNodes.length>0){s=0;for(z=o.childNodes.length;s<z;){var x=k(o.childNodes[s++],E);x&&u.appendChild(x)}}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 h;h=new DOMParser; |
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= | 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= |
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= | 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= |
h.offsetWidth,-c.parentNode.previousSibling.offsetHeight,c.parentNode.nextSibling.offsetHeight,"Wt-vsh",function(o){m(c,f,o)},h,l,g,0,0)}function k(c,f,g){var h=-c.previousSibling.offsetWidth,o=c.nextSibling.offsetWidth,q=c.firstChild,v=a.pxself(t.rows[0].childNodes[0],"paddingTop"),w=a.pxself(t.rows[t.rows.length-1].childNodes[0],"paddingBottom");new a.SizeHandle(a,"h",q.offsetWidth,t.offsetHeight-v-w,h,o,"Wt-hsh",function(B){e(c,f,B)},q,l,g,0,-c.offsetTop+v-a.pxself(c,"paddingTop"))}function m(c, | f)return g.offsetWidth;q+=g.colSpan}}return 0}}function k(c,f){var g=a.getElement(u).firstChild;t(c).style.width=f+"px";var j,q,s,w;q=j=0;for(s=g.rows.length;j<s;j++){w=g.rows[j];if(w.className!="Wt-hrh"){var x,C,E,G;E=C=0;for(G=w.childNodes.length;C<G;++C){x=w.childNodes[C];if(x.className!="Wt-vrh"){if(x.colSpan==1&&E==c&&x.childNodes.length==1){w=x.firstChild;x=f-r.marginH(w);w.style.width=x+"px";break}E+=x.colSpan}}++q}}}function l(c,f,g){var j=c.firstChild;new a.SizeHandle(a,"v",j.offsetHeight, | h.offsetWidth,-c.parentNode.previousSibling.offsetHeight,c.parentNode.nextSibling.offsetHeight,"Wt-vsh",function(o){m(c,f,o)},h,l,g,0,0)}function k(c,f,g){var h=-c.previousSibling.offsetWidth,o=c.nextSibling.offsetWidth,q=c.firstChild,v=a.pxself(t.rows[0].childNodes[0],"paddingTop"),w=a.pxself(t.rows[t.rows.length-1].childNodes[0],"paddingBottom");new a.SizeHandle(a,"h",q.offsetWidth,t.offsetHeight-v-w,h,o,"Wt-hsh",function(B){e(c,f,B)},q,l,g,0,-c.offsetTop+v-a.pxself(c,"paddingTop"))}function m(c, |
this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,e){function k(n,K){var u,q,D;switch(n.nodeType){case 1:u=n.namespaceURI==null?document.createElement(n.nodeName):document.createElementNS(n.namespaceURI,n.nodeName);if(n.attributes&&n.attributes.length>0){q=0;for(D=n.attributes.length;q<D;)u.setAttribute(n.attributes[q].nodeName,n.getAttribute(n.attributes[q++].nodeName))}if(K&&n.childNodes.length>0){q=0;for(D=n.childNodes.length;q<D;){var x=k(n.childNodes[q++],K);x&&u.appendChild(x)}}return u; 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== | N=f?setTimeout(w,_$_SERVER_PUSH_TIMEOUT_$_):null}}function L(d,c){var f={},k=y.length;f.signal="user";f.id=typeof d==="string"?d:d==_$_APP_CLASS_$_?"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 h=2;h<arguments.length;++h){var m=arguments[h];m=m===false?0:m===true?1:m.toDateString?m.toDateString():m;f.args[h-2]=m}f.feedback=true;y[k]=S(f,k);E()}function K(d,c,f){var k=function(){var m=o.getElement(d);if(m){if(f)m.timer= setTimeout(m.tm,c);else{m.timer=null;m.tm=null}m.onclick&&m.onclick()}},h=o.getElement(d);h.timer=setTimeout(k,c);h.tm=k}function D(d,c){setTimeout(function(){if(R[d]===true)c();else R[d]=c},20)}function M(d){if(R[d]!==true){typeof R[d]!=="undefined"&&R[d]();R[d]=true}}function l(d,c){var f=false;if(c!="")try{f=!eval("typeof "+c+" === 'undefined'")}catch(k){f=false}if(f)M(d);else{var h=document.createElement("script");h.setAttribute("src",d);h.onload=function(){M(d)};h.onreadystatechange=function(){if(h.readyState== | this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,e){function k(n,K){var u,q,D;switch(n.nodeType){case 1:u=n.namespaceURI==null?document.createElement(n.nodeName):document.createElementNS(n.namespaceURI,n.nodeName);if(n.attributes&&n.attributes.length>0){q=0;for(D=n.attributes.length;q<D;)u.setAttribute(n.attributes[q].nodeName,n.getAttribute(n.attributes[q++].nodeName))}if(K&&n.childNodes.length>0){q=0;for(D=n.childNodes.length;q<D;){var x=k(n.childNodes[q++],K);x&&u.appendChild(x)}}return u;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== |
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!= | N=f?setTimeout(w,_$_SERVER_PUSH_TIMEOUT_$_):null}}function L(d,c){var f={},k=y.length;f.signal="user";f.id=typeof d==="string"?d:d==_$_APP_CLASS_$_?"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 h=2;h<arguments.length;++h){var m=arguments[h];m=m===false?0:m===true?1:m.toDateString?m.toDateString():m;f.args[h-2]=m}f.feedback=true;y[k]=S(f,k);E()}function K(d,c,f){var k=function(){var m=o.getElement(d);if(m){if(f)m.timer= setTimeout(m.tm,c);else{m.timer=null;m.tm=null}m.onclick&&m.onclick()}},h=o.getElement(d);h.timer=setTimeout(k,c);h.tm=k}function D(d,c){setTimeout(function(){if(R[d]===true)c();else R[d]=c},20)}function M(d){if(R[d]!==true){typeof R[d]!=="undefined"&&R[d]();R[d]=true}}function l(d,c){var f=false;if(c!="")try{f=!eval("typeof "+c+" === 'undefined'")}catch(k){f=false}if(f)M(d);else{var h=document.createElement("script");h.setAttribute("src",d);h.onload=function(){M(d)};h.onreadystatechange=function(){if(h.readyState== | 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!= |
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== | this.updateDelay=this.isIE?10:51;this.setHtml=function(a,b,e){function k(n,K){var u,q,D;switch(n.nodeType){case 1:u=n.namespaceURI==null?document.createElement(n.nodeName):document.createElementNS(n.namespaceURI,n.nodeName);if(n.attributes&&n.attributes.length>0){q=0;for(D=n.attributes.length;q<D;)u.setAttribute(n.attributes[q].nodeName,n.getAttribute(n.attributes[q++].nodeName))}if(K&&n.childNodes.length>0){q=0;for(D=n.childNodes.length;q<D;){var x=k(n.childNodes[q++],K);x&&u.appendChild(x)}}return u;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== |
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, | 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)}} | 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, |
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, | 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= {position:e.object.style.position,display:e.object.style.display,left:e.object.style.left,top:e.object.style.top,className:e.object.className};e.object.parentNode.removeChild(e.object);e.object.style.position="absolute";e.object.className="";document.body.appendChild(e.object);g.capture(e.object);e.object.onmousemove=U;e.object.onmouseup=D;e.offsetX=-4;e.offsetY=-4;e.dropTarget=null;e.mimeType=d.getAttribute("dmt");e.xy=g.pageCoordinates(c);g.cancelEvent(c);return false}function U(d){if(J.object!= | 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, |
L=null}J=null;if(d>0)++U;else U=0;if(ea||x.length>0)if(d==1){d=Math.min(12E4,Math.exp(U)*500);N=setTimeout(function(){A()},d)}else A()}}function K(){J.abort();L=J=null;A()}function H(d,c,e,h){n.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var i={},j=x.length;i.object=d;i.signal=c;i.event=e;i.feedback=h;x[j]=b(i,j);E();C();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function E(){if(J!=null&&L!=null){clearTimeout(L);J.abort();J=null}if(J==null)if(N== | 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= | L=null}J=null;if(d>0)++U;else U=0;if(ea||x.length>0)if(d==1){d=Math.min(12E4,Math.exp(U)*500);N=setTimeout(function(){A()},d)}else A()}}function K(){J.abort();L=J=null;A()}function H(d,c,e,h){n.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var i={},j=x.length;i.object=d;i.signal=c;i.event=e;i.feedback=h;x[j]=b(i,j);E();C();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function E(){if(J!=null&&L!=null){clearTimeout(L);J.abort();J=null}if(J==null)if(N== |
WT_DECLARE_WT_MEMBER(1,"WDialog",function(g,b){function k(a){var c=a||window.event;a=d.pageCoordinates(c);c=d.windowCoordinates(c);var e=d.windowSize();if(c.x>0&&c.x<e.x&&c.y>0&&c.y<e.y){j=true;b.style.left=d.pxself(b,"left")+a.x-h+"px";b.style.top=d.pxself(b,"top")+a.y-i+"px";h=a.x;i=a.y}}jQuery.data(b,"obj",this);var l=this,f=$(b).find(".titlebar").first().get(0),d=g.WT,h,i,j=false;if(f){f.onmousedown=function(a){a=a||window.event;d.capture(f);a=d.pageCoordinates(a);h=a.x;i=a.y;f.onmousemove=k}; | WT_DECLARE_WT_MEMBER(1,"WDialog",function(g,b){function k(a){var c=a||window.event;a=d.pageCoordinates(c);c=d.windowCoordinates(c);var e=d.windowSize();if(c.x>0&&c.x<e.x&&c.y>0&&c.y<e.y){h=true;b.style.left=d.pxself(b,"left")+a.x-i+"px";b.style.top=d.pxself(b,"top")+a.y-j+"px";i=a.x;j=a.y}}jQuery.data(b,"obj",this);var l=this,f=$(b).find(".titlebar").first().get(0),d=g.WT,i,j,h=false;if(b.style.left!=""||b.style.top!="")h=true;if(f){f.onmousedown=function(a){a=a||window.event;d.capture(f);a=d.pageCoordinates(a); | WT_DECLARE_WT_MEMBER(1,"WDialog",function(g,b){function k(a){var c=a||window.event;a=d.pageCoordinates(c);c=d.windowCoordinates(c);var e=d.windowSize();if(c.x>0&&c.x<e.x&&c.y>0&&c.y<e.y){j=true;b.style.left=d.pxself(b,"left")+a.x-h+"px";b.style.top=d.pxself(b,"top")+a.y-i+"px";h=a.x;i=a.y}}jQuery.data(b,"obj",this);var l=this,f=$(b).find(".titlebar").first().get(0),d=g.WT,h,i,j=false;if(f){f.onmousedown=function(a){a=a||window.event;d.capture(f);a=d.pageCoordinates(a);h=a.x;i=a.y;f.onmousemove=k}; |
q.push(u);}q.sort(l);}s&&s();});};m.ui.addRichCombo('Styles',{label:o.label,title:o.panelTitle,className:'cke_styles',panel:{css:m.skin.editor.css.concat(n.contentsCss),multiSelect:true,attributes:{'aria-label':o.panelTitle}},init:function(){var s=this;r(function(){var t,u,v;for(var w=0;w<q.length;w++){t=q[w];u=t._name;var x=t.type;if(x!=v){s.startGroup(o['panelTitle'+String(x)]);v=x;}s.add(u,t.type==3?u:t.buildPreview(),u);}s.commit();s.onOpen();});},onClick:function(s){m.focus();m.fire('saveSnapshot');var t=p[s],u=m.getSelection(),v=new d.elementPath(u.getStartElement());if(t.type==2&&t.checkActive(v))t.remove(m.document);else t.apply(m.document);m.fire('saveSnapshot');},onRender:function(){m.on('selectionChange',function(s){var t=this.getValue(),u=s.data.path,v=u.elements;for(var w=0,x;w<v.length;w++){x=v[w];for(var y in p){if(p[y].checkElementRemovable(x,true)){if(y!=t)this.setValue(y);return;}}}this.setValue('');},this);},onOpen:function(){var z=this;if(c||b.webkit)m.focus();var s=m.getSelection(),t=s.getSelectedElement(),u=new d.elementPath(t||s.getStartElement()),v=[0,0,0,0];z.showAll();z.unmarkAll();for(var w in p){var x=p[w],y=x.type;if(x.checkActive(u))z.mark(w);else if(y==3&&!x.checkApplicable(u)){z.hideItem(w);v[y]--;}v[y]++;}if(!v[1])z.hideGroup(o['panelTitle'+String(1)]);if(!v[2])z.hideGroup(o['panelTitle'+String(2)]);if(!v[3])z.hideGroup(o['panelTitle'+String(3)]);}});m.on('instanceReady',function(){r();});}});function l(m,n){var o=m.type,p=n.type;return o==p?0:o==3?-1:p==3?1:p==1?1:-1;};})();j.add('table',{init:function(l){var m=j.table,n=l.lang.table;l.addCommand('table',new a.dialogCommand('table'));l.addCommand('tableProperties',new a.dialogCommand('tableProperties'));l.ui.addButton('Table',{label:n.toolbar,command:'table'});a.dialog.add('table',this.path+'dialogs/table.js');a.dialog.add('tableProperties',this.path+'dialogs/table.js');if(l.addMenuItems)l.addMenuItems({table:{label:n.menu,command:'tableProperties',group:'table',order:5},tabledelete:{label:n.deleteTable,command:'tableDelete',group:'table',order:1}});if(l.contextMenu)l.contextMenu.addListener(function(o,p){if(!o)return null;var q=o.is('table')||o.hasAscendant('table');if(q)return{tabledelete:2,table:2};return null;});}});(function(){function l(F,G){if(c)F.removeAttribute(G);else delete F[G];};var m=/^(?:td|th)$/;function n(F){var G=F.createBookmarks(),H=F.getRanges(),I=[],J={};function K(S){if(I.length>0)return;if(S.type==1&&m.test(S.getName())&&!S.getCustomData('selected_cell')){h.setMarker(J,S,'selected_cell',true); I.push(S);}};for(var L=0;L<H.length;L++){var M=H[L];if(M.collapsed){var N=M.getCommonAncestor(),O=N.getAscendant('td',true)||N.getAscendant('th',true);if(O)I.push(O);}else{var P=new d.walker(M),Q;P.guard=K;while(Q=P.next()){var R=Q.getParent();if(R&&m.test(R.getName())&&!R.getCustomData('selected_cell')){h.setMarker(J,R,'selected_cell',true);I.push(R);}}}}h.clearAllMarkers(J);F.selectBookmarks(G);return I;};function o(F){var G=0,H=F.length-1,I={},J,K,L;while(J=F[G++])h.setMarker(I,J,'delete_cell',true);G=0;while(J=F[G++]){if((K=J.getPrevious())&&!K.getCustomData('delete_cell')||(K=J.getNext())&&!K.getCustomData('delete_cell')){h.clearAllMarkers(I);return K;}}h.clearAllMarkers(I);L=F[0].getParent();if(L=L.getPrevious())return L.getLast();L=F[H].getParent();if(L=L.getNext())return L.getChild(0);return null;};function p(F){var G=F.cells;for(var H=0;H<G.length;H++){G[H].innerHTML='';if(!c)new h(G[H]).appendBogus();}};function q(F,G){var H=F.getStartElement().getAscendant('tr');if(!H)return;var I=H.clone(true);I.insertBefore(H);p(G?I.$:H.$);};function r(F){if(F instanceof d.selection){var G=n(F),H=G.length,I=[],J,K,L;for(var M=0;M<H;M++){var N=G[M].getParent(),O=N.$.rowIndex;!M&&(K=O-1);I[O]=N;M==H-1&&(L=O+1);}var P=N.getAscendant('table'),Q=P.$.rows,R=Q.length;J=new h(L<R&&P.$.rows[L]||K>0&&P.$.rows[K]||P.$.parentNode);for(M=I.length;M>=0;M--){if(I[M])r(I[M]);}return J;}else if(F instanceof h){P=F.getAscendant('table');if(P.$.rows.length==1)P.remove();else F.remove();}return 0;};function s(F,G){var H=F.getStartElement(),I=H.getAscendant('td',true)||H.getAscendant('th',true);if(!I)return;var J=I.getAscendant('table'),K=I.$.cellIndex;for(var L=0;L<J.$.rows.length;L++){var M=J.$.rows[L];if(M.cells.length<K+1)continue;I=new h(M.cells[K].cloneNode(false));if(!c)I.appendBogus();var N=new h(M.cells[K]);if(G)I.insertBefore(N);else I.insertAfter(N);}};function t(F){if(F instanceof d.selection){var G=n(F);for(var H=G.length;H>=0;H--){if(G[H])t(G[H]);}}else if(F instanceof h){var I=F.getAscendant('table'),J=F.$.cellIndex;for(H=I.$.rows.length-1;H>=0;H--){var K=new h(I.$.rows[H]);if(!J&&K.$.cells.length==1){r(K);continue;}if(K.$.cells[J])K.$.removeChild(K.$.cells[J]);}}};function u(F,G){var H=F.getStartElement(),I=H.getAscendant('td',true)||H.getAscendant('th',true);if(!I)return;var J=I.clone();if(!c)J.appendBogus();if(G)J.insertBefore(I);else J.insertAfter(I);};function v(F){if(F instanceof d.selection){var G=n(F),H=G[0]&&G[0].getAscendant('table'),I=o(G);for(var J=G.length-1; | z.showAll();z.unmarkAll();for(var w in p){var x=p[w],y=x.type;if(x.checkActive(u))z.mark(w);else if(y==3&&!x.checkApplicable(u)){z.hideItem(w);v[y]--;}v[y]++;}if(!v[1])z.hideGroup(o['panelTitle'+String(1)]);if(!v[2])z.hideGroup(o['panelTitle'+String(2)]);if(!v[3])z.hideGroup(o['panelTitle'+String(3)]);}});m.on('instanceReady',function(){r();});}});function l(m,n){var o=m.type,p=n.type;return o==p?0:o==3?-1:p==3?1:p==1?1:-1;};})();j.add('table',{init:function(l){var m=j.table,n=l.lang.table;l.addCommand('table',new a.dialogCommand('table'));l.addCommand('tableProperties',new a.dialogCommand('tableProperties'));l.ui.addButton('Table',{label:n.toolbar,command:'table'});a.dialog.add('table',this.path+'dialogs/table.js');a.dialog.add('tableProperties',this.path+'dialogs/table.js');if(l.addMenuItems)l.addMenuItems({table:{label:n.menu,command:'tableProperties',group:'table',order:5},tabledelete:{label:n.deleteTable,command:'tableDelete',group:'table',order:1}});l.on('doubleclick',function(o){var p=o.data.element;if(p.is('table'))o.data.dialog='tableProperties';});if(l.contextMenu)l.contextMenu.addListener(function(o,p){if(!o||o.isReadOnly())return null;var q=o.is('table')||o.hasAscendant('table');if(q)return{tabledelete:2,table:2};return null;});}});(function(){function l(F,G){if(c)F.removeAttribute(G);else delete F[G];};var m=/^(?:td|th)$/;function n(F){var G=F.createBookmarks(),H=F.getRanges(),I=[],J={};function K(S){if(I.length>0)return;if(S.type==1&&m.test(S.getName())&&!S.getCustomData('selected_cell')){h.setMarker(J,S,'selected_cell',true);I.push(S);}};for(var L=0;L<H.length;L++){var M=H[L];if(M.collapsed){var N=M.getCommonAncestor(),O=N.getAscendant('td',true)||N.getAscendant('th',true);if(O)I.push(O);}else{var P=new d.walker(M),Q;P.guard=K;while(Q=P.next()){var R=Q.getParent();if(R&&m.test(R.getName())&&!R.getCustomData('selected_cell')){h.setMarker(J,R,'selected_cell',true);I.push(R);}}}}h.clearAllMarkers(J);F.selectBookmarks(G);return I;};function o(F){var G=0,H=F.length-1,I={},J,K,L;while(J=F[G++])h.setMarker(I,J,'delete_cell',true);G=0;while(J=F[G++]){if((K=J.getPrevious())&&!K.getCustomData('delete_cell')||(K=J.getNext())&&!K.getCustomData('delete_cell')){h.clearAllMarkers(I);return K;}}h.clearAllMarkers(I);L=F[0].getParent();if(L=L.getPrevious())return L.getLast();L=F[H].getParent();if(L=L.getNext())return L.getChild(0);return null;};function p(F){var G=F.cells;for(var H=0;H<G.length;H++){G[H].innerHTML='';if(!c)new h(G[H]).appendBogus();}};function q(F,G){var H=F.getStartElement().getAscendant('tr'); | q.push(u);}q.sort(l);}s&&s();});};m.ui.addRichCombo('Styles',{label:o.label,title:o.panelTitle,className:'cke_styles',panel:{css:m.skin.editor.css.concat(n.contentsCss),multiSelect:true,attributes:{'aria-label':o.panelTitle}},init:function(){var s=this;r(function(){var t,u,v;for(var w=0;w<q.length;w++){t=q[w];u=t._name;var x=t.type;if(x!=v){s.startGroup(o['panelTitle'+String(x)]);v=x;}s.add(u,t.type==3?u:t.buildPreview(),u);}s.commit();s.onOpen();});},onClick:function(s){m.focus();m.fire('saveSnapshot');var t=p[s],u=m.getSelection(),v=new d.elementPath(u.getStartElement());if(t.type==2&&t.checkActive(v))t.remove(m.document);else t.apply(m.document);m.fire('saveSnapshot');},onRender:function(){m.on('selectionChange',function(s){var t=this.getValue(),u=s.data.path,v=u.elements;for(var w=0,x;w<v.length;w++){x=v[w];for(var y in p){if(p[y].checkElementRemovable(x,true)){if(y!=t)this.setValue(y);return;}}}this.setValue('');},this);},onOpen:function(){var z=this;if(c||b.webkit)m.focus();var s=m.getSelection(),t=s.getSelectedElement(),u=new d.elementPath(t||s.getStartElement()),v=[0,0,0,0];z.showAll();z.unmarkAll();for(var w in p){var x=p[w],y=x.type;if(x.checkActive(u))z.mark(w);else if(y==3&&!x.checkApplicable(u)){z.hideItem(w);v[y]--;}v[y]++;}if(!v[1])z.hideGroup(o['panelTitle'+String(1)]);if(!v[2])z.hideGroup(o['panelTitle'+String(2)]);if(!v[3])z.hideGroup(o['panelTitle'+String(3)]);}});m.on('instanceReady',function(){r();});}});function l(m,n){var o=m.type,p=n.type;return o==p?0:o==3?-1:p==3?1:p==1?1:-1;};})();j.add('table',{init:function(l){var m=j.table,n=l.lang.table;l.addCommand('table',new a.dialogCommand('table'));l.addCommand('tableProperties',new a.dialogCommand('tableProperties'));l.ui.addButton('Table',{label:n.toolbar,command:'table'});a.dialog.add('table',this.path+'dialogs/table.js');a.dialog.add('tableProperties',this.path+'dialogs/table.js');if(l.addMenuItems)l.addMenuItems({table:{label:n.menu,command:'tableProperties',group:'table',order:5},tabledelete:{label:n.deleteTable,command:'tableDelete',group:'table',order:1}});if(l.contextMenu)l.contextMenu.addListener(function(o,p){if(!o)return null;var q=o.is('table')||o.hasAscendant('table');if(q)return{tabledelete:2,table:2};return null;});}});(function(){function l(F,G){if(c)F.removeAttribute(G);else delete F[G];};var m=/^(?:td|th)$/;function n(F){var G=F.createBookmarks(),H=F.getRanges(),I=[],J={};function K(S){if(I.length>0)return;if(S.type==1&&m.test(S.getName())&&!S.getCustomData('selected_cell')){h.setMarker(J,S,'selected_cell',true);I.push(S);}};for(var L=0;L<H.length;L++){var M=H[L];if(M.collapsed){var N=M.getCommonAncestor(),O=N.getAscendant('td',true)||N.getAscendant('th',true);if(O)I.push(O);}else{var P=new d.walker(M),Q;P.guard=K;while(Q=P.next()){var R=Q.getParent();if(R&&m.test(R.getName())&&!R.getCustomData('selected_cell')){h.setMarker(J,R,'selected_cell',true);I.push(R);}}}}h.clearAllMarkers(J);F.selectBookmarks(G);return I;};function o(F){var G=0,H=F.length-1,I={},J,K,L;while(J=F[G++])h.setMarker(I,J,'delete_cell',true);G=0;while(J=F[G++]){if((K=J.getPrevious())&&!K.getCustomData('delete_cell')||(K=J.getNext())&&!K.getCustomData('delete_cell')){h.clearAllMarkers(I);return K;}}h.clearAllMarkers(I);L=F[0].getParent();if(L=L.getPrevious())return L.getLast();L=F[H].getParent();if(L=L.getNext())return L.getChild(0);return null;};function p(F){var G=F.cells;for(var H=0;H<G.length;H++){G[H].innerHTML='';if(!c)new h(G[H]).appendBogus();}};function q(F,G){var H=F.getStartElement().getAscendant('tr');if(!H)return;var I=H.clone(true);I.insertBefore(H);p(G?I.$:H.$);};function r(F){if(F instanceof d.selection){var G=n(F),H=G.length,I=[],J,K,L;for(var M=0;M<H;M++){var N=G[M].getParent(),O=N.$.rowIndex;!M&&(K=O-1);I[O]=N;M==H-1&&(L=O+1);}var P=N.getAscendant('table'),Q=P.$.rows,R=Q.length;J=new h(L<R&&P.$.rows[L]||K>0&&P.$.rows[K]||P.$.parentNode);for(M=I.length;M>=0;M--){if(I[M])r(I[M]);}return J;}else if(F instanceof h){P=F.getAscendant('table');if(P.$.rows.length==1)P.remove();else F.remove();}return 0;};function s(F,G){var H=F.getStartElement(),I=H.getAscendant('td',true)||H.getAscendant('th',true);if(!I)return;var J=I.getAscendant('table'),K=I.$.cellIndex;for(var L=0;L<J.$.rows.length;L++){var M=J.$.rows[L];if(M.cells.length<K+1)continue;I=new h(M.cells[K].cloneNode(false));if(!c)I.appendBogus();var N=new h(M.cells[K]);if(G)I.insertBefore(N);else I.insertAfter(N);}};function t(F){if(F instanceof d.selection){var G=n(F);for(var H=G.length;H>=0;H--){if(G[H])t(G[H]);}}else if(F instanceof h){var I=F.getAscendant('table'),J=F.$.cellIndex;for(H=I.$.rows.length-1;H>=0;H--){var K=new h(I.$.rows[H]);if(!J&&K.$.cells.length==1){r(K);continue;}if(K.$.cells[J])K.$.removeChild(K.$.cells[J]);}}};function u(F,G){var H=F.getStartElement(),I=H.getAscendant('td',true)||H.getAscendant('th',true);if(!I)return;var J=I.clone();if(!c)J.appendBogus();if(G)J.insertBefore(I);else J.insertAfter(I);};function v(F){if(F instanceof d.selection){var G=n(F),H=G[0]&&G[0].getAscendant('table'),I=o(G);for(var J=G.length-1; |
f,i,j){var n=o.setFilters[f[2]];if(n)return n(c,i,f,j)}}},w=o.match.POS;for(var A in o.match){o.match[A]=new RegExp(o.match[A].source+/(?![^\[]*\])(?![^\(]*\))/.source);o.leftMatch[A]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[A].source)}var K=function(c,f){c=Array.prototype.slice.call(c,0);if(f){f.push.apply(f,c);return f}return c};try{Array.prototype.slice.call(r.documentElement.childNodes,0)}catch(Wa){K=function(c,f){f=f||[];if(k.call(c)==="[object Array]")Array.prototype.push.apply(f,c);else if(typeof c.length=== "number")for(var i=0,j=c.length;i<j;i++)f.push(c[i]);else for(i=0;c[i];i++)f.push(c[i]);return f}}var L;if(r.documentElement.compareDocumentPosition)L=function(c,f){if(!c.compareDocumentPosition||!f.compareDocumentPosition){if(c==f)l=true;return c.compareDocumentPosition?-1:1}c=c.compareDocumentPosition(f)&4?-1:c===f?0:1;if(c===0)l=true;return c};else if("sourceIndex"in r.documentElement)L=function(c,f){if(!c.sourceIndex||!f.sourceIndex){if(c==f)l=true;return c.sourceIndex?-1:1}c=c.sourceIndex-f.sourceIndex; | try{Array.prototype.slice.call(r.documentElement.childNodes,0)}catch(Wa){K=function(d,g){g=g||[];if(k.call(d)==="[object Array]")Array.prototype.push.apply(g,d);else if(typeof d.length==="number")for(var i=0,j=d.length;i<j;i++)g.push(d[i]);else for(i=0;d[i];i++)g.push(d[i]);return g}}var L;if(r.documentElement.compareDocumentPosition)L=function(d,g){if(!d.compareDocumentPosition||!g.compareDocumentPosition){if(d==g)l=true;return d.compareDocumentPosition?-1:1}d=d.compareDocumentPosition(g)&4?-1:d=== | f,i,j){var n=o.setFilters[f[2]];if(n)return n(c,i,f,j)}}},w=o.match.POS;for(var A in o.match){o.match[A]=new RegExp(o.match[A].source+/(?![^\[]*\])(?![^\(]*\))/.source);o.leftMatch[A]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[A].source)}var K=function(c,f){c=Array.prototype.slice.call(c,0);if(f){f.push.apply(f,c);return f}return c};try{Array.prototype.slice.call(r.documentElement.childNodes,0)}catch(Wa){K=function(c,f){f=f||[];if(k.call(c)==="[object Array]")Array.prototype.push.apply(f,c);else if(typeof c.length==="number")for(var i=0,j=c.length;i<j;i++)f.push(c[i]);else for(i=0;c[i];i++)f.push(c[i]);return f}}var L;if(r.documentElement.compareDocumentPosition)L=function(c,f){if(!c.compareDocumentPosition||!f.compareDocumentPosition){if(c==f)l=true;return c.compareDocumentPosition?-1:1}c=c.compareDocumentPosition(f)&4?-1:c===f?0:1;if(c===0)l=true;return c};else if("sourceIndex"in r.documentElement)L=function(c,f){if(!c.sourceIndex||!f.sourceIndex){if(c==f)l=true;return c.sourceIndex?-1:1}c=c.sourceIndex-f.sourceIndex; |
this._KeeFoxVersion = 0.71; | this._KeeFoxVersion = 0.72; | function KeeFox(){ this._keeFoxExtension = Application.extensions.get('chris.tomlinson@keefox'); this._keeFoxStorage = this._keeFoxExtension.storage; this._KeeICEminVersion = 0.70; // minimum version of KeeICE server we will accept this._KeeFoxVersion = 0.71; // This version of KeeFox var prefs = this._keeFoxExtension.prefs; // register preference change handlers so we can react to altered // preferences while Firefox is running (actually most of the time we // query the current preference value when we need it but this is for completeness) if (prefs.has("notifyBarWhenLoggedOut")) prefs.get("notifyBarWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("notifyBarWhenKeeICEInactive")) prefs.get("notifyBarWhenKeeICEInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenLoggedOut")) prefs.get("flashIconWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenKeeICEInactive")) prefs.get("flashIconWhenKeeICEInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("rememberMRUDB")) prefs.get("rememberMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("dynamicFormScanning")) prefs.get("dynamicFormScanning").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillForms")) prefs.get("autoFillForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitForms")) prefs.get("autoSubmitForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillDialogs")) prefs.get("autoFillDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitDialogs")) prefs.get("autoSubmitDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("overWriteFieldsAutomatically")) prefs.get("overWriteFieldsAutomatically").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitMatchedForms")) prefs.get("autoSubmitMatchedForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keeICEInstalledLocation")) prefs.get("keeICEInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassInstalledLocation")) prefs.get("keePassInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassMRUDB")) prefs.get("keePassMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("saveFavicons")) prefs.get("saveFavicons").events.addListener("change", this.preferenceChangeHandler); this._checkForConflictingExtensions(); this._registerUninstallListeners(); this._registerPlacesListeners(); // make sure that Firefox preferences won't interfere with successful add-on operation. Application.prefs.setValue("signon.rememberSignons", false); Application.prefs.setValue("browser.sessionstore.enabled", true); //TODO: set some/all of my tab session state to be persistent so it survives crashes/restores?} |
this._KeeICEminVersion = 0.73; this._KeeFoxVersion = 0.73; | this._KeeICEminVersion = 0.74; this._KeeFoxVersion = 0.74; | function KeeFox(){ this._keeFoxExtension = Application.extensions.get('chris.tomlinson@keefox'); this._keeFoxStorage = this._keeFoxExtension.storage; this._KeeICEminVersion = 0.73; // minimum version of KeeICE server we will accept this._KeeFoxVersion = 0.73; // This version of KeeFox var prefs = this._keeFoxExtension.prefs; // register preference change handlers so we can react to altered // preferences while Firefox is running (actually most of the time we // query the current preference value when we need it but this is for completeness) if (prefs.has("notifyBarWhenLoggedOut")) prefs.get("notifyBarWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("notifyBarWhenKeeICEInactive")) prefs.get("notifyBarWhenKeeICEInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenLoggedOut")) prefs.get("flashIconWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenKeeICEInactive")) prefs.get("flashIconWhenKeeICEInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("rememberMRUDB")) prefs.get("rememberMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("dynamicFormScanning")) prefs.get("dynamicFormScanning").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillForms")) prefs.get("autoFillForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitForms")) prefs.get("autoSubmitForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillDialogs")) prefs.get("autoFillDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitDialogs")) prefs.get("autoSubmitDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("overWriteFieldsAutomatically")) prefs.get("overWriteFieldsAutomatically").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitMatchedForms")) prefs.get("autoSubmitMatchedForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keeICEInstalledLocation")) prefs.get("keeICEInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassInstalledLocation")) prefs.get("keePassInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassMRUDB")) prefs.get("keePassMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("saveFavicons")) prefs.get("saveFavicons").events.addListener("change", this.preferenceChangeHandler); this._checkForConflictingExtensions(); this._registerUninstallListeners(); this._registerPlacesListeners(); // make sure that Firefox preferences won't interfere with successful add-on operation. Application.prefs.setValue("signon.rememberSignons", false); Application.prefs.setValue("browser.sessionstore.enabled", true); //TODO: set some/all of my tab session state to be persistent so it survives crashes/restores?} |
this._KeeFoxVersion = 0.72; | this._KeeFoxVersion = 0.73; | function KeeFox(){ this._keeFoxExtension = Application.extensions.get('chris.tomlinson@keefox'); this._keeFoxStorage = this._keeFoxExtension.storage; this._KeeICEminVersion = 0.70; // minimum version of KeeICE server we will accept this._KeeFoxVersion = 0.72; // This version of KeeFox var prefs = this._keeFoxExtension.prefs; // register preference change handlers so we can react to altered // preferences while Firefox is running (actually most of the time we // query the current preference value when we need it but this is for completeness) if (prefs.has("notifyBarWhenLoggedOut")) prefs.get("notifyBarWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("notifyBarWhenKeeICEInactive")) prefs.get("notifyBarWhenKeeICEInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenLoggedOut")) prefs.get("flashIconWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenKeeICEInactive")) prefs.get("flashIconWhenKeeICEInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("rememberMRUDB")) prefs.get("rememberMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("dynamicFormScanning")) prefs.get("dynamicFormScanning").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillForms")) prefs.get("autoFillForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitForms")) prefs.get("autoSubmitForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillDialogs")) prefs.get("autoFillDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitDialogs")) prefs.get("autoSubmitDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("overWriteFieldsAutomatically")) prefs.get("overWriteFieldsAutomatically").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitMatchedForms")) prefs.get("autoSubmitMatchedForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keeICEInstalledLocation")) prefs.get("keeICEInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassInstalledLocation")) prefs.get("keePassInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassMRUDB")) prefs.get("keePassMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("saveFavicons")) prefs.get("saveFavicons").events.addListener("change", this.preferenceChangeHandler); this._checkForConflictingExtensions(); this._registerUninstallListeners(); this._registerPlacesListeners(); // make sure that Firefox preferences won't interfere with successful add-on operation. Application.prefs.setValue("signon.rememberSignons", false); Application.prefs.setValue("browser.sessionstore.enabled", true); //TODO: set some/all of my tab session state to be persistent so it survives crashes/restores?} |
this._registerUninstallListeners(); | Application.prefs.get("signon.rememberSignons").events.addListener("change", this.preferenceChangeHandler); Application.prefs.get("browser.sessionstore.enabled").events.addListener("change", this.preferenceChangeHandler); | function KeeFox(){ this._keeFoxExtension = Application.extensions.get('[email protected]'); this._keeFoxStorage = this._keeFoxExtension.storage; var prefs = this._keeFoxExtension.prefs; // register preference change handlers so we can react to altered // preferences while Firefox is running (actually most of the time we // query the current preference value when we need it but this is for completeness) if (prefs.has("notifyBarWhenLoggedOut")) prefs.get("notifyBarWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("notifyBarWhenKeePassRPCInactive")) prefs.get("notifyBarWhenKeePassRPCInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenLoggedOut")) prefs.get("flashIconWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenKeePassRPCInactive")) prefs.get("flashIconWhenKeePassRPCInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("rememberMRUDB")) prefs.get("rememberMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("dynamicFormScanning")) prefs.get("dynamicFormScanning").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillForms")) prefs.get("autoFillForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitForms")) prefs.get("autoSubmitForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillDialogs")) prefs.get("autoFillDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitDialogs")) prefs.get("autoSubmitDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("overWriteFieldsAutomatically")) prefs.get("overWriteFieldsAutomatically").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitMatchedForms")) prefs.get("autoSubmitMatchedForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassRPCInstalledLocation")) prefs.get("keePassRPCInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassInstalledLocation")) prefs.get("keePassInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassMRUDB")) prefs.get("keePassMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("saveFavicons")) prefs.get("saveFavicons").events.addListener("change", this.preferenceChangeHandler); this._registerUninstallListeners(); this._registerPlacesListeners(); // make sure that Firefox preferences won't interfere with successful add-on operation. Application.prefs.setValue("signon.rememberSignons", false); Application.prefs.setValue("browser.sessionstore.enabled", true); //TODO: set some/all of my tab session state to be persistent so it survives crashes/restores?} |
Application.prefs.setValue("signon.rememberSignons", false); Application.prefs.setValue("browser.sessionstore.enabled", true); | function KeeFox(){ this._keeFoxExtension = Application.extensions.get('[email protected]'); this._keeFoxStorage = this._keeFoxExtension.storage; var prefs = this._keeFoxExtension.prefs; // register preference change handlers so we can react to altered // preferences while Firefox is running (actually most of the time we // query the current preference value when we need it but this is for completeness) if (prefs.has("notifyBarWhenLoggedOut")) prefs.get("notifyBarWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("notifyBarWhenKeePassRPCInactive")) prefs.get("notifyBarWhenKeePassRPCInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenLoggedOut")) prefs.get("flashIconWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenKeePassRPCInactive")) prefs.get("flashIconWhenKeePassRPCInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("rememberMRUDB")) prefs.get("rememberMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("dynamicFormScanning")) prefs.get("dynamicFormScanning").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillForms")) prefs.get("autoFillForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitForms")) prefs.get("autoSubmitForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillDialogs")) prefs.get("autoFillDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitDialogs")) prefs.get("autoSubmitDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("overWriteFieldsAutomatically")) prefs.get("overWriteFieldsAutomatically").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitMatchedForms")) prefs.get("autoSubmitMatchedForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassRPCInstalledLocation")) prefs.get("keePassRPCInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassInstalledLocation")) prefs.get("keePassInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassMRUDB")) prefs.get("keePassMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("saveFavicons")) prefs.get("saveFavicons").events.addListener("change", this.preferenceChangeHandler); this._registerUninstallListeners(); this._registerPlacesListeners(); // make sure that Firefox preferences won't interfere with successful add-on operation. Application.prefs.setValue("signon.rememberSignons", false); Application.prefs.setValue("browser.sessionstore.enabled", true); //TODO: set some/all of my tab session state to be persistent so it survives crashes/restores?} |
|
this.lastKeePassRPCRefresh = 0; KFLog.debug("test1111"); this._keeFoxBrowserStartup(); KFLog.debug("test1112"); | function KeeFox(){ this._keeFoxExtension = Application.extensions.get('[email protected]'); this._keeFoxStorage = this._keeFoxExtension.storage; var prefs = this._keeFoxExtension.prefs; // register preference change handlers so we can react to altered // preferences while Firefox is running (actually most of the time we // query the current preference value when we need it but this is for completeness) if (prefs.has("notifyBarWhenLoggedOut")) prefs.get("notifyBarWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("notifyBarWhenKeePassRPCInactive")) prefs.get("notifyBarWhenKeePassRPCInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenLoggedOut")) prefs.get("flashIconWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenKeePassRPCInactive")) prefs.get("flashIconWhenKeePassRPCInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("rememberMRUDB")) prefs.get("rememberMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("dynamicFormScanning")) prefs.get("dynamicFormScanning").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillForms")) prefs.get("autoFillForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitForms")) prefs.get("autoSubmitForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillDialogs")) prefs.get("autoFillDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitDialogs")) prefs.get("autoSubmitDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("overWriteFieldsAutomatically")) prefs.get("overWriteFieldsAutomatically").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitMatchedForms")) prefs.get("autoSubmitMatchedForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassRPCInstalledLocation")) prefs.get("keePassRPCInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassInstalledLocation")) prefs.get("keePassInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassMRUDB")) prefs.get("keePassMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("saveFavicons")) prefs.get("saveFavicons").events.addListener("change", this.preferenceChangeHandler); this._registerUninstallListeners(); this._registerPlacesListeners(); // make sure that Firefox preferences won't interfere with successful add-on operation. Application.prefs.setValue("signon.rememberSignons", false); Application.prefs.setValue("browser.sessionstore.enabled", true); //TODO: set some/all of my tab session state to be persistent so it survives crashes/restores?} |
|
prefs.setValue("originalPreferenceSessionStore", Application.prefs.getValue("browser.sessionstore.enabled", true)); | function KeeFox(){ this._KFLog = KFLog; this._keeFoxExtension = Application.extensions.get('[email protected]'); this._keeFoxStorage = this._keeFoxExtension.storage; var prefs = this._keeFoxExtension.prefs; if (this._keeFoxExtension.firstRun) { prefs.setValue("originalPreferenceRememberSignons", Application.prefs.getValue("signon.rememberSignons", false)); prefs.setValue("originalPreferenceSessionStore", Application.prefs.getValue("browser.sessionstore.enabled", true)); Application.prefs.setValue("signon.rememberSignons", false); Application.prefs.setValue("browser.sessionstore.enabled", true); } this._keeFoxExtension.events.addListener("uninstall", this.uninstallHandler); // register preference change handlers so we can react to altered // preferences while Firefox is running (actually most of the time we // query the current preference value when we need it but this is for completeness) if (prefs.has("notifyBarWhenLoggedOut")) prefs.get("notifyBarWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("notifyBarWhenKeePassRPCInactive")) prefs.get("notifyBarWhenKeePassRPCInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenLoggedOut")) prefs.get("flashIconWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenKeePassRPCInactive")) prefs.get("flashIconWhenKeePassRPCInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("rememberMRUDB")) prefs.get("rememberMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("dynamicFormScanning")) prefs.get("dynamicFormScanning").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillForms")) prefs.get("autoFillForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitForms")) prefs.get("autoSubmitForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillDialogs")) prefs.get("autoFillDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitDialogs")) prefs.get("autoSubmitDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("overWriteFieldsAutomatically")) prefs.get("overWriteFieldsAutomatically").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitMatchedForms")) prefs.get("autoSubmitMatchedForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassRPCInstalledLocation")) prefs.get("keePassRPCInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassInstalledLocation")) prefs.get("keePassInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassMRUDB")) prefs.get("keePassMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassDBToOpen")) prefs.get("keePassDBToOpen").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("saveFavicons")) prefs.get("saveFavicons").events.addListener("change", this.preferenceChangeHandler); Application.prefs.get("signon.rememberSignons").events.addListener("change", this.preferenceChangeHandler); Application.prefs.get("browser.sessionstore.enabled").events.addListener("change", this.preferenceChangeHandler); this._registerPlacesListeners(); // Create a timer this.regularCallBackToKeeFoxJSQueueHandlerTimer = Components.classes["@mozilla.org/timer;1"] .createInstance(Components.interfaces.nsITimer); this.regularCallBackToKeeFoxJSQueueHandlerTimer.initWithCallback( this.RegularCallBackToKeeFoxJSQueueHandler, 5000, Components.interfaces.nsITimer.TYPE_REPEATING_SLACK); //TODO: set some/all of my tab session state to be persistent so it survives crashes/restores? this.lastKeePassRPCRefresh = 0; KFLog.debug("test1111"); this._keeFoxBrowserStartup(); KFLog.debug("test1112");} |
|
Application.prefs.setValue("browser.sessionstore.enabled", true); | function KeeFox(){ this._KFLog = KFLog; this._keeFoxExtension = Application.extensions.get('[email protected]'); this._keeFoxStorage = this._keeFoxExtension.storage; var prefs = this._keeFoxExtension.prefs; if (this._keeFoxExtension.firstRun) { prefs.setValue("originalPreferenceRememberSignons", Application.prefs.getValue("signon.rememberSignons", false)); prefs.setValue("originalPreferenceSessionStore", Application.prefs.getValue("browser.sessionstore.enabled", true)); Application.prefs.setValue("signon.rememberSignons", false); Application.prefs.setValue("browser.sessionstore.enabled", true); } this._keeFoxExtension.events.addListener("uninstall", this.uninstallHandler); // register preference change handlers so we can react to altered // preferences while Firefox is running (actually most of the time we // query the current preference value when we need it but this is for completeness) if (prefs.has("notifyBarWhenLoggedOut")) prefs.get("notifyBarWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("notifyBarWhenKeePassRPCInactive")) prefs.get("notifyBarWhenKeePassRPCInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenLoggedOut")) prefs.get("flashIconWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenKeePassRPCInactive")) prefs.get("flashIconWhenKeePassRPCInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("rememberMRUDB")) prefs.get("rememberMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("dynamicFormScanning")) prefs.get("dynamicFormScanning").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillForms")) prefs.get("autoFillForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitForms")) prefs.get("autoSubmitForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillDialogs")) prefs.get("autoFillDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitDialogs")) prefs.get("autoSubmitDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("overWriteFieldsAutomatically")) prefs.get("overWriteFieldsAutomatically").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitMatchedForms")) prefs.get("autoSubmitMatchedForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassRPCInstalledLocation")) prefs.get("keePassRPCInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassInstalledLocation")) prefs.get("keePassInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassMRUDB")) prefs.get("keePassMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassDBToOpen")) prefs.get("keePassDBToOpen").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("saveFavicons")) prefs.get("saveFavicons").events.addListener("change", this.preferenceChangeHandler); Application.prefs.get("signon.rememberSignons").events.addListener("change", this.preferenceChangeHandler); Application.prefs.get("browser.sessionstore.enabled").events.addListener("change", this.preferenceChangeHandler); this._registerPlacesListeners(); // Create a timer this.regularCallBackToKeeFoxJSQueueHandlerTimer = Components.classes["@mozilla.org/timer;1"] .createInstance(Components.interfaces.nsITimer); this.regularCallBackToKeeFoxJSQueueHandlerTimer.initWithCallback( this.RegularCallBackToKeeFoxJSQueueHandler, 5000, Components.interfaces.nsITimer.TYPE_REPEATING_SLACK); //TODO: set some/all of my tab session state to be persistent so it survives crashes/restores? this.lastKeePassRPCRefresh = 0; KFLog.debug("test1111"); this._keeFoxBrowserStartup(); KFLog.debug("test1112");} |
|
if (prefs.has("notifyBarWhenLoggedOut")) prefs.get("notifyBarWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("notifyBarWhenKeePassRPCInactive")) prefs.get("notifyBarWhenKeePassRPCInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenLoggedOut")) prefs.get("flashIconWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenKeePassRPCInactive")) prefs.get("flashIconWhenKeePassRPCInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("rememberMRUDB")) prefs.get("rememberMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("dynamicFormScanning")) prefs.get("dynamicFormScanning").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillForms")) prefs.get("autoFillForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitForms")) prefs.get("autoSubmitForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillDialogs")) prefs.get("autoFillDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitDialogs")) prefs.get("autoSubmitDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("overWriteFieldsAutomatically")) prefs.get("overWriteFieldsAutomatically").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitMatchedForms")) prefs.get("autoSubmitMatchedForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassRPCInstalledLocation")) prefs.get("keePassRPCInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassInstalledLocation")) prefs.get("keePassInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassMRUDB")) prefs.get("keePassMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassDBToOpen")) prefs.get("keePassDBToOpen").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("saveFavicons")) prefs.get("saveFavicons").events.addListener("change", this.preferenceChangeHandler); Application.prefs.get("signon.rememberSignons").events.addListener("change", this.preferenceChangeHandler); Application.prefs.get("browser.sessionstore.enabled").events.addListener("change", this.preferenceChangeHandler); | function KeeFox(){ this._KFLog = KFLog; this._keeFoxExtension = Application.extensions.get('[email protected]'); this._keeFoxStorage = this._keeFoxExtension.storage; var prefs = this._keeFoxExtension.prefs; if (this._keeFoxExtension.firstRun) { prefs.setValue("originalPreferenceRememberSignons", Application.prefs.getValue("signon.rememberSignons", false)); prefs.setValue("originalPreferenceSessionStore", Application.prefs.getValue("browser.sessionstore.enabled", true)); Application.prefs.setValue("signon.rememberSignons", false); Application.prefs.setValue("browser.sessionstore.enabled", true); } this._keeFoxExtension.events.addListener("uninstall", this.uninstallHandler); // register preference change handlers so we can react to altered // preferences while Firefox is running (actually most of the time we // query the current preference value when we need it but this is for completeness) if (prefs.has("notifyBarWhenLoggedOut")) prefs.get("notifyBarWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("notifyBarWhenKeePassRPCInactive")) prefs.get("notifyBarWhenKeePassRPCInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenLoggedOut")) prefs.get("flashIconWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenKeePassRPCInactive")) prefs.get("flashIconWhenKeePassRPCInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("rememberMRUDB")) prefs.get("rememberMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("dynamicFormScanning")) prefs.get("dynamicFormScanning").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillForms")) prefs.get("autoFillForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitForms")) prefs.get("autoSubmitForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillDialogs")) prefs.get("autoFillDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitDialogs")) prefs.get("autoSubmitDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("overWriteFieldsAutomatically")) prefs.get("overWriteFieldsAutomatically").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitMatchedForms")) prefs.get("autoSubmitMatchedForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassRPCInstalledLocation")) prefs.get("keePassRPCInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassInstalledLocation")) prefs.get("keePassInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassMRUDB")) prefs.get("keePassMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassDBToOpen")) prefs.get("keePassDBToOpen").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("saveFavicons")) prefs.get("saveFavicons").events.addListener("change", this.preferenceChangeHandler); Application.prefs.get("signon.rememberSignons").events.addListener("change", this.preferenceChangeHandler); Application.prefs.get("browser.sessionstore.enabled").events.addListener("change", this.preferenceChangeHandler); this._registerPlacesListeners(); // Create a timer this.regularCallBackToKeeFoxJSQueueHandlerTimer = Components.classes["@mozilla.org/timer;1"] .createInstance(Components.interfaces.nsITimer); this.regularCallBackToKeeFoxJSQueueHandlerTimer.initWithCallback( this.RegularCallBackToKeeFoxJSQueueHandler, 5000, Components.interfaces.nsITimer.TYPE_REPEATING_SLACK); //TODO: set some/all of my tab session state to be persistent so it survives crashes/restores? this.lastKeePassRPCRefresh = 0; KFLog.debug("test1111"); this._keeFoxBrowserStartup(); KFLog.debug("test1112");} |
|
var observerService = Components.classes["@mozilla.org/observer-service;1"]. getService(Ci.nsIObserverService); this._observer._kf = this; observerService.addObserver(this._observer, "quit-application", false); this._prefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch); this._prefService.QueryInterface(Ci.nsIPrefBranch2); this._prefService.addObserver("signon.rememberSignons", this._observer, false); this._prefService.QueryInterface(Ci.nsIPrefBranch); | function KeeFox(){ this._KFLog = KFLog; this._keeFoxExtension = Application.extensions.get('[email protected]'); this._keeFoxStorage = this._keeFoxExtension.storage; var prefs = this._keeFoxExtension.prefs; if (this._keeFoxExtension.firstRun) { prefs.setValue("originalPreferenceRememberSignons", Application.prefs.getValue("signon.rememberSignons", false)); prefs.setValue("originalPreferenceSessionStore", Application.prefs.getValue("browser.sessionstore.enabled", true)); Application.prefs.setValue("signon.rememberSignons", false); Application.prefs.setValue("browser.sessionstore.enabled", true); } this._keeFoxExtension.events.addListener("uninstall", this.uninstallHandler); // register preference change handlers so we can react to altered // preferences while Firefox is running (actually most of the time we // query the current preference value when we need it but this is for completeness) if (prefs.has("notifyBarWhenLoggedOut")) prefs.get("notifyBarWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("notifyBarWhenKeePassRPCInactive")) prefs.get("notifyBarWhenKeePassRPCInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenLoggedOut")) prefs.get("flashIconWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenKeePassRPCInactive")) prefs.get("flashIconWhenKeePassRPCInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("rememberMRUDB")) prefs.get("rememberMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("dynamicFormScanning")) prefs.get("dynamicFormScanning").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillForms")) prefs.get("autoFillForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitForms")) prefs.get("autoSubmitForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillDialogs")) prefs.get("autoFillDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitDialogs")) prefs.get("autoSubmitDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("overWriteFieldsAutomatically")) prefs.get("overWriteFieldsAutomatically").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitMatchedForms")) prefs.get("autoSubmitMatchedForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassRPCInstalledLocation")) prefs.get("keePassRPCInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassInstalledLocation")) prefs.get("keePassInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassMRUDB")) prefs.get("keePassMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassDBToOpen")) prefs.get("keePassDBToOpen").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("saveFavicons")) prefs.get("saveFavicons").events.addListener("change", this.preferenceChangeHandler); Application.prefs.get("signon.rememberSignons").events.addListener("change", this.preferenceChangeHandler); Application.prefs.get("browser.sessionstore.enabled").events.addListener("change", this.preferenceChangeHandler); this._registerPlacesListeners(); // Create a timer this.regularCallBackToKeeFoxJSQueueHandlerTimer = Components.classes["@mozilla.org/timer;1"] .createInstance(Components.interfaces.nsITimer); this.regularCallBackToKeeFoxJSQueueHandlerTimer.initWithCallback( this.RegularCallBackToKeeFoxJSQueueHandler, 5000, Components.interfaces.nsITimer.TYPE_REPEATING_SLACK); //TODO: set some/all of my tab session state to be persistent so it survives crashes/restores? this.lastKeePassRPCRefresh = 0; KFLog.debug("test1111"); this._keeFoxBrowserStartup(); KFLog.debug("test1112");} |
|
this._KeeFoxVersion = 0.70; | this._KeeFoxVersion = 0.71; | function KeeFox(){ this._keeFoxExtension = Application.extensions.get('chris.tomlinson@keefox'); this._keeFoxStorage = this._keeFoxExtension.storage; this._KeeICEminVersion = 0.70; // minimum version of KeeICE server we will accept this._KeeFoxVersion = 0.70; // This version of KeeFox var prefs = this._keeFoxExtension.prefs; // register preference change handlers so we can react to altered // preferences while Firefox is running (actually most of the time we // query the current preference value when we need it but this is for completeness) if (prefs.has("notifyBarWhenLoggedOut")) prefs.get("notifyBarWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("notifyBarWhenKeeICEInactive")) prefs.get("notifyBarWhenKeeICEInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenLoggedOut")) prefs.get("flashIconWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenKeeICEInactive")) prefs.get("flashIconWhenKeeICEInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("rememberMRUDB")) prefs.get("rememberMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("dynamicFormScanning")) prefs.get("dynamicFormScanning").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillForms")) prefs.get("autoFillForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitForms")) prefs.get("autoSubmitForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillDialogs")) prefs.get("autoFillDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitDialogs")) prefs.get("autoSubmitDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("overWriteFieldsAutomatically")) prefs.get("overWriteFieldsAutomatically").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitMatchedForms")) prefs.get("autoSubmitMatchedForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keeICEInstalledLocation")) prefs.get("keeICEInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassInstalledLocation")) prefs.get("keePassInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassMRUDB")) prefs.get("keePassMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("saveFavicons")) prefs.get("saveFavicons").events.addListener("change", this.preferenceChangeHandler); this._checkForConflictingExtensions(); this._registerUninstallListeners(); this._registerPlacesListeners(); // make sure that Firefox preferences won't interfere with successful add-on operation. Application.prefs.setValue("signon.rememberSignons", false); Application.prefs.setValue("browser.sessionstore.enabled", true); //TODO: set some/all of my tab session state to be persistent so it survives crashes/restores?} |
this._KeeICEminVersion = 0.70; | this._KeeICEminVersion = 0.73; | function KeeFox(){ this._keeFoxExtension = Application.extensions.get('chris.tomlinson@keefox'); this._keeFoxStorage = this._keeFoxExtension.storage; this._KeeICEminVersion = 0.70; // minimum version of KeeICE server we will accept this._KeeFoxVersion = 0.73; // This version of KeeFox var prefs = this._keeFoxExtension.prefs; // register preference change handlers so we can react to altered // preferences while Firefox is running (actually most of the time we // query the current preference value when we need it but this is for completeness) if (prefs.has("notifyBarWhenLoggedOut")) prefs.get("notifyBarWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("notifyBarWhenKeeICEInactive")) prefs.get("notifyBarWhenKeeICEInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenLoggedOut")) prefs.get("flashIconWhenLoggedOut").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("flashIconWhenKeeICEInactive")) prefs.get("flashIconWhenKeeICEInactive").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("rememberMRUDB")) prefs.get("rememberMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("dynamicFormScanning")) prefs.get("dynamicFormScanning").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillForms")) prefs.get("autoFillForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitForms")) prefs.get("autoSubmitForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoFillDialogs")) prefs.get("autoFillDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitDialogs")) prefs.get("autoSubmitDialogs").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("overWriteFieldsAutomatically")) prefs.get("overWriteFieldsAutomatically").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("autoSubmitMatchedForms")) prefs.get("autoSubmitMatchedForms").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keeICEInstalledLocation")) prefs.get("keeICEInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassInstalledLocation")) prefs.get("keePassInstalledLocation").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("keePassMRUDB")) prefs.get("keePassMRUDB").events.addListener("change", this.preferenceChangeHandler); if (prefs.has("saveFavicons")) prefs.get("saveFavicons").events.addListener("change", this.preferenceChangeHandler); this._checkForConflictingExtensions(); this._registerUninstallListeners(); this._registerPlacesListeners(); // make sure that Firefox preferences won't interfere with successful add-on operation. Application.prefs.setValue("signon.rememberSignons", false); Application.prefs.setValue("browser.sessionstore.enabled", true); //TODO: set some/all of my tab session state to be persistent so it survives crashes/restores?} |
function KeeFoxFileDownloaderListener(source, URL, destinationFile, mainWindow, browserWindow) { | function KeeFoxFileDownloaderListener(source, URL, destinationFile, mainWindow, browserWindow, persist) { | function KeeFoxFileDownloaderListener(source, URL, destinationFile, mainWindow, browserWindow) { this.source = source; this.URL = URL; this.destinationFile = destinationFile; this.mainWindow = mainWindow; this.browserWindow = browserWindow; this.lastPerCom = 0;} |
this.persist = persist; | function KeeFoxFileDownloaderListener(source, URL, destinationFile, mainWindow, browserWindow) { this.source = source; this.URL = URL; this.destinationFile = destinationFile; this.mainWindow = mainWindow; this.browserWindow = browserWindow; this.lastPerCom = 0;} |
|
"default"}else b.style.cursor=""}};this.mouseDown=function(a,c){if(b.style.cursor=="crosshair"){d.capture(null);d.capture(b);e=d.pageCoordinates(c);l=Number(b.value)}else if(d.widgetCoordinates(b,c).x>b.offsetWidth-16){d.cancelEvent(c);d.capture(b)}};this.keyDown=function(a,c){if(c.keyCode==40)k();else c.keyCode==38&&j()};this.mouseUp=function(a,c){if(e!=null){e=null;a.onchange()}else{a=d.widgetCoordinates(b,c);if(a.x>b.offsetWidth-16)a.y<b.offsetHeight/2?j():k()}}}); | c);g.removeClass("Wt-spinbox-dn").removeClass("Wt-spinbox-up");if(a.x>b.offsetWidth-16){c=b.offsetHeight/2;if(a.y>=c-1&&a.y<=c+1)b.style.cursor="crosshair";else{b.style.cursor="default";a.y<c-1?g.addClass("Wt-spinbox-up"):g.addClass("Wt-spinbox-dn")}}else b.style.cursor=""}};this.mouseDown=function(a,c){if(b.style.cursor=="crosshair"){d.capture(null);d.capture(b);e=d.pageCoordinates(c);m=Number(b.value)}else if(d.widgetCoordinates(b,c).x>b.offsetWidth-16){d.cancelEvent(c);d.capture(b)}};this.keyDown= function(a,c){if(c.keyCode==40)l();else c.keyCode==38&&k()};this.mouseUp=function(a,c){if(e!=null){e=null;a.onchange()}else{a=d.widgetCoordinates(b,c);if(a.x>b.offsetWidth-16)a.y<b.offsetHeight/2?k():l()}}}); | "default"}else b.style.cursor=""}};this.mouseDown=function(a,c){if(b.style.cursor=="crosshair"){d.capture(null);d.capture(b);e=d.pageCoordinates(c);l=Number(b.value)}else if(d.widgetCoordinates(b,c).x>b.offsetWidth-16){d.cancelEvent(c);d.capture(b)}};this.keyDown=function(a,c){if(c.keyCode==40)k();else c.keyCode==38&&j()};this.mouseUp=function(a,c){if(e!=null){e=null;a.onchange()}else{a=d.widgetCoordinates(b,c);if(a.x>b.offsetWidth-16)a.y<b.offsetHeight/2?j():k()}}}); |
if (!args.bang) return []; context.keys.text = "keyword"; return bookmarks.get(args.join(" "), args["-tags"], null, { keyword: context.filter, title: args["-title"] }); | let keywords = util.Array.uniq(util.Array.flatten([b.keyword for ([k, b] in Iterator(bookmarks._cache.keywords))])); return [[kw, kw] for ([i, kw] in Iterator(keywords)) ]; | function keyword(context, args) { if (!args.bang) return []; context.keys.text = "keyword"; return bookmarks.get(args.join(" "), args["-tags"], null, { keyword: context.filter, title: args["-title"] }); } |
function KFdownloadFile(source, URL, destinationFile, mainWindow, browserWindow) { | function KFdownloadFile(source, URL, destinationFile, mainWindow, browserWindow, persist) { | function KFdownloadFile(source, URL, destinationFile, mainWindow, browserWindow) { var persist = Components.classes["@mozilla.org/embedding/browser/nsWebBrowserPersist;1"] .createInstance(Components.interfaces.nsIWebBrowserPersist); var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(keeFoxInst._myDepsDir()); file.append(destinationFile); //Components.classes["@mozilla.org/file/local;1"] //.createInstance(Components.interfaces.nsILocalFile); //file.initWithPath(keeFoxInst._myDepsDir() + destinationFile); // download destination var obj_URI = Components.classes["@mozilla.org/network/io-service;1"] .getService(Components.interfaces.nsIIOService) .newURI(URL, null, null); persist.progressListener = new KeeFoxFileDownloaderListener(source, URL, destinationFile, mainWindow, browserWindow); persist.persistFlags = persist.persistFlags | persist.PERSIST_FLAGS_BYPASS_CACHE; //var KF_mainThread = Components.classes["@mozilla.org/thread-manager;1"].getService().mainThread; //KF_mainThread.dispatch(new KFmainThread(this.source, "progress", persist.persistFlags, this.mainWindow, this.browserWindow), KF_mainThread.DISPATCH_NORMAL); persist.saveURI(obj_URI, null, null, null, "", file); //var thread = Components.classes["@mozilla.org/thread-manager;1"] // .getService(Components.interfaces.nsIThreadManager) // .currentThread; //while (persist.currentState != persist.PERSIST_STATE_FINISHED) // thread.processNextEvent(true); //KF_mainThread.dispatch(new KFmainThread(this.source, "progress", 10000, this.mainWindow, this.browserWindow), KF_mainThread.DISPATCH_NORMAL);} |
var persist = Components.classes["@mozilla.org/embedding/browser/nsWebBrowserPersist;1"] .createInstance(Components.interfaces.nsIWebBrowserPersist); | persist = Components.classes["@mozilla.org/embedding/browser/nsWebBrowserPersist;1"] .createInstance(Components.interfaces.nsIWebBrowserPersist); | function KFdownloadFile(source, URL, destinationFile, mainWindow, browserWindow) { var persist = Components.classes["@mozilla.org/embedding/browser/nsWebBrowserPersist;1"] .createInstance(Components.interfaces.nsIWebBrowserPersist); var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(keeFoxInst._myDepsDir()); file.append(destinationFile); //Components.classes["@mozilla.org/file/local;1"] //.createInstance(Components.interfaces.nsILocalFile); //file.initWithPath(keeFoxInst._myDepsDir() + destinationFile); // download destination var obj_URI = Components.classes["@mozilla.org/network/io-service;1"] .getService(Components.interfaces.nsIIOService) .newURI(URL, null, null); persist.progressListener = new KeeFoxFileDownloaderListener(source, URL, destinationFile, mainWindow, browserWindow); persist.persistFlags = persist.persistFlags | persist.PERSIST_FLAGS_BYPASS_CACHE; //var KF_mainThread = Components.classes["@mozilla.org/thread-manager;1"].getService().mainThread; //KF_mainThread.dispatch(new KFmainThread(this.source, "progress", persist.persistFlags, this.mainWindow, this.browserWindow), KF_mainThread.DISPATCH_NORMAL); persist.saveURI(obj_URI, null, null, null, "", file); //var thread = Components.classes["@mozilla.org/thread-manager;1"] // .getService(Components.interfaces.nsIThreadManager) // .currentThread; //while (persist.currentState != persist.PERSIST_STATE_FINISHED) // thread.processNextEvent(true); //KF_mainThread.dispatch(new KFmainThread(this.source, "progress", 10000, this.mainWindow, this.browserWindow), KF_mainThread.DISPATCH_NORMAL);} |
.getService(Components.interfaces.nsIIOService) .newURI(URL, null, null); persist.progressListener = new KeeFoxFileDownloaderListener(source, URL, destinationFile, mainWindow, browserWindow); persist.persistFlags = persist.persistFlags | persist.PERSIST_FLAGS_BYPASS_CACHE; | .getService(Components.interfaces.nsIIOService) .newURI(URL, null, null); persist.progressListener = new KeeFoxFileDownloaderListener(source, URL, destinationFile, mainWindow, browserWindow, persist); persist.persistFlags = persist.persistFlags | persist.PERSIST_FLAGS_CLEANUP_ON_FAILURE; | function KFdownloadFile(source, URL, destinationFile, mainWindow, browserWindow) { var persist = Components.classes["@mozilla.org/embedding/browser/nsWebBrowserPersist;1"] .createInstance(Components.interfaces.nsIWebBrowserPersist); var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(keeFoxInst._myDepsDir()); file.append(destinationFile); //Components.classes["@mozilla.org/file/local;1"] //.createInstance(Components.interfaces.nsILocalFile); //file.initWithPath(keeFoxInst._myDepsDir() + destinationFile); // download destination var obj_URI = Components.classes["@mozilla.org/network/io-service;1"] .getService(Components.interfaces.nsIIOService) .newURI(URL, null, null); persist.progressListener = new KeeFoxFileDownloaderListener(source, URL, destinationFile, mainWindow, browserWindow); persist.persistFlags = persist.persistFlags | persist.PERSIST_FLAGS_BYPASS_CACHE; //var KF_mainThread = Components.classes["@mozilla.org/thread-manager;1"].getService().mainThread; //KF_mainThread.dispatch(new KFmainThread(this.source, "progress", persist.persistFlags, this.mainWindow, this.browserWindow), KF_mainThread.DISPATCH_NORMAL); persist.saveURI(obj_URI, null, null, null, "", file); //var thread = Components.classes["@mozilla.org/thread-manager;1"] // .getService(Components.interfaces.nsIThreadManager) // .currentThread; //while (persist.currentState != persist.PERSIST_STATE_FINISHED) // thread.processNextEvent(true); //KF_mainThread.dispatch(new KFmainThread(this.source, "progress", 10000, this.mainWindow, this.browserWindow), KF_mainThread.DISPATCH_NORMAL);} |
KFLog.debug("currentWindowName:" + currentWindow.name); | function KFILM(kf,keeFoxToolbar,currentWindow){ this._kf = kf; this._toolbar = keeFoxToolbar; this._currentWindow = currentWindow; this._refillTimer = Components.classes["@mozilla.org/timer;1"] .createInstance(Components.interfaces.nsITimer); this.init(); KFLog.debug("currentWindowName:" + currentWindow.name); KFLog.debug ("KFILM constructor finished");} |
|
KFLog.error("Error calculating checksums: " + err); | function KFMD5checksumVerification(path, testMD5){ try { var f = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); f.initWithPath(keeFoxInst._myDepsDir()); f.append(path); var istream = Components.classes["@mozilla.org/network/file-input-stream;1"] .createInstance(Components.interfaces.nsIFileInputStream); // open for reading istream.init(f, 0x01, 0444, 0); var ch = Components.classes["@mozilla.org/security/hash;1"] .createInstance(Components.interfaces.nsICryptoHash); // we want to use the MD5 algorithm ch.init(ch.MD5); // this tells updateFromStream to read the entire file const PR_UINT32_MAX = 0xffffffff; ch.updateFromStream(istream, PR_UINT32_MAX); // pass false here to get binary data back var hash = ch.finish(false); // return the two-digit hexadecimal code for a byte function toHexString(charCode) { return ("0" + charCode.toString(16)).slice(-2); } // convert the binary hash data to a hex string. var s = [toHexString(hash.charCodeAt(i)) for (i in hash)].join(""); if (s == testMD5) return true; } catch (err) { Components.utils.reportError(err); } return false;} |
|
n.setAttribute("src",d);n.onload=function(){G(d)};n.onreadystatechange=function(){if(n.readyState=="complete"||n.readyState=="loaded")G(d)};document.getElementsByTagName("head")[0].appendChild(n)}}function H(d,c){this.callback=c;this.work=d.length;this.images=[];if(d.length==0)c(this.images);else for(c=0;c<d.length;c++)this.preload(d[c])}function l(d){if(d.ieAlternativeExecuted)return"0";q.emit(d.parentNode,"IeAltnernative");d.style.width="";d.ieAlternativeExecuted=true;return"0"}function p(d){window.onbeforeunload= | [];if(d.length==0)c(this.images);else for(c=0;c<d.length;c++)this.preload(d[c])}function l(d){if(d.ieAlternativeExecuted)return"0";r.emit(d.parentNode,"IeAltnernative");d.style.width="";d.ieAlternativeExecuted=true;return"0"}function q(d){window.onbeforeunload=d&&d!=""?function(c){if(c=c||window.event)c.returnValue=d;return d}:null}var r=this,m=_$_WT_CLASS_$_,N=0,J=0,O=null,aa={object:null,sourceId:null,mimeType:null,dropOffsetX:null,dragOffsetY:null,dropTarget:null,objectPrevStyle:null,xy:null}, | n.setAttribute("src",d);n.onload=function(){G(d)};n.onreadystatechange=function(){if(n.readyState=="complete"||n.readyState=="loaded")G(d)};document.getElementsByTagName("head")[0].appendChild(n)}}function H(d,c){this.callback=c;this.work=d.length;this.images=[];if(d.length==0)c(this.images);else for(c=0;c<d.length;c++)this.preload(d[c])}function l(d){if(d.ieAlternativeExecuted)return"0";q.emit(d.parentNode,"IeAltnernative");d.style.width="";d.ieAlternativeExecuted=true;return"0"}function p(d){window.onbeforeunload= |
""};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= |
function o(c,d,e){if(!R){if(c==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();n(d);_$_$ifnot_DEBUG_$_()}catch(j){alert("Wt internal error: "+j+", code: "+j.code+", description: "+j.description)}_$_$endif_$_();e&&b(e)}else y=ga.concat(y);ga=[];if(O){clearTimeout(O);O=null}F=null;if(c>0)++ba;else ba=0;if(!R)if(ka||y.length>0)if(c==1){c=Math.min(12E4,Math.exp(ba)*500);S=setTimeout(function(){r()},c)}else r()}}function L(){F.abort();O=F=null;R||r()}function u(c,d,e,j){h.checkReleaseCapture(c,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_(); | c+"})();";window.execScript?window.execScript(c):window.eval(c)}k._p_.autoJavaScript()}function o(c,d,e){if(!R){if(c==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();n(d);_$_$ifnot_DEBUG_$_()}catch(j){alert("Wt internal error: "+j+", code: "+j.code+", description: "+j.description)}_$_$endif_$_();e&&b(e)}else y=ga.concat(y);ga=[];if(P){clearTimeout(P);P=null}F=null;if(c>0)++ba;else ba=0;if(!R)if(ka||y.length>0)if(c==1){c=Math.min(12E4,Math.exp(ba)*500);S=setTimeout(function(){r()},c)}else r()}}function L(){F.abort(); P=F=null;R||r()}function u(c,d,e,j){h.checkReleaseCapture(c,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!F){_$_$endif_$_();var m={},i=y.length;m.object=c;m.signal=d;m.event=e;m.feedback=j;y[i]=g(m,i);q();n();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function q(){_$_$if_WEB_SOCKETS_$_();if(I.state!=2)if(typeof window.WebSocket==="undefined")I.state=2;else{var c=I.socket;if(c==null||c.readyState>1)if(c!=null&&I.state==0)I.state=2;else{c=ha.substr(ha.indexOf("?"));c="ws"+location.protocol.substr(4)+ | function o(c,d,e){if(!R){if(c==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();n(d);_$_$ifnot_DEBUG_$_()}catch(j){alert("Wt internal error: "+j+", code: "+j.code+", description: "+j.description)}_$_$endif_$_();e&&b(e)}else y=ga.concat(y);ga=[];if(O){clearTimeout(O);O=null}F=null;if(c>0)++ba;else ba=0;if(!R)if(ka||y.length>0)if(c==1){c=Math.min(12E4,Math.exp(ba)*500);S=setTimeout(function(){r()},c)}else r()}}function L(){F.abort();O=F=null;R||r()}function u(c,d,e,j){h.checkReleaseCapture(c,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_(); |
g.toDateString():g;f.args[m-2]=g}f.feedback=true;z[j]=T(f,j);F()}function L(d,c,f){var j=function(){var g=o.getElement(d);if(g){if(f)g.timer=setTimeout(g.tm,c);else{g.timer=null;g.tm=null}g.onclick&&g.onclick()}},m=o.getElement(d);m.timer=setTimeout(j,c);m.tm=j}function E(d,c){setTimeout(function(){if(S[d]===true)c();else S[d]=c},20)}function N(d){if(S[d]!==true){typeof S[d]!=="undefined"&&S[d]();S[d]=true}}function l(d,c){var f=false;if(c!="")try{f=!eval("typeof "+c+" === 'undefined'")}catch(j){f= false}if(f)N(d);else{var m=document.createElement("script");m.setAttribute("src",d);m.onload=function(){N(d)};m.onreadystatechange=function(){if(m.readyState=="complete"||m.readyState=="loaded")N(d)};document.getElementsByTagName("head")[0].appendChild(m)}}function p(d,c){this.callback=c;this.work=d.length;this.images=[];if(d.length==0)c(this.images);else for(c=0;c<d.length;c++)this.preload(d[c])}function r(d){if(d.ieAlternativeExecuted)return"0";y.emit(d.parentNode,"IeAltnernative");d.style.width= | setTimeout(m.tm,c);else{m.timer=null;m.tm=null}m.onclick&&m.onclick()}},h=o.getElement(d);h.timer=setTimeout(k,c);h.tm=k}function D(d,c){setTimeout(function(){if(R[d]===true)c();else R[d]=c},20)}function M(d){if(R[d]!==true){typeof R[d]!=="undefined"&&R[d]();R[d]=true}}function l(d,c){var f=false;if(c!="")try{f=!eval("typeof "+c+" === 'undefined'")}catch(k){f=false}if(f)M(d);else{var h=document.createElement("script");h.setAttribute("src",d);h.onload=function(){M(d)};h.onreadystatechange=function(){if(h.readyState== "complete"||h.readyState=="loaded")M(d)};document.getElementsByTagName("head")[0].appendChild(h)}}function p(d,c){this.callback=c;this.work=d.length;this.images=[];if(d.length==0)c(this.images);else for(c=0;c<d.length;c++)this.preload(d[c])}function r(d){if(d.ieAlternativeExecuted)return"0";x.emit(d.parentNode,"IeAltnernative");d.style.width="";d.ieAlternativeExecuted=true;return"0"}var x=this,o=_$_WT_CLASS_$_,G=0,da=0,O=null,Y={object:null,sourceId:null,mimeType:null,dropOffsetX:null,dragOffsetY:null, | g.toDateString():g;f.args[m-2]=g}f.feedback=true;z[j]=T(f,j);F()}function L(d,c,f){var j=function(){var g=o.getElement(d);if(g){if(f)g.timer=setTimeout(g.tm,c);else{g.timer=null;g.tm=null}g.onclick&&g.onclick()}},m=o.getElement(d);m.timer=setTimeout(j,c);m.tm=j}function E(d,c){setTimeout(function(){if(S[d]===true)c();else S[d]=c},20)}function N(d){if(S[d]!==true){typeof S[d]!=="undefined"&&S[d]();S[d]=true}}function l(d,c){var f=false;if(c!="")try{f=!eval("typeof "+c+" === 'undefined'")}catch(j){f=false}if(f)N(d);else{var m=document.createElement("script");m.setAttribute("src",d);m.onload=function(){N(d)};m.onreadystatechange=function(){if(m.readyState=="complete"||m.readyState=="loaded")N(d)};document.getElementsByTagName("head")[0].appendChild(m)}}function p(d,c){this.callback=c;this.work=d.length;this.images=[];if(d.length==0)c(this.images);else for(c=0;c<d.length;c++)this.preload(d[c])}function r(d){if(d.ieAlternativeExecuted)return"0";y.emit(d.parentNode,"IeAltnernative");d.style.width= |
g.toDateString():g;f.args[m-2]=g}f.feedback=true;z[j]=T(f,j);F()}function L(d,c,f){var j=function(){var g=o.getElement(d);if(g){if(f)g.timer=setTimeout(g.tm,c);else{g.timer=null;g.tm=null}g.onclick&&g.onclick()}},m=o.getElement(d);m.timer=setTimeout(j,c);m.tm=j}function E(d,c){setTimeout(function(){if(S[d]===true)c();else S[d]=c},20)}function N(d){if(S[d]!==true){typeof S[d]!=="undefined"&&S[d]();S[d]=true}}function l(d,c){var f=false;if(c!="")try{f=!eval("typeof "+c+" === 'undefined'")}catch(j){f= | N=f?setTimeout(w,_$_SERVER_PUSH_TIMEOUT_$_):null}}function L(d,c){var f={},k=y.length;f.signal="user";f.id=typeof d==="string"?d:d==_$_APP_CLASS_$_?"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 h=2;h<arguments.length;++h){var m=arguments[h];m=m===false?0:m===true?1:m.toDateString?m.toDateString():m;f.args[h-2]=m}f.feedback=true;y[k]=S(f,k);E()}function K(d,c,f){var k=function(){var m=o.getElement(d);if(m){if(f)m.timer= | g.toDateString():g;f.args[m-2]=g}f.feedback=true;z[j]=T(f,j);F()}function L(d,c,f){var j=function(){var g=o.getElement(d);if(g){if(f)g.timer=setTimeout(g.tm,c);else{g.timer=null;g.tm=null}g.onclick&&g.onclick()}},m=o.getElement(d);m.timer=setTimeout(j,c);m.tm=j}function E(d,c){setTimeout(function(){if(S[d]===true)c();else S[d]=c},20)}function N(d){if(S[d]!==true){typeof S[d]!=="undefined"&&S[d]();S[d]=true}}function l(d,c){var f=false;if(c!="")try{f=!eval("typeof "+c+" === 'undefined'")}catch(j){f= |
setTimeout(h.tm,c);else{h.timer=null;h.tm=null}h.onclick()}},m=o.getElement(d);m.timer=setTimeout(j,c);m.tm=j}function E(d,c){setTimeout(function(){if(S[d]===true)c();else S[d]=c},20)}function N(d){if(S[d]!==true){typeof S[d]!=="undefined"&&S[d]();S[d]=true}}function l(d,c){var f=false;if(c!="")try{f=!eval("typeof "+c+" === 'undefined'")}catch(j){f=false}if(f)N(d);else{var m=document.createElement("script");m.setAttribute("src",d);m.onload=function(){N(d)};m.onreadystatechange=function(){if(m.readyState== | setTimeout(g.tm,c);else{g.timer=null;g.tm=null}g.onclick&&g.onclick()}},m=o.getElement(d);m.timer=setTimeout(j,c);m.tm=j}function E(d,c){setTimeout(function(){if(S[d]===true)c();else S[d]=c},20)}function N(d){if(S[d]!==true){typeof S[d]!=="undefined"&&S[d]();S[d]=true}}function l(d,c){var f=false;if(c!="")try{f=!eval("typeof "+c+" === 'undefined'")}catch(j){f=false}if(f)N(d);else{var m=document.createElement("script");m.setAttribute("src",d);m.onload=function(){N(d)};m.onreadystatechange=function(){if(m.readyState== | setTimeout(h.tm,c);else{h.timer=null;h.tm=null}h.onclick()}},m=o.getElement(d);m.timer=setTimeout(j,c);m.tm=j}function E(d,c){setTimeout(function(){if(S[d]===true)c();else S[d]=c},20)}function N(d){if(S[d]!==true){typeof S[d]!=="undefined"&&S[d]();S[d]=true}}function l(d,c){var f=false;if(c!="")try{f=!eval("typeof "+c+" === 'undefined'")}catch(j){f=false}if(f)N(d);else{var m=document.createElement("script");m.setAttribute("src",d);m.onload=function(){N(d)};m.onreadystatechange=function(){if(m.readyState=="complete"||m.readyState=="loaded")N(d)};document.getElementsByTagName("head")[0].appendChild(m)}}function p(d,c){this.callback=c;this.work=d.length;this.images=[];if(d.length==0)c(this.images);else for(c=0;c<d.length;c++)this.preload(d[c])}function r(d){if(d.ieAlternativeExecuted)return"0";y.emit(d.parentNode,"IeAltnernative");d.style.width="";d.ieAlternativeExecuted=true;return"0"}var y=this,o=_$_WT_CLASS_$_,H=0,ea=0,P=null,Y={object:null,sourceId:null,mimeType:null,dropOffsetX:null,dragOffsetY:null, |
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, | 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= | 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, |
var p=null,q=null,r=[],s=o;while(s){if(s.type==1){if(!u.lastElement)u.lastElement=s;var t=s.getName();if(c&&s.$.scopeName!='HTML')t=s.$.scopeName.toLowerCase()+':'+t;if(!q){if(!p&&l[t])p=s;if(m[t])if(!p&&t=='div'&&!n(s))p=s;else q=s;}r.push(s);if(t=='body')break;}s=s.getParent();}u.block=p;u.blockLimit=q;u.elements=r;};})();d.elementPath.prototype={compare:function(l){var m=this.elements,n=l&&l.elements;if(!n||m.length!=n.length)return false;for(var o=0;o<m.length;o++){if(!m[o].equals(n[o]))return false;}return true;}};d.text=function(l,m){if(typeof l=='string')l=(m?m.$:document).createTextNode(l);this.$=l;};d.text.prototype=new d.node();e.extend(d.text.prototype,{type:3,getLength:function(){return this.$.nodeValue.length;},getText:function(){return this.$.nodeValue;},split:function(l){var q=this;if(c&&l==q.getLength()){var m=q.getDocument().createText('');m.insertAfter(q);return m;}var n=q.getDocument(),o=new d.text(q.$.splitText(l),n);if(b.ie8){var p=new d.text('',n);p.insertAfter(o);p.remove();}return o;},substring:function(l,m){if(typeof m!='number')return this.$.nodeValue.substr(l);else return this.$.nodeValue.substring(l,m);}});d.documentFragment=function(l){l=l||a.document;this.$=l.$.createDocumentFragment();};e.extend(d.documentFragment.prototype,h.prototype,{type:11,insertAfterNode:function(l){l=l.$;l.parentNode.insertBefore(this.$,l.nextSibling);}},true,{append:1,appendBogus:1,getFirst:1,getLast:1,appendTo:1,moveChildren:1,insertBefore:1,insertAfterNode:1,replace:1,trim:1,type:1,ltrim:1,rtrim:1,getDocument:1,getChildCount:1,getChild:1,getChildren:1});(function(){function l(t,u){if(this._.end)return null;var v,w=this.range,x,y=this.guard,z=this.type,A=t?'getPreviousSourceNode':'getNextSourceNode';if(!this._.start){this._.start=1;w.trim();if(w.collapsed){this.end();return null;}}if(!t&&!this._.guardLTR){var B=w.endContainer,C=B.getChild(w.endOffset);this._.guardLTR=function(G,H){return(!H||!B.equals(G))&&(!C||!G.equals(C))&&(G.type!=1||!H||G.getName()!='body');};}if(t&&!this._.guardRTL){var D=w.startContainer,E=w.startOffset>0&&D.getChild(w.startOffset-1);this._.guardRTL=function(G,H){return(!H||!D.equals(G))&&(!E||!G.equals(E))&&(G.type!=1||!H||G.getName()!='body');};}var F=t?this._.guardRTL:this._.guardLTR;if(y)x=function(G,H){if(F(G,H)===false)return false;return y(G,H);};else x=F;if(this.current)v=this.current[A](false,z,x);else if(t){v=w.endContainer;if(w.endOffset>0){v=v.getChild(w.endOffset-1);if(x(v)===false)v=null;}else v=x(v,true)===false?null:v.getPreviousSourceNode(true,z,x); }else{v=w.startContainer;v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer,true)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](false,z,x);}this.end();return this.current=null;};function m(t){var u,v=null;while(u=l.call(this,t))v=u;return v;};d.walker=e.createClass({$:function(t){this.range=t;this._={};},proto:{end:function(){this._.end=1;},next:function(){return l.call(this);},previous:function(){return l.call(this,true);},checkForward:function(){return l.call(this,false,true)!==false;},checkBackward:function(){return l.call(this,true,true)!==false;},lastForward:function(){return m.call(this);},lastBackward:function(){return m.call(this,true);},reset:function(){delete this.current;this._={};}}});var n={block:1,'list-item':1,table:1,'table-row-group':1,'table-header-group':1,'table-footer-group':1,'table-row':1,'table-column-group':1,'table-column':1,'table-cell':1,'table-caption':1},o={hr:1};h.prototype.isBlockBoundary=function(t){var u=e.extend({},o,t||{});return n[this.getComputedStyle('display')]||u[this.getName()];};d.walker.blockBoundary=function(t){return function(u,v){return!(u.type==1&&u.isBlockBoundary(t));};};d.walker.listItemBoundary=function(){return this.blockBoundary({br:1});};d.walker.bookmarkContents=function(t){},d.walker.bookmark=function(t,u){function v(w){return w&&w.getName&&w.getName()=='span'&&w.hasAttribute('_fck_bookmark');};return function(w){var x,y;x=w&&!w.getName&&(y=w.getParent())&&v(y);x=t?x:x||v(w);return u^x;};};d.walker.whitespaces=function(t){return function(u){var v=u&&u.type==3&&!e.trim(u.getText());return t^v;};};d.walker.invisible=function(t){var u=d.walker.whitespaces();return function(v){var w=u(v)||v.is&&!v.$.offsetHeight;return t^w;};};var p=/^[\t\r\n ]*(?: |\xa0)$/,q=d.walker.whitespaces(true),r=d.walker.bookmark(false,true),s=function(t){return r(t)&&q(t);};h.prototype.getBogus=function(){var t=this.getLast(s);if(t&&(!c?t.is&&t.is('br'):t.getText&&p.test(t.getText())))return t;return false;};})();d.range=function(l){var m=this;m.startContainer=null;m.startOffset=null;m.endContainer=null;m.endOffset=null;m.collapsed=true;m.document=l;};(function(){var l=function(t){t.collapsed=t.startContainer&&t.endContainer&&t.startContainer.equals(t.endContainer)&&t.startOffset==t.endOffset;},m=function(t,u,v){t.optimizeBookmark();var w=t.startContainer,x=t.endContainer,y=t.startOffset,z=t.endOffset,A,B; | },getPath:function(j){var k=this.externals[j];return a.getUrl(k&&k.dir||this.basePath+j+'/');},getFilePath:function(j){var k=this.externals[j];return a.getUrl(this.getPath(j)+(k&&typeof k.file=='string'?k.file:this.fileName+'.js'));},addExternal:function(j,k,l){j=j.split(',');for(var m=0;m<j.length;m++){var n=j[m];this.externals[n]={dir:k,file:l};}},load:function(j,k,l){if(!e.isArray(j))j=j?[j]:[];var m=this.loaded,n=this.registered,o=[],p={},q={};for(var r=0;r<j.length;r++){var s=j[r];if(!s)continue;if(!m[s]&&!n[s]){var t=this.getFilePath(s);o.push(t);if(!(t in p))p[t]=[];p[t].push(s);}else q[s]=this.get(s);}a.scriptLoader.load(o,function(u,v){if(v.length)throw '[CKEDITOR.resourceManager.load] Resource name "'+p[v[0]].join(',')+'" was not found at "'+v[0]+'".';for(var w=0;w<u.length;w++){var x=p[u[w]];for(var y=0;y<x.length;y++){var z=x[y];q[z]=this.get(z);m[z]=1;}}k.call(l,q);},this);}};a.plugins=new a.resourceManager('plugins/','plugin');var j=a.plugins;j.load=e.override(j.load,function(k){return function(l,m,n){var o={},p=function(q){k.call(this,q,function(r){e.extend(o,r);var s=[];for(var t in r){var u=r[t],v=u&&u.requires;if(v)for(var w=0;w<v.length;w++){if(!o[v[w]])s.push(v[w]);}}if(s.length)p.call(this,s);else{for(t in o){u=o[t];if(u.onLoad&&!u.onLoad._called){u.onLoad();u.onLoad._called=1;}}if(m)m.call(n||window,o);}},this);};p.call(this,l);};});j.setLang=function(k,l,m){var n=this.get(k),o=n.lang||(n.lang={});o[l]=m;};(function(){var k={},l=function(m,n){var o=function(){p.removeAllListeners();k[m]=1;n();},p=new h('img');p.on('load',o);p.on('error',o);p.setAttribute('src',m);};a.imageCacher={load:function(m,n){var o=m.length,p=function(){if(--o===0)n();};for(var q=0;q<m.length;q++){var r=m[q];if(k[r])p();else l(r,p);}}};})();a.skins=(function(){var k={},l={},m={},n=function(o,p,q,r){var s=k[p];if(!o.skin){o.skin=s;if(s.init)s.init(o);}var t=function(D){for(var E=0;E<D.length;E++)D[E]=a.getUrl(m[p]+D[E]);};function u(D,E){return D.replace(/url\s*\(([\s'"]*)(.*?)([\s"']*)\)/g,function(F,G,H,I){if(/^\/|^\w?:/.test(H))return F;else return 'url('+E+G+H+I+')';});};if(!l[p]){var v=s.preload;if(v&&v.length>0){t(v);a.imageCacher.load(v,function(){l[p]=1;n(o,p,q,r);});return;}l[p]=1;}q=s[q];var w=!q||!!q._isLoaded;if(w)r&&r();else{var x=q._pending||(q._pending=[]);x.push(r);if(x.length>1)return;var y=!q.css||!q.css.length,z=!q.js||!q.js.length,A=function(){if(y&&z){q._isLoaded=1;for(var D=0;D<x.length;D++){if(x[D])x[D]();}}};if(!y){var B=q.css;if(e.isArray(B)){t(B); | var p=null,q=null,r=[],s=o;while(s){if(s.type==1){if(!u.lastElement)u.lastElement=s;var t=s.getName();if(c&&s.$.scopeName!='HTML')t=s.$.scopeName.toLowerCase()+':'+t;if(!q){if(!p&&l[t])p=s;if(m[t])if(!p&&t=='div'&&!n(s))p=s;else q=s;}r.push(s);if(t=='body')break;}s=s.getParent();}u.block=p;u.blockLimit=q;u.elements=r;};})();d.elementPath.prototype={compare:function(l){var m=this.elements,n=l&&l.elements;if(!n||m.length!=n.length)return false;for(var o=0;o<m.length;o++){if(!m[o].equals(n[o]))return false;}return true;}};d.text=function(l,m){if(typeof l=='string')l=(m?m.$:document).createTextNode(l);this.$=l;};d.text.prototype=new d.node();e.extend(d.text.prototype,{type:3,getLength:function(){return this.$.nodeValue.length;},getText:function(){return this.$.nodeValue;},split:function(l){var q=this;if(c&&l==q.getLength()){var m=q.getDocument().createText('');m.insertAfter(q);return m;}var n=q.getDocument(),o=new d.text(q.$.splitText(l),n);if(b.ie8){var p=new d.text('',n);p.insertAfter(o);p.remove();}return o;},substring:function(l,m){if(typeof m!='number')return this.$.nodeValue.substr(l);else return this.$.nodeValue.substring(l,m);}});d.documentFragment=function(l){l=l||a.document;this.$=l.$.createDocumentFragment();};e.extend(d.documentFragment.prototype,h.prototype,{type:11,insertAfterNode:function(l){l=l.$;l.parentNode.insertBefore(this.$,l.nextSibling);}},true,{append:1,appendBogus:1,getFirst:1,getLast:1,appendTo:1,moveChildren:1,insertBefore:1,insertAfterNode:1,replace:1,trim:1,type:1,ltrim:1,rtrim:1,getDocument:1,getChildCount:1,getChild:1,getChildren:1});(function(){function l(t,u){if(this._.end)return null;var v,w=this.range,x,y=this.guard,z=this.type,A=t?'getPreviousSourceNode':'getNextSourceNode';if(!this._.start){this._.start=1;w.trim();if(w.collapsed){this.end();return null;}}if(!t&&!this._.guardLTR){var B=w.endContainer,C=B.getChild(w.endOffset);this._.guardLTR=function(G,H){return(!H||!B.equals(G))&&(!C||!G.equals(C))&&(G.type!=1||!H||G.getName()!='body');};}if(t&&!this._.guardRTL){var D=w.startContainer,E=w.startOffset>0&&D.getChild(w.startOffset-1);this._.guardRTL=function(G,H){return(!H||!D.equals(G))&&(!E||!G.equals(E))&&(G.type!=1||!H||G.getName()!='body');};}var F=t?this._.guardRTL:this._.guardLTR;if(y)x=function(G,H){if(F(G,H)===false)return false;return y(G,H);};else x=F;if(this.current)v=this.current[A](false,z,x);else if(t){v=w.endContainer;if(w.endOffset>0){v=v.getChild(w.endOffset-1);if(x(v)===false)v=null;}else v=x(v,true)===false?null:v.getPreviousSourceNode(true,z,x);}else{v=w.startContainer;v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer,true)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](false,z,x);}this.end();return this.current=null;};function m(t){var u,v=null;while(u=l.call(this,t))v=u;return v;};d.walker=e.createClass({$:function(t){this.range=t;this._={};},proto:{end:function(){this._.end=1;},next:function(){return l.call(this);},previous:function(){return l.call(this,true);},checkForward:function(){return l.call(this,false,true)!==false;},checkBackward:function(){return l.call(this,true,true)!==false;},lastForward:function(){return m.call(this);},lastBackward:function(){return m.call(this,true);},reset:function(){delete this.current;this._={};}}});var n={block:1,'list-item':1,table:1,'table-row-group':1,'table-header-group':1,'table-footer-group':1,'table-row':1,'table-column-group':1,'table-column':1,'table-cell':1,'table-caption':1},o={hr:1};h.prototype.isBlockBoundary=function(t){var u=e.extend({},o,t||{});return n[this.getComputedStyle('display')]||u[this.getName()];};d.walker.blockBoundary=function(t){return function(u,v){return!(u.type==1&&u.isBlockBoundary(t));};};d.walker.listItemBoundary=function(){return this.blockBoundary({br:1});};d.walker.bookmarkContents=function(t){},d.walker.bookmark=function(t,u){function v(w){return w&&w.getName&&w.getName()=='span'&&w.hasAttribute('_fck_bookmark');};return function(w){var x,y;x=w&&!w.getName&&(y=w.getParent())&&v(y);x=t?x:x||v(w);return u^x;};};d.walker.whitespaces=function(t){return function(u){var v=u&&u.type==3&&!e.trim(u.getText());return t^v;};};d.walker.invisible=function(t){var u=d.walker.whitespaces();return function(v){var w=u(v)||v.is&&!v.$.offsetHeight;return t^w;};};var p=/^[\t\r\n ]*(?: |\xa0)$/,q=d.walker.whitespaces(true),r=d.walker.bookmark(false,true),s=function(t){return r(t)&&q(t);};h.prototype.getBogus=function(){var t=this.getLast(s);if(t&&(!c?t.is&&t.is('br'):t.getText&&p.test(t.getText())))return t;return false;};})();d.range=function(l){var m=this;m.startContainer=null;m.startOffset=null;m.endContainer=null;m.endOffset=null;m.collapsed=true;m.document=l;};(function(){var l=function(t){t.collapsed=t.startContainer&&t.endContainer&&t.startContainer.equals(t.endContainer)&&t.startOffset==t.endOffset;},m=function(t,u,v){t.optimizeBookmark();var w=t.startContainer,x=t.endContainer,y=t.startOffset,z=t.endOffset,A,B; |
if(c===0)l=true;return c};else if(r.createRange)L=function(c,f){if(!c.ownerDocument||!f.ownerDocument){if(c==f)l=true;return c.ownerDocument?-1:1}var i=c.ownerDocument.createRange(),j=f.ownerDocument.createRange();i.setStart(c,0);i.setEnd(c,0);j.setStart(f,0);j.setEnd(f,0);c=i.compareBoundaryPoints(Range.START_TO_END,j);if(c===0)l=true;return c};(function(){var c=r.createElement("div"),f="script"+(new Date).getTime();c.innerHTML="<a name='"+f+"'/>";var i=r.documentElement;i.insertBefore(c,i.firstChild); | g?0:1;if(d===0)l=true;return d};else if("sourceIndex"in r.documentElement)L=function(d,g){if(!d.sourceIndex||!g.sourceIndex){if(d==g)l=true;return d.sourceIndex?-1:1}d=d.sourceIndex-g.sourceIndex;if(d===0)l=true;return d};else if(r.createRange)L=function(d,g){if(!d.ownerDocument||!g.ownerDocument){if(d==g)l=true;return d.ownerDocument?-1:1}var i=d.ownerDocument.createRange(),j=g.ownerDocument.createRange();i.setStart(d,0);i.setEnd(d,0);j.setStart(g,0);j.setEnd(g,0);d=i.compareBoundaryPoints(Range.START_TO_END, j);if(d===0)l=true;return d};(function(){var d=r.createElement("div"),g="script"+(new Date).getTime();d.innerHTML="<a name='"+g+"'/>";var i=r.documentElement;i.insertBefore(d,i.firstChild);if(r.getElementById(g)){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"); | if(c===0)l=true;return c};else if(r.createRange)L=function(c,f){if(!c.ownerDocument||!f.ownerDocument){if(c==f)l=true;return c.ownerDocument?-1:1}var i=c.ownerDocument.createRange(),j=f.ownerDocument.createRange();i.setStart(c,0);i.setEnd(c,0);j.setStart(f,0);j.setEnd(f,0);c=i.compareBoundaryPoints(Range.START_TO_END,j);if(c===0)l=true;return c};(function(){var c=r.createElement("div"),f="script"+(new Date).getTime();c.innerHTML="<a name='"+f+"'/>";var i=r.documentElement;i.insertBefore(c,i.firstChild); |
g.filter.indexOf("opacity=")>=0?parseFloat(na.exec(g.filter)[1])/100+"":""}if(X.test(b))b=pa;b=b.replace(oa,qa);if(h)g[b]=e;return g[b]},css:function(a,b,e,g){if(b==="width"||b==="height"){var h,k=b==="width"?Ta:Ua;function l(){h=b==="width"?a.offsetWidth:a.offsetHeight;g!=="border"&&d.each(k,function(){g||(h-=parseFloat(d.curCSS(a,"padding"+this,true))||0);if(g==="margin")h+=parseFloat(d.curCSS(a,"margin"+this,true))||0;else h-=parseFloat(d.curCSS(a,"border"+this+"Width",true))||0})}a.offsetWidth!== | 1;b=parseInt(e,10)+""==="NaN"?"":"alpha(opacity="+e*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter=ma.test(a)?a.replace(ma,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(na.exec(f.filter)[1])/100+"":""}if(X.test(b))b=pa;b=b.replace(oa,qa);if(h)f[b]=e;return f[b]},css:function(a,b,e,f){if(b==="width"||b==="height"){var h,k=b==="width"?Ta:Ua;function l(){h=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(k,function(){f||(h-=parseFloat(c.curCSS(a,"padding"+this, true))||0);if(f==="margin")h+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else h-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0})}a.offsetWidth!==0?l():c.swap(a,Sa,l);return Math.max(0,Math.round(h))}return c.curCSS(a,b,e)},curCSS:function(a,b,e){var f,h=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=na.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(X.test(b))b=pa;if(!e&&h&&h[b])f=h[b];else if(Va){if(X.test(b))b="float";b=b.replace(Pa, | g.filter.indexOf("opacity=")>=0?parseFloat(na.exec(g.filter)[1])/100+"":""}if(X.test(b))b=pa;b=b.replace(oa,qa);if(h)g[b]=e;return g[b]},css:function(a,b,e,g){if(b==="width"||b==="height"){var h,k=b==="width"?Ta:Ua;function l(){h=b==="width"?a.offsetWidth:a.offsetHeight;g!=="border"&&d.each(k,function(){g||(h-=parseFloat(d.curCSS(a,"padding"+this,true))||0);if(g==="margin")h+=parseFloat(d.curCSS(a,"margin"+this,true))||0;else h-=parseFloat(d.curCSS(a,"border"+this+"Width",true))||0})}a.offsetWidth!== |
var labelList = function() { var node = onlineList.getFirst(); if (node) { var i = 0; do { node.removeClass('rowEven'); node.removeClass('rowOdd'); if( i%2 == 0) { node.addClass('rowEven'); } else { node.addClass('rowOdd'); } i++; } while (node = node.getNext()); } | labelList(); | var labelList = function() { var node = onlineList.getFirst(); if (node) { var i = 0; do { node.removeClass('rowEven'); node.removeClass('rowOdd'); if( i%2 == 0) { node.addClass('rowEven'); } else { node.addClass('rowOdd'); } i++; } while (node = node.getNext()); } }; |
labelList(); | var labelList = function() { var node = onlineList.getFirst(); if (node) { var i = 0; do { node.removeClass('rowEven'); node.removeClass('rowOdd'); if( i%2 == 0) { node.addClass('rowEven'); } else { node.addClass('rowOdd'); } i++; } while (node = node.getNext()); } | labelList(); }; |
var node = onlineList.firstChild; | var node = onlineList.getFirst(); | var labelList = function() { var node = onlineList.firstChild; if (node) { var i = 0; do { node.removeClass('rowEven'); node.removeClass('rowOdd'); if( i%2 == 0) { node.addClass('rowEven'); } else { node.addClass('rowOdd'); } i++; } while (node = node.nextSibling); } }; |
} while (node = node.nextSibling); | } while (node = node.getNext()); | var labelList = function() { var node = onlineList.firstChild; if (node) { var i = 0; do { node.removeClass('rowEven'); node.removeClass('rowOdd'); if( i%2 == 0) { node.addClass('rowEven'); } else { node.addClass('rowOdd'); } i++; } while (node = node.nextSibling); } }; |
} while (node = node.nextSibling); } | } while (node = node.getNext()); } | var labelList = function() { var node = onlineList.firstChild; if (node) { var i = 0; do { node.removeClass('rowEven'); node.removeClass('rowOdd'); if( i%2 == 0) { node.addClass('rowEven'); } else { node.addClass('rowOdd'); } i++; } while (node = node.nextSibling); } }; |
b){return d.each(this,a,b)},ready:function(a){d.bindReady();if(d.isReady)a.call(r,d);else H&&H.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(I.apply(this,arguments),"slice",I.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(b,e){return a.call(b,e,b)}))},end:function(){return this.prevObject||d(null)},push:V,sort:[].sort, | last: function(a,i,m,r){return i==r.length-1;}, | b){return d.each(this,a,b)},ready:function(a){d.bindReady();if(d.isReady)a.call(r,d);else H&&H.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(I.apply(this,arguments),"slice",I.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(b,e){return a.call(b,e,b)}))},end:function(){return this.prevObject||d(null)},push:V,sort:[].sort, |
if (mainWindow.keeFoxInst.KeePassRPC.reconnectTimer != null) mainWindow.keeFoxInst.KeePassRPC.reconnectTimer.cancel(); mainWindow.keeFoxInst.KeePassRPC.reconnectVerySoon(); | function launchAndConnectToKeePass(){ // Tell KeeFox that KeePassRPC has been installed so it will reguarly // attempt to connect to KeePass when the timer goes off. var Application = Components.classes["@mozilla.org/fuel/application;1"] .getService(Components.interfaces.fuelIApplication); var keeFoxExtension = Application.extensions.get('[email protected]'); var keeFoxStorage = keeFoxExtension.storage; keeFoxStorage.set("KeePassRPCInstalled", true); // launch KeePass and then try to connect to KeePassRPC mainWindow.keeFoxInst.launchKeePass(); // The session connect process should still be listening every 10 seconds anyway... // var event = { notify: function(timer) { mainWindow.keeFoxInst.startICEcallbackConnector(); } }// // var timer = Components.classes["@mozilla.org/timer;1"].createInstance(Components.interfaces.nsITimer);// timer.initWithCallback(event, 7500, Components.interfaces.nsITimer.TYPE_ONE_SHOT);// mainWindow.keeFoxInst._KFLog.info("Installation timer started");} |
|
var keeFoxExtension = Application.extensions.get('[email protected]'); var keeFoxStorage = keeFoxExtension.storage; | var keeFoxStorage = mainWindow.keeFoxInst._keeFoxExtension.storage; | function launchAndConnectToKeePass(){ // Tell KeeFox that KeePassRPC has been installed so it will reguarly // attempt to connect to KeePass when the timer goes off. var Application = Components.classes["@mozilla.org/fuel/application;1"] .getService(Components.interfaces.fuelIApplication); var keeFoxExtension = Application.extensions.get('[email protected]'); //TODO:FF4: Application extension use var keeFoxStorage = keeFoxExtension.storage; keeFoxStorage.set("KeePassRPCInstalled", true); if (mainWindow.keeFoxInst.KeePassRPC.reconnectTimer != null) mainWindow.keeFoxInst.KeePassRPC.reconnectTimer.cancel(); mainWindow.keeFoxInst.KeePassRPC.reconnectVerySoon(); // launch KeePass and then try to connect to KeePassRPC mainWindow.keeFoxInst.launchKeePass(); // The session connect process should still be listening every 10 seconds anyway... // var event = { notify: function(timer) { mainWindow.keeFoxInst.startICEcallbackConnector(); } }// // var timer = Components.classes["@mozilla.org/timer;1"].createInstance(Components.interfaces.nsITimer);// timer.initWithCallback(event, 7500, Components.interfaces.nsITimer.TYPE_ONE_SHOT);// mainWindow.keeFoxInst._KFLog.info("Installation timer started");} |
var thread = Components.classes["@mozilla.org/thread-manager;1"] .getService(Components.interfaces.nsIThreadManager) .newThread(0); thread.dispatch(new launchGroupEditorThread(uuid), thread.DISPATCH_NORMAL); | this.KeePassRPC.launchGroupEditor(uuid); | launchGroupEditor: function(uuid) { try { var thread = Components.classes["@mozilla.org/thread-manager;1"] .getService(Components.interfaces.nsIThreadManager) .newThread(0); thread.dispatch(new launchGroupEditorThread(uuid), thread.DISPATCH_NORMAL); } catch (e) { this._KFLog.error("Unexpected exception while connecting to KeePassRPC. Please inform the KeeFox team that they should be handling this exception: " + e); throw e; } }, |
var result = this.syncRequest(this, "LaunchGroupEditor", [uniqueID]); | this.request(this, "LaunchGroupEditor", [uniqueID], null, ++this.requestId); | this.launchGroupEditor = function(uniqueID) { var result = this.syncRequest(this, "LaunchGroupEditor", [uniqueID]); return; } |
if (params != "") args = [params, '"' + this._keeFoxExtension.prefs.getValue("keePassMRUDB","") + '"']; else args = ['"' + this._keeFoxExtension.prefs.getValue("keePassMRUDB","") + '"']; | var mruparam = this._keeFoxExtension.prefs.getValue("keePassDBToOpen",""); if (mruparam == "") mruparam = this._keeFoxExtension.prefs.getValue("keePassMRUDB",""); if (params != "" && mruparam != "") args = [params, '' + mruparam + '']; else if (params != "") args = [params]; else if (mruparam != "") args = ['' + mruparam + '']; | launchKeePass: function(params) { if (!this._keeFoxExtension.prefs.has("keePassInstalledLocation")) { return; // TODO: work it out, prompt user or just bomb out with notification why } if (this._keeFoxExtension.prefs.has("KeePassRPC.port")) { if (params != "") params = params + " "; params = "-KeePassRPCPort:" + this._keeFoxExtension.prefs.getValue("KeePassRPC.port",12536); } var args = []; var fileName = this._keeFoxExtension.prefs.getValue("keePassInstalledLocation", "C:\\Program files\\KeePass Password Safe 2\\") + "KeePass.exe"; if (params != "") args = [params, '"' + this._keeFoxExtension.prefs.getValue("keePassMRUDB","") + '"']; else args = ['"' + this._keeFoxExtension.prefs.getValue("keePassMRUDB","") + '"']; var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath(fileName); var process = Components.classes["@mozilla.org/process/util;1"] .createInstance(Components.interfaces.nsIProcess); process.init(file); process.run(false, args, args.length); }, |
var thread = Components.classes["@mozilla.org/thread-manager;1"] .getService(Components.interfaces.nsIThreadManager) .newThread(0); thread.dispatch(new launchLoginEditorThread(uuid), thread.DISPATCH_NORMAL); | this.KeePassRPC.launchLoginEditor(uuid); | launchLoginEditor: function(uuid) { try { var thread = Components.classes["@mozilla.org/thread-manager;1"] .getService(Components.interfaces.nsIThreadManager) .newThread(0); thread.dispatch(new launchLoginEditorThread(uuid), thread.DISPATCH_NORMAL); } catch (e) { this._KFLog.error("Unexpected exception while connecting to KeePassRPC. Please inform the KeeFox team that they should be handling this exception: " + e); throw e; } }, |
var result = this.syncRequest(this, "LaunchLoginEditor", [uniqueID]); | this.request(this, "LaunchLoginEditor", [uniqueID], null, ++this.requestId); | this.launchLoginEditor = function(uniqueID) { var result = this.syncRequest(this, "LaunchLoginEditor", [uniqueID]); return; } |
$(this).removeClass('toload') console.info($(this).attr('src')); | $(this).removeClass('toload'); | function lazy_check() { if ($('#graph-caching-checkbox').attr('checked')) { $('.toload.gc-img').each(function () { window_top = $(window).height() + $(window).scrollTop(); var elem_top = $(this).offset().top; if ((window_top > elem_top) && (elem_top != 0)) { show_lazy_graph(this); $(this).removeClass('toload') console.info($(this).attr('src')); } }); }} |
if(window_top > $(this).offset().top) { show_lazy_graph($(this)); | if(window_top > $(this).position().top) { show_lazy_graph(this); | function lazy_check() { $('.gc-img').each(function() { window_top = $(window).height() + $(window).scrollTop(); if(window_top > $(this).offset().top) { show_lazy_graph($(this)); } });} |
if ($('#graph-caching-checkbox').attr('checked')) { $('.gc-img').each(function() { window_top = $(window).height() + $(window).scrollTop(); if(window_top > $(this).position().top) { show_lazy_graph(this); } }); } | if ($('#graph-caching-checkbox').attr('checked')) { $('.toload.gc-img').each(function() { window_top = $(window).height() + $(window).scrollTop(); var elem_top = $(this).offset().top; console.info(elem_top); if((window_top > elem_top) && (elem_top != 0)) { console.info("muestro"); show_lazy_graph(this); $(this).removeClass('toload') console.info($(this).attr('src')); } else { console.info("no muestro"); } }); } else { console.info("caching-off"); } | function lazy_check() { if ($('#graph-caching-checkbox').attr('checked')) { $('.gc-img').each(function() { window_top = $(window).height() + $(window).scrollTop(); if(window_top > $(this).position().top) { show_lazy_graph(this); } }); }} |