CSM: Forum stream

By marcin3k Last update Feb 17, 2008 — Installed 384 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0

Add Syntax Highlighting (this will take a few seconds, probably freezing your browser while it works)

// ==UserScript==
// @name           CSM: Forum stream
// @version        0.2
// @namespace      http://userscripts.org/users/26666
// @include        http://www*.cs-manager.com/forum/*
// ==/UserScript==

//MooTools, My Object Oriented Javascript Tools. Copyright (c) 2006-2007 Valerio Proietti, <http://mad4milk.net>, MIT Style License.
var J={version:"1.11"};function G($){return($!=undefined)}function e(_){if(!G(_))return false;if(_.htmlElement)return"element";var $=typeof _;if($=="object"&&_.nodeName)switch(_.nodeType){case 1:return"element";case 3:return(/\S/).test(_.nodeValue)?"textnode":"whitespace"}if($=="object"||$=="function"){switch(_.constructor){case Array:return"array";case RegExp:return"regexp";case b:return"class"}if(typeof _.length=="number"){if(_.item)return"collection";if(_.callee)return"arguments"}}return $}function a(){var C={};for(var B=0;B<arguments.length;B++)for(var _ in arguments[B]){var A=arguments[B][_],$=C[_];if($&&e(A)=="object"&&e($)=="object")C[_]=a($,A);else C[_]=A}return C}var _=function(){var $=arguments;if(!$[1])$=[this,$[0]];for(var _ in $[1])$[0][_]=$[1][_];return $[0]},X=function(){for(var _=0,$=arguments.length;_<$;_++)arguments[_].extend=function(_){for(var $ in _){if(!this.prototype[$])this.prototype[$]=_[$];if(!this[$])this[$]=X.generic($)}}};X.generic=function($){return function(_){return this.prototype[$].apply(_,Array.prototype.slice.call(arguments,1))}};X(Function,Array,String,Number);function D($){return!!($||$===0)}function C(_,$){return G(_)?_:$}function f(_,$){return Math.floor(Math.random()*($-_+1)+_)}function W(){return new Date().getTime()}function Z($){clearTimeout($);clearInterval($);return null}var h=function($){$=$||{};$.extend=_;return $},F=new h(window),I=new h(document);document.head=document.getElementsByTagName("head")[0];window.xpath=!!(document.evaluate);if(window.ActiveXObject)window.ie=window[window.XMLHttpRequest?"ie7":"ie6"]=true;else if(document.childNodes&&!document.all&&!navigator.taintEnabled)window.webkit=window[window.xpath?"webkit420":"webkit419"]=true;else if(document.getBoxObjectFor!=null)window.gecko=true;window.khtml=window.webkit;Object.extend=_;if(typeof U=="undefined"){var U=function(){};if(window.webkit)document.createElement("iframe");U.prototype=(window.webkit)?window["[[DOMElement.prototype]]"]:{}}U.prototype.htmlElement=function(){};if(window.ie6){try{document.execCommand("BackgroundImageCache",false,true)}catch(L){}}var b=function(A){var $=function(){return(arguments[0]!==null&&this.initialize&&e(this.initialize)=="function")?this.initialize.apply(this,arguments):this};_($,this);$.prototype=A;$.constructor=b;return $};b.empty=function(){};b.prototype={extend:function(A){var B=new this(null);for(var $ in A){var _=B[$];B[$]=b.Merge(_,A[$])}return new b(B)},implement:function(){for(var A=0,$=arguments.length;A<$;A++)_(this.prototype,arguments[A])}};b.Merge=function(B,$){if(B&&B!=$){var A=e($);if(A!=e(B))return $;switch(A){case"function":var _=function(){this.parent=arguments.callee.parent;return $.apply(this,arguments)};_.parent=B;return _;case"object":return a(B,$)}}return $};var R=new b({chain:function($){this.chains=this.chains||[];this.chains.push($);return this},callChain:function(){if(this.chains&&this.chains.length)this.chains.shift().delay(10,this)},clearChain:function(){this.chains=[]}}),Q=new b({addEvent:function(_,$){if($!=b.empty){this.$events=this.$events||{};this.$events[_]=this.$events[_]||[];this.$events[_].include($)}return this},fireEvent:function(A,_,$){if(this.$events&&this.$events[A])this.$events[A].each(function(A){A.create({bind:this,delay:$,"arguments":_})()},this);return this},removeEvent:function(_,$){if(this.$events&&this.$events[_])this.$events[_].remove($);return this}}),S=new b({setOptions:function(){this.options=a.apply(null,[this.options].extend(arguments));if(this.addEvent)for(var $ in this.options)if(e(this.options[$]=="function")&&(/^on[A-Z]/).test($))this.addEvent($,this.options[$]);return this}});Array.extend({forEach:function(B,$){for(var A=0,_=this.length;A<_;A++)B.call($,this[A],A,this)},filter:function($,_){var C=[];for(var B=0,A=this.length;B<A;B++)if($.call(_,this[B],B,this))C.push(this[B]);return C},map:function($,_){var C=[];for(var B=0,A=this.length;B<A;B++)C[B]=$.call(_,this[B],B,this);return C},every:function(B,$){for(var A=0,_=this.length;A<_;A++)if(!B.call($,this[A],A,this))return false;return true},some:function(B,$){for(var A=0,_=this.length;A<_;A++)if(B.call($,this[A],A,this))return true;return false},indexOf:function(B,$){var _=this.length;for(var A=($<0)?Math.max(0,_+$):$||0;A<_;A++)if(this[A]===B)return A;return-1},copy:function($,B){$=$||0;if($<0)$=this.length+$;B=B||(this.length-$);var _=[];for(var A=0;A<B;A++)_[A]=this[$++];return _},remove:function(A){var _=0,$=this.length;while(_<$)if(this[_]===A){this.splice(_,1);$--}else _++;return this},contains:function($,_){return this.indexOf($,_)!=-1},associate:function(B){var $={},A=Math.min(this.length,B.length);for(var _=0;_<A;_++)$[B[_]]=this[_];return $},extend:function(A){for(var _=0,$=A.length;_<$;_++)this.push(A[_]);return this},merge:function(A){for(var _=0,$=A.length;_<$;_++)this.include(A[_]);return this},include:function($){if(!this.contains($))this.push($);return this},getRandom:function(){return this[f(0,this.length-1)]||null},getLast:function(){return this[this.length-1]||null}});Array.prototype.each=Array.prototype.forEach;Array.each=Array.forEach;function E($){return Array.copy($)}function K(B,A,$){if(B&&typeof B.length=="number"&&e(B)!="object")Array.forEach(B,A,$);else for(var _ in B)A.call($||B,B[_],_)}Array.prototype.test=Array.prototype.contains;String.extend({test:function($,_){return((e($)=="string")?new RegExp($,_):$).test(this)},toInt:function(){return parseInt(this,10)},toFloat:function(){return parseFloat(this)},camelCase:function(){return this.replace(/-\D/g,function($){return $.charAt(1).toUpperCase()})},hyphenate:function(){return this.replace(/\w[A-Z]/g,function($){return($.charAt(0)+"-"+$.charAt(1).toLowerCase())})},capitalize:function(){return this.replace(/\b[a-z]/g,function($){return $.toUpperCase()})},trim:function(){return this.replace(/^\s+|\s+$/g,"")},clean:function(){return this.replace(/\s{2,}/g," ").trim()},rgbToHex:function(_){var $=this.match(/\d{1,3}/g);return($)?$.rgbToHex(_):false},hexToRgb:function(_){var $=this.match(/^#?(\w{1,2})(\w{1,2})(\w{1,2})$/);return($)?$.slice(1).hexToRgb(_):false},contains:function($,_){return(_)?(_+this+_).indexOf(_+$+_)>-1:this.indexOf($)>-1},escapeRegExp:function(){return this.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")}});Array.extend({rgbToHex:function($){if(this.length<3)return false;if(this.length==4&&this[3]==0&&!$)return"transparent";var A=[];for(var _=0;_<3;_++){var B=(this[_]-0).toString(16);A.push((B.length==1)?"0"+B:B)}return $?A:"#"+A.join("")},hexToRgb:function(A){if(this.length!=3)return false;var $=[];for(var _=0;_<3;_++)$.push(parseInt((this[_].length==1)?this[_]+this[_]:this[_],16));return A?$:"rgb("+$.join(",")+")"}});Function.extend({create:function($){var _=this;$=a({bind:_,event:false,"arguments":null,delay:false,periodical:false,attempt:false},$);if(D($.arguments)&&e($.arguments)!="array")$.arguments=[$.arguments];return function(B){var E;if($.event){B=B||window.event;E=[($.event===true)?B:new $.event(B)];if($.arguments)E.extend($.arguments)}else E=$.arguments||arguments;var D=function(){return _.apply(C($.bind,_),E)};if($.delay)return setTimeout(D,$.delay);if($.periodical)return setInterval(D,$.periodical);if($.attempt){try{return D()}catch(A){return false}}return D()}},pass:function($,_){return this.create({"arguments":$,bind:_})},attempt:function($,_){return this.create({"arguments":$,bind:_,attempt:true})()},bind:function(_,$){return this.create({bind:_,"arguments":$})},bindAsEventListener:function(_,$){return this.create({bind:_,event:true,"arguments":$})},delay:function(_,A,$){return this.create({delay:_,bind:A,"arguments":$})()},periodical:function($,A,_){return this.create({periodical:$,bind:A,"arguments":_})()}});Number.extend({toInt:function(){return parseInt(this)},toFloat:function(){return parseFloat(this)},limit:function(_,$){return Math.min($,Math.max(_,this))},round:function($){$=Math.pow(10,$||0);return Math.round(this*$)/$},times:function(_){for(var $=0;$<this;$++)_($)}});var g=new b({initialize:function($,B){if(e($)=="string"){if(window.ie&&B&&(B.name||B.type)){var _=(B.name)?" name=\""+B.name+"\"":"",A=(B.type)?" type=\""+B.type+"\"":"";delete B.name;delete B.type;$="<"+$+_+A+">"}$=document.createElement($)}$=M($);return(!B||!$)?$:$.set(B)}}),d=new b({initialize:function($){return($)?_($,this):this}});d.extend=function($){for(var _ in $){this.prototype[_]=$[_];this[_]=X.generic(_)}};function M(A){if(!A)return null;if(A.htmlElement)return B.collect(A);if([window,document].contains(A))return A;var $=e(A);if($=="string"){A=document.getElementById(A);$=(A)?"element":false}if($!="element")return null;if(A.htmlElement)return B.collect(A);if(["object","embed"].contains(A.tagName.toLowerCase()))return A;_(A,g.prototype);A.htmlElement=function(){};return B.collect(A)}document.getElementsBySelector=document.getElementsByTagName;function $(){var _=[];for(var C=0,B=arguments.length;C<B;C++){var A=arguments[C];switch(e(A)){case"element":_.push(A);case"boolean":break;case false:break;case"string":A=document.getElementsBySelector(A,true);default:_.extend(A)}}return $.unique(_)}$.unique=function(B){var $=[];for(var E=0,C=B.length;E<C;E++){if(B[E].$included)continue;var D=M(B[E]);if(D&&!D.$included){D.$included=true;$.push(D)}}for(var A=0,_=$.length;A<_;A++)$[A].$included=null;return new d($)};d.Multi=function(_){return function(){var A=arguments,E=[],D=true;for(var B=0,F=this.length,C;B<F;B++){C=this[B][_].apply(this[B],A);if(e(C)!="element")D=false;E.push(C)}return(D)?$.unique(E):E}};g.extend=function($){for(var _ in $){U.prototype[_]=$[_];g.prototype[_]=$[_];g[_]=X.generic(_);var A=(Array.prototype[_])?_+"Elements":_;d.prototype[A]=d.Multi(_)}};g.extend({set:function($){for(var A in $){var _=$[A];switch(A){case"styles":this.setStyles(_);break;case"events":if(this.addEvents)this.addEvents(_);break;case"properties":this.setProperties(_);break;default:this.setProperty(A,_)}}return this},inject:function(B,_){B=M(B);switch(_){case"before":B.parentNode.insertBefore(this,B);break;case"after":var A=B.getNext();if(!A)B.parentNode.appendChild(this);else B.parentNode.insertBefore(this,A);break;case"top":var $=B.firstChild;if($){B.insertBefore(this,$);break}default:B.appendChild(this)}return this},injectBefore:function($){return this.inject($,"before")},injectAfter:function($){return this.inject($,"after")},injectInside:function($){return this.inject($,"bottom")},injectTop:function($){return this.inject($,"top")},adopt:function(){var _=[];K(arguments,function($){_=_.concat($)});$(_).inject(this);return this},remove:function(){return this.parentNode.removeChild(this)},clone:function(A){var _=M(this.cloneNode(A!==false));if(!_.$events)return _;_.$events={};for(var $ in this.$events)_.$events[$]={keys:E(this.$events[$].keys),values:E(this.$events[$].values)};return _.removeEvents()},replaceWith:function($){$=M($);this.parentNode.replaceChild($,this);return $},appendText:function($){this.appendChild(document.createTextNode($));return this},hasClass:function($){return this.className.contains($," ")},addClass:function($){if(!this.hasClass($))this.className=(this.className+" "+$).clean();return this},removeClass:function($){this.className=this.className.replace(new RegExp("(^|\\s)"+$+"(?:\\s|$)"),"$1").clean();return this},toggleClass:function($){return this.hasClass($)?this.removeClass($):this.addClass($)},setStyle:function(_,$){switch(_){case"opacity":return this.setOpacity(parseFloat($));case"float":_=(window.ie)?"styleFloat":"cssFloat"}_=_.camelCase();switch(e($)){case"number":if(!["zIndex","zoom"].contains(_))$+="px";break;case"array":$="rgb("+$.join(",")+")"}this.style[_]=$;return this},setStyles:function($){switch(e($)){case"object":g.setMany(this,"setStyle",$);break;case"string":this.style.cssText=$}return this},setOpacity:function($){if($==0){if(this.style.visibility!="hidden")this.style.visibility="hidden"}else if(this.style.visibility!="visible")this.style.visibility="visible";if(!this.currentStyle||!this.currentStyle.hasLayout)this.style.zoom=1;if(window.ie)this.style.filter=($==1)?"":"alpha(opacity="+$*100+")";this.style.opacity=this.$tmp.opacity=$;return this},getStyle:function(B){B=B.camelCase();var _=this.style[B];if(!D(_)){if(B=="opacity")return this.$tmp.opacity;_=[];for(var A in g.Styles)if(B==A){g.Styles[A].each(function(A){var $=this.getStyle(A);_.push(parseInt($)?$:"0px")},this);if(B=="border"){var $=_.every(function($){return($==_[0])});return($)?_[0]:false}return _.join(" ")}if(B.contains("border"))if(g.Styles.border.contains(B))return["Width","Style","Color"].map(function($){return this.getStyle(B+$)},this).join(" ");else if(g.borderShort.contains(B))return["Top","Right","Bottom","Left"].map(function($){return this.getStyle("border"+$+B.replace("border",""))},this).join(" ");if(document.defaultView)_=document.defaultView.getComputedStyle(this,null).getPropertyValue(B.hyphenate());else if(this.currentStyle)_=this.currentStyle[B]}if(window.ie)_=g.fixStyle(B,_,this);if(_&&B.test(/color/i)&&_.contains("rgb"))return _.split("rgb").splice(1,4).map(function($){return $.rgbToHex()}).join(" ");return _},getStyles:function(){return g.getMany(this,"getStyle",arguments)},walk:function($,A){$+="Sibling";var _=(A)?this[A]:this[$];while(_&&e(_)!="element")_=_[$];return M(_)},getPrevious:function(){return this.walk("previous")},getNext:function(){return this.walk("next")},getFirst:function(){return this.walk("next","firstChild")},getLast:function(){return this.walk("previous","lastChild")},getParent:function(){return M(this.parentNode)},getChildren:function(){return $(this.childNodes)},hasChild:function($){return!!E(this.getElementsByTagName("*")).contains($)},getProperty:function($){var A=g.Properties[$];if(A)return this[A];var _=g.PropertiesIFlag[$]||0;if(!window.ie||_)return this.getAttribute($,_);var B=this.attributes[$];return(B)?B.nodeValue:null},removeProperty:function(_){var $=g.Properties[_];if($)this[$]="";else this.removeAttribute(_);return this},getProperties:function(){return g.getMany(this,"getProperty",arguments)},setProperty:function(A,_){var $=g.Properties[A];if($)this[$]=_;else this.setAttribute(A,_);return this},setProperties:function($){return g.setMany(this,"setProperty",$)},setHTML:function(){this.innerHTML=E(arguments).join("");return this},setText:function(_){var $=this.getTag();if(["style","script"].contains($))if(window.ie){if($=="style")this.styleSheet.cssText=_;else if($=="script")this.setProperty("text",_);return this}else{this.removeChild(this.firstChild);return this.appendText(_)}this[G(this.innerText)?"innerText":"textContent"]=_;return this},getText:function(){var $=this.getTag();if(["style","script"].contains($))if(window.ie){if($=="style")return this.styleSheet.cssText;else if($=="script")return this.getProperty("text")}else return this.innerHTML;return(C(this.innerText,this.textContent))},getTag:function(){return this.tagName.toLowerCase()},empty:function(){B.trash(this.getElementsByTagName("*"));return this.setHTML("")}});g.fixStyle=function(_,A,$){if(D(parseInt(A)))return A;if(["height","width"].contains(_)){var B=(_=="width")?["left","right"]:["top","bottom"],C=0;B.each(function(_){C+=$.getStyle("border-"+_+"-width").toInt()+$.getStyle("padding-"+_).toInt()});return $["offset"+_.capitalize()]-C+"px"}else if(_.test(/border(.+)Width|margin|padding/))return"0px";return A};g.Styles={border:[],padding:[],margin:[]};["Top","Right","Bottom","Left"].each(function(_){for(var $ in g.Styles)g.Styles[$].push($+_)});g.borderShort=["borderWidth","borderStyle","borderColor"];g.getMany=function(A,$,B){var _={};K(B,function(B){_[B]=A[$](B)});return _};g.setMany=function(A,$,B){for(var _ in B)A[$](_,B[_]);return A};g.Properties=new h({"class":"className","for":"htmlFor",colspan:"colSpan",rowspan:"rowSpan",accesskey:"accessKey",tabindex:"tabIndex",maxlength:"maxLength",readonly:"readOnly",frameborder:"frameBorder",value:"value",disabled:"disabled",checked:"checked",multiple:"multiple",selected:"selected"});g.PropertiesIFlag={href:2,src:2};g.Methods={Listeners:{addListener:function(_,$){if(this.addEventListener)this.addEventListener(_,$,false);else this.attachEvent("on"+_,$);return this},removeListener:function(_,$){if(this.removeEventListener)this.removeEventListener(_,$,false);else this.detachEvent("on"+_,$);return this}}};window.extend(g.Methods.Listeners);document.extend(g.Methods.Listeners);g.extend(g.Methods.Listeners);var B={elements:[],collect:function($){if(!$.$tmp){B.elements.push($);$.$tmp={opacity:1}}return $},trash:function($){for(var D=0,C=$.length,E;D<C;D++){if(!(E=$[D])||!E.$tmp)continue;if(E.$events)E.fireEvent("trash").removeEvents();for(var _ in E.$tmp)E.$tmp[_]=null;for(var A in g.prototype)E[A]=null;B.elements[B.elements.indexOf(E)]=null;E.htmlElement=E.$tmp=E=null}B.elements.remove(null)},empty:function(){B.collect(window);B.collect(document);B.trash(B.elements)}};window.addListener("beforeunload",function(){window.addListener("unload",B.empty);if(window.ie)window.addListener("unload",CollectGarbage)});var N=new b({initialize:function(A){if(A&&A.$extended)return A;this.$extended=true;A=A||window.event;this.event=A;this.type=A.type;this.target=A.target||A.srcElement;if(this.target.nodeType==3)this.target=this.target.parentNode;this.shift=A.shiftKey;this.control=A.ctrlKey;this.alt=A.altKey;this.meta=A.metaKey;if(["DOMMouseScroll","mousewheel"].contains(this.type))this.wheel=(A.wheelDelta)?A.wheelDelta/120:-(A.detail||0)/3;else if(this.type.contains("key")){this.code=A.which||A.keyCode;for(var _ in N.keys)if(N.keys[_]==this.code){this.key=_;break}if(this.type=="keydown"){var $=this.code-111;if($>0&&$<13)this.key="f"+$}this.key=this.key||String.fromCharCode(this.code).toLowerCase()}else if(this.type.test(/(click|mouse|menu)/)){this.page={x:A.pageX||A.clientX+document.documentElement.scrollLeft,y:A.pageY||A.clientY+document.documentElement.scrollTop};this.client={x:A.pageX?A.pageX-window.pageXOffset:A.clientX,y:A.pageY?A.pageY-window.pageYOffset:A.clientY};this.rightClick=(A.which==3)||(A.button==2);switch(this.type){case"mouseover":this.relatedTarget=A.relatedTarget||A.fromElement;break;case"mouseout":this.relatedTarget=A.relatedTarget||A.toElement}this.fixRelatedTarget()}return this},stop:function(){return this.stopPropagation().preventDefault()},stopPropagation:function(){if(this.event.stopPropagation)this.event.stopPropagation();else this.event.cancelBubble=true;return this},preventDefault:function(){if(this.event.preventDefault)this.event.preventDefault();else this.event.returnValue=false;return this}});N.fix={relatedTarget:function(){if(this.relatedTarget&&this.relatedTarget.nodeType==3)this.relatedTarget=this.relatedTarget.parentNode},relatedTargetGecko:function(){try{N.fix.relatedTarget.call(this)}catch($){this.relatedTarget=this.target}}};N.prototype.fixRelatedTarget=(window.gecko)?N.fix.relatedTargetGecko:N.fix.relatedTarget;N.keys=new h({enter:13,up:38,down:40,left:37,right:39,esc:27,space:32,backspace:8,tab:9,"delete":46});g.Methods.Events={addEvent:function(B,A){this.$events=this.$events||{};this.$events[B]=this.$events[B]||{keys:[],values:[]};if(this.$events[B].keys.contains(A))return this;this.$events[B].keys.push(A);var _=B,$=g.Events[B];if($){if($.add)$.add.call(this,A);if($.map)A=$.map;if($.type)_=$.type}if(!this.addEventListener)A=A.create({bind:this,event:true});this.$events[B].values.push(A);return(g.NativeEvents.contains(_))?this.addListener(_,A):this},removeEvent:function(D,C){if(!this.$events||!this.$events[D])return this;var A=this.$events[D].keys.indexOf(C);if(A==-1)return this;var B=this.$events[D].keys.splice(A,1)[0],_=this.$events[D].values.splice(A,1)[0],$=g.Events[D];if($){if($.remove)$.remove.call(this,C);if($.type)D=$.type}return(g.NativeEvents.contains(D))?this.removeListener(D,_):this},addEvents:function($){return g.setMany(this,"addEvent",$)},removeEvents:function($){if(!this.$events)return this;if(!$){for(var _ in this.$events)this.removeEvents(_);this.$events=null}else if(this.$events[$]){this.$events[$].keys.each(function(_){this.removeEvent($,_)},this);this.$events[$]=null}return this},fireEvent:function(A,_,$){if(this.$events&&this.$events[A])this.$events[A].keys.each(function(A){A.create({bind:this,delay:$,"arguments":_})()},this);return this},cloneEvents:function(A,$){if(!A.$events)return this;if(!$){for(var _ in A.$events)this.cloneEvents(A,_)}else if(A.$events[$])A.$events[$].keys.each(function(_){this.addEvent($,_)},this);return this}};window.extend(g.Methods.Events);document.extend(g.Methods.Events);g.extend(g.Methods.Events);g.Events=new h({mouseenter:{type:"mouseover",map:function($){$=new N($);if($.relatedTarget!=this&&!this.hasChild($.relatedTarget))this.fireEvent("mouseenter",$)}},mouseleave:{type:"mouseout",map:function($){$=new N($);if($.relatedTarget!=this&&!this.hasChild($.relatedTarget))this.fireEvent("mouseleave",$)}},mousewheel:{type:(window.gecko)?"DOMMouseScroll":"mousewheel"}});g.NativeEvents=["click","dblclick","mouseup","mousedown","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","keydown","keypress","keyup","load","unload","beforeunload","resize","move","focus","blur","change","submit","reset","select","error","abort","contextmenu","scroll"];Function.extend({bindWithEvent:function(_,$){return this.create({bind:_,"arguments":$,event:N})}});d.extend({filterByTag:function($){return new d(this.filter(function(_){return(g.getTag(_)==$)}))},filterByClass:function($,A){var _=this.filter(function(_){return(_.className&&_.className.contains($," "))});return(A)?_:new d(_)},filterById:function(A,_){var $=this.filter(function($){return($.id==A)});return(_)?$:new d($)},filterByAttribute:function(B,A,$,_){var C=this.filter(function(_){var C=g.getProperty(_,B);if(!C)return false;if(!A)return true;switch(A){case"=":return(C==$);case"*=":return(C.contains($));case"^=":return(C.substr(0,$.length)==$);case"$=":return(C.substr(C.length-$.length)==$);case"!=":return(C!=$);case"~=":return C.contains($," ")}return false});return(_)?C:new d(C)}});function H($,_){return(M(_)||document).getElement($)}function c($,_){return(M(_)||document).getElementsBySelector($)}$.shared={regexp:/^(\w*|\*)(?:#([\w-]+)|\.([\w-]+))?(?:\[(\w+)(?:([!*^$]?=)["']?([^"'\]]*)["']?)?])?$/,xpath:{getParam:function(B,$,_,C){var A=[$.namespaceURI?"xhtml:":"",_[1]];if(_[2])A.push("[@id=\"",_[2],"\"]");if(_[3])A.push("[contains(concat(\" \", @class, \" \"), \" ",_[3]," \")]");if(_[4])if(_[5]&&_[6])switch(_[5]){case"*=":A.push("[contains(@",_[4],", \"",_[6],"\")]");break;case"^=":A.push("[starts-with(@",_[4],", \"",_[6],"\")]");break;case"$=":A.push("[substring(@",_[4],", string-length(@",_[4],") - ",_[6].length," + 1) = \"",_[6],"\"]");break;case"=":A.push("[@",_[4],"=\"",_[6],"\"]");break;case"!=":A.push("[@",_[4],"!=\"",_[6],"\"]")}else A.push("[@",_[4],"]");B.push(A.join(""));return B},getItems:function(E,A,C){var B=[],D=document.evaluate(".//"+E.join("//"),A,$.shared.resolver,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(var _=0,F=D.snapshotLength;_<F;_++)B.push(D.snapshotItem(_));return(C)?B:new d(B.map(M))}},normal:{getParam:function(B,D,A,C){if(C==0){if(A[2]){var _=D.getElementById(A[2]);if(!_||((A[1]!="*")&&(g.getTag(_)!=A[1])))return false;B=[_]}else B=E(D.getElementsByTagName(A[1]))}else{B=$.shared.getElementsByTagName(B,A[1]);if(A[2])B=d.filterById(B,A[2],true)}if(A[3])B=d.filterByClass(B,A[3],true);if(A[4])B=d.filterByAttribute(B,A[4],A[5],A[6],true);return B},getItems:function(_,A,B){return(B)?_:$.unique(_)}},resolver:function($){return($=="xhtml")?"http://www.w3.org/1999/xhtml":false},getElementsByTagName:function($,C){var _=[];for(var B=0,A=$.length;B<A;B++)_.extend($[B].getElementsByTagName(C));return _}};$.shared.method=(window.xpath)?"xpath":"normal";g.Methods.Dom={getElements:function(D,G){var F=[];D=D.trim().split(" ");for(var A=0,_=D.length;A<_;A++){var B=D[A],C=B.match($.shared.regexp);if(!C)break;C[1]=C[1]||"*";var E=$.shared[$.shared.method].getParam(F,this,C,A);if(!E)break;F=E}return $.shared[$.shared.method].getItems(F,this,G)},getElement:function($){return M(this.getElements($,true)[0]||false)},getElementsBySelector:function(B,A){var _=[];B=B.split(",");for(var D=0,C=B.length;D<C;D++)_=_.concat(this.getElements(B[D],true));return(A)?_:$.unique(_)}};g.extend({getElementById:function(A){var _=document.getElementById(A);if(!_)return false;for(var $=_.parentNode;$!=this;$=$.parentNode)if(!$)return false;return _},getElementsByClassName:function($){return this.getElements("."+$)}});document.extend(g.Methods.Dom);g.extend(g.Methods.Dom);g.extend({scrollTo:function($,_){this.scrollLeft=$;this.scrollTop=_},getSize:function(){return{scroll:{x:this.scrollLeft,y:this.scrollTop},size:{x:this.offsetWidth,y:this.offsetHeight},scrollSize:{x:this.scrollWidth,y:this.scrollHeight}}},getPosition:function(_){_=_||[];var A=this,$=0,B=0;do{$+=A.offsetLeft||0;B+=A.offsetTop||0;A=A.offsetParent}while(A);_.each(function(_){$-=_.scrollLeft||0;B-=_.scrollTop||0});return{x:$,y:B}},getTop:function($){return this.getPosition($).y},getLeft:function($){return this.getPosition($).x},getCoordinates:function(_){var $=this.getPosition(_),A={width:this.offsetWidth,height:this.offsetHeight,left:$.x,top:$.y};A.right=A.left+A.width;A.bottom=A.top+A.height;return A}});g.Events.domready={add:function(_){if(window.loaded){_.call(this);return}var $=function(){if(window.loaded)return;window.loaded=true;window.timer=Z(window.timer);this.fireEvent("domready")}.bind(this);if(document.readyState&&window.webkit)window.timer=function(){if(["loaded","complete"].contains(document.readyState))$()}.periodical(50);else if(document.readyState&&window.ie){if(!M("ie_ready")){var A=(window.location.protocol=="https:")?"://0":"javascript:void(0)";document.write("<script id=\"ie_ready\" defer src=\""+A+"\"></script>");M("ie_ready").onreadystatechange=function(){if(this.readyState=="complete")$()}}}else{window.addListener("load",$);document.addListener("DOMContentLoaded",$)}}};window.onDomReady=function($){return this.addEvent("domready",$)};window.extend({getWidth:function(){if(this.webkit419)return this.innerWidth;if(this.opera)return document.body.clientWidth;return document.documentElement.clientWidth},getHeight:function(){if(this.webkit419)return this.innerHeight;if(this.opera)return document.body.clientHeight;return document.documentElement.clientHeight},getScrollWidth:function(){if(this.ie)return Math.max(document.documentElement.offsetWidth,document.documentElement.scrollWidth);if(this.webkit)return document.body.scrollWidth;return document.documentElement.scrollWidth},getScrollHeight:function(){if(this.ie)return Math.max(document.documentElement.offsetHeight,document.documentElement.scrollHeight);if(this.webkit)return document.body.scrollHeight;return document.documentElement.scrollHeight},getScrollLeft:function(){return this.pageXOffset||document.documentElement.scrollLeft},getScrollTop:function(){return this.pageYOffset||document.documentElement.scrollTop},getSize:function(){return{size:{x:this.getWidth(),y:this.getHeight()},scrollSize:{x:this.getScrollWidth(),y:this.getScrollHeight()},scroll:{x:this.getScrollLeft(),y:this.getScrollTop()}}},getPosition:function(){return{x:0,y:0}}});var T={};T.Base=new b({options:{onStart:b.empty,onComplete:b.empty,onCancel:b.empty,transition:function($){return-(Math.cos(Math.PI*$)-1)/2},duration:500,unit:"px",wait:true,fps:50},initialize:function($){this.element=this.element||null;this.setOptions($);if(this.options.initialize)this.options.initialize.call(this)},step:function(){var $=W();if($<this.time+this.options.duration){this.delta=this.options.transition(($-this.time)/this.options.duration);this.setNow();this.increase()}else{this.stop(true);this.set(this.to);this.fireEvent("onComplete",this.element,10);this.callChain()}},set:function($){this.now=$;this.increase();return this},setNow:function(){this.now=this.compute(this.from,this.to)},compute:function(_,$){return($-_)*this.delta+_},start:function(_,$){if(!this.options.wait)this.stop();else if(this.timer)return this;this.from=_;this.to=$;this.change=this.to-this.from;this.time=W();this.timer=this.step.periodical(Math.round(1000/this.options.fps),this);this.fireEvent("onStart",this.element);return this},stop:function($){if(!this.timer)return this;this.timer=Z(this.timer);if(!$)this.fireEvent("onCancel",this.element);return this},custom:function(_,$){return this.start(_,$)},clearTimer:function($){return this.stop($)}});T.Base.implement(new R,new Q,new S);T.Scroll=T.Base.extend({options:{overflown:[],offset:{x:0,y:0},wheelStops:true},initialize:function(_,$){this.now=[];this.element=M(_);this.bound={stop:this.stop.bind(this,false)};this.parent($);if(this.options.wheelStops){this.addEvent("onStart",function(){document.addEvent("mousewheel",this.bound.stop)}.bind(this));this.addEvent("onComplete",function(){document.removeEvent("mousewheel",this.bound.stop)}.bind(this))}},setNow:function(){for(var $=0;$<2;$++)this.now[$]=this.compute(this.from[$],this.to[$])},scrollTo:function(C,A){if(this.timer&&this.options.wait)return this;var $=this.element.getSize(),E={x:C,y:A};for(var _ in $.size){var B=$.scrollSize[_]-$.size[_];if(D(E[_]))E[_]=(e(E[_])=="number")?E[_].limit(0,B):B;else E[_]=$.scroll[_];E[_]+=this.options.offset[_]}return this.start([$.scroll.x,$.scroll.y],[E.x,E.y])},toTop:function(){return this.scrollTo(false,0)},toBottom:function(){return this.scrollTo(false,"full")},toLeft:function(){return this.scrollTo(0,false)},toRight:function(){return this.scrollTo("full",false)},toElement:function(_){var $=this.element.getPosition(this.options.overflown),A=M(_).getPosition(this.options.overflown);return this.scrollTo(A.x-$.x,A.y-$.y)},increase:function(){this.element.scrollTo(this.now[0],this.now[1])}});var O=new b({options:{method:"post",async:true,onRequest:b.empty,onSuccess:b.empty,onFailure:b.empty,urlEncoded:true,encoding:"utf-8",autoCancel:false,headers:{}},setTransport:function(){this.transport=(window.XMLHttpRequest)?new XMLHttpRequest():(window.ie?new ActiveXObject("Microsoft.XMLHTTP"):false);return this},initialize:function($){this.setTransport().setOptions($);this.options.isSuccess=this.options.isSuccess||this.isSuccess;this.headers={};if(this.options.urlEncoded&&this.options.method=="post"){var _=(this.options.encoding)?"; charset="+this.options.encoding:"";this.setHeader("Content-type","application/x-www-form-urlencoded"+_)}if(this.options.initialize)this.options.initialize.call(this)},onStateChange:function(){if(this.transport.readyState!=4||!this.running)return;this.running=false;var $=0;try{$=this.transport.status}catch(_){}if(this.options.isSuccess.call(this,$))this.onSuccess();else this.onFailure();this.transport.onreadystatechange=b.empty},isSuccess:function($){return(($>=200)&&($<300))},onSuccess:function(){this.response={text:this.transport.responseText,xml:this.transport.responseXML};this.fireEvent("onSuccess",[this.response.text,this.response.xml]);this.callChain()},onFailure:function(){this.fireEvent("onFailure",this.transport)},setHeader:function($,_){this.headers[$]=_;return this},send:function(A,D){if(this.options.autoCancel)this.cancel();else if(this.running)return this;this.running=true;if(D&&this.options.method=="get"){A=A+(A.contains("?")?"&":"?")+D;D=null}this.transport.open(this.options.method.toUpperCase(),A,this.options.async);this.transport.onreadystatechange=this.onStateChange.bind(this);if((this.options.method=="post")&&this.transport.overrideMimeType)this.setHeader("Connection","close");_(this.headers,this.options.headers);for(var B in this.headers){try{this.transport.setRequestHeader(B,this.headers[B])}catch($){}}this.fireEvent("onRequest");this.transport.send(C(D,null));return this},cancel:function(){if(!this.running)return this;this.running=false;this.transport.abort();this.transport.onreadystatechange=b.empty;this.setTransport();this.fireEvent("onCancel");return this}});O.implement(new R,new Q,new S);var Y=T.Scroll.extend({initialize:function(A){this.parent(window,A);this.links=(this.options.links)?$(this.options.links):$(document.links);var _=window.location.href.match(/^[^#]*/)[0]+"#";this.links.each(function($){if($.href.indexOf(_)!=0)return;var A=$.href.substr(_.length);if(A&&M(A))this.useLink($,A)},this);if(!window.webkit419)this.addEvent("onComplete",function(){window.location.hash=this.anchor})},useLink:function(_,$){_.addEvent("click",function(_){this.anchor=$;this.toElement($);_.stop()}.bindWithEvent(this))}});function A(C){var _=window.location.href;switch(C){case"!DIR":var B=P.dir.exec(_);break;case"!DIR2":B=P.dir2.exec(_);return B[2];break;default:var A="[\\?&]"+C+"=([^&#]*)",$=new RegExp(A),B=$.exec(_)}if(B)return B[1]}function V(_){var $=_.offsetTop;_=_.offsetParent;while(_){$+=_.offsetTop;_=_.offsetParent}return $}var P={dir:new RegExp("^http://www\\d?\\.cs-manager\\.com/(.*?)/(.*?)$","i"),dir2:new RegExp("^http://www\\d?\\.cs-manager\\.com/(.*?)/(.*?)/(.*?)$","i"),};window.addEvent("domready",function(){(function(){var B=0,J,G,Q,F,P=M("container"),L,I,R,S,E;if(A("t")&&!A("s")){L=20;var C=M("path").getElements("a")[1];new g("a",{"href":C,"styles":{"position":"fixed","bottom":"0px","right":"46px","border-top":"1px solid #000","border-left":"1px solid #000","padding":"5px","background-color":"#e0e0e0",},}).setHTML(C.textContent).injectInside(document.body);new g("a",{"href":"/forum/?p=topic&t="+A("t"),"styles":{"position":"fixed","top":"0px","left":"928px","border-bottom":"1px solid #000","border-right":"1px solid #000","padding":"5px","background-color":"#e0e0e0",},}).setHTML("First page").injectInside(document.body);new g("a",{"href":"javascript: void(0)","events":{"click":function(){N()},},"styles":{"position":"fixed","bottom":"0px","left":"951px","border-top":"1px solid #000","border-right":"1px solid #000","padding":"5px","background-color":"#c0c0c0",},}).setHTML("stream rest").injectInside(document.body)}else L=30;J=$("td.foot span");G=J.getParent().getLast();if((J==null)||(G==null))return false;Q=J.getLast().getElement("b").textContent;F=J.getLast().getElement("a[href$="+Q*L+"]");new g("a",{"href":"#container","styles":{"position":"fixed","top":"0px","left":"900px","border-bottom":"1px solid #000","border-right":"1px solid #000","padding":"5px","background-color":"#fff",},}).setHTML("top").injectInside(document.body);new g("a",{"href":"#footer","styles":{"position":"fixed","bottom":"0px","left":"900px","border-top":"1px solid #000","border-right":"1px solid #000","padding":"5px","background-color":"#fff",},}).setHTML("bottom").injectInside(document.body);new g("a",{"href":"/forum/","styles":{"position":"fixed","bottom":"0px","right":"0px","border-top":"1px solid #000","border-left":"1px solid #000","padding":"5px","background-color":"#c0c0c0",},}).setHTML("Forum").injectInside(document.body);var D=function(_){R=_.match(/<tr class="even">((.|\r|\n)*?)<\/tr>[ \t\r\n\v\f]*?<tr>[ \t\r\n\v\f]*?<td colspan="(\d)" class="foot">((.|\r|\n)*?)<\/td>[ \t\r\n\v\f]*?<\/tr>/im)[0];E=document.createRange();E.selectNode(G.getParent());S=E.createContextualFragment(R);G.getParent().getParent().appendChild(S);G.getParent().remove();J=$("td.foot span");G=J.getParent().getLast();Q=J.getLast().getElement("b").textContent;F=J.getLast().getElement("a[href$="+Q*L+"]");P.setStyle("height",V(G));B=setTimeout(H,200)},K=new O({method:"get",onSuccess:D}),_=false,N=function(){J=$("td.foot span");G=J.getParent().getLast();Q=J.getLast().getElement("b").textContent;F=J.getLast().getElement("a[href$="+Q*L+"]");if(F==null){if(M("light"))M("light").remove();return false}if(_==false){_=true;new g("div",{"id":"light","style":"background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAQMAAAAk8RryAAAAA1BMVEUAAACnej3aAAAAAXRSTlOzEo46UAAAAA5JREFUGJVjYBgFgwkAAAGQAAHY85U/AAAAAElFTkSuQmCC);position:fixed;top:0px;left:0px;width:100%;height:100%;",}).adopt(new g("img",{"src":"data:image/gif;base64,R0lGODlhGAAYAPcAAAAAAAEBAQICAgMDAwQEBAUFBQYGBgcHBwgICAkJCQoKCgsLCwwMDA0NDQ4ODg8PDxAQEBERERMTExQUFBUVFRYWFhcXFxgYGBkZGRoaGhsbGx4eHh8fHyAgICEhISIiIiMjIyQkJCYmJicnJygoKCkpKSsrKywsLC4uLi8vLzAwMDIyMjMzMzQ0NDU1NTY2Njc3Nzg4ODk5OTo6Ojs7Ozw8PD4%2BPj8%2FP0BAQ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32GTLCMWTNnkZ5Biw6QWLEChCIHRJ7smIANKyAq0tkTUSGJKm7abKpIgpChIRcIFljC5s0XFgdm1CFoIUWBDn4OUbnRsQCWND8Q4mSZNcVADBkF%2FCwSAaBACk58jAqUIOForEkzDCTCgsDEFictKVbRJpQIQgACiSwC1B9fwOASABCEIQt7CCoIACxVCOKASxEMcoRAFcK2gxIbuiTZUYUckpRW8j04UAAccOBYQgEBACH5BAEKAAAALAAAAAAYABgAAAj%2FAAEIHEgQQIECBRMmPHBAYIALFwI4lKhwoIUzUxxmyEDRggcCFQVaeFMpE4AAGyUmQFECZEgAfTCRKYCSIwAOLOhUrEBBoAJIl34ASOlgBQgBAg0YGFgATKtVCgDYsNSIgAIFAThkYgBAwAUaKSgWiPLqVhkYCYTcIXjgQQAIK3hs%2BkDxpIkucuL4qEghhx4UDRQSyPFFREUFeCjUPZlgwQIFCBIsLihgAIHLIEWUKcU5jdCQG36I%2FrEDgmbOpTy%2FDD26dIDGjxEsDTnAMuaCBGCAglXxgY4OSBOCCKVmVo2KHlhB2TGBIIEij05ZUWHABQaCEkgQyAAkCpMWwQkMbyKjAwGAEmU4Fci0gsAeQh0AEBhxpEdwAHQkJA01qkWBKVQYMIIhfiAEwFUVaUJKFAMcAOABAgxxSAovAeBAImJ8AICDVJiHgSBQLPCSA57sIRCH5gFwAx8ivlSASwZ48klDANRWYUEBaKDBZAUFBAA7","style":"position:absolute;display:block;top:50%;left:50%;"})).injectInside(document.body)}K.send(F,null);setTimeout(N,25);return},H=function(){if(F==null)return false;I=(V(G)+G.offsetHeight)-window.innerHeight;if(window.scrollY>I){K.send(F,null);return}B=setTimeout(H,200)};B=setTimeout(H,200);new Y()})()})