(function(){var X=this,ac,F=X.jQuery,T=X.$,U=X.jQuery=X.$=function(b,a){return new U.fn.init(b,a)},M=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,ad=/^.[^:#\[\.,]*$/;U.fn=U.prototype={init:function(e,b){e=e||document;if(e.nodeType){this[0]=e;this.length=1;this.context=e;return this}if(typeof e==="string"){var c=M.exec(e);if(c&&(c[1]||!b)){if(c[1]){e=U.clean([c[1]],b)}else{var a=document.getElementById(c[3]);if(a&&a.id!=c[3]){return U().find(e)}var d=U(a||[]);d.context=document;d.selector=e;return d}}else{return U(b).find(e)}}else{if(U.isFunction(e)){return U(document).ready(e)}}if(e.selector&&e.context){this.selector=e.selector;this.context=e.context}return this.setArray(U.isArray(e)?e:U.makeArray(e))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(a){return a===ac?Array.prototype.slice.call(this):this[a]},pushStack:function(c,a,d){var b=U(c);b.prevObject=this;b.context=this.context;if(a==="find"){b.selector=this.selector+(this.selector?" ":"")+d}else{if(a){b.selector=this.selector+"."+a+"("+d+")"}}return b},setArray:function(a){this.length=0;Array.prototype.push.apply(this,a);return this},each:function(a,b){return U.each(this,a,b)},index:function(a){return U.inArray(a&&a.jquery?a[0]:a,this)},attr:function(c,a,b){var d=c;if(typeof c==="string"){if(a===ac){return this[0]&&U[b||"attr"](this[0],c)}else{d={};d[c]=a}}return this.each(function(e){for(c in d){U.attr(b?this.style:this,c,U.prop(this,d[c],b,e,c))}})},css:function(b,a){if((b=="width"||b=="height")&&parseFloat(a)<0){a=ac}return this.attr(b,a,"curCSS")},text:function(a){if(typeof a!=="object"&&a!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(a))}var b="";U.each(a||this,function(){U.each(this.childNodes,function(){if(this.nodeType!=8){b+=this.nodeType!=1?this.nodeValue:U.fn.text([this])}})});return b},wrapAll:function(b){if(this[0]){var a=U(b,this[0].ownerDocument).clone();if(this[0].parentNode){a.insertBefore(this[0])}a.map(function(){var c=this;while(c.firstChild){c=c.firstChild}return c}).append(this)}return this},wrapInner:function(a){return this.each(function(){U(this).contents().wrapAll(a)})},wrap:function(a){return this.each(function(){U(this).wrapAll(a)})},append:function(){return this.domManip(arguments,true,function(a){if(this.nodeType==1){this.appendChild(a)}})},prepend:function(){return this.domManip(arguments,true,function(a){if(this.nodeType==1){this.insertBefore(a,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this.nextSibling)})},end:function(){return this.prevObject||U([])},push:[].push,sort:[].sort,splice:[].splice,find:function(b){if(this.length===1){var a=this.pushStack([],"find",b);a.length=0;U.find(b,this[0],a);return a}else{return this.pushStack(U.unique(U.map(this,function(c){return U.find(b,c)})),"find",b)}},clone:function(b){var d=this.map(function(){if(!U.support.noCloneEvent&&!U.isXMLDoc(this)){var f=this.outerHTML;if(!f){var e=this.ownerDocument.createElement("div");e.appendChild(this.cloneNode(true));f=e.innerHTML}return U.clean([f.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(b===true){var a=this.find("*").andSelf(),c=0;d.find("*").andSelf().each(function(){if(this.nodeName!==a[c].nodeName){return}var g=U.data(a[c],"events");for(var e in g){for(var f in g[e]){U.event.add(this,e,g[e][f],g[e][f].data)}}c++})}return d},filter:function(a){return this.pushStack(U.isFunction(a)&&U.grep(this,function(b,c){return a.call(b,c)})||U.multiFilter(a,U.grep(this,function(b){return b.nodeType===1})),"filter",a)},closest:function(c){var a=U.expr.match.POS.test(c)?U(c):null,b=0;return this.map(function(){var d=this;while(d&&d.ownerDocument){if(a?a.index(d)>-1:U(d).is(c)){U.data(d,"closest",b);return d}d=d.parentNode;b++}})},not:function(b){if(typeof b==="string"){if(ad.test(b)){return this.pushStack(U.multiFilter(b,this,true),"not",b)}else{b=U.multiFilter(b,this)}}var a=b.length&&b[b.length-1]!==ac&&!b.nodeType;return this.filter(function(){return a?U.inArray(this,b)<0:this!=b})},add:function(a){return this.pushStack(U.unique(U.merge(this.get(),typeof a==="string"?U(a):U.makeArray(a))))},is:function(a){return !!a&&U.multiFilter(a,this).length>0},hasClass:function(a){return !!a&&this.is("."+a)},val:function(c){if(c===ac){var i=this[0];if(i){if(U.nodeName(i,"option")){return(i.attributes.value||{}).specified?i.value:i.text}if(U.nodeName(i,"select")){var e=i.selectedIndex,b=[],a=i.options,f=i.type=="select-one";if(e<0){return null}for(var h=f?e:0,d=f?e+1:a.length;h<d;h++){var g=a[h];if(g.selected){c=U(g).val();if(f){return c}b.push(c)}}return b}return(i.value||"").replace(/\r/g,"")}return ac}if(typeof c==="number"){c+=""}return this.each(function(){if(this.nodeType!=1){return}if(U.isArray(c)&&/radio|checkbox/.test(this.type)){this.checked=(U.inArray(this.value,c)>=0||U.inArray(this.name,c)>=0)}else{if(U.nodeName(this,"select")){var j=U.makeArray(c);U("option",this).each(function(){this.selected=(U.inArray(this.value,j)>=0||U.inArray(this.text,j)>=0)});if(!j.length){this.selectedIndex=-1}}else{this.value=c}}})},html:function(a){return a===ac?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(a)},replaceWith:function(a){return this.after(a).remove()},eq:function(a){return this.slice(a,+a+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(a){return this.pushStack(U.map(this,function(b,c){return a.call(b,c,b)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(d,a,b){if(this[0]){var e=(this[0].ownerDocument||this[0]).createDocumentFragment(),h=U.clean(d,(this[0].ownerDocument||this[0]),e),f=e.firstChild;if(f){for(var g=0,i=this.length;g<i;g++){b.call(c(this[g],f),this.length>1||g>0?e.cloneNode(true):e)}}if(h){U.each(h,E)}}return this;function c(k,j){return a&&U.nodeName(k,"table")&&U.nodeName(j,"tr")?(k.getElementsByTagName("tbody")[0]||k.appendChild(k.ownerDocument.createElement("tbody"))):k}}};U.fn.init.prototype=U.fn;function E(b,a){if(a.src){U.ajax({url:a.src,async:false,dataType:"script"})}else{U.globalEval(a.text||a.textContent||a.innerHTML||"")}if(a.parentNode){a.parentNode.removeChild(a)}}function ae(){return +new Date}U.extend=U.fn.extend=function(){var c=arguments[0]||{},e=1,d=arguments.length,h=false,f;if(typeof c==="boolean"){h=c;c=arguments[1]||{};e=2}if(typeof c!=="object"&&!U.isFunction(c)){c={}}if(d==e){c=this;--e}for(;e<d;e++){if((f=arguments[e])!=null){for(var g in f){var b=c[g],a=f[g];if(c===a){continue}if(h&&a&&typeof a==="object"&&!a.nodeType){c[g]=U.extend(h,b||(a.length!=null?[]:{}),a)}else{if(a!==ac){c[g]=a}}}}}return c};var ah=/z-?index|font-?weight|opacity|zoom|line-?height/i,R=document.defaultView||{},L=Object.prototype.toString;U.extend({noConflict:function(a){X.$=T;if(a){X.jQuery=F}return U},isFunction:function(a){return L.call(a)==="[object Function]"},isArray:function(a){return L.call(a)==="[object Array]"},isXMLDoc:function(a){return a.nodeType===9&&a.documentElement.nodeName!=="HTML"||!!a.ownerDocument&&U.isXMLDoc(a.ownerDocument)},globalEval:function(a){if(a&&/\S/.test(a)){var b=document.getElementsByTagName("head")[0]||document.documentElement,c=document.createElement("script");c.type="text/javascript";if(U.support.scriptEval){c.appendChild(document.createTextNode(a))}else{c.text=a}b.insertBefore(c,b.firstChild);b.removeChild(c)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()==b.toUpperCase()},each:function(e,a,f){var g,d=0,c=e.length;if(f){if(c===ac){for(g in e){if(a.apply(e[g],f)===false){break}}}else{for(;d<c;){if(a.apply(e[d++],f)===false){break}}}}else{if(c===ac){for(g in e){if(a.call(e[g],g,e[g])===false){break}}}else{for(var b=e[0];d<c&&a.call(b,d,b)!==false;b=e[++d]){}}}return e},prop:function(b,a,c,d,e){if(U.isFunction(a)){a=a.call(b,d)}return typeof a==="number"&&c=="curCSS"&&!ah.test(e)?a+"px":a},className:{add:function(b,a){U.each((a||"").split(/\s+/),function(d,c){if(b.nodeType==1&&!U.className.has(b.className,c)){b.className+=(b.className?" ":"")+c}})},remove:function(b,a){if(b.nodeType==1){b.className=a!==ac?U.grep(b.className.split(/\s+/),function(c){return !U.className.has(a,c)}).join(" "):""}},has:function(a,b){return a&&U.inArray(b,(a.className||a).toString().split(/\s+/))>-1}},swap:function(b,c,a){var e={};for(var d in c){e[d]=b.style[d];b.style[d]=c[d]}a.call(b);for(var d in c){b.style[d]=e[d]}},css:function(e,g,c,h){if(g=="width"||g=="height"){var a,f={position:"absolute",visibility:"hidden",display:"block"},b=g=="width"?["Left","Right"]:["Top","Bottom"];function d(){a=g=="width"?e.offsetWidth:e.offsetHeight;if(h==="border"){return}U.each(b,function(){if(!h){a-=parseFloat(U.curCSS(e,"padding"+this,true))||0}if(h==="margin"){a+=parseFloat(U.curCSS(e,"margin"+this,true))||0}else{a-=parseFloat(U.curCSS(e,"border"+this+"Width",true))||0}})}if(e.offsetWidth!==0){d()}else{U.swap(e,f,d)}return Math.max(0,Math.round(a))}return U.curCSS(e,g,c)},curCSS:function(e,h,g){var b,i=e.style;if(h=="opacity"&&!U.support.opacity){b=U.attr(i,"opacity");return b==""?"1":b}if(h.match(/float/i)){h=H}if(!g&&i&&i[h]){b=i[h]}else{if(R.getComputedStyle){if(h.match(/float/i)){h="float"}h=h.replace(/([A-Z])/g,"-$1").toLowerCase();var a=R.getComputedStyle(e,null);if(a){b=a.getPropertyValue(h)}if(h=="opacity"&&b==""){b="1"}}else{if(e.currentStyle){var d=h.replace(/\-(\w)/g,function(k,j){return j.toUpperCase()});b=e.currentStyle[h]||e.currentStyle[d];if(!/^\d+(px)?$/i.test(b)&&/^\d/.test(b)){var f=i.left,c=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left;i.left=b||0;b=i.pixelLeft+"px";i.left=f;e.runtimeStyle.left=c}}}}return b},clean:function(g,b,d){b=b||document;if(typeof b.createElement==="undefined"){b=b.ownerDocument||b[0]&&b[0].ownerDocument||document}if(!d&&g.length===1&&typeof g[0]==="string"){var e=/^<(\w+)\s*\/?>$/.exec(g[0]);if(e){return[b.createElement(e[1])]}}var f=[],h=[],a=b.createElement("div");U.each(g,function(l,i){if(typeof i==="number"){i+=""}if(!i){return}if(typeof i==="string"){i=i.replace(/(<(\w+)[^>]*?)\/>/g,function(q,p,r){return r.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?q:p+"></"+r+">"});var m=i.replace(/^\s+/,"").substring(0,10).toLowerCase();var k=!m.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!m.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||m.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!m.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!m.indexOf("<td")||!m.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!m.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!U.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];a.innerHTML=k[1]+i+k[2];while(k[0]--){a=a.lastChild}if(!U.support.tbody){var j=/<tbody/i.test(i),n=!m.indexOf("<table")&&!j?a.firstChild&&a.firstChild.childNodes:k[1]=="<table>"&&!j?a.childNodes:[];for(var o=n.length-1;o>=0;--o){if(U.nodeName(n[o],"tbody")&&!n[o].childNodes.length){n[o].parentNode.removeChild(n[o])}}}if(!U.support.leadingWhitespace&&/^\s/.test(i)){a.insertBefore(b.createTextNode(i.match(/^\s*/)[0]),a.firstChild)}i=U.makeArray(a.childNodes)}if(i.nodeType){f.push(i)}else{f=U.merge(f,i)}});if(d){for(var c=0;f[c];c++){if(U.nodeName(f[c],"script")&&(!f[c].type||f[c].type.toLowerCase()==="text/javascript")){h.push(f[c].parentNode?f[c].parentNode.removeChild(f[c]):f[c])}else{if(f[c].nodeType===1){f.splice.apply(f,[c+1,0].concat(U.makeArray(f[c].getElementsByTagName("script"))))}d.appendChild(f[c])}}return h}return f},attr:function(c,f,b){if(!c||c.nodeType==3||c.nodeType==8){return ac}var e=!U.isXMLDoc(c),a=b!==ac;f=e&&U.props[f]||f;if(c.tagName){var g=/href|src|style/.test(f);if(f=="selected"&&c.parentNode){c.parentNode.selectedIndex}if(f in c&&e&&!g){if(a){if(f=="type"&&U.nodeName(c,"input")&&c.parentNode){throw"type property can't be changed"}c[f]=b}if(U.nodeName(c,"form")&&c.getAttributeNode(f)){return c.getAttributeNode(f).nodeValue}if(f=="tabIndex"){var d=c.getAttributeNode("tabIndex");return d&&d.specified?d.value:c.nodeName.match(/(button|input|object|select|textarea)/i)?0:c.nodeName.match(/^(a|area)$/i)&&c.href?0:ac}return c[f]}if(!U.support.style&&e&&f=="style"){return U.attr(c.style,"cssText",b)}if(a){c.setAttribute(f,""+b)}var h=!U.support.hrefNormalized&&e&&g?c.getAttribute(f,2):c.getAttribute(f);return h===null?ac:h}if(!U.support.opacity&&f=="opacity"){if(a){c.zoom=1;c.filter=(c.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(b)+""=="NaN"?"":"alpha(opacity="+b*100+")")}return c.filter&&c.filter.indexOf("opacity=")>=0?(parseFloat(c.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}f=f.replace(/-([a-z])/ig,function(j,i){return i.toUpperCase()});if(a){c[f]=b}return c[f]},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"")},makeArray:function(a){var c=[];if(a!=null){var b=a.length;if(b==null||typeof a==="string"||U.isFunction(a)||a.setInterval){c[0]=a}else{while(b){c[--b]=a[b]}}}return c},inArray:function(b,a){for(var d=0,c=a.length;d<c;d++){if(a[d]===b){return d}}return -1},merge:function(b,e){var d=0,c,a=b.length;if(!U.support.getAll){while((c=e[d++])!=null){if(c.nodeType!=8){b[a++]=c}}}else{while((c=e[d++])!=null){b[a++]=c}}return b},unique:function(a){var f=[],g={};try{for(var e=0,d=a.length;e<d;e++){var b=U.data(a[e]);if(!g[b]){g[b]=true;f.push(a[e])}}}catch(c){f=a}return f},grep:function(e,a,f){var d=[];for(var c=0,b=e.length;c<b;c++){if(!f!=!a(e[c],c)){d.push(e[c])}}return d},map:function(f,a){var e=[];for(var d=0,c=f.length;d<c;d++){var b=a(f[d],d);if(b!=null){e[e.length]=b}}return e.concat.apply([],e)}});var P=navigator.userAgent.toLowerCase();U.browser={version:(P.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(P),opera:/opera/.test(P),msie:/msie/.test(P)&&!/opera/.test(P),mozilla:/mozilla/.test(P)&&!/(compatible|webkit)/.test(P)};U.each({parent:function(a){return a.parentNode},parents:function(a){return U.dir(a,"parentNode")},next:function(a){return U.nth(a,2,"nextSibling")},prev:function(a){return U.nth(a,2,"previousSibling")},nextAll:function(a){return U.dir(a,"nextSibling")},prevAll:function(a){return U.dir(a,"previousSibling")},siblings:function(a){return U.sibling(a.parentNode.firstChild,a)},children:function(a){return U.sibling(a.firstChild)},contents:function(a){return U.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:U.makeArray(a.childNodes)}},function(b,a){U.fn[b]=function(d){var c=U.map(this,a);if(d&&typeof d=="string"){c=U.multiFilter(d,c)}return this.pushStack(U.unique(c),b,d)}});U.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,a){U.fn[b]=function(h){var e=[],c=U(h);for(var d=0,g=c.length;d<g;d++){var f=(d>0?this.clone(true):this).get();U.fn[a].apply(U(c[d]),f);e=e.concat(f)}return this.pushStack(e,b,h)}});U.each({removeAttr:function(a){U.attr(this,a,"");if(this.nodeType==1){this.removeAttribute(a)}},addClass:function(a){U.className.add(this,a)},removeClass:function(a){U.className.remove(this,a)},toggleClass:function(a,b){if(typeof b!=="boolean"){b=!U.className.has(this,a)}U.className[b?"add":"remove"](this,a)},remove:function(a){if(!a||U.filter(a,[this]).length){U("*",this).add([this]).each(function(){U.event.remove(this);U.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){U(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(b,a){U.fn[b]=function(){return this.each(a,arguments)}});function Z(b,a){return b[0]&&parseInt(U.curCSS(b[0],a,true),10)||0}var ab="jQuery"+ae(),I=0,S={};U.extend({cache:{},data:function(c,d,b){c=c==X?S:c;var a=c[ab];if(!a){a=c[ab]=++I}if(d&&!U.cache[a]){U.cache[a]={}}if(b!==ac){U.cache[a][d]=b}return d?U.cache[a][d]:a},removeData:function(c,d){c=c==X?S:c;var a=c[ab];if(d){if(U.cache[a]){delete U.cache[a][d];d="";for(d in U.cache[a]){break}if(!d){U.removeData(c)}}}else{try{delete c[ab]}catch(b){if(c.removeAttribute){c.removeAttribute(ab)}}delete U.cache[a]}},queue:function(c,d,a){if(c){d=(d||"fx")+"queue";var b=U.data(c,d);if(!b||U.isArray(a)){b=U.data(c,d,U.makeArray(a))}else{if(a){b.push(a)}}}return b},dequeue:function(a,b){var d=U.queue(a,b),c=d.shift();if(!b||b==="fx"){c=d[0]}if(c!==ac){c.call(a)}}});U.fn.extend({data:function(d,b){var a=d.split(".");a[1]=a[1]?"."+a[1]:"";if(b===ac){var c=this.triggerHandler("getData"+a[1]+"!",[a[0]]);if(c===ac&&this.length){c=U.data(this[0],d)}return c===ac&&a[1]?this.data(a[0]):c}else{return this.trigger("setData"+a[1]+"!",[a[0],b]).each(function(){U.data(this,d,b)})}},removeData:function(a){return this.each(function(){U.removeData(this,a)})},queue:function(b,a){if(typeof b!=="string"){a=b;b="fx"}if(a===ac){return U.queue(this[0],b)}return this.each(function(){var c=U.queue(this,b,a);if(b=="fx"&&c.length==1){c[0].call(this)}})},dequeue:function(a){return this.each(function(){U.dequeue(this,a)})}});(function(){var b=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,h=0,l=Object.prototype.toString;var n=function(r,v,aj,D){aj=aj||[];v=v||document;if(v.nodeType!==1&&v.nodeType!==9){return[]}if(!r||typeof r!=="string"){return aj}var q=[],t,A,x,w,C,u,s=true;b.lastIndex=0;while((t=b.exec(r))!==null){q.push(t[1]);if(t[2]){u=RegExp.rightContext;break}}if(q.length>1&&g.exec(r)){if(q.length===2&&k.relative[q[0]]){A=j(q[0]+q[1],v)}else{A=k.relative[q[0]]?[v]:n(q.shift(),v);while(q.length){r=q.shift();if(k.relative[r]){r+=q.shift()}A=j(r,A)}}}else{var B=D?{expr:q.pop(),set:o(D)}:n.find(q.pop(),q.length===1&&v.parentNode?v.parentNode:v,c(v));A=n.filter(B.expr,B.set);if(q.length>0){x=o(A)}else{s=false}while(q.length){var y=q.pop(),z=y;if(!k.relative[y]){y=""}else{z=q.pop()}if(z==null){z=v}k.relative[y](x,z,c(v))}}if(!x){x=A}if(!x){throw"Syntax error, unrecognized expression: "+(y||r)}if(l.call(x)==="[object Array]"){if(!s){aj.push.apply(aj,x)}else{if(v.nodeType===1){for(var p=0;x[p]!=null;p++){if(x[p]&&(x[p]===true||x[p].nodeType===1&&i(v,x[p]))){aj.push(A[p])}}}else{for(var p=0;x[p]!=null;p++){if(x[p]&&x[p].nodeType===1){aj.push(A[p])}}}}}else{o(x,aj)}if(u){n(u,v,aj,D);if(m){hasDuplicate=false;aj.sort(m);if(hasDuplicate){for(var p=1;p<aj.length;p++){if(aj[p]===aj[p-1]){aj.splice(p--,1)}}}}}return aj};n.matches=function(q,p){return n(q,null,null,p)};n.find=function(p,w,x){var q,s;if(!p){return[]}for(var t=0,u=k.order.length;t<u;t++){var r=k.order[t],s;if((s=k.match[r].exec(p))){var v=RegExp.leftContext;if(v.substr(v.length-1)!=="\\"){s[1]=(s[1]||"").replace(/\\/g,"");q=k.find[r](s,w,x);if(q!=null){p=p.replace(k.match[r],"");break}}}}if(!q){q=w.getElementsByTagName("*")}return{set:q,expr:p}};n.filter=function(C,D,z,t){var u=C,x=[],p=D,r,w,q=D&&D[0]&&c(D[0]);while(C&&D.length){for(var aj in k.filter){if((r=k.match[aj].exec(C))!=null){var v=k.filter[aj],y,A;w=false;if(p==x){x=[]}if(k.preFilter[aj]){r=k.preFilter[aj](r,p,z,x,t,q);if(!r){w=y=true}else{if(r===true){continue}}}if(r){for(var s=0;(A=p[s])!=null;s++){if(A){y=v(A,r,s,p);var B=t^!!y;if(z&&y!=null){if(B){w=true}else{p[s]=false}}else{if(B){x.push(A);w=true}}}}}if(y!==ac){if(!z){p=x}C=C.replace(k.match[aj],"");if(!w){return[]}break}}}if(C==u){if(w==null){throw"Syntax error, unrecognized expression: "+C}else{break}}u=C}return p};var k=n.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(p){return p.getAttribute("href")}},relative:{"+":function(p,w,q){var s=typeof w==="string",x=s&&!/\W/.test(w),r=s&&!x;if(x&&!q){w=w.toUpperCase()}for(var t=0,u=p.length,v;t<u;t++){if((v=p[t])){while((v=v.previousSibling)&&v.nodeType!==1){}p[t]=r||v&&v.nodeName===w?v||false:v===w}}if(r){n.filter(w,p,true)}},">":function(u,r,t){var w=typeof r==="string";if(w&&!/\W/.test(r)){r=t?r:r.toUpperCase();for(var q=0,s=u.length;q<s;q++){var v=u[q];if(v){var p=v.parentNode;u[q]=p.nodeName===r?p:false}}}else{for(var q=0,s=u.length;q<s;q++){var v=u[q];if(v){u[q]=w?v.parentNode:v.parentNode===r}}if(w){n.filter(r,u,true)}}},"":function(p,r,t){var q=h++,s=a;if(!r.match(/\W/)){var u=r=t?r:r.toUpperCase();s=d}s("parentNode",r,q,p,u,t)},"~":function(p,r,t){var q=h++,s=a;if(typeof r==="string"&&!r.match(/\W/)){var u=r=t?r:r.toUpperCase();s=d}s("previousSibling",r,q,p,u,t)}},find:{ID:function(r,q,p){if(typeof q.getElementById!=="undefined"&&!p){var s=q.getElementById(r[1]);return s?[s]:[]}},NAME:function(q,u,t){if(typeof u.getElementsByName!=="undefined"){var r=[],v=u.getElementsByName(q[1]);for(var p=0,s=v.length;p<s;p++){if(v[p].getAttribute("name")===q[1]){r.push(v[p])}}return r.length===0?null:r}},TAG:function(q,p){return p.getElementsByTagName(q[1])}},preFilter:{CLASS:function(p,r,q,s,u,t){p=" "+p[1].replace(/\\/g,"")+" ";if(t){return p}for(var w=0,v;(v=r[w])!=null;w++){if(v){if(u^(v.className&&(" "+v.className+" ").indexOf(p)>=0)){if(!q){s.push(v)}}else{if(q){r[w]=false}}}}return false},ID:function(p){return p[1].replace(/\\/g,"")},TAG:function(q,r){for(var p=0;r[p]===false;p++){}return r[p]&&c(r[p])?q[1]:q[1].toUpperCase()},CHILD:function(q){if(q[1]=="nth"){var p=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(q[2]=="even"&&"2n"||q[2]=="odd"&&"2n+1"||!/\D/.test(q[2])&&"0n+"+q[2]||q[2]);q[2]=(p[1]+(p[2]||1))-0;q[3]=p[3]-0}q[0]=h++;return q},ATTR:function(v,r,q,s,u,t){var p=v[1].replace(/\\/g,"");if(!t&&k.attrMap[p]){v[1]=k.attrMap[p]}if(v[2]==="~="){v[4]=" "+v[4]+" "}return v},PSEUDO:function(u,r,q,s,t){if(u[1]==="not"){if(u[3].match(b).length>1||/^\w/.test(u[3])){u[3]=n(u[3],null,null,r)}else{var p=n.filter(u[3],r,q,true^t);if(!q){s.push.apply(s,p)}return false}}else{if(k.match.POS.test(u[0])||k.match.CHILD.test(u[0])){return true}}return u},POS:function(p){p.unshift(true);return p}},filters:{enabled:function(p){return p.disabled===false&&p.type!=="hidden"},disabled:function(p){return p.disabled===true},checked:function(p){return p.checked===true},selected:function(p){p.parentNode.selectedIndex;return p.selected===true},parent:function(p){return !!p.firstChild},empty:function(p){return !p.firstChild},has:function(p,q,r){return !!n(r[3],p).length},header:function(p){return/h\d/i.test(p.nodeName)},text:function(p){return"text"===p.type},radio:function(p){return"radio"===p.type},checkbox:function(p){return"checkbox"===p.type},file:function(p){return"file"===p.type},password:function(p){return"password"===p.type},submit:function(p){return"submit"===p.type},image:function(p){return"image"===p.type},reset:function(p){return"reset"===p.type},button:function(p){return"button"===p.type||p.nodeName.toUpperCase()==="BUTTON"},input:function(p){return/input|select|textarea|button/i.test(p.nodeName)}},setFilters:{first:function(p,q){return q===0},last:function(q,r,s,p){return r===p.length-1},even:function(p,q){return q%2===0},odd:function(p,q){return q%2===1},lt:function(p,q,r){return q<r[3]-0},gt:function(p,q,r){return q>r[3]-0},nth:function(p,q,r){return r[3]-0==q},eq:function(p,q,r){return r[3]-0==q}},filter:{PSEUDO:function(u,q,p,t){var r=q[1],w=k.filters[r];if(w){return w(u,p,q,t)}else{if(r==="contains"){return(u.textContent||u.innerText||"").indexOf(q[3])>=0}else{if(r==="not"){var v=q[3];for(var p=0,s=v.length;p<s;p++){if(v[p]===u){return false}}return true}}}},CHILD:function(w,t){var q=t[1],v=w;switch(q){case"only":case"first":while(v=v.previousSibling){if(v.nodeType===1){return false}}if(q=="first"){return true}v=w;case"last":while(v=v.nextSibling){if(v.nodeType===1){return false}}return true;case"nth":var u=t[2],x=t[3];if(u==1&&x==0){return true}var r=t[0],y=w.parentNode;if(y&&(y.sizcache!==r||!w.nodeIndex)){var s=0;for(v=y.firstChild;v;v=v.nextSibling){if(v.nodeType===1){v.nodeIndex=++s}}y.sizcache=r}var p=w.nodeIndex-x;if(u==0){return p==0}else{return(p%u==0&&p/u>=0)}}},ID:function(p,q){return p.nodeType===1&&p.getAttribute("id")===q},TAG:function(p,q){return(q==="*"&&p.nodeType===1)||p.nodeName===q},CLASS:function(p,q){return(" "+(p.className||p.getAttribute("class"))+" ").indexOf(q)>-1},ATTR:function(u,p){var q=p[1],s=k.attrHandle[q]?k.attrHandle[q](u):u[q]!=null?u[q]:u.getAttribute(q),t=s+"",v=p[2],r=p[4];return s==null?v==="!=":v==="="?t===r:v==="*="?t.indexOf(r)>=0:v==="~="?(" "+t+" ").indexOf(r)>=0:!r?t&&s!==false:v==="!="?t!=r:v==="^="?t.indexOf(r)===0:v==="$="?t.substr(t.length-r.length)===r:v==="|="?t===r||t.substr(0,r.length+1)===r+"-":false},POS:function(u,r,q,t){var s=r[2],p=k.setFilters[s];if(p){return p(u,q,r,t)}}}};var g=k.match.POS;for(var e in k.match){k.match[e]=RegExp(k.match[e].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var o=function(p,q){p=Array.prototype.slice.call(p);if(q){q.push.apply(q,p);return q}return p};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(f){o=function(t,p){var r=p||[];if(l.call(t)==="[object Array]"){Array.prototype.push.apply(r,t)}else{if(typeof t.length==="number"){for(var q=0,s=t.length;q<s;q++){r.push(t[q])}}else{for(var q=0;t[q];q++){r.push(t[q])}}}return r}}var m;if(document.documentElement.compareDocumentPosition){m=function(q,r){var p=q.compareDocumentPosition(r)&4?-1:q===r?0:1;if(p===0){hasDuplicate=true}return p}}else{if("sourceIndex" in document.documentElement){m=function(q,r){var p=q.sourceIndex-r.sourceIndex;if(p===0){hasDuplicate=true}return p}}else{if(document.createRange){m=function(p,r){var q=p.ownerDocument.createRange(),s=r.ownerDocument.createRange();q.selectNode(p);q.collapse(true);s.selectNode(r);s.collapse(true);var t=q.compareBoundaryPoints(Range.START_TO_END,s);if(t===0){hasDuplicate=true}return t}}}}(function(){var q=document.createElement("form"),p="script"+(new Date).getTime();q.innerHTML="<input name='"+p+"'/>";var r=document.documentElement;r.insertBefore(q,r.firstChild);if(!!document.getElementById(p)){k.find.ID=function(v,u,t){if(typeof u.getElementById!=="undefined"&&!t){var s=u.getElementById(v[1]);return s?s.id===v[1]||typeof s.getAttributeNode!=="undefined"&&s.getAttributeNode("id").nodeValue===v[1]?[s]:ac:[]}};k.filter.ID=function(t,s){var u=typeof t.getAttributeNode!=="undefined"&&t.getAttributeNode("id");return t.nodeType===1&&u&&u.nodeValue===s}}r.removeChild(q)})();(function(){var p=document.createElement("div");p.appendChild(document.createComment(""));if(p.getElementsByTagName("*").length>0){k.find.TAG=function(s,t){var u=t.getElementsByTagName(s[1]);if(s[1]==="*"){var q=[];for(var r=0;u[r];r++){if(u[r].nodeType===1){q.push(u[r])}}u=q}return u}}p.innerHTML="<a href='#'></a>";if(p.firstChild&&typeof p.firstChild.getAttribute!=="undefined"&&p.firstChild.getAttribute("href")!=="#"){k.attrHandle.href=function(q){return q.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var q=n,p=document.createElement("div");p.innerHTML="<p class='TEST'></p>";if(p.querySelectorAll&&p.querySelectorAll(".TEST").length===0){return}n=function(u,v,s,r){v=v||document;if(!r&&v.nodeType===9&&!c(v)){try{return o(v.querySelectorAll(u),s)}catch(t){}}return q(u,v,s,r)};n.find=q.find;n.filter=q.filter;n.selectors=q.selectors;n.matches=q.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var p=document.createElement("div");p.innerHTML="<div class='test e'></div><div class='test'></div>";if(p.getElementsByClassName("e").length===0){return}p.lastChild.className="e";if(p.getElementsByClassName("e").length===1){return}k.order.splice(1,0,"CLASS");k.find.CLASS=function(s,r,q){if(typeof r.getElementsByClassName!=="undefined"&&!q){return r.getElementsByClassName(s[1])}}})()}function d(v,q,r,x,p,y){var z=v=="previousSibling"&&!y;for(var t=0,u=x.length;t<u;t++){var w=x[t];if(w){if(z&&w.nodeType===1){w.sizcache=r;w.sizset=t}w=w[v];var s=false;while(w){if(w.sizcache===r){s=x[w.sizset];break}if(w.nodeType===1&&!y){w.sizcache=r;w.sizset=t}if(w.nodeName===q){s=w;break}w=w[v]}x[t]=s}}}function a(v,q,r,x,p,y){var z=v=="previousSibling"&&!y;for(var t=0,u=x.length;t<u;t++){var w=x[t];if(w){if(z&&w.nodeType===1){w.sizcache=r;w.sizset=t}w=w[v];var s=false;while(w){if(w.sizcache===r){s=x[w.sizset];break}if(w.nodeType===1){if(!y){w.sizcache=r;w.sizset=t}if(typeof q!=="string"){if(w===q){s=true;break}}else{if(n.filter(q,[w]).length>0){s=w;break}}}w=w[v]}x[t]=s}}}var i=document.compareDocumentPosition?function(p,q){return p.compareDocumentPosition(q)&16}:function(p,q){return p!==q&&(p.contains?p.contains(q):true)};var c=function(p){return p.nodeType===9&&p.documentElement.nodeName!=="HTML"||!!p.ownerDocument&&c(p.ownerDocument)};var j=function(s,u){var p=[],w="",v,q=u.nodeType?[u]:u;while((v=k.match.PSEUDO.exec(s))){w+=v[0];s=s.replace(k.match.PSEUDO,"")}s=k.relative[s]?s+"*":s;for(var t=0,r=q.length;t<r;t++){n(s,q[t],p)}return n.filter(w,p)};U.find=n;U.filter=n.filter;U.expr=n.selectors;U.expr[":"]=U.expr.filters;n.selectors.filters.hidden=function(p){return p.offsetWidth===0||p.offsetHeight===0};n.selectors.filters.visible=function(p){return p.offsetWidth>0||p.offsetHeight>0};n.selectors.filters.animated=function(p){return U.grep(U.timers,function(q){return p===q.elem}).length};U.multiFilter=function(p,r,q){if(q){p=":not("+p+")"}return n.matches(p,r)};U.dir=function(q,r){var s=[],p=q[r];while(p&&p!=document){if(p.nodeType==1){s.push(p)}p=p[r]}return s};U.nth=function(t,s,q,p){s=s||1;var r=0;for(;t;t=t[q]){if(t.nodeType==1&&++r==s){break}}return t};U.sibling=function(p,q){var r=[];for(;p;p=p.nextSibling){if(p.nodeType==1&&p!=q){r.push(p)}}return r};return;X.Sizzle=n})();U.event={add:function(c,f,d,a){if(c.nodeType==3||c.nodeType==8){return}if(c.setInterval&&c!=X){c=X}if(!d.guid){d.guid=this.guid++}if(a!==ac){var e=d;d=this.proxy(e);d.data=a}var g=U.data(c,"events")||U.data(c,"events",{}),b=U.data(c,"handle")||U.data(c,"handle",function(){return typeof U!=="undefined"&&!U.event.triggered?U.event.handle.apply(arguments.callee.elem,arguments):ac});b.elem=c;U.each(f.split(/\s+/),function(k,j){var i=j.split(".");j=i.shift();d.type=i.slice().sort().join(".");var h=g[j];if(U.event.specialAll[j]){U.event.specialAll[j].setup.call(c,a,i)}if(!h){h=g[j]={};if(!U.event.special[j]||U.event.special[j].setup.call(c,a,i)===false){if(c.addEventListener){c.addEventListener(j,b,false)}else{if(c.attachEvent){c.attachEvent("on"+j,b)}}}}h[d.guid]=d;U.event.global[j]=true});c=null},guid:1,global:{},remove:function(b,e,c){if(b.nodeType==3||b.nodeType==8){return}var f=U.data(b,"events"),g,h;if(f){if(e===ac||(typeof e==="string"&&e.charAt(0)==".")){for(var d in f){this.remove(b,d+(e||""))}}else{if(e.type){c=e.handler;e=e.type}U.each(e.split(/\s+/),function(m,k){var i=k.split(".");k=i.shift();var l=RegExp("(^|\\.)"+i.slice().sort().join(".*\\.")+"(\\.|$)");if(f[k]){if(c){delete f[k][c.guid]}else{for(var j in f[k]){if(l.test(f[k][j].type)){delete f[k][j]}}}if(U.event.specialAll[k]){U.event.specialAll[k].teardown.call(b,i)}for(g in f[k]){break}if(!g){if(!U.event.special[k]||U.event.special[k].teardown.call(b,i)===false){if(b.removeEventListener){b.removeEventListener(k,U.data(b,"handle"),false)}else{if(b.detachEvent){b.detachEvent("on"+k,U.data(b,"handle"))}}}g=null;delete f[k]}}})}for(g in f){break}if(!g){var a=U.data(b,"handle");if(a){a.elem=null}U.removeData(b,"events");U.removeData(b,"handle")}}},trigger:function(d,b,e,h){var f=d.type||d;if(!h){d=typeof d==="object"?d[ab]?d:U.extend(U.Event(f),d):U.Event(f);if(f.indexOf("!")>=0){d.type=f=f.slice(0,-1);d.exclusive=true}if(!e){d.stopPropagation();if(this.global[f]){U.each(U.cache,function(){if(this.events&&this.events[f]){U.event.trigger(d,b,this.handle.elem)}})}}if(!e||e.nodeType==3||e.nodeType==8){return ac}d.result=ac;d.target=e;b=U.makeArray(b);b.unshift(d)}d.currentTarget=e;var c=U.data(e,"handle");if(c){c.apply(e,b)}if((!e[f]||(U.nodeName(e,"a")&&f=="click"))&&e["on"+f]&&e["on"+f].apply(e,b)===false){d.result=false}if(!h&&e[f]&&!d.isDefaultPrevented()&&!(U.nodeName(e,"a")&&f=="click")){this.triggered=true;try{e[f]()}catch(a){}}this.triggered=false;if(!d.isPropagationStopped()){var g=e.parentNode||e.ownerDocument;if(g){U.event.trigger(d,b,g,true)}}},handle:function(b){var c,h;b=arguments[0]=U.event.fix(b||X.event);b.currentTarget=this;var a=b.type.split(".");b.type=a.shift();c=!a.length&&!b.exclusive;var d=RegExp("(^|\\.)"+a.slice().sort().join(".*\\.")+"(\\.|$)");h=(U.data(this,"events")||{})[b.type];for(var f in h){var e=h[f];if(c||d.test(e.type)){b.handler=e;b.data=e.data;var g=e.apply(this,arguments);if(g!==ac){b.result=g;if(g===false){b.preventDefault();b.stopPropagation()}}if(b.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(c){if(c[ab]){return c}var e=c;c=U.Event(e);for(var d=this.props.length,a;d;){a=this.props[--d];c[a]=e[a]}if(!c.target){c.target=c.srcElement||document}if(c.target.nodeType==3){c.target=c.target.parentNode}if(!c.relatedTarget&&c.fromElement){c.relatedTarget=c.fromElement==c.target?c.toElement:c.fromElement}if(c.pageX==null&&c.clientX!=null){var b=document.documentElement,f=document.body;c.pageX=c.clientX+(b&&b.scrollLeft||f&&f.scrollLeft||0)-(b.clientLeft||0);c.pageY=c.clientY+(b&&b.scrollTop||f&&f.scrollTop||0)-(b.clientTop||0)}if(!c.which&&((c.charCode||c.charCode===0)?c.charCode:c.keyCode)){c.which=c.charCode||c.keyCode}if(!c.metaKey&&c.ctrlKey){c.metaKey=c.ctrlKey}if(!c.which&&c.button){c.which=(c.button&1?1:(c.button&2?3:(c.button&4?2:0)))}return c},proxy:function(a,b){b=b||function(){return a.apply(this,arguments)};b.guid=a.guid=a.guid||b.guid||this.guid++;return b},special:{ready:{setup:Q,teardown:function(){}}},specialAll:{live:{setup:function(b,a){U.event.add(this,a[0],ag)},teardown:function(a){if(a.length){var c=0,b=RegExp("(^|\\.)"+a[0]+"(\\.|$)");U.each((U.data(this,"events").live||{}),function(){if(b.test(this.type)){c++}});if(c<1){U.event.remove(this,a[0],ag)}}}}}};U.Event=function(a){if(!this.preventDefault){return new U.Event(a)}if(a&&a.type){this.originalEvent=a;this.type=a.type}else{this.type=a}this.timeStamp=ae();this[ab]=true};function Y(){return false}function J(){return true}U.Event.prototype={preventDefault:function(){this.isDefaultPrevented=J;var a=this.originalEvent;if(!a){return}if(a.preventDefault){a.preventDefault()}a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=J;var a=this.originalEvent;if(!a){return}if(a.stopPropagation){a.stopPropagation()}a.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=J;this.stopPropagation()},isDefaultPrevented:Y,isPropagationStopped:Y,isImmediatePropagationStopped:Y};var ai=function(b){var c=b.relatedTarget;while(c&&c!=this){try{c=c.parentNode}catch(a){c=this}}if(c!=this){b.type=b.data;U.event.handle.apply(this,arguments)}};U.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(a,b){U.event.special[b]={setup:function(){U.event.add(this,a,ai,b)},teardown:function(){U.event.remove(this,a,ai)}}});U.fn.extend({bind:function(b,a,c){return b=="unload"?this.one(b,a,c):this.each(function(){U.event.add(this,b,c||a,c&&a)})},one:function(b,a,c){var d=U.event.proxy(c||a,function(e){U(this).unbind(e,d);return(c||a).apply(this,arguments)});return this.each(function(){U.event.add(this,b,d,c&&a)})},unbind:function(a,b){return this.each(function(){U.event.remove(this,a,b)})},trigger:function(b,a){return this.each(function(){U.event.trigger(b,a,this)})},triggerHandler:function(c,a){if(this[0]){var b=U.Event(c);b.preventDefault();b.stopPropagation();U.event.trigger(b,a,this[0]);return b.result}},toggle:function(a){var c=arguments,b=1;while(b<c.length){U.event.proxy(a,c[b++])}return this.click(U.event.proxy(a,function(d){this.lastToggle=(this.lastToggle||0)%b;d.preventDefault();return c[this.lastToggle++].apply(this,arguments)||false}))},hover:function(b,a){return this.mouseenter(b).mouseleave(a)},ready:function(a){Q();if(U.isReady){a.call(document,U)}else{U.readyList.push(a)}return this},live:function(a,b){var c=U.event.proxy(b);c.guid+=this.selector+a;U(document).bind(aa(a,this.selector),this.selector,c);return this},die:function(a,b){U(document).unbind(aa(a,this.selector),b?{guid:b.guid+this.selector+a}:null);return this}});function ag(a){var d=RegExp("(^|\\.)"+a.type+"(\\.|$)"),b=true,c=[];U.each(U.data(this,"events").live||[],function(g,f){if(d.test(f.type)){var e=U(a.target).closest(f.data)[0];if(e){c.push({elem:e,fn:f})}}});c.sort(function(e,f){return U.data(e.elem,"closest")-U.data(f.elem,"closest")});U.each(c,function(){if(this.fn.call(this.elem,a,this.fn.data)===false){return(b=false)}});return b}function aa(a,b){return["live",a,b.replace(/\./g,"`").replace(/ /g,"|")].join(".")}U.extend({isReady:false,readyList:[],ready:function(){if(!U.isReady){U.isReady=true;if(U.readyList){U.each(U.readyList,function(){this.call(document,U)});U.readyList=null}U(document).triggerHandler("ready")}}});var G=false;function Q(){if(G){return}G=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);U.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);U.ready()}});if(document.documentElement.doScroll&&X==X.top){(function(){if(U.isReady){return}try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}U.ready()})()}}}U.event.add(X,"load",U.ready)}U.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(a,b){U.fn[b]=function(c){return c?this.bind(b,c):this.trigger(b)}});U(X).bind("unload",function(){for(var a in U.cache){if(a!=1&&U.cache[a].handle){U.event.remove(U.cache[a].handle.elem)}}});(function(){U.support={};var f=document.documentElement,e=document.createElement("script"),a=document.createElement("div"),b="script"+(new Date).getTime();a.style.display="none";a.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 d=a.getElementsByTagName("*"),g=a.getElementsByTagName("a")[0];if(!d||!d.length||!g){return}U.support={leadingWhitespace:a.firstChild.nodeType==3,tbody:!a.getElementsByTagName("tbody").length,objectAll:!!a.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/red/.test(g.getAttribute("style")),hrefNormalized:g.getAttribute("href")==="/a",opacity:g.style.opacity==="0.5",cssFloat:!!g.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};e.type="text/javascript";try{e.appendChild(document.createTextNode("window."+b+"=1;"))}catch(c){}f.insertBefore(e,f.firstChild);if(X[b]){U.support.scriptEval=true;delete X[b]}f.removeChild(e);if(a.attachEvent&&a.fireEvent){a.attachEvent("onclick",function(){U.support.noCloneEvent=false;a.detachEvent("onclick",arguments.callee)});a.cloneNode(true).fireEvent("onclick")}U(function(){var h=document.createElement("div");h.style.width=h.style.paddingLeft="1px";document.body.appendChild(h);U.boxModel=U.support.boxModel=h.offsetWidth===2;document.body.removeChild(h).style.display="none"})})();var H=U.support.cssFloat?"cssFloat":"styleFloat";U.props={"for":"htmlFor","class":"className","float":H,cssFloat:H,styleFloat:H,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};U.fn.extend({_load:U.fn.load,load:function(e,b,a){if(typeof e!=="string"){return this._load(e)}var c=e.indexOf(" ");if(c>=0){var g=e.slice(c,e.length);e=e.slice(0,c)}var d="GET";if(b){if(U.isFunction(b)){a=b;b=null}else{if(typeof b==="object"){b=U.param(b);d="POST"}}}var f=this;U.ajax({url:e,type:d,dataType:"html",data:b,complete:function(i,h){if(h=="success"||h=="notmodified"){f.html(g?U("<div/>").append(i.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(g):i.responseText)}if(a){f.each(a,[i.responseText,h,i])}}});return this},serialize:function(){return U.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?U.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(c,b){var a=U(this).val();return a==null?null:U.isArray(a)?U.map(a,function(d,e){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});U.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(b,a){U.fn[a]=function(c){return this.bind(a,c)}});var O=ae();U.extend({get:function(d,b,a,c){if(U.isFunction(b)){a=b;b=null}return U.ajax({type:"GET",url:d,data:b,success:a,dataType:c})},getScript:function(b,a){return U.get(b,null,a,"script")},getJSON:function(c,b,a){return U.get(c,b,a,"json")},post:function(d,b,a,c){if(U.isFunction(b)){a=b;b={}}return U.ajax({type:"POST",url:d,data:b,success:a,dataType:c})},ajaxSetup:function(a){U.extend(U.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return X.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(k){k=U.extend(true,k,U.extend(true,{},U.ajaxSettings,k));var a,r=/=\?(&|$)/g,f,b,q=k.type.toUpperCase();if(k.data&&k.processData&&typeof k.data!=="string"){k.data=U.param(k.data)}if(k.dataType=="jsonp"){if(q=="GET"){if(!k.url.match(r)){k.url+=(k.url.match(/\?/)?"&":"?")+(k.jsonp||"callback")+"=?"}}else{if(!k.data||!k.data.match(r)){k.data=(k.data?k.data+"&":"")+(k.jsonp||"callback")+"=?"}}k.dataType="json"}if(k.dataType=="json"&&(k.data&&k.data.match(r)||k.url.match(r))){a="jsonp"+O++;if(k.data){k.data=(k.data+"").replace(r,"="+a+"$1")}k.url=k.url.replace(r,"="+a+"$1");k.dataType="script";X[a]=function(u){b=u;o();l();X[a]=ac;try{delete X[a]}catch(t){}if(p){p.removeChild(d)}}}if(k.dataType=="script"&&k.cache==null){k.cache=false}if(k.cache===false&&q=="GET"){var s=ae();var c=k.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+s+"$2");k.url=c+((c==k.url)?(k.url.match(/\?/)?"&":"?")+"_="+s:"")}if(k.data&&q=="GET"){k.url+=(k.url.match(/\?/)?"&":"?")+k.data;k.data=null}if(k.global&&!U.active++){U.event.trigger("ajaxStart")}var g=/^(\w+:)?\/\/([^\/?#]+)/.exec(k.url);if(k.dataType=="script"&&q=="GET"&&g&&(g[1]&&g[1]!=location.protocol||g[2]!=location.host)){var p=document.getElementsByTagName("head")[0];var d=document.createElement("script");d.src=k.url;if(k.scriptCharset){d.charset=k.scriptCharset}if(!a){var i=false;d.onload=d.onreadystatechange=function(){if(!i&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){i=true;o();l();d.onload=d.onreadystatechange=null;p.removeChild(d)}}}p.appendChild(d);return ac}var m=false;var n=k.xhr();if(k.username){n.open(q,k.url,k.async,k.username,k.password)}else{n.open(q,k.url,k.async)}try{if(k.data){n.setRequestHeader("Content-Type",k.contentType)}if(k.ifModified){n.setRequestHeader("If-Modified-Since",U.lastModified[k.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}n.setRequestHeader("X-Requested-With","XMLHttpRequest");n.setRequestHeader("Accept",k.dataType&&k.accepts[k.dataType]?k.accepts[k.dataType]+", */*":k.accepts._default)}catch(e){}if(k.beforeSend&&k.beforeSend(n,k)===false){if(k.global&&!--U.active){U.event.trigger("ajaxStop")}n.abort();return false}if(k.global){U.event.trigger("ajaxSend",[n,k])}var j=function(v){if(n.readyState==0){if(h){clearInterval(h);h=null;if(k.global&&!--U.active){U.event.trigger("ajaxStop")}}}else{if(!m&&n&&(n.readyState==4||v=="timeout")){m=true;if(h){clearInterval(h);h=null}f=v=="timeout"?"timeout":!U.httpSuccess(n)?"error":k.ifModified&&U.httpNotModified(n,k.url)?"notmodified":"success";if(f=="success"){try{b=U.httpData(n,k.dataType,k)}catch(t){f="parsererror"}}if(f=="success"){var u;try{u=n.getResponseHeader("Last-Modified")}catch(t){}if(k.ifModified&&u){U.lastModified[k.url]=u}if(!a){o()}}else{U.handleError(k,n,f)}l();if(v){n.abort()}if(k.async){n=null}}}};if(k.async){var h=setInterval(j,13);if(k.timeout>0){setTimeout(function(){if(n&&!m){j("timeout")}},k.timeout)}}try{n.send(k.data)}catch(e){U.handleError(k,n,null,e)}if(!k.async){j()}function o(){if(k.success){k.success(b,f)}if(k.global){U.event.trigger("ajaxSuccess",[n,k])}}function l(){if(k.complete){k.complete(n,f)}if(k.global){U.event.trigger("ajaxComplete",[n,k])}if(k.global&&!--U.active){U.event.trigger("ajaxStop")}}return n},handleError:function(c,a,d,b){if(c.error){c.error(a,d,b)}if(c.global){U.event.trigger("ajaxError",[a,c,b])}},active:0,httpSuccess:function(a){try{return !a.status&&location.protocol=="file:"||(a.status>=200&&a.status<300)||a.status==304||a.status==1223}catch(b){}return false},httpNotModified:function(b,d){try{var a=b.getResponseHeader("Last-Modified");return b.status==304||a==U.lastModified[d]}catch(c){}return false},httpData:function(a,c,d){var e=a.getResponseHeader("content-type"),f=c=="xml"||!c&&e&&e.indexOf("xml")>=0,b=f?a.responseXML:a.responseText;if(f&&b.documentElement.tagName=="parsererror"){throw"parsererror"}if(d&&d.dataFilter){b=d.dataFilter(b,c)}if(typeof b==="string"){if(c=="script"){U.globalEval(b)}if(c=="json"){b=X["eval"]("("+b+")")}}return b},param:function(d){var b=[];function a(f,e){b[b.length]=encodeURIComponent(f)+"="+encodeURIComponent(e)}if(U.isArray(d)||d.jquery){U.each(d,function(){a(this.name,this.value)})}else{for(var c in d){if(U.isArray(d[c])){U.each(d[c],function(){a(c,this)})}else{a(c,U.isFunction(d[c])?d[c]():d[c])}}}return b.join("&").replace(/%20/g,"+")}});var W={},V,af=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function K(b,c){var a={};U.each(af.concat.apply([],af.slice(0,c)),function(){a[this]=b});return a}U.fn.extend({show:function(c,a){if(c){return this.animate(K("show",3),c,a)}else{for(var e=0,g=this.length;e<g;e++){var h=U.data(this[e],"olddisplay");this[e].style.display=h||"";if(U.css(this[e],"display")==="none"){var f=this[e].tagName,b;if(W[f]){b=W[f]}else{var d=U("<"+f+" />").appendTo("body");b=d.css("display");if(b==="none"){b="block"}d.remove();W[f]=b}U.data(this[e],"olddisplay",b)}}for(var e=0,g=this.length;e<g;e++){this[e].style.display=U.data(this[e],"olddisplay")||""}return this}},hide:function(b,a){if(b){return this.animate(K("hide",3),b,a)}else{for(var c=0,d=this.length;c<d;c++){var e=U.data(this[c],"olddisplay");if(!e&&e!=="none"){U.data(this[c],"olddisplay",U.css(this[c],"display"))}}for(var c=0,d=this.length;c<d;c++){this[c].style.display="none"}return this}},_toggle:U.fn.toggle,toggle:function(a,b){var c=typeof a==="boolean";return U.isFunction(a)&&U.isFunction(b)?this._toggle.apply(this,arguments):a==null||c?this.each(function(){var d=c?a:U(this).is(":hidden");U(this)[d?"show":"hide"]()}):this.animate(K("toggle",3),a,b)},fadeTo:function(c,a,b){return this.animate({opacity:a},c,b)},animate:function(a,d,b,c){var e=U.speed(d,b,c);return this[e.queue===false?"each":"queue"](function(){var g=U.extend({},e),i,f=this.nodeType==1&&U(this).is(":hidden"),h=this;for(i in a){if(a[i]=="hide"&&f||a[i]=="show"&&!f){return g.complete.call(this)}if((i=="height"||i=="width")&&this.style){g.display=U.css(this,"display");g.overflow=this.style.overflow}}if(g.overflow!=null){this.style.overflow="hidden"}g.curAnim=U.extend({},a);U.each(a,function(o,k){var l=new U.fx(h,g,o);if(/toggle|show|hide/.test(k)){l[k=="toggle"?f?"show":"hide":k](a)}else{var m=k.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),j=l.cur(true)||0;if(m){var p=parseFloat(m[2]),n=m[3]||"px";if(n!="px"){h.style[o]=(p||1)+n;j=((p||1)/l.cur(true))*j;h.style[o]=j+n}if(m[1]){p=((m[1]=="-="?-1:1)*p)+j}l.custom(j,p,n)}else{l.custom(j,k,"")}}});return true})},stop:function(b,c){var a=U.timers;if(b){this.queue([])}this.each(function(){for(var d=a.length-1;d>=0;d--){if(a[d].elem==this){if(c){a[d](true)}a.splice(d,1)}}});if(!c){this.dequeue()}return this}});U.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(b,a){U.fn[b]=function(d,c){return this.animate(a,d,c)}});U.extend({speed:function(b,a,c){var d=typeof b==="object"?b:{complete:c||!c&&a||U.isFunction(b)&&b,duration:b,easing:c&&a||a&&!U.isFunction(a)&&a};d.duration=U.fx.off?0:typeof d.duration==="number"?d.duration:U.fx.speeds[d.duration]||U.fx.speeds._default;d.old=d.complete;d.complete=function(){if(d.queue!==false){U(this).dequeue()}if(U.isFunction(d.old)){d.old.call(this)}};return d},easing:{linear:function(b,a,d,c){return d+c*b},swing:function(b,a,d,c){return((-Math.cos(b*Math.PI)/2)+0.5)*c+d}},timers:[],fx:function(b,c,a){this.options=c;this.elem=b;this.prop=a;if(!c.orig){c.orig={}}}});U.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(U.fx.step[this.prop]||U.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var b=parseFloat(U.css(this.elem,this.prop,a));return b&&b>-10000?b:parseFloat(U.curCSS(this.elem,this.prop))||0},custom:function(a,b,c){this.startTime=ae();this.start=a;this.end=b;this.unit=c||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=this;function d(f){return e.step(f)}d.elem=this.elem;if(d()&&U.timers.push(d)&&!V){V=setInterval(function(){var f=U.timers;for(var g=0;g<f.length;g++){if(!f[g]()){f.splice(g--,1)}}if(!f.length){clearInterval(V);V=ac}},13)}},show:function(){this.options.orig[this.prop]=U.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());U(this.elem).show()},hide:function(){this.options.orig[this.prop]=U.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(c){var d=ae();if(c||d>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var f=true;for(var e in this.options.curAnim){if(this.options.curAnim[e]!==true){f=false}}if(f){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(U.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){U(this.elem).hide()}if(this.options.hide||this.options.show){for(var b in this.options.curAnim){U.attr(this.elem.style,b,this.options.orig[b])}}this.options.complete.call(this.elem)}return false}else{var a=d-this.startTime;this.state=a/this.options.duration;this.pos=U.easing[this.options.easing||(U.easing.swing?"swing":"linear")](this.state,a,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};U.extend(U.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){U.attr(a.elem.style,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null){a.elem.style[a.prop]=a.now+a.unit}else{a.elem[a.prop]=a.now}}}});if(document.documentElement.getBoundingClientRect){U.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return U.offset.bodyOffset(this[0])}var f=this[0].getBoundingClientRect(),c=this[0].ownerDocument,g=c.body,h=c.documentElement,a=h.clientTop||g.clientTop||0,b=h.clientLeft||g.clientLeft||0,d=f.top+(self.pageYOffset||U.boxModel&&h.scrollTop||g.scrollTop)-a,e=f.left+(self.pageXOffset||U.boxModel&&h.scrollLeft||g.scrollLeft)-b;return{top:d,left:e}}}else{U.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return U.offset.bodyOffset(this[0])}U.offset.initialized||U.offset.initialize();var f=this[0],i=f.offsetParent,j=f,a=f.ownerDocument,c,h=a.documentElement,e=a.body,d=a.defaultView,k=d.getComputedStyle(f,null),b=f.offsetTop,g=f.offsetLeft;while((f=f.parentNode)&&f!==e&&f!==h){c=d.getComputedStyle(f,null);b-=f.scrollTop,g-=f.scrollLeft;if(f===i){b+=f.offsetTop,g+=f.offsetLeft;if(U.offset.doesNotAddBorder&&!(U.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(f.tagName))){b+=parseInt(c.borderTopWidth,10)||0,g+=parseInt(c.borderLeftWidth,10)||0}j=i,i=f.offsetParent}if(U.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"){b+=parseInt(c.borderTopWidth,10)||0,g+=parseInt(c.borderLeftWidth,10)||0}k=c}if(k.position==="relative"||k.position==="static"){b+=e.offsetTop,g+=e.offsetLeft}if(k.position==="fixed"){b+=Math.max(h.scrollTop,e.scrollTop),g+=Math.max(h.scrollLeft,e.scrollLeft)}return{top:b,left:g}}}U.offset={initialize:function(){if(this.initialized){return}var c=document.body,i=document.createElement("div"),g,h,a,f,b,j,e=c.style.marginTop,d='<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>';b={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(j in b){i.style[j]=b[j]}i.innerHTML=d;c.insertBefore(i,c.firstChild);g=i.firstChild,h=g.firstChild,f=g.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(h.offsetTop!==5);this.doesAddBorderForTableAndCells=(f.offsetTop===5);g.style.overflow="hidden",g.style.position="relative";this.subtractsBorderForOverflowNotVisible=(h.offsetTop===-5);c.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(c.offsetTop===0);c.style.marginTop=e;c.removeChild(i);this.initialized=true},bodyOffset:function(c){U.offset.initialized||U.offset.initialize();var a=c.offsetTop,b=c.offsetLeft;if(U.offset.doesNotIncludeMarginInBodyOffset){a+=parseInt(U.curCSS(c,"marginTop",true),10)||0,b+=parseInt(U.curCSS(c,"marginLeft",true),10)||0}return{top:a,left:b}}};U.fn.extend({position:function(){var b=0,c=0,e;if(this[0]){var d=this.offsetParent(),a=this.offset(),f=/^body|html$/i.test(d[0].tagName)?{top:0,left:0}:d.offset();a.top-=Z(this,"marginTop");a.left-=Z(this,"marginLeft");f.top+=Z(d,"borderTopWidth");f.left+=Z(d,"borderLeftWidth");e={top:a.top-f.top,left:a.left-f.left}}return e},offsetParent:function(){var a=this[0].offsetParent||document.body;while(a&&(!/^body|html$/i.test(a.tagName)&&U.css(a,"position")=="static")){a=a.offsetParent}return U(a)}});U.each(["Left","Top"],function(b,c){var a="scroll"+c;U.fn[a]=function(d){if(!this[0]){return null}return d!==ac?this.each(function(){this==X||this==document?X.scrollTo(!b?d:U(X).scrollLeft(),b?d:U(X).scrollTop()):this[a]=d}):this[0]==X||this[0]==document?self[b?"pageYOffset":"pageXOffset"]||U.boxModel&&document.documentElement[a]||document.body[a]:this[0][a]}});U.each(["Height","Width"],function(b,d){var f=b?"Left":"Top",c=b?"Right":"Bottom",e=d.toLowerCase();U.fn["inner"+d]=function(){return this[0]?U.css(this[0],e,false,"padding"):null};U.fn["outer"+d]=function(g){return this[0]?U.css(this[0],e,false,g?"margin":"border"):null};var a=d.toLowerCase();U.fn[a]=function(g){return this[0]==X?document.compatMode=="CSS1Compat"&&document.documentElement["client"+d]||document.body["client"+d]:this[0]==document?Math.max(document.documentElement["client"+d],document.body["scroll"+d],document.documentElement["scroll"+d],document.body["offset"+d],document.documentElement["offset"+d]):g===ac?(this.length?U.css(this[0],a):null):this.css(a,typeof g==="string"?g:g+"px")}})})();jQuery.cookie=function(b,j,m){if(typeof j!="undefined"){m=m||{};if(j===null){j="";m=$.extend({},m);m.expires=-1}var e="";if(m.expires&&(typeof m.expires=="number"||m.expires.toUTCString)){var f;if(typeof m.expires=="number"){f=new Date();f.setTime(f.getTime()+(m.expires*24*60*60*1000))}else{f=m.expires}e="; expires="+f.toUTCString()}var l=m.path?"; path="+(m.path):"";var g=m.domain?"; domain="+(m.domain):"";var a=m.secure?"; secure":"";document.cookie=[b,"=",encodeURIComponent(j),e,l,g,a].join("")}else{var d=null;if(document.cookie&&document.cookie!=""){var k=document.cookie.split(";");for(var h=0;h<k.length;h++){var c=jQuery.trim(k[h]);if(c.substring(0,b.length+1)==(b+"=")){d=decodeURIComponent(c.substring(b.length+1));break}}}return d}};var Yijia={};var N={};String.prototype.len=function(){return this.replace(/[^\x00-\xff]/g,"aa").length};function JSAddFavorite(){if(window.sidebar&&"object"==typeof(window.sidebar)&&"function"==typeof(window.sidebar.addPanel)){window.sidebar.addPanel(document.title,document.location.href,"")}else{if(document.all&&"object"==typeof(window.external)){window.external.addFavorite(document.location.href,document.title)}}return false}function clect(){window.open("http://shuqian.qq.com/post?from=3&title="+encodeURIComponent(document.title)+"&uri="+encodeURIComponent(document.location.href)+"&jumpback=2&noui=1","favit","width=930,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes");void (0)}function gp(c){if(c==""){return null}c=c.toLowerCase();var f=(arguments.length>1)?arguments[1]:window.location.search;if(f!=null||f!=""){if(f.indexOf("?")>0){f=f.substr(f.indexOf("?"))}f=f.replace(/^\?+/,"");var e=f.split("&");var a=e.length;if(a>0){for(var d=0;d<a;d++){var b=e[d].split("=",2);if(b[0]&&b[1]&&b[0]==c){return unescape(b[1])}}}}return null}Array.prototype.remove=function(c,b){var a=this.slice((b||c)+1||this.length);this.length=c<0?this.length+c:c;return this.push.apply(this,a)};jQuery.fn.loadthumb=function(b){b=$.extend({src:""},b);var c=this;c.hide();var a=new Image();$(a).load(function(){c.attr("src",b.src);c.fadeIn("slow")}).attr("src",b.src);return c};function sec2time(c){var f=Math.floor(c/(3600*24));var b=pad(Math.floor((c%(3600*24))/3600),2);var a=pad(Math.floor((c%3600)/60),2);var c=pad(c%60,2);var e=f+"天"+b+"小时"+a+"分"+c+"秒";return e}var pad=function(){var a=[];return function(c,d){var b=d-c.toString().length;if(b<=0){return c}if(!a[b]){a[b]=(new Array(b+1)).join("0")}return a[b]+c}}();function copyToCB(b){try{clipboardData.setData("Text",b);if(arguments.length>1){alert(arguments[1])}return true}catch(a){return false}}function param2Obj(c){if(c==""){return false}if(c.indexOf("?")>-1){c=c.substr(c.indexOf("?")+1)}var a=c.split("&");var b={};$.each(a,function(f,e){if(e!=""){var d=e.split("=");b[d[0]]=d[1]||""}});return b}jQuery.fn.rater=function(a){var b={enabled:true,url:"",method:"post",min:1,max:3,step:1,value:null,after_click:null,before_ajax:null,after_ajax:null,image:"/i/rater-star.gif",width:25,height:25};if(a){jQuery.extend(b,a)}var d=jQuery('<ul class="rater-star"></ul>');d.css("background-image","url("+b.image+")");d.css("height",b.height);d.css("width",(b.width*b.step)*(b.max-b.min+b.step)/b.step);var c=jQuery('<li class="rater-star-item-current"></li>');c.css("background-image","url("+b.image+")");c.css("height",b.height);c.css("width",0);c.css("z-index",b.max/b.step+1);if(b.value){c.css("width",((b.value-b.min)/b.step+1)*b.step*b.width)}d.append(c);for(var e=b.min;e<=b.max;e+=b.step){c=jQuery('<li class="rater-star-item"></li>');c.attr("title",e);c.css("height",b.height);c.css("width",(e-b.min+b.step)*b.width);c.css("z-index",(b.max-e)/b.step+1);c.css("background-image","url("+b.image+")");if(!b.enabled){c.hide()}d.append(c)}d.mouseover(function(){if(b.enabled){jQuery(this).find(".rater-star-item-current").hide()}}).mouseout(function(){jQuery(this).find(".rater-star-item-current").show()});d.find(".rater-star-item").mouseover(function(){jQuery(this).attr("class","rater-star-item-hover")}).mouseout(function(){jQuery(this).attr("class","rater-star-item")}).click(function(){jQuery(this).prevAll(".rater-star-item-current").css("width",jQuery(this).width());var h=(b.max-b.min)+b.step;var f=jQuery(this).prevAll(".rater-star-item").size()+1;var g=b.min+(f-1)*b.step;var i={value:g,number:f,count:h,min:b.min,max:b.max};if(typeof b.after_click=="function"){b.after_click(i)}if(b.url){jQuery.ajax({data:i,type:b.method,url:b.url,beforeSend:function(){if(typeof b.before_ajax=="function"){b.before_ajax(i)}},success:function(j){if(typeof b.after_ajax=="function"){i.ajax=j;b.after_ajax(i)}}})}});jQuery(this).html(d)};var vote={apiurl:"/API/huodong_digg.php",cookieName:"hd_digg",enableLogging:false,ids:[],log:function(a){if($.browser.mozilla&&this.enableLogging){console.log(a)}},good:function(a,b){this.save(1,a,b)},bad:function(a,b){this.save(-1,a,b)},save:function(c,a,d){var b=this;b.log("save");if(typeof(d)=="function"){d()}$.post(b.apiurl,{acid:a},function(e){})},run:function(){var a=this;$(".ac-digg").click(function(){var b=this;var c=this.href.substr(this.href.indexOf("#")+1);if(a.isExist(c)===false){a.ids.push(c);a.good(c,function(){var d=$(b).parents("ul").find("b.show-digg-box");d.text(parseInt(d.text())+1);a.setCookie()});a.showTip($(b))}else{alert("请不要反复投票哦！")}return false})},isExist:function(c){var b=this.getCookie();if(b==null){return false}var a=$.inArray(c,b);if(a==-1){return false}return a},getCookie:function(){if($.cookie(this.cookieName)==null){return null}var a=$.cookie(this.cookieName);this.ids=a.split("|");return this.ids},setCookie:function(){var a=this;$.cookie(a.cookieName,a.ids.join("|"),{expires:1,path:"/"})},getTipBox:function(){if($("#digg-tip").length==1){return $("#digg-tip")}else{return $('<div id="digg-tip" style="background:transparent url(http://taobao.qigou.com/i/tjsuccess.gif) no-repeat scroll 0 0;display:none;height:39px;overflow:hidden;position:absolute;width:150px;z-index:100;"><div>').appendTo("body")}},showTip:function(c){var a=this;var b=a.getTipBox();b.css({left:c.offset().left-(b.width()-c.width())/2,top:c.offset().top-b.height()-5}).show().animate({top:c.offset().top-b.height()-5-40,opacity:"hide"},{duration:1200})}};var init_para={ch:null};$(document).ready(function(){var a=init_para.ch||ch;if(a!=null){$("#ch"+a).addClass("nselect")}$("ul.search_tag>li").bind("click",function(){$("ul.search_tag>li").removeClass("sear_select");$(this).addClass("sear_select");$("ul.search_tag>li:last").addClass("last");if($(this).attr("pid")=="dazhe"){$("ul.search_tag>li:last").removeClass("last")}if($(this).attr("pid")!="taobao"){N.suggestBox.hide()}});$("#searchForm").submit(function(){var b=$("li.sear_select").attr("pid");changeSearchForm(b);var c=$(".sear_con",".searchBox");if(c.val()==""||c.attr("title")==c.val()){return false}});$(".favorites").hover(function(){$(".favdiv").show()},function(){$(".favdiv").hide()});$(".sear_con",".searchBox").focus(function(){if(this.value!=""&&this.value==$(this).attr("title")){this.value=""}this.style.color="black"}).blur(function(){if(this.value==""){this.value=$(this).attr("title");this.style.color=""}})});function changeSearchForm(b){var a=$("#searchForm");$("input[type=hidden]","#searchForm").remove();$("input.sear_con","#searchForm").attr("name","keyword");var c="";var d="_self";switch(b){case"dazhe":c="http://dazhe.qigou.com/";$('<input type="hidden" name="ac" value="search"/>').appendTo(a);break;case"shop":c="http://taobao.qigou.com/dianpu/";break;case"mall":c="http://www.qigou.com/b2c_list.php";$('<input type="hidden" name="ac" value="search"/>').appendTo(a);break;case"taobao":default:c="http://www.qigou.com/redirect.php";$("input.sear_con","#searchForm").attr("name","q");$('<input type="hidden" name="url" value="'+encodeURIComponent($("#q","#searchForm").val())+'"/>').appendTo(a);$('<input type="hidden" name="ac" value="taobao"/>').appendTo(a);d="_blank";break}$("#searchForm").attr({action:c,target:d})};