(function(){var l=this,g,x=l.jQuery,o=l.$,n=l.jQuery=l.$=function(D,E){return new n.fn.init(D,E)},C=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;n.fn=n.prototype={init:function(D,G){D=D||document;if(D.nodeType){this[0]=D;this.length=1;this.context=D;return this}if(typeof D==="string"){var F=C.exec(D);if(F&&(F[1]||!G)){if(F[1]){D=n.clean([F[1]],G)}else{var H=document.getElementById(F[3]);if(H){if(H.id!=F[3]){return n().find(D)}var E=n(H);E.context=document;E.selector=D;return E}D=[]}}else{return n(G).find(D)}}else{if(n.isFunction(D)){return n(document).ready(D)}}if(D.selector&&D.context){this.selector=D.selector;this.context=D.context}return this.setArray(n.makeArray(D))},selector:"",jquery:"1.3",size:function(){return this.length},get:function(D){return D===g?n.makeArray(this):this[D]},pushStack:function(E,G,D){var F=n(E);F.prevObject=this;F.context=this.context;if(G==="find"){F.selector=this.selector+(this.selector?" ":"")+D}else{if(G){F.selector=this.selector+"."+G+"("+D+")"}}return F},setArray:function(D){this.length=0;Array.prototype.push.apply(this,D);return this},each:function(E,D){return n.each(this,E,D)},index:function(D){return n.inArray(D&&D.jquery?D[0]:D,this)},attr:function(E,G,F){var D=E;if(typeof E==="string"){if(G===g){return this[0]&&n[F||"attr"](this[0],E)}else{D={};D[E]=G}}return this.each(function(H){for(E in D){n.attr(F?this.style:this,E,n.prop(this,D[E],F,H,E))}})},css:function(D,E){if((D=="width"||D=="height")&&parseFloat(E)<0){E=g}return this.attr(D,E,"curCSS")},text:function(E){if(typeof E!=="object"&&E!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(E))}var D="";n.each(E||this,function(){n.each(this.childNodes,function(){if(this.nodeType!=8){D+=this.nodeType!=1?this.nodeValue:n.fn.text([this])}})});return D},wrapAll:function(D){if(this[0]){var E=n(D,this[0].ownerDocument).clone();if(this[0].parentNode){E.insertBefore(this[0])}E.map(function(){var F=this;while(F.firstChild){F=F.firstChild}return F}).append(this)}return this},wrapInner:function(D){return this.each(function(){n(this).contents().wrapAll(D)})},wrap:function(D){return this.each(function(){n(this).wrapAll(D)})},append:function(){return this.domManip(arguments,true,function(D){if(this.nodeType==1){this.appendChild(D)}})},prepend:function(){return this.domManip(arguments,true,function(D){if(this.nodeType==1){this.insertBefore(D,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(D){this.parentNode.insertBefore(D,this)})},after:function(){return this.domManip(arguments,false,function(D){this.parentNode.insertBefore(D,this.nextSibling)})},end:function(){return this.prevObject||n([])},push:[].push,find:function(D){if(this.length===1&&!/,/.test(D)){var F=this.pushStack([],"find",D);F.length=0;n.find(D,this[0],F);return F}else{var E=n.map(this,function(G){return n.find(D,G)});return this.pushStack(/[^+>] [^+>]/.test(D)?n.unique(E):E,"find",D)}},clone:function(E){var D=this.map(function(){if(!n.support.noCloneEvent&&!n.isXMLDoc(this)){var H=this.cloneNode(true),G=document.createElement("div");G.appendChild(H);return n.clean([G.innerHTML])[0]}else{return this.cloneNode(true)}});var F=D.find("*").andSelf().each(function(){if(this[h]!==g){this[h]=null}});if(E===true){this.find("*").andSelf().each(function(H){if(this.nodeType==3){return}var G=n.data(this,"events");for(var J in G){for(var I in G[J]){n.event.add(F[H],J,G[J][I],G[J][I].data)}}})}return D},filter:function(D){return this.pushStack(n.isFunction(D)&&n.grep(this,function(F,E){return D.call(F,E)})||n.multiFilter(D,n.grep(this,function(E){return E.nodeType===1})),"filter",D)},closest:function(D){var E=n.expr.match.POS.test(D)?n(D):null;return this.map(function(){var F=this;while(F&&F.ownerDocument){if(E?E.index(F)>-1:n(F).is(D)){return F}F=F.parentNode}})},not:function(D){if(typeof D==="string"){if(f.test(D)){return this.pushStack(n.multiFilter(D,this,true),"not",D)}else{D=n.multiFilter(D,this)}}var E=D.length&&D[D.length-1]!==g&&!D.nodeType;return this.filter(function(){return E?n.inArray(this,D)<0:this!=D})},add:function(D){return this.pushStack(n.unique(n.merge(this.get(),typeof D==="string"?n(D):n.makeArray(D))))},is:function(D){return!!D&&n.multiFilter(D,this).length>0},hasClass:function(D){return!!D&&this.is("."+D)},val:function(J){if(J===g){var D=this[0];if(D){if(n.nodeName(D,"option")){return(D.attributes.value||{}).specified?D.value:D.text}if(n.nodeName(D,"select")){var H=D.selectedIndex,K=[],L=D.options,G=D.type=="select-one";if(H<0){return null}for(var E=G?H:0,I=G?H+1:L.length;E<I;E++){var F=L[E];if(F.selected){J=n(F).val();if(G){return J}K.push(J)}}return K}return(D.value||"").replace(/\r/g,"")}return g}if(typeof J==="number"){J+=""}return this.each(function(){if(this.nodeType!=1){return}if(n.isArray(J)&&/radio|checkbox/.test(this.type)){this.checked=(n.inArray(this.value,J)>=0||n.inArray(this.name,J)>=0)}else{if(n.nodeName(this,"select")){var M=n.makeArray(J);n("option",this).each(function(){this.selected=(n.inArray(this.value,M)>=0||n.inArray(this.text,M)>=0)});if(!M.length){this.selectedIndex=-1}}else{this.value=J}}})},html:function(D){return D===g?(this[0]?this[0].innerHTML:null):this.empty().append(D)},replaceWith:function(D){return this.after(D).remove()},eq:function(D){return this.slice(D,+D+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(D){return this.pushStack(n.map(this,function(F,E){return D.call(F,E,F)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=n.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild,D=this.length>1?I.cloneNode(true):I;if(H){for(var G=0,E=this.length;G<E;G++){L.call(K(this[G],H),G>0?D.cloneNode(true):I)}}if(F){n.each(F,y)}}return this;function K(N,O){return M&&n.nodeName(N,"table")&&n.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};n.fn.init.prototype=n.fn;function y(D,E){if(E.src){n.ajax({url:E.src,async:false,dataType:"script"})}else{n.globalEval(E.text||E.textContent||E.innerHTML||"")}if(E.parentNode){E.parentNode.removeChild(E)}}function e(){return+new Date}n.extend=n.fn.extend=function(){var I=arguments[0]||{},G=1,H=arguments.length,D=false,F;if(typeof I==="boolean"){D=I;I=arguments[1]||{};G=2}if(typeof I!=="object"&&!n.isFunction(I)){I={}}if(H==G){I=this;--G}for(;G<H;G++){if((F=arguments[G])!=null){for(var E in F){var J=I[E],K=F[E];if(I===K){continue}if(D&&K&&typeof K==="object"&&!K.nodeType){I[E]=n.extend(D,J||(K.length!=null?[]:{}),K)}else{if(K!==g){I[E]=K}}}}}return I};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,p=document.defaultView||{},r=Object.prototype.toString;n.extend({noConflict:function(D){l.$=o;if(D){l.jQuery=x}return n},isFunction:function(D){return r.call(D)==="[object Function]"},isArray:function(D){return r.call(D)==="[object Array]"},isXMLDoc:function(D){return D.documentElement&&!D.body||D.tagName&&D.ownerDocument&&!D.ownerDocument.body},globalEval:function(F){F=n.trim(F);if(F){var E=document.getElementsByTagName("head")[0]||document.documentElement,D=document.createElement("script");D.type="text/javascript";if(n.support.scriptEval){D.appendChild(document.createTextNode(F))}else{D.text=F}E.insertBefore(D,E.firstChild);E.removeChild(D)}},nodeName:function(E,D){return E.nodeName&&E.nodeName.toUpperCase()==D.toUpperCase()},each:function(F,J,E){var D,G=0,H=F.length;if(E){if(H===g){for(D in F){if(J.apply(F[D],E)===false){break}}}else{for(;G<H;){if(J.apply(F[G++],E)===false){break}}}}else{if(H===g){for(D in F){if(J.call(F[D],D,F[D])===false){break}}}else{for(var I=F[0];G<H&&J.call(I,G,I)!==false;I=F[++G]){}}}return F},prop:function(G,H,F,E,D){if(n.isFunction(H)){H=H.call(G,E)}return typeof H==="number"&&F=="curCSS"&&!b.test(D)?H+"px":H},className:{add:function(D,E){n.each((E||"").split(/\s+/),function(F,G){if(D.nodeType==1&&!n.className.has(D.className,G)){D.className+=(D.className?" ":"")+G}})},remove:function(D,E){if(D.nodeType==1){D.className=E!==g?n.grep(D.className.split(/\s+/),function(F){return!n.className.has(E,F)}).join(" "):""}},has:function(E,D){return n.inArray(D,(E.className||E).toString().split(/\s+/))>-1}},swap:function(G,F,H){var D={};for(var E in F){D[E]=G.style[E];G.style[E]=F[E]}H.call(G);for(var E in F){G.style[E]=D[E]}},css:function(F,D,H){if(D=="width"||D=="height"){var J,E={position:"absolute",visibility:"hidden",display:"block"},I=D=="width"?["Left","Right"]:["Top","Bottom"];function G(){J=D=="width"?F.offsetWidth:F.offsetHeight;var L=0,K=0;n.each(I,function(){L+=parseFloat(n.curCSS(F,"padding"+this,true))||0;K+=parseFloat(n.curCSS(F,"border"+this+"Width",true))||0});J-=Math.round(L+K)}if(n(F).is(":visible")){G()}else{n.swap(F,E,G)}return Math.max(0,J)}return n.curCSS(F,D,H)},curCSS:function(H,E,F){var K,D=H.style;if(E=="opacity"&&!n.support.opacity){K=n.attr(D,"opacity");return K==""?"1":K}if(E.match(/float/i)){E=v}if(!F&&D&&D[E]){K=D[E]}else{if(p.getComputedStyle){if(E.match(/float/i)){E="float"}E=E.replace(/([A-Z])/g,"-$1").toLowerCase();var L=p.getComputedStyle(H,null);if(L){K=L.getPropertyValue(E)}if(E=="opacity"&&K==""){K="1"}}else{if(H.currentStyle){var I=E.replace(/\-(\w)/g,function(M,N){return N.toUpperCase()});K=H.currentStyle[E]||H.currentStyle[I];if(!/^\d+(px)?$/i.test(K)&&/^\d/.test(K)){var G=D.left,J=H.runtimeStyle.left;H.runtimeStyle.left=H.currentStyle.left;D.left=K||0;K=D.pixelLeft+"px";D.left=G;H.runtimeStyle.left=J}}}}return K},clean:function(E,J,H){J=J||document;if(typeof J.createElement==="undefined"){J=J.ownerDocument||J[0]&&J[0].ownerDocument||document}if(!H&&E.length===1&&typeof E[0]==="string"){var G=/^<(\w+)\s*\/?>$/.exec(E[0]);if(G){return[J.createElement(G[1])]}}var F=[],D=[],K=J.createElement("div");n.each(E,function(O,Q){if(typeof Q==="number"){Q+=""}if(!Q){return}if(typeof Q==="string"){Q=Q.replace(/(<(\w+)[^>]*?)\/>/g,function(S,T,R){return R.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?S:T+"></"+R+">"});var N=n.trim(Q).toLowerCase();var P=!N.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!N.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||N.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!N.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!N.indexOf("<td")||!N.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!N.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!n.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];K.innerHTML=P[1]+Q+P[2];while(P[0]--){K=K.lastChild}if(!n.support.tbody){var M=!N.indexOf("<table")&&N.indexOf("<tbody")<0?K.firstChild&&K.firstChild.childNodes:P[1]=="<table>"&&N.indexOf("<tbody")<0?K.childNodes:[];for(var L=M.length-1;L>=0;--L){if(n.nodeName(M[L],"tbody")&&!M[L].childNodes.length){M[L].parentNode.removeChild(M[L])}}}if(!n.support.leadingWhitespace&&/^\s/.test(Q)){K.insertBefore(J.createTextNode(Q.match(/^\s*/)[0]),K.firstChild)}Q=n.makeArray(K.childNodes)}if(Q.nodeType){F.push(Q)}else{F=n.merge(F,Q)}});if(H){for(var I=0;F[I];I++){if(n.nodeName(F[I],"script")&&(!F[I].type||F[I].type.toLowerCase()==="text/javascript")){D.push(F[I].parentNode?F[I].parentNode.removeChild(F[I]):F[I])}else{if(F[I].nodeType===1){F.splice.apply(F,[I+1,0].concat(n.makeArray(F[I].getElementsByTagName("script"))))}H.appendChild(F[I])}}return D}return F},attr:function(I,F,J){if(!I||I.nodeType==3||I.nodeType==8){return g}var G=!n.isXMLDoc(I),K=J!==g;F=G&&n.props[F]||F;if(I.tagName){var E=/href|src|style/.test(F);if(F=="selected"&&I.parentNode){I.parentNode.selectedIndex}if(F in I&&G&&!E){if(K){if(F=="type"&&n.nodeName(I,"input")&&I.parentNode){throw"type property can't be changed"}I[F]=J}if(n.nodeName(I,"form")&&I.getAttributeNode(F)){return I.getAttributeNode(F).nodeValue}if(F=="tabIndex"){var H=I.getAttributeNode("tabIndex");return H&&H.specified?H.value:I.nodeName.match(/^(a|area|button|input|object|select|textarea)$/i)?0:g}return I[F]}if(!n.support.style&&G&&F=="style"){return n.attr(I.style,"cssText",J)}if(K){I.setAttribute(F,""+J)}var D=!n.support.hrefNormalized&&G&&E?I.getAttribute(F,2):I.getAttribute(F);return D===null?g:D}if(!n.support.opacity&&F=="opacity"){if(K){I.zoom=1;I.filter=(I.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(J)+""=="NaN"?"":"alpha(opacity="+J*100+")")}return I.filter&&I.filter.indexOf("opacity=")>=0?(parseFloat(I.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}F=F.replace(/-([a-z])/ig,function(L,M){return M.toUpperCase()});if(K){I[F]=J}return I[F]},trim:function(D){return(D||"").replace(/^\s+|\s+$/g,"")},makeArray:function(F){var D=[];if(F!=null){var E=F.length;if(E==null||typeof F==="string"||n.isFunction(F)||F.setInterval){D[0]=F}else{while(E){D[--E]=F[E]}}}return D},inArray:function(F,G){for(var D=0,E=G.length;D<E;D++){if(G[D]===F){return D}}return-1},merge:function(G,D){var E=0,F,H=G.length;if(!n.support.getAll){while((F=D[E++])!=null){if(F.nodeType!=8){G[H++]=F}}}else{while((F=D[E++])!=null){G[H++]=F}}return G},unique:function(J){var E=[],D={};try{for(var F=0,G=J.length;F<G;F++){var I=n.data(J[F]);if(!D[I]){D[I]=true;E.push(J[F])}}}catch(H){E=J}return E},grep:function(E,I,D){var F=[];for(var G=0,H=E.length;G<H;G++){if(!D!=!I(E[G],G)){F.push(E[G])}}return F},map:function(D,I){var E=[];for(var F=0,G=D.length;F<G;F++){var H=I(D[F],F);if(H!=null){E[E.length]=H}}return E.concat.apply([],E)}});var B=navigator.userAgent.toLowerCase();n.browser={version:(B.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(B),opera:/opera/.test(B),msie:/msie/.test(B)&&!/opera/.test(B),mozilla:/mozilla/.test(B)&&!/(compatible|webkit)/.test(B)};n.each({parent:function(D){return D.parentNode},parents:function(D){return n.dir(D,"parentNode")},next:function(D){return n.nth(D,2,"nextSibling")},prev:function(D){return n.nth(D,2,"previousSibling")},nextAll:function(D){return n.dir(D,"nextSibling")},prevAll:function(D){return n.dir(D,"previousSibling")},siblings:function(D){return n.sibling(D.parentNode.firstChild,D)},children:function(D){return n.sibling(D.firstChild)},contents:function(D){return n.nodeName(D,"iframe")?D.contentDocument||D.contentWindow.document:n.makeArray(D.childNodes)}},function(D,E){n.fn[D]=function(F){var G=n.map(this,E);if(F&&typeof F=="string"){G=n.multiFilter(F,G)}return this.pushStack(n.unique(G),D,F)}});n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(D,E){n.fn[D]=function(){var F=arguments;return this.each(function(){for(var G=0,H=F.length;G<H;G++){n(F[G])[E](this)}})}});n.each({removeAttr:function(D){n.attr(this,D,"");if(this.nodeType==1){this.removeAttribute(D)}},addClass:function(D){n.className.add(this,D)},removeClass:function(D){n.className.remove(this,D)},toggleClass:function(E,D){if(typeof D!=="boolean"){D=!n.className.has(this,E)}n.className[D?"add":"remove"](this,E)},remove:function(D){if(!D||n.filter(D,[this]).length){n("*",this).add([this]).each(function(){n.event.remove(this);n.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){n(">*",this).remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(D,E){n.fn[D]=function(){return this.each(E,arguments)}});function j(D,E){return D[0]&&parseInt(n.curCSS(D[0],E,true),10)||0}var h="jQuery"+e(),u=0,z={};n.extend({cache:{},data:function(E,D,F){E=E==l?z:E;var G=E[h];if(!G){G=E[h]=++u}if(D&&!n.cache[G]){n.cache[G]={}}if(F!==g){n.cache[G][D]=F}return D?n.cache[G][D]:G},removeData:function(E,D){E=E==l?z:E;var G=E[h];if(D){if(n.cache[G]){delete n.cache[G][D];D="";for(D in n.cache[G]){break}if(!D){n.removeData(E)}}}else{try{delete E[h]}catch(F){if(E.removeAttribute){E.removeAttribute(h)}}delete n.cache[G]}},queue:function(E,D,G){if(E){D=(D||"fx")+"queue";var F=n.data(E,D);if(!F||n.isArray(G)){F=n.data(E,D,n.makeArray(G))}else{if(G){F.push(G)}}}return F},dequeue:function(G,F){var D=n.queue(G,F),E=D.shift();if(!F||F==="fx"){E=D[0]}if(E!==g){E.call(G)}}});n.fn.extend({data:function(D,F){var G=D.split(".");G[1]=G[1]?"."+G[1]:"";if(F===g){var E=this.triggerHandler("getData"+G[1]+"!",[G[0]]);if(E===g&&this.length){E=n.data(this[0],D)}return E===g&&G[1]?this.data(G[0]):E}else{return this.trigger("setData"+G[1]+"!",[G[0],F]).each(function(){n.data(this,D,F)})}},removeData:function(D){return this.each(function(){n.removeData(this,D)})},queue:function(D,E){if(typeof D!=="string"){E=D;D="fx"}if(E===g){return n.queue(this[0],D)}return this.each(function(){var F=n.queue(this,D,E);if(D=="fx"&&F.length==1){F[0].call(this)}})},dequeue:function(D){return this.each(function(){n.dequeue(this,D)})}});(function(){var N=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|[^[\]]+)+\]|\\.|[^ >+~,(\[]+)+|[>+~])(\s*,\s*)?/g,I=0,F=Object.prototype.toString;var E=function(ae,S,aa,V){aa=aa||[];S=S||document;if(S.nodeType!==1&&S.nodeType!==9){return[]}if(!ae||typeof ae!=="string"){return aa}var ab=[],ac,Y,ah,ag,Z,R,Q=true;N.lastIndex=0;while((ac=N.exec(ae))!==null){ab.push(ac[1]);if(ac[2]){R=RegExp.rightContext;break}}if(ab.length>1&&G.match.POS.exec(ae)){if(ab.length===2&&G.relative[ab[0]]){var U="",X;while((X=G.match.POS.exec(ae))){U+=X[0];ae=ae.replace(G.match.POS,"")}Y=E.filter(U,E(/\s$/.test(ae)?ae+"*":ae,S))}else{Y=G.relative[ab[0]]?[S]:E(ab.shift(),S);while(ab.length){var P=[];ae=ab.shift();if(G.relative[ae]){ae+=ab.shift()}for(var af=0,ad=Y.length;af<ad;af++){E(ae,Y[af],P)}Y=P}}}else{var ai=V?{expr:ab.pop(),set:D(V)}:E.find(ab.pop(),ab.length===1&&S.parentNode?S.parentNode:S);Y=E.filter(ai.expr,ai.set);if(ab.length>0){ah=D(Y)}else{Q=false}while(ab.length){var T=ab.pop(),W=T;if(!G.relative[T]){T=""}else{W=ab.pop()}if(W==null){W=S}G.relative[T](ah,W,M(S))}}if(!ah){ah=Y}if(!ah){throw"Syntax error, unrecognized expression: "+(T||ae)}if(F.call(ah)==="[object Array]"){if(!Q){aa.push.apply(aa,ah)}else{if(S.nodeType===1){for(var af=0;ah[af]!=null;af++){if(ah[af]&&(ah[af]===true||ah[af].nodeType===1&&H(S,ah[af]))){aa.push(Y[af])}}}else{for(var af=0;ah[af]!=null;af++){if(ah[af]&&ah[af].nodeType===1){aa.push(Y[af])}}}}}else{D(ah,aa)}if(R){E(R,S,aa,V)}return aa};E.matches=function(P,Q){return E(P,null,null,Q)};E.find=function(V,S){var W,Q;if(!V){return[]}for(var R=0,P=G.order.length;R<P;R++){var T=G.order[R],Q;if((Q=G.match[T].exec(V))){var U=RegExp.leftContext;if(U.substr(U.length-1)!=="\\"){Q[1]=(Q[1]||"").replace(/\\/g,"");W=G.find[T](Q,S);if(W!=null){V=V.replace(G.match[T],"");break}}}}if(!W){W=S.getElementsByTagName("*")}return{set:W,expr:V}};E.filter=function(S,ac,ad,T){var Q=S,Y=[],ah=ac,V,ab;while(S&&ac.length){for(var U in G.filter){if((V=G.match[U].exec(S))!=null){var Z=G.filter[U],R=null,X=0,aa,ag;ab=false;if(ah==Y){Y=[]}if(G.preFilter[U]){V=G.preFilter[U](V,ah,ad,Y,T);if(!V){ab=aa=true}else{if(V===true){continue}else{if(V[0]===true){R=[];var W=null,af;for(var ae=0;(af=ah[ae])!==g;ae++){if(af&&W!==af){R.push(af);W=af}}}}}}if(V){for(var ae=0;(ag=ah[ae])!==g;ae++){if(ag){if(R&&ag!=R[X]){X++}aa=Z(ag,V,X,R);var P=T^!!aa;if(ad&&aa!=null){if(P){ab=true}else{ah[ae]=false}}else{if(P){Y.push(ag);ab=true}}}}}if(aa!==g){if(!ad){ah=Y}S=S.replace(G.match[U],"");if(!ab){return[]}break}}}S=S.replace(/\s*,\s*/,"");if(S==Q){if(ab==null){throw"Syntax error, unrecognized expression: "+S}else{break}}Q=S}return ah};var G=E.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\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(P){return P.getAttribute("href")}},relative:{"+":function(T,Q){for(var R=0,P=T.length;R<P;R++){var S=T[R];if(S){var U=S.previousSibling;while(U&&U.nodeType!==1){U=U.previousSibling}T[R]=typeof Q==="string"?U||false:U===Q}}if(typeof Q==="string"){E.filter(Q,T,true)}},">":function(U,Q,V){if(typeof Q==="string"&&!/\W/.test(Q)){Q=V?Q:Q.toUpperCase();for(var R=0,P=U.length;R<P;R++){var T=U[R];if(T){var S=T.parentNode;U[R]=S.nodeName===Q?S:false}}}else{for(var R=0,P=U.length;R<P;R++){var T=U[R];if(T){U[R]=typeof Q==="string"?T.parentNode:T.parentNode===Q}}if(typeof Q==="string"){E.filter(Q,U,true)}}},"":function(S,Q,U){var R="done"+(I++),P=O;if(!Q.match(/\W/)){var T=Q=U?Q:Q.toUpperCase();P=L}P("parentNode",Q,R,S,T,U)},"~":function(S,Q,U){var R="done"+(I++),P=O;if(typeof Q==="string"&&!Q.match(/\W/)){var T=Q=U?Q:Q.toUpperCase();P=L}P("previousSibling",Q,R,S,T,U)}},find:{ID:function(Q,R){if(R.getElementById){var P=R.getElementById(Q[1]);return P?[P]:[]}},NAME:function(P,Q){return Q.getElementsByName?Q.getElementsByName(P[1]):null},TAG:function(P,Q){return Q.getElementsByTagName(P[1])}},preFilter:{CLASS:function(S,Q,R,P,U){S=" "+S[1].replace(/\\/g,"")+" ";for(var T=0;Q[T];T++){if(U^(" "+Q[T].className+" ").indexOf(S)>=0){if(!R){P.push(Q[T])}}else{if(R){Q[T]=false}}}return false},ID:function(P){return P[1].replace(/\\/g,"")},TAG:function(Q,P){for(var R=0;!P[R];R++){}return M(P[R])?Q[1]:Q[1].toUpperCase()},CHILD:function(P){if(P[1]=="nth"){var Q=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(P[2]=="even"&&"2n"||P[2]=="odd"&&"2n+1"||!/\D/.test(P[2])&&"0n+"+P[2]||P[2]);P[2]=(Q[1]+(Q[2]||1))-0;P[3]=Q[3]-0}P[0]="done"+(I++);return P},ATTR:function(Q){var P=Q[1];if(G.attrMap[P]){Q[1]=G.attrMap[P]}if(Q[2]==="~="){Q[4]=" "+Q[4]+" "}return Q},PSEUDO:function(T,Q,R,P,U){if(T[1]==="not"){if(T[3].match(N).length>1){T[3]=E(T[3],null,null,Q)}else{var S=E.filter(T[3],Q,R,true^U);if(!R){P.push.apply(P,S)}return false}}else{if(G.match.POS.test(T[0])){return true}}return T},POS:function(P){P.unshift(true);return P}},filters:{enabled:function(P){return P.disabled===false&&P.type!=="hidden"},disabled:function(P){return P.disabled===true},checked:function(P){return P.checked===true},selected:function(P){P.parentNode.selectedIndex;return P.selected===true},parent:function(P){return!!P.firstChild},empty:function(P){return!P.firstChild},has:function(R,Q,P){return!!E(P[3],R).length},header:function(P){return/h\d/i.test(P.nodeName)},text:function(P){return"text"===P.type},radio:function(P){return"radio"===P.type},checkbox:function(P){return"checkbox"===P.type},file:function(P){return"file"===P.type},password:function(P){return"password"===P.type},submit:function(P){return"submit"===P.type},image:function(P){return"image"===P.type},reset:function(P){return"reset"===P.type},button:function(P){return"button"===P.type||P.nodeName.toUpperCase()==="BUTTON"},input:function(P){return/input|select|textarea|button/i.test(P.nodeName)}},setFilters:{first:function(Q,P){return P===0},last:function(R,Q,P,S){return Q===S.length-1},even:function(Q,P){return P%2===0},odd:function(Q,P){return P%2===1},lt:function(R,Q,P){return Q<P[3]-0},gt:function(R,Q,P){return Q>P[3]-0},nth:function(R,Q,P){return P[3]-0==Q},eq:function(R,Q,P){return P[3]-0==Q}},filter:{CHILD:function(P,S){var V=S[1],W=P.parentNode;var U="child"+W.childNodes.length;if(W&&(!W[U]||!P.nodeIndex)){var T=1;for(var Q=W.firstChild;Q;Q=Q.nextSibling){if(Q.nodeType==1){Q.nodeIndex=T++}}W[U]=T-1}if(V=="first"){return P.nodeIndex==1}else{if(V=="last"){return P.nodeIndex==W[U]}else{if(V=="only"){return W[U]==1}else{if(V=="nth"){var Y=false,R=S[2],X=S[3];if(R==1&&X==0){return true}if(R==0){if(P.nodeIndex==X){Y=true}}else{if((P.nodeIndex-X)%R==0&&(P.nodeIndex-X)/R>=0){Y=true}}return Y}}}}},PSEUDO:function(V,R,S,W){var Q=R[1],T=G.filters[Q];if(T){return T(V,S,R,W)}else{if(Q==="contains"){return(V.textContent||V.innerText||"").indexOf(R[3])>=0}else{if(Q==="not"){var U=R[3];for(var S=0,P=U.length;S<P;S++){if(U[S]===V){return false}}return true}}}},ID:function(Q,P){return Q.nodeType===1&&Q.getAttribute("id")===P},TAG:function(Q,P){return(P==="*"&&Q.nodeType===1)||Q.nodeName===P},CLASS:function(Q,P){return P.test(Q.className)},ATTR:function(T,R){var P=G.attrHandle[R[1]]?G.attrHandle[R[1]](T):T[R[1]]||T.getAttribute(R[1]),U=P+"",S=R[2],Q=R[4];return P==null?false:S==="="?U===Q:S==="*="?U.indexOf(Q)>=0:S==="~="?(" "+U+" ").indexOf(Q)>=0:!R[4]?P:S==="!="?U!=Q:S==="^="?U.indexOf(Q)===0:S==="$="?U.substr(U.length-Q.length)===Q:S==="|="?U===Q||U.substr(0,Q.length+1)===Q+"-":false},POS:function(T,Q,R,U){var P=Q[2],S=G.setFilters[P];if(S){return S(T,R,Q,U)}}}};for(var K in G.match){G.match[K]=RegExp(G.match[K].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var D=function(Q,P){Q=Array.prototype.slice.call(Q);if(P){P.push.apply(P,Q);return P}return Q};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(J){D=function(T,S){var Q=S||[];if(F.call(T)==="[object Array]"){Array.prototype.push.apply(Q,T)}else{if(typeof T.length==="number"){for(var R=0,P=T.length;R<P;R++){Q.push(T[R])}}else{for(var R=0;T[R];R++){Q.push(T[R])}}}return Q}}(function(){var Q=document.createElement("form"),R="script"+(new Date).getTime();Q.innerHTML="<input name='"+R+"'/>";var P=document.documentElement;P.insertBefore(Q,P.firstChild);if(!!document.getElementById(R)){G.find.ID=function(T,U){if(U.getElementById){var S=U.getElementById(T[1]);return S?S.id===T[1]||S.getAttributeNode&&S.getAttributeNode("id").nodeValue===T[1]?[S]:g:[]}};G.filter.ID=function(U,S){var T=U.getAttributeNode&&U.getAttributeNode("id");return U.nodeType===1&&T&&T.nodeValue===S}}P.removeChild(Q)})();(function(){var P=document.createElement("div");P.appendChild(document.createComment(""));if(P.getElementsByTagName("*").length>0){G.find.TAG=function(Q,U){var T=U.getElementsByTagName(Q[1]);if(Q[1]==="*"){var S=[];for(var R=0;T[R];R++){if(T[R].nodeType===1){S.push(T[R])}}T=S}return T}}P.innerHTML="<a href='#'></a>";if(P.firstChild.getAttribute("href")!=="#"){G.attrHandle.href=function(Q){return Q.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var P=E;E=function(T,S,Q,R){S=S||document;if(!R&&S.nodeType===9){try{return D(S.querySelectorAll(T),Q)}catch(U){}}return P(T,S,Q,R)};E.find=P.find;E.filter=P.filter;E.selectors=P.selectors;E.matches=P.matches})()}if(document.documentElement.getElementsByClassName){G.order.splice(1,0,"CLASS");G.find.CLASS=function(P,Q){return Q.getElementsByClassName(P[1])}}function L(Q,W,V,Z,X,Y){for(var T=0,R=Z.length;T<R;T++){var P=Z[T];if(P){P=P[Q];var U=false;while(P&&P.nodeType){var S=P[V];if(S){U=Z[S];break}if(P.nodeType===1&&!Y){P[V]=T}if(P.nodeName===W){U=P;break}P=P[Q]}Z[T]=U}}}function O(Q,V,U,Y,W,X){for(var S=0,R=Y.length;S<R;S++){var P=Y[S];if(P){P=P[Q];var T=false;while(P&&P.nodeType){if(P[U]){T=Y[P[U]];break}if(P.nodeType===1){if(!X){P[U]=S}if(typeof V!=="string"){if(P===V){T=true;break}}else{if(E.filter(V,[P]).length>0){T=P;break}}}P=P[Q]}Y[S]=T}}}var H=document.compareDocumentPosition?function(Q,P){return Q.compareDocumentPosition(P)&16}:function(Q,P){return Q!==P&&(Q.contains?Q.contains(P):true)};var M=function(P){return P.documentElement&&!P.body||P.tagName&&P.ownerDocument&&!P.ownerDocument.body};n.find=E;n.filter=E.filter;n.expr=E.selectors;n.expr[":"]=n.expr.filters;E.selectors.filters.hidden=function(P){return"hidden"===P.type||n.css(P,"display")==="none"||n.css(P,"visibility")==="hidden"};E.selectors.filters.visible=function(P){return"hidden"!==P.type&&n.css(P,"display")!=="none"&&n.css(P,"visibility")!=="hidden"};E.selectors.filters.animated=function(P){return n.grep(n.timers,function(Q){return P===Q.elem}).length};n.multiFilter=function(R,P,Q){if(Q){R=":not("+R+")"}return E.matches(R,P)};n.dir=function(R,Q){var P=[],S=R[Q];while(S&&S!=document){if(S.nodeType==1){P.push(S)}S=S[Q]}return P};n.nth=function(T,P,R,S){P=P||1;var Q=0;for(;T;T=T[R]){if(T.nodeType==1&&++Q==P){break}}return T};n.sibling=function(R,Q){var P=[];for(;R;R=R.nextSibling){if(R.nodeType==1&&R!=Q){P.push(R)}}return P};return;l.Sizzle=E})();n.event={add:function(H,E,G,J){if(H.nodeType==3||H.nodeType==8){return}if(H.setInterval&&H!=l){H=l}if(!G.guid){G.guid=this.guid++}if(J!==g){var F=G;G=this.proxy(F);G.data=J}var D=n.data(H,"events")||n.data(H,"events",{}),I=n.data(H,"handle")||n.data(H,"handle",function(){return typeof n!=="undefined"&&!n.event.triggered?n.event.handle.apply(arguments.callee.elem,arguments):g});I.elem=H;n.each(E.split(/\s+/),function(L,M){var N=M.split(".");M=N.shift();G.type=N.slice().sort().join(".");var K=D[M];if(n.event.specialAll[M]){n.event.specialAll[M].setup.call(H,J,N)}if(!K){K=D[M]={};if(!n.event.special[M]||n.event.special[M].setup.call(H,J,N)===false){if(H.addEventListener){H.addEventListener(M,I,false)}else{if(H.attachEvent){H.attachEvent("on"+M,I)}}}}K[G.guid]=G;n.event.global[M]=true});H=null},guid:1,global:{},remove:function(J,G,I){if(J.nodeType==3||J.nodeType==8){return}var F=n.data(J,"events"),E,D;if(F){if(G===g||(typeof G==="string"&&G.charAt(0)==".")){for(var H in F){this.remove(J,H+(G||""))}}else{if(G.type){I=G.handler;G=G.type}n.each(G.split(/\s+/),function(L,N){var P=N.split(".");N=P.shift();var M=RegExp("(^|\\.)"+P.slice().sort().join(".*\\.")+"(\\.|$)");if(F[N]){if(I){delete F[N][I.guid]}else{for(var O in F[N]){if(M.test(F[N][O].type)){delete F[N][O]}}}if(n.event.specialAll[N]){n.event.specialAll[N].teardown.call(J,P)}for(E in F[N]){break}if(!E){if(!n.event.special[N]||n.event.special[N].teardown.call(J,P)===false){if(J.removeEventListener){J.removeEventListener(N,n.data(J,"handle"),false)}else{if(J.detachEvent){J.detachEvent("on"+N,n.data(J,"handle"))}}}E=null;delete F[N]}}})}for(E in F){break}if(!E){var K=n.data(J,"handle");if(K){K.elem=null}n.removeData(J,"events");n.removeData(J,"handle")}}},trigger:function(H,J,G,D){var F=H.type||H;if(!D){H=typeof H==="object"?H[h]?H:n.extend(n.Event(F),H):n.Event(F);if(F.indexOf("!")>=0){H.type=F=F.slice(0,-1);H.exclusive=true}if(!G){H.stopPropagation();if(this.global[F]){n.each(n.cache,function(){if(this.events&&this.events[F]){n.event.trigger(H,J,this.handle.elem)}})}}if(!G||G.nodeType==3||G.nodeType==8){return g}H.result=g;H.target=G;J=n.makeArray(J);J.unshift(H)}H.currentTarget=G;var I=n.data(G,"handle");if(I){I.apply(G,J)}if((!G[F]||(n.nodeName(G,"a")&&F=="click"))&&G["on"+F]&&G["on"+F].apply(G,J)===false){H.result=false}if(!D&&G[F]&&!H.isDefaultPrevented()&&!(n.nodeName(G,"a")&&F=="click")){this.triggered=true;try{G[F]()}catch(K){}}this.triggered=false;if(!H.isPropagationStopped()){var E=G.parentNode||G.ownerDocument;if(E){n.event.trigger(H,J,E,true)}}},handle:function(J){var I,D;J=arguments[0]=n.event.fix(J||l.event);var K=J.type.split(".");J.type=K.shift();I=!K.length&&!J.exclusive;var H=RegExp("(^|\\.)"+K.slice().sort().join(".*\\.")+"(\\.|$)");D=(n.data(this,"events")||{})[J.type];for(var F in D){var G=D[F];if(I||H.test(G.type)){J.handler=G;J.data=G.data;var E=G.apply(this,arguments);if(E!==g){J.result=E;if(E===false){J.preventDefault();J.stopPropagation()}}if(J.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(G){if(G[h]){return G}var E=G;G=n.Event(E);for(var F=this.props.length,I;F;){I=this.props[--F];G[I]=E[I]}if(!G.target){G.target=G.srcElement||document}if(G.target.nodeType==3){G.target=G.target.parentNode}if(!G.relatedTarget&&G.fromElement){G.relatedTarget=G.fromElement==G.target?G.toElement:G.fromElement}if(G.pageX==null&&G.clientX!=null){var H=document.documentElement,D=document.body;G.pageX=G.clientX+(H&&H.scrollLeft||D&&D.scrollLeft||0)-(H.clientLeft||0);G.pageY=G.clientY+(H&&H.scrollTop||D&&D.scrollTop||0)-(H.clientTop||0)}if(!G.which&&((G.charCode||G.charCode===0)?G.charCode:G.keyCode)){G.which=G.charCode||G.keyCode}if(!G.metaKey&&G.ctrlKey){G.metaKey=G.ctrlKey}if(!G.which&&G.button){G.which=(G.button&1?1:(G.button&2?3:(G.button&4?2:0)))}return G},proxy:function(E,D){D=D||function(){return E.apply(this,arguments)};D.guid=E.guid=E.guid||D.guid||this.guid++;return D},special:{ready:{setup:A,teardown:function(){}}},specialAll:{live:{setup:function(D,E){n.event.add(this,E[0],c)},teardown:function(F){if(F.length){var D=0,E=RegExp("(^|\\.)"+F[0]+"(\\.|$)");n.each((n.data(this,"events").live||{}),function(){if(E.test(this.type)){D++}});if(D<1){n.event.remove(this,F[0],c)}}}}}};n.Event=function(D){if(!this.preventDefault){return new n.Event(D)}if(D&&D.type){this.originalEvent=D;this.type=D.type;this.timeStamp=D.timeStamp}else{this.type=D}if(!this.timeStamp){this.timeStamp=e()}this[h]=true};function k(){return false}function t(){return true}n.Event.prototype={preventDefault:function(){this.isDefaultPrevented=t;var D=this.originalEvent;if(!D){return}if(D.preventDefault){D.preventDefault()}D.returnValue=false},stopPropagation:function(){this.isPropagationStopped=t;var D=this.originalEvent;if(!D){return}if(D.stopPropagation){D.stopPropagation()}D.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=t;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(E){var D=E.relatedTarget;while(D&&D!=this){try{D=D.parentNode}catch(F){D=this}}if(D!=this){E.type=E.data;n.event.handle.apply(this,arguments)}};n.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(E,D){n.event.special[D]={setup:function(){n.event.add(this,E,a,D)},teardown:function(){n.event.remove(this,E,a)}}});n.fn.extend({bind:function(E,F,D){return E=="unload"?this.one(E,F,D):this.each(function(){n.event.add(this,E,D||F,D&&F)})},one:function(F,G,E){var D=n.event.proxy(E||G,function(H){n(this).unbind(H,D);return(E||G).apply(this,arguments)});return this.each(function(){n.event.add(this,F,D,E&&G)})},unbind:function(E,D){return this.each(function(){n.event.remove(this,E,D)})},trigger:function(D,E){return this.each(function(){n.event.trigger(D,E,this)})},triggerHandler:function(D,F){if(this[0]){var E=n.Event(D);E.preventDefault();E.stopPropagation();n.event.trigger(E,F,this[0]);return E.result}},toggle:function(F){var D=arguments,E=1;while(E<D.length){n.event.proxy(F,D[E++])}return this.click(n.event.proxy(F,function(G){this.lastToggle=(this.lastToggle||0)%E;G.preventDefault();return D[this.lastToggle++].apply(this,arguments)||false}))},hover:function(D,E){return this.mouseenter(D).mouseleave(E)},ready:function(D){A();if(n.isReady){D.call(document,n)}else{n.readyList.push(D)}return this},live:function(F,E){var D=n.event.proxy(E);D.guid+=this.selector+F;n(document).bind(i(F,this.selector),this.selector,D);return this},die:function(E,D){n(document).unbind(i(E,this.selector),D?{guid:D.guid+this.selector+E}:null);return this}});function c(G){var D=RegExp("(^|\\.)"+G.type+"(\\.|$)"),F=true,E=[];n.each(n.data(this,"events").live||[],function(H,I){if(D.test(I.type)){var J=n(G.target).closest(I.data)[0];if(J){E.push({elem:J,fn:I})}}});n.each(E,function(){if(!G.isImmediatePropagationStopped()&&this.fn.call(this.elem,G,this.fn.data)===false){F=false}});return F}function i(E,D){return["live",E,D.replace(/\./g,"`").replace(/ /g,"|")].join(".")}n.extend({isReady:false,readyList:[],ready:function(){if(!n.isReady){n.isReady=true;if(n.readyList){n.each(n.readyList,function(){this.call(document,n)});n.readyList=null}n(document).triggerHandler("ready")}}});var w=false;function A(){if(w){return}w=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);n.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);n.ready()}});if(document.documentElement.doScroll&&!l.frameElement){(function(){if(n.isReady){return}try{document.documentElement.doScroll("left")}catch(D){setTimeout(arguments.callee,0);return}n.ready()})()}}}n.event.add(l,"load",n.ready)}n.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(E,D){n.fn[D]=function(F){return F?this.bind(D,F):this.trigger(D)}});n(l).bind("unload",function(){for(var D in n.cache){if(D!=1&&n.cache[D].handle){n.event.remove(n.cache[D].handle.elem)}}});(function(){n.support={};var E=document.documentElement,F=document.createElement("script"),J=document.createElement("div"),I="script"+(new Date).getTime();J.style.display="none";J.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var G=J.getElementsByTagName("*"),D=J.getElementsByTagName("a")[0];if(!G||!G.length||!D){return}n.support={leadingWhitespace:J.firstChild.nodeType==3,tbody:!J.getElementsByTagName("tbody").length,objectAll:!!J.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!J.getElementsByTagName("link").length,style:/red/.test(D.getAttribute("style")),hrefNormalized:D.getAttribute("href")==="/a",opacity:D.style.opacity==="0.5",cssFloat:!!D.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};F.type="text/javascript";try{F.appendChild(document.createTextNode("window."+I+"=1;"))}catch(H){}E.insertBefore(F,E.firstChild);if(l[I]){n.support.scriptEval=true;delete l[I]}E.removeChild(F);if(J.attachEvent&&J.fireEvent){J.attachEvent("onclick",function(){n.support.noCloneEvent=false;J.detachEvent("onclick",arguments.callee)});J.cloneNode(true).fireEvent("onclick")}n(function(){var K=document.createElement("div");K.style.width="1px";K.style.paddingLeft="1px";document.body.appendChild(K);n.boxModel=n.support.boxModel=K.offsetWidth===2;document.body.removeChild(K)})})();var v=n.support.cssFloat?"cssFloat":"styleFloat";n.props={"for":"htmlFor","class":"className","float":v,cssFloat:v,styleFloat:v,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};n.fn.extend({_load:n.fn.load,load:function(F,I,J){if(typeof F!=="string"){return this._load(F)}var H=F.indexOf(" ");if(H>=0){var D=F.slice(H,F.length);F=F.slice(0,H)}var G="GET";if(I){if(n.isFunction(I)){J=I;I=null}else{if(typeof I==="object"){I=n.param(I);G="POST"}}}var E=this;n.ajax({url:F,type:G,dataType:"html",data:I,complete:function(L,K){if(K=="success"||K=="notmodified"){E.html(D?n("<div/>").append(L.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(D):L.responseText)}if(J){E.each(J,[L.responseText,K,L])}}});return this},serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?n.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type))}).map(function(D,E){var F=n(this).val();return F==null?null:n.isArray(F)?n.map(F,function(H,G){return{name:E.name,value:H}}):{name:E.name,value:F}}).get()}});n.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(D,E){n.fn[E]=function(F){return this.bind(E,F)}});var q=e();n.extend({get:function(D,F,G,E){if(n.isFunction(F)){G=F;F=null}return n.ajax({type:"GET",url:D,data:F,success:G,dataType:E})},getScript:function(D,E){return n.get(D,null,E,"script")},getJSON:function(D,E,F){return n.get(D,E,F,"json")},post:function(D,F,G,E){if(n.isFunction(F)){G=F;F={}}return n.ajax({type:"POST",url:D,data:F,success:G,dataType:E})},ajaxSetup:function(D){n.extend(n.ajaxSettings,D)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(L){L=n.extend(true,L,n.extend(true,{},n.ajaxSettings,L));var V,E=/=\?(&|$)/g,Q,U,F=L.type.toUpperCase();if(L.data&&L.processData&&typeof L.data!=="string"){L.data=n.param(L.data)}if(L.dataType=="jsonp"){if(F=="GET"){if(!L.url.match(E)){L.url+=(L.url.match(/\?/)?"&":"?")+(L.jsonp||"callback")+"=?"}}else{if(!L.data||!L.data.match(E)){L.data=(L.data?L.data+"&":"")+(L.jsonp||"callback")+"=?"}}L.dataType="json"}if(L.dataType=="json"&&(L.data&&L.data.match(E)||L.url.match(E))){V="jsonp"+q++;if(L.data){L.data=(L.data+"").replace(E,"="+V+"$1")}L.url=L.url.replace(E,"="+V+"$1");L.dataType="script";l[V]=function(W){U=W;H();K();l[V]=g;try{delete l[V]}catch(X){}if(G){G.removeChild(S)}}}if(L.dataType=="script"&&L.cache==null){L.cache=false}if(L.cache===false&&F=="GET"){var D=e();var T=L.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+D+"$2");L.url=T+((T==L.url)?(L.url.match(/\?/)?"&":"?")+"_="+D:"")}if(L.data&&F=="GET"){L.url+=(L.url.match(/\?/)?"&":"?")+L.data;L.data=null}if(L.global&&!n.active++){n.event.trigger("ajaxStart")}var P=/^(\w+:)?\/\/([^\/?#]+)/.exec(L.url);if(L.dataType=="script"&&F=="GET"&&P&&(P[1]&&P[1]!=location.protocol||P[2]!=location.host)){var G=document.getElementsByTagName("head")[0];var S=document.createElement("script");S.src=L.url;if(L.scriptCharset){S.charset=L.scriptCharset}if(!V){var N=false;S.onload=S.onreadystatechange=function(){if(!N&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){N=true;H();K();G.removeChild(S)}}}G.appendChild(S);return g}var J=false;var I=L.xhr();if(L.username){I.open(F,L.url,L.async,L.username,L.password)}else{I.open(F,L.url,L.async)}try{if(L.data){I.setRequestHeader("Content-Type",L.contentType)}if(L.ifModified){I.setRequestHeader("If-Modified-Since",n.lastModified[L.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}I.setRequestHeader("X-Requested-With","XMLHttpRequest");I.setRequestHeader("Accept",L.dataType&&L.accepts[L.dataType]?L.accepts[L.dataType]+", */*":L.accepts._default)}catch(R){}if(L.beforeSend&&L.beforeSend(I,L)===false){if(L.global&&!--n.active){n.event.trigger("ajaxStop")}I.abort();return false}if(L.global){n.event.trigger("ajaxSend",[I,L])}var M=function(W){if(I.readyState==0){if(O){clearInterval(O);O=null;if(L.global&&!--n.active){n.event.trigger("ajaxStop")}}}else{if(!J&&I&&(I.readyState==4||W=="timeout")){J=true;if(O){clearInterval(O);O=null}Q=W=="timeout"?"timeout":!n.httpSuccess(I)?"error":L.ifModified&&n.httpNotModified(I,L.url)?"notmodified":"success";if(Q=="success"){try{U=n.httpData(I,L.dataType,L)}catch(Y){Q="parsererror"}}if(Q=="success"){var X;try{X=I.getResponseHeader("Last-Modified")}catch(Y){}if(L.ifModified&&X){n.lastModified[L.url]=X}if(!V){H()}}else{n.handleError(L,I,Q)}K();if(L.async){I=null}}}};if(L.async){var O=setInterval(M,13);if(L.timeout>0){setTimeout(function(){if(I){if(!J){M("timeout")}if(I){I.abort()}}},L.timeout)}}try{I.send(L.data)}catch(R){n.handleError(L,I,null,R)}if(!L.async){M()}function H(){if(L.success){L.success(U,Q)}if(L.global){n.event.trigger("ajaxSuccess",[I,L])}}function K(){if(L.complete){L.complete(I,Q)}if(L.global){n.event.trigger("ajaxComplete",[I,L])}if(L.global&&!--n.active){n.event.trigger("ajaxStop")}}return I},handleError:function(E,G,D,F){if(E.error){E.error(G,D,F)}if(E.global){n.event.trigger("ajaxError",[G,E,F])}},active:0,httpSuccess:function(E){try{return!E.status&&location.protocol=="file:"||(E.status>=200&&E.status<300)||E.status==304||E.status==1223}catch(D){}return false},httpNotModified:function(F,D){try{var G=F.getResponseHeader("Last-Modified");return F.status==304||G==n.lastModified[D]}catch(E){}return false},httpData:function(I,G,F){var E=I.getResponseHeader("content-type"),D=G=="xml"||!G&&E&&E.indexOf("xml")>=0,H=D?I.responseXML:I.responseText;if(D&&H.documentElement.tagName=="parsererror"){throw"parsererror"}if(F&&F.dataFilter){H=F.dataFilter(H,G)}if(typeof H==="string"){if(G=="script"){n.globalEval(H)}if(G=="json"){H=l["eval"]("("+H+")")}}return H},param:function(D){var F=[];function G(H,I){F[F.length]=encodeURIComponent(H)+"="+encodeURIComponent(I)}if(n.isArray(D)||D.jquery){n.each(D,function(){G(this.name,this.value)})}else{for(var E in D){if(n.isArray(D[E])){n.each(D[E],function(){G(E,this)})}else{G(E,n.isFunction(D[E])?D[E]():D[E])}}}return F.join("&").replace(/%20/g,"+")}});var m={},d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function s(E,D){var F={};n.each(d.concat.apply([],d.slice(0,D)),function(){F[this]=E});return F}n.fn.extend({show:function(I,K){if(I){return this.animate(s("show",3),I,K)}else{for(var G=0,E=this.length;G<E;G++){var D=n.data(this[G],"olddisplay");this[G].style.display=D||"";if(n.css(this[G],"display")==="none"){var F=this[G].tagName,J;if(m[F]){J=m[F]}else{var H=n("<"+F+" />").appendTo("body");J=H.css("display");if(J==="none"){J="block"}H.remove();m[F]=J}this[G].style.display=n.data(this[G],"olddisplay",J)}}return this}},hide:function(G,H){if(G){return this.animate(s("hide",3),G,H)}else{for(var F=0,E=this.length;F<E;F++){var D=n.data(this[F],"olddisplay");if(!D&&D!=="none"){n.data(this[F],"olddisplay",n.css(this[F],"display"))}this[F].style.display="none"}return this}},_toggle:n.fn.toggle,toggle:function(F,E){var D=typeof F==="boolean";return n.isFunction(F)&&n.isFunction(E)?this._toggle.apply(this,arguments):F==null||D?this.each(function(){var G=D?F:n(this).is(":hidden");n(this)[G?"show":"hide"]()}):this.animate(s("toggle",3),F,E)},fadeTo:function(D,F,E){return this.animate({opacity:F},D,E)},animate:function(H,E,G,F){var D=n.speed(E,G,F);return this[D.queue===false?"each":"queue"](function(){var J=n.extend({},D),L,K=this.nodeType==1&&n(this).is(":hidden"),I=this;for(L in H){if(H[L]=="hide"&&K||H[L]=="show"&&!K){return J.complete.call(this)}if((L=="height"||L=="width")&&this.style){J.display=n.css(this,"display");J.overflow=this.style.overflow}}if(J.overflow!=null){this.style.overflow="hidden"}J.curAnim=n.extend({},H);n.each(H,function(N,R){var Q=new n.fx(I,J,N);if(/toggle|show|hide/.test(R)){Q[R=="toggle"?K?"show":"hide":R](H)}else{var P=R.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),S=Q.cur(true)||0;if(P){var M=parseFloat(P[2]),O=P[3]||"px";if(O!="px"){I.style[N]=(M||1)+O;S=((M||1)/Q.cur(true))*S;I.style[N]=S+O}if(P[1]){M=((P[1]=="-="?-1:1)*M)+S}Q.custom(S,M,O)}else{Q.custom(S,R,"")}}});return true})},stop:function(E,D){var F=n.timers;if(E){this.queue([])}this.each(function(){for(var G=F.length-1;G>=0;G--){if(F[G].elem==this){if(D){F[G](true)}F.splice(G,1)}}});if(!D){this.dequeue()}return this}});n.each({slideDown:s("show",1),slideUp:s("hide",1),slideToggle:s("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(D,E){n.fn[D]=function(F,G){return this.animate(E,F,G)}});n.extend({speed:function(F,G,E){var D=typeof F==="object"?F:{complete:E||!E&&G||n.isFunction(F)&&F,duration:F,easing:E&&G||G&&!n.isFunction(G)&&G};D.duration=n.fx.off?0:typeof D.duration==="number"?D.duration:n.fx.speeds[D.duration]||n.fx.speeds._default;D.old=D.complete;D.complete=function(){if(D.queue!==false){n(this).dequeue()}if(n.isFunction(D.old)){D.old.call(this)}};return D},easing:{linear:function(F,G,D,E){return D+E*F},swing:function(F,G,D,E){return((-Math.cos(F*Math.PI)/2)+0.5)*E+D}},timers:[],timerId:null,fx:function(E,D,F){this.options=D;this.elem=E;this.prop=F;if(!D.orig){D.orig={}}}});n.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(n.fx.step[this.prop]||n.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(E){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var D=parseFloat(n.css(this.elem,this.prop,E));return D&&D>-10000?D:parseFloat(n.curCSS(this.elem,this.prop))||0},custom:function(H,G,F){this.startTime=e();this.start=H;this.end=G;this.unit=F||this.unit||"px";this.now=this.start;this.pos=this.state=0;var D=this;function E(I){return D.step(I)}E.elem=this.elem;n.timers.push(E);if(E()&&n.timerId==null){n.timerId=setInterval(function(){var J=n.timers;for(var I=0;I<J.length;I++){if(!J[I]()){J.splice(I--,1)}}if(!J.length){clearInterval(n.timerId);n.timerId=null}},13)}},show:function(){this.options.orig[this.prop]=n.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());n(this.elem).show()},hide:function(){this.options.orig[this.prop]=n.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(G){var F=e();if(G||F>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var D=true;for(var E in this.options.curAnim){if(this.options.curAnim[E]!==true){D=false}}if(D){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(n.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){n(this.elem).hide()}if(this.options.hide||this.options.show){for(var H in this.options.curAnim){n.attr(this.elem.style,H,this.options.orig[H])}}}if(D){this.options.complete.call(this.elem)}return false}else{var I=F-this.startTime;this.state=I/this.options.duration;this.pos=n.easing[this.options.easing||(n.easing.swing?"swing":"linear")](this.state,I,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};n.extend(n.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(D){n.attr(D.elem.style,"opacity",D.now)},_default:function(D){if(D.elem.style&&D.elem.style[D.prop]!=null){D.elem.style[D.prop]=D.now+D.unit}else{D.elem[D.prop]=D.now}}}});if(document.documentElement.getBoundingClientRect){n.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return n.offset.bodyOffset(this[0])}var F=this[0].getBoundingClientRect(),I=this[0].ownerDocument,E=I.body,D=I.documentElement,K=D.clientTop||E.clientTop||0,J=D.clientLeft||E.clientLeft||0,H=F.top+(self.pageYOffset||n.boxModel&&D.scrollTop||E.scrollTop)-K,G=F.left+(self.pageXOffset||n.boxModel&&D.scrollLeft||E.scrollLeft)-J;return{top:H,left:G}}}else{n.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return n.offset.bodyOffset(this[0])}n.offset.initialized||n.offset.initialize();var I=this[0],F=I.offsetParent,E=I,N=I.ownerDocument,L,G=N.documentElement,J=N.body,K=N.defaultView,D=K.getComputedStyle(I,null),M=I.offsetTop,H=I.offsetLeft;while((I=I.parentNode)&&I!==J&&I!==G){L=K.getComputedStyle(I,null);M-=I.scrollTop,H-=I.scrollLeft;if(I===F){M+=I.offsetTop,H+=I.offsetLeft;if(n.offset.doesNotAddBorder&&!(n.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(I.tagName))){M+=parseInt(L.borderTopWidth,10)||0,H+=parseInt(L.borderLeftWidth,10)||0}E=F,F=I.offsetParent}if(n.offset.subtractsBorderForOverflowNotVisible&&L.overflow!=="visible"){M+=parseInt(L.borderTopWidth,10)||0,H+=parseInt(L.borderLeftWidth,10)||0}D=L}if(D.position==="relative"||D.position==="static"){M+=J.offsetTop,H+=J.offsetLeft}if(D.position==="fixed"){M+=Math.max(G.scrollTop,J.scrollTop),H+=Math.max(G.scrollLeft,J.scrollLeft)}return{top:M,left:H}}}n.offset={initialize:function(){if(this.initialized){return}var K=document.body,E=document.createElement("div"),G,F,M,H,L,D,I=K.style.marginTop,J='<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>';L={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(D in L){E.style[D]=L[D]}E.innerHTML=J;K.insertBefore(E,K.firstChild);G=E.firstChild,F=G.firstChild,H=G.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(F.offsetTop!==5);this.doesAddBorderForTableAndCells=(H.offsetTop===5);G.style.overflow="hidden",G.style.position="relative";this.subtractsBorderForOverflowNotVisible=(F.offsetTop===-5);K.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(K.offsetTop===0);K.style.marginTop=I;K.removeChild(E);this.initialized=true},bodyOffset:function(D){n.offset.initialized||n.offset.initialize();var F=D.offsetTop,E=D.offsetLeft;if(n.offset.doesNotIncludeMarginInBodyOffset){F+=parseInt(n.curCSS(D,"marginTop",true),10)||0,E+=parseInt(n.curCSS(D,"marginLeft",true),10)||0}return{top:F,left:E}}};n.fn.extend({position:function(){var H=0,G=0,E;if(this[0]){var F=this.offsetParent(),I=this.offset(),D=/^body|html$/i.test(F[0].tagName)?{top:0,left:0}:F.offset();I.top-=j(this,"marginTop");I.left-=j(this,"marginLeft");D.top+=j(F,"borderTopWidth");D.left+=j(F,"borderLeftWidth");E={top:I.top-D.top,left:I.left-D.left}}return E},offsetParent:function(){var D=this[0].offsetParent||document.body;while(D&&(!/^body|html$/i.test(D.tagName)&&n.css(D,"position")=="static")){D=D.offsetParent}return n(D)}});n.each(["Left","Top"],function(E,D){var F="scroll"+D;n.fn[F]=function(G){if(!this[0]){return null}return G!==g?this.each(function(){this==l||this==document?l.scrollTo(!E?G:n(l).scrollLeft(),E?G:n(l).scrollTop()):this[F]=G}):this[0]==l||this[0]==document?self[E?"pageYOffset":"pageXOffset"]||n.boxModel&&document.documentElement[F]||document.body[F]:this[0][F]}});n.each(["Height","Width"],function(G,E){var D=G?"Left":"Top",F=G?"Right":"Bottom";n.fn["inner"+E]=function(){return this[E.toLowerCase()]()+j(this,"padding"+D)+j(this,"padding"+F)};n.fn["outer"+E]=function(I){return this["inner"+E]()+j(this,"border"+D+"Width")+j(this,"border"+F+"Width")+(I?j(this,"margin"+D)+j(this,"margin"+F):0)};var H=E.toLowerCase();n.fn[H]=function(I){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+E]||document.body["client"+E]:this[0]==document?Math.max(document.documentElement["client"+E],document.body["scroll"+E],document.documentElement["scroll"+E],document.body["offset"+E],document.documentElement["offset"+E]):I===g?(this.length?n.css(this[0],H):null):this.css(H,typeof I==="string"?I:I+"px")}})})();jQuery.cookie=function(name,value,options){if(typeof value!='undefined'){options=options||{};if(value===null){value='';options.expires=-1;}
var expires='';if(options.expires&&(typeof options.expires=='number'||options.expires.toUTCString)){var date;if(typeof options.expires=='number'){date=new Date();date.setTime(date.getTime()+(options.expires*24*60*60*1000));}else{date=options.expires;}
expires='; expires='+date.toUTCString();}
var path=options.path?'; path='+(options.path):'';var domain=options.domain?'; domain='+(options.domain):'';var secure=options.secure?'; secure':'';document.cookie=[name,'=',encodeURIComponent(value),expires,path,domain,secure].join('');}else{var cookieValue=null;if(document.cookie&&document.cookie!=''){var cookies=document.cookie.split(';');for(var i=0;i<cookies.length;i++){var cookie=jQuery.trim(cookies[i]);if(cookie.substring(0,name.length+1)==(name+'=')){cookieValue=decodeURIComponent(cookie.substring(name.length+1));break;}}}
return cookieValue;}};;;(function($){$.cluetip={version:'1.0.3'};var $cluetip,$cluetipInner,$cluetipOuter,$cluetipTitle,$cluetipArrows,$cluetipWait,$dropShadow,imgCount;$.fn.cluetip=function(js,options){if(typeof js=='object'){options=js;js=null;}
if(js=='destroy'){return this.unbind('.cluetip');}
return this.each(function(index){var link=this,$this=$(this);var opts=$.extend(true,{},$.fn.cluetip.defaults,options||{},$.metadata?$this.metadata():$.meta?$this.data():{});var cluetipContents=false;var cluezIndex=+opts.cluezIndex;$this.data('thisInfo',{title:link.title,zIndex:cluezIndex});var isActive=false,closeOnDelay=0;if(!$('#cluetip').length){$(['<div id="cluetip">','<div id="cluetip-outer">','<h3 id="cluetip-title"></h3>','<div id="cluetip-inner"></div>','</div>','<div id="cluetip-extra"></div>','<div id="cluetip-arrows" class="cluetip-arrows"></div>','</div>'].join(''))
[insertionType](insertionElement).hide();$cluetip=$('#cluetip').css({position:'absolute'});$cluetipOuter=$('#cluetip-outer').css({position:'relative',zIndex:cluezIndex});$cluetipInner=$('#cluetip-inner');$cluetipTitle=$('#cluetip-title');$cluetipArrows=$('#cluetip-arrows');$cluetipWait=$('<div id="cluetip-waitimage"></div>').css({position:'absolute'}).insertBefore($cluetip).hide();}
var dropShadowSteps=(opts.dropShadow)?+opts.dropShadowSteps:0;if(!$dropShadow){$dropShadow=$([]);for(var i=0;i<dropShadowSteps;i++){$dropShadow=$dropShadow.add($('<div></div>').css({zIndex:cluezIndex-1,opacity:.1,top:1+i,left:1+i}));};$dropShadow.css({position:'absolute',backgroundColor:'#000'}).prependTo($cluetip);}
var tipAttribute=$this.attr(opts.attribute),ctClass=opts.cluetipClass;if(!tipAttribute&&!opts.splitTitle&&!js)return true;if(opts.local&&opts.localPrefix){tipAttribute=opts.localPrefix+tipAttribute;}
if(opts.local&&opts.hideLocal){$(tipAttribute+':first').hide();}
var tOffset=parseInt(opts.topOffset,10),lOffset=parseInt(opts.leftOffset,10);var tipHeight,wHeight,defHeight=isNaN(parseInt(opts.height,10))?'auto':(/\D/g).test(opts.height)?opts.height:opts.height+'px';var sTop,linkTop,posY,tipY,mouseY,baseline;var tipInnerWidth=parseInt(opts.width,10)||275,tipWidth=tipInnerWidth+(parseInt($cluetip.css('paddingLeft'),10)||0)+(parseInt($cluetip.css('paddingRight'),10)||0)+dropShadowSteps,linkWidth=this.offsetWidth,linkLeft,posX,tipX,mouseX,winWidth;var tipParts;var tipTitle=(opts.attribute!='title')?$this.attr(opts.titleAttribute):'';if(opts.splitTitle){if(tipTitle==undefined){tipTitle='';}
tipParts=tipTitle.split(opts.splitTitle);tipTitle=tipParts.shift();}
if(opts.escapeTitle){tipTitle=tipTitle.replace(/&/g,'&amp;').replace(/>/g,'&gt;').replace(/</g,'&lt;');}
var localContent;var activate=function(event){if(!opts.onActivate($this)){return false;}
isActive=true;$cluetip.removeClass().css({width:tipInnerWidth});if(tipAttribute==$this.attr('href')){$this.css('cursor',opts.cursor);}
if(opts.hoverClass){$this.addClass(opts.hoverClass);}
linkTop=posY=$this.offset().top;linkLeft=$this.offset().left;mouseX=event.pageX;mouseY=event.pageY;if(link.tagName.toLowerCase()!='area'){sTop=$(document).scrollTop();winWidth=$(window).width();}
if(opts.positionBy=='fixed'){posX=linkWidth+linkLeft+lOffset;$cluetip.css({left:posX});}else{posX=(linkWidth>linkLeft&&linkLeft>tipWidth)||linkLeft+linkWidth+tipWidth+lOffset>winWidth?linkLeft-tipWidth-lOffset:linkWidth+linkLeft+lOffset;if(link.tagName.toLowerCase()=='area'||opts.positionBy=='mouse'||linkWidth+tipWidth>winWidth){if(mouseX+20+tipWidth>winWidth){$cluetip.addClass(' cluetip-'+ctClass);posX=(mouseX-tipWidth-lOffset)>=0?mouseX-tipWidth-lOffset-parseInt($cluetip.css('marginLeft'),10)+parseInt($cluetipInner.css('marginRight'),10):mouseX-(tipWidth/2);}else{posX=mouseX+lOffset;}}
var pY=posX<0?event.pageY+tOffset:event.pageY;$cluetip.css({left:(posX>0&&opts.positionBy!='bottomTop')?posX:(mouseX+(tipWidth/2)>winWidth)?winWidth/2-tipWidth/2:Math.max(mouseX-(tipWidth/2),0),zIndex:$this.data('thisInfo').zIndex});$cluetipArrows.css({zIndex:$this.data('thisInfo').zIndex+1});}
wHeight=$(window).height();if(js){if(typeof js=='function'){js=js(link);}
$cluetipInner.html(js);cluetipShow(pY);}
else if(tipParts){var tpl=tipParts.length;$cluetipInner.html(tipParts[0]);if(tpl>1){for(var i=1;i<tpl;i++){$cluetipInner.append('<div class="split-body">'+tipParts[i]+'</div>');}}
cluetipShow(pY);}
else if(!opts.local&&tipAttribute.indexOf('#')!=0){if(/\.(jpe?g|tiff?|gif|png)$/i.test(tipAttribute)){$cluetipInner.html('<img src="'+tipAttribute+'" alt="'+tipTitle+'" />');cluetipShow(pY);}else if(cluetipContents&&opts.ajaxCache){$cluetipInner.html(cluetipContents);cluetipShow(pY);}else{var optionBeforeSend=opts.ajaxSettings.beforeSend,optionError=opts.ajaxSettings.error,optionSuccess=opts.ajaxSettings.success,optionComplete=opts.ajaxSettings.complete;var ajaxSettings={cache:false,url:tipAttribute,beforeSend:function(xhr){if(optionBeforeSend){optionBeforeSend.call(link,xhr,$cluetip,$cluetipInner);}
$cluetipOuter.children().empty();if(opts.waitImage){$cluetipWait.css({top:mouseY+20,left:mouseX+20,zIndex:$this.data('thisInfo').zIndex-1}).show();}},error:function(xhr,textStatus){if(isActive){if(optionError){optionError.call(link,xhr,textStatus,$cluetip,$cluetipInner);}else{$cluetipInner.html('<i>sorry, the contents could not be loaded</i>');}}},success:function(data,textStatus){cluetipContents=opts.ajaxProcess.call(link,data);if(isActive){if(optionSuccess){optionSuccess.call(link,data,textStatus,$cluetip,$cluetipInner);}
$cluetipInner.html(cluetipContents);}},complete:function(xhr,textStatus){if(optionComplete){optionComplete.call(link,xhr,textStatus,$cluetip,$cluetipInner);}
imgCount=$('#cluetip-inner img').length;if(imgCount&&!$.browser.opera){$('#cluetip-inner img').bind('load error',function(){imgCount--;if(imgCount<1){$cluetipWait.hide();if(isActive)cluetipShow(pY);}});}else{$cluetipWait.hide();if(isActive){cluetipShow(pY);}}}};var ajaxMergedSettings=$.extend(true,{},opts.ajaxSettings,ajaxSettings);$.ajax(ajaxMergedSettings);}}else if(opts.local){var $localContent=$(tipAttribute+(/#\S+$/.test(tipAttribute)?'':':eq('+index+')')).clone(true).show();$cluetipInner.html($localContent);cluetipShow(pY);}};var cluetipShow=function(bpY){$cluetip.addClass('cluetip-'+ctClass);if(opts.truncate){var $truncloaded=$cluetipInner.text().slice(0,opts.truncate)+'...';$cluetipInner.html($truncloaded);}
function doNothing(){};tipTitle?$cluetipTitle.show().html(tipTitle):(opts.showTitle)?$cluetipTitle.show().html('&nbsp;'):$cluetipTitle.hide();if(opts.sticky){var $closeLink=$('<div id="cluetip-close"><a href="#">'+opts.closeText+'</a></div>');(opts.closePosition=='bottom')?$closeLink.appendTo($cluetipInner):(opts.closePosition=='title')?$closeLink.prependTo($cluetipTitle):$closeLink.prependTo($cluetipInner);$closeLink.bind('click.cluetip',function(){cluetipClose();return false;});if(opts.mouseOutClose){if($.fn.hoverIntent&&opts.hoverIntent){$cluetip.hoverIntent({over:doNothing,timeout:opts.hoverIntent.timeout,out:function(){$closeLink.trigger('click.cluetip');}});}else{$cluetip.hover(doNothing,function(){$closeLink.trigger('click.cluetip');});}}else{$cluetip.unbind('mouseout');}}
var direction='';$cluetipOuter.css({zIndex:$this.data('thisInfo').zIndex,overflow:defHeight=='auto'?'visible':'auto',height:defHeight});tipHeight=defHeight=='auto'?Math.max($cluetip.outerHeight(),$cluetip.height()):parseInt(defHeight,10);tipY=posY;baseline=sTop+wHeight;if(opts.positionBy=='fixed'){tipY=posY-opts.dropShadowSteps+tOffset;}else if((posX<mouseX&&Math.max(posX,0)+tipWidth>mouseX)||opts.positionBy=='bottomTop'){if(posY+tipHeight+tOffset>baseline&&mouseY-sTop>tipHeight+tOffset){tipY=mouseY-tipHeight-tOffset;direction='top';}else{tipY=mouseY+tOffset;direction='bottom';}}else if(posY+tipHeight+tOffset>baseline){tipY=(tipHeight>=wHeight)?sTop:baseline-tipHeight-tOffset;}else if($this.css('display')=='block'||link.tagName.toLowerCase()=='area'||opts.positionBy=="mouse"){tipY=bpY-tOffset;}else{tipY=posY-opts.dropShadowSteps;}
if(direction==''){posX<linkLeft?direction='left':direction='right';}
$cluetip.css({top:tipY+'px'}).removeClass().addClass('clue-'+direction+'-'+ctClass).addClass(' cluetip-'+ctClass);if(opts.arrows){var bgY=(posY-tipY-opts.dropShadowSteps);$cluetipArrows.css({top:(/(left|right)/.test(direction)&&posX>=0&&bgY>0)?bgY+'px':/(left|right)/.test(direction)?0:''}).show();}else{$cluetipArrows.hide();}
$dropShadow.hide();$cluetip.hide()[opts.fx.open](opts.fx.open!='show'&&opts.fx.openSpeed);if(opts.dropShadow){$dropShadow.css({height:tipHeight,width:tipInnerWidth,zIndex:$this.data('thisInfo').zIndex-1}).show();}
if($.fn.bgiframe){$cluetip.bgiframe();}
if(opts.delayedClose>0){closeOnDelay=setTimeout(cluetipClose,opts.delayedClose);}
opts.onShow.call(link,$cluetip,$cluetipInner);};var inactivate=function(event){isActive=false;$cluetipWait.hide();if(!opts.sticky||(/click|toggle/).test(opts.activation)){cluetipClose();clearTimeout(closeOnDelay);};if(opts.hoverClass){$this.removeClass(opts.hoverClass);}};var cluetipClose=function(){$cluetipOuter.parent().hide().removeClass();opts.onHide.call(link,$cluetip,$cluetipInner);$this.removeClass('cluetip-clicked');if(tipTitle){$this.attr(opts.titleAttribute,tipTitle);}
$this.css('cursor','');if(opts.arrows)$cluetipArrows.css({top:''});};$(document).bind('hideCluetip',function(e){cluetipClose();});if((/click|toggle/).test(opts.activation)){$this.bind('click.cluetip',function(event){if($cluetip.is(':hidden')||!$this.is('.cluetip-clicked')){activate(event);$('.cluetip-clicked').removeClass('cluetip-clicked');$this.addClass('cluetip-clicked');}else{inactivate(event);}
this.blur();return false;});}else if(opts.activation=='focus'){$this.bind('focus.cluetip',function(event){activate(event);});$this.bind('blur.cluetip',function(event){inactivate(event);});}else{$this.bind('click.cluetip',function(){if($this.attr('href')&&$this.attr('href')==tipAttribute&&!opts.clickThrough){return false;}});var mouseTracks=function(evt){if(opts.tracking==true){var trackX=posX-evt.pageX;var trackY=tipY?tipY-evt.pageY:posY-evt.pageY;$this.bind('mousemove.cluetip',function(evt){$cluetip.css({left:evt.pageX+trackX,top:evt.pageY+trackY});});}};if($.fn.hoverIntent&&opts.hoverIntent){$this.hoverIntent({sensitivity:opts.hoverIntent.sensitivity,interval:opts.hoverIntent.interval,over:function(event){activate(event);mouseTracks(event);},timeout:opts.hoverIntent.timeout,out:function(event){inactivate(event);$this.unbind('mousemove.cluetip');}});}else{$this.bind('mouseenter.cluetip',function(event){activate(event);mouseTracks(event);}).bind('mouseleave.cluetip',function(event){inactivate(event);$this.unbind('mousemove.cluetip');});}
$this.bind('mouseenter.cluetip',function(event){$this.attr('title','');}).bind('mouseleave.cluetip',function(event){$this.attr('title',$this.data('thisInfo').title);});}});};$.fn.cluetip.defaults={width:275,height:'auto',cluezIndex:97,positionBy:'auto',topOffset:15,leftOffset:15,local:false,localPrefix:null,hideLocal:true,attribute:'rel',titleAttribute:'title',splitTitle:'',escapeTitle:false,showTitle:true,cluetipClass:'default',hoverClass:'',waitImage:true,cursor:'help',arrows:false,dropShadow:true,dropShadowSteps:6,sticky:false,mouseOutClose:false,activation:'hover',clickThrough:false,tracking:false,delayedClose:0,closePosition:'top',closeText:'Close',truncate:0,fx:{open:'show',openSpeed:''},hoverIntent:{sensitivity:3,interval:50,timeout:0},onActivate:function(e){return true;},onShow:function(ct,ci){},onHide:function(ct,ci){},ajaxCache:true,ajaxProcess:function(data){data=data.replace(/<(script|style|title)[^<]+<\/(script|style|title)>/gm,'').replace(/<(link|meta)[^>]+>/g,'');return data;},ajaxSettings:{dataType:'html'},debug:false};var insertionType='appendTo',insertionElement='body';$.cluetip.setup=function(options){if(options&&options.insertionType&&(options.insertionType).match(/appendTo|prependTo|insertBefore|insertAfter/)){insertionType=options.insertionType;}
if(options&&options.insertionElement){insertionElement=options.insertionElement;}};})(jQuery);;eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(7($){$.G($.38,{1z:7(c){l(!6.E){c&&c.21&&2U.1v&&1v.4Y("3p 2B, 4A\'t 1z, 6c 3p");8}p b=$.15(6[0],\'u\');l(b){8 b}b=2l $.u(c,6[0]);$.15(6[0],\'u\',b);l(b.q.3v){6.4I("1Y, 4D").1o(".4w").4q(7(){b.35=v});6.31(7(a){l(b.q.21)a.5V();7 2g(){l(b.q.40){b.q.40.12(b,b.W);8 H}8 v}l(b.35){b.35=H;8 2g()}l(b.L()){l(b.19){b.1u=v;8 H}8 2g()}1a{b.2o();8 H}})}8 b},N:7(){l($(6[0]).2J(\'L\')){8 6.1z().L()}1a{p b=H;p a=$(6[0].L).1z();6.O(7(){b|=a.I(6)});8 b}},4K:7(c){p d={},$I=6;$.O(c.1K(/\\s/),7(a,b){d[b]=$I.1J(b);$I.4G(b)});8 d},17:7(h,k){p f=6[0];l(h){p i=$.15(f.L,\'u\').q;p d=i.17;p c=$.u.2t(f);2p(h){1b"1f":$.G(c,$.u.1U(k));d[f.r]=c;l(k.J)i.J[f.r]=$.G(i.J[f.r],k.J);2u;1b"63":l(!k){Q d[f.r];8 c}p e={};$.O(k.1K(/\\s/),7(a,b){e[b]=c[b];Q c[b]});8 e}}p g=$.u.49($.G({},$.u.44(f),$.u.43(f),$.u.3G(f),$.u.2t(f)),f);l(g.11){p j=g.11;Q g.11;g=$.G({11:j},g)}8 g}});$.G($.5A[":"],{5w:7(a){8!$.1j(a.T)},5o:7(a){8!!$.1j(a.T)},5m:7(a){8!a.3P}});$.1d=7(c,b){l(S.E==1)8 7(){p a=$.3K(S);a.5a(c);8 $.1d.1Q(6,a)};l(S.E>2&&b.2i!=3F){b=$.3K(S).4U(1)}l(b.2i!=3F){b=[b]}$.O(b,7(i,n){c=c.3B(2l 3z("\\\\{"+i+"\\\\}","g"),n)});8 c};$.u=7(b,a){6.q=$.G({},$.u.2I,b);6.W=a;6.3w()};$.G($.u,{2I:{J:{},1Z:{},17:{},1c:"3s",2G:"4J",2o:v,3m:$([]),2D:$([]),3v:v,3l:[],3k:H,4H:7(a){6.3i=a;l(6.q.4F&&!6.4E){6.q.1I&&6.q.1I.12(6,a,6.q.1c);6.1P(a).2x()}},4C:7(a){l(!6.1x(a)&&(a.r Z 6.1k||!6.F(a))){6.I(a)}},4v:7(a){l(a.r Z 6.1k||a==6.39){6.I(a)}},4t:7(a){l(a.r Z 6.1k)6.I(a)},2r:7(a,b){$(a).2q(b)},1I:7(a,b){$(a).37(b)}},6i:7(a){$.G($.u.2I,a)},J:{11:"6f 4o 2J 11.",1S:"K 33 6 4o.",1T:"K M a N 1T 6a.",1w:"K M a N 65.",1m:"K M a N 1m.",1W:"K M a N 1m (61).",2j:"4d 4c 3n 2Y 5U¼5R 5Q 2Y.",1s:"K M a N 1s.",24:"4d 4c 3n 5O 5L 2Y.",1N:"K M 5J 1N",2e:"K M a N 5F 5D 1s.",3Y:"K M 3W 5y T 5v.",3U:"K M a T 5s a N 5r.",16:$.1d("K M 3R 5n 2P {0} 2O."),1D:$.1d("K M 5l 5k {0} 2O."),2b:$.1d("K M a T 3N {0} 3M {1} 2O 5f."),2a:$.1d("K M a T 3N {0} 3M {1}."),1t:$.1d("K M a T 5b 2P 3J 3I 4a {0}."),1y:$.1d("K M a T 55 2P 3J 3I 4a {0}.")},3H:H,53:{3w:7(){6.2k=$(6.q.2D);6.4g=6.2k.E&&6.2k||$(6.W);6.26=$(6.q.3m).1f(6.q.2D);6.1k={};6.4V={};6.19=0;6.1e={};6.1g={};6.1V();p f=(6.1Z={});$.O(6.q.1Z,7(d,c){$.O(c.1K(/\\s/),7(a,b){f[b]=d})});p e=6.q.17;$.O(e,7(b,a){e[b]=$.u.1U(a)});7 1C(a){p b=$.15(6[0].L,"u");b.q["3A"+a.1r]&&b.q["3A"+a.1r].12(b,6[0])}$(6.W).1C("3y 3x 4O",":2H, :4N, :4M, 20, 4L",1C).1C("4q",":3u, :3t",1C);l(6.q.3r)$(6.W).3q("1g-L.1z",6.q.3r)},L:7(){6.3o();$.G(6.1k,6.1q);6.1g=$.G({},6.1q);l(!6.N())$(6.W).2F("1g-L",[6]);6.1h();8 6.N()},3o:7(){6.2E();P(p i=0,Y=(6.22=6.Y());Y[i];i++){6.23(Y[i])}8 6.N()},I:7(a){a=6.2C(a);6.39=a;6.2L(a);6.22=$(a);p b=6.23(a);l(b){Q 6.1g[a.r]}1a{6.1g[a.r]=v}l(!6.3E()){6.13=6.13.1f(6.26)}6.1h();8 b},1h:7(b){l(b){$.G(6.1q,b);6.R=[];P(p c Z b){6.R.1X({18:b[c],I:6.28(c)[0]})}6.1i=$.3h(6.1i,7(a){8!(a.r Z b)})}6.q.1h?6.q.1h.12(6,6.1q,6.R):6.3g()},2A:7(){l($.38.2A)$(6.W).2A();6.1k={};6.2E();6.2z();6.Y().37(6.q.1c)},3E:7(){8 6.29(6.1g)},29:7(a){p b=0;P(p i Z a)b++;8 b},2z:7(){6.2y(6.13).2x()},N:7(){8 6.3f()==0},3f:7(){8 6.R.E},2o:7(){l(6.q.2o){3e{$(6.3d()||6.R.E&&6.R[0].I||[]).1o(":4B").3c()}3b(e){}}},3d:7(){p a=6.3i;8 a&&$.3h(6.R,7(n){8 n.I.r==a.r}).E==1&&a},Y:7(){p a=6,2w={};8 $([]).1f(6.W.Y).1o(":1Y").1H(":31, :1V, :4z, [4y]").1H(6.q.3l).1o(7(){!6.r&&a.q.21&&2U.1v&&1v.3s("%o 4x 3R r 4u",6);l(6.r Z 2w||!a.29($(6).17()))8 H;2w[6.r]=v;8 v})},2C:7(a){8 $(a)[0]},2v:7(){8 $(6.q.2G+"."+6.q.1c,6.4g)},1V:7(){6.1i=[];6.R=[];6.1q={};6.1l=$([]);6.13=$([]);6.1u=H;6.22=$([])},2E:7(){6.1V();6.13=6.2v().1f(6.26)},2L:7(a){6.1V();6.13=6.1P(a)},23:7(d){d=6.2C(d);l(6.1x(d)){d=6.28(d.r)[0]}p a=$(d).17();p c=H;P(U Z a){p b={U:U,2s:a[U]};3e{p f=$.u.1F[U].12(6,d.T,d,b.2s);l(f=="1E-1R"){c=v;6l}c=H;l(f=="1e"){6.13=6.13.1H(6.1P(d));8}l(!f){6.4r(d,b);8 H}}3b(e){6.q.21&&2U.1v&&1v.6k("6j 6h 6g 6e I "+d.4p+", 23 3W \'"+b.U+"\' U");6d e;}}l(c)8;l(6.29(a))6.1i.1X(d);8 v},4n:7(a,b){l(!$.1A)8;p c=6.q.34?$(a).1A()[6.q.34]:$(a).1A();8 c&&c.J&&c.J[b]},4m:7(a,b){p m=6.q.J[a];8 m&&(m.2i==4l?m:m[b])},4k:7(){P(p i=0;i<S.E;i++){l(S[i]!==2n)8 S[i]}8 2n},2m:7(a,b){8 6.4k(6.4m(a.r,b),6.4n(a,b),!6.q.3k&&a.6b||2n,$.u.J[b],"<4j>69: 68 18 67 P "+a.r+"</4j>")},4r:7(b,a){p c=6.2m(b,a.U);l(14 c=="7")c=c.12(6,a.2s,b);6.R.1X({18:c,I:b});6.1q[b.r]=c;6.1k[b.r]=c},2y:7(a){l(6.q.2h)a=a.1f(a.64(6.q.2h));8 a},3g:7(){P(p i=0;6.R[i];i++){p a=6.R[i];6.q.2r&&6.q.2r.12(6,a.I,6.q.1c);6.30(a.I,a.18)}l(6.R.E){6.1l=6.1l.1f(6.26)}l(6.q.1n){P(p i=0;6.1i[i];i++){6.30(6.1i[i])}}l(6.q.1I){P(p i=0,Y=6.4i();Y[i];i++){6.q.1I.12(6,Y[i],6.q.1c)}}6.13=6.13.1H(6.1l);6.2z();6.2y(6.1l).4h()},4i:7(){8 6.22.1H(6.3a())},3a:7(){8 $(6.R).3j(7(){8 6.I})},30:7(a,c){p b=6.1P(a);l(b.E){b.37().2q(6.q.1c);b.1J("4f")&&b.4e(c)}1a{b=$("<"+6.q.2G+"/>").1J({"P":6.2Z(a),4f:v}).2q(6.q.1c).4e(c||"");l(6.q.2h){b=b.2x().4h().60("<"+6.q.2h+"/>").5Y()}l(!6.2k.5X(b).E)6.q.4b?6.q.4b(b,$(a)):b.5W(a)}l(!c&&6.q.1n){b.2H("");14 6.q.1n=="1p"?b.2q(6.q.1n):6.q.1n(b)}6.1l=6.1l.1f(b)},1P:7(a){8 6.2v().1o("[P=\'"+6.2Z(a)+"\']")},2Z:7(a){8 6.1Z[a.r]||(6.1x(a)?a.r:a.4p||a.r)},1x:7(a){8/3u|3t/i.V(a.1r)},28:7(d){p c=6.W;8 $(5T.5S(d)).3j(7(a,b){8 b.L==c&&b.r==d&&b||48})},1L:7(a,b){2p(b.47.3D()){1b\'20\':8 $("46:2B",b).E;1b\'1Y\':l(6.1x(b))8 6.28(b.r).1o(\':3P\').E}8 a.E},45:7(b,a){8 6.2X[14 b]?6.2X[14 b](b,a):v},2X:{"5P":7(b,a){8 b},"1p":7(b,a){8!!$(b,a.L).E},"7":7(b,a){8 b(a)}},F:7(a){8!$.u.1F.11.12(6,$.1j(a.T),a)&&"1E-1R"},42:7(a){l(!6.1e[a.r]){6.19++;6.1e[a.r]=v}},4s:7(a,b){6.19--;l(6.19<0)6.19=0;Q 6.1e[a.r];l(b&&6.19==0&&6.1u&&6.L()){$(6.W).31()}1a l(!b&&6.19==0&&6.1u){$(6.W).2F("1g-L",[6])}},2f:7(a){8 $.15(a,"2f")||$.15(a,"2f",5K={2W:48,N:v,18:6.2m(a,"1S")})}},1M:{11:{11:v},1T:{1T:v},1w:{1w:v},1m:{1m:v},1W:{1W:v},2j:{2j:v},1s:{1s:v},24:{24:v},1N:{1N:v},2e:{2e:v}},3Z:7(a,b){a.2i==4l?6.1M[a]=b:$.G(6.1M,a)},43:7(b){p a={};p c=$(b).1J(\'5I\');c&&$.O(c.1K(\' \'),7(){l(6 Z $.u.1M){$.G(a,$.u.1M[6])}});8 a},3G:7(c){p a={};p d=$(c);P(U Z $.u.1F){p b=d.1J(U);l(b){a[U]=b}}l(a.16&&/-1|5H|5G/.V(a.16)){Q a.16}8 a},44:7(a){l(!$.1A)8{};p b=$.15(a.L,\'u\').q.34;8 b?$(a).1A()[b]:$(a).1A()},2t:7(b){p a={};p c=$.15(b.L,\'u\');l(c.q.17){a=$.u.1U(c.q.17[b.r])||{}}8 a},49:7(d,e){$.O(d,7(c,b){l(b===H){Q d[c];8}l(b.2V||b.2d){p a=v;2p(14 b.2d){1b"1p":a=!!$(b.2d,e.L).E;2u;1b"7":a=b.2d.12(e,e);2u}l(a){d[c]=b.2V!==2n?b.2V:v}1a{Q d[c]}}});$.O(d,7(a,b){d[a]=$.5C(b)?b(e):b});$.O([\'1D\',\'16\',\'1y\',\'1t\'],7(){l(d[6]){d[6]=2T(d[6])}});$.O([\'2b\',\'2a\'],7(){l(d[6]){d[6]=[2T(d[6][0]),2T(d[6][1])]}});l($.u.3H){l(d.1y&&d.1t){d.2a=[d.1y,d.1t];Q d.1y;Q d.1t}l(d.1D&&d.16){d.2b=[d.1D,d.16];Q d.1D;Q d.16}}l(d.J){Q d.J}8 d},1U:7(a){l(14 a=="1p"){p b={};$.O(a.1K(/\\s/),7(){b[6]=v});a=b}8 a},5B:7(c,a,b){$.u.1F[c]=a;$.u.J[c]=b;l(a.E<3){$.u.3Z(c,$.u.1U(c))}},1F:{11:7(b,c,a){l(!6.45(a,c))8"1E-1R";2p(c.47.3D()){1b\'20\':p d=$("46:2B",c);8 d.E>0&&(c.1r=="20-5z"||($.2S.2M&&!(d[0].5x[\'T\'].5u)?d[0].2H:d[0].T).E>0);1b\'1Y\':l(6.1x(c))8 6.1L(b,c)>0;5t:8 $.1j(b).E>0}},1S:7(e,h,d){l(6.F(h))8"1E-1R";p g=6.2f(h);l(!6.q.J[h.r])6.q.J[h.r]={};6.q.J[h.r].1S=14 g.18=="7"?g.18(e):g.18;d=14 d=="1p"&&{1w:d}||d;l(g.2W!==e){g.2W=e;p i=6;6.42(h);p f={};f[h.r]=e;$.2R($.G(v,{1w:d,3T:"2Q",3S:"1z"+h.r,5q:"5p",15:f,1n:7(a){l(a){p b=i.1u;i.2L(h);i.1u=b;i.1i.1X(h);i.1h()}1a{p c={};c[h.r]=a||i.2m(h,"1S");i.1h(c)}g.N=a;i.4s(h,a)}},d));8"1e"}1a l(6.1e[h.r]){8"1e"}8 g.N},1D:7(b,c,a){8 6.F(c)||6.1L($.1j(b),c)>=a},16:7(b,c,a){8 6.F(c)||6.1L($.1j(b),c)<=a},2b:7(b,d,a){p c=6.1L($.1j(b),d);8 6.F(d)||(c>=a[0]&&c<=a[1])},1y:7(b,c,a){8 6.F(c)||b>=a},1t:7(b,c,a){8 6.F(c)||b<=a},2a:7(b,c,a){8 6.F(c)||(b>=a[0]&&b<=a[1])},1T:7(a,b){8 6.F(b)||/^((([a-z]|\\d|[!#\\$%&\'\\*\\+\\-\\/=\\?\\^X`{\\|}~]|[\\A-\\B\\w-\\x\\C-\\y])+(\\.([a-z]|\\d|[!#\\$%&\'\\*\\+\\-\\/=\\?\\^X`{\\|}~]|[\\A-\\B\\w-\\x\\C-\\y])+)*)|((\\3Q)((((\\2c|\\1O)*(\\2N\\3X))?(\\2c|\\1O)+)?(([\\3V-\\5E\\3L\\3O\\5j-\\5i\\41]|\\5h|[\\5g-\\5M]|[\\5N-\\5e]|[\\A-\\B\\w-\\x\\C-\\y])|(\\\\([\\3V-\\1O\\3L\\3O\\2N-\\41]|[\\A-\\B\\w-\\x\\C-\\y]))))*(((\\2c|\\1O)*(\\2N\\3X))?(\\2c|\\1O)+)?(\\3Q)))@((([a-z]|\\d|[\\A-\\B\\w-\\x\\C-\\y])|(([a-z]|\\d|[\\A-\\B\\w-\\x\\C-\\y])([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])*([a-z]|\\d|[\\A-\\B\\w-\\x\\C-\\y])))\\.)+(([a-z]|[\\A-\\B\\w-\\x\\C-\\y])|(([a-z]|[\\A-\\B\\w-\\x\\C-\\y])([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])*([a-z]|[\\A-\\B\\w-\\x\\C-\\y])))\\.?$/i.V(a)},1w:7(a,b){8 6.F(b)||/^(5d?|5c):\\/\\/(((([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])|(%[\\1G-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:)*@)?(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5]))|((([a-z]|\\d|[\\A-\\B\\w-\\x\\C-\\y])|(([a-z]|\\d|[\\A-\\B\\w-\\x\\C-\\y])([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])*([a-z]|\\d|[\\A-\\B\\w-\\x\\C-\\y])))\\.)+(([a-z]|[\\A-\\B\\w-\\x\\C-\\y])|(([a-z]|[\\A-\\B\\w-\\x\\C-\\y])([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])*([a-z]|[\\A-\\B\\w-\\x\\C-\\y])))\\.?)(:\\d*)?)(\\/((([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])|(%[\\1G-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)+(\\/(([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])|(%[\\1G-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)*)*)?)?(\\?((([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])|(%[\\1G-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)|[\\59-\\58]|\\/|\\?)*)?(\\#((([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])|(%[\\1G-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)|\\/|\\?)*)?$/i.V(a)},1m:7(a,b){8 6.F(b)||!/57|5Z/.V(2l 56(a))},1W:7(a,b){8 6.F(b)||/^\\d{4}[\\/-]\\d{1,2}[\\/-]\\d{1,2}$/.V(a)},2j:7(a,b){8 6.F(b)||/^\\d\\d?\\.\\d\\d?\\.\\d\\d\\d?\\d?$/.V(a)},1s:7(a,b){8 6.F(b)||/^-?(?:\\d+|\\d{1,3}(?:,\\d{3})+)(?:\\.\\d+)?$/.V(a)},24:7(a,b){8 6.F(b)||/^-?(?:\\d+|\\d{1,3}(?:\\.\\d{3})+)(?:,\\d+)?$/.V(a)},1N:7(a,b){8 6.F(b)||/^\\d+$/.V(a)},2e:7(b,e){l(6.F(e))8"1E-1R";l(/[^0-9-]+/.V(b))8 H;p a=0,d=0,27=H;b=b.3B(/\\D/g,"");P(n=b.E-1;n>=0;n--){p c=b.62(n);p d=54(c,10);l(27){l((d*=2)>9)d-=9}a+=d;27=!27}8(a%10)==0},3U:7(b,c,a){a=14 a=="1p"?a:"52|66?g|51";8 6.F(c)||b.50(2l 3z(".("+a+")$","i"))},3Y:7(b,c,a){8 b==$(a).4Z()}}})})(32);(7($){p c=$.2R;p d={};$.2R=7(a){a=$.G(a,$.G({},$.4X,a));p b=a.3S;l(a.3T=="2Q"){l(d[b]){d[b].2Q()}8(d[b]=c.1Q(6,S))}8 c.1Q(6,S)}})(32);(7($){$.O({3c:\'3y\',4W:\'3x\'},7(b,a){$.1B.2K[a]={4T:7(){l($.2S.2M)8 H;6.4S(b,$.1B.2K[a].36,v)},4R:7(){l($.2S.2M)8 H;6.4Q(b,$.1B.2K[a].36,v)},36:7(e){S[0]=$.1B.33(e);S[0].1r=a;8 $.1B.2g.1Q(6,S)}}});$.G($.38,{1C:7(d,e,c){8 6.3q(d,7(a){p b=$(a.3C);l(b.2J(e)){8 c.1Q(b,S)}})},4P:7(a,b){8 6.2F(a,[$.1B.33({1r:a,3C:b})])}})})(32);',62,394,'||||||this|function|return|||||||||||||if||||var|settings|name|||validator|true|uF900|uFDCF|uFFEF||u00A0|uD7FF|uFDF0||length|optional|extend|false|element|messages|Please|form|enter|valid|each|for|delete|errorList|arguments|value|method|test|currentForm|_|elements|in||required|call|toHide|typeof|data|maxlength|rules|message|pendingRequest|else|case|errorClass|format|pending|add|invalid|showErrors|successList|trim|submitted|toShow|date|success|filter|string|errorMap|type|number|max|formSubmitted|console|url|checkable|min|validate|metadata|event|delegate|minlength|dependency|methods|da|not|unhighlight|attr|split|getLength|classRuleSettings|digits|x09|errorsFor|apply|mismatch|remote|email|normalizeRule|reset|dateISO|push|input|groups|select|debug|currentElements|check|numberDE||containers|bEven|findByName|objectLength|range|rangelength|x20|depends|creditcard|previousValue|handle|wrapper|constructor|dateDE|labelContainer|new|defaultMessage|undefined|focusInvalid|switch|addClass|highlight|parameters|staticRules|break|errors|rulesCache|hide|addWrapper|hideErrors|resetForm|selected|clean|errorLabelContainer|prepareForm|triggerHandler|errorElement|text|defaults|is|special|prepareElement|msie|x0d|characters|than|abort|ajax|browser|Number|window|param|old|dependTypes|ein|idOrName|showLabel|submit|jQuery|fix|meta|cancelSubmit|handler|removeClass|fn|lastElement|invalidElements|catch|focus|findLastActive|try|size|defaultShowErrors|grep|lastActive|map|ignoreTitle|ignore|errorContainer|Sie|checkForm|nothing|bind|invalidHandler|error|checkbox|radio|onsubmit|init|focusout|focusin|RegExp|on|replace|target|toLowerCase|numberOfInvalids|Array|attributeRules|autoCreateRanges|equal|or|makeArray|x0b|and|between|x0c|checked|x22|no|port|mode|accept|x01|the|x0a|equalTo|addClassRules|submitHandler|x7f|startRequest|classRules|metadataRules|depend|option|nodeName|null|normalizeRules|to|errorPlacement|geben|Bitte|html|generated|errorContext|show|validElements|strong|findDefined|String|customMessage|customMetaMessage|field|id|click|formatAndAdd|stopRequest|onclick|assigned|onkeyup|cancel|has|disabled|image|can|visible|onfocusout|button|blockFocusCleanup|focusCleanup|removeAttr|onfocusin|find|label|removeAttrs|textarea|file|password|keyup|triggerEvent|removeEventListener|teardown|addEventListener|setup|slice|valueCache|blur|ajaxSettings|warn|val|match|gif|png|prototype|parseInt|greater|Date|Invalid|uF8FF|uE000|unshift|less|ftp|https|x7e|long|x23|x21|x1f|x0e|least|at|unchecked|more|filled|json|dataType|extension|with|default|specified|again|blank|attributes|same|multiple|expr|addMethod|isFunction|card|x08|credit|524288|2147483647|class|only|previous|Nummer|x5b|x5d|eine|boolean|Datum|ltiges|getElementsByName|document|gÃ|preventDefault|insertAfter|append|parent|NaN|wrap|ISO|charAt|remove|parents|URL|jpe|defined|No|Warning|address|title|returning|throw|checking|This|when|occured|setDefaults|exception|log|continue'.split('|'),0,{}));eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('6 1V="/1J/2Q.1D";$(c).2S(9(){1s(\'a.1b, 2O.1b, 2N.1b\');1B=1x 1P();1B.J=1V});9 1s(1Y){$(1Y).l(9(){6 t=Q.N||Q.1u||K;6 a=Q.A||Q.1X;6 g=Q.28||S;1g(t,a,g);Q.34();B S})}9 1g(F,d,13){2U{4(2j c.r.H.2k==="2l"){$("r","12").n({u:"20%",q:"20%"});$("12").n("2s","32");4(c.1Z("1M")===K){$("r").m("<Y 5=\'1M\'></Y><3 5=\'o\'></3><3 5=\'8\'></3>");$("#o").l(D)}}b{4(c.1Z("o")===K){$("r").m("<3 5=\'o\'></3><3 5=\'8\'></3>");$("#o").l(D)}}4(2F()){$("#o").1K("2X")}b{$("#o").1K("2Y")}4(F===K){F=""}$("r").m("<3 5=\'G\'><1J J=\'"+1B.J+"\' /></3>");$(\'#G\').2Z();6 1m;4(d.L("?")!==-1){1m=d.35(0,d.L("?"))}b{1m=d}6 1r=/\\.1W$|\\.2g$|\\.2c$|\\.1D$|\\.2e$/;6 R=1m.1A().23(1r);4(R==\'.1W\'||R==\'.2g\'||R==\'.2c\'||R==\'.1D\'||R==\'.2e\'){1R="";1t="";15="";1v="";1E="";P="";1q="";1F=S;4(13){v=$("a[@28="+13+"]").2V();2q(s=0;((s<v.1i)&&(P===""));s++){6 2W=v[s].A.1A().23(1r);4(!(v[s].A==d)){4(1F){1v=v[s].N;1E=v[s].A;P="<1h 5=\'25\'>&1o;&1o;<a A=\'#\'>2T &2M;</a></1h>"}b{1R=v[s].N;1t=v[s].A;15="<1h 5=\'22\'>&1o;&1o;<a A=\'#\'>&2L; 2K</a></1h>"}}b{1F=1d;1q="1P "+(s+1)+" 2R "+(v.1i)}}}V=1x 1P();V.1e=9(){V.1e=K;6 1S=2z();6 x=1S[0]-2a;6 y=1S[1]-2a;6 f=V.q;6 k=V.u;4(f>x){k=k*(x/f);f=x;4(k>y){f=f*(y/k);k=y}}b 4(k>y){f=f*(y/k);k=y;4(f>x){k=k*(x/f);f=x}}$("#o").1K("3c");O=f+30;1n=k+3t;$("#8").m("<a A=\'\' 5=\'21\' N=\'1f\'><1J 5=\'38\' J=\'"+d+"\' q=\'"+f+"\' u=\'"+k+"\' 1X=\'"+F+"\'/></a>"+"<3 5=\'3s\'>"+F+"<3 5=\'3r\'>"+1q+15+P+"</3></3><a A=\'#\' 5=\'W\' N=\'1f\'>X关闭</a>");$("#W").l(D);4(!(15==="")){9 16(){4($(c).I("l",16)){$(c).I("l",16)}$("#8").p();$("r").m("<3 5=\'8\'></3>");1g(1R,1t,13);B S}$("#22").l(16)}4(!(P==="")){9 1I(){$("#8").p();$("r").m("<3 5=\'8\'></3>");1g(1v,1E,13);B S}$("#25").l(1I)}c.1a=9(e){4(e==K){C=2E.2D}b{C=e.2H}4(C==27){D()}b 4(C==3u){4(!(P=="")){c.1a="";1I()}}b 4(C==3p){4(!(15=="")){c.1a="";16()}}};11();$("#G").p();$("#21").l(D);$("#8").n({U:"T"})};V.J=d}b{6 24=d.2w(/^[^\\?]+\\??/,\'\');6 E=2v(24);O=(E[\'q\']*1)+30||39;1n=(E[\'u\']*1)+3a||3b;M=O-30;Z=1n;4(d.L(\'2J\')!=-1){1w=d.1O(\'3g\');$("#19").p();$("#1C").p();4(E[\'1G\']!="1d"){$("#8").m("<3 5=\'1C\'><3 5=\'1z\'>"+F+"</3><3 5=\'W\' N=\'1f\'>X 关闭</3><3 5=\'1T\'><1p>1U键可以快速关闭</1p></3></3><Y 26=\'0\' 2d=\'0\' J=\'"+1w[0]+"\' 5=\'19\' 1u=\'19"+1c.2f(1c.1y()*2b)+"\' 1e=\'1Q()\' H=\'q:"+(M+29)+"j;u:"+(Z+17)+"j;\' > </Y>")}b{$("#o").I();$("#8").m("<Y 26=\'0\' 2d=\'0\' J=\'"+1w[0]+"\' 5=\'19\' 1u=\'19"+1c.2f(1c.1y()*2b)+"\' 1e=\'1Q()\' H=\'q:"+(M+29)+"j;u:"+(Z+17)+"j;\'> </Y>")}}b{M=O;4($("#8").n("U")!="T"){4(E[\'1G\']!="1d"){$("#8").m("<3 5=\'1C\'><3 5=\'1z\'>"+F+"</3><3 5=\'W\' N=\'1f\'>X 关闭</3><3 5=\'1T\'><1p>1U键可以快速关闭</1p></3></3><3 5=\'z\' H=\'q:"+M+"j;u:"+Z+"j\'></3>")}b{$("#o").I();$("#8").m("<3 5=\'z\' 3w=\'3k\' H=\'q:"+M+"j;u:"+Z+"j;\'></3>")}}b{$("#z")[0].H.q=M+"j";$("#z")[0].H.u=Z+"j";$("#z")[0].3j=0;$("#1z").12(F)}}$("#W").l(D);4(d.L(\'3i\')!=-1){$("#z").m($(\'#\'+E[\'2G\']).2h());$("#8").2i(9(){$(\'#\'+E[\'2G\']).m($("#z").2h())});11();$("#G").p();$("#8").n({U:"T"})}b 4(d.L(\'2J\')!=-1){11();4($.1N.3l){$("#G").p();$("#8").n({U:"T"})}}b{$("#z").3m(d+="&1y="+(1x 3o().3n()),9(){11();$("#G").p();1s("#z a.1b");$("#8").n({U:"T"})})}}4(!E[\'1G\']){c.2y=9(e){4(e==K){C=2E.2D}b{C=e.2H}4(C==27){D()}}}}3h(e){}}9 1Q(){$("#G").p();$("#8").n({U:"T"})}9 D(){$("#3q").I("l");$("#W").I("l");$("#8").3d("3f",9(){$(\'#8,#o,#1M\').3e("2i").I().p()});$("#G").p();4(2j c.r.H.2k=="2l"){$("r","12").n({u:"2r",q:"2r"});$("12").n("2s","")}c.1a="";c.2y="";B S}9 11(){$("#8").n({3x:\'-\'+2t((O/2),10)+\'j\',q:O+\'j\'});4(!(2A.1N.3y&&2A.1N.3z<7)){$("#8").n({3v:\'-\'+2t((1n/2),10)+\'j\'})}}9 2v(1L){6 1k={};4(!1L){B 1k}6 1H=1L.1O(/[;&]/);2q(6 i=0;i<1H.1i;i++){6 18=1H[i].1O(\'=\');4(!18||18.1i!=2){2P}6 2x=2u(18[0]);6 1j=2u(18[1]);1j=1j.2w(/\\+/g,\' \');1k[2x]=1j}B 1k}9 2z(){6 14=c.31;6 w=2C.2m||2p.2m||(14&&14.2n)||c.r.2n;6 h=2C.2o||2p.2o||(14&&14.2B)||c.r.2B;2I=[w,h];B 2I}9 2F(){6 1l=36.1l.1A();4(1l.L(\'33\')!=-1&&1l.L(\'37\')!=-1){B 1d}}',62,222,'|||div|if|id|var||TB_window|function||else|document|url||imageWidth||||px|imageHeight|click|append|css|TB_overlay|remove|width|body|TB_Counter||height|TB_TempArray||||TB_ajaxContent|href|return|keycode|tb_remove|params|caption|TB_load|style|unbind|src|null|indexOf|ajaxContentW|title|TB_WIDTH|TB_NextHTML|this|urlType|false|block|display|imgPreloader|TB_closeWindowButton||iframe|ajaxContentH||tb_position|html|imageGroup|de|TB_PrevHTML|goPrev||KeyVal|TB_iframeContent|onkeydown|thickbox|Math|true|onload|Close|tb_show|span|length|val|Params|userAgent|baseURL|TB_HEIGHT|nbsp|small|TB_imageCount|urlString|tb_init|TB_PrevURL|name|TB_NextCaption|urlNoQuery|new|random|TB_ajaxWindowTitle|toLowerCase|imgLoader|TB_title|gif|TB_NextURL|TB_FoundURL|modal|Pairs|goNext|img|addClass|query|TB_HideSelect|browser|split|Image|tb_showIframe|TB_PrevCaption|pagesize|TB_closeAjaxWindow|Esc|tb_pathToImage|jpg|alt|domChunk|getElementById|100|TB_ImageOff|TB_prev|match|queryString|TB_next|frameborder||rel||150|1000|png|hspace|bmp|round|jpeg|children|unload|typeof|maxHeight|undefined|innerWidth|clientWidth|innerHeight|self|for|auto|overflow|parseInt|unescape|tb_parseQuery|replace|key|onkeyup|tb_getPageSize|jQuery|clientHeight|window|keyCode|event|tb_detectMacXFF|inlineId|which|arrayPageSize|TB_iframe|Prev|lt|gt|input|area|continue|loadingAnimation|of|ready|Next|try|get|urlTypeTemp|TB_overlayMacFFBGHack|TB_overlayBG|show||documentElement|hidden|mac|blur|substr|navigator|firefox|TB_Image|630|40|440|TB_overlayActive|fadeOut|trigger|fast|TB_|catch|TB_inline|scrollTop|TB_modal|safari|load|getTime|Date|188|TB_imageOff|TB_secondLine|TB_caption|60|190|marginTop|class|marginLeft|msie|version'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}(';5(1O.1t)(7($){5($.29.1x)1I{1m.23("1u",P,z)}1F(e){}$.p.4=7(j){5(3.K==0)l 3;5(E J[0]==\'1j\'){5(3.K>1){8 k=J;l 3.W(7(){$.p.4.H($(3),k)})};$.p.4[J[0]].H(3,$.1T(J).21(1)||[]);l 3};8 j=$.10({},$.p.4.18,j||{});3.1v(\'.9-4-1l\').n(\'9-4-1l\').W(7(){8 a=(3.1J||\'1K-4\').1L(/\\[|\\]+/g,"1S");8 b=$(3.1U||1m.1X);8 c=$(3);8 d=b.6(\'4\')||{y:0};8 e=d[a];8 f;5(e)f=e.6(\'4\');5(e&&f){f.y++}B{f=$.10({},j||{},($.1k?c.1k():($.1H?c.6():s))||{},{y:0,C:[],u:[]});f.t=d.y++;e=$(\'<1M 12="9-4-1Q"/>\');c.1R(e);e.n(\'4-T-13-S\');5(c.R(\'Q\'))f.m=z;e.1a(f.A=$(\'<O 12="4-A"><a 14="\'+f.A+\'">\'+f.15+\'</a></O>\').1d(7(){$(3).4(\'N\');$(3).n(\'9-4-M\')}).1b(7(){$(3).4(\'v\');$(3).D(\'9-4-M\')}).1h(7(){$(3).4(\'w\')}).6(\'4\',f))};8 g=$(\'<O 12="9-4 q-\'+f.t+\'"><a 14="\'+(3.14||3.1p)+\'">\'+3.1p+\'</a></O>\');e.1a(g);5(3.U)g.R(\'U\',3.U);5(3.17)g.n(3.17);5(f.1V)f.x=2;5(E f.x==\'19\'&&f.x>0){8 h=($.p.11?g.11():0)||f.1c;8 i=(f.y%f.x),V=1y.1z(h/f.x);g.11(V).1A(\'a\').1B({\'1C-1D\':\'-\'+(i*V)+\'1E\'})};5(f.m)g.n(\'9-4-1e\');B g.n(\'9-4-1G\').1d(7(){$(3).4(\'1f\');$(3).4(\'G\')}).1b(7(){$(3).4(\'v\');$(3).4(\'F\')}).1h(7(){$(3).4(\'w\')});5(3.L)f.o=g;c.1i();c.1N(7(){$(3).4(\'w\')});g.6(\'4.r\',c.6(\'4.9\',g));f.C[f.C.K]=g[0];f.u[f.u.K]=c[0];f.q=d[a]=e;f.1P=b;c.6(\'4\',f);e.6(\'4\',f);g.6(\'4\',f);b.6(\'4\',d)});$(\'.4-T-13-S\').4(\'v\').D(\'4-T-13-S\');l 3};$.10($.p.4,{G:7(){8 a=3.6(\'4\');5(!a)l 3;5(!a.G)l 3;8 b=$(3).6(\'4.r\')||$(3.Z==\'X\'?3:s);5(a.G)a.G.H(b[0],[b.I(),$(\'a\',b.6(\'4.9\'))[0]])},F:7(){8 a=3.6(\'4\');5(!a)l 3;5(!a.F)l 3;8 b=$(3).6(\'4.r\')||$(3.Z==\'X\'?3:s);5(a.F)a.F.H(b[0],[b.I(),$(\'a\',b.6(\'4.9\'))[0]])},1f:7(){8 a=3.6(\'4\');5(!a)l 3;5(a.m)l;3.4(\'N\');3.1n().1o().Y(\'.q-\'+a.t).n(\'9-4-M\')},N:7(){8 a=3.6(\'4\');5(!a)l 3;5(a.m)l;a.q.1W().Y(\'.q-\'+a.t).D(\'9-4-1q\').D(\'9-4-M\')},v:7(){8 a=3.6(\'4\');5(!a)l 3;3.4(\'N\');5(a.o){a.o.6(\'4.r\').R(\'L\',\'L\');a.o.1n().1o().Y(\'.q-\'+a.t).n(\'9-4-1q\')}B $(a.u).1r(\'L\');a.A[a.m||a.1Y?\'1i\':\'1Z\']();3.20()[a.m?\'n\':\'D\'](\'9-4-1e\')},w:7(a){8 b=3.6(\'4\');5(!b)l 3;5(b.m)l;b.o=s;5(E a!=\'1s\'){5(E a==\'19\')l $(b.C[a]).4(\'w\');5(E a==\'1j\')$.W(b.C,7(){5($(3).6(\'4.r\').I()==a)$(3).4(\'w\')})}B b.o=3[0].Z==\'X\'?3.6(\'4.9\'):(3.22(\'.q-\'+b.t)?3:s);3.6(\'4\',b);3.4(\'v\');8 c=$(b.o?b.o.6(\'4.r\'):s);5(b.1g)b.1g.H(c[0],[c.I(),$(\'a\',b.o)[0]])},m:7(a,b){8 c=3.6(\'4\');5(!c)l 3;c.m=a||a==1s?z:P;5(b)$(c.u).R("Q","Q");B $(c.u).1r("Q");3.6(\'4\',c);3.4(\'v\')},24:7(){3.4(\'m\',z,z)},25:7(){3.4(\'m\',P,P)}});$.p.4.18={A:\'26 27\',15:\'\',x:0,1c:16};$(7(){$(\'r[28=1w].9\').4()})})(1t);',62,134,'|||this|rating|if|data|function|var|star||||||||||||return|readOnly|addClass|current|fn|rater|input|null|serial|inputs|draw|select|split|count|true|cancel|else|stars|removeClass|typeof|blur|focus|apply|val|arguments|length|checked|hover|drain|div|false|disabled|attr|drawn|to|id|spw|each|INPUT|filter|tagName|extend|width|class|be|title|cancelValue||className|options|number|append|mouseout|starWidth|mouseover|readonly|fill|callback|click|hide|string|metadata|applied|document|prevAll|andSelf|value|on|removeAttr|undefined|jQuery|BackgroundImageCache|not|radio|msie|Math|floor|find|css|margin|left|px|catch|live|meta|try|name|unnamed|replace|span|change|window|context|control|before|_|makeArray|form|half|children|body|required|show|siblings|slice|is|execCommand|disable|enable|Cancel|Rating|type|browser'.split('|'),0,{}));(function($){})(jQuery);$('.rate').rating({focus:function(value,link){var tip=$('#rate-tip');tip[0].data=tip[0].data||tip.html();tip.html(link.title||'value: '+value);},blur:function(value,link){var tip=$('#rate-tip');$('#rate-tip').html(tip[0].data||'');},callback:function(value,link){if(value==''){}else{this.form.submit();}}});$('.rating').rating({focus:function(value,link){var tip=$('#rating-tip');tip[0].data=tip[0].data||tip.html();tip.html(link.title||'value: '+value);},blur:function(value,link){var tip=$('#rating-tip');$('#rating-tip').html(tip[0].data||'');}});;var AJAXtip={wait:'<img src="/img/loading_s.gif" height="10" width="10" /> 请稍候...',saving:'正在保存...',eraseReplyConfirm:'确认删除这条回复?',eraseingReply:'正在删除回复...',eraseReply:'你选择的回复已经删除咯～',addingFrd:'正在添加好友...',addFrd:'恭喜恭喜，好友添加成功咯～',addSay:'恭喜恭喜，吐槽成功咯～<br />你可以在时光机里看到自己和好友们的吐槽哟。',error:'呜咕，提交出现了一些问题，请稍候再试...',no_subject:'呜咕，似乎没有这个条目，请检查URL是否正确或者换一个条目关联...'}
function submitTip(){$('#submitBtnO').html('<img src="/img/loading_s.gif" height="10" width="10" align="absmiddle" /> <span class=tip_i>请稍候，正在发送请求</span>');}
function submitError(){$('#submitBtnO').html('<span class="alarm">'+AJAXtip['error']+'</span>');}
function ignoreAllNotify()　{$('#notify_ignore_all').click(function(){$.ajax({type:"GET",url:(this)+'?ajax=1',success:function(html){$("#robot_speech").show();$("#robot_speech_js").hide().html('已经没有新提醒咯');},error:function(html){}});return false;});}
function pushNotify(){$.ajax({type:'get',dataType:'json',cache:false,url:'/json/notify',success:function(json){var count=json.count;if(count>0){$("#robot").fadeIn(300);$("#robot_speech").hide();$("#robot_speech_js").show().html('<span class="rr"><a id="notify_ignore_all" href="/erase/notify/all">[忽略]</a></span> <a id="home_notify" href="/notify?keepThis=false&TB_iframe=true&height=300&width=550" title="电波提醒" class="thickbox_notify new_notify">哔啵哔啵～你有 <span id="notify_count">'+count+'</span> 条新提醒!</a>');}},complete:function(){tb_init('a.thickbox_notify');setTimeout("pushNotify()",20000);ignoreAllNotify();},error:function(){$("#robot").fadeIn(300);$("#robot_balloon").html(AJAXtip['error']);$("#robot").animate({opacity:1},1000).fadeOut(500);}});}
function removeListItem(btn_dom,item_prefix,tip_confirm,tip_ing,tip_done){$(btn_dom).click(function(){if(confirm(tip_confirm)){var tml_id=$(this).attr('id').split('_')[1];$("#robot").fadeIn(500);$("#robot_speech").hide();$("#robot_speech_js").show().html('<img src="/img/loading_s.gif" height="10" width="10" /> 请稍候，'+tip_ing+'...');$.ajax({type:"GET",url:this+'?ajax=1',success:function(html){$(item_prefix+''+tml_id).fadeOut(500);$("#robot_speech_js").html(tip_done);$("#robot").animate({opacity:1},1000).fadeOut(500);setTimeout(function(){$("#robot_speech_js").hide(300);$("#robot_speech").show(300);},1500);},error:function(html){$("#robot_speech_js").html(AJAXtip['error']);$("#robot").animate({opacity:1},1000).fadeOut(500);}});}
return false;});}
(function($){$.fn.konami=function(callback,code){if(code==undefined)code="38,38,40,40,37,39,37,39,66,65";return this.each(function(){var kkeys=[];$(this).keydown(function(e){kkeys.push(e.keyCode);if(kkeys.toString().indexOf(code)>=0){$(this).unbind('keydown',arguments.callee);callback(e);}},true);});}})(jQuery);var chiiLib={konami:{init:function(){$(document).konami(function(){window.location.href='/FollowTheRabbit';});}},home:{init:function(){if(CHOBITS_UID>0){pushNotify();window.setInterval(function(){$("#robot_speech_js > a.new_notify").toggleClass('notify');},800);ignoreAllNotify();}}},user_index:{init:function(){$("a.ico_del").hide();$(".tml_item").mouseover(function(){$('a.ico_del',this).show();}).mouseout(function(){$('a.ico_del',this).hide();});removeListItem('a.idx_clt_del','#item_','确认取消收藏该目录？','取消收藏','你选择的目录收藏已经解除咯～');}},notify:{init:function(){var $nt_list=$('#comment_list'),$nt_item=$nt_list.find('div.tml_item'),$nt_link=$nt_list.find('a.nt_link'),$nt_del=$nt_list.find("a.nt_del"),$nt_del_all=$("#del_all"),$nt_del_notif=$nt_list.find('a.nt_del_notify'),$nt_ok_notif=$nt_list.find('a.nt_ok_notify'),$cur_count=self.parent.$('#notify_count').html(),$window=self.parent;var updateNotifyCount=function(count){var new_count=$cur_count-count;if(new_count<=0){$window.$('#notify_count').html(0);$window.$('#home_notify').removeClass('new_notify').removeClass('notify');$window.tb_remove();$window.$("#robot_speech").html('已经没有新提醒咯');$window.$("#robot").animate({opacity:1},1000).fadeOut(500);}else{$window.$('#notify_count').html(new_count);}}
$nt_link.click(function(){var nt_id=$(this).attr('class').split('_')[2];var count=$('.notify_'+nt_id).length;$.ajax({type:"GET",url:'/erase/notify/'+nt_id+'?ajax=1',success:function(html){updateNotifyCount(count);$('.notify_'+nt_id).fadeOut(300);},error:function(html){}});});$nt_del.click(function(){var nt_id=$(this).attr('id').split('_')[1];var count=$('.notify_'+nt_id).length;$.ajax({type:"GET",url:(this)+'?ajax=1',success:function(html){updateNotifyCount(count);$('.notify_'+nt_id).fadeOut(300);},error:function(html){}});return false;});$nt_del_all.click(function(){$.ajax({type:"GET",url:(this)+'?ajax=1',success:function(html){$('#comment_list').fadeOut(300);updateNotifyCount($cur_count);},error:function(html){}});return false;});$nt_del_notif.click(function(){var nt_id=$(this).attr('id').split('_')[1];var count=$('.notify_'+nt_id).length;var new_count=$cur_count-count;if(new_count<=0){var new_count=0}
self.parent.$('#notify_count').html(new_count);if(new_count<=0){$('#home_notify').removeClass('new_notify').removeClass('notify');}
$.ajax({type:"GET",url:(this)+'?ajax=1',success:function(html){$('.notify_'+nt_id).fadeOut(300);},error:function(html){}});return false;});$nt_ok_notif.click(function(){var nt_id=$(this).attr('id').split('_')[1];var count=$('.notify_'+nt_id).length;var new_count=$cur_count-count;if(new_count<=0){var new_count=0}
self.parent.$('#notify_count').html(new_count);if(new_count<=0){$('#home_notify').removeClass('new_notify').removeClass('notify');}
$.ajax({type:"GET",url:(this)+'&ajax=1',success:function(html){$('.notify_'+nt_id).fadeOut(300);},error:function(html){}});return false;});}},topic_history:{init:function(){$.ajaxSetup({cache:true});$.getScript("/min/g=ui",function(){setTimeout(function(){$(document).ready(function(){lastVal=totHistory;$("#slider").slider({value:totHistory,min:1,max:totHistory,animate:true,slide:function(event,ui){if(lastVal>ui.value){$(buildQ(lastVal,ui.value)).hide('fast').find('.subreply_textarea').remove();}else if(lastVal<ui.value){$(buildQ(lastVal,ui.value)).show('fast');}
lastVal=ui.value;}});});var positions=playback.split(',');var lastVal;function buildQ(from,to){if(from>to){var tmp=to;to=from;from=tmp;}
from++;to++;var query='';for(var i=from;i<to;i++){if(i!=from)query+=',';query+='#post_'+positions[i-1];if(from_o>to_o){var current='#post_'+positions[i-2];var pre='#post_'+positions[i-1];}else{var current='#post_'+positions[i-1];var pre='#post_'+positions[i-2];}
$(pre).removeClass('reply_highlight');$(current).addClass('reply_highlight');}
return query;}
$(function(){var top=$('#sliderContainer').offset().top,width=$('#sliderContainer').width();$(window).scroll(function(){$(document).scrollTop()>top?$('#sliderContainer').addClass('sticky').css('width',width):$('#sliderContainer').removeClass('sticky').css('width','auto');});});},100);$.ajaxSetup({cache:false});});}}}
$().ready(function(){$("#ModifyTopicForm").validate({rules:{title:"required",content:"required"},messages:{title:"请填写标题",content:"<br />请填写正文内容"},submitHandler:function(form){submitTip();form.submit();}});$("#ModifyReplyForm").validate({rules:{content:"required"},messages:{content:"<br />请填写回复内容"},submitHandler:function(form){submitTip();form.submit();}});$("#newTopicForm").validate({rules:{title:"required",content:"required"},messages:{title:"请填写标题",content:"<br />请填写正文内容"},submitHandler:function(form){submitTip();form.submit();}});$("#editTopicForm").validate({rules:{title:"required",content:"required"},messages:{title:"请填写标题",content:"<br />请填写正文内容"},submitHandler:function(form){submitTip();form.submit();}});$("#ReplyForm").validate({rules:{content:"required"},messages:{content:"<br />请填写回复内容"}});$("#pmReplyForm").validate({rules:{msg_body:"required"},messages:{msg_body:"<br />请填写回复内容"},submitHandler:function(form){submitTip();form.submit();}});$("#SayFrom").validate({rules:{say_input:"required"},messages:{say_input:"<br />请填写吐槽内容"},submitHandler:function(form){submitTip();form.submit();}});$("#loginForm").validate({rules:{password:"required",email:{required:true}},messages:{password:"请输入你的密码",email:"(Email 或 用户名)还没有填写哦"}});$("#signupForm").validate({rules:{nickname:"required",password:"required",password2:{required:true,equalTo:"#password"},email:{required:true,email:true}},messages:{password:"请输入你的密码",email:"请输入一个正确的Email地址",nickname:"请输入你想使用的昵称",password2:{required:"请再次输入你的密码",equalTo:"密码验证失败，请确认两次输入相同"}}});$("#pmForm").validate({rules:{msg_receivers:"required",msg_title:"required",msg_body:"required"},messages:{msg_receivers:"请填写收件人",msg_title:"请填写短信标题",msg_body:"<br />请填写短信正文"},submitHandler:function(form){submitTip();form.submit();}});$("#newGrpForm").validate({rules:{name:"required",title:"required"},messages:{name:"请填写访问地址",title:"请填写小组名称"}});$("#newIndexForm").validate({rules:{title:"required",desc:"required"},messages:{title:"请填写目录名称",desc:"请填写目录介绍"}});});var getObj=function(objId){return document.all?document.all[objId]:document.getElementById(objId);}
var switchDisplay=function(objId){obj=getObj(objId);if(obj.style.display!="block"){obj.style.display="block";}else{obj.style.display="none";}}
function showDiv(objectID){obj=getObj(objectID);if(obj.style.display=="block"){obj.style.display="none";}else{obj.style.display="block";}}
function getbyid(id){if(document.getElementById){return document.getElementById(id);}else if(document.all){return document.all[id];}else if(document.layers){return document.layers[id];}else{return null;}}
function PostTo(subject_id,subject_name,type){if(type=='subject'){document.new_comment.action='/subject/'+subject_id+'/topic/new';}else{document.new_comment.action='/group/'+subject_id+'/topic/new';}
getbyid('subject_name').innerHTML=subject_name;getbyid('rakuen_new_topic').style.display="block";}
function TagSearchIn(tag_chl){document.tagSearch.action='/search/'+tag_chl+'/tag';}
function checkall(form,prefix,checkall){var checkall=checkall?checkall:'chkall';for(var i=0;i<form.elements.length;i++){var e=form.elements[i];if(e.name!=checkall&&(!prefix||(prefix&&e.name.match(prefix)))&&i<20){e.checked=form.elements[checkall].checked;}}}
function seditor_ctlent(event,form_id){if(event.ctrlKey&&event.keyCode==13||event.altKey&&event.keyCode==83){getbyid(form_id).submit.click();}}
function SetTips(value){var tip={cBth:"生日请按照XXXX年XX月XX日来填写，<br />例如1985年7月5日、7月5日。<br />如果不知道该角色生日可留空。",cHi:"身高可使用cm为单位，机体高度以官方单位为准。",cWe:"体重可使用kg为单位，机体高度以官方单位为准。",cBWH:"唔……这个……以B-W-H这样的格式添加好了。",cSmr:"如果介绍为多段，请确认每段开头文字为顶格，系统会自动为首行文字进行缩进。",RegEmail:"我们承诺不会在未经你允许的情况下公开Email地址，也不向任何外部实体和个人透露你的Email地址。<br />你的Email地址的用途限于辨别你的身份和保证在你忘记密码的时候能恢复你在 Chobits 的身份和数据。",RegNick:"昵称是作为你在 Chobits 进行各项活动时显示的名号，昵称是可任意修改的，不必为一时不知如何取名而悲伤。",momo:"……唔……唔……H是不行的<br /><small>(点击那个地方我就可以说话了哟～☆)</small><br />·<a href=\"#;\" class=\"nav\" onclick=\"switchRobotSpeech();\">返回</a>"}
$("#robot_speech").hide();$("#robot_speech_js").hide().html(tip[value]).slideDown();}
function sizeContent(num,objname){var obj=document.getElementById(objname);if(parseInt(obj.rows)+num>=1){obj.rows=parseInt(obj.rows)+num;}
if(num>0){obj.width="90%";}}
function AddMSGreceiver(nickname){var obj=getObj("msg_receivers");obj.value+=nickname+',';}
function GenInterestBox(id){if(id=='wish'){$("#wish").attr("checked",true);$('#interest_rate').hide();}else{$("#"+id).attr("checked",true);$('#interest_rate').show();}}
function MoreElement(type,name,id,classname){var type,orz=document.getElementById(id);var newInput=document.createElement("input");newInput.type=type;newInput.name=name+"[]";newInput.id=name+"[]";newInput.className=classname;orz.appendChild(newInput);var newline=document.createElement("br");orz.appendChild(newline);}
var eraseGrpTopic=function(topicId){if(confirm('确认删除这个主题？')){location.href='/erase/group/topic/'+topicId;}}
var eraseSubjectTopic=function(topicId){if(confirm('确认删除这个主题？')){location.href='/erase/subject/topic/'+topicId;}}
var eraseEntry=function(Id){if(confirm('确认删除这篇日志？')){location.href='/erase/entry/'+Id;}}
var erasePM=function(PmId){if(confirm('确认删除这条短信？')){location.href='/pm/erase/'+PmId+'.chii';}}
var disconnectFriend=function(frdId,frdNick){if(confirm('确认从朋友列表中去掉'+frdNick+'?')){location.href='/disconnect/'+frdId;}}
$(document).ready(function(){if(SHOW_ROBOT==1){$("#robot").show();$('#showrobot').html('隐藏春菜 ▼');}else{if(!$.cookie('robot')){$("#robot").hide();$('#showrobot').html('显示春菜 ▲');}else{$("#robot").show();$('#showrobot').html('隐藏春菜 ▼');}}
$('#showrobot').click(function(){if($('#robot').is(':hidden')){$(this).html('隐藏春菜 ▼');$.cookie('robot','show');$("#robot").fadeIn(500);}else{$(this).html('显示春菜 ▲');$.cookie('robot','',{expires:-1});$("#robot").fadeOut(500);}
$(this).blur();});if($('#subject_summary').height()<250){$('#show_summary').hide();}
$('#show_summary').click(function(){if($('#subject_summary').hasClass('subject_summary')!=true){$(this).html('more...');$("#subject_summary").removeClass('subject_summary_all').addClass('subject_summary').hide().fadeIn(500);}else{$(this).html('X close');$("#subject_summary").removeClass('subject_summary').addClass('subject_summary_all').hide().fadeIn(500);}
$(this).blur();});var currentSign=function(mode){var _Sign=$('#current_sign').attr("value");if(_Sign==''&&mode=='check'){return'(编辑个人签名)';}else{return $('#current_sign').attr("value");}}
if($('#q_update_sign')){$("#q_sign_input").addClass('pointer').html(currentSign('check'));}
$('#q_sign_input').click(function(){if($('#q_sign_input').hasClass('sign')!=true){$('#q_sign_input').html('<form id="signfrom" action="/update/user/sign" method="post"><input id="sign_input" name="sign_input" type="text" class="sign_input" value="'+currentSign('input')+'" maxlength="30" /><input class="inputBtn" value="修改" type="submit"> <a href="javascript:void(0)" id="cancelSign" class="l">x</a></form>');$(this).removeClass('pointer').addClass('sign');$("#sign_input").focus();$('#signfrom').submit(function(){var new_sign=$('#sign_input').attr('value');$.ajax({type:"POST",url:"/update/user/sign?ajax=1",data:({sign_input:new_sign}),dataType:'text',success:function(html){if(new_sign!=""){$("#q_sign_input").addClass('pointer').removeClass('sign').fadeOut(300).fadeIn(100).html(new_sign);$('#current_sign').val(new_sign);}else{$("#q_sign_input").addClass('pointer').removeClass('sign').fadeOut(300).fadeIn(100).html('(编辑个人签名)');$('#current_sign').val('');}},error:function(html){$("#robot").fadeIn(300);$("#robot_balloon").html(AJAXtip['error']);$("#robot").animate({opacity:1},1000).fadeOut(500);}});return false;});$('#cancelSign').mousedown(function(){$('#q_sign_input').addClass('pointer').html(currentSign('check'));$('#q_sign_input').removeClass('sign');});}});if(typeof EpBtn=='undefined'||EpBtn!='s'){replyTml();$("a.tml_del").hide();$(".tml_item").mouseover(function(){var tml_id=$(this).attr('id').split('_')[1];$('a.tml_del',this).show();}).mouseout(function(){$('a.tml_del',this).hide();});$('a.tml_del').click(function(){if(confirm('确认删除这条时间线？')){var tml_id=$(this).attr('id').split('_')[1];$("#robot").fadeIn(500);$("#robot_speech").hide();$("#robot_speech_js").show().html('<img src="/img/loading_s.gif" height="10" width="10" /> 请稍候，正在删除时间线...');$.ajax({type:"GET",url:this+'?ajax=1',success:function(html){$('#tml_'+tml_id).fadeOut(500);$("#robot_speech_js").html('你选择的时间线已经删除咯～');$("#robot").animate({opacity:1},1000).fadeOut(500);},error:function(html){$("#robot_speech_js").html(AJAXtip['error']);$("#robot").animate({opacity:1},1000).fadeOut(500);}});}
return false;});$('a.tb_idx_rlt').click(function(){var $rlt_id=$(this).attr('id').split('_')[1],$order=$(this).attr('order'),$content=$(this).parent().parent().find('div.text').text().trim();$('#ModifyRelatedForm').attr('action','/index/related/'+$rlt_id+'/modify');$('#modify_order').attr('value',$order);$('#modify_content').attr('value',$content);return false;});$('a.erase_idx_rlt').click(function(){if(confirm('确认删除该关联条目？')){var tml_id=$(this).attr('id').split('_')[1];$("#robot").fadeIn(500);$("#robot_speech").hide();$("#robot_speech_js").show().html('<img src="/img/loading_s.gif" height="10" width="10" /> 请稍候，正在删除关联条目...');$.ajax({type:"GET",url:this+'?ajax=1',success:function(html){$('#item_'+tml_id).fadeOut(500);$("#robot_speech_js").html('你选择的关联条目经删除咯～');$("#robot").animate({opacity:1},1000).fadeOut(500);setTimeout(function(){$("#robot_speech_js").hide(300);$("#robot_speech").show(300);},1500);},error:function(html){$("#robot_speech_js").html(AJAXtip['error']);$("#robot").animate({opacity:1},1000).fadeOut(500);}});}
return false;});$('a.photo_del').click(function(){if(confirm('确认删除这张照片?')){var photo_id=$(this).attr('id').split('_')[2];$('#upload_'+photo_id).remove();}
return false;});eraseRelatedSubject();}
$('#submit_related_subject').click(function(){var $add_rs=$('#add_related_subject'),$subject_url=$add_rs.attr('value'),$relate_list=$('#related_subject_list'),$relate_value_list=$('#related_value_list');if($subject_url!=''){if(/\/subject\/(\d+)$/.test($subject_url)){}else if(/^(\d+)$/.test($subject_url)){}
var subject_id=RegExp.$1;$.ajax({type:"GET",url:"/json/subject/"+subject_id,dataType:'json',success:function(json){var n=$relate_list.find('li').length;if(json.subject_id!=""&&!$('#related_'+json.subject_id).length&&n<=4){if(json.subject_image!=''){var img='<img src="/pic/cover/g/'+json.subject_image+'" class="avatar groupImage space ll">';}
$relate_list.append('<li id="related_'+json.subject_id+'" class="clearit"><a id="related_del_'+json.subject_id+'" class="related_del" title="删除关联条目" href="javascript:void(0);">删除关联条目</a><a href="/subject/'+json.subject_id+'" title="'+json.subject_name+'" class="avatar ">'+img+'</a><div class="ll"><a href="/subject/'+json.subject_id+'" class="avatar">'+json.subject_name+'</a></div></li>');$relate_value_list.append('<input id="related_value_'+json.subject_id+'" type="hidden" name="related_subject[]" value="'+json.subject_id+'" />');$add_rs.val('');eraseRelatedSubject();}},error:function(html){$("#robot").fadeIn(300);$("#robot_balloon").html(AJAXtip['no_subject']);$("#robot").animate({opacity:1},1000).fadeOut(500);}});}});$('#connectFrd').click(function(){$("#robot").fadeIn(500);$("#robot_balloon").html(AJAXtip['wait']+AJAXtip['addingFrd']);$.ajax({type:"GET",url:this+'?ajax=1',success:function(html){$('#connectFrd').hide();$('#friend_flag').html('<small class="fade">/ 是我的好友</small>');$("#robot_balloon").html(AJAXtip['addFrd']);$("#robot").animate({opacity:1},1000).fadeOut(500);},error:function(html){$("#robot_balloon").html(AJAXtip['error']);$("#robot").animate({opacity:1},1000).fadeOut(500);}});return false;});$('#ukagaka_voice').click(function(){var voice_str='<object width="1" height="1"><param name="movie" value="/img/ukagaka_voice/ukagaka_voice.swf"></param><param name="loop" value="0"></param><param name="allowscriptaccess" value="always"></param><param name="wmode" value="transparent"></param><embed src="/img/ukagaka_voice/ukagaka_voice.swf" type="application/x-shockwave-flash" allowscriptaccess="always" loop="0" wmode="transparent" width="1" height="1"></embed></object>';$('#ukagaka_voice').html(voice_str);});$('#ukagaka_menu').click(function(){$("#robot_speech").hide();$("#robot_speech_js").hide().html('有什么可以为您服务的呢？<ul><li><span>◇ <a href="javascript:void(0);" id="openTsukkomi" class="nav">我要吐槽</a></span></li><li>◆ <a href="/pm/compose.chii" class="nav">发短信</a></li><li>◇ <a href="javascript:void(0);" id="openTyokyo" class="nav">调教</a></li><li>◇ <a href="/settings/ukagaka" class="nav">设置春菜</a></li><li>◆ <a href="javascript:void(0);" class="nav" onclick="switchRobotSpeech();">返回</a></li></ul>').slideDown();$('#openTyokyo').click(function(){$("#robot_speech_js").hide().html('调教我需要进入尚在测试阶段的Chobits Terminal，并可能在得知我的对话内容后失去未知的乐趣，您确定要继续么？<ul class="clearit"><li>◆ <a href="javascript:void(0);" class="nav" onclick="switchRobotSpeech();">还是算了</a></li><li>&nbsp;</li><li>&nbsp;</li><li><span>◇ <a href="/terminal" id="openTsukkomi" class="nav">我要继续!</a></span><br /></li></ul>').slideDown();});$('#openTsukkomi').click(function(){$("#robot_speech_js").html('<div class="tsukkomi clearit"><form id="TsukkomiFrom" name="TsukkomiFrom" action="/update/user/say" method="post"><textarea id="say_input" class="quick" rows="2" cols="45" name="say_input" style="width:96%;height:60px;" onkeyup="checkTsukkomiInput(\'say_input\', \'Tsukkomi_status\');" onkeydown="seditor_ctlent(event,\'TsukkomiFrom\');"></textarea><div id="Tsukkomi_status" class="ll"><small class="grey">还可以输入123 字</small></div><input class="rr inputBtnSmall" value="Update" type="submit" name="submit"></form></div>');$("#say_input").focus();$('#TsukkomiFrom').submit(function(){var new_say=$('#say_input').val();if(new_say!=''){$("#robot_speech_js").html(AJAXtip['wait']+AJAXtip['saving']);$.ajax({type:"POST",url:"/update/user/say?ajax=1",data:({say_input:new_say}),dataType:'text',success:function(html){$("#robot_speech_js").html(AJAXtip['addSay']).animate({opacity:1},1000);},error:function(html){$("#robot_speech_js").html(AJAXtip['error']);}});}else{$("#say_input").animate({marginLeft:"5px"},50).animate({marginLeft:"0",marginRight:"5px"},50).animate({marginRight:"0",marginLeft:"5px"},50).animate({marginLeft:"0",marginRight:"5px"},50);}
return false;});});return false;});$('#ReplyFormEp').submit(function(){var ep_id=$(this).attr('name').split('_')[0];alert(ep_id);return false;});$('#browserTypeSelector a').click(function(){var selector=$(this).attr('id'),$browserList=$('#browserItemList'),$item=$browserList.find('img.cover');$('#list_selector').removeClass();$('#full_selector').removeClass();$('#grid_selector').removeClass();$(this).addClass('active');$browserList.removeClass();if(selector=='list_selector'){$.cookie('list_display_mode','list');$browserList.addClass('browserList');$item.each(function(){_src=$(this).attr('src').replace(/cover\/([a-z]+)\//g,'/cover/g/');$(this).attr('src',_src);});}else if(selector=='full_selector'){$.cookie('list_display_mode','full');$browserList.addClass('browserFull');$item.each(function(){_src=$(this).attr('src').replace(/cover\/([a-z]+)\//g,'/cover/s/');$(this).attr('src',_src);});}else{$.cookie('list_display_mode','grid');$browserList.addClass('browserGrid clearit');$item.each(function(){_src=$(this).attr('src').replace(/cover\/([a-z]+)\//g,'/cover/m/');$(this).attr('src',_src);});}});$('#selectall').click(function(){var checked=$("#selectall").attr("checked");$(".selectable").each(function(){var subchecked=$(this).attr("checked");if(subchecked!=checked)
$(this).click();});});$('a.erase_post').click(function(){if(confirm(AJAXtip['eraseReplyConfirm'])){var post_id=$(this).attr('id').split('_')[1];$("#robot").fadeIn(500);$("#robot_balloon").html(AJAXtip['wait']+AJAXtip['eraseingReply']);$.ajax({type:"GET",url:(this)+'?ajax=1',success:function(html){$('#post_'+post_id).fadeOut(500);$("#robot_balloon").html(AJAXtip['eraseReply']);$("#robot").animate({opacity:1},1000).fadeOut(500);},error:function(html){$("#robot_balloon").html(AJAXtip['error']);$("#robot").animate({opacity:1},1000).fadeOut(500);}});}
return false;});$('#ReplyForm').submit(function(){var message=$('#content').val(),$author=$('span.reply_author').html(),$avatar=$('span.reply_avatar').html();var classcss='light_odd clearit';if(message!=''){submitTip();$.ajax({type:"POST",url:$(this).attr('action')+"?ajax=1",data:({content:message}),dataType:'json',success:function(json){$("#comment_list div.clearit:last").each(function(){if(this.className==classcss){classcss='light_even clearit';}
else{classcss='light_odd clearit';}});$('#comment_list').append('<div id="post_'+json.reply_id+'" class="'+classcss+'"><div class="re_info"><small>刚刚</small></div>'+$avatar+'<strong>'+$author+'</strong><div class="reply_content"><div class="message">'+json.reply_content+'</div></div></div>');$('#content').val('');$('#post_'+json.reply_id).hide().fadeIn(900);$('#submitBtnO').html('<input class="inputBtn" value="写好了" name="submit" type="submit"> <span class="tip">使用Ctrl+Enter或Alt+S快速提交</span>');},error:function(html){submitError();}});}
return false;});});function eraseRelatedSubject(){$('a.related_del').click(function(){if(confirm('确认解除关联?')){var related_id=$(this).attr('id').split('_')[2];$('#related_'+related_id).remove();$('#related_value_'+related_id).remove();}
return false;});}
function replyTml(){var $tml_list=$('#timeline'),$tml_item=$tml_list.find('li.tml_item'),$tml_reply=$tml_list.find("a.tml_reply");$tml_reply.hide();$tml_item.mouseover(function(){$('a.tml_reply',this).show();}).mouseout(function(){$('a.tml_reply',this).hide();});$tml_reply.click(function(){var replyTo=$(this).html();$('#SayInput').val(replyTo+' ').focus();return false;});}
var checkTsukkomiInput=function(doing,status){obj1=getObj(doing);remain=123-obj1.value.length;obj2=getObj(status);if(obj1.value.length<=122){obj2.innerHTML='<small class="grey">还可以输入'+remain+' 字</small>';}else{remain2=obj1.value.length-123;obj2.innerHTML='<small class="na">还可以输入0 字</small>';obj1.value=obj1.value.substring(0,123);}}
function switchRobotSpeech(){if($('#robot_speech').is(':hidden')){$("#robot_speech_js").hide();$("#robot_speech").slideDown();}else{$("#robot_speech").hide();$("#robot_speech_js").slideDown();}}
function addTag(tag){$("#tags").val($("#tags").val()+" "+tag+" ");checkTag();}
function checkTag(){input_tag="";cur_tags=new Array();tags=$.trim($("#tags").val()).split(" ");for(i=0;i<tags.length;i++){if($.trim(tags[i])!=""){if($.inArray(tags[i],cur_tags)==-1){cur_tags[i]=tags[i];input_tag=input_tag+" "+tags[i];}}}
$("#tags").val(input_tag+" ");}
$(document).ready(function(){$("#tags").keyup(function(event){if(event.keyCode==32){checkTag();}});});if(typeof EpBtn=='undefined'||EpBtn!='s'){$(function(){$('.bubbleInfo').each(function(){var distance=10;var time=100;var hideDelay=100;var hideDelayTimer=null;var beingShown=false;var shown=false;var trigger=$('.trigger',this);var popup=$('.popup',this).css('opacity',0);$([trigger.get(0),popup.get(0)]).mouseover(function(){if(hideDelayTimer)clearTimeout(hideDelayTimer);if(beingShown||shown){return;}else{beingShown=true;popup.css({top:-20,left:0,display:'block'}).animate({top:'-='+distance+'px',opacity:1},time,'swing',function(){beingShown=false;shown=true;});}}).mouseout(function(){if(hideDelayTimer)clearTimeout(hideDelayTimer);hideDelayTimer=setTimeout(function(){hideDelayTimer=null;popup.animate({top:'-='+distance+'px',opacity:0},time,'swing',function(){shown=false;popup.css('display','none');});},hideDelay);});});});}
var _tipPrev=new Object();$(document).ready(function(){if($.browser.msie){$('#columnHomeA,#subject_detail').mousemove(function(e){if(e.target.tagName!='A'){return false;}
if(_tipPrev==e.target){return false;}
_tipPrev=e.target;$(e.target).cluetip({local:true,dropShadow:false,cursor:'pointer',sticky:true,closePosition:'title',arrows:true,closeText:'X',mouseOutClose:true,positionBy:'fixed',topOffset:25,leftOffset:0,onShow:function(ct,c){$('#cluetip-inner a.ep_status').bind('click',function(e){epStatusClick(e.target);return false;});}}).trigger('mouseover');return false;});}else{$('#columnHomeA a.load-epinfo,#subject_detail a.load-epinfo').cluetip({local:true,dropShadow:false,cursor:'pointer',sticky:true,closePosition:'title',arrows:true,closeText:'X',mouseOutClose:true,positionBy:'fixed',topOffset:25,leftOffset:0});$('#subject_prg_content a.ep_status').click(function(){epStatusClick(this);return false;});}
function epStatusClick(target){var self=$(target);var ep_status=self.attr('id').split('_')[0];var ep_id=self.attr('id').split('_')[1];var ep_status_name=target.text;if(EpBtn=='s'){_btn='s';}else{_btn='';}
var params=new Object();if(ep_status=='Watched'){var epLi=$('#prg_'+ep_id).parent();var epUlLis=epLi.parent().children();var epAs=epUlLis.children();var subject_id=epAs.attr('subject_id');var epLiIndex=epUlLis.index(epLi);var ids=new Array();for(var i=0;i<=epLiIndex;i++){ids[i]=epAs[i].id.split('_')[1];}
params['ep_id']=ids.toString();if(EpBtn=='s'&&OtherEps[subject_id]!=undefined){params['ep_id']=OtherEps[subject_id]+','+params['ep_id'];}}
$("#robot").fadeIn(500);$("#robot_balloon").html(AJAXtip['wait']+'正在为你保存收视进度...');$.ajax({type:"POST",url:target+'?ajax=1',data:params,success:function(html){if(ep_status=='remove'){$('a#prg_'+ep_id).removeClass().addClass('load-epinfo').addClass(_btn+'epBtnAir');$('a#epBtnCu_'+ep_id).html('').removeClass('epBtnCu');}else{$('a#prg_'+ep_id).removeClass().addClass('load-epinfo').addClass(_btn+'epBtn'+ep_status);if(ep_status=='Watched'){epAs.slice(0,epLiIndex+1).filter(function(index){return $(this).attr('class').indexOf('epBtnDrop')==-1;}).removeClass().addClass('load-epinfo').addClass(_btn+'epBtn'+ep_status);if(epAs.filter('.'+_btn+'epBtnWatched,.'+_btn+'epBtnDrop').length==epUlLis.length){location.href="";}}}
$("#robot_balloon").html('恭喜恭喜，观看状态已设置为 '+ep_status_name+'  咯～');$("#robot").animate({opacity:1},1000).fadeOut(500);},error:function(html){$("#robot_balloon").html(AJAXtip['error']);$("#robot").animate({opacity:1},1000).fadeOut(500);}});}});var nowmode="wcode";var head;var infoboxVal=new Object();var infoboxid;function WikiTpl(value){if(arguments.length==2){_infoboxid=arguments[1];}else{_infoboxid='subject_infobox';}
infoboxid='#'+_infoboxid;var tpl={TVAnime:"{{Infobox animanga/TVAnime\n|中文名= \n|别名= {\n\n}\n|话数= * \n|放送开始= * \n|放送星期=\n|原作=\n|导演=\n|监修=\n|官方网站=\n|企画=\n|系列构成=\n|脚本=\n|分镜=\n|演出=\n|人物原案=\n|人物设定= \n|作画监督= \n|机械设定= \n|美术监督= \n|色彩设计= \n|摄影监督= \n|音响监督= \n|音乐= \n|音乐制作= \n|动画制作= \n|制作= \n|播放电视台=\n|其他电视台= \n|播放结束= \n|其他= \n|Copyright=\n}}",OVA:"{{Infobox animanga/OVA\n|中文名= \n|别名= {\n\n}\n|话数= * \n|发售日= * \n|原作= \n|导演= \n|官方网站=\n|企画= \n|系列构成= \n|脚本= \n|分镜= \n|演出= \n|人物原案= \n|人物设定= \n|作画监督= \n|机械设定= \n|美术监督= \n|色彩设计= \n|摄影监督= \n|音响监督= \n|音乐= \n|动画制作= \n|制作= \n|开始= \n|结束= \n|其他= \n}}",Movie:"{{Infobox animanga/Movie\n|中文名= \n|别名= {\n\n}\n|导演= * \n|编剧= * \n|上映年度= * \n|片长= \n|原作=\n|官方网站=\n|企画=\n|脚本=\n|分镜=\n|演出=\n|人物设定=\n|作画监督=\n|机械设定=\n|音乐=\n|其他= \n|Copyright= \n}}",Manga:"{{Infobox animanga/Manga\n|中文名= \n|别名= {\n\n}\n|作者= * \n|出版社= *\n|价格=\n|作画= \n|其他出版社= \n|连载杂志= \n|发售日= \n|页数=\n|话数= \n|ISBN= \n|其他= \n}}",Novel:"{{Infobox animanga/Novel\n|中文名= \n|别名= {\n\n}\n|作者= * \n|译者=*\n|出版社= * \n|价格=\n|插图= \n|连载杂志= \n|发售日= \n|页数=\n|话数= \n|ISBN= \n|其他= \n}}",BookSeries:"{{Infobox animanga/BookSeries\n|中文名= \n|别名= {\n\n}\n|作者= * \n|插图= \n|出版社= * \n|连载杂志= \n|开始= \n|结束= \n|册数= \n|其他= \n}}",Album:"{{Infobox Album\n|中文名=\n|别名= {\n\n}\n|版本特性= \n|艺术家= \n|发售日期= \n|价格= \n|播放时长= \n|制作人= \n|发行方= \n|录音= \n|碟片数量= \n}}",Game:"{{Infobox Game\n|中文名=\n|别名= {\n\n}\n|平台=\n|游戏类型=\n|游戏开发商=\n|游戏出版商=\n|发行商=\n|游戏设计师=\n|游戏引擎=\n|游玩人数=\n|发行日期=\n|售价=\n|website=\n}}",TV:"{{Infobox real/Television\n|中文名=\n|别名= {\n\n}\n|集数=\n|放送星期=\n|开始=\n|结束=\n|类型=\n|原作=\n|导演=\n|编剧=\n|主演=\n|配音=\n|旁白=\n|主题曲=\n|片头曲=\n|片尾曲=\n|作曲=\n|国家/地区=\n|语言=\n|执行制片=\n|制片人=\n|监制=\n|副制片人=\n|共同制片人 =\n|编审=\n|剪辑=\n|外景=\n|机位=\n|每集长=\n|频道=\n|电视网=\n|电视台=\n|视频制式=\n|音频制式=\n|首播国家=\n|首播地区=\n|台湾名称=\n|港澳名称=\n|马新名称=\n|官方网站=\n|imdb_id=\n|tv_com_id=\n}} ",Crt:"{{Infobox Crt\n|简体中文名=\n|别名={\n[第二中文名|]\n[英文名|]\n[日文名|]\n[纯假名|]\n[罗马字|]\n[昵称|]\n}\n|性别=\n|生日=\n|祭日=\n|血型=\n|身高=\n|体重=\n|BWH=\n|引用来源={\n}\n}}"}
NormaltoWCODE();var preInfoboxVal=WCODEParse($(infoboxid).val());for(var i in preInfoboxVal){infoboxVal[i]=preInfoboxVal[i];}
var newInfobox=WCODEParse(tpl[value]);for(var i in newInfobox){if(infoboxVal[i]!=undefined){if((typeof infoboxVal[i])=='object'){for(var j in infoboxVal[i]){newInfobox[i][j]=infoboxVal[i][j];}}else{newInfobox[i]=infoboxVal[i];}}}
newInfobox=WCODEDump(newInfobox);$(infoboxid).val(newInfobox);$(infoboxid).css('height:150px');if((typeof wikiDisableNormalMode=='undefined')||wikiDisableNormalMode==false){WCODEtoNormal();}
multiKeyRegDel();stopEnterSubmit();}
function WCODEParse(input){array=new Array();foo=input.split("\n");head="";for(i=0;i<foo.length;i++){line=foo[i];if(line.substr(0,1)==="{"){head=head+line+"\n";}else if(line.indexOf("=")!=-1){key=$.trim((line.substr(1,line.indexOf("=")-1)));line=$.trim(line);value=null;if(/=\s*{$/.test(line)){i++;line=foo[i];line=$.trim(line);value=new Object();var subKey=0;var valArr=new Array();while(i<foo.length&&!/^}$/.test(line)&&!/^\|/.test(line)){if(/^\[(.+)\]$/.test(line)){var subVal=RegExp.$1;if(/^([^|]+)[|](.*)$/i.test(subVal)){value[RegExp.$1]=RegExp.$2.replace(/\\\|/g,'|');}else{value[subKey]=subVal.replace(/\\\|/g,'|');subKey++;}}
i++;line=foo[i];line=$.trim(line);}
line=$.trim(line);}else{value=$.trim((line.substr(line.indexOf("=")+1)));}
array[key]=value;}}
return array;}
function WCODEDump(array){string="";string=string+head;for(id in array){value=array[id];if((id!==0)&&($.trim(id)!=="")){if((typeof value)=='object'){string+="|"+id+"={\n";for(var eKey in value){if(!isNaN(eKey)&&$.trim(value[eKey])==''){continue;}
if(isNaN(eKey)){string+="["+$.trim(eKey)+'|'+value[eKey].replace(/\|/g,'\\|')+"]\n";}else{string+="["+value[eKey].replace(/\|/g,'\\|')+"]\n";}}
string+="}\n";}else if((value.indexOf("\n")==-1)||(value.indexOf("=")==-1)||(value.indexOf("-")==-1)){string=string+"|"+id+"= "+value+"\n";}}}
string=string+"}}";return string;}
function WCODEtoNormal(){if(nowmode=="wcode"){$(infoboxid).hide();$("#infobox_normal").html("");wcode=$(infoboxid).val();info=WCODEParse(wcode);for(id in info){if((typeof info[id])=='object'){var multiInfo='<input class="inputtext id multiKey"  tabindex="1024" value="'+id+'" /><input class="inputtext prop multiVal"  readonly="true" onclick="addSubProp(this);" value="点此增加输入框:" /><br clear="all" />';for(var eKey in info[id]){if(isNaN(eKey)){var subkey=eKey.replace(/"/g,'&quot;');}else{var subkey='';}
multiInfo+='<input class="inputtext id multiSubKey"  tabindex="1024" value="'+subkey+'" /><input class="inputtext prop multiSubVal" value="'+info[id][eKey].replace(/"/g,'&quot;')+'" /><input type="button"  tabindex="-1" class="multiKeyDel" /><br clear="all" />';}
$("#infobox_normal").append(multiInfo);}else{$("#infobox_normal").append('<input class="inputtext id" style="background:#eee;" tabindex="1024" value="'+id+'" /><input class="inputtext prop" value="'+info[id].replace(/"/g,'&quot;')+'" /><br clear="all" />');}}
$("#infobox_normal").append('<input class="inputtext id" value="" onfocus="addoneprop();" /><input class="inputtext prop" value="" onfocus="addoneprop();" /><br clear="all" />');nowmode="normal";$("#infobox_normal").show();}}
function NormaltoWCODE(){if(nowmode=="normal"){$("#infobox_normal").hide();nowmode="normal";info=new Array();ids=new Object();props=new Object();input_num=$("#infobox_normal input.id").length;ids=$("#infobox_normal input.id");props=$("#infobox_normal input.prop");for(i=0;i<input_num;i++){id=$(ids).get(i);prop=$(props).get(i);if($(id).hasClass('multiKey')){multiKey=$(id).val();info[multiKey]=new Object();var subKey=0;i++;id=$(ids).get(i);prop=$(props).get(i);while(($(id).hasClass('multiSubKey')||$(prop).hasClass('multiSubVal'))&&i<input_num){if(isNaN($(id).val())){info[multiKey][$(id).val()]=$(prop).val();}else{info[multiKey][subKey]=$(prop).val();subKey++;}
i++;id=$(ids).get(i);prop=$(props).get(i);}
i--;}else if($.trim($(id).val())!=""){info[$(id).val()]=$(prop).val();}}
wcode=WCODEDump(info);$(infoboxid).val(wcode);nowmode="wcode";$(infoboxid).show();}}
function addSubProp(obj){$(obj).next().after('<input class="inputtext id multiSubKey"  tabindex="1024" value="" /><input class="inputtext prop multiSubVal" value="" /><input type="button"  tabindex="-1" class="multiKeyDel" /><br clear="all" />');$("#infobox_normal > input.multiKeyDel").unbind('click');stopEnterSubmit();multiKeyRegDel();}
function stopEnterSubmit(){var inputList=$("#infobox_normal > input");inputList.unbind('keydown');inputList.keydown(function(event){if(event.keyCode==13){event.preventDefault();return false;}});}
function multiKeyRegDel(){var delButtons=$("#infobox_normal > input.multiKeyDel");delButtons.unbind('click');delButtons.click(function(){var inputList=$("#infobox_normal > *");var index=inputList.index(this);inputList.slice(index-2,index+2).remove();return;});return;}
function addoneprop(){$("#infobox_normal > input").removeAttr("onfocus");$("#infobox_normal").append('<input class="inputtext id" value="" onfocus="addoneprop();" /><input class="inputtext prop" value="" onfocus="addoneprop();" /><br clear="all" />');stopEnterSubmit();}
sfHover=function(){var sfEl=document.getElementById("nav_menu");if(sfEl){var sfEls=document.getElementById("nav_menu").getElementsByTagName("LI");for(var i=0;i<sfEls.length;i++){sfEls[i].onmouseover=function(){this.className+=" sfhover";}
sfEls[i].onmouseout=function(){this.className=this.className.replace(new RegExp(" sfhover\\b"),"");}}}}
if(window.attachEvent)window.attachEvent("onload",sfHover);$(document).ready(function(){var ul=$("#airTimeMenu > li.airYear");if(ul.html()==null){return;}
var anchors=ul.find("a");var increased=0;var tmoutMoveHandle;var tmoutOutHandle;var yearTestRegex=/(\d{4})$/;closeFuture();function tmoutEventMove(target){return setTimeout(function(){var self=$(target);if(self.children().is('ul')){return false;}
$('#airMonthMenuPrev').remove();var prevUl=$('#airMonthMenu');prevUl.attr('id','airMonthMenuPrev');var ul=$("<ul>").attr('id','airMonthMenu');var baseUrl=self.find('a').attr('href');for(var i=1;i<13;i++){ul.append($("<li>").append($("<a>").text(i+'月').attr('href',baseUrl+'-'+i)));}
ul.css('top',self.position().top-50);ul.hide();self.append(ul);self.find('> a').css('color','#02A3FB');ul.fadeIn('slow');prevUl.parent().find('> a').css('color','#444');prevUl.fadeOut('slow',function(){$(this).remove();});},25);}
function tmoutEventOut(){return setTimeout(function(){$('#airMonthMenu').fadeOut('medium',function(){$(this).parent().find('> a').css('color','#444');$(this).remove();},'slow');},618);}
function closeFuture(){var url=anchors[0].href;var date=new Date();yearTestRegex.test(url);if(RegExp.$1>=date.getFullYear()){$("#futureAirTime").css('visibility','hidden');}else{increased=-parseInt((date.getFullYear()-RegExp.$1)/ul.length);}}
ul.mouseout(function(event){clearTimeout(tmoutMoveHandle);clearTimeout(tmoutOutHandle);tmoutOutHandle=tmoutEventOut();return false;});ul.mousemove(function(event){clearTimeout(tmoutOutHandle);clearTimeout(tmoutMoveHandle);tmoutMoveHandle=tmoutEventMove(this);return false;});$("#pastAirTime").click(function(event){updateYearAnchors('-');return false;});$("#futureAirTime").click(function(event){updateYearAnchors('+');return false;});function updateYearAnchors(sign){var url='';var newYear=0;var year=0;sign=='+'?increased++:increased--;date=new Date();if(increased<0){$("#futureAirTime").css('visibility','visible');}else if(increased==0){$("#futureAirTime").css('visibility','hidden');}
anchRoll=function(num){increment=parseInt(sign+1);for(var i=0;i<ul.length;i++){url=anchors[i].href;yearTestRegex.test(url);year=RegExp.$1;newYear=eval(parseInt(year)+increment);url=url.replace(/\d{4}$/,eval(newYear));anchors[i].href=url;anchors[i].innerHTML=anchors[i].innerHTML.replace(/^\d{4}/,newYear);}
if(--num==0){return;}else{setTimeout('anchRoll( '+num+');',40);}}
anchRoll(ul.length);}});$(document).ready(function(){var list=$('div.rr,span.rr').find('a[href$=bye],a[href$=join]');$(list).click(function(){submitPost(this.href,'action','join-bye');return false;});function submitPost(action,key,val){var form=$('<form>').attr('action',action).attr('method','post').append($('<input>').attr('type','hidden').attr('name',key).attr('value',val));$('body').append(form);form.submit();return false;}});$(document).ready(function(){var grpCatList=$('#grpCatList > li');if(grpCatList.html()==null){return false;}
var tmoutMoveHandle;var tmoutOutHandle;function tmoutEventOutGc(target){return setTimeout(function(){var subCat=$(target).find("> ul");grpCatList.find('> ul').each(function(){$(this).hide()});},618);}
function tmoutEventMoveGc(target){return setTimeout(function(){var parent=$(target);var subCat=parent.find("> ul");subCat=$(subCat);grpCatList.find('> ul').each(function(){$(this).hide()});subCat.show();subCat.css('top',parent.position().top-10);subCat.css('left',parent.position().left+parent.find("> a").width()+3);},25);}
grpCatList.mouseout(function(event){clearTimeout(tmoutMoveHandle);clearTimeout(tmoutOutHandle);tmoutOutHandle=tmoutEventOutGc(this);return false;});grpCatList.mousemove(function(event){clearTimeout(tmoutOutHandle);clearTimeout(tmoutMoveHandle);tmoutMoveHandle=tmoutEventMoveGc(this);return false;});});var fetchInPageSubjectID=function(){_subject_id_list='';$(".userContainer strong a.avatar").each(function(){var href=$(this).attr("href").replace(/\/subject\//ig,'');_subject_id_list=_subject_id_list+href+',';});alert(_subject_id_list);}
var subReplycancel=function(){$('div.subreply_textarea').remove();}
var subReply=function(type,topic_id,post_id,restore_id,comment_uid,post_uid,sub_post_type){var $post=$('#post_'+post_id),$main_post=$post.find('div.message'),$limb_post=$post.find('div.topic_sub_reply');var $restore=$('#post_'+restore_id);if(sub_post_type==0){var $reply_to=$post.find('a.post_author_'+post_id+' ').html();}else{var $reply_to=$post.find('a#'+restore_id).html();var $reply_to_content=$restore.find('.cmt_sub_content').html().replace(/<div class="quote">([^^]*?)<\/div>/,'').replace(/<\/?[^>]+>/g,'').replace(/&lt;/g,'<').replace(/&gt;/g,'>');if($reply_to_content.length>100){$reply_to_content=$reply_to_content.slice(0,100)+'...';}}
if(type=='group'){var form_url='/group/topic/'+topic_id+'/new_reply';}
if(type=='subject'){var form_url='/subject/topic/'+topic_id+'/new_reply';}
if(type=='crt'){var form_url='/character/'+topic_id+'/new_reply';}
if(type=='ep'){var form_url='/subject/ep/'+topic_id+'/new_reply';}
if(type=='blog'){var form_url='/blog/entry/'+topic_id+'/new_reply';}
if(type=='index'){var form_url='/index/'+topic_id+'/new_reply';}
var reply_textarea='<div class="subreply_textarea"><span class="tip_j">回复:'+$reply_to+'</span><form id="ReplysForm" name="new_comment" method="post" action="'+form_url+'"><input type="hidden" name="sub_reply_uid" value="'+comment_uid+'" /><input type="hidden" name="topic_id" value="'+topic_id+'" /><input type="hidden" name="post_uid" value="'+post_uid+'" /><input type="hidden" name="post_id" value="'+post_id+'" /><textarea id="content_'+post_id+'" class="reply sub_reply" name="content" cols="45" rows="6" onkeydown="seditor_ctlent(event,\'ReplysForm\');" ></textarea><div id="submitBtnO"><input class="inputBtn" value="写好了" name="submit" type="submit">&nbsp;&nbsp;<a href="javascript:void(0);" onclick="subReplycancel()">取消</a></div></form></div>';$('div.subreply_textarea').remove();if(sub_post_type=='0'){$main_post.after(reply_textarea);$('#content_'+post_id).focus();}else{$limb_post.after(reply_textarea);$('#content_'+post_id).focus();}
$('#ReplysForm').submit(function(){var comment_uid=$('[name=sub_reply_uid]').val(),topic_id=$('[name=topic_id]').val(),post_uid=$('[name=post_uid]').val(),post_id=$('[name=post_id]').val(),content=$('[name=content]').val(),$author=$('span.reply_author').html(),$avatar=$('span.reply_avatar').html();if($reply_to_content==undefined){var endcontetn=content;}else{var endcontetn='[quote][b]'+$reply_to+'[/b] 说: '+$reply_to_content+'[/quote]\n'+content;}
if(content!=''){submitTip();$.ajax({type:"POST",url:form_url+'?ajax=1',data:({topic_id:topic_id,related:post_id,sub_reply_uid:comment_uid,post_uid:post_uid,content:endcontetn}),dataType:'json',success:function(json){if(!$('#topic_reply_'+post_id).length){$main_post.after('<div id="topic_reply_'+post_id+'" class="topic_sub_reply"></div>');}
$('#topic_reply_'+post_id).append('<div id="post_'+json.reply_id+'" class="sub_reply_bg clearit"><div class="re_info"><small>刚刚</small></div>'+$avatar+'<strong>'+$author+'</strong><div class="cmt_sub_content">'+json.reply_content+'</div></div>');$('#post_'+json.reply_id).hide().fadeIn(300);$('.subreply_textarea').remove();$('#submitsAjax').html('<input class="inputBtn" value="写好了" name="submit" type="submit">&nbsp;&nbsp;<a href="javascript:void(0);" onclick="subReplycancel()">取消</a>');},error:function(html){}});}else{$("textarea.sub_reply").animate({marginLeft:"5px"},50).animate({marginLeft:"0",marginRight:"5px"},50).animate({marginRight:"0",marginLeft:"5px"},50).animate({marginLeft:"0",marginRight:"5px"},50);}
return false;});}