this.JSON={};
(function(){function Ga(v){return v<10?"0"+v:v}function Pa(v){Ha.lastIndex=0;return Ha.test(v)?'"'+v.replace(Ha,function(p){var z=B[p];return typeof z==="string"?z:"\\u"+("0000"+p.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+v+'"'}function Ja(v,p){var z,C,M,U,J=ga,R,y=p[v];if(y&&typeof y==="object"&&typeof y.toJSON==="function")y=y.toJSON(v);if(typeof ja==="function")y=ja.call(p,v,y);switch(typeof y){case "string":return Pa(y);case "number":return isFinite(y)?String(y):"null";case "boolean":case "null":return String(y);case "object":if(!y)return"null";
ga+=Aa;R=[];if(Object.prototype.toString.apply(y)==="[object Array]"){U=y.length;for(z=0;z<U;z+=1)R[z]=Ja(z,y)||"null";M=R.length===0?"[]":ga?"[\n"+ga+R.join(",\n"+ga)+"\n"+J+"]":"["+R.join(",")+"]";ga=J;return M}if(ja&&typeof ja==="object"){U=ja.length;for(z=0;z<U;z+=1){C=ja[z];if(typeof C==="string")if(M=Ja(C,y))R.push(Pa(C)+(ga?": ":":")+M)}}else for(C in y)if(Object.hasOwnProperty.call(y,C))if(M=Ja(C,y))R.push(Pa(C)+(ga?": ":":")+M);M=R.length===0?"{}":ga?"{\n"+ga+R.join(",\n"+ga)+"\n"+J+"}":
"{"+R.join(",")+"}";ga=J;return M}}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+Ga(this.getUTCMonth()+1)+"-"+Ga(this.getUTCDate())+"T"+Ga(this.getUTCHours())+":"+Ga(this.getUTCMinutes())+":"+Ga(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}}var Qa=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
Ha=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,ga,Aa,B={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},ja;if(typeof JSON.stringify!=="function")JSON.stringify=function(v,p,z){var C;Aa=ga="";if(typeof z==="number")for(C=0;C<z;C+=1)Aa+=" ";else if(typeof z==="string")Aa=z;if((ja=p)&&typeof p!=="function"&&(typeof p!=="object"||typeof p.length!=="number"))throw Error("JSON.stringify");
return Ja("",{"":v})};if(typeof JSON.parse!=="function")JSON.parse=function(v,p){function z(M,U){var J,R,y=M[U];if(y&&typeof y==="object")for(J in y)if(Object.hasOwnProperty.call(y,J)){R=z(y,J);if(R!==undefined)y[J]=R;else delete y[J]}return p.call(M,U,y)}var C;v=String(v);Qa.lastIndex=0;if(Qa.test(v))v=v.replace(Qa,function(M){return"\\u"+("0000"+M.charCodeAt(0).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(v.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){C=eval("("+v+")");return typeof p==="function"?z({"":C},""):C}throw new SyntaxError("JSON.parse");}})();
(function(){function Ga(v,p){date=new Date;date.setFullYear(2030);document.cookie=v+"="+escape(p)+"; expires="+date.toGMTString()}function Pa(v){for(var p=document.cookie.split("; "),z=0;z<p.length;z++){var C=p[z].split("=");if(v==C[0])return unescape(C[1])}return null}function Ja(){window.soundplay={callback:function(p,z){window.setTimeout(function(){switch(z){case "onLoaded":var C=document.getElementById("flashsound");C.fl_setFile_mp3("http://chatapi-js.opener.asia/message.mp3");C.fl_load_mp3();
C.ready=true}},0)}};var v=document.createElement("div");v.id="flashsound";B(document.body).append(B("<div />").css("left","-50px").css("top","-50px").css("position","absolute").append(v));ja.embedSWF("http://chatapi-js.opener.asia/soundplay.swf","flashsound","30","30","9.0.0","",{id:"flashsound"},{allowScriptAccess:"always",id:"flashsound"},{id:"flashsound",name:"flashsound"})}function Qa(v,p){var z=document.body,C=document.createElement("link");C.setAttribute("rel","stylesheet");C.setAttribute("href",
v);C.setAttribute("type","text/css");var M=document.styleSheets;(function(){for(var U=arguments.callee,J=0;J<M.length;J++)if(C===(M[J].ownerNode||M[J].owningElement)){p();return}setTimeout(function(){U()},100)})();z.appendChild(C)}function Ha(){if(!(this instanceof Ha))return new Ha;this.threshold=3E4;var v=false,p=false;this.rate=100;this.onActive=function(){};this.onLeave=function(){};var z=this,C=function(M){M.data.type=="mouse"&&!B("#mu-setting-hidemycur").attr("checked")&&z.onActive({x:M.clientX,
y:M.clientY});v&&window.clearTimeout(v);p&&window.clearInterval(p);v=window.setTimeout(function(){z.onLeave();p=window.setInterval(function(){z.onKeeplive()},18E5)},z.threshold);B(document).unbind("mousemove");B(document).unbind("keypress");window.setTimeout(function(){B(document).bind("mousemove",{type:"mouse"},C);B(document).bind("keypress",{type:"keyboard"},C)},z.rate)};B(document).bind("mousemove",{type:"mouse"},C);B(document).bind("keypress",{type:"keyboard"},C)}function ga(){if(!(this instanceof
ga))return new ga;this.toJSON=function(v){return v};this.toSerial=function(v){return v}}function Aa(){function v(){if(!(!U.length||z.readyState!==1)){B(U).each(function(y,D){p.send(D)});J++;U=[]}}if(!(this instanceof Aa))return new Aa;var p=this;this.onLogin=function(){};this.onMessage=function(){};this.onOnlineTime=function(){};this.onLogout=function(){};this.DomAdduser=function(){};this.DomDeluser=function(){};this.DomUserMove=function(){};this.DomSetnickname=function(){};this.DomUserLeave=function(){};
this.onAdminLogin=function(){};var z,C={},M=0,U=[],J=0,R=ga();this.init=function(){if(ja.hasFlashPlayerVersion("9.0.0")){C={};M=0;z=new WebSocket("ws://chatapi-server.opener.asia:7788/");z.onclose=function(){p.onLogout()};z.onmessage=function(y){y=R.toJSON(y.data);var D;J++;try{D=JSON.parse(y)}catch(Y){typeof console==="object"&&console.hasOwnProperty("log")&&typeof console.log==="function"&&console.log(Y);return}switch(D.action){case "userid":p.selfId=D.userid;Ga("openerchatapi_userid",p.selfId);
p.onLogin(D.userid,D.nickname,D.onlinetime);setInterval(v,100);break;case "userlist":B(D.userlist).each(function(wa,W){if(C.hasOwnProperty(W.userid))C[W.userid].count+=1;else{C[W.userid]={x:0,y:0,userid:W.userid,nickname:W.nickname,onlinetime:W.onlinetime,userstate:1,count:1};M+=1;p.DomAdduser(C[W.userid],M)}});p.onOnlineTime(C);break;case "connect":if(C.hasOwnProperty(D.userid))C[D.userid].count+=1;else{C[D.userid]={x:0,y:0,userid:D.userid,nickname:D.nickname,onlinetime:D.onlinetime,userstate:1,
count:1};M+=1;p.DomAdduser(C[D.userid],M)}break;case "disconnect":if(C.hasOwnProperty(D.userid))if(C[D.userid].count>1)C[D.userid].count-=1;else{M-=1;p.DomDeluser(C[D.userid],M);delete C[D.userid]}break;case "active":if(C.hasOwnProperty(D.userid)){C[D.userid].x=D.x;C[D.userid].y=D.y;p.DomUserMove(C[D.userid])}break;case "setnickname":C[D.userid].nickname=D.nickname;if(D.userid===p.selfId){B("#mu-self-nickname").text(D.nickname);p.onMessage("\u7cfb\u7edf","\u6635\u79f0\u8bbe\u7f6e\u6210\u529f\uff01",
true)}else p.DomSetnickname(C[D.userid]);break;case "message":D.message.time=new Date(D.time*1E3);p.onMessage(C[D.userid].nickname,D.message);D=document.getElementById("flashsound");B("#mu-setting-playring").attr("checked")&&D.ready&&D.fl_play_mp3();break;case "leave":C[D.userid].userstate=0;p.DomUserLeave(C[D.userid]);break;case "changerate":p.activeMonitorChangeRate(D.rate);break;case "login":p.onAdminLogin({status:D.status})}};z.onopen=function(){var y=Pa("openerchatapi_userid");y=JSON.stringify({action:"login",
userid:y},function(D,Y){return Y});p.send(y)};p.send=function(y){z.send(R.toSerial(y))}}else{p.onMessage("\u7cfb\u7edf","Flash\u6ca1\u6709\u5b89\u88c5\u5230\u8be5\u6d4f\u89c8\u5668\uff0c\u65e0\u6cd5\u4f7f\u7528\u672c\u529f\u80fd\uff01",true);p.onMessage("\u7cfb\u7edf",'\u8bf7\u8bbf\u95ee\u672c\u5730\u5740\u5b89\u88c5Flash\u64ad\u653e\u5668\uff1a<a href="http://www.skycn.com/soft/5671.html" target="_blank">\u4e0b\u8f7d Flash Player</a>\uff0c\u7136\u540e\u91cd\u65b0\u5237\u65b0\u672c\u9875\uff01',true)}};
this.active=function(y,D){var Y=JSON.stringify({action:"active",x:y,y:D},function(wa,W){return W});U.push(Y)};this.setNickname=function(y){y=y.slice(0,10).replace(/(<([^>]+)>)/ig,"");C[this.selfId].nickname=y;y=JSON.stringify({action:"setnickname",nickname:y},function(D,Y){return Y});p.send(y)};this.sendMessage=function(y){y=JSON.stringify({action:"message",message:y.replace(/(<([^>]+)>)/ig,"")},function(D,Y){return Y});p.send(y)};this.leave=function(){var y=JSON.stringify({action:"leave"},function(D,
Y){return Y});p.send(y)};this.keeplive=function(){var y=JSON.stringify({action:"keeplive"},function(D,Y){return Y});p.send(y)};this.adminLogin=function(){var y=[].splice.apply(arguments,[0])[0]||{};if(!(y.username&&y.password))throw"LogicError: username and password must not null";p.onAdminLogin=typeof y.onAdminLogin==="function"?y.onAdminLogin:function(){};y=JSON.stringify({action:"login",username:y.username,password:y.password},function(D,Y){return Y});p.send(y)};return this}var B;(function(v,p){function z(){if(!c.isReady){try{t.documentElement.doScroll("left")}catch(a){setTimeout(z,
1);return}c.ready()}}function C(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function M(a,b,d,f,e,h){var i=a.length;if(typeof b==="object"){for(var o in b)M(a,o,b[o],f,e,d);return a}if(d!==p){f=!h&&f&&c.isFunction(d);for(o=0;o<i;o++)e(a[o],b,f?d.call(a[o],o,e(a[o],b)):d,h);return a}return i?e(a[0],b):p}function U(){return(new Date).getTime()}function J(){return false}function R(){return true}
function y(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function D(a){var b,d=[],f=[],e=arguments,h,i,o,l,r,A;i=c.data(this,"events");if(!(a.liveFired===this||!i||!i.live||a.button&&a.type==="click")){a.liveFired=this;var Q=i.live.slice(0);for(l=0;l<Q.length;l++){i=Q[l];i.origType.replace(P,"")===a.type?f.push(i.selector):Q.splice(l--,1)}h=c(a.target).closest(f,a.currentTarget);r=0;for(A=h.length;r<A;r++)for(l=0;l<Q.length;l++){i=Q[l];if(h[r].selector===i.selector){o=h[r].elem;f=null;if(i.preType===
"mouseenter"||i.preType==="mouseleave")f=c(a.relatedTarget).closest(i.selector)[0];if(!f||f!==o)d.push({elem:o,handleObj:i})}}r=0;for(A=d.length;r<A;r++){h=d[r];a.currentTarget=h.elem;a.data=h.handleObj.data;a.handleObj=h.handleObj;if(h.handleObj.origHandler.apply(h.elem,e)===false){b=false;break}}return b}}function Y(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,"&")}function wa(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),
e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var h in f)for(var i in f[h])c.event.add(this,h,f[h][i],f[h][i].data)}}})}function W(a,b,d){var f,e,h;b=b&&b[0]?b[0].ownerDocument||b[0]:t;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===t&&!ab.test(a[0])&&(c.support.checkClone||!bb.test(a[0]))){e=true;if(h=c.fragments[a[0]])if(h!==1)f=h}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=h?f:1;return{fragment:f,cacheable:e}}function oa(a,b){var d=
{};c.each(cb.concat.apply([],cb.slice(0,b)),function(){d[this]=a});return d}function ra(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},ma=v.jQuery,ca=v.$,t=v.document,da,ya=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,xa=/^.[^:#\[\.,]*$/,ka=/\S/,N=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,fa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,sa=navigator.userAgent,la=false,w=[],S,K=Object.prototype.toString,Z=Object.prototype.hasOwnProperty,ha=Array.prototype.push,
ea=Array.prototype.slice,za=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f,e;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=t;this[0]=t.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=ya.exec(a))&&(d[1]||!b))if(d[1]){e=b?b.ownerDocument||b:t;if(f=fa.exec(a))if(c.isPlainObject(b)){a=[t.createElement(f[1])];c.fn.attr.call(a,b,true)}else a=[e.createElement(f[1])];else{f=W([d[1]],
[e]);a=(f.cacheable?f.fragment.cloneNode(true):f.fragment).childNodes}return c.merge(this,a)}else{if(f=t.getElementById(d[2])){if(f.id!==d[2])return da.find(a);this.length=1;this[0]=f}this.context=t;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=t;a=t.getElementsByTagName(a);return c.merge(this,a)}else return!b||b.jquery?(b||da).find(a):c(b).find(a);else if(c.isFunction(a))return da.ready(a);if(a.selector!==p){this.selector=a.selector;this.context=a.context}return c.makeArray(a,
this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return ea.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var f=c();c.isArray(a)?ha.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b==="find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();
if(c.isReady)a.call(t,c);else w&&w.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(ea.apply(this,arguments),"slice",ea.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ha,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=
c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,h,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((e=arguments[b])!=null)for(h in e){i=a[h];o=e[h];if(a!==o)if(f&&o&&(c.isPlainObject(o)||c.isArray(o))){i=i&&(c.isPlainObject(i)||c.isArray(i))?i:c.isArray(o)?[]:{};a[h]=c.extend(f,i,o)}else if(o!==p)a[h]=o}return a};c.extend({noConflict:function(a){v.$=ca;if(a)v.jQuery=ma;return c},
isReady:false,ready:function(){if(!c.isReady){if(!t.body)return setTimeout(c.ready,13);c.isReady=true;if(w){for(var a,b=0;a=w[b++];)a.call(t,c);w=null}c.fn.triggerHandler&&c(t).triggerHandler("ready")}},bindReady:function(){if(!la){la=true;if(t.readyState==="complete")return c.ready();if(t.addEventListener){t.addEventListener("DOMContentLoaded",S,false);v.addEventListener("load",c.ready,false)}else if(t.attachEvent){t.attachEvent("onreadystatechange",S);v.attachEvent("onload",c.ready);var a=false;
try{a=v.frameElement==null}catch(b){}t.documentElement.doScroll&&a&&z()}}},isFunction:function(a){return K.call(a)==="[object Function]"},isArray:function(a){return K.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||K.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!Z.call(a,"constructor")&&!Z.call(a.constructor.prototype,"isPrototypeOf"))return false;for(var b in a);return b===p||Z.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;
return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return v.JSON&&v.JSON.parse?v.JSON.parse(a):(new Function("return "+a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&ka.test(a)){var b=t.getElementsByTagName("head")[0]||
t.documentElement,d=t.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(t.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var f,e=0,h=a.length,i=h===p||c.isFunction(a);if(d)if(i)for(f in a){if(b.apply(a[f],d)===false)break}else for(;e<h;){if(b.apply(a[e++],d)===false)break}else if(i)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=
a[0];e<h&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(N,"")},makeArray:function(a,b){var d=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?ha.call(d,a):c.merge(d,a);return d},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,f=b.length;d<f;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==
p;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,h=a.length;e<h;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,h=0,i=a.length;h<i;h++){e=b(a[h],h,d);if(e!=null)f[f.length]=e}return f.concat.apply([],f)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=p}else if(b&&!c.isFunction(b)){d=b;b=p}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},
uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});sa=c.uaMatch(sa);if(sa.browser){c.browser[sa.browser]=true;c.browser.version=sa.version}if(c.browser.webkit)c.browser.safari=true;if(za)c.inArray=function(a,b){return za.call(b,a)};da=c(t);if(t.addEventListener)S=function(){t.removeEventListener("DOMContentLoaded",
S,false);c.ready()};else if(t.attachEvent)S=function(){if(t.readyState==="complete"){t.detachEvent("onreadystatechange",S);c.ready()}};(function(){c.support={};var a=t.documentElement,b=t.createElement("script"),d=t.createElement("div"),f="script"+U();d.style.display="none";d.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=d.getElementsByTagName("*"),h=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!h)){c.support=
{leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(h.getAttribute("style")),hrefNormalized:h.getAttribute("href")==="/a",opacity:/^0.55$/.test(h.style.opacity),cssFloat:!!h.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:t.createElement("select").appendChild(t.createElement("option")).selected,parentNode:d.removeChild(d.appendChild(t.createElement("div"))).parentNode===
null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(t.createTextNode("window."+f+"=1;"))}catch(i){}a.insertBefore(b,a.firstChild);if(v[f]){c.support.scriptEval=true;delete v[f]}try{delete b.test}catch(o){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function l(){c.support.noCloneEvent=false;d.detachEvent("onclick",l)});d.cloneNode(true).fireEvent("onclick")}d=t.createElement("div");
d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=t.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var l=t.createElement("div");l.style.width=l.style.paddingLeft="1px";t.body.appendChild(l);c.boxModel=c.support.boxModel=l.offsetWidth===2;t.body.removeChild(l).style.display="none"});a=function(l){var r=t.createElement("div");l="on"+l;var A=l in r;if(!A){r.setAttribute(l,"return;");A=typeof r[l]===
"function"}return A};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=h=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var ia="jQuery"+U(),Ka=0,ta={};c.extend({cache:{},expando:ia,noData:{embed:true,object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=
a==v?ta:a;var f=a[ia],e=c.cache;if(!f&&typeof b==="string"&&d===p)return null;f||(f=++Ka);if(typeof b==="object"){a[ia]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[ia]=f;e[f]={}}a=e[f];if(d!==p)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==v?ta:a;var d=a[ia],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando];else a.removeAttribute&&a.removeAttribute(c.expando);
delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===p){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===p&&this.length)f=c.data(this[0],a);return f===p&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,
a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===p)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,
a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var La=/[\n\t]/g,Ma=/\s+/,G=/\r/g,k=/href|src|style/,q=/(button|input)/i,x=/(button|input|object|select|textarea)/i,E=/^(a|area)$/i,F=/radio|checkbox/;c.fn.extend({attr:function(a,
b){return M(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(r){var A=c(this);A.addClass(a.call(this,r,A.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(Ma),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1)if(e.className){for(var h=" "+e.className+" ",i=e.className,o=0,l=b.length;o<l;o++)if(h.indexOf(" "+b[o]+" ")<
0)i+=" "+b[o];e.className=c.trim(i)}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(l){var r=c(this);r.removeClass(a.call(this,l,r.attr("class")))});if(a&&typeof a==="string"||a===p)for(var b=(a||"").split(Ma),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)if(a){for(var h=(" "+e.className+" ").replace(La," "),i=0,o=b.length;i<o;i++)h=h.replace(" "+b[i]+" "," ");e.className=c.trim(h)}else e.className=""}return this},toggleClass:function(a,
b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(e){var h=c(this);h.toggleClass(a.call(this,e,h.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,h=0,i=c(this),o=b,l=a.split(Ma);e=l[h++];){o=f?o:!i.hasClass(e);i[o?"addClass":"removeClass"](e)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=
" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(La," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===p){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var h=b?d:0;for(d=b?d+1:e.length;h<d;h++){var i=e[h];if(i.selected){a=c(i).val();if(b)return a;f.push(a)}}return f}if(F.test(b.type)&&
!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(G,"")}return p}var o=c.isFunction(a);return this.each(function(l){var r=c(this),A=a;if(this.nodeType===1){if(o)A=a.call(this,l,r.val());if(typeof A==="number")A+="";if(c.isArray(A)&&F.test(this.type))this.checked=c.inArray(r.val(),A)>=0;else if(c.nodeName(this,"select")){var Q=c.makeArray(A);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),Q)>=0});if(!Q.length)this.selectedIndex=
-1}else this.value=A}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return p;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==p;b=f&&c.props[b]||b;if(a.nodeType===1){var h=k.test(b);if(b in a&&f&&!h){if(e){b==="type"&&q.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;
if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:x.test(a.nodeName)||E.test(a.nodeName)&&a.href?0:p;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&h?a.getAttribute(b,2):a.getAttribute(b);return a===null?p:a}return c.style(a,b,d)}});var P=/\.(.*)$/,O=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===
3||a.nodeType===8)){if(a.setInterval&&a!==v&&!a.frameElement)a=v;var e,h;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(h=c.data(a)){var i=h.events=h.events||{},o=h.handle;if(!o)h.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,arguments):p};o.elem=a;b=b.split(" ");for(var l,r=0,A;l=b[r++];){h=e?c.extend({},e):{handler:d,data:f};if(l.indexOf(".")>-1){A=l.split(".");l=A.shift();h.namespace=A.slice(0).sort().join(".")}else{A=[];h.namespace=
""}h.type=l;h.guid=d.guid;var Q=i[l],V=c.event.special[l]||{};if(!Q){Q=i[l]=[];if(!V.setup||V.setup.call(a,f,A,o)===false)if(a.addEventListener)a.addEventListener(l,o,false);else a.attachEvent&&a.attachEvent("on"+l,o)}if(V.add){V.add.call(a,h);if(!h.handler.guid)h.handler.guid=d.guid}Q.push(h);c.event.global[l]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,h=0,i,o,l,r,A,Q,V=c.data(a),ba=V&&V.events;if(V&&ba){if(b&&b.type){d=b.handler;b=b.type}if(!b||
typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in ba)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[h++];){r=e;i=e.indexOf(".")<0;o=[];if(!i){o=e.split(".");e=o.shift();l=RegExp("(^|\\.)"+c.map(o.slice(0).sort(),O).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(A=ba[e])if(d){r=c.event.special[e]||{};for(X=f||0;X<A.length;X++){Q=A[X];if(d.guid===Q.guid){if(i||l.test(Q.namespace)){f==null&&A.splice(X--,1);r.remove&&r.remove.call(a,Q)}if(f!=null)break}}if(A.length===0||f!=null&&A.length===1){if(!r.teardown||
r.teardown.call(a,o)===false)$(a,e,V.handle);delete ba[e]}}else for(var X=0;X<A.length;X++){Q=A[X];if(i||l.test(Q.namespace)){c.event.remove(a,r,Q.handler,X);A.splice(X--,1)}}}if(c.isEmptyObject(ba)){if(b=V.handle)b.elem=null;delete V.events;delete V.handle;c.isEmptyObject(V)&&c.removeData(a)}}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a==="object"?a[ia]?a:c.extend(c.Event(e),a):c.Event(e);if(e.indexOf("!")>=0){a.type=e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();
c.event.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return p;a.result=p;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(h){}if(!a.isPropagationStopped()&&f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=
a.target;var i,o=c.nodeName(f,"a")&&e==="click",l=c.event.special[e]||{};if((!l._default||l._default.call(d,a)===false)&&!o&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(i=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(r){}if(i)f["on"+e]=i;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=c.event.fix(a||v.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){d=a.type.split(".");a.type=d.shift();f=RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+
"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var h=d.length;e<h;e++){var i=d[e];if(b||f.test(i.namespace)){a.handler=i.handler;a.data=i.data;a.handleObj=i;i=i.handler.apply(this,arguments);if(i!==p){a.result=i;if(i===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[ia])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||t;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=t.documentElement;d=t.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==p)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,a.origType,c.extend({},a,{handler:D}))},remove:function(a){var b=true,d=a.origType.replace(P,"");c.each(c.data(this,
"events").live||[],function(){if(d===this.origType.replace(P,""))return b=false});b&&c.event.remove(this,a.origType,D)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var $=t.removeEventListener?function(a,b,d){a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=
a;this.type=a.type}else this.type=a;this.timeStamp=U();this[ia]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=R;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=R;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=R;this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,
isImmediatePropagationStopped:J};var aa=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},Ba=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Ba:aa,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Ba:aa)}}});if(!c.support.submitBubbles)c.event.special.submit=
{setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return y("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13)return y("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var Ca=
/textarea|input|select/i,ua,va=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Da=function(a,b){var d=a.target,f,e;if(!(!Ca.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=va(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",e);if(!(f===p||e===f))if(f!=null||
e){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:Da,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return Da.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return Da.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",va(a))}},setup:function(){if(this.type===
"file")return false;for(var a in ua)c.event.add(this,a+".specialChange",ua[a]);return Ca.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return Ca.test(this.nodeName)}};ua=c.event.special.change.filters}t.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,
d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var h in d)this[b](h,f,d[h],e);return this}if(c.isFunction(f)){e=f;f=p}var i=b==="one"?c.proxy(e,function(l){c(this).unbind(l,i);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{h=0;for(var o=this.length;h<o;h++)c.event.add(this[h],d,i,f)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=
0;for(var f=this.length;d<f;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var d=c.Event(a);d.preventDefault();d.stopPropagation();c.event.trigger(d,b,this[0]);return d.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,
b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Ia={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,e,h){var i,o=0,l,r,A=h||this.selector,Q=h?this:c(this.context);if(c.isFunction(f)){e=f;f=p}for(d=
(d||"").split(" ");(i=d[o++])!=null;){h=P.exec(i);l="";if(h){l=h[0];i=i.replace(P,"")}if(i==="hover")d.push("mouseenter"+l,"mouseleave"+l);else{r=i;if(i==="focus"||i==="blur"){d.push(Ia[i]+l);i+=l}else i=(Ia[i]||i)+l;b==="live"?Q.each(function(){c.event.add(this,Y(i,A),{data:f,selector:A,handler:e,origType:i,origHandler:e,preType:r})}):Q.unbind(Y(i,A),e)}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});v.attachEvent&&!v.addEventListener&&v.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var j="",n,m=0;g[m];m++){n=g[m];if(n.nodeType===3||n.nodeType===4)j+=n.nodeValue;else if(n.nodeType!==8)j+=a(n.childNodes)}return j}function b(g,j,n,m,u,s){u=0;for(var I=m.length;u<I;u++){var H=m[u];
if(H){H=H[g];for(var T=false;H;){if(H.sizcache===n){T=m[H.sizset];break}if(H.nodeType===1&&!s){H.sizcache=n;H.sizset=u}if(H.nodeName.toLowerCase()===j){T=H;break}H=H[g]}m[u]=T}}}function d(g,j,n,m,u,s){u=0;for(var I=m.length;u<I;u++){var H=m[u];if(H){H=H[g];for(var T=false;H;){if(H.sizcache===n){T=m[H.sizset];break}if(H.nodeType===1){if(!s){H.sizcache=n;H.sizset=u}if(typeof j!=="string"){if(H===j){T=true;break}}else if(l.filter(j,[H]).length>0){T=H;break}}H=H[g]}m[u]=T}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
e=0,h=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var l=function(g,j,n,m){n=n||[];var u=j=j||t;if(j.nodeType!==1&&j.nodeType!==9)return[];if(!g||typeof g!=="string")return n;for(var s=[],I,H,T,Ra,Ea=true,Na=L(j),Fa=g;(f.exec(""),I=f.exec(Fa))!==null;){Fa=I[3];s.push(I[1]);if(I[2]){Ra=I[3];break}}if(s.length>1&&A.exec(g))if(s.length===2&&r.relative[s[0]])H=Va(s[0]+s[1],j);else for(H=r.relative[s[0]]?[j]:l(s.shift(),j);s.length;){g=s.shift();if(r.relative[g])g+=
s.shift();H=Va(g,H)}else{if(!m&&s.length>1&&j.nodeType===9&&!Na&&r.match.ID.test(s[0])&&!r.match.ID.test(s[s.length-1])){I=l.find(s.shift(),j,Na);j=I.expr?l.filter(I.expr,I.set)[0]:I.set[0]}if(j){I=m?{expr:s.pop(),set:V(m)}:l.find(s.pop(),s.length===1&&(s[0]==="~"||s[0]==="+")&&j.parentNode?j.parentNode:j,Na);H=I.expr?l.filter(I.expr,I.set):I.set;if(s.length>0)T=V(H);else Ea=false;for(;s.length;){var pa=s.pop();I=pa;if(r.relative[pa])I=s.pop();else pa="";if(I==null)I=j;r.relative[pa](T,I,Na)}}else T=
[]}T||(T=H);T||l.error(pa||g);if(h.call(T)==="[object Array]")if(Ea)if(j&&j.nodeType===1)for(g=0;T[g]!=null;g++){if(T[g]&&(T[g]===true||T[g].nodeType===1&&na(j,T[g])))n.push(H[g])}else for(g=0;T[g]!=null;g++)T[g]&&T[g].nodeType===1&&n.push(H[g]);else n.push.apply(n,T);else V(T,n);if(Ra){l(Ra,u,n,m);l.uniqueSort(n)}return n};l.uniqueSort=function(g){if(X){i=o;g.sort(X);if(i)for(var j=1;j<g.length;j++)g[j]===g[j-1]&&g.splice(j--,1)}return g};l.matches=function(g,j){return l(g,null,null,j)};l.find=function(g,
j,n){var m,u;if(!g)return[];for(var s=0,I=r.order.length;s<I;s++){var H=r.order[s];if(u=r.leftMatch[H].exec(g)){var T=u[1];u.splice(1,1);if(T.substr(T.length-1)!=="\\"){u[1]=(u[1]||"").replace(/\\/g,"");m=r.find[H](u,j,n);if(m!=null){g=g.replace(r.match[H],"");break}}}}m||(m=j.getElementsByTagName("*"));return{set:m,expr:g}};l.filter=function(g,j,n,m){for(var u=g,s=[],I=j,H,T,Ra=j&&j[0]&&L(j[0]);g&&j.length;){for(var Ea in r.filter)if((H=r.leftMatch[Ea].exec(g))!=null&&H[2]){var Na=r.filter[Ea],Fa,
pa;pa=H[1];T=false;H.splice(1,1);if(pa.substr(pa.length-1)!=="\\"){if(I===s)s=[];if(r.preFilter[Ea])if(H=r.preFilter[Ea](H,I,n,s,m,Ra)){if(H===true)continue}else T=Fa=true;if(H)for(var Sa=0;(pa=I[Sa])!=null;Sa++)if(pa){Fa=Na(pa,H,Sa,I);var db=m^!!Fa;if(n&&Fa!=null)if(db)T=true;else I[Sa]=false;else if(db){s.push(pa);T=true}}if(Fa!==p){n||(I=s);g=g.replace(r.match[Ea],"");if(!T)return[];break}}}if(g===u)if(T==null)l.error(g);else break;u=g}return I};l.error=function(g){throw"Syntax error, unrecognized expression: "+
g;};var r=l.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},
leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}},relative:{"+":function(g,j){var n=typeof j==="string",m=n&&!/\W/.test(j);n=n&&!m;if(m)j=j.toLowerCase();m=0;for(var u=g.length,s;m<u;m++)if(s=g[m]){for(;(s=s.previousSibling)&&s.nodeType!==1;);g[m]=n||s&&s.nodeName.toLowerCase()===j?s||false:s===j}n&&l.filter(j,g,true)},">":function(g,j){var n=typeof j==="string";if(n&&!/\W/.test(j)){j=j.toLowerCase();for(var m=0,u=g.length;m<u;m++){var s=
g[m];if(s){n=s.parentNode;g[m]=n.nodeName.toLowerCase()===j?n:false}}}else{m=0;for(u=g.length;m<u;m++)if(s=g[m])g[m]=n?s.parentNode:s.parentNode===j;n&&l.filter(j,g,true)}},"":function(g,j,n){var m=e++,u=d;if(typeof j==="string"&&!/\W/.test(j)){var s=j=j.toLowerCase();u=b}u("parentNode",j,m,g,s,n)},"~":function(g,j,n){var m=e++,u=d;if(typeof j==="string"&&!/\W/.test(j)){var s=j=j.toLowerCase();u=b}u("previousSibling",j,m,g,s,n)}},find:{ID:function(){},NAME:function(g,j){if(typeof j.getElementsByName!==
"undefined"){for(var n=[],m=j.getElementsByName(g[1]),u=0,s=m.length;u<s;u++)m[u].getAttribute("name")===g[1]&&n.push(m[u]);return n.length===0?null:n}},TAG:function(g,j){return j.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,j,n,m,u,s){g=" "+g[1].replace(/\\/g,"")+" ";if(s)return g;s=0;for(var I;(I=j[s])!=null;s++)if(I)if(u^(I.className&&(" "+I.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))n||m.push(I);else if(n)j[s]=false;return false},ID:function(g){return g[1].replace(/\\/g,
"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var j=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=j[1]+(j[2]||1)-0;g[3]=j[3]-0}g[0]=e++;return g},ATTR:function(g,j,n,m,u,s){j=g[1].replace(/\\/g,"");if(!s&&r.attrMap[j])g[1]=r.attrMap[j];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,j,n,m,u){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=l(g[3],null,null,j);
else{g=l.filter(g[3],j,n,true^u);n||m.push.apply(m,g);return false}else if(r.match.POS.test(g[0])||r.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,j,n){return!!l(n[3],
g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},
setFilters:{first:function(g,j){return j===0},last:function(g,j,n,m){return j===m.length-1},even:function(g,j){return j%2===0},odd:function(g,j){return j%2===1},lt:function(g,j,n){return j<n[3]-0},gt:function(g,j,n){return j>n[3]-0},nth:function(g,j,n){return n[3]-0===j},eq:function(g,j,n){return n[3]-0===j}},filter:{PSEUDO:function(g,j,n,m){var u=j[1],s=r.filters[u];if(s)return s(g,n,j,m);else if(u==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(j[3])>=0;else if(u==="not"){j=
j[3];n=0;for(m=j.length;n<m;n++)if(j[n]===g)return false;return true}else l.error("Syntax error, unrecognized expression: "+u)},CHILD:function(g,j){var n=j[1],m=g;switch(n){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(n==="first")return true;m=g;case "last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case "nth":n=j[2];var u=j[3];if(n===1&&u===0)return true;var s=j[0],I=g.parentNode;if(I&&(I.sizcache!==s||!g.nodeIndex)){var H=0;for(m=I.firstChild;m;m=
m.nextSibling)if(m.nodeType===1)m.nodeIndex=++H;I.sizcache=s}m=g.nodeIndex-u;return n===0?m===0:m%n===0&&m/n>=0}},ID:function(g,j){return g.nodeType===1&&g.getAttribute("id")===j},TAG:function(g,j){return j==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===j},CLASS:function(g,j){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(j)>-1},ATTR:function(g,j){var n=j[1];n=r.attrHandle[n]?r.attrHandle[n](g):g[n]!=null?g[n]:g.getAttribute(n);var m=n+"",u=j[2],s=j[4];return n==null?u==="!=":u===
"="?m===s:u==="*="?m.indexOf(s)>=0:u==="~="?(" "+m+" ").indexOf(s)>=0:!s?m&&n!==false:u==="!="?m!==s:u==="^="?m.indexOf(s)===0:u==="$="?m.substr(m.length-s.length)===s:u==="|="?m===s||m.substr(0,s.length+1)===s+"-":false},POS:function(g,j,n,m){var u=r.setFilters[j[2]];if(u)return u(g,n,j,m)}}},A=r.match.POS,Q;for(Q in r.match){r.match[Q]=RegExp(r.match[Q].source+/(?![^\[]*\])(?![^\(]*\))/.source);r.leftMatch[Q]=RegExp(/(^(?:.|\r|\n)*?)/.source+r.match[Q].source.replace(/\\(\d+)/g,function(g,j){return"\\"+
(j-0+1)}))}var V=function(g,j){g=Array.prototype.slice.call(g,0);if(j){j.push.apply(j,g);return j}return g};try{Array.prototype.slice.call(t.documentElement.childNodes,0)}catch(ba){V=function(g,j){var n=j||[];if(h.call(g)==="[object Array]")Array.prototype.push.apply(n,g);else if(typeof g.length==="number")for(var m=0,u=g.length;m<u;m++)n.push(g[m]);else for(m=0;g[m];m++)n.push(g[m]);return n}}var X;if(t.documentElement.compareDocumentPosition)X=function(g,j){if(!g.compareDocumentPosition||!j.compareDocumentPosition){if(g==
j)i=true;return g.compareDocumentPosition?-1:1}var n=g.compareDocumentPosition(j)&4?-1:g===j?0:1;if(n===0)i=true;return n};else if("sourceIndex"in t.documentElement)X=function(g,j){if(!g.sourceIndex||!j.sourceIndex){if(g==j)i=true;return g.sourceIndex?-1:1}var n=g.sourceIndex-j.sourceIndex;if(n===0)i=true;return n};else if(t.createRange)X=function(g,j){if(!g.ownerDocument||!j.ownerDocument){if(g==j)i=true;return g.ownerDocument?-1:1}var n=g.ownerDocument.createRange(),m=j.ownerDocument.createRange();
n.setStart(g,0);n.setEnd(g,0);m.setStart(j,0);m.setEnd(j,0);n=n.compareBoundaryPoints(Range.START_TO_END,m);if(n===0)i=true;return n};(function(){var g=t.createElement("div"),j="script"+(new Date).getTime();g.innerHTML="<a name='"+j+"'/>";var n=t.documentElement;n.insertBefore(g,n.firstChild);if(t.getElementById(j)){r.find.ID=function(m,u,s){if(typeof u.getElementById!=="undefined"&&!s)return(u=u.getElementById(m[1]))?u.id===m[1]||typeof u.getAttributeNode!=="undefined"&&u.getAttributeNode("id").nodeValue===
m[1]?[u]:p:[]};r.filter.ID=function(m,u){var s=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&s&&s.nodeValue===u}}n.removeChild(g);n=g=null})();(function(){var g=t.createElement("div");g.appendChild(t.createComment(""));if(g.getElementsByTagName("*").length>0)r.find.TAG=function(j,n){var m=n.getElementsByTagName(j[1]);if(j[1]==="*"){for(var u=[],s=0;m[s];s++)m[s].nodeType===1&&u.push(m[s]);m=u}return m};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!==
"undefined"&&g.firstChild.getAttribute("href")!=="#")r.attrHandle.href=function(j){return j.getAttribute("href",2)};g=null})();t.querySelectorAll&&function(){var g=l,j=t.createElement("div");j.innerHTML="<p class='TEST'></p>";if(!(j.querySelectorAll&&j.querySelectorAll(".TEST").length===0)){l=function(m,u,s,I){u=u||t;if(!I&&u.nodeType===9&&!L(u))try{return V(u.querySelectorAll(m),s)}catch(H){}return g(m,u,s,I)};for(var n in g)l[n]=g[n];j=null}}();(function(){var g=t.createElement("div");g.innerHTML=
"<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){r.order.splice(1,0,"CLASS");r.find.CLASS=function(j,n,m){if(typeof n.getElementsByClassName!=="undefined"&&!m)return n.getElementsByClassName(j[1])};g=null}}})();var na=t.compareDocumentPosition?function(g,j){return!!(g.compareDocumentPosition(j)&16)}:function(g,j){return g!==j&&(g.contains?g.contains(j):
true)},L=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},Va=function(g,j){for(var n=[],m="",u,s=j.nodeType?[j]:j;u=r.match.PSEUDO.exec(g);){m+=u[0];g=g.replace(r.match.PSEUDO,"")}g=r.relative[g]?g+"*":g;u=0;for(var I=s.length;u<I;u++)l(g,s[u],n);return l.filter(m,n)};c.find=l;c.expr=l.selectors;c.expr[":"]=c.expr.filters;c.unique=l.uniqueSort;c.text=a;c.isXMLDoc=L;c.contains=na})();var mb=/Until$/,nb=/^(?:parents|prevUntil|prevAll)/,ob=/,/;ea=Array.prototype.slice;
var eb=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,h){return!!b.call(e,h,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(xa.test(b))return c.filter(b,f,!d);else b=c.filter(b,f)}return c.grep(a,function(e){return c.inArray(e,b)>=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f<e;f++){d=b.length;c.find(a,this[f],b);if(f>0)for(var h=
d;h<b.length;h++)for(var i=0;i<d;i++)if(b[i]===b[h]){b.splice(h--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(eb(this,a,false),"not",a)},filter:function(a){return this.pushStack(eb(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,h={},i;if(f&&a.length){e=0;for(var o=a.length;e<
o;e++){i=a[e];h[i]||(h[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;f&&f.ownerDocument&&f!==b;){for(i in h){e=h[i];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:i,elem:f});delete h[i]}}f=f.parentNode}}return d}var l=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(r,A){for(;A&&A.ownerDocument&&A!==b;){if(l?l.index(A)>-1:c(A).is(a))return A;A=A.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());
return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context):c.makeArray(a),f=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!f[0]||!f[0].parentNode||f[0].parentNode.nodeType===11?f:c.unique(f))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,
"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,
"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);mb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||ob.test(f))&&nb.test(a))e=e.reverse();return this.pushStack(e,a,ea.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===p||a.nodeType!==
1||!c(a).is(d));){a.nodeType===1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var fb=/ jQuery\d+="(?:\d+|null)"/g,Ta=/^\s+/,gb=/(<([\w:]+)[^>]*?)\/>/g,pb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,hb=/<([\w:]+)/,qb=/<tbody/i,rb=/<|&#?\w+;/,ab=/<script|<object|<embed|<option|<style/i,bb=/checked\s*(?:[^=]|=\s*.checked.)/i,
ib=function(a,b,d){return pb.test(d)?a:b+"></"+d+">"},qa={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};qa.optgroup=qa.option;qa.tbody=qa.tfoot=qa.colgroup=qa.caption=qa.thead;qa.th=qa.td;if(!c.support.htmlSerialize)qa._default=
[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==p)return this.empty().append((this[0]&&this[0].ownerDocument||t).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=
this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,
true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,
false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(fb,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(Ta,"")],f)[0]}else return this.cloneNode(true)});if(a===true){wa(this,b);wa(this.find("*"),b.find("*"))}return b},html:function(a){if(a===p)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(fb,
""):null;else if(typeof a==="string"&&!ab.test(a)&&(c.support.leadingWhitespace||!Ta.test(a))&&!qa[(hb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(gb,ib);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}}else c.isFunction(a)?this.each(function(e){var h=c(this),i=h.html();h.empty().append(function(){return a.call(this,e,i)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&
this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){var f,e,h=a[0],i=[],o;if(!c.support.checkClone&&arguments.length===3&&typeof h===
"string"&&bb.test(h))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(h))return this.each(function(r){var A=c(this);a[0]=h.call(this,r,b?A.html():p);A.domManip(a,b,d)});if(this[0]){f=h&&h.parentNode;f=c.support.parentNode&&f&&f.nodeType===11&&f.childNodes.length===this.length?{fragment:f}:W(a,this,i);o=f.fragment;if(e=o.childNodes.length===1?o=o.firstChild:o.firstChild){b=b&&c.nodeName(e,"tr");e=0;for(var l=this.length;e<l;e++)d.call(b?c.nodeName(this[e],"table")?this[e].getElementsByTagName("tbody")[0]||
this[e].appendChild(this[e].ownerDocument.createElement("tbody")):this[e]:this[e],e>0||f.cacheable||this.length>1?o.cloneNode(true):o)}i.length&&c.each(i,C)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{e=0;for(var h=d.length;e<
h;e++){var i=(e>0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||t;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||t;for(var e=[],h=0,i;(i=a[h])!=null;h++){if(typeof i==="number")i+="";if(i){if(typeof i==="string"&&!rb.test(i))i=b.createTextNode(i);else if(typeof i==="string"){i=i.replace(gb,ib);var o=(hb.exec(i)||["",""])[1].toLowerCase(),l=qa[o]||qa._default,
r=l[0],A=b.createElement("div");for(A.innerHTML=l[1]+i+l[2];r--;)A=A.lastChild;if(!c.support.tbody){r=qb.test(i);o=o==="table"&&!r?A.firstChild&&A.firstChild.childNodes:l[1]==="<table>"&&!r?A.childNodes:[];for(l=o.length-1;l>=0;--l)c.nodeName(o[l],"tbody")&&!o[l].childNodes.length&&o[l].parentNode.removeChild(o[l])}!c.support.leadingWhitespace&&Ta.test(i)&&A.insertBefore(b.createTextNode(Ta.exec(i)[0]),A.firstChild);i=A.childNodes}if(i.nodeType)e.push(i);else e=c.merge(e,i)}}if(d)for(h=0;e[h];h++)if(f&&
c.nodeName(e[h],"script")&&(!e[h].type||e[h].type.toLowerCase()==="text/javascript"))f.push(e[h].parentNode?e[h].parentNode.removeChild(e[h]):e[h]);else{e[h].nodeType===1&&e.splice.apply(e,[h+1,0].concat(c.makeArray(e[h].getElementsByTagName("script"))));d.appendChild(e[h])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,h=c.support.deleteExpando,i=0,o;(o=a[i])!=null;i++)if(d=o[c.expando]){b=f[d];if(b.events)for(var l in b.events)e[l]?c.event.remove(o,l):$(o,l,b.handle);if(h)delete o[c.expando];
else o.removeAttribute&&o.removeAttribute(c.expando);delete f[d]}}});var sb=/z-?index|font-?weight|opacity|zoom|line-?height/i,jb=/alpha\([^)]*\)/,kb=/opacity=([^)]*)/,Wa=/float/i,Xa=/-([a-z])/ig,tb=/([A-Z])/g,ub=/^-?\d+(?:px)?$/i,vb=/^-?\d/,wb={position:"absolute",visibility:"hidden",display:"block"},xb=["Left","Right"],yb=["Top","Bottom"],zb=t.defaultView&&t.defaultView.getComputedStyle,lb=c.support.cssFloat?"cssFloat":"styleFloat",Ya=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return M(this,
a,b,true,function(d,f,e){if(e===p)return c.curCSS(d,f);if(typeof e==="number"&&!sb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return p;if((b==="width"||b==="height")&&parseFloat(d)<0)d=p;var f=a.style||a,e=d!==p;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter=jb.test(a)?a.replace(jb,b):b}return f.filter&&f.filter.indexOf("opacity=")>=
0?parseFloat(kb.exec(f.filter)[1])/100+"":""}if(Wa.test(b))b=lb;b=b.replace(Xa,Ya);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,h=b==="width"?xb:yb;d=function(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(h,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0})};a.offsetWidth!==0?d():c.swap(a,wb,d);return Math.max(0,
Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=kb.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(Wa.test(b))b=lb;if(!d&&e&&e[b])f=e[b];else if(zb){if(Wa.test(b))b="float";b=b.replace(tb,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f=a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(Xa,
Ya);f=a.currentStyle[b]||a.currentStyle[d];if(!ub.test(f)&&vb.test(f)){b=e.left;var h=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=h}}return f},swap:function(a,b,d){var f={},e;for(e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&
d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var Ab=U(),Bb=/<script(.|\s)*?\/script>/gi,Cb=/select|textarea/i,Db=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,Oa=/=\?(&|$)/,Za=/\?/,Eb=/(\?|&)_=.*?(&|$)/,Fb=/^(\w+:)?\/\/([^\/?#]+)/,Gb=/%20/g,Hb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string")return Hb.call(this,a);else if(!this.length)return this;
var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var h=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(i,o){if(o==="success"||o==="notmodified")h.html(e?c("<div />").append(i.responseText.replace(Bb,"")).find(e):i.responseText);d&&h.each(d,[i.responseText,o,i])}});return this},serialize:function(){return c.param(this.serializeArray())},
serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Cb.test(this.nodeName)||Db.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(f){return{name:b.name,value:f}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,
d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",
processData:true,async:true,xhr:v.XMLHttpRequest&&(v.location.protocol!=="file:"||!v.ActiveXObject)?function(){return new v.XMLHttpRequest}:function(){try{return new v.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&&e.success.call(l,o,i,L);e.global&&f("ajaxSuccess",
[L,e])}function d(){e.complete&&e.complete.call(l,L,i);e.global&&f("ajaxComplete",[L,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(u,s){(e.context?c(e.context):c.event).trigger(u,s)}var e=c.extend(true,{},c.ajaxSettings,a),h,i,o,l=a&&a.context||e,r=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(r==="GET")Oa.test(e.url)||(e.url+=(Za.test(e.url)?"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||
!Oa.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&Oa.test(e.data)||Oa.test(e.url))){h=e.jsonpCallback||"jsonp"+Ab++;if(e.data)e.data=(e.data+"").replace(Oa,"="+h+"$1");e.url=e.url.replace(Oa,"="+h+"$1");e.dataType="script";v[h]=v[h]||function(u){o=u;b();d();v[h]=p;try{delete v[h]}catch(s){}V&&V.removeChild(ba)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache===false&&r==="GET"){var A=U(),Q=e.url.replace(Eb,
"$1_="+A+"$2");e.url=Q+(Q===e.url?(Za.test(e.url)?"&":"?")+"_="+A:"")}if(e.data&&r==="GET")e.url+=(Za.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");A=(A=Fb.exec(e.url))&&(A[1]&&A[1]!==location.protocol||A[2]!==location.host);if(e.dataType==="script"&&r==="GET"&&A){var V=t.getElementsByTagName("head")[0]||t.documentElement,ba=t.createElement("script");ba.src=e.url;if(e.scriptCharset)ba.charset=e.scriptCharset;if(!h){var X=false;ba.onload=ba.onreadystatechange=function(){if(!X&&
(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){X=true;b();d();ba.onload=ba.onreadystatechange=null;V&&ba.parentNode&&V.removeChild(ba)}}}V.insertBefore(ba,V.firstChild);return p}var na=false,L=e.xhr();if(L){e.username?L.open(r,e.url,e.async,e.username,e.password):L.open(r,e.url,e.async);try{if(e.data||a&&a.contentType)L.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&L.setRequestHeader("If-Modified-Since",c.lastModified[e.url]);
c.etag[e.url]&&L.setRequestHeader("If-None-Match",c.etag[e.url])}A||L.setRequestHeader("X-Requested-With","XMLHttpRequest");L.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(Va){}if(e.beforeSend&&e.beforeSend.call(l,L,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");L.abort();return false}e.global&&f("ajaxSend",[L,e]);var g=L.onreadystatechange=function(u){if(!L||L.readyState===0||u==="abort"){na||d();na=true;if(L)L.onreadystatechange=
c.noop}else if(!na&&L&&(L.readyState===4||u==="timeout")){na=true;L.onreadystatechange=c.noop;i=u==="timeout"?"timeout":!c.httpSuccess(L)?"error":e.ifModified&&c.httpNotModified(L,e.url)?"notmodified":"success";var s;if(i==="success")try{o=c.httpData(L,e.dataType,e)}catch(I){i="parsererror";s=I}if(i==="success"||i==="notmodified")h||b();else c.handleError(e,L,i,s);d();u==="timeout"&&L.abort();if(e.async)L=null}};try{var j=L.abort;L.abort=function(){L&&j.call(L);g("abort")}}catch(n){}e.async&&e.timeout>
0&&setTimeout(function(){L&&!na&&g("timeout")},e.timeout);try{L.send(r==="POST"||r==="PUT"||r==="DELETE"?e.data:null)}catch(m){c.handleError(e,L,null,m);d()}e.async||g();return L}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223||a.status===0}catch(b){}return false},
httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);
else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(l,r){b||/\[\]$/.test(i)?f(i,r):d(i+"["+(typeof r==="object"||c.isArray(r)?l:"")+"]",r)});else!b&&o!=null&&typeof o==="object"?c.each(o,function(l,r){d(i+"["+l+"]",r)}):f(i,o)}function f(i,o){o=c.isFunction(o)?o():o;e[e.length]=encodeURIComponent(i)+"="+encodeURIComponent(o)}var e=[];if(b===p)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,
function(){f(this.name,this.value)});else for(var h in a)d(h,a[h]);return e.join("&").replace(Gb,"+")}});var $a={},Ib=/toggle|show|hide/,Jb=/^([+-]=)?([\d+-.]+)(.*)$/,Ua,cb=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(oa("show",3),a,b);else{for(var d=0,f=this.length;d<f;d++){var e=c.data(this[d],"olddisplay");this[d].style.display=e||
"";if(c.css(this[d],"display")==="none"){e=this[d].nodeName;var h;if($a[e])h=$a[e];else{var i=c("<"+e+" />").appendTo("body");h=i.css("display");if(h==="none")h="block";i.remove();$a[e]=h}c.data(this[d],"olddisplay",h)}}d=0;for(f=this.length;d<f;d++)this[d].style.display=c.data(this[d],"olddisplay")||"";return this}},hide:function(a,b){if(a||a===0)return this.animate(oa("hide",3),a,b);else{for(var d=0,f=this.length;d<f;d++){var e=c.data(this[d],"olddisplay");!e&&e!=="none"&&c.data(this[d],"olddisplay",
c.css(this[d],"display"))}d=0;for(f=this.length;d<f;d++)this[d].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(oa("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},animate:function(a,
b,d,f){var e=c.speed(b,d,f);if(c.isEmptyObject(a))return this.each(e.complete);return this[e.queue===false?"each":"queue"](function(){var h=c.extend({},e),i,o=this.nodeType===1&&c(this).is(":hidden"),l=this;for(i in a){var r=i.replace(Xa,Ya);if(i!==r){a[r]=a[i];delete a[i];i=r}if(a[i]==="hide"&&o||a[i]==="show"&&!o)return h.complete.call(this);if((i==="height"||i==="width")&&this.style){h.display=c.css(this,"display");h.overflow=this.style.overflow}if(c.isArray(a[i])){(h.specialEasing=h.specialEasing||
{})[i]=a[i][1];a[i]=a[i][0]}}if(h.overflow!=null)this.style.overflow="hidden";h.curAnim=c.extend({},a);c.each(a,function(A,Q){var V=new c.fx(l,h,A);if(Ib.test(Q))V[Q==="toggle"?o?"show":"hide":Q](a);else{var ba=Jb.exec(Q),X=V.cur(true)||0;if(ba){var na=parseFloat(ba[2]),L=ba[3]||"px";if(L!=="px"){l.style[A]=(na||1)+L;X=(na||1)/V.cur(true)*X;l.style[A]=X+L}if(ba[1])na=(ba[1]==="-="?-1:1)*na+X;V.custom(X,na,L)}else V.custom(X,Q,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);
this.each(function(){for(var f=d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:oa("show",1),slideUp:oa("hide",1),slideToggle:oa("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?
0:typeof f.duration==="number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,
this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-1E4?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(h){return e.step(h)}this.startTime=U();this.start=a;this.end=b;this.unit=
d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!Ua)Ua=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=U(),d=true;if(a||
b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||
this.options.show)for(var e in this.options.curAnim)c.style(this.elem,e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=
c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},stop:function(){clearInterval(Ua);Ua=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===
b.elem}).length};c.fn.offset="getBoundingClientRect"in t.documentElement?function(a){var b=this[0];if(a)return this.each(function(e){c.offset.setOffset(this,a,e)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),f=b.ownerDocument;b=f.body;f=f.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||
b.scrollLeft)-(f.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(r){c.offset.setOffset(this,a,r)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,f=b.ownerDocument,e,h=f.documentElement,i=f.body;e=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;for(var o=b.offsetTop,l=b.offsetLeft;(b=b.parentNode)&&b!==i&&b!==h;){if(c.offset.supportsFixedPosition&&e.position===
"fixed")break;e=f?f.getComputedStyle(b,null):b.currentStyle;o-=b.scrollTop;l-=b.scrollLeft;if(b===d){o+=b.offsetTop;l+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){o+=parseFloat(e.borderTopWidth)||0;l+=parseFloat(e.borderLeftWidth)||0}d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&e.overflow!=="visible"){o+=parseFloat(e.borderTopWidth)||0;l+=parseFloat(e.borderLeftWidth)||0}e=e}if(e.position==="relative"||
e.position==="static"){o+=i.offsetTop;l+=i.offsetLeft}if(c.offset.supportsFixedPosition&&e.position==="fixed"){o+=Math.max(h.scrollTop,i.scrollTop);l+=Math.max(h.scrollLeft,i.scrollLeft)}return{top:o,left:l}};c.offset={initialize:function(){var a=t.body,b=t.createElement("div"),d,f,e,h=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.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==h;a.removeChild(b);
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),h=parseInt(c.curCSS(a,"top",true),10)||0,i=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,
d,e);d={top:b.top-e.top+h,left:b.left-e.left+i};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-
f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||t.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 d="scroll"+b;c.fn[d]=function(f){var e=this[0],h;if(!e)return null;if(f!==p)return this.each(function(){if(h=ra(this))h.scrollTo(!a?f:c(h).scrollLeft(),a?f:c(h).scrollTop());else this[d]=f});else return(h=ra(e))?"pageXOffset"in h?h[a?"pageYOffset":
"pageXOffset"]:c.support.boxModel&&h.document.documentElement[d]||h.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(h){var i=c(this);i[d](f.call(this,h,i[d]()))});return"scrollTo"in
e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===p?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});B=c})(window);var ja=function(){function v(){if(!ia){try{var k=N.getElementsByTagName("body")[0].appendChild(N.createElement("span"));k.parentNode.removeChild(k)}catch(q){return}ia=
true;k=la.length;for(var x=0;x<k;x++)la[x]()}}function p(k){if(ia)k();else la[la.length]=k}function z(k){if(typeof ka.addEventListener!=t)ka.addEventListener("load",k,false);else if(typeof N.addEventListener!=t)N.addEventListener("load",k,false);else if(typeof ka.attachEvent!=t)oa(ka,"onload",k);else if(typeof ka.onload=="function"){var q=ka.onload;ka.onload=function(){q();k()}}else ka.onload=k}function C(){var k=N.getElementsByTagName("body")[0],q=N.createElement(da);q.setAttribute("type",ya);var x=
k.appendChild(q);if(x){var E=0;(function(){if(typeof x.GetVariable!=t){var F=x.GetVariable("$version");if(F){F=F.split(" ")[1].split(",");G.pv=[parseInt(F[0],10),parseInt(F[1],10),parseInt(F[2],10)]}}else if(E<10){E++;setTimeout(arguments.callee,10);return}k.removeChild(q);x=null;M()})()}else M()}function M(){var k=w.length;if(k>0)for(var q=0;q<k;q++){var x=w[q].id,E=w[q].callbackFn,F={success:false,id:x};if(G.pv[0]>0){var P=W(x);if(P)if(ra(w[q].swfVersion)&&!(G.wk&&G.wk<312)){ma(x,true);if(E){F.success=
true;F.ref=U(x);E(F)}}else if(w[q].expressInstall&&J()){F={};F.data=w[q].expressInstall;F.width=P.getAttribute("width")||"0";F.height=P.getAttribute("height")||"0";if(P.getAttribute("class"))F.styleclass=P.getAttribute("class");if(P.getAttribute("align"))F.align=P.getAttribute("align");var O={};P=P.getElementsByTagName("param");for(var $=P.length,aa=0;aa<$;aa++)if(P[aa].getAttribute("name").toLowerCase()!="movie")O[P[aa].getAttribute("name")]=P[aa].getAttribute("value");R(F,O,x,E)}else{y(P);E&&E(F)}}else{ma(x,
true);if(E){if((x=U(x))&&typeof x.SetVariable!=t){F.success=true;F.ref=x}E(F)}}}}function U(k){var q=null;if((k=W(k))&&k.nodeName=="OBJECT")if(typeof k.SetVariable!=t)q=k;else if(k=k.getElementsByTagName(da)[0])q=k;return q}function J(){return!Ka&&ra("6.0.65")&&(G.win||G.mac)&&!(G.wk&&G.wk<312)}function R(k,q,x,E){Ka=true;ea=E||null;za={success:false,id:x};var F=W(x);if(F){if(F.nodeName=="OBJECT"){Z=D(F);ha=null}else{Z=F;ha=x}k.id=xa;if(typeof k.width==t||!/%$/.test(k.width)&&parseInt(k.width,10)<
310)k.width="310";if(typeof k.height==t||!/%$/.test(k.height)&&parseInt(k.height,10)<137)k.height="137";N.title=N.title.slice(0,47)+" - Flash Player Installation";E=G.ie&&G.win?"ActiveX":"PlugIn";E="MMredirectURL="+ka.location.toString().replace(/&/g,"%26")+"&MMplayerType="+E+"&MMdoctitle="+N.title;if(typeof q.flashvars!=t)q.flashvars+="&"+E;else q.flashvars=E;if(G.ie&&G.win&&F.readyState!=4){E=N.createElement("div");x+="SWFObjectNew";E.setAttribute("id",x);F.parentNode.insertBefore(E,F);F.style.display=
"none";(function(){F.readyState==4?F.parentNode.removeChild(F):setTimeout(arguments.callee,10)})()}Y(k,q,x)}}function y(k){if(G.ie&&G.win&&k.readyState!=4){var q=N.createElement("div");k.parentNode.insertBefore(q,k);q.parentNode.replaceChild(D(k),q);k.style.display="none";(function(){k.readyState==4?k.parentNode.removeChild(k):setTimeout(arguments.callee,10)})()}else k.parentNode.replaceChild(D(k),k)}function D(k){var q=N.createElement("div");if(G.win&&G.ie)q.innerHTML=k.innerHTML;else if(k=k.getElementsByTagName(da)[0])if(k=
k.childNodes)for(var x=k.length,E=0;E<x;E++)!(k[E].nodeType==1&&k[E].nodeName=="PARAM")&&k[E].nodeType!=8&&q.appendChild(k[E].cloneNode(true));return q}function Y(k,q,x){var E,F=W(x);if(G.wk&&G.wk<312)return E;if(F){if(typeof k.id==t)k.id=x;if(G.ie&&G.win){var P="",O;for(O in k)if(k[O]!=Object.prototype[O])if(O.toLowerCase()=="data")q.movie=k[O];else if(O.toLowerCase()=="styleclass")P+=' class="'+k[O]+'"';else if(O.toLowerCase()!="classid")P+=" "+O+'="'+k[O]+'"';O="";for(var $ in q)if(q[$]!=Object.prototype[$])O+=
'<param name="'+$+'" value="'+q[$]+'" />';F.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+P+">"+O+"</object>";S[S.length]=k.id;E=W(k.id)}else{$=N.createElement(da);$.setAttribute("type",ya);for(var aa in k)if(k[aa]!=Object.prototype[aa])if(aa.toLowerCase()=="styleclass")$.setAttribute("class",k[aa]);else aa.toLowerCase()!="classid"&&$.setAttribute(aa,k[aa]);for(P in q)if(q[P]!=Object.prototype[P]&&P.toLowerCase()!="movie"){k=$;O=P;aa=q[P];x=N.createElement("param");x.setAttribute("name",
O);x.setAttribute("value",aa);k.appendChild(x)}F.parentNode.replaceChild($,F);E=$}}return E}function wa(k){var q=W(k);if(q&&q.nodeName=="OBJECT")if(G.ie&&G.win){q.style.display="none";(function(){if(q.readyState==4){var x=W(k);if(x){for(var E in x)if(typeof x[E]=="function")x[E]=null;x.parentNode.removeChild(x)}}else setTimeout(arguments.callee,10)})()}else q.parentNode.removeChild(q)}function W(k){var q=null;try{q=N.getElementById(k)}catch(x){}return q}function oa(k,q,x){k.attachEvent(q,x);K[K.length]=
[k,q,x]}function ra(k){var q=G.pv;k=k.split(".");k[0]=parseInt(k[0],10);k[1]=parseInt(k[1],10)||0;k[2]=parseInt(k[2],10)||0;return q[0]>k[0]||q[0]==k[0]&&q[1]>k[1]||q[0]==k[0]&&q[1]==k[1]&&q[2]>=k[2]?true:false}function c(k,q,x,E){if(!(G.ie&&G.mac)){var F=N.getElementsByTagName("head")[0];if(F){x=x&&typeof x=="string"?x:"screen";if(E)La=ta=null;if(!ta||La!=x){E=N.createElement("style");E.setAttribute("type","text/css");E.setAttribute("media",x);ta=F.appendChild(E);if(G.ie&&G.win&&typeof N.styleSheets!=
t&&N.styleSheets.length>0)ta=N.styleSheets[N.styleSheets.length-1];La=x}if(G.ie&&G.win)ta&&typeof ta.addRule==da&&ta.addRule(k,q);else ta&&typeof N.createTextNode!=t&&ta.appendChild(N.createTextNode(k+" {"+q+"}"))}}}function ma(k,q){if(Ma){var x=q?"visible":"hidden";if(ia&&W(k))W(k).style.visibility=x;else c("#"+k,"visibility:"+x)}}function ca(k){return/[\\\"<>\.;]/.exec(k)!=null&&typeof encodeURIComponent!=t?encodeURIComponent(k):k}var t="undefined",da="object",ya="application/x-shockwave-flash",
xa="SWFObjectExprInst",ka=window,N=document,fa=navigator,sa=false,la=[function(){sa?C():M()}],w=[],S=[],K=[],Z,ha,ea,za,ia=false,Ka=false,ta,La,Ma=true,G=function(){var k=typeof N.getElementById!=t&&typeof N.getElementsByTagName!=t&&typeof N.createElement!=t,q=fa.userAgent.toLowerCase(),x=fa.platform.toLowerCase(),E=x?/win/.test(x):/win/.test(q);x=x?/mac/.test(x):/mac/.test(q);q=/webkit/.test(q)?parseFloat(q.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false;var F=!+"\u000b1",P=[0,0,0],O=null;if(typeof fa.plugins!=
t&&typeof fa.plugins["Shockwave Flash"]==da){if((O=fa.plugins["Shockwave Flash"].description)&&!(typeof fa.mimeTypes!=t&&fa.mimeTypes[ya]&&!fa.mimeTypes[ya].enabledPlugin)){sa=true;F=false;O=O.replace(/^.*\s+(\S+\s+\S+$)/,"$1");P[0]=parseInt(O.replace(/^(.*)\..*$/,"$1"),10);P[1]=parseInt(O.replace(/^.*\.(.*)\s.*$/,"$1"),10);P[2]=/[a-zA-Z]/.test(O)?parseInt(O.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else if(typeof ka.ActiveXObject!=t)try{var $=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if($)if(O=
$.GetVariable("$version")){F=true;O=O.split(" ")[1].split(",");P=[parseInt(O[0],10),parseInt(O[1],10),parseInt(O[2],10)]}}catch(aa){}return{w3:k,pv:P,wk:q,ie:F,win:E,mac:x}}();(function(){if(G.w3){if(typeof N.readyState!=t&&N.readyState=="complete"||typeof N.readyState==t&&(N.getElementsByTagName("body")[0]||N.body))v();if(!ia){typeof N.addEventListener!=t&&N.addEventListener("DOMContentLoaded",v,false);if(G.ie&&G.win){N.attachEvent("onreadystatechange",function(){if(N.readyState=="complete"){N.detachEvent("onreadystatechange",
arguments.callee);v()}});ka==top&&function(){if(!ia){try{N.documentElement.doScroll("left")}catch(k){setTimeout(arguments.callee,0);return}v()}}()}G.wk&&function(){ia||(/loaded|complete/.test(N.readyState)?v():setTimeout(arguments.callee,0))}();z(v)}}})();(function(){G.ie&&G.win&&window.attachEvent("onunload",function(){for(var k=K.length,q=0;q<k;q++)K[q][0].detachEvent(K[q][1],K[q][2]);k=S.length;for(q=0;q<k;q++)wa(S[q]);for(var x in G)G[x]=null;G=null;for(var E in ja)ja[E]=null;ja=null})})();return{registerObject:function(k,
q,x,E){if(G.w3&&k&&q){var F={};F.id=k;F.swfVersion=q;F.expressInstall=x;F.callbackFn=E;w[w.length]=F;ma(k,false)}else E&&E({success:false,id:k})},getObjectById:function(k){if(G.w3)return U(k)},embedSWF:function(k,q,x,E,F,P,O,$,aa,Ba){var Ca={success:false,id:q};if(G.w3&&!(G.wk&&G.wk<312)&&k&&q&&x&&E&&F){ma(q,false);p(function(){x+="";E+="";var ua={};if(aa&&typeof aa===da)for(var va in aa)ua[va]=aa[va];ua.data=k;ua.width=x;ua.height=E;va={};if($&&typeof $===da)for(var Da in $)va[Da]=$[Da];if(O&&typeof O===
da)for(var Ia in O)if(typeof va.flashvars!=t)va.flashvars+="&"+Ia+"="+O[Ia];else va.flashvars=Ia+"="+O[Ia];if(ra(F)){Da=Y(ua,va,q);ua.id==q&&ma(q,true);Ca.success=true;Ca.ref=Da}else if(P&&J()){ua.data=P;R(ua,va,q,Ba);return}else ma(q,true);Ba&&Ba(Ca)})}else Ba&&Ba(Ca)},switchOffAutoHideShow:function(){Ma=false},ua:G,getFlashPlayerVersion:function(){return{major:G.pv[0],minor:G.pv[1],release:G.pv[2]}},hasFlashPlayerVersion:ra,createSWF:function(k,q,x){if(G.w3)return Y(k,q,x)},showExpressInstall:function(k,
q,x,E){G.w3&&J()&&R(k,q,x,E)},removeSWF:function(k){G.w3&&wa(k)},createCSS:function(k,q,x,E){G.w3&&c(k,q,x,E)},addDomLoadEvent:p,addLoadEvent:z,getQueryParamValue:function(k){var q=N.location.search||N.location.hash;if(q){if(/\?/.test(q))q=q.split("?")[1];if(k==null)return ca(q);q=q.split("&");for(var x=0;x<q.length;x++)if(q[x].substring(0,q[x].indexOf("="))==k)return ca(q[x].substring(q[x].indexOf("=")+1))}return""},expressInstallCallback:function(){if(Ka){var k=W(xa);if(k&&Z){k.parentNode.replaceChild(Z,
k);if(ha){ma(ha,true);if(G.ie&&G.win)Z.style.display="block"}ea&&ea(za)}Ka=false}}}}();(function(){if(!window.WebSocket){var v=window.console;v||(v={log:function(){},error:function(){}});if(ja.hasFlashPlayerVersion("9.0.0")){v.log(location.protocol);if(location.protocol=="file:")v.error("web-socket-js doesn't work in file:///... URL (without special configuration). Open the page via Web server i.e. http://...");else window.WebSocket=function(p){var z=p.replace("ws://","").split(":")[0],C=p.replace("ws://",
"").split(":")[1].replace("/","");this.onclose=function(){};this.onopen=function(){};this.onmessage=function(){};this.readyState=0;this.send=function(M){window.jsSocket.sock.send(M)};_this=this;window.jsSocket={sock:null,callback:function(M,U,J){var R=this;window.setTimeout(function(){switch(U){case "onLoaded":R.sock=document.getElementById("flashsocket");R.sock.open(z,C);break;case "onOpen":_this.readyState=1;_this.onopen();break;case "onClose":_this.readyState=0;_this.onclose();break;case "onData":_this.onmessage({data:J})}},
0)}};p=document.createElement("div");p.id="flashcontent";B(document.body).append(B("<div />").css("left","-100px").css("top","-100px").css("position","absolute").append(p));ja.embedSWF("http://chatapi-js.opener.asia/jsSocket2.swf","flashcontent","30","30","9.0.0","",{id:"flashsocket",origin:window.location.protocol+"//"+window.location.host},{allowScriptAccess:"always",id:"flashsocket"},{id:"flashsocket",name:"flashsocket"})}}else v.error("Flash Player is not installed.")}})();B().ready(function(){var v=
{};B.extend(v,{"mu-setting-hidecursor":false,"mu-setting-playring":true,"mu-setting-hidemycur":false,"mu-setting-cur-animate":false,"mu-setting-msgbox":false,"site-config-welcome":"\u6b22\u8fce\u4f7f\u7528ChatAPI\u63d2\u4ef6\uff0c\u60a8\u53ef\u4ee5\u5728\u8fd9\u91cc\u4e0e\u5176\u4ed6\u8bbf\u5ba2\u804a\u5929\uff01","site-config-prohibited":"","site-config-msgcount":"6"});B.extend(v,window.mueSetting||{});var p=B("<div />").attr("id","mu-stage").appendTo(document.body);Qa("http://chatapi-js.opener.asia/images/style.css",
function(){p.show()});Ja();var z=Aa(),C=B('<a href="javascript:void(0)" class="mu-offon" id="mu-off"></a>'),M=B('<a href="javascript:void(0)" class="mu-offon" id="mu-on"></a>'),U=B('<a href="javascript:void(0)" />').addClass("mu-setting").attr("id","mu-setting"),J=B.browser.msie?0:200;C.click(function(w,S){B(".mu-main-box").hide(J);B(".mu-message-setting-box").hide(J);R.hide(J);C.hide(J);U.hide(J);if(S==true){M.hide();return false}M.show(J);return false});M.click(function(){B(".mu-main-box").show(J);
B(".mu-message-setting-box").show(J,function(){c[0].scrollTop=c[0].scrollHeight});t.attr("checked")||R.show(J);B(this).hide(J);U.show(J);C.show(J);return false});M.append('<a id="mu-logo" href="http://chatapi.opener.asia/" target="_blank"></a>');var R=B('<div id="mu-users" ></div>');B(p).append(C).append(M).append(U).append(R);var y=B("<div class='mu-main-box'><input type='text' id='mu-message' maxlength='40' /><a id='mu-submit' href='#' ></a><div class='mu-selfinfo'>\u6635\u79f0:<span id='mu-self-nickname'></span><span style='display:inline-block;width:5px;' ></span>\u5728\u7ebf<span id='mu-self-onlinecount'></span>\u4eba<br /><a id='mu-support' href='http://chatapi.opener.asia/' target='_blank'></a></div></div>"),
D=y.find("#mu-self-nickname"),Y=y.find("#mu-self-onlinecount"),wa=y.find("#mu-message"),W=y.find("#mu-submit");wa.bind("keypress",function(w){w.keyCode==13&&W.click()});W.click(function(){var w=B(this),S=B("<div />").text(wa.val()).html();if(S!==""){var K=["\u6cd5\u8f6e\u529f","\u6211\u64cd","\u6c11\u4e3b","\u4e2d\u56fd\u8fc7\u6e21\u653f\u5e9c","\u6e21\u5e9c","\u6e29\u5f71\u5e1d","\u4f60\u5988\u4e86\u903c","\u5c4c","\u5929\u5b89\u95e8\u6e05\u573a","\u63a8\u7ffb","\u516d\u56db","\u674e\u6d2a\u5fd7",
"\u5927\u7eaa\u5143","\u65b0\u5510\u4eba","\u771f\u5584\u5fcd"];K=v["site-config-prohibited"]?[].concat.apply(K,v["site-config-prohibited"].split(","),[]):K;var Z=S.toLowerCase();Z=Z.replace(/[^\u4E00-\u9FA3a-zA-Z]+/g,"");for(var ha=0;ha<K.length;ha++)if(Z.indexOf(K[ha])>-1){z.onMessage("\u7cfb\u7edf","\u60a8\u7684\u53d1\u8a00\u542b\u6709\u654f\u611f\u8bcd\uff01",true);return false}K=new Date;if(w.data("send")===false){z.onMessage("\u7cfb\u7edf","\u60a8\u8bf4\u8bdd\u592a\u5feb\u4e86",true);return false}if(w.data("oldMsgTime")&&
(K-w.data("oldMsgTime"))/1E3<60&&S===w.data("oldMsg")){z.onMessage("\u7cfb\u7edf","\u8bf7\u52ff\u91cd\u590d\u53d1\u8a00",true);return false}w.data("oldMsg",S).data("oldMsgTime",K);z.sendMessage(S);wa.val("");w.data("send",false).data("send_timeout",setTimeout(function(){w.data("send",true)},1500))}return false});B(p).append(y);var oa=B("<ul id='mu-message-box'></ul>"),ra=B("<div id='mu-msg2-outer' ><table><tr><td class='lt-top'></td><td class='ct-top'></td><td class='rt-top'></td></tr><tr><td class='lt-md'></td><td class='ct-md'></td><td class='rt-md'></td></tr><tr><td class='lt-bom'></td><td class='ct-bom'></td><td class='rt-bom'></td></tr></table></div>").hide(),
c=B("<ul id='mu-message-box-tow' ></ul>");ra.find(".ct-md").append(c);B(p).append(B("<div />").addClass("mu-message-setting-box").append(oa).append(ra));var ma=B('<a href="javascript:void(0)" id="mu-reconnect" ></a>').hide();B(p).append(ma);var ca=B('<div id="mu-more-outer" ><div id="mu-more-top" ></div><dl id="mu-more" ><dt id="mu-login" >\u7ba1\u7406\u767b\u9646</dt><dd id="mu-login-next" ><div class="mu-dc" ><form action="#"><p>\u7528\u6237\u540d:<input type="text" id="mu-login-username" class="mu-input-text" /></p><p>\u5bc6\u7801:<input type="password" id="mu-login-password" class="mu-input-text" /></p><p id="mu-login-sb" ><input type="submit" disabled="true" value="\u767b\u9646" id="mu-login-submit" class="mu-button" /></p></form></div></dd><dt id="mu-user-info" >\u4e2a\u4eba\u4fe1\u606f</dt><dd id="mu-user-info-next" ><div class="mu-dc" ><p id="mu-set-nikename" >\u6635\u79f0:<input type="text" maxlength="10" id="mu-setting-txt-nickname" class="mu-input-text" /><input type="button" value="\u8bbe\u7f6e" id="mu-setting-btn-set" class="mu-button" ></p><p id="mu-myinfo" >\u5728\u7ebf\u65f6\u95f4: 10\u5c0f\u65f628\u5206</p></div></dd><dt id="mu-seting" >\u8bbe\u7f6e</dt><dd id="mu-seting-next" class="mu-lastdd" ><div class="mu-dc" ><label><input type="checkbox" id="mu-setting-hidecursor" />\u9690\u85cf\u5176\u4ed6\u4eba\u5149\u6807</label><label><input type="checkbox"  id="mu-setting-playring" checked="checked" />\u64ad\u653e\u4fe1\u606f\u63d0\u793a\u97f3</label><label><input type="checkbox" id="mu-setting-hidemycur" />\u9690\u85cf\u81ea\u5df1\u7684\u9f20\u6807\u4f4d\u7f6e</label><label><input type="checkbox" id="mu-setting-cur-animate" />\u5e73\u6ed1\u79fb\u52a8\u4ed6\u4eba\u5149\u6807</label><label><input type="checkbox" id="mu-setting-msgbox" />\u5207\u6362\u81f3\u804a\u5929\u6846\u6a21\u5f0f</label></div></dd></dl><div id="mu-more-bottom" ></div></div>');
ca.find("dt").bind({click:function(){if(B(this).next().children(".mu-dc").css("display")!="none")ca.find(".mu-dc").slideUp(180);else{ca.find(".mu-dc").slideUp(180);B(this).next().children(".mu-dc").slideDown(180)}},mouseover:function(){B(this).addClass("mu-hover")},mouseout:function(){B(this).removeClass("mu-hover")}});var t=ca.find("#mu-setting-hidecursor");y=function(){t.attr("checked")?R.hide(J):R.show(J)};t.click(y);var da=function(){B(this).attr("checked")&&z.active(-100,-100)};ca.find("#mu-setting-hidemycur").click(da);
var ya=function(){if(B(this).attr("checked")){ra.slideDown(J,function(){c[0].scrollTop=c[0].scrollHeight});oa.slideUp(J)}else{ra.slideUp(J);oa.slideDown(J)}};ca.find("#mu-setting-msgbox").click(ya);for(var xa in v)if({}.hasOwnProperty.apply(v,[xa])){var ka=v[xa],N=ca.find("#"+xa);N.length>0&&N.attr("defaultChecked",ka);da.apply(ca.find("#mu-setting-hidemycur"));ya.apply(ca.find("#mu-setting-msgbox"));y.apply(t)}ca.find("#mu-setting-btn-close").click(function(){U.click()});U.click(function(){ca.css("display")!=
"none"?ca.slideUp(J):ca.slideDown(J)});ca.find("#mu-setting-btn-set").bind("click",function(){var w=ca.find("#mu-setting-txt-nickname").val();if(w!=""){z.setNickname(w);B("#mu-self-nickname").text(w);z.onMessage("\u7cfb\u7edf","\u6635\u79f0\u8bbe\u7f6e\u6210\u529f\uff01",true);return false}});B(".mu-message-setting-box").append(ca.hide());var fa=B('<div id="mu-user-manager" > <div id="mu-usm-t" >\u7528\u6237\u7ba1\u7406<a href="javascript:void(0)" id="mu-usm-finduser" >(\u67e5\u627e)</a> <a href="javascript:void(0)" id="mu-usm-close" ></a> </div> <div id="mu-usm-c" ><ul></ul></div><div id="mu-usm-b" ></div> <div id="mu-usm-uwindow" ><p id="mu-usmw-name" >GuangWong</p><p id="mu-usmw-info" >\u505c\u7559\u65f6\u95f4:10\u5c0f\u65f6 \u8bbf\u95ee\u6b21\u6570:72\u6b21</p><p id="mu-usmw-buttons" > <a href="javascript:void(0)" id="mu-usmw-close" ></a> <span id="mu-usmw-dmtoher" class="mu-usmw-button" ><span>\u7ed9\u4ed6\u53d1\u9001\u79c1\u4fe1</span></span> <span id="mu-usmw-donttalk" class="mu-usmw-button" ><span><label><input type="checkbox" >\u7981\u8a00</label></span></span> </p></div></div>');
p.append(fa);fa.find("#mu-usm-t");xa=fa.find("ul");var sa=fa.find("#mu-usm-uwindow");y=sa.find("#mu-usmw-close");da=fa.find("#mu-usm-close");domUsm=new function(w,S,K){if(!(!w&&S)){var Z=this,ha=false;K=K||"mu-usm-u";this.addUser=function(ea,za){w.append(B('<li id="'+K+ea+'" >'+za+"</li>").bind({mouseover:function(){B(this).addClass("hover")},mouseout:function(){B(this).removeClass("hover")},click:function(){Z.selectUser(B(this).attr("id").slice(K.length))}}))};this.removeUser=function(ea){w.children("#"+
K+ea).remove()};this.chengUser=function(ea,za){w.children("#"+K+ea).text(za)};this.selectUser=function(ea){ha&&w.children("#mu-usm-u"+ha).removeClass("mu-selected");w.children("#mu-usm-u"+ea).addClass("mu-selected");ha=ea;S.show();S.children("#mu-usmw-name").text(w.find("#mu-usm-u"+ea).text())}}}(xa,sa);da.click(function(){fa.hide();return false});y.click(function(){sa.hide();return false});ca.find("#mu-login-next form").bind("submit",function(){var w=B("#mu-login-username").val(),S=B("#mu-login-password").val();
z.adminLogin({username:w,password:S,onAdminLogin:function(){([].splice.apply(arguments,[0])[0]||{}).status?fa.slideDown(J):alert("\u767b\u5f55\u5931\u8d25!")}});return false});z.DomAdduser=function(w,S){ieClass=B.browser.msie==true?" mu-user_ie":"";var K=B("<div class='mu-user"+ieClass+"'><div class='mu-icon' ></div><div class='mu-text'></div></div>");w.domUser=K;w.domUserText=K.children(".mu-text");w.domUserText.text(w.nickname+"("+Math.floor(w.onlinetime/60/60)+":"+Math.floor(w.onlinetime/60%60)+
")");w.domUser.hide();w.userid!=z.selfId&&B(R).append(K);Y.text(S)};z.DomDeluser=function(w,S){w.domUser.remove();Y.text(S)};z.DomSetnickname=function(w){w.domUserText.text(w.nickname+"("+Math.floor(w.onlinetime/60/60)+":"+Math.floor(w.onlinetime/60%60)+")")};z.onMessage=function(w,S){B("#mu-message-box li").size()>5&&B("#mu-message-box li:first").remove();var K=B("<li><table><tr><td class='lt-top'></td><td class='ct-top'></td><td class='rt-top'></td></tr><tr><td class='lt-md'></td><td class='ct-md'><strong>"+
w+":</strong>"+S+"</td><td class='rt-md'></td></tr><tr><td class='lt-bom'></td><td class='ct-bom'></td><td class='rt-bom'></td></tr></table></li>");arguments.length>2&&arguments[2]===true&&K.find(".ct-md").addClass("mu-system-msg");oa.append(K);var Z=c[0];K=B("<li><strong>"+w+":</strong>"+S+"</li>");arguments.length>2&&arguments[2]===true&&K.addClass("mu-system-msg");c.append(K);c.children("li").size()>300&&c.children("li:first").remove();Z.scrollHeight-Z.clientHeight-Z.scrollTop<75&&(Z.scrollTop=
Z.scrollHeight)};var la;z.onLogin=function(w,S,K){ma.hide();B("#mu-on").hide().trigger("click",[true]);B("#mu-setting-txt-nickname").val(S);z.onMessage("\u7cfb\u7edf","\u8fde\u63a5\u6210\u529f!",true);v["site-config-welcome"]===""||z.onMessage("\u7cfb\u7edf",v["site-config-welcome"],true);D.text(S);B("#mu-self-nickname").text(S);B("#mu-myinfo").text("\u5728\u7ebf\u65f6\u95f4:"+Math.floor(K/60/60)+"\u5c0f\u65f6"+Math.floor(K/60%60)+"\u5206\u949f");la=Ha();la.threshold=18E4;la.onActive=function(Z){z.active(Z.x,
Z.y)};la.onLeave=function(){z.leave()};la.onKeeplive=function(){z.keeplive()}};z.activeMonitorChangeRate=function(w){la.rate=w};z.DomUserMove=function(w){if(w.userstate==0){w.domUserText.text(w.nickname+"("+Math.floor(w.onlinetime/60/60)+":"+Math.floor(w.onlinetime/60%60)+")");w.userstate=1}if(w.x+w.domUser.width()+17>document.body.parentNode.scrollWidth||w.y+w.domUser.height()+7>(document.body.parentNode.scrollHeight<document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.parentNode.scrollHeight)||
w.x<0&&w.y<0)w.domUser.hide();else{B("#mu-setting-cur-animate").attr("checked")&&w.domUser.css("display")!="none"&&w.domUser.stop().animate({left:w.x,top:w.y},la.rate)||w.domUser.css("left",w.x).css("top",w.y);w.domUser.show()}};z.DomUserLeave=function(w){w.domUserText.text(w.nickname+"(\u79bb\u5f00)")};z.onOnlineTime=function(w){window.setInterval(function(){B.each(w,function(S,K){K.onlinetime+=60;if(K.userid!=z.selfId)K.userstate&&K.domUserText.text(K.nickname+"("+Math.floor(K.onlinetime/60/60)+
":"+Math.floor(K.onlinetime/60%60)+")");else B("#mu-myinfo").text("\u5728\u7ebf\u65f6\u95f4:"+Math.floor(K.onlinetime/60/60)+"\u5c0f\u65f6"+Math.floor(K.onlinetime/60%60)+"\u5206\u949f")})},6E4)};z.onLogout=function(){ma.bind("click",function(){z.onMessage("\u7cfb\u7edf","\u8fde\u63a5\u4e2d...",true);z.init();ma.unbind("click")}).show();B(".mu-main-box").addClass("animateing").hide();R.hide(200);R.empty();C.addClass("animateing").hide();U.addClass("animateing").hide();B(".mu-setting-area-outer").hide();
z.onMessage("\u7cfb\u7edf","\u8fde\u63a5\u5931\u8d25",true)};z.init()})})();
