(function(){var X=this,ah,J=X.jQuery,L=X.$,aa=X.jQuery=X.$=function(b,a){return new aa.fn.init(b,a);},H=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,ag=/^.[^:#\[\.,]*$/;aa.fn=aa.prototype={init:function(b,c){b=b||document;if(b.nodeType){this[0]=b;this.length=1;this.context=b;return this;}if(typeof b==="string"){var d=H.exec(b);if(d&&(d[1]||!c)){if(d[1]){b=aa.clean([d[1]],c);}else{var a=document.getElementById(d[3]);if(a&&a.id!=d[3]){return aa().find(b);}var e=aa(a||[]);e.context=document;e.selector=b;return e;}}else{return aa(c).find(b);}}else{if(aa.isFunction(b)){return aa(document).ready(b);}}if(b.selector&&b.context){this.selector=b.selector;this.context=b.context;}return this.setArray(aa.isArray(b)?b:aa.makeArray(b));},selector:"",jquery:"1.3.2",size:function(){return this.length;},get:function(a){return a===ah?Array.prototype.slice.call(this):this[a];},pushStack:function(a,c,b){var d=aa(a);d.prevObject=this;d.context=this.context;if(c==="find"){d.selector=this.selector+(this.selector?" ":"")+b;}else{if(c){d.selector=this.selector+"."+c+"("+b+")";}}return d;},setArray:function(a){this.length=0;Array.prototype.push.apply(this,a);return this;},each:function(a,b){return aa.each(this,a,b);},index:function(a){return aa.inArray(a&&a.jquery?a[0]:a,this);},attr:function(a,c,d){var b=a;if(typeof a==="string"){if(c===ah){return this[0]&&aa[d||"attr"](this[0],a);}else{b={};b[a]=c;}}return this.each(function(e){for(a in b){aa.attr(d?this.style:this,a,aa.prop(this,b[a],d,e,a));}});},css:function(b,a){if((b=="width"||b=="height")&&parseFloat(a)<0){a=ah;}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="";aa.each(a||this,function(){aa.each(this.childNodes,function(){if(this.nodeType!=8){b+=this.nodeType!=1?this.nodeValue:aa.fn.text([this]);}});});return b;},wrapAll:function(b){if(this[0]){var a=aa(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(){aa(this).contents().wrapAll(a);});},wrap:function(a){return this.each(function(){aa(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||aa([]);},push:[].push,sort:[].sort,splice:[].splice,find:function(b){if(this.length===1){var a=this.pushStack([],"find",b);a.length=0;aa.find(b,this[0],a);return a;}else{return this.pushStack(aa.unique(aa.map(this,function(c){return aa.find(b,c);})),"find",b);}},clone:function(d){var b=this.map(function(){if(!aa.support.noCloneEvent&&!aa.isXMLDoc(this)){var f=this.outerHTML;if(!f){var e=this.ownerDocument.createElement("div");e.appendChild(this.cloneNode(true));f=e.innerHTML;}return aa.clean([f.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0];}else{return this.cloneNode(true);}});if(d===true){var c=this.find("*").andSelf(),a=0;b.find("*").andSelf().each(function(){if(this.nodeName!==c[a].nodeName){return;}var e=aa.data(c[a],"events");for(var g in e){for(var f in e[g]){aa.event.add(this,g,e[g][f],e[g][f].data);}}a++;});}return b;},filter:function(a){return this.pushStack(aa.isFunction(a)&&aa.grep(this,function(c,b){return a.call(c,b);})||aa.multiFilter(a,aa.grep(this,function(b){return b.nodeType===1;})),"filter",a);},closest:function(a){var c=aa.expr.match.POS.test(a)?aa(a):null,b=0;return this.map(function(){var d=this;while(d&&d.ownerDocument){if(c?c.index(d)>-1:aa(d).is(a)){aa.data(d,"closest",b);return d;}d=d.parentNode;b++;}});},not:function(b){if(typeof b==="string"){if(ag.test(b)){return this.pushStack(aa.multiFilter(b,this,true),"not",b);}else{b=aa.multiFilter(b,this);}}var a=b.length&&b[b.length-1]!==ah&&!b.nodeType;return this.filter(function(){return a?aa.inArray(this,b)<0:this!=b;});},add:function(a){return this.pushStack(aa.unique(aa.merge(this.get(),typeof a==="string"?aa(a):aa.makeArray(a))));},is:function(a){return !!a&&aa.multiFilter(a,this).length>0;},hasClass:function(a){return !!a&&this.is("."+a);},val:function(e){if(e===ah){var h=this[0];if(h){if(aa.nodeName(h,"option")){return(h.attributes.value||{}).specified?h.value:h.text;}if(aa.nodeName(h,"select")){var c=h.selectedIndex,f=[],g=h.options,b=h.type=="select-one";if(c<0){return null;}for(var i=b?c:0,d=b?c+1:g.length;i<d;i++){var a=g[i];if(a.selected){e=aa(a).val();if(b){return e;}f.push(e);}}return f;}return(h.value||"").replace(/\r/g,"");}return ah;}if(typeof e==="number"){e+="";}return this.each(function(){if(this.nodeType!=1){return;}if(aa.isArray(e)&&/radio|checkbox/.test(this.type)){this.checked=(aa.inArray(this.value,e)>=0||aa.inArray(this.name,e)>=0);}else{if(aa.nodeName(this,"select")){var j=aa.makeArray(e);aa("option",this).each(function(){this.selected=(aa.inArray(this.value,j)>=0||aa.inArray(this.text,j)>=0);});if(!j.length){this.selectedIndex=-1;}}else{this.value=e;}}});},html:function(a){return a===ah?(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(aa.map(this,function(c,b){return a.call(c,b,c);}));},andSelf:function(){return this.add(this.prevObject);},domManip:function(d,g,f){if(this[0]){var c=(this[0].ownerDocument||this[0]).createDocumentFragment(),i=aa.clean(d,(this[0].ownerDocument||this[0]),c),b=c.firstChild;if(b){for(var a=0,h=this.length;a<h;a++){f.call(e(this[a],b),this.length>1||a>0?c.cloneNode(true):c);}}if(i){aa.each(i,K);}}return this;function e(j,k){return g&&aa.nodeName(j,"table")&&aa.nodeName(k,"tr")?(j.getElementsByTagName("tbody")[0]||j.appendChild(j.ownerDocument.createElement("tbody"))):j;}}};aa.fn.init.prototype=aa.fn;function K(b,a){if(a.src){aa.ajax({url:a.src,async:false,dataType:"script"});}else{aa.globalEval(a.text||a.textContent||a.innerHTML||"");}if(a.parentNode){a.parentNode.removeChild(a);}}function af(){return +new Date;}aa.extend=aa.fn.extend=function(){var d=arguments[0]||{},b=1,c=arguments.length,g=false,a;if(typeof d==="boolean"){g=d;d=arguments[1]||{};b=2;}if(typeof d!=="object"&&!aa.isFunction(d)){d={};}if(c==b){d=this;--b;}for(;b<c;b++){if((a=arguments[b])!=null){for(var h in a){var e=d[h],f=a[h];if(d===f){continue;}if(g&&f&&typeof f==="object"&&!f.nodeType){d[h]=aa.extend(g,e||(f.length!=null?[]:{}),f);}else{if(f!==ah){d[h]=f;}}}}}return d;};var ac=/z-?index|font-?weight|opacity|zoom|line-?height/i,M=document.defaultView||{},O=Object.prototype.toString;aa.extend({noConflict:function(a){X.$=L;if(a){X.jQuery=J;}return aa;},isFunction:function(a){return O.call(a)==="[object Function]";},isArray:function(a){return O.call(a)==="[object Array]";},isXMLDoc:function(a){return a.nodeType===9&&a.documentElement.nodeName!=="HTML"||!!a.ownerDocument&&aa.isXMLDoc(a.ownerDocument);},globalEval:function(c){if(c&&/\S/.test(c)){var b=document.getElementsByTagName("head")[0]||document.documentElement,a=document.createElement("script");a.type="text/javascript";if(aa.support.scriptEval){a.appendChild(document.createTextNode(c));}else{a.text=c;}b.insertBefore(a,b.firstChild);b.removeChild(a);}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()==b.toUpperCase();},each:function(a,e,g){var f,b=0,c=a.length;if(g){if(c===ah){for(f in a){if(e.apply(a[f],g)===false){break;}}}else{for(;b<c;){if(e.apply(a[b++],g)===false){break;}}}}else{if(c===ah){for(f in a){if(e.call(a[f],f,a[f])===false){break;}}}else{for(var d=a[0];b<c&&e.call(d,b,d)!==false;d=a[++b]){}}}return a;},prop:function(d,e,c,b,a){if(aa.isFunction(e)){e=e.call(d,b);}return typeof e==="number"&&c=="curCSS"&&!ac.test(a)?e+"px":e;},className:{add:function(b,a){aa.each((a||"").split(/\s+/),function(d,c){if(b.nodeType==1&&!aa.className.has(b.className,c)){b.className+=(b.className?" ":"")+c;}});},remove:function(b,a){if(b.nodeType==1){b.className=a!==ah?aa.grep(b.className.split(/\s+/),function(c){return !aa.className.has(a,c);}).join(" "):"";}},has:function(a,b){return a&&aa.inArray(b,(a.className||a).toString().split(/\s+/))>-1;}},swap:function(c,d,a){var b={};for(var e in d){b[e]=c.style[e];c.style[e]=d[e];}a.call(c);for(var e in d){c.style[e]=b[e];}},css:function(b,h,d,g){if(h=="width"||h=="height"){var f,a={position:"absolute",visibility:"hidden",display:"block"},e=h=="width"?["Left","Right"]:["Top","Bottom"];function c(){f=h=="width"?b.offsetWidth:b.offsetHeight;if(g==="border"){return;}aa.each(e,function(){if(!g){f-=parseFloat(aa.curCSS(b,"padding"+this,true))||0;}if(g==="margin"){f+=parseFloat(aa.curCSS(b,"margin"+this,true))||0;}else{f-=parseFloat(aa.curCSS(b,"border"+this+"Width",true))||0;}});}if(b.offsetWidth!==0){c();}else{aa.swap(b,a,c);}return Math.max(0,Math.round(f));}return aa.curCSS(b,h,d);},curCSS:function(c,i,a){var f,h=c.style;if(i=="opacity"&&!aa.support.opacity){f=aa.attr(h,"opacity");return f==""?"1":f;}if(i.match(/float/i)){i=S;}if(!a&&h&&h[i]){f=h[i];}else{if(M.getComputedStyle){if(i.match(/float/i)){i="float";}i=i.replace(/([A-Z])/g,"-$1").toLowerCase();var g=M.getComputedStyle(c,null);if(g){f=g.getPropertyValue(i);}if(i=="opacity"&&f==""){f="1";}}else{if(c.currentStyle){var d=i.replace(/\-(\w)/g,function(j,k){return k.toUpperCase();});f=c.currentStyle[i]||c.currentStyle[d];if(!/^\d+(px)?$/i.test(f)&&/^\d/.test(f)){var b=h.left,e=c.runtimeStyle.left;c.runtimeStyle.left=c.currentStyle.left;h.left=f||0;f=h.pixelLeft+"px";h.left=b;c.runtimeStyle.left=e;}}}}return f;},clean:function(h,e,c){e=e||document;if(typeof e.createElement==="undefined"){e=e.ownerDocument||e[0]&&e[0].ownerDocument||document;}if(!c&&h.length===1&&typeof h[0]==="string"){var b=/^<(\w+)\s*\/?>$/.exec(h[0]);if(b){return[e.createElement(b[1])];}}var a=[],g=[],f=e.createElement("div");aa.each(h,function(l,o){if(typeof o==="number"){o+="";}if(!o){return;}if(typeof o==="string"){o=o.replace(/(<(\w+)[^>]*?)\/>/g,function(p,q,r){return r.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?p:q+"></"+r+">";});var k=o.replace(/^\s+/,"").substring(0,10).toLowerCase();var m=!k.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!k.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||k.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!k.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!k.indexOf("<td")||!k.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!k.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!aa.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];f.innerHTML=m[1]+o+m[2];while(m[0]--){f=f.lastChild;}if(!aa.support.tbody){var n=/<tbody/i.test(o),j=!k.indexOf("<table")&&!n?f.firstChild&&f.firstChild.childNodes:m[1]=="<table>"&&!n?f.childNodes:[];for(var i=j.length-1;i>=0;--i){if(aa.nodeName(j[i],"tbody")&&!j[i].childNodes.length){j[i].parentNode.removeChild(j[i]);}}}if(!aa.support.leadingWhitespace&&/^\s/.test(o)){f.insertBefore(e.createTextNode(o.match(/^\s*/)[0]),f.firstChild);}o=aa.makeArray(f.childNodes);}if(o.nodeType){a.push(o);}else{a=aa.merge(a,o);}});if(c){for(var d=0;a[d];d++){if(aa.nodeName(a[d],"script")&&(!a[d].type||a[d].type.toLowerCase()==="text/javascript")){g.push(a[d].parentNode?a[d].parentNode.removeChild(a[d]):a[d]);}else{if(a[d].nodeType===1){a.splice.apply(a,[d+1,0].concat(aa.makeArray(a[d].getElementsByTagName("script"))));}c.appendChild(a[d]);}}return g;}return a;},attr:function(d,a,e){if(!d||d.nodeType==3||d.nodeType==8){return ah;}var b=!aa.isXMLDoc(d),f=e!==ah;a=b&&aa.props[a]||a;if(d.tagName){var h=/href|src|style/.test(a);if(a=="selected"&&d.parentNode){d.parentNode.selectedIndex;}if(a in d&&b&&!h){if(f){if(a=="type"&&aa.nodeName(d,"input")&&d.parentNode){throw"type property can't be changed";}d[a]=e;}if(aa.nodeName(d,"form")&&d.getAttributeNode(a)){return d.getAttributeNode(a).nodeValue;}if(a=="tabIndex"){var c=d.getAttributeNode("tabIndex");return c&&c.specified?c.value:d.nodeName.match(/(button|input|object|select|textarea)/i)?0:d.nodeName.match(/^(a|area)$/i)&&d.href?0:ah;}return d[a];}if(!aa.support.style&&b&&a=="style"){return aa.attr(d.style,"cssText",e);}if(f){d.setAttribute(a,""+e);}var g=!aa.support.hrefNormalized&&b&&h?d.getAttribute(a,2):d.getAttribute(a);return g===null?ah:g;}if(!aa.support.opacity&&a=="opacity"){if(f){d.zoom=1;d.filter=(d.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(e)+""=="NaN"?"":"alpha(opacity="+e*100+")");}return d.filter&&d.filter.indexOf("opacity=")>=0?(parseFloat(d.filter.match(/opacity=([^)]*)/)[1])/100)+"":"";}a=a.replace(/-([a-z])/ig,function(i,j){return j.toUpperCase();});if(f){d[a]=e;}return d[a];},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"");},makeArray:function(c){var a=[];if(c!=null){var b=c.length;if(b==null||typeof c==="string"||aa.isFunction(c)||c.setInterval){a[0]=c;}else{while(b){a[--b]=c[b];}}}return a;},inArray:function(d,c){for(var b=0,a=c.length;b<a;b++){if(c[b]===d){return b;}}return -1;},merge:function(c,b){var a=0,d,e=c.length;if(!aa.support.getAll){while((d=b[a++])!=null){if(d.nodeType!=8){c[e++]=d;}}}else{while((d=b[a++])!=null){c[e++]=d;}}return c;},unique:function(e){var g=[],f={};try{for(var a=0,b=e.length;a<b;a++){var d=aa.data(e[a]);if(!f[d]){f[d]=true;g.push(e[a]);}}}catch(c){g=e;}return g;},grep:function(f,d,e){var a=[];for(var b=0,c=f.length;b<c;b++){if(!e!=!d(f[b],b)){a.push(f[b]);}}return a;},map:function(e,d){var f=[];for(var a=0,b=e.length;a<b;a++){var c=d(e[a],a);if(c!=null){f[f.length]=c;}}return f.concat.apply([],f);}});var G=navigator.userAgent.toLowerCase();aa.browser={version:(G.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(G),opera:/opera/.test(G),msie:/msie/.test(G)&&!/opera/.test(G),mozilla:/mozilla/.test(G)&&!/(compatible|webkit)/.test(G)};aa.each({parent:function(a){return a.parentNode;},parents:function(a){return aa.dir(a,"parentNode");},next:function(a){return aa.nth(a,2,"nextSibling");},prev:function(a){return aa.nth(a,2,"previousSibling");},nextAll:function(a){return aa.dir(a,"nextSibling");},prevAll:function(a){return aa.dir(a,"previousSibling");},siblings:function(a){return aa.sibling(a.parentNode.firstChild,a);},children:function(a){return aa.sibling(a.firstChild);},contents:function(a){return aa.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:aa.makeArray(a.childNodes);}},function(b,a){aa.fn[b]=function(d){var c=aa.map(this,a);if(d&&typeof d=="string"){c=aa.multiFilter(d,c);}return this.pushStack(aa.unique(c),b,d);};});aa.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,a){aa.fn[b]=function(c){var f=[],h=aa(c);for(var g=0,d=h.length;g<d;g++){var e=(g>0?this.clone(true):this).get();aa.fn[a].apply(aa(h[g]),e);f=f.concat(e);}return this.pushStack(f,b,c);};});aa.each({removeAttr:function(a){aa.attr(this,a,"");if(this.nodeType==1){this.removeAttribute(a);}},addClass:function(a){aa.className.add(this,a);},removeClass:function(a){aa.className.remove(this,a);},toggleClass:function(a,b){if(typeof b!=="boolean"){b=!aa.className.has(this,a);}aa.className[b?"add":"remove"](this,a);},remove:function(a){if(!a||aa.filter(a,[this]).length){aa("*",this).add([this]).each(function(){aa.event.remove(this);aa.removeData(this);});if(this.parentNode){this.parentNode.removeChild(this);}}},empty:function(){aa(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild);}}},function(b,a){aa.fn[b]=function(){return this.each(a,arguments);};});function V(b,a){return b[0]&&parseInt(aa.curCSS(b[0],a,true),10)||0;}var T="jQuery"+af(),R=0,E={};aa.extend({cache:{},data:function(c,b,d){c=c==X?E:c;var a=c[T];if(!a){a=c[T]=++R;}if(b&&!aa.cache[a]){aa.cache[a]={};}if(d!==ah){aa.cache[a][b]=d;}return b?aa.cache[a][b]:a;},removeData:function(c,b){c=c==X?E:c;var a=c[T];if(b){if(aa.cache[a]){delete aa.cache[a][b];b="";for(b in aa.cache[a]){break;}if(!b){aa.removeData(c);}}}else{try{delete c[T];}catch(d){if(c.removeAttribute){c.removeAttribute(T);}}delete aa.cache[a];}},queue:function(c,b,a){if(c){b=(b||"fx")+"queue";var d=aa.data(c,b);if(!d||aa.isArray(a)){d=aa.data(c,b,aa.makeArray(a));}else{if(a){d.push(a);}}}return d;},dequeue:function(c,d){var b=aa.queue(c,d),a=b.shift();if(!d||d==="fx"){a=b[0];}if(a!==ah){a.call(c);}}});aa.fn.extend({data:function(b,d){var c=b.split(".");c[1]=c[1]?"."+c[1]:"";if(d===ah){var a=this.triggerHandler("getData"+c[1]+"!",[c[0]]);if(a===ah&&this.length){a=aa.data(this[0],b);}return a===ah&&c[1]?this.data(c[0]):a;}else{return this.trigger("setData"+c[1]+"!",[c[0],d]).each(function(){aa.data(this,b,d);});}},removeData:function(a){return this.each(function(){aa.removeData(this,a);});},queue:function(b,a){if(typeof b!=="string"){a=b;b="fx";}if(a===ah){return aa.queue(this[0],b);}return this.each(function(){var c=aa.queue(this,b,a);if(b=="fx"&&c.length==1){c[0].call(this);}});},dequeue:function(a){return this.each(function(){aa.dequeue(this,a);});}});(function(){var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,j=0,f=Object.prototype.toString;var o=function(r,y,v,C){v=v||[];y=y||document;if(y.nodeType!==1&&y.nodeType!==9){return[];}if(!r||typeof r!=="string"){return v;}var ai=[],A,u,s,x,D,z,q=true;d.lastIndex=0;while((A=d.exec(r))!==null){ai.push(A[1]);if(A[2]){z=RegExp.rightContext;break;}}if(ai.length>1&&k.exec(r)){if(ai.length===2&&g.relative[ai[0]]){u=h(ai[0]+ai[1],y);}else{u=g.relative[ai[0]]?[y]:o(ai.shift(),y);while(ai.length){r=ai.shift();if(g.relative[r]){r+=ai.shift();}u=h(r,u);}}}else{var p=C?{expr:ai.pop(),set:n(C)}:o.find(ai.pop(),ai.length===1&&y.parentNode?y.parentNode:y,c(y));u=o.filter(p.expr,p.set);if(ai.length>0){s=n(u);}else{q=false;}while(ai.length){var t=ai.pop(),B=t;if(!g.relative[t]){t="";}else{B=ai.pop();}if(B==null){B=y;}g.relative[t](s,B,c(y));}}if(!s){s=u;}if(!s){throw"Syntax error, unrecognized expression: "+(t||r);}if(f.call(s)==="[object Array]"){if(!q){v.push.apply(v,s);}else{if(y.nodeType===1){for(var w=0;s[w]!=null;w++){if(s[w]&&(s[w]===true||s[w].nodeType===1&&i(y,s[w]))){v.push(u[w]);}}}else{for(var w=0;s[w]!=null;w++){if(s[w]&&s[w].nodeType===1){v.push(u[w]);}}}}}else{n(s,v);}if(z){o(z,y,v,C);if(a){hasDuplicate=false;v.sort(a);if(hasDuplicate){for(var w=1;w<v.length;w++){if(v[w]===v[w-1]){v.splice(w--,1);}}}}}return v;};o.matches=function(p,q){return o(p,null,null,q);};o.find=function(u,w,v){var t,r;if(!u){return[];}for(var q=0,p=g.order.length;q<p;q++){var s=g.order[q],r;if((r=g.match[s].exec(u))){var x=RegExp.leftContext;if(x.substr(x.length-1)!=="\\"){r[1]=(r[1]||"").replace(/\\/g,"");t=g.find[s](r,w,v);if(t!=null){u=u.replace(g.match[s],"");break;}}}}if(!t){t=w.getElementsByTagName("*");}return{set:t,expr:u};};o.filter=function(C,B,A,z){var y=C,u=[],r=B,s,w,t=B&&B[0]&&c(B[0]);while(C&&B.length){for(var v in g.filter){if((s=g.match[v].exec(C))!=null){var x=g.filter[v],ai,p;w=false;if(r==u){u=[];}if(g.preFilter[v]){s=g.preFilter[v](s,r,A,u,z,t);if(!s){w=ai=true;}else{if(s===true){continue;}}}if(s){for(var D=0;(p=r[D])!=null;D++){if(p){ai=x(p,s,D,r);var q=z^!!ai;if(A&&ai!=null){if(q){w=true;}else{r[D]=false;}}else{if(q){u.push(p);w=true;}}}}}if(ai!==ah){if(!A){r=u;}C=C.replace(g.match[v],"");if(!w){return[];}break;}}}if(C==y){if(w==null){throw"Syntax error, unrecognized expression: "+C;}else{break;}}y=C;}return r;};var g=o.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(p){return p.getAttribute("href");}},relative:{"+":function(u,w,t){var r=typeof w==="string",v=r&&!/\W/.test(w),s=r&&!v;if(v&&!t){w=w.toUpperCase();}for(var q=0,p=u.length,x;q<p;q++){if((x=u[q])){while((x=x.previousSibling)&&x.nodeType!==1){}u[q]=s||x&&x.nodeName===w?x||false:x===w;}}if(s){o.filter(w,u,true);}},">":function(t,w,u){var r=typeof w==="string";if(r&&!/\W/.test(w)){w=u?w:w.toUpperCase();for(var p=0,v=t.length;p<v;p++){var s=t[p];if(s){var q=s.parentNode;t[p]=q.nodeName===w?q:false;}}}else{for(var p=0,v=t.length;p<v;p++){var s=t[p];if(s){t[p]=r?s.parentNode:s.parentNode===w;}}if(r){o.filter(w,t,true);}}},"":function(q,u,s){var p=j++,t=e;if(!u.match(/\W/)){var r=u=s?u:u.toUpperCase();t=b;}t("parentNode",u,p,q,r,s);},"~":function(q,u,s){var p=j++,t=e;if(typeof u==="string"&&!u.match(/\W/)){var r=u=s?u:u.toUpperCase();t=b;}t("previousSibling",u,p,q,r,s);}},find:{ID:function(p,q,r){if(typeof q.getElementById!=="undefined"&&!r){var s=q.getElementById(p[1]);return s?[s]:[];}},NAME:function(p,s,t){if(typeof s.getElementsByName!=="undefined"){var v=[],r=s.getElementsByName(p[1]);for(var q=0,u=r.length;q<u;q++){if(r[q].getAttribute("name")===p[1]){v.push(r[q]);}}return v.length===0?null:v;}},TAG:function(p,q){return q.getElementsByTagName(p[1]);}},preFilter:{CLASS:function(q,w,p,v,t,u){q=" "+q[1].replace(/\\/g,"")+" ";if(u){return q;}for(var r=0,s;(s=w[r])!=null;r++){if(s){if(t^(s.className&&(" "+s.className+" ").indexOf(q)>=0)){if(!p){v.push(s);}}else{if(p){w[r]=false;}}}}return false;},ID:function(p){return p[1].replace(/\\/g,"");},TAG:function(p,r){for(var q=0;r[q]===false;q++){}return r[q]&&c(r[q])?p[1]:p[1].toUpperCase();},CHILD:function(p){if(p[1]=="nth"){var q=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(p[2]=="even"&&"2n"||p[2]=="odd"&&"2n+1"||!/\D/.test(p[2])&&"0n+"+p[2]||p[2]);p[2]=(q[1]+(q[2]||1))-0;p[3]=q[3]-0;}p[0]=j++;return p;},ATTR:function(r,v,p,u,s,t){var q=r[1].replace(/\\/g,"");if(!t&&g.attrMap[q]){r[1]=g.attrMap[q];}if(r[2]==="~="){r[4]=" "+r[4]+" ";}return r;},PSEUDO:function(r,u,p,t,s){if(r[1]==="not"){if(r[3].match(d).length>1||/^\w/.test(r[3])){r[3]=o(r[3],null,null,u);}else{var q=o.filter(r[3],u,p,true^s);if(!p){t.push.apply(t,q);}return false;}}else{if(g.match.POS.test(r[0])||g.match.CHILD.test(r[0])){return true;}}return r;},POS:function(p){p.unshift(true);return p;}},filters:{enabled:function(p){return p.disabled===false&&p.type!=="hidden";},disabled:function(p){return p.disabled===true;},checked:function(p){return p.checked===true;},selected:function(p){p.parentNode.selectedIndex;return p.selected===true;},parent:function(p){return !!p.firstChild;},empty:function(p){return !p.firstChild;},has:function(q,p,r){return !!o(r[3],q).length;},header:function(p){return/h\d/i.test(p.nodeName);},text:function(p){return"text"===p.type;},radio:function(p){return"radio"===p.type;},checkbox:function(p){return"checkbox"===p.type;},file:function(p){return"file"===p.type;},password:function(p){return"password"===p.type;},submit:function(p){return"submit"===p.type;},image:function(p){return"image"===p.type;},reset:function(p){return"reset"===p.type;},button:function(p){return"button"===p.type||p.nodeName.toUpperCase()==="BUTTON";},input:function(p){return/input|select|textarea|button/i.test(p.nodeName);}},setFilters:{first:function(q,p){return p===0;},last:function(q,p,s,r){return p===r.length-1;},even:function(q,p){return p%2===0;},odd:function(q,p){return p%2===1;},lt:function(q,p,r){return p<r[3]-0;},gt:function(q,p,r){return p>r[3]-0;},nth:function(q,p,r){return r[3]-0==p;},eq:function(q,p,r){return r[3]-0==p;}},filter:{PSEUDO:function(t,p,q,u){var w=p[1],r=g.filters[w];if(r){return r(t,q,p,u);}else{if(w==="contains"){return(t.textContent||t.innerText||"").indexOf(p[3])>=0;}else{if(w==="not"){var s=p[3];for(var q=0,v=s.length;q<v;q++){if(s[q]===t){return false;}}return true;}}}},CHILD:function(x,q){var t=q[1],y=x;switch(t){case"only":case"first":while(y=y.previousSibling){if(y.nodeType===1){return false;}}if(t=="first"){return true;}y=x;case"last":while(y=y.nextSibling){if(y.nodeType===1){return false;}}return true;case"nth":var p=q[2],w=q[3];if(p==1&&w==0){return true;}var s=q[0],v=x.parentNode;if(v&&(v.sizcache!==s||!x.nodeIndex)){var r=0;for(y=v.firstChild;y;y=y.nextSibling){if(y.nodeType===1){y.nodeIndex=++r;}}v.sizcache=s;}var u=x.nodeIndex-w;if(p==0){return u==0;}else{return(u%p==0&&u/p>=0);}}},ID:function(q,p){return q.nodeType===1&&q.getAttribute("id")===p;},TAG:function(q,p){return(p==="*"&&q.nodeType===1)||q.nodeName===p;},CLASS:function(q,p){return(" "+(q.className||q.getAttribute("class"))+" ").indexOf(p)>-1;},ATTR:function(s,q){var p=q[1],u=g.attrHandle[p]?g.attrHandle[p](s):s[p]!=null?s[p]:s.getAttribute(p),t=u+"",r=q[2],v=q[4];return u==null?r==="!=":r==="="?t===v:r==="*="?t.indexOf(v)>=0:r==="~="?(" "+t+" ").indexOf(v)>=0:!v?t&&u!==false:r==="!="?t!=v:r==="^="?t.indexOf(v)===0:r==="$="?t.substr(t.length-v.length)===v:r==="|="?t===v||t.substr(0,v.length+1)===v+"-":false;},POS:function(r,u,p,s){var t=u[2],q=g.setFilters[t];if(q){return q(r,p,u,s);}}}};var k=g.match.POS;for(var m in g.match){g.match[m]=RegExp(g.match[m].source+/(?![^\[]*\])(?![^\(]*\))/.source);}var n=function(q,p){q=Array.prototype.slice.call(q);if(p){p.push.apply(p,q);return p;}return q;};try{Array.prototype.slice.call(document.documentElement.childNodes);}catch(l){n=function(q,r){var p=r||[];if(f.call(q)==="[object Array]"){Array.prototype.push.apply(p,q);}else{if(typeof q.length==="number"){for(var s=0,t=q.length;s<t;s++){p.push(q[s]);}}else{for(var s=0;q[s];s++){p.push(q[s]);}}}return p;};}var a;if(document.documentElement.compareDocumentPosition){a=function(p,r){var q=p.compareDocumentPosition(r)&4?-1:p===r?0:1;if(q===0){hasDuplicate=true;}return q;};}else{if("sourceIndex" in document.documentElement){a=function(p,r){var q=p.sourceIndex-r.sourceIndex;if(q===0){hasDuplicate=true;}return q;};}else{if(document.createRange){a=function(r,p){var q=r.ownerDocument.createRange(),t=p.ownerDocument.createRange();q.selectNode(r);q.collapse(true);t.selectNode(p);t.collapse(true);var s=q.compareBoundaryPoints(Range.START_TO_END,t);if(s===0){hasDuplicate=true;}return s;};}}}(function(){var p=document.createElement("form"),q="script"+(new Date).getTime();p.innerHTML="<input name='"+q+"'/>";var r=document.documentElement;r.insertBefore(p,r.firstChild);if(!!document.getElementById(q)){g.find.ID=function(s,t,u){if(typeof t.getElementById!=="undefined"&&!u){var v=t.getElementById(s[1]);return v?v.id===s[1]||typeof v.getAttributeNode!=="undefined"&&v.getAttributeNode("id").nodeValue===s[1]?[v]:ah:[];}};g.filter.ID=function(t,u){var s=typeof t.getAttributeNode!=="undefined"&&t.getAttributeNode("id");return t.nodeType===1&&s&&s.nodeValue===u;};}r.removeChild(p);})();(function(){var p=document.createElement("div");p.appendChild(document.createComment(""));if(p.getElementsByTagName("*").length>0){g.find.TAG=function(q,s){var r=s.getElementsByTagName(q[1]);if(q[1]==="*"){var u=[];for(var t=0;r[t];t++){if(r[t].nodeType===1){u.push(r[t]);}}r=u;}return r;};}p.innerHTML="<a href='#'></a>";if(p.firstChild&&typeof p.firstChild.getAttribute!=="undefined"&&p.firstChild.getAttribute("href")!=="#"){g.attrHandle.href=function(q){return q.getAttribute("href",2);};}})();if(document.querySelectorAll){(function(){var p=o,q=document.createElement("div");q.innerHTML="<p class='TEST'></p>";if(q.querySelectorAll&&q.querySelectorAll(".TEST").length===0){return;}o=function(s,r,u,v){r=r||document;if(!v&&r.nodeType===9&&!c(r)){try{return n(r.querySelectorAll(s),u);}catch(t){}}return p(s,r,u,v);};o.find=p.find;o.filter=p.filter;o.selectors=p.selectors;o.matches=p.matches;})();}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var p=document.createElement("div");p.innerHTML="<div class='test e'></div><div class='test'></div>";if(p.getElementsByClassName("e").length===0){return;}p.lastChild.className="e";if(p.getElementsByClassName("e").length===1){return;}g.order.splice(1,0,"CLASS");g.find.CLASS=function(q,r,s){if(typeof r.getElementsByClassName!=="undefined"&&!s){return r.getElementsByClassName(q[1]);}};})();}function b(z,t,s,y,v,x){var w=z=="previousSibling"&&!x;for(var q=0,p=y.length;q<p;q++){var u=y[q];if(u){if(w&&u.nodeType===1){u.sizcache=s;u.sizset=q;}u=u[z];var r=false;while(u){if(u.sizcache===s){r=y[u.sizset];break;}if(u.nodeType===1&&!x){u.sizcache=s;u.sizset=q;}if(u.nodeName===t){r=u;break;}u=u[z];}y[q]=r;}}}function e(z,t,s,y,v,x){var w=z=="previousSibling"&&!x;for(var q=0,p=y.length;q<p;q++){var u=y[q];if(u){if(w&&u.nodeType===1){u.sizcache=s;u.sizset=q;}u=u[z];var r=false;while(u){if(u.sizcache===s){r=y[u.sizset];break;}if(u.nodeType===1){if(!x){u.sizcache=s;u.sizset=q;}if(typeof t!=="string"){if(u===t){r=true;break;}}else{if(o.filter(t,[u]).length>0){r=u;break;}}}u=u[z];}y[q]=r;}}}var i=document.compareDocumentPosition?function(q,p){return q.compareDocumentPosition(p)&16;}:function(q,p){return q!==p&&(q.contains?q.contains(p):true);};var c=function(p){return p.nodeType===9&&p.documentElement.nodeName!=="HTML"||!!p.ownerDocument&&c(p.ownerDocument);};var h=function(v,u){var q=[],r="",s,p=u.nodeType?[u]:u;while((s=g.match.PSEUDO.exec(v))){r+=s[0];v=v.replace(g.match.PSEUDO,"");}v=g.relative[v]?v+"*":v;for(var t=0,w=p.length;t<w;t++){o(v,p[t],q);}return o.filter(r,q);};aa.find=o;aa.filter=o.filter;aa.expr=o.selectors;aa.expr[":"]=aa.expr.filters;o.selectors.filters.hidden=function(p){return p.offsetWidth===0||p.offsetHeight===0;};o.selectors.filters.visible=function(p){return p.offsetWidth>0||p.offsetHeight>0;};o.selectors.filters.animated=function(p){return aa.grep(aa.timers,function(q){return p===q.elem;}).length;};aa.multiFilter=function(q,r,p){if(p){q=":not("+q+")";}return o.matches(q,r);};aa.dir=function(q,p){var s=[],r=q[p];while(r&&r!=document){if(r.nodeType==1){s.push(r);}r=r[p];}return s;};aa.nth=function(q,t,s,r){t=t||1;var p=0;for(;q;q=q[s]){if(q.nodeType==1&&++p==t){break;}}return q;};aa.sibling=function(q,p){var r=[];for(;q;q=q.nextSibling){if(q.nodeType==1&&q!=p){r.push(q);}}return r;};return;X.Sizzle=o;})();aa.event={add:function(c,g,b,e){if(c.nodeType==3||c.nodeType==8){return;}if(c.setInterval&&c!=X){c=X;}if(!b.guid){b.guid=this.guid++;}if(e!==ah){var a=b;b=this.proxy(a);b.data=e;}var f=aa.data(c,"events")||aa.data(c,"events",{}),d=aa.data(c,"handle")||aa.data(c,"handle",function(){return typeof aa!=="undefined"&&!aa.event.triggered?aa.event.handle.apply(arguments.callee.elem,arguments):ah;});d.elem=c;aa.each(g.split(/\s+/),function(i,j){var k=j.split(".");j=k.shift();b.type=k.slice().sort().join(".");var h=f[j];if(aa.event.specialAll[j]){aa.event.specialAll[j].setup.call(c,e,k);}if(!h){h=f[j]={};if(!aa.event.special[j]||aa.event.special[j].setup.call(c,e,k)===false){if(c.addEventListener){c.addEventListener(j,d,false);}else{if(c.attachEvent){c.attachEvent("on"+j,d);}}}}h[b.guid]=b;aa.event.global[j]=true;});c=null;},guid:1,global:{},remove:function(e,b,d){if(e.nodeType==3||e.nodeType==8){return;}var a=aa.data(e,"events"),h,g;if(a){if(b===ah||(typeof b==="string"&&b.charAt(0)==".")){for(var c in a){this.remove(e,c+(b||""));}}else{if(b.type){d=b.handler;b=b.type;}aa.each(b.split(/\s+/),function(j,l){var i=l.split(".");l=i.shift();var k=RegExp("(^|\\.)"+i.slice().sort().join(".*\\.")+"(\\.|$)");if(a[l]){if(d){delete a[l][d.guid];}else{for(var m in a[l]){if(k.test(a[l][m].type)){delete a[l][m];}}}if(aa.event.specialAll[l]){aa.event.specialAll[l].teardown.call(e,i);}for(h in a[l]){break;}if(!h){if(!aa.event.special[l]||aa.event.special[l].teardown.call(e,i)===false){if(e.removeEventListener){e.removeEventListener(l,aa.data(e,"handle"),false);}else{if(e.detachEvent){e.detachEvent("on"+l,aa.data(e,"handle"));}}}h=null;delete a[l];}}});}for(h in a){break;}if(!h){var f=aa.data(e,"handle");if(f){f.elem=null;}aa.removeData(e,"events");aa.removeData(e,"handle");}}},trigger:function(c,e,b,g){var a=c.type||c;if(!g){c=typeof c==="object"?c[T]?c:aa.extend(aa.Event(a),c):aa.Event(a);if(a.indexOf("!")>=0){c.type=a=a.slice(0,-1);c.exclusive=true;}if(!b){c.stopPropagation();if(this.global[a]){aa.each(aa.cache,function(){if(this.events&&this.events[a]){aa.event.trigger(c,e,this.handle.elem);}});}}if(!b||b.nodeType==3||b.nodeType==8){return ah;}c.result=ah;c.target=b;e=aa.makeArray(e);e.unshift(c);}c.currentTarget=b;var d=aa.data(b,"handle");if(d){d.apply(b,e);}if((!b[a]||(aa.nodeName(b,"a")&&a=="click"))&&b["on"+a]&&b["on"+a].apply(b,e)===false){c.result=false;}if(!g&&b[a]&&!c.isDefaultPrevented()&&!(aa.nodeName(b,"a")&&a=="click")){this.triggered=true;try{b[a]();}catch(f){}}this.triggered=false;if(!c.isPropagationStopped()){var h=b.parentNode||b.ownerDocument;if(h){aa.event.trigger(c,e,h,true);}}},handle:function(e){var d,g;e=arguments[0]=aa.event.fix(e||X.event);e.currentTarget=this;var f=e.type.split(".");e.type=f.shift();d=!f.length&&!e.exclusive;var c=RegExp("(^|\\.)"+f.slice().sort().join(".*\\.")+"(\\.|$)");g=(aa.data(this,"events")||{})[e.type];for(var a in g){var b=g[a];if(d||c.test(b.type)){e.handler=b;e.data=b.data;var h=b.apply(this,arguments);if(h!==ah){e.result=h;if(h===false){e.preventDefault();e.stopPropagation();}}if(e.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(b){if(b[T]){return b;}var f=b;b=aa.Event(f);for(var a=this.props.length,d;a;){d=this.props[--a];b[d]=f[d];}if(!b.target){b.target=b.srcElement||document;}if(b.target.nodeType==3){b.target=b.target.parentNode;}if(!b.relatedTarget&&b.fromElement){b.relatedTarget=b.fromElement==b.target?b.toElement:b.fromElement;}if(b.pageX==null&&b.clientX!=null){var c=document.documentElement,e=document.body;b.pageX=b.clientX+(c&&c.scrollLeft||e&&e.scrollLeft||0)-(c.clientLeft||0);b.pageY=b.clientY+(c&&c.scrollTop||e&&e.scrollTop||0)-(c.clientTop||0);}if(!b.which&&((b.charCode||b.charCode===0)?b.charCode:b.keyCode)){b.which=b.charCode||b.keyCode;}if(!b.metaKey&&b.ctrlKey){b.metaKey=b.ctrlKey;}if(!b.which&&b.button){b.which=(b.button&1?1:(b.button&2?3:(b.button&4?2:0)));}return b;},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:F,teardown:function(){}}},specialAll:{live:{setup:function(b,a){aa.event.add(this,a[0],ad);},teardown:function(c){if(c.length){var a=0,b=RegExp("(^|\\.)"+c[0]+"(\\.|$)");aa.each((aa.data(this,"events").live||{}),function(){if(b.test(this.type)){a++;}});if(a<1){aa.event.remove(this,c[0],ad);}}}}}};aa.Event=function(a){if(!this.preventDefault){return new aa.Event(a);}if(a&&a.type){this.originalEvent=a;this.type=a.type;}else{this.type=a;}this.timeStamp=af();this[T]=true;};function W(){return false;}function Q(){return true;}aa.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Q;var a=this.originalEvent;if(!a){return;}if(a.preventDefault){a.preventDefault();}a.returnValue=false;},stopPropagation:function(){this.isPropagationStopped=Q;var a=this.originalEvent;if(!a){return;}if(a.stopPropagation){a.stopPropagation();}a.cancelBubble=true;},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Q;this.stopPropagation();},isDefaultPrevented:W,isPropagationStopped:W,isImmediatePropagationStopped:W};var ab=function(b){var a=b.relatedTarget;while(a&&a!=this){try{a=a.parentNode;}catch(c){a=this;}}if(a!=this){b.type=b.data;aa.event.handle.apply(this,arguments);}};aa.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(a,b){aa.event.special[b]={setup:function(){aa.event.add(this,a,ab,b);},teardown:function(){aa.event.remove(this,a,ab);}};});aa.fn.extend({bind:function(b,c,a){return b=="unload"?this.one(b,c,a):this.each(function(){aa.event.add(this,b,a||c,a&&c);});},one:function(d,c,a){var b=aa.event.proxy(a||c,function(e){aa(this).unbind(e,b);return(a||c).apply(this,arguments);});return this.each(function(){aa.event.add(this,d,b,a&&c);});},unbind:function(a,b){return this.each(function(){aa.event.remove(this,a,b);});},trigger:function(b,a){return this.each(function(){aa.event.trigger(b,a,this);});},triggerHandler:function(a,c){if(this[0]){var b=aa.Event(a);b.preventDefault();b.stopPropagation();aa.event.trigger(b,c,this[0]);return b.result;}},toggle:function(c){var a=arguments,b=1;while(b<a.length){aa.event.proxy(c,a[b++]);}return this.click(aa.event.proxy(c,function(d){this.lastToggle=(this.lastToggle||0)%b;d.preventDefault();return a[this.lastToggle++].apply(this,arguments)||false;}));},hover:function(b,a){return this.mouseenter(b).mouseleave(a);},ready:function(a){F();if(aa.isReady){a.call(document,aa);}else{aa.readyList.push(a);}return this;},live:function(c,b){var a=aa.event.proxy(b);a.guid+=this.selector+c;aa(document).bind(U(c,this.selector),this.selector,a);return this;},die:function(a,b){aa(document).unbind(U(a,this.selector),b?{guid:b.guid+this.selector+a}:null);return this;}});function ad(c){var b=RegExp("(^|\\.)"+c.type+"(\\.|$)"),d=true,a=[];aa.each(aa.data(this,"events").live||[],function(e,f){if(b.test(f.type)){var g=aa(c.target).closest(f.data)[0];if(g){a.push({elem:g,fn:f});}}});a.sort(function(e,f){return aa.data(e.elem,"closest")-aa.data(f.elem,"closest");});aa.each(a,function(){if(this.fn.call(this.elem,c,this.fn.data)===false){return(d=false);}});return d;}function U(a,b){return["live",a,b.replace(/\./g,"`").replace(/ /g,"|")].join(".");}aa.extend({isReady:false,readyList:[],ready:function(){if(!aa.isReady){aa.isReady=true;if(aa.readyList){aa.each(aa.readyList,function(){this.call(document,aa);});aa.readyList=null;}aa(document).triggerHandler("ready");}}});var I=false;function F(){if(I){return;}I=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);aa.ready();},false);}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);aa.ready();}});if(document.documentElement.doScroll&&X==X.top){(function(){if(aa.isReady){return;}try{document.documentElement.doScroll("left");}catch(a){setTimeout(arguments.callee,0);return;}aa.ready();})();}}}aa.event.add(X,"load",aa.ready);}aa.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){aa.fn[b]=function(c){return c?this.bind(b,c):this.trigger(b);};});aa(X).bind("unload",function(){for(var a in aa.cache){if(a!=1&&aa.cache[a].handle){aa.event.remove(aa.cache[a].handle.elem);}}});(function(){aa.support={};var g=document.documentElement,a=document.createElement("script"),e=document.createElement("div"),d="script"+(new Date).getTime();e.style.display="none";e.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 b=e.getElementsByTagName("*"),f=e.getElementsByTagName("a")[0];if(!b||!b.length||!f){return;}aa.support={leadingWhitespace:e.firstChild.nodeType==3,tbody:!e.getElementsByTagName("tbody").length,objectAll:!!e.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!e.getElementsByTagName("link").length,style:/red/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:f.style.opacity==="0.5",cssFloat:!!f.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};a.type="text/javascript";try{a.appendChild(document.createTextNode("window."+d+"=1;"));}catch(c){}g.insertBefore(a,g.firstChild);if(X[d]){aa.support.scriptEval=true;delete X[d];}g.removeChild(a);if(e.attachEvent&&e.fireEvent){e.attachEvent("onclick",function(){aa.support.noCloneEvent=false;e.detachEvent("onclick",arguments.callee);});e.cloneNode(true).fireEvent("onclick");}aa(function(){var h=document.createElement("div");h.style.width=h.style.paddingLeft="1px";document.body.appendChild(h);aa.boxModel=aa.support.boxModel=h.offsetWidth===2;document.body.removeChild(h).style.display="none";});})();var S=aa.support.cssFloat?"cssFloat":"styleFloat";aa.props={"for":"htmlFor","class":"className","float":S,cssFloat:S,styleFloat:S,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};aa.fn.extend({_load:aa.fn.load,load:function(a,d,e){if(typeof a!=="string"){return this._load(a);}var c=a.indexOf(" ");if(c>=0){var f=a.slice(c,a.length);a=a.slice(0,c);}var b="GET";if(d){if(aa.isFunction(d)){e=d;d=null;}else{if(typeof d==="object"){d=aa.param(d);b="POST";}}}var g=this;aa.ajax({url:a,type:b,dataType:"html",data:d,complete:function(h,i){if(i=="success"||i=="notmodified"){g.html(f?aa("<div/>").append(h.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(f):h.responseText);}if(e){g.each(e,[h.responseText,i,h]);}}});return this;},serialize:function(){return aa.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return this.elements?aa.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type));}).map(function(a,b){var c=aa(this).val();return c==null?null:aa.isArray(c)?aa.map(c,function(e,d){return{name:b.name,value:e};}):{name:b.name,value:c};}).get();}});aa.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(b,a){aa.fn[a]=function(c){return this.bind(a,c);};});var N=af();aa.extend({get:function(b,d,c,a){if(aa.isFunction(d)){c=d;d=null;}return aa.ajax({type:"GET",url:b,data:d,success:c,dataType:a});},getScript:function(b,a){return aa.get(b,null,a,"script");},getJSON:function(a,b,c){return aa.get(a,b,c,"json");},post:function(b,d,c,a){if(aa.isFunction(d)){c=d;d={};}return aa.ajax({type:"POST",url:b,data:d,success:c,dataType:a});},ajaxSetup:function(a){aa.extend(aa.ajaxSettings,a);},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return X.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(o){o=aa.extend(true,o,aa.extend(true,{},aa.ajaxSettings,o));var i,s=/=\?(&|$)/g,d,h,a=o.type.toUpperCase();if(o.data&&o.processData&&typeof o.data!=="string"){o.data=aa.param(o.data);}if(o.dataType=="jsonp"){if(a=="GET"){if(!o.url.match(s)){o.url+=(o.url.match(/\?/)?"&":"?")+(o.jsonp||"callback")+"=?";}}else{if(!o.data||!o.data.match(s)){o.data=(o.data?o.data+"&":"")+(o.jsonp||"callback")+"=?";}}o.dataType="json";}if(o.dataType=="json"&&(o.data&&o.data.match(s)||o.url.match(s))){i="jsonp"+N++;if(o.data){o.data=(o.data+"").replace(s,"="+i+"$1");}o.url=o.url.replace(s,"="+i+"$1");o.dataType="script";X[i]=function(t){h=t;k();n();X[i]=ah;try{delete X[i];}catch(u){}if(j){j.removeChild(f);}};}if(o.dataType=="script"&&o.cache==null){o.cache=false;}if(o.cache===false&&a=="GET"){var r=af();var g=o.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+r+"$2");o.url=g+((g==o.url)?(o.url.match(/\?/)?"&":"?")+"_="+r:"");}if(o.data&&a=="GET"){o.url+=(o.url.match(/\?/)?"&":"?")+o.data;o.data=null;}if(o.global&&!aa.active++){aa.event.trigger("ajaxStart");}var c=/^(\w+:)?\/\/([^\/?#]+)/.exec(o.url);if(o.dataType=="script"&&a=="GET"&&c&&(c[1]&&c[1]!=location.protocol||c[2]!=location.host)){var j=document.getElementsByTagName("head")[0];var f=document.createElement("script");f.src=o.url;if(o.scriptCharset){f.charset=o.scriptCharset;}if(!i){var q=false;f.onload=f.onreadystatechange=function(){if(!q&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){q=true;k();n();f.onload=f.onreadystatechange=null;j.removeChild(f);}};}j.appendChild(f);return ah;}var m=false;var l=o.xhr();if(o.username){l.open(a,o.url,o.async,o.username,o.password);}else{l.open(a,o.url,o.async);}try{if(o.data){l.setRequestHeader("Content-Type",o.contentType);}if(o.ifModified){l.setRequestHeader("If-Modified-Since",aa.lastModified[o.url]||"Thu, 01 Jan 1970 00:00:00 GMT");}l.setRequestHeader("X-Requested-With","XMLHttpRequest");l.setRequestHeader("Accept",o.dataType&&o.accepts[o.dataType]?o.accepts[o.dataType]+", */*":o.accepts._default);}catch(e){}if(o.beforeSend&&o.beforeSend(l,o)===false){if(o.global&&!--aa.active){aa.event.trigger("ajaxStop");}l.abort();return false;}if(o.global){aa.event.trigger("ajaxSend",[l,o]);}var p=function(t){if(l.readyState==0){if(b){clearInterval(b);b=null;if(o.global&&!--aa.active){aa.event.trigger("ajaxStop");}}}else{if(!m&&l&&(l.readyState==4||t=="timeout")){m=true;if(b){clearInterval(b);b=null;}d=t=="timeout"?"timeout":!aa.httpSuccess(l)?"error":o.ifModified&&aa.httpNotModified(l,o.url)?"notmodified":"success";if(d=="success"){try{h=aa.httpData(l,o.dataType,o);}catch(v){d="parsererror";}}if(d=="success"){var u;try{u=l.getResponseHeader("Last-Modified");}catch(v){}if(o.ifModified&&u){aa.lastModified[o.url]=u;}if(!i){k();}}else{aa.handleError(o,l,d);}n();if(t){l.abort();}if(o.async){l=null;}}}};if(o.async){var b=setInterval(p,13);if(o.timeout>0){setTimeout(function(){if(l&&!m){p("timeout");}},o.timeout);}}try{l.send(o.data);}catch(e){aa.handleError(o,l,null,e);}if(!o.async){p();}function k(){if(o.success){o.success(h,d);}if(o.global){aa.event.trigger("ajaxSuccess",[l,o]);}}function n(){if(o.complete){o.complete(l,d);}if(o.global){aa.event.trigger("ajaxComplete",[l,o]);}if(o.global&&!--aa.active){aa.event.trigger("ajaxStop");}}return l;},handleError:function(a,c,b,d){if(a.error){a.error(c,b,d);}if(a.global){aa.event.trigger("ajaxError",[c,a,d]);}},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(d,b){try{var c=d.getResponseHeader("Last-Modified");return d.status==304||c==aa.lastModified[b];}catch(a){}return false;},httpData:function(d,b,a){var f=d.getResponseHeader("content-type"),e=b=="xml"||!b&&f&&f.indexOf("xml")>=0,c=e?d.responseXML:d.responseText;if(e&&c.documentElement.tagName=="parsererror"){throw"parsererror";}if(a&&a.dataFilter){c=a.dataFilter(c,b);}if(typeof c==="string"){if(b=="script"){aa.globalEval(c);}if(b=="json"){c=X["eval"]("("+c+")");}}return c;},param:function(b){var d=[];function c(f,e){d[d.length]=encodeURIComponent(f)+"="+encodeURIComponent(e);}if(aa.isArray(b)||b.jquery){aa.each(b,function(){c(this.name,this.value);});}else{for(var a in b){if(aa.isArray(b[a])){aa.each(b[a],function(){c(a,this);});}else{c(a,aa.isFunction(b[a])?b[a]():b[a]);}}}return d.join("&").replace(/%20/g,"+");}});var Y={},Z,ae=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function P(b,a){var c={};aa.each(ae.concat.apply([],ae.slice(0,a)),function(){c[this]=b;});return c;}aa.fn.extend({show:function(d,f){if(d){return this.animate(P("show",3),d,f);}else{for(var b=0,h=this.length;b<h;b++){var g=aa.data(this[b],"olddisplay");this[b].style.display=g||"";if(aa.css(this[b],"display")==="none"){var a=this[b].tagName,e;if(Y[a]){e=Y[a];}else{var c=aa("<"+a+" />").appendTo("body");e=c.css("display");if(e==="none"){e="block";}c.remove();Y[a]=e;}aa.data(this[b],"olddisplay",e);}}for(var b=0,h=this.length;b<h;b++){this[b].style.display=aa.data(this[b],"olddisplay")||"";}return this;}},hide:function(d,e){if(d){return this.animate(P("hide",3),d,e);}else{for(var c=0,b=this.length;c<b;c++){var a=aa.data(this[c],"olddisplay");if(!a&&a!=="none"){aa.data(this[c],"olddisplay",aa.css(this[c],"display"));}}for(var c=0,b=this.length;c<b;c++){this[c].style.display="none";}return this;}},_toggle:aa.fn.toggle,toggle:function(c,b){var a=typeof c==="boolean";return aa.isFunction(c)&&aa.isFunction(b)?this._toggle.apply(this,arguments):c==null||a?this.each(function(){var d=a?c:aa(this).is(":hidden");aa(this)[d?"show":"hide"]();}):this.animate(P("toggle",3),c,b);},fadeTo:function(a,c,b){return this.animate({opacity:c},a,b);},animate:function(d,c,a,b){var e=aa.speed(c,a,b);return this[e.queue===false?"each":"queue"](function(){var i=aa.extend({},e),g,f=this.nodeType==1&&aa(this).is(":hidden"),h=this;for(g in d){if(d[g]=="hide"&&f||d[g]=="show"&&!f){return i.complete.call(this);}if((g=="height"||g=="width")&&this.style){i.display=aa.css(this,"display");i.overflow=this.style.overflow;}}if(i.overflow!=null){this.style.overflow="hidden";}i.curAnim=aa.extend({},d);aa.each(d,function(k,o){var n=new aa.fx(h,i,k);if(/toggle|show|hide/.test(o)){n[o=="toggle"?f?"show":"hide":o](d);}else{var m=o.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),p=n.cur(true)||0;if(m){var j=parseFloat(m[2]),l=m[3]||"px";if(l!="px"){h.style[k]=(j||1)+l;p=((j||1)/n.cur(true))*p;h.style[k]=p+l;}if(m[1]){j=((m[1]=="-="?-1:1)*j)+p;}n.custom(p,j,l);}else{n.custom(p,o,"");}}});return true;});},stop:function(b,a){var c=aa.timers;if(b){this.queue([]);}this.each(function(){for(var d=c.length-1;d>=0;d--){if(c[d].elem==this){if(a){c[d](true);}c.splice(d,1);}}});if(!a){this.dequeue();}return this;}});aa.each({slideDown:P("show",1),slideUp:P("hide",1),slideToggle:P("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(b,a){aa.fn[b]=function(d,c){return this.animate(a,d,c);};});aa.extend({speed:function(d,c,a){var b=typeof d==="object"?d:{complete:a||!a&&c||aa.isFunction(d)&&d,duration:d,easing:a&&c||c&&!aa.isFunction(c)&&c};b.duration=aa.fx.off?0:typeof b.duration==="number"?b.duration:aa.fx.speeds[b.duration]||aa.fx.speeds._default;b.old=b.complete;b.complete=function(){if(b.queue!==false){aa(this).dequeue();}if(aa.isFunction(b.old)){b.old.call(this);}};return b;},easing:{linear:function(d,c,b,a){return b+a*d;},swing:function(d,c,b,a){return((-Math.cos(d*Math.PI)/2)+0.5)*a+b;}},timers:[],fx:function(b,a,c){this.options=a;this.elem=b;this.prop=c;if(!a.orig){a.orig={};}}});aa.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this);}(aa.fx.step[this.prop]||aa.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(aa.css(this.elem,this.prop,a));return b&&b>-10000?b:parseFloat(aa.curCSS(this.elem,this.prop))||0;},custom:function(e,d,c){this.startTime=af();this.start=e;this.end=d;this.unit=c||this.unit||"px";this.now=this.start;this.pos=this.state=0;var a=this;function b(f){return a.step(f);}b.elem=this.elem;if(b()&&aa.timers.push(b)&&!Z){Z=setInterval(function(){var g=aa.timers;for(var f=0;f<g.length;f++){if(!g[f]()){g.splice(f--,1);}}if(!g.length){clearInterval(Z);Z=ah;}},13);}},show:function(){this.options.orig[this.prop]=aa.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());aa(this.elem).show();},hide:function(){this.options.orig[this.prop]=aa.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0);},step:function(b){var a=af();if(b||a>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var e=true;for(var f in this.options.curAnim){if(this.options.curAnim[f]!==true){e=false;}}if(e){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(aa.css(this.elem,"display")=="none"){this.elem.style.display="block";}}if(this.options.hide){aa(this.elem).hide();}if(this.options.hide||this.options.show){for(var c in this.options.curAnim){aa.attr(this.elem.style,c,this.options.orig[c]);}}this.options.complete.call(this.elem);}return false;}else{var d=a-this.startTime;this.state=d/this.options.duration;this.pos=aa.easing[this.options.easing||(aa.easing.swing?"swing":"linear")](this.state,d,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update();}return true;}};aa.extend(aa.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){aa.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){aa.fn.offset=function(){if(!this[0]){return{top:0,left:0};}if(this[0]===this[0].ownerDocument.body){return aa.offset.bodyOffset(this[0]);}var a=this[0].getBoundingClientRect(),d=this[0].ownerDocument,h=d.body,g=d.documentElement,f=g.clientTop||h.clientTop||0,e=g.clientLeft||h.clientLeft||0,c=a.top+(self.pageYOffset||aa.boxModel&&g.scrollTop||h.scrollTop)-f,b=a.left+(self.pageXOffset||aa.boxModel&&g.scrollLeft||h.scrollLeft)-e;return{top:c,left:b};};}else{aa.fn.offset=function(){if(!this[0]){return{top:0,left:0};}if(this[0]===this[0].ownerDocument.body){return aa.offset.bodyOffset(this[0]);}aa.offset.initialized||aa.offset.initialize();var d=this[0],a=d.offsetParent,k=d,i=d.ownerDocument,g,b=i.documentElement,e=i.body,f=i.defaultView,j=f.getComputedStyle(d,null),h=d.offsetTop,c=d.offsetLeft;while((d=d.parentNode)&&d!==e&&d!==b){g=f.getComputedStyle(d,null);h-=d.scrollTop,c-=d.scrollLeft;if(d===a){h+=d.offsetTop,c+=d.offsetLeft;if(aa.offset.doesNotAddBorder&&!(aa.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(d.tagName))){h+=parseInt(g.borderTopWidth,10)||0,c+=parseInt(g.borderLeftWidth,10)||0;}k=a,a=d.offsetParent;}if(aa.offset.subtractsBorderForOverflowNotVisible&&g.overflow!=="visible"){h+=parseInt(g.borderTopWidth,10)||0,c+=parseInt(g.borderLeftWidth,10)||0;}j=g;}if(j.position==="relative"||j.position==="static"){h+=e.offsetTop,c+=e.offsetLeft;}if(j.position==="fixed"){h+=Math.max(b.scrollTop,e.scrollTop),c+=Math.max(b.scrollLeft,e.scrollLeft);}return{top:h,left:c};};}aa.offset={initialize:function(){if(this.initialized){return;}var f=document.body,j=document.createElement("div"),b,a,h,c,g,i,d=f.style.marginTop,e='<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>';g={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(i in g){j.style[i]=g[i];}j.innerHTML=e;f.insertBefore(j,f.firstChild);b=j.firstChild,a=b.firstChild,c=b.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(a.offsetTop!==5);this.doesAddBorderForTableAndCells=(c.offsetTop===5);b.style.overflow="hidden",b.style.position="relative";this.subtractsBorderForOverflowNotVisible=(a.offsetTop===-5);f.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(f.offsetTop===0);f.style.marginTop=d;f.removeChild(j);this.initialized=true;},bodyOffset:function(a){aa.offset.initialized||aa.offset.initialize();var c=a.offsetTop,b=a.offsetLeft;if(aa.offset.doesNotIncludeMarginInBodyOffset){c+=parseInt(aa.curCSS(a,"marginTop",true),10)||0,b+=parseInt(aa.curCSS(a,"marginLeft",true),10)||0;}return{top:c,left:b};}};aa.fn.extend({position:function(){var c=0,b=0,f;if(this[0]){var a=this.offsetParent(),d=this.offset(),e=/^body|html$/i.test(a[0].tagName)?{top:0,left:0}:a.offset();d.top-=V(this,"marginTop");d.left-=V(this,"marginLeft");e.top+=V(a,"borderTopWidth");e.left+=V(a,"borderLeftWidth");f={top:d.top-e.top,left:d.left-e.left};}return f;},offsetParent:function(){var a=this[0].offsetParent||document.body;while(a&&(!/^body|html$/i.test(a.tagName)&&aa.css(a,"position")=="static")){a=a.offsetParent;}return aa(a);}});aa.each(["Left","Top"],function(b,a){var c="scroll"+a;aa.fn[c]=function(d){if(!this[0]){return null;}return d!==ah?this.each(function(){this==X||this==document?X.scrollTo(!b?d:aa(X).scrollLeft(),b?d:aa(X).scrollTop()):this[c]=d;}):this[0]==X||this[0]==document?self[b?"pageYOffset":"pageXOffset"]||aa.boxModel&&document.documentElement[c]||document.body[c]:this[0][c];};});aa.each(["Height","Width"],function(c,a){var e=c?"Left":"Top",b=c?"Right":"Bottom",f=a.toLowerCase();aa.fn["inner"+a]=function(){return this[0]?aa.css(this[0],f,false,"padding"):null;};aa.fn["outer"+a]=function(g){return this[0]?aa.css(this[0],f,false,g?"margin":"border"):null;};var d=a.toLowerCase();aa.fn[d]=function(g){return this[0]==X?document.compatMode=="CSS1Compat"&&document.documentElement["client"+a]||document.body["client"+a]:this[0]==document?Math.max(document.documentElement["client"+a],document.body["scroll"+a],document.documentElement["scroll"+a],document.body["offset"+a],document.documentElement["offset"+a]):g===ah?(this.length?aa.css(this[0],d):null):this.css(d,typeof g==="string"?g:g+"px");};});})();var smm=function(){var b=function(){a();$(window).bind("resize",a);$("#choose-language-opener").click(function(){$("#available-languages").toggle();return false;});$(document).click(function(){$("#available-languages").hide();});if($.fn.infiniteCarousel){$("#introductory-carousel").infiniteCarousel({infinite:true});var d=$("#article-picture-carousel"),c=d.find("ul").height();d.infiniteCarousel({infinite:true,useCounter:true});d.height(c);d.children(".wrapper").height(c);}if($.fn.elastic){$("textarea").elastic();}if($.fn.colorbox){$("li:not(.cloned) a[rel='slideshow-lightbox'], li:not(.cloned) a[rel='slideshow-lightbox-video']").each(function(){$(this).colorbox({slideshow:true,slideshowAuto:false,opacity:"0.7",title:$(this).parent().find("p.description").html(),slideshowStart:"Starta bildspel",slideshowStop:"Stoppa bildspel",slideshowSpeed:5000,current:"Bild {current} av {total}",previous:"Föregående",next:"Nästa",close:"Stäng",maxWidth:"90%",maxHeight:"90%",scalePhotos:true,photo:true});});$("a.slideshow-lightbox-autoplay").click(function(e){$("li:not(.cloned) a[rel='slideshow-lightbox']").colorbox({open:true,slideshow:true,slideshowAuto:true});return false;});}},a=function(){$("#container").css("min-height",($(document).height()-$("#page-footer").height())+"px");};return{init:b};}();$(document).ready(function(){smm.init();});$.fn.infiniteCarousel=function(b){var a=(typeof b!=="undefined")?b.infinite:true,c=(typeof b!=="undefined")?b.useCounter:false;function d(e,f){return new Array(f+1).join(e);}return this.each(function(){var k=$("> div",this).css("overflow","hidden"),m=k.find("> ul"),g=m.find("> li"),n=g.length,l=g.filter(":first"),e=l.outerWidth(),f=Math.ceil(k.innerWidth()/e),h=1,j=Math.ceil(g.length/f);if((g.length%f)!=0){m.append(d('<li class="empty" />',f-(g.length%f)));g=m.find("> li");}if(a){g.filter(":first").before(g.slice(-f).clone().addClass("cloned"));g.filter(":last").after(g.slice(0,f).clone().addClass("cloned"));}g=m.find("> li");k.scrollLeft(e*f);function i(p){if(c){$("#current-item-number").text((p>j)?1:(p===0)?j:p);}var o=p<h?-1:1,r=Math.abs(h-p),q=e*o*f*r;k.filter(":not(:animated)").animate({scrollLeft:"+="+q},500,function(){if(p==0){k.scrollLeft(e*f*j);p=j;}else{if(p>j){k.scrollLeft(e*f);p=1;}}h=p;});return false;}if(n>1){k.after('<a class="arrow back">&lt;</a><a class="arrow forward">&gt;</a>');}$("a.back",this).click(function(){return i(h-1);});$("a.forward",this).click(function(){return i(h+1);});$(this).bind("goto",function(o,p){i(p);});});};(function(Z){var aj="colorbox",ay="hover",aq=true,aL=false,aH,aw=!Z.support.opacity,aN=aw&&!window.XMLHttpRequest,aQ="click.colorbox",ag="cbox_open",aV="cbox_load",am="cbox_complete",aU="cbox_cleanup",ax="cbox_closed",aY="resize.cbox_resize",aS="resize.cboxie6 scroll.cboxie6",ae,aO,aP,aD,ah,at,aB,ad,aC,aJ,ab,aF,ak,ar,av,aW,au,aR,al,aI,aG,aE,aA,ap,aX,az,ai,aK,ao,af,aa={transition:"elastic",speed:350,width:aL,height:aL,initialWidth:"400",initialHeight:"400",maxWidth:aL,maxHeight:aL,scalePhotos:aq,scrollbars:aq,inline:aL,html:aL,iframe:aL,photo:aL,href:aL,title:aL,rel:aL,opacity:0.9,preloading:aq,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:aL,overlayClose:aq,slideshow:aL,slideshowAuto:aq,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow"};function aT(a){if(a.keyCode===37){a.preventDefault();aR.click();}else{if(a.keyCode===39){a.preventDefault();au.click();}}}function ac(b,a){a=a==="x"?document.documentElement.clientWidth:document.documentElement.clientHeight;return(typeof b==="string")?(b.match(/%/)?(a/100)*parseInt(b,10):parseInt(b,10)):b;}function an(a){return aK.photo||a.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i);}function aM(){for(var a in aK){if(typeof(aK[a])==="function"){aK[a]=aK[a].call(az);}}}aH=Z.fn.colorbox=function(b,a){if(this.length){this.each(function(){var c=Z(this).data(aj)?Z.extend({},Z(this).data(aj),b):Z.extend({},aa,b);Z(this).data(aj,c).addClass("cboxelement");});}else{Z(this).data(aj,Z.extend({},aa,b));}Z(this).unbind(aQ).bind(aQ,function(d){az=this;aK=Z(az).data(aj);aM();Z().bind("keydown.cbox_close",function(e){if(e.keyCode===27){e.preventDefault();aH.close();}});if(aK.overlayClose){ae.css({cursor:"pointer"}).one("click",aH.close);}az.blur();af=a||aL;var c=aK.rel||az.rel;if(c&&c!=="nofollow"){aC=Z(".cboxelement").filter(function(){var e=Z(this).data(aj).rel||this.rel;return(e===c);});ai=aC.index(az);if(ai<0){aC=aC.add(az);ai=aC.length-1;}}else{aC=Z(az);ai=0;}if(!ao){ao=aq;Z.event.trigger(ag);al.html(aK.close);ae.css({opacity:aK.opacity}).show();aH.position(ac(aK.initialWidth,"x"),ac(aK.initialHeight,"y"),0);if(aN){aJ.bind(aS,function(){ae.css({width:aJ.width(),height:aJ.height(),top:aJ.scrollTop(),left:aJ.scrollLeft()});}).trigger(aS);}}aH.slideshow();aH.load();d.preventDefault();});if(b&&b.open){Z(this).triggerHandler(aQ);}return this;};aH.init=function(){function a(b){return Z('<div id="cbox'+b+'"/>');}aJ=Z(window);aO=Z('<div id="colorbox"/>');ae=a("Overlay").hide();aP=a("Wrapper");aD=a("Content").append(ab=a("LoadedContent").css({width:0,height:0}),aF=a("LoadingOverlay"),ak=a("LoadingGraphic"),ar=a("Title"),av=a("Current"),aW=a("Slideshow"),au=a("Next"),aR=a("Previous"),al=a("Close"));aP.append(Z("<div/>").append(a("TopLeft"),ah=a("TopCenter"),a("TopRight")),Z("<div/>").append(at=a("MiddleLeft"),aD,aB=a("MiddleRight")),Z("<div/>").append(a("BottomLeft"),ad=a("BottomCenter"),a("BottomRight"))).children().children().css({"float":"left"});Z("body").prepend(ae,aO.append(aP));if(aw){aO.addClass("cboxIE");if(aN){ae.css("position","absolute");}}aD.children().addClass(ay).mouseover(function(){Z(this).addClass(ay);}).mouseout(function(){Z(this).removeClass(ay);}).hide();aI=ah.height()+ad.height()+aD.outerHeight(aq)-aD.height();aG=at.width()+aB.width()+aD.outerWidth(aq)-aD.width();aE=ab.outerHeight(aq);aA=ab.outerWidth(aq);aO.css({"padding-bottom":aI,"padding-right":aG}).hide();au.click(aH.next);aR.click(aH.prev);al.click(aH.close);aD.children().removeClass(ay);};aH.position=function(g,f,e,h){var i=document.documentElement.clientHeight,b=i/2-f/2,a=document.documentElement.clientWidth/2-g/2,d;if(f>i){b-=(f-i);}if(b<0){b=0;}if(a<0){a=0;}b+=aJ.scrollTop();a+=aJ.scrollLeft();g=g-aG;f=f-aI;d=(aO.width()===g&&aO.height()===f)?0:e;aP[0].style.width=aP[0].style.height="9999px";function c(j){ah[0].style.width=ad[0].style.width=aD[0].style.width=j.style.width;ak[0].style.height=aF[0].style.height=aD[0].style.height=at[0].style.height=aB[0].style.height=j.style.height;}aO.dequeue().animate({height:f,width:g,top:b,left:a},{duration:d,complete:function(){c(this);aP[0].style.width=(g+aG)+"px";aP[0].style.height=(f+aI)+"px";if(h){h();}},step:function(){c(this);}});};aH.resize=function(b){if(!ao){return;}var c,m,a,l,g,n,d,e,h,j=aK.transition==="none"?0:aK.speed;aJ.unbind(aY);if(!b){h=setTimeout(function(){m=ab.children().outerHeight(aq);ab[0].style.height=m+"px";aH.position(ab.width()+aA+aG,m+aE+aI,j);},1);return;}ab.remove();ab=Z(b);function f(){c=aK.width?ap:ap&&ap<ab.width()?ap:ab.width();return c;}function i(){m=aK.height?aX:aX&&aX<ab.height()?aX:ab.height();return m;}if(!aK.scrollbars){ab.css({overflow:"hidden"});}ab.hide().appendTo("body").attr({id:"cboxLoadedContent"}).css({width:f()}).css({height:i()}).prependTo(aD);if(aN){Z("select:not(#colorbox select)").filter(function(){return Z(this).css("visibility")!=="hidden";}).css({visibility:"hidden"}).one(aU,function(){Z(this).css({visibility:"inherit"});});}e=Z("#cboxPhoto")[0];if(e&&aK.height){a=(m-parseInt(e.style.height,10))/2;e.style.marginTop=(a>0?a:0)+"px";}function k(q){var p=c+aA+aG,o=m+aE+aI;Z().unbind("keydown",aT);aH.position(p,o,q,function(){if(!ao){return;}if(aw){if(e){ab.fadeIn(100);}aO[0].style.removeAttribute("filter");}aD.children().show();Z("#cboxIframeTemp").after("<iframe id='cboxIframe' name='iframe_"+new Date().getTime()+"' frameborder=0 src='"+(aK.href||az.href)+"' />").remove();aF.hide();ak.hide();aW.hide();if(aC.length>1){av.html(aK.current.replace(/\{current\}/,ai+1).replace(/\{total\}/,aC.length));au.html(aK.next);aR.html(aK.previous);Z().bind("keydown",aT);if(aK.slideshow){aW.show();}}else{av.hide();au.hide();aR.hide();}ar.html(aK.title||az.title);Z.event.trigger(am);if(af){af.call(az);}if(aK.transition==="fade"){aO.fadeTo(j,1,function(){if(aw){aO[0].style.removeAttribute("filter");}});}aJ.bind(aY,function(){aH.position(p,o,0);});});}if((aK.transition==="fade"&&aO.fadeTo(j,0,function(){k(0);}))||k(j)){}if(aK.preloading&&aC.length>1){l=ai>0?aC[ai-1]:aC[aC.length-1];n=ai<aC.length-1?aC[ai+1]:aC[0];d=Z(n).data(aj).href||n.href;g=Z(l).data(aj).href||l.href;if(an(d)){Z("<img />").attr("src",d);}if(an(g)){Z("<img />").attr("src",g);}}};aH.load=function(){var c,b,a,d,e=aH.resize;az=aC[ai];aK=Z(az).data(aj);aM();Z.event.trigger(aV);c=aK.height?ac(aK.height,"y")-aE-aI:aL;b=aK.width?ac(aK.width,"x")-aA-aG:aL;a=aK.href||az.href;aF.show();ak.show();al.show();if(aK.maxHeight){aX=aK.maxHeight?ac(aK.maxHeight,"y")-aE-aI:aL;c=c&&c<aX?c:aX;}if(aK.maxWidth){ap=aK.maxWidth?ac(aK.maxWidth,"x")-aA-aG:aL;b=b&&b<ap?b:ap;}aX=c;ap=b;if(aK.inline){Z('<div id="cboxInlineTemp" />').hide().insertBefore(Z(a)[0]).bind(aV+" "+aU,function(){ab.children().insertBefore(this);Z(this).remove();});e(Z(a).wrapAll("<div/>").parent());}else{if(aK.iframe){e(Z("<div><div id='cboxIframeTemp' /></div>"));}else{if(aK.html){e(Z("<div/>").html(aK.html));}else{if(an(a)){d=new Image();d.onload=function(){d.onload=null;if((aX||ap)&&aK.scalePhotos){var g=this.width,i=this.height,f=0,j=this,h=function(){i+=i*f;g+=g*f;j.height=i;j.width=g;};if(ap&&g>ap){f=(ap-g)/g;h();}if(aX&&i>aX){f=(aX-i)/i;h();}}e(Z("<div />").css({width:this.width,height:this.height}).append(Z(this).css({width:this.width,height:this.height,display:"block",margin:"auto",border:0}).attr("id","cboxPhoto")));if(aC.length>1){Z(this).css({cursor:"pointer"}).click(aH.next);}if(aw){this.style.msInterpolationMode="bicubic";}};d.src=a;}else{Z("<div />").load(a,function(f,g){if(g==="success"){e(Z(this));}else{e(Z("<p>Request unsuccessful.</p>"));}});}}}}};aH.next=function(){ai=ai<aC.length-1?ai+1:0;aH.load();};aH.prev=function(){ai=ai>0?ai-1:aC.length-1;aH.load();};aH.slideshow=function(){var c,a,d="cboxSlideshow_";aW.bind(aU,function(){clearTimeout(a);aW.unbind(am+" "+aV+" click");});function b(){aW.text(aK.slideshowStop).bind(am,function(){a=setTimeout(aH.next,aK.slideshowSpeed);}).bind(aV,function(){clearTimeout(a);}).one("click",function(){c();Z(this).removeClass(ay);});aO.removeClass(d+"off").addClass(d+"on");}c=function(){clearTimeout(a);aW.text(aK.slideshowStart).unbind(am+" "+aV).one("click",function(){b();a=setTimeout(aH.next,aK.slideshowSpeed);Z(this).removeClass(ay);});aO.removeClass(d+"on").addClass(d+"off");};if(aK.slideshow&&aC.length>1){if(aK.slideshowAuto){b();}else{c();}}};aH.close=function(){Z.event.trigger(aU);ao=aL;Z().unbind("keydown",aT).unbind("keydown.cbox_close");aJ.unbind(aY+" "+aS);ae.css({cursor:"auto"}).fadeOut("fast");aO.stop(aq,aL).fadeOut("fast",function(){ab.remove();aO.css({opacity:1});aD.children().hide();Z.event.trigger(ax);});};aH.element=function(){return az;};aH.settings=aa;Z(aH.init);}(jQuery));
