function $($){return document.getElementById($)}function $c(B,_,C,$){var A=document.createElement(B);if(_)A.id=_;if(C)A.innerHTML=C;if($)$.appendChild(A);return A}function $s(A,_){$(A).style.display=_?"":"none"}function hit(_){$(_).style.display=$(_).style.display=="block"?"none":"block"}String.prototype.lenB=function(){return this.replace(/[^\x00-\xff]/g,"**").length};function gethtmlbody(){var $=document.body.clientHeight,_=document.documentElement.clientHeight,A=(_<=$&&_!=0)?true:false;return A?document.documentElement:document.body}function addEvent(A,$,_){if(A.addEventListener)A.addEventListener($,_,true);else A.attachEvent("on"+$,_)}function getScreenSize(){var $=0,_=0;if(self.innerHeight){$=self.innerWidth;_=self.innerHeight}else if(document.documentElement&&document.documentElement.clientHeight){$=document.documentElement.clientWidth;_=document.documentElement.clientHeight}else if(document.body){$=document.body.clientWidth;_=document.body.clientHeight}return{w:$,h:_}}function ajaxProxy(){if(($("ajaxProxy")&&$("ajaxProxy").contentWindow.pAjax))return $("ajaxProxy").contentWindow.pAjax;return false}function jsLoader(C,B){var _=document.getElementsByTagName("head")[0],A=document.createElement("script");A.setAttribute("charset","gb2312");A.setAttribute("type","text/javascript");A.setAttribute("src",C);var $=function(_){var $=(_?_:window.event).target?(_?_:window.event).target:(_?_:window.event).srcElement;if($&&($.readyState=="loaded"||$.readyState=="complete")){$.onreadystatechange=null;B()}};if(B)if(document.all)A.onreadystatechange=$;else A.onload=B;_.appendChild(A)}function setalpha(C,B,_,$){if(!B)B=10;if(!_)_=5;if(!$)$=10;if(navigator.userAgent.indexOf("MSIE")>0){C.style.filter="alpha(opacity:100)";C.filters.alpha.opacity=B;var A=setInterval(function(){C.filters.alpha.opacity+=_;if(C.filters.alpha.opacity>=100)clearInterval(A)},$)}}function addfavorite(_,$){_=_||document.title;$=$||document.location.href;if(document.all)window.external.addFavorite($,_);else if(window.sidebar)window.sidebar.addPanel(_,$,"")}function addcss(A){try{var _=document.createStyleSheet();_.cssText=A}catch($){_=document.createElement("style");_.type="text/css";_.textContent=A;document.getElementsByTagName("HEAD").item(0).appendChild(_)}}function swapNode(B,C){var A=B.parentNode,D=C.parentNode,_=B.nextSibling,$=C.nextSibling;if(_)A.insertBefore(C,_);else A.appendChild(C);if($)D.insertBefore(B,$);else D.appendChild(B)}var Site=new Object();Site.Cookie={_expires:24*3600*1000,_domain:"2144.cc",set:function(_,C,$,B,A){$=new Date(new Date().getTime()+($?$:this._expires));document.cookie=_+"="+escape(C)+"; expires="+$.toGMTString()+"; path="+(B?B:"/")+"; domain="+(A?A:this._domain)},get:function(_){var $=document.cookie.match(new RegExp("(^| )"+_+"=([^;]*)(;|$)"));if($!=null)return unescape($[2]);return null},clear:function($,A,_){if(this.get($))document.cookie=$+"=; path="+(A?A:"/")+"; domain="+(_?_:this._domain)+"; expires=Fri, 02-Jan-1970 00:00:00 GMT"}};Site.Net={init:function(){if(!$("nets"))return;var _=$("nets").getElementsByTagName("div");for(var A in _)this.s(_[A]);$("nets").parentNode.removeChild($("nets"))},s:function(_){if(typeof(_)=="undefined")return;_=_.id;if(!_||!$(_+"_p"))return;swapNode($(_),$(_+"_p"))}};function killErrors(){return true}document.domain="2144.cc";window.onerror=killErrors;if(Site.Cookie.get("upgameinfo")!=1)addcss(".gameinfo{position:absolute;left:0;top:-999px}");
var downurl = "http://www.2144.cc/upload_file_fj/";
