(function(){var W=this,AB,F=W.jQuery,S=W.$,T=W.jQuery=W.$=function(B,A){return new T.fn.init(B,A);},M=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,AC=/^.[^:#\[\.,]*$/;T.fn=T.prototype={init:function(a,B){a=a||document;if(a.nodeType){this[0]=a;this.length=1;this.context=a;return this;}if(typeof a==="string"){var C=M.exec(a);if(C&&(C[1]||!B)){if(C[1]){a=T.clean([C[1]],B);}else{var A=document.getElementById(C[3]);if(A&&A.id!=C[3]){return T().find(a);}var D=T(A||[]);D.context=document;D.selector=a;return D;}}else{return T(B).find(a);}}else{if(T.isFunction(a)){return T(document).ready(a);}}if(a.selector&&a.context){this.selector=a.selector;this.context=a.context;}return this.setArray(T.isArray(a)?a:T.makeArray(a));},selector:"",jquery:"1.3.2",size:function(){return this.length;},get:function(A){return A===AB?Array.prototype.slice.call(this):this[A];},pushStack:function(C,A,D){var B=T(C);B.prevObject=this;B.context=this.context;if(A==="find"){B.selector=this.selector+(this.selector?" ":"")+D;}else{if(A){B.selector=this.selector+"."+A+"("+D+")";
}}return B;},setArray:function(A){this.length=0;Array.prototype.push.apply(this,A);return this;},each:function(A,B){return T.each(this,A,B);},index:function(A){return T.inArray(A&&A.jquery?A[0]:A,this);},attr:function(C,A,B){var D=C;if(typeof C==="string"){if(A===AB){return this[0]&&T[B||"attr"](this[0],C);}else{D={};D[C]=A;}}return this.each(function(a){for(C in D){T.attr(B?this.style:this,C,T.prop(this,D[C],B,a,C));}});},css:function(B,A){if((B=="width"||B=="height")&&parseFloat(A)<0){A=AB;}return this.attr(B,A,"curCSS");},text:function(A){if(typeof A!=="object"&&A!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(A));}var B="";T.each(A||this,function(){T.each(this.childNodes,function(){if(this.nodeType!=8){B+=this.nodeType!=1?this.nodeValue:T.fn.text([this]);}});});return B;},wrapAll:function(B){if(this[0]){var A=T(B,this[0].ownerDocument).clone();if(this[0].parentNode){A.insertBefore(this[0]);}A.map(function(){var C=this;while(C.firstChild){C=C.firstChild;
}return C;}).append(this);}return this;},wrapInner:function(A){return this.each(function(){T(this).contents().wrapAll(A);});},wrap:function(A){return this.each(function(){T(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||T([]);},push:[].push,sort:[].sort,splice:[].splice,find:function(B){if(this.length===1){var A=this.pushStack([],"find",B);A.length=0;T.find(B,this[0],A);return A;}else{return this.pushStack(T.unique(T.map(this,function(C){return T.find(B,C);})),"find",B);}},clone:function(B){var D=this.map(function(){if(!T.support.noCloneEvent&&!T.isXMLDoc(this)){var b=this.outerHTML;
if(!b){var a=this.ownerDocument.createElement("div");a.appendChild(this.cloneNode(true));b=a.innerHTML;}return T.clean([b.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0];}else{return this.cloneNode(true);}});if(B===true){var A=this.find("*").andSelf(),C=0;D.find("*").andSelf().each(function(){if(this.nodeName!==A[C].nodeName){return ;}var c=T.data(A[C],"events");for(var a in c){for(var b in c[a]){T.event.add(this,a,c[a][b],c[a][b].data);}}C++;});}return D;},filter:function(A){return this.pushStack(T.isFunction(A)&&T.grep(this,function(B,C){return A.call(B,C);})||T.multiFilter(A,T.grep(this,function(B){return B.nodeType===1;})),"filter",A);},closest:function(C){var A=T.expr.match.POS.test(C)?T(C):null,B=0;return this.map(function(){var D=this;while(D&&D.ownerDocument){if(A?A.index(D)>-1:T(D).is(C)){T.data(D,"closest",B);return D;}D=D.parentNode;B++;}});},not:function(B){if(typeof B==="string"){if(AC.test(B)){return this.pushStack(T.multiFilter(B,this,true),"not",B);}else{B=T.multiFilter(B,this);
}}var A=B.length&&B[B.length-1]!==AB&&!B.nodeType;return this.filter(function(){return A?T.inArray(this,B)<0:this!=B;});},add:function(A){return this.pushStack(T.unique(T.merge(this.get(),typeof A==="string"?T(A):T.makeArray(A))));},is:function(A){return !!A&&T.multiFilter(A,this).length>0;},hasClass:function(A){return !!A&&this.is("."+A);},val:function(C){if(C===AB){var e=this[0];if(e){if(T.nodeName(e,"option")){return(e.attributes.value||{}).specified?e.value:e.text;}if(T.nodeName(e,"select")){var a=e.selectedIndex,B=[],A=e.options,b=e.type=="select-one";if(a<0){return null;}for(var d=b?a:0,D=b?a+1:A.length;d<D;d++){var c=A[d];if(c.selected){C=T(c).val();if(b){return C;}B.push(C);}}return B;}return(e.value||"").replace(/\r/g,"");}return AB;}if(typeof C==="number"){C+="";}return this.each(function(){if(this.nodeType!=1){return ;}if(T.isArray(C)&&/radio|checkbox/.test(this.type)){this.checked=(T.inArray(this.value,C)>=0||T.inArray(this.name,C)>=0);}else{if(T.nodeName(this,"select")){var f=T.makeArray(C);
T("option",this).each(function(){this.selected=(T.inArray(this.value,f)>=0||T.inArray(this.text,f)>=0);});if(!f.length){this.selectedIndex=-1;}}else{this.value=C;}}});},html:function(A){return A===AB?(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(T.map(this,function(B,C){return A.call(B,C,B);}));},andSelf:function(){return this.add(this.prevObject);},domManip:function(D,A,B){if(this[0]){var a=(this[0].ownerDocument||this[0]).createDocumentFragment(),d=T.clean(D,(this[0].ownerDocument||this[0]),a),b=a.firstChild;if(b){for(var c=0,e=this.length;c<e;c++){B.call(C(this[c],b),this.length>1||c>0?a.cloneNode(true):a);}}if(d){T.each(d,E);}}return this;function C(g,f){return A&&T.nodeName(g,"table")&&T.nodeName(f,"tr")?(g.getElementsByTagName("tbody")[0]||g.appendChild(g.ownerDocument.createElement("tbody"))):g;
}}};T.fn.init.prototype=T.fn;function E(B,A){if(A.src){T.ajax({url:A.src,async:false,dataType:"script"});}else{T.globalEval(A.text||A.textContent||A.innerHTML||"");}if(A.parentNode){A.parentNode.removeChild(A);}}function AD(){return +new Date;}T.extend=T.fn.extend=function(){var C=arguments[0]||{},a=1,D=arguments.length,d=false,b;if(typeof C==="boolean"){d=C;C=arguments[1]||{};a=2;}if(typeof C!=="object"&&!T.isFunction(C)){C={};}if(D==a){C=this;--a;}for(;a<D;a++){if((b=arguments[a])!=null){for(var c in b){var B=C[c],A=b[c];if(C===A){continue;}if(d&&A&&typeof A==="object"&&!A.nodeType){C[c]=T.extend(d,B||(A.length!=null?[]:{}),A);}else{if(A!==AB){C[c]=A;}}}}}return C;};var AG=/z-?index|font-?weight|opacity|zoom|line-?height/i,Q=document.defaultView||{},L=Object.prototype.toString;T.extend({noConflict:function(A){W.$=S;if(A){W.jQuery=F;}return T;},isFunction:function(A){return L.call(A)==="[object Function]";},isArray:function(A){return L.call(A)==="[object Array]";},isXMLDoc:function(A){return A.nodeType===9&&A.documentElement.nodeName!=="HTML"||!!A.ownerDocument&&T.isXMLDoc(A.ownerDocument);
},globalEval:function(A){if(A&&/\S/.test(A)){var B=document.getElementsByTagName("head")[0]||document.documentElement,C=document.createElement("script");C.type="text/javascript";if(T.support.scriptEval){C.appendChild(document.createTextNode(A));}else{C.text=A;}B.insertBefore(C,B.firstChild);B.removeChild(C);}},nodeName:function(A,B){return A.nodeName&&A.nodeName.toUpperCase()==B.toUpperCase();},each:function(a,A,b){var c,D=0,C=a.length;if(b){if(C===AB){for(c in a){if(A.apply(a[c],b)===false){break;}}}else{for(;D<C;){if(A.apply(a[D++],b)===false){break;}}}}else{if(C===AB){for(c in a){if(A.call(a[c],c,a[c])===false){break;}}}else{for(var B=a[0];D<C&&A.call(B,D,B)!==false;B=a[++D]){}}}return a;},prop:function(B,A,C,D,a){if(T.isFunction(A)){A=A.call(B,D);}return typeof A==="number"&&C=="curCSS"&&!AG.test(a)?A+"px":A;},className:{add:function(B,A){T.each((A||"").split(/\s+/),function(D,C){if(B.nodeType==1&&!T.className.has(B.className,C)){B.className+=(B.className?" ":"")+C;}});},remove:function(B,A){if(B.nodeType==1){B.className=A!==AB?T.grep(B.className.split(/\s+/),function(C){return !T.className.has(A,C);
}).join(" "):"";}},has:function(A,B){return A&&T.inArray(B,(A.className||A).toString().split(/\s+/))>-1;}},swap:function(B,C,A){var a={};for(var D in C){a[D]=B.style[D];B.style[D]=C[D];}A.call(B);for(var D in C){B.style[D]=a[D];}},css:function(a,c,C,d){if(c=="width"||c=="height"){var A,b={position:"absolute",visibility:"hidden",display:"block"},B=c=="width"?["Left","Right"]:["Top","Bottom"];function D(){A=c=="width"?a.offsetWidth:a.offsetHeight;if(d==="border"){return ;}T.each(B,function(){if(!d){A-=parseFloat(T.curCSS(a,"padding"+this,true))||0;}if(d==="margin"){A+=parseFloat(T.curCSS(a,"margin"+this,true))||0;}else{A-=parseFloat(T.curCSS(a,"border"+this+"Width",true))||0;}});}if(a.offsetWidth!==0){D();}else{T.swap(a,b,D);}return Math.max(0,Math.round(A));}return T.curCSS(a,c,C);},curCSS:function(a,d,c){var B,e=a.style;if(d=="opacity"&&!T.support.opacity){B=T.attr(e,"opacity");return B==""?"1":B;}if(d.match(/float/i)){d=H;}if(!c&&e&&e[d]){B=e[d];}else{if(Q.getComputedStyle){if(d.match(/float/i)){d="float";
}d=d.replace(/([A-Z])/g,"-$1").toLowerCase();var A=Q.getComputedStyle(a,null);if(A){B=A.getPropertyValue(d);}if(d=="opacity"&&B==""){B="1";}}else{if(a.currentStyle){var D=d.replace(/\-(\w)/g,function(g,f){return f.toUpperCase();});B=a.currentStyle[d]||a.currentStyle[D];if(!/^\d+(px)?$/i.test(B)&&/^\d/.test(B)){var b=e.left,C=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=B||0;B=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=C;}}}}return B;},clean:function(c,B,D){B=B||document;if(typeof B.createElement==="undefined"){B=B.ownerDocument||B[0]&&B[0].ownerDocument||document;}if(!D&&c.length===1&&typeof c[0]==="string"){var a=/^<(\w+)\s*\/?>$/.exec(c[0]);if(a){return[B.createElement(a[1])];}}var b=[],d=[],A=B.createElement("div");T.each(c,function(h,e){if(typeof e==="number"){e+="";}if(!e){return ;}if(typeof e==="string"){e=e.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 i=e.replace(/^\s+/,"").substring(0,10).toLowerCase();
var g=!i.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!i.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||i.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!i.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!i.indexOf("<td")||!i.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!i.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!T.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];A.innerHTML=g[1]+e+g[2];while(g[0]--){A=A.lastChild;}if(!T.support.tbody){var f=/<tbody/i.test(e),j=!i.indexOf("<table")&&!f?A.firstChild&&A.firstChild.childNodes:g[1]=="<table>"&&!f?A.childNodes:[];for(var k=j.length-1;k>=0;--k){if(T.nodeName(j[k],"tbody")&&!j[k].childNodes.length){j[k].parentNode.removeChild(j[k]);}}}if(!T.support.leadingWhitespace&&/^\s/.test(e)){A.insertBefore(B.createTextNode(e.match(/^\s*/)[0]),A.firstChild);}e=T.makeArray(A.childNodes);}if(e.nodeType){b.push(e);}else{b=T.merge(b,e);}});
if(D){for(var C=0;b[C];C++){if(T.nodeName(b[C],"script")&&(!b[C].type||b[C].type.toLowerCase()==="text/javascript")){d.push(b[C].parentNode?b[C].parentNode.removeChild(b[C]):b[C]);}else{if(b[C].nodeType===1){b.splice.apply(b,[C+1,0].concat(T.makeArray(b[C].getElementsByTagName("script"))));}D.appendChild(b[C]);}}return d;}return b;},attr:function(C,b,B){if(!C||C.nodeType==3||C.nodeType==8){return AB;}var a=!T.isXMLDoc(C),A=B!==AB;b=a&&T.props[b]||b;if(C.tagName){var c=/href|src|style/.test(b);if(b=="selected"&&C.parentNode){C.parentNode.selectedIndex;}if(b in C&&a&&!c){if(A){if(b=="type"&&T.nodeName(C,"input")&&C.parentNode){throw"type property can't be changed";}C[b]=B;}if(T.nodeName(C,"form")&&C.getAttributeNode(b)){return C.getAttributeNode(b).nodeValue;}if(b=="tabIndex"){var D=C.getAttributeNode("tabIndex");return D&&D.specified?D.value:C.nodeName.match(/(button|input|object|select|textarea)/i)?0:C.nodeName.match(/^(a|area)$/i)&&C.href?0:AB;}return C[b];}if(!T.support.style&&a&&b=="style"){return T.attr(C.style,"cssText",B);
}if(A){C.setAttribute(b,""+B);}var d=!T.support.hrefNormalized&&a&&c?C.getAttribute(b,2):C.getAttribute(b);return d===null?AB:d;}if(!T.support.opacity&&b=="opacity"){if(A){C.zoom=1;C.filter=(C.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(B)+""=="NaN"?"":"alpha(opacity="+B*100+")");}return C.filter&&C.filter.indexOf("opacity=")>=0?(parseFloat(C.filter.match(/opacity=([^)]*)/)[1])/100)+"":"";}b=b.replace(/-([a-z])/ig,function(f,e){return e.toUpperCase();});if(A){C[b]=B;}return C[b];},trim:function(A){return(A||"").replace(/^\s+|\s+$/g,"");},makeArray:function(A){var C=[];if(A!=null){var B=A.length;if(B==null||typeof A==="string"||T.isFunction(A)||A.setInterval){C[0]=A;}else{while(B){C[--B]=A[B];}}}return C;},inArray:function(B,A){for(var D=0,C=A.length;D<C;D++){if(A[D]===B){return D;}}return -1;},merge:function(B,a){var D=0,C,A=B.length;if(!T.support.getAll){while((C=a[D++])!=null){if(C.nodeType!=8){B[A++]=C;}}}else{while((C=a[D++])!=null){B[A++]=C;}}return B;},unique:function(A){var b=[],c={};
try{for(var a=0,D=A.length;a<D;a++){var B=T.data(A[a]);if(!c[B]){c[B]=true;b.push(A[a]);}}}catch(C){b=A;}return b;},grep:function(a,A,b){var D=[];for(var C=0,B=a.length;C<B;C++){if(!b!=!A(a[C],C)){D.push(a[C]);}}return D;},map:function(b,A){var a=[];for(var D=0,C=b.length;D<C;D++){var B=A(b[D],D);if(B!=null){a[a.length]=B;}}return a.concat.apply([],a);}});var O=navigator.userAgent.toLowerCase();T.browser={version:(O.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(O),opera:/opera/.test(O),msie:/msie/.test(O)&&!/opera/.test(O),mozilla:/mozilla/.test(O)&&!/(compatible|webkit)/.test(O)};T.each({parent:function(A){return A.parentNode;},parents:function(A){return T.dir(A,"parentNode");},next:function(A){return T.nth(A,2,"nextSibling");},prev:function(A){return T.nth(A,2,"previousSibling");},nextAll:function(A){return T.dir(A,"nextSibling");},prevAll:function(A){return T.dir(A,"previousSibling");},siblings:function(A){return T.sibling(A.parentNode.firstChild,A);},children:function(A){return T.sibling(A.firstChild);
},contents:function(A){return T.nodeName(A,"iframe")?A.contentDocument||A.contentWindow.document:T.makeArray(A.childNodes);}},function(B,A){T.fn[B]=function(D){var C=T.map(this,A);if(D&&typeof D=="string"){C=T.multiFilter(D,C);}return this.pushStack(T.unique(C),B,D);};});T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(B,A){T.fn[B]=function(d){var a=[],C=T(d);for(var D=0,c=C.length;D<c;D++){var b=(D>0?this.clone(true):this).get();T.fn[A].apply(T(C[D]),b);a=a.concat(b);}return this.pushStack(a,B,d);};});T.each({removeAttr:function(A){T.attr(this,A,"");if(this.nodeType==1){this.removeAttribute(A);}},addClass:function(A){T.className.add(this,A);},removeClass:function(A){T.className.remove(this,A);},toggleClass:function(A,B){if(typeof B!=="boolean"){B=!T.className.has(this,A);}T.className[B?"add":"remove"](this,A);},remove:function(A){if(!A||T.filter(A,[this]).length){T("*",this).add([this]).each(function(){T.event.remove(this);
T.removeData(this);});if(this.parentNode){this.parentNode.removeChild(this);}}},empty:function(){T(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild);}}},function(B,A){T.fn[B]=function(){return this.each(A,arguments);};});function Y(B,A){return B[0]&&parseInt(T.curCSS(B[0],A,true),10)||0;}var AA="jQuery"+AD(),I=0,R={};T.extend({cache:{},data:function(C,D,B){C=C==W?R:C;var A=C[AA];if(!A){A=C[AA]=++I;}if(D&&!T.cache[A]){T.cache[A]={};}if(B!==AB){T.cache[A][D]=B;}return D?T.cache[A][D]:A;},removeData:function(C,D){C=C==W?R:C;var A=C[AA];if(D){if(T.cache[A]){delete T.cache[A][D];D="";for(D in T.cache[A]){break;}if(!D){T.removeData(C);}}}else{try{delete C[AA];}catch(B){if(C.removeAttribute){C.removeAttribute(AA);}}delete T.cache[A];}},queue:function(C,D,A){if(C){D=(D||"fx")+"queue";var B=T.data(C,D);if(!B||T.isArray(A)){B=T.data(C,D,T.makeArray(A));}else{if(A){B.push(A);}}}return B;},dequeue:function(A,B){var D=T.queue(A,B),C=D.shift();if(!B||B==="fx"){C=D[0];
}if(C!==AB){C.call(A);}}});T.fn.extend({data:function(D,B){var A=D.split(".");A[1]=A[1]?"."+A[1]:"";if(B===AB){var C=this.triggerHandler("getData"+A[1]+"!",[A[0]]);if(C===AB&&this.length){C=T.data(this[0],D);}return C===AB&&A[1]?this.data(A[0]):C;}else{return this.trigger("setData"+A[1]+"!",[A[0],B]).each(function(){T.data(this,D,B);});}},removeData:function(A){return this.each(function(){T.removeData(this,A);});},queue:function(B,A){if(typeof B!=="string"){A=B;B="fx";}if(A===AB){return T.queue(this[0],B);}return this.each(function(){var C=T.queue(this,B,A);if(B=="fx"&&C.length==1){C[0].call(this);}});},dequeue:function(A){return this.each(function(){T.dequeue(this,A);});}});(function(){var B=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,d=0,h=Object.prototype.toString;var j=function(n,r,AI,z){AI=AI||[];r=r||document;if(r.nodeType!==1&&r.nodeType!==9){return[];}if(!n||typeof n!=="string"){return AI;}var m=[],p,w,t,s,y,q,o=true;
B.lastIndex=0;while((p=B.exec(n))!==null){m.push(p[1]);if(p[2]){q=RegExp.rightContext;break;}}if(m.length>1&&c.exec(n)){if(m.length===2&&g.relative[m[0]]){w=f(m[0]+m[1],r);}else{w=g.relative[m[0]]?[r]:j(m.shift(),r);while(m.length){n=m.shift();if(g.relative[n]){n+=m.shift();}w=f(n,w);}}}else{var x=z?{expr:m.pop(),set:k(z)}:j.find(m.pop(),m.length===1&&r.parentNode?r.parentNode:r,C(r));w=j.filter(x.expr,x.set);if(m.length>0){t=k(w);}else{o=false;}while(m.length){var u=m.pop(),v=u;if(!g.relative[u]){u="";}else{v=m.pop();}if(v==null){v=r;}g.relative[u](t,v,C(r));}}if(!t){t=w;}if(!t){throw"Syntax error, unrecognized expression: "+(u||n);}if(h.call(t)==="[object Array]"){if(!o){AI.push.apply(AI,t);}else{if(r.nodeType===1){for(var l=0;t[l]!=null;l++){if(t[l]&&(t[l]===true||t[l].nodeType===1&&e(r,t[l]))){AI.push(w[l]);}}}else{for(var l=0;t[l]!=null;l++){if(t[l]&&t[l].nodeType===1){AI.push(w[l]);}}}}}else{k(t,AI);}if(q){j(q,r,AI,z);if(i){hasDuplicate=false;AI.sort(i);if(hasDuplicate){for(var l=1;
l<AI.length;l++){if(AI[l]===AI[l-1]){AI.splice(l--,1);}}}}}return AI;};j.matches=function(m,l){return j(m,null,null,l);};j.find=function(l,s,t){var m,o;if(!l){return[];}for(var p=0,q=g.order.length;p<q;p++){var n=g.order[p],o;if((o=g.match[n].exec(l))){var r=RegExp.leftContext;if(r.substr(r.length-1)!=="\\"){o[1]=(o[1]||"").replace(/\\/g,"");m=g.find[n](o,s,t);if(m!=null){l=l.replace(g.match[n],"");break;}}}}if(!m){m=s.getElementsByTagName("*");}return{set:m,expr:l};};j.filter=function(y,z,v,p){var q=y,t=[],l=z,n,s,m=z&&z[0]&&C(z[0]);while(y&&z.length){for(var AI in g.filter){if((n=g.match[AI].exec(y))!=null){var r=g.filter[AI],u,w;s=false;if(l==t){t=[];}if(g.preFilter[AI]){n=g.preFilter[AI](n,l,v,t,p,m);if(!n){s=u=true;}else{if(n===true){continue;}}}if(n){for(var o=0;(w=l[o])!=null;o++){if(w){u=r(w,n,o,l);var x=p^!!u;if(v&&u!=null){if(x){s=true;}else{l[o]=false;}}else{if(x){t.push(w);s=true;}}}}}if(u!==AB){if(!v){l=t;}y=y.replace(g.match[AI],"");if(!s){return[];}break;}}}if(y==q){if(s==null){throw"Syntax error, unrecognized expression: "+y;
}else{break;}}q=y;}return l;};var g=j.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(l,s,m){var o=typeof s==="string",t=o&&!/\W/.test(s),n=o&&!t;if(t&&!m){s=s.toUpperCase();}for(var p=0,q=l.length,r;p<q;p++){if((r=l[p])){while((r=r.previousSibling)&&r.nodeType!==1){}l[p]=n||r&&r.nodeName===s?r||false:r===s;}}if(n){j.filter(s,l,true);}},">":function(q,n,p){var s=typeof n==="string";if(s&&!/\W/.test(n)){n=p?n:n.toUpperCase();
for(var m=0,o=q.length;m<o;m++){var r=q[m];if(r){var l=r.parentNode;q[m]=l.nodeName===n?l:false;}}}else{for(var m=0,o=q.length;m<o;m++){var r=q[m];if(r){q[m]=s?r.parentNode:r.parentNode===n;}}if(s){j.filter(n,q,true);}}},"":function(l,n,p){var m=d++,o=A;if(!n.match(/\W/)){var q=n=p?n:n.toUpperCase();o=D;}o("parentNode",n,m,l,q,p);},"~":function(l,n,p){var m=d++,o=A;if(typeof n==="string"&&!n.match(/\W/)){var q=n=p?n:n.toUpperCase();o=D;}o("previousSibling",n,m,l,q,p);}},find:{ID:function(n,m,l){if(typeof m.getElementById!=="undefined"&&!l){var o=m.getElementById(n[1]);return o?[o]:[];}},NAME:function(m,q,p){if(typeof q.getElementsByName!=="undefined"){var n=[],r=q.getElementsByName(m[1]);for(var l=0,o=r.length;l<o;l++){if(r[l].getAttribute("name")===m[1]){n.push(r[l]);}}return n.length===0?null:n;}},TAG:function(m,l){return l.getElementsByTagName(m[1]);}},preFilter:{CLASS:function(l,n,m,o,q,p){l=" "+l[1].replace(/\\/g,"")+" ";if(p){return l;}for(var s=0,r;(r=n[s])!=null;s++){if(r){if(q^(r.className&&(" "+r.className+" ").indexOf(l)>=0)){if(!m){o.push(r);
}}else{if(m){n[s]=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]&&C(n[l])?m[1]:m[1].toUpperCase();},CHILD:function(m){if(m[1]=="nth"){var l=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(m[2]=="even"&&"2n"||m[2]=="odd"&&"2n+1"||!/\D/.test(m[2])&&"0n+"+m[2]||m[2]);m[2]=(l[1]+(l[2]||1))-0;m[3]=l[3]-0;}m[0]=d++;return m;},ATTR:function(r,n,m,o,q,p){var l=r[1].replace(/\\/g,"");if(!p&&g.attrMap[l]){r[1]=g.attrMap[l];}if(r[2]==="~="){r[4]=" "+r[4]+" ";}return r;},PSEUDO:function(q,n,m,o,p){if(q[1]==="not"){if(q[3].match(B).length>1||/^\w/.test(q[3])){q[3]=j(q[3],null,null,n);}else{var l=j.filter(q[3],n,m,true^p);if(!m){o.push.apply(o,l);}return false;}}else{if(g.match.POS.test(q[0])||g.match.CHILD.test(q[0])){return true;}}return q;},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 !!j(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(l,m){return m===0;},last:function(m,n,o,l){return n===l.length-1;},even:function(l,m){return m%2===0;},odd:function(l,m){return m%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(q,m,l,p){var n=m[1],s=g.filters[n];if(s){return s(q,l,m,p);}else{if(n==="contains"){return(q.textContent||q.innerText||"").indexOf(m[3])>=0;}else{if(n==="not"){var r=m[3];for(var l=0,o=r.length;l<o;l++){if(r[l]===q){return false;}}return true;}}}},CHILD:function(s,p){var m=p[1],r=s;switch(m){case"only":case"first":while(r=r.previousSibling){if(r.nodeType===1){return false;}}if(m=="first"){return true;}r=s;case"last":while(r=r.nextSibling){if(r.nodeType===1){return false;}}return true;case"nth":var q=p[2],t=p[3];if(q==1&&t==0){return true;}var n=p[0],u=s.parentNode;if(u&&(u.sizcache!==n||!s.nodeIndex)){var o=0;for(r=u.firstChild;r;r=r.nextSibling){if(r.nodeType===1){r.nodeIndex=++o;}}u.sizcache=n;}var l=s.nodeIndex-t;if(q==0){return l==0;}else{return(l%q==0&&l/q>=0);}}},ID:function(l,m){return l.nodeType===1&&l.getAttribute("id")===m;},TAG:function(l,m){return(m==="*"&&l.nodeType===1)||l.nodeName===m;
},CLASS:function(l,m){return(" "+(l.className||l.getAttribute("class"))+" ").indexOf(m)>-1;},ATTR:function(q,l){var m=l[1],o=g.attrHandle[m]?g.attrHandle[m](q):q[m]!=null?q[m]:q.getAttribute(m),p=o+"",r=l[2],n=l[4];return o==null?r==="!=":r==="="?p===n:r==="*="?p.indexOf(n)>=0:r==="~="?(" "+p+" ").indexOf(n)>=0:!n?p&&o!==false:r==="!="?p!=n:r==="^="?p.indexOf(n)===0:r==="$="?p.substr(p.length-n.length)===n:r==="|="?p===n||p.substr(0,n.length+1)===n+"-":false;},POS:function(q,n,m,p){var o=n[2],l=g.setFilters[o];if(l){return l(q,m,n,p);}}}};var c=g.match.POS;for(var a in g.match){g.match[a]=RegExp(g.match[a].source+/(?![^\[]*\])(?![^\(]*\))/.source);}var k=function(l,m){l=Array.prototype.slice.call(l);if(m){m.push.apply(m,l);return m;}return l;};try{Array.prototype.slice.call(document.documentElement.childNodes);}catch(b){k=function(p,l){var n=l||[];if(h.call(p)==="[object Array]"){Array.prototype.push.apply(n,p);}else{if(typeof p.length==="number"){for(var m=0,o=p.length;m<o;m++){n.push(p[m]);
}}else{for(var m=0;p[m];m++){n.push(p[m]);}}}return n;};}var i;if(document.documentElement.compareDocumentPosition){i=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){i=function(m,n){var l=m.sourceIndex-n.sourceIndex;if(l===0){hasDuplicate=true;}return l;};}else{if(document.createRange){i=function(l,n){var m=l.ownerDocument.createRange(),o=n.ownerDocument.createRange();m.selectNode(l);m.collapse(true);o.selectNode(n);o.collapse(true);var p=m.compareBoundaryPoints(Range.START_TO_END,o);if(p===0){hasDuplicate=true;}return p;};}}}(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)){g.find.ID=function(r,q,p){if(typeof q.getElementById!=="undefined"&&!p){var o=q.getElementById(r[1]);return o?o.id===r[1]||typeof o.getAttributeNode!=="undefined"&&o.getAttributeNode("id").nodeValue===r[1]?[o]:AB:[];
}};g.filter.ID=function(p,o){var q=typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id");return p.nodeType===1&&q&&q.nodeValue===o;};}n.removeChild(m);})();(function(){var l=document.createElement("div");l.appendChild(document.createComment(""));if(l.getElementsByTagName("*").length>0){g.find.TAG=function(o,p){var q=p.getElementsByTagName(o[1]);if(o[1]==="*"){var m=[];for(var n=0;q[n];n++){if(q[n].nodeType===1){m.push(q[n]);}}q=m;}return q;};}l.innerHTML="<a href='#'></a>";if(l.firstChild&&typeof l.firstChild.getAttribute!=="undefined"&&l.firstChild.getAttribute("href")!=="#"){g.attrHandle.href=function(m){return m.getAttribute("href",2);};}})();if(document.querySelectorAll){(function(){var m=j,l=document.createElement("div");l.innerHTML="<p class='TEST'></p>";if(l.querySelectorAll&&l.querySelectorAll(".TEST").length===0){return ;}j=function(q,r,o,n){r=r||document;if(!n&&r.nodeType===9&&!C(r)){try{return k(r.querySelectorAll(q),o);}catch(p){}}return m(q,r,o,n);};j.find=m.find;
j.filter=m.filter;j.selectors=m.selectors;j.matches=m.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 ;}g.order.splice(1,0,"CLASS");g.find.CLASS=function(o,n,m){if(typeof n.getElementsByClassName!=="undefined"&&!m){return n.getElementsByClassName(o[1]);}};})();}function D(r,m,n,t,l,u){var v=r=="previousSibling"&&!u;for(var p=0,q=t.length;p<q;p++){var s=t[p];if(s){if(v&&s.nodeType===1){s.sizcache=n;s.sizset=p;}s=s[r];var o=false;while(s){if(s.sizcache===n){o=t[s.sizset];break;}if(s.nodeType===1&&!u){s.sizcache=n;s.sizset=p;}if(s.nodeName===m){o=s;break;}s=s[r];}t[p]=o;}}}function A(r,m,n,t,l,u){var v=r=="previousSibling"&&!u;for(var p=0,q=t.length;p<q;p++){var s=t[p];if(s){if(v&&s.nodeType===1){s.sizcache=n;
s.sizset=p;}s=s[r];var o=false;while(s){if(s.sizcache===n){o=t[s.sizset];break;}if(s.nodeType===1){if(!u){s.sizcache=n;s.sizset=p;}if(typeof m!=="string"){if(s===m){o=true;break;}}else{if(j.filter(m,[s]).length>0){o=s;break;}}}s=s[r];}t[p]=o;}}}var e=document.compareDocumentPosition?function(l,m){return l.compareDocumentPosition(m)&16;}:function(l,m){return l!==m&&(l.contains?l.contains(m):true);};var C=function(l){return l.nodeType===9&&l.documentElement.nodeName!=="HTML"||!!l.ownerDocument&&C(l.ownerDocument);};var f=function(o,q){var l=[],s="",r,m=q.nodeType?[q]:q;while((r=g.match.PSEUDO.exec(o))){s+=r[0];o=o.replace(g.match.PSEUDO,"");}o=g.relative[o]?o+"*":o;for(var p=0,n=m.length;p<n;p++){j(o,m[p],l);}return j.filter(s,l);};T.find=j;T.filter=j.filter;T.expr=j.selectors;T.expr[":"]=T.expr.filters;j.selectors.filters.hidden=function(l){return l.offsetWidth===0||l.offsetHeight===0;};j.selectors.filters.visible=function(l){return l.offsetWidth>0||l.offsetHeight>0;};j.selectors.filters.animated=function(l){return T.grep(T.timers,function(m){return l===m.elem;
}).length;};T.multiFilter=function(l,n,m){if(m){l=":not("+l+")";}return j.matches(l,n);};T.dir=function(m,n){var o=[],l=m[n];while(l&&l!=document){if(l.nodeType==1){o.push(l);}l=l[n];}return o;};T.nth=function(p,o,m,l){o=o||1;var n=0;for(;p;p=p[m]){if(p.nodeType==1&&++n==o){break;}}return p;};T.sibling=function(l,m){var n=[];for(;l;l=l.nextSibling){if(l.nodeType==1&&l!=m){n.push(l);}}return n;};return ;W.Sizzle=j;})();T.event={add:function(C,b,D,A){if(C.nodeType==3||C.nodeType==8){return ;}if(C.setInterval&&C!=W){C=W;}if(!D.guid){D.guid=this.guid++;}if(A!==AB){var a=D;D=this.proxy(a);D.data=A;}var c=T.data(C,"events")||T.data(C,"events",{}),B=T.data(C,"handle")||T.data(C,"handle",function(){return typeof T!=="undefined"&&!T.event.triggered?T.event.handle.apply(arguments.callee.elem,arguments):AB;});B.elem=C;T.each(b.split(/\s+/),function(g,f){var e=f.split(".");f=e.shift();D.type=e.slice().sort().join(".");var d=c[f];if(T.event.specialAll[f]){T.event.specialAll[f].setup.call(C,A,e);}if(!d){d=c[f]={};
if(!T.event.special[f]||T.event.special[f].setup.call(C,A,e)===false){if(C.addEventListener){C.addEventListener(f,B,false);}else{if(C.attachEvent){C.attachEvent("on"+f,B);}}}}d[D.guid]=D;T.event.global[f]=true;});C=null;},guid:1,global:{},remove:function(B,a,C){if(B.nodeType==3||B.nodeType==8){return ;}var b=T.data(B,"events"),c,d;if(b){if(a===AB||(typeof a==="string"&&a.charAt(0)==".")){for(var D in b){this.remove(B,D+(a||""));}}else{if(a.type){C=a.handler;a=a.type;}T.each(a.split(/\s+/),function(i,g){var e=g.split(".");g=e.shift();var h=RegExp("(^|\\.)"+e.slice().sort().join(".*\\.")+"(\\.|$)");if(b[g]){if(C){delete b[g][C.guid];}else{for(var f in b[g]){if(h.test(b[g][f].type)){delete b[g][f];}}}if(T.event.specialAll[g]){T.event.specialAll[g].teardown.call(B,e);}for(c in b[g]){break;}if(!c){if(!T.event.special[g]||T.event.special[g].teardown.call(B,e)===false){if(B.removeEventListener){B.removeEventListener(g,T.data(B,"handle"),false);}else{if(B.detachEvent){B.detachEvent("on"+g,T.data(B,"handle"));
}}}c=null;delete b[g];}}});}for(c in b){break;}if(!c){var A=T.data(B,"handle");if(A){A.elem=null;}T.removeData(B,"events");T.removeData(B,"handle");}}},trigger:function(D,B,a,d){var b=D.type||D;if(!d){D=typeof D==="object"?D[AA]?D:T.extend(T.Event(b),D):T.Event(b);if(b.indexOf("!")>=0){D.type=b=b.slice(0,-1);D.exclusive=true;}if(!a){D.stopPropagation();if(this.global[b]){T.each(T.cache,function(){if(this.events&&this.events[b]){T.event.trigger(D,B,this.handle.elem);}});}}if(!a||a.nodeType==3||a.nodeType==8){return AB;}D.result=AB;D.target=a;B=T.makeArray(B);B.unshift(D);}D.currentTarget=a;var C=T.data(a,"handle");if(C){C.apply(a,B);}if((!a[b]||(T.nodeName(a,"a")&&b=="click"))&&a["on"+b]&&a["on"+b].apply(a,B)===false){D.result=false;}if(!d&&a[b]&&!D.isDefaultPrevented()&&!(T.nodeName(a,"a")&&b=="click")){this.triggered=true;try{a[b]();}catch(A){}}this.triggered=false;if(!D.isPropagationStopped()){var c=a.parentNode||a.ownerDocument;if(c){T.event.trigger(D,B,c,true);}}},handle:function(B){var C,d;
B=arguments[0]=T.event.fix(B||W.event);B.currentTarget=this;var A=B.type.split(".");B.type=A.shift();C=!A.length&&!B.exclusive;var D=RegExp("(^|\\.)"+A.slice().sort().join(".*\\.")+"(\\.|$)");d=(T.data(this,"events")||{})[B.type];for(var b in d){var a=d[b];if(C||D.test(a.type)){B.handler=a;B.data=a.data;var c=a.apply(this,arguments);if(c!==AB){B.result=c;if(c===false){B.preventDefault();B.stopPropagation();}}if(B.isImmediatePropagationStopped()){break;}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(C){if(C[AA]){return C;}var a=C;C=T.Event(a);for(var D=this.props.length,A;D;){A=this.props[--D];C[A]=a[A];}if(!C.target){C.target=C.srcElement||document;}if(C.target.nodeType==3){C.target=C.target.parentNode;
}if(!C.relatedTarget&&C.fromElement){C.relatedTarget=C.fromElement==C.target?C.toElement:C.fromElement;}if(C.pageX==null&&C.clientX!=null){var B=document.documentElement,b=document.body;C.pageX=C.clientX+(B&&B.scrollLeft||b&&b.scrollLeft||0)-(B.clientLeft||0);C.pageY=C.clientY+(B&&B.scrollTop||b&&b.scrollTop||0)-(B.clientTop||0);}if(!C.which&&((C.charCode||C.charCode===0)?C.charCode:C.keyCode)){C.which=C.charCode||C.keyCode;}if(!C.metaKey&&C.ctrlKey){C.metaKey=C.ctrlKey;}if(!C.which&&C.button){C.which=(C.button&1?1:(C.button&2?3:(C.button&4?2:0)));}return C;},proxy:function(A,B){B=B||function(){return A.apply(this,arguments);};B.guid=A.guid=A.guid||B.guid||this.guid++;return B;},special:{ready:{setup:P,teardown:function(){}}},specialAll:{live:{setup:function(B,A){T.event.add(this,A[0],AF);},teardown:function(A){if(A.length){var C=0,B=RegExp("(^|\\.)"+A[0]+"(\\.|$)");T.each((T.data(this,"events").live||{}),function(){if(B.test(this.type)){C++;}});if(C<1){T.event.remove(this,A[0],AF);}}}}}};
T.Event=function(A){if(!this.preventDefault){return new T.Event(A);}if(A&&A.type){this.originalEvent=A;this.type=A.type;}else{this.type=A;}this.timeStamp=AD();this[AA]=true;};function X(){return false;}function J(){return true;}T.Event.prototype={preventDefault:function(){this.isDefaultPrevented=J;var A=this.originalEvent;if(!A){return ;}if(A.preventDefault){A.preventDefault();}A.returnValue=false;},stopPropagation:function(){this.isPropagationStopped=J;var A=this.originalEvent;if(!A){return ;}if(A.stopPropagation){A.stopPropagation();}A.cancelBubble=true;},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=J;this.stopPropagation();},isDefaultPrevented:X,isPropagationStopped:X,isImmediatePropagationStopped:X};var AH=function(B){var C=B.relatedTarget;while(C&&C!=this){try{C=C.parentNode;}catch(A){C=this;}}if(C!=this){B.type=B.data;T.event.handle.apply(this,arguments);}};T.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(A,B){T.event.special[B]={setup:function(){T.event.add(this,A,AH,B);
},teardown:function(){T.event.remove(this,A,AH);}};});T.fn.extend({bind:function(B,A,C){return B=="unload"?this.one(B,A,C):this.each(function(){T.event.add(this,B,C||A,C&&A);});},one:function(B,A,C){var D=T.event.proxy(C||A,function(a){T(this).unbind(a,D);return(C||A).apply(this,arguments);});return this.each(function(){T.event.add(this,B,D,C&&A);});},unbind:function(A,B){return this.each(function(){T.event.remove(this,A,B);});},trigger:function(B,A){return this.each(function(){T.event.trigger(B,A,this);});},triggerHandler:function(C,A){if(this[0]){var B=T.Event(C);B.preventDefault();B.stopPropagation();T.event.trigger(B,A,this[0]);return B.result;}},toggle:function(A){var C=arguments,B=1;while(B<C.length){T.event.proxy(A,C[B++]);}return this.click(T.event.proxy(A,function(D){this.lastToggle=(this.lastToggle||0)%B;D.preventDefault();return C[this.lastToggle++].apply(this,arguments)||false;}));},hover:function(B,A){return this.mouseenter(B).mouseleave(A);},ready:function(A){P();if(T.isReady){A.call(document,T);
}else{T.readyList.push(A);}return this;},live:function(A,B){var C=T.event.proxy(B);C.guid+=this.selector+A;T(document).bind(Z(A,this.selector),this.selector,C);return this;},die:function(A,B){T(document).unbind(Z(A,this.selector),B?{guid:B.guid+this.selector+A}:null);return this;}});function AF(A){var D=RegExp("(^|\\.)"+A.type+"(\\.|$)"),B=true,C=[];T.each(T.data(this,"events").live||[],function(c,b){if(D.test(b.type)){var a=T(A.target).closest(b.data)[0];if(a){C.push({elem:a,fn:b});}}});C.sort(function(a,b){return T.data(a.elem,"closest")-T.data(b.elem,"closest");});T.each(C,function(){if(this.fn.call(this.elem,A,this.fn.data)===false){return(B=false);}});return B;}function Z(A,B){return["live",A,B.replace(/\./g,"`").replace(/ /g,"|")].join(".");}T.extend({isReady:false,readyList:[],ready:function(){if(!T.isReady){T.isReady=true;if(T.readyList){T.each(T.readyList,function(){this.call(document,T);});T.readyList=null;}T(document).triggerHandler("ready");}}});var G=false;function P(){if(G){return ;
}G=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);T.ready();},false);}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);T.ready();}});if(document.documentElement.doScroll&&W==W.top){(function(){if(T.isReady){return ;}try{document.documentElement.doScroll("left");}catch(A){setTimeout(arguments.callee,0);return ;}T.ready();})();}}}T.event.add(W,"load",T.ready);}T.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(A,B){T.fn[B]=function(C){return C?this.bind(B,C):this.trigger(B);};});T(W).bind("unload",function(){for(var A in T.cache){if(A!=1&&T.cache[A].handle){T.event.remove(T.cache[A].handle.elem);}}});
(function(){T.support={};var b=document.documentElement,a=document.createElement("script"),A=document.createElement("div"),B="script"+(new Date).getTime();A.style.display="none";A.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var D=A.getElementsByTagName("*"),c=A.getElementsByTagName("a")[0];if(!D||!D.length||!c){return ;}T.support={leadingWhitespace:A.firstChild.nodeType==3,tbody:!A.getElementsByTagName("tbody").length,objectAll:!!A.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!A.getElementsByTagName("link").length,style:/red/.test(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(C){}b.insertBefore(a,b.firstChild);if(W[B]){T.support.scriptEval=true;
delete W[B];}b.removeChild(a);if(A.attachEvent&&A.fireEvent){A.attachEvent("onclick",function(){T.support.noCloneEvent=false;A.detachEvent("onclick",arguments.callee);});A.cloneNode(true).fireEvent("onclick");}T(function(){var d=document.createElement("div");d.style.width=d.style.paddingLeft="1px";document.body.appendChild(d);T.boxModel=T.support.boxModel=d.offsetWidth===2;document.body.removeChild(d).style.display="none";});})();var H=T.support.cssFloat?"cssFloat":"styleFloat";T.props={"for":"htmlFor","class":"className","float":H,cssFloat:H,styleFloat:H,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};T.fn.extend({_load:T.fn.load,load:function(a,B,A){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 D="GET";if(B){if(T.isFunction(B)){A=B;B=null;}else{if(typeof B==="object"){B=T.param(B);D="POST";}}}var b=this;T.ajax({url:a,type:D,dataType:"html",data:B,complete:function(e,d){if(d=="success"||d=="notmodified"){b.html(c?T("<div/>").append(e.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(c):e.responseText);
}if(A){b.each(A,[e.responseText,d,e]);}}});return this;},serialize:function(){return T.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return this.elements?T.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type));}).map(function(C,B){var A=T(this).val();return A==null?null:T.isArray(A)?T.map(A,function(D,a){return{name:B.name,value:D};}):{name:B.name,value:A};}).get();}});T.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(B,A){T.fn[A]=function(C){return this.bind(A,C);};});var N=AD();T.extend({get:function(D,B,A,C){if(T.isFunction(B)){A=B;B=null;}return T.ajax({type:"GET",url:D,data:B,success:A,dataType:C});},getScript:function(B,A){return T.get(B,null,A,"script");},getJSON:function(C,B,A){return T.get(C,B,A,"json");},post:function(D,B,A,C){if(T.isFunction(B)){A=B;B={};}return T.ajax({type:"POST",url:D,data:B,success:A,dataType:C});
},ajaxSetup:function(A){T.extend(T.ajaxSettings,A);},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return W.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=T.extend(true,g,T.extend(true,{},T.ajaxSettings,g));var A,n=/=\?(&|$)/g,b,B,m=g.type.toUpperCase();if(g.data&&g.processData&&typeof g.data!=="string"){g.data=T.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"+N++;if(g.data){g.data=(g.data+"").replace(n,"="+A+"$1");
}g.url=g.url.replace(n,"="+A+"$1");g.dataType="script";W[A]=function(q){B=q;k();h();W[A]=AB;try{delete W[A];}catch(p){}if(l){l.removeChild(D);}};}if(g.dataType=="script"&&g.cache==null){g.cache=false;}if(g.cache===false&&m=="GET"){var o=AD();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&&!T.active++){T.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 AB;
}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",T.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&&!--T.active){T.event.trigger("ajaxStop");}j.abort();return false;}if(g.global){T.event.trigger("ajaxSend",[j,g]);}var f=function(r){if(j.readyState==0){if(d){clearInterval(d);d=null;if(g.global&&!--T.active){T.event.trigger("ajaxStop");}}}else{if(!i&&j&&(j.readyState==4||r=="timeout")){i=true;if(d){clearInterval(d);d=null;}b=r=="timeout"?"timeout":!T.httpSuccess(j)?"error":g.ifModified&&T.httpNotModified(j,g.url)?"notmodified":"success";if(b=="success"){try{B=T.httpData(j,g.dataType,g);
}catch(p){b="parsererror";}}if(b=="success"){var q;try{q=j.getResponseHeader("Last-Modified");}catch(p){}if(g.ifModified&&q){T.lastModified[g.url]=q;}if(!A){k();}}else{T.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){T.handleError(g,j,null,a);}if(!g.async){f();}function k(){if(g.success){g.success(B,b);}if(g.global){T.event.trigger("ajaxSuccess",[j,g]);}}function h(){if(g.complete){g.complete(j,b);}if(g.global){T.event.trigger("ajaxComplete",[j,g]);}if(g.global&&!--T.active){T.event.trigger("ajaxStop");}}return j;},handleError:function(C,A,D,B){if(C.error){C.error(A,D,B);}if(C.global){T.event.trigger("ajaxError",[A,C,B]);}},active:0,httpSuccess:function(A){try{return !A.status&&location.protocol=="file:"||(A.status>=200&&A.status<300)||A.status==304||A.status==1223;}catch(B){}return false;},httpNotModified:function(B,D){try{var A=B.getResponseHeader("Last-Modified");
return B.status==304||A==T.lastModified[D];}catch(C){}return false;},httpData:function(A,C,D){var a=A.getResponseHeader("content-type"),b=C=="xml"||!C&&a&&a.indexOf("xml")>=0,B=b?A.responseXML:A.responseText;if(b&&B.documentElement.tagName=="parsererror"){throw"parsererror";}if(D&&D.dataFilter){B=D.dataFilter(B,C);}if(typeof B==="string"){if(C=="script"){T.globalEval(B);}if(C=="json"){B=W["eval"]("("+B+")");}}return B;},param:function(D){var B=[];function A(b,a){B[B.length]=encodeURIComponent(b)+"="+encodeURIComponent(a);}if(T.isArray(D)||D.jquery){T.each(D,function(){A(this.name,this.value);});}else{for(var C in D){if(T.isArray(D[C])){T.each(D[C],function(){A(C,this);});}else{A(C,T.isFunction(D[C])?D[C]():D[C]);}}}return B.join("&").replace(/%20/g,"+");}});var V={},U,AE=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function K(B,C){var A={};T.each(AE.concat.apply([],AE.slice(0,C)),function(){A[this]=B;
});return A;}T.fn.extend({show:function(C,A){if(C){return this.animate(K("show",3),C,A);}else{for(var a=0,c=this.length;a<c;a++){var d=T.data(this[a],"olddisplay");this[a].style.display=d||"";if(T.css(this[a],"display")==="none"){var b=this[a].tagName,B;if(V[b]){B=V[b];}else{var D=T("<"+b+" />").appendTo("body");B=D.css("display");if(B==="none"){B="block";}D.remove();V[b]=B;}T.data(this[a],"olddisplay",B);}}for(var a=0,c=this.length;a<c;a++){this[a].style.display=T.data(this[a],"olddisplay")||"";}return this;}},hide:function(B,A){if(B){return this.animate(K("hide",3),B,A);}else{for(var C=0,D=this.length;C<D;C++){var a=T.data(this[C],"olddisplay");if(!a&&a!=="none"){T.data(this[C],"olddisplay",T.css(this[C],"display"));}}for(var C=0,D=this.length;C<D;C++){this[C].style.display="none";}return this;}},_toggle:T.fn.toggle,toggle:function(A,B){var C=typeof A==="boolean";return T.isFunction(A)&&T.isFunction(B)?this._toggle.apply(this,arguments):A==null||C?this.each(function(){var D=C?A:T(this).is(":hidden");
T(this)[D?"show":"hide"]();}):this.animate(K("toggle",3),A,B);},fadeTo:function(C,A,B){return this.animate({opacity:A},C,B);},animate:function(A,D,B,C){var a=T.speed(D,B,C);return this[a.queue===false?"each":"queue"](function(){var c=T.extend({},a),e,b=this.nodeType==1&&T(this).is(":hidden"),d=this;for(e in A){if(A[e]=="hide"&&b||A[e]=="show"&&!b){return c.complete.call(this);}if((e=="height"||e=="width")&&this.style){c.display=T.css(this,"display");c.overflow=this.style.overflow;}}if(c.overflow!=null){this.style.overflow="hidden";}c.curAnim=T.extend({},A);T.each(A,function(k,g){var h=new T.fx(d,c,k);if(/toggle|show|hide/.test(g)){h[g=="toggle"?b?"show":"hide":g](A);}else{var i=g.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),f=h.cur(true)||0;if(i){var l=parseFloat(i[2]),j=i[3]||"px";if(j!="px"){d.style[k]=(l||1)+j;f=((l||1)/h.cur(true))*f;d.style[k]=f+j;}if(i[1]){l=((i[1]=="-="?-1:1)*l)+f;}h.custom(f,l,j);}else{h.custom(f,g,"");}}});return true;});},stop:function(B,C){var A=T.timers;if(B){this.queue([]);
}this.each(function(){for(var D=A.length-1;D>=0;D--){if(A[D].elem==this){if(C){A[D](true);}A.splice(D,1);}}});if(!C){this.dequeue();}return this;}});T.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(B,A){T.fn[B]=function(D,C){return this.animate(A,D,C);};});T.extend({speed:function(B,A,C){var D=typeof B==="object"?B:{complete:C||!C&&A||T.isFunction(B)&&B,duration:B,easing:C&&A||A&&!T.isFunction(A)&&A};D.duration=T.fx.off?0:typeof D.duration==="number"?D.duration:T.fx.speeds[D.duration]||T.fx.speeds._default;D.old=D.complete;D.complete=function(){if(D.queue!==false){T(this).dequeue();}if(T.isFunction(D.old)){D.old.call(this);}};return D;},easing:{linear:function(B,A,D,C){return D+C*B;},swing:function(B,A,D,C){return((-Math.cos(B*Math.PI)/2)+0.5)*C+D;}},timers:[],fx:function(B,C,A){this.options=C;this.elem=B;this.prop=A;if(!C.orig){C.orig={};}}});T.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this);
}(T.fx.step[this.prop]||T.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block";}},cur:function(A){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop];}var B=parseFloat(T.css(this.elem,this.prop,A));return B&&B>-10000?B:parseFloat(T.curCSS(this.elem,this.prop))||0;},custom:function(A,B,C){this.startTime=AD();this.start=A;this.end=B;this.unit=C||this.unit||"px";this.now=this.start;this.pos=this.state=0;var a=this;function D(b){return a.step(b);}D.elem=this.elem;if(D()&&T.timers.push(D)&&!U){U=setInterval(function(){var b=T.timers;for(var c=0;c<b.length;c++){if(!b[c]()){b.splice(c--,1);}}if(!b.length){clearInterval(U);U=AB;}},13);}},show:function(){this.options.orig[this.prop]=T.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());T(this.elem).show();},hide:function(){this.options.orig[this.prop]=T.attr(this.elem.style,this.prop);
this.options.hide=true;this.custom(this.cur(),0);},step:function(C){var D=AD();if(C||D>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var b=true;for(var a in this.options.curAnim){if(this.options.curAnim[a]!==true){b=false;}}if(b){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(T.css(this.elem,"display")=="none"){this.elem.style.display="block";}}if(this.options.hide){T(this.elem).hide();}if(this.options.hide||this.options.show){for(var B in this.options.curAnim){T.attr(this.elem.style,B,this.options.orig[B]);}}this.options.complete.call(this.elem);}return false;}else{var A=D-this.startTime;this.state=A/this.options.duration;this.pos=T.easing[this.options.easing||(T.easing.swing?"swing":"linear")](this.state,A,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update();}return true;}};T.extend(T.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(A){T.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){T.fn.offset=function(){if(!this[0]){return{top:0,left:0};}if(this[0]===this[0].ownerDocument.body){return T.offset.bodyOffset(this[0]);}var b=this[0].getBoundingClientRect(),C=this[0].ownerDocument,c=C.body,d=C.documentElement,A=d.clientTop||c.clientTop||0,B=d.clientLeft||c.clientLeft||0,D=b.top+(self.pageYOffset||T.boxModel&&d.scrollTop||c.scrollTop)-A,a=b.left+(self.pageXOffset||T.boxModel&&d.scrollLeft||c.scrollLeft)-B;return{top:D,left:a};};}else{T.fn.offset=function(){if(!this[0]){return{top:0,left:0};}if(this[0]===this[0].ownerDocument.body){return T.offset.bodyOffset(this[0]);}T.offset.initialized||T.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(T.offset.doesNotAddBorder&&!(T.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(T.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};};}T.offset={initialize:function(){if(this.initialized){return ;}var C=document.body,e=document.createElement("div"),c,d,A,b,B,f,a=C.style.marginTop,D='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';
B={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(f in B){e.style[f]=B[f];}e.innerHTML=D;C.insertBefore(e,C.firstChild);c=e.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);C.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(C.offsetTop===0);C.style.marginTop=a;C.removeChild(e);this.initialized=true;},bodyOffset:function(C){T.offset.initialized||T.offset.initialize();var A=C.offsetTop,B=C.offsetLeft;if(T.offset.doesNotIncludeMarginInBodyOffset){A+=parseInt(T.curCSS(C,"marginTop",true),10)||0,B+=parseInt(T.curCSS(C,"marginLeft",true),10)||0;}return{top:A,left:B};}};T.fn.extend({position:function(){var B=0,C=0,a;if(this[0]){var D=this.offsetParent(),A=this.offset(),b=/^body|html$/i.test(D[0].tagName)?{top:0,left:0}:D.offset();
A.top-=Y(this,"marginTop");A.left-=Y(this,"marginLeft");b.top+=Y(D,"borderTopWidth");b.left+=Y(D,"borderLeftWidth");a={top:A.top-b.top,left:A.left-b.left};}return a;},offsetParent:function(){var A=this[0].offsetParent||document.body;while(A&&(!/^body|html$/i.test(A.tagName)&&T.css(A,"position")=="static")){A=A.offsetParent;}return T(A);}});T.each(["Left","Top"],function(B,C){var A="scroll"+C;T.fn[A]=function(D){if(!this[0]){return null;}return D!==AB?this.each(function(){this==W||this==document?W.scrollTo(!B?D:T(W).scrollLeft(),B?D:T(W).scrollTop()):this[A]=D;}):this[0]==W||this[0]==document?self[B?"pageYOffset":"pageXOffset"]||T.boxModel&&document.documentElement[A]||document.body[A]:this[0][A];};});T.each(["Height","Width"],function(B,D){var b=B?"Left":"Top",C=B?"Right":"Bottom",a=D.toLowerCase();T.fn["inner"+D]=function(){return this[0]?T.css(this[0],a,false,"padding"):null;};T.fn["outer"+D]=function(c){return this[0]?T.css(this[0],a,false,c?"margin":"border"):null;};var A=D.toLowerCase();
T.fn[A]=function(c){return this[0]==W?document.compatMode=="CSS1Compat"&&document.documentElement["client"+D]||document.body["client"+D]:this[0]==document?Math.max(document.documentElement["client"+D],document.body["scroll"+D],document.documentElement["scroll"+D],document.body["offset"+D],document.documentElement["offset"+D]):c===AB?(this.length?T.css(this[0],A):null):this.css(A,typeof c==="string"?c:c+"px");};});})();(function($){$.extend({metadata:{defaults:{type:"class",name:"metadata",cre:/({.*})/,single:"metadata"},setType:function(type,name){this.defaults.type=type;this.defaults.name=name;},get:function(elem,opts){var settings=$.extend({},this.defaults,opts);if(!settings.single.length){settings.single="metadata";}var data=$.data(elem,settings.single);if(data){return data;}data="{}";if(settings.type=="class"){var m=settings.cre.exec(elem.className);if(m){data=m[1];}}else{if(settings.type=="elem"){if(!elem.getElementsByTagName){return ;}var e=elem.getElementsByTagName(settings.name);
if(e.length){data=$.trim(e[0].innerHTML);}}else{if(elem.getAttribute!=undefined){var attr=elem.getAttribute(settings.name);if(attr){data=attr;}}}}if(data.indexOf("{")<0){data="{"+data+"}";}data=eval("("+data+")");$.data(elem,settings.single,data);return data;}}});$.fn.metadata=function(opts){return $.metadata.get(this[0],opts);};})(jQuery);jQuery.cookie=function(B,I,L){if(typeof I!="undefined"){L=L||{};if(I===null){I="";L.expires=-1;}var E="";if(L.expires&&(typeof L.expires=="number"||L.expires.toUTCString)){var F;if(typeof L.expires=="number"){F=new Date();F.setTime(F.getTime()+(L.expires*24*60*60*1000));}else{F=L.expires;}E="; expires="+F.toUTCString();}var K=L.path?"; path="+(L.path):"";var G=L.domain?"; domain="+(L.domain):"";var A=L.secure?"; secure":"";document.cookie=[B,"=",encodeURIComponent(I),E,K,G,A].join("");}else{var D=null;if(document.cookie&&document.cookie!=""){var J=document.cookie.split(";");for(var H=0;H<J.length;H++){var C=jQuery.trim(J[H]);if(C.substring(0,B.length+1)==(B+"=")){D=decodeURIComponent(C.substring(B.length+1));
break;}}}return D;}};(function($){function toIntegersAtLease(n){return n<10?"0"+n:n;}Date.prototype.toJSON=function(date){return this.getUTCFullYear()+"-"+toIntegersAtLease(this.getUTCMonth())+"-"+toIntegersAtLease(this.getUTCDate());};var escapeable=/["\\\x00-\x1f\x7f-\x9f]/g;var meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};$.quoteString=function(string){if(escapeable.test(string)){return'"'+string.replace(escapeable,function(a){var c=meta[a];if(typeof c==="string"){return c;}c=a.charCodeAt();return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16);})+'"';}return'"'+string+'"';};$.toJSON=function(o,compact){var type=typeof (o);if(type=="undefined"){return"undefined";}else{if(type=="number"||type=="boolean"){return o+"";}else{if(o===null){return"null";}}}if(type=="string"){return $.quoteString(o);}if(type=="object"&&typeof o.toJSON=="function"){return o.toJSON(compact);}if(type!="function"&&typeof (o.length)=="number"){var ret=[];for(var i=0;
i<o.length;i++){ret.push($.toJSON(o[i],compact));}if(compact){return"["+ret.join(",")+"]";}else{return"["+ret.join(", ")+"]";}}if(type=="function"){throw new TypeError("Unable to convert object of type 'function' to json.");}var ret=[];for(var k in o){var name;type=typeof (k);if(type=="number"){name='"'+k+'"';}else{if(type=="string"){name=$.quoteString(k);}else{continue;}}var val=$.toJSON(o[k],compact);if(typeof (val)!="string"){continue;}if(compact){ret.push(name+":"+val);}else{ret.push(name+": "+val);}}return"{"+ret.join(", ")+"}";};$.compactJSON=function(o){return $.toJSON(o,true);};$.evalJSON=function(src){return eval("("+src+")");};$.secureEvalJSON=function(src){var filtered=src;filtered=filtered.replace(/\\["\\\/bfnrtu]/g,"@");filtered=filtered.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]");filtered=filtered.replace(/(?:^|:|,)(?:\s*\[)+/g,"");if(/^[\],:{}\s]*$/.test(filtered)){return eval("("+src+")");}else{throw new SyntaxError("Error parsing JSON, source is not valid.");
}};})(jQuery);(function(E){var Q=function(G,F){return(G<<F)|(G>>>(32-F));};var A=function(S,G){var U,F,I,T,H;I=(S&2147483648);T=(G&2147483648);U=(S&1073741824);F=(G&1073741824);H=(S&1073741823)+(G&1073741823);if(U&F){return(H^2147483648^I^T);}if(U|F){if(H&1073741824){return(H^3221225472^I^T);}else{return(H^1073741824^I^T);}}else{return(H^I^T);}};var R=function(F,H,G){return(F&H)|((~F)&G);};var P=function(F,H,G){return(F&G)|(H&(~G));};var N=function(F,H,G){return(F^H^G);};var M=function(F,H,G){return(H^(F|(~G)));};var K=function(H,G,U,T,F,I,S){H=A(H,A(A(R(G,U,T),F),S));return A(Q(H,I),G);};var C=function(H,G,U,T,F,I,S){H=A(H,A(A(P(G,U,T),F),S));return A(Q(H,I),G);};var L=function(H,G,U,T,F,I,S){H=A(H,A(A(N(G,U,T),F),S));return A(Q(H,I),G);};var D=function(H,G,U,T,F,I,S){H=A(H,A(A(M(G,U,T),F),S));return A(Q(H,I),G);};var J=function(I){var V;var H=I.length;var G=H+8;var U=(G-(G%64))/64;var T=(U+1)*16;var W=Array(T-1);var F=0;var S=0;while(S<H){V=(S-(S%4))/4;F=(S%4)*8;W[V]=(W[V]|(I.charCodeAt(S)<<F));
S++;}V=(S-(S%4))/4;F=(S%4)*8;W[V]=W[V]|(128<<F);W[T-2]=H<<3;W[T-1]=H>>>29;return W;};var B=function(I){var H="",F="",S,G;for(G=0;G<=3;G++){S=(I>>>(G*8))&255;F="0"+S.toString(16);H=H+F.substr(F.length-2,2);}return H;};var O=function(G){G=G.replace(/\x0d\x0a/g,"\x0a");var F="";for(var I=0;I<G.length;I++){var H=G.charCodeAt(I);if(H<128){F+=String.fromCharCode(H);}else{if((H>127)&&(H<2048)){F+=String.fromCharCode((H>>6)|192);F+=String.fromCharCode((H&63)|128);}else{F+=String.fromCharCode((H>>12)|224);F+=String.fromCharCode(((H>>6)&63)|128);F+=String.fromCharCode((H&63)|128);}}}return F;};E.extend({md5:function(F){var V=Array();var j,l,G,U,i,u,t,r,o;var g=7,e=12,Y=17,W=22;var s=5,p=9,n=14,m=20;var T=4,S=11,I=16,H=23;var h=6,f=10,Z=15,X=21;F=O(F);V=J(F);u=1732584193;t=4023233417;r=2562383102;o=271733878;for(j=0;j<V.length;j+=16){l=u;G=t;U=r;i=o;u=K(u,t,r,o,V[j+0],g,3614090360);o=K(o,u,t,r,V[j+1],e,3905402710);r=K(r,o,u,t,V[j+2],Y,606105819);t=K(t,r,o,u,V[j+3],W,3250441966);u=K(u,t,r,o,V[j+4],g,4118548399);
o=K(o,u,t,r,V[j+5],e,1200080426);r=K(r,o,u,t,V[j+6],Y,2821735955);t=K(t,r,o,u,V[j+7],W,4249261313);u=K(u,t,r,o,V[j+8],g,1770035416);o=K(o,u,t,r,V[j+9],e,2336552879);r=K(r,o,u,t,V[j+10],Y,4294925233);t=K(t,r,o,u,V[j+11],W,2304563134);u=K(u,t,r,o,V[j+12],g,1804603682);o=K(o,u,t,r,V[j+13],e,4254626195);r=K(r,o,u,t,V[j+14],Y,2792965006);t=K(t,r,o,u,V[j+15],W,1236535329);u=C(u,t,r,o,V[j+1],s,4129170786);o=C(o,u,t,r,V[j+6],p,3225465664);r=C(r,o,u,t,V[j+11],n,643717713);t=C(t,r,o,u,V[j+0],m,3921069994);u=C(u,t,r,o,V[j+5],s,3593408605);o=C(o,u,t,r,V[j+10],p,38016083);r=C(r,o,u,t,V[j+15],n,3634488961);t=C(t,r,o,u,V[j+4],m,3889429448);u=C(u,t,r,o,V[j+9],s,568446438);o=C(o,u,t,r,V[j+14],p,3275163606);r=C(r,o,u,t,V[j+3],n,4107603335);t=C(t,r,o,u,V[j+8],m,1163531501);u=C(u,t,r,o,V[j+13],s,2850285829);o=C(o,u,t,r,V[j+2],p,4243563512);r=C(r,o,u,t,V[j+7],n,1735328473);t=C(t,r,o,u,V[j+12],m,2368359562);u=L(u,t,r,o,V[j+5],T,4294588738);o=L(o,u,t,r,V[j+8],S,2272392833);r=L(r,o,u,t,V[j+11],I,1839030562);t=L(t,r,o,u,V[j+14],H,4259657740);
u=L(u,t,r,o,V[j+1],T,2763975236);o=L(o,u,t,r,V[j+4],S,1272893353);r=L(r,o,u,t,V[j+7],I,4139469664);t=L(t,r,o,u,V[j+10],H,3200236656);u=L(u,t,r,o,V[j+13],T,681279174);o=L(o,u,t,r,V[j+0],S,3936430074);r=L(r,o,u,t,V[j+3],I,3572445317);t=L(t,r,o,u,V[j+6],H,76029189);u=L(u,t,r,o,V[j+9],T,3654602809);o=L(o,u,t,r,V[j+12],S,3873151461);r=L(r,o,u,t,V[j+15],I,530742520);t=L(t,r,o,u,V[j+2],H,3299628645);u=D(u,t,r,o,V[j+0],h,4096336452);o=D(o,u,t,r,V[j+7],f,1126891415);r=D(r,o,u,t,V[j+14],Z,2878612391);t=D(t,r,o,u,V[j+5],X,4237533241);u=D(u,t,r,o,V[j+12],h,1700485571);o=D(o,u,t,r,V[j+3],f,2399980690);r=D(r,o,u,t,V[j+10],Z,4293915773);t=D(t,r,o,u,V[j+1],X,2240044497);u=D(u,t,r,o,V[j+8],h,1873313359);o=D(o,u,t,r,V[j+15],f,4264355552);r=D(r,o,u,t,V[j+6],Z,2734768916);t=D(t,r,o,u,V[j+13],X,1309151649);u=D(u,t,r,o,V[j+4],h,4149444226);o=D(o,u,t,r,V[j+11],f,3174756917);r=D(r,o,u,t,V[j+2],Z,718787259);t=D(t,r,o,u,V[j+9],X,3951481745);u=A(u,l);t=A(t,G);r=A(r,U);o=A(o,i);}var q=B(u)+B(t)+B(r)+B(o);return q.toLowerCase();
}});})(jQuery);jQuery.ui||(function(G){var A=G.fn.remove,F=G.browser.mozilla&&(parseFloat(G.browser.version)<1.9);G.ui={version:"1.7.1",plugin:{add:function(L,K,N){var J=G.ui[L].prototype;for(var M in N){J.plugins[M]=J.plugins[M]||[];J.plugins[M].push([K,N[M]]);}},call:function(M,K,L){var N=M.plugins[K];if(!N||!M.element[0].parentNode){return ;}for(var J=0;J<N.length;J++){if(M.options[N[J][0]]){N[J][1].apply(M.element,L);}}}},contains:function(J,K){return document.compareDocumentPosition?J.compareDocumentPosition(K)&16:J!==K&&J.contains(K);},hasScroll:function(J,L){if(G(J).css("overflow")=="hidden"){return false;}var M=(L&&L=="left")?"scrollLeft":"scrollTop",K=false;if(J[M]>0){return true;}J[M]=1;K=(J[M]>0);J[M]=0;return K;},isOverAxis:function(K,L,J){return(K>L)&&(K<(L+J));},isOver:function(N,L,O,J,M,K){return G.ui.isOverAxis(N,O,M)&&G.ui.isOverAxis(L,J,K);},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};
if(F){var D=G.attr,E=G.fn.removeAttr,B="http://www.w3.org/2005/07/aaa",I=/^aria-/,H=/^wairole:/;G.attr=function(L,M,K){var J=K!==undefined;return(M=="role"?(J?D.call(this,L,M,"wairole:"+K):(D.apply(this,arguments)||"").replace(H,"")):(I.test(M)?(J?L.setAttributeNS(B,M.replace(I,"aaa:"),K):D.call(this,L,M.replace(I,"aaa:"))):D.apply(this,arguments)));};G.fn.removeAttr=function(J){return(I.test(J)?this.each(function(){this.removeAttributeNS(B,J.replace(I,""));}):E.call(this,J));};}G.fn.extend({remove:function(){G("*",this).add(this).each(function(){G(this).triggerHandler("remove");});return A.apply(this,arguments);},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui");},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false;});},scrollParent:function(){var J;if((G.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){J=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(G.curCSS(this,"position",1))&&(/(auto|scroll)/).test(G.curCSS(this,"overflow",1)+G.curCSS(this,"overflow-y",1)+G.curCSS(this,"overflow-x",1));
}).eq(0);}else{J=this.parents().filter(function(){return(/(auto|scroll)/).test(G.curCSS(this,"overflow",1)+G.curCSS(this,"overflow-y",1)+G.curCSS(this,"overflow-x",1));}).eq(0);}return(/fixed/).test(this.css("position"))||!J.length?G(document):J;}});G.extend(G.expr[":"],{data:function(J,K,L){return !!G.data(J,L[3]);},focusable:function(K){var J=K.nodeName.toLowerCase(),L=G.attr(K,"tabindex");return(/input|select|textarea|button|object/.test(J)?!K.disabled:"a"==J||"area"==J?K.href||!isNaN(L):!isNaN(L))&&!G(K)["area"==J?"parents":"closest"](":hidden").length;},tabbable:function(J){var K=G.attr(J,"tabindex");return(isNaN(K)||K>=0)&&G(J).is(":focusable");}});function C(J,O,N,K){function L(P){var Q=G[J][O][P]||[];return(typeof Q=="string"?Q.split(/,?\s+/):Q);}var M=L("getter");if(K.length==1&&typeof K[0]=="string"){M=M.concat(L("getterSetter"));}return(G.inArray(N,M)!=-1);}G.widget=function(K,L){var J=K.split(".")[0];K=K.split(".")[1];G.fn[K]=function(N){var P=(typeof N=="string"),O=Array.prototype.slice.call(arguments,1);
if(P&&N.substring(0,1)=="_"){return this;}if(P&&C(J,K,N,O)){var M=G.data(this[0],K);return(M?M[N].apply(M,O):undefined);}return this.each(function(){var Q=G.data(this,K);(!Q&&!P&&G.data(this,K,new G[J][K](this,N))._init());(Q&&P&&G.isFunction(Q[N])&&Q[N].apply(Q,O));});};G[J]=G[J]||{};G[J][K]=function(N,O){var M=this;this.namespace=J;this.widgetName=K;this.widgetEventPrefix=G[J][K].eventPrefix||K;this.widgetBaseClass=J+"-"+K;this.options=G.extend({},G.widget.defaults,G[J][K].defaults,G.metadata&&G.metadata.get(N)[K],O);this.element=G(N).bind("setData."+K,function(Q,R,P){if(Q.target==N){return M._setData(R,P);}}).bind("getData."+K,function(P,Q){if(P.target==N){return M._getData(Q);}}).bind("remove",function(){return M.destroy();});};G[J][K].prototype=G.extend({},G.widget.prototype,L);G[J][K].getterSetter="option";};G.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled");
},option:function(K,J){var L=K,M=this;if(typeof K=="string"){if(J===undefined){return this._getData(K);}L={};L[K]=J;}G.each(L,function(O,N){M._setData(O,N);});},_getData:function(J){return this.options[J];},_setData:function(K,J){this.options[K]=J;if(K=="disabled"){this.element[J?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",J);}},enable:function(){this._setData("disabled",false);},disable:function(){this._setData("disabled",true);},_trigger:function(K,J,P){var N=this.options[K],M=(K==this.widgetEventPrefix?K:this.widgetEventPrefix+K);J=G.Event(J);J.type=M;if(J.originalEvent){for(var L=G.event.props.length,O;L;){O=G.event.props[--L];J[O]=J.originalEvent[O];}}this.element.trigger(J,P);return !(G.isFunction(N)&&N.call(this.element[0],J,P)===false||J.isDefaultPrevented());}};G.widget.defaults={disabled:false};G.ui.mouse={_mouseInit:function(){var J=this;this.element.bind("mousedown."+this.widgetName,function(K){return J._mouseDown(K);
}).bind("click."+this.widgetName,function(K){if(J._preventClickEvent){J._preventClickEvent=false;K.stopImmediatePropagation();return false;}});if(G.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on");}this.started=false;},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(G.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable));},_mouseDown:function(K){K.originalEvent=K.originalEvent||{};if(K.originalEvent.mouseHandled){return ;}(this._mouseStarted&&this._mouseUp(K));this._mouseDownEvent=K;var L=this,J=(K.which==1),M=(typeof this.options.cancel=="string"?G(K.target).parents().add(K.target).filter(this.options.cancel).length:false);if(!J||M||!this._mouseCapture(K)){return true;}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){L.mouseDelayMet=true;},this.options.delay);}if(this._mouseDistanceMet(K)&&this._mouseDelayMet(K)){this._mouseStarted=(this._mouseStart(K)!==false);
if(!this._mouseStarted){K.preventDefault();return true;}}this._mouseMoveDelegate=function(N){return L._mouseMove(N);};this._mouseUpDelegate=function(N){return L._mouseUp(N);};G(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(G.browser.safari||K.preventDefault());K.originalEvent.mouseHandled=true;return true;},_mouseMove:function(J){if(G.browser.msie&&!J.button){return this._mouseUp(J);}if(this._mouseStarted){this._mouseDrag(J);return J.preventDefault();}if(this._mouseDistanceMet(J)&&this._mouseDelayMet(J)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,J)!==false);(this._mouseStarted?this._mouseDrag(J):this._mouseUp(J));}return !this._mouseStarted;},_mouseUp:function(J){G(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(J.target==this._mouseDownEvent.target);
this._mouseStop(J);}return false;},_mouseDistanceMet:function(J){return(Math.max(Math.abs(this._mouseDownEvent.pageX-J.pageX),Math.abs(this._mouseDownEvent.pageY-J.pageY))>=this.options.distance);},_mouseDelayMet:function(J){return this.mouseDelayMet;},_mouseStart:function(J){},_mouseDrag:function(J){},_mouseStop:function(J){},_mouseCapture:function(J){return true;}};G.ui.mouse.defaults={cancel:null,distance:1,delay:0};})(jQuery);(function(A){A.widget("ui.slider",A.extend({},A.ui.mouse,{_init:function(){var B=this,C=this.options;this._keySliding=false;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");this.range=A([]);if(C.range){if(C.range===true){this.range=A("<div></div>");if(!C.values){C.values=[this._valueMin(),this._valueMin()];}if(C.values.length&&C.values.length!=2){C.values=[C.values[0],C.values[0]];}}else{this.range=A("<div></div>");}this.range.appendTo(this.element).addClass("ui-slider-range");
if(C.range=="min"||C.range=="max"){this.range.addClass("ui-slider-range-"+C.range);}this.range.addClass("ui-widget-header");}if(A(".ui-slider-handle",this.element).length==0){A('<a href="#"></a>').appendTo(this.element).addClass("ui-slider-handle");}if(C.values&&C.values.length){while(A(".ui-slider-handle",this.element).length<C.values.length){A('<a href="#"></a>').appendTo(this.element).addClass("ui-slider-handle");}}this.handles=A(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(D){D.preventDefault();}).hover(function(){A(this).addClass("ui-state-hover");},function(){A(this).removeClass("ui-state-hover");}).focus(function(){A(".ui-slider .ui-state-focus").removeClass("ui-state-focus");A(this).addClass("ui-state-focus");}).blur(function(){A(this).removeClass("ui-state-focus");});this.handles.each(function(D){A(this).data("index.ui-slider-handle",D);});this.handles.keydown(function(D){var G=true;
var H=A(this).data("index.ui-slider-handle");if(B.options.disabled){return ;}switch(D.keyCode){case A.ui.keyCode.HOME:case A.ui.keyCode.END:case A.ui.keyCode.UP:case A.ui.keyCode.RIGHT:case A.ui.keyCode.DOWN:case A.ui.keyCode.LEFT:G=false;if(!B._keySliding){B._keySliding=true;A(this).addClass("ui-state-active");B._start(D,H);}break;}var F,I,E=B._step();if(B.options.values&&B.options.values.length){F=I=B.values(H);}else{F=I=B.value();}switch(D.keyCode){case A.ui.keyCode.HOME:I=B._valueMin();break;case A.ui.keyCode.END:I=B._valueMax();break;case A.ui.keyCode.UP:case A.ui.keyCode.RIGHT:if(F==B._valueMax()){return ;}I=F+E;break;case A.ui.keyCode.DOWN:case A.ui.keyCode.LEFT:if(F==B._valueMin()){return ;}I=F-E;break;}B._slide(D,H,I);return G;}).keyup(function(D){var E=A(this).data("index.ui-slider-handle");if(B._keySliding){B._stop(D,E);B._change(D,E);B._keySliding=false;A(this).removeClass("ui-state-active");}});this._refreshValue();},destroy:function(){this.handles.remove();this.range.remove();
this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy();},_mouseCapture:function(I){var H=this.options;if(H.disabled){return false;}this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();var E={x:I.pageX,y:I.pageY};var C=this._normValueFromMouse(E);var J=this._valueMax()-this._valueMin()+1,G;var B=this,D;this.handles.each(function(M){var L=Math.abs(C-B.values(M));if(J>L){J=L;G=A(this);D=M;}});if(H.range==true&&this.values(1)==H.min){G=A(this.handles[++D]);}this._start(I,D);B._handleIndex=D;G.addClass("ui-state-active").focus();var F=G.offset();var K=!A(I.target).parents().andSelf().is(".ui-slider-handle");this._clickOffset=K?{left:0,top:0}:{left:I.pageX-F.left-(G.width()/2),top:I.pageY-F.top-(G.height()/2)-(parseInt(G.css("borderTopWidth"),10)||0)-(parseInt(G.css("borderBottomWidth"),10)||0)+(parseInt(G.css("marginTop"),10)||0)};
C=this._normValueFromMouse(E);this._slide(I,D,C);return true;},_mouseStart:function(B){return true;},_mouseDrag:function(C){var B={x:C.pageX,y:C.pageY};var D=this._normValueFromMouse(B);this._slide(C,this._handleIndex,D);return false;},_mouseStop:function(B){this.handles.removeClass("ui-state-active");this._stop(B,this._handleIndex);this._change(B,this._handleIndex);this._handleIndex=null;this._clickOffset=null;return false;},_detectOrientation:function(){this.orientation=this.options.orientation=="vertical"?"vertical":"horizontal";},_normValueFromMouse:function(H){var I,D;if("horizontal"==this.orientation){I=this.elementSize.width;D=H.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0);}else{I=this.elementSize.height;D=H.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0);}var F=(D/I);if(F>1){F=1;}if(F<0){F=0;}if("vertical"==this.orientation){F=1-F;}var G=this._valueMax()-this._valueMin(),C=F*G,B=C%this.options.step,E=this._valueMin()+C-B;if(B>(this.options.step/2)){E+=this.options.step;
}return parseFloat(E.toFixed(5));},_start:function(C,D){var B={handle:this.handles[D],value:this.value()};if(this.options.values&&this.options.values.length){B.value=this.values(D);B.values=this.values();}this._trigger("start",C,B);},_slide:function(E,F,G){var D=this.handles[F];if(this.options.values&&this.options.values.length){var B=this.values(F?0:1);if((F==0&&G>=B)||(F==1&&G<=B)){G=B;}if(G!=this.values(F)){var H=this.values();H[F]=G;var C=this._trigger("slide",E,{handle:this.handles[F],value:G,values:H});var B=this.values(F?0:1);if(C!==false){this.values(F,G,(E.type=="mousedown"&&this.options.animate),true);}}}else{if(G!=this.value()){var C=this._trigger("slide",E,{handle:this.handles[F],value:G});if(C!==false){this._setData("value",G,(E.type=="mousedown"&&this.options.animate));}}}},_stop:function(C,D){var B={handle:this.handles[D],value:this.value()};if(this.options.values&&this.options.values.length){B.value=this.values(D);B.values=this.values();}this._trigger("stop",C,B);},_change:function(C,D){var B={handle:this.handles[D],value:this.value()};
if(this.options.values&&this.options.values.length){B.value=this.values(D);B.values=this.values();}this._trigger("change",C,B);},value:function(B){if(arguments.length){this._setData("value",B);this._change(null,0);}return this._value();},values:function(B,C,E,D){if(arguments.length>1){this.options.values[B]=C;this._refreshValue(E);if(!D){this._change(null,B);}}if(arguments.length){if(this.options.values&&this.options.values.length){return this._values(B);}else{return this.value();}}else{return this._values();}},_setData:function(B,C,D){A.widget.prototype._setData.apply(this,arguments);switch(B){case"orientation":this._detectOrientation();this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue(D);break;case"value":this._refreshValue(D);break;}},_step:function(){var B=this.options.step;return B;},_value:function(){var B=this.options.value;if(B<this._valueMin()){B=this._valueMin();}if(B>this._valueMax()){B=this._valueMax();
}return B;},_values:function(B){if(arguments.length){var C=this.options.values[B];if(C<this._valueMin()){C=this._valueMin();}if(C>this._valueMax()){C=this._valueMax();}return C;}else{return this.options.values;}},_valueMin:function(){var B=this.options.min;return B;},_valueMax:function(){var B=this.options.max;return B;},_refreshValue:function(K){var H=this.options.range,J=this.options,B=this;if(this.options.values&&this.options.values.length){var E,F;this.handles.each(function(N,P){var O=(B.values(N)-B._valueMin())/(B._valueMax()-B._valueMin())*100;var M={};M[B.orientation=="horizontal"?"left":"bottom"]=O+"%";A(this).stop(1,1)[K?"animate":"css"](M,J.animate);if(B.options.range===true){if(B.orientation=="horizontal"){(N==0)&&B.range.stop(1,1)[K?"animate":"css"]({left:O+"%"},J.animate);(N==1)&&B.range[K?"animate":"css"]({width:(O-lastValPercent)+"%"},{queue:false,duration:J.animate});}else{(N==0)&&B.range.stop(1,1)[K?"animate":"css"]({bottom:(O)+"%"},J.animate);(N==1)&&B.range[K?"animate":"css"]({height:(O-lastValPercent)+"%"},{queue:false,duration:J.animate});
}}lastValPercent=O;});}else{var D=this.value(),G=this._valueMin(),C=this._valueMax(),I=C!=G?(D-G)/(C-G)*100:0;var L={};L[B.orientation=="horizontal"?"left":"bottom"]=I+"%";this.handle.stop(1,1)[K?"animate":"css"](L,J.animate);(H=="min")&&(this.orientation=="horizontal")&&this.range.stop(1,1)[K?"animate":"css"]({width:I+"%"},J.animate);(H=="max")&&(this.orientation=="horizontal")&&this.range[K?"animate":"css"]({width:(100-I)+"%"},{queue:false,duration:J.animate});(H=="min")&&(this.orientation=="vertical")&&this.range.stop(1,1)[K?"animate":"css"]({height:I+"%"},J.animate);(H=="max")&&(this.orientation=="vertical")&&this.range[K?"animate":"css"]({height:(100-I)+"%"},{queue:false,duration:J.animate});}}}));A.extend(A.ui.slider,{getter:"value values",version:"1.7.1",eventPrefix:"slide",defaults:{animate:false,delay:0,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null}});})(jQuery);var swfobject=function(){var AQ="undefined",Ac="object",AB="Shockwave Flash",X="ShockwaveFlash.ShockwaveFlash",Ad="application/x-shockwave-flash",AC="SWFObjectExprInst",AW="onreadystatechange",AF=window,Ak=document,Aa=navigator,AA=false,Z=[Am],Af=[],AG=[],AL=[],Ai,AD,AP,AS,AK=false,At=false,Ag,AN,Ah=true,AH=function(){var A=typeof Ak.getElementById!=AQ&&typeof Ak.getElementsByTagName!=AQ&&typeof Ak.createElement!=AQ,E=Aa.userAgent.toLowerCase(),C=Aa.platform.toLowerCase(),H=C?/win/.test(C):/win/.test(E),J=C?/mac/.test(C):/mac/.test(E),G=/webkit/.test(E)?parseFloat(E.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,D=!+"\v1",F=[0,0,0],K=null;
if(typeof Aa.plugins!=AQ&&typeof Aa.plugins[AB]==Ac){K=Aa.plugins[AB].description;if(K&&!(typeof Aa.mimeTypes!=AQ&&Aa.mimeTypes[Ad]&&!Aa.mimeTypes[Ad].enabledPlugin)){AA=true;D=false;K=K.replace(/^.*\s+(\S+\s+\S+$)/,"$1");F[0]=parseInt(K.replace(/^(.*)\..*$/,"$1"),10);F[1]=parseInt(K.replace(/^.*\.(.*)\s.*$/,"$1"),10);F[2]=/[a-zA-Z]/.test(K)?parseInt(K.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0;}}else{if(typeof AF.ActiveXObject!=AQ){try{var I=new ActiveXObject(X);if(I){K=I.GetVariable("$version");if(K){D=true;K=K.split(" ")[1].split(",");F=[parseInt(K[0],10),parseInt(K[1],10),parseInt(K[2],10)];}}}catch(B){}}}return{w3:A,pv:F,wk:G,ie:D,win:H,mac:J};}(),Aj=function(){if(!AH.w3){return ;}if((typeof Ak.readyState!=AQ&&Ak.readyState=="complete")||(typeof Ak.readyState==AQ&&(Ak.getElementsByTagName("body")[0]||Ak.body))){Ao();}if(!AK){if(typeof Ak.addEventListener!=AQ){Ak.addEventListener("DOMContentLoaded",Ao,false);}if(AH.ie&&AH.win){Ak.attachEvent(AW,function(){if(Ak.readyState=="complete"){Ak.detachEvent(AW,arguments.callee);
Ao();}});if(AF==top){(function(){if(AK){return ;}try{Ak.documentElement.doScroll("left");}catch(A){setTimeout(arguments.callee,0);return ;}Ao();})();}}if(AH.wk){(function(){if(AK){return ;}if(!/loaded|complete/.test(Ak.readyState)){setTimeout(arguments.callee,0);return ;}Ao();})();}Ab(Ao);}}();function Ao(){if(AK){return ;}try{var B=Ak.getElementsByTagName("body")[0].appendChild(AR("span"));B.parentNode.removeChild(B);}catch(A){return ;}AK=true;var D=Z.length;for(var C=0;C<D;C++){Z[C]();}}function AJ(A){if(AK){A();}else{Z[Z.length]=A;}}function Ab(A){if(typeof AF.addEventListener!=AQ){AF.addEventListener("load",A,false);}else{if(typeof Ak.addEventListener!=AQ){Ak.addEventListener("load",A,false);}else{if(typeof AF.attachEvent!=AQ){Al(AF,"onload",A);}else{if(typeof AF.onload=="function"){var B=AF.onload;AF.onload=function(){B();A();};}else{AF.onload=A;}}}}}function Am(){if(AA){Y();}else{AM();}}function Y(){var D=Ak.getElementsByTagName("body")[0];var B=AR(Ac);B.setAttribute("type",Ad);var A=D.appendChild(B);
if(A){var C=0;(function(){if(typeof A.GetVariable!=AQ){var E=A.GetVariable("$version");if(E){E=E.split(" ")[1].split(",");AH.pv=[parseInt(E[0],10),parseInt(E[1],10),parseInt(E[2],10)];}}else{if(C<10){C++;setTimeout(arguments.callee,10);return ;}}D.removeChild(B);A=null;AM();})();}else{AM();}}function AM(){var G=Af.length;if(G>0){for(var H=0;H<G;H++){var C=Af[H].id;var L=Af[H].callbackFn;var A={success:false,id:C};if(AH.pv[0]>0){var I=Ar(C);if(I){if(AO(Af[H].swfVersion)&&!(AH.wk&&AH.wk<312)){AX(C,true);if(L){A.success=true;A.ref=AU(C);L(A);}}else{if(Af[H].expressInstall&&AT()){var E={};E.data=Af[H].expressInstall;E.width=I.getAttribute("width")||"0";E.height=I.getAttribute("height")||"0";if(I.getAttribute("class")){E.styleclass=I.getAttribute("class");}if(I.getAttribute("align")){E.align=I.getAttribute("align");}var F={};var D=I.getElementsByTagName("param");var K=D.length;for(var J=0;J<K;J++){if(D[J].getAttribute("name").toLowerCase()!="movie"){F[D[J].getAttribute("name")]=D[J].getAttribute("value");
}}AE(E,F,C,L);}else{Ae(I);if(L){L(A);}}}}}else{AX(C,true);if(L){var B=AU(C);if(B&&typeof B.SetVariable!=AQ){A.success=true;A.ref=B;}L(A);}}}}}function AU(B){var D=null;var C=Ar(B);if(C&&C.nodeName=="OBJECT"){if(typeof C.SetVariable!=AQ){D=C;}else{var A=C.getElementsByTagName(Ac)[0];if(A){D=A;}}}return D;}function AT(){return !At&&AO("6.0.65")&&(AH.win||AH.mac)&&!(AH.wk&&AH.wk<312);}function AE(F,D,H,E){At=true;AP=E||null;AS={success:false,id:H};var A=Ar(H);if(A){if(A.nodeName=="OBJECT"){Ai=An(A);AD=null;}else{Ai=A;AD=H;}F.id=AC;if(typeof F.width==AQ||(!/%$/.test(F.width)&&parseInt(F.width,10)<310)){F.width="310";}if(typeof F.height==AQ||(!/%$/.test(F.height)&&parseInt(F.height,10)<137)){F.height="137";}Ak.title=Ak.title.slice(0,47)+" - Flash Player Installation";var B=AH.ie&&AH.win?"ActiveX":"PlugIn",C="MMredirectURL="+AF.location.toString().replace(/&/g,"%26")+"&MMplayerType="+B+"&MMdoctitle="+Ak.title;if(typeof D.flashvars!=AQ){D.flashvars+="&"+C;}else{D.flashvars=C;}if(AH.ie&&AH.win&&A.readyState!=4){var G=AR("div");
H+="SWFObjectNew";G.setAttribute("id",H);A.parentNode.insertBefore(G,A);A.style.display="none";(function(){if(A.readyState==4){A.parentNode.removeChild(A);}else{setTimeout(arguments.callee,10);}})();}AZ(F,D,H);}}function Ae(A){if(AH.ie&&AH.win&&A.readyState!=4){var B=AR("div");A.parentNode.insertBefore(B,A);B.parentNode.replaceChild(An(A),B);A.style.display="none";(function(){if(A.readyState==4){A.parentNode.removeChild(A);}else{setTimeout(arguments.callee,10);}})();}else{A.parentNode.replaceChild(An(A),A);}}function An(B){var D=AR("div");if(AH.win&&AH.ie){D.innerHTML=B.innerHTML;}else{var E=B.getElementsByTagName(Ac)[0];if(E){var A=E.childNodes;if(A){var F=A.length;for(var C=0;C<F;C++){if(!(A[C].nodeType==1&&A[C].nodeName=="PARAM")&&!(A[C].nodeType==8)){D.appendChild(A[C].cloneNode(true));}}}}}return D;}function AZ(E,G,C){var D,A=Ar(C);if(AH.wk&&AH.wk<312){return D;}if(A){if(typeof E.id==AQ){E.id=C;}if(AH.ie&&AH.win){var F="";for(var I in E){if(E[I]!=Object.prototype[I]){if(I.toLowerCase()=="data"){G.movie=E[I];
}else{if(I.toLowerCase()=="styleclass"){F+=' class="'+E[I]+'"';}else{if(I.toLowerCase()!="classid"){F+=" "+I+'="'+E[I]+'"';}}}}}var H="";for(var J in G){if(G[J]!=Object.prototype[J]){H+='<param name="'+J+'" value="'+G[J]+'" />';}}A.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+F+">"+H+"</object>";AG[AG.length]=E.id;D=Ar(E.id);}else{var B=AR(Ac);B.setAttribute("type",Ad);for(var K in E){if(E[K]!=Object.prototype[K]){if(K.toLowerCase()=="styleclass"){B.setAttribute("class",E[K]);}else{if(K.toLowerCase()!="classid"){B.setAttribute(K,E[K]);}}}}for(var L in G){if(G[L]!=Object.prototype[L]&&L.toLowerCase()!="movie"){Ap(B,L,G[L]);}}A.parentNode.replaceChild(B,A);D=B;}}return D;}function Ap(B,D,C){var A=AR("param");A.setAttribute("name",D);A.setAttribute("value",C);B.appendChild(A);}function AV(A){var B=Ar(A);if(B&&B.nodeName=="OBJECT"){if(AH.ie&&AH.win){B.style.display="none";(function(){if(B.readyState==4){As(A);}else{setTimeout(arguments.callee,10);}})();}else{B.parentNode.removeChild(B);
}}}function As(A){var B=Ar(A);if(B){for(var C in B){if(typeof B[C]=="function"){B[C]=null;}}B.parentNode.removeChild(B);}}function Ar(A){var C=null;try{C=Ak.getElementById(A);}catch(B){}return C;}function AR(A){return Ak.createElement(A);}function Al(A,C,B){A.attachEvent(C,B);AL[AL.length]=[A,C,B];}function AO(A){var B=AH.pv,C=A.split(".");C[0]=parseInt(C[0],10);C[1]=parseInt(C[1],10)||0;C[2]=parseInt(C[2],10)||0;return(B[0]>C[0]||(B[0]==C[0]&&B[1]>C[1])||(B[0]==C[0]&&B[1]==C[1]&&B[2]>=C[2]))?true:false;}function AY(B,F,A,C){if(AH.ie&&AH.mac){return ;}var E=Ak.getElementsByTagName("head")[0];if(!E){return ;}var G=(A&&typeof A=="string")?A:"screen";if(C){Ag=null;AN=null;}if(!Ag||AN!=G){var D=AR("style");D.setAttribute("type","text/css");D.setAttribute("media",G);Ag=E.appendChild(D);if(AH.ie&&AH.win&&typeof Ak.styleSheets!=AQ&&Ak.styleSheets.length>0){Ag=Ak.styleSheets[Ak.styleSheets.length-1];}AN=G;}if(AH.ie&&AH.win){if(Ag&&typeof Ag.addRule==Ac){Ag.addRule(B,F);}}else{if(Ag&&typeof Ak.createTextNode!=AQ){Ag.appendChild(Ak.createTextNode(B+" {"+F+"}"));
}}}function AX(A,C){if(!Ah){return ;}var B=C?"visible":"hidden";if(AK&&Ar(A)){Ar(A).style.visibility=B;}else{AY("#"+A,"visibility:"+B);}}function AI(B){var A=/[\\\"<>\.;]/;var C=A.exec(B)!=null;return C&&typeof encodeURIComponent!=AQ?encodeURIComponent(B):B;}var Aq=function(){if(AH.ie&&AH.win){window.attachEvent("onunload",function(){var A=AL.length;for(var B=0;B<A;B++){AL[B][0].detachEvent(AL[B][1],AL[B][2]);}var D=AG.length;for(var C=0;C<D;C++){AV(AG[C]);}for(var E in AH){AH[E]=null;}AH=null;for(var F in swfobject){swfobject[F]=null;}swfobject=null;});}}();return{registerObject:function(A,E,C,B){if(AH.w3&&A&&E){var D={};D.id=A;D.swfVersion=E;D.expressInstall=C;D.callbackFn=B;Af[Af.length]=D;AX(A,false);}else{if(B){B({success:false,id:A});}}},getObjectById:function(A){if(AH.w3){return AU(A);}},embedSWF:function(K,E,H,F,C,A,B,I,G,J){var D={success:false,id:E};if(AH.w3&&!(AH.wk&&AH.wk<312)&&K&&E&&H&&F&&C){AX(E,false);AJ(function(){H+="";F+="";var Q={};if(G&&typeof G===Ac){for(var O in G){Q[O]=G[O];
}}Q.data=K;Q.width=H;Q.height=F;var N={};if(I&&typeof I===Ac){for(var P in I){N[P]=I[P];}}if(B&&typeof B===Ac){for(var L in B){if(typeof N.flashvars!=AQ){N.flashvars+="&"+L+"="+B[L];}else{N.flashvars=L+"="+B[L];}}}if(AO(C)){var M=AZ(Q,N,E);if(Q.id==E){AX(E,true);}D.success=true;D.ref=M;}else{if(A&&AT()){Q.data=A;AE(Q,N,E,J);return ;}else{AX(E,true);}}if(J){J(D);}});}else{if(J){J(D);}}},switchOffAutoHideShow:function(){Ah=false;},ua:AH,getFlashPlayerVersion:function(){return{major:AH.pv[0],minor:AH.pv[1],release:AH.pv[2]};},hasFlashPlayerVersion:AO,createSWF:function(A,B,C){if(AH.w3){return AZ(A,B,C);}else{return undefined;}},showExpressInstall:function(B,A,D,C){if(AH.w3&&AT()){AE(B,A,D,C);}},removeSWF:function(A){if(AH.w3){AV(A);}},createCSS:function(B,A,C,D){if(AH.w3){AY(B,A,C,D);}},addDomLoadEvent:AJ,addLoadEvent:Ab,getQueryParamValue:function(B){var A=Ak.location.search||Ak.location.hash;if(A){if(/\?/.test(A)){A=A.split("?")[1];}if(B==null){return AI(A);}var C=A.split("&");for(var D=0;
D<C.length;D++){if(C[D].substring(0,C[D].indexOf("="))==B){return AI(C[D].substring((C[D].indexOf("=")+1)));}}}return"";},expressInstallCallback:function(){if(At){var A=Ar(AC);if(A&&Ai){A.parentNode.replaceChild(Ai,A);if(AD){AX(AD,true);if(AH.ie&&AH.win){Ai.style.display="block";}}if(AP){AP(AS);}}At=false;}}};}();(function(D){function C(){this._curHash="";this._callback=function(A){};}D.extend(C.prototype,{init:function(A){this._callback=A;this._curHash=location.hash;if(D.browser.msie){if(this._curHash==""){this._curHash="#";}D("body").prepend('<iframe id="jQuery_history" style="display: none;"></iframe>');var B=D("#jQuery_history")[0].contentWindow.document;B.open();B.close();B.location.hash=this._curHash;}else{if(D.browser.safari){this._historyBackStack=[];this._historyBackStack.length=history.length;this._historyForwardStack=[];this._isFirst=true;this._dontCheck=false;}}this._callback(this._curHash.replace(/^#/,""));setInterval(this._check,100);},add:function(A){this._historyBackStack.push(A);
this._historyForwardStack.length=0;this._isFirst=true;},_check:function(){if(D.browser.msie){var L=D("#jQuery_history")[0];var I=L.contentDocument||L.contentWindow.document;var A=I.location.hash;if(A!=D.history._curHash){location.hash=A;D.history._curHash=A;D.history._callback(A.replace(/^#/,""));}}else{if(D.browser.safari&&D.browser.version<522){if(!D.history._dontCheck){var K=history.length-D.history._historyBackStack.length;if(K){D.history._isFirst=false;if(K<0){for(var J=0;J<Math.abs(K);J++){D.history._historyForwardStack.unshift(D.history._historyBackStack.pop());}}else{for(var J=0;J<K;J++){D.history._historyBackStack.push(D.history._historyForwardStack.shift());}}var B=D.history._historyBackStack[D.history._historyBackStack.length-1];if(B!=undefined){D.history._curHash=location.hash;D.history._callback(B);}}else{if(D.history._historyBackStack[D.history._historyBackStack.length-1]==undefined&&!D.history._isFirst){if(document.URL.indexOf("#")>=0){D.history._callback(document.URL.split("#")[1]);
}else{D.history._callback("");}D.history._isFirst=true;}}}}else{var A=location.hash;if(A!=D.history._curHash){D.history._curHash=A;D.history._callback(A.replace(/^#/,""));}}}},load:function(B){var A;if(D.browser.safari){A=B;}else{A="#"+B;location.hash=A;}this._curHash=A;if(D.browser.msie){var J=D("#jQuery_history")[0];var H=J.contentWindow.document;H.open();H.close();H.location.hash=A;this._callback(B);}else{if(D.browser.safari){this._dontCheck=true;this.add(B);var I=function(){D.history._dontCheck=false;};window.setTimeout(I,200);this._callback(B);location.hash=A;}else{this._callback(B);}}}});D(document).ready(function(){D.history=new C();});})(jQuery);function translateXHTML($string){var $match=/^<\/[a-z0-9]{1,}>/i.test($string);if($match){var $return=Array;$return[0]=false;$return[1]=$string.replace(/^<\/[a-z0-9]{1,}>/i,"");return $return;}$match=/^<[a-z]{1,}/i.test($string);if($match){$string=$string.replace(/^</,"");var $element=$string.match(/[a-z0-9]{1,}/i);if($element){var $new_element=document.createElement($element[0]);
$string=$string.replace(/[a-z0-9]{1,}/i,"");var $attribute=true;while($attribute){$string=$string.replace(/^\s{1,}/,"");$attribute=$string.match(/^[a-z1-9_-]{1,}="[^"]{0,}"/i);if($attribute){$attribute=$attribute[0];$string=$string.replace(/^[a-z1-9_-]{1,}="[^"]{0,}"/i,"");var $attName=$attribute.match(/^[a-z1-9_-]{1,}/i);$attribute=$attribute.replace(/^[a-z1-9_-]{1,}="/i,"");$attribute=$attribute.replace(/;{0,1}"$/,"");if($attribute){var $attValue=$attribute;if($attName=="value"){$new_element.value=$attValue;}else{if($attName=="class"){$new_element.className=$attValue;}else{if($attName=="style"){var $style=$attValue.split(";");for(var $i=0;$i<$style.length;$i++){var $this_style=$style[$i].split(":");$this_style[0]=$this_style[0].toLowerCase().replace(/(^\s{0,})|(\s{0,1}$)/,"");$this_style[1]=$this_style[1].toLowerCase().replace(/(^\s{0,})|(\s{0,1}$)/,"");if(/-{1,}/g.test($this_style[0])){var $this_style_words=$this_style[0].split(/-/g);$this_style[0]="";for(var $j=0;$j<$this_style_words.length;
$j++){if($j==0){$this_style[0]=$this_style_words[0];continue;}var $first_letter=$this_style_words[$j].toUpperCase().match(/^[a-z]{1,1}/i);$this_style[0]+=$first_letter+$this_style_words[$j].replace(/^[a-z]{1,1}/,"");}}$new_element.style[$this_style[0]]=$this_style[1];}}else{if(/^on/.test($attName)){$new_element[$attName]=function(){eval($attValue);};}else{$new_element.setAttribute($attName,$attValue);}}}}}else{$attribute=true;}}}$match=/^>/.test($string);if($match){$string=$string.replace(/^>/,"");var $child=true;while($child){var $returned=translateXHTML($string,false);$child=$returned[0];if($child){$new_element.appendChild($child);}$string=$returned[1];}}$string=$string.replace(/^\/>/,"");}}$match=/^[^<>]{1,}/i.test($string);if($match&&!$new_element){var $text_content=$string.match(/^[^<>]{1,}/i)[0];$text_content=$text_content.replace(/&lt;/g,"<");$text_content=$text_content.replace(/&gt;/g,">");var $new_element=document.createTextNode($text_content);$string=$string.replace(/^[^<>]{1,}/i,"");
}$match=/^<!--[^<>]{1,}-->/i.test($string);if($match&&!$new_element){if(document.createComment){$string=$string.replace(/^<!--/i,"");var $text_content=$string.match(/^[^<>]{0,}-->{1,}/i);$text_content=$text_content[0].replace(/-->{1,1}$/,"");var $new_element=document.createComment($text_content);$string=$string.replace(/^[^<>]{1,}-->/i,"");}else{$string=$string.replace(/^<!--[^<>]{1,}-->/i,"");}}var $return=Array;$return[0]=$new_element;$return[1]=$string;return $return;}innerXHTML=function(I,M,J){if(typeof (I)=="string"){I=document.getElementById(I);}if(!(I.nodeType==1)){return false;}var G=I.childNodes;var B="";if(!M){for(var E=0;E<G.length;E++){if(G[E].nodeType==3){var K=G[E].nodeValue;K=K.replace(/</g,"&lt;");K=K.replace(/>/g,"&gt;");B+=K;}else{if(G[E].nodeType==8){B+="<!--"+G[E].nodeValue+"-->";}else{B+="<"+G[E].nodeName.toLowerCase();var A=G[E].attributes;for(var F=0;F<A.length;F++){var C=A[F].nodeName.toLowerCase();var L=A[F].nodeValue;if(C=="style"&&G[E].style.cssText){B+=' style="'+G[E].style.cssText.toLowerCase()+'"';
}else{if(L&&C!="contenteditable"){B+=" "+C+'="'+L+'"';}}}B+=">"+innerXHTML(G[E]);B+="</"+G[E].nodeName.toLowerCase()+">";}}}}else{if(!J){while(G.length>0){I.removeChild(G[0]);}J=false;}B=M;while(M){var D=translateXHTML(M);var H=D[0];M=D[1];if(H){if(typeof (J)=="string"){J=document.getElementById(J);}if(!(J.nodeType==1)){I.appendChild(H);}else{I.insertBefore(H,J);}}}}return B;};(function(B){B.fn.extend({defaultValue:function(A){return this.each(function(){var O=A||B(this).attr("rel");var J=B(this).attr("type")||null;var L=null;var N=B(this);if(J=="password"){P(this);B(this).blur(function(){if(B(N).val().length<=0){B("#"+L).show();B(N).hide();}});}else{B(this).click(function(){M(this);}).keypress(function(){if(B(this).val().length>0){K(this);}}).blur(function(){K(this);}).focus(function(){M(this);});B.trim(B(this).val());K(this);}function M(C){if(B(C).val()==O){B(C).val("");}}function K(C){val=B.trim(B(C).val());if(val.length<=0||val==O){B(C).val(O).addClass("empty");}else{B(C).removeClass("empty");
}}function P(C){L=B(C).attr("id")+"Clone";B("<input id='"+L+"' type='text' />").attr("value",O).insertAfter(C).show().focus(function(){B(this).hide();B(N).show();setTimeout(function(){B(N).focus();},10);}).attr("tabIndex",B(C).attr("tabIndex")).addClass(B(C).attr("class")+" empty").attr("style",B(C).attr("style"));B(N).hide();}});}});})(jQuery);