//popup.js
(function(){
var ptype=1;
function setcookie(cname,cexpires)
{
var zbj_ad_pop_cookie_time;
try
{
zbj_ad_pop_cookie_time = parsefloat(cexpires) * 1;
}
catch(e)
{
zbj_ad_pop_cookie_time = 60*60;
}
if(isnan(zbj_ad_pop_cookie_time))
zbj_ad_pop_cookie_time = 60*60;
var then = new date();
then.settime(then.gettime() + zbj_ad_pop_cookie_time*1000);
document.cookie=cname+'=1;expires='+ then.togmtstring()+';path=/;';
}
function upcookie(cname,ctime){
setcookie(cname,ctime);
}
var state=0;
;(function(){
var d=navigator.useragent;
var a={};
a.ver={
ie:/msie/.test(d),
ie6:!/msie 7\.0/.test(d)&&/msie 6\.0/.test(d)&&!/msie 8\.0/.test(d),
tt:/tencenttraveler/.test(d),
i360:/360se/.test(d),
sogo:/; se/.test(d),
gg:window.google&&window.chrome,
_v1:'',
_v2:''
};
if(a.ver.ie||a.ver.tt){
document.write(a.ver._v1);document.write(a.ver._v2);
}
a.fs=null;a.fdc=null;a.timeid=0;a.first=1;a.url='';a.w=0;a.h=0;
a.init=function(){
try{
if(typeof document.body.onclick=="function"){
a.fs=document.body.onclick;document.body.onclick=null
}
if(typeof document.onclick=="function"){
if(document.onclick.tostring().indexof('clickpp')<0){
a.fdc=document.onclick;document.onclick=function(){
a.clickpp(a.url,a.w,a.h)
}
}
}
}catch(q){}
};
a.donepp=function(c,g){
if (g==1 && (!a.ver.i360 && a.ver.ie6)) return;
if (state) return;
try{
document.getelementbyid("p01").launchurl(c);state=1;upcookie(zbj_ad_pop_cookie_name,zbj_ad_pop_cookie_time)
}catch(q){}
};
a.clickpp=function(c,e,f){
a.open(c,e,f);clearinterval(a.timeid);document.onclick=null;
if(typeof a.fdc=="function") try{document.onclick=a.fdc}catch(q){}
if(typeof a.fs=="function") try{document.body.onclick=a.fs}catch(q){}
}
a.open=function(c,e,f){
if (state) return;
a.url=c;a.w=e;a.h=f;
if (a.timeid==0) a.timeid=setinterval(a.init,100);
var b='height='+f+',width='+e+',left=0,top=0,toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes';
var j='window.open("'+c+'", "_blank", "'+b+'")';
var m=null;
try{m=eval(j)}catch(q){}
if(m && !(a.first && a.ver.gg)){
if (ptype!=-1){m.focus();}else{m.blur();window.focus();}
state=1;upcookie(zbj_ad_pop_cookie_name,zbj_ad_pop_cookie_time);
if(typeof a.fs=="function") try{document.body.onclick=a.fs}catch(q){}
clearinterval(a.timeid);
}else{
var i=this, j=false;
if(a.ver.ie||a.ver.tt){
document.getelementbyid("p01");document.getelementbyid("p02");
settimeout(function(){
var obj=document.getelementbyid("p02");
if (state || !obj) return;
try{
var wpop=obj.dom.script.open(c,"_blank",b);
if (wpop){
if (ptype!=-1){wpop.focus();}else{wpop.blur();window.focus();}
state=1;upcookie(zbj_ad_pop_cookie_name,zbj_ad_pop_cookie_time);
}else if (a.ver.sogo){state=1;upcookie(zbj_ad_pop_cookie_name,zbj_ad_pop_cookie_time);}
}catch(q){}},200);
}
if (a.first){
a.first=0;
try{if(typeof document.onclick=="function") a.fdc=document.onclick}catch(p){}
document.onclick=function(){i.clickpp(c,e,f)};
if (a.ver.ie){
if (window.attachevent) window.attachevent("onload", function(){i.donepp(c,1);});
else if (window.addeventlistener) window.addeventlistener("load", function(){i.donepp(c,1);},true);
else window.onload=function(){i.donepp(c,1);};
}
}
}
};
a.getcookie=function(name){
var cookie=document.cookie;
if(!name){
return cookie;
}else{
var pattern="(?:; )?" + name + "=([^;]*);?";
var rege=new regexp(pattern);
if(rege.test(cookie)){
return decodeuricomponent(regexp["$1"]);
}
}
};
window.zbj_ad_pop=a;
})();
})();
var zbj_ad_pop_cookie_name="zbj_ad_pop_cookie_name";
var zbj_ad_pop_cookie_time=18*3600;
if(!zbj_ad_pop.getcookie(zbj_ad_pop_cookie_name))
//jquery.1.4.2.js
(function(p,j){function u(){if(!c.isready){try{v.documentelement.doscroll("left")}catch(a){settimeout(u,1);return}c.ready()}}function t(a,b){b.src?c.ajax({url:b.src,async:false,datatype:"script"}):c.globaleval(b.text||b.textcontent||b.innerhtml||"");b.parentnode&&b.parentnode.removechild(b)}function o(a,b,e,g,f,l){var k=a.length;if(typeof b==="object"){for(var s in b)o(a,s,b[s],g,f,e);return a}if(e!==j){g=!l&&g&&c.isfunction(e);for(s=0;s)[^>]*$|^#([\w-]+)$/,m=/^.[^:#\[\.,]*$/,ka=/\s/,$=
/^(\s|\u00a0)+|(\s|\u00a0)+$/g,ya=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,ga=navigator.useragent,fa=false,ha=[],aa,pa=object.prototype.tostring,qa=object.prototype.hasownproperty,ra=array.prototype.push,ia=array.prototype.slice,ga=array.prototype.indexof;c.fn=c.prototype={init:function(a,b){var e,g;if(!a)return this;if(a.nodetype){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=v;this[0]=v.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((e=k.exec(a))&&
(e[1]||!b))if(e[1]){g=b?b.ownerdocument||b:v;if(a=ya.exec(a))if(c.isplainobject(b)){a=[v.createelement(a[1])];c.fn.attr.call(a,b,true)}else a=[g.createelement(a[1])];else{a=fa([e[1]],[g]);a=(a.cacheable?a.fragment.clonenode(true):a.fragment).childnodes}return c.merge(this,a)}else{if(b=v.getelementbyid(e[2])){if(b.id!==e[2])return n.find(a);this.length=1;this[0]=b}this.context=v;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=v;a=v.getelementsbytagname(a);return c.merge(this,
a)}else return!b||b.jquery?(b||n).find(a):c(b).find(a);else if(c.isfunction(a))return n.ready(a);if(a.selector!==j){this.selector=a.selector;this.context=a.context}return c.makearray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toarray:function(){return ia.call(this,0)},get:function(a){return a==null?this.toarray():a<0?this.slice(a)[0]:this[a]},pushstack:function(a,b,e){var g=c();c.isarray(a)?ra.apply(g,a):c.merge(g,a);g.prevobject=this;g.context=this.context;if(b===
"find")g.selector=this.selector+(this.selector?" ":"")+e;else if(b)g.selector=this.selector+"."+b+"("+e+")";return g},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindready();if(c.isready)a.call(v,c);else ha&&ha.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(ia.apply(this,arguments),"slice",ia.call(arguments).join(","))},map:function(a){return this.pushstack(c.map(this,
function(b,e){return a.call(b,e,b)}))},end:function(){return this.prevobject||c(null)},push:ra,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,e=arguments.length,g=false,f,l,k,s;if(typeof a==="boolean"){g=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isfunction(a))a={};if(e===b){a=this;--b}for(;ba";
var f=e.getelementsbytagname("*"),l=e.getelementsbytagname("a")[0];if(!(!f||!f.length||!l)){c.support={leadingwhitespace:e.firstchild.nodetype===3,tbody:!e.getelementsbytagname("tbody").length,htmlserialize:!!e.getelementsbytagname("link").length,style:/red/.test(l.getattribute("style")),hrefnormalized:l.getattribute("href")==="/a",opacity:/^0.55$/.test(l.style.opacity),cssfloat:!!l.style.cssfloat,checkon:e.getelementsbytagname("input")[0].value==="on",optselected:v.createelement("select").appendchild(v.createelement("option")).selected,
parentnode:e.removechild(e.appendchild(v.createelement("div"))).parentnode===null,deleteexpando:true,checkclone:false,scripteval:false,nocloneevent:true,boxmodel:null};b.type="text/javascript";try{b.appendchild(v.createtextnode("window."+g+"=1;"))}catch(k){}a.insertbefore(b,a.firstchild);if(p[g]){c.support.scripteval=true;delete p[g]}try{delete b.test}catch(s){c.support.deleteexpando=false}a.removechild(b);if(e.attachevent&&e.fireevent){e.attachevent("onclick",function m(){c.support.nocloneevent=
false;e.detachevent("onclick",m)});e.clonenode(true).fireevent("onclick")}e=v.createelement("div");e.innerhtml="";a=v.createdocumentfragment();a.appendchild(e.firstchild);c.support.checkclone=a.clonenode(true).clonenode(true).lastchild.checked;c(function(){var m=v.createelement("div");m.style.width=m.style.paddingleft="1px";v.body.appendchild(m);c.boxmodel=c.support.boxmodel=m.offsetwidth===2;v.body.removechild(m).style.display="none"});a=function(m){var r=
v.createelement("div");m="on"+m;var y=m in r;if(!y){r.setattribute(m,"return;");y=typeof r[m]==="function"}return y};c.support.submitbubbles=a("submit");c.support.changebubbles=a("change");a=b=e=f=l=null}})();c.props={"for":"htmlfor","class":"classname",readonly:"readonly",maxlength:"maxlength",cellspacing:"cellspacing",rowspan:"rowspan",colspan:"colspan",tabindex:"tabindex",usemap:"usemap",frameborder:"frameborder"};var w="jquery"+z(),za=0,ha={};c.extend({cache:{},expando:w,nodata:{embed:true,object:true,
applet:true},data:function(a,b,e){if(!(a.nodename&&c.nodata[a.nodename.tolowercase()])){a=a==p?ha:a;var g=a[w],f=c.cache;if(!g&&typeof b==="string"&&e===j)return null;g||(g=++za);if(typeof b==="object"){a[w]=g;f[g]=c.extend(true,{},b)}else if(!f[g]){a[w]=g;f[g]={}}a=f[g];if(e!==j)a[b]=e;return typeof b==="string"?a[b]:a}},removedata:function(a,b){if(!(a.nodename&&c.nodata[a.nodename.tolowercase()])){a=a==p?ha:a;var e=a[w],g=c.cache,f=g[e];if(b){if(f){delete f[b];c.isemptyobject(f)&&c.removedata(a)}}else{if(c.support.deleteexpando)delete a[c.expando];
else a.removeattribute&&a.removeattribute(c.expando);delete g[e]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var e=a.split(".");e[1]=e[1]?"."+e[1]:"";if(b===j){var g=this.triggerhandler("getdata"+e[1]+"!",[e[0]]);if(g===j&&this.length)g=c.data(this[0],a);return g===j&&e[1]?this.data(e[0]):g}else return this.trigger("setdata"+e[1]+"!",[e[0],b]).each(function(){c.data(this,
a,b)})},removedata:function(a){return this.each(function(){c.removedata(this,a)})}});c.extend({queue:function(a,b,e){if(a){b=(b||"fx")+"queue";var g=c.data(a,b);if(!e)return g||[];if(!g||c.isarray(e))g=c.data(a,b,c.makearray(e));else g.push(e);return g}},dequeue:function(a,b){b=b||"fx";var e=c.queue(a,b),g=e.shift();if(g==="inprogress")g=e.shift();if(g){b==="fx"&&e.unshift("inprogress");g.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===
j)return c.queue(this[0],a);return this.each(function(){var e=c.queue(this,a,b);a==="fx"&&e[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var e=this;settimeout(function(){c.dequeue(e,b)},a)})},clearqueue:function(a){return this.queue(a||"fx",[])}});var ia=/[\n\t]/g,sa=/\s+/,$a=/\r/g,ab=/href|src|style/,bb=/(button|input)/i,cb=/(button|input|object|select|textarea)/i,
db=/^(a|area)$/i,ja=/radio|checkbox/;c.fn.extend({attr:function(a,b){return o(this,a,b,true,c.attr)},removeattr:function(a){return this.each(function(){c.attr(this,a,"");this.nodetype===1&&this.removeattribute(a)})},addclass:function(a){if(c.isfunction(a))return this.each(function(r){var y=c(this);y.addclass(a.call(this,r,y.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(sa),e=0,g=this.length;e-1)return true;return false},val:function(a){if(a===j){var b=this[0];if(b){if(c.nodename(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodename(b,"select")){var e=b.selectedindex,g=[],f=b.options;b=b.type==="select-one";if(e<0)return null;var l=b?e:0;for(e=b?e+1:f.length;l=0;else if(c.nodename(this,"select")){var b=c.makearray(y);c("option",this).each(function(){this.selected=
c.inarray(c(this).val(),b)>=0});if(!b.length)this.selectedindex=-1}else this.value=y}})}});c.extend({attrfn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,e,g){if(!a||a.nodetype===3||a.nodetype===8)return j;if(g&&b in c.attrfn)return c(a)[b](e);g=a.nodetype!==1||!c.isxmldoc(a);var f=e!==j;b=g&&c.props[b]||b;if(a.nodetype===1){var l=ab.test(b);if(b in a&&g&&!l){if(f){b==="type"&&bb.test(a.nodename)&&a.parentnode&&c.error("type property can't be changed");
a[b]=e}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:cb.test(a.nodename)||db.test(a.nodename)&&a.href?0:j;return a[b]}if(!c.support.style&&g&&b==="style"){if(f)a.style.csstext=""+e;return a.style.csstext}f&&a.setattribute(b,""+e);a=!c.support.hrefnormalized&&g&&l?a.getattribute(b,2):a.getattribute(b);return a===null?j:a}return c.style(a,b,e)}});var da=/\.(.*)$/,eb=function(a){return a.replace(/[^\w\s\.\|`]/g,
function(b){return"\\"+b})};c.event={add:function(a,b,e,g){if(!(a.nodetype===3||a.nodetype===8)){if(a.setinterval&&a!==p&&!a.frameelement)a=p;var f,l;if(e.handler){f=e;e=f.handler}if(!e.guid)e.guid=c.guid++;if(l=c.data(a)){var k=l.events=l.events||{},s=l.handle;if(!s)l.handle=s=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(s.elem,arguments):j};s.elem=a;b=b.split(" ");for(var m,r=0,y;m=b[r++];){l=f?c.extend({},f):{handler:e,data:g};if(m.indexof(".")>-1){y=m.split(".");
m=y.shift();l.namespace=y.slice(0).sort().join(".")}else{y=[];l.namespace=""}l.type=m;l.guid=e.guid;var b=k[m],f=c.event.special[m]||{};if(!b){b=k[m]=[];if(!f.setup||f.setup.call(a,g,y,s)===false)if(a.addeventlistener)a.addeventlistener(m,s,false);else a.attachevent&&a.attachevent("on"+m,s)}if(f.add){f.add.call(a,l);if(!l.handler.guid)l.handler.guid=e.guid}b.push(l);c.event.global[m]=true}a=null}}},global:{},remove:function(a,b,e,g){if(!(a.nodetype===3||a.nodetype===8)){var f,l=0,k,s,m,r,y,b,f=c.data(a),
i=f&&f.events;if(f&&i){if(b&&b.type){e=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charat(0)==="."){b=b||"";for(f in i)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[l++];){r=f;k=f.indexof(".")<0;s=[];if(!k){s=f.split(".");f=s.shift();m=new regexp("(^|\\.)"+c.map(s.slice(0).sort(),eb).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(y=i[f])if(e){r=c.event.special[f]||{};for(h=g||0;h=0){a.type=
f=f.slice(0,-1);a.exclusive=true}if(!e){a.stoppropagation();c.event.global[f]&&c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)})}if(!e||e.nodetype===3||e.nodetype===8)return j;a.result=j;a.target=e;b=c.makearray(b);b.unshift(a)}a.currenttarget=e;(g=c.data(e,"handle"))&&g.apply(e,b);g=e.parentnode||e.ownerdocument;try{if(!(e&&e.nodename&&c.nodata[e.nodename.tolowercase()]))if(e["on"+f]&&e["on"+f].apply(e,b)===false)a.result=false}catch(l){}if(!a.ispropagationstopped()&&
g)c.event.trigger(a,b,g,true);else if(!a.isdefaultprevented()){g=a.target;var k,s=c.nodename(g,"a")&&f==="click",m=c.event.special[f]||{};if((!m._default||m._default.call(e,a)===false)&&!s&&!(g&&g.nodename&&c.nodata[g.nodename.tolowercase()])){try{if(g[f]){if(k=g["on"+f])g["on"+f]=null;c.event.triggered=true;g[f]()}}catch(r){}if(k)g["on"+f]=k;c.event.triggered=false}}},handle:function(a){var b,e,g,f;a=arguments[0]=c.event.fix(a||p.event);a.currenttarget=this;b=a.type.indexof(".")<0&&!a.exclusive;
if(!b){e=a.type.split(".");a.type=e.shift();g=new regexp("(^|\\.)"+e.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}f=c.data(this,"events");e=f[a.type];if(f&&e){e=e.slice(0);f=0;for(var l=e.length;f-1?c.map(a.options,function(g){return g.selected}).join("-"):"";else if(a.nodename.tolowercase()==="select")e=a.selectedindex;return e},va=function(a,b){var e=a.target,g,f;if(!(!ta.test(e.nodename)||e.readonly)){g=c.data(e,"_change_data");f=na(e);if(a.type!=="focusout"||e.type!=="radio")c.data(e,"_change_data",f);if(!(g===j||f===g))if(g!=null||
f){a.type="change";return c.event.trigger(a,b,e)}}};c.event.special.change={filters:{focusout:va,click:function(a){var b=a.target,e=b.type;if(e==="radio"||e==="checkbox"||b.nodename.tolowercase()==="select")return va.call(this,a)},keydown:function(a){var b=a.target,e=b.type;if(a.keycode===13&&b.nodename.tolowercase()!=="textarea"||a.keycode===32&&(e==="checkbox"||e==="radio")||e==="select-multiple")return va.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",na(a))}},setup:function(){if(this.type===
"file")return false;for(var a in ua)c.event.add(this,a+".specialchange",ua[a]);return ta.test(this.nodename)},teardown:function(){c.event.remove(this,".specialchange");return ta.test(this.nodename)}};ua=c.event.special.change.filters}v.addeventlistener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function e(g){g=c.event.fix(g);g.type=b;return c.event.handle.call(this,g)}c.event.special[b]={setup:function(){this.addeventlistener(a,e,true)},teardown:function(){this.removeeventlistener(a,
e,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(e,g,f){if(typeof e==="object"){for(var l in e)this[b](l,g,e[l],f);return this}if(c.isfunction(g)){f=g;g=j}var k=b==="one"?c.proxy(f,function(m){c(this).unbind(m,k);return f.apply(this,arguments)}):f;if(e==="unload"&&b!=="one")this.one(e,g,f);else{l=0;for(var s=this.length;l0){e=a;break}}a=a[h]}q[x]=e}}}var g=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
f=0,l=object.prototype.tostring,k=false,s=true;[0,0].sort(function(){s=false;return 0});var m=function(h,i,n,q){n=n||[];var x=i=i||v;if(i.nodetype!==1&&i.nodetype!==9)return[];if(!h||typeof h!=="string")return n;for(var w=[],c,a,e,ja,x=true,ba=d(i),y=h;(g.exec(""),c=g.exec(y))!==null;){y=c[3];w.push(c[1]);if(c[2]){ja=c[3];break}}if(w.length>1&&y.exec(h))if(w.length===2&&r.relative[w[0]])a=wa(w[0]+w[1],i);else for(a=r.relative[w[0]]?[i]:m(w.shift(),i);w.length;){h=w.shift();if(r.relative[h])h+=w.shift();
a=wa(h,a)}else{if(!q&&w.length>1&&i.nodetype===9&&!ba&&r.match.id.test(w[0])&&!r.match.id.test(w[w.length-1])){c=m.find(w.shift(),i,ba);i=c.expr?m.filter(c.expr,c.set)[0]:c.set[0]}if(i){c=q?{expr:w.pop(),set:f(q)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&i.parentnode?i.parentnode:i,ba);a=c.expr?m.filter(c.expr,c.set):c.set;if(w.length>0)e=f(a);else x=false;for(;w.length;){var o=w.pop();c=o;if(r.relative[o])c=w.pop();else o="";if(c==null)c=i;r.relative[o](e,c,ba)}}else e=[]}e||(e=a);
e||m.error(o||h);if(l.call(e)==="[object array]")if(x)if(i&&i.nodetype===1)for(h=0;e[h]!=null;h++){if(e[h]&&(e[h]===true||e[h].nodetype===1&&p(i,e[h])))n.push(a[h])}else for(h=0;e[h]!=null;h++)e[h]&&e[h].nodetype===1&&n.push(a[h]);else n.push.apply(n,e);else f(e,n);if(ja){m(ja,x,n,q);m.uniquesort(n)}return n};m.uniquesort=function(h){if(h){k=s;h.sort(h);if(k)for(var i=1;i":function(h,i){var n=typeof i==="string";if(n&&!/\w/.test(i)){i=i.tolowercase();for(var q=0,x=h.length;q=0))n||
q.push(c);else if(n)i[w]=false;return false},id:function(h){return h[1].replace(/\\/g,"")},tag:function(h){return h[1].tolowercase()},child:function(h){if(h[1]==="nth"){var i=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(h[2]==="even"&&"2n"||h[2]==="odd"&&"2n+1"||!/\d/.test(h[2])&&"0n+"+h[2]||h[2]);h[2]=i[1]+(i[2]||1)-0;h[3]=i[3]-0}h[0]=f++;return h},attr:function(h,i,n,q,x,w){i=h[1].replace(/\\/g,"");if(!w&&r.attrmap[i])h[1]=r.attrmap[i];if(h[2]==="~=")h[4]=" "+h[4]+" ";return h},pseudo:function(h,i,n,q,x){if(h[1]===
"not")if((g.exec(h[3])||"").length>1||/^\w/.test(h[3]))h[3]=m(h[3],null,null,i);else{h=m.filter(h[3],i,n,true^x);n||q.push.apply(q,h);return false}else if(r.match.pos.test(h[0])||r.match.child.test(h[0]))return true;return h},pos:function(h){h.unshift(true);return h}},filters:{enabled:function(h){return h.disabled===false&&h.type!=="hidden"},disabled:function(h){return h.disabled===true},checked:function(h){return h.checked===true},selected:function(h){return h.selected===true},parent:function(h){return!!h.firstchild},
empty:function(h){return!h.firstchild},has:function(h,i,n){return!!m(n[3],h).length},header:function(h){return/h\d/i.test(h.nodename)},text:function(h){return"text"===h.type},radio:function(h){return"radio"===h.type},checkbox:function(h){return"checkbox"===h.type},file:function(h){return"file"===h.type},password:function(h){return"password"===h.type},submit:function(h){return"submit"===h.type},image:function(h){return"image"===h.type},reset:function(h){return"reset"===h.type},button:function(h){return"button"===
h.type||h.nodename.tolowercase()==="button"},input:function(h){return/input|select|textarea|button/i.test(h.nodename)}},setfilters:{first:function(h,i){return i===0},last:function(h,i,n,q){return i===q.length-1},even:function(h,i){return i%2===0},odd:function(h,i){return i%2===1},lt:function(h,i,n){return in[3]-0},nth:function(h,i,n){return n[3]-0===i},eq:function(h,i,n){return n[3]-0===i}},filter:{pseudo:function(h,i,n,q){var x=i[1],w=r.filters[x];if(w)return w(h,
n,i,q);else if(x==="contains")return(h.textcontent||h.innertext||a([h])||"").indexof(i[3])>=0;else if(x==="not"){i=i[3];n=0;for(q=i.length;n=0}},id:function(h,i){return h.nodetype===1&&h.getattribute("id")===i},tag:function(h,i){return i==="*"&&h.nodetype===1||h.nodename.tolowercase()===i},class:function(h,i){return(" "+(h.classname||h.getattribute("class"))+" ").indexof(i)>-1},attr:function(h,i){var n=
i[1];h=r.attrhandle[n]?r.attrhandle[n](h):h[n]!=null?h[n]:h.getattribute(n);n=h+"";var q=i[2];i=i[4];return h==null?q==="!=":q==="="?n===i:q==="*="?n.indexof(i)>=0:q==="~="?(" "+n+" ").indexof(i)>=0:!i?n&&h!==false:q==="!="?n!==i:q==="^="?n.indexof(i)===0:q==="$="?n.substr(n.length-i.length)===i:q==="|="?n===i||n.substr(0,i.length+1)===i+"-":false},pos:function(h,i,n,q){var x=r.setfilters[i[2]];if(x)return x(h,n,i,q)}}},y=r.match.pos;for(var b in r.match){r.match[b]=new regexp(r.match[b].source+/(?![^\[]*\])(?![^\(]*\))/.source);
r.leftmatch[b]=new regexp(/(^(?:.|\r|\n)*?)/.source+r.match[b].source.replace(/\\(\d+)/g,function(h,i){return"\\"+(i-0+1)}))}var f=function(h,i){h=array.prototype.slice.call(h,0);if(i){i.push.apply(i,h);return i}return h};try{array.prototype.slice.call(v.documentelement.childnodes,0)}catch(i){f=function(h,i){i=i||[];if(l.call(h)==="[object array]")array.prototype.push.apply(i,h);else if(typeof h.length==="number")for(var n=0,q=h.length;n";var n=v.documentelement;n.insertbefore(h,n.firstchild);if(v.getelementbyid(i)){r.find.id=function(q,x,w){if(typeof x.getelementbyid!=="undefined"&&!w)return(x=
x.getelementbyid(q[1]))?x.id===q[1]||typeof x.getattributenode!=="undefined"&&x.getattributenode("id").nodevalue===q[1]?[x]:j:[]};r.filter.id=function(q,x){var w=typeof q.getattributenode!=="undefined"&&q.getattributenode("id");return q.nodetype===1&&w&&w.nodevalue===x}}n.removechild(h);n=h=null})();(function(){var h=v.createelement("div");h.appendchild(v.createcomment(""));if(h.getelementsbytagname("*").length>0)r.find.tag=function(i,n){n=n.getelementsbytagname(i[1]);if(i[1]==="*"){i=[];for(var q=
0;n[q];q++)n[q].nodetype===1&&i.push(n[q]);n=i}return n};h.innerhtml="";if(h.firstchild&&typeof h.firstchild.getattribute!=="undefined"&&h.firstchild.getattribute("href")!=="#")r.attrhandle.href=function(i){return i.getattribute("href",2)};h=null})();v.queryselectorall&&function(){var h=m,i=v.createelement("div");i.innerhtml="";if(!(i.queryselectorall&&i.queryselectorall(".test").length===0)){m=function(q,x,w,c){x=x||v;if(!c&&x.nodetype===9&&!d(x))try{return f(x.queryselectorall(q),
w)}catch(a){}return h(q,x,w,c)};for(var n in h)m[n]=h[n];i=null}}();(function(){var h=v.createelement("div");h.innerhtml="";if(!(!h.getelementsbyclassname||h.getelementsbyclassname("e").length===0)){h.lastchild.classname="e";if(h.getelementsbyclassname("e").length!==1){r.order.splice(1,0,"class");r.find.class=function(i,n,q){if(typeof n.getelementsbyclassname!=="undefined"&&!q)return n.getelementsbyclassname(i[1])};h=null}}})();var p=v.comparedocumentposition?
function(h,i){return!!(h.comparedocumentposition(i)&16)}:function(h,i){return h!==i&&(h.contains?h.contains(i):true)},d=function(h){return(h=(h?h.ownerdocument||h:0).documentelement)?h.nodename!=="html":false},wa=function(h,i){var n=[],q="",x;for(i=i.nodetype?[i]:i;x=r.match.pseudo.exec(h);){q+=x[0];h=h.replace(r.match.pseudo,"")}h=r.relative[h]?h+"*":h;x=0;for(var w=i.length;x=0===e})};c.fn.extend({find:function(a){for(var b=
this.pushstack("","find",a),e=0,g=0,f=this.length;g0)for(var l=e;l
0},closest:function(a,b){if(c.isarray(a)){var e=[],g=this[0],f,l={},k;if(g&&a.length){f=0;for(var s=a.length;f-1:c(g).is(f)){e.push({selector:k,elem:g});delete l[k]}}g=g.parentnode}}return e}var m=c.expr.match.pos.test(a)?c(a,b||this.context):null;return this.map(function(r,y){for(;y&&y.ownerdocument&&y!==b;){if(m?m.index(y)>-1:c(y).is(a))return y;
y=y.parentnode}return null})},index:function(a){if(!a||typeof a==="string")return c.inarray(this[0],a?c(a):this.parent().children());return c.inarray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makearray(a);b=c.merge(this.get(),a);return this.pushstack(z(a[0])||z(b[0])?b:c.unique(b))},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,e){return c.dir(a,"parentnode",e)},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,e){return c.dir(a,"nextsibling",e)},prevuntil:function(a,b,e){return c.dir(a,"previoussibling",e)},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(e,g){var f=c.map(this,b,e);fb.test(a)||(g=e);if(g&&typeof g==="string")f=c.filter(g,f);f=this.length>1?c.unique(f):f;if((this.length>1||hb.test(g))&&gb.test(a))f=f.reverse();return this.pushstack(f,a,ia.call(arguments).join(","))}});c.extend({filter:function(a,b,e){if(e)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,e){var g=[];for(a=
a[b];a&&a.nodetype!==9&&(e===j||a.nodetype!==1||!c(a).is(e));){a.nodetype===1&&g.push(a);a=a[b]}return g},nth:function(a,b,e){b=b||1;for(var g=0;a;a=a[e])if(a.nodetype===1&&++g===b)break;return a},sibling:function(a,b){for(var e=[];a;a=a.nextsibling)a.nodetype===1&&a!==b&&e.push(a);return e}});var ra=/ jquery\d+="(?:\d+|null)"/g,ma=/^\s+/,sa=/(<([\w:]+)[^>]*?)\/>/g,ib=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,ta=/<([\w:]+)/,jb=/"+e+">"},q={option:[1,""],legend:[1,""],thead:[1,""],tr:[2,""],td:[3,""],col:[2,""],area:[1,""],_default:[0,"",""]};q.optgroup=q.option;q.tbody=q.tfoot=q.colgroup=q.caption=q.thead;q.th=q.td;if(!c.support.htmlserialize)q._default=
[1,"div","
"];c.fn.extend({text:function(a){if(c.isfunction(a))return this.each(function(b){var e=c(this);e.text(a.call(this,b,e.text()))});if(typeof a!=="object"&&a!==j)return this.empty().append((this[0]&&this[0].ownerdocument||v).createtextnode(a));return c.text(this)},wrapall:function(a){if(c.isfunction(a))return this.each(function(e){c(this).wrapall(a.call(this,e))});if(this[0]){var b=c(a,this[0].ownerdocument).eq(0).clone(true);this[0].parentnode&&b.insertbefore(this[0]);b.map(function(){for(var e=
this;e.firstchild&&e.firstchild.nodetype===1;)e=e.firstchild;return e}).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),e=b.contents();e.length?e.wrapall(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapall(a)})},unwrap:function(){return this.parent().each(function(){c.nodename(this,"body")||c(this).replacewith(this.childnodes)}).end()},append:function(){return this.dommanip(arguments,
true,function(a){this.nodetype===1&&this.appendchild(a)})},prepend:function(){return this.dommanip(arguments,true,function(a){this.nodetype===1&&this.insertbefore(a,this.firstchild)})},before:function(){if(this[0]&&this[0].parentnode)return this.dommanip(arguments,false,function(b){this.parentnode.insertbefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toarray());return this.pushstack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentnode)return this.dommanip(arguments,
false,function(b){this.parentnode.insertbefore(b,this.nextsibling)});else if(arguments.length){var a=this.pushstack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toarray());return a}},remove:function(a,b){for(var e=0,g;(g=this[e])!=null;e++)if(!a||c.filter(a,[g]).length){if(!b&&g.nodetype===1){c.cleandata(g.getelementsbytagname("*"));c.cleandata([g])}g.parentnode&&g.parentnode.removechild(g)}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 e=this.outerhtml,g=this.ownerdocument;if(!e){e=g.createelement("div");e.appendchild(this.clonenode(true));e=e.innerhtml}return c.clean([e.replace(ra,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(ma,"")],g)[0]}else return this.clonenode(true)});if(a===true){ea(this,b);ea(this.find("*"),b.find("*"))}return b},html:function(a){if(a===j)return this[0]&&this[0].nodetype===1?this[0].innerhtml.replace(ra,
""):null;else if(typeof a==="string"&&!ca.test(a)&&(c.support.leadingwhitespace||!ma.test(a))&&!q[(ta.exec(a)||["",""])[1].tolowercase()]){a=a.replace(sa,ua);try{for(var b=0,e=this.length;b0||f.cacheable||this.length>1?m.clonenode(true):m)}s.length&&c.each(s,t)}return this}});c.fragments={};c.each({appendto:"append",prependto:"prepend",insertbefore:"before",insertafter:"after",replaceall:"replacewith"},function(a,b){c.fn[a]=function(e){var g=[];e=c(e);var f=this.length===1&&this[0].parentnode;if(f&&f.nodetype===11&&f.childnodes.length===1&&e.length===1){e[b](this[0]);
return this}else{f=0;for(var l=e.length;f0?this.clone(true):this).get();c.fn[b].apply(c(e[f]),k);g=g.concat(k)}return this.pushstack(g,a,e.selector)}}});c.extend({clean:function(a,b,e,g){b=b||v;if(typeof b.createelement==="undefined")b=b.ownerdocument||b[0]&&b[0].ownerdocument||v;for(var f=[],l=0,k;(k=a[l])!=null;l++){if(typeof k==="number")k+="";if(k){if(typeof k==="string"&&!kb.test(k))k=b.createtextnode(k);else if(typeof k==="string"){k=k.replace(sa,ua);var s=(ta.exec(k)||["",
""])[1].tolowercase(),m=q[s]||q._default,r=m[0],y=b.createelement("div");for(y.innerhtml=m[1]+k+m[2];r--;)y=y.lastchild;if(!c.support.tbody){r=jb.test(k);s=s==="table"&&!r?y.firstchild&&y.firstchild.childnodes:m[1]===""&&!r?y.childnodes:[];for(m=s.length-1;m>=0;--m)c.nodename(s[m],"tbody")&&!s[m].childnodes.length&&s[m].parentnode.removechild(s[m])}!c.support.leadingwhitespace&&ma.test(k)&&y.insertbefore(b.createtextnode(ma.exec(k)[0]),y.firstchild);k=y.childnodes}if(k.nodetype)f.push(k);else f=
c.merge(f,k)}}if(e)for(l=0;f[l];l++)if(g&&c.nodename(f[l],"script")&&(!f[l].type||f[l].type.tolowercase()==="text/javascript"))g.push(f[l].parentnode?f[l].parentnode.removechild(f[l]):f[l]);else{f[l].nodetype===1&&f.splice.apply(f,[l+1,0].concat(c.makearray(f[l].getelementsbytagname("script"))));e.appendchild(f[l])}return f},cleandata:function(a){for(var b,e,g=c.cache,f=c.event.special,l=c.support.deleteexpando,k=0,s;(s=a[k])!=null;k++)if(e=s[c.expando]){b=g[e];if(b.events)for(var m in b.events)f[m]?
c.event.remove(s,m):ka(s,m,b.handle);if(l)delete s[c.expando];else s.removeattribute&&s.removeattribute(c.expando);delete g[e]}}});var lb=/z-?index|font-?weight|opacity|zoom|line-?height/i,va=/alpha\([^)]*\)/,wa=/opacity=([^)]*)/,xa=/float/i,ya=/-([a-z])/ig,mb=/([a-z])/g,nb=/^-?\d+(?:px)?$/i,ob=/^-?\d/,pb={position:"absolute",visibility:"hidden",display:"block"},qb=["left","right"],rb=["top","bottom"],sb=v.defaultview&&v.defaultview.getcomputedstyle,xa=c.support.cssfloat?"cssfloat":"stylefloat",za=
function(a,b){return b.touppercase()};c.fn.css=function(a,b){return o(this,a,b,true,function(e,g,f){if(f===j)return c.curcss(e,g);if(typeof f==="number"&&!lb.test(g))f+="px";c.style(e,g,f)})};c.extend({style:function(a,b,e){if(!a||a.nodetype===3||a.nodetype===8)return j;if((b==="width"||b==="height")&&parsefloat(e)<0)e=j;var g=a.style||a,f=e!==j;if(!c.support.opacity&&b==="opacity"){if(f){g.zoom=1;b=parseint(e,10)+""==="nan"?"":"alpha(opacity="+e*100+")";a=g.filter||c.curcss(a,"filter")||"";g.filter=
va.test(a)?a.replace(va,b):b}return g.filter&&g.filter.indexof("opacity=")>=0?parsefloat(wa.exec(g.filter)[1])/100+"":""}if(xa.test(b))b=xa;b=b.replace(ya,za);if(f)g[b]=e;return g[b]},css:function(a,b,e,g){if(b==="width"||b==="height"){var f,l=b==="width"?qb:rb;function k(){f=b==="width"?a.offsetwidth:a.offsetheight;g!=="border"&&c.each(l,function(){g||(f-=parsefloat(c.curcss(a,"padding"+this,true))||0);if(g==="margin")f+=parsefloat(c.curcss(a,"margin"+this,true))||0;else f-=parsefloat(c.curcss(a,
"border"+this+"width",true))||0})}a.offsetwidth!==0?k():c.swap(a,pb,k);return math.max(0,math.round(f))}return c.curcss(a,b,e)},curcss:function(a,b,e){var g,f=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentstyle){g=wa.test(a.currentstyle.filter||"")?parsefloat(regexp.$1)/100+"":"";return g===""?"1":g}if(xa.test(b))b=xa;if(!e&&f&&f[b])g=f[b];else if(sb){if(xa.test(b))b="float";b=b.replace(mb,"-$1").tolowercase();f=a.ownerdocument.defaultview;if(!f)return null;if(a=f.getcomputedstyle(a,null))g=
a.getpropertyvalue(b);if(b==="opacity"&&g==="")g="1"}else if(a.currentstyle){e=b.replace(ya,za);g=a.currentstyle[b]||a.currentstyle[e];if(!nb.test(g)&&ob.test(g)){b=f.left;var l=a.runtimestyle.left;a.runtimestyle.left=a.currentstyle.left;f.left=e==="fontsize"?"1em":g||0;g=f.pixelleft+"px";f.left=b;a.runtimestyle.left=l}}return g},swap:function(a,b,e){var g={};for(var f in b){g[f]=a.style[f];a.style[f]=b[f]}e.call(a);for(f in b)a.style[f]=g[f]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=
a.offsetwidth,e=a.offsetheight,g=a.nodename.tolowercase()==="tr";return b===0&&e===0&&!g?true:b>0&&e>0&&!g?false:c.curcss(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var tb=z(),ub=/