var Prototype={Version:"1.6.0.2",Browser:{IE:!!(window.attachEvent&&!window.opera),Opera:!!window.opera,Gecko:navigator.userAgent.indexOf("Gecko")>-1&&navigator.userAgent.indexOf("KHTML")==-1,MobileSafari:!!navigator.userAgent.match(/Apple.*Mobile.*Safari/)},BrowserFeatures:{XPath:!!document.evaluate},ScriptFragment:"<script[^>]*>([\\S\\s]*?)<\/script>",emptyFunction:function(){},K:function(A){return A}};var Class={create:function(){var E=null,D=$A(arguments);if(Object.isFunction(D[0])){E=D.shift()}function A(){this.initialize.apply(this,arguments)}Object.extend(A,Class.Methods);A.superclass=E;A.subclasses=[];if(E){var B=function(){};B.prototype=E.prototype;A.prototype=new B;E.subclasses.push(A)}for(var C=0;C<D.length;C++){A.addMethods(D[C])}if(!A.prototype.initialize){A.prototype.initialize=Prototype.emptyFunction}A.prototype.constructor=A;return A}};Class.Methods={addMethods:function(G){var C=this.superclass&&this.superclass.prototype;var B=Object.keys(G);if(!Object.keys({toString:true}).length){B.push("toString","valueOf")}for(var A=0,D=B.length;A<D;A++){var F=B[A],E=G[F];if(C&&Object.isFunction(E)&&E.argumentNames()[0]=="$super"){var H=E,E=Object.extend((function(I){return function(){return C[I].apply(this,arguments)}})(F).wrap(H),{valueOf:function(){return H},toString:function(){return H.toString()}})}this.prototype[F]=E}return this}};Object.extend=function(A,C){for(var B in C){A[B]=C[B]}return A};document._getElementsByXPath=function(F,A){var C=[];var E=document.evaluate(F,$(A)||document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);for(var B=0,D=E.snapshotLength;B<D;B++){C.push(E.snapshotItem(B))}return C};if(!window.Element){var Element=new Object()}Element.extend=function(E){if(!E){return }if(_nativeExtensions||E.nodeType==3){return E}if(!E._extended&&E.tagName&&E!=window){var C=Object.clone(Element.Methods),B=Element.extend.cache;for(var H in C){var G=C[H];if(typeof G=="function"&&!(H in E)){E[H]=B.findOrStore(G)}}var A={},F=Element.Methods.ByTag;var C=Object.clone(A),D=E.tagName,H,G;if(F[D]){Object.extend(C,F[D])}for(H in C){G=C[H];if(Object.isFunction(G)&&!(H in E)){E[H]=G.methodize()}}}return E};Element.getCheckBoxGroup=function(A){return document.getElementsByName(A)};Element.extend.cache={findOrStore:function(A){return this[A]=this[A]||function(){return A.apply(null,[this].concat($A(arguments)))}}};Element.Methods={visible:function(A){return $(A).style.display!="none"},hide:function(A){$(A).style.display="none";return A},show:function(A){$(A).style.display="";return A},remove:function(A){A=$(A);A.parentNode.removeChild(A);return A},getElementsByClassName:function(A,B){A=$(A);return document.getElementsByClassName(B,A)},scrollTo:function(A){A=$(A);var B=A.cumulativeOffset();window.scrollTo(B[0],B[1]);return A},cumulativeOffset:function(A){A=$(A);return Position.cumulativeOffset(A)},hasClassName:function(A,B){if(!(A=$(A))){return }var C=A.className;if(C.length==0){return false}if(C==B||C.match(new RegExp("(^|\\s)"+B+"(\\s|$)"))){return true}return false},recursivelyCollect:function(A,C){A=$(A);var B=[];while(A=A[C]){if(A.nodeType==1){B.push(Element.extend(A))}}return B},ancestors:function(A){return $(A).recursivelyCollect("parentNode")},descendants:function(A){return $A($(A).getElementsByTagName("*")).each(Element.extend)},firstDescendant:function(A){A=$(A).firstChild;while(A&&A.nodeType!=1){A=A.nextSibling}return $(A)},up:function(B,D,A){B=$(B);if(arguments.length==1){return $(B.parentNode)}var C=B.ancestors();return D?B.findElement(C,D,A):C[A||0]},findElements:function(C,A,G){C=$(C);var F=[];Object.isNumber(G)?index=G:F=G.split(".");var B=F[0]||"",H=F[1]||"";if(B.empty()&&H.empty()){return A[index]}var I=[];for(var D=0;D<A.length;D++){var E=A[D];if(E.tagName.toLowerCase()==B){if(H.empty()){I.push(E)}else{if(E.className==H){I.push(E)}}}}return I},findElement:function(C,D,E,B){var A=C.findElements(D,E);return $(A[B||0])},down:function(B,C,A){B=$(B);if(arguments.length==1){return B.firstDescendant()}var D=B.descendants();return C?B.findElement(D,C,A):D[A||0]},hasAttribute:function(A,B){A=$(A);return(A.getAttribute(B)==null||(typeof A.getAttribute(B)=="undefined"))},nextElementSibling:function(A){A=$(A);while(A=A.nextSibling){if(A.nodeType==1){return $(A)}}return null},previousElementSibling:function(A){A=$(A);while(A=A.previousSibling){if(A.nodeType==1){return $(A)}}return null}};Element.Methods.ByTag={};Object.extend(Element,Element.Methods);Element._returnOffset=function(B,C){var A=[B,C];A.left=B;A.top=C;return A};var Position={cumulativeOffset:function(B){var A=0,C=0;do{A+=B.offsetTop||0;C+=B.offsetLeft||0;B=B.offsetParent}while(B);return Element._returnOffset(C,A)},offsetParent:function(A){if(A.offsetParent){return A.offsetParent}if(A==document.body){return A}while((A=A.parentNode)&&A!=document.body){if(Element.getStyle(A,"position")!="static"){return A}}return document.body}};document.getElementsByClassName=function(D,A){if(Prototype.BrowserFeatures.XPath){var G=".//*[contains(concat(' ', @class, ' '), ' "+D+" ')]";return document._getElementsByXPath(G,A)}else{var C=($(A)||document.body).getElementsByTagName("*");var F=[],H;for(var B=0,E=C.length;B<E;B++){H=C[B];if(Element.hasClassName(H,D)){F.push(Element.extend(H))}}return F}};Object.extend(Object,{keys:function(A){var B=[];for(var C in A){B.push(C)}return B},values:function(B){var A=[];for(var C in B){A.push(B[C])}return A},clone:function(A){return Object.extend({},A)},isElement:function(A){return A&&A.nodeType==1},isArray:function(A){return A!=null&&typeof A=="object"&&"splice" in A&&"join" in A},isFunction:function(A){return typeof A=="function"},isString:function(A){return typeof A=="string"},isNumber:function(A){return typeof A=="number"},isUndefined:function(A){return typeof A=="undefined"}});Object.extend(Function.prototype,{argumentNames:function(){var A=this.toString().match(/^[\s\(]*function[^(]*\((.*?)\)/)[1].split(",").invoke("strip");return A.length==1&&!A[0]?[]:A},bind:function(){var A=this,C=$A(arguments),B=C.shift();return function(){return A.apply(B,C.concat($A(arguments)))}},bindAsEventListener:function(){var A=this,C=$A(arguments),B=C.shift();return function(D){return A.apply(B,[(D||window.event)].concat(C).concat($A(arguments)))}},methodize:function(){if(this._methodized){return this._methodized}var A=this;return this._methodized=function(){return A.apply(null,[this].concat($A(arguments)))}}});Object.extend(Number.prototype,{succ:function(){return this+1},dec:function(){return this-1}});Object.extend(Date.prototype,{format:function(B){var C={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};if(/(y+)/.test(B)){B=B.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))}for(var A in C){if(new RegExp("("+A+")").test(B)){B=B.replace(RegExp.$1,RegExp.$1.length==1?C[A]:("00"+C[A]).substr((""+C[A]).length))}}return B}});var $break=new Object();var $continue=new Object();var Enumerable={each:function(B){var A=0;try{this._each(function(D){try{B(D,A++)}catch(E){if(E!=$continue){throw E}}})}catch(C){if(C!=$break){throw C}}return this},all:function(C,B){C=C?C.bind(B):Prototype.K;var A=true;this.each(function(E,D){A=A&&!!C(E,D);if(!A){throw $break}});return A},findAll:function(C,B){C=C.bind(B);var A=[];this.each(function(E,D){if(C(E,D)){A.push(E)}});return A},inject:function(A,C,B){C=C.bind(B);this.each(function(E,D){A=C(A,E,D)});return A},collect:function(C,B){C=C?C.bind(B):Prototype.K;var A=[];this.each(function(E,D){A.push(C(E,D))});return A},detect:function(C,B){C=C.bind(B);var A;this.each(function(E,D){if(C(E,D)){A=E;throw $break}});return A},include:function(A){var B=false;this.each(function(C){if(C==A){B=true;throw $break}});return B},pluck:function(B){var A=[];this.each(function(C){A.push(C[B])});return A},invoke:function(B){var A=$A(arguments).slice(1);return this.map(function(C){return C[B].apply(C,A)})}};Object.extend(Enumerable,{map:Enumerable.collect,find:Enumerable.detect});var $A=Array.from=function(D){if(!D){return[]}if(D.toArray){return D.toArray()}else{var B=[];for(var A=0,C=D.length;A<C;A++){B.push(D[A])}return B}};Object.extend(Array.prototype,Enumerable);if(!Array.prototype._reverse){Array.prototype._reverse=Array.prototype.reverse}Object.extend(Array.prototype,{_each:function(B){for(var A=0,C=this.length;A<C;A++){B(this[A])}},indexOf:function(A){for(var B=0,C=this.length;B<C;B++){if(this[B]==A){return B}}return -1},reverse:function(A){return(A!==false?this:this.toArray())._reverse()},uniq:function(A){return this.inject([],function(D,C,B){if(0==B||(A?D.last()!=C:!D.include(C))){D.push(C)}return D})},without:function(B){if(Object.isElement(B)){return this.include(B)?this.remove(this.indexOf(B)):this}if(Object.isString(B)){var A=this;this.each(function(D,C){if(D.className.include(B)){A=A.remove(C)}});return A}return this},remove:function(A){if(A<0){return this}else{return this.slice(0,A).concat(this.slice(A+1,this.length))}},clone:function(){return[].concat(this)}});Array.prototype.toArray=Array.prototype.clone;if(Prototype.Browser.Opera){Array.prototype.concat=function(){var E=[];for(var B=0,C=this.length;B<C;B++){E.push(this[B])}for(var B=0,C=arguments.length;B<C;B++){if(arguments[B].constructor==Array){for(var A=0,D=arguments[B].length;A<D;A++){E.push(arguments[B][A])}}else{E.push(arguments[B])}}return E}}function $(B){if(arguments.length>1){for(var A=0,D=[],C=arguments.length;A<C;A++){D.push($(arguments[A]))}return D}if(typeof B=="string"){B=document.getElementById(B)}return Element.extend(B)}var _nativeExtensions=false;var Try={these:function(){var C;for(var B=0,D=arguments.length;B<D;B++){var A=arguments[B];try{C=A();break}catch(E){}}return C}};var Form={};Form.Methods={getElements:function(A){return $A($(A).getElementsByTagName("*")).inject([],function(B,C){if(Form.Element.Serializers[C.tagName.toLowerCase()]){B.push(Element.extend(C))}return B})},serializeElements:function(A){return Form.getElements(A).inject([],function(C,B){if(B.disabled||B.type=="submit"||(B.tagName.toLowerCase()=="input"&&(B.type.toLowerCase()=="radio"||B.type=="checkbox")&&!B.checked)){return C}C.push({key:B.name,value:encodeURIComponent(B.value)});return C})}};Form.Element={};Form.Element.Methods={getValue:function(A){A=$(A);var B=A.tagName.toLowerCase();return Form.Element.Serializers[B](A)},setValue:function(A,B){A=$(A);var C=A.tagName.toLowerCase();Form.Element.Serializers[C](A,B);return A},activate:function(A){A=$(A);try{A.focus();if(A.select&&(A.tagName.toLowerCase()!="input"||!["button","reset","submit"].include(A.type))){A.select()}}catch(B){}return A}};var Field=Form.Element;var $F=Form.Element.Methods.getValue;Form.Element.Serializers={input:function(A,B){switch(A.type.toLowerCase()){case"checkbox":case"radio":return Form.Element.Serializers.inputSelector(A,B);default:return Form.Element.Serializers.textarea(A,B)}},inputSelector:function(A,B){if(Object.isUndefined(B)){return A.checked?A.value:null}else{A.checked=!!B}},textarea:function(A,B){if(Object.isUndefined(B)){return A.value}else{A.value=B}},select:function(D,A){if(Object.isUndefined(A)){return this[D.type=="select-one"?"selectOne":"selectMany"](D)}else{var C,F,G=!Object.isArray(A);for(var B=0,E=D.length;B<E;B++){C=D.options[B];F=this.optionValue(C);if(G){if(F==A){C.selected=true;return }}else{C.selected=A.include(F)}}}},selectOne:function(B){var A=B.selectedIndex;return A>=0?this.optionValue(B.options[A]):null},selectMany:function(D){var A,E=D.length;if(!E){return null}for(var C=0,A=[];C<E;C++){var B=D.options[C];if(B.selected){A.push(this.optionValue(B))}}return A},optionValue:function(A){return Element.extend(A).hasAttribute("value")?A.value:A.text}};if(!window.Event){var Event={}}Object.extend(Event,{KEY_RETURN:13,cache:{}});Object.extend(Event,(function(){var B=Event.cache;function C(J){if(J._prototypeEventID){return J._prototypeEventID[0]}arguments.callee.id=arguments.callee.id||1;return J._prototypeEventID=[++arguments.callee.id]}function G(J){if(J&&J.include(":")){return"dataavailable"}return J}function A(J){return B[J]=B[J]||{}}function F(L,J){var K=A(L);return K[J]=K[J]||[]}function H(K,J,L){var O=C(K);var N=F(O,J);if(N.pluck("handler").include(L)){return false}var M=function(P){if(!Event||!Event.extend||(P.eventName&&P.eventName!=J)){return false}Event.extend(P);L.call(K,P)};M.handler=L;N.push(M);return M}function I(M,J,K){var L=F(M,J);return L.find(function(N){return N.handler==K})}function D(M,J,K){var L=A(M);if(!L[J]){return false}L[J]=L[J].without(I(M,J,K))}function E(){for(var K in B){for(var J in B[K]){B[K][J]=null}}}if(window.attachEvent){window.attachEvent("onunload",E)}return{observe:function(L,J,M){L=$(L);var K=G(J);var N=H(L,J,M);if(!N){return L}if(L.addEventListener){L.addEventListener(K,N,false)}else{L.attachEvent("on"+K,N)}return L},stopObserving:function(L,J,M){L=$(L);var O=C(L),K=G(J);if(!M&&J){F(O,J).each(function(P){L.stopObserving(J,P.handler)});return L}else{if(!J){Object.keys(A(O)).each(function(P){L.stopObserving(P)});return L}}var N=I(O,J,M);if(!N){return L}if(L.removeEventListener){L.removeEventListener(K,N,false)}else{L.detachEvent("on"+K,N)}D(O,J,M);return L},fire:function(L,K,J){L=$(L);if(L==document&&document.createEvent&&!L.dispatchEvent){L=document.documentElement}var M;if(document.createEvent){M=document.createEvent("HTMLEvents");M.initEvent("dataavailable",true,true)}else{M=document.createEventObject();M.eventType="ondataavailable"}M.eventName=K;M.memo=J||{};if(document.createEvent){L.dispatchEvent(M)}else{L.fireEvent(M.eventType,M)}return Event.extend(M)}}})());Event.Methods=(function(){return{element:function(B){var A=$(Event.extend(B).target);return A.nodeType==3?A.parentNode:A},pointer:function(A){return{x:A.pageX||(A.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft)),y:A.pageY||(A.clientY+(document.documentElement.scrollTop||document.body.scrollTop))}},pointerX:function(A){return Event.pointer(A).x},pointerY:function(A){return Event.pointer(A).y}}})();Event.extend=(function(){var A=Object.keys(Event.Methods).inject({},function(B,C){B[C]=Event.Methods[C].methodize();return B});if(Prototype.Browser.IE){return function(B){if(!B){return false}if(B._extendedByPrototype){return B}B._extendedByPrototype=Prototype.emptyFunction;var C=Event.pointer(B);Object.extend(B,{target:B.srcElement,pageX:C.x,pageY:C.y});return Object.extend(B,A)}}else{Event.prototype=Event.prototype||document.createEvent("HTMLEvents").__proto__;Object.extend(Event.prototype,A);return Prototype.K}})();Object.extend(Event,Event.Methods);Object.extend(Element.Methods,{fire:Event.fire,observe:Event.observe,stopObserving:Event.stopObserving});Object.extend(document,{fire:Element.Methods.fire.methodize(),observe:Element.Methods.observe.methodize(),stopObserving:Element.Methods.stopObserving.methodize(),loaded:false});Object.extend(String.prototype,{len:function(){return this.replace(/[^\x00-\xff]/g,"aa").length},sub:function(D,A){var C="";for(var B=0;B<this.length;B++){C+=this.charAt(B).match("[^\x00-\xff]")?this.charAt(B)+"<":this.charAt(B)}return C.substring(D,A).replace(/</g,"")},truncate:function(B,A){B=B||30;A=A||"...";return this.len()>B?this.sub(0,B-A.length)+A:String(this)},trim:function(){return this.replace(/\s+$/,"")},strip:function(){return this.replace(/^\s+/,"").replace(/\s+$/,"")},toArray:function(){return this.split("")},include:function(A){return this.indexOf(A)>-1},escapeHTML:function(){return this.replace(/\</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"").replace(/'/g,"").replace(/(^\s*)|(\s*$)/g,"")},unescapeHTML:function(){return this.replace(/<br>/g,"\n")},empty:function(){return this.strip()==""},isEmail:function(){return/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(this)},isUserName:function(){return(/^\w+$/.test(this)&&this.length>3&&this.length<31)||this.isEmail()},isPass:function(){return/^\w+$/.test(this)&&this.length>5&&this.length<17},isMobile:function(){return/^((\(\d{3}\))|(\d{3}\-)|(\(\d{4}\)))?(0)?(1)(3|5|8)\d{9}$/.test(this)},isPhone:function(){return/^((\(\d{3}\))|(\d{3}\-))?(\(0\d{2,3}\)|0\d{2,3}-)?[1-9]\d{6,7}$/.test(this)},isZipcode:function(){return/^[0-9]\d{5}$/.test(this)},isNumber:function(){return/(^[0-9]+$)|(^[0-9]+)(.[0-9]+$)/.test(this)},isIDCard:function(){return/(^\d{15}$)|(^\d{17}([0-9]|(X|x))$)/.test(this)},betweenTime:function(G){var C=this;var F=G.substring(5,G.lastIndexOf("-"));var B=G.substring(G.length,G.lastIndexOf("-")+1);var I=G.substring(0,G.indexOf("-"));var H=C.substring(5,C.lastIndexOf("-"));var D=C.substring(C.length,C.lastIndexOf("-")+1);var E=C.substring(0,C.indexOf("-"));var A=((Date.parse(F+"/"+B+"/"+I)-Date.parse(H+"/"+D+"/"+E))/86400000);return A},isMoney:function(D){var A=false;if(this.isNumber()){var B=this.indexOf(".");var C=this.substring(B+1);if(C.length==D||B==-1){A=true}}return A}});Object.extend(Form,Form.Methods);Object.extend(Form.Element,Form.Element.Methods);Object.extend(Element.Methods.ByTag,{FORM:Object.clone(Form.Methods),INPUT:Object.clone(Form.Element.Methods),SELECT:Object.clone(Form.Element.Methods),TEXTAREA:Object.clone(Form.Element.Methods)});var Request=Class.create({initialize:function(B,A){this.options={method:"post",asynchronous:true,contentType:"application/x-www-form-urlencoded",encoding:"UTF-8",parameters:"",callback:Prototype.emptyFunction};this.url=B;Object.extend(this.options,A||{});this.parameters=this.options.parameters},setParameter:function(B,C){if(Object.isArray(B)){for(var A=0;A<B.length;A++){this.setParameter(B[A].key,B[A].value)}}else{this.parameters+=(this.parameters.empty())?"":"&";this.parameters+=B+"="+C}},XMLHttpRequest:function(){var D;if(window.ActiveXObject){var A=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];for(var C=0;C<A.length;C++){try{D=new ActiveXObject(A[C]);break}catch(B){}}}else{if(window.XMLHttpRequest){D=new XMLHttpRequest()}}return D},send:function(){DWREngine._PreHook();var B=this.XMLHttpRequest();this.method=this.options.method;var A=false;if(this.method.toLowerCase()=="get"){this.url=this.url+"?"+this.parameters}else{A=true}if(B){var C=this.options.callback.bind(this);B.open(this.method.toUpperCase(),this.url,this.options.asynchronous);B.setRequestHeader("Content-Type",this.options.contentType);B.onreadystatechange=function(){if(B.readyState==4&&B.status==200){C(B.responseText||B.responseXML);DWREngine._PostHook()}};B.send(A?this.parameters:null)}}});function evalJson(json){try{return eval("("+json+")")}catch(e){}}if(!HtmlBuilder){var HtmlBuilder={}}function reLoad(){window.location.reload()}var bubble=function(B){var A=window.event||B;A.cancelBubble=true;return A};var _noselect=function(A){document.body.style.MozUserSelect=!A?"none":"";document.onselectstart=function(){return A}};Object.extend(Element.Methods,{get:function(B,A){return B.getAttribute(A)},set:function(B,A,C){B.setAttribute(A,C)},screenCenter:function(element,event){var offHeight=element.offsetHeight;var offWidth=element.offsetWidth;var scrollTop=document.body.scrollTop;if(!document.body.scrollTop){scrollTop=document.documentElement.scrollTop}element.hide();with(element.style){position="absolute";top=((document.body.clientHeight-offHeight)/2+scrollTop)+"px";left=(document.body.clientWidth-offWidth)/2+document.body.scrollLeft+"px";zIndex=1001}element.show()},bottomFrm:function(element){var ifm=$(document.createElement("iframe"));var pos=element.cumulativeOffset();with(ifm.style){position="absolute";zIndex=1000;top=pos[1];left=pos[0];width=element.offsetWidth+"px";height=element.offsetHeight+"px";background="#FFF";opacity=0;filter="alpha(opacity=0)"}document.body.appendChild(ifm);return ifm},frameDialog:function(element){var ifm=$(document.createElement("iframe"));with(ifm.style){position="absolute";zIndex=1000;left="0px";top=document.body.scrollTop;width="99%";height="99%";background="#FFF";opacity=0;filter="alpha(opacity=0)"}document.body.appendChild(ifm);return ifm},gradient:function(D,C){D=$(D);var A=function(E){D.style.filter="alpha(opacity="+E+")";D.style.opacity=E/100;if(C&&E==10){D.hide()}};if(C){for(var B=100;B>=0;B--){window.setTimeout(A.bind(this,B),(B/100)*5)}}else{D.style.filter="alpha(opacity="+1+")";D.style.opacity=0.1;D.show();for(var B=1;B<=100;B++){window.setTimeout(A.bind(this,B),B*5)}}}});function copyToClipBoard(G){var E=G;if(window.clipboardData){window.clipboardData.setData("Text",E);alert("复制成功！")}else{if(window.netscape){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");var B=Components.classes["@mozilla.org/widget/clipboard;1"].createInstance(Components.interfaces.nsIClipboard);if(!B){return }var A=Components.classes["@mozilla.org/widget/transferable;1"].createInstance(Components.interfaces.nsITransferable);if(!A){return }A.addDataFlavor("text/unicode");var D=Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);D.data=E;A.setTransferData("text/unicode",D,E.length*2);var C=Components.interfaces.nsIClipboard;B.setData(A,null,C.kGlobalClipboard);alert("复制成功！")}catch(F){alert("!!被浏览器拒绝！\n请在浏览器地址栏输入’about:config’并回车\n然后将’signed.applets.codebase_principal_support’设置为’true’")}}}}var Cook={set:function(B,D,A){var C=new Date();if(A){C.setTime(C.getTime()+(A*1000))}document.cookie=B+"="+escape(D)+(A?";expires="+C.toGMTString():"")+";path=/"},get:function(A){var B=document.cookie;var D=B.indexOf(A+"=");if(D!=-1){D+=A.length.succ();var C=B.indexOf(";",D);if(C==-1){C=B.length}return unescape(B.substring(D,C))}return""}};function evalFunction(A){Try.these(function(){A()},function(){return })}var clearmdown=function(){evalFunction(document.onmousedown)};var clearkdown=function(){evalFunction(document.onkeydown)};var _cansel=function(A){A.onselectstart=function(){window.event.cancelBubble=true};A.onmouseover=function(){_noselect(true)};A.onmouseout=function(){_noselect(false)}};var checkboxGroup={select:function(A){this.selectItem(A,true)},unselect:function(A){this.selectItem(A,false)},getSelectItem:function(B,A){return this.getSelect(B,true,A)},getUnSelectItem:function(B,A){return this.getSelect(B,false,A)},selectItem:function(C,B){var A=$A(Element.getCheckBoxGroup(C));A.each(function(D){D.checked=B})},getSelect:function(D,C,B){var A=[];if(B){A=$A(B.getElementsByTagName("input")).findAll(function(E){return E.type=="checkbox"&&E.name==D})}else{A=$A(Element.getCheckBoxGroup(D))}return A.findAll(function(E){return E.checked==C})}};function radioGroup(C){var B=$A(Element.getCheckBoxGroup(C));var A=B.find(function(D){return D.checked});return $(A)}function selectGroup(B){B=$(B);var A=B.selectedIndex;return $(B.options[A])}function loadImage(B,C){var A=new Image();A.src=B;if(A.complete){C.call(A);return }A.onload=function(){C.call(A)}}function DrawImage(F,C,E){var D=new Image();D.src=F.src;if(D.width>0&&D.height>0){if(D.width/D.height>=C/E){var A=D.width>C;F.width=A?C:D.width;F.height=A?((D.height*C)/D.width):D.height}else{var B=D.height>E;F.height=B?E:D.height;F.width=B?((D.width*E)/D.height):D.width}}}function clearContent(A,B){if(A.value==B){A.value=""}}window.debugModel=false;function errorHandler(C,B,A){if(window.debugModel){alert("错误信息:"+C);alert("行号:"+A);return false}return false}window.onerror=errorHandler;function jump(A){window.location.href=A}function filter(D){var C=[];C[0]="他妈的";C[1]="好特好";C[2]="管理员";C[3]="haotehao";var A=false;for(var B=0;B<C.length;B++){if(D.indexOf(C[B])!=-1){A=true;break}}return A}if(!DWREngine){var DWREngine={}}Object.extend(DWREngine,{preHook:null,postHook:null,global:false,_setPreHook:function(A){this.preHook=A},_setPostHook:function(A){this.postHook=A},_PreHook:function(){if(this.global){evalFunction(this.preHook)}},_PostHook:function(){if(this.global){evalFunction(this.postHook)}}});