/* author: yuest, date: Mon Oct 10 2011 11:05:11 GMT+0800 (CST) */var _bdhmProtocol="https:"==document.location.protocol?"https://":"http://",_gaq=_gaq||[];_gaq.push(["_setAccount","UA-19521615-1"]);_gaq.push(["_trackPageview"]);_gaq.push(["_trackPageLoadTime"]); (function(){var j=document.getElementsByTagName("script")[0],i=document.createElement("script"),l=document.createElement("script");i.type="text/javascript";i.async=!0;i.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";l.type="text/javascript";l.async=!0;l.src=_bdhmProtocol+"hm.baidu.com/h.js?95dfd07652f91dffd9647f46a3ca9fab";j.parentNode.insertBefore(i,j);j.parentNode.insertBefore(l,j)})(); (function(j,i){function l(a,b,d){if(d===i&&a.nodeType===1)if(d=a.getAttribute("data-"+b),typeof d==="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:!c.isNaN(d)?parseFloat(d):W.test(d)?c.parseJSON(d):d}catch(f){}c.data(a,b,d)}else d=i;return d}function q(){return!1}function p(){return!0}function y(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function X(a){var b,d,f,g,k,o,m,H,h,i,j,l=[];g=[];k=c.data(this,this.nodeType?"events":"__events__");if(typeof k==="function")k=k.events;if(!(a.liveFired=== this||!k||!k.live||a.button&&a.type==="click")){a.namespace&&(j=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)"));a.liveFired=this;var n=k.live.slice(0);for(m=0;md)break;a.currentTarget=g.elem;a.data=g.handleObj.data;a.handleObj=g.handleObj;j=g.handleObj.origHandler.apply(g.elem,arguments);if(j===!1||a.isPropagationStopped())if(d=g.level,j===!1&&(b=!1),a.isImmediatePropagationStopped())break}return b}}function I(a,b){return(a&&a!=="*"?a+".":"")+b.replace(Aa,"`").replace(Ba,"&")}function J(a,b,d){if(c.isFunction(b))return c.grep(a, function(a,c){return!!b.call(a,c,a)===d});else if(b.nodeType)return c.grep(a,function(a){return a===b===d});else if(typeof b==="string"){var f=c.grep(a,function(a){return a.nodeType===1});if(Ca.test(b))return c.filter(b,f,!d);else b=c.filter(b,f)}return c.grep(a,function(a){return c.inArray(a,b)>=0===d})}function K(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var b=c.data(a[d++]),g=c.data(this,b);if(b=b&&b.events){delete g.handle;g.events={};for(var k in b)for(var o in b[k])c.event.add(this, k,b[k][o],b[k][o].data)}}})}function O(a,b){b.src?c.ajax({url:b.src,async:!1,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function F(a,b,d){var f=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return f;c.each(b==="width"?Da:Ea,function(){d||(f-=parseFloat(c.css(a,"padding"+this))||0);d==="margin"?f+=parseFloat(c.css(a,"margin"+this))||0:f-=parseFloat(c.css(a,"border"+this+"Width"))||0});return f}function C(a,b,d,f){c.isArray(b)&& b.length?c.each(b,function(b,k){d||Fa.test(a)?f(a,k):C(a+"["+(typeof k==="object"||c.isArray(k)?b:"")+"]",k,d,f)}):!d&&b!=null&&typeof b==="object"?c.isEmptyObject(b)?f(a,""):c.each(b,function(b,c){C(a+"["+b+"]",c,d,f)}):f(a,b)}function x(a,b){var d={};c.each(ha.concat.apply([],ha.slice(0,b)),function(){d[this]=a});return d}function P(a){if(!da[a]){var b=c("<"+a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";da[a]=d}return da[a]}function D(a){return c.isWindow(a)? a:a.nodeType===9?a.defaultView||a.parentWindow:!1}var n=j.document,c=function(){function a(){if(!b.isReady){try{n.documentElement.doScroll("left")}catch(c){setTimeout(a,1);return}b.ready()}}var b=function(a,c){return new b.fn.init(a,c)},c=j.jQuery,f=j.$,g,k=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,o=/\S/,m=/^\s+/,h=/\s+$/,l=/\W/,u=/\d/,w=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,v=/^[\],:{}\s]*$/,q=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,r=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,p=/(?:^|:|,)(?:\s*\[)+/g, E=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,A=/(msie) ([\w.]+)/,Ga=/(mozilla)(?:.*? rv:([\w.]+))?/,Q=navigator.userAgent,ia=!1,R=[],L,Ha=Object.prototype.toString,ea=Object.prototype.hasOwnProperty,B=Array.prototype.push,x=Array.prototype.slice,y=String.prototype.trim,ja=Array.prototype.indexOf,z={};b.fn=b.prototype={init:function(a,c){var d,f,t;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(a==="body"&&!c&&n.body)return this.context=n,this[0]= n.body,this.selector="body",this.length=1,this;if(typeof a==="string")if((d=k.exec(a))&&(d[1]||!c))if(d[1])return t=c?c.ownerDocument||c:n,(f=w.exec(a))?b.isPlainObject(c)?(a=[n.createElement(f[1])],b.fn.attr.call(a,c,!0)):a=[t.createElement(f[1])]:(f=b.buildFragment([d[1]],[t]),a=(f.cacheable?f.fragment.cloneNode(!0):f.fragment).childNodes),b.merge(this,a);else{if((f=n.getElementById(d[2]))&&f.parentNode){if(f.id!==d[2])return g.find(a);this.length=1;this[0]=f}this.context=n;this.selector=a;return this}else return!c&& !l.test(a)?(this.selector=a,this.context=n,a=n.getElementsByTagName(a),b.merge(this,a)):!c||c.jquery?(c||g).find(a):b(c).find(a);else if(b.isFunction(a))return g.ready(a);if(a.selector!==i)this.selector=a.selector,this.context=a.context;return b.makeArray(a,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length},toArray:function(){return x.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,c,d){var f=b();b.isArray(a)? B.apply(f,a):b.merge(f,a);f.prevObject=this;f.context=this.context;if(c==="find")f.selector=this.selector+(this.selector?" ":"")+d;else if(c)f.selector=this.selector+"."+c+"("+d+")";return f},each:function(a,c){return b.each(this,a,c)},ready:function(a){b.bindReady();b.isReady?a.call(n,b):R&&R.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(x.apply(this, arguments),"slice",x.call(arguments).join(","))},map:function(a){return this.pushStack(b.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||b(null)},push:B,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var a,c,d,f,g,t=arguments[0]||{},k=1,A=arguments.length,m=!1;typeof t==="boolean"&&(m=t,t=arguments[1]||{},k=2);typeof t!=="object"&&!b.isFunction(t)&&(t={});A===k&&(t=this,--k);for(;k0)&&R){var c=0,d=R;for(R=null;a=d[c++];)a.call(n,b);b.fn.trigger&&b(n).trigger("ready").unbind("ready")}}}, bindReady:function(){if(!ia){ia=!0;if(n.readyState==="complete")return setTimeout(b.ready,1);if(n.addEventListener)n.addEventListener("DOMContentLoaded",L,!1),j.addEventListener("load",b.ready,!1);else if(n.attachEvent){n.attachEvent("onreadystatechange",L);j.attachEvent("onload",b.ready);var c=!1;try{c=j.frameElement==null}catch(d){}n.documentElement.doScroll&&c&&a()}}},isFunction:function(a){return b.type(a)==="function"},isArray:Array.isArray||function(a){return b.type(a)==="array"},isWindow:function(a){return a&& typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!u.test(a)||isNaN(a)},type:function(a){return a==null?String(a):z[Ha.call(a)]||"object"},isPlainObject:function(a){if(!a||b.type(a)!=="object"||a.nodeType||b.isWindow(a))return!1;if(a.constructor&&!ea.call(a,"constructor")&&!ea.call(a.constructor.prototype,"isPrototypeOf"))return!1;for(var c in a);return c===i||ea.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(a){if(typeof a!== "string"||!a)return null;a=b.trim(a);if(v.test(a.replace(q,"@").replace(r,"]").replace(p,"")))return j.JSON&&j.JSON.parse?j.JSON.parse(a):(new Function("return "+a))();else b.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&o.test(a)){var c=n.getElementsByTagName("head")[0]||n.documentElement,d=n.createElement("script");d.type="text/javascript";b.support.scriptEval?d.appendChild(n.createTextNode(a)):d.text=a;c.insertBefore(d,c.firstChild);c.removeChild(d)}},nodeName:function(a, b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,t=0,g=a.length,k=g===i||b.isFunction(a);if(d)if(k)for(f in a){if(c.apply(a[f],d)===!1)break}else for(;t";a=n.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked; c(function(){var a=n.createElement("div");a.style.width=a.style.paddingLeft="1px";n.body.appendChild(a);c.boxModel=c.support.boxModel=a.offsetWidth===2;if("zoom"in a.style)a.style.display="inline",a.style.zoom=1,c.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="
",c.support.shrinkWrapBlocks=a.offsetWidth!==2;a.innerHTML="
t
";var b=a.getElementsByTagName("td");c.support.reliableHiddenOffsets= b[0].offsetHeight===0;b[0].style.display="";b[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&b[0].offsetHeight===0;a.innerHTML="";n.body.removeChild(a).style.display="none"});a=function(a){var b=n.createElement("div"),a="on"+a,c=a in b;c||(b.setAttribute(a,"return;"),c=typeof b[a]==="function");return c};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=g=k=null}})();var S={},W=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+ c.now(),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},data:function(a,b,d){if(c.acceptData(a)){var a=a==j?S:a,f=a.nodeType,g=f?a[c.expando]:null,k=c.cache;if(!f||g||!(typeof b==="string"&&d===i))return f?g||(a[c.expando]=g=++c.uuid):k=a,typeof b==="object"?f?k[g]=c.extend(k[g],b):c.extend(k,b):f&&!k[g]&&(k[g]={}),a=f?k[g]:k,d!==i&&(a[b]=d),typeof b==="string"?a[b]:a}},removeData:function(a,b){if(c.acceptData(a)){var a=a==j?S:a,d=a.nodeType,f=d?a[c.expando]:a,g=c.cache, k=d?g[f]:f;if(b)k&&(delete k[b],d&&c.isEmptyObject(k)&&c.removeData(a));else if(d&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando);else if(d)delete g[f];else for(var o in a)delete a[o]}},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===!0||a.getAttribute("classid")!==b)}return!0}});c.fn.extend({data:function(a,b){var d=null;if(typeof a==="undefined"){if(this.length)for(var f=this[0].attributes,g,d=c.data(this[0]), k=0,o=f.length;k-1)return!0;return!1},val:function(a){if(!arguments.length){var b=this[0];if(b){if(c.nodeName(b,"option")){var d= b.attributes.value;return!d||d.specified?b.value:b.text}if(c.nodeName(b,"select")){var f=b.selectedIndex,d=[],g=b.options,b=b.type==="select-one";if(f<0)return null;for(var k=b?f:0,f=b?f+1:g.length;k=0;else if(c.nodeName(this,"select")){var g=c.makeArray(f);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),g)>=0});if(!g.length)this.selectedIndex= -1}else this.value=f})}});c.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return i;if(f&&b in c.attrFn)return c(a)[b](d);var f=a.nodeType!==1||!c.isXMLDoc(a),g=d!==i,b=f&&c.props[b]||b,k=fa.test(b);if((b in a||a[b]!==i)&&f&&!k){g&&(b==="type"&&h.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed"),d===null?a.nodeType===1&&a.removeAttribute(b):a[b]=d);if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue; if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:w.test(a.nodeName)||u.test(a.nodeName)&&a.href?0:i;return a[b]}if(!c.support.style&&f&&b==="style"){if(g)a.style.cssText=""+d;return a.style.cssText}g&&a.setAttribute(b,""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return i;a=!c.support.hrefNormalized&&f&&k?a.getAttribute(b,2):a.getAttribute(b);return a===null?i:a}});var E=/\.(.*)$/,B=/^(?:textarea|input|select)$/i,Aa=/\./g,Ba=/ /g,Ia=/[^\w\s.|`]/g,Ja= function(a){return a.replace(Ia,"\\$&")},ka={focusin:0,focusout:0};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){c.isWindow(a)&&a!==j&&!a.frameElement&&(a=j);if(d===!1)d=q;else if(!d)return;var g,k;if(d.handler)g=d,d=g.handler;if(!d.guid)d.guid=c.guid++;if(k=c.data(a)){var o=a.nodeType?"events":"__events__",m=k[o],h=k.handle;if(typeof m==="function")h=m.handle,m=m.events;else if(!m)a.nodeType||(k[o]=k=function(){}),k.events=m={};if(!h)k.handle=h=function(){return typeof c!== "undefined"&&!c.event.triggered?c.event.handle.apply(h.elem,arguments):i};h.elem=a;for(var b=b.split(" "),l=0,n;o=b[l++];){k=g?c.extend({},g):{handler:d,data:f};o.indexOf(".")>-1?(n=o.split("."),o=n.shift(),k.namespace=n.slice(0).sort().join(".")):(n=[],k.namespace="");k.type=o;if(!k.guid)k.guid=d.guid;var u=m[o],w=c.event.special[o]||{};if(!u&&(u=m[o]=[],!w.setup||w.setup.call(a,f,n,h)===!1))a.addEventListener?a.addEventListener(o,h,!1):a.attachEvent&&a.attachEvent("on"+o,h);if(w.add&&(w.add.call(a, k),!k.handler.guid))k.handler.guid=d.guid;u.push(k);c.event.global[o]=!0}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){d===!1&&(d=q);var g,k,o=0,m,h,i,j,n,l,w=a.nodeType?"events":"__events__",u=c.data(a),v=u&&u[w];if(u&&v){if(typeof v==="function")u=v,v=v.events;if(b&&b.type)d=b.handler,b=b.type;if(!b||typeof b==="string"&&b.charAt(0)===".")for(g in b=b||"",v)c.event.remove(a,g+b);else{for(b=b.split(" ");g=b[o++];)if(j=g,m=g.indexOf(".")<0,h=[],m||(h=g.split("."), g=h.shift(),i=RegExp("(^|\\.)"+c.map(h.slice(0).sort(),Ja).join("\\.(?:.*\\.)?")+"(\\.|$)")),n=v[g])if(d){j=c.event.special[g]||{};for(k=f||0;k=0)a.type=g=g.slice(0,-1),a.exclusive=!0;d||(a.stopPropagation(),c.event.global[g]&&c.each(c.cache,function(){this.events&&this.events[g]&&c.event.trigger(a,b,this.handle.elem)}));if(!d||d.nodeType=== 3||d.nodeType===8)return i;a.result=i;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=d.nodeType?c.data(d,"handle"):(c.data(d,"__events__")||{}).handle)&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if((!d||!d.nodeName||!c.noData[d.nodeName.toLowerCase()])&&d["on"+g]&&d["on"+g].apply(d,b)===!1)a.result=!1,a.preventDefault()}catch(k){}if(!a.isPropagationStopped()&&f)c.event.trigger(a,b,f,!0);else if(!a.isDefaultPrevented()){var o,f=a.target,m=g.replace(E,""),h=c.nodeName(f,"a")&& m==="click",j=c.event.special[m]||{};if((!j._default||j._default.call(d,a)===!1)&&!h&&(!f||!f.nodeName||!c.noData[f.nodeName.toLowerCase()])){try{if(f[m])(o=f["on"+m])&&(f["on"+m]=null),c.event.triggered=!0,f[m]()}catch(n){}o&&(f["on"+m]=o);c.event.triggered=!1}}},handle:function(a){var b,d,f,g;d=[];var k=c.makeArray(arguments),a=k[0]=c.event.fix(a||j.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b)f=a.type.split("."),a.type=f.shift(),d=f.slice(0).sort(),f=RegExp("(^|\\.)"+ d.join("\\.(?:.*\\.)?")+"(\\.|$)");a.namespace=a.namespace||d.join(".");g=c.data(this,this.nodeType?"events":"__events__");if(typeof g==="function")g=g.events;d=(g||{})[a.type];if(g&&d){d=d.slice(0);g=0;for(var o=d.length;g-1?c.map(a.options,function(a){return a.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Z=function(a,b){var d=a.target,f,g;if(B.test(d.nodeName)&&!d.readOnly&&(f=c.data(d,"_change_data"),g=na(d),(a.type!=="focusout"||d.type!=="radio")&&c.data(d,"_change_data",g),!(f===i||g===f)))if(f!=null||g)return a.type="change",a.liveFired= i,c.event.trigger(a,b,d)};c.event.special.change={filters:{focusout:Z,beforedeactivate:Z,click:function(a){var b=a.target,c=b.type;if(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")return Z.call(this,a)},keydown:function(a){var b=a.target,c=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")return Z.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",na(a))}},setup:function(){if(this.type=== "file")return!1;for(var a in U)c.event.add(this,a+".specialChange",U[a]);return B.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return B.test(this.nodeName)}};U=c.event.special.change.filters;U.focus=U.beforeactivate}n.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(a){a=c.event.fix(a);a.type=b;return c.event.trigger(a,null,a.target)}c.event.special[b]={setup:function(){ka[b]++===0&&n.addEventListener(a,d,!0)},teardown:function(){--ka[b]=== 0&&n.removeEventListener(a,d,!0)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(a,f,g){if(typeof a==="object"){for(var k in a)this[b](k,f,a[k],g);return this}if(c.isFunction(f)||f===!1)g=f,f=i;var o=b==="one"?c.proxy(g,function(a){c(this).unbind(a,o);return g.apply(this,arguments)}):g;if(a==="unload"&&b!=="one")this.one(a,f,g);else{k=0;for(var m=this.length;k0?this.bind(b,a,c):this.trigger(b)};c.attrFn&&(c.attrFn[b]=!0)});j.attachEvent&&!j.addEventListener&&c(j).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}}); (function(){function a(a,b,c,d,f,g){for(var f=0,k=d.length;f0){o=h;break}}h=h[a]}d[f]=o}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,f=0,g=Object.prototype.toString,k=!1,o=!0;[0,0].sort(function(){o=!1;return 0});var m=function(a,b,c,f){var c=c||[],k=b=b||n;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!a||typeof a!=="string")return c;var o,i,l,u,v,q=!0,r=m.isXML(b),p=[],B=a;do if(d.exec(""),o=d.exec(B))if(B=o[3],p.push(o[1]),o[2]){u=o[3];break}while(o); if(p.length>1&&j.exec(a))if(p.length===2&&h.relative[p[0]])i=E(p[0]+p[1],b);else for(i=h.relative[p[0]]?[b]:m(p.shift(),b);p.length;)a=p.shift(),h.relative[a]&&(a+=p.shift()),i=E(a,i);else if(!f&&p.length>1&&b.nodeType===9&&!r&&h.match.ID.test(p[0])&&!h.match.ID.test(p[p.length-1])&&(o=m.find(p.shift(),b,r),b=o.expr?m.filter(o.expr,o.set)[0]:o.set[0]),b){o=f?{expr:p.pop(),set:w(f)}:m.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&b.parentNode?b.parentNode:b,r);i=o.expr?m.filter(o.expr,o.set): o.set;for(p.length>0?l=w(i):q=!1;p.length;)o=v=p.pop(),h.relative[v]?o=p.pop():v="",o==null&&(o=b),h.relative[v](l,o,r)}else l=[];l||(l=i);l||m.error(v||a);if(g.call(l)==="[object Array]")if(q)if(b&&b.nodeType===1)for(a=0;l[a]!=null;a++)l[a]&&(l[a]===!0||l[a].nodeType===1&&m.contains(b,l[a]))&&c.push(i[a]);else for(a=0;l[a]!=null;a++)l[a]&&l[a].nodeType===1&&c.push(i[a]);else c.push.apply(c,l);else w(l,c);u&&(m(u,k,c,f),m.uniqueSort(c));return c};m.uniqueSort=function(a){if(q&&(k=o,a.sort(q),k))for(var b= 1;b0};m.find=function(a,b,c){var d;if(!a)return[];for(var f=0,g=h.order.length;f":function(a,b){var c,d=typeof b==="string",f=0,g=a.length;if(d&&!/\W/.test(b))for(b=b.toLowerCase();f=0)?c||d.push(k):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(/\\/g,"")},TAG:function(a){return a[1].toLowerCase()},CHILD:function(a){if(a[1]==="nth"){var b=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}a[0]=f++;return a},ATTR:function(a,b,c,d,f,g){b=a[1].replace(/\\/g, "");!g&&h.attrMap[b]&&(a[1]=h.attrMap[b]);a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,c,f,g){if(a[1]==="not")if((d.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=m(a[3],null,null,b);else return a=m.filter(a[3],b,c,1^g),c||f.push.apply(f,a),!1;else if(h.match.POS.test(a[0])||h.match.CHILD.test(a[0]))return!0;return a},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked=== !0},selected:function(a){return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.type},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"=== a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]- 0===b}},filter:{PSEUDO:function(a,b,c,d){var f=b[1],g=h.filters[f];if(g)return g(a,c,b,d);else if(f==="contains")return(a.textContent||a.innerText||m.getText([a])||"").indexOf(b[3])>=0;else if(f==="not"){b=b[3];c=0;for(d=b.length;c=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)> -1},ATTR:function(a,b){var c=b[1],c=h.attrHandle[c]?h.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),d=c+"",f=b[2],g=b[4];return c==null?f==="!=":f==="="?d===g:f==="*="?d.indexOf(g)>=0:f==="~="?(" "+d+" ").indexOf(g)>=0:!g?d&&c!==!1:f==="!="?d!==g:f==="^="?d.indexOf(g)===0:f==="$="?d.substr(d.length-g.length)===g:f==="|="?d===g||d.substr(0,g.length+1)===g+"-":!1},POS:function(a,b,c,d){var f=h.setFilters[b[2]];if(f)return f(a,c,b,d)}}},j=h.match.POS,l=function(a,b){return"\\"+(b-0+1)},u;for(u in h.match)h.match[u]= RegExp(h.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source),h.leftMatch[u]=RegExp(/(^(?:.|\r|\n)*?)/.source+h.match[u].source.replace(/\\(\d+)/g,l));var w=function(a,b){a=Array.prototype.slice.call(a,0);if(b)return b.push.apply(b,a),b;return a};try{Array.prototype.slice.call(n.documentElement.childNodes,0)}catch(v){w=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var f=a.length;c";c.insertBefore(a,c.firstChild); if(n.getElementById(b))h.find.ID=function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(b=b.getElementById(a[1]))?b.id===a[1]||typeof b.getAttributeNode!=="undefined"&&b.getAttributeNode("id").nodeValue===a[1]?[b]:i:[]},h.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b};c.removeChild(a);c=a=null})();(function(){var a=n.createElement("div");a.appendChild(n.createComment(""));if(a.getElementsByTagName("*").length> 0)h.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){for(var d=[],f=0;c[f];f++)c[f].nodeType===1&&d.push(c[f]);c=d}return c};a.innerHTML="";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")h.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();n.querySelectorAll&&function(){var a=m,b=n.createElement("div");b.innerHTML="

";if(!(b.querySelectorAll&&b.querySelectorAll(".TEST").length=== 0)){m=function(b,c,d,f){c=c||n;b=b.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!f&&!m.isXML(c))if(c.nodeType===9)try{return w(c.querySelectorAll(b),d)}catch(g){}else if(c.nodeType===1&&c.nodeName.toLowerCase()!=="object"){var k=c.getAttribute("id"),h=k||"__sizzle__";k||c.setAttribute("id",h);try{return w(c.querySelectorAll("#"+h+" "+b),d)}catch(o){}finally{k||c.removeAttribute("id")}}return a(b,c,d,f)};for(var c in a)m[c]=a[c];b=null}}();(function(){var a=n.documentElement,b=a.matchesSelector||a.mozMatchesSelector|| a.webkitMatchesSelector||a.msMatchesSelector,c=!1;try{b.call(n.documentElement,"[test!='']:sizzle")}catch(d){c=!0}if(b)m.matchesSelector=function(a,d){d=d.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(c||!h.match.PSEUDO.test(d)&&!/!=/.test(d))return b.call(a,d)}catch(f){}return m(d,null,null,[a]).length>0}})();(function(){var a=n.createElement("div");a.innerHTML="
";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!== 0&&(a.lastChild.className="e",a.getElementsByClassName("e").length!==1))h.order.splice(1,0,"CLASS"),h.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null})();m.contains=n.documentElement.contains?function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:n.documentElement.compareDocumentPosition?function(a,b){return!!(a.compareDocumentPosition(b)&16)}:function(){return!1};m.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)? a.nodeName!=="HTML":!1};var E=function(a,b){for(var c,d=[],f="",g=b.nodeType?[b]:b;c=h.match.PSEUDO.exec(a);)f+=c[0],a=a.replace(h.match.PSEUDO,"");a=h.relative[a]?a+"*":a;c=0;for(var k=g.length;c0)for(var k=d;k0},closest:function(a, b){var d=[],f,g,k=this[0];if(c.isArray(a)){var h,m={},i=1;if(k&&a.length){f=0;for(g=a.length;f-1:c(k).is(f))&&d.push({selector:h,elem:k,level:i});k=k.parentNode;i++}}return d}h=Oa.test(a)?c(a,b||this.context):null;f=0;for(g=this.length;f-1:c.find.matchesSelector(k,a)){d.push(k);break}else if(k=k.parentNode,!k||!k.ownerDocument|| k===b)break;d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context):c.makeArray(a),f=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!f[0]||!f[0].parentNode||f[0].parentNode.nodeType===11?f:c.unique(f))},andSelf:function(){return this.add(this.prevObject)}}); c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling", d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var g=c.map(this,b,d);Ka.test(a)||(f=d);f&&typeof f==="string"&&(g=c.filter(f,g));g=this.length>1?c.unique(g):g;if((this.length>1||Ma.test(f))&&La.test(a))g=g.reverse();return this.pushStack(g,a,Na.call(arguments).join(","))}}); c.extend({filter:function(a,b,d){d&&(a=":not("+a+")");return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){for(var f=[],a=a[b];a&&a.nodeType!==9&&(d===i||a.nodeType!==1||!c(a).is(d));)a.nodeType===1&&f.push(a),a=a[b];return f},nth:function(a,b,c){for(var b=b||1,f=0;a;a=a[c])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var pa=/ jQuery\d+="(?:\d+|null)"/g, aa=/^\s+/,qa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,ra=/<([\w:]+)/,Pa=/\s]+\/)>/g,z={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"], area:[1,"",""],_default:[0,"",""]};z.optgroup=z.option;z.tbody=z.tfoot=z.colgroup=z.caption=z.thead;z.th=z.td;if(!c.support.htmlSerialize)z._default=[1,"div
","
"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==i)return this.empty().append((this[0]&&this[0].ownerDocument||n).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapAll(a.call(this, b))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})}, unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});else if(arguments.length){var a= c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length)!b&&f.nodeType===1&&(c.cleanData(f.getElementsByTagName("*")), c.cleanData([f])),f.parentNode&&f.parentNode.removeChild(f);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var a=this.outerHTML,b=this.ownerDocument;if(!a)a=b.createElement("div"),a.appendChild(this.cloneNode(!0)),a=a.innerHTML;return c.clean([a.replace(pa,"").replace(Ra,'="$1">').replace(aa, "")],b)[0]}else return this.cloneNode(!0)});a===!0&&(K(this,b),K(this.find("*"),b.find("*")));return b},html:function(a){if(a===i)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(pa,""):null;else if(typeof a==="string"&&!sa.test(a)&&(c.support.leadingWhitespace||!aa.test(a))&&!z[(ra.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(qa,"<$1>");try{for(var b=0,d=this.length;b0||f.cacheable||this.length>1?k.cloneNode(!0):k)}m.length&&c.each(m,O)}return this}});c.buildFragment=function(a,b,d){var f,g,k,b=b&&b[0]?b[0].ownerDocument||b[0]:n;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===n&&!sa.test(a[0])&&(c.support.checkClone|| !ta.test(a[0])))g=!0,(k=c.fragments[a[0]])&&k!==1&&(f=k);f||(f=b.createDocumentFragment(),c.clean(a,b,f,d));g&&(c.fragments[a[0]]=k?f:1);return{fragment:f,cacheable:g}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[],d=c(d),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&d.length===1)return d[b](this[0]),this;else{for(var g=0,k=d.length;g< k;g++){var h=(g>0?this.clone(!0):this).get();c(d[g])[b](h);f=f.concat(h)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||n;typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||n);for(var g=[],k=0,h;(h=a[k])!=null;k++)if(typeof h==="number"&&(h+=""),h){if(typeof h==="string"&&!Qa.test(h))h=b.createTextNode(h);else if(typeof h==="string"){h=h.replace(qa,"<$1>");var m=(ra.exec(h)||["",""])[1].toLowerCase(),i=z[m]||z._default,j=i[0], l=b.createElement("div");for(l.innerHTML=i[1]+h+i[2];j--;)l=l.lastChild;if(!c.support.tbody){j=Pa.test(h);m=m==="table"&&!j?l.firstChild&&l.firstChild.childNodes:i[1]===""&&!j?l.childNodes:[];for(i=m.length-1;i>=0;--i)c.nodeName(m[i],"tbody")&&!m[i].childNodes.length&&m[i].parentNode.removeChild(m[i])}!c.support.leadingWhitespace&&aa.test(h)&&l.insertBefore(b.createTextNode(aa.exec(h)[0]),l.firstChild);h=l.childNodes}h.nodeType?g.push(h):g=c.merge(g,h)}if(d)for(k=0;g[k];k++)f&&c.nodeName(g[k], "script")&&(!g[k].type||g[k].type.toLowerCase()==="text/javascript")?f.push(g[k].parentNode?g[k].parentNode.removeChild(g[k]):g[k]):(g[k].nodeType===1&&g.splice.apply(g,[k+1,0].concat(c.makeArray(g[k].getElementsByTagName("script")))),d.appendChild(g[k]));return g},cleanData:function(a){for(var b,d,f=c.cache,g=c.event.special,h=c.support.deleteExpando,o=0,m;(m=a[o])!=null;o++)if(!m.nodeName||!c.noData[m.nodeName.toLowerCase()])if(d=m[c.expando]){if((b=f[d])&&b.events)for(var i in b.events)g[i]?c.event.remove(m, i):c.removeEvent(m,i,b.handle);h?delete m[c.expando]:m.removeAttribute&&m.removeAttribute(c.expando);delete f[d]}}});var ua=/alpha\([^)]*\)/i,Sa=/opacity=([^)]*)/,Ta=/-([a-z])/ig,Ua=/([A-Z])/g,va=/^-?\d+(?:px)?$/i,Va=/^-?\d/,Wa={position:"absolute",visibility:"hidden",display:"block"},Da=["Left","Right"],Ea=["Top","Bottom"],V,wa,ba,Xa=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===i)return this;return c.access(this,a,b,!0,function(a,b,g){return g!==i?c.style(a, b,g):c.css(a,b)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=V(a,"opacity","opacity");return c===""?"1":c}else return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,f){if(a&&!(a.nodeType===3||a.nodeType===8||!a.style)){var g,h=c.camelCase(b),o=a.style,m=c.cssHooks[h],b=c.cssProps[h]||h;if(d!==i){if(!(typeof d==="number"&&isNaN(d)||d==null))if(typeof d==="number"&& !c.cssNumber[h]&&(d+="px"),!m||!("set"in m)||(d=m.set(a,d))!==i)try{o[b]=d}catch(j){}}else{if(m&&"get"in m&&(g=m.get(a,!1,f))!==i)return g;return o[b]}}},css:function(a,b,d){var f,g=c.camelCase(b),h=c.cssHooks[g],b=c.cssProps[g]||g;if(h&&"get"in h&&(f=h.get(a,!0,d))!==i)return f;else if(V)return V(a,b,g)},swap:function(a,b,c){var f={},g;for(g in b)f[g]=a.style[g],a.style[g]=b[g];c.call(a);for(g in b)a.style[g]=f[g]},camelCase:function(a){return a.replace(Ta,Xa)}});c.curCSS=c.css;c.each(["height", "width"],function(a,b){c.cssHooks[b]={get:function(a,f,g){var h;if(f){a.offsetWidth!==0?h=F(a,b,g):c.swap(a,Wa,function(){h=F(a,b,g)});if(h<=0&&(h=V(a,b,b),h==="0px"&&ba&&(h=ba(a,b,b)),h!=null))return h===""||h==="auto"?"0px":h;if(h<0||h==null)return h=a.style[b],h===""||h==="auto"?"0px":h;return typeof h==="string"?h:h+"px"}},set:function(a,b){if(va.test(b)){if(b=parseFloat(b),b>=0)return b+"px"}else return b}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return Sa.test((b&&a.currentStyle? a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var f=c.isNaN(b)?"":"alpha(opacity="+b*100+")",g=d.filter||"";d.filter=ua.test(g)?g.replace(ua,f):d.filter+" "+f}};n.defaultView&&n.defaultView.getComputedStyle&&(wa=function(a,b,d){var f,d=d.replace(Ua,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return i;if(b=b.getComputedStyle(a,null))f=b.getPropertyValue(d),f===""&&!c.contains(a.ownerDocument.documentElement,a)&& (f=c.style(a,d));return f});n.documentElement.currentStyle&&(ba=function(a,b){var c,f,g=a.currentStyle&&a.currentStyle[b],h=a.style;if(!va.test(g)&&Va.test(g))c=h.left,f=a.runtimeStyle.left,a.runtimeStyle.left=a.currentStyle.left,h.left=b==="fontSize"?"1em":g||0,g=h.pixelLeft+"px",h.left=c,a.runtimeStyle.left=f;return g===""?"auto":g});V=wa||ba;if(c.expr&&c.expr.filters)c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display|| c.css(a,"display"))==="none"},c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)};var Ya=c.now(),Za=/)<[^<]*)*<\/script>/gi,$a=/^(?:select|textarea)/i,ab=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bb=/^(?:GET|HEAD)$/,Fa=/\[\]$/,N=/\=\?(&|$)/,ga=/\?/,cb=/([?&])_=[^&]*/,db=/^(\w+:)?\/\/([^\/?#]+)/,eb=/%20/g,fb=/#.*$/,xa=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&xa)return xa.apply(this, arguments);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0)var g=a.slice(f,a.length),a=a.slice(0,f);f="GET";b&&(c.isFunction(b)?(d=b,b=null):typeof b==="object"&&(b=c.param(b,c.ajaxSettings.traditional),f="POST"));var h=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(a,b){if(b==="success"||b==="notmodified")h.html(g?c("
").append(a.responseText.replace(Za,"")).find(g):a.responseText);d&&h.each(d,[a.responseText,b,a])}});return this},serialize:function(){return c.param(this.serializeArray())}, serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||$a.test(this.nodeName)||ab.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(a){return{name:b.name,value:a}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(a){return this.bind(b, a)}});c.extend({get:function(a,b,d,f){c.isFunction(b)&&(f=f||d,d=b,b=null);return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){c.isFunction(b)&&(f=f||d,d=b,b={});return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:!0,type:"GET",contentType:"application/x-www-form-urlencoded", processData:!0,async:!0,xhr:function(){return new j.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=c.extend(!0,{},c.ajaxSettings,a),d,f,g,h=b.type.toUpperCase(),o=bb.test(h);b.url=b.url.replace(fb,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional); if(b.dataType==="jsonp"){if(h==="GET")N.test(b.url)||(b.url+=(ga.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data||!N.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&N.test(b.data)||N.test(b.url))){d=b.jsonpCallback||"jsonp"+Ya++;if(b.data)b.data=(b.data+"").replace(N,"="+d+"$1");b.url=b.url.replace(N,"="+d+"$1");b.dataType="script";var m=j[d];j[d]=function(a){if(c.isFunction(m))m(a);else{j[d]=i;try{delete j[d]}catch(h){}}g= a;c.handleSuccess(b,r,f,g);c.handleComplete(b,r,f,g);w&&w.removeChild(v)}}if(b.dataType==="script"&&b.cache===null)b.cache=!1;if(b.cache===!1&&o){var l=c.now(),u=b.url.replace(cb,"$1_="+l);b.url=u+(u===b.url?(ga.test(b.url)?"&":"?")+"_="+l:"")}b.data&&o&&(b.url+=(ga.test(b.url)?"&":"?")+b.data);b.global&&c.active++===0&&c.event.trigger("ajaxStart");l=(l=db.exec(b.url))&&(l[1]&&l[1].toLowerCase()!==location.protocol||l[2].toLowerCase()!==location.host);if(b.dataType==="script"&&h==="GET"&&l){var w= n.getElementsByTagName("head")[0]||n.documentElement,v=n.createElement("script");if(b.scriptCharset)v.charset=b.scriptCharset;v.src=b.url;if(!d){var q=!1;v.onload=v.onreadystatechange=function(){if(!q&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete"))q=!0,c.handleSuccess(b,r,f,g),c.handleComplete(b,r,f,g),v.onload=v.onreadystatechange=null,w&&v.parentNode&&w.removeChild(v)}}w.insertBefore(v,w.firstChild);return i}var p=!1,r=b.xhr();if(r){b.username?r.open(h,b.url,b.async, b.username,b.password):r.open(h,b.url,b.async);try{(b.data!=null&&!o||a&&a.contentType)&&r.setRequestHeader("Content-Type",b.contentType),b.ifModified&&(c.lastModified[b.url]&&r.setRequestHeader("If-Modified-Since",c.lastModified[b.url]),c.etag[b.url]&&r.setRequestHeader("If-None-Match",c.etag[b.url])),l||r.setRequestHeader("X-Requested-With","XMLHttpRequest"),r.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(E){}if(b.beforeSend&& b.beforeSend.call(b.context,r,b)===!1)return b.global&&c.active--===1&&c.event.trigger("ajaxStop"),r.abort(),!1;b.global&&c.triggerGlobal(b,"ajaxSend",[r,b]);var B=r.onreadystatechange=function(a){if(!r||r.readyState===0||a==="abort"){if(p||c.handleComplete(b,r,f,g),p=!0,r)r.onreadystatechange=c.noop}else if(!p&&r&&(r.readyState===4||a==="timeout")){p=!0;r.onreadystatechange=c.noop;f=a==="timeout"?"timeout":!c.httpSuccess(r)?"error":b.ifModified&&c.httpNotModified(r,b.url)?"notmodified":"success"; var h;if(f==="success")try{g=c.httpData(r,b.dataType,b)}catch(k){f="parsererror",h=k}f==="success"||f==="notmodified"?d||c.handleSuccess(b,r,f,g):c.handleError(b,r,f,h);d||c.handleComplete(b,r,f,g);a==="timeout"&&r.abort();b.async&&(r=null)}};try{var t=r.abort;r.abort=function(){r&&Function.prototype.call.call(t,r);B("abort")}}catch(x){}b.async&&b.timeout>0&&setTimeout(function(){r&&!p&&B("timeout")},b.timeout);try{r.send(o||b.data==null?null:b.data)}catch(y){c.handleError(b,r,null,y),c.handleComplete(b, r,f,g)}b.async||B();return r}},param:function(a,b){var d=[],f=function(a,b){b=c.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(b===i)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var g in a)C(g,a[g],b,f);return d.join("&").replace(eb,"+")}});c.extend({active:0,lastModified:{},etag:{},handleError:function(a,b,d,f){a.error&&a.error.call(a.context,b,d,f);a.global&&c.triggerGlobal(a,"ajaxError",[b,a,f])}, handleSuccess:function(a,b,d,f){a.success&&a.success.call(a.context,f,d,b);a.global&&c.triggerGlobal(a,"ajaxSuccess",[b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},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!1},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");d&&(c.lastModified[b]=d);f&&(c.etag[b]=f);return a.status===304},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",g=b==="xml"||!b&&f.indexOf("xml")>=0,a=g?a.responseXML:a.responseText;g&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");d&&d.dataFilter&&(a=d.dataFilter(a,b));typeof a==="string"&&(b==="json"|| !b&&f.indexOf("json")>=0?a=c.parseJSON(a):(b==="script"||!b&&f.indexOf("javascript")>=0)&&c.globalEval(a));return a}});if(j.ActiveXObject)c.ajaxSettings.xhr=function(){if(j.location.protocol!=="file:")try{return new j.XMLHttpRequest}catch(a){}try{return new j.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}};c.support.ajax=!!c.ajaxSettings.xhr();var da={},gb=/^(?:toggle|show|hide)$/,hb=/^([+\-]=)?([\d+.\-]+)(.*)$/,ca,ha=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft", "marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(x("show",3),a,b,d);else{for(var d=0,f=this.length;d=0;a--)if(d[a].elem===this){if(b)d[a](!0);d.splice(a,1)}});b||this.dequeue();return this}});c.each({slideDown:x("show",1),slideUp:x("hide",1),slideToggle:x("toggle",1),fadeIn:{opacity:"show"}, fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(a,c,g){return this.animate(b,a,c,g)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration==="number"?f.duration:f.duration in c.fx.speeds?c.fx.speeds[f.duration]:c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==!1&&c(this).dequeue();c.isFunction(f.old)&& f.old.call(this)};return f},easing:{linear:function(a,b,c,f){return c+f*a},swing:function(a,b,c,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+c}},timers:[],fx:function(a,b,c){this.options=b;this.elem=a;this.prop=c;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop]; var a=parseFloat(c.css(this.elem,this.prop));return a&&a>-1E4?a:0},custom:function(a,b,d){function f(a){return g.step(a)}var g=this,h=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;f.elem=this.elem;f()&&c.timers.push(f)&&!ca&&(ca=setInterval(h.tick,h.interval))},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=!0;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()); c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=!0;for(var f in this.options.curAnim)this.options.curAnim[f]!==!0&&(d=!1);if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var g=this.elem,h=this.options;c.each(["","X","Y"], function(a,b){g.style["overflow"+b]=h.overflow[a]})}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var i in this.options.curAnim)c.style(this.elem,i,this.options.orig[i]);this.options.complete.call(this.elem)}return!1}else a=b-this.startTime,this.state=a/this.options.duration,b=this.options.easing||(c.easing.swing?"swing":"linear"),this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration),this.now= this.start+(this.end-this.start)*this.pos,this.update();return!0}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b-1,f={},l={};j&&(l=h.position());i=j?l.top:parseInt(i,10)||0;m=j?l.left:parseInt(m,10)||0;c.isFunction(b)&&(b=b.call(a,d,k));if(b.top!=null)f.top=b.top-k.top+ i;if(b.left!=null)f.left=b.left-k.left+m;"using"in b?b.using.call(a,f):h.css(f)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=ya.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;f.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;f.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a= this.offsetParent||n.body;a&&!ya.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(b){var h=this[0],k;if(!h)return null;return b!==i?this.each(function(){(k=D(this))?k.scrollTo(!a?b:c(k).scrollLeft(),a?b:c(k).scrollTop()):this[d]=b}):(k=D(h))?"pageXOffset"in k?k[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&k.document.documentElement[d]||k.document.body[d]:h[d]}});c.each(["Height","Width"],function(a, b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(a){return this[0]?parseFloat(c.css(this[0],d,a?"margin":"border")):null};c.fn[d]=function(a){var h=this[0];if(!h)return a==null?null:this;if(c.isFunction(a))return this.each(function(b){var h=c(this);h[d](a.call(this,b,h[d]()))});if(c.isWindow(h))return h.document.compatMode==="CSS1Compat"&&h.document.documentElement["client"+b]||h.document.body["client"+b];else if(h.nodeType=== 9)return Math.max(h.documentElement["client"+b],h.body["scroll"+b],h.documentElement["scroll"+b],h.body["offset"+b],h.documentElement["offset"+b]);else if(a===i){var h=c.css(h,d),k=parseFloat(h);return c.isNaN(k)?h:k}else return this.css(d,typeof a==="string"?a:a+"px")}})})(window);var G={}; (function(j,i,l){function q(c,i){c.addEventListener("load",i,!1);c.addEventListener("error",function(){G.log("404 error:",c.src);i()},!1)}function p(c,i){i.call(null,c);if(c in F){for(var j=F[c],l=0,n=j.length;l)[^>]*$/;G.ua=function(){var c=!+"\v1",j=c&&!("maxHeight"in i.body.style),l=c&&"prototype"in Image;return{isIE:c,isIE6:j,isIE8:l,isIE7:c&&!j&&!l}}(); G.ua.isIE&&(q=function(c,i){c.attachEvent("onreadystatechange",function(){var j=c.readyState;(j==="loaded"||j==="complete")&&i()})});G.loadScript=function(c,i){var j=document.createElement("script"),l=document.getElementsByTagName("head")[0];q(j,function(){i&&i.call(j);try{if(j.clearAttributes)j.clearAttributes();else for(var c in j)delete j[c]}catch(h){}l.removeChild(j)});j.async=!0;j.src=c;j.type="text/javascript";return l.insertBefore(j,l.firstChild)};G.isFun=function(c){return Y.call(c).slice(8, -1)==="Function"};G.isArray=c||function(c){return Y.call(c)==="[object Array]"};G.isNumber=function(c){return!!(c===0||c&&c.toExponential&&c.toFixed)};G.isHtml=function(c){return fa.test(c)};G.each=function(c,i,j){if(c!=null)if(D.forEach&&c.forEach===D.forEach)c.forEach(i,j);else if(G.isNumber(c.length))for(var l=0,q=c.length;l1)throw Error("Object.create implementation only accepts the first parameter.");i.prototype=c;return new i};if(!D.indexOf)D.indexOf=function(c){if(this===void 0||this===null)throw new TypeError;var i=Object(this),j=i.length>>>0;if(j===0)return-1;var l=0;arguments.length>0&&(l=Number(arguments[1]),isNaN(l)?l=0:l!==0&&l!==1/0&&l!==-(1/0)&&(l=(l> 0||-1)*Math.floor(Math.abs(l))));if(l>=j)return-1;for(l=l>=0?l:Math.max(j-Math.abs(l),0);l0&&(s=document.cookie.indexOf(j+"="),s!=-1)){s=s+j.length+1;e=document.cookie.indexOf(";",s);if(e==-1)e=document.cookie.length;return unescape(document.cookie.substring(s,e))}return""},set:function(j,i,l,q){document.cookie=j+"="+escape(i)+(l==null?"":";expires="+l.toGMTString())+";path="+(q||"/");return this}}); G.def("placeholder",function(){function j(i,j){i.val()===""&&i.val(j).css("color","#CCC")}var i=document.createElement("textarea").placeholder==="";return{init:function(l){if(!i){var q=$(l),p=q.attr("placeholder"),y=q.css("color");j(q,p);q.focus(function(){q.val()===p&&q.val("").css("color",y)}).blur(function(){j(q,p)})}return this},submit:function(j,q,p){var y=$(j),j=$(q);i?j.submit(p):j.submit(function(){var i=y.attr("placeholder");y.val()===i&&y.val("");return p.apply(this,arguments)});return this}, support:i}});G.def("gPopMenu",function(){function j(i,j){var q=j?i:i.children(":eq(0)"),p=j?i.next():i.children(":eq(1)");q.mouseover(function(){j?(G.ua.isIE6&&p.width(q.outerWidth()+2),p.show()):i.addClass("hover")});j?p.mouseleave(function(){p.hide()}):i.mouseleave(function(){i.removeClass("hover")})}return function(i,l){$(i).each(function(){j($(this),l)})}});jQuery.fn.doOnce=function(j,i){var l=this;l.length&&(i?G.req(i,function(){j.apply(l,arguments)}):j.apply(l));return this}; var api={prefixCode:"YiQunSongShu",encodePassword:function(j,i,l,q){j=j.toLowerCase();$.ajax({type:"post",url:"/api/userinfo/get_token/",data:{username:j},dataType:"json",success:function(p){p=p.token;i=q(api.prefixCode+i);i=q(p+i);j=q(p+j);l.call(null,j,i)},error:function(i){$loading.detach();showError(i.status===400?i18n.emailError:i18n.serverError)}})},getUserInfo:function(j,i){$.ajax({type:"post",dataType:"json",url:"/api/userinfo/header/",success:j,complete:i})},newRecommand:function(j,i,l,q){$.post("/api/recommend/content/", {obj_type:i,obj_id:l,content:j},function(i){i==="OK"&&q&&q.call(this)})},deleteComment:function(j,i){$.post("/api/reply/delete/",{reply_id:j},function(j){j==="OK"&&i&&i.call(this)})},newComment:function(j,i,l,q,p){$.ajax({url:"/api/reply/new/",data:{obj_type:i,obj_id:l,content:j},type:"post",dataType:"json",success:q,error:p})},listComment:function listComment(i,l,q,p,y){listComment.sign&&listComment.sign.abort();listComment.sign=$.ajax({url:["/api/reply/list/?obj_type=",i,"&obj_id=",l,"&pagenum=", q,"&count=",p].join(""),cache:!1,dataType:"json",success:y})},countComment:function countComment(i,l,q){countComment.sign&&countComment.sign.abort();countComment.sign=$.ajax({url:["/api/reply/count/?obj_type=",i,"&obj_id=",l].join(""),cache:!1,success:q,dataType:"json"})},followUser:function(j,i,l){$.post("/api/follow/follow_user/",{to_ukey:j,operation:i},function(i){i==="OK"&&l&&l.call(this)})},isFollowUser:function(j,i){$.post("/api/follow/isfollow_user/",{to_ukey:j},function(j){j&&i&&i.call(this)}, "json")},followSite:function(j,i,l){$.post("/api/follow/follow_minisite/",{minisite_id:j,operation:i},function(i){i==="OK"&&l&&l.call(this)})},isFollowSite:function(j,i){$.post("/api/follow/isfollow_minisite/",{minisite_id:j},function(j){j&&i&&i.call(this)},"json")},getFollowedActiveLimited:function(j,i,l){$.post("/api/userinfo/followed_user_action_limituser/",{render_type:"index_login",count:j,peruser:i},function(){l.apply(this,arguments)},"json")},getFollowedActive:function(j,i,l){$.post("/api/userinfo/followed_user_action/", {render_type:"index_active",count:j,offset:i},function(){l.apply(this,arguments)},"json")},followGroup:function(j,i,l){$.post("/api/follow/follow_group/",{group_id:j,operation:i},function(i){i==="OK"&&l&&l.call(this)})},getActive:function(j,i,l,q){$.post("/api/userinfo/user_action/",{ukey:j,render_type:"profile",count:i,offset:l},function(){q.apply(this,arguments)},"json")},getUserRecommend:function(j,i,l,q){$.post("/api/recommend/user_recommend_content/",{ukey:j,render_type:"profile",count:i,offset:l}, function(){q.apply(this,arguments)},"json")},deleteDiary:function(j,i){$.post("/api/content/delete/",{obj_type:"daily",obj_id:j},function(j){j==="OK"&&i&&i.call(this)})},adminTopPost:function(j,i,l){$.post("/api/post/top/",{post_id:j,operation:i},function(i){i==="OK"&&l&&l.call(this)})},adminDeletePost:function(j,i,l){$.post("/api/post/delete/",{post_id:j,reason:i},function(i){i==="OK"&&l&&l.call(this)})},adminForbidReply:function(j,i,l){$.post("/api/post/forbid_reply/",{post_id:j,operation:i},function(i){i=== "OK"&&l&&l.call(this)})},adminDeleteReply:function(j,i,l){$.post("/api/post/delete_reply/",{reply_id:j,reason:i},function(i){i==="OK"&&l&&l.call(this)})}};typeof ukey=="undefined"&&(ukey=""); $(function(){G.req(["gPopMenu","cookies","placeholder"],function(j,i,l){j("#mMenu");j("#sMenu",!0);$(document).ajaxError(function(j,l,y){y.url!=="/uploadfile/user_upload"&&l.status===406&&(j=$.parseJSON(l.responseText),y.url==="/api/userinfo/header/"&&j.errnum===1?i.set("is_logined","FALSE"):alert(j.errmsg))});$("#search").doOnce(function(){var i=$("#searchTxt");l.init(i).submit(i,this,function(){if(!i.val())return!1})})})});