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