rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
p.on('selectionChange',e.bind(n,q));p.on('selectionChange',e.bind(n,s));p.on('selectionChange',e.bind(n,r));p.on('selectionChange',e.bind(n,t));},requires:['domiterator']});})();e.extend(i,{justifyClasses:null});j.add('keystrokes',{beforeInit:function(l){l.keystrokeHandler=new a.keystrokeHandler(l);l.specialKeys={};},i...
x=x===undefined||x;for(var y=t.length-1;y>=0;y--){v=t[y].createIterator();v.enlargeBr=r!=2;while(w=v.getNextParagraph()){w.removeAttribute('align');w.removeStyle('text-align');var z=u&&(w.$.className=e.ltrim(w.$.className.replace(B.cssClassRegex,''))),A=B.state==2&&(!x||m(w,true)!=B.value);if(u){if(A)w.addClass(u);else...
p.on('selectionChange',e.bind(n,q));p.on('selectionChange',e.bind(n,s));p.on('selectionChange',e.bind(n,r));p.on('selectionChange',e.bind(n,t));},requires:['domiterator']});})();e.extend(i,{justifyClasses:null});j.add('keystrokes',{beforeInit:function(l){l.keystrokeHandler=new a.keystrokeHandler(l);l.specialKeys={};},i...
$("li", this.container[0])
$("li", this.container.get(0))
attach_events : function () { var _this = this; this.container .bind("mousedown.jstree", function (event) { if(tree_component.drag_drop.isdown) { tree_component.drag_drop.move_type = false; event.preventDefault(); event.stopPropagation(); event.stopImmediatePropagation(); ...
$("a", this.container[0])
$("a", this.container.get(0))
attach_events : function () { var _this = this; this.container .bind("mousedown.jstree", function (event) { if(tree_component.drag_drop.isdown) { tree_component.drag_drop.move_type = false; event.preventDefault(); event.stopPropagation(); event.stopImmediatePropagation(); ...
_this.select_branch.apply(_this, [event.target, (event.ctrlKey || event.metaKey) || _this.settings.rules.multiple == "on"]);
_this.select_branch.apply(_this, [event.target, event.ctrlKey || _this.settings.rules.multiple == "on"]);
attach_events : function () { var _this = this; this.container .bind("mousedown.jstree", function (event) { if(tree_component.drag_drop.isdown) { tree_component.drag_drop.move_type = false; event.preventDefault(); event.stopPropagation(); event.stopImmediatePropagation(); ...
d.inArray(d(this).val(),A)>=0});if(!A.length)this.selectedIndex=-1}else this.value=w}})}});d.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,e,g){if(!a||a.nodeType===3||a.nodeType===8)return v;if(g&&b in d.attrFn)return d(a)[b](e);g=a.nodeType!==1||!...
ja.test(this.type))this.checked=c.inArray(o.val(),w)>=0;else if(c.nodeName(this,"select")){var A=c.makeArray(w);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),A)>=0});if(!A.length)this.selectedIndex=-1}else this.value=w}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,widt...
d.inArray(d(this).val(),A)>=0});if(!A.length)this.selectedIndex=-1}else this.value=w}})}});d.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,e,g){if(!a||a.nodeType===3||a.nodeType===8)return v;if(g&&b in d.attrFn)return d(a)[b](e);g=a.nodeType!==1||!...
this.find('name', 'systemPassword' )[0].setValue( '' );
authSchemeSelectHandler : function( combo, record, index ){ if ( combo.getValue() == 'simple' ){ this.find('name', 'realm' )[0].disable(); this.find('name', 'systemUsername' )[0].enable(); this.find('name', 'systemPassword' )[0].enable(); } else if ( combo.getValue() == 'none' ){ this.fin...
var k=null;d.handleDragDrop=function(c,a,b,f,e){if(k){k.className=k.classNameOrig;k=null}if(c!="end"){b=n(b);if(!b.selected&&b.drop&&b.columnId!=-1)if(c=="drop")l.emit(d.id,"itemEvent",b.nodeId,b.columnId,"drop",f,e);else{a.className="Wt-valid-drop";k=b.el;k.classNameOrig=k.className;k.className+=" Wt-drop-site"}else a...
var l=null;d.handleDragDrop=function(c,a,b,e,f){if(l){l.className=l.classNameOrig;l=null}if(c!="end"){b=n(b);if(!b.selected&&b.drop&&b.columnId!=-1)if(c=="drop")m.emit(d.id,"itemEvent",b.nodeId,b.columnId,"drop",e,f);else{a.className="Wt-valid-drop";l=b.el;l.classNameOrig=l.className;l.className+=" Wt-drop-site"}else a...
var k=null;d.handleDragDrop=function(c,a,b,f,e){if(k){k.className=k.classNameOrig;k=null}if(c!="end"){b=n(b);if(!b.selected&&b.drop&&b.columnId!=-1)if(c=="drop")l.emit(d.id,"itemEvent",b.nodeId,b.columnId,"drop",f,e);else{a.className="Wt-valid-drop";k=b.el;k.classNameOrig=k.className;k.className+=" Wt-drop-site"}else a...
onJsLoad:M,setTitle:b,update:z,quit:Y,setFormObjects:function(d){V=d},saveDownPos:w,addTimerEvent:U,load:f,handleResponse:u,setServerPush:o,dragStart:ca,dragDrag:g,dragEnd:Z,capture:m.capture,onHashChange:t,setHash:D,ImagePreloader:H,autoJavaScript:function(){_$_AUTO_JAVASCRIPT_$_()},response:F,setCloseMessage:p};this....
c.imagePreloader=this;c.src=d};H.prototype.onload=function(){var d=this.imagePreloader;--d.work==0&&d.callback(d.images)};m.history.register(_$_INITIAL_HASH_$_,u);window.onunload=function(){r.emit(r,"Wt-unload");w()};this._p_={ieAlternative:l,loadScript:C,onJsLoad:M,setTitle:b,update:z,quit:U,setFormObjects:function(d)...
onJsLoad:M,setTitle:b,update:z,quit:Y,setFormObjects:function(d){V=d},saveDownPos:w,addTimerEvent:U,load:f,handleResponse:u,setServerPush:o,dragStart:ca,dragDrag:g,dragEnd:Z,capture:m.capture,onHashChange:t,setHash:D,ImagePreloader:H,autoJavaScript:function(){_$_AUTO_JAVASCRIPT_$_()},response:F,setCloseMessage:p};this....
s()};this._p_={ieAlternative:L,loadScript:Q,onJsLoad:J,setTitle:W,update:H,quit:P,setFormObjects:function(d){B=d},saveDownPos:x,addTimerEvent:I,load:ba,handleResponse:l,setServerPush:e,dragStart:Z,dragDrag:V,dragEnd:O,capture:g.capture,onHashChange:w,setHash:G,ImagePreloader:D,autoJavaScript:function(){_$_AUTO_JAVASCRI...
s()};this._p_={ieAlternative:L,loadScript:Q,onJsLoad:K,setTitle:W,update:H,quit:P,setFormObjects:function(d){B=d},saveDownPos:x,addTimerEvent:I,load:ba,handleResponse:l,setServerPush:e,dragStart:Z,dragDrag:V,dragEnd:O,capture:g.capture,onHashChange:w,setHash:G,ImagePreloader:D,autoJavaScript:function(){_$_AUTO_JAVASCRI...
s()};this._p_={ieAlternative:L,loadScript:Q,onJsLoad:J,setTitle:W,update:H,quit:P,setFormObjects:function(d){B=d},saveDownPos:x,addTimerEvent:I,load:ba,handleResponse:l,setServerPush:e,dragStart:Z,dragDrag:V,dragEnd:O,capture:g.capture,onHashChange:w,setHash:G,ImagePreloader:D,autoJavaScript:function(){_$_AUTO_JAVASCRI...
onJsLoad:G,setTitle:z,update:J,quit:function(){X=true;clearTimeout(W)},setFormObjects:function(c){Q=c},saveDownPos:l,addTimerEvent:O,load:F,handleResponse:D,setServerPush:P,dragStart:k,dragDrag:m,dragEnd:x,capture:f,onHashChange:a,setHash:b,ImagePreloader:N,autoJavaScript:function(){with(window)_$_AUTO_JAVASCRIPT_$_()}...
0&&c.callback(c.images)};q.history.register(_$_INITIAL_HASH_$_,a);this._p_={loadScript:ia,onJsLoad:G,setTitle:z,update:J,quit:function(){X=true;clearTimeout(W)},setFormObjects:function(c){R=c},saveDownPos:l,addTimerEvent:P,load:F,handleResponse:D,setServerPush:Q,dragStart:k,dragDrag:m,dragEnd:x,capture:f,onHashChange:a...
onJsLoad:G,setTitle:z,update:J,quit:function(){X=true;clearTimeout(W)},setFormObjects:function(c){Q=c},saveDownPos:l,addTimerEvent:O,load:F,handleResponse:D,setServerPush:P,dragStart:k,dragDrag:m,dragEnd:x,capture:f,onHashChange:a,setHash:b,ImagePreloader:N,autoJavaScript:function(){with(window)_$_AUTO_JAVASCRIPT_$_()}...
autoJavaScript : function() { with (window) { _$_AUTO_JAVASCRIPT_$_(); } },
autoJavaScript : function() { _$_AUTO_JAVASCRIPT_$_(); },
autoJavaScript : function() { with (window) { _$_AUTO_JAVASCRIPT_$_(); } },
loadScript:N,onJsLoad:K,setTitle:da,update:u,quit:z,setFormObjects:function(c){Z=c},saveDownPos:w,addTimerEvent:J,load:a,handleResponse:o,setServerPush:l,dragStart:ca,dragDrag:V,dragEnd:Q,capture:h.capture,onHashChange:v,setHash:G,ImagePreloader:x,autoJavaScript:function(){_$_AUTO_JAVASCRIPT_$_()},response:B,setCloseMe...
function(){k.emit(k,"Wt-unload");r()};this._p_={ieAlternative:D,loadScript:O,onJsLoad:K,setTitle:da,update:u,quit:N,setFormObjects:function(c){Z=c},saveDownPos:w,addTimerEvent:J,load:a,handleResponse:o,setServerPush:l,dragStart:ca,dragDrag:V,dragEnd:Q,capture:h.capture,onHashChange:v,setHash:G,ImagePreloader:x,autoJava...
loadScript:N,onJsLoad:K,setTitle:da,update:u,quit:z,setFormObjects:function(c){Z=c},saveDownPos:w,addTimerEvent:J,load:a,handleResponse:o,setServerPush:l,dragStart:ca,dragDrag:V,dragEnd:Q,capture:h.capture,onHashChange:v,setHash:G,ImagePreloader:x,autoJavaScript:function(){_$_AUTO_JAVASCRIPT_$_()},response:B,setCloseMe...
0)}}}}};this.autoJavaScript=function(){if(j.parentNode==null){j=f=p=null;this.autoJavaScript=function(){}}else if(!i.isHidden(j)){var a=j.offsetWidth-i.px(j,"borderLeftWidth")-i.px(j,"borderRightWidth"),b=f.offsetWidth-f.clientWidth;a-=b;if(a>200&&a!=f.tw){f.tw=a;f.style.width=a+b+"px";p.style.width=a+"px"}}}});
f=p=null;this.autoJavaScript=function(){}}else if(!i.isHidden(h)){var a=h.offsetWidth-i.px(h,"borderLeftWidth")-i.px(h,"borderRightWidth"),b=f.offsetWidth-f.clientWidth;a-=b;if(a>200&&a!=f.tw){f.tw=a;f.style.width=a+b+"px";p.style.width=a+"px"}}}});
0)}}}}};this.autoJavaScript=function(){if(j.parentNode==null){j=f=p=null;this.autoJavaScript=function(){}}else if(!i.isHidden(j)){var a=j.offsetWidth-i.px(j,"borderLeftWidth")-i.px(j,"borderRightWidth"),b=f.offsetWidth-f.clientWidth;a-=b;if(a>200&&a!=f.tw){f.tw=a;f.style.width=a+b+"px";p.style.width=a+"px"}}}});
addTimerEvent:L,load:i,handleResponse:D,setServerPush:u,dragStart:h,dragDrag:X,dragEnd:C,capture:o.capture,onHashChange:t,setHash:B,ImagePreloader:p,autoJavaScript:function(){_$_AUTO_JAVASCRIPT_$_()},response:I};this.WT=_$_WT_CLASS_$_;this.emit=M}),WtSignalEmit=_$_APP_CLASS_$_.emit;window.WtScriptLoaded=false;function ...
c.onerror=p.prototype.onload;c.onabort=p.prototype.onload;c.imagePreloader=this;c.src=d};p.prototype.onload=function(){var d=this.imagePreloader;--d.work==0&&d.callback(d.images)};o.history.register(_$_INITIAL_HASH_$_,t);this._p_={ieAlternative:r,loadScript:l,onJsLoad:D,setTitle:j,update:z,quit:b,setFormObjects:functio...
addTimerEvent:L,load:i,handleResponse:D,setServerPush:u,dragStart:h,dragDrag:X,dragEnd:C,capture:o.capture,onHashChange:t,setHash:B,ImagePreloader:p,autoJavaScript:function(){_$_AUTO_JAVASCRIPT_$_()},response:I};this.WT=_$_WT_CLASS_$_;this.emit=M}),WtSignalEmit=_$_APP_CLASS_$_.emit;window.WtScriptLoaded=false;function ...
c.onerror=p.prototype.onload;c.onabort=p.prototype.onload;c.imagePreloader=this;c.src=d};p.prototype.onload=function(){var d=this.imagePreloader;--d.work==0&&d.callback(d.images)};o.history.register(_$_INITIAL_HASH_$_,t);this._p_={ieAlternative:r,loadScript:l,onJsLoad:E,setTitle:k,update:A,quit:b,setFormObjects:functio...
c.onerror=p.prototype.onload;c.onabort=p.prototype.onload;c.imagePreloader=this;c.src=d};p.prototype.onload=function(){var d=this.imagePreloader;--d.work==0&&d.callback(d.images)};o.history.register(_$_INITIAL_HASH_$_,t);this._p_={ieAlternative:r,loadScript:l,onJsLoad:E,setTitle:k,update:A,quit:b,setFormObjects:functio...
c.onerror=p.prototype.onload;c.onabort=p.prototype.onload;c.imagePreloader=this;c.src=d};p.prototype.onload=function(){var d=this.imagePreloader;--d.work==0&&d.callback(d.images)};o.history.register(_$_INITIAL_HASH_$_,t);this._p_={ieAlternative:r,loadScript:l,onJsLoad:E,setTitle:k,update:A,quit:b,setFormObjects:functio...
function(){var d=this.imagePreloader;--d.work==0&&d.callback(d.images)};n.history.register(_$_INITIAL_HASH_$_,t);window.onunload=function(){q.emit(q,"Wt-unload");v()};this._p_={ieAlternative:l,loadScript:C,onJsLoad:M,setTitle:b,update:y,quit:Y,setFormObjects:function(d){V=d},saveDownPos:w,addTimerEvent:U,load:f,handleR...
setServerPush:o,dragStart:ca,dragDrag:g,dragEnd:Z,capture:n.capture,onHashChange:t,setHash:D,ImagePreloader:H,autoJavaScript:function(){_$_AUTO_JAVASCRIPT_$_()},response:F,setCloseMessage:p};this.WT=_$_WT_CLASS_$_;this.emit=I}),WtSignalEmit=_$_APP_CLASS_$_.emit;window.WtScriptLoaded=false;function onLoad(){if(window.Wt...
function(){var d=this.imagePreloader;--d.work==0&&d.callback(d.images)};n.history.register(_$_INITIAL_HASH_$_,t);window.onunload=function(){q.emit(q,"Wt-unload");v()};this._p_={ieAlternative:l,loadScript:C,onJsLoad:M,setTitle:b,update:y,quit:Y,setFormObjects:function(d){V=d},saveDownPos:w,addTimerEvent:U,load:f,handleR...
setFormObjects:function(d){B=d},saveDownPos:x,addTimerEvent:N,load:m,handleResponse:u,setServerPush:E,dragStart:k,dragDrag:U,dragEnd:D,capture:g.capture,onHashChange:t,setHash:C,ImagePreloader:K,autoJavaScript:function(){with(window)_$_AUTO_JAVASCRIPT_$_()},response:L};this.WT=_$_WT_CLASS_$_;this.emit=O}),WtSignalEmit=...
setFormObjects:function(d){B=d},saveDownPos:x,addTimerEvent:N,load:m,handleResponse:u,setServerPush:E,dragStart:k,dragDrag:U,dragEnd:D,capture:g.capture,onHashChange:t,setHash:C,ImagePreloader:K,autoJavaScript:function(){_$_AUTO_JAVASCRIPT_$_()},response:L};this.WT=_$_WT_CLASS_$_;this.emit=O}),WtSignalEmit=_$_APP_CLASS...
setFormObjects:function(d){B=d},saveDownPos:x,addTimerEvent:N,load:m,handleResponse:u,setServerPush:E,dragStart:k,dragDrag:U,dragEnd:D,capture:g.capture,onHashChange:t,setHash:C,ImagePreloader:K,autoJavaScript:function(){with(window)_$_AUTO_JAVASCRIPT_$_()},response:L};this.WT=_$_WT_CLASS_$_;this.emit=O}),WtSignalEmit=...
s);this._p_={loadScript:Y,onJsLoad:Q,setTitle:l,update:H,quit:function(){ba=true;clearTimeout(aa)},setFormObjects:function(d){T=d},saveDownPos:v,addTimerEvent:z,load:o,handleResponse:D,setServerPush:t,dragStart:G,dragDrag:P,dragEnd:a,capture:n.capture,onHashChange:s,setHash:F,ImagePreloader:g,autoJavaScript:function(){...
d},saveDownPos:x,addTimerEvent:N,load:m,handleResponse:u,setServerPush:E,dragStart:k,dragDrag:U,dragEnd:D,capture:g.capture,onHashChange:t,setHash:C,ImagePreloader:K,autoJavaScript:function(){with(window)_$_AUTO_JAVASCRIPT_$_()},response:L};this.WT=_$_WT_CLASS_$_;this.emit=O}),WtSignalEmit=_$_APP_CLASS_$_.emit;window.W...
s);this._p_={loadScript:Y,onJsLoad:Q,setTitle:l,update:H,quit:function(){ba=true;clearTimeout(aa)},setFormObjects:function(d){T=d},saveDownPos:v,addTimerEvent:z,load:o,handleResponse:D,setServerPush:t,dragStart:G,dragDrag:P,dragEnd:a,capture:n.capture,onHashChange:s,setHash:F,ImagePreloader:g,autoJavaScript:function(){...
0&&c.callback(c.images)};p.history.register(_$_INITIAL_HASH_$_,a);this._p_={loadScript:ia,onJsLoad:G,setTitle:z,update:I,quit:function(){X=true;clearTimeout(W)},setFormObjects:function(c){R=c},saveDownPos:l,addTimerEvent:P,load:F,handleResponse:D,setServerPush:Q,dragStart:k,dragDrag:m,dragEnd:x,capture:f,onHashChange:a...
c};O.prototype.onload=function(){var c=this.imagePreloader;--c.work==0&&c.callback(c.images)};p.history.register(_$_INITIAL_HASH_$_,a);this._p_={loadScript:ia,onJsLoad:G,setTitle:z,update:I,quit:function(){X=true;clearTimeout(W)},setFormObjects:function(c){R=c},saveDownPos:l,addTimerEvent:P,load:F,handleResponse:D,setS...
0&&c.callback(c.images)};p.history.register(_$_INITIAL_HASH_$_,a);this._p_={loadScript:ia,onJsLoad:G,setTitle:z,update:I,quit:function(){X=true;clearTimeout(W)},setFormObjects:function(c){R=c},saveDownPos:l,addTimerEvent:P,load:F,handleResponse:D,setServerPush:Q,dragStart:k,dragDrag:m,dragEnd:x,capture:f,onHashChange:a...
var timer, hoverTimer, stopped = true;
var timer, stopped = true;
$.fn.autoscroll = function(conf) { if (typeof conf == 'number') { conf = {interval: conf}; } var opts = $.extend({}, t.autoscroll.conf, conf), ret; this.each(function() { var api = $(this).data("scrollable"); if (api) { ret = api; } // interval stuff var timer, hoverTimer, stopped = tru...
api.next();
$.fn.autoscroll = function(conf) { if (typeof conf == 'number') { conf = {interval: conf}; } var opts = $.extend({}, t.autoscroll.conf, conf), ret; this.each(function() { var api = $(this).data("scrollable"); if (api) { ret = api; } // interval stuff var timer, hoverTimer, stopped = tru...
api.getRoot().add(api.getNaviButtons()).hover(function() { api.pause(); clearInterval(hoverTimer); }, function() { if (!stopped) { hoverTimer = setTimeout(api.play, opts.interval); } }); }
api.getRoot().add(api.getNaviButtons()).hover(api.pause, api.play); }
$.fn.autoscroll = function(conf) { if (typeof conf == 'number') { conf = {interval: conf}; } var opts = $.extend({}, t.autoscroll.conf, conf), ret; this.each(function() { var api = $(this).data("scrollable"); if (api) { ret = api; } // interval stuff var timer, hoverTimer, stopped = tru...
setTimeout(api.play, opts.interval);
api.play();
$.fn.autoscroll = function(conf) { if (typeof conf == 'number') { conf = {interval: conf}; } var opts = $.extend({}, t.autoscroll.conf, conf), ret; this.each(function() { var api = $(this).data("scrollable"); if (api) { ret = api; } // interval stuff var timer, hoverTimer, stopped = tru...
p?setTimeout(arguments.callee,0):z()}})()}o(z)}}var t=window.DomReady={},B=navigator.userAgent.toLowerCase(),y={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)},C=fal...
n.addEventListener("click",function(){n.play()},false)})})}function B(j,n,u){return u||k[j][n.split(".").slice(-1)[0]]||F[j]}function y(j,n){var u=j.getAttribute(n);return u==true||typeof u=="string"}function C(j){if(j.substr(0,1)=="/")return r+j;if(j.substr(0,1)=="."||!j.match(/^\s*\w+:\/\
p?setTimeout(arguments.callee,0):z()}})()}o(z)}}var t=window.DomReady={},B=navigator.userAgent.toLowerCase(),y={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)},C=fal...
typeof t=="string"}function B(j){if(j.substr(0,1)=="/")return q+j;if(j.substr(0,1)=="."||!j.match(/^\s*\w+:\/\
k[j][n.split(".").slice(-1)[0]]||C[j]}function y(j,n){var t=j.getAttribute(n);return t==true||typeof t=="string"}function B(j){if(j.substr(0,1)=="/")return q+j;if(j.substr(0,1)=="."||!j.match(/^\s*\w+:\/\
typeof t=="string"}function B(j){if(j.substr(0,1)=="/")return q+j;if(j.substr(0,1)=="."||!j.match(/^\s*\w+:\/\//))return u+j;return j}function D(j,n,t){var w=j.getAttribute(n);if(w)return w+"px";if(j.currentStyle)j=j.currentStyle[n];else if(A.getComputedStyle)j=o.defaultView.getComputedStyle(j,null).getPropertyValue(n)...
WT_DECLARE_WT_MEMBER(1,"WSuggestionPopup",function(q,d,x,y,p){function r(){return d.style.display!="none"}function k(){d.style.display="none"}function z(a){c.positionAtWidget(d.id,a.id,c.Vertical)}function A(a){a=a||window.event;a=a.target||a.srcElement;if(a.className!="content"){if(!c.hasTag(a,"DIV"))a=a.parentNode;s(...
WT_DECLARE_WT_MEMBER(1,"WSuggestionPopup",function(q,d,y,z,r){function m(a){return $(a).hasClass("Wt-suggest-onedit")||$(a).hasClass("Wt-suggest-dropdown")}function s(){return d.style.display!="none"}function k(){d.style.display="none"}function A(a){c.positionAtWidget(d.id,a.id,c.Vertical)}function B(a){a=a||window.eve...
WT_DECLARE_WT_MEMBER(1,"WSuggestionPopup",function(q,d,x,y,p){function r(){return d.style.display!="none"}function k(){d.style.display="none"}function z(a){c.positionAtWidget(d.id,a.id,c.Vertical)}function A(a){a=a||window.event;a=a.target||a.srcElement;if(a.className!="content"){if(!c.hasTag(a,"DIV"))a=a.parentNode;s(...
(function(){function a(h){return h.type==CKEDITOR.NODE_TEXT&&h.getLength()>0;};function b(h){return!(h.type==CKEDITOR.NODE_ELEMENT&&h.isBlockBoundary(CKEDITOR.tools.extend({},CKEDITOR.dtd.$empty,CKEDITOR.dtd.$nonEditable)));};var c=function(){var h=this;return{textNode:h.textNode,offset:h.offset,character:h.textNode?h....
(function(){var a;function b(i){return i.type==CKEDITOR.NODE_TEXT&&i.getLength()>0&&(!a||!i.isReadOnly());};function c(i){return!(i.type==CKEDITOR.NODE_ELEMENT&&i.isBlockBoundary(CKEDITOR.tools.extend({},CKEDITOR.dtd.$empty,CKEDITOR.dtd.$nonEditable)));};var d=function(){var i=this;return{textNode:i.textNode,offset:i.o...
(function(){function a(h){return h.type==CKEDITOR.NODE_TEXT&&h.getLength()>0;};function b(h){return!(h.type==CKEDITOR.NODE_ELEMENT&&h.isBlockBoundary(CKEDITOR.tools.extend({},CKEDITOR.dtd.$empty,CKEDITOR.dtd.$nonEditable)));};var c=function(){var h=this;return{textNode:h.textNode,offset:h.offset,character:h.textNode?h....
function b(c,e,h){c=n(e);var i=d(c,e),q=n(e+1),s=d(q,e+1);if(a.pctself(c,"width")>0&&a.pctself(q,"width")>0){c.style.width="";j()}a.pctself(c,"width")==0&&k(e,i+h);a.pctself(q,"width")==0&&k(e+1,s-h);window.onresize()}var r=this,m=a.getElement(t);if(m)if(!r.resizeInitialized){var u=m.firstChild,p,x,z,y;x=p=0;for(z=u.ro...
function b(c,f,j){c=o(f);var l=d(c,f),q=o(f+1),s=d(q,f+1);if(a.pctself(c,"width")>0&&a.pctself(q,"width")>0){c.style.width="";k()}a.pctself(c,"width")==0&&e(f,l+j);a.pctself(q,"width")==0&&e(f+1,s-j);window.onresize()}var r=this,n=a.getElement(t);if(n)if(!r.resizeInitialized){var u=n.firstChild,p,x,z,y;x=p=0;for(z=u.ro...
function b(c,e,h){c=n(e);var i=d(c,e),q=n(e+1),s=d(q,e+1);if(a.pctself(c,"width")>0&&a.pctself(q,"width")>0){c.style.width="";j()}a.pctself(c,"width")==0&&k(e,i+h);a.pctself(q,"width")==0&&k(e+1,s-h);window.onresize()}var r=this,m=a.getElement(t);if(m)if(!r.resizeInitialized){var u=m.firstChild,p,x,z,y;x=p=0;for(z=u.ro...
c.object.className=c.objectPrevStyle.className;c.object=null}}function B(d,c){var e,j;j=d.event;c=c>0?"&e"+c:"&";e=c+"signal="+d.signal;if(d.id){e+=c+"id="+d.id+c+"name="+encodeURIComponent(d.name)+c+"an="+d.args.length;for(var n=0;n<d.args.length;++n)e+=c+"a"+n+"="+encodeURIComponent(d.args[n])}for(var i=0;i<V.length;...
c.object.style.left=c.objectPrevStyle.left;c.object.style.top=c.objectPrevStyle.top;c.object.className=c.objectPrevStyle.className;c.object=null}}function B(d,c){var e,j;j=d.event;c=c>0?"&e"+c:"&";e=c+"signal="+d.signal;if(d.id){e+=c+"id="+d.id+c+"name="+encodeURIComponent(d.name)+c+"an="+d.args.length;for(var n=0;n<d....
c.object.className=c.objectPrevStyle.className;c.object=null}}function B(d,c){var e,j;j=d.event;c=c>0?"&e"+c:"&";e=c+"signal="+d.signal;if(d.id){e+=c+"id="+d.id+c+"name="+encodeURIComponent(d.name)+c+"an="+d.args.length;for(var n=0;n<d.args.length;++n)e+=c+"a"+n+"="+encodeURIComponent(d.args[n])}for(var i=0;i<V.length;...
function b(c,f,j){c=o(f);var l=d(c,f),q=o(f+1),s=d(q,f+1);if(a.pctself(c,"width")>0&&a.pctself(q,"width")>0){c.style.width="";k()}a.pctself(c,"width")==0&&e(f,l+j);a.pctself(q,"width")==0&&e(f+1,s-j);window.onresize()}var r=this,n=a.getElement(t);if(n)if(!r.resizeInitialized){var u=n.firstChild,p,x,z,y;x=p=0;for(z=u.ro...
function b(c,f,j){c=o(f);var l=d(c,f),q=o(f+1),s=d(q,f+1);if(a.pctself(c,"width")>0&&a.pctself(q,"width")>0){c.style.width="";k()}a.pctself(c,"width")==0&&e(f,l+j);a.pctself(q,"width")==0&&e(f+1,s-j);window.onresize()}var r=this,n=a.getElement(t);if(n)if(!r.resizeInitialized){var u=n.firstChild,p,y,A,z;y=p=0;for(A=u.ro...
function b(c,f,j){c=o(f);var l=d(c,f),q=o(f+1),s=d(q,f+1);if(a.pctself(c,"width")>0&&a.pctself(q,"width")>0){c.style.width="";k()}a.pctself(c,"width")==0&&e(f,l+j);a.pctself(q,"width")==0&&e(f+1,s-j);window.onresize()}var r=this,n=a.getElement(t);if(n)if(!r.resizeInitialized){var u=n.firstChild,p,x,z,y;x=p=0;for(z=u.ro...
function I(c){clearTimeout(c);document.body.style.cursor="auto";if(U!=null){try{U()}catch(d){}U=null}}function B(){document.body.style.cursor="wait";U=hideLoadingIndicator;showLoadingIndicator()}function P(c){ca=c}function E(c){with(window){c&&eval(c);_$_APP_CLASS_$_._p_.autoJavaScript()}}function D(c,d,e){if(!X){if(c=...
function I(c){clearTimeout(c);document.body.style.cursor="auto";if(U!=null){try{U()}catch(d){}U=null}}function B(){document.body.style.cursor="wait";U=hideLoadingIndicator;showLoadingIndicator()}function Q(c){ca=c}function E(c){with(window){c&&eval(c);_$_APP_CLASS_$_._p_.autoJavaScript()}}function D(c,d,e){if(!X){if(c=...
function I(c){clearTimeout(c);document.body.style.cursor="auto";if(U!=null){try{U()}catch(d){}U=null}}function B(){document.body.style.cursor="wait";U=hideLoadingIndicator;showLoadingIndicator()}function P(c){ca=c}function E(c){with(window){c&&eval(c);_$_APP_CLASS_$_._p_.autoJavaScript()}}function D(c,d,e){if(!X){if(c=...
null}document.addEventListener("focus",c,true);document.addEventListener("blur",d,true)}h.history._initialize();U();if(!ja){ja=true;_$_ONLOAD_$_();R||(aa=setTimeout(P,_$_KEEP_ALIVE_$_000))}}function b(c){clearTimeout(c);document.body.style.cursor="auto";if(ea!=null){try{ea()}catch(d){}ea=null}}function f(){document.bod...
e.target==document?null:e.target}function d(){document.activeElement=null}document.addEventListener("focus",c,true);document.addEventListener("blur",d,true)}h.history._initialize();U();if(!ja){ja=true;_$_ONLOAD_$_();R||(aa=setTimeout(z,_$_KEEP_ALIVE_$_000))}}function b(c){clearTimeout(c);document.body.style.cursor="aut...
null}document.addEventListener("focus",c,true);document.addEventListener("blur",d,true)}h.history._initialize();U();if(!ja){ja=true;_$_ONLOAD_$_();R||(aa=setTimeout(P,_$_KEEP_ALIVE_$_000))}}function b(c){clearTimeout(c);document.body.style.cursor="auto";if(ea!=null){try{ea()}catch(d){}ea=null}}function f(){document.bod...
WT_DECLARE_WT_MEMBER(2,"StdLayout.prototype.initResize",function(a,t,h){function o(e,j){if(e.offsetWidth>0)return e.offsetWidth;else{e=l.firstChild.rows[0];var m,n,r,u;r=n=0;for(u=e.childNodes.length;n<u;++n){m=e.childNodes[n];if(m.className!="Wt-vrh"){if(r==j)return m.offsetWidth;r+=m.colSpan}}return 0}}function b(e,j...
WT_DECLARE_WT_MEMBER(2,"StdLayout.prototype.initResize",function(a,t,h){function o(e,j){if(e.offsetWidth>0)return e.offsetWidth;else{e=l.firstChild.rows[0];var m,n,r,u;r=n=0;for(u=e.childNodes.length;n<u;++n){m=e.childNodes[n];if(m.className!="Wt-vrh"){if(r==j)return m.offsetWidth;r+=m.colSpan}}return 0}}function b(e,j...
WT_DECLARE_WT_MEMBER(2,"StdLayout.prototype.initResize",function(a,t,h){function o(e,j){if(e.offsetWidth>0)return e.offsetWidth;else{e=l.firstChild.rows[0];var m,n,r,u;r=n=0;for(u=e.childNodes.length;n<u;++n){m=e.childNodes[n];if(m.className!="Wt-vrh"){if(r==j)return m.offsetWidth;r+=m.colSpan}}return 0}}function b(e,j...
WT_DECLARE_WT_MEMBER(2,"StdLayout.prototype.initResize",function(a,s,r){function u(c){var f,g,h,o=a.getElement(s).firstChild.childNodes;g=f=0;for(h=o.length;g<h;g++){var q=o[g];if(a.hasTag(q,"COLGROUP")){g=-1;o=q.childNodes;h=o.length}if(a.hasTag(q,"COL"))if(q.className!="Wt-vrh")if(f==c)return q;else++f}return null}fu...
WT_DECLARE_WT_MEMBER(2,"StdLayout.prototype.initResize",function(a,u,h){function t(c){var f,g,j,q=a.getElement(u).firstChild.childNodes;g=f=0;for(j=q.length;g<j;g++){var s=q[g];if(a.hasTag(s,"COLGROUP")){g=-1;q=s.childNodes;j=q.length}if(a.hasTag(s,"COL"))if(s.className!="Wt-vrh")if(f==c)return s;else++f}return null}fu...
WT_DECLARE_WT_MEMBER(2,"StdLayout.prototype.initResize",function(a,s,r){function u(c){var f,g,h,o=a.getElement(s).firstChild.childNodes;g=f=0;for(h=o.length;g<h;g++){var q=o[g];if(a.hasTag(q,"COLGROUP")){g=-1;o=q.childNodes;h=o.length}if(a.hasTag(q,"COL"))if(q.className!="Wt-vrh")if(f==c)return q;else++f}return null}fu...
var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;h.condCall(C,"onmousemove",a);return false}els...
c.object,d,"",h);m=f.getAttribute("dos");if(m!=null)f.className=m}}if(c.dropTarget)if(c.dropTarget.handleDragDrop)c.dropTarget.handleDragDrop("drag",c.object,d,"",h);else c.object.className="Wt-valid-drop";o.cancelEvent(d);return false}return true}function B(d){o.capture(null);var c=Y;if(c.object){if(c.dropTarget){var ...
var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;h.condCall(C,"onmousemove",a);return false}els...
var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;g.condCall(C,"onmousemove",a);return false}els...
var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;h.condCall(C,"onmousemove",a);return false}els...
var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;g.condCall(C,"onmousemove",a);return false}els...
e;c.dropTarget.handleDragDrop?c.dropTarget.handleDragDrop("drop",c.object,d,c.sourceId,c.mimeType):I(c.dropTarget,{name:"_drop",eventObject:c.dropTarget,event:d},c.sourceId,c.mimeType)}c.object.style.position=c.objectPrevStyle.position;c.object.style.display=c.objectPrevStyle.display;c.object.style.left=c.objectPrevSty...
c.objectPrevStyle.top;c.object.className=c.objectPrevStyle.className;c.object=null}}function B(d,c){var e,j;j=d.event;c=c>0?"&e"+c:"&";e=c+"signal="+d.signal;if(d.id){e+=c+"id="+d.id+c+"name="+encodeURIComponent(d.name)+c+"an="+d.args.length;for(var m=0;m<d.args.length;++m)e+=c+"a"+m+"="+encodeURIComponent(d.args[m])}f...
e;c.dropTarget.handleDragDrop?c.dropTarget.handleDragDrop("drop",c.object,d,c.sourceId,c.mimeType):I(c.dropTarget,{name:"_drop",eventObject:c.dropTarget,event:d},c.sourceId,c.mimeType)}c.object.style.position=c.objectPrevStyle.position;c.object.style.display=c.objectPrevStyle.display;c.object.style.left=c.objectPrevSty...
function H(c){clearTimeout(c);document.body.style.cursor="auto";if(U!=null){try{U()}catch(d){}U=null}}function B(){document.body.style.cursor="wait";U=hideLoadingIndicator;showLoadingIndicator()}function Q(c){ca=c}function E(c){with(window){c&&eval(c);_$_APP_CLASS_$_._p_.autoJavaScript()}}function D(c,d,e){if(!X){if(c=...
function H(c){clearTimeout(c);document.body.style.cursor="auto";if(U!=null){try{U()}catch(d){}U=null}}function B(){document.body.style.cursor="wait";U=hideLoadingIndicator;showLoadingIndicator()}function Q(c){ca=c}function E(c){if(c)if(window.execScript)window.execScript(c);else with(window)eval(c);_$_APP_CLASS_$_._p_....
function H(c){clearTimeout(c);document.body.style.cursor="auto";if(U!=null){try{U()}catch(d){}U=null}}function B(){document.body.style.cursor="wait";U=hideLoadingIndicator;showLoadingIndicator()}function Q(c){ca=c}function E(c){with(window){c&&eval(c);_$_APP_CLASS_$_._p_.autoJavaScript()}}function D(c,d,e){if(!X){if(c=...
"",i,j=0;c[j];j++){i=c[j];if(i.nodeType===3||i.nodeType===4)f+=i.nodeValue;else if(i.nodeType!==8)f+=a(i.childNodes)}return f}function b(c,f,i,j,n,m){n=0;for(var t=j.length;n<t;n++){var s=j[n];if(s){s=s[c];for(var u=false;s;){if(s.sizcache===i){u=j[s.sizset];break}if(s.nodeType===1&&!m){s.sizcache=i;s.sizset=n}if(s.nod...
"",i,j=0;d[j];j++){i=d[j];if(i.nodeType===3||i.nodeType===4)g+=i.nodeValue;else if(i.nodeType!==8)g+=a(i.childNodes)}return g}function b(d,g,i,j,n,m){n=0;for(var t=j.length;n<t;n++){var s=j[n];if(s){s=s[d];for(var u=false;s;){if(s.sizcache===i){u=j[s.sizset];break}if(s.nodeType===1&&!m){s.sizcache=i;s.sizset=n}if(s.nod...
"",i,j=0;c[j];j++){i=c[j];if(i.nodeType===3||i.nodeType===4)f+=i.nodeValue;else if(i.nodeType!==8)f+=a(i.childNodes)}return f}function b(c,f,i,j,n,m){n=0;for(var t=j.length;n<t;n++){var s=j[n];if(s){s=s[c];for(var u=false;s;){if(s.sizcache===i){u=j[s.sizset];break}if(s.nodeType===1&&!m){s.sizcache=i;s.sizset=n}if(s.nod...
var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;g.condCall(C,"onmousemove",a);return false}els...
var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;h.condCall(C,"onmousemove",a);return false}els...
var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;g.condCall(C,"onmousemove",a);return false}els...
g=b.createDocumentFragment();d.clean(a,b,g,e)}if(h)d.fragments[a[0]]=k?g:1;return{fragment:g,cacheable:h}}function M(a){for(var b=0,e,g;(e=a[b])!=null;b++)if(!d.noData[e.nodeName.toLowerCase()]&&(g=e[B]))delete d.cache[g]}function ba(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:fal...
f=b.createDocumentFragment();c.clean(a,b,f,e)}if(h)c.fragments[a[0]]=k?f:1;return{fragment:f,cacheable:h}}function M(a){for(var b=0,e,f;(e=a[b])!=null;b++)if(!c.noData[e.nodeName.toLowerCase()]&&(f=e[B]))delete c.cache[f]}function ba(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:fal...
g=b.createDocumentFragment();d.clean(a,b,g,e)}if(h)d.fragments[a[0]]=k?g:1;return{fragment:g,cacheable:h}}function M(a){for(var b=0,e,g;(e=a[b])!=null;b++)if(!d.noData[e.nodeName.toLowerCase()]&&(g=e[B]))delete d.cache[g]}function ba(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:fal...
append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,...
unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&...
append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,...
a._djScaytConfig={baseUrl:y,addOnLoad:[function(){a.fireOnce('scaytReady');}],isDebug:false};a.document.getHead().append(a.document.createElement('script',{attributes:{type:'text/javascript',src:x}}));return null;},parseUrl:function(u){var v;if(u.match&&(v=u.match(/(.*)[\/\\](.*?\.\w+)$/)))return{path:v[1],file:v[2]};e...
});a.on('scaytReady',o,s);a.on('scaytReady',function(){this.engineLoaded=true;},this,null,0);this.engineLoaded=-1;var t=document.location.protocol;t=t.search(/https?:/)!=-1?t:'http:';var u='svc.spellchecker.net/scayt25/loader__base.js',v=s.config.scayt_srcUrl||t+'
a._djScaytConfig={baseUrl:y,addOnLoad:[function(){a.fireOnce('scaytReady');}],isDebug:false};a.document.getHead().append(a.document.createElement('script',{attributes:{type:'text/javascript',src:x}}));return null;},parseUrl:function(u){var v;if(u.match&&(v=u.match(/(.*)[\/\\](.*?\.\w+)$/)))return{path:v[1],file:v[2]};e...
if(typeof refNode == 'undefined') parentPageID = 0; else var parentPageID = $(refNode).attr('id').replace('page-', '')
beforeMove: function(node, refNode, type, tree) { // get pageID that has to be moved var currentPageID = $(node).attr('id').replace('page-', ''); // home is a special item if($(refNode).attr('id').replace('page-', '') == '1') { if(type == 'before') return false; if(type == 'after') return false; } // init v...
if($(refNode).attr('id').replace('page-', '') == '1')
if(parentPageID == '1')
beforeMove: function(node, refNode, type, tree) { // get pageID that has to be moved var currentPageID = $(node).attr('id').replace('page-', ''); // home is a special item if($(refNode).attr('id').replace('page-', '') == '1') { if(type == 'before') return false; if(type == 'after') return false; } // init v...
if($(refNode).attr('id').replace('page-', '') == '1') { if(type == 'before') return false; if(type == 'after') return false; }
beforeMove: function(node, refNode, type, tree) { // get pageID that has to be moved var currentPageID = $(node).attr('id').replace('page-', ''); // init var var result = false; // make the call $.ajax({ type: 'POST', dataType: 'json', async: false, // important that this isn't asynchronous url: '/b...
type = Zotero.Utilities.cleanString(type.toLowerCase());
type = Zotero.Utilities.trimInternal(type.toLowerCase());
function beginRecord(type, closeChar) { type = Zotero.Utilities.cleanString(type.toLowerCase()); if(type != "string") { var zoteroType = bibtex2zoteroTypeMap[type]; if (!zoteroType) { Zotero.debug("discarded item from BibTeX; type was "+type); } var item = new Zotero.Item(zoteroType); item.extra = ""; } var f...
[settings.effect](settings.effectspeed);self.loaded=true;});};});if("scroll"!=settings.event){$(self).bind(settings.event,function(event){if(!self.loaded){$(self).trigger("appear");}});}});};$.belowthefold=function(element,settings){var fold=$(window).height()+$(window).scrollTop();return fold<=$(element).offset().top-...
[settings.effect](settings.effectspeed);self.loaded=true;}).attr("src",$(self).attr("original"));};});if("scroll"!=settings.event){$(self).bind(settings.event,function(event){if(!self.loaded){$(self).trigger("appear");}});}});$(settings.container).trigger(settings.event);return this;};$.belowthefold=function(element,se...
[settings.effect](settings.effectspeed);self.loaded=true;});};});if("scroll"!=settings.event){$(self).bind(settings.event,function(event){if(!self.loaded){$(self).trigger("appear");}});}});};$.belowthefold=function(element,settings){var fold=$(window).height()+$(window).scrollTop();return fold<=$(element).offset().top-...
key += "";
bind: function(exchange, key) { key = key || ""; if (!MQ.exchanges[exchange]) { var type = ""; if (!key.length) { type = 'fanout'; } else if (key.match(/[\*|#]/) ) { type = 'topic'; } else { type = 'direct'; }; MQ.exchange(exchange, {type: type}); }; if(!this.bindings[exchange]) { ...
}, open: function(evt) { if($(this).next().find('button').length > 0) { $(this).next().find('button')[0].focus(); }
bindConfirm: function() { // initialize $('.askConfirmation').each(function() { // get id var id = $(this).attr('rel'); var url = $(this).attr('href'); // initialize $('#'+ id).dialog({ autoOpen: false, draggable: false, resizable: false, modal: true, buttons: { '{$lblOK|ucfirst}': function() { ...
ta;if(a)x.jQuery=sa;return d},isReady:false,ready:function(){if(!d.isReady){if(!r.body)return setTimeout(d.ready,13);d.isReady=true;if(H){for(var a,b=0;a=H[b++];)a.call(r,d);H=null}d.fn.triggerHandler&&d(r).triggerHandler("ready")}},bindReady:function(){if(!ca){ca=true;if(r.readyState==="complete")return d.ready();if(r...
ta;if(a)x.jQuery=sa;return c},isReady:false,ready:function(){if(!c.isReady){if(!r.body)return setTimeout(c.ready,13);c.isReady=true;if(H){for(var a,b=0;a=H[b++];)a.call(r,c);H=null}c.fn.triggerHandler&&c(r).triggerHandler("ready")}},bindReady:function(){if(!ca){ca=true;if(r.readyState==="complete")return c.ready();if(r...
ta;if(a)x.jQuery=sa;return d},isReady:false,ready:function(){if(!d.isReady){if(!r.body)return setTimeout(d.ready,13);d.isReady=true;if(H){for(var a,b=0;a=H[b++];)a.call(r,d);H=null}d.fn.triggerHandler&&d(r).triggerHandler("ready")}},bindReady:function(){if(!ca){ca=true;if(r.readyState==="complete")return d.ready();if(r...
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).styl...
"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....
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).styl...
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.b...
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).styl...
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.b...
2?i[1]:"0")?parseFloat(i):0;e=(i=(i=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(e))&&i.length==2?i[1]:"100000")?parseFloat(i):1E5;return k<b?b-1:k>e?e+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){h.getElement(a).style.display="none"};this.inline=function(a){h.getElement(a).style.display="inlin...
2?i[1]:"0")?parseFloat(i):0;e=(i=(i=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(e))&&i.length==2?i[1]:"100000")?parseFloat(i):1E5;return j<b?b-1:j>e?e+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inlin...
2?i[1]:"0")?parseFloat(i):0;e=(i=(i=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(e))&&i.length==2?i[1]:"100000")?parseFloat(i):1E5;return k<b?b-1:k>e?e+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){h.getElement(a).style.display="none"};this.inline=function(a){h.getElement(a).style.display="inlin...
""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=""};var C=null,T=false;this.capture=function(a){b...
""?b-1:"auto"}else return"auto"};this.hide=function(a){h.getElement(a).style.display="none"};this.inline=function(a){h.getElement(a).style.display="inline"};this.block=function(a){h.getElement(a).style.display="block"};this.show=function(a){h.getElement(a).style.display=""};var C=null,T=false;this.capture=function(a){b...
""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style.display="none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=""};var C=null,T=false;this.capture=function(a){b...
"paddingRight"),k=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(k=k&&k.length==2?k[1]:"0")?parseFloat(k):0;f=(k=(k=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(f))&&k.length==2?k[1]:"100000")?parseFloat(k):1E5;return h<b?b-1:h>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style...
"none"};this.inline=function(a){g.getElement(a).style.display="inline"};this.block=function(a){g.getElement(a).style.display="block"};this.show=function(a){g.getElement(a).style.display=""};var B=null,S=false,Y=false;this.capture=function(a){ca();if(!(B&&a)){B=a;var b=document.body;if(b.setCapture)a!=null?b.setCapture(...
"paddingRight"),k=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(b);b=(k=k&&k.length==2?k[1]:"0")?parseFloat(k):0;f=(k=(k=/^\s*(-?\d+(?:\.\d+)?)\s*\%\s*$/.exec(f))&&k.length==2?k[1]:"100000")?parseFloat(k):1E5;return h<b?b-1:h>f?f+1:a.style.styleFloat!=""?b-1:"auto"}else return"auto"};this.hide=function(a){g.getElement(a).style...
this.hide=function(a){k.getElement(a).style.display="none"};this.inline=function(a){k.getElement(a).style.display="inline"};this.block=function(a){k.getElement(a).style.display="block"};this.show=function(a){k.getElement(a).style.display=""};var G=null,P=false;this.capture=function(a){F();G=a;var b=document.body;if(b.s...
"inline"};this.block=function(a){k.getElement(a).style.display="block"};this.show=function(a){k.getElement(a).style.display=""};var D=null,R=false;this.capture=function(a){Y();D=a;var b=document.body;if(b.setCapture)a!=null?b.setCapture():b.releaseCapture();if(a!=null){b.className="unselectable";b.setAttribute("unselec...
this.hide=function(a){k.getElement(a).style.display="none"};this.inline=function(a){k.getElement(a).style.display="inline"};this.block=function(a){k.getElement(a).style.display="block"};this.show=function(a){k.getElement(a).style.display=""};var G=null,P=false;this.capture=function(a){F();G=a;var b=document.body;if(b.s...
}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](...
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();re...
}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](...
var i=a.config;a.focusManager=function(j){if(j.focusManager)return j.focusManager;this.hasFocus=false;this._={editor:j};return this;};a.focusManager.prototype={focus:function(){var k=this;if(k._.timer)clearTimeout(k._.timer);if(!k.hasFocus){if(a.currentInstance)a.currentInstance.focusManager.forceBlur();var j=k._.edito...
return function(j,k,l){if(typeof k=='number'){if(l&&!(c&&b.quirks)){var m=0;for(var n=0,o=i[j].length;n<o;n++)m+=parseInt(this.getComputedStyle(i[j][n])||0,10);k-=m;}this.setStyle(j,k+'px');}};})()});a.command=function(i,j){this.uiItems=[];this.exec=function(k){if(this.state==0)return false;if(this.editorFocus)i.focus(...
var i=a.config;a.focusManager=function(j){if(j.focusManager)return j.focusManager;this.hasFocus=false;this._={editor:j};return this;};a.focusManager.prototype={focus:function(){var k=this;if(k._.timer)clearTimeout(k._.timer);if(!k.hasFocus){if(a.currentInstance)a.currentInstance.focusManager.forceBlur();var j=k._.edito...
R in P&&delete P[Q[S]];}}return O;},embed:function(O){var P=O.parent;if(P&&P.name=='object'){var Q=P.attributes.width,R=P.attributes.height;Q&&(O.attributes.width=Q);R&&(O.attributes.height=R);}},param:function(O){O.children=[];O.isEmpty=true;return O;},a:function(O){if(!(O.children.length||O.attributes.name||O.attribu...
if(c)n&&n.addRules({elements:{input:function(p){var q=p.attributes,r=q.type;if(r=='checkbox'||r=='radio')q.value=='on'&&delete q.value;}}});if(o)o.addRules({elements:{input:function(p){if(p.attributes.type=='hidden')return l.createFakeParserElement(p,'cke_hidden','hiddenfield');}}});},requires:['image','fakeobjects']})...
R in P&&delete P[Q[S]];}}return O;},embed:function(O){var P=O.parent;if(P&&P.name=='object'){var Q=P.attributes.width,R=P.attributes.height;Q&&(O.attributes.width=Q);R&&(O.attributes.height=R);}},param:function(O){O.children=[];O.isEmpty=true;return O;},a:function(O){if(!(O.children.length||O.attributes.name||O.attribu...
d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,e=a.offsetLeft;d.offset.initialize();if(d.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(d.curCSS(a,"marginTop",true))||0;e+=parseFloat(d.curCSS(a,"marginLeft",true))||0}return{top:b,left:e}},setOffset:function(a,b,e){if(/static/.test(d.curCSS...
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,e=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;e+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:e}},setOffset:function(a,b,e){if(/static/.test(c.curCSS...
d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,e=a.offsetLeft;d.offset.initialize();if(d.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(d.curCSS(a,"marginTop",true))||0;e+=parseFloat(d.curCSS(a,"marginLeft",true))||0}return{top:b,left:e}},setOffset:function(a,b,e){if(/static/.test(d.curCSS...
context.filters.push(function (item) this._match(v, item[k]));
context.filters.push(function (item) this._match(v, item[k] || ""));
completion.bookmark = function bookmark(context, tags, extra) { context.title = ["Bookmark", "Title"]; context.format = bookmarks.format; for (let val in Iterator(extra || [])) { let [k, v] = val; // Need block scope here for the closure if (v) ...
bookmarkDescription: function (item, text)
bookmarkDescription: function (item, text, filter)
bookmarkDescription: function (item, text) <> <a href={item.item.url} highlight="URL">{text}</a>&#160; { !(item.extra && item.extra.length) ? "" : <span class="extra-info"> ({ template.map(item.extra, function (e) <>{e[0]}: ...
<a href={item.item.url} highlight="URL">{text}</a>&#160;
<a href={item.item.url} highlight="URL">({template.highlightFilter(text, filter)})</a>&#160;
bookmarkDescription: function (item, text) <> <a href={item.item.url} highlight="URL">{text}</a>&#160; { !(item.extra && item.extra.length) ? "" : <span class="extra-info"> ({ template.map(item.extra, function (e) <>{e[0]}: ...
if (g_IsIE)
if (g_IsIE) {
function Borehole_parseXmlElement(pBoreholeNode) { var nodeBorehole = pBoreholeNode; if (g_IsIE) nodeBorehole.setProperty("SelectionLanguage", "XPath"); /** * Sample XML fragment for updateCSWRecords gsml:borehole node - * * <gsml:Borehole gml:id="nvcl_core.4"> * <gml:metaDataProperty xlink:href="http://nv...
}
function Borehole_parseXmlElement(pBoreholeNode) { var nodeBorehole = pBoreholeNode; if (g_IsIE) nodeBorehole.setProperty("SelectionLanguage", "XPath"); /** * Sample XML fragment for updateCSWRecords gsml:borehole node - * * <gsml:Borehole gml:id="nvcl_core.4"> * <gml:metaDataProperty xlink:href="http://nv...
document.stopObserving('readystatechange', checkReadyState);
document.detachEvent('readystatechange', checkReadyState);
browserAutoLoad: function(tests) { var timer; function fireContentLoadedEvent() { if (document.loaded) return; if (timer) window.clearTimeout(timer); document.loaded = true; if (Riot.requiredFiles.length > 0) { Riot.loadBrowserScripts(Riot.requiredFiles, tests); ...
timer = pollDoScroll.defer();
timer = setTimeout(pollDoScroll, 10);
browserAutoLoad: function(tests) { var timer; function fireContentLoadedEvent() { if (document.loaded) return; if (timer) window.clearTimeout(timer); document.loaded = true; if (Riot.requiredFiles.length > 0) { Riot.loadBrowserScripts(Riot.requiredFiles, tests); ...
document.observe('readystatechange', checkReadyState);
document.attachEvent('readystatechange', checkReadyState);
browserAutoLoad: function(tests) { var timer; function fireContentLoadedEvent() { if (document.loaded) return; if (timer) window.clearTimeout(timer); document.loaded = true; if (Riot.requiredFiles.length > 0) { Riot.loadBrowserScripts(Riot.requiredFiles, tests); ...
html += ' <li><span><strong>'+ elements[i] +'</strong>'+ ' <a href="#" class="deleteButton-'+ id +'" rel="'+ elements[i] +'" title="'+ options.removeLabel +'">'+ options.removeLabel +'</a></span>'+
html += ' <li class="oneLiner">'+ ' <p><input class="inputText dontSubmit inputField-'+ id +'" name="inputField-'+ id +'[]" type="text" value="'+ elements[i] +'" /></p>'+ ' <div class="buttonHolder">'+ ' <a href="#" class="button icon iconDelete iconOnly deleteButton-'+ id +'" rel="'+ elements[i] +'" title="'+ opti...
function build() { // init var var html = ''; // no items and message given? if(elements.length == 0 && options.emptyMessage != '') html = '<p class="helpTxt">'+ options.emptyMessage +'</p>'; // items available else { // start html html = '<ul>'; // loop elements for(v...
p.getChild([1,0,0,0,2]).unselectable();if(f==CKEDITOR.ELEMENT_MODE_REPLACE)p.insertAfter(e);else e.append(p);b.container=p;p.disableContextMenu();b.fireOnce('themeLoaded');b.fireOnce('uiReady');},buildDialog:function(b){var c=CKEDITOR.tools.getNextNumber(),d=CKEDITOR.dom.element.createFromHtml(['<div class="cke_editor_...
p.getChild([1,0,0,0,0]).unselectable();p.getChild([1,0,0,0,2]).unselectable();if(f==CKEDITOR.ELEMENT_MODE_REPLACE)p.insertAfter(e);else e.append(p);b.container=p;p.disableContextMenu();b.fireOnce('themeLoaded');b.fireOnce('uiReady');},buildDialog:function(b){var c=CKEDITOR.tools.getNextNumber(),d=CKEDITOR.dom.element.c...
p.getChild([1,0,0,0,2]).unselectable();if(f==CKEDITOR.ELEMENT_MODE_REPLACE)p.insertAfter(e);else e.append(p);b.container=p;p.disableContextMenu();b.fireOnce('themeLoaded');b.fireOnce('uiReady');},buildDialog:function(b){var c=CKEDITOR.tools.getNextNumber(),d=CKEDITOR.dom.element.createFromHtml(['<div class="cke_editor_...
'Start Netflix Movie Ratings Extractor (Includes IMDB Movie ' + 'Data Lookup)', startScript);
'Start Netflix Movie Ratings Extractor', startScript);
function buildGui() { // Add options to the Tools->Greasemonkey->User Script Commands menu. GM_registerMenuCommand( 'Start Netflix Movie Ratings Extractor (Includes IMDB Movie ' + 'Data Lookup)', startScript); GM_registerMenuCommand( 'Stop Netflix Mo...
'Stop Netflix Movie Ratings Extractor (Includes IMDB Movie ' + 'Data Lookup)', stopScript);
'Stop Netflix Movie Ratings Extractor', stopScript);
function buildGui() { // Add options to the Tools->Greasemonkey->User Script Commands menu. GM_registerMenuCommand( 'Start Netflix Movie Ratings Extractor (Includes IMDB Movie ' + 'Data Lookup)', startScript); GM_registerMenuCommand( 'Stop Netflix Mo...
if (document.getElementById('profilesmenu')) {
if (document.getElementById('profiles-menu')) {
function buildGui() { // Add options to the Tools->Greasemonkey->User Script Commands menu. GM_registerMenuCommand( 'Start Netflix Movie Ratings Extractor', startScript); GM_registerMenuCommand( 'Stop Netflix Movie Ratings Extractor', stopScript); // Create ...
if (g_IsIE)
if (g_IsIE) {
function Bushfire_parseXmlElement(pBushfireNode) { var nodeBushfire = pBushfireNode; if (g_IsIE) nodeBushfire.setProperty("SelectionLanguage", "XPath"); /** * Sample XML fragment for updateCSWRecords Geodesy station - * <gml:featureMember> * <esri:Modis48to72Hours-1604 gml:id="Modis48to72Hours-1604.1"> *...
}
function Bushfire_parseXmlElement(pBushfireNode) { var nodeBushfire = pBushfireNode; if (g_IsIE) nodeBushfire.setProperty("SelectionLanguage", "XPath"); /** * Sample XML fragment for updateCSWRecords Geodesy station - * <gml:featureMember> * <esri:Modis48to72Hours-1604 gml:id="Modis48to72Hours-1604.1"> *...
d&&d!=""?function(c){if(c=c||window.event)c.returnValue=d;return d}:null}var q=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},V=_$_FORM_OBJECTS_$_;m.button=function(d){return d.which?d.which==3?4:d.which==2...
W=_$_FORM_OBJECTS_$_;m.button=function(d){return d.which?d.which==3?4:d.which==2?2:1:m.isIE&&typeof d.button!="undefined"?d.button==2?4:d.button==4?2:1:typeof d.button!="undefined"?d.button==2?4:d.button==1?2:1:0};var da=[],A=[],la=_$_RELATIVE_URL_$_,P=false,ja=false,ga=false,K=null,L=null,X=null,Y=0,ha=false,Q=null,ba...
d&&d!=""?function(c){if(c=c||window.event)c.returnValue=d;return d}:null}var q=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},V=_$_FORM_OBJECTS_$_;m.button=function(d){return d.which?d.which==3?4:d.which==2...
function(d){if(d=d||window.event)d.returnValue=c;return c}:null}var k=this,h=_$_WT_CLASS_$_,s=0,A=0,H=null,E={object:null,sourceId:null,mimeType:null,dropOffsetX:null,dragOffsetY:null,dropTarget:null,objectPrevStyle:null,xy:null},Z=_$_FORM_OBJECTS_$_;h.button=function(c){return c.which?c.which==3?4:c.which==2?2:1:h.isI...
true;return"0"}function Y(c){window.onbeforeunload=c&&c!=""?function(d){if(d=d||window.event)d.returnValue=c;return c}:null}var k=this,h=_$_WT_CLASS_$_,s=0,A=0,H=null,E={object:null,sourceId:null,mimeType:null,dropOffsetX:null,dragOffsetY:null,dropTarget:null,objectPrevStyle:null,xy:null},Z=_$_FORM_OBJECTS_$_;h.button=...
function(d){if(d=d||window.event)d.returnValue=c;return c}:null}var k=this,h=_$_WT_CLASS_$_,s=0,A=0,H=null,E={object:null,sourceId:null,mimeType:null,dropOffsetX:null,dragOffsetY:null,dropTarget:null,objectPrevStyle:null,xy:null},Z=_$_FORM_OBJECTS_$_;h.button=function(c){return c.which?c.which==3?4:c.which==2?2:1:h.isI...
"";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,dropTarget:null,objectPrevStyle:null,xy:null},U=_$_FORM_OBJECTS_$_;o.button=function(d){return d.which?d.which==3?4:d.which==2?2:1:o.isIE&&typeof d.button!="...
dropTarget:null,objectPrevStyle:null,xy:null},T=_$_FORM_OBJECTS_$_;o.button=function(d){return d.which?d.which==3?4:d.which==2?2:1:o.isIE&&typeof d.button!="undefined"?d.button==2?4:d.button==4?2:1:typeof d.button!="undefined"?d.button==2?4:d.button==1?2:1:0};var ba=[],y=[],ka=_$_RELATIVE_URL_$_,P=false,ia=false,fa=fal...
"";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,dropTarget:null,objectPrevStyle:null,xy:null},U=_$_FORM_OBJECTS_$_;o.button=function(d){return d.which?d.which==3?4:d.which==2?2:1:o.isIE&&typeof d.button!="...
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=d&&d!=""?function(c){if(c=c||window.event)c.returnValue=d;return d}:null}var q=this,n=_$_WT_CLASS_$_,N=...
J=0,O=null,aa={object:null,sourceId:null,mimeType:null,dropOffsetX:null,dragOffsetY:null,dropTarget:null,objectPrevStyle:null,xy:null},V=_$_FORM_OBJECTS_$_;n.button=function(d){return d.which?d.which==3?4:d.which==2?2:1:n.isIE&&typeof d.button!="undefined"?d.button==2?4:d.button==4?2:1:typeof d.button!="undefined"?d.bu...
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=d&&d!=""?function(c){if(c=c||window.event)c.returnValue=d;return d}:null}var q=this,n=_$_WT_CLASS_$_,N=...
I=P.getParent();if(!P.getPrevious())P.remove().insertBefore(I);else if(!P.getNext())P.remove().insertAfter(I);else{P.breakParent(P.getParent());O.push(P.getNext());}if(!I.getCustomData('blockquote_processed')){O.push(I);h.setMarker(K,I,'blockquote_processed',true);}N.push(P);}h.clearAllMarkers(K);for(E=O.length-1;E>=0;...
if(!y.equals(G))D.push(y);G=y;}while(D.length>0){y=D.shift();if(y.getName()=='blockquote'){var H=new d.documentFragment(p.document);while(y.getFirst()){H.append(y.getFirst().remove());z.push(H.getLast());}H.replace(y);}else z.push(y);}var I=p.document.createElement('blockquote');I.insertBefore(z[0]);while(z.length>0){y...
I=P.getParent();if(!P.getPrevious())P.remove().insertBefore(I);else if(!P.getNext())P.remove().insertAfter(I);else{P.breakParent(P.getParent());O.push(P.getNext());}if(!I.getCustomData('blockquote_processed')){O.push(I);h.setMarker(K,I,'blockquote_processed',true);}N.push(P);}h.clearAllMarkers(K);for(E=O.length-1;E>=0;...
typeof u=="string"}function C(j){if(j.substr(0,1)=="/")return r+j;if(j.substr(0,1)=="."||!j.match(/^\s*\w+:\/\
n.addEventListener("click",function(){n.play()},false)})})}function B(j,n,u){return u||k[j][n.split(".").slice(-1)[0]]||F[j]}function y(j,n){var u=j.getAttribute(n);return u==true||typeof u=="string"}function C(j){if(j.substr(0,1)=="/")return r+j;if(j.substr(0,1)=="."||!j.match(/^\s*\w+:\/\
typeof u=="string"}function C(j){if(j.substr(0,1)=="/")return r+j;if(j.substr(0,1)=="."||!j.match(/^\s*\w+:\/\//))return w+j;return j}function A(j,n,u){var x=j.getAttribute(n);if(x)return x+"px";if(j.currentStyle)j=j.currentStyle[n];else if(z.getComputedStyle)j=o.defaultView.getComputedStyle(j,null).getPropertyValue(n)...
WT_DECLARE_WT_MEMBER(1,"WSuggestionPopup",function(s,f,x,C,q,y,t){function c(a){return $(a).hasClass("Wt-suggest-onedit")||$(a).hasClass("Wt-suggest-dropdown")}function g(){return f.style.display!="none"}function d(){f.style.display="none"}function m(a){console.log("global"+t);e.positionAtWidget(f.id,a.id,e.Vertical,t)...
WT_DECLARE_WT_MEMBER(1,"WSuggestionPopup",function(s,f,w,C,q,x,y){function c(a){return $(a).hasClass("Wt-suggest-onedit")||$(a).hasClass("Wt-suggest-dropdown")}function g(){return f.style.display!="none"}function d(){f.style.display="none"}function m(a){e.positionAtWidget(f.id,a.id,e.Vertical,y)}function o(a){a=e.targe...
WT_DECLARE_WT_MEMBER(1,"WSuggestionPopup",function(s,f,x,C,q,y,t){function c(a){return $(a).hasClass("Wt-suggest-onedit")||$(a).hasClass("Wt-suggest-dropdown")}function g(){return f.style.display!="none"}function d(){f.style.display="none"}function m(a){console.log("global"+t);e.positionAtWidget(f.id,a.id,e.Vertical,t)...
WT_DECLARE_WT_MEMBER(2,"StdLayout.prototype.initResize",function(a,s,i){function p(e,k){if(e.offsetWidth>0)return e.offsetWidth;else{e=l.firstChild.rows[0];var m,n,r,u;r=n=0;for(u=e.childNodes.length;n<u;++n){m=e.childNodes[n];if(m.className!="Wt-vrh"){if(r==k)return m.offsetWidth;r+=m.colSpan}}return 0}}function c(e,k...
WT_DECLARE_WT_MEMBER(2,"StdLayout.prototype.initResize",function(a,s,h){function p(e,k){if(e.offsetWidth>0)return e.offsetWidth;else{e=l.firstChild.rows[0];var m,n,r,u;r=n=0;for(u=e.childNodes.length;n<u;++n){m=e.childNodes[n];if(m.className!="Wt-vrh"){if(r==k)return m.offsetWidth;r+=m.colSpan}}return 0}}function c(e,k...
WT_DECLARE_WT_MEMBER(2,"StdLayout.prototype.initResize",function(a,s,i){function p(e,k){if(e.offsetWidth>0)return e.offsetWidth;else{e=l.firstChild.rows[0];var m,n,r,u;r=n=0;for(u=e.childNodes.length;n<u;++n){m=e.childNodes[n];if(m.className!="Wt-vrh"){if(r==k)return m.offsetWidth;r+=m.colSpan}}return 0}}function c(e,k...
h.focus();q.emit(d,"select",a.id,h.id);y(h,e,b);k();f=null}function C(a,b){for(a=b?a.nextSibling:a.previousSibling;a;a=b?a.nextSibling:a.previousSibling)if(c.hasTag(a,"DIV"))if(a.style.display!="none")return a;return null}$(".Wt-domRoot").add(d);jQuery.data(d,"obj",this);var n=this,c=q.WT,l=null,f=null,u=false,v=null,w...
WT_DECLARE_WT_MEMBER(1,"WSuggestionPopup",function(q,d,A,B,r){function m(a){return $(a).hasClass("Wt-suggest-onedit")||$(a).hasClass("Wt-suggest-dropdown")}function t(){return d.style.display!="none"}function l(){d.style.display="none"}function C(a){c.positionAtWidget(d.id,a.id,c.Vertical)}function D(a){a=a||window.eve...
h.focus();q.emit(d,"select",a.id,h.id);y(h,e,b);k();f=null}function C(a,b){for(a=b?a.nextSibling:a.previousSibling;a;a=b?a.nextSibling:a.previousSibling)if(c.hasTag(a,"DIV"))if(a.style.display!="none")return a;return null}$(".Wt-domRoot").add(d);jQuery.data(d,"obj",this);var n=this,c=q.WT,l=null,f=null,u=false,v=null,w...
d}function f(){if(!document.activeElement){function d(e){if(e&&e.target)document.activeElement=e.target==document?null:e.target}function c(){document.activeElement=null}document.addEventListener("focus",d,true);document.addEventListener("blur",c,true)}m.history._initialize();T();if(!ga){ga=true;_$_ONLOAD_$_();P||(W=set...
"",false)}function a(){m.history._initTimeout();Y==0&&z(null,"none",null,false);X=setTimeout(a,_$_KEEP_ALIVE_$_000)}function b(d){if(!m.isIEMobile)document.title=d}function f(){if(!document.activeElement){function d(e){if(e&&e.target)document.activeElement=e.target==document?null:e.target}function c(){document.activeEl...
d}function f(){if(!document.activeElement){function d(e){if(e&&e.target)document.activeElement=e.target==document?null:e.target}function c(){document.activeElement=null}document.addEventListener("focus",d,true);document.addEventListener("blur",c,true)}m.history._initialize();T();if(!ga){ga=true;_$_ONLOAD_$_();P||(W=set...
x()}function U(d,c,e){var j=function(){var i=m.getElement(d);if(i){if(e)i.timer=setTimeout(i.tm,c);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},n=m.getElement(d);n.timer=setTimeout(j,c);n.tm=j}function M(d,c){setTimeout(function(){if(R[d]===true)c();else R[d]=c},20)}function G(d){if(R[d]!==true){typeof R[d]!=="...
arguments[n];i=i===false?0:i===true?1:i.toDateString?i.toDateString():i;e.args[n-2]=i}e.feedback=true;A[j]=B(e,j);y()}function V(d,c,e){var j=function(){var i=m.getElement(d);if(i){if(e)i.timer=setTimeout(i.tm,c);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},n=m.getElement(d);n.timer=setTimeout(j,c);n.tm=j}funct...
x()}function U(d,c,e){var j=function(){var i=m.getElement(d);if(i){if(e)i.timer=setTimeout(i.tm,c);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},n=m.getElement(d);n.timer=setTimeout(j,c);n.tm=j}function M(d,c){setTimeout(function(){if(R[d]===true)c();else R[d]=c},20)}function G(d){if(R[d]!==true){typeof R[d]!=="...
"",d=false,e=0;e<y.length;++e){d=d||y[e].feedback;c+=y[e].data}ga=y;y=[];return{feedback:d,result:c}}function z(){R=true;if(aa){clearTimeout(aa);aa=null}var c=$("#Wt-timers");c.size()>0&&h.setHtml(c.get(0),"",false)}function P(){h.history._initTimeout();ba==0&&u(null,"none",null,false);aa=setTimeout(P,_$_KEEP_ALIVE_$_0...
d+"rotation="+j.rotation;c.data=e;return c}function X(){for(var c="",d=false,e=0;e<y.length;++e){d=d||y[e].feedback;c+=y[e].data}ga=y;y=[];return{feedback:d,result:c}}function N(){R=true;if(aa){clearTimeout(aa);aa=null}var c=$("#Wt-timers");c.size()>0&&h.setHtml(c.get(0),"",false)}function z(){h.history._initTimeout();...
"",d=false,e=0;e<y.length;++e){d=d||y[e].feedback;c+=y[e].data}ga=y;y=[];return{feedback:d,result:c}}function z(){R=true;if(aa){clearTimeout(aa);aa=null}var c=$("#Wt-timers");c.size()>0&&h.setHtml(c.get(0),"",false)}function P(){h.history._initTimeout();ba==0&&u(null,"none",null,false);aa=setTimeout(P,_$_KEEP_ALIVE_$_0...
document.location;ma=true}}else{var c,d,e,j="&rand="+Math.round(Math.random(na)*1E5);if(y.length>0){c=X();d=c.feedback?setTimeout(f,_$_INDICATOR_TIMEOUT_$_):null;e=false}else{c={result:"&signal=poll"};d=null;e=true}if(I.socket!=null&&I.socket.readyState==1){F=null;d!=null&&clearTimeout(d);e||I.socket.send(c.result+"&ac...
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){va...
document.location;ma=true}}else{var c,d,e,j="&rand="+Math.round(Math.random(na)*1E5);if(y.length>0){c=X();d=c.feedback?setTimeout(f,_$_INDICATOR_TIMEOUT_$_):null;e=false}else{c={result:"&signal=poll"};d=null;e=true}if(I.socket!=null&&I.socket.readyState==1){F=null;d!=null&&clearTimeout(d);e||I.socket.send(c.result+"&ac...
V=setTimeout(e,_$_KEEP_ALIVE_$_000)}function k(d){if(!o.isIEMobile)document.title=d}function i(){if(!document.activeElement){function d(f){if(f&&f.target)document.activeElement=f.target==document?null:f.target}function c(){document.activeElement=null}document.addEventListener("focus",d,true);document.addEventListener("...
f.target)document.activeElement=f.target==document?null:f.target}function c(){document.activeElement=null}document.addEventListener("focus",d,true);document.addEventListener("blur",c,true)}o.history._initialize();aa();if(!fa){fa=true;_$_ONLOAD_$_();P||(V=setTimeout(e,_$_KEEP_ALIVE_$_000))}}function n(d){clearTimeout(d)...
V=setTimeout(e,_$_KEEP_ALIVE_$_000)}function k(d){if(!o.isIEMobile)document.title=d}function i(){if(!document.activeElement){function d(f){if(f&&f.target)document.activeElement=f.target==document?null:f.target}function c(){document.activeElement=null}document.addEventListener("focus",d,true);document.addEventListener("...
if(g!=null)f.className=g}}if(c.dropTarget)if(c.dropTarget.handleDragDrop)c.dropTarget.handleDragDrop("drag",c.object,d,"",m);else c.object.className="Wt-valid-drop";o.cancelEvent(d);return false}return true}function C(d){o.capture(null);var c=Y;if(c.object){if(c.dropTarget){var f=c.dropTarget.getAttribute("dos");if(f!=...
d}function q(d){if(d)window.execScript?window.execScript(d):window.eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function C(d,c,f){if(!P){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();q(c);_$_$ifnot_DEBUG_$_()}catch(k){alert("Wt internal error: "+k+", code: "+k.code+", description: "+k.description)}_$_$endif_$_();f&&...
if(g!=null)f.className=g}}if(c.dropTarget)if(c.dropTarget.handleDragDrop)c.dropTarget.handleDragDrop("drag",c.object,d,"",m);else c.object.className="Wt-valid-drop";o.cancelEvent(d);return false}return true}function C(d){o.capture(null);var c=Y;if(c.object){if(c.dropTarget){var f=c.dropTarget.getAttribute("dos");if(f!=...
c.object.style.left=c.objectPrevStyle.left;c.object.style.top=c.objectPrevStyle.top;c.object.className=c.objectPrevStyle.className;c.object=null}}function T(d,c){var f,j;j=d.event;c=c>0?"&e"+c:"&";f=c+"signal="+d.signal;if(d.id){f+=c+"id="+d.id+c+"name="+encodeURIComponent(d.name)+c+"an="+d.args.length;for(var m=0;m<d....
c.object.style.left=c.objectPrevStyle.left;c.object.style.top=c.objectPrevStyle.top;c.object.className=c.objectPrevStyle.className;c.object=null}}function T(d,c){var f,j;j=d.event;c=c>0?"&e"+c:"&";f=c+"signal="+d.signal;if(d.id){f+=c+"id="+d.id+c+"name="+encodeURIComponent(d.name)+c+"an="+d.args.length;for(var m=0;m<d....
c.object,d,"",m);else c.object.className="Wt-valid-drop";o.cancelEvent(d);return false}return true}function C(d){o.capture(null);var c=Y;if(c.object){if(c.dropTarget){var f=c.dropTarget.getAttribute("dos");if(f!=null)c.dropTarget.className=f;c.dropTarget.handleDragDrop?c.dropTarget.handleDragDrop("drop",c.object,d,c.so...
d+=A[e].data}da=A;A=[];return{feedback:c,result:d}}function Y(){P=true;if(W){clearTimeout(W);W=null}var d=$("#Wt-timers");d.size()>0&&n.setHtml(d.get(0),"",false)}function a(){n.history._initTimeout();X==0&&y(null,"none",null,false);W=setTimeout(a,_$_KEEP_ALIVE_$_000)}function b(d){if(!n.isIEMobile)document.title=d}fun...
e.target==document?null:e.target}function c(){document.activeElement=null}document.addEventListener("focus",d,true);document.addEventListener("blur",c,true)}n.history._initialize();T();if(!ga){ga=true;_$_ONLOAD_$_();P||(W=setTimeout(a,_$_KEEP_ALIVE_$_000))}}function h(d){clearTimeout(d);document.body.style.cursor="auto...
d+=A[e].data}da=A;A=[];return{feedback:c,result:d}}function Y(){P=true;if(W){clearTimeout(W);W=null}var d=$("#Wt-timers");d.size()>0&&n.setHtml(d.get(0),"",false)}function a(){n.history._initTimeout();X==0&&y(null,"none",null,false);W=setTimeout(a,_$_KEEP_ALIVE_$_000)}function b(d){if(!n.isIEMobile)document.title=d}fun...
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.read...
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=...
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.read...
t&&t.setup&&t.setup(r,true);}};var n={},o=[];return{title:d.lang.div.title,minWidth:400,minHeight:165,contents:[{id:'info',label:d.lang.common.generalTab,title:d.lang.common.generalTab,elements:[{type:'hbox',widths:['50%','50%'],children:[{id:'elementStyle',type:'select',style:'width: 100%;',label:d.lang.div.styleSelec...
t&&t.setup&&t.setup(r,true);}};var n={},o=[];return{title:d.lang.div.title,minWidth:400,minHeight:165,contents:[{id:'info',label:d.lang.common.generalTab,title:d.lang.common.generalTab,elements:[{type:'hbox',widths:['50%','50%'],children:[{id:'elementStyle',type:'select',style:'width: 100%;',label:d.lang.div.styleSelec...
(function(){function a(d,e,f){if(!e.is||!e.getCustomData('block_processed')){e.is&&CKEDITOR.dom.element.setMarker(f,e,'block_processed',true);d.push(e);}};function b(d){var e=[],f=d.getChildren();for(var g=0;g<f.count();g++){var h=f.getItem(g);if(!(h.type===CKEDITOR.NODE_TEXT&&/^[ \t\n\r]+$/.test(h.getText())))e.push(h...
null}}function r(){document.body.style.cursor="wait";X=hideLoadingIndicator;showLoadingIndicator()}function t(d){ea=d}function C(d){if(d)if(window.execScript)window.execScript(d);else with(window)eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function D(d,c,e){if(!ba){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();C(c)...
var _$_WT_CLASS_$_=new (function(){function x(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(D!=null){if(!a)a=window.event;k.condCall(D,"onmousemove",a);return false}els...
null}}function r(){document.body.style.cursor="wait";X=hideLoadingIndicator;showLoadingIndicator()}function t(d){ea=d}function C(d){if(d)if(window.execScript)window.execScript(d);else with(window)eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function D(d,c,e){if(!ba){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();C(c)...
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==="un...
(function(){var u="http: 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 ...
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==="un...
J>=0;J--)v(G[J]);if(I)x(I,true);else if(H)H.remove();}else if(F instanceof h){var K=F.getParent();if(K.getChildCount()==1)K.remove();else F.remove();}};function w(F){var G=F.getBogus();G&&G.remove();F.trim();};function x(F,G){var H=new d.range(F.getDocument());if(!H['moveToElementEdit'+(G?'End':'Start')](F)){H.selectNo...
J<F.length;J++){var K=F[J];if(typeof H=='undefined')I.push(K[G]);else if(H.is&&K[G]==H.$)return J;else if(J==H)return new h(K[G]);}return typeof H=='undefined'?I:H.is?-1:null;};function B(F,G,H){var I=n(F),J;if((G?I.length!=1:I.length<2)||(J=F.getCommonAncestor())&&J.type==1&&J.is('table'))return false;var K,L=I[0],M=L...
J>=0;J--)v(G[J]);if(I)x(I,true);else if(H)H.remove();}else if(F instanceof h){var K=F.getParent();if(K.getChildCount()==1)K.remove();else F.remove();}};function w(F){var G=F.getBogus();G&&G.remove();F.trim();};function x(F,G){var H=new d.range(F.getDocument());if(!H['moveToElementEdit'+(G?'End':'Start')](F)){H.selectNo...
a);g.firedTarget=null}else g.condCall(b,"onmousemove",a);return S=false}else return true}function T(a){var b=t(a);g.capture(null);if(b){if(!a)a=window.event;if(g.isIE){g.firedTarget=a.srcElement||b;b.fireEvent("onmouseup",a);g.firedTarget=null}else g.condCall(b,"onmouseup",a);g.cancelEvent(a,g.CancelPropagate);return f...
a);g.firedTarget=null}else g.condCall(b,"onmousemove",a);return S=false}else return true}function T(a){var b=u(a);g.capture(null);if(b){if(!a)a=window.event;if(g.isIE){g.firedTarget=a.srcElement||b;b.fireEvent("onmouseup",a);g.firedTarget=null}else g.condCall(b,"onmouseup",a);g.cancelEvent(a,g.CancelPropagate);return f...
a);g.firedTarget=null}else g.condCall(b,"onmousemove",a);return S=false}else return true}function T(a){var b=t(a);g.capture(null);if(b){if(!a)a=window.event;if(g.isIE){g.firedTarget=a.srcElement||b;b.fireEvent("onmouseup",a);g.firedTarget=null}else g.condCall(b,"onmouseup",a);g.cancelEvent(a,g.CancelPropagate);return f...
case 'perc':
var calcMiddle = function(clef, oct) { var mid = 0; switch(clef) { case 'treble': case 'none': case 'treble+8': case 'treble-8': break; case 'bass3': case 'bass': case 'bass+8': case 'bass-8': case 'bass+16': case 'bass-16': mid = -12; break; case 'tenor': mid = -8; break; case...