/*
 * jQuery JavaScript Library v1.3.2
 * http://jquery.com/
 *
 * Copyright (c) 2009 John Resig
 * Dual licensed under the MIT and GPL licenses.
 * http://docs.jquery.com/License
 *
 * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
 * Revision: 6246
 */
(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F<J;F++){var G=M[F];if(G.selected){K=o(G).val();if(H){return K}L.push(K)}}return L}return(E.value||"").replace(/\r/g,"")}return g}if(typeof K==="number"){K+=""}return this.each(function(){if(this.nodeType!=1){return}if(o.isArray(K)&&/radio|checkbox/.test(this.type)){this.checked=(o.inArray(this.value,K)>=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G<E;G++){L.call(K(this[G],H),this.length>1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H<I;H++){if((G=arguments[H])!=null){for(var F in G){var K=J[F],L=G[F];if(J===L){continue}if(E&&L&&typeof L==="object"&&!L.nodeType){J[F]=o.extend(E,K||(L.length!=null?[]:{}),L)}else{if(L!==g){J[F]=L}}}}}return J};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,q=document.defaultView||{},s=Object.prototype.toString;o.extend({noConflict:function(E){l.$=p;if(E){l.jQuery=y}return o},isFunction:function(E){return s.call(E)==="[object Function]"},isArray:function(E){return s.call(E)==="[object Array]"},isXMLDoc:function(E){return E.nodeType===9&&E.documentElement.nodeName!=="HTML"||!!E.ownerDocument&&o.isXMLDoc(E.ownerDocument)},globalEval:function(G){if(G&&/\S/.test(G)){var F=document.getElementsByTagName("head")[0]||document.documentElement,E=document.createElement("script");E.type="text/javascript";if(o.support.scriptEval){E.appendChild(document.createTextNode(G))}else{E.text=G}F.insertBefore(E,F.firstChild);F.removeChild(E)}},nodeName:function(F,E){return F.nodeName&&F.nodeName.toUpperCase()==E.toUpperCase()},each:function(G,K,F){var E,H=0,I=G.length;if(F){if(I===g){for(E in G){if(K.apply(G[E],F)===false){break}}}else{for(;H<I;){if(K.apply(G[H++],F)===false){break}}}}else{if(I===g){for(E in G){if(K.call(G[E],E,G[E])===false){break}}}else{for(var J=G[0];H<I&&K.call(J,H,J)!==false;J=G[++H]){}}}return G},prop:function(H,I,G,F,E){if(o.isFunction(I)){I=I.call(H,F)}return typeof I==="number"&&G=="curCSS"&&!b.test(E)?I+"px":I},className:{add:function(E,F){o.each((F||"").split(/\s+/),function(G,H){if(E.nodeType==1&&!o.className.has(E.className,H)){E.className+=(E.className?" ":"")+H}})},remove:function(E,F){if(E.nodeType==1){E.className=F!==g?o.grep(E.className.split(/\s+/),function(G){return !o.className.has(F,G)}).join(" "):""}},has:function(F,E){return F&&o.inArray(E,(F.className||F).toString().split(/\s+/))>-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+"></"+T+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!O.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!O.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!O.indexOf("<td")||!O.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!O.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!o.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/<tbody/i.test(S),N=!O.indexOf("<table")&&!R?L.firstChild&&L.firstChild.childNodes:Q[1]=="<table>"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E<F;E++){if(H[E]===G){return E}}return -1},merge:function(H,E){var F=0,G,I=H.length;if(!o.support.getAll){while((G=E[F++])!=null){if(G.nodeType!=8){H[I++]=G}}}else{while((G=E[F++])!=null){H[I++]=G}}return H},unique:function(K){var F=[],E={};try{for(var G=0,H=K.length;G<H;G++){var J=o.data(K[G]);if(!E[J]){E[J]=true;F.push(K[G])}}}catch(I){F=K}return F},grep:function(F,J,E){var G=[];for(var H=0,I=F.length;H<I;H++){if(!E!=!J(F[H],H)){G.push(F[H])}}return G},map:function(E,J){var F=[];for(var G=0,H=E.length;G<H;G++){var I=J(E[G],G);if(I!=null){F[F.length]=I}}return F.concat.apply([],F)}});var C=navigator.userAgent.toLowerCase();o.browser={version:(C.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(C),opera:/opera/.test(C),msie:/msie/.test(C)&&!/opera/.test(C),mozilla:/mozilla/.test(C)&&!/(compatible|webkit)/.test(C)};o.each({parent:function(E){return E.parentNode},parents:function(E){return o.dir(E,"parentNode")},next:function(E){return o.nth(E,2,"nextSibling")},prev:function(E){return o.nth(E,2,"previousSibling")},nextAll:function(E){return o.dir(E,"nextSibling")},prevAll:function(E){return o.dir(E,"previousSibling")},siblings:function(E){return o.sibling(E.parentNode.firstChild,E)},children:function(E){return o.sibling(E.firstChild)},contents:function(E){return o.nodeName(E,"iframe")?E.contentDocument||E.contentWindow.document:o.makeArray(E.childNodes)}},function(E,F){o.fn[E]=function(G){var H=o.map(this,F);if(G&&typeof G=="string"){H=o.multiFilter(G,H)}return this.pushStack(o.unique(H),E,G)}});o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(E,F){o.fn[E]=function(G){var J=[],L=o(G);for(var K=0,H=L.length;K<H;K++){var I=(K>0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}});
/*
 * Sizzle CSS Selector Engine - v0.9.3
 *  Copyright 2009, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa<ab.length;aa++){if(ab[aa]===ab[aa-1]){ab.splice(aa--,1)}}}}}return ab};F.matches=function(T,U){return F(T,null,null,U)};F.find=function(aa,T,ab){var Z,X;if(!aa){return[]}for(var W=0,V=I.order.length;W<V;W++){var Y=I.order[W],X;if((X=I.match[Y].exec(aa))){var U=RegExp.leftContext;if(U.substr(U.length-1)!=="\\"){X[1]=(X[1]||"").replace(/\\/g,"");Z=I.find[Y](X,T,ab);if(Z!=null){aa=aa.replace(I.match[Y],"");break}}}}if(!Z){Z=T.getElementsByTagName("*")}return{set:Z,expr:aa}};F.filter=function(ad,ac,ag,W){var V=ad,ai=[],aa=ac,Y,T,Z=ac&&ac[0]&&Q(ac[0]);while(ad&&ac.length){for(var ab in I.filter){if((Y=I.match[ab].exec(ad))!=null){var U=I.filter[ab],ah,af;T=false;if(aa==ai){ai=[]}if(I.preFilter[ab]){Y=I.preFilter[ab](Y,aa,ag,ai,W,Z);if(!Y){T=ah=true}else{if(Y===true){continue}}}if(Y){for(var X=0;(af=aa[X])!=null;X++){if(af){ah=U(af,Y,X,aa);var ae=W^!!ah;if(ag&&ah!=null){if(ae){T=true}else{aa[X]=false}}else{if(ae){ai.push(af);T=true}}}}}if(ah!==g){if(!ag){aa=ai}ad=ad.replace(I.match[ab],"");if(!T){return[]}break}}}if(ad==V){if(T==null){throw"Syntax error, unrecognized expression: "+ad}else{break}}V=ad}return aa};var I=F.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(T){return T.getAttribute("href")}},relative:{"+":function(aa,T,Z){var X=typeof T==="string",ab=X&&!/\W/.test(T),Y=X&&!ab;if(ab&&!Z){T=T.toUpperCase()}for(var W=0,V=aa.length,U;W<V;W++){if((U=aa[W])){while((U=U.previousSibling)&&U.nodeType!==1){}aa[W]=Y||U&&U.nodeName===T?U||false:U===T}}if(Y){F.filter(T,aa,true)}},">":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){var W=Y.parentNode;Z[V]=W.nodeName===U?W:false}}}else{for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){Z[V]=X?Y.parentNode:Y.parentNode===U}}if(X){F.filter(U,Z,true)}}},"":function(W,U,Y){var V=L++,T=S;if(!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("parentNode",U,V,W,X,Y)},"~":function(W,U,Y){var V=L++,T=S;if(typeof U==="string"&&!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("previousSibling",U,V,W,X,Y)}},find:{ID:function(U,V,W){if(typeof V.getElementById!=="undefined"&&!W){var T=V.getElementById(U[1]);return T?[T]:[]}},NAME:function(V,Y,Z){if(typeof Y.getElementsByName!=="undefined"){var U=[],X=Y.getElementsByName(V[1]);for(var W=0,T=X.length;W<T;W++){if(X[W].getAttribute("name")===V[1]){U.push(X[W])}}return U.length===0?null:U}},TAG:function(T,U){return U.getElementsByTagName(T[1])}},preFilter:{CLASS:function(W,U,V,T,Z,aa){W=" "+W[1].replace(/\\/g,"")+" ";if(aa){return W}for(var X=0,Y;(Y=U[X])!=null;X++){if(Y){if(Z^(Y.className&&(" "+Y.className+" ").indexOf(W)>=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return U<T[3]-0},gt:function(V,U,T){return U>T[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W<T;W++){if(Y[W]===Z){return false}}return true}}}},CHILD:function(T,W){var Z=W[1],U=T;switch(Z){case"only":case"first":while(U=U.previousSibling){if(U.nodeType===1){return false}}if(Z=="first"){return true}U=T;case"last":while(U=U.nextSibling){if(U.nodeType===1){return false}}return true;case"nth":var V=W[2],ac=W[3];if(V==1&&ac==0){return true}var Y=W[0],ab=T.parentNode;if(ab&&(ab.sizcache!==Y||!T.nodeIndex)){var X=0;for(U=ab.firstChild;U;U=U.nextSibling){if(U.nodeType===1){U.nodeIndex=++X}}ab.sizcache=Y}var aa=T.nodeIndex-ac;if(V==0){return aa==0}else{return(aa%V==0&&aa/V>=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V<T;V++){U.push(X[V])}}else{for(var V=0;X[V];V++){U.push(X[V])}}}return U}}var G;if(document.documentElement.compareDocumentPosition){G=function(U,T){var V=U.compareDocumentPosition(T)&4?-1:U===T?0:1;if(V===0){hasDuplicate=true}return V}}else{if("sourceIndex" in document.documentElement){G=function(U,T){var V=U.sourceIndex-T.sourceIndex;if(V===0){hasDuplicate=true}return V}}else{if(document.createRange){G=function(W,U){var V=W.ownerDocument.createRange(),T=U.ownerDocument.createRange();V.selectNode(W);V.collapse(true);T.selectNode(U);T.collapse(true);var X=V.compareBoundaryPoints(Range.START_TO_END,T);if(X===0){hasDuplicate=true}return X}}}}(function(){var U=document.createElement("form"),V="script"+(new Date).getTime();U.innerHTML="<input name='"+V+"'/>";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="<a href='#'></a>";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="<p class='TEST'></p>";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="<div class='test e'></div><div class='test'></div>";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1&&!ac){T.sizcache=Y;T.sizset=W}if(T.nodeName===Z){X=T;break}T=T[U]}ad[W]=X}}}function S(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1){if(!ac){T.sizcache=Y;T.sizset=W}if(typeof Z!=="string"){if(T===Z){X=true;break}}else{if(F.filter(Z,[T]).length>0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z<U;Z++){F(T,V[Z],W)}return F.filter(X,W)};o.find=F;o.filter=F.filter;o.expr=F.selectors;o.expr[":"]=o.expr.filters;F.selectors.filters.hidden=function(T){return T.offsetWidth===0||T.offsetHeight===0};F.selectors.filters.visible=function(T){return T.offsetWidth>0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0){I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.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(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F<E.length){o.event.proxy(G,E[F++])}return this.click(o.event.proxy(G,function(H){this.lastToggle=(this.lastToggle||0)%F;H.preventDefault();return E[this.lastToggle++].apply(this,arguments)||false}))},hover:function(E,F){return this.mouseenter(E).mouseleave(F)},ready:function(E){B();if(o.isReady){E.call(document,o)}else{o.readyList.push(E)}return this},live:function(G,F){var E=o.event.proxy(F);E.guid+=this.selector+G;o(document).bind(i(G,this.selector),this.selector,E);return this},die:function(F,E){o(document).unbind(i(F,this.selector),E?{guid:E.guid+this.selector+F}:null);return this}});function c(H){var E=RegExp("(^|\\.)"+H.type+"(\\.|$)"),G=true,F=[];o.each(o.data(this,"events").live||[],function(I,J){if(E.test(J.type)){var K=o(H.target).closest(J.data)[0];if(K){F.push({elem:K,fn:J})}}});F.sort(function(J,I){return o.data(J.elem,"closest")-o.data(I.elem,"closest")});o.each(F,function(){if(this.fn.call(this.elem,H,this.fn.data)===false){return(G=false)}});return G}function i(F,E){return["live",F,E.replace(/\./g,"`").replace(/ /g,"|")].join(".")}o.extend({isReady:false,readyList:[],ready:function(){if(!o.isReady){o.isReady=true;if(o.readyList){o.each(o.readyList,function(){this.call(document,o)});o.readyList=null}o(document).triggerHandler("ready")}}});var x=false;function B(){if(x){return}x=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);o.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);o.ready()}});if(document.documentElement.doScroll&&l==l.top){(function(){if(o.isReady){return}try{document.documentElement.doScroll("left")}catch(E){setTimeout(arguments.callee,0);return}o.ready()})()}}}o.event.add(l,"load",o.ready)}o.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(F,E){o.fn[E]=function(G){return G?this.bind(E,G):this.trigger(E)}});o(l).bind("unload",function(){for(var E in o.cache){if(E!=1&&o.cache[E].handle){o.event.remove(o.cache[E].handle.elem)}}});(function(){o.support={};var F=document.documentElement,G=document.createElement("script"),K=document.createElement("div"),J="script"+(new Date).getTime();K.style.display="none";K.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 H=K.getElementsByTagName("*"),E=K.getElementsByTagName("a")[0];if(!H||!H.length||!E){return}o.support={leadingWhitespace:K.firstChild.nodeType==3,tbody:!K.getElementsByTagName("tbody").length,objectAll:!!K.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!K.getElementsByTagName("link").length,style:/red/.test(E.getAttribute("style")),hrefNormalized:E.getAttribute("href")==="/a",opacity:E.style.opacity==="0.5",cssFloat:!!E.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};G.type="text/javascript";try{G.appendChild(document.createTextNode("window."+J+"=1;"))}catch(I){}F.insertBefore(G,F.firstChild);if(l[J]){o.support.scriptEval=true;delete l[J]}F.removeChild(G);if(K.attachEvent&&K.fireEvent){K.attachEvent("onclick",function(){o.support.noCloneEvent=false;K.detachEvent("onclick",arguments.callee)});K.cloneNode(true).fireEvent("onclick")}o(function(){var L=document.createElement("div");L.style.width=L.style.paddingLeft="1px";document.body.appendChild(L);o.boxModel=o.support.boxModel=L.offsetWidth===2;document.body.removeChild(L).style.display="none"})})();var w=o.support.cssFloat?"cssFloat":"styleFloat";o.props={"for":"htmlFor","class":"className","float":w,cssFloat:w,styleFloat:w,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};o.fn.extend({_load:o.fn.load,load:function(G,J,K){if(typeof G!=="string"){return this._load(G)}var I=G.indexOf(" ");if(I>=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("<div/>").append(M.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},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(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function(){G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H<F;H++){var E=o.data(this[H],"olddisplay");this[H].style.display=E||"";if(o.css(this[H],"display")==="none"){var G=this[H].tagName,K;if(m[G]){K=m[G]}else{var I=o("<"+G+" />").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H<F;H++){this[H].style.display=o.data(this[H],"olddisplay")||""}return this}},hide:function(H,I){if(H){return this.animate(t("hide",3),H,I)}else{for(var G=0,F=this.length;G<F;G++){var E=o.data(this[G],"olddisplay");if(!E&&E!=="none"){o.data(this[G],"olddisplay",o.css(this[G],"display"))}}for(var G=0,F=this.length;G<F;G++){this[G].style.display="none"}return this}},_toggle:o.fn.toggle,toggle:function(G,F){var E=typeof G==="boolean";return o.isFunction(G)&&o.isFunction(F)?this._toggle.apply(this,arguments):G==null||E?this.each(function(){var H=E?G:o(this).is(":hidden");o(this)[H?"show":"hide"]()}):this.animate(t("toggle",3),G,F)},fadeTo:function(E,G,F){return this.animate({opacity:G},E,F)},animate:function(I,F,H,G){var E=o.speed(F,H,G);return this[E.queue===false?"each":"queue"](function(){var K=o.extend({},E),M,L=this.nodeType==1&&o(this).is(":hidden"),J=this;for(M in I){if(I[M]=="hide"&&L||I[M]=="show"&&!L){return K.complete.call(this)}if((M=="height"||M=="width")&&this.style){K.display=o.css(this,"display");K.overflow=this.style.overflow}}if(K.overflow!=null){this.style.overflow="hidden"}K.curAnim=o.extend({},I);o.each(I,function(O,S){var R=new o.fx(J,K,O);if(/toggle|show|hide/.test(S)){R[S=="toggle"?L?"show":"hide":S](I)}else{var Q=S.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),T=R.cur(true)||0;if(Q){var N=parseFloat(Q[2]),P=Q[3]||"px";if(P!="px"){J.style[O]=(N||1)+P;T=((N||1)/R.cur(true))*T;J.style[O]=T+P}if(Q[1]){N=((Q[1]=="-="?-1:1)*N)+T}R.custom(T,N,P)}else{R.custom(T,S,"")}}});return true})},stop:function(F,E){var G=o.timers;if(F){this.queue([])}this.each(function(){for(var H=G.length-1;H>=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J<K.length;J++){if(!K[J]()){K.splice(J--,1)}}if(!K.length){clearInterval(n);n=g}},13)}},show:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());o(this.elem).show()},hide:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(H){var G=e();if(H||G>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='<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>';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})();function ShowModalDialogInFrame(Url,arg,post){if(mynet_GetNavigator()=='MSIE'){var ret;if(arg!=null){var now=new Date();Url=UrlEncode(Url);var isPost=(post!=null&&post==true)?'&postdialogarguments=1':'';ret=window.showModalDialog("/web/modaldialoginframe.aspx?t="+now.toTimeString()+isPost+"&url="+Url,arg,"unadorned:1; dialogWidth:1px; dialogHeight:1px; status:0; resizable:1");}
else{var dialog="/web/modaldialoginframe2.aspx?15";ret=window.showModalDialog(dialog,Url,"unadorned:1; dialogWidth:1px; dialogHeight:1px; status:0; resizable:1");}
try{if(ret!=null&&ret=="____mynet_closeforlogin"){Url=window.location.href;window.navigate("/web/login.aspx?ReturnUrl="+Url);ret=null;}
}
catch(e){}
return ret;}
else{var openurl=Url;var ffarg="menubar=no,toolbar=no,location=no,scrollbars=no,status=no,modal=yes";if(arg!=null){ffarg=ffarg+','+arg.replace(":","=").replace(";",",");}
window.open(openurl,"",ffarg);return "";}
}
function centerSize(w,h){if(window.location.href.indexOf("noresize")!=-1)
return;var sLeft=(window.screen.availWidth-w)/2+"px";var sTop=(window.screen.availHeight-h)/2+"px";var sWidth=w+"px";var sHeight=h+"px";dialogLeft=sLeft;dialogWidth=sWidth;dialogTop=sTop;dialogHeight=sHeight;}
function mynet_setCheckBoxListValue(hiddenFieldID,chkBox){var hiddenField=document.getElementById(hiddenFieldID);var arr=hiddenField.value.split(",");if(chkBox.checked){arr.push(chkBox.value);}
else{removeElementInArray(chkBox.value,arr);}
hiddenField.value=arr.join(",");};function removeElementInArray(element,sourceArray){for(var i=0;i<sourceArray.length;i++){if(sourceArray[i]==element){sourceArray.splice(i,1);break;}
}
}
function shopbuy(pid,mode){mode="";var modelNames=new Array();var inputs=document.getElementsByTagName("input");for(var i=0;i<inputs.length;i++){var input=inputs[i];if(typeof(input.isModelValue)!="undifined"&&input.isModelValue=="true"&&input.ownerID==pid){var isExist=false;for(var j=0;j<modelNames.length;j++){if(modelNames[j]==input.filedname){isExist=true;break;}
}
if(isExist==false){modelNames.push(input.filedname);mode+="@@"+input.modelName+"||"+escape(input.value);}
}
}
if(mode.length>2){mode=mode.substr(2,mode.length);}
var url='/plugin/Purchase/shoppingsolution.aspx?id='+pid+'&specstring='+mode+'&type=add&tmp='+Math.random();httpRequestFunc(url,function(){window.location.href="/_d50.htm"+"?retUrl="+escape(window.location.href)}
);}
function onDeleteDoc(id,doctypename){var ret=ShowModalDialogInFrame('~/plugin/doc/docdelete.aspx?docid='+id+"&doctypename="+doctypename);if(ret!=null){window.location.href=window.location.href;}
}
function onEditDocument(id){var ret=ShowModalDialogInFrame('~/plugin/doc/docedit.aspx?docid='+id);if(ret!=null){refreshDocList();}
}
function postDocImageCategory(categoryID,categoryName,siteUrl,aspectUID,curDocUID,mergedDocId,isPublishMod,hiddenid){var categoryNameDiv=document.getElementById("docCategoryName");categoryNameDiv.innerHTML=categoryName;var hiddenInput=document.getElementById(hiddenid);if(hiddenInput!=null){hiddenInput.value=categoryName;}
var selectImage=document.getElementById("docCategoryImage_"+categoryID);clearDocImageBorder();selectImage.border=1;var subjectDate=new mynet_SubjectDataPoster(siteUrl,aspectUID,curDocUID,mergedDocId,isPublishMod,"docImageList");subjectDate.AddFormKeyValue("categoryID",categoryID);subjectDate.Post();}
function clearDocImageBorder(){var images=document.getElementsByName("selectDocCategoryImage");for(var i=0;i<images.length;i++){var imgae=images[i];imgae.border=0;}
}
function postSearchConditions(siteUrl,aspectUID,curDocUID,isPublishMod){var subjectData=new mynet_SubjectDataPoster(siteUrl,aspectUID,curDocUID,'0',isPublishMod,"onAdvanceSearch");var aspectContainer=document.getElementById("mynetcndelay"+aspectUID);if(aspectContainer==null){alert("当前页面的预览状态才支持高级搜索！");return;}
var formInputs=aspectContainer.getElementsByTagName("INPUT");var index=0;for(var i=0;i<formInputs.length;i++){var inputItem=formInputs[i];if(typeof(inputItem.isvaluefield)!="undifined"&&inputItem.isvaluefield=="true"){subjectData.AddFormKeyValue("advanceSearchParam"+index,inputItem.value);index++;}
}
subjectData.Post();}
function propertyListCondition(siteUrl,aspectUID,curDocUID,isPublishMod,searchValue){var subjectData=new mynet_SubjectDataPoster(siteUrl,aspectUID,curDocUID,isPublishMod,"onClickPropertyList");var aspectContainer=document.getElementById("mynetcndelay"+aspectUID);if(aspectContainer==null){alert("当前页面的预览状态才支持属性列表！");return;}
subjectData.AddFormKeyValue("listparam1",searchValue);subjectData.Post();}
function addWindowOnload(func){var prev=window.onload;if(typeof
window.onload!='function'){window.onload=func;}
else{window.onload=function(){if(prev)
prev();func();}
}
}
function QueryString(){var name,value,i;var str=location.href;var num=str.indexOf("?")
str=str.substr(num+1);var arrtmp=str.split("&");var queryString;queryString=new Object();for(i=0;i<arrtmp.length;i++){num=arrtmp[i].indexOf("=");if(num>0){name=arrtmp[i].substring(0,num);value=arrtmp[i].substr(num+1);queryString[name]=value;}
}
return queryString;}
function httpRequestFunc(url,func){var objHttpRequest=null;try{objHttpRequest=new ActiveXObject('Msxml2.XMLHTTP');}
catch(e){try{objHttpRequest=new ActiveXObject('Microsoft.XMLHTTP');}
catch(E){objHttpRequest=new XMLHttpRequest();}
}
this.action='GET';this.formData=null;if(objHttpRequest==null)
return null;if(objHttpRequest){objHttpRequest.open(this.action,url,true);objHttpRequest.onreadystatechange=function(){if(objHttpRequest.readyState==4&&objHttpRequest.status==200){if(typeof(func)=="function")
func(objHttpRequest.responseText);else
return objHttpRequest.responseText;}
};}
objHttpRequest.send(this.formData);}
function httpRequest(url){var objHttpRequest=null;try{objHttpRequest=new ActiveXObject('Msxml2.XMLHTTP');}
catch(e){try{objHttpRequest=new ActiveXObject('Microsoft.XMLHTTP');}
catch(E){objHttpRequest=new XMLHttpRequest();}
}
this.action='GET';this.formData=null;if(objHttpRequest==null)
return null;objHttpRequest.open(this.action,url,false);objHttpRequest.send(this.formData);var retvalue=objHttpRequest.responseText;return retvalue;}
function UrlEncode(str){str=escape(str);return str;}
function gowhere1(formname){var url;if(formname.myselectvalue.value=="0"){url="http://www.baidu.com/baidu";document.search_form1.tn.value="baidu";formname.method="get";}
if(formname.myselectvalue.value=="1"){url="http://mp3.baidu.com/m";document.search_form1.tn.value="baidump3";document.search_form1.ct.value="134217728";document.search_form1.lm.value="-1";}
if(formname.myselectvalue.value=="4"){document.search_form1.tn.value="news";document.search_form1.cl.value="2";document.search_form1.rn.value="20";url="http://news.baidu.com/ns";}
if(formname.myselectvalue.value=="5"){document.search_form1.tn.value="baiduiamge";document.search_form1.ct.value="201326592";document.search_form1.cl.value="2";document.search_form1.lm.value="-1";url="http://image.baidu.com/i";}
if(formname.myselectvalue.value=="6"){url="http://post.baidu.com/f";document.search_form1.tn.value="baiduPostSearch";document.search_form1.ct.value="352321536";document.search_form1.rn.value="10";document.search_form1.lm.value="65536";}
formname.action=url;return true;}
function g_baidu(formname){var url="http://www.baidu.com/baidu";if(formname.s[1].checked){formname.ct.value="2097152";}
else{formname.ct.value="0";}
formname.action=url;return true;}
String.prototype.getBytes=function(){var cArr=this.match(/[^\x00-\xff]/ig);return this.length+(cArr==null?0:cArr.length);}
function StringBuilder(value){this.strings=new Array("");this.Append(value);}
StringBuilder.prototype.Append=function(value){if(value){this.strings.push(value);}
}
StringBuilder.prototype.clear=function(){this.strings.length=1;}
StringBuilder.prototype.ToString=function(){return this.strings.join("");}
function getScrollTop(target){if(target==null)
target=window;var doc=target.document;var scrollPos=0;try{if(typeof
target.pageYOffset!='undefined'){scrollPos=target.pageYOffset;}
if(scrollPos==0&&typeof
doc.compatMode!='undefined'&&doc.compatMode!='BackCompat'){scrollPos=doc.documentElement.scrollTop;}
if(scrollPos==0&&typeof
doc.body!='undefined'){scrollPos=doc.body.scrollTop;}
}
catch(e){}
return scrollPos;}
function getScrollLeft(target){if(target==null)
target=window;var doc=target.document;var scrollPos=0;try{if(typeof
target.pageXOffset!='undefined'){scrollPos=target.pageXOffset;}
if(scrollPos==0&&typeof
doc.compatMode!='undefined'&&doc.compatMode!='BackCompat'){scrollPos=doc.documentElement.scrollLeft;}
if(scrollPos==0&&typeof
doc.body!='undefined'){scrollPos=doc.body.scrollLeft;}
}
catch(e){}
return scrollPos;}
function mynetResizeTheme(){var panel=document.getElementById('mynetAspectPanel');if(panel==null){panel=document.getElementById('mynetAspectPanelResize');if(panel==null)
return;}
var aspects=panel.childNodes;var div=document.getElementById('mynetAspectPanelDiv');if(div==null)
div=panel;var divHeight=document.getElementById('mynetAspectPanelHeight');if(divHeight==null){divHeight=panel.parentNode;divHeight.id='mynetAspectPanelHeight';}
divHeight.style.height='0px';divHeight.vAlign="top";var minTop=null;try{minTop=Mynet_ObjectTop(document.getElementById('spanThemeBegin'))-Mynet_ObjectTop(panel);}
catch(e){}
var height=200;for(var i=0;i<aspects.length;i++){var one=aspects[i];try{if(minTop!=null&&minTop<0&&one.style.pixelTop<minTop)
one.style.top=minTop;}
catch(e){}
if(one.offsetTop+one.offsetHeight+0>height)
height=one.offsetTop+one.offsetHeight+0;}
divHeight.style.height=height+'px';if(document.getElementById('spanMasterTemplateBackgroundBody')!=null){var spanBg=document.getElementById('spanMasterRepeat');var index1=spanBg.style.backgroundImage.indexOf('.');var index2=spanBg.style.backgroundImage.indexOf(')');var extName=spanBg.style.backgroundImage.substr(index1+1,index2-index1-1);var themeid=spanBg.style.backgroundImage.split('_')[3];var bodyHeight=document.getElementById('tdMasterTemplateBackgroundBody').offsetHeight;var url='url(_m_masterpagebackground_'+themeid+'_body_'+bodyHeight+"."+extName+')';if(spanBg.style.backgroundImage!=url){spanBg.style.backgroundImage=url;}
}
mynetCheckAspectPosition();}
function mynetCheckAspectPosition(){var s=document.getElementsByTagName('TABLE');for(var i=0;i<s.length;i++){var e=s[i];if(e.style.position=='absolute'&&e.id.length>7&&e.id.substr(0,7)=='aspect_'){var t=Mynet_ObjectTop(e);if(t<0)
e.style.top=e.style.pixelTop-t;}
}
}
function removeOptions(obj){var len=obj.options.length;for(var i=0;i<len;i++){obj.options.remove(0);}
}
function AddToCar(SiteId,PageId,StandardInputName){ShowOrderCar(SiteId);}
function ShowOrderCar(){window.alert("点击这里，将显示购物车。");}
function XmlDoc(){var tXmlDoc=false;if(window.ActiveXObject){var tMsXmlDomType=["Msxml2.DOMDocument.4.0","Msxml2.DOMDocument.3.0","MSXML2.DOMDocument","MSXML.DOMDocument","Microsoft.XMLDOM"];for(var i=0;i<tMsXmlDomType.length;i++){try{tXmlDoc=new ActiveXObject(tMsXmlDomType[i]);tXmlDoc.setProperty("SelectionLanguage","XPath");break;}
catch(ex){}
}
}
else
if(document.implementation&&document.implementation.createDocument){tXmlDoc=document.implementation.createDocument("","",null);if(!tXmlDoc.load){tXmlDoc.hp=new XMLHttpRequest();tXmlDoc.hp.hpOwner=tXmlDoc;tXmlDoc.hp.load=function(sUrl){try{this.open("GET",sUrl,this.async);this.send(null);}
catch(ex){throw "you can't connect the page using different domain,if you not config the Server-Side code";}
if(this.readyState==4){var _result=this.responseXML;while(this.hpOwner.hasChildNodes())
this.hpOwner.removeChild(this.hpOwner.lastChild);for(var i=0;i<_result.childNodes.length;i++){this.hpOwner.appendChild(this.hpOwner.importNode(_result.childNodes[i],true));}
}
}
tXmlDoc.load=function(sUrl){tXmlDoc.hp.load(sUrl);}
tXmlDoc.selectNodes=function(sXPath){this.getElementsByTagName();}
}
}
if(!tXmlDoc){throw("Can not create xml doc object!");}
return tXmlDoc;}
function reloadPage(){window.location.reload();}
function reloadDialog(){var url=window.location.href;if(url.indexOf("noresize=1")<0){if(url.indexOf('?')==-1)
url=url+'?';else
url=url+'&';url=url+"noresize=1";}
window.navigate(url);}
var windowLoadedFuncArray=new Array();function addWindowLoadedFunc(func){windowLoadedFuncArray[windowLoadedFuncArray.length]=func;}
function windowLoaded(){for(var i=0;i<windowLoadedFuncArray.length;i++){var func=windowLoadedFuncArray[i];func();}
bodyHeight=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);annimations();}
function Mynet_ObjectDim(el){for(var lx=0,ly=0;el!=null;lx+=el.offsetLeft,ly+=el.offsetTop,el=el.offsetParent){if(el.tagName.toLowerCase()=='div'&&el.style.position=='relative'){ly=ly-el.offsetTop;var top=el.offsetTop;ly=ly+(el.offsetTop-el.scrollTop);}
else
if(el.tagName!='BODY'){ly-=el.scrollTop;}
}
return{x:lx,y:ly}
}
function Mynet_ObjectLeft(o){var x=0;while(o!=null&&o.tagName.toUpperCase()!="HTML"){if(o.style.position=="absolute"){x+=o.offsetLeft;do{o=o.offsetParent;}
while(o!=null&&o.style.position!="relative");if(o==null)
return x;}
if(o.tagName.toUpperCase()!="HTML"&&o.style.position!="absolute"){x+=o.offsetLeft;x=x-o.scrollLeft;}
o=o.offsetParent;}
x+=getScrollLeft();return x;}
function Mynet_ObjectTop(o){return getElementPos(o).y;var y=0;while(o!=null&&o.tagName.toUpperCase()!="HTML"){if(o.style.position=="absolute"){y+=o.offsetTop;do{o=o.offsetParent;}
while(o!=null&&o.style.position!="relative");if(o==null)
return y;if(o!=null){document.title=o.style.position+' '+o.outerHTML;}
}
if(o.tagName.toUpperCase()!="HTML"){y+=o.offsetTop;y=y-o.scrollTop;}
o=o.offsetParent;}
y+=getScrollTop();return y;}
function getElementPos(el){var ua=navigator.userAgent.toLowerCase();var isOpera=(ua.indexOf('opera')!=-1);var isIE=(ua.indexOf('msie')!=-1&&!isOpera);if(el.parentNode===null||el.style.display=='none'){return false;}
var parent=null;var pos=[];var box;if(el.getBoundingClientRect){box=el.getBoundingClientRect();var scrollTop=Math.max(document.documentElement.scrollTop,document.body.scrollTop);var scrollLeft=Math.max(document.documentElement.scrollLeft,document.body.scrollLeft);return{x:box.left+scrollLeft,y:box.top+scrollTop};}
else
if(document.getBoxObjectFor){box=document.getBoxObjectFor(el);var borderLeft=(el.style.borderLeftWidth)?parseInt(el.style.borderLeftWidth):0;var borderTop=(el.style.borderTopWidth)?parseInt(el.style.borderTopWidth):0;pos=[box.x-borderLeft,box.y-borderTop];}
else{pos=[el.offsetLeft,el.offsetTop];parent=el.offsetParent;if(parent!=el){while(parent){pos[0]+=parent.offsetLeft;pos[1]+=parent.offsetTop;parent=parent.offsetParent;}
}
if(ua.indexOf('opera')!=-1||(ua.indexOf('safari')!=-1&&el.style.position=='absolute')){pos[0]-=document.body.offsetLeft;pos[1]-=document.body.offsetTop;}
}
if(el.parentNode){parent=el.parentNode;}
else{parent=null;}
while(parent&&parent.tagName!='BODY'&&parent.tagName!='HTML'){pos[0]-=parent.scrollLeft;pos[1]-=parent.scrollTop;if(parent.parentNode){parent=parent.parentNode;}
else{parent=null;}
}
return{x:pos[0],y:pos[1]};}
function IsInt(objStr,sign,zero){var reg;var bolzero;if(Trim(objStr)==""){return false;}
else{objStr=objStr.toString();}
if((sign==null)||(Trim(sign)=="")){sign="+-";}
if((zero==null)||(Trim(zero)=="")){bolzero=false;}
else{zero=zero.toString();if(zero=="0"){bolzero=true;}
else{alert("检查是否包含0参数，只可为(空、0)");}
}
switch(sign){case "+-":reg=/(^-?|^\+?)\d+$/;break;case "+":if(!bolzero){reg=/^\+?[0-9]*[1-9][0-9]*$/;}
else{reg=/^\+?[0-9]*[0-9][0-9]*$/;}
break;case "-":if(!bolzero){reg=/^-[0-9]*[1-9][0-9]*$/;}
else{reg=/^-[0-9]*[0-9][0-9]*$/;}
break;default:alert("检查符号参数，只可为(空、+、-)");return false;break;}
var r=objStr.match(reg);if(r==null){return false;}
else{return true;}
}
function setCookie(name,value,expire){document.cookie=name+"="+escape(value)+((expire==null)?"":("; expires="+expire.toGMTString()))}
function getCookie(Name){var search=Name+"="
if(document.cookie.length>0){offset=document.cookie.indexOf(search)
if(offset!=-1){offset+=search.length
end=document.cookie.indexOf(";",offset)
if(end==-1)
end=document.cookie.length
return unescape(document.cookie.substring(offset,end))}
}
}
function deleteCookie(name,path,domain){if(getCookie(name))
document.cookie=name+"="+((path)?";path="+path:"")+((domain)?";domain="+domain:"")+";expires=Thu, 01-Jan-70 00:00:01 GMT";}
function LTrim(str){var whitespace=new String(" \t\n\r");var s=new String(str);if(whitespace.indexOf(s.charAt(0))!=-1){var j=0,i=s.length;while(j<i&&whitespace.indexOf(s.charAt(j))!=-1){j++;}
s=s.substring(j,i);}
return s;}
function RTrim(str){var whitespace=new String(" \t\n\r");var s=new String(str);if(whitespace.indexOf(s.charAt(s.length-1))!=-1){var i=s.length-1;while(i>=0&&whitespace.indexOf(s.charAt(i))!=-1){i--;}
s=s.substring(0,i+1);}
return s;}
function Trim(str){return RTrim(LTrim(str));}
function mynetVoteOpenWin(opertype,openpath,voteguid){var frmvote=document.getElementById('frmvote_'+voteguid);if(frmvote==null)
return;var radios=frmvote.getElementsByTagName("input");var selecvalue="";if(radios!=null&&radios.length>0){for(var i=0;i<radios.length;i++){if((radios[i].type=="radio"||radios[i].type=="checkbox")&&radios[i].checked){selecvalue=selecvalue+radios[i].value+"|";if(opertype==1)
radios[i].checked=false;}
}
if(selecvalue!="")
selecvalue=selecvalue.substr(0,selecvalue.length-1);}
if(opertype==1&&selecvalue==""){alert('没有选择！');return false;}
window.open(openpath+"?t="+opertype+"&auid="+voteguid+"&svalue="+selecvalue,"kk","top=200,left=300,width=450,height=300;toolbar=no, menubar=no,scrollbars=yes, resizable=yes,location=no, status=no");return false;}
function setMynetCopyrightYear(item){setCopyrightYear(item,"2005");}
function setCopyrightYear(item,startYear){if(item==null)
return;if(item.constructor==String){item=document.getElementById(item);}
if(item==null)
return;var thisYear=new Date();thisYear=thisYear.getYear().toString();if(thisYear==startYear){item.innerHTML=startYear;}
else{item.innerHTML=startYear+"-"+thisYear;}
}
function mynetAddBookmarkByUrl(title,Url){if(title==null)
title="Mynet.cn我的空间";if(window.sidebar){window.sidebar.addPanel(title,Url,"");}
else
if(document.all){window.external.AddFavorite(Url,title);}
else
if(window.opera&&window.print){return true;}
}
function mynetAddBookmark(title){if(title==null)
title="Mynet.cn我的空间";var url=document.location.href;if(window.sidebar){window.sidebar.addPanel(title,url,"");}
else
if(document.all){window.external.AddFavorite(url,title);}
else
if(window.opera&&window.print){return true;}
}
function mynetSetCopy(_sTxt){try{clipboardData.setData('Text',_sTxt)
window.alert('您已经把该网址（'+_sTxt+'）复制到系统剪贴板，您可以使用（Ctrl+V或鼠标右键）粘贴功能，通过QQ、MSN或其他聊天工具发送给您的朋友。');}
catch(e){}
}
function RemoveStrFromIds(strIds,strCategoryId){if(strIds.indexOf(","+strCategoryId+",")!=-1){strIds=strIds.replace(","+strCategoryId+",",",");}
else
if(strIds.indexOf(strCategoryId+",")==0){strIds=strIds.replace(strCategoryId+",","");}
else
if(strIds.indexOf(","+strCategoryId)==(strIds.length-strCategoryId.length-1)&&(strIds.length-strCategoryId.length-1)>-1){strIds=strIds.replace(","+strCategoryId,"");}
else
if(strIds.indexOf(strCategoryId)==0&&strCategoryId.length==strIds.length){strIds="";}
return strIds;}
function AddIdToStrIds(id,strIds){if(IsIdInStrIds(id,strIds)==false){if(strIds!=null&&strIds!=""){strIds+=",";}
strIds+=id;}
return strIds;}
function IsIdInStrIds(id,strIds){var IsAuto=false;var arrIntAuto=strIds.split(",");var arrIntAutoLen=arrIntAuto.length;for(var i=0;i<arrIntAutoLen;i++){if(arrIntAuto[i]==id){IsAuto=true;break;}
}
return IsAuto;}
function ReplaceId(strIds,newId,oldId){var arrIntAuto=strIds.split(",");var arrIntAutoLen=arrIntAuto.length;for(var i=0;i<arrIntAutoLen;i++){if(arrIntAuto[i]==oldId){arrIntAuto[i]=newId;break;}
}
var newStrIds="";for(var k=0;k<arrIntAutoLen;k++){if(newStrIds!=""){newStrIds+=",";}
newStrIds+=arrIntAuto[k];}
return newStrIds;}
var DS_x,DS_y;function dateSelector(){var myDate=new Date();this.year=myDate.getFullYear();this.month=myDate.getMonth()+1;this.date=myDate.getDate();this.inputName='';this.display=display;this.evalStr='';this.docId='0';}
function display(parentId){var week=new Array('日','一','二','三','四','五','六');var strInnerHTML="";strInnerHTML+="<input style='border:solid 1px silver;border-right:none 0px white;width:85px;height:18px;' isvaluefield=\"true\" id='txt_"+this.inputName+"' name='"+this.inputName+"' value='"+this.year+"-"+this.month+"-"+this.date+"' title='双击可进行编缉' ondblclick='this.readOnly=false;this.focus();' onblur='this.readOnly=true;' readonly>";strInnerHTML+="<img style='cursor:hand;' align='absmiddle' src='res/calendar.gif' onclick=\"this.nextSibling.style.display='block';\" onfocus=\"this.blur()\"/>";strInnerHTML+="<div style='position:absolute;display:none;text-align:center;width:0px;height:0px;overflow:visible' onselectstart='return false;'>";strInnerHTML+="  <div style='position:absolute;left:-60px;top:20px;width:142px;height:165px;background-color:#F6F6F6;border:1px solid #245B7D;' class=ds_font>";strInnerHTML+="    <table cellpadding=0 cellspacing=1 width=140 height=20 bgcolor=#CEDAE7 onmousedown='DS_x=event.x-parentNode.style.pixelLeft;DS_y=event.y-parentNode.style.pixelTop;setCapture();' onmouseup='releaseCapture();' onmousemove='dsMove(this.parentNode)' style='cursor:move;'>";strInnerHTML+="      <tr align=center>";strInnerHTML+="        <td width=12% onmouseover=this.className='ds_border' onmouseout=this.className='' onclick=subYear(this) title='减小年份'><<</td>";strInnerHTML+="        <td width=12% onmouseover=this.className='ds_border' onmouseout=this.className='' onclick=subMonth(this) title='减小月份'><</td>";strInnerHTML+="        <td width=52%><b>"+this.year+"</b><b>年</b><b>"+this.month+"</b><b>月</b></td>";strInnerHTML+="        <td width=12% onmouseover=this.className='ds_border' onmouseout=this.className='' onclick=addMonth(this) title='增加月份'>></td>";strInnerHTML+="        <td width=12% onmouseover=this.className='ds_border' onmouseout=this.className='' onclick=addYear(this) title='增加年份'>>></td>";strInnerHTML+="      </tr>";strInnerHTML+="    </table>";strInnerHTML+="    <table cellpadding=0 cellspacing=0 width=140 height=20 onmousedown='DS_x=event.x-parentNode.style.pixelLeft;DS_y=event.y-parentNode.style.pixelTop;setCapture();' onmouseup='releaseCapture();' onmousemove='dsMove(this.parentNode)' style='cursor:move;'>";strInnerHTML+="      <tr align=center>";for(i=0;i<7;i++)
strInnerHTML+="      <td>"+week[i]+"</td>";strInnerHTML+="      </tr>";strInnerHTML+="    </table>";strInnerHTML+="    <table cellpadding=0 cellspacing=2 width=140 bgcolor=#EEEEEE>";for(i=0;i<6;i++){strInnerHTML+="    <tr align=center>";for(j=0;j<7;j++)
strInnerHTML+="    <td width=10% height=16 onmouseover=if(this.innerText!=''&&this.className!='ds_border2')this.className='ds_border' onmouseout=if(this.className!='ds_border2')this.className='' onclick=getvalue(this,document.all('txt_"+this.inputName+"'))></td>";strInnerHTML+="    </tr>";}
strInnerHTML+="    </table>";strInnerHTML+="    <span style=cursor:hand onclick=this.parentNode.parentNode.style.display='none'>【关闭】</span>";strInnerHTML+="  </div>";strInnerHTML+="</div>";if(parentId!=null&&parent!=""){document.getElementById(parentId).innerHTML=strInnerHTML;}
else{document.write(strInnerHTML);}
dateShow(document.all("txt_"+this.inputName).nextSibling.nextSibling.childNodes[0].childNodes[2],this.year,this.month)}
function subYear(obj){var myObj=obj.parentNode.parentNode.parentNode.cells[2].childNodes;myObj[0].innerHTML=eval(myObj[0].innerHTML)-1;dateShow(obj.parentNode.parentNode.parentNode.nextSibling.nextSibling,eval(myObj[0].innerHTML),eval(myObj[2].innerHTML))}
function addYear(obj){var myObj=obj.parentNode.parentNode.parentNode.cells[2].childNodes;myObj[0].innerHTML=eval(myObj[0].innerHTML)+1;dateShow(obj.parentNode.parentNode.parentNode.nextSibling.nextSibling,eval(myObj[0].innerHTML),eval(myObj[2].innerHTML))}
function subMonth(obj){var myObj=obj.parentNode.parentNode.parentNode.cells[2].childNodes;var month=eval(myObj[2].innerHTML)-1;if(month==0){month=12;subYear(obj);}
myObj[2].innerHTML=month;dateShow(obj.parentNode.parentNode.parentNode.nextSibling.nextSibling,eval(myObj[0].innerHTML),eval(myObj[2].innerHTML))}
function addMonth(obj){var myObj=obj.parentNode.parentNode.parentNode.cells[2].childNodes;var month=eval(myObj[2].innerHTML)+1;if(month==13){month=1;addYear(obj);}
myObj[2].innerHTML=month;dateShow(obj.parentNode.parentNode.parentNode.nextSibling.nextSibling,eval(myObj[0].innerHTML),eval(myObj[2].innerHTML))}
function dateShow(obj,year,month){var myDate=new Date(year,month-1,1);var today=new Date();var day=myDate.getDay();var selectDate=obj.parentNode.parentNode.previousSibling.previousSibling.value.split('-');var length;switch(month){case 1:case 3:case 5:case 7:case 8:case 10:case 12:length=31;break;case 4:case 6:case 9:case 11:length=30;break;case 2:if((year%4==0)&&(year%100!=0)||(year%400==0))
length=29;else
length=28;}
for(i=0;i<obj.cells.length;i++){obj.cells[i].innerHTML='';obj.cells[i].style.color='';obj.cells[i].className='';}
for(i=0;i<length;i++){obj.cells[i+day].innerHTML=(i+1);if(year==today.getFullYear()&&(month-1)==today.getMonth()&&(i+1)==today.getDate())
obj.cells[i+day].style.color='red';if(year==eval(selectDate[0])&&month==eval(selectDate[1])&&(i+1)==eval(selectDate[2]))
obj.cells[i+day].className='ds_border2';}
}
function getvalue(obj,inputObj){var myObj=inputObj.nextSibling.nextSibling.childNodes[0].childNodes[0].cells[2].childNodes;if(obj.innerHTML){inputObj.value=myObj[0].innerHTML+"-"+myObj[2].innerHTML+"-"+obj.innerHTML;var arr=inputObj.id.split("_");try{var strFun="setAnswerText_"+arr[1]+"("+arr[2]+",'"+inputObj.value+"')";eval(strFun);}
catch(ex){}
}
inputObj.nextSibling.nextSibling.style.display='none';for(i=0;i<obj.parentNode.parentNode.parentNode.cells.length;i++)
obj.parentNode.parentNode.parentNode.cells[i].className='';obj.className='ds_border2'}
function dsMove(obj){if(event.button==1){var X=obj.clientLeft;var Y=obj.clientTop;obj.style.pixelLeft=X+(event.x-DS_x);obj.style.pixelTop=Y+(event.y-DS_y);}
}
function mynetSelectAllCheckBox(boxName,isChecked){var chkFeedCates=document.getElementsByName(boxName);var len=chkFeedCates.length;for(var i=0;i<len;i++){chkFeedCates[i].checked=isChecked;}
}
function getEmailFeed(url,aspectUID,act){var strEmail=document.getElementById("txtFeedEmail_"+aspectUID).value;if(strEmail==""){alert("请输入电子邮件地址");return;}
if(act=="add"){var strIds="";var strFeederType="";if(document.getElementById("selFeed_"+aspectUID)!=null){strFeederType=document.getElementById("selFeed_"+aspectUID).value;}
var chkFeedCates=document.getElementsByName("chkFeedCate_"+aspectUID);var len=chkFeedCates.length;for(var i=0;i<len;i++){if(chkFeedCates[i].checked==true&&chkFeedCates[i].value!="00"){if(strIds!=""){strIds+=",";}
strIds+=chkFeedCates[i].value;}
}
if(strIds==""){alert("请选择新闻分类");}
else{var strQuery="";strQuery="?act="+act+"&em="+escape(strEmail)+"&ft="+escape(strFeederType)+"&ids="+strIds;var strUrl=url+strQuery;var retValue=httpRequest(strUrl);var objDic=document.getElementById("divAspectFeed_"+aspectUID);objDic.innerHTML=retValue;}
}
else{var strQuery="?act="+act+"&em="+escape(strEmail);var strUrl=url+strQuery;var retValue=httpRequest(strUrl);var objDic=document.getElementById("divAspectFeed_"+aspectUID);objDic.innerHTML=retValue;}
}
function showColorDlg(defColorOrColorElement,hiddenField){var isOldVersion=(defColorOrColorElement!=null&&typeof(defColorOrColorElement)=='object');var defColor=isOldVersion?defColorOrColorElement.style.backgroundColor:defColorOrColorElement;var ret=ShowModalDialogInFrame("~/res/ColorSelector.htm",defColor);if(isOldVersion&&ret!=null){defColorOrColorElement.style.backgroundColor="";if(hiddenField!=null)
hiddenField.value="";}
return ret;}
var arrFloats=new Array();function annimations(){var len=arrFloats.length;for(var i=0;i<len;i++){arrFloats[i].mynetFlow();}
}
function getFirstParent(obj,tagName){if(obj==null)
return null;var objtmp=obj.parentNode;while(objtmp!=null){if(objtmp.tagName==tagName){return objtmp;}
else{objtmp=objtmp.parentNode;}
}
}
var bodyHeight;function pensileElement(oTarget,delay,position,showClose){this.oHtml=oTarget;this.oHtml.refFloatElement=this;this.x=parseInt(this.oHtml.style.left);this.y=parseInt(this.oHtml.style.top);this.startY=parseInt(this.oHtml.style.top);this.position=position;this.mynetFlow=function(){var obj=this;this.IntervalObj=setInterval(function(){var ns=(navigator.appName.indexOf("Netscape")!=-1);if(obj.position=="fromtop"){var pY=parseInt(ns?pageYOffset:getScrollTop(obj.ohtml));obj.y+=(pY+obj.startY-obj.y)/4;}
else{var pY=ns?parseInt(pageYOffset)+parseInt(innerHeight):parseInt(getScrollTop(obj.ohtml))+parseInt(window.document.body.parentNode.clientHeight);obj.y+=(pY-obj.startY-obj.y)/4;}
obj.oHtml.style.left=obj.x+"px";if(obj.y<bodyHeight)
obj.oHtml.style.top=obj.y+"px";}
,delay)}
if(showClose==true){this.oHtml.onmouseover=function(){showCloseSign(this);}
this.oHtml.onmouseout=function(){var closeSign=document.getElementById("mynetCloseSign");if(closeSign!=null){closeSign.style.display="none";}
}
}
this.stopFlow=function(){}
}
function smallToLargeElement(oTarget,delay,speed,showClose){this.oHtml=oTarget;this.oHtml.refFloatElement=this;this.width=parseInt(this.oHtml.width);this.height=parseInt(this.oHtml.height);this.mynetFlow=function(){var obj=this;var x=0;var y=0;this.IntervalObj=setInterval(function(){x+=speed;y+=speed;if(x<obj.width){obj.oHtml.style.width=x+"px";}
if(y<obj.height){obj.oHtml.style.height=y+"px";}
if(y>obj.height&&x>obj.width){obj.stopFlow();}
}
,delay)}
this.stopFlow=function(){}
if(showClose==true){this.oHtml.onmouseover=function(){showCloseSign(this);}
this.oHtml.onmouseout=function(){var closeSign=document.getElementById("mynetCloseSign");if(closeSign!=null){closeSign.style.display="none";}
}
}
}
function showCloseSign(obj){var closeSign=document.getElementById("mynetCloseSign");if(closeSign==null){closeSign=document.createElement("div");closeSign.style.backgroundColor='silver';closeSign.style.display="none";closeSign.id="mynetCloseSign";closeSign.innerHTML="<span style='cursor:hand;'><nobr>关闭</nobr></span>";closeSign.style.position="absolute";document.getElementById("mynetAspectPanel").appendChild(closeSign);}
closeSign.onmouseover=function(){closeSign.style.display="inline";obj.refFloatElement.stopFlow();}
var x=parseInt(obj.style.left)+parseInt(obj.width)-36;var y=parseInt(obj.style.top)+parseInt(obj.height)-18;closeSign.style.left=x+"px";closeSign.style.top=y+"px";closeSign.style.zIndex=15;closeSign.style.display="inline";var tmpObj=obj;closeSign.onclick=function(){tmpObj.style.display="none";closeSign.style.display="none";}
}
function floatElement(oTarget,delay,speed,flagX,flagY,showClose){this.oHtml=oTarget;this.oHtml.refFloatElement=this;this.delay=delay;this.flagX=flagX;this.flagY=flagY;this.speed=speed;this.IntervalObj=null;this.mynetFlow=function(){var obj=this;var pos1=getElementPos(obj.oHtml);var iStartLeft=parseInt(obj.oHtml.style.left)-pos1.x;var iStartTop=parseInt(obj.oHtml.style.top)-pos1.y;var bWidth=Math.max(document.documentElement.clientWidth,document.body.clientWidth);var bHeight=Math.max(document.documentElement.clientHeight,document.body.clientHeight);var iWidth=obj.oHtml.offsetWidth;var iHeight=obj.oHtml.offsetHeight;this.IntervalObj=setInterval(function(){var iLeft=parseInt(obj.oHtml.style.left);var iTop=parseInt(obj.oHtml.style.top);if(iLeft-iStartLeft<=(bWidth-iWidth)&&obj.flagX==0){obj.oHtml.style.left=(iLeft+obj.speed)+"px";}
else
if(iLeft-iStartLeft>(bWidth-iWidth)&&obj.flagX==0){obj.flagX=1;}
else
if(iLeft>=iStartLeft&&obj.flagX==1){obj.oHtml.style.left=(iLeft-obj.speed)+"px";}
else
if(iStartLeft>iLeft&&obj.flagX==1){obj.flagX=0;}
if(iTop-iStartTop<=(bHeight-iHeight)&&obj.flagY==0){obj.oHtml.style.top=(iTop+obj.speed)+"px";}
else
if(iTop-iStartTop>(bHeight-iHeight)&&obj.flagY==0){obj.flagY=1;}
else
if(iTop>=iStartTop&&obj.flagY==1){obj.oHtml.style.top=(iTop-obj.speed)+"px";}
else
if(iStartTop>iTop&&obj.flagY==1){obj.flagY=0;}
}
,delay);}
this.stopFlow=function(){clearInterval(this.IntervalObj)}
this.oHtml.onmouseover=function(){this.refFloatElement.stopFlow();if(showClose==true)
showCloseSign(this);}
this.oHtml.onmouseout=function(){this.refFloatElement.mynetFlow();if(showClose==true){var closeSign=document.getElementById("mynetCloseSign");if(closeSign!=null){closeSign.style.display="none";}
}
}
}
function filenameWithoutExtension(path){var index=path.lastIndexOf("/");if(index<0){index=path.lastIndexOf("\\");}
var filename=path.substr(index+1);index=filename.lastIndexOf(".");if(index<0){return filename;}
else{return filename.substr(0,index);}
}
function GetPageAspectContent(baseSiteUrl,aspUID,docUID,curPage,parameter){var frmId=aspUID.replace(/-/g,'_');var strUrl=baseSiteUrl+"Aspect/GetAspectPageContent.aspx";strUrl+='?auid='+aspUID+'&docuid='+docUID+'&curPid='+curPage;var divContent=document.getElementsByName('divContent_'+aspUID);if(divContent!=null){divContent.innerHTML="<img src='/res/loading.gif\' border='0' />正在读取数据...";}
if(parameter.indexOf('=')>0&&parameter.indexOf('p=')==-1){strUrl+='&'+parameter;}
else
if(parameter!=''){strUrl+='&p='+parameter;}
var mynetPoster=new mynet_FormDataPoster(strUrl);var postedData=document.getElementById("mynet_CSubjectParameter_"+frmId);if(postedData!=null){mynetPoster.AddFormKeyValue("mynet_CSubjectParameter",postedData.value);}
var retData=mynetPoster.Post();setTimeout(function showdata(){mynet_dealTurnPageData(retData,divContent)}
,10);}
function AspectPageInfoToLeft(aspUID){var objSpan=document.getElementById('span_'+aspUID);if(objSpan!=null){objSpan.scrollLeft-=parseInt(objSpan.style.width);}
}
function AspectPageInfoToRight(aspUID){var objSpan=document.getElementById('span_'+aspUID);if(objSpan!=null){objSpan.scrollLeft+=parseInt(objSpan.style.width);}
}
function SetNextPreSign(aspUID){var objSpanNP=document.getElementById('spanNP_'+aspUID);{if(objSpanNP!=null){var objSpan=document.getElementById('span_'+aspUID);if(objSpan!=null){if(parseInt(objSpan.offsetWidth)<parseInt(objSpan.scrollWidth)){objSpanNP.innerHTML='<a href=""javascript:AspectPageInfoToLeft(\''+aspUID+'\');""><</a> ';objSpanNP.innerHTML+='<a href=""javascript:AspectPageInfoToRight(\''+aspUID+'\');"">></a>';}
}
}
}
}
function mynet_FormDataPoster(postUrl){var formDatas=new Array;var formKeys=new Array;this.AddFormKeyValue=function(key,value){formDatas[key]=value;formKeys.push(key);}
this.GetFormDatas=function(){return formDatas;}
this.builderDatas=function(){var len=formKeys.length;var postStr="";for(var i=0;i<len;i++){if(postStr!=""){postStr+="&";}
postStr+=escape(formKeys[i])+"="+escape(formDatas[formKeys[i]]);}
return postStr;}
this.Post=function(){var url=postUrl;var objHttpRequest=null;try{objHttpRequest=new ActiveXObject('Msxml2.XMLHTTP');}
catch(e){try{objHttpRequest=new ActiveXObject('Microsoft.XMLHTTP');}
catch(E){objHttpRequest=new XMLHttpRequest();}
}
objHttpRequest.open("POST",url,false);objHttpRequest.setRequestHeader("Content-Type","application/x-www-form-urlencoded");objHttpRequest.setRequestHeader("char-set","utf-8");objHttpRequest.send(this.builderDatas());var retvalue=objHttpRequest.responseText;return retvalue;}
}
function mynet_SubjectDataPoster(siteUrl,aspectUID,docUID,mergedDocId,renderMode,eventName){this.SiteUrl=siteUrl;this.AspectUID=aspectUID;this.DocUID=docUID;this.RenderMode=renderMode;this.EventName=eventName;this.MergedDocId=mergedDocId;var formDatas=new Array;var formKeys=new Array;this.AddFormKeyValue=function(key,value){formDatas[key]=value;formKeys.push(key);}
this.GetFormDatas=function(){return formDatas;}
this.builderDatas=function(){var len=formKeys.length;var postStr="";for(var i=0;i<len;i++){if(postStr!=""){postStr+="&";}
postStr+=escape(formKeys[i])+"="+escape(formDatas[formKeys[i]]);}
return postStr;}
this.Post=function(){var url=this.SiteUrl+"/aspect/aspectCascading.aspx?aspectuid="+aspectUID+"&docuid="+docUID+"&mdocuid="+mergedDocId+"&ev="+eventName+"&m="+renderMode;var objHttpRequest=null;try{objHttpRequest=new ActiveXObject('Msxml2.XMLHTTP');}
catch(e){try{objHttpRequest=new ActiveXObject('Microsoft.XMLHTTP');}
catch(E){objHttpRequest=new XMLHttpRequest();}
}
objHttpRequest.open("POST",url,false);objHttpRequest.setRequestHeader("Content-Type","application/x-www-form-urlencoded")
objHttpRequest.setRequestHeader("char-set","utf-8");objHttpRequest.send(this.builderDatas());var retvalue=objHttpRequest.responseText;mynet_dealCascadingData(retvalue);}
}
function mynet_dealTurnPageData(xmlDocString,divContent){var docDom=new mynet_XmlDom();docDom.loadXML(xmlDocString);var nodeList=docDom.documentElement.childNodes;var len=nodeList.length;var isIE=mynet_GetNavigator()=="MSIE";for(var i=0;i<len;i++){var aspectUID=nodeList[i].getAttribute("uid");var strHtml=isIE?nodeList[i].text:nodeList[i].textContent;if(strHtml!=""){var len=divContent.length;for(var i=0;i<len;i++){mynet_SetInnerHTML(divContent[i],strHtml);}
}
}
mynetResizeTheme();}
function mynet_dealCascadingData(xmlDocString){var docDom=new mynet_XmlDom();docDom.loadXML(xmlDocString);var nodeList=docDom.documentElement.childNodes;var len=nodeList.length;var isIE=mynet_GetNavigator()=="MSIE";for(var i=0;i<len;i++){var aspectUID=nodeList[i].getAttribute("uid");var conetentElement=mynet_GetAspectContentElement(aspectUID).parentNode;var strInnerHTTML=isIE?nodeList[i].text:nodeList[i].textContent;mynet_SetInnerHTML(conetentElement,strInnerHTTML);}
mynetResizeTheme();}
function mynet_GetAspectContentElement(aspectUID){var contentElement=document.getElementById("divCascading_"+aspectUID);return contentElement;}
function mynet_SetInnerHTML(el,htmlCode){var ua=navigator.userAgent.toLowerCase();if(ua.indexOf('msie')>=0&&ua.indexOf('opera')<0){htmlCode='<div style="display:none">for IE</div>'+htmlCode;htmlCode=htmlCode.replace(/<script([^>]*)>/gi,'<script$1 defer>');el.innerHTML='';el.innerHTML=htmlCode;el.removeChild(el.firstChild);}
else{var el_next=el.nextSibling;var el_parent=el.parentNode;el_parent.removeChild(el);el.innerHTML=htmlCode;if(el_next){el_parent.insertBefore(el,el_next)}
else{el_parent.appendChild(el);}
}
}
function mynet_XmlDom(){if(window.ActiveXObject){var arrSignatures=["MSXML2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML2.DOMDocument","Microsoft.XmlDom"];for(var i=0;i<arrSignatures.length;i++){try{oXmlDom=new ActiveXObject(arrSignatures[i]);oXmlDom.setProperty("SelectionLanguage","XPath");return oXmlDom;}
catch(oError){}
}
throw new Error("MSXML is not installed on your system.");}
else
if(document.implementation&&document.implementation.createDocument){var oXmlDom=document.implementation.createDocument("","",null);oXmlDom.parseError={valueOf:function(){return this.errorCode;}
,toString:function(){return this.errorCode.toString()}
};oXmlDom.__initError__();oXmlDom.addEventListener("load",function(){this.__checkForErrors__();this.__changeReadyState__(4);}
,false);return oXmlDom;}
else{throw new Error("Your browser doesn't support an XML DOM object.");}
}
function mynet_GetNavigator(){var OsObject="";if(navigator.userAgent.indexOf("MSIE")>0){return "MSIE";}
if(navigator.userAgent.indexOf("Firefox")>0){return "Firefox";}
if(navigator.userAgent.indexOf("Safari")>0){return "Safari";}
if(navigator.userAgent.indexOf("Camino")>0){return "Camino";}
if(navigator.userAgent.indexOf("Gecko")>0){return "Gecko";}
}
if(navigator.userAgent.indexOf("Firefox")>0){Document.prototype.readyState=0;Document.prototype.onreadystatechange=null;Document.prototype.__changeReadyState__=function(iReadyState){this.readyState=iReadyState;if(typeof
this.onreadystatechange=="function"){this.onreadystatechange();}
};Document.prototype.__initError__=function(){this.parseError.errorCode=0;this.parseError.filepos=-1;this.parseError.line=-1;this.parseError.linepos=-1;this.parseError.reason=null;this.parseError.srcText=null;this.parseError.url=null;};Document.prototype.__checkForErrors__=function(){if(this.documentElement.tagName=="parsererror"){var reError="/>([\s\S]*?)Location:([\s\S]*?)Line Number (\d+),Column (\d+):<sourcetext>([\s\S]*?)(?:\-*\^)/";var regular=new RegExp(reError);regular.test(this.xml);this.parseError.errorCode=-999999;this.parseError.reason=RegExp.$1;this.parseError.url=RegExp.$2;this.parseError.line=parseInt(RegExp.$3);this.parseError.linepos=parseInt(RegExp.$4);this.parseError.srcText=RegExp.$5;};};Document.prototype.loadXML=function(sXml){this.__initError__();this.__changeReadyState__(1);var oParser=new DOMParser();var oXmlDom=oParser.parseFromString(sXml,"text/xml");while(this.firstChild){this.removeChild(this.firstChild);}
for(var i=0;i<oXmlDom.childNodes.length;i++){var oNewNode=this.importNode(oXmlDom.childNodes[i],true);this.appendChild(oNewNode);}
this.__checkForErrors__();this.__changeReadyState__(4);};Document.prototype.__load__=Document.prototype.load;Document.prototype.load=function(sURL){this.__initError__();this.__changeReadyState__(1);this.__load__(sURL);};Node.prototype.__defineGetter__("xml",function(){var oSerializer=new XMLSerializer();return oSerializer.serializeToString(this,"text/xml");}
);}
function mynet_LoadRemoteJs(id,url){var script=document.getElementById(id);var head=document.getElementsByTagName('head').item(0);if(script==null){script=document.createElement('script');script.src=url;script.type='text/javascript';script.id=id;head.appendChild(script);}
return script;}
function mynet_pageonload(pagename){var mynet_productdocpageCount=eval('pageCount_'+pagename);var mynet_productdocpageCurrent=eval('pageCurrent_'+pagename);mynet_productdocpageCount=document.getElementById("pagenation_"+pagename).innerHTML;mynet_productdocpageCurrent=1;var r=/^\+?[1-9][0-9]*$/;if(!r.test(mynet_productdocpageCurrent)||parseInt(mynet_productdocpageCurrent)>parseInt(mynet_productdocpageCount)){mynet_productdocpageCurrent=1;}
if(mynet_productdocpageCount>0){document.getElementById('page_'+pagename+'1').style.display='none';document.getElementById('page_'+pagename+mynet_productdocpageCurrent).style.display='block';mynet_pageSet(pagename);document.getElementById('pagenation_'+pagename).style.display='block';}
}
function mynet_pageSet(pagename){var mynet_productdocpageCount=eval('pageCount_'+pagename);var mynet_productdocpageCurrent=eval('pageCurrent_'+pagename);var pagehtml="";var pagesize=10;pagehtml=mynet_pageModel1(pagesize,mynet_productdocpageCurrent,mynet_productdocpageCount,pagename);document.getElementById("pagenation_"+pagename).innerHTML=pagehtml;}
function mynet_pageModel1(pagesize,crrentPage,pageCount,pagename){var mynet_productdocpageCount=eval('pageCount_'+pagename);var mynet_productdocpageCurrent=eval('pageCurrent_'+pagename);var pagenavigation="";var i=0;if(crrentPage>1)
pagenavigation+='<a href=\'javascript:void(0);\' onclick=\'javascript:mynet_pagenation('+'pageCurrent_'+pagename+'-1,"'+pagename+'")\'><<</a>';for(i=1;i<=pageCount;i++){if(i==crrentPage){pagenavigation+="<span class='current'>"+i+"</span>";}
else{pagenavigation+='<a href=\'javascript:void(0);\' onclick=\'javascript:mynet_pagenation('+i+',"'+pagename+'")\'>'+i+'</a>';}
}
if(parseInt(crrentPage)<parseInt(pageCount))
pagenavigation+='<a href=\'javascript:void(0);\' onclick=\'javascript:mynet_pagenation('+'pageCurrent_'+pagename+'+1,"'+pagename+'")\'>>></a>';return pagenavigation;}
function mynet_pageModel2(pagesize,crrentPage,pageCount,pagename){var mynet_productdocpageCount=eval('pageCount_'+pagename);var mynet_productdocpageCurrent=eval('pageCurrent_'+pagename);var pagenavigation="";var i=0;var tmp=Div(pagesize,2);var startpage;var endpage;startpage=crrentPage-tmp;if(startpage<1){startpage=1;}
endpage=startpage+pagesize-1;if(endpage>pageCount){endpage=pageCount;tmp=endpage-startpage+1;if(tmp<pagesize){startpage-=pagesize-tmp;if(startpage<1){startpage=1;}
}
}
if(crrentPage>1)
pagenavigation+='<a href=\'javascript:void(0);\' onclick=\'javascript:mynet_pagenation('+'pageCurrent_'+pagename+'-1,"'+pagename+'")\'><<</a>';for(i=startpage;i<=endpage;i++){if(i==crrentPage){pagenavigation+="<span class='current'>"+i+"</span>";}
else{pagenavigation+='<a href=\'javascript:void(0);\' onclick=\'javascript:mynet_pagenation('+i+',"'+pagename+'")\'>'+i+'</a>';}
}
if(parseInt(crrentPage)<parseInt(pageCount))
pagenavigation+='<a href=\'javascript:void(0);\' onclick=\'javascript:mynet_pagenation('+'pageCurrent_'+pagename+'+1,"'+pagename+'")\'>>></a>';return pagenavigation;}
function mynet_pagenation(pageid,pagename){var mynet_productdocpageCount=eval('pageCount_'+pagename);var mynet_productdocpageCurrent=eval('pageCurrent_'+pagename);if(pageid>0&&pageid<=mynet_productdocpageCount){document.getElementById('page_'+pagename+pageid).style.display='block';document.getElementById('page_'+pagename+mynet_productdocpageCurrent).style.display='none';mynet_productdocpageCurrent=pageid;eval('pageCurrent_'+pagename+"="+pageid);}
mynet_pageSet(pagename);mynetResizeTheme();}
function getUrlParameter(seekParameter){var url=location.href;var parameters=url.substr(url.indexOf("?")+1);var parameterItems=parameters.split("&");var parameterName;var parameterVar="";for(i
in
parameterItems){parameterName=parameterItems[i].split("=")[0];parameterVar=parameterItems[i].split("=")[1];if(parameterName==seekParameter){return(parameterVar);}
}
return "";}
function Div(exp1,exp2){var n1=Math.round(exp1);var n2=Math.round(exp2);var rslt=n1/n2;if(rslt>=0)
rslt=Math.floor(rslt);else
rslt=Math.ceil(rslt);return rslt;}
function commonCategoryInit(clientId,selectedValue,width,noticeMsg){var data=eval('commonCategoryData_'+clientId);var span=document.getElementById('commonCategorySpan_'+clientId);var ctrl=commonCategoryCreateDropDownList(data,1,10000,span,0,width,noticeMsg);if(selectedValue==null)
return;var indexArray=commonCategoryGetIndex(data,selectedValue);if(indexArray.length<=0)
return;var itemLength=data[0];for(var i=0;i<indexArray.length;i++){var selectedIndex=indexArray[i];ctrl.value=data[selectedIndex+1];var listCount=data[selectedIndex];if(listCount>0){var listIndex=selectedIndex+itemLength;ctrl=commonCategoryCreateDropDownList(data,listIndex,listCount,span,0,width,noticeMsg);}
}
}
function commonCategoryOnChange(noticeMsg,obj){var span=obj.parentNode;var clientId=span.id.substr('commonCategorySpan_'.length);var data=eval('commonCategoryData_'+clientId);var selectedValue=obj.value;var selectedText=obj.options[obj.selectedIndex].text;var indexOfParent=selectedText.indexOf("-->");document.getElementById(clientId+"_hfSelectedValue").value=selectedValue;if(selectedValue=='')
return;var dataIndexArray=commonCategoryGetIndex(data,selectedValue);var dataIndex=dataIndexArray[dataIndexArray.length-1];var debugCount=1000;while(span.childNodes.length>0&&debugCount-->0){var spanChild=span.children[span.childNodes.length-1];if(spanChild==obj)
break;spanChild.removeNode(true);}
var childrenCount=data[dataIndex];if(childrenCount<=0)
return;var itemLength=data[0];var childSelect=commonCategoryCreateDropDownList(data,dataIndex+itemLength,childrenCount,span,0,parseInt(obj.style.width),noticeMsg);}
function commonCategoryGetIndex(data,categoryId){var itemLength=data[0];var returnIndexArray=new Array;for(var index=1;index<data.length;){var ret=commonCategoryGetIndex2(data,index,categoryId,returnIndexArray);if(ret==-1)
break;index+=ret*itemLength;}
return returnIndexArray;}
function commonCategoryGetIndex2(data,index,categoryId,returnIndexArray){returnIndexArray[returnIndexArray.length]=index;if(data[index+1]==categoryId){return-1;}
var itemLength=data[0];var count=data[index];var total=1;index+=itemLength;while(count-->0){var ret=commonCategoryGetIndex2(data,index,categoryId,returnIndexArray);if(ret==-1)
return-1;total+=ret;index+=ret*itemLength;}
returnIndexArray.length--;return total;}
function commonCategoryGetTotalChildren(data,index){var itemLength=data[0];var count=data[index];var total=1;index+=itemLength;while(count-->0){var ret=commonCategoryGetTotalChildren(data,index);total+=ret;index+=ret*itemLength;}
return total;}
function commonCategoryCreateDropDownList(data,index,count,span,selectedIndex,width,noticeMsg){if(selectedIndex==null)
selectedIndex=-1;var select=document.createElement('SELECT');if(width!="0"&&!isNaN(width))
select.style.width=width+"px";if(span.childNodes.length>0){span.insertBefore(select);}
else{span.appendChild(select);}
select.onchange=function(){commonCategoryOnChange(noticeMsg,select)};var option=document.createElement('OPTION');option.value='';if(noticeMsg==null||noticeMsg==''){noticeMsg="--请选择--";}
option.text=noticeMsg;if(mynet_GetNavigator()!='MSIE'){select.appendChild(option);}
else{select.options.add(option);}
var itemLength=data[0];while(index<data.length&&count>0){option=document.createElement('OPTION');option.value=data[index+1];option.text=data[index+2];option.selected=(selectedIndex==index);if(data[index]>0)
option.text+=" ->";if(mynet_GetNavigator()!='MSIE'){select.appendChild(option);}
else{select.options.add(option);}
index+=itemLength*(commonCategoryGetTotalChildren(data,index));count--;}
return select;}
function mynet_TabOnClick(obj,aspectUID){var tabHeaderDiv=document.getElementById("tabHeaders_"+aspectUID);var tabHeaders=tabHeaderDiv.getElementsByTagName("a");var tabHeaderLen=tabHeaders.length;var tabIndex=0;for(var i=0;i<tabHeaderLen;i++){if(tabHeaders[i]==obj){tabHeaders[i].className="selected";tabIndex=i;}
else{tabHeaders[i].className="";}
}
var parentSpan=document.getElementById("tabParent_"+aspectUID);var tabs=parentSpan.childNodes;var len=tabs.length;for(var i=0;i<len;i++){if(i!=tabIndex){tabs[i].style.display="none";}
else{tabs[i].style.display="inline";}
}
}
function refreshValidateCode(codeid){var imgValidate=document.getElementById(codeid);if(codeid!=null){imgValidate.src="/web/vcodeimg.aspx?dt="+new Date();}
}
function addMynetFavorite(keystring,type,title,usermark,userloged){if(userloged){var strUrl="/plugin/mynetsite/AddFavorite.aspx?keystring="+keystring+"&usermark="+usermark+"&type="+type+"&title="+escape(title);var ret=ShowModalDialogInFrame(strUrl);if(ret=="true"){alert("恭喜您，成功加入收藏!");}
else
if(ret=="false"){alert("加入收藏失败，可能是您之前已经加入过该收藏。");}
}
else{window.location.href='/web/login.aspx?returnurl='+escape(window.location.href);}
}
function removeMynetFavorite(keystring){if(confirm("您是否确定要移出该收藏？")){var strUrl="/plugin/mynetsite/removeFavorite.aspx?keystring="+keystring;var ret=httpRequest(strUrl);if(ret=="true"){alert("恭喜您，该收藏已经成功移出！");window.location.href=window.location.href;}
else{alert("移出收藏失败，可能是您没有登录或者该收藏之前已经被移出了。");}
}
}
if(typeof(mynetMenuData)!='object'){mynetMenuData=new Array;mynetMenuTimeout=null;mynetMenuTarget=window;mynetMenuSource=window;mynetMenuObjects=new Array;mynetMenuTopDiv=null;MenuStyle="border:solid 1px #B9B9B9;background-color:#FFFFFF;";MenuItemStyle="cursor:pointer;height:20px;font-size:12px;background-color:#FFFFFF;color:#000000;";MenuItemOverStyle="cursor:pointer;height:20px;font-size:12px;background-color:silver;color:#000000;";BtnBgImg="btn_black.gif,btn_black_blue.gif";ArrImg="arr_black.gif,arr_white.gif";MynetcssToJsMap=new Array;MynetcssToJsMap["background"]="background";MynetcssToJsMap["background-attachment"]="backgroundAttachment";MynetcssToJsMap["background-color"]="backgroundColor";MynetcssToJsMap["background-image"]="backgroundImage";MynetcssToJsMap["background-position"]="backgroundPosition";MynetcssToJsMap["background-position-x"]="backgroundPositionX";MynetcssToJsMap["background-position-y"]="backgroundPositionY";MynetcssToJsMap["background-repeat"]="backgroundRepeat";MynetcssToJsMap["behavior"]="behavior";MynetcssToJsMap["border"]="border";MynetcssToJsMap["border-bottom"]="borderBottom";MynetcssToJsMap["border-bottom-color"]="borderBottomColor";MynetcssToJsMap["border-bottom-style"]="borderBottomStyle";MynetcssToJsMap["border-bottom-width"]="borderBottomWidth";MynetcssToJsMap["border-color"]="borderColor";MynetcssToJsMap["border-left"]="borderLeft";MynetcssToJsMap["border-left-color"]="borderLeftColor";MynetcssToJsMap["border-left-style"]="borderLeftStyle";MynetcssToJsMap["border-left-width"]="borderLeftWidth";MynetcssToJsMap["border-right"]="borderRight";MynetcssToJsMap["border-right-color"]="borderRightColor";MynetcssToJsMap["border-right-style"]="borderRightStyle";MynetcssToJsMap["border-right-width"]="borderRightWidth";MynetcssToJsMap["border-style"]="borderStyle";MynetcssToJsMap["border-top"]="borderTop";MynetcssToJsMap["border-top-color"]="borderTopColor";MynetcssToJsMap["border-top-style"]="borderTopStyle";MynetcssToJsMap["border-top-width"]="borderTopWidth";MynetcssToJsMap["border-width"]="borderWidth";MynetcssToJsMap["bottom"]="bottom";MynetcssToJsMap["clear"]="clear";MynetcssToJsMap["clip"]="clip";MynetcssToJsMap["color"]="color";MynetcssToJsMap["cursor"]="cursor";MynetcssToJsMap["direction"]="direction";MynetcssToJsMap["display"]="display";MynetcssToJsMap["filter"]="filter";MynetcssToJsMap["font"]="font";MynetcssToJsMap["font-family"]="fontFamily";MynetcssToJsMap["font-size"]="fontSize";MynetcssToJsMap["font-style"]="fontStyle";MynetcssToJsMap["font-variant"]="fontVariant";MynetcssToJsMap["font-weight"]="fontWeight";MynetcssToJsMap["height"]="height";MynetcssToJsMap["layout-flow"]="layoutFlow";MynetcssToJsMap["layout-grid"]="layoutGrid";MynetcssToJsMap["layout-grid-char"]="layoutGridChar";MynetcssToJsMap["layout-grid-line"]="layoutGridLine";MynetcssToJsMap["layout-grid-mode"]="layoutGridMode";MynetcssToJsMap["layout-grid-type"]="layoutGridType";MynetcssToJsMap["left"]="left";MynetcssToJsMap["letter-spacing"]="letterSpacing";MynetcssToJsMap["line-break"]="lineBreak";MynetcssToJsMap["line-height"]="lineHeight";MynetcssToJsMap["overflow"]="overflow";MynetcssToJsMap["overflow-x"]="overflowX";MynetcssToJsMap["overflow-y"]="overflowY";MynetcssToJsMap["padding"]="padding";MynetcssToJsMap["padding-bottom"]="paddingBottom";MynetcssToJsMap["padding-left"]="paddingLeft";MynetcssToJsMap["padding-right"]="paddingRight";MynetcssToJsMap["padding-top"]="paddingTop";MynetcssToJsMap["right"]="right";MynetcssToJsMap["scrollbar-3dlight-color"]="scrollbar3dLightColor";MynetcssToJsMap["scrollbar-arrow-color"]="scrollbarArrowColor";MynetcssToJsMap["scrollbar-base-color"]="scrollbarBaseColor";MynetcssToJsMap["scrollbar-darkshadow-color"]="scrollbarDarkShadowColor";MynetcssToJsMap["scrollbar-face-color"]="scrollbarFaceColor";MynetcssToJsMap["scrollbar-highlight-color"]="scrollbarHighlightColor";MynetcssToJsMap["scrollbar-shadow-color"]="scrollbarShadowColor";MynetcssToJsMap["scrollbar-track-color"]="scrollbarTrackColor";MynetcssToJsMap["float"]="styleFloat";MynetcssToJsMap["text-align"]="textAlign";MynetcssToJsMap["text-align-last"]="textAlignLast";MynetcssToJsMap["text-autospace"]="textAutospace";MynetcssToJsMap["text-decoration"]="textDecoration";MynetcssToJsMap["text-indent"]="textIndent";MynetcssToJsMap["text-justify"]="textJustify";MynetcssToJsMap["text-kashida-space"]="textKashidaSpace";MynetcssToJsMap["text-overflow"]="";MynetcssToJsMap["text-transform"]="textTransform";MynetcssToJsMap["text-underline-position"]="textUnderlinePosition";MynetcssToJsMap["top"]="top";MynetcssToJsMap["unicode-bidi"]="unicodeBidi";MynetcssToJsMap["visibility"]="visibility";MynetcssToJsMap["white-space"]="whiteSpace";MynetcssToJsMap["width"]="width";MynetcssToJsMap["z-index"]="zIndex";MynetcssToJsMap["zoom"]="zoom";var mynetMenuOnBlurFunc;function setDivPaddingTop(obj){try{var fontSizePx=parseInt(obj.style.fontSize);var height=parseInt(obj.clientHeight);if(height<=0){try{height=parseInt(obj.style.height);}
catch(ex){height=22;}
}
var paddingTop=(height-fontSizePx)/2;if(paddingTop<0)
paddingTop=5;var menuText=obj.getElementsByTagName("nobr")[0];menuText.style.paddingTop=paddingTop+"px";menuText.style.display="inline-block";obj.getElementsByTagName("img")[0].width=obj.clientWidth;}
catch(e){}
}
function setTargetCss(oTarget,cssStr){if(cssStr==null||cssStr=='')
return;var arrCss=cssStr.split(';');var len=arrCss.length;for(var i=0;i<len;i++){var cssName=arrCss[i].split(':')[0];var cssValue=arrCss[i].substring(cssName.length+1);if(cssName!=''&&cssValue!='')
oTarget.style[MynetcssToJsMap[cssName]]=cssValue;}
}
function mynetMenuRootOver(id,rootObj){var menuImgs=null;if(mynetMenuData[id]==null){return;}
if(mynetMenuData[id]["btnBgImg"]!=null&&mynetMenuData[id]["btnBgImg"].length>1){menuImgs=mynetMenuData[id]["btnBgImg"].split(',');var img=rootObj.getElementsByTagName('img');if(img.length>0){if(menuImgs[1].length>0){img[0].src=menuImgs[1];img[0].style.visibility='visible';}
else{img[0].style.visibility='hidden';}
}
}
var menuStyle='';if(mynetMenuData[id]["menuRootItemOverStyle"]!=null&&mynetMenuData[id]["menuRootItemOverStyle"]!='')
menuStyle=mynetMenuData[id]["menuRootItemOverStyle"];if(menuStyle!='')
setTargetCss(rootObj,menuStyle);}
function mynetMenuSetCurrent(id,rootObj){var data=mynetMenuData[id];if(data!=null&&data["CurrentSelectRootItem"]!=null){mynetMenuRootOut(id,data["CurrentSelectRootItem"],true);}
mynetMenuRootOver(id,rootObj);if(data!=null){data["CurrentSelectRootItem"]=rootObj;}
}
function mynetMenuRegisterData(id,width,menuStyle,menuItemStyle,menuItemOverStyle,btnBgImg,menuRootItemStyle,menuRottItemOverStyle,zIndex){var a=new Array();mynetMenuData[id]=a;a["width"]=width;a["menuStyle"]=menuStyle;a["menuItemStyle"]=menuItemStyle;a["menuItemOverStyle"]=menuItemOverStyle;a["btnBgImg"]=btnBgImg;a["menuRootItemStyle"]=menuRootItemStyle;a["menuRootItemOverStyle"]=menuRottItemOverStyle;a["zIndex"]=zIndex;}
function mynetMenuRootOut(id,rootObj,forceToDo){var data=mynetMenuData[id];if(data!=null&&data["CurrentSelectRootItem"]!=null&&data["CurrentSelectRootItem"]==rootObj&&!forceToDo){return;}
var menuImgs=null;if(mynetMenuData[id]["btnBgImg"]!=null&&mynetMenuData[id]["btnBgImg"].length>1){menuImgs=mynetMenuData[id]["btnBgImg"].split(',');var img=rootObj.getElementsByTagName('img');if(img.length>0){if(menuImgs[0].length>0){img[0].src=menuImgs[0];img[0].style.visibility='visible';}
else{img[0].style.visibility='hidden';}
}
}
var menuStyle='';if(mynetMenuData[id]["menuRootItemStyle"]!=null&&mynetMenuData[id]["menuRootItemStyle"]!='')
menuStyle=mynetMenuData[id]["menuRootItemStyle"];if(menuStyle!='')
setTargetCss(rootObj,menuStyle);}
function mynetMenuObject(id,target){if(target==null)
target=window;var body=target.document.body;this.borderStyle='';if(mynetMenuTopDiv==null){mynetMenuTopDiv=document.createElement('DIV');if(body.childNodes.length<=0)
body.insertBefore(mynetMenuTopDiv,null);else
body.insertBefore(mynetMenuTopDiv,body.childNodes[0]);}
var data=mynetMenuData[id];var div=target.document.createElement('DIV');mynetMenuTopDiv.insertBefore(div,null);var menuStyle=MenuStyle;var menuWidthHtml='';if(data!=null){if(data["menuStyle"]!=null&&data["menuStyle"]!='')
menuStyle=data["menuStyle"];var menuWidth=data["width"];menuWidthHtml=(menuWidth==null||menuWidth=='')?'':('width='+menuWidth);}
var zindex=(data!=null&&data["zIndex"]!=null)?data["zIndex"]:10000000;div.innerHTML="<table onmousemove='mynetMenuSetTimeout(100000)' onmouseout='mynetMenuSetTimeout(1000)'  onblur='mynetMenuBlur()'"+menuWidthHtml+" style='"+menuStyle+";visibility:hidden;position:absolute;left:0px;top:0px;z-index:"+zindex+";border-collapse:collapse;' cellpadding=4>"+"<tr valign=top><td width='100%'>"+"</td></tr>"+"</table>";if(!(id.length>18&&id.substr(0,18)=="mynetToolBoxFolder"))
div.innerHTML="<iframe FRAMEBORDER='no' scrolling='no' style='visibility:hidden;moz-opacity:0.0;filter:alpha(opacity=0);position:absolute;z-index:"+zindex+"'></iframe>"+div.innerHTML;this.id=id;this.div=div;this.data=data;this.table=this.div.getElementsByTagName('TABLE')[0];this.td=this.table.rows[0].cells[0];this.selectedItemId=null;var s=this.div.getElementsByTagName('IFRAME');this.iframe=s.length>0?s[0]:null;}
function mynetMenuSetTimeout(millisecond){mynetMenuSource.mynetMenuTimeout=new Date();mynetMenuSource.mynetMenuTimeout.setTime(mynetMenuSource.mynetMenuTimeout.getTime()+millisecond);}
function mynetMenuEnter(tr,menuId,itemId){mynetMenuSetTimeout(100000);var data=mynetMenuData[menuId];var table=tr.offsetParent;while(table!=null&&!mynetMenuTableInArray(table))
table=table.offsetParent;var obj,objIndex;for(var objIndex=0;objIndex<mynetMenuObjects.length;objIndex++){obj=mynetMenuObjects[objIndex];if(obj.table==table)
break;}
if(obj.selectedItemId==itemId)
return;obj.selectedItemId=itemId;var menuItemStyle=MenuItemStyle;if(data["menuItemStyle"]!=''&&data["menuItemStyle"]!=null)
menuItemStyle=data["menuItemStyle"];for(var i=0;i<tr.offsetParent.rows.length;i++){var a=tr.offsetParent.rows[i];if(a.style.display!='none'&&a.innerText!=''){setTargetCss(a.childNodes[0].childNodes[0],menuItemStyle);}
}
var curItem=getMenueItemById(data,itemId);var menuItemOverStyle=MenuItemOverStyle;if(data["menuItemOverStyle"]!=null&&data["menuItemOverStyle"]!='')
menuItemOverStyle=data["menuItemOverStyle"];if(tr.style.display!='none'&&tr.innerText!=''&&(curItem.url!=''||curItem.hasChild!=false))
setTargetCss(tr.childNodes[0].childNodes[0],menuItemOverStyle);while(mynetMenuObjects.length>objIndex+1){mynetMenuObjects.pop().div.removeNode(true);}
if(curItem.hasChild){var obj=mynetMenuGenerateTable2(menuId,curItem.id,window);if(obj==null)
return;var x=mynetMenuObjectLeft(tr)+tr.offsetWidth+4;var y=mynetMenuObjectTop(tr);if(x>document.body.offsetWidth-obj.table.offsetWidth-20)
x=mynetMenuObjectLeft(tr)-obj.table.offsetWidth-5;mynetMenuSetPos(obj,x,y,window);}
}
function mynetMenuRemoveItemById(data,itemId){var index=mynetMenuGetItemIndexById(data,itemId);if(index>=0)
data.splice(index,1);}
function mynetMenuGetItemIndexById(data,itemId){var len=data.length;for(var i=0;i<len;i++){if(data[i].id==itemId){return i;}
}
return-1;}
function getMenueItemById(data,itemId){var index=mynetMenuGetItemIndexById(data,itemId);if(index>=0)
return data[index];return null;}
function mynetMenuLeave(){mynetMenuSetTimeout(200);}
function mynetMenuStartsWith(str,word){if(str!=null&&word!=null&&str.length>=word.length&&str.substr(0,word.length)==word)
return true;return false;}
function mynetMenuTableInArray(table){for(var i=0;i<mynetMenuObjects.length;i++){var obj=mynetMenuObjects[i];if(obj.table==table){return true;}
}
return false;}
function mynetMenuBlur(){var obj=document.activeElement;var re=new RegExp('^<NOBR id=.*>.*</NOBR>$');if(re.test(obj.innerHTML)==true){return;}
if(typeof
mynetMenuOnBlurFunc=='function'){mynetMenuOnBlurFunc();return;}
var obj=document.activeElement;while(obj!=null&&!mynetMenuTableInArray(obj))
obj=obj.offsetParent;if(obj==null){mynetMenuHide();}
else{obj.focus();}
}
function mynetMenuGenerateTable(id,target,srcElement,parentId){if(parentId!=null&&parentId!=''){var data=mynetMenuData[id];if(data==null)
return null;var menuItem=getMenueItemById(data,parentId);if(menuItem==null||!menuItem.hasChild)
return null;}
var obj=mynetMenuGenerateTable2(id,parentId,target);return obj;}
function mynetMenuGenerateTable2(id,parentId,target){if(target==null)
target=window;var doc=target.document;mynetMenuTarget=target;target.mynetMenuSource=window;var obj=new mynetMenuObject(id);mynetMenuObjects[mynetMenuObjects.length]=obj;var data=obj.data;if(data==null)
return obj;var html='';html+='<table width=100% cellpadding=0 cellspacing=0 >';for(var i=0;i<data.length;i++){if(data[i].parentId==parentId){html+=data[i].getHtml(obj);}
}
html+='</table>';obj.td.innerHTML=html;return obj;}
function mynetMenuSkip(data,index,subItemCount){while(subItemCount-->0){index+=5;index=mynetMenuSkip(data,index,data[index-1]);}
return index;}
function mynetMenuPopup(id,srcElement,elementPoint,menuAlign,target,hide,menuItemId){var x=mynetMenuObjectLeft(srcElement);var y=mynetMenuObjectTop(srcElement);if(elementPoint==0){x+=srcElement.offsetWidth;y+=srcElement.offsetHeight-2;}
else
if(elementPoint==1){y+=srcElement.offsetHeight-2;}
else
if(elementPoint==2){x+=srcElement.offsetWidth;}
else
if(elementPoint==3){}
return mynetMenuPopupXY(id,x,y,srcElement,menuAlign,target,hide,menuItemId,srcElement.offsetWidth);}
function mynetMenuPopupXY(id,x,y,srcElement,align,target,hide,menuItemId,srcElementWidth){if(hide==null||hide)
mynetMenuHide();if(menuItemId==null)
menuItemId='';var obj=mynetMenuGenerateTable(id,target,srcElement,menuItemId);if(obj==null)
return null;if(align==null||align==0){}
else
if(align==1)
x-=obj.table.offsetWidth;else
if(align==2)
y-=obj.table.offsetHeight;else
if(align==3){x-=obj.table.offsetWidth;;y-=obj.table.offsetHeight;}
if(srcElementWidth==null){srcElementWidth=0;}
if((align==1||align==3)&&x-document.body.scrollLeft<0){x+=obj.table.offsetWidth+srcElementWidth;}
if((align==0||align==2)&&eval(x)-document.body.scrollLeft>document.body.offsetWidth-obj.table.offsetWidth-20){x-=obj.table.offsetWidth+eval(srcElementWidth);}
mynetMenuSetPos(obj,x,y,target);mynetMenuSetTimeout(1000);return obj;}
function mynetMenuSetPos(obj,x,y,target){if(target==null)
target=window;var doc=target.document;var table=obj.table;if(y+table.offsetHeight+30>doc.body.offsetHeight+getScrollTop(target))
y=doc.body.offsetHeight+getScrollTop(target)-table.offsetHeight-30;if(y<0)
y=0;table.style.left=x+'px';table.style.top=y+'px';table.style.visibility='visible';table.focus();var iframe=obj.iframe;if(iframe!=null){iframe.style.pixelLeft=table.style.pixelLeft;iframe.style.pixelTop=table.style.pixelTop;iframe.width=table.offsetWidth;iframe.height=table.offsetHeight;iframe.style.visibility='visible';}
}
function mynetMenuHide(){while(mynetMenuObjects.length>0){var obj=mynetMenuObjects.pop();var objId=obj.id;obj.div.parentNode.removeChild(obj.div);if(typeof
mynetMenuAfterHideFunc=='function'){mynetMenuAfterHideFunc(objId);return;}
}
}
function mynetMenuIsShowing(){return mynetMenuObjects.length>0;}
function mynetMenuGetShowingId(){if(mynetMenuObjects.length>0)
return mynetMenuObjects[0].id;return null;}
function mynetMenuObjectLeft(o){return Mynet_ObjectLeft(o);}
function mynetMenuObjectTop(o){return Mynet_ObjectTop(o);}
function mynetMenuInterval(){var now=new Date();if(mynetMenuTimeout!=null&&now.getTime()>mynetMenuTimeout.getTime()){mynetMenuTimeout=null;mynetMenuHide();}
}
function mynetMenueItem(id,parentId,leftText,text,url,rightText,hasChild){this.id=id;this.leftText=leftText;this.text=text;this.url=url;this.rightText=rightText;this.hasChild=hasChild;this.parentId=parentId;this.getHtml=function(objM){var html="";html+="<tr ";html+=" onmouseover=mynetMenuEnter(this,'"+objM.id+"','"+this.id+"') onmouseout='mynetMenuLeave()'";if(url!=''){html+=this.url;}
html+="><td width='100%'>";html+="<table width='100%' style='"+mynetMenuData[objM.id]["menuItemStyle"]+"' cellpadding=4 cellspacing=0><tr>";if(text=='---'){html+="<td colspan=3 height=5><table width=100% height=1 cellpadding=0 cellspacing=0 bgcolor=gray><tr><td></td></tr></table></td>";}
else{html+="<td style='width:1px;'><nobr >"+this.leftText+"</nobr></td>";html+="<td width=100%><nobr id='"+"_ii_"+this.id+"' >"+this.text+'</nobr></td>';html+="<td width=1 style='width:1px;'align=right><nobr>"+this.rightText;if(this.hasChild){html+="<img src='/res/menu_expand.gif' width=15 height=15 border='0'/>";}
html+='</nobr></td>';}
html+='</tr></table></td></tr>';return html;}
}
window.setInterval(mynetMenuInterval,200);}
if(typeof(HTMLElement)!="undefined"){HTMLElement.prototype.contains=function(obj){while(obj!=null&&typeof(obj.tagName)!="undefind"){if(obj==this)
return true;obj=obj.parentNode;}
return false;};}

function JSAlbum(prefix,picarry,lnkarry,ttlarry){this.prefix=prefix;this.picarry=picarry;this.lnkarry=lnkarry;this.ttlarry=ttlarry;var obj=this;this.currslid=0;this.setfoc=function(id){var focpic=document.getElementById(prefix+"_focpic");if(focpic==null)
return;focpic.src=picarry[id];document.getElementById(prefix+"_foclnk").href=lnkarry[id];document.getElementById(prefix+"_fttltxt").innerHTML='<a href="'+lnkarry[id]+'" target="_blank" style="color:#FFF;text-decoration:none">'+ttlarry[id]+'</a>';obj.currslid=id;for(i=0;i<ttlarry.length;i++){try{document.getElementById(prefix+"_tmb"+i).className="thubpic";}
catch(e){}
};document.getElementById(prefix+"_tmb"+id).className+=" thubpiccur";focpic.style.visibility="hidden";focpic.filters[0].Apply();if(focpic.style.visibility=="visible"){focpic.style.visibility="hidden";focpic.filters.revealTrans.transition=23;}
else{focpic.style.visibility="visible";focpic.filters[0].transition=23;}
obj.stopit();focpic.filters[0].Play();}
this.stopit=function(){if(typeof(timerId)!='undefined'&&timerId+""!=""){clearInterval(timerId);}
}
this.playit=function(){this.stopit();timerId=setInterval(this.playnext,4500);}
this.playnext=function(){if(obj.currslid<obj.ttlarry.length-1){obj.currslid++;}
else{obj.currslid=0;};obj.setfoc(obj.currslid);obj.playit();}
}
function hiddenParentTable(table){table.style.visibility="hidden";}
function playParentFilter(table,transitionId){try{if(transitionId>=0){table.filters.item(0).transition=transitionId;}
table.filters(0).apply();table.style.visibility="visible";table.filters(0).play(2.0);}
catch(e){table.style.visibility="visible";}
}
function photoalbum_selectDiv(uid){var slder=document.getElementById('divContrl_'+uid);slder.style.pixelTop=slder.style.pixelTop+20;slder.style.display='none';slder.style.visibility='hidden';}
function photoalbum_overPic(uid,ctrlLeft,ctrlTop){var divLarge=document.getElementById('divContrl_'+uid);if(divLarge.style.display==''&&divLarge.style.visibility=='visible'){return;}
var slder=document.getElementById('slider_'+uid);var pos=photoalbum_getPosition(slder);var top=pos[1];var left=pos[0];divLarge.style.left=ctrlLeft+'px';divLarge.style.top=(5+ctrlTop-20)+'px';curAlpha=0;divLarge.style.filter='alpha(opacity=80)';divLarge.style.visibility='visible';divLarge.style.display='';}
function photoalbum_getPosition(elt){var pos=new Object;pos.x=0;pos.y=0;while(elt&&elt.tagName.toUpperCase()!='BODY'){if(pos.y!=elt.offsetTop&&elt.style.position!='absolute'){pos.x+=elt.offsetLeft;pos.y+=elt.offsetTop;if(elt.tagName.toUpperCase()!='HTML'){pos.x=pos.x-elt.scrollLeft;pos.y=pos.y-elt.scrollTop;}
}
elt=elt.offsetParent;}
return([pos.x,pos.y]);}
function photoalbum_slowup(uid,upnum){if(upnum<20){var divLarge=document.getElementById('divContrl_'+uid);upnum++;divLarge.style.pixelTop=divLarge.style.pixelTop-1;setTimeout('photoalbum_slowup(\''+uid+'\','+upnum+')',40);}
}
Date.prototype.getTheDate=function(){return{Y:this.getFullYear(),M:this.getMonth()+1,D:this.getDate()};}
Date.prototype.beforeTheDate=function(Y,M,D){if(Y<this.getFullYear()||(Y==this.getFullYear()&&M<this.getMonth()+1)||(Y==this.getFullYear()&&M==this.getMonth()+1&&D<this.getDate())){return true;}
else{return false;}
}
Date.prototype.afterTheDate=function(Y,M,D){if(Y>this.getFullYear()||(Y==this.getFullYear()&&M>this.getMonth()+1)||(Y==this.getFullYear()&&M==this.getMonth()+1&&D>this.getDate())){return true;}
else{return false;}
}
Date.prototype.getThePreDate=function(dateObj,minYear){var M=dateObj.M;var Y=dateObj.Y;var D=dateObj.D;M--;if(M<1){M=12;Y--;}
if(Y<minYear){Y=minYear;}
this.selDate=Y+'-'+M+'-'+D;return "{Y:"+Y+",M:"+M+",D:"+D+"}";}
Date.prototype.getTheNextDate=function(dateObj,maxYear){var M=dateObj.M;var Y=dateObj.Y;var D=dateObj.D;M++;if(M>12){M=1;Y++;}
if(Y>maxYear){Y=maxYear;}
return "{Y:"+Y+",M:"+M+",D:"+D+"}";}
function MarcianCalendar2(calendarObjName,display,minYear,maxYear,afterNotUsed,beforeNotUsed){this.calendarName=calendarObjName;this.display=display?"block":"none";this.minYear=minYear?minYear:1900;this.maxYear=maxYear?maxYear:2900;this.afterNotUsed=afterNotUsed?afterNotUsed:false;this.beforeNotUsed=beforeNotUsed?beforeNotUsed:false;this.calendarContainer=null;this.calendarMenuContainer=null;this.calendarDateContainer=null;this.calendarWeekContainer=null;this.calendarCloseContainer=null;this.weekAry=["S","M","T","W","T","F","S"];this.date=new Date();this.moveObjAry=new Array();this.fillObjAry=new Array();this.id=0;this.getObjOffset=function(obj){var x=obj.offsetWidth;var y=0;while(obj.offsetParent){x+=obj.offsetLeft;y+=obj.offsetTop;obj=obj.offsetParent;}
return{x:x,y:y};}
this.fillDate=function(dateStr){var selDateArr=dateStr.split('-');this.setSelStyle(this.currentDateId,false);this.currentDateId=selDateArr[2];this.selDate=dateStr;this.setSelStyle(selDateArr[2],true);}
this.$=function(id){return document.getElementById(id);}
this.showCalendar=function(showIDAry,fillIDAry){this.moveObjAry=showIDAry;this.fillObjAry=fillIDAry;this.moveCalendar(0);}
this.setDate=function(dateObj){if(this.calendarDateContainer.childNodes){for(var j=this.calendarDateContainer.childNodes.length-1;j>=0;j--){this.calendarDateContainer.removeChild(this.calendarDateContainer.childNodes[j]);}
}
var W=1;var Y=dateObj.Y;var M=dateObj.M;var D=dateObj.D;var dayAry=[31,28,31,30,31,30,31,31,30,31,30,31];var r=[0,3,3,6,1,4,6,2,5,0,3,5];var c=6;if(Y%400==0||(Y%4==0&&Y%100!=0)){dayAry[1]=29;}
if((Y%400==0||(Y%4==0&&Y%100!=0))&&M<3){c=5;}
var y=Y%400;w=(y+Math.floor(y/4)-Math.floor(y/100)+r[M-1]+1+c)%7;var R=1;R=(dayAry[M-1]-7+w)%7==0?R+(dayAry[M-1]-7+w)/7:R+Math.floor((dayAry[M-1]-7+w)/7)+2;var w2=new Date(Y,M-1,1).getDay();var prevDays=M==1?dayAry[11]:dayAry[M-2];var preDaysArr=new Array();var preDaysAdd=0;if(w<8){preDaysAdd=8;}
if(w>12){preDaysAdd=-3;}
for(var i=(w2-1+preDaysAdd);i>=0;i--){preDaysArr.push(prevDays-i);}
var nextIndex=1;var lastIndex=0;var start=0;var d=1;w=w+preDaysAdd;for(var i=0;i<7;i++){var div=document.createElement("div");div.style.cssText="width:175px;height:23px;margin-bottom:2px;background:#fff;";for(var k=0;k<7;k++){var p=document.createElement("p");p.style.cssText="width:25px;height:20px;float:left;text-align:center;padding-top:3px;margin:0px;color:#ccc;";if(start>=w&&d<=dayAry[M-1]){var selStyle='';if((this.currentDate.D==d)&&(this.currentDate.M==dateObj.M)&&(this.currentDate.Y==dateObj.Y)){selStyle='background-color:#99aabb;';}
else{'background-color:#000000;';}
p.innerHTML="<a style='"+selStyle+"' id='"+this.calendarName+'_ti_'+d+"' href='javascript:"+this.calendarName+".fillDate(\""+Y+"-"+M+"-"+d+"\");void(0);'>"+d+"</a>";d++;}
else{if(d==1){p.innerHTML="<a style='color:gray;' href='javascript:"+this.calendarName+".setMenu("+this.date.getThePreDate(dateObj,this.minYear)+");void(0)'>"+preDaysArr[lastIndex++]+"</a>";}
else{p.innerHTML="<a style='color:gray;' href='javascript:"+this.calendarName+".setMenu("+this.date.getTheNextDate(dateObj,this.maxYear)+");void(0)'>"+(nextIndex++)+"</a>";}
}
start>w?start=w:start++;div.appendChild(p);}
this.calendarDateContainer.appendChild(div);}
}
this.setSelStyle=function(id,isSel){var currentDate=this.selDate.split('-');var toDay=this.date.getTheDate();if(isSel){if((currentDate[2]==toDay.D)&&(currentDate[1]==toDay.M)&&(currentDate[0]==toDay.Y)){document.getElementById(this.calendarName+'_ti_'+id).style.backgroundColor='#557799';}
else{document.getElementById(this.calendarName+'_ti_'+id).style.backgroundColor='#aaccee';}
}
else{if(id==0){return;}
if((currentDate[2]==toDay.D)&&(currentDate[1]==toDay.M)&&(currentDate[0]==toDay.Y)){document.getElementById(this.calendarName+'_ti_'+id).style.backgroundColor='#99aabb';}
else{document.getElementById(this.calendarName+'_ti_'+id).style.backgroundColor='#ffffff';}
}
}
this.setMenu=function(dateObj){this.calendarMenuContainer.innerHTML="<a href='javascript:"+this.calendarName+".setMenu("+this.date.getThePreDate(dateObj,this.minYear)+");void(0)'><<</a>  "+dateObj.Y+"-"+(dateObj.M>9?dateObj.M:"0"+dateObj.M)+"  <a href='javascript:"+this.calendarName+".setMenu("+this.date.getTheNextDate(dateObj,this.maxYear)+");void(0)'>>></a>";this.setDate(dateObj);}
this.initial=function(){this.calendarContainer=document.createElement("div");this.calendarContainer.style.cssText="width:175px;border-left:8px solid #c3d9ff;border-right:8px solid #c3d9ff;padding:0px;background:#c3d9ff;font:12px Arial;margin-bottom:1px;display:"+this.display+";";this.calendarContainer.setAttribute("css",this.calendarContainer.style.cssText);this.calendarMenuContainer=document.createElement("div");this.calendarMenuContainer.style.cssText="width:175x;height:25px;background:#c3d9ff;color:#fff;text-align:center;padding-top:3px;";this.calendarWeekContainer=document.createElement("div");this.calendarWeekContainer.style.cssText="width:175px;height:25px;margin-bottom:1px;";for(i=0;i<7;i++){var p=document.createElement("p");p.style.cssText="width:25px;height:20px;float:left;text-align:center;padding-top:3px;border-bottom:1px solid #666;margin:0px;background:#c3d9ff;";p.innerHTML=this.weekAry[i];this.calendarWeekContainer.appendChild(p);}
this.calendarDateContainer=document.createElement("div");this.calendarDateContainer.style.cssText="width:175px;background:#fff;";this.calendarCloseContainer=document.createElement("div");this.calendarCloseContainer.style.cssText=this.calendarMenuContainer.style.cssText;this.calendarContainer.appendChild(this.calendarMenuContainer);this.calendarContainer.appendChild(this.calendarWeekContainer);this.calendarContainer.appendChild(this.calendarDateContainer);this.calendarContainer.appendChild(this.calendarCloseContainer);document.getElementById(this.calendarName+'_div').appendChild(this.calendarContainer);this.currentDate=this.date.getTheDate();this.setMenu(this.date.getTheDate());this.currentDateId=0;this.selDate='';}
this.checkYear=function(){if(!this.minYear.toString().match(/\d\d\d\d/)){alert("���������벻��ȷ����������");}
else
if(!this.maxYear.toString().match(/\d\d\d\d/)){alert("���������벻��ȷ����������");}
else
if(eval("0+"+this.maxYear)<=eval("0+"+this.minYear)){alert("�����ݱ������������,��������");}
else
if(eval("0+"+this.maxYear)<this.date.getFullYear()){alert("�����ݱ�����ڻ��ߵ��ڵ�ǰ���");}
else{this.initial();}
}
this.checkYear();}
function calendarOpenMonthEvent(eventStr,timeStr){if(eventStr=="<Time></Time>"){return;}
var url="~/plugin/calendar/CalendarMonthOpenWindow.aspx?eventStr="+escape(eventStr)+"&timeStr="+escape(timeStr);ShowModalDialogInFrame(url);}
cn_mynet_Context=function(container,topContainer,aspectUID,renderMode){this.container=container;this.topContainer=topContainer;this.aspectUID=aspectUID;this.renderMode=renderMode;this.width=0;this.height=0;var allAnonymousData=null;this.curSiteHomeUrl="http://"+window.location.hostname;this.loadAnonymousData=function(dataName){}
this.dispose=function(){this.container=null;this.topContainer=null;allAnonymousData=null;}
}
function cn_mynet_RequestClient(url,method,proxySiteUrl,remoteEncoding){if(url.indexOf("http://")!=0){alert("url参数不对，必须以http://开头");return;}
var encoding=remoteEncoding==""?"utf-8":remoteEncoding;var formDatas=new Array;var formKeys=new Array;this.AddFormKeyValue=function(key,value){formDatas[key]=value;formKeys.push(key);}
this.GetFormDatas=function(){return formDatas;}
this.builderDatas=function(){var len=formKeys.length;var postStr="";for(var i=0;i<len;i++){if(postStr!=""){postStr+="&";}
postStr+=escape(formKeys[i])+"="+escape(formDatas[formKeys[i]]);}
return postStr;}
this.getResponseData=function(){var realUrl="";if(url.indexOf("http://"+window.location.hostname)==0){realUrl=url;}
else{realUrl=proxySiteUrl+"plugin/proxy/proxy.aspx?encode="+encoding+"&remoteurl="+escape(url);}
var objHttpRequest=null;try{objHttpRequest=new ActiveXObject('Msxml2.XMLHTTP');}
catch(e){try{objHttpRequest=new ActiveXObject('Microsoft.XMLHTTP');}
catch(E){objHttpRequest=new XMLHttpRequest();}
}
objHttpRequest.open(method,realUrl,false);if(method.toLowerCase()=="post"){objHttpRequest.setRequestHeader("Content-Type","application/x-www-form-urlencoded");objHttpRequest.setRequestHeader("char-set","utf-8");objHttpRequest.send(this.builderDatas());}
else{objHttpRequest.send(null);}
return objHttpRequest.responseText;}
}
function Colorful(prefix,num,time){var currentPic=document.getElementById(prefix+"pic_1");this.prefix=prefix;this.count=num;this.currentIndex;if(!this.currentIndex)
this.currentIndex=1;var self=this;this.time=time;this.Show=function(index){try{var cPic=document.getElementById(prefix+"pic_"+index);for(var i=1;i<=this.count;i++){document.getElementById(prefix+"pic_"+i).style.display="none";}
cPic.style.display="inline-block";this.currentPic=cPic;this.currentIndex=index;this.Play();}
catch(e){}
}
this.Stop=function(){if(typeof(timerId)!='undefined'&&timerId+""!=""){clearInterval(timerId);}
}
this.Play=function(){this.Stop();timerId=setInterval(this.PlayNext,time);}
this.PlayNext=function(){var index=self.currentIndex+1;if(index>self.count)
index=1;self.Show(index);}
}
var FadeTextSwitchEffect=new Object();FadeTextSwitchEffect=function(textArray,targetId,times,clientTimeId){this.textArray=textArray;this.targetId=targetId;this.times=times;this.currentIndex=0;this.timeId="";var self=this;this.clientTimeId="";var tempF=function(){self.Switch();};this.clientTimeId=setInterval(tempF,3500);};FadeTextSwitchEffect.prototype.Switch=function(){var self=this;if(this.currentIndex<this.textArray.length){self.SwitchText(this.textArray[this.currentIndex]);this.currentIndex++;if(this.currentIndex==this.textArray.length){this.currentIndex=0;}
};}
FadeTextSwitchEffect.prototype.SwitchText=function(switchValue){var tId=this.targetId+"__sdf__f3";if(document.getElementById(tId)!=null){var tempDiv=document.getElementById(this.targetId);if(tempDiv.filters&&tempDiv.filters.length>0){tempDiv.filters[0].Apply();tempDiv.filters[0].Play();}
}
if(document.getElementById(this.targetId)!=null)
document.getElementById(this.targetId).innerHTML="<div id='"+tId+"' class='"+this.targetId+"_cssFade'>"+switchValue+"</div>";}
FadeTextSwitchEffect.prototype.ChangeArray=function(newArray){this.currentIndex=0;this.textArray=newArray;}
var GraySiderPhotoGallery=new Object();GraySiderPhotoGallery=function(prefix,jsonPhotos,currentPhotoIndex,photoWidth,photoHeight,currentPageIndex,currentPageSize,currentPageListCount){this.prefix=prefix;this.jsonPhotos=jsonPhotos;this.currentPhotoIndex=currentPhotoIndex;this.photoWidth=photoWidth;this.photoHeight=photoHeight;this.delayCount=0;this.fadeTimeId='';this.tranLeftId='';this.tranRightId='';this.photoSpace=30;this.currentPageIndex=currentPageIndex;this.currentPageSize=currentPageSize;this.currentPageListCount=currentPageListCount;this.currentPageListIndex=0;this.currentPageListTotal=(jsonPhotos.length%this.currentPageListCount)>0?(jsonPhotos.length/this.currentPageListCount)+1:(jsonPhotos.length/this.currentPageListCount);this.currentPageListTotal=parseInt(this.currentPageListTotal);}
GraySiderPhotoGallery.prototype.ShowSider=function(event,target){var self=this;self.clearTime(this.tranLeftId);var obj=event.toElement?event.toElement:event.target;if(typeof
obj=='undefined'){return;}
self.SetTranStyle(document.getElementById(self.prefix+'TranBackgroundLeft'),0);self.SetTranStyle(document.getElementById(self.prefix+'TranBackgroundRight'),0);if(obj.id.indexOf("Right")!=-1){document.getElementById(self.prefix+'ArrowImgRight').style.display='';}
else{document.getElementById(self.prefix+'ArrowImgLeft').style.display='';}
self.SetTranStyle(target,50);}
GraySiderPhotoGallery.prototype.CloseSider=function(event,target){var self=this;var obj=event.toElement?event.toElement:event.relatedTarget;if(typeof
obj!='undefined'){var testString=obj.id+"";if(testString.indexOf("rrow")!=-1){return;}
}
document.getElementById(self.prefix+'ArrowImgRight').style.display='none';document.getElementById(self.prefix+'ArrowImgLeft').style.display='none';self.SetTranStyle(target,0);}
GraySiderPhotoGallery.prototype.ChangPic=function(imgIndex){var self=this;self.clearTime(this.fadeTimeId);self.clearTime(this.tranLeftId);self.clearTime(this.tranRightId);self.SetTranStyle(document.getElementById(self.prefix+'OverLoadingTran'),100);document.getElementById(self.prefix+'OverLoadingTran').style.display='';self.currentPhotoIndex=(imgIndex);var currentIndex=self.currentPageIndex+(this.currentPageListCount*this.currentPageListIndex);var src=self.jsonPhotos[currentIndex][imgIndex].bigPhotoSrc;var rect="rect(0,"+self.photoWidth+","+self.photoHeight+","+"0)";document.getElementById(self.prefix+'OverLoading').width=self.photoWidth+'px';document.getElementById(self.prefix+'OverLoading').height=self.photoHeight+'px';document.getElementById(self.prefix+'OverLoading').style.clip=rect;document.getElementById(self.prefix+'OverLoading').style.display='';document.getElementById(self.prefix+'mainPic').src=src;document.getElementById(self.prefix+'ImgTitle').innerHTML=self.jsonPhotos[currentIndex][imgIndex].title;document.getElementById(self.prefix+'ImgText').innerHTML=self.jsonPhotos[currentIndex][imgIndex].content;}
GraySiderPhotoGallery.prototype.ImageLoad=function(Img){var self=this;if((Img.height==0)||(Img.width==0)){self.transitionCurtain(document.getElementById(self.prefix+'OverLoading'),self.photoWidth,50);self.DoFade(self.prefix+"OverLoadingTran",18,100,0,-4,"",this.fadeTimeId);return;}
var leftVar=self.getLeft(document.getElementById(self.prefix+'TranBackgroundLeft'));document.getElementById(self.prefix+'OverLoadingTran').style.height=Img.height;document.getElementById(self.prefix+'OverLoadingTran').style.width=Img.width;var pLeft=(parseInt(self.photoWidth)-parseInt(Img.width))/2;var pTop=(parseInt(self.photoHeight)-parseInt(Img.height))/4;document.getElementById(self.prefix+'mainPic').style.marginLeft=pLeft;document.getElementById(self.prefix+'mainPic').style.marginTop=pTop;document.getElementById(self.prefix+'OverLoadingTran').style.marginLeft=pLeft;document.getElementById(self.prefix+'OverLoadingTran').style.marginTop=pTop;self.transitionCurtain(document.getElementById(self.prefix+'OverLoading'),self.photoWidth,50);self.DoFade(self.prefix+"OverLoadingTran",18,100,0,-4,"",this.fadeTimeId);}
GraySiderPhotoGallery.prototype.ChangePicBox=function(imgNum){var self=this;var box=document.getElementById(self.prefix+'overSmallImg'+imgNum);var tImg=document.getElementById(self.prefix+'smallImg'+imgNum);box.style.display="";box.style.height=tImg.height+1+"px";box.style.width=tImg.width+1+"px";box.style.clip="rect(0,"+parseInt(tImg.width+1)+"px,"+parseInt(tImg.height+1)+"px,0)";}
GraySiderPhotoGallery.prototype.getTop=function(e){var self=this;var offset=e.offsetTop;if(e.offsetParent!=null)
offset+=self.getTop(e.offsetParent);return offset;}
GraySiderPhotoGallery.prototype.getLeft=function(e){var self=this;var offset=e.offsetLeft;if(e.offsetParent!=null)
offset+=self.getLeft(e.offsetParent);return offset;}
GraySiderPhotoGallery.prototype.smallImageOut=function(event,imgNum){var self=this;var obj=event.toElement?event.toElement:event.relatedTarget;if(typeof
obj!='undefined'){if(obj.id.indexOf('Sider')==-1){return;}
}
var currentId=self.prefix+'overSmallImg'+imgNum;self.transitionCurtainCenter(document.getElementById(currentId),0,50);}
GraySiderPhotoGallery.prototype.retrieveComputedStyle=function(element,styleProperty){var self=this;var computedStyle=null;if(typeof
element.currentStyle!="undefined"){computedStyle=element.currentStyle;}
else{computedStyle=document.defaultView.getComputedStyle(element,null);}
return computedStyle[styleProperty];}
GraySiderPhotoGallery.prototype.GoFade=function(img,value,step,myfun,timeId){var self=this;var im=document.getElementById(img);if(typeof
im.filters=='object'){if((step>0)?im.filters.alpha.opacity<value:im.filters.alpha.opacity>value){im.filters.alpha.opacity+=step;}
else{self.clearTime(timeId);if(typeof
myfun=='function'){myfun();}
}
}
else
if(typeof
im.style.MozOpacity!='undefined'){value=value/100;step=step/100;if((step>0)?im.style.MozOpacity<value:im.style.MozOpacity>value){im.style.MozOpacity=Number(im.style.MozOpacity)+step;}
else{self.clearTime(timeId);if(typeof
myfun=='function'){myfun();}
}
}
else
if(typeof
img.style.KhtmlOpacity!='undefined'){value=value/100;step=step/100;if((step>0)?im.style.KhtmlOpacity<value:im.style.KhtmlOpacity>value){im.style.KhtmlOpacity=Number(im.style.KhtmlOpacity)+step;}
else{self.clearTime(timeId);if(typeof
myfun=='function'){myfun();}
}
}
else{value=value/100;step=step/100;if((step>0)?im.style.Opacity<value:im.style.Opacity>value){im.style.Opacity=Number(im.style.Opacity)+step;}
else{self.clearTime(timeId);if(typeof
myfun=='function'){myfun();}
}
}
}
GraySiderPhotoGallery.prototype.DoFade=function(imgId,times,start,end,step,myfun,timeId){var self=this;var im=document.getElementById(imgId);self.SetTranStyle(im,start);timeId=setInterval(function(){self.GoFade(imgId,end,step,myfun,timeId)}
,times);}
GraySiderPhotoGallery.prototype.clearTime=function(timeId){var self=this;document.getElementById(self.prefix+'OverLoading').style.display='none';document.getElementById(self.prefix+'OverLoadingTran').style.display='none';if(timeId)
clearInterval(timeId);}
GraySiderPhotoGallery.prototype.transitionCurtainCenter=function(target,endSize,increment,myfun){var self=this;var increment=3;var width=target.offsetWidth;var height=target.offsetHeight;if(target.style.clip.indexOf("rect")==-1){target.style.clip="rect(0,"+(width-increment)+"px,"+height+"px,"+increment+"px)";}
else{var clipDimensions=self.getClipDimensions(target.style.clip);if((clipDimensions[1]>0)||(clipDimensions[2]>0)){clipDimensions[0]=clipDimensions[0]+increment;clipDimensions[1]=clipDimensions[1]-increment;clipDimensions[2]=clipDimensions[2]-increment;clipDimensions[3]=clipDimensions[3]+increment;target.style.clip="rect("+clipDimensions[0]+"px,"+clipDimensions[1]+"px,"+clipDimensions[2]+"px,"+clipDimensions[3]+"px )";setTimeout(function(){self.transitionCurtainCenter(target,endSize,increment,myfun)}
,50);}
else{if(typeof
myfun=='function'){myfun();}
}
}
return true;}
GraySiderPhotoGallery.prototype.transitionCurtain=function(target,endSize,increment){var self=this;var increment=50;var width=target.offsetWidth;var height=target.offsetHeight;if(target.style.clip.indexOf("rect")==-1){target.style.clip="rect(0,"+(width-increment)+"px,"+height+"px,"+increment+"px)";}
else{var clipDimensions=self.getClipDimensions(target.style.clip);if(clipDimensions[0]<parseInt(endSize)){clipDimensions[0]=clipDimensions[0]+increment;target.style.clip="rect("+clipDimensions[0]+"px,"+clipDimensions[1]+"px,"+clipDimensions[2]+"px,"+clipDimensions[3]+"px )";setTimeout(function(){self.transitionCurtain(target,endSize,increment)}
,50);}
else{}
}
return true;}
GraySiderPhotoGallery.prototype.antiEnd=function(){var self=this;document.getElementById(self.prefix+'OverLoading').style.display='none';document.getElementById(self.prefix+'OverLoadingTran').style.display='none';}
GraySiderPhotoGallery.prototype.getClipDimensions=function(clipString){var clipValue=clipString.replace(/rect\((.*)\)/,"$1");if(/,/.test(clipValue)){var clipDimensions=clipValue.split(",");}
else{var clipDimensions=clipValue.split(" ");}
for(var i=0;i<clipDimensions.length;i++){clipDimensions[i]=parseInt(clipDimensions[i]);}
return clipDimensions;}
GraySiderPhotoGallery.prototype.GoNext=function(){var self=this;var currentIndex=self.currentPageIndex+(this.currentPageListCount*this.currentPageListIndex);if(this.currentPhotoIndex<(this.jsonPhotos[currentIndex].length-1)){this.currentPhotoIndex++;this.ChangPic(this.currentPhotoIndex);}
}
GraySiderPhotoGallery.prototype.GoPre=function(){if(this.currentPhotoIndex>(0)){this.currentPhotoIndex--;this.ChangPic(this.currentPhotoIndex);}
}
GraySiderPhotoGallery.prototype.ChangePageIndex=function(pageIndex,IsChangePageList){var self=this;if(typeof
IsChangePageList=='undefined'){if(pageIndex==self.currentPageIndex){return;}
}
self.SetCurrentPageStyle(self.currentPageIndex,false);self.currentPageIndex=pageIndex;var currentIndex=self.currentPageIndex+(this.currentPageListCount*this.currentPageListIndex);var arrSize=self.jsonPhotos[currentIndex].length;for(var i=0;i<self.currentPageSize;i++){if(i<arrSize){document.getElementById(self.prefix+'smallImg'+i).src=self.jsonPhotos[currentIndex][i].smallPhotoSrc;document.getElementById(self.prefix+'imageBox'+i).style.display='';}
else{document.getElementById(self.prefix+'imageBox'+i).style.display='none';}
}
self.SetCurrentPageStyle(self.currentPageIndex,true);this.currentPhotoIndex=0;this.ChangPic(this.currentPhotoIndex);}
GraySiderPhotoGallery.prototype.SetTranStyle=function(target,degreen){if(typeof
target.filters=='object'){target.filters.alpha.opacity=degreen;}
else
if(typeof
target.style.MozOpacity!='undefined'){target.style.MozOpacity=degreen/100;}
else
if(typeof
target.style.KhtmlOpacity!='undefined'){target.style.KhtmlOpacity=degreen/100;}
else{target.style.Opacity=degreen/100;}
}
GraySiderPhotoGallery.prototype.SetCurrentPageStyle=function(id,isCurrentPage){if(id==-1){return;}
var tempId=this.prefix+"Page"+id;var temp=document.getElementById(tempId);if(isCurrentPage==true){temp.style.fontWeight='bold';temp.style.textDecoration='none';}
else{temp.style.fontWeight='normal';temp.style.textDecoration='underline';}
}
GraySiderPhotoGallery.prototype.ChangePageList=function(pageListIndex){var self=this;var arrSize=self.jsonPhotos.length;for(var i=0;i<self.currentPageListCount;i++){var temp=document.getElementById(self.prefix+'Page'+i);var pageIndex=(self.currentPageListIndex*this.currentPageListCount)+i;if(pageIndex<arrSize){temp.innerHTML=pageIndex+1;var tpageIndex=pageIndex;temp.style.display='';}
else{temp.style.display='none';}
}
this.ChangePageIndex(0,true);}
GraySiderPhotoGallery.prototype.GoNextPageList=function(){if(this.currentPageListIndex<(this.currentPageListTotal-1)){this.currentPageListIndex++;this.ChangePageList(this.currentPageListIndex);}
}
GraySiderPhotoGallery.prototype.GoPrePageList=function(){if(this.currentPageListIndex>(0)){this.currentPageListIndex--;this.ChangePageList(this.currentPageListIndex);}
}
GraySiderPhotoGallery.prototype.GoUrl=function(isBlank){var self=this;var imgIndex=self.currentPhotoIndex;var currentIndex=self.currentPageIndex+(this.currentPageListCount*this.currentPageListIndex);var src=self.jsonPhotos[currentIndex][imgIndex].url;if(src+''==''){src='#';}
if(src=='#'){return;}
if(isBlank=='False'){window.open(src);}
else{location.href=src;}
}
var helpPopObj;var helpelements3=new Array();function AddhelpElement3(content,URL){var widthStyle="";if(helpelements3.length!=0){widthStyle="width:100%;";}
helpelements3.push("&nbsp;&nbsp;<span onclick=\"mynetCnShowHelpWin('"+URL+"');\"style='cursor:pointer;"+widthStyle+"'>"+"<a href='#' class='toolbox_helpcontent' ><nobr>"+content+"</nobr></a></span>");}
function ShowhelpElement3(){var ShownContent="";for(i=1;i<helpelements3.length;i++){ShownContent+="<tr><td height='20' width='100%'  style='background-color:#FFFFFF'"+"onmouseover='onselecthelp(this,true)'onmouseout='onselecthelp(this,false)' align='left'>";ShownContent+=helpelements3[i];ShownContent+="</td></tr>";}
return ShownContent;}
function onselecthelp(obj,isSelect){if(isSelect){obj.style.backgroundColor="#D9D9D9";}
else{obj.style.backgroundColor="#FFFFFF";}
}
var maxHeight=0;function showhelp3(){helpPopObj=document.getElementById("helpLayer");var helpInner="";if(helpelements3.length<=1){maxHeight=20;helpInner="<tr><td height='"+maxHeight+"' style='background-color:#FFFFFF'></td></tr>";}
else{helpInner=ShowhelpElement3();maxHeight=20*(helpelements3.length-1)+2;}
var content='<table style="FILTER:alpha(opacity=90) shadow(color=#ffffff,direction=135);" id="toolTipTable" width="100%" cellspacing="0" cellpadding="0" border="0" >'+helpInner+'</table>';helpPopObj.innerHTML=content;speadDiv(helpPopObj,maxHeight);}
function hidehelp3(){if(helpPopObj!=null){shrinkDiv(helpPopObj,maxHeight);}
}
function speadDiv(obj,maxh){var h=obj.offsetHeight;if(obj.style.display=='none'){function dmove(){h+=5;if(h>=maxh){obj.style.height=maxh+'px';clearInterval(iIntervalId);obj.focus();}
else{obj.style.display='block';obj.style.height=h+'px';}
}
}
iIntervalId=setInterval(dmove,10);}
function shrinkDiv(obj,maxh){var h=parseInt(obj.style.height.substring(0,obj.style.height.length-2));if(h==maxh){function dmove(){h-=5;if(h<=0){obj.style.display='none';clearInterval(iIntervalId);helpPopObj=null;}
else{obj.style.height=h+'px';}
}
iIntervalId=setInterval(dmove,10);}
}
var helpTimer;function activehelp(){var target=document.getElementById("helpTopElement");var helpobj=document.getElementById("helpLayer");if(helpobj.style.top==""){helpobj.style.top=getoffset(target).offsetTop+target.offsetHeight+3;}
if(helpobj.style.left==""){helpobj.style.left=getoffset(target).offsetLeft-2;}
if(helpPopObj==null){showhelp3();helpTimer=setTimeout('hidehelp3()',3000);}
else{if(helpTimer!=null)
clearTimeout(helpTimer);hidehelp3();}
}
function mynetCnShowHelpWin(url){var parameter="";if(url!=""&&url!=null)
parameter="?contenturl="+url;ShowModalDialogInFrame("~/plugin/HelpCenter/HelpCentermain.aspx"+parameter);return false;}
function getoffset(e){this.offsetTop=Mynet_ObjectTop(e);this.offsetLeft=Mynet_ObjectLeft(e);return this;}
function Mynetcn_chkInputDecimal(obj,digitmount){while(!(/^[\d]+\.?\d*$/.test(obj.value))&&obj.value!=""){obj.value=obj.value.substring(0,obj.value.length-1);}
if(obj.value.split('.').length>=2){while(obj.value.split('.')[1].length>digitmount&&obj.value!="")
obj.value=obj.value.substring(0,obj.value.length-1);}
}
function Mynetcn_chkInputNumber(obj,length){if(obj.value!=""){obj.value=obj.value.replace(/\D+/g,'');if(length!=null)
Mynetcn_chkInputLength(obj,length);}
}
function Mynetcn_chkInputLength(obj,length){while(obj.value.length>length){obj.value=obj.value.substring(0,obj.value.length-1);}
}
var JumpTextEffect=new Object();JumpTextEffect=function(jumpText,targetId,fontsize){this.message=jumpText;this.mes=new Array();this.mes[0]=-1;this.mes[1]=-4;this.mes[2]=-7;this.mes[3]=-10;this.mes[4]=-7;this.mes[5]=-4;this.mes[6]=-1;this.num=0;this.num2=0;this.txt="";this.fontsize=fontsize;this.jumpId=targetId;}
JumpTextEffect.prototype.JumpInit=function(){if(this.message.length>1){for(var i=0;i!=this.message.length;i++){this.txt=this.txt+"<span style='position:relative;' class='"+this.jumpId+"_cssJump' id='"+this.jumpId+""+i+"__uhgnb8s_032'>"+this.message.charAt(i)+"</span>"};document.getElementById(this.jumpId).innerHTML=this.txt;this.txt="";this.JumpTopCharToLeft();}
else{}
}
JumpTextEffect.prototype.JumpTopCharToLeft=function(){var self=this;var nfinal=document.getElementById(this.jumpId+"0__uhgnb8s_032");if(nfinal==null){return;}
nfinal.style.left=-this.num2;if(this.num2!=9){this.num2=this.num2+3;var tempF=function(){self.JumpTopCharToLeft();};setTimeout(tempF,50);}
else{this.JumpTopCharToRight();}
}
JumpTextEffect.prototype.JumpTopCharToRight=function(){var self=this;var nfinal=document.getElementById(this.jumpId+"0__uhgnb8s_032");if(nfinal==null){return;}
nfinal.style.left=-this.num2;if(this.num2!=0){this.num2=this.num2-3;var tempF=function(){self.JumpTopCharToRight();};setTimeout(tempF,50);}
else{self.AllJump();}
}
JumpTextEffect.prototype.AllJump=function(){var self=this;this.txt="";for(var i=0;i!=this.message.length;i++){if(i+this.num>-1&&i+this.num<7){this.txt=this.txt+"<span class='"+this.jumpId+"_cssJump' style='position:relative;top:"+this.mes[i+this.num]+"'>"+this.message.charAt(i)+"</span>";}
else{this.txt=this.txt+"<span class='"+this.jumpId+"_cssJump'>"+this.message.charAt(i)+"</span>";}
}
if(document.getElementById(this.jumpId)==null){return;}
document.getElementById(this.jumpId).innerHTML=this.txt;this.txt="";if(this.num!=(-this.message.length)){this.num--;var tempF=function(){self.AllJump();};setTimeout(tempF,50);}
else{this.num=0;var tempF=function(){self.JumpInit();};setTimeout(tempF,50);}
}
function Liquids(id,width,longwidth,avgwidth){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}
('n 19=l(1W){n 4h=l(){m(9.1n&&15[0]!=\'6d\')k 9.1n.2K(9,15);T k 9};P(n C 14 9)4h[C]=9[C];4h.Y=1W;k 4h};19.1H=l(){};19.Y={V:l(1W){n 4g=Q 9(\'6d\');n 6c=l(2C,1x){m(!2C.2K||!1x.2K)k U;k l(){9.1A=2C;k 1x.2K(9,15)}};P(n C 14 1W){n 2C=4g[C];n 1x=1W[C];m(2C&&2C!=1x)1x=6c(2C,1x)||1x;4g[C]=1x}k Q 19(4g)},26:l(1W){P(n C 14 1W)9.Y[C]=1W[C]}};2a.V=l(){n 12=15;12=(12[1])?[12[0],12[1]]:[9,12[0]];P(n C 14 12[1])12[0][C]=12[1][C];k 12[0]};2a.5f=l(){P(n i=0;i<15.11;i++)15[i].V=19.Y.26};Q 2a.5f(51,1t,5E,6h,19);m(5u 3L==\'2R\'){n 3L=19.1H;3L.Y={}}T{3L.Y.5c=1h}1a.V=L.V=2a.V;n 8x=1a;l $B(J){m(J===22||J===2R)k U;n B=5u J;m(B==\'4U\'){m(J.5c)k\'G\';m(J.1o)k\'1P\';m(J.8w){23(J.6m){18 1:k\'G\';18 3:k J.8v.1d(/\\S/)?\'8t\':\'4H\'}}}k B};l $2t(J){k!!(J||J===0)};l $8u(J,6b){k($B(J))?J:6b};l $69(2s,1e){k I.7u(I.69()*(1e-2s+1)+2s)};l $4c(1q){8z(1q);8D(1q);k 22};m(1a.8C)1a.34=1a[1a.8B?\'8A\':\'5A\']=1h;T m(L.6I&&!L.8s&&!8r.8j)1a.31=1h;T m(L.8i!=22)1a.5h=1h;m(1a.5A)68{L.8h("8f",U,1h)}67(e){};1t.Y.48=1t.Y.48||l(R,K){P(n i=0;i<9.11;i++)R.1v(K,9[i],i,9)};1t.Y.2g=1t.Y.2g||l(R,K){n 3s=[];P(n i=0;i<9.11;i++){m(R.1v(K,9[i],i,9))3s.1o(9[i])}k 3s};1t.Y.4v=1t.Y.4v||l(R,K){n 3s=[];P(n i=0;i<9.11;i++)3s[i]=R.1v(K,9[i],i,9);k 3s};1t.Y.3W=1t.Y.3W||l(R,K){P(n i=0;i<9.11;i++){m(!R.1v(K,9[i],i,9))k U}k 1h};1t.Y.6a=1t.Y.6a||l(R,K){P(n i=0;i<9.11;i++){m(R.1v(K,9[i],i,9))k 1h}k U};1t.Y.4x=1t.Y.4x||l(3t,N){N=N||0;m(N<0)N=I.1e(0,9.11+N);35(N<9.11){m(9[N]===3t)k N;N++}k-1};1t.V({1u:1t.Y.48,5k:l(1c,11){1c=1c||0;m(1c<0)1c=9.11+1c;11=11||(9.11-1c);n 3v=[];P(n i=0;i<11;i++)3v[i]=9[1c++];k 3v},4E:l(3t){n i=0;35(i<9.11){m(9[i]===3t)9.4R(i,1);T i++}k 9},1d:l(3t,N){k 9.4x(3t,N)!=-1},V:l(3v){P(n i=0;i<3v.11;i++)9.1o(3v[i]);k 9},8g:l(1z){n J={},11=I.2s(9.11,1z.11);P(n i=0;i<11;i++)J[1z[i]]=9[i];k J}});l $A(1P,1c,11){k 1t.Y.5k.1v(1P,1c,11)};l $1u(6e,R,K){k 1t.Y.48.1v(6e,R,K)};5E.V({1d:l(4M,6f){k((5u 4M==\'3Q\')?Q 64(4M,6f):4M).1d(9)},2L:l(){k 5L(9)},6g:l(){k 3J(9)},53:l(){k 9.3i(/-\\D/g,l(2j){k 2j.5z(1).6j()})},6B:l(){k 9.3i(/\\w[A-Z]/g,l(2j){k(2j.5z(0)+\'-\'+2j.5z(1).3F())})},6z:l(){k 9.3F().3i(/\\b[a-z]/g,l(2j){k 2j.6j()})},6i:l(){k 9.3i(/^\\s+|\\s+$/g,\'\')},4k:l(){k 9.3i(/\\s{2,}/g,\' \').6i()},4L:l(1P){n 1f=9.2j(/\\d{1,3}/g);k(1f)?1f.4L(1P):U},3K:l(1P){n 2z=9.2j(/^#?(\\w{1,2})(\\w{1,2})(\\w{1,2})$/);k(2z)?2z.8q(1).3K(1P):U}});1t.V({4L:l(1P){m(9.11<3)k U;m(9[3]&&(9[3]==0)&&!1P)k\'8p\';n 2z=[];P(n i=0;i<3;i++){n 4y=(9[i]-0).8o(16);2z.1o((4y.11==1)?\'0\'+4y:4y)}k 1P?2z:\'#\'+2z.2V(\'\')},3K:l(1P){m(9.11!=3)k U;n 1f=[];P(n i=0;i<3;i++){1f.1o(5L((9[i].11==1)?9[i]+9[i]:9[i],16))}k 1P?1f:\'1f(\'+1f.2V(\',\')+\')\'}});6h.V({2L:l(){k 5L(9)},6g:l(){k 3J(9)}});51.V({2q:l(u){n R=9;u=2a.V({\'K\':R,\'F\':U,\'15\':22,\'2l\':U,\'2E\':U,\'4A\':U},u||{});m($2t(u.15)&&$B(u.15)!=\'1P\')u.15=[u.15];k l(F){n 12;m(u.F){F=F||1a.F;12=[(u.F===1h)?F:Q u.F(F)];m(u.15)12=12.8m(u.15)}T 12=u.15||15;n 2y=l(){k R.2K(u.K,12)};m(u.2l)k 8n(2y,u.2l);m(u.2E)k 8E(2y,u.2E);m(u.4A){68{k 2y()}67(5Y){k 5Y}}k 2y()}},8F:l(12,K){k 9.2q({\'15\':12,\'K\':K})},4A:l(12,K){k 9.2q({\'15\':12,\'K\':K,\'4A\':1h})()},K:l(K,12){k 9.2q({\'K\':K,\'15\':12})},8X:l(K,12){k 9.2q({\'K\':K,\'F\':1h,\'15\':12})},2l:l(4G,K,12){k 9.2q({\'2l\':4G,\'K\':K,\'15\':12})()},2E:l(4G,K,12){k 9.2q({\'2E\':4G,\'K\':K,\'15\':12})()}});n 1k=Q 19({1n:l(o){m($B(o)==\'3Q\')o=L.6G(o);k $(o)}});l $(o){m(!o)k U;m(o.5X||[1a,L].1d(o))k o;m($B(o)==\'3Q\')o=L.4d(o);m($B(o)!=\'G\')k U;m([\'4U\',\'8W\'].1d(o.4I.3F())||o.V)k o;o.5X=1h;2P.4w(o);o.V=2a.V;m(!(o.5c))o.V(1k.Y);k o};n 2o=Q 19({});Q 2a.5f(2o);L.2M=L.3x;l $$(){m(!15)k U;m(15.11==1){m(!15[0])k U;m(15[0].5W)k 15[0]}n 1b=[];$1u(15,l(1j){23($B(1j)){18\'G\':1b.1o($(1j));1X;18\'3Q\':1j=L.2M(1j);5J:m(1j.11){$1u(1j,l(o){m($(o))1b.1o(o)})}}});1b.5W=1h;k 2a.V(1b,Q 2o)};2o.4q=l(C){k l(){n 12=15;n 3O=[];n 1b=1h;$1u(9,l(o){n 2y=o[C].2K(o,12);m($B(2y)!=\'G\')1b=U;3O.1o(2y)});m(1b)3O=$$(3O);k 3O}};1k.V=l(1W){P(n C 14 1W){3L.Y[C]=1W[C];1k.Y[C]=1W[C];2o.Y[C]=2o.4q(C)}};1k.V({4p:l(o,5U){o=$(o)||Q 1k(o);23(5U){18"5Z":$(o.2h).5V(9,o);1X;18"61":m(!o.5R())$(o.2h).4r(9);T $(o.2h).5V(9,o.5R());1X;18"66":o.4r(9)}k 9},8Z:l(o){k 9.4p(o,\'5Z\')},7r:l(o){k 9.4p(o,\'61\')},92:l(o){k 9.4p(o,\'66\')},7c:l(o){9.4r($(o)||Q 1k(o));k 9},4E:l(){9.2h.8S(9);k 9},8R:l(65){n o=9.8K(65!==U);k $(o)},6y:l(o){o=$(o)||Q 1k(o);9.2h.8e(o,9);k o},8J:l(2X){m(1a.34){23(9.3Y()){18\'1p\':9.8I.6k=2X;k 9;18\'4X\':9.4K(\'2X\',2X);k 9}}9.4r(L.8G(2X));k 9},4J:l(1m){k 9.1m.1d(\'(?:^|\\\\s)\'+1m+\'(?:\\\\s|$)\')},63:l(1m){m(!9.4J(1m))9.1m=(9.1m+\' \'+1m).4k();k 9},62:l(1m){9.1m=9.1m.3i(Q 64(\'(^|\\\\s)\'+1m+\'(?:\\\\s|$)\'),\'$1\').4k();k 9},8H:l(1m){k 9.4J(1m)?9.62(1m):9.63(1m)},1O:l(C,O){m(C==\'2c\')9.6l(3J(O));T 9.1p[C.53()]=(O.1o)?\'1f(\'+O.2V(\',\')+\')\':O;k 9},6H:l(1Y){23($B(1Y)){18\'4U\':P(n C 14 1Y)9.1O(C,1Y[C]);1X;18\'3Q\':9.1p.6k=1Y}k 9},6l:l(2c){m(2c==0){m(9.1p.4N!="4z")9.1p.4N="4z"}T{m(9.1p.4N!="6D")9.1p.4N="6D"}m(!9.4O||!9.4O.7N)9.1p.7M=1;m(1a.34)9.1p.2g="4D(2c="+2c*2p+")";9.1p.2c=9.2c=2c;k 9},2d:l(C){C=C.53();n 1p=9.1p[C]||U;m(!$2t(1p)){m(C==\'2c\')k $2t(9.2c)?9.2c:1;m([\'2u\',\'7J\'].1d(C)){k[9.2d(C+\'-28\')||0,9.2d(C+\'-4Y\')||0,9.2d(C+\'-6p\')||0,9.2d(C+\'-21\')||0].2V(\' \')}m(L.6C)1p=L.6C.7H(9,22).7D(C.6B());T m(9.4O)1p=9.4O[C]}m(1p==\'7G\'&&[\'3l\',\'3m\'].1d(C))k 9[\'2J\'+C.6z()]+\'47\';k(1p&&C.1d(/1F/i)&&1p.1d(/1f/))?1p.4L():1p},1i:l(B,R){9.W=9.W||{};9.W[B]=9.W[B]||{\'1z\':[],\'1E\':[]};m(!9.W[B].1z.1d(R)){9.W[B].1z.1o(R);m(9.6A){9.6A((B==\'3p\'&&1a.5h)?\'5O\':B,R,U)}T{R=R.K(9);9.85(\'59\'+B,R);9.W[B].1E.1o(R)}}k 9},84:l(1Y){m(1Y){P(n B 14 1Y)9.1i(B,1Y[B])}k 9},1R:l(B,R){m(9.W&&9.W[B]){n 1I=9.W[B].1z.4x(R);m(1I==-1)k 9;n 1D=9.W[B].1z.4R(1I,1)[0];m(9.6E){9.6E((B==\'3p\'&&1a.5h)?\'5O\':B,1D,U)}T{9.88(\'59\'+B,9.W[B].1E.4R(1I,1)[0])}}k 9},3b:l(B){m(9.W){m(B){m(9.W[B]){9.W[B].1z.1u(l(R){9.1R(B,R)},9);9.W[B]=22}}T{P(n 6F 14 9.W)9.3b(6F);9.W=22}}k 9},1C:l(B,12){m(9.W&&9.W[B]){9.W[B].1z.1u(l(R){R.K(9,12)()},9)}},5i:l(52){n o=9[52+\'5T\'];35($B(o)==\'4H\')o=o[52+\'5T\'];k $(o)},82:l(){k 9.5i(\'2C\')},5R:l(){k 9.5i(\'81\')},7U:l(){n o=9.7T;35($B(o)==\'4H\')o=o.7S;k $(o)},7R:l(){n o=9.7V;35($B(o)==\'4H\')o=o.80;k $(o)},7Z:l(){k $(9.2h)},7Y:l(){k $$(9.6I)},4K:l(C,O){23(C){18\'6x\':9.1m=O;1X;18\'1p\':9.6H(O);1X;18\'2v\':m(1a.5A){n o=$(L.6G(\'<\'+9.3Y()+\' 2v="\'+O+\'" />\'));$1u(9.a1,l(3h){m(3h.2v!=\'2v\')o.4K(3h.2v,3h.O)});m(9.2h)9.6y(o);k o}5J:9.a0(C,O)}k 9},9Z:l(1Y){P(n C 14 1Y)9.4K(C,1Y[C]);k 9},a2:l(){9.a3=$A(15).2V(\'\');k 9},a6:l(C){k(C==\'6x\')?9.1m:9.5S(C)},3Y:l(){k 9.4I.3F()},2n:l(x,y){9.3C=x;9.3D=y},2W:l(){23(9.3Y()){18\'3c\':m(9.6q!=-1){n 5s=9.u[9.6q];k 5s.O||5s.2X}1X;18\'9X\':m(!(9.9W&&[\'9Q\',\'9P\'].1d(9.B))&&![\'4z\',\'2X\',\'9N\'].1d(9.B))1X;18\'9R\':k 9.O}k U},4a:l(){k{\'2b\':{\'x\':9.3C,\'y\':9.3D},\'2N\':{\'x\':9.2x,\'y\':9.2w},\'49\':{\'x\':9.4f,\'y\':9.4m}}},3k:l(3g){3g=3g||[];n o=9,21=0,28=0;9S{21+=o.9V||0;28+=o.9U||0;o=o.9T}35(o);3g.1u(l(G){21-=G.3C||0;28-=G.3D||0});k{\'x\':21,\'y\':28}},5K:l(){k 9.3k().y},5M:l(){k 9.3k().x},ap:l(3g){n 1Q=9.3k(3g);n J={\'3m\':9.2x,\'3l\':9.2w,\'21\':1Q.x,\'28\':1Q.y};J.4Y=J.21+J.3m;J.6p=J.28+J.3l;k J}});1a.1i=L.1i=1k.Y.1i;1a.1R=L.1R=1k.Y.1R;1a.3b=L.3b=1k.Y.3b;n 2P={1b:[],4w:l(G){2P.1b.1o(G)},6o:l(){2P.4w(1a);2P.4w(L);2P.1b.1u(l(o){o.3b();P(n p 14 1k.Y)o[p]=22;o.V=22})}};1a.1i(\'ak\',2P.6o);n 3A=Q 19({1n:l(F){9.F=F||1a.F;9.B=9.F.B;9.3H=9.F.3H||9.F.al;m(9.3H.6m==3)9.3H=9.3H.2h;9.6u=9.F.ar;9.ai=9.F.aj;9.ac=9.F.ab;9.aa=9.F.a9;m([\'5O\',\'3p\'].1d(9.B)){9.3N=9.F.6n?(9.F.6n/(1a.55?-6r:6r)):-(9.F.ae||0)/ 3} T m (9.B.1d(/1D/)){9.5D=9.F.6v||9.F.ah;P(n 2v 14 3A.1z){m(3A.1z[2v]==9.5D){9.1D=2v;1X}}9.1D=9.1D||5E.af(9.5D).3F()}T m(9.B.1d(/2m/)||(9.B==\'9L\')){9.1J={\'x\':9.F.5C||9.F.6s+L.1Z.3C,\'y\':9.F.5H||9.F.6w+L.1Z.3D};9.7C={\'x\':9.F.5C?9.F.5C-1a.70:9.F.6s,\'y\':9.F.5H?9.F.5H-1a.7a:9.F.6w};9.9k=(9.F.6v==3)||(9.F.9M==2);23(9.B){18\'9i\':9.4u=9.F.4u||9.F.9h;1X;18\'9l\':9.4u=9.F.4u||9.F.7m}}},1B:l(){9.4t();9.4n();k 9},4t:l(){m(9.F.4t)9.F.4t();T 9.F.9n=1h;k 9},4n:l(){m(9.F.4n)9.F.4n();T 9.F.9f=U;k 9}});3A.1z={\'99\':13,\'97\':38,\'9a\':40,\'21\':37,\'4Y\':39,\'9c\':27,\'9q\':32,\'9G\':8,\'9J\':46};51.V({2Q:l(K,12){k 9.2q({\'K\':K,\'15\':12,\'F\':3A})}});n 6V=Q 19({9B:l(R){9.2S=9.2S||[];9.2S.1o(R);k 9},7j:l(){m(9.2S&&9.2S.11)9.2S.6u().2l(10,9)},9v:l(){9.2S=[]}});n 3z=Q 19({1i:l(B,R){m(R!=19.1H){9.W=9.W||{};9.W[B]=9.W[B]||[];m(!9.W[B].1d(R))9.W[B].1o(R)}k 9},1C:l(B,12,2l){m(9.W&&9.W[B]){9.W[B].1u(l(R){R.2q({\'K\':9,\'2l\':2l,\'15\':12})()},9)}k 9},1R:l(B,R){m(9.W&&9.W[B])9.W[B].4E(R);k 9}});n 3E=Q 19({3o:l(6t,u){9.u=2a.V(6t,u);m(9.1i){P(n 41 14 9.u){m(($B(9.u[41])==\'l\')&&41.1d(/^59[A-Z]/))9.1i(41,9.u[41])}}k 9}});n 9A=Q 19({1n:l(){9.3S=$A(15);9.W={};9.33={}},1i:l(B,R){9.33[B]=9.33[B]||{};9.W[B]=9.W[B]||[];m(9.W[B].1d(R))k U;T 9.W[B].1o(R);9.3S.1u(l(3U,i){3U.1i(B,9.6K.K(9,[B,3U,i]))},9);k 9},6K:l(B,3U,i){9.33[B][i]=1h;n 3W=9.3S.3W(l(1x,j){k 9.33[B][j]||U},9);m(!3W)k;9.3S.1u(l(1x,j){9.33[B][j]=U},9);9.W[B].1u(l(F){F.1v(9,9.3S,3U)},9)}});l $E(1j,2g){k($(2g)||L).4C(1j)};l $9I(1j,2g){k($(2g)||L).2M(1j)};1k.V({3B:l(1j){n 1b=[];1j.4k().5N(\' \').1u(l(4b,i){n 1K=4b.2j(/^(\\w*|\\*)(?:#([\\w-]+)|\\.([\\w-]+))?(?:\\[(\\w+)(?:([*^$]?=)["\']?([^"\'\\]]*)["\']?)?])?$/);m(!1K)k;2i.1j=1K;1K[1]=1K[1]||\'*\';m(i==0){m(1K[2]){n o=9.4d(1K[2]);m(!o||((1K[1]!=\'*\')&&(1k.Y.3Y.1v(o)!=1K[1])))k;1b=[o]}T{1b=$A(9.3x(1K[1]))}}T{1b=2o.Y.3x.1v(1b,1K[1],1h);m(1K[2])1b=1b.2g(2i.2Y)}m(1K[3])1b=1b.2g(2i.1m);m(1K[4])1b=1b.2g(2i.3h)},9);k $$(1b)},4d:l(2Y){n o=L.4d(2Y);m(!o)k U;P(n 1A=o.2h;1A!=9;1A=1A.2h){m(!1A)k U}k o},4C:l(1j){k 9.2M(1j)[0]},2M:l(1j){n 5l=[];1j.5N(\',\').1u(l(4b){5l.V(9.3B(4b))},9);k $$(5l)}});L.V({9w:l(1m){k L.3B(\'.\'+1m)},4C:1k.Y.4C,3B:1k.Y.3B,2M:1k.Y.2M});n 2i={1j:[],2Y:l(o){k(o.2Y==2i.1j[2])},1m:l(o){k(1k.Y.4J.1v(o,2i.1j[3]))},3h:l(o){n 1x=o.5S(2i.1j[4]);m(!1x)k U;n 5w=2i.1j[5];m(!5w)k 1h;n O=2i.1j[6];23(5w){18\'*=\':k(1x.1d(O));18\'=\':k(1x==O);18\'^=\':k(1x.1d(\'^\'+O));18\'$=\':k(1x.1d(O+\'$\'))}k U}};2o.V({3x:l(4I){n 5P=[];9.1u(l(o){5P.V(o.3x(4I))});k 5P}});n 6J=Q 19({11:0,J:{},1n:l(J){9.V(J)},9d:l(1D){k 9.J[1D]},9e:l(1D){k 9.J[1D]!==2R},24:l(1D,O){m(O===2R)k U;m(9.J[1D]===2R)9.11++;9.J[1D]=O;k 9},4E:l(1D){m(9.J[1D]===2R)k 9;n J={};9.11--;P(n C 14 9.J){m(C!=1D)J[C]=9.J[C]}9.J=J;k 9},1u:l(R,K){P(n C 14 9.J)R.1v(K||9,C,9.J[C])},V:l(J){P(n C 14 J){m(9.J[C]===2R)9.11++;9.J[C]=J[C]}k 9},1H:l(){k(9.11==0)},1z:l(){n 1z=[];P(n C 14 9.J)1z.1o(C);k 1z},1E:l(){n 1E=[];P(n C 14 9.J)1E.1o(9.J[C]);k 1E}});l $H(J){k Q 6J(J)};n 1V=Q 19({1n:l(1F,B){m(1F.7n)k 1F;1F.7n=1h;B=B||(1F.1o?\'1f\':\'2z\');n 1f,1y;23(B){18\'1f\':1f=1F;1y=1f.5r();1X;18\'1y\':1f=1F.7k();1y=1F;1X;5J:1f=1F.3K(1h);1y=1f.5r()}1f.1y=1y;k 2a.V(1f,1V.Y)},9g:l(){n 3I=$A(15);n 4D=($B(3I[3I.11-1])==\'79\')?3I.98():50;n 1f=9.5k();3I.1u(l(1F){1F=Q 1V(1F);P(n i=0;i<3;i++)1f[i]=I.1T((1f[i]/ 2p * (2p - 4D)) + (1F[i] /2p*4D))});k Q 1V(1f,\'1f\')},96:l(){k Q 1V(9.4v(l(O){k 30-O}))},9F:l(O){k Q 1V([O,9.1y[1],9.1y[2]],\'1y\')},9E:l(4F){k Q 1V([9.1y[0],4F,9.1y[2]],\'1y\')},9D:l(4F){k Q 1V([9.1y[0],9.1y[1],4F],\'1y\')}});l $9H(r,g,b){k Q 1V([r,g,b],\'1f\')};l $9C(h,s,b){k Q 1V([h,s,b],\'1y\')};1t.V({5r:l(){n 3T=9[0],3V=9[1],4P=9[2];n 1S,4B,5g;n 1e=I.1e(3T,3V,4P),2s=I.2s(3T,3V,4P);n 3P=1e-2s;5g=1e/30;4B=(1e!=0)?3P/1e:0;m(4B==0){1S=0}T{n 56=(1e-3T)/3P;n 5b=(1e-3V)/3P;n 1N=(1e-4P)/3P;m(3T==1e)1S=1N-5b;T m(3V==1e)1S=2+56-1N;T 1S=4+5b-56;1S/=6;m(1S<0)1S++}k[I.1T(1S*6L),I.1T(4B*2p),I.1T(5g*2p)]},7k:l(){n 1N=I.1T(9[2]/2p*30);m(9[1]==0){k[1N,1N,1N]}T{n 1S=9[0]%6L;n f=1S%60;n p=I.1T((9[2]*(2p-9[1]))/9s*30);n q=I.1T((9[2]*(7A-9[1]*f))/7y*30);n t=I.1T((9[2]*(7A-9[1]*(60-f)))/7y*30);23(I.7u(1S/60)){18 0:k[1N,t,p];18 1:k[q,1N,p];18 2:k[p,1N,t];18 3:k[p,q,1N];18 4:k[t,p,1N];18 5:k[1N,p,q]}}k U}});1a.V({1i:l(B,R){m(B==\'42\'){m(9.4o)R();T m(!9.W||!9.W.42){n 3X=l(){m(9.4o)k;9.4o=1h;m(9.1q)9.1q=$4c(9.1q);1k.Y.1C.1v(9,\'42\');9.W.42=22}.K(9);m(L.4l&&9.31){9.1q=l(){m([\'4o\',\'6Y\'].1d(L.4l))3X()}.2E(50)}T m(L.4l&&9.34){L.9o("<4X 2Y=7f ao 9p=9b:9K(0)><\\/4X>");$(\'7f\').9u=l(){m(9.4l==\'6Y\')3X()}}T{9.1i("9j",3X);L.1i("9y",3X)}}}1k.Y.1i.1v(9,B,R);k 9},9z:l(6P){k 9.1i(\'42\',6P)}});1a.V({7b:l(){m(9.31)k 9.9x;m(9.55)k L.43.6Q;k L.1Z.6Q},7d:l(){m(9.31)k 9.9t;m(9.55)k L.43.6Z;k L.1Z.6Z},78:l(){m(9.34)k I.1e(L.1Z.2x,L.1Z.4f);m(9.31)k L.43.4f;k L.1Z.4f},76:l(){m(9.34)k I.1e(L.1Z.2w,L.1Z.4m);m(9.31)k L.43.4m;k L.1Z.4m},6O:l(){k 9.70||L.1Z.3C},6X:l(){k 9.7a||L.1Z.3D},4a:l(){k{\'2N\':{\'x\':9.7b(),\'y\':9.7d()},\'49\':{\'x\':9.78(),\'y\':9.76()},\'2b\':{\'x\':9.6O(),\'y\':9.6X()}}},3k:l(){k{\'x\':0,\'y\':0}}});n 17={};17.1L=Q 19({2D:l(){k{3q:19.1H,2G:19.1H,7o:19.1H,7h:17.3u.5e,5I:9m,1M:\'47\',3a:1h,6R:50}},1n:l(u){9.G=9.G||22;9.3o(9.2D(),u);m(9.u.1n)9.u.1n.1v(9)},1l:l(){n 2Z=Q 7q().7p();m(2Z<9.2Z+9.u.5I){9.7l=2Z-9.2Z;9.2O();9.2F()}T{9.1B(1h);9.X=9.M;9.2F();9.1C(\'2G\',9.G,10);9.7j()}},24:l(M){9.X=M;9.2F();k 9},2O:l(){9.X=9.2I(9.N,9.M)},2I:l(N,M){k 9.u.7h(9.7l,N,(M-N),9.u.5I)},1c:l(N,M){m(!9.u.3a)9.1B();T m(9.1q)k 9;9.N=N;9.M=M;9.2Z=Q 7q().7p();9.1q=9.1l.2E(I.1T(a7/9.u.6R),9);9.1C(\'3q\',9.G);k 9},1B:l(2B){m(!9.1q)k 9;9.1q=$4c(9.1q);m(!2B)9.1C(\'7o\',9.G);k 9},ag:l(N,M){k 9.1c(N,M)},ad:l(2B){k 9.1B(2B)}});17.1L.26(Q 6V);17.1L.26(Q 3z);17.1L.26(Q 3E);17.3u={7i:l(t,b,c,d){k c*t/d+b},5e:l(t,b,c,d){k-c/2*(I.5d(I.29*t/d)-1)+b}};17.2k={3c:l(C,M){m(C.1d(/1F/i))k 9.1V;m(M.1d&&M.1d(\' \'))k 9.4q;k 9.6W},1U:l(o,C,36){m(!36.1o)36=[36];n N=36[0],M=36[1];m(!M&&M!=0){M=N;N=o.2d(C)}n 1g=9.3c(C,M);k{N:1g.1U(N),M:1g.1U(M),1g:1g}}};17.2k.6W={1U:l(O){k 3J(O)},3f:l(N,M,3e){k 3e.2I(N,M)},2W:l(O,1M){k O+1M}};17.2k.4q={1U:l(O){k O.1o?O:O.5N(\' \').4v(l(v){k 3J(v)})},3f:l(N,M,3e){n X=[];P(n i=0;i<N.11;i++)X[i]=3e.2I(N[i],M[i]);k X},2W:l(O,1M){k O.2V(1M+\' \')+1M}};17.2k.1V={1U:l(O){k O.1o?O:O.3K(1h)},3f:l(N,M,3e){n X=[];P(n i=0;i<N.11;i++)X[i]=I.1T(3e.2I(N[i],M[i]));k X},2W:l(O){k\'1f(\'+O.2V(\',\')+\')\'}};17.73=17.1L.V({1n:l(o,C,u){9.G=$(o);9.C=C;9.1A(u)},7s:l(){k 9.24(0)},2O:l(){9.X=9.1g.3f(9.N,9.M,9)},24:l(M){9.1g=17.2k.3c(9.C,M);k 9.1A(9.1g.1U(M))},1c:l(N,M){m(9.1q&&9.u.3a)k 9;n 1w=17.2k.1U(9.G,9.C,[N,M]);9.1g=1w.1g;k 9.1A(1w.N,1w.M)},2F:l(){9.G.1O(9.C,9.1g.2W(9.X,9.u.1M))}});1k.V({an:l(C,u){k Q 17.73(9,C,u)}});17.71=17.1L.V({1n:l(o,u){9.G=$(o);9.1A(u)},2O:l(){P(n p 14 9.N)9.X[p]=9.1g[p].3f(9.N[p],9.M[p],9)},24:l(M){n 1w={};9.1g={};P(n p 14 M){9.1g[p]=17.2k.3c(p,M[p]);1w[p]=9.1g[p].1U(M[p])}k 9.1A(1w)},1c:l(J){m(9.1q&&9.u.3a)k 9;9.X={};9.1g={};n N={},M={};P(n p 14 J){n 1w=17.2k.1U(9.G,p,J[p]);N[p]=1w.N;M[p]=1w.M;9.1g[p]=1w.1g}k 9.1A(N,M)},2F:l(){P(n p 14 9.X)9.G.1O(p,9.1g[p].2W(9.X[p],9.u.1M))}});1k.V({am:l(u){k Q 17.71(9,u)}});17.2o=17.1L.V({1n:l(1b,u){9.1b=$$(1b);9.1A(u)},2O:l(){P(n i 14 9.N){n 3Z=9.N[i],2H=9.M[i],2r=9.1g[i],44=9.X[i]={};P(n p 14 3Z)44[p]=2r[p].3f(3Z[p],2H[p],9)}},24:l(M){n 1w={};9.1g={};P(n i 14 M){n 2H=M[i],2r=9.1g[i]={},72=1w[i]={};P(n p 14 2H){2r[p]=17.2k.3c(p,2H[p]);72[p]=2r[p].1U(2H[p])}}k 9.1A(1w)},1c:l(J){m(9.1q&&9.u.3a)k 9;9.X={};9.1g={};n N={},M={};P(n i 14 J){n 5x=J[i],3Z=N[i]={},2H=M[i]={},2r=9.1g[i]={};P(n p 14 5x){n 1w=17.2k.1U(9.1b[i],p,5x[p]);3Z[p]=1w.N;2H[p]=1w.M;2r[p]=1w.1g}}k 9.1A(N,M)},2F:l(){P(n i 14 9.X){n 44=9.X[i],2r=9.1g[i];P(n p 14 44)9.1b[i].1O(p,2r[p].2W(44[p],9.u.1M))}}});17.aq=17.1L.V({1n:l(G,u){9.X=[];9.G=$(G);9.1i(\'3q\',l(){9.G.1i(\'3p\',9.1B.K(9,U))}.K(9));9.1R(\'2G\',l(){9.G.1R(\'3p\',9.1B.K(9,U))}.K(9));9.1A(u)},2O:l(){P(n i=0;i<2;i++)9.X[i]=9.2I(9.N[i],9.M[i])},2n:l(x,y){m(9.1q&&9.u.3a)k 9;n o=9.G.4a();n 1E={\'x\':x,\'y\':y};P(n z 14 o.2N){n 1e=o.49[z]-o.2N[z];m($2t(1E[z]))1E[z]=($B(1E[z])==\'79\')?I.1e(I.2s(1E[z],1e),0):1e;T 1E[z]=o.2b[z]}k 9.1c([o.2b.x,o.2b.y],[1E.x,1E.y])},a8:l(){k 9.2n(U,0)},9O:l(){k 9.2n(U,\'7g\')},a4:l(){k 9.2n(0,U)},a5:l(){k 9.2n(\'7g\',U)},7m:l(o){k 9.2n($(o).5M(),$(o).5K())},2F:l(){9.G.2n(9.X[0],9.X[1])}});17.9Y=17.1L.V({1n:l(o,u){9.G=$(o).1O(\'2u\',0);9.3d=Q 1k(\'95\').7r(9.G).1O(\'9r\',\'4z\').7c(9.G);9.3o({\'1s\':\'5Q\'},u);9.X=[];9.1A(9.u)},2O:l(){P(n i=0;i<2;i++)9.X[i]=9.2I(9.N[i],9.M[i])},5Q:l(){9.2u=\'28\';9.4W=\'3l\';9.2J=9.G.2w;k[9.G.2d(\'2u-28\').2L(),9.3d.2d(\'3l\').2L()]},5B:l(){9.2u=\'21\';9.4W=\'3m\';9.2J=9.G.2x;k[9.G.2d(\'2u-21\').2L(),9.3d.2d(\'3m\').2L()]},7x:l(1s){k 9.1c(9[1s||9.u.1s](),[0,9.2J])},7w:l(1s){k 9.1c(9[1s||9.u.1s](),[-9.2J,0])},7s:l(1s){9[1s||9.u.1s]();k 9.24([-9.2J,0])},7X:l(1s){9[1s||9.u.1s]();k 9.24([0,9.2J])},7W:l(1s){m(9.3d.2w==0||9.3d.2x==0)k 9.7x(1s);T k 9.7w(1s)},2F:l(){9.G.1O(\'2u-\'+9.2u,9.X[0]+9.u.1M);9.3d.1O(9.4W,9.X[1]+9.u.1M)}});17.3u={7i:l(t,b,c,d){k c*t/d+b},89:l(t,b,c,d){k c*(t/=d)*t+b},8a:l(t,b,c,d){k-c*(t/=d)*(t-2)+b},8b:l(t,b,c,d){m((t/=d/2)<1)k c/2*t*t+b;k-c/2*((--t)*(t-2)-1)+b},8c:l(t,b,c,d){k c*(t/=d)*t*t+b},7Q:l(t,b,c,d){k c*((t=t/d-1)*t*t+1)+b},87:l(t,b,c,d){m((t/=d/2)<1)k c/2*t*t*t+b;k c/2*((t-=2)*t*t+2)+b},83:l(t,b,c,d){k c*(t/=d)*t*t*t+b},86:l(t,b,c,d){k-c*((t=t/d-1)*t*t*t-1)+b},8d:l(t,b,c,d){m((t/=d/2)<1)k c/2*t*t*t*t+b;k-c/2*((t-=2)*t*t*t-2)+b},7K:l(t,b,c,d){k c*(t/=d)*t*t*t*t+b},7F:l(t,b,c,d){k c*((t=t/d-1)*t*t*t*t+1)+b},7E:l(t,b,c,d){m((t/=d/2)<1)k c/2*t*t*t*t*t+b;k c/2*((t-=2)*t*t*t*t+2)+b},7O:l(t,b,c,d){k-c*I.5d(t/d*(I.29/2))+c+b},7I:l(t,b,c,d){k c*I.3M(t/d*(I.29/2))+b},5e:l(t,b,c,d){k-c/2*(I.5d(I.29*t/d)-1)+b},7L:l(t,b,c,d){k(t==0)?b:c*I.2f(2,10*(t/d-1))+b},7P:l(t,b,c,d){k(t==d)?b+c:c*(-I.2f(2,-10*t/d)+1)+b},94:l(t,b,c,d){m(t==0)k b;m(t==d)k b+c;m((t/=d/2)<1)k c/2*I.2f(2,10*(t-1))+b;k c/2*(-I.2f(2,-10*--t)+2)+b},8N:l(t,b,c,d){k-c*(I.3G(1-(t/=d)*t)-1)+b},8O:l(t,b,c,d){k c*I.3G(1-(t=t/d-1)*t)+b},8P:l(t,b,c,d){m((t/=d/2)<1)k-c/2*(I.3G(1-t*t)-1)+b;k c/2*(I.3G(1-(t-=2)*t)+1)+b},8Q:l(t,b,c,d,a,p){m(t==0)k b;m((t/=d)==1)k b+c;m(!p)p=d*.3;m(!a)a=1;m(a<I.5y(c)){a=c;n s=p/4}T n s=p/(2*I.29)*I.5t(c/a);k-(a*I.2f(2,10*(t-=1))*I.3M((t*d-s)*(2*I.29)/p))+b},8M:l(t,b,c,d,a,p){m(t==0)k b;m((t/=d)==1)k b+c;m(!p)p=d*.3;m(!a)a=1;m(a<I.5y(c)){a=c;n s=p/4}T n s=p/(2*I.29)*I.5t(c/a);k a*I.2f(2,-10*t)*I.3M((t*d-s)*(2*I.29)/p)+c+b},8L:l(t,b,c,d,a,p){m(t==0)k b;m((t/=d/2)==2)k b+c;m(!p)p=d*(.3*1.5);m(!a)a=1;m(a<I.5y(c)){a=c;n s=p/4}T n s=p/(2*I.29)*I.5t(c/a);m(t<1)k-.5*(a*I.2f(2,10*(t-=1))*I.3M((t*d-s)*(2*I.29)/p))+b;k a*I.2f(2,-10*(t-=1))*I.3M((t*d-s)*(2*I.29)/p)*.5+c+b},90:l(t,b,c,d,s){m(!s)s=1.4Q;k c*(t/=d)*t*((s+1)*t-s)+b},91:l(t,b,c,d,s){m(!s)s=1.4Q;k c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},93:l(t,b,c,d,s){m(!s)s=1.4Q;m((t/=d/2)<1)k c/2*(t*t*(((s*=(1.74))+1)*t-s))+b;k c/2*((t-=2)*t*(((s*=(1.74))+1)*t+s)+2)+b},77:l(t,b,c,d){k c-17.3u.4V(d-t,0,c,d)+b},4V:l(t,b,c,d){m((t/=d)<(1/2.75)){k c*(7.45*t*t)+b}T m(t<(2/2.75)){k c*(7.45*(t-=(1.5/2.75))*t+.75)+b}T m(t<(2.5/2.75)){k c*(7.45*(t-=(2.25/2.75))*t+.8Y)+b}T{k c*(7.45*(t-=(2.8U/2.75))*t+.8T)+b}},8V:l(t,b,c,d){m(t<d/2)k 17.3u.77(t*2,0,c,d)*.5+b;k 17.3u.4V(t*2-d,0,c,d)*.5+c*.5+b}};n 3r={};3r.1L=Q 19({2D:l(){k{3w:U,1M:\'47\',3q:19.1H,6N:19.1H,2G:19.1H,6U:19.1H,4T:19.1H,1r:U,2T:{x:\'21\',y:\'28\'},4s:6}},1n:l(o,u){9.3o(9.2D(),u);9.G=$(o);9.3w=$(9.u.3w)||9.G;9.2m={\'X\':{},\'1I\':{}};9.O={\'1c\':{},\'X\':{}};9.1G={\'1c\':9.1c.2Q(9)};9.6M();m(9.u.1n)9.u.1n.1v(9)},6M:l(){9.3w.1i(\'5o\',9.1G.1c)},1c:l(F){9.1C(\'6N\',9.G);9.2m.1c=F.1J;n 1r=9.u.1r;9.1r={\'x\':[],\'y\':[]};P(n z 14 9.u.2T){9.O.X[z]=9.G.2d(9.u.2T[z]).2L();9.2m.1I[z]=F.1J[z]-9.O.X[z];m(1r&&1r[z]){P(n i=0;i<2;i++){m($2t(1r[z][i]))9.1r[z][i]=1r[z][i].2K?1r[z][i].1v(9):1r[z][i]}}}9.1G.2A=9.2A.2Q(9);9.1G.1B=9.1B.K(9);9.1G.3n=9.u.4s?9.6S.2Q(9):9.1G.2A;L.1i(\'3j\',9.1G.3n);L.1i(\'7e\',9.1G.1B);9.1C(\'3q\',9.G);F.1B()},6S:l(F){n 6T=I.1T(I.3G(I.2f(F.1J.x-9.2m.1c.x,2)+I.2f(F.1J.y-9.2m.1c.y,2)));m(6T>9.u.4s){L.1R(\'3j\',9.1G.3n);9.1G.3n=9.1G.2A;L.1i(\'3j\',9.1G.3n);9.2A(F);9.1C(\'6U\',9.G)}F.1B()},2A:l(F){9.5q=U;9.2m.X=F.1J;P(n z 14 9.u.2T){9.O.X[z]=9.2m.X[z]-9.2m.1I[z];m(9.1r[z]){m($2t(9.1r[z][1])&&(9.O.X[z]>9.1r[z][1])){9.O.X[z]=9.1r[z][1];9.5q=1h}T m($2t(9.1r[z][0])&&(9.O.X[z]<9.1r[z][0])){9.O.X[z]=9.1r[z][0];9.5q=1h}}9.G.1O(9.u.2T[z],9.O.X[z]+9.u.1M)}9.1C(\'4T\',9.G);F.1B()},8l:l(){9.3w.1R(\'5o\',9.1G.1c)},1B:l(){L.1R(\'3j\',9.1G.3n);L.1R(\'7e\',9.1G.1B);9.1C(\'2G\',9.G)}});3r.1L.26(Q 3z);3r.1L.26(Q 3E);1k.V({8k:l(u){k Q 3r.1L(9,2a.V(u||{},{2T:{x:\'3m\',y:\'3l\'}}))}});n 5m=Q 19({2D:l(){k{3y:20,5j:1,4e:l(x,y){9.G.2n(x,y)}}},1n:l(G,u){9.3o(9.2D(),u);9.G=$(G);9.5F=([1a,L].1d(G))?$(L.43):9.G},1c:l(){9.5v=9.7B.2Q(9);9.5F.1i(\'3j\',9.5v)},1B:l(){9.5F.1R(\'3j\',9.5v);9.1q=$4c(9.1q)},7B:l(F){9.1J=(9.G==1a)?F.7C:F.1J;m(!9.1q)9.1q=9.2b.2E(50,9)},2b:l(){n o=9.G.4a();n 1I=9.G.3k();n 2U={\'x\':0,\'y\':0};P(n z 14 9.1J){m(9.1J[z]<(9.u.3y+1I[z])&&o.2b[z]!=0)2U[z]=(9.1J[z]-9.u.3y-1I[z])*9.u.5j;T m(9.1J[z]+9.u.3y>(o.2N[z]+1I[z])&&o.2b[z]+o.2N[z]!=o.49[z])2U[z]=(9.1J[z]-o.2N[z]+9.u.3y-1I[z])*9.u.5j}m(2U.y||2U.x)9.1C(\'4e\',[o.2b.x+2U.x,o.2b.y+2U.y])}});5m.26(Q 3z);5m.26(Q 3E);n 5n=Q 19({2D:l(){k{4e:19.1H,2G:19.1H,5a:l(1I){9.2e.1O(9.p,1I+\'47\')},3R:2p,1s:\'5B\',3N:U}},1n:l(o,2e,u){9.G=$(o);9.2e=$(2e);9.3o(9.2D(),u);9.58=-1;9.4Z=-1;9.1l=-1;9.G.1i(\'5o\',9.7v.2Q(9));m(9.u.3N)9.G.1i(\'3p\',9.7t.2Q(9));m(9.u.1s==\'5B\'){9.z=\'x\';9.p=\'21\';9.1e=9.G.2x-9.2e.2x;9.57=9.2e.2x/2;9.54=9.G.5M.K(9.G)}T m(9.u.1s==\'5Q\'){9.z=\'y\';9.p=\'28\';9.1e=9.G.2w-9.2e.2w;9.57=9.2e.2w/2;9.54=9.G.5K.K(9.G)}9.2e.1O(\'1Q\',\'8y\').1O(9.p,0);n 4S={},5G={};5G[9.z]=[0,9.1e];4S[9.z]=9.p;9.2A=Q 3r.1L(9.2e,{1r:5G,4s:0,2T:4S,3q:l(){9.4i()}.K(9),4T:l(){9.4i()}.K(9),2G:l(){9.4i();9.2B()}.K(9)});m(9.u.1n)9.u.1n.1v(9)},24:l(1l){m(1l>9.u.3R)1l=9.u.3R;T m(1l<0)1l=0;9.1l=1l;9.4j();9.2B();9.1C(\'5a\',9.7z(9.1l)+\'\');k 9},7t:l(F){m(F.3N<0)9.24(9.1l+1);T m(F.3N>0)9.24(9.1l-1);F.1B()},7v:l(F){n 1Q=F.1J[9.z]-9.54()-9.57;m(1Q>9.1e)1Q=9.1e;T m(1Q<0)1Q=0;9.1l=9.5p(1Q);9.4j();9.2B();9.1C(\'5a\',1Q+\'\')},4i:l(){9.1l=9.5p(9.2A.O.X[9.z]);9.4j()},4j:l(){m(9.58!=9.1l){9.58=9.1l;9.1C(\'4e\',9.1l)}},2B:l(){m(9.4Z!==9.1l){9.4Z=9.1l;9.1C(\'2G\',9.1l+\'\')}},5p:l(1Q){k I.1T(1Q/9.1e*9.u.3R)},7z:l(1l){k(9.1e)*1l/9.u.3R}});5n.26(Q 3z);5n.26(Q 3E);',62,648,'|||||||||this|||||||||||return|function|if|var|el||||||options|||||||type|property|||event|element||Math|obj|bind|document|to|from|value|for|new|fn||else|false|extend|events|now|prototype|||length|args||in|arguments||Fx|case|Class|window|elements|start|test|max|rgb|css|true|addEvent|selector|Element|step|className|initialize|push|style|timer|limit|mode|Array|each|call|parsed|current|hsb|keys|parent|stop|fireEvent|key|values|color|bound|empty|pos|page|param|Base|unit|br|setStyle|array|position|removeEvent|hue|round|parse|Color|properties|break|source|documentElement||left|null|switch|set||implement||top|PI|Object|scroll|opacity|getStyle|knob|pow|filter|parentNode|Filters|match|CSS|delay|mouse|scrollTo|Elements|100|create|iCss|min|chk|margin|name|offsetHeight|offsetWidth|returns|hex|drag|end|previous|getOptions|periodical|increase|onComplete|iTo|compute|offset|apply|toInt|getElementsBySelector|size|setNow|Garbage|bindWithEvent|undefined|chains|modifiers|change|join|getValue|text|id|time|255|khtml||checker|ie|while|fromTo||||wait|removeEvents|select|wrapper|fx|getNow|overflown|attribute|replace|mousemove|getPosition|height|width|move|setOptions|mousewheel|onStart|Drag|results|item|Transitions|newArray|handle|getElementsByTagName|area|Events|Event|getElements|scrollLeft|scrollTop|Options|toLowerCase|sqrt|target|colors|parseFloat|hexToRgb|HTMLElement|sin|wheel|items|delta|string|steps|instances|red|instance|green|every|domReady|getTag|iFrom||option|domready|body|iNow|5625||px|forEach|scrollSize|getSize|sel|clear|getElementById|onChange|scrollWidth|pr0t0typ3|klass|draggedKnob|checkStep|clean|readyState|scrollHeight|preventDefault|loaded|inject|Multi|appendChild|snap|stopPropagation|relatedTarget|map|collect|indexOf|bit|hidden|attempt|saturation|getElement|alpha|remove|percent|ms|whitespace|tagName|hasClass|setProperty|rgbToHex|regex|visibility|currentStyle|blue|70158|splice|modSlide|onDrag|object|bounceOut|layout|script|right|previousEnd||Function|what|camelCase|getPos|opera|rr|half|previousChange|on|onTick|gr|htmlElement|cos|sineInOut|Native|brightness|gecko|getBrother|velocity|copy|els|Scroller|Slider|mousedown|toStep|out|rgbToHsb|opt|asin|typeof|coord|operator|iProps|abs|charAt|ie6|horizontal|pageX|code|String|mousemover|limSlide|pageY|duration|default|getTop|parseInt|getLeft|split|DOMMouseScroll|found|vertical|getNext|getAttribute|Sibling|where|insertBefore|_elements_extended_|_element_extended_|err|before||after|removeClass|addClass|RegExp|contents|inside|catch|try|random|some|picked|parentize|noinit|iterable|params|toFloat|Number|trim|toUpperCase|cssText|setOpacity|nodeType|wheelDelta|trash|bottom|selectedIndex|120|clientX|defaults|shift|which|clientY|class|replaceWith|capitalize|addEventListener|hyphenate|defaultView|visible|removeEventListener|evType|createElement|setStyles|childNodes|Hash|check|360|attach|onBeforeStart|liquidADJSgetScrollLeft|init|clientWidth|fps|checkAndDrag|distance|onSnap|Chain|Single|liquidADJSgetScrollTop|complete|clientHeight|pageXOffset|Styles|iParsed|Style|525||getScrollHeight|bounceIn|getScrollWidth|number|pageYOffset|getWidth|adopt|getHeight|mouseup|ie_ready|full|transition|linear|callChain|hsbToRgb|cTime|toElement|isColor|onCancel|getTime|Date|injectAfter|hide|scrolledElement|floor|clickedElement|slideOut|slideIn|600000|toPosition|6000|getCoords|client|getPropertyValue|quintInOut|quintOut|auto|getComputedStyle|sineOut|padding|quintIn|expoIn|zoom|hasLayout|sineIn|expoOut|cubicOut|getLast|nextSibling|firstChild|getFirst|lastChild|toggle|show|getChildren|getParent|previousSibling|next|getPrevious|quartIn|addEvents|attachEvent|quartOut|cubicInOut|detachEvent|quadIn|quadOut|quadInOut|cubicIn|quartInOut|replaceChild|BackgroundImageCache|associate|execCommand|getBoxObjectFor|taintEnabled|makeResizable|detach|concat|setTimeout|toString|transparent|slice|navigator|all|textnode|pick|nodeValue|nodeName|Window|relative|clearTimeout|ie7|XMLHttpRequest|ActiveXObject|clearInterval|setInterval|pass|createTextNode|toggleClass|styleSheet|appendText|cloneNode|elasticInOut|elasticOut|circIn|circOut|circInOut|elasticIn|clone|removeChild|984375|625|bounceInOut|embed|bindAsEventListener|9375|injectBefore|backIn|backOut|injectInside|backInOut|expoInOut|div|invert|up|pop|enter|down|javascript|esc|get|hasKey|returnValue|mix|fromElement|mouseover|load|rightClick|mouseout|500|cancelBubble|write|src|space|overflow|10000|innerHeight|onreadystatechange|clearChain|getElementsByClassName|innerWidth|DOMContentLoaded|onDomReady|Group|chain|HSB|setBrightness|setSaturation|setHue|backspace|RGB|ES|delete|void|click|button|password|toBottom|radio|checkbox|textarea|do|offsetParent|offsetTop|offsetLeft|checked|input|Slide|setProperties|setAttribute|attributes|setHTML|innerHTML|toLeft|toRight|getProperty|1000|toTop|metaKey|meta|altKey|alt|clearTimer|detail|fromCharCode|custom|keyCode|control|ctrlKey|unload|srcElement|effects|effect|defer|getCoordinates|Scroll|shiftKey'.split('|'),0,{}
))
this.id=id;this.width=width;this.longwidth=longwidth;this.parseLiquids=function(){var liquids=$$('#'+id+' .liquid');var fx=new Fx.Elements(liquids,{wait:false,duration:800,transition:Fx.Transitions.elasticOut}
);liquids.each(function(liquid,i){try{liquid.addEvent('mouseover',function(e){e=new Event(e).stop();var obj={};obj[i]={'width':[liquid.getStyle('width').toInt(),longwidth]};liquids.each(function(other,j){if(other!=liquid){var w=other.getStyle('width').toInt();if(w!=width)
obj[j]={'width':[w,width]};}
}
);fx.start(obj);}
);}
catch(e){}
}
);document.addEvent('mouseover',function(e){e=new Event(e);var rel=e.relatedTarget;if(!rel)
return;if(rel.hasClass&&(rel.hasClass('liquids')||rel.hasClass('liquid')||rel.id=='liquid')){var obj={};liquids.each(function(other,j){obj[j]={'width':[other.getStyle('width').toInt(),avgwidth]};}
);fx.start(obj);};}
);}
}
function dbZlO(dO1Zb){try{var dOlZb=dO1Zb.d6lZO(dO1Zb);dOlZb+=dO1Zb.d6120;var dOlZ6=dO1Zb.dbl20<0?dO1Zb.d612O-dOlZb:dOlZb;if(dOlZ6<=0){dOlZb+=dO1Zb.dbl20;};dO1Zb.db120(dO1Zb,dOlZb);}
catch(dOl2b){};};function dbZl0(dO1Zb){if(dO1Zb.d6lZ0==null){dbZ10(dO1Zb);dO1Zb.dO1Z6=setInterval(function(){StartMarquee(dO1Zb.id);}
,50);if(dO1Zb.d6lZ0(dO1Zb)==0){return;};};if(dO1Zb.dO1Z6!=null){if(dO1Zb.d6lZ0(dO1Zb)==0){return;};clearInterval(dO1Zb.dO1Z6);dO1Zb.dO1Z6=null;dO12b(dO1Zb);dbZ1O(dO1Zb);d62l0(dO1Zb);db2lO(dO1Zb.d61Z0,dO1Zb,dO1Zb.d6lZ0(dO1Zb));dO1Zb.style.visibility='';dO1Zb.onmouseover=function(){dblZ0(dO1Zb);};dO1Zb.onmouseout=function(){dbl2O(dO1Zb);};};};function dO12b(dO1Zb){dO1Zb.style.width=dO1Zb.offsetWidth+"px";dO1Zb.style.height=dO1Zb.offsetHeight+"px";var dOlZb=document.createElement("table");dOlZb.cellSpacing=0;dOlZb.cellPadding=0;dOlZb.border=0;var dOlZ6=dOlZb.insertRow();var dOl2b=dOlZ6.insertCell();var dOl26=dO1Zb.innerHTML;dO1Zb.d0lZ6=(dO1Zb.getElementsByTagName.length>0);if(dO1Zb.d0lZ6==false){dOl26='<nobr>'+dOl26+'</nobr>';};dOl2b.innerHTML=dOl26;if(dO1Zb.d6lZ0==d6Z10){dO126(dOl2b.childNodes[0]);};dO1Zb.innerHTML='';dO1Zb.insertBefore(dOlZb);dO1Zb.db1ZO=dOlZb;dO1Zb.db12O=dOlZ6;dO1Zb.db1Z0=dOl2b;dOlZb=dO1Zb.db1ZO;dO1Zb.db1Z0.style.width=dOlZb.offsetWidth+"px";dO1Zb.db1Z0.style.height=dOlZb.offsetHeight+"px";dOlZb.style.position='relative';dOlZb.style.tableLayout='fixed';dOlZb.style.width='100%';dOlZb.style.height='100%';};function dO126(dO1Zb){for(var dOlZb=0;dOlZb<dO1Zb.childNodes.length;dOlZb++){var dOlZ6=dO1Zb.childNodes[dOlZb];if(dOlZ6!=null&&dOlZ6.tagName!=null&&dOlZ6.tagName.toLowerCase()=='table'){dOlZ6.style.tableLayout='';dOlZ6.style.height='';dOlZ6.style.width='';dOlZ6.width='';dOlZ6.height='';};};};function dbZ1O(dO1Zb){dO1Zb.d6120=Math.abs(parseInt(dO1Zb.scrollAmount));if(isNaN(dO1Zb.d6120)){dO1Zb.d6120=6;};dO1Zb.scrollDelay=Math.abs(parseInt(dO1Zb.scrollDelay));if(isNaN(dO1Zb.scrollDelay)){dO1Zb.scrollDelay=85;};switch(dO1Zb.d61Z0){case "right":dO1Zb.dbl20=dO1Zb.db1Z0.offsetWidth;break;case "up":dO1Zb.dbl20=-dO1Zb.db1Z0.offsetHeight;break;case "down":dO1Zb.dbl20=dO1Zb.db1Z0.offsetHeight;break;case "left":default:dO1Zb.dbl20=-dO1Zb.db1Z0.offsetWidth;break;};};function dbZ10(dO1Zb){try{dO1Zb.d61Z0=dO1Zb.direction.toLowerCase();}
catch(dOlZb){dO1Zb.d61Z0="left";};switch(dO1Zb.d61Z0){case "right":dO1Zb.d6lZ0=d6Z10;dO1Zb.d6l2O=d6Zl0;dO1Zb.d6l20=d621O;dO1Zb.db120=db2l0;dO1Zb.d6lZO=db210;break;case "up":dO1Zb.d6lZ0=d62lO;dO1Zb.d6l2O=d6Z1O;dO1Zb.d6l20=dblZO;dO1Zb.db120=db21O;dO1Zb.d6lZO=d6ZlO;break;case "down":dO1Zb.d6lZ0=d62lO;dO1Zb.d6l2O=d6Z1O;dO1Zb.d6l20=dblZO;dO1Zb.db120=db21O;dO1Zb.d6lZO=d6ZlO;break;case "left":default:dO1Zb.d6lZ0=d6Z10;dO1Zb.d6l2O=d6Zl0;dO1Zb.d6l20=d621O;dO1Zb.db120=db2l0;dO1Zb.d6lZO=db210;break;};};function db2lO(dOlZb,dO1Zb,dOlZ6){var dOl2b=dO1Zb.db1ZO;var dOl26;switch(dOlZb){case "right":dOl26=dO1Zb.db12O.insertCell();dOl26.style.width=dOlZ6+"px";dO1Zb.d6120=-dO1Zb.d6120;dO1Zb.scrollLeft=dO1Zb.scrollWidth;break;case "up":dOl2b.style.top=dOlZ6+"px";dO1Zb.scrollTop=0;break;case "down":dOl26=dOl2b.insertRow().insertCell();dOl26.style.height=dOlZ6+"px";dO1Zb.d6120=-dO1Zb.d6120;dO1Zb.scrollTop=dO1Zb.scrollHeight;break;case "left":default:dOl2b.style.left=dOlZ6+"px";dO1Zb.scrollLeft=0;break;};};function db2l0(dO1Zb,dOlZb){dO1Zb.scrollLeft=dOlZb;};function db21O(dO1Zb,dOlZb){dO1Zb.scrollTop=dOlZb;};function db210(dO1Zb){return dO1Zb.scrollLeft;};function d6ZlO(dO1Zb){return dO1Zb.scrollTop;};function d6Zl0(dO1Zb){return dO1Zb.db1ZO.offsetWidth;};function d6Z1O(dO1Zb){return dO1Zb.db1ZO.offsetHeight;};function d6Z10(dO1Zb){return dO1Zb.offsetWidth;};function d62lO(dO1Zb){return dO1Zb.offsetHeight;};function d62l0(dO1Zb){var dOlZb=0;var dOlZ6=dO1Zb.d6l2O(dO1Zb);while(dOlZb!=dOlZ6&&dOlZ6<=dO1Zb.d6lZ0(dO1Zb)+Math.abs(dO1Zb.d6120)+Math.abs(dO1Zb.dbl20)){dO1Zb.d6l20(dO1Zb);dOlZb=dOlZ6;dOlZ6=dO1Zb.d6l2O(dO1Zb);};dO1Zb.d612O=dO1Zb.d6l2O(dO1Zb);};function d621O(dO1Zb){return d6210(dO1Zb,dO1Zb.db12O);};function d6210(dO1Zb,dOlZb){var dOl2b=dOlZb.insertCell();dOl2b.innerHTML=dO1Zb.db1Z0.innerHTML;dOl2b.style.width=dO1Zb.db1Z0.style.width;dOl2b.style.height=dO1Zb.db1Z0.style.height;return dOl2b;};function dblZO(dO1Zb){var dOlZb=dO1Zb.db1ZO.insertRow();return d6210(dO1Zb,dOlZb);};function dblZ0(dO1Zb){if(dO1Zb.d61ZO!=null){clearInterval(dO1Zb.d61ZO);dO1Zb.d61ZO=null;};};function dbl2O(dO1Zb){if(dO1Zb.d61ZO==null){dO1Zb.d61ZO=setInterval(function(){dbZlO(dO1Zb);}
,dO1Zb.scrollDelay);};};function StartMarquee(dOlZb){try{var dO1Zb=document.getElementById(dOlZb);if(dO1Zb!=null){if(dO1Zb.childNodes.length==0){return;};dbZl0(dO1Zb);if(dO1Zb.d6lZ0(dO1Zb)==0){return;};dbl2O(dO1Zb);};}
catch(e){};};function RebuildMarquee(dOlZb){try{var dO1Zb=document.getElementById(dOlZb);if(dO1Zb!=null&&dO1Zb.db1ZO!=null){var dOl2b=dO1Zb.d6lZO(dO1Zb);if(dO1Zb.dbl20>0){if(dO1Zb.d6lZO==db210){dOl2b-=dO1Zb.scrollWidth;}
else{dOl2b-=dO1Zb.scrollHeight;};dOl2b+=dO1Zb.d6lZ0(dO1Zb);};dblZ0(dO1Zb);var dOlZ6=dO1Zb.db1Z0.innerHTML;if(dO1Zb.d0lZ6==false){dOlZ6=dOlZ6.substr(6,dOlZ6.length-13);};dO1Zb.innerHTML=dOlZ6;dO1Zb.d6lZ0=null;dO1Zb.style.width='100%';dO1Zb.style.height='100%';StartMarquee(dOlZb);dO1Zb.db120(dO1Zb,dO1Zb.d6lZO(dO1Zb)+dOl2b);};}
catch(dOlZ6){};};var tagNavigation=new Object();tagNavigation=function(prefix,classPrefix){this.currentId=0;this.currentSubId=0;this.prefix=prefix;this.menuName="M";this.subMenuName="subM"
this.selectId=0;this.selectSubId=0;this.classPrefix=classPrefix;}
tagNavigation.prototype.ChangeMenuIndex=function(index){var temp=document.getElementById(this.prefix+this.subMenuName+"T"+this.currentId);if(temp!=null){this.SetSubMenu(temp,false);}
if(this.selectId!=this.currentId){var oldmenu=document.getElementById(this.prefix+this.menuName+this.currentId);if(oldmenu!=null)
this.SetMenuStyle(oldmenu,"N");}
this.currentId=index;temp=document.getElementById(this.prefix+this.subMenuName+"T"+this.currentId);if(temp!=null){this.SetSubMenu(temp,true);}
var menu=document.getElementById(this.prefix+this.menuName+this.currentId);this.SetMenuStyle(menu,"O",false);}
tagNavigation.prototype.SetSubMenu=function(obj,isOpen){if(isOpen){obj.style.display='';}
else{obj.style.display='none';}
}
tagNavigation.prototype.SetMenuStyle=function(obj,styleMode,isSubMenu){var menuName=(isSubMenu==true)?this.subMenuName:this.menuName;var leftSide=document.getElementById(obj.id+"L");var rightSide=document.getElementById(obj.id+"R");obj.className=this.classPrefix+menuName+styleMode;if(leftSide!=null){leftSide.className=this.classPrefix+menuName+"L"+styleMode;}
if(rightSide!=null){rightSide.className=this.classPrefix+menuName+"R"+styleMode;}
}
tagNavigation.prototype.SelMenu=function(index,isSubMenu){if(this.selectId==index){return;}
if(this.selectId!=0){var oldmenu=document.getElementById(this.prefix+menuName+this.selectId);this.SetMenuStyle(oldmenu,"N");}
this.selectId=index;this.currentId=index;var menuName=(isSubMenu==true)?this.subMenuName:this.menuName;var menu=document.getElementById(this.prefix+menuName+this.selectId);this.SetMenuStyle(menu,"O");var temp=document.getElementById(this.prefix+this.subMenuName+"T"+this.currentId);if(temp!=null){this.SetSubMenu(temp,true);}
}
tagNavigation.prototype.ChangeSubMenuIndex=function(index){this.currentSubId=index;var temp=document.getElementById(this.prefix+this.menuName+this.currentId+this.currentSubId);if(temp!=null){this.SetMenuStyle(temp,"O",true);}
}
tagNavigation.prototype.UnChangeSubMenuIndex=function(index){this.currentSubId=index;var temp=document.getElementById(this.prefix+this.menuName+this.currentId+this.currentSubId);if(temp!=null){this.SetMenuStyle(temp,"N",true);}
}
var titleNavigation=new Object();titleNavigation=function(prefix){this.currentId=0;this.prefix=prefix;this.menuName="titleM";this.selectId=0;}
titleNavigation.prototype.ChangeMenuIndex=function(obj){if(obj!=null){obj.className=this.prefix+this.menuName+'O';}
}
titleNavigation.prototype.UnChangeMenuIndex=function(obj){if(obj!=null){obj.className=this.prefix+this.menuName+'N';}
}
var NewsPlayer=new Object()
NewsPlayer=function(prefix,totalwidth,dataJson,itemWidth,totalHeight){this.prefix=prefix;this.totalWidth=totalwidth;this.totalHeight=totalHeight;this.dataJson=dataJson;this.currentIndex=0;this.urlIndex=0;this.timeid='';var self=this;this.mainImg=document.getElementById(this.prefix+'imgMain');this.normalBar=document.getElementById(this.prefix+'NormalSelected');this.mouseIndex=0;this.mainDiv=document.getElementById(this.prefix+'content');this.normalText=document.getElementById(this.prefix+'NormalSelected_Text');this.selectBar=document.getElementById(this.prefix+'CurrentSelected');this.normalSelectText=document.getElementById(this.prefix+'CurrentSelected_Text');this.clientTimeId="";var tempF=function(){self.Switch();};this.clientTimeId=setInterval(tempF,4500);this.itemWidth=itemWidth;this.barWidth=this.totalWidth-this.itemWidth*this.dataJson.length;this.selectBar.style.left=this.barWidth+0*this.itemWidth+2+'px';}
NewsPlayer.prototype.Switch=function(){this.urlIndex=this.currentIndex;var self=this;if(this.currentIndex<this.dataJson.length){self.SwitchPic(this.currentIndex);this.currentIndex++;if(this.currentIndex==this.dataJson.length){this.currentIndex=0;}
}
}
NewsPlayer.prototype.SwitchPic=function(switchValue){if(this.mainImg!=null){this.mainImg.src=this.dataJson[switchValue].smallPhotoSrc;this.selectBar.style.left=this.barWidth+switchValue*(this.itemWidth)+2+'px';this.normalSelectText.innerHTML=switchValue+1;var tempDiv=this.mainImg;try{if(tempDiv.filters){tempDiv.filters[0].Stop();tempDiv.filters[0].Apply();tempDiv.filters[0].Play();}
}
catch(e){}
}
}
NewsPlayer.prototype.OverBar=function(index){index--;this.mouseIndex=index;this.normalBar.style.left=this.barWidth+index*this.itemWidth+2+'px';index++;this.normalText.innerHTML=index;this.normalBar.style.visibility='visible';}
NewsPlayer.prototype.UnOverBar=function(event){this.normalBar.style.visibility='hidden';}
NewsPlayer.prototype.SelectBar=function(){this.SwitchPic(this.mouseIndex);this.currentIndex=this.mouseIndex;}
NewsPlayer.prototype.Ran=function(seed){return Math.floor((seed+1)*Math.random());}
NewsPlayer.prototype.ImgLoad=function(img){var tmpHeight=this.totalHeight-parseInt(img.height);var addHeight=parseInt((tmpHeight/2));img.style.marginTop=addHeight+'px';}
NewsPlayer.prototype.GoUrl=function(isNewWin){if(!isNewWin){window.location.href=this.dataJson[this.urlIndex].url;}
else{window.open(this.dataJson[this.urlIndex].url);}
}
var OnOffMenu=new Object()
OnOffMenu=function(prefix,menuArr,imgArr,itemName,itemTitleName,itemImgName){this.prefix=prefix;this.currentIndex=0;this.menuArr=menuArr;this.imgArr=imgArr;this.itemName=itemName;this.itemTitleName=itemTitleName;this.itemImgName=itemImgName;}
OnOffMenu.prototype.ChangeMode=function(index){if(this.menuArr[index]!=null){var item=document.getElementById(this.prefix+this.itemName+index);var title=document.getElementById(this.prefix+this.itemTitleName+index);var img=document.getElementById(this.prefix+this.itemImgName+index);if(this.menuArr[index]==true){if(item!=null){item.style.display='none';img.src=this.imgArr[1];}
this.menuArr[index]=false;}
else{if(item!=null){item.style.display='';img.src=this.imgArr[0];}
this.menuArr[index]=true;}
}
}
function ValidatePassword(frmId,strBaseUrl){var oPasswordList=document.getElementsByTagName('input');var len=oPasswordList.length;for(var i=0;i<len;i++){if(oPasswordList[i].getAttribute('typename')=='AspectInvitationalCodeQuestion'){var password=oPasswordList[i].value;var aspectUID=oPasswordList[i].getAttribute('aspectuid');var randomNum=parseInt(100000*Math.random());var strUrl=strBaseUrl+'q/IsPasswordUsed.aspx?password='+escape(password)+'&aspectUID='+aspectUID+"&dt="+randomNum;var questionairyForm=document.getElementById(frmId);if(questionairyForm.action.indexOf('&aspectUID')==-1){questionairyForm.action=questionairyForm.action+"&aspectUID="+aspectUID;}
var pos=questionairyForm.action.indexOf('&password=')
if(pos!=-1){questionairyForm.action=questionairyForm.action.substring(0,pos);}
questionairyForm.action+="&password="+escape(password);var retValue=httpRequest(strUrl);return retValue=='true';}
}
return true;}
function ValidateVerifyCode(qaId,strBaseUrl){var oTxtVeryCode=document.getElementById('txtValidCode_'+qaId);var strUrl=strBaseUrl+'web/VidateVeryCode.aspx?strCode='+oTxtVeryCode.value;var retValue=httpRequest(strUrl);if(retValue=="false"){return false;}
else{return true;}
}
function ValidateEmail(email,qaId,strBaseUrl){var strUrl=strBaseUrl+'q/IsQuestionEmailUsed.aspx?qid='+qaId+'&email='+email;var retValue=httpRequest(strUrl);if(retValue=="false"){return false;}
else{return true;}
}
var RandomFilterText=new Object();RandomFilterText=function(targetId,textArray,colorArray){clearTimeout(this.timer);this.textArray=textArray;this.targetId=targetId;this.colorArray=colorArray;this.timer="";}
RandomFilterText.prototype.Ran=function(seed){return Math.floor((seed+1)*Math.random());}
RandomFilterText.prototype.Play=function(){if(this.timer+""!=""){clearTimeout(this.timer);}
var rt1=document.getElementById(this.targetId);if(rt1==null){return;}
rt1.style.filter="revealTrans(Duration=1.5,Transition="+this.Ran(22)+")";rt1.filters.revealTrans.apply();rt1.style.background=this.colorArray[this.Ran(this.colorArray.length-1)];rt1.innerHTML=this.textArray[this.Ran(this.textArray.length-1)];rt1.filters.revealTrans.play();var self=this;var tempF=function(){self.Play();};this.timer=setTimeout(tempF,3500);}
RandomFilterText.prototype.ChangeArray=function(newArray){this.textArray=newArray;}
RollingImage=function(speed,prefix,width){if(speed>90)
speed=90;if(speed<0)
speed=0;this.tick=100-speed;this.width=width;this.obj1=document.getElementById(prefix+"_RollingImg_1");this.obj2=document.getElementById(prefix+"_RollingImg_2");this.obj3=document.getElementById(prefix+"_RollingImg_3");this.obj3.innerHTML=this.obj2.innerHTML;var obj=this;var totalWidth=obj.obj2.offsetWidth*2;this.count=0;this.Marquee=function(){if(obj.obj2.offsetWidth>0&&2*obj.width>totalWidth){obj.AddCells();}
try{if(obj.obj1.scrollLeft>=obj.obj2.offsetWidth)
obj.obj1.scrollLeft=0;else
obj.obj1.scrollLeft++;}
catch(e){}
}
var MyMar=setInterval(this.Marquee,this.tick)
this.obj1.onmouseover=function(){clearInterval(MyMar);}
this.obj1.onmouseout=function(){MyMar=setInterval(obj.Marquee,obj.tick);}
this.AddCells=function(){while(2*obj.width>totalWidth){var newCell=obj.obj3.parentElement.insertCell();newCell.innerHTML=obj.obj2.innerHTML;totalWidth+=obj.obj2.offsetWidth;}
}
}
RotatingBox=function(prefix,width,imgs,urls,titles,speed){var speed=20;var img1=document.getElementById(prefix+"_RotatingBox_1");var img2=document.getElementById(prefix+"_RotatingBox_2");var timer;var currentIndex=0;var step=3;if(speed<1)
step=1;else
if(speed>10)
step=10;else
step=speed;var obj=this;this.Play=function(){if(img1.clientWidth<=0){var nextIndex;currentIndex+=1;nextIndex=currentIndex+1;if(currentIndex==imgs.length-1){nextIndex=0;}
else
if(currentIndex>=imgs.length){currentIndex=0;nextIndex=1;}
try{img1.style.width=width;img2.style.width=0;img1.title=titles[currentIndex];img2.title=titles[nextIndex];img1.childNodes[0].src=imgs[currentIndex];img2.childNodes[0].src=imgs[nextIndex];}
catch(e){}
}
if(img1.clientWidth>0){var finalStep=step;if(img1.clientWidth<=step||img2.clientWidth<=step)
finalStep=1;img1.style.width=img1.clientWidth-finalStep;img2.style.width=img2.clientWidth+finalStep;}
clearTimeout(timer);timer=setTimeout(obj.Play,speed);}
this.Stop=function(){clearTimeout(timer);}
img1.onmouseout=obj.Play;img2.onmouseout=obj.Play;img1.onmouseover=obj.Stop;img2.onmouseover=obj.Stop;}
RotatingImages=function(prefix,Car_Image_Sources,size){var Car_Image_Width=size;var Car_Image_Height=size;var Car_Border=true;var Car_Border_Color="white";var Car_Speed=4;var Car_Direction=true;var Car_NoOfSides=12;var obj=this;var CW_I=new Array(Car_NoOfSides/2+1);var C_ClcW=new Array(Car_NoOfSides/2);var C_Coef=new Array(3*Math.PI/2,0,3*Math.PI/2,11*Math.PI/6,Math.PI/6,3*Math.PI/2,7*Math.PI/4,0,Math.PI/4,3*Math.PI/2,5*Math.PI/3,11*Math.PI/6,0,Math.PI/6,Math.PI/3);var C_CoefOf=Car_NoOfSides==4?0:Car_NoOfSides==6?2:Car_NoOfSides==8?5:9;var C_Pre_Img=new Array(Car_Image_Sources.length);var C_Angle=Car_Direction?Math.PI/(Car_NoOfSides/2):0,C_CrImg=Car_NoOfSides,C_MaxW,C_TotalW,C_Stppd=false,i,C_LeftOffset,C_HalfNo=Car_NoOfSides/2;this.Play=function(){if(document.getElementById){for(i=0;i<Car_Image_Sources.length;i+=2){C_Pre_Img[i]=new Image();C_Pre_Img[i].src=Car_Image_Sources[i];}
C_MaxW=Car_Image_Width/Math.sin(Math.PI/Car_NoOfSides)+C_HalfNo+1;Car_Div=document.getElementById(prefix+"_rotatingImgsDiv");for(i=0;i<C_HalfNo;i++){CW_I[i]=document.createElement("img");Car_Div.appendChild(CW_I[i]);CW_I[i].style.position="absolute";CW_I[i].style.top=0+"px";CW_I[i].style.height=Car_Image_Height+"px";if(Car_Border){CW_I[i].style.borderStyle="solid";CW_I[i].style.borderWidth=1+"px";CW_I[i].style.borderColor=Car_Border_Color;}
CW_I[i].src=Car_Image_Sources[2*i];CW_I[i].lnk=Car_Image_Sources[2*i+1];CW_I[i].onclick=obj.C_LdLnk;CW_I[i].onmouseover=obj.C_Stp;CW_I[i].onmouseout=obj.C_Rstrt;}
obj.CarImages();}
}
this.CarImages=function(){if(!C_Stppd){C_TotalW=0;for(i=0;i<C_HalfNo;i++){C_ClcW[i]=Math.round(Math.cos(Math.abs(C_Coef[C_CoefOf+i]+C_Angle))*Car_Image_Width);C_TotalW+=C_ClcW[i];}
C_LeftOffset=(C_MaxW-C_TotalW)/2;for(i=0;i<C_HalfNo;i++){CW_I[i].style.left=C_LeftOffset+"px";CW_I[i].style.width=C_ClcW[i]+"px";C_LeftOffset+=C_ClcW[i];}
C_Angle+=Car_Speed/720*Math.PI*(Car_Direction?-1:1);if((Car_Direction&&C_Angle<=0)||(!Car_Direction&&C_Angle>=Math.PI/C_HalfNo)){if(C_CrImg==Car_Image_Sources.length)
C_CrImg=0;if(Car_Direction){CW_I[C_HalfNo]=CW_I[0];for(i=0;i<C_HalfNo;i++){CW_I[i]=CW_I[i+1];}
CW_I[C_HalfNo-1].src=Car_Image_Sources[C_CrImg];CW_I[C_HalfNo-1].lnk=Car_Image_Sources[C_CrImg+1];}
else{for(i=C_HalfNo;i>0;i--){CW_I[i]=CW_I[i-1];}
CW_I[0]=CW_I[C_HalfNo];CW_I[0].src=Car_Image_Sources[C_CrImg];CW_I[0].lnk=Car_Image_Sources[C_CrImg+1]}
C_Angle=Car_Direction?Math.PI/C_HalfNo:0;C_CrImg+=2}
}
setTimeout(obj.CarImages,50);}
this.C_LdLnk=function(){if(this.lnk){window.location.href=this.lnk;}
}
this.C_Stp=function(){this.style.cursor=this.lnk?"pointer":"default";C_Stppd=true;}
this.C_Rstrt=function(){C_Stppd=false}
}
SliderObject=new Object();SliderObject=function(targetId,maxItems,itemsWidth){this.targetX=0;this.targetY=0;this.targetId=targetId;this.currentTarget=0;this.targetSpeed=30;this.maxTarget=maxItems;this.slowSpeed=70;this.quickSpeed=170;this.timed="";this.itemsWidth=itemsWidth;}
SliderObject.prototype.retrieveComputedStyle=function(element,styleProperty){var computedStyle=null;if(typeof
element.currentStyle!="undefined"){computedStyle=element.currentStyle;}
else{computedStyle=document.defaultView.getComputedStyle(element,null);}
return computedStyle[styleProperty];}
SliderObject.prototype.moveObject=function(target,destinationLeft,destinationTop,maxSpeed){var currentLeft=parseInt(this.retrieveComputedStyle(target,"left"));var currentTop=parseInt(this.retrieveComputedStyle(target,"top"));if(isNaN(currentLeft)){currentLeft=0;}
if(isNaN(currentTop)){currentTop=0;}
if(currentLeft<destinationLeft){currentLeft+=maxSpeed;if(currentLeft>destinationLeft){currentLeft=destinationLeft;}
}
else{currentLeft-=maxSpeed;if(currentLeft<destinationLeft){currentLeft=destinationLeft;}
}
if(currentTop<destinationTop){currentTop+=maxSpeed;if(currentTop>destinationTop){currentTop=destinationTop;}
}
else{currentTop-=maxSpeed;if(currentTop<destinationTop){currentTop=destinationTop;}
}
target.style.left=currentLeft+"px";target.style.top=currentTop+"px";var self=this;if(currentLeft==destinationLeft&&currentTop==destinationTop){if(typeof
this.timed!=undefined){clearTimeout(this.timed);}
}
else{var tempF=function(){self.moveObject(target,destinationLeft,destinationTop,maxSpeed);};this.timed=setTimeout(tempF,50);}
}
SliderObject.prototype.moveIt=function(){this.targetX=this.currentTarget*(-(this.itemsWidth));this.clearAllClickStyle();this.setClickStyle(document.getElementById(this.targetId+'_title_'+(this.currentTarget)));if(this.currentTarget==0){this.endSideStyle(document.getElementById(this.targetId+"SiderLeft"));this.clearSideStyle(document.getElementById(this.targetId+"SiderRight"));}
else
if(this.currentTarget==this.maxTarget-1){this.endSideStyle(document.getElementById(this.targetId+"SiderRight"));this.clearSideStyle(document.getElementById(this.targetId+"SiderLeft"));}
else{if(document.getElementById(this.targetId+"SiderLeft").className+""!=this.targetId+"SideOnMouseOver"){this.clearSideStyle(document.getElementById(this.targetId+"SiderLeft"));}
if(document.getElementById(this.targetId+"SiderRight").className+""!=this.targetId+"SideOnMouseOver"){this.clearSideStyle(document.getElementById(this.targetId+"SiderRight"));}
}
this.moveObject(document.getElementById(this.targetId),this.targetX,this.targetY,this.targetSpeed);}
SliderObject.prototype.moveNext=function(){this.targetSpeed=this.slowSpeed;if(this.currentTarget<this.maxTarget-1){this.currentTarget++;this.moveIt();}
}
SliderObject.prototype.movePre=function(){this.targetSpeed=this.slowSpeed;if(this.currentTarget>0){this.currentTarget--;this.moveIt();}
}
SliderObject.prototype.moveFirst=function(){this.targetSpeed=this.quickSpeed;this.currentTarget=0;this.moveIt();}
SliderObject.prototype.moveLast=function(){this.targetSpeed=this.quickSpeed;this.currentTarget=this.maxTarget-1;this.moveIt();}
SliderObject.prototype.moveHere=function(index){this.targetSpeed=this.quickSpeed;if((index>this.maxTarget-1)&&(index<0)){return;}
if(((index)-this.currentTarget==1)||(this.currentTarget-(index)==1)){this.targetSpeed=this.slowSpeed;}
this.currentTarget=index;this.moveIt();}
SliderObject.prototype.setClickStyle=function(target){var tid=this.targetId;if(target.className+""==tid+"TitleOnSelected"){return;}
target.className=this.targetId+"TitleOnSelected";}
SliderObject.prototype.clearClickStyle=function(target){var tid=this.targetId;if(target.className+""==tid+"TitleNormal"){return;}
target.className=this.targetId+"TitleNormal";}
SliderObject.prototype.mouseOutChange=function(target){var tid=this.targetId;if(target.className+""==tid+"TitleNormal"){return;}
if(target.className+""==tid+"TitleOnSelected"){return;}
target.className=this.targetId+"TitleNormal";}
SliderObject.prototype.mouseMoveChang=function(target){var tid=this.targetId;if(target.className+""==tid+"TitleOnMouseOver"){return;}
if(target.className+""==tid+"TitleOnSelected"){return;}
target.className=this.targetId+"TitleOnMouseOver";}
SliderObject.prototype.sideMoveChange=function(target){var tid=this.targetId;if(target.className+""==tid+"SideEnd"){return;}
target.className=this.targetId+"SideOnMouseOver";}
SliderObject.prototype.clearSideMoveStyle=function(target){var tid=this.targetId;if(target.className+""==tid+"SideEnd"){return;}
this.clearSideStyle(target);}
SliderObject.prototype.clearSideStyle=function(target){var tid=this.targetId;if(target.className+""==tid+"SideNormal"){return;}
if(((this.currentTarget==0)&&(target.id==this.TargetId+"SiderLeft"))||((this.currentTarget==this.maxTarget-1)&&(target.id==this.TargetId+"SiderRight"))){if(target.className+""==tid+"SideEnd"){return;}
}
target.className=this.targetId+"SideNormal";}
SliderObject.prototype.endSideStyle=function(target){target.className=this.targetId+"SideEnd";}
SliderObject.prototype.clearAllClickStyle=function(){for(var i=0,j=this.maxTarget;i<j;i++){this.clearClickStyle(document.getElementById(this.targetId+'_title_'+(i)));}
}
SloshingImage=function(prefix,length,speed,imgWidth){this.prefix=prefix;if(speed>90)
speed=90;if(speed<0)
speed=0;this.tick=100-speed;this.step=0;this.img=document.images[this.prefix+'_SlosingImg'];this.imgWidth=imgWidth;this.length=length;this.x_max=this.length-this.imgWidth;this.x=0;var obj=this;var timeId;clearTimeout(timeId);this.Run=function(){obj.img.style.marginLeft=obj.x;if(obj.x>=obj.x_max/2){obj.step--;if(obj.x<obj.x_max&&obj.step==0)
obj.step=1;}
else{obj.step++;if(obj.x>0&&obj.step==0)
obj.step=-1;}
obj.x+=obj.step;if(obj.x>=obj.x_max)
obj.x=obj.x_max;if(obj.x<=0)
obj.x=0;timeId=setTimeout(obj.Run,obj.tick);}
}
var SnakeTextEffect=new Object();SnakeTextEffect=function(textArray,pathArray,fontSize,fontColor,identityId,maxLength){this.mes=textArray;this.maxtextlength=maxLength;this.path=pathArray;this.stoptime=5;this.textfont="宋体";this.textsize=fontSize;this.textcolor=fontColor;this.letterspace=fontSize;this.tickerleft=this.path[this.path.length-2];this.tickertop=this.path[this.path.length-1];this.timer;this.finalxpos=this.tickerleft;this.i_mes=0;this.message="";this.i_path=0;this.stoptimemilli=this.stoptime*this.stoptime+1000;this.pathx=new Array();this.identityId=identityId;this.timer="";if(document.layers){if(this.textsize>20){this.textsize=6;}
else
if(this.textsize>20){this.textsize=5;}
else
if(this.textsize>14){this.textsize=4;}
else
if(this.textsize>10){this.textsize=3;}
else
if(this.textsize>8){this.textsize=2;}
else
if(this.textsize<=7){this.textsize=1;}
}
this.ii=0;for(var i=0;i<=this.path.length-1;i=i+2){this.pathx[this.ii]=this.path[i];this.ii++;}
this.ii=0;this.pathy=new Array();for(var i=1;i<=this.path.length-1;i=i+2){this.pathy[this.ii]=this.path[i];this.ii++;}
this.xpos=new Array();for(i=0;i<=this.maxtextlength;i++){this.xpos[i]=5000;}
this.ypos=new Array();for(i=0;i<=this.maxtextlength;i++){this.ypos[i]=5000;}
}
SnakeTextEffect.prototype.MakeSnake=function(){if(this.i_path<=this.pathx.length-1){for(i=this.message.length-1;i>=1;i--){this.xpos[i]=this.xpos[i-1];this.ypos[i]=this.ypos[i-1];}
this.xpos[0]=this.pathx[this.i_path];this.ypos[0]=this.pathy[this.i_path];for(var i=0;i<this.message.length-1;i++){if(document.getElementById(this.identityId+i)!=null){var thisspan=document.getElementById(this.identityId+i).style;thisspan.posLeft=this.xpos[i];thisspan.posTop=this.ypos[i];}
}
this.i_path++;var self=this;var tempF=function(){self.MakeSnake();};this.timer=setTimeout(tempF,20);}
else{clearTimeout(this.timer);this.EndPosition();}
}
SnakeTextEffect.prototype.EndPosition=function(){for(var i=0;i<this.message.length-1;i++){if(document.getElementById(this.identityId+i)!=null){var thisspan=document.getElementById(this.identityId+i).style;thisspan.left=this.tickerleft+this.finalxpos;thisspan.top=this.tickertop;this.finalxpos=this.finalxpos+this.letterspace;}
}
var self=this;var tempF=function(){self.ClearMessage();};timer=setTimeout(tempF,this.stoptimemilli);}
SnakeTextEffect.prototype.ClearMessage=function(){this.finalxpos=this.tickertop;this.i_path=0;for(var i=0;i<this.maxtextlength;i++){this.xpos[i]=5000;}
for(i=0;i<this.maxtextlength;i++){var thisspan=document.getElementById(this.identityId+i)
if(thisspan!=null){thisspan.innerHTML=" ";var thisspanStyle=thisspan.style;thisspanStyle.posLeft=this.xpos[i]=5000;}
}
var self=this;var tempF=function(){self.ChangeMessage();};timer=setTimeout(tempF,2000);}
SnakeTextEffect.prototype.ChangeMessage=function(){var messa=this.mes[this.i_mes];this.message=messa.split("");for(var i=0;i<this.message.length-1;i++){if(document.getElementById(this.identityId+i)!=null){var thisspan=document.getElementById(this.identityId+i);thisspan.innerHTML="<p>"+this.message[i]+"</p>";}
}
this.i_mes++;if(this.i_mes>=this.mes.length){this.i_mes=0;}
this.finalxpos=this.tickertop;this.i_path=0;var self=this;var tempF=function(){self.MakeSnake();};timer=setTimeout(tempF,10);}
SnakeTextEffect.prototype.Start=function(){for(var i=0;i<=this.maxtextlength;i++){document.write("<span id='"+(this.identityId+i)+"' class='spanstyle'>");document.write(this.message);document.write("</span>");}
this.ChangeMessage();}
function enHex(aDigit){return("0123456789ABCDEF".substring(aDigit,aDigit+1));}
function deHex(aDigit){return("0123456789ABCDEF".indexOf(aDigit));}
function toHex(n){return(enHex((0xf00000&n)>>20)+enHex((0x0f0000&n)>>16)+enHex((0x00f000&n)>>12)+enHex((0x000f00&n)>>8)+enHex((0x0000f0&n)>>4)+enHex((0x00000f&n)>>0));}
function toDecimal(hexNum){var tmp=""+hexNum.toUpperCase();while(tmp.length<6)
tmp="0"+tmp
return((deHex(tmp.substring(0,1))<<20)+(deHex(tmp.substring(1,2))<<16)+(deHex(tmp.substring(2,3))<<12)+(deHex(tmp.substring(3,4))<<8)+(deHex(tmp.substring(4,5))<<4)+(deHex(tmp.substring(5,6))));}
function initArray(theArray,length,val){for(i=0;i<length;i++){theArray[i]=val;}
}
var TransitColorEffect=new Object();TransitColorEffect=function(linkname,mouseOverColour,numberOfLinks,fadeOutColour){this.name="TransitColorEffect";this.linkname=linkname;this.rate=1;this.numFadeLevels=30;this.hoverColour=mouseOverColour;this.numLinks=numberOfLinks;this.bgR='0000'+fadeOutColour.substring(1,3);this.bgG='0000'+fadeOutColour.substring(3,5);this.bgB='0000'+fadeOutColour.substring(5,7);this.currR=new Array(this.numLinks);this.currG=new Array(this.numLinks);this.currB=new Array(this.numLinks);this.count=new Array(this.numLinks);this.fadeOut=new Array(this.numLinks);this.continuous=new Array(this.numLinks);this.newColour=new Array(this.numLinks);this.tID=new Array(this.numLinks);this.redInterval=this.toDecimal(this.bgR)/this.numFadeLevels;this.greenInterval=this.toDecimal(this.bgG)/this.numFadeLevels;this.blueInterval=this.toDecimal(this.bgB)/this.numFadeLevels;this.initArray(this.currR,this.numLinks,0);this.initArray(this.currG,this.numLinks,0);this.initArray(this.currB,this.numLinks,0);this.initArray(this.count,this.numLinks,0);this.initArray(this.fadeOut,this.numLinks,true);this.initArray(this.continuous,this.numLinks,true);this.timeId="";}
TransitColorEffect.prototype.enHex=enHex;TransitColorEffect.prototype.deHex=deHex;TransitColorEffect.prototype.toHex=toHex;TransitColorEffect.prototype.toDecimal=toDecimal;TransitColorEffect.prototype.initArray=initArray;TransitColorEffect.prototype.startFade=function(id){var self=this;if(this.fadeOut[id]==true){this.currR[id]+=this.redInterval;this.currG[id]+=this.greenInterval;this.currB[id]+=this.blueInterval;this.newColour[id]='#'+(this.toHex(this.currR[id])).substring(4,6)+(this.toHex(this.currG[id])).substring(4,6)+(this.toHex(this.currB[id])).substring(4,6);if(++this.count[id]==this.numFadeLevels){this.fadeOut[id]=false;}
}
else{this.currR[id]-=this.redInterval;this.currG[id]-=this.greenInterval;this.currB[id]-=this.blueInterval;this.newColour[id]='#'+(this.toHex(this.currR[id])).substring(4,6)+(this.toHex(this.currG[id])).substring(4,6)+(this.toHex(this.currB[id])).substring(4,6);if(--this.count[id]==0){this.fadeOut[id]=true;}
}
var linkid=this.linkname+id;if(document.getElementById(linkid)==null){return;}
if(linkid!=TranColorwhichCheck___){document.getElementById(linkid).style.color=this.newColour[id];}
else{document.getElementById(linkid).style.color=this.hoverColour;}
var tempF=function(){self.startFade(id);};if(this.tID[id]==null){}
this.tID[id]=setTimeout(tempF,self.rate);}
TransitColorEffect.prototype.Start=function(){var self=this;if(this.timeId+""!=""){clearTimeout(this.timeId);for(var i=0,j=this.tID.length;i<j;i++){clearTimeout(self.tID[i]);}
}
var tempFa;for(var i=0;i<self.numLinks;i++){self.SetTimeStart(i,i*120);}
}
TransitColorEffect.prototype.SetTimeStart=function(index,rate){var self=this;var tempF=function(){self.startFade(index);};this.timeId=setTimeout(tempF,rate);}
TransitColorEffect.prototype.ChangeState=function(mouseOverColour,numberOfLinks,fadeOutColour){this.hoverColour=mouseOverColour;this.numLinks=numberOfLinks;this.bgR='0000'+fadeOutColour.substring(1,3);this.bgG='0000'+fadeOutColour.substring(3,5);this.bgB='0000'+fadeOutColour.substring(5,7);this.currR=new Array(this.numLinks);this.currG=new Array(this.numLinks);this.currB=new Array(this.numLinks);this.count=new Array(this.numLinks);this.fadeOut=new Array(this.numLinks);this.continuous=new Array(this.numLinks);this.newColour=new Array(this.numLinks);this.tID.length=this.numLinks;this.redInterval=this.toDecimal(this.bgR)/this.numFadeLevels;this.greenInterval=this.toDecimal(this.bgG)/this.numFadeLevels;this.blueInterval=this.toDecimal(this.bgB)/this.numFadeLevels;this.initArray(this.currR,this.numLinks,0);this.initArray(this.currG,this.numLinks,0);this.initArray(this.currB,this.numLinks,0);this.initArray(this.count,this.numLinks,0);this.initArray(this.fadeOut,this.numLinks,true);this.initArray(this.continuous,this.numLinks,true);}
TransitColorEffect.prototype.ClearTimeOut=function(){for(var i=0,j=this.tID.length;i<j;i++){if(this.tID[i]!=null){clearTimeout(this.tID[i]);}
else{alert(this.tID[i]);}
}
}
var TranColorwhichCheck___="";function stopFade(id){TranColorwhichCheck___=id;}
function continueFade(Trs,id){TranColorwhichCheck___="";}
var zoomImg=new Object();zoomImg=function(prefix,picJson,showW,showH,sW,sH,bW,bH,zoomCoff,imgArr){this.picbox=document.getElementById(prefix+'picbox');this.view=document.getElementById(prefix+'view');this.spic=document.getElementById(prefix+'spic');this.picJson=picJson;this.imgArr=imgArr;this.sW=sW;this.sH=sH;this.bW=bW;this.bH=bH;this.zoomCoff=zoomCoff;var pshow=document.createElement("div");pshow.style.cssText="background-color:white;text-align:center;position:absolute;border:1px red solid;width:200;height:150;overflow:hidden;margin:0 auto;visibility:hidden;z-index:80000;";pshow.id=prefix+'picshow2';var pimg=document.createElement("img");pimg.id=prefix+'bpic2'
pimg.src=this.picJson[0].bigPhotoSrc;pimg.style.cssText="display:none";pshow.appendChild(pimg);document.body.insertBefore(pshow,document.body.firstChild);this.picshow=document.getElementById(prefix+'picshow2');this.bpic=document.getElementById(prefix+'bpic2');this.loading=document.getElementById(prefix+'loading');this.dshowW=450;this.dshowH=300;this.bborder=1;this.sborder=1;this.vborder=1;this.prefix=prefix;this.showW=showW;this.showH=showH;this.nflag='';this.picstatus=null;this.tempo=null;this.abox=null;this.sload=false;this.bload=false;this.currentIndex=0;this.pageSize=4;this.pageIndex=0;var sAgent=navigator.userAgent.toLowerCase();this.isIE=(sAgent.indexOf("msie")!=-1)?1:0;this.bpic.style.display="block";this.nview=this.view;this.spic.onload=new Function(this.SLoaded());this.bpic.onload=new Function(this.BLoaded());this.bpicMarginTop=0;this.ChangeIndex(0);}
zoomImg.prototype.SLoaded=function(){this.sload=true;this.ImgLoad();}
zoomImg.prototype.BLoaded=function(){this.bload=true;this.ImgLoad();}
zoomImg.prototype.loadpic=function(o){this.bpic.style.display="none";this.nview=this.view;this.picstatus="loading";}
zoomImg.prototype.ChangeIndex=function(index){if((index>-1)&&(index<this.picJson.length)){if(this.picJson.length<2){return;}
this.sload=false;this.bload=false;document.getElementById(this.prefix+'sitem'+this.currentIndex).style.border="1px solid gray";this.currentIndex=index;this.spic.src=this.picJson[this.currentIndex+this.pageIndex].smallPhotoSrc;this.bpic.src=this.picJson[this.currentIndex+this.pageIndex].bigPhotoSrc;document.getElementById(this.prefix+'sitem'+this.currentIndex).style.border="2px solid gray";this.ImgLoad();}
}
zoomImg.prototype.ImgLoad=function(){var self=this;if((this.bpic.width==0)||(this.spic.width==0)){}
var bImage=new Image();bImage.src=this.bpic.src;this.smallW=this.sW;this.smallH=this.sH;this.bigW=this.bW;this.bigH=this.bH;if(this.showW>this.bigW){this.showW=this.bigW;this.picshow.style.width=this.showW+this.isIE*this.bborder*2;}
if(this.showH>this.bigH){this.showH=this.bigH;this.picshow.style.height=this.showH+this.isIE*this.bborder*2;}
this.zoomX=this.bigW/this.smallW;this.zoomY=this.bigH/this.smallH;this.viewW=this.showW*this.smallW/this.bigW;this.viewH=this.showH*this.smallH/this.bigH;this.nview.style.width=this.viewW-this.vborder*2*!this.isIE;this.nview.style.height=this.viewH-this.vborder*2*!this.isIE;this.nview.style.display="block";this.spic.style.top=-this.view.offsetHeight;if(this.spic.style.top=='0px'){this.spic.style.top=-(this.showH/this.zoomCoff)+'px';}
if(!this.view.style.left)
this.view.style.left=0;if(!this.view.style.top)
this.view.style.top=0;this.picstatus="done";this.picshow.style.width=this.showW+this.isIE*this.bborder*2;this.picshow.style.height=this.showH+this.isIE*this.bborder*2;}
zoomImg.prototype.move=function(e,o,flag){if((this.sload==false)||(this.bload==false)){}
this.nview.style.visibility='visible';this.picshow.style.visibility='visible';var vX;var vY;o=this.isIE?o.parentElement:o.parentNode;var pleft=parseInt(this.getLeft(this.spic))+parseInt(this.spic.width);var ptop=this.getTop(this.spic);this.picshow.style.left=pleft+'px';this.picshow.style.top=ptop+'px';if(picstatus="done"){if(this.nview.style.visibility="hidden")
this.nview.style.visibility="visible";var e=this.isIE?window.event:e;if(!this.isIE){if(flag==1){vX=e.layerX+parseInt(this.nview.style.left)-this.nview.offsetWidth/2-this.vborder;vY=e.layerY+parseInt(this.nview.style.top)-this.nview.offsetHeight/2-this.vborder;}
else{vX=1-this.nview.offsetWidth/2-this.vborder;vY=1-this.nview.offsetHeight/2-this.vborder;}
}
else{vX=e.offsetX-this.nview.offsetWidth/2;vY=e.offsetY-this.nview.offsetHeight/2;}
if(vX<0)
vX=0;if(vY<0)
vY=0;if(vX>this.smallW-this.viewW){vX=this.smallW-this.viewW;mX=this.bigW-this.showW}
else{mX=vX*this.zoomX;}
if(vY>this.smallH-this.viewH){vY=this.smallH-this.viewH;mY=this.bigH-this.showH}
else{mY=vY*this.zoomY;}
this.nview.style.left=vX;this.nview.style.top=vY;this.bpic.style.marginLeft=-mX;this.bpic.style.marginTop=-mY;}
}
zoomImg.prototype.outPicBox=function(){this.nview.style.visibility='hidden';this.picshow.style.visibility='hidden';}
zoomImg.prototype.getTop=function(e){var self=this;var offset=e.offsetTop;if(e.offsetParent!=null)
offset+=self.getTop(e.offsetParent);return offset;}
zoomImg.prototype.getLeft=function(e){var self=this;var offset=e.offsetLeft;if(e.offsetParent!=null)
offset+=self.getLeft(e.offsetParent);return offset;}
zoomImg.prototype.GoUrl=function(e){if(this.picJson[this.currentIndex+this.pageIndex].realPhotoSrc+''!='')
window.open(this.picJson[this.currentIndex+this.pageIndex].realPhotoSrc);}
zoomImg.prototype.PageUp=function(){if(this.pageIndex>0){this.pageIndex--;this.SetPageImg(this.pageIndex);}
}
zoomImg.prototype.PageDown=function(){if((this.pageIndex+this.pageSize)<this.picJson.length){this.pageIndex++;this.SetPageImg(this.pageIndex);}
}
zoomImg.prototype.SetPageImg=function(startIndex){var strName='';var tmpIndex=0;for(var i=0;i<this.pageSize;i++){strName=this.prefix+'simg'+i;tmpIndex=startIndex+i;document.getElementById(strName).src=this.picJson[tmpIndex].itemPhotoSrc;}
if(this.pageIndex==0){this.ChangArrowPic('left',true);}
else{this.ChangArrowPic('left',false);}
if((this.pageIndex+this.pageSize)==this.picJson.length){this.ChangArrowPic('right',true);}
else{this.ChangArrowPic('right',false);}
}
zoomImg.prototype.ChangArrowPic=function(direction,isEnd){var picName=this.prefix+direction+'Img';var arrowUrl='';if(direction=='left'){arrowUrl=(isEnd==true)?this.imgArr[0]:this.imgArr[2];}
else{arrowUrl=(isEnd==true)?this.imgArr[1]:this.imgArr[3];}
document.getElementById(picName).src=arrowUrl;}

