rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
} this.adjusting = false; });
layouts.push(layout); }; this.adjust = function(id) { if (id) { var layout=$('#' + id).get(0); if (layout) layout.dirty = true; return; } if (adjusting) return; adjusting = true; for (i=0;i < layouts.length; ++i) { var layout = layouts[i]; if (!layout.adjust()) { this.WT.arrayRemove(layouts, i); --i; } } adjusting = false; }; }) ()
function(id) { if (id) { var layout=$('#' + id).get(0); if (layout) layout.dirty = true; return; } if (this.adjusting) return; this.adjusting = true; var i; for (i=0;i < this.layouts.length; ++i) { var layout = this.layouts[i]; if (!layout.adjust()) { this.WT.arrayRemove(this.layouts, i); --i; } } this.adjusting = false; });
}).delay(100);
}).delay(200);
(function(){ success.start("opacity", 0); }).delay(100);
return this.each(function(){var self=this;$(self).attr("original",$(self).attr("src"));if("scroll"!=settings.event||$.belowthefold(self,settings)||$.rightoffold(self,settings)){if(settings.placeholder){$(self).attr("src",settings.placeholder);}else{$(self).removeAttr("src");}
this.each(function(){var self=this;if(undefined==$(self).attr("original")){$(self).attr("original",$(self).attr("src"));} if("scroll"!=settings.event||undefined==$(self).attr("src")||settings.placeholder==$(self).attr("src")||($.abovethetop(self,settings)||$.leftofbegin(self,settings)||$.belowthefold(self,settings)||$.rightoffold(self,settings))){if(settings.placeholder){$(self).attr("src",settings.placeholder);}else{$(self).removeAttr("src");}
return this.each(function(){var self=this;$(self).attr("original",$(self).attr("src"));if("scroll"!=settings.event||$.belowthefold(self,settings)||$.rightoffold(self,settings)){if(settings.placeholder){$(self).attr("src",settings.placeholder);}else{$(self).removeAttr("src");}self.loaded=false;}else{self.loaded=true;}$(self).one("appear",function(){if(!this.loaded){$("<img />").attr("src",$(self).attr("original")).bind("load",function(){$(self).hide().attr("src",$(self).attr("original"))[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.threshold;};$.rightoffold=function(element,settings){var fold=$(window).width()+$(window).scrollLeft();return fold<=$(element).offset().left-settings.threshold;};$.extend($.expr[':'],{"below-the-fold":"$.belowthefold(a, {threshold : 0})","above-the-fold":"!$.belowthefold(a, {threshold : 0})","right-of-fold":"$.rightoffold(a, {threshold : 0})","left-of-fold":"!$.rightoffold(a, {threshold : 0})"});})(jQuery);
$(self).one("appear",function(){if(!this.loaded){$("<img />").attr("src",$(self).attr("original")).bind("load",function(){$(self).hide().attr("src",$(self).attr("original")) [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.threshold;};$.rightoffold=function(element,settings){var fold=$(window).width()+$(window).scrollLeft();return fold<=$(element).offset().left-settings.threshold;};$.extend($.expr[':'],{"below-the-fold":"$.belowthefold(a, {threshold : 0})","above-the-fold":"!$.belowthefold(a, {threshold : 0})","right-of-fold":"$.rightoffold(a, {threshold : 0})","left-of-fold":"!$.rightoffold(a, {threshold : 0})"});})(jQuery);
$(self).one("appear",function(){if(!this.loaded){$("<img />").bind("load",function(){$(self).hide().attr("src",$(self).attr("original")) [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,settings){if(settings.container===undefined||settings.container===window){var fold=$(window).height()+$(window).scrollTop();}else{var fold=$(settings.container).offset().top+$(settings.container).height();}
return this.each(function(){var self=this;$(self).attr("original",$(self).attr("src"));if("scroll"!=settings.event||$.belowthefold(self,settings)||$.rightoffold(self,settings)){if(settings.placeholder){$(self).attr("src",settings.placeholder);}else{$(self).removeAttr("src");}self.loaded=false;}else{self.loaded=true;}$(self).one("appear",function(){if(!this.loaded){$("<img />").attr("src",$(self).attr("original")).bind("load",function(){$(self).hide().attr("src",$(self).attr("original"))[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.threshold;};$.rightoffold=function(element,settings){var fold=$(window).width()+$(window).scrollLeft();return fold<=$(element).offset().left-settings.threshold;};$.extend($.expr[':'],{"below-the-fold":"$.belowthefold(a, {threshold : 0})","above-the-fold":"!$.belowthefold(a, {threshold : 0})","right-of-fold":"$.rightoffold(a, {threshold : 0})","left-of-fold":"!$.rightoffold(a, {threshold : 0})"});})(jQuery);
G;++C){A=y.childNodes[C];if(A.className=="Wt-vrh"){A.ci=E-1;A.onmousedown=function(c){k(this,this.ci,c||window.event)}}else E+=A.colSpan}++x}}p.resizeInitialized=true}});WT_DECLARE_APP_MEMBER(1,"layouts",[]);WT_DECLARE_APP_MEMBER(2,"layoutsAdjust",function(a){if(a){if(a=$("#"+a).get(0))a.dirty=true}else if(!this.adjusting){this.adjusting=true;var s;for(s=0;s<this.layouts.length;++s){a=this.layouts[s];if(!a.adjust()){this.WT.arrayRemove(this.layouts,s);--s}}this.adjusting=false}});
WT_DECLARE_APP_MEMBER(1,"layouts",new (function(){var a=[],u=false;this.add=function(h){var t,b;t=0;for(b=a.length;t<b;++t)if(a[t].getId()==h.getId()){a[t]=h;return}a.push(h)};this.adjust=function(h){if(h){if(h=$("#"+h).get(0))h.dirty=true}else if(!u){u=true;for(i=0;i<a.length;++i){h=a[i];if(!h.adjust()){this.WT.arrayRemove(a,i);--i}}u=false}}}));
G;++C){A=y.childNodes[C];if(A.className=="Wt-vrh"){A.ci=E-1;A.onmousedown=function(c){k(this,this.ci,c||window.event)}}else E+=A.colSpan}++x}}p.resizeInitialized=true}});WT_DECLARE_APP_MEMBER(1,"layouts",[]);WT_DECLARE_APP_MEMBER(2,"layoutsAdjust",function(a){if(a){if(a=$("#"+a).get(0))a.dirty=true}else if(!this.adjusting){this.adjusting=true;var s;for(s=0;s<this.layouts.length;++s){a=this.layouts[s];if(!a.adjust()){this.WT.arrayRemove(this.layouts,s);--s}}this.adjusting=false}});
$("input[type='text']", $element).each(function(){ this.setAttribute('value', $(this).val());
$(":checked", $element).each(function () { this.setAttribute('checked', 'checked');
$("input[type='text']", $element).each(function(){ this.setAttribute('value', $(this).val()); });
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!=
x){x=G;j(G)}},50);H=true;w!=null&&w()}}function n(){if(!q){var l=a(),p=history.length;F&&clearInterval(F);F=setInterval(function(){var r,x;r=a();x=history.length;if(r!==l){l=r;p=x;e(l);b()}else if(x!==p&&u){l=r;p=x;r=L[p-1];e(r);b()}},50)}}function J(){var l;l=E.value.split("|");if(l.length>1){K=l[0];D=l[1]}if(l.length>2)L=l[2].split(",");if(q)i();else{n();H=true;w!=null&&w()}}var u=false,q=false,C=false,w=null,z=null,E=null,H=false,F=null,L=[],K,D,M=function(){};return{onReady:function(l){if(H)setTimeout(function(){l()},
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!=
logstash.params[key] = value
logstash.params[key] = unescape(value)
$("a.pager").live("click", function() { var href = $(this).attr("href"); var params = href.replace(/^[^?]*\?/, "").split("&") for (var p in params) { var a = params[p].split("="); var key = a[0] var value = a[1] logstash.params[key] = value } logstash.search(logstash.params.q) return false; });
WT_DECLARE_APP_MEMBER(1,"layouts",new (function(){var a=[],t=false;this.add=function(i){var o,d;o=0;for(d=a.length;o<d;++o)if(a[o].getId()==i.getId()){a[o]=i;return}a.push(i)};this.adjust=function(i){if(i){if(i=$("#"+i).get(0))i.dirty=true}else if(!t){t=true;for(var o=0;o<a.length;++o){i=a[o];if(!i.adjust()){i.WT.arrayRemove(a,o);--o}}t=false}}}));
WT_DECLARE_APP_MEMBER(1,"layouts",new (function(){var a=[],s=false;this.add=function(i){var p,c;p=0;for(c=a.length;p<c;++p)if(a[p].getId()==i.getId()){a[p]=i;return}a.push(i)};this.adjust=function(i){if(i){if(i=$("#"+i).get(0))i.dirty=true}else if(!s){s=true;for(var p=0;p<a.length;++p){i=a[p];if(!i.adjust()){i.WT.arrayRemove(a,p);--p}}s=false}}}));
WT_DECLARE_APP_MEMBER(1,"layouts",new (function(){var a=[],t=false;this.add=function(i){var o,d;o=0;for(d=a.length;o<d;++o)if(a[o].getId()==i.getId()){a[o]=i;return}a.push(i)};this.adjust=function(i){if(i){if(i=$("#"+i).get(0))i.dirty=true}else if(!t){t=true;for(var o=0;o<a.length;++o){i=a[o];if(!i.adjust()){i.WT.arrayRemove(a,o);--o}}t=false}}}));
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,
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)}}
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,
this.sorts.serialize(function(ele,pos){ if (ele.retrieve("order") != pos){ order.push(ele.retrieve("pid")+"|"+pos); ele.store("order", pos);
this.sorts.serialize(function(li,pos){ if (li == ele && ele.retrieve("order") != pos){ order.push(ele.retrieve("pid")+"|"+pos)
this.sorts.serialize(function(ele,pos){ if (ele.retrieve("order") != pos){ order.push(ele.retrieve("pid")+"|"+pos); ele.store("order", pos); } });
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,
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=
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,
callback = isClick ? function() { evt.type = "change"; fire.trigger(evt, [val]); } : null;
$.each("name,readonly,disabled".split(","), function(i, attr) { tmp.attr(attr, input.attr(attr)); });
callback = isClick ? function() { evt.type = "change"; fire.trigger(evt, [val]); } : null;
$(document).ready(function() { DeckViewerUI.init(); $("#prev a").click(function() { DeckViewerUI.previous(); }); $(document).bind('keydown', 'left', function(){ DeckViewerUI.previous(); return false; }); $("#next a").click(function() { DeckViewerUI.next(); }); $(document).bind('keydown', 'right', function(){ DeckViewerUI.next(); return false; }); $("div#row_body").click(function() { DeckViewerUI.showAnswer(); }); $(document).bind('keydown', 'space', function(){ DeckViewerUI.showAnswer(); return false; }); if(MODE == MODE_LEARN) { $(document).bind('keydown', '1', function() { DeckViewerUI.rts.eltEasy.click(); return false; }); $(document).bind('keydown', '2', function() { DeckViewerUI.rts.eltMedium.click(); return false; }); $(document).bind('keydown', '3', function() { DeckViewerUI.rts.eltHard.click(); return false; }); $("input#show_ans_chk").click(function() { DeckViewerUI.showAnswerToggle(); }); } else if(MODE == MODE_QUIZ) { $(document).bind('keydown', 'up', function() { DeckViewerUI.corBtn.elt.click(); return false; }); $(document).bind('keydown', 'down', function() { DeckViewerUI.incBtn.elt.click(); return false; }); } });
$(document).unbind('keydown', 'space', function(){ DeckViewerUI.showAnswer(); return false; });
$(document).ready(function() { // Start DeckViewerUI.init(); /** * Bind event handlers * Bind keyboard events */ // Next/previous button $("#prev a").click(function() { DeckViewerUI.previous(); }); $(document).bind('keydown', 'left', function(){ DeckViewerUI.previous(); return false; }); $("#next a").click(function() { DeckViewerUI.next(); }); $(document).bind('keydown', 'right', function(){ DeckViewerUI.next(); return false; }); // Reveal answer click $("div#row_body").click(function() { DeckViewerUI.showAnswer(); }); $(document).bind('keydown', 'space', function(){ DeckViewerUI.showAnswer(); return false; }); // Key bindings for learn/quiz mode if(MODE == MODE_LEARN) { // Easy-medium-hard buttons $(document).bind('keydown', '1', function() { DeckViewerUI.rts.eltEasy.click(); return false; }); $(document).bind('keydown', '2', function() { DeckViewerUI.rts.eltMedium.click(); return false; }); $(document).bind('keydown', '3', function() { DeckViewerUI.rts.eltHard.click(); return false; }); // Handler for 'Show Answer' checkbox $("input#show_ans_chk").click(function() { DeckViewerUI.showAnswerToggle(); }); } else if(MODE == MODE_QUIZ) { // Bind effects to up/down buttons $(document).bind('keydown', 'up', function() { DeckViewerUI.corBtn.elt.click(); return false; }); $(document).bind('keydown', 'down', function() { DeckViewerUI.incBtn.elt.click(); return false; }); } }); // end $(document).ready(function()
fx.start(obj);
if(!(Browser.Engine.trident && Browser.Engine.version == 5)) { fx.start(obj); }
roomgroups.each( function (roomgroup,i) { var rooms = roomgroup.getElements('.room'); var fx = new Fx.Elements(rooms, {link:'cancel', duration: 500, transition: roomTransition.easeOut }); rooms.each( function(door, i){ var request; door.addEvent('mouseenter', function(e){ if (room.rid == 0) { //adjust width of room to be wide var obj = {}; obj[i] = {'width': [door.getStyle('width').toInt(), 219]}; rooms.each(function(otherRoom, j){ if (otherRoom != door){ var w = otherRoom.getStyle('width').toInt(); if (w != 67) obj[j] = {'width': [w, 67]}; } }); fx.start(obj); // Set up online list for this room MBchat.updateables.online.show(door.get('id').substr(1).toInt()); } else { displayErrorMessage('Debug - MouseEnter in Room'); } }); door.addEvent('mouseleave', function(e){ var obj = {}; rooms.each(function(other, j){ obj[j] = {'width': [other.getStyle('width').toInt(), 105]}; }); fx.start(obj); if(room.rid == 0 ) { MBchat.updateables.online.show(0); } }); door.addEvent('click', function(e) { e.stop(); //browser should not follow link if((e.control || e.shift) && (me.role == 'A' || me.role == 'L' || room.hasClass('committee'))) { MBchat.updateables.logger.startLog(door.get('id').substr(1).toInt(),door.get('text')); } else { MBchat.updateables.message.enterRoom(door.get('id').substr(1).toInt()); } }); }); });
ret.accidentals.each(function(acc) { if (retClef.token === 'bass') { if (acc.note === 'C') acc.note = 'c'; if (acc.note === 'D' && acc.acc !== 'flat') acc.note = 'd'; if (acc.note === 'E' && acc.acc !== 'flat') acc.note = 'e'; if (acc.note === 'F' && acc.acc !== 'flat') acc.note = 'f'; if (acc.note === 'G' && acc.acc !== 'flat') acc.note = 'g'; } else { if (acc.note === 'a') acc.note = 'A'; if (acc.note === 'b') acc.note = 'B'; if (acc.note === 'C') acc.note = 'c'; }
key.accidentals.each(function(acc) { acc.verticalPos += 7;
ret.accidentals.each(function(acc) { if (retClef.token === 'bass') { //if (acc.note === 'A') acc.note = 'a'; //if (acc.note === 'B') acc.note = 'b'; if (acc.note === 'C') acc.note = 'c'; if (acc.note === 'D' && acc.acc !== 'flat') acc.note = 'd'; if (acc.note === 'E' && acc.acc !== 'flat') acc.note = 'e'; if (acc.note === 'F' && acc.acc !== 'flat') acc.note = 'f'; if (acc.note === 'G' && acc.acc !== 'flat') acc.note = 'g'; } else { if (acc.note === 'a') acc.note = 'A'; if (acc.note === 'b') acc.note = 'B'; if (acc.note === 'C') acc.note = 'c'; } });
$.each(instances, function() { this.hide();
$(window).bind("click.dp", function(e) { var el = e.target; if (!$(el).parents("#" + css.root).length && el != input[0] && el != trigger[0]) { self.hide(); }
$.each(instances, function() { this.hide(); });
e.fireEvent){e.attachEvent("onclick",function q(){d.support.noCloneEvent=false;e.detachEvent("onclick",q)});e.cloneNode(true).fireEvent("onclick")}d(function(){var q=r.createElement("div");q.style.width=q.style.paddingLeft="1px";r.body.appendChild(q);d.boxModel=d.support.boxModel=q.offsetWidth===2;r.body.removeChild(q).style.display="none"});a=function(q){var p=r.createElement("div");q="on"+q;var o=q in p;if(!o){p.setAttribute(q,"return;");o=typeof p[q]==="function"}return o};d.support.submitBubbles=
e.fireEvent){e.attachEvent("onclick",function q(){c.support.noCloneEvent=false;e.detachEvent("onclick",q)});e.cloneNode(true).fireEvent("onclick")}c(function(){var q=r.createElement("div");q.style.width=q.style.paddingLeft="1px";r.body.appendChild(q);c.boxModel=c.support.boxModel=q.offsetWidth===2;r.body.removeChild(q).style.display="none"});a=function(q){var p=r.createElement("div");q="on"+q;var o=q in p;if(!o){p.setAttribute(q,"return;");o=typeof p[q]==="function"}return o};c.support.submitBubbles=
e.fireEvent){e.attachEvent("onclick",function q(){d.support.noCloneEvent=false;e.detachEvent("onclick",q)});e.cloneNode(true).fireEvent("onclick")}d(function(){var q=r.createElement("div");q.style.width=q.style.paddingLeft="1px";r.body.appendChild(q);d.boxModel=d.support.boxModel=q.offsetWidth===2;r.body.removeChild(q).style.display="none"});a=function(q){var p=r.createElement("div");q="on"+q;var o=q in p;if(!o){p.setAttribute(q,"return;");o=typeof p[q]==="function"}return o};d.support.submitBubbles=
function () { commandline.open(":", "moveto ", modes.EX); });
function () { commandline.open(":", "goto ", modes.EX); });
function () { commandline.open(":", "moveto ", modes.EX); });
whisper.addEvent('keydown',function(e) { if(!e.alt) return; switch (e.key) { case 'p' : if (!(room.type == 'M' && (me.is('M') || me.is('S')))) { e.stop(); var boundPrivateBox = goPrivate.bind(privateBox); boundPrivateBox(); } break; case 's' : e.stop(); whisperSubmit(whisper,wid); break; case 'x' : e.stop(); leaveWhisper.transmit({'wid': wid}); break; default: break; } });
if (whisperBoxes.every(function(whisperBox,i) { var widStr = whisperBox.get('id'); var whisperers = whisperBox.getElement('.whisperList').getChildren(); if (whisperers.length == 1) { if (whisperers[0].get('id').substr(widStr.length+1).toInt() == user.uid) { this.start(whisperBox.getCoordinates()); if(activeWb) { activeWb.removeClass('wBactive'); } activeWb = whisperBox; whisperBox.addClass('wBactive'); whisperBox.getElement('.whisperInput').focus(); return false; } } return true; }, dragReturn)){
whisper.addEvent('keydown',function(e) { if(!e.alt) return; switch (e.key) { case 'p' : if (!(room.type == 'M' && (me.is('M') || me.is('S')))) { e.stop(); var boundPrivateBox = goPrivate.bind(privateBox); boundPrivateBox(); } break; case 's' : e.stop(); whisperSubmit(whisper,wid); break; case 'x' : e.stop(); leaveWhisper.transmit({'wid': wid}); break; default: break; } });
function (count) { buffer._scrollByScrollSize(count, false); },
function (count) { buffer.scrollPages(-Math.max(count, 1)); },
function (count) { buffer._scrollByScrollSize(count, false); },
_obj.each(function (i) { this.id = this.id + "_copy"; $(this).find("li").each(function () { this.id = this.id + "_copy"; }); $(this).removeClass("dragged").find("a.clicked").removeClass("clicked").end().find("li.dragged").removeClass("dragged");
what.each(function (i) { if(i == 0) return; if(tmp) { tmp = _this.moved(this, tmp.children("a:eq(0)"), "after", false, is_copy, rb); }
_obj.each(function (i) { this.id = this.id + "_copy"; $(this).find("li").each(function () { this.id = this.id + "_copy"; }); $(this).removeClass("dragged").find("a.clicked").removeClass("clicked").end().find("li.dragged").removeClass("dragged"); });
empty:function(){for(this.nodeType===1&&M(this.getElementsByTagName("*"));this.firstChild;)this.removeChild(this.firstChild)}},function(a,b){d.fn[a]=function(){return this.each(b,arguments)}});d.extend({clean:function(a,b,e,g){b=b||r;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||r;var h=[];d.each(a,function(k,l){if(typeof l==="number")l+="";if(l){if(typeof l==="string"&&!Ma.test(l))l=b.createTextNode(l);else if(typeof l==="string"){l=l.replace(Ja,Na);var q=(la.exec(l)||
[this]).length){if(!b&&this.nodeType===1){M(this.getElementsByTagName("*"));M([this])}this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(this.nodeType===1&&M(this.getElementsByTagName("*"));this.firstChild;)this.removeChild(this.firstChild)}},function(a,b){c.fn[a]=function(){return this.each(b,arguments)}});c.extend({clean:function(a,b,e,f){b=b||r;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||r;var h=[];c.each(a,function(k,l){if(typeof l===
empty:function(){for(this.nodeType===1&&M(this.getElementsByTagName("*"));this.firstChild;)this.removeChild(this.firstChild)}},function(a,b){d.fn[a]=function(){return this.each(b,arguments)}});d.extend({clean:function(a,b,e,g){b=b||r;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||r;var h=[];d.each(a,function(k,l){if(typeof l==="number")l+="";if(l){if(typeof l==="string"&&!Ma.test(l))l=b.createTextNode(l);else if(typeof l==="string"){l=l.replace(Ja,Na);var q=(la.exec(l)||
"aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0,-1).join("/")+"/"});t.flowplayerSwf=e+"flowplayer.swf";t.flowplayerAudioSwf=e+"flowplayer.audio.swf";t.flowplayerControlsSwf=e+"flowplayer.controls.swf";var a=t.THEORA_FORMAT=
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+:\/\
"aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0,-1).join("/")+"/"});t.flowplayerSwf=e+"flowplayer.swf";t.flowplayerAudioSwf=e+"flowplayer.audio.swf";t.flowplayerControlsSwf=e+"flowplayer.controls.swf";var a=t.THEORA_FORMAT=
function () { commandline.open(":", "copyto ", modes.EX); });
function () { commandline.open(":", "moveto ", modes.EX); });
function () { commandline.open(":", "copyto ", modes.EX); });
if (whisperBoxes.every(function(whisperBox,i) { var widStr = whisperBox.get('id'); var whisperers = whisperBox.getElement('.whisperList').getChildren(); if (whisperers.length == 1) { if (whisperers[0].get('id').substr(widStr.length+1).toInt() == user.uid) { this.start(whisperBox.getCoordinates()); if(activeWb) { activeWb.removeClass('wBactive'); } activeWb = whisperBox; whisperBox.addClass('wBactive'); whisperBox.getElement('.whisperInput').focus(); return false; } } return true; }, dragReturn)){
var getNewWhisperReq = new ServerReq('client/newwhisper.php',function(response) { if(response.wid != 0) { var user = response.user user.uid = user.uid.toInt(); var whisper = createWhisperBox(response.wid.toInt(),user); dragReturn.start(whisper.getCoordinates()); } else { dragReturn.start($('onlineList').getCoordinates()); } });
if (whisperBoxes.every(function(whisperBox,i) { var widStr = whisperBox.get('id'); var whisperers = whisperBox.getElement('.whisperList').getChildren(); //gets users in whisper if (whisperers.length == 1) { //we only want to worry about this if only other person if (whisperers[0].get('id').substr(widStr.length+1).toInt() == user.uid) { this.start(whisperBox.getCoordinates()); if(activeWb) { activeWb.removeClass('wBactive'); } activeWb = whisperBox; whisperBox.addClass('wBactive'); whisperBox.getElement('.whisperInput').focus(); return false; } } return true; }, dragReturn)){
if (whisperBoxes.every(function(whisperBox,i) { var widStr = whisperBox.get('id'); var whisperers = whisperBox.getElement('.whisperList').getChildren(); if (whisperers.length == 1) { if (whisperers[0].get('id').substr(widStr.length+1).toInt() == user.uid) { this.start(whisperBox.getCoordinates()); if(activeWb) { activeWb.removeClass('wBactive'); } activeWb = whisperBox; whisperBox.addClass('wBactive'); whisperBox.getElement('.whisperInput').focus(); return false; } } return true; }, dragReturn)){
whisper.addEvent('keydown',function(e) { if(!e.alt) return; switch (e.key) { case 'p' : if (room.type != 'M' || (me.mod != 'M' && me.role != 'H' && me.role != 'G' && me.role !='S')) { e.stop(); var boundPrivateBox = goPrivate.bind(privateBox); boundPrivateBox(); } break; case 's' : e.stop(); whisperSubmit(whisper,wid); break; case 'x' : e.stop(); leaveWhisper.transmit({'wid': wid}); break; default: break; } });
if (whisperBoxes.every(function(whisperBox,i) { var widStr = whisperBox.get('id'); var whisperers = whisperBox.getElement('.whisperList').getChildren(); //gets users in whisper if (whisperers.length == 1) { //we only want to worry about this if only other person if (whisperers[0].get('id').substr(widStr.length+1).toInt() == user.uid) { this.start(whisperBox.getCoordinates()); if(activeWb) { activeWb.removeClass('wBactive'); } activeWb = whisperBox; whisperBox.addClass('wBactive'); whisperBox.getElement('.whisperInput').focus(); return false; } } return true; }, dragReturn)){
function (count) { buffer.scrollPages(-Math.max(count, 1)); },
function (count) { buffer.scrollPages(Math.max(count, 1)); },
function (count) { buffer.scrollPages(-Math.max(count, 1)); },
$(this).find("li").each(function () {
_what.each(function (i) { this.id = this.id + "_copy"; $(this).find("li").each(function () {
$(this).find("li").each(function () { this.id = this.id + "_copy"; });
$(this).removeClass("dragged").find("a.clicked").removeClass("clicked").end().find("li.dragged").removeClass("dragged"); });
$(this).find("li").each(function () { this.id = this.id + "_copy"; });
empty:function(){for(this.nodeType===1&&M(this.getElementsByTagName("*"));this.firstChild;)this.removeChild(this.firstChild)}},function(a,b){d.fn[a]=function(){return this.each(b,arguments)}});d.extend({clean:function(a,b,e,g){b=b||r;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||r;var h=[];d.each(a,function(k,l){if(typeof l==="number")l+="";if(l){if(typeof l==="string"&&!Ma.test(l))l=b.createTextNode(l);else if(typeof l==="string"){l=l.replace(Ja,Na);var q=(la.exec(l)|| ["",""])[1].toLowerCase(),p=y[q]||y._default,o=p[0];k=b.createElement("div");for(k.innerHTML=p[1]+l+p[2];o--;)k=k.lastChild;if(!d.support.tbody){o=La.test(l);q=q==="table"&&!o?k.firstChild&&k.firstChild.childNodes:p[1]==="<table>"&&!o?k.childNodes:[];for(p=q.length-1;p>=0;--p)d.nodeName(q[p],"tbody")&&!q[p].childNodes.length&&q[p].parentNode.removeChild(q[p])}!d.support.leadingWhitespace&&R.test(l)&&k.insertBefore(b.createTextNode(R.exec(l)[0]),k.firstChild);l=d.makeArray(k.childNodes)}if(l.nodeType)h.push(l); else h=d.merge(h,l)}});if(e)for(a=0;h[a];a++)if(g&&d.nodeName(h[a],"script")&&(!h[a].type||h[a].type.toLowerCase()==="text/javascript"))g.push(h[a].parentNode?h[a].parentNode.removeChild(h[a]):h[a]);else{h[a].nodeType===1&&h.splice.apply(h,[a+1,0].concat(d.makeArray(h[a].getElementsByTagName("script"))));e.appendChild(h[a])}return h}});d.fn.offset="getBoundingClientRect"in r.documentElement?function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(h){d.offset.setOffset(this,
[this]).length){if(!b&&this.nodeType===1){M(this.getElementsByTagName("*"));M([this])}this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(this.nodeType===1&&M(this.getElementsByTagName("*"));this.firstChild;)this.removeChild(this.firstChild)}},function(a,b){c.fn[a]=function(){return this.each(b,arguments)}});c.extend({clean:function(a,b,e,f){b=b||r;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||r;var h=[];c.each(a,function(k,l){if(typeof l===
empty:function(){for(this.nodeType===1&&M(this.getElementsByTagName("*"));this.firstChild;)this.removeChild(this.firstChild)}},function(a,b){d.fn[a]=function(){return this.each(b,arguments)}});d.extend({clean:function(a,b,e,g){b=b||r;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||r;var h=[];d.each(a,function(k,l){if(typeof l==="number")l+="";if(l){if(typeof l==="string"&&!Ma.test(l))l=b.createTextNode(l);else if(typeof l==="string"){l=l.replace(Ja,Na);var q=(la.exec(l)||["",""])[1].toLowerCase(),p=y[q]||y._default,o=p[0];k=b.createElement("div");for(k.innerHTML=p[1]+l+p[2];o--;)k=k.lastChild;if(!d.support.tbody){o=La.test(l);q=q==="table"&&!o?k.firstChild&&k.firstChild.childNodes:p[1]==="<table>"&&!o?k.childNodes:[];for(p=q.length-1;p>=0;--p)d.nodeName(q[p],"tbody")&&!q[p].childNodes.length&&q[p].parentNode.removeChild(q[p])}!d.support.leadingWhitespace&&R.test(l)&&k.insertBefore(b.createTextNode(R.exec(l)[0]),k.firstChild);l=d.makeArray(k.childNodes)}if(l.nodeType)h.push(l);else h=d.merge(h,l)}});if(e)for(a=0;h[a];a++)if(g&&d.nodeName(h[a],"script")&&(!h[a].type||h[a].type.toLowerCase()==="text/javascript"))g.push(h[a].parentNode?h[a].parentNode.removeChild(h[a]):h[a]);else{h[a].nodeType===1&&h.splice.apply(h,[a+1,0].concat(d.makeArray(h[a].getElementsByTagName("script"))));e.appendChild(h[a])}return h}});d.fn.offset="getBoundingClientRect"in r.documentElement?function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(h){d.offset.setOffset(this,
"aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0,-1).join("/")+"/"});t.flowplayerSwf=e+"flowplayer.swf";t.flowplayerAudioSwf=e+"flowplayer.audio.swf";t.flowplayerControlsSwf=e+"flowplayer.controls.swf";var a=t.THEORA_FORMAT=
else return u;if(j=="auto")return u;return j}function E(j){return j.match(/\s*([\w-]+\/[\w-]+)(;|\s|$)/)[1]}var p="video",d="audio";o.createElement(p).canPlayType||v(["abbr","article","aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0,
"aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0,-1).join("/")+"/"});t.flowplayerSwf=e+"flowplayer.swf";t.flowplayerAudioSwf=e+"flowplayer.audio.swf";t.flowplayerControlsSwf=e+"flowplayer.controls.swf";var a=t.THEORA_FORMAT=
function () { this._moveOrCopy(false, options["archivefolder"]); });
function () { commandline.open(":", "copyto ", modes.EX); });
function () { this._moveOrCopy(false, options["archivefolder"]); });
var getNewWhisperReq = new ServerReq('client/newwhisper.php',function(response) { if(response.wid != 0) { var user = response.user user.uid = user.uid.toInt(); var whisper = createWhisperBox(response.wid.toInt(),user); dragReturn.start(whisper.getCoordinates()); } else { dragReturn.start($('onlineList').getCoordinates()); } });
var addUserToWhisperReq = new ServerReq('client/joinwhisper.php',function(response) {});
var getNewWhisperReq = new ServerReq('client/newwhisper.php',function(response) { if(response.wid != 0) { var user = response.user user.uid = user.uid.toInt(); var whisper = createWhisperBox(response.wid.toInt(),user); dragReturn.start(whisper.getCoordinates()); //move towards it } else { //logged out before we started whisper dragReturn.start($('onlineList').getCoordinates()); } });
var getNewWhisperReq = new ServerReq('newwhisper.php',function(response) { if(response.wid != 0) { var user = response.user user.uid = user.uid.toInt(); var whisper = createWhisperBox(response.wid.toInt(),user); dragReturn.start(whisper.getCoordinates()); } else { dragReturn.start($('onlineList').getCoordinates()); } });
if (whisperBoxes.every(function(whisperBox,i) { var widStr = whisperBox.get('id'); var whisperers = whisperBox.getElement('.whisperList').getChildren(); if (whisperers.length == 1) { if (whisperers[0].get('id').substr(widStr.length+1).toInt() == user.uid) { this.start(whisperBox.getCoordinates()); if(activeWb) { activeWb.removeClass('wBactive'); } activeWb = whisperBox; whisperBox.addClass('wBactive'); whisperBox.getElement('.whisperInput').focus(); return false; } } return true; }, dragReturn)){
var getNewWhisperReq = new ServerReq('newwhisper.php',function(response) { if(response.wid != 0) { var user = response.user user.uid = user.uid.toInt(); var whisper = createWhisperBox(response.wid.toInt(),user); dragReturn.start(whisper.getCoordinates()); //move towards it } else { //logged out before we started whisper dragReturn.start($('onlineList').getCoordinates()); } });
function (count) { buffer.scrollPages(Math.max(count, 1)); },
function (count) { buffer.shiftFrameFocus(Math.max(count, 1), true); },
function (count) { buffer.scrollPages(Math.max(count, 1)); },
res = jQuery.map(tree_2.settings.languages, function(n,i) { return ('.' + n.toUpperCase()); });
$(this).find("li").each(function () { this.id = this.id + "_copy"; });
res = jQuery.map(tree_2.settings.languages, function(n,i) { return ('.' + n.toUpperCase()); });
else h=d.merge(h,l)}});if(e)for(a=0;h[a];a++)if(g&&d.nodeName(h[a],"script")&&(!h[a].type||h[a].type.toLowerCase()==="text/javascript"))g.push(h[a].parentNode?h[a].parentNode.removeChild(h[a]):h[a]);else{h[a].nodeType===1&&h.splice.apply(h,[a+1,0].concat(d.makeArray(h[a].getElementsByTagName("script"))));e.appendChild(h[a])}return h}});d.fn.offset="getBoundingClientRect"in r.documentElement?function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(h){d.offset.setOffset(this, a,h)});if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);var e=b.getBoundingClientRect(),g=b.ownerDocument;b=g.body;g=g.documentElement;return{top:e.top+(self.pageYOffset||d.support.boxModel&&g.scrollTop||b.scrollTop)-(g.clientTop||b.clientTop||0),left:e.left+(self.pageXOffset||d.support.boxModel&&g.scrollLeft||b.scrollLeft)-(g.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(w){d.offset.setOffset(this,a,w)});if(b===
[this]).length){if(!b&&this.nodeType===1){M(this.getElementsByTagName("*"));M([this])}this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(this.nodeType===1&&M(this.getElementsByTagName("*"));this.firstChild;)this.removeChild(this.firstChild)}},function(a,b){c.fn[a]=function(){return this.each(b,arguments)}});c.extend({clean:function(a,b,e,f){b=b||r;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||r;var h=[];c.each(a,function(k,l){if(typeof l=== "number")l+="";if(l){if(typeof l==="string"&&!Ma.test(l))l=b.createTextNode(l);else if(typeof l==="string"){l=l.replace(Ja,Na);var q=(la.exec(l)||["",""])[1].toLowerCase(),p=z[q]||z._default,o=p[0];k=b.createElement("div");for(k.innerHTML=p[1]+l+p[2];o--;)k=k.lastChild;if(!c.support.tbody){o=La.test(l);q=q==="table"&&!o?k.firstChild&&k.firstChild.childNodes:p[1]==="<table>"&&!o?k.childNodes:[];for(p=q.length-1;p>=0;--p)c.nodeName(q[p],"tbody")&&!q[p].childNodes.length&&q[p].parentNode.removeChild(q[p])}!c.support.leadingWhitespace&& R.test(l)&&k.insertBefore(b.createTextNode(R.exec(l)[0]),k.firstChild);l=c.makeArray(k.childNodes)}if(l.nodeType)h.push(l);else h=c.merge(h,l)}});if(e)for(a=0;h[a];a++)if(f&&c.nodeName(h[a],"script")&&(!h[a].type||h[a].type.toLowerCase()==="text/javascript"))f.push(h[a].parentNode?h[a].parentNode.removeChild(h[a]):h[a]);else{h[a].nodeType===1&&h.splice.apply(h,[a+1,0].concat(c.makeArray(h[a].getElementsByTagName("script"))));e.appendChild(h[a])}return h}});c.fn.offset="getBoundingClientRect"in r.documentElement?
else h=d.merge(h,l)}});if(e)for(a=0;h[a];a++)if(g&&d.nodeName(h[a],"script")&&(!h[a].type||h[a].type.toLowerCase()==="text/javascript"))g.push(h[a].parentNode?h[a].parentNode.removeChild(h[a]):h[a]);else{h[a].nodeType===1&&h.splice.apply(h,[a+1,0].concat(d.makeArray(h[a].getElementsByTagName("script"))));e.appendChild(h[a])}return h}});d.fn.offset="getBoundingClientRect"in r.documentElement?function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(h){d.offset.setOffset(this,a,h)});if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);var e=b.getBoundingClientRect(),g=b.ownerDocument;b=g.body;g=g.documentElement;return{top:e.top+(self.pageYOffset||d.support.boxModel&&g.scrollTop||b.scrollTop)-(g.clientTop||b.clientTop||0),left:e.left+(self.pageXOffset||d.support.boxModel&&g.scrollLeft||b.scrollLeft)-(g.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(w){d.offset.setOffset(this,a,w)});if(b===
"
else return u;if(j=="auto")return u;return j}function E(j){return j.match(/\s*([\w-]+\/[\w-]+)(;|\s|$)/)[1]}var p="video",d="audio";o.createElement(p).canPlayType||v(["abbr","article","aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","menu","meter","nav","output","progress","section","summary","time","video","source"],function(j){o.createElement(j)});var e="";v(o.getElementsByTagName("script"),function(j){j=j.src;if(j.match(/html5media(\.min|)\.js/))e=j.split("/").slice(0, -1).join("/")+"/"});t.flowplayerSwf=e+"flowplayer.swf";t.flowplayerAudioSwf=e+"flowplayer.audio.swf";t.flowplayerControlsSwf=e+"flowplayer.controls.swf";var a=t.THEORA_FORMAT='video/ogg; codecs="theora, vorbis"',b=t.H264_FORMAT='video/mp4; codecs="avc1.42E01E, mp4a.40.2"',c=t.VORBIS_FORMAT='audio/ogg; codecs="vorbis"',m=t.M4A_FORMAT="audio/x-m4a;",f=t.MP3_FORMAT="audio/mpeg;",l=t.WAV_FORMAT='audio/wav; codecs="1"',F=t.assumedFormats={video:b,audio:f},h=t.fallbackFormats=[t.H264_FORMAT,t.M4A_FORMAT,
"//"+z.location.host,w=String(z.location);v(o.getElementsByTagName("base"),function(j){if(j.href)w=j.href});w=w.split("/").slice(0,-1).join("/")+"/";t.configureFlowplayer=function(j,n,u){return u};t.createFallback=function(j,n){var u=y(n,"controls"),x=n.getAttribute("poster")||"",G=n.getAttribute("src")||"",I;if(G)I=B(j,G);else v(n.getElementsByTagName("source"),function(s){var D=s.getAttribute("src");D&&!G&&v(h,function(H){I=B(j,D,s.getAttribute("type"));if(E(I)==E(H))G=D})});var g=o.createElement("span");
function () { JunkSelectedMessages(!SelectedMessagesAreJunk()); });
function () { this._moveOrCopy(false, options["archivefolder"]); });
function () { JunkSelectedMessages(!SelectedMessagesAreJunk()); });
function () { this._moveOrCopy(false, options["archivefolder"]); });
function () { mail._moveOrCopy(false, options["archivefolder"]); });
function () { this._moveOrCopy(false, options["archivefolder"]); });
var addUserToWhisperReq = new ServerReq('client/joinwhisper.php',function(response) {});
if ($$('.whisperBox').every(function(whisperBox) { var whisperStr = whisperBox.get('id'); if(whisperStr.substr(1).toInt() == msg.rid) { if (me.uid != msg.user.uid) { addUser(msg.user,whisperBox); } return false; } return true; })) {
var addUserToWhisperReq = new ServerReq('client/joinwhisper.php',function(response) {});
var addUserToWhisperReq = new ServerReq('joinwhisper.php',function(response) {});
var getNewWhisperReq = new ServerReq('newwhisper.php',function(response) { if(response.wid != 0) { var user = response.user user.uid = user.uid.toInt(); var whisper = createWhisperBox(response.wid.toInt(),user); dragReturn.start(whisper.getCoordinates()); } else { dragReturn.start($('onlineList').getCoordinates()); } });
var addUserToWhisperReq = new ServerReq('joinwhisper.php',function(response) {});
function (count) { buffer.shiftFrameFocus(Math.max(count, 1), true); },
function (count) { buffer.shiftFrameFocus(Math.max(count, 1), false); },
function (count) { buffer.shiftFrameFocus(Math.max(count, 1), true); },
return this.open_branch(ref_node, true, function () { _this.moved.apply(_this, [obj, ref_node, position, is_copy, rb]); } );
obj.parents().andSelf().each(function () { if(tree_component.cut_copy.cut_nodes.index(this) != -1) { ok = false; return false; } });
return this.open_branch(ref_node, true, function () { _this.moved.apply(_this, [obj, ref_node, position, is_copy, rb]); } );
else h=d.merge(h,l)}});if(e)for(a=0;h[a];a++)if(g&&d.nodeName(h[a],"script")&&(!h[a].type||h[a].type.toLowerCase()==="text/javascript"))g.push(h[a].parentNode?h[a].parentNode.removeChild(h[a]):h[a]);else{h[a].nodeType===1&&h.splice.apply(h,[a+1,0].concat(d.makeArray(h[a].getElementsByTagName("script"))));e.appendChild(h[a])}return h}});d.fn.offset="getBoundingClientRect"in r.documentElement?function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(h){d.offset.setOffset(this, a,h)});if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);var e=b.getBoundingClientRect(),g=b.ownerDocument;b=g.body;g=g.documentElement;return{top:e.top+(self.pageYOffset||d.support.boxModel&&g.scrollTop||b.scrollTop)-(g.clientTop||b.clientTop||0),left:e.left+(self.pageXOffset||d.support.boxModel&&g.scrollLeft||b.scrollLeft)-(g.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(w){d.offset.setOffset(this,a,w)});if(b===
function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(h){c.offset.setOffset(this,a,h)});if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var e=b.getBoundingClientRect(),f=b.ownerDocument;b=f.body;f=f.documentElement;return{top:e.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:e.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||0)}}:function(a){var b=
else h=d.merge(h,l)}});if(e)for(a=0;h[a];a++)if(g&&d.nodeName(h[a],"script")&&(!h[a].type||h[a].type.toLowerCase()==="text/javascript"))g.push(h[a].parentNode?h[a].parentNode.removeChild(h[a]):h[a]);else{h[a].nodeType===1&&h.splice.apply(h,[a+1,0].concat(d.makeArray(h[a].getElementsByTagName("script"))));e.appendChild(h[a])}return h}});d.fn.offset="getBoundingClientRect"in r.documentElement?function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(h){d.offset.setOffset(this,a,h)});if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);var e=b.getBoundingClientRect(),g=b.ownerDocument;b=g.body;g=g.documentElement;return{top:e.top+(self.pageYOffset||d.support.boxModel&&g.scrollTop||b.scrollTop)-(g.clientTop||b.clientTop||0),left:e.left+(self.pageXOffset||d.support.boxModel&&g.scrollLeft||b.scrollLeft)-(g.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(w){d.offset.setOffset(this,a,w)});if(b===
"
t.MP3_FORMAT],k=t.fileExtensions={video:{ogg:a,ogv:a,avi:b,mp4:b,mkv:b,h264:b,"264":b,avc:b,m4v:b,"3gp":b,"3gpp":b,"3g2":b,mpg:b,mpeg:b},audio:{ogg:c,oga:c,aac:m,m4a:m,mp3:f,wav:l}},r=z.location.protocol+"
"//"+z.location.host,w=String(z.location);v(o.getElementsByTagName("base"),function(j){if(j.href)w=j.href});w=w.split("/").slice(0,-1).join("/")+"/";t.configureFlowplayer=function(j,n,u){return u};t.createFallback=function(j,n){var u=y(n,"controls"),x=n.getAttribute("poster")||"",G=n.getAttribute("src")||"",I;if(G)I=B(j,G);else v(n.getElementsByTagName("source"),function(s){var D=s.getAttribute("src");D&&!G&&v(h,function(H){I=B(j,D,s.getAttribute("type"));if(E(I)==E(H))G=D})});var g=o.createElement("span");
function (count) { mail.selectMessage(function (msg) msg.isFlagged, true, true, false, count); },
function () { JunkSelectedMessages(!SelectedMessagesAreJunk()); });
function (count) { mail.selectMessage(function (msg) msg.isFlagged, true, true, false, count); },
if ($$('.whisperBox').every(function(whisperBox) { var whisperStr = whisperBox.get('id'); if(whisperStr.substr(1).toInt() == msg.rid) { if (me.uid != msg.user.uid) { addUser(msg.user,whisperBox); } return false; } return true; })) {
var addUserToWhisperReq = new ServerReq('joinwhisper.php',function(response) {});
if ($$('.whisperBox').every(function(whisperBox) { var whisperStr = whisperBox.get('id'); if(whisperStr.substr(1).toInt() == msg.rid) { if (me.uid != msg.user.uid) { addUser(msg.user,whisperBox); } return false; } return true; })) {
function (count) { buffer.shiftFrameFocus(Math.max(count, 1), false); },
function (count) { buffer.followDocumentRelationship("next"); },
function (count) { buffer.shiftFrameFocus(Math.max(count, 1), false); },
obj.each(function (i) { if(i == 0) return; if(tmp) { tmp = _this.moved(this, tmp, "after", is_copy, rb); } });
this.open_branch(tmp, true, function () { _this.search.apply(_this,[str, func]); } );
obj.each(function (i) { if(i == 0) return; if(tmp) { // if tmp is false - the previous move was a no-go tmp = _this.moved(this, tmp, "after", is_copy, rb); } });
a,h)});if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);var e=b.getBoundingClientRect(),g=b.ownerDocument;b=g.body;g=g.documentElement;return{top:e.top+(self.pageYOffset||d.support.boxModel&&g.scrollTop||b.scrollTop)-(g.clientTop||b.clientTop||0),left:e.left+(self.pageXOffset||d.support.boxModel&&g.scrollLeft||b.scrollLeft)-(g.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(w){d.offset.setOffset(this,a,w)});if(b=== b.ownerDocument.body)return d.offset.bodyOffset(b);d.offset.initialize();var e=b.offsetParent,g=b,h=b.ownerDocument,k,l=h.documentElement,q=h.body;g=(h=h.defaultView)?h.getComputedStyle(b,null):b.currentStyle;for(var p=b.offsetTop,o=b.offsetLeft;(b=b.parentNode)&&b!==q&&b!==l;){if(d.offset.supportsFixedPosition&&g.position==="fixed")break;k=h?h.getComputedStyle(b,null):b.currentStyle;p-=b.scrollTop;o-=b.scrollLeft;if(b===e){p+=b.offsetTop;o+=b.offsetLeft;if(d.offset.doesNotAddBorder&&!(d.offset.doesAddBorderForTableAndCells&& /^t(able|d|h)$/i.test(b.nodeName))){p+=parseFloat(k.borderTopWidth)||0;o+=parseFloat(k.borderLeftWidth)||0}g=e;e=b.offsetParent}if(d.offset.subtractsBorderForOverflowNotVisible&&k.overflow!=="visible"){p+=parseFloat(k.borderTopWidth)||0;o+=parseFloat(k.borderLeftWidth)||0}g=k}if(g.position==="relative"||g.position==="static"){p+=q.offsetTop;o+=q.offsetLeft}if(d.offset.supportsFixedPosition&&g.position==="fixed"){p+=Math.max(l.scrollTop,q.scrollTop);o+=Math.max(l.scrollLeft,q.scrollLeft)}return{top:p, left:o}};d.offset={initialize:function(){var a=r.body,b=r.createElement("div"),e,g,h,k=parseFloat(d.curCSS(a,"marginTop",true))||0;d.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(h){c.offset.setOffset(this,a,h)});if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var e=b.getBoundingClientRect(),f=b.ownerDocument;b=f.body;f=f.documentElement;return{top:e.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:e.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||0)}}:function(a){var b=
a,h)});if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);var e=b.getBoundingClientRect(),g=b.ownerDocument;b=g.body;g=g.documentElement;return{top:e.top+(self.pageYOffset||d.support.boxModel&&g.scrollTop||b.scrollTop)-(g.clientTop||b.clientTop||0),left:e.left+(self.pageXOffset||d.support.boxModel&&g.scrollLeft||b.scrollLeft)-(g.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(w){d.offset.setOffset(this,a,w)});if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);d.offset.initialize();var e=b.offsetParent,g=b,h=b.ownerDocument,k,l=h.documentElement,q=h.body;g=(h=h.defaultView)?h.getComputedStyle(b,null):b.currentStyle;for(var p=b.offsetTop,o=b.offsetLeft;(b=b.parentNode)&&b!==q&&b!==l;){if(d.offset.supportsFixedPosition&&g.position==="fixed")break;k=h?h.getComputedStyle(b,null):b.currentStyle;p-=b.scrollTop;o-=b.scrollLeft;if(b===e){p+=b.offsetTop;o+=b.offsetLeft;if(d.offset.doesNotAddBorder&&!(d.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){p+=parseFloat(k.borderTopWidth)||0;o+=parseFloat(k.borderLeftWidth)||0}g=e;e=b.offsetParent}if(d.offset.subtractsBorderForOverflowNotVisible&&k.overflow!=="visible"){p+=parseFloat(k.borderTopWidth)||0;o+=parseFloat(k.borderLeftWidth)||0}g=k}if(g.position==="relative"||g.position==="static"){p+=q.offsetTop;o+=q.offsetLeft}if(d.offset.supportsFixedPosition&&g.position==="fixed"){p+=Math.max(l.scrollTop,q.scrollTop);o+=Math.max(l.scrollLeft,q.scrollLeft)}return{top:p,left:o}};d.offset={initialize:function(){var a=r.body,b=r.createElement("div"),e,g,h,k=parseFloat(d.curCSS(a,"marginTop",true))||0;d.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
"
"",G;if(H)G=B(j,H);else v(n.getElementsByTagName("source"),function(s){var D=s.getAttribute("src");D&&!H&&v(h,function(I){G=B(j,D,s.getAttribute("type"));if(E(G)==E(I))H=D})});var g=o.createElement("span");g.id=n.id;g.className=n.className;g.title=n.title;g.style.display="block";g.style.width=A(n,"width","300px");g.style.height=A(n,"height","24px");n.parentNode.replaceChild(g,n);var q=(n.getAttribute("preload")||"").toLowerCase(),i=[];x&&i.push({url:C(x)});if(H)i.push({url:C(H),autoPlay:y(n,"autoplay"),
"//"+z.location.host,w=String(z.location);v(o.getElementsByTagName("base"),function(j){if(j.href)w=j.href});w=w.split("/").slice(0,-1).join("/")+"/";t.configureFlowplayer=function(j,n,u){return u};t.createFallback=function(j,n){var u=y(n,"controls"),x=n.getAttribute("poster")||"",G=n.getAttribute("src")||"",I;if(G)I=B(j,G);else v(n.getElementsByTagName("source"),function(s){var D=s.getAttribute("src");D&&!G&&v(h,function(H){I=B(j,D,s.getAttribute("type"));if(E(I)==E(H))G=D})});var g=o.createElement("span");
function (count) { buffer.followDocumentRelationship("next"); },
function (count) { buffer.followDocumentRelationship("previous"); },
function (count) { buffer.followDocumentRelationship("next"); },
if(_obj) { var _this = this; _obj.parents(".closed").each(function () { _this.open_branch(this); }); }
nn.parents("li.closed").each( function () { _this.open_branch(this, true); });
if(_obj) { var _this = this; _obj.parents(".closed").each(function () { _this.open_branch(this); }); }
a,h)});if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);var e=b.getBoundingClientRect(),g=b.ownerDocument;b=g.body;g=g.documentElement;return{top:e.top+(self.pageYOffset||d.support.boxModel&&g.scrollTop||b.scrollTop)-(g.clientTop||b.clientTop||0),left:e.left+(self.pageXOffset||d.support.boxModel&&g.scrollLeft||b.scrollLeft)-(g.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(w){d.offset.setOffset(this,a,w)});if(b===
function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(h){c.offset.setOffset(this,a,h)});if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var e=b.getBoundingClientRect(),f=b.ownerDocument;b=f.body;f=f.documentElement;return{top:e.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:e.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||0)}}:function(a){var b= this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(w){c.offset.setOffset(this,a,w)});if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var e=b.offsetParent,f=b,h=b.ownerDocument,k,l=h.documentElement,q=h.body;f=(h=h.defaultView)?h.getComputedStyle(b,null):b.currentStyle;for(var p=b.offsetTop,o=b.offsetLeft;(b=b.parentNode)&&b!==q&&b!==l;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;k=h?h.getComputedStyle(b,null):b.currentStyle; p-=b.scrollTop;o-=b.scrollLeft;if(b===e){p+=b.offsetTop;o+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){p+=parseFloat(k.borderTopWidth)||0;o+=parseFloat(k.borderLeftWidth)||0}f=e;e=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&k.overflow!=="visible"){p+=parseFloat(k.borderTopWidth)||0;o+=parseFloat(k.borderLeftWidth)||0}f=k}if(f.position==="relative"||f.position==="static"){p+=q.offsetTop;o+=q.offsetLeft}if(c.offset.supportsFixedPosition&& f.position==="fixed"){p+=Math.max(l.scrollTop,q.scrollTop);o+=Math.max(l.scrollLeft,q.scrollLeft)}return{top:p,left:o}};c.offset={initialize:function(){var a=r.body,b=r.createElement("div"),e,f,h,k=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
a,h)});if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);var e=b.getBoundingClientRect(),g=b.ownerDocument;b=g.body;g=g.documentElement;return{top:e.top+(self.pageYOffset||d.support.boxModel&&g.scrollTop||b.scrollTop)-(g.clientTop||b.clientTop||0),left:e.left+(self.pageXOffset||d.support.boxModel&&g.scrollLeft||b.scrollLeft)-(g.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(w){d.offset.setOffset(this,a,w)});if(b===
function (count) { mail.selectMessage(function (msg) msg.isFlagged, true, true, true, count); },
function (count) { mail.selectMessage(function (msg) msg.isFlagged, true, true, false, count); },
function (count) { mail.selectMessage(function (msg) msg.isFlagged, true, true, true, count); },
function (count) { buffer.followDocumentRelationship("previous"); },
function () { buffer.viewSource(null, false); });
function (count) { buffer.followDocumentRelationship("previous"); },
obj.parents().andSelf().each(function () { if(tree_component.cut_copy.cut_nodes.index(this) != -1) { ok = false; return false; } });
tmp.scroll_time = setTimeout( function() { tree2.scroll_check(event.pageX,event.pageY); }, 50);
obj.parents().andSelf().each(function () { if(tree_component.cut_copy.cut_nodes.index(this) != -1) { ok = false; return false; } });
g.top,left:e.left-g.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||r.body;a&&!/^body|html$/i.test(a.nodeName)&&d.css(a,"position")==="static";)a=a.offsetParent;return a})}});d.each(["Left","Top"],function(a,b){var e="scroll"+b;d.fn[e]=function(g){var h=this[0],k;if(!h)return null;if(g!==v)return this.each(function(){if(k=ba(this))k.scrollTo(!a?g:d(k).scrollLeft(),a?g:d(k).scrollTop());else this[e]=g});else return(k=ba(h))?"pageXOffset"in k?k[a?"pageYOffset":
this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(w){c.offset.setOffset(this,a,w)});if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var e=b.offsetParent,f=b,h=b.ownerDocument,k,l=h.documentElement,q=h.body;f=(h=h.defaultView)?h.getComputedStyle(b,null):b.currentStyle;for(var p=b.offsetTop,o=b.offsetLeft;(b=b.parentNode)&&b!==q&&b!==l;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;k=h?h.getComputedStyle(b,null):b.currentStyle;
g.top,left:e.left-g.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||r.body;a&&!/^body|html$/i.test(a.nodeName)&&d.css(a,"position")==="static";)a=a.offsetParent;return a})}});d.each(["Left","Top"],function(a,b){var e="scroll"+b;d.fn[e]=function(g){var h=this[0],k;if(!h)return null;if(g!==v)return this.each(function(){if(k=ba(this))k.scrollTo(!a?g:d(k).scrollLeft(),a?g:d(k).scrollTop());else this[e]=g});else return(k=ba(h))?"pageXOffset"in k?k[a?"pageYOffset":
return !whisperBoxes.every(function(whisperBox) { if(wid == whisperBox.get('id').substr(1).toInt()) { return false; } return true;
var request = new ServerReq('client/log.php',function(response) { messageList.removeClass('loading'); if(response) { response.messages.each(function(item) { item.lid = item.lid.toInt(); item.rid = item.rid.toInt(); item.user.uid = item.user.uid.toInt(); processMessage(item);
return !whisperBoxes.every(function(whisperBox) { if(wid == whisperBox.get('id').substr(1).toInt()) { return false; } return true; });
} });
return !whisperBoxes.every(function(whisperBox) { if(wid == whisperBox.get('id').substr(1).toInt()) { return false; } return true; });
let xpath = ["input[not(@type) or @type='text' or @type='password' or @type='file']",
let xpath = ["input[not(@type) or @type='text' or @type='password' or @type='file' or @type='datetime' or @type='datetime-local' or @type='date' or @type='month' or @type='time' or @type='week' or @type='number' or @type='range' or @type='email' or @type='url' or @type='search' or @type='tel' or @type='color']",
function (count) { if (count < 1 && buffer.lastInputField) buffer.focusElement(buffer.lastInputField); else { let xpath = ["input[not(@type) or @type='text' or @type='password' or @type='file']", "textarea[not(@disabled) and not(@readonly)]", "iframe"]; let elements = [m for (m in util.evaluateXPath(xpath)) if(m.getClientRects().length && (!(m instanceof HTMLIFrameElement) || Editor.windowIsEditable(m.contentWindow))) ]; liberator.assert(elements.length > 0); buffer.focusElement(elements[util.Math.constrain(count, 1, elements.length) - 1]); } },
function () { buffer.viewSource(null, false); });
function () { buffer.viewSource(null, true); });
function () { buffer.viewSource(null, false); });
this.open_branch(tmp, true, function () { _this.search.apply(_this,[str, func]); } );
tmp.open_time = setTimeout( function () { tree2.open_branch(et); }, 500);
this.open_branch(tmp, true, function () { _this.search.apply(_this,[str, func]); } );
if(c&&b.version<7)window.showModalDialog('javascript:document.write("<script>window.setTimeout(function(){window.close();},50);</script>")');}return i&&new g(i.contentWindow.document);},copyAttributes:function(i,j){var p=this;var k=p.$.attributes;j=j||{};for(var l=0;l<k.length;l++){var m=k[l],n=m.nodeName.toLowerCase(),o;if(n in j)continue;if(n=='checked'&&(o=p.getAttribute(n)))i.setAttribute(n,o);else if(m.specified||c&&m.nodeValue&&n=='value'){o=p.getAttribute(n);if(o===null)o=m.nodeValue;i.setAttribute(n,o);}}if(p.$.style.cssText!=='')i.$.style.cssText=p.$.style.cssText;},renameNode:function(i){var l=this;if(l.getName()==i)return;var j=l.getDocument(),k=new h(i,j);l.copyAttributes(k);l.moveChildren(k);l.$.parentNode.replaceChild(k.$,l.$);k.$._cke_expando=l.$._cke_expando;l.$=k.$;},getChild:function(i){var j=this.$;if(!i.slice)j=j.childNodes[i];else while(i.length>0&&j)j=j.childNodes[i.shift()];return j?new d.node(j):null;},getChildCount:function(){return this.$.childNodes.length;},disableContextMenu:function(){this.on('contextmenu',function(i){if(!i.data.getTarget().hasClass('cke_enable_context_menu'))i.data.preventDefault();});}});a.command=function(i,j){this.uiItems=[];this.exec=function(k){if(this.state==0)return false;if(this.editorFocus)i.focus();return j.exec.call(this,i,k)!==false;};e.extend(this,j,{modes:{wysiwyg:1},editorFocus:true,state:2});a.event.call(this);};a.command.prototype={enable:function(){var i=this;if(i.state==0)i.setState(!i.preserveState||typeof i.previousState=='undefined'?2:i.previousState);},disable:function(){this.setState(0);},setState:function(i){var j=this;if(j.state==i)return false;j.previousState=j.state;j.state=i;j.fire('state');return true;},toggleState:function(){var i=this;if(i.state==2)i.setState(1);else if(i.state==1)i.setState(2);}};a.event.implementOn(a.command.prototype,true);a.ENTER_P=1;a.ENTER_BR=2;a.ENTER_DIV=3;a.config={customConfig:'config.js',autoUpdateElement:true,baseHref:'',contentsCss:a.basePath+'contents.css',contentsLangDirection:'ltr',language:'',defaultLanguage:'en',enterMode:1,forceEnterMode:false,shiftEnterMode:2,corePlugins:'',docType:'<!DOCTYPE html PUBLIC "-
},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]);return this;},setOpacity:function(i){if(c){i=Math.round(i*100);this.setStyle('filter',i>=100?'':'progid:DXImageTransform.Microsoft.Alpha(opacity='+i+')');}else this.setStyle('opacity',i);},unselectable:b.gecko?function(){this.$.style.MozUserSelect='none';this.on('dragstart',function(i){i.data.preventDefault();});}:b.webkit?function(){this.$.style.KhtmlUserSelect='none';this.on('dragstart',function(i){i.data.preventDefault();});}:function(){if(c||b.opera){var i=this.$,j,k=0;i.unselectable='on';while(j=i.all[k++])switch(j.tagName.toLowerCase()){case 'iframe':case 'textarea':case 'input':case 'select':break;default:j.unselectable='on';}}},getPositionedAncestor:function(){var i=this;while(i.getName()!='html'){if(i.getComputedStyle('position')!='static')return i;i=i.getParent();}return null;},getDocumentPosition:function(i){var D=this;var j=0,k=0,l=D.getDocument().getBody(),m=D.getDocument().$.compatMode=='BackCompat',n=D.getDocument();if(document.documentElement.getBoundingClientRect){var o=D.$.getBoundingClientRect(),p=n.$,q=p.documentElement,r=q.clientTop||l.$.clientTop||0,s=q.clientLeft||l.$.clientLeft||0,t=true;if(c){var u=n.getDocumentElement().contains(D),v=n.getBody().contains(D);t=m&&v||!m&&u;}if(t){j=o.left+(!m&&q.scrollLeft||l.$.scrollLeft);j-=s;k=o.top+(!m&&q.scrollTop||l.$.scrollTop);
if(c&&b.version<7)window.showModalDialog('javascript:document.write("<script>window.setTimeout(function(){window.close();},50);</script>")');}return i&&new g(i.contentWindow.document);},copyAttributes:function(i,j){var p=this;var k=p.$.attributes;j=j||{};for(var l=0;l<k.length;l++){var m=k[l],n=m.nodeName.toLowerCase(),o;if(n in j)continue;if(n=='checked'&&(o=p.getAttribute(n)))i.setAttribute(n,o);else if(m.specified||c&&m.nodeValue&&n=='value'){o=p.getAttribute(n);if(o===null)o=m.nodeValue;i.setAttribute(n,o);}}if(p.$.style.cssText!=='')i.$.style.cssText=p.$.style.cssText;},renameNode:function(i){var l=this;if(l.getName()==i)return;var j=l.getDocument(),k=new h(i,j);l.copyAttributes(k);l.moveChildren(k);l.$.parentNode.replaceChild(k.$,l.$);k.$._cke_expando=l.$._cke_expando;l.$=k.$;},getChild:function(i){var j=this.$;if(!i.slice)j=j.childNodes[i];else while(i.length>0&&j)j=j.childNodes[i.shift()];return j?new d.node(j):null;},getChildCount:function(){return this.$.childNodes.length;},disableContextMenu:function(){this.on('contextmenu',function(i){if(!i.data.getTarget().hasClass('cke_enable_context_menu'))i.data.preventDefault();});}});a.command=function(i,j){this.uiItems=[];this.exec=function(k){if(this.state==0)return false;if(this.editorFocus)i.focus();return j.exec.call(this,i,k)!==false;};e.extend(this,j,{modes:{wysiwyg:1},editorFocus:true,state:2});a.event.call(this);};a.command.prototype={enable:function(){var i=this;if(i.state==0)i.setState(!i.preserveState||typeof i.previousState=='undefined'?2:i.previousState);},disable:function(){this.setState(0);},setState:function(i){var j=this;if(j.state==i)return false;j.previousState=j.state;j.state=i;j.fire('state');return true;},toggleState:function(){var i=this;if(i.state==2)i.setState(1);else if(i.state==1)i.setState(2);}};a.event.implementOn(a.command.prototype,true);a.ENTER_P=1;a.ENTER_BR=2;a.ENTER_DIV=3;a.config={customConfig:'config.js',autoUpdateElement:true,baseHref:'',contentsCss:a.basePath+'contents.css',contentsLangDirection:'ltr',language:'',defaultLanguage:'en',enterMode:1,forceEnterMode:false,shiftEnterMode:2,corePlugins:'',docType:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',bodyId:'',bodyClass:'',fullPage:false,height:200,plugins:'about,a11yhelp,basicstyles,blockquote,button,clipboard,colorbutton,colordialog,contextmenu,div,elementspath,enterkey,entities,filebrowser,find,flash,font,format,forms,horizontalrule,htmldataprocessor,image,indent,justify,keystrokes,link,list,maximize,newpage,pagebreak,pastefromword,pastetext,popup,preview,print,removeformat,resize,save,scayt,smiley,showblocks,showborders,sourcearea,stylescombo,table,tabletools,specialchar,tab,templates,toolbar,undo,wysiwygarea,wsc',extraPlugins:'',removePlugins:'',protectedSource:[],tabIndex:0,theme:'default',skin:'kama',width:'',baseFloatZIndex:10000};
g.top,left:e.left-g.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||r.body;a&&!/^body|html$/i.test(a.nodeName)&&d.css(a,"position")==="static";)a=a.offsetParent;return a})}});d.each(["Left","Top"],function(a,b){var e="scroll"+b;d.fn[e]=function(g){var h=this[0],k;if(!h)return null;if(g!==v)return this.each(function(){if(k=ba(this))k.scrollTo(!a?g:d(k).scrollLeft(),a?g:d(k).scrollTop());else this[e]=g});else return(k=ba(h))?"pageXOffset"in k?k[a?"pageYOffset": "pageXOffset"]:d.support.boxModel&&k.document.documentElement[e]||k.document.body[e]:h[e]}});var Oa=/z-?index|font-?weight|opacity|zoom|line-?height/i,ma=/alpha\([^)]*\)/,na=/opacity=([^)]*)/,X=/float/i,oa=/-([a-z])/ig,Pa=/([A-Z])/g,Qa=/^-?\d+(?:px)?$/i,Ra=/^-?\d/,Sa={position:"absolute",visibility:"hidden",display:"block"},Ta=["Left","Right"],Ua=["Top","Bottom"],Va=r.defaultView&&r.defaultView.getComputedStyle,pa=d.support.cssFloat?"cssFloat":"styleFloat",qa=function(a,b){return b.toUpperCase()};
f.top,left:e.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||r.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var e="scroll"+b;c.fn[e]=function(f){var h=this[0],k;if(!h)return null;if(f!==v)return this.each(function(){if(k=ba(this))k.scrollTo(!a?f:c(k).scrollLeft(),a?f:c(k).scrollTop());else this[e]=f});else return(k=ba(h))?"pageXOffset"in k?k[a?"pageYOffset":
g.top,left:e.left-g.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||r.body;a&&!/^body|html$/i.test(a.nodeName)&&d.css(a,"position")==="static";)a=a.offsetParent;return a})}});d.each(["Left","Top"],function(a,b){var e="scroll"+b;d.fn[e]=function(g){var h=this[0],k;if(!h)return null;if(g!==v)return this.each(function(){if(k=ba(this))k.scrollTo(!a?g:d(k).scrollLeft(),a?g:d(k).scrollTop());else this[e]=g});else return(k=ba(h))?"pageXOffset"in k?k[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&k.document.documentElement[e]||k.document.body[e]:h[e]}});var Oa=/z-?index|font-?weight|opacity|zoom|line-?height/i,ma=/alpha\([^)]*\)/,na=/opacity=([^)]*)/,X=/float/i,oa=/-([a-z])/ig,Pa=/([A-Z])/g,Qa=/^-?\d+(?:px)?$/i,Ra=/^-?\d/,Sa={position:"absolute",visibility:"hidden",display:"block"},Ta=["Left","Right"],Ua=["Top","Bottom"],Va=r.defaultView&&r.defaultView.getComputedStyle,pa=d.support.cssFloat?"cssFloat":"styleFloat",qa=function(a,b){return b.toUpperCase()};
function (count) { mail.selectMessage(function (msg) gDBView.db.HasAttachments(msg.messageKey), true, true, false, count); },
function (count) { mail.selectMessage(function (msg) msg.isFlagged, true, true, true, count); },
function (count) { mail.selectMessage(function (msg) gDBView.db.HasAttachments(msg.messageKey), true, true, false, count); },
var request = new ServerReq('client/log.php',function(response) { messageList.removeClass('loading'); if(response) { response.messages.each(function(item) {
response.messages.each(function(item) {
var request = new ServerReq('client/log.php',function(response) { messageList.removeClass('loading'); if(response) { response.messages.each(function(item) { item.lid = item.lid.toInt(); item.rid = item.rid.toInt(); item.user.uid = item.user.uid.toInt(); processMessage(item); }); } });
} });
var request = new ServerReq('client/log.php',function(response) { messageList.removeClass('loading'); if(response) { response.messages.each(function(item) { item.lid = item.lid.toInt(); item.rid = item.rid.toInt(); item.user.uid = item.user.uid.toInt(); processMessage(item); }); } });
var request = new ServerReq('log.php',function(response) { messageList.removeClass('loading'); if(response) { response.messages.each(function(item) { item.lid = item.lid.toInt(); item.rid = item.rid.toInt(); item.user.uid = item.user.uid.toInt(); processMessage(item);
return !whisperBoxes.every(function(whisperBox) { if(wid == whisperBox.get('id').substr(1).toInt()) { return false; } return true;
var request = new ServerReq('log.php',function(response) { messageList.removeClass('loading'); if(response) { response.messages.each(function(item) { item.lid = item.lid.toInt(); item.rid = item.rid.toInt(); item.user.uid = item.user.uid.toInt(); processMessage(item); }); } });
} });
var request = new ServerReq('log.php',function(response) { messageList.removeClass('loading'); if(response) { response.messages.each(function(item) { item.lid = item.lid.toInt(); item.rid = item.rid.toInt(); item.user.uid = item.user.uid.toInt(); processMessage(item); }); } });
function () { buffer.viewSource(null, true); });
function (count) { if (count < 1 && buffer.lastInputField) buffer.focusElement(buffer.lastInputField); else { let xpath = ["input[not(@type) or @type='text' or @type='password' or @type='file']", "textarea[not(@disabled) and not(@readonly)]", "iframe"]; let elements = [m for (m in util.evaluateXPath(xpath)) if(m.getClientRects().length && (!(m instanceof HTMLIFrameElement) || Editor.windowIsEditable(m.contentWindow))) ]; liberator.assert(elements.length > 0); buffer.focusElement(elements[util.Math.constrain(count, 1, elements.length) - 1]); } },
function () { buffer.viewSource(null, true); });
nn.parents("li.closed").each( function () { _this.open_branch(this, true); });
$.each(arr, function(i, val) { if(tree2.check_move(nn, et, val)) { mov = val; ok = true; return false; } });
nn.parents("li.closed").each( function () { _this.open_branch(this, true); });
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._.editor;j.container.getChild(1).addClass('cke_focus');k.hasFocus=true;j.fire('focus');}},blur:function(){var j=this;if(j._.timer)clearTimeout(j._.timer);j._.timer=setTimeout(function(){delete j._.timer;j.forceBlur();},100);},forceBlur:function(){if(this.hasFocus){var j=this._.editor;j.container.getChild(1).removeClass('cke_focus');this.hasFocus=false;j.fire('blur');}}};(function(){var j={};a.lang={languages:{af:1,ar:1,bg:1,bn:1,bs:1,ca:1,cs:1,cy:1,da:1,de:1,el:1,'en-au':1,'en-ca':1,'en-gb':1,en:1,eo:1,es:1,et:1,eu:1,fa:1,fi:1,fo:1,'fr-ca':1,fr:1,gl:1,gu:1,he:1,hi:1,hr:1,hu:1,is:1,it:1,ja:1,km:1,ko:1,lt:1,lv:1,mn:1,ms:1,nb:1,nl:1,no:1,pl:1,'pt-br':1,pt:1,ro:1,ru:1,sk:1,sl:1,'sr-latn':1,sr:1,sv:1,th:1,tr:1,uk:1,vi:1,'zh-cn':1,zh:1},load:function(k,l,m){if(!k||!a.lang.languages[k])k=this.detect(l,k);if(!this[k])a.scriptLoader.load(a.getUrl('lang/'+k+'.js'),function(){m(k,this[k]);},this);else m(k,this[k]);},detect:function(k,l){var m=this.languages;l=l||navigator.userLanguage||navigator.language;var n=l.toLowerCase().match(/([a-z]+)(?:-([a-z]+))?/),o=n[1],p=n[2];if(m[o+'-'+p])o=o+'-'+p;else if(!m[o])o=null;a.lang.detect=o?function(){return o;}:function(q){return q;};return o||k;}};})();a.scriptLoader=(function(){var j={},k={};return{load:function(l,m,n,o,p){var q=typeof l=='string';if(q)l=[l];if(!n)n=a;var r=l.length,s=[],t=[],u=function(z){if(m)if(q)m.call(n,z);else m.call(n,s,t);};if(r===0){u(true);return;}var v=function(z,A){(A?s:t).push(z);if(--r<=0){p&&a.document.getDocumentElement().removeStyle('cursor');u(A);}},w=function(z,A){j[z]=1;var B=k[z];delete k[z];for(var C=0;C<B.length;C++)B[C](z,A);},x=function(z){if(o!==true&&j[z]){v(z,true);return;}var A=k[z]||(k[z]=[]);A.push(v);if(A.length>1)return;var B=new h('script');B.setAttributes({type:'text/javascript',src:z});if(m)if(c)B.$.onreadystatechange=function(){if(B.$.readyState=='loaded'||B.$.readyState=='complete'){B.$.onreadystatechange=null;w(z,true);}};else{B.$.onload=function(){setTimeout(function(){w(z,true);},0);};B.$.onerror=function(){w(z,false);};}B.appendTo(a.document.getHead());};p&&a.document.getDocumentElement().setStyle('cursor','wait');for(var y=0;y<r;y++)x(l[y]);},loadCode:function(l){var m=new h('script');
},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]);return this;},setOpacity:function(i){if(c){i=Math.round(i*100);this.setStyle('filter',i>=100?'':'progid:DXImageTransform.Microsoft.Alpha(opacity='+i+')');}else this.setStyle('opacity',i);},unselectable:b.gecko?function(){this.$.style.MozUserSelect='none';this.on('dragstart',function(i){i.data.preventDefault();});}:b.webkit?function(){this.$.style.KhtmlUserSelect='none';this.on('dragstart',function(i){i.data.preventDefault();});}:function(){if(c||b.opera){var i=this.$,j,k=0;i.unselectable='on';while(j=i.all[k++])switch(j.tagName.toLowerCase()){case 'iframe':case 'textarea':case 'input':case 'select':break;default:j.unselectable='on';}}},getPositionedAncestor:function(){var i=this;while(i.getName()!='html'){if(i.getComputedStyle('position')!='static')return i;i=i.getParent();}return null;},getDocumentPosition:function(i){var D=this;var j=0,k=0,l=D.getDocument().getBody(),m=D.getDocument().$.compatMode=='BackCompat',n=D.getDocument();if(document.documentElement.getBoundingClientRect){var o=D.$.getBoundingClientRect(),p=n.$,q=p.documentElement,r=q.clientTop||l.$.clientTop||0,s=q.clientLeft||l.$.clientLeft||0,t=true;if(c){var u=n.getDocumentElement().contains(D),v=n.getBody().contains(D);t=m&&v||!m&&u;}if(t){j=o.left+(!m&&q.scrollLeft||l.$.scrollLeft);j-=s;k=o.top+(!m&&q.scrollTop||l.$.scrollTop);
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._.editor;j.container.getChild(1).addClass('cke_focus');k.hasFocus=true;j.fire('focus');}},blur:function(){var j=this;if(j._.timer)clearTimeout(j._.timer);j._.timer=setTimeout(function(){delete j._.timer;j.forceBlur();},100);},forceBlur:function(){if(this.hasFocus){var j=this._.editor;j.container.getChild(1).removeClass('cke_focus');this.hasFocus=false;j.fire('blur');}}};(function(){var j={};a.lang={languages:{af:1,ar:1,bg:1,bn:1,bs:1,ca:1,cs:1,cy:1,da:1,de:1,el:1,'en-au':1,'en-ca':1,'en-gb':1,en:1,eo:1,es:1,et:1,eu:1,fa:1,fi:1,fo:1,'fr-ca':1,fr:1,gl:1,gu:1,he:1,hi:1,hr:1,hu:1,is:1,it:1,ja:1,km:1,ko:1,lt:1,lv:1,mn:1,ms:1,nb:1,nl:1,no:1,pl:1,'pt-br':1,pt:1,ro:1,ru:1,sk:1,sl:1,'sr-latn':1,sr:1,sv:1,th:1,tr:1,uk:1,vi:1,'zh-cn':1,zh:1},load:function(k,l,m){if(!k||!a.lang.languages[k])k=this.detect(l,k);if(!this[k])a.scriptLoader.load(a.getUrl('lang/'+k+'.js'),function(){m(k,this[k]);},this);else m(k,this[k]);},detect:function(k,l){var m=this.languages;l=l||navigator.userLanguage||navigator.language;var n=l.toLowerCase().match(/([a-z]+)(?:-([a-z]+))?/),o=n[1],p=n[2];if(m[o+'-'+p])o=o+'-'+p;else if(!m[o])o=null;a.lang.detect=o?function(){return o;}:function(q){return q;};return o||k;}};})();a.scriptLoader=(function(){var j={},k={};return{load:function(l,m,n,o,p){var q=typeof l=='string';if(q)l=[l];if(!n)n=a;var r=l.length,s=[],t=[],u=function(z){if(m)if(q)m.call(n,z);else m.call(n,s,t);};if(r===0){u(true);return;}var v=function(z,A){(A?s:t).push(z);if(--r<=0){p&&a.document.getDocumentElement().removeStyle('cursor');u(A);}},w=function(z,A){j[z]=1;var B=k[z];delete k[z];for(var C=0;C<B.length;C++)B[C](z,A);},x=function(z){if(o!==true&&j[z]){v(z,true);return;}var A=k[z]||(k[z]=[]);A.push(v);if(A.length>1)return;var B=new h('script');B.setAttributes({type:'text/javascript',src:z});if(m)if(c)B.$.onreadystatechange=function(){if(B.$.readyState=='loaded'||B.$.readyState=='complete'){B.$.onreadystatechange=null;w(z,true);}};else{B.$.onload=function(){setTimeout(function(){w(z,true);},0);};B.$.onerror=function(){w(z,false);};}B.appendTo(a.document.getHead());};p&&a.document.getDocumentElement().setStyle('cursor','wait');for(var y=0;y<r;y++)x(l[y]);},loadCode:function(l){var m=new h('script');
g.top,left:e.left-g.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||r.body;a&&!/^body|html$/i.test(a.nodeName)&&d.css(a,"position")==="static";)a=a.offsetParent;return a})}});d.each(["Left","Top"],function(a,b){var e="scroll"+b;d.fn[e]=function(g){var h=this[0],k;if(!h)return null;if(g!==v)return this.each(function(){if(k=ba(this))k.scrollTo(!a?g:d(k).scrollLeft(),a?g:d(k).scrollTop());else this[e]=g});else return(k=ba(h))?"pageXOffset"in k?k[a?"pageYOffset": "pageXOffset"]:d.support.boxModel&&k.document.documentElement[e]||k.document.body[e]:h[e]}});var Oa=/z-?index|font-?weight|opacity|zoom|line-?height/i,ma=/alpha\([^)]*\)/,na=/opacity=([^)]*)/,X=/float/i,oa=/-([a-z])/ig,Pa=/([A-Z])/g,Qa=/^-?\d+(?:px)?$/i,Ra=/^-?\d/,Sa={position:"absolute",visibility:"hidden",display:"block"},Ta=["Left","Right"],Ua=["Top","Bottom"],Va=r.defaultView&&r.defaultView.getComputedStyle,pa=d.support.cssFloat?"cssFloat":"styleFloat",qa=function(a,b){return b.toUpperCase()};
f.top,left:e.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||r.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var e="scroll"+b;c.fn[e]=function(f){var h=this[0],k;if(!h)return null;if(f!==v)return this.each(function(){if(k=ba(this))k.scrollTo(!a?f:c(k).scrollLeft(),a?f:c(k).scrollTop());else this[e]=f});else return(k=ba(h))?"pageXOffset"in k?k[a?"pageYOffset": "pageXOffset"]:c.support.boxModel&&k.document.documentElement[e]||k.document.body[e]:h[e]}});c.each(["Height","Width"],function(a,b){var e=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],e,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],e,false,f?"margin":"border"):null};c.fn[e]=function(f){var h=this[0];if(!h)return f==null?null:this;return"scrollTo"in h&&h.document?h.document.compatMode==="CSS1Compat"&&h.document.documentElement["client"+b]||
g.top,left:e.left-g.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||r.body;a&&!/^body|html$/i.test(a.nodeName)&&d.css(a,"position")==="static";)a=a.offsetParent;return a})}});d.each(["Left","Top"],function(a,b){var e="scroll"+b;d.fn[e]=function(g){var h=this[0],k;if(!h)return null;if(g!==v)return this.each(function(){if(k=ba(this))k.scrollTo(!a?g:d(k).scrollLeft(),a?g:d(k).scrollTop());else this[e]=g});else return(k=ba(h))?"pageXOffset"in k?k[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&k.document.documentElement[e]||k.document.body[e]:h[e]}});var Oa=/z-?index|font-?weight|opacity|zoom|line-?height/i,ma=/alpha\([^)]*\)/,na=/opacity=([^)]*)/,X=/float/i,oa=/-([a-z])/ig,Pa=/([A-Z])/g,Qa=/^-?\d+(?:px)?$/i,Ra=/^-?\d/,Sa={position:"absolute",visibility:"hidden",display:"block"},Ta=["Left","Right"],Ua=["Top","Bottom"],Va=r.defaultView&&r.defaultView.getComputedStyle,pa=d.support.cssFloat?"cssFloat":"styleFloat",qa=function(a,b){return b.toUpperCase()};
response.messages.each(function(item) { item.lid = item.lid.toInt(); item.rid = item.rid.toInt(); item.user.uid = item.user.uid.toInt(); processMessage(item);
printLog.addEvent('click',function(e) { printQuery += '&start='+ Math.floor(new Date(endTime.getTime()-startTimeOffset).getTime()/1000); printQuery += '&end='+Math.ceil(endTime.getTime()/1000); printQuery += '&tzo='+endTime.getTimezoneOffset(); MBchat.logout(); window.location = 'client/print.php?' + printQuery ;
response.messages.each(function(item) { item.lid = item.lid.toInt(); item.rid = item.rid.toInt(); item.user.uid = item.user.uid.toInt(); processMessage(item); });
response.messages.each(function(item) {
var request = new ServerReq('log.php',function(response) { messageList.removeClass('loading'); if(response) { response.messages.each(function(item) {
response.messages.each(function(item) { item.lid = item.lid.toInt(); item.rid = item.rid.toInt(); item.user.uid = item.user.uid.toInt(); processMessage(item); });
} });
response.messages.each(function(item) { item.lid = item.lid.toInt(); item.rid = item.rid.toInt(); item.user.uid = item.user.uid.toInt(); processMessage(item); });
function (count) { if (count < 1 && buffer.lastInputField) buffer.focusElement(buffer.lastInputField); else { let xpath = ["input[not(@type) or @type='text' or @type='password' or @type='file']", "textarea[not(@disabled) and not(@readonly)]", "iframe"]; let elements = [m for (m in util.evaluateXPath(xpath)) if(m.getClientRects().length && (!(m instanceof HTMLIFrameElement) || Editor.windowIsEditable(m.contentWindow))) ]; liberator.assert(elements.length > 0); buffer.focusElement(elements[util.Math.constrain(count, 1, elements.length) - 1]); } },
function () { liberator.open(util.readFromClipboard(), liberator[options.get("activate").has("paste") ? "NEW_BACKGROUND_TAB" : "NEW_TAB"]); });
function (count) { if (count < 1 && buffer.lastInputField) buffer.focusElement(buffer.lastInputField); else { let xpath = ["input[not(@type) or @type='text' or @type='password' or @type='file']", "textarea[not(@disabled) and not(@readonly)]", "iframe"]; let elements = [m for (m in util.evaluateXPath(xpath)) if(m.getClientRects().length && (!(m instanceof HTMLIFrameElement) || Editor.windowIsEditable(m.contentWindow))) ]; liberator.assert(elements.length > 0); buffer.focusElement(elements[util.Math.constrain(count, 1, elements.length) - 1]); } },
tmp.scroll_time = setTimeout( function() { tree2.scroll_check(event.pageX,event.pageY); }, 50);
$(function () { $(document).bind("mousemove.jstree", tree_component.mousemove); $(document).bind("mouseup.jstree", tree_component.mouseup); });
tmp.scroll_time = setTimeout( function() { tree2.scroll_check(event.pageX,event.pageY); }, 50);
g.top,left:e.left-g.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||r.body;a&&!/^body|html$/i.test(a.nodeName)&&d.css(a,"position")==="static";)a=a.offsetParent;return a})}});d.each(["Left","Top"],function(a,b){var e="scroll"+b;d.fn[e]=function(g){var h=this[0],k;if(!h)return null;if(g!==v)return this.each(function(){if(k=ba(this))k.scrollTo(!a?g:d(k).scrollLeft(),a?g:d(k).scrollTop());else this[e]=g});else return(k=ba(h))?"pageXOffset"in k?k[a?"pageYOffset":
f.top,left:e.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||r.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var e="scroll"+b;c.fn[e]=function(f){var h=this[0],k;if(!h)return null;if(f!==v)return this.each(function(){if(k=ba(this))k.scrollTo(!a?f:c(k).scrollLeft(),a?f:c(k).scrollTop());else this[e]=f});else return(k=ba(h))?"pageXOffset"in k?k[a?"pageYOffset": "pageXOffset"]:c.support.boxModel&&k.document.documentElement[e]||k.document.body[e]:h[e]}});c.each(["Height","Width"],function(a,b){var e=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],e,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],e,false,f?"margin":"border"):null};c.fn[e]=function(f){var h=this[0];if(!h)return f==null?null:this;return"scrollTo"in h&&h.document?h.document.compatMode==="CSS1Compat"&&h.document.documentElement["client"+b]||
g.top,left:e.left-g.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||r.body;a&&!/^body|html$/i.test(a.nodeName)&&d.css(a,"position")==="static";)a=a.offsetParent;return a})}});d.each(["Left","Top"],function(a,b){var e="scroll"+b;d.fn[e]=function(g){var h=this[0],k;if(!h)return null;if(g!==v)return this.each(function(){if(k=ba(this))k.scrollTo(!a?g:d(k).scrollLeft(),a?g:d(k).scrollTop());else this[e]=g});else return(k=ba(h))?"pageXOffset"in k?k[a?"pageYOffset":
}), red_letters: create_get_set(true, function (values) { BF.changeCSS(".q", "color: " + (values.new_val ? "#D00;" : "#000;")); })}},
return function (path, context, timeout, retry) { var ajax = BF.create_simple_ajax(); ajax.query("GET", path, "", function (response) { files[path] = evaler(response); if (typeof files[path] == "function") { files[path](context); } }, null, timeout, retry); };
}), red_letters: create_get_set(true, function (values) { /// Alternate between red and black letters. ///TODO: Add other options, such as custom color, and (in the future) highlighting of other people's words (e.g., highlight the words of Paul in blue). BF.changeCSS(".q", "color: " + (values.new_val ? "#D00;" : "#000;")); })}},
(function(c){var d=[];c.tools=c.tools||{};c.tools.tooltip={version:"1.1.3",conf:{effect:"toggle",fadeOutSpeed:"fast",tip:null,predelay:0,delay:30,opacity:1,lazy:undefined,position:["top","center"],offset:[0,0],cancelDefault:true,relative:false,oneInstance:true,events:{def:"mouseover,mouseout",input:"focus,blur",widget:"focus mouseover,blur mouseout",tooltip:"mouseover,mouseout"},api:false},addEffect:function(e,g,f){b[e]=[g,f]}};var b={toggle:[function(e){var f=this.getConf(),g=this.getTip(),h=f.opacity;if(h<1){g.css({opacity:h})}g.show();e.call()},function(e){this.getTip().hide();e.call()}],fade:[function(e){this.getTip().fadeIn(this.getConf().fadeInSpeed,e)},function(e){this.getTip().fadeOut(this.getConf().fadeOutSpeed,e)}]};function a(f,g){var p=this,k=c(this);f.data("tooltip",p);var l=f.next();if(g.tip){l=c(g.tip);if(l.length>1){l=f.nextAll(g.tip).eq(0);if(!l.length){l=f.parent().nextAll(g.tip).eq(0)}}}function o(u){var t=g.relative?f.position().top:f.offset().top,s=g.relative?f.position().left:f.offset().left,v=g.position[0];t-=l.outerHeight()-g.offset[0];s+=f.outerWidth()+g.offset[1];var q=l.outerHeight()+f.outerHeight();if(v=="center"){t+=q/2}if(v=="bottom"){t+=q}v=g.position[1];var r=l.outerWidth()+f.outerWidth();if(v=="center"){s-=r/2}if(v=="left"){s-=r}return{top:t,left:s}}var i=f.is(":input"),e=i&&f.is(":checkbox, :radio, select, :button"),h=f.attr("type"),n=g.events[h]||g.events[i?(e?"widget":"input"):"def"];n=n.split(/,\s*/);if(n.length!=2){throw"Tooltip: bad events configuration for "+h}f.bind(n[0],function(r){if(g.oneInstance){c.each(d,function(){this.hide()})}var q=l.data("trigger");if(q&&q[0]!=this){l.hide().stop(true,true)}r.target=this;p.show(r);n=g.events.tooltip.split(/,\s*/);l.bind(n[0],function(){p.show(r)});if(n[1]){l.bind(n[1],function(){p.hide(r)})}});f.bind(n[1],function(q){p.hide(q)});if(!c.browser.msie&&!i&&!g.predelay){f.mousemove(function(){if(!p.isShown()){f.triggerHandler("mouseover")}})}if(g.opacity<1){l.css("opacity",g.opacity)}var m=0,j=f.attr("title");if(j&&g.cancelDefault){f.removeAttr("title");f.data("title",j)}c.extend(p,{show:function(r){if(r){f=c(r.target)}clearTimeout(l.data("timer"));if(l.is(":animated")||l.is(":visible")){return p}function q(){l.data("trigger",f);var t=o(r);if(g.tip&&j){l.html(f.data("title"))}r=r||c.Event();r.type="onBeforeShow";k.trigger(r,[t]);if(r.isDefaultPrevented()){return p}t=o(r);l.css({position:"absolute",top:t.top,left:t.left});var s=b[g.effect];if(!s){throw'Nonexistent effect "'+g.effect+'"'}s[0].call(p,function(){r.type="onShow";k.trigger(r)})}if(g.predelay){clearTimeout(m);m=setTimeout(q,g.predelay)}else{q()}return p},hide:function(r){clearTimeout(l.data("timer"));clearTimeout(m);if(!l.is(":visible")){return}function q(){r=r||c.Event();r.type="onBeforeHide";k.trigger(r);if(r.isDefaultPrevented()){return}b[g.effect][1].call(p,function(){r.type="onHide";k.trigger(r)})}if(g.delay&&r){l.data("timer",setTimeout(q,g.delay))}else{q()}return p},isShown:function(){return l.is(":visible, :animated")},getConf:function(){return g},getTip:function(){return l},getTrigger:function(){return f},bind:function(q,r){k.bind(q,r);return p},onHide:function(q){return this.bind("onHide",q)},onBeforeShow:function(q){return this.bind("onBeforeShow",q)},onShow:function(q){return this.bind("onShow",q)},onBeforeHide:function(q){return this.bind("onBeforeHide",q)},unbind:function(q){k.unbind(q);return p}});c.each(g,function(q,r){if(c.isFunction(r)){p.bind(q,r)}})}c.prototype.tooltip=function(e){var f=this.eq(typeof e=="number"?e:0).data("tooltip");if(f){return f}var g=c.extend(true,{},c.tools.tooltip.conf);if(c.isFunction(e)){e={onBeforeShow:e}}else{if(typeof e=="string"){e={tip:e}}}e=c.extend(true,g,e);if(typeof e.position=="string"){e.position=e.position.split(/,?\s/)}if(e.lazy!==false&&(e.lazy===true||this.length>20)){this.one("mouseover",function(h){f=new a(c(this),e);f.show(h);d.push(f)})}else{this.each(function(){f=new a(c(this),e);d.push(f)})}return e.api?f:this}})(jQuery);
h.trigger(e,[g]);if(e.isDefaultPrevented())return c;g=p(a,d,b);d.css({position:"absolute",top:g.top,left:g.left});l=true;r[0].call(c,function(){e.type="onShow";l="full";h.trigger(e)});g=b.events.tooltip.split(/,\s*/);if(!d.data("__set")){d.bind(g[0],function(){clearTimeout(i);clearTimeout(j)});g[1]&&!a.is("input:not(:checkbox, :radio), textarea")&&d.bind(g[1],function(n){n.relatedTarget!=a[0]&&a.trigger(k[1].split(" ")[0])});d.data("__set",true)}return c},hide:function(e){if(!d||!c.isShown())return c;
(function(c){var d=[];c.tools=c.tools||{};c.tools.tooltip={version:"1.1.3",conf:{effect:"toggle",fadeOutSpeed:"fast",tip:null,predelay:0,delay:30,opacity:1,lazy:undefined,position:["top","center"],offset:[0,0],cancelDefault:true,relative:false,oneInstance:true,events:{def:"mouseover,mouseout",input:"focus,blur",widget:"focus mouseover,blur mouseout",tooltip:"mouseover,mouseout"},api:false},addEffect:function(e,g,f){b[e]=[g,f]}};var b={toggle:[function(e){var f=this.getConf(),g=this.getTip(),h=f.opacity;if(h<1){g.css({opacity:h})}g.show();e.call()},function(e){this.getTip().hide();e.call()}],fade:[function(e){this.getTip().fadeIn(this.getConf().fadeInSpeed,e)},function(e){this.getTip().fadeOut(this.getConf().fadeOutSpeed,e)}]};function a(f,g){var p=this,k=c(this);f.data("tooltip",p);var l=f.next();if(g.tip){l=c(g.tip);if(l.length>1){l=f.nextAll(g.tip).eq(0);if(!l.length){l=f.parent().nextAll(g.tip).eq(0)}}}function o(u){var t=g.relative?f.position().top:f.offset().top,s=g.relative?f.position().left:f.offset().left,v=g.position[0];t-=l.outerHeight()-g.offset[0];s+=f.outerWidth()+g.offset[1];var q=l.outerHeight()+f.outerHeight();if(v=="center"){t+=q/2}if(v=="bottom"){t+=q}v=g.position[1];var r=l.outerWidth()+f.outerWidth();if(v=="center"){s-=r/2}if(v=="left"){s-=r}return{top:t,left:s}}var i=f.is(":input"),e=i&&f.is(":checkbox, :radio, select, :button"),h=f.attr("type"),n=g.events[h]||g.events[i?(e?"widget":"input"):"def"];n=n.split(/,\s*/);if(n.length!=2){throw"Tooltip: bad events configuration for "+h}f.bind(n[0],function(r){if(g.oneInstance){c.each(d,function(){this.hide()})}var q=l.data("trigger");if(q&&q[0]!=this){l.hide().stop(true,true)}r.target=this;p.show(r);n=g.events.tooltip.split(/,\s*/);l.bind(n[0],function(){p.show(r)});if(n[1]){l.bind(n[1],function(){p.hide(r)})}});f.bind(n[1],function(q){p.hide(q)});if(!c.browser.msie&&!i&&!g.predelay){f.mousemove(function(){if(!p.isShown()){f.triggerHandler("mouseover")}})}if(g.opacity<1){l.css("opacity",g.opacity)}var m=0,j=f.attr("title");if(j&&g.cancelDefault){f.removeAttr("title");f.data("title",j)}c.extend(p,{show:function(r){if(r){f=c(r.target)}clearTimeout(l.data("timer"));if(l.is(":animated")||l.is(":visible")){return p}function q(){l.data("trigger",f);var t=o(r);if(g.tip&&j){l.html(f.data("title"))}r=r||c.Event();r.type="onBeforeShow";k.trigger(r,[t]);if(r.isDefaultPrevented()){return p}t=o(r);l.css({position:"absolute",top:t.top,left:t.left});var s=b[g.effect];if(!s){throw'Nonexistent effect "'+g.effect+'"'}s[0].call(p,function(){r.type="onShow";k.trigger(r)})}if(g.predelay){clearTimeout(m);m=setTimeout(q,g.predelay)}else{q()}return p},hide:function(r){clearTimeout(l.data("timer"));clearTimeout(m);if(!l.is(":visible")){return}function q(){r=r||c.Event();r.type="onBeforeHide";k.trigger(r);if(r.isDefaultPrevented()){return}b[g.effect][1].call(p,function(){r.type="onHide";k.trigger(r)})}if(g.delay&&r){l.data("timer",setTimeout(q,g.delay))}else{q()}return p},isShown:function(){return l.is(":visible, :animated")},getConf:function(){return g},getTip:function(){return l},getTrigger:function(){return f},bind:function(q,r){k.bind(q,r);return p},onHide:function(q){return this.bind("onHide",q)},onBeforeShow:function(q){return this.bind("onBeforeShow",q)},onShow:function(q){return this.bind("onShow",q)},onBeforeHide:function(q){return this.bind("onBeforeHide",q)},unbind:function(q){k.unbind(q);return p}});c.each(g,function(q,r){if(c.isFunction(r)){p.bind(q,r)}})}c.prototype.tooltip=function(e){var f=this.eq(typeof e=="number"?e:0).data("tooltip");if(f){return f}var g=c.extend(true,{},c.tools.tooltip.conf);if(c.isFunction(e)){e={onBeforeShow:e}}else{if(typeof e=="string"){e={tip:e}}}e=c.extend(true,g,e);if(typeof e.position=="string"){e.position=e.position.split(/,?\s/)}if(e.lazy!==false&&(e.lazy===true||this.length>20)){this.one("mouseover",function(h){f=new a(c(this),e);f.show(h);d.push(f)})}else{this.each(function(){f=new a(c(this),e);d.push(f)})}return e.api?f:this}})(jQuery);
$("#prev a").click(function(event) { DeckViewerUI.previous(); });
$("#prev a").click(function() { DeckViewerUI.previous(); });
$("#prev a").click(function(event) { DeckViewerUI.previous(); });
el.pitches.each(function(pitch) { if (pitch.endSlur === undefined) pitch.endSlur = 1; else pitch.endSlur++; });
el.pitches.each(function(pitch) { pitch.startTie = true; });
el.pitches.each(function(pitch) { if (pitch.endSlur === undefined) pitch.endSlur = 1; else pitch.endSlur++; });
s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,
h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,h){if(!K){var s=navigator.vendor||
s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,
}).error(function(error, b) { console.error(img.data("src"), error, b); done.call();
}).error(function(error, b) { done.call(null, error);
}).error(function(error, b) { // TODO, call with error console.error(img.data("src"), error, b); done.call(); }).attr("src", img.data("src"));
}
};
return function() { oGeodesyMarker.dateChecked(year, month, date, dateChkId, dateHrefId); }
eff[0].call(self, function() {
eff[0].call(self, {top: top, left: left}, function() {
eff[0].call(self, function() { if (opened) { e.type = "onLoad"; fire.trigger(e); } });
h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,h){if(!K){var s=navigator.vendor||
M=setInterval(function(){var s,A;s=a();A=history.length;if(s!==k){k=s;h=A;f(k);b()}else if(A!==h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},
h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(function(){k()},0);else r=k},_initialize:function(){J!=null&&L()},_initTimeout:function(){o()},register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,h){if(!K){var s=navigator.vendor||
if (key == 8 || key == 9) {
if (key == 8 || key == 46) {
$(document).bind("keydown.d", function(e) { if (e.ctrlKey) { return true; } var key = e.keyCode; // backspace or delete clears the value if (key == 8 || key == 9) { input.val(""); return self.hide(e); } // esc or tab key exits if (key == 27 || key == 9) { return self.hide(e); } if ($(KEYS).index(key) >= 0) { if (!opened) { self.show(e); return e.preventDefault(); } var days = $("#" + css.weeks + " a"), el = $("." + css.focus), index = days.index(el); el.removeClass(css.focus); if (key == 74 || key == 40) { index += 7; } else if (key == 75 || key == 38) { index -= 7; } else if (key == 76 || key == 39) { index += 1; } else if (key == 72 || key == 37) { index -= 1; } if (index > 41) { self.addMonth(); el = $("#" + css.weeks + " a:eq(" + (index-42) + ")"); } else if (index < 0) { self.addMonth(-1); el = $("#" + css.weeks + " a:eq(" + (index+42) + ")"); } else { el = days.eq(index); } el.addClass(css.focus); return e.preventDefault(); } // pageUp / pageDown if (key == 34) { return self.addMonth(); } if (key == 33) { return self.addMonth(-1); } // home if (key == 36) { return self.today(); } // enter if (key == 13) { if (!$(e.target).is("select")) { $("." + css.focus).click(); } } return $([16, 17, 18, 9]).index(key) >= 0; });
function (args) { this._moveOrCopy(false, args.literalArg); },
function (args) { this._moveOrCopy(true, args.literalArg); },
function (args) { this._moveOrCopy(false, args.literalArg); },
function (args) { this._moveOrCopy(true, args.literalArg); },
function (args) { mail._moveOrCopy(true, args.literalArg); },
function (args) { this._moveOrCopy(true, args.literalArg); },
{ if (doc_docEl.scrollHeight - (window.pageYOffset + doc_docEl.clientHeight) > pixels_needed + 10) { viewPort.removeChild(div_tag); clearInterval(padding_interval); } }, 1000);
{ if (doc_docEl.scrollHeight - (window.pageYOffset + doc_docEl.clientHeight) > pixels_needed + 10) { viewPort.removeChild(padding_el); clearInterval(padding_interval); } }, 1000);
padding_interval = setInterval(function () { if (doc_docEl.scrollHeight - (window.pageYOffset + doc_docEl.clientHeight) > pixels_needed + 10) { viewPort.removeChild(div_tag); clearInterval(padding_interval); } }, 1000);
$(window).bind("click.d", function(e) { var el = e.target; if (!$(el).parents("#" + css.root).length && el != input[0] && (!trigger || el != trigger[0])) { self.hide(e);
$(document).bind("keydown.d", function(e) { var key = e.keyCode; if (key == 27) { return self.hide(e); } if ($(KEYS).index(key) >= 0) { if (root.is(":hidden")) { self.show(e); return e.preventDefault(); } var days = $("#" + css.weeks + " a"), el = $("." + css.focus), index = days.index(el); el.removeClass(css.focus); if (key == 74 || key == 40) { index += 7; } else if (key == 75 || key == 38) { index -= 7; } else if (key == 76 || key == 39) { index += 1; } else if (key == 72 || key == 37) { index -= 1; } if (index == -1) { self.prev(); el = $("#" + css.weeks + " a:last"); } else if (index == 35) { self.next(); el = $("#" + css.weeks + " a:first"); } else { el = days.eq(index); } el.addClass(css.focus); return e.preventDefault();
$(window).bind("click.d", function(e) { var el = e.target; if (!$(el).parents("#" + css.root).length && el != input[0] && (!trigger || el != trigger[0])) { self.hide(e); } });
if (key == 34) { return self.next(); } if (key == 33) { return self.prev(); } if (key == 36) { return self.today(); } if (key == 13) { if (!$(e.target).is("select")) { pick($("." + css.focus).data("date"), conf, e); } } return $([16, 17, 18, 9]).index(key) >= 0;
$(window).bind("click.d", function(e) { var el = e.target; if (!$(el).parents("#" + css.root).length && el != input[0] && (!trigger || el != trigger[0])) { self.hide(e); } });
$('.tree li.open').each(function()
$('.contentBlock').each(function()
$('.tree li.open').each(function() { // if the so-called open-element doesn't have any childs we should replace the open-class. if($(this).find('ul').length == 0) $(this).removeClass('open').addClass('leaf'); });
if($(this).find('ul').length == 0) $(this).removeClass('open').addClass('leaf');
if(i >= current.num_blocks) $(this).hide(); else { $(this).show(); $('.blockName', this).html(current.data.names[i]); } i++;
$('.tree li.open').each(function() { // if the so-called open-element doesn't have any childs we should replace the open-class. if($(this).find('ul').length == 0) $(this).removeClass('open').addClass('leaf'); });
setTimeout( function(){oNVCLMarker.updateInfoWindow()}, 500);
setTimeout( function(){oNVCLMarker.updateInfoWindow();}, 500);
setTimeout( function(){oNVCLMarker.updateInfoWindow()}, 500);