(function(){var S=this,Ac,E=S.jQuery,G=S.$,V=S.jQuery=S.$=function(A,B){return new V.fn.init(A,B)},Ag=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,Ab=/^.[^:#\[\.,]*$/;V.fn=V.prototype={init:function(D,B){D=D||document;if(D.nodeType){this[0]=D;this.length=1;this.context=D;return this}if(typeof D==="string"){var A=Ag.exec(D);if(A&&(A[1]||!B)){if(A[1]){D=V.clean([A[1]],B)}else{var C=document.getElementById(A[3]);if(C&&C.id!=A[3]){return V().find(D)}var a=V(C||[]);a.context=document;a.selector=D;return a}}else{return V(B).find(D)}}else{if(V.isFunction(D)){return V(document).ready(D)}}if(D.selector&&D.context){this.selector=D.selector;this.context=D.context}return this.setArray(V.isArray(D)?D:V.makeArray(D))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(A){return A===Ac?Array.prototype.slice.call(this):this[A]},pushStack:function(D,B,C){var A=V(D);A.prevObject=this;A.context=this.context;if(B==="find"){A.selector=this.selector+(this.selector?" ":"")+C}else{if(B){A.selector=this.selector+"."+B+"("+C+")"}}return A},setArray:function(A){this.length=0;Array.prototype.push.apply(this,A);return this},each:function(B,A){return V.each(this,B,A)},index:function(A){return V.inArray(A&&A.jquery?A[0]:A,this)},attr:function(D,B,A){var C=D;if(typeof D==="string"){if(B===Ac){return this[0]&&V[A||"attr"](this[0],D)}else{C={};C[D]=B}}return this.each(function(a){for(D in C){V.attr(A?this.style:this,D,V.prop(this,C[D],A,a,D))}})},css:function(A,B){if((A=="width"||A=="height")&&parseFloat(B)<0){B=Ac}return this.attr(A,B,"curCSS")},text:function(B){if(typeof B!=="object"&&B!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(B))}var A="";V.each(B||this,function(){V.each(this.childNodes,function(){if(this.nodeType!=8){A+=this.nodeType!=1?this.nodeValue:V.fn.text([this])}})});return A},wrapAll:function(A){if(this[0]){var B=V(A,this[0].ownerDocument).clone();if(this[0].parentNode){B.insertBefore(this[0])}B.map(function(){var C=this;while(C.firstChild){C=C.firstChild}return C}).append(this)}return this},wrapInner:function(A){return this.each(function(){V(this).contents().wrapAll(A)})},wrap:function(A){return this.each(function(){V(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||V([])},push:[].push,sort:[].sort,splice:[].splice,find:function(A){if(this.length===1){var B=this.pushStack([],"find",A);B.length=0;V.find(A,this[0],B);return B}else{return this.pushStack(V.unique(V.map(this,function(C){return V.find(A,C)})),"find",A)}},clone:function(A){var C=this.map(function(){if(!V.support.noCloneEvent&&!V.isXMLDoc(this)){var a=this.outerHTML;if(!a){var b=this.ownerDocument.createElement("div");b.appendChild(this.cloneNode(true));a=b.innerHTML}return V.clean([a.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(A===true){var B=this.find("*").andSelf(),D=0;C.find("*").andSelf().each(function(){if(this.nodeName!==B[D].nodeName){return}var a=V.data(B[D],"events");for(var c in a){for(var b in a[c]){V.event.add(this,c,a[c][b],a[c][b].data)}}D++})}return C},filter:function(A){return this.pushStack(V.isFunction(A)&&V.grep(this,function(B,C){return A.call(B,C)})||V.multiFilter(A,V.grep(this,function(B){return B.nodeType===1})),"filter",A)},closest:function(B){var A=V.expr.match.POS.test(B)?V(B):null,C=0;return this.map(function(){var D=this;while(D&&D.ownerDocument){if(A?A.index(D)>-1:V(D).is(B)){V.data(D,"closest",C);return D}D=D.parentNode;C++}})},not:function(A){if(typeof A==="string"){if(Ab.test(A)){return this.pushStack(V.multiFilter(A,this,true),"not",A)}else{A=V.multiFilter(A,this)}}var B=A.length&&A[A.length-1]!==Ac&&!A.nodeType;return this.filter(function(){return B?V.inArray(this,A)<0:this!=A})},add:function(A){return this.pushStack(V.unique(V.merge(this.get(),typeof A==="string"?V(A):V.makeArray(A))))},is:function(A){return !!A&&V.multiFilter(A,this).length>0},hasClass:function(A){return !!A&&this.is("."+A)},val:function(c){if(c===Ac){var A=this[0];if(A){if(V.nodeName(A,"option")){return(A.attributes.value||{}).specified?A.value:A.text}if(V.nodeName(A,"select")){var a=A.selectedIndex,d=[],e=A.options,D=A.type=="select-one";if(a<0){return null}for(var B=D?a:0,b=D?a+1:e.length;B<b;B++){var C=e[B];if(C.selected){c=V(C).val();if(D){return c}d.push(c)}}return d}return(A.value||"").replace(/\r/g,"")}return Ac}if(typeof c==="number"){c+=""}return this.each(function(){if(this.nodeType!=1){return}if(V.isArray(c)&&/radio|checkbox/.test(this.type)){this.checked=(V.inArray(this.value,c)>=0||V.inArray(this.name,c)>=0)}else{if(V.nodeName(this,"select")){var f=V.makeArray(c);V("option",this).each(function(){this.selected=(V.inArray(this.value,f)>=0||V.inArray(this.text,f)>=0)});if(!f.length){this.selectedIndex=-1}}else{this.value=c}}})},html:function(A){return A===Ac?(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(V.map(this,function(B,C){return A.call(B,C,B)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(b,e,d){if(this[0]){var a=(this[0].ownerDocument||this[0]).createDocumentFragment(),B=V.clean(b,(this[0].ownerDocument||this[0]),a),D=a.firstChild;if(D){for(var C=0,A=this.length;C<A;C++){d.call(c(this[C],D),this.length>1||C>0?a.cloneNode(true):a)}}if(B){V.each(B,F)}}return this;function c(f,g){return e&&V.nodeName(f,"table")&&V.nodeName(g,"tr")?(f.getElementsByTagName("tbody")[0]||f.appendChild(f.ownerDocument.createElement("tbody"))):f}}};V.fn.init.prototype=V.fn;function F(A,B){if(B.src){V.ajax({url:B.src,async:false,dataType:"script"})}else{V.globalEval(B.text||B.textContent||B.innerHTML||"")}if(B.parentNode){B.parentNode.removeChild(B)}}function Aa(){return +new Date}V.extend=V.fn.extend=function(){var b=arguments[0]||{},D=1,a=arguments.length,A=false,C;if(typeof b==="boolean"){A=b;b=arguments[1]||{};D=2}if(typeof b!=="object"&&!V.isFunction(b)){b={}}if(a==D){b=this;--D}for(;D<a;D++){if((C=arguments[D])!=null){for(var B in C){var c=b[B],d=C[B];if(b===d){continue}if(A&&d&&typeof d==="object"&&!d.nodeType){b[B]=V.extend(A,c||(d.length!=null?[]:{}),d)}else{if(d!==Ac){b[B]=d}}}}}return b};var X=/z-?index|font-?weight|opacity|zoom|line-?height/i,H=document.defaultView||{},J=Object.prototype.toString;V.extend({noConflict:function(A){S.$=G;if(A){S.jQuery=E}return V},isFunction:function(A){return J.call(A)==="[object Function]"},isArray:function(A){return J.call(A)==="[object Array]"},isXMLDoc:function(A){return A.nodeType===9&&A.documentElement.nodeName!=="HTML"||!!A.ownerDocument&&V.isXMLDoc(A.ownerDocument)},globalEval:function(A){if(A&&/\S/.test(A)){var C=document.getElementsByTagName("head")[0]||document.documentElement,B=document.createElement("script");B.type="text/javascript";if(V.support.scriptEval){B.appendChild(document.createTextNode(A))}else{B.text=A}C.insertBefore(B,C.firstChild);C.removeChild(B)}},nodeName:function(B,A){return B.nodeName&&B.nodeName.toUpperCase()==A.toUpperCase()},each:function(A,c,C){var b,D=0,a=A.length;if(C){if(a===Ac){for(b in A){if(c.apply(A[b],C)===false){break}}}else{for(;D<a;){if(c.apply(A[D++],C)===false){break}}}}else{if(a===Ac){for(b in A){if(c.call(A[b],b,A[b])===false){break}}}else{for(var B=A[0];D<a&&c.call(B,D,B)!==false;B=A[++D]){}}}return A},prop:function(B,C,A,a,D){if(V.isFunction(C)){C=C.call(B,a)}return typeof C==="number"&&A=="curCSS"&&!X.test(D)?C+"px":C},className:{add:function(A,B){V.each((B||"").split(/\s+/),function(C,D){if(A.nodeType==1&&!V.className.has(A.className,D)){A.className+=(A.className?" ":"")+D}})},remove:function(A,B){if(A.nodeType==1){A.className=B!==Ac?V.grep(A.className.split(/\s+/),function(C){return !V.className.has(B,C)}).join(" "):""}},has:function(B,A){return B&&V.inArray(A,(B.className||B).toString().split(/\s+/))>-1}},swap:function(B,A,C){var D={};for(var a in A){D[a]=B.style[a];B.style[a]=A[a]}C.call(B);for(var a in A){B.style[a]=D[a]}},css:function(D,B,b,A){if(B=="width"||B=="height"){var d,C={position:"absolute",visibility:"hidden",display:"block"},c=B=="width"?["Left","Right"]:["Top","Bottom"];function a(){d=B=="width"?D.offsetWidth:D.offsetHeight;if(A==="border"){return}V.each(c,function(){if(!A){d-=parseFloat(V.curCSS(D,"padding"+this,true))||0}if(A==="margin"){d+=parseFloat(V.curCSS(D,"margin"+this,true))||0}else{d-=parseFloat(V.curCSS(D,"border"+this+"Width",true))||0}})}if(D.offsetWidth!==0){a()}else{V.swap(D,C,a)}return Math.max(0,Math.round(d))}return V.curCSS(D,B,b)},curCSS:function(a,B,C){var d,A=a.style;if(B=="opacity"&&!V.support.opacity){d=V.attr(A,"opacity");return d==""?"1":d}if(B.match(/float/i)){B=N}if(!C&&A&&A[B]){d=A[B]}else{if(H.getComputedStyle){if(B.match(/float/i)){B="float"}B=B.replace(/([A-Z])/g,"-$1").toLowerCase();var e=H.getComputedStyle(a,null);if(e){d=e.getPropertyValue(B)}if(B=="opacity"&&d==""){d="1"}}else{if(a.currentStyle){var b=B.replace(/\-(\w)/g,function(f,g){return g.toUpperCase()});d=a.currentStyle[B]||a.currentStyle[b];if(!/^\d+(px)?$/i.test(d)&&/^\d/.test(d)){var D=A.left,c=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;A.left=d||0;d=A.pixelLeft+"px";A.left=D;a.runtimeStyle.left=c}}}}return d},clean:function(B,c,a){c=c||document;if(typeof c.createElement==="undefined"){c=c.ownerDocument||c[0]&&c[0].ownerDocument||document}if(!a&&B.length===1&&typeof B[0]==="string"){var D=/^<(\w+)\s*\/?>$/.exec(B[0]);if(D){return[c.createElement(D[1])]}}var C=[],A=[],d=c.createElement("div");V.each(B,function(m,g){if(typeof g==="number"){g+=""}if(!g){return}if(typeof g==="string"){g=g.replace(/(<(\w+)[^>]*?)\/>/g,function(o,q,n){return n.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?o:q+"></"+n+">"});var h=g.replace(/^\s+/,"").substring(0,10).toLowerCase();var e=!h.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!h.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||h.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!h.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!h.indexOf("<td")||!h.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!h.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!V.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];d.innerHTML=e[1]+g+e[2];while(e[0]--){d=d.lastChild}if(!V.support.tbody){var f=/<tbody/i.test(g),l=!h.indexOf("<table")&&!f?d.firstChild&&d.firstChild.childNodes:e[1]=="<table>"&&!f?d.childNodes:[];for(var k=l.length-1;k>=0;--k){if(V.nodeName(l[k],"tbody")&&!l[k].childNodes.length){l[k].parentNode.removeChild(l[k])}}}if(!V.support.leadingWhitespace&&/^\s/.test(g)){d.insertBefore(c.createTextNode(g.match(/^\s*/)[0]),d.firstChild)}g=V.makeArray(d.childNodes)}if(g.nodeType){C.push(g)}else{C=V.merge(C,g)}});if(a){for(var b=0;C[b];b++){if(V.nodeName(C[b],"script")&&(!C[b].type||C[b].type.toLowerCase()==="text/javascript")){A.push(C[b].parentNode?C[b].parentNode.removeChild(C[b]):C[b])}else{if(C[b].nodeType===1){C.splice.apply(C,[b+1,0].concat(V.makeArray(C[b].getElementsByTagName("script"))))}a.appendChild(C[b])}}return A}return C},attr:function(b,C,c){if(!b||b.nodeType==3||b.nodeType==8){return Ac}var D=!V.isXMLDoc(b),d=c!==Ac;C=D&&V.props[C]||C;if(b.tagName){var B=/href|src|style/.test(C);if(C=="selected"&&b.parentNode){b.parentNode.selectedIndex}if(C in b&&D&&!B){if(d){if(C=="type"&&V.nodeName(b,"input")&&b.parentNode){throw"type property can't be changed"}b[C]=c}if(V.nodeName(b,"form")&&b.getAttributeNode(C)){return b.getAttributeNode(C).nodeValue}if(C=="tabIndex"){var a=b.getAttributeNode("tabIndex");return a&&a.specified?a.value:b.nodeName.match(/(button|input|object|select|textarea)/i)?0:b.nodeName.match(/^(a|area)$/i)&&b.href?0:Ac}return b[C]}if(!V.support.style&&D&&C=="style"){return V.attr(b.style,"cssText",c)}if(d){b.setAttribute(C,""+c)}var A=!V.support.hrefNormalized&&D&&B?b.getAttribute(C,2):b.getAttribute(C);return A===null?Ac:A}if(!V.support.opacity&&C=="opacity"){if(d){b.zoom=1;b.filter=(b.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(c)+""=="NaN"?"":"alpha(opacity="+c*100+")")}return b.filter&&b.filter.indexOf("opacity=")>=0?(parseFloat(b.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}C=C.replace(/-([a-z])/ig,function(e,f){return f.toUpperCase()});if(d){b[C]=c}return b[C]},trim:function(A){return(A||"").replace(/^\s+|\s+$/g,"")},makeArray:function(A){var B=[];if(A!=null){var C=A.length;if(C==null||typeof A==="string"||V.isFunction(A)||A.setInterval){B[0]=A}else{while(C){B[--C]=A[C]}}}return B},inArray:function(A,B){for(var C=0,D=B.length;C<D;C++){if(B[C]===A){return C}}return -1},merge:function(B,D){var a=0,A,C=B.length;if(!V.support.getAll){while((A=D[a++])!=null){if(A.nodeType!=8){B[C++]=A}}}else{while((A=D[a++])!=null){B[C++]=A}}return B},unique:function(c){var C=[],b={};try{for(var A=0,D=c.length;A<D;A++){var B=V.data(c[A]);if(!b[B]){b[B]=true;C.push(c[A])}}}catch(a){C=c}return C},grep:function(b,a,B){var A=[];for(var C=0,D=b.length;C<D;C++){if(!B!=!a(b[C],C)){A.push(b[C])}}return A},map:function(a,B){var b=[];for(var A=0,C=a.length;A<C;A++){var D=B(a[A],A);if(D!=null){b[b.length]=D}}return b.concat.apply([],b)}});var Af=navigator.userAgent.toLowerCase();V.browser={version:(Af.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(Af),opera:/opera/.test(Af),msie:/msie/.test(Af)&&!/opera/.test(Af),mozilla:/mozilla/.test(Af)&&!/(compatible|webkit)/.test(Af)};V.each({parent:function(A){return A.parentNode},parents:function(A){return V.dir(A,"parentNode")},next:function(A){return V.nth(A,2,"nextSibling")},prev:function(A){return V.nth(A,2,"previousSibling")},nextAll:function(A){return V.dir(A,"nextSibling")},prevAll:function(A){return V.dir(A,"previousSibling")},siblings:function(A){return V.sibling(A.parentNode.firstChild,A)},children:function(A){return V.sibling(A.firstChild)},contents:function(A){return V.nodeName(A,"iframe")?A.contentDocument||A.contentWindow.document:V.makeArray(A.childNodes)}},function(A,B){V.fn[A]=function(C){var D=V.map(this,B);if(C&&typeof C=="string"){D=V.multiFilter(C,D)}return this.pushStack(V.unique(D),A,C)}});V.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(A,B){V.fn[A]=function(C){var c=[],D=V(C);for(var d=0,a=D.length;d<a;d++){var b=(d>0?this.clone(true):this).get();V.fn[B].apply(V(D[d]),b);c=c.concat(b)}return this.pushStack(c,A,C)}});V.each({removeAttr:function(A){V.attr(this,A,"");if(this.nodeType==1){this.removeAttribute(A)}},addClass:function(A){V.className.add(this,A)},removeClass:function(A){V.className.remove(this,A)},toggleClass:function(B,A){if(typeof A!=="boolean"){A=!V.className.has(this,B)}V.className[A?"add":"remove"](this,B)},remove:function(A){if(!A||V.filter(A,[this]).length){V("*",this).add([this]).each(function(){V.event.remove(this);V.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){V(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(A,B){V.fn[A]=function(){return this.each(B,arguments)}});function Q(A,B){return A[0]&&parseInt(V.curCSS(A[0],B,true),10)||0}var O="jQuery"+Aa(),M=0,Ad={};V.extend({cache:{},data:function(D,C,A){D=D==S?Ad:D;var B=D[O];if(!B){B=D[O]=++M}if(C&&!V.cache[B]){V.cache[B]={}}if(A!==Ac){V.cache[B][C]=A}return C?V.cache[B][C]:B},removeData:function(D,C){D=D==S?Ad:D;var B=D[O];if(C){if(V.cache[B]){delete V.cache[B][C];C="";for(C in V.cache[B]){break}if(!C){V.removeData(D)}}}else{try{delete D[O]}catch(A){if(D.removeAttribute){D.removeAttribute(O)}}delete V.cache[B]}},queue:function(D,C,B){if(D){C=(C||"fx")+"queue";var A=V.data(D,C);if(!A||V.isArray(B)){A=V.data(D,C,V.makeArray(B))}else{if(B){A.push(B)}}}return A},dequeue:function(B,A){var C=V.queue(B,A),D=C.shift();if(!A||A==="fx"){D=C[0]}if(D!==Ac){D.call(B)}}});V.fn.extend({data:function(C,A){var B=C.split(".");B[1]=B[1]?"."+B[1]:"";if(A===Ac){var D=this.triggerHandler("getData"+B[1]+"!",[B[0]]);if(D===Ac&&this.length){D=V.data(this[0],C)}return D===Ac&&B[1]?this.data(B[0]):D}else{return this.trigger("setData"+B[1]+"!",[B[0],A]).each(function(){V.data(this,C,A)})}},removeData:function(A){return this.each(function(){V.removeData(this,A)})},queue:function(A,B){if(typeof A!=="string"){B=A;A="fx"}if(B===Ac){return V.queue(this[0],A)}return this.each(function(){var C=V.queue(this,A,B);if(A=="fx"&&C.length==1){C[0].call(this)}})},dequeue:function(A){return this.each(function(){V.dequeue(this,A)})}});(function(){var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,g=0,c=Object.prototype.toString;var B=function(Al,u,y,n){y=y||[];u=u||document;if(u.nodeType!==1&&u.nodeType!==9){return[]}if(!Al||typeof Al!=="string"){return y}var Am=[],w,q,o,t,z,v,Ak=true;a.lastIndex=0;while((w=a.exec(Al))!==null){Am.push(w[1]);if(w[2]){v=RegExp.rightContext;break}}if(Am.length>1&&h.exec(Al)){if(Am.length===2&&d.relative[Am[0]]){q=e(Am[0]+Am[1],u)}else{q=d.relative[Am[0]]?[u]:B(Am.shift(),u);while(Am.length){Al=Am.shift();if(d.relative[Al]){Al+=Am.shift()}q=e(Al,q)}}}else{var Aj=n?{expr:Am.pop(),set:A(n)}:B.find(Am.pop(),Am.length===1&&u.parentNode?u.parentNode:u,D(u));q=B.filter(Aj.expr,Aj.set);if(Am.length>0){o=A(q)}else{Ak=false}while(Am.length){var Ai=Am.pop(),x=Ai;if(!d.relative[Ai]){Ai=""}else{x=Am.pop()}if(x==null){x=u}d.relative[Ai](o,x,D(u))}}if(!o){o=q}if(!o){throw"Syntax error, unrecognized expression: "+(Ai||Al)}if(c.call(o)==="[object Array]"){if(!Ak){y.push.apply(y,o)}else{if(u.nodeType===1){for(var r=0;o[r]!=null;r++){if(o[r]&&(o[r]===true||o[r].nodeType===1&&f(u,o[r]))){y.push(q[r])}}}else{for(var r=0;o[r]!=null;r++){if(o[r]&&o[r].nodeType===1){y.push(q[r])}}}}}else{A(o,y)}if(v){B(v,u,y,n);if(C){hasDuplicate=false;y.sort(C);if(hasDuplicate){for(var r=1;r<y.length;r++){if(y[r]===y[r-1]){y.splice(r--,1)}}}}}return y};B.matches=function(n,o){return B(n,null,null,o)};B.find=function(n,o,u){var x,v;if(!n){return[]}for(var t=0,r=d.order.length;t<r;t++){var w=d.order[t],v;if((v=d.match[w].exec(n))){var q=RegExp.leftContext;if(q.substr(q.length-1)!=="\\"){v[1]=(v[1]||"").replace(/\\/g,"");x=d.find[w](v,o,u);if(x!=null){n=n.replace(d.match[w],"");break}}}}if(!x){x=o.getElementsByTagName("*")}return{set:x,expr:n}};B.filter=function(u,n,y,x){var w=u,o=[],t=n,Al,Aj,Am=n&&n[0]&&D(n[0]);while(u&&n.length){for(var z in d.filter){if((Al=d.match[z].exec(u))!=null){var v=d.filter[z],Ai,r;Aj=false;if(t==o){o=[]}if(d.preFilter[z]){Al=d.preFilter[z](Al,t,y,o,x,Am);if(!Al){Aj=Ai=true}else{if(Al===true){continue}}}if(Al){for(var Ak=0;(r=t[Ak])!=null;Ak++){if(r){Ai=v(r,Al,Ak,t);var q=x^!!Ai;if(y&&Ai!=null){if(q){Aj=true}else{t[Ak]=false}}else{if(q){o.push(r);Aj=true}}}}}if(Ai!==Ac){if(!y){t=o}u=u.replace(d.match[z],"");if(!Aj){return[]}break}}}if(u==w){if(Aj==null){throw"Syntax error, unrecognized expression: "+u}else{break}}w=u}return t};var d=B.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(n){return n.getAttribute("href")}},relative:{"+":function(n,o,x){var v=typeof o==="string",u=v&&!/\W/.test(o),w=v&&!u;if(u&&!x){o=o.toUpperCase()}for(var t=0,r=n.length,q;t<r;t++){if((q=n[t])){while((q=q.previousSibling)&&q.nodeType!==1){}n[t]=w||q&&q.nodeName===o?q||false:q===o}}if(w){B.filter(o,n,true)}},">":function(w,q,n){var u=typeof q==="string";if(u&&!/\W/.test(q)){q=n?q:q.toUpperCase();for(var r=0,o=w.length;r<o;r++){var v=w[r];if(v){var t=v.parentNode;w[r]=t.nodeName===q?t:false}}}else{for(var r=0,o=w.length;r<o;r++){var v=w[r];if(v){w[r]=u?v.parentNode:v.parentNode===q}}if(u){B.filter(q,w,true)}}},"":function(t,q,o){var r=g++,u=b;if(!q.match(/\W/)){var n=q=o?q:q.toUpperCase();u=m}u("parentNode",q,r,t,n,o)},"~":function(t,q,o){var r=g++,u=b;if(typeof q==="string"&&!q.match(/\W/)){var n=q=o?q:q.toUpperCase();u=m}u("previousSibling",q,r,t,n,o)}},find:{ID:function(o,q,r){if(typeof q.getElementById!=="undefined"&&!r){var n=q.getElementById(o[1]);return n?[n]:[]}},NAME:function(r,o,q){if(typeof o.getElementsByName!=="undefined"){var v=[],n=o.getElementsByName(r[1]);for(var t=0,u=n.length;t<u;t++){if(n[t].getAttribute("name")===r[1]){v.push(n[t])}}return v.length===0?null:v}},TAG:function(n,o){return o.getElementsByTagName(n[1])}},preFilter:{CLASS:function(t,q,r,o,w,n){t=" "+t[1].replace(/\\/g,"")+" ";if(n){return t}for(var u=0,v;(v=q[u])!=null;u++){if(v){if(w^(v.className&&(" "+v.className+" ").indexOf(t)>=0)){if(!r){o.push(v)}}else{if(r){q[u]=false}}}}return false},ID:function(n){return n[1].replace(/\\/g,"")},TAG:function(o,n){for(var q=0;n[q]===false;q++){}return n[q]&&D(n[q])?o[1]:o[1].toUpperCase()},CHILD:function(n){if(n[1]=="nth"){var o=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(n[2]=="even"&&"2n"||n[2]=="odd"&&"2n+1"||!/\D/.test(n[2])&&"0n+"+n[2]||n[2]);n[2]=(o[1]+(o[2]||1))-0;n[3]=o[3]-0}n[0]=g++;return n},ATTR:function(n,q,r,o,u,v){var t=n[1].replace(/\\/g,"");if(!v&&d.attrMap[t]){n[1]=d.attrMap[t]}if(n[2]==="~="){n[4]=" "+n[4]+" "}return n},PSEUDO:function(n,q,r,o,u){if(n[1]==="not"){if(n[3].match(a).length>1||/^\w/.test(n[3])){n[3]=B(n[3],null,null,q)}else{var t=B.filter(n[3],q,r,true^u);if(!r){o.push.apply(o,t)}return false}}else{if(d.match.POS.test(n[0])||d.match.CHILD.test(n[0])){return true}}return n},POS:function(n){n.unshift(true);return n}},filters:{enabled:function(n){return n.disabled===false&&n.type!=="hidden"},disabled:function(n){return n.disabled===true},checked:function(n){return n.checked===true},selected:function(n){n.parentNode.selectedIndex;return n.selected===true},parent:function(n){return !!n.firstChild},empty:function(n){return !n.firstChild},has:function(q,o,n){return !!B(n[3],q).length},header:function(n){return/h\d/i.test(n.nodeName)},text:function(n){return"text"===n.type},radio:function(n){return"radio"===n.type},checkbox:function(n){return"checkbox"===n.type},file:function(n){return"file"===n.type},password:function(n){return"password"===n.type},submit:function(n){return"submit"===n.type},image:function(n){return"image"===n.type},reset:function(n){return"reset"===n.type},button:function(n){return"button"===n.type||n.nodeName.toUpperCase()==="BUTTON"},input:function(n){return/input|select|textarea|button/i.test(n.nodeName)}},setFilters:{first:function(o,n){return n===0},last:function(q,o,n,r){return o===r.length-1},even:function(o,n){return n%2===0},odd:function(o,n){return n%2===1},lt:function(q,o,n){return o<n[3]-0},gt:function(q,o,n){return o>n[3]-0},nth:function(q,o,n){return n[3]-0==o},eq:function(q,o,n){return n[3]-0==o}},filter:{PSEUDO:function(w,r,t,n){var q=r[1],u=d.filters[q];if(u){return u(w,t,r,n)}else{if(q==="contains"){return(w.textContent||w.innerText||"").indexOf(r[3])>=0}else{if(q==="not"){var v=r[3];for(var t=0,o=v.length;t<o;t++){if(v[t]===w){return false}}return true}}}},CHILD:function(q,u){var y=u[1],r=q;switch(y){case"only":case"first":while(r=r.previousSibling){if(r.nodeType===1){return false}}if(y=="first"){return true}r=q;case"last":while(r=r.nextSibling){if(r.nodeType===1){return false}}return true;case"nth":var t=u[2],n=u[3];if(t==1&&n==0){return true}var x=u[0],v=q.parentNode;if(v&&(v.sizcache!==x||!q.nodeIndex)){var w=0;for(r=v.firstChild;r;r=r.nextSibling){if(r.nodeType===1){r.nodeIndex=++w}}v.sizcache=x}var o=q.nodeIndex-n;if(t==0){return o==0}else{return(o%t==0&&o/t>=0)}}},ID:function(o,n){return o.nodeType===1&&o.getAttribute("id")===n},TAG:function(o,n){return(n==="*"&&o.nodeType===1)||o.nodeName===n},CLASS:function(o,n){return(" "+(o.className||o.getAttribute("class"))+" ").indexOf(n)>-1},ATTR:function(o,t){var r=t[1],u=d.attrHandle[r]?d.attrHandle[r](o):o[r]!=null?o[r]:o.getAttribute(r),q=u+"",n=t[2],v=t[4];return u==null?n==="!=":n==="="?q===v:n==="*="?q.indexOf(v)>=0:n==="~="?(" "+q+" ").indexOf(v)>=0:!v?q&&u!==false:n==="!="?q!=v:n==="^="?q.indexOf(v)===0:n==="$="?q.substr(q.length-v.length)===v:n==="|="?q===v||q.substr(0,v.length+1)===v+"-":false},POS:function(n,q,r,o){var u=q[2],t=d.setFilters[u];if(t){return t(n,r,q,o)}}}};var h=d.match.POS;for(var l in d.match){d.match[l]=RegExp(d.match[l].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var A=function(o,n){o=Array.prototype.slice.call(o);if(n){n.push.apply(n,o);return n}return o};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(k){A=function(n,t){var q=t||[];if(c.call(n)==="[object Array]"){Array.prototype.push.apply(q,n)}else{if(typeof n.length==="number"){for(var r=0,o=n.length;r<o;r++){q.push(n[r])}}else{for(var r=0;n[r];r++){q.push(n[r])}}}return q}}var C;if(document.documentElement.compareDocumentPosition){C=function(o,n){var q=o.compareDocumentPosition(n)&4?-1:o===n?0:1;if(q===0){hasDuplicate=true}return q}}else{if("sourceIndex" in document.documentElement){C=function(o,n){var q=o.sourceIndex-n.sourceIndex;if(q===0){hasDuplicate=true}return q}}else{if(document.createRange){C=function(t,q){var r=t.ownerDocument.createRange(),o=q.ownerDocument.createRange();r.selectNode(t);r.collapse(true);o.selectNode(q);o.collapse(true);var n=r.compareBoundaryPoints(Range.START_TO_END,o);if(n===0){hasDuplicate=true}return n}}}}(function(){var o=document.createElement("form"),q="script"+(new Date).getTime();o.innerHTML="<input name='"+q+"'/>";var n=document.documentElement;n.insertBefore(o,n.firstChild);if(!!document.getElementById(q)){d.find.ID=function(r,t,u){if(typeof t.getElementById!=="undefined"&&!u){var v=t.getElementById(r[1]);return v?v.id===r[1]||typeof v.getAttributeNode!=="undefined"&&v.getAttributeNode("id").nodeValue===r[1]?[v]:Ac:[]}};d.filter.ID=function(t,u){var r=typeof t.getAttributeNode!=="undefined"&&t.getAttributeNode("id");return t.nodeType===1&&r&&r.nodeValue===u}}n.removeChild(o)})();(function(){var n=document.createElement("div");n.appendChild(document.createComment(""));if(n.getElementsByTagName("*").length>0){d.find.TAG=function(r,q){var o=q.getElementsByTagName(r[1]);if(r[1]==="*"){var u=[];for(var t=0;o[t];t++){if(o[t].nodeType===1){u.push(o[t])}}o=u}return o}}n.innerHTML="<a href='#'></a>";if(n.firstChild&&typeof n.firstChild.getAttribute!=="undefined"&&n.firstChild.getAttribute("href")!=="#"){d.attrHandle.href=function(o){return o.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var n=B,o=document.createElement("div");o.innerHTML="<p class='TEST'></p>";if(o.querySelectorAll&&o.querySelectorAll(".TEST").length===0){return}B=function(r,q,u,v){q=q||document;if(!v&&q.nodeType===9&&!D(q)){try{return A(q.querySelectorAll(r),u)}catch(t){}}return n(r,q,u,v)};B.find=n.find;B.filter=n.filter;B.selectors=n.selectors;B.matches=n.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var n=document.createElement("div");n.innerHTML="<div class='test e'></div><div class='test'></div>";if(n.getElementsByClassName("e").length===0){return}n.lastChild.className="e";if(n.getElementsByClassName("e").length===1){return}d.order.splice(1,0,"CLASS");d.find.CLASS=function(o,q,r){if(typeof q.getElementsByClassName!=="undefined"&&!r){return q.getElementsByClassName(o[1])}}})()}function m(t,z,y,r,q,n){var w=t=="previousSibling"&&!n;for(var v=0,u=r.length;v<u;v++){var o=r[v];if(o){if(w&&o.nodeType===1){o.sizcache=y;o.sizset=v}o=o[t];var x=false;while(o){if(o.sizcache===y){x=r[o.sizset];break}if(o.nodeType===1&&!n){o.sizcache=y;o.sizset=v}if(o.nodeName===z){x=o;break}o=o[t]}r[v]=x}}}function b(t,z,y,r,q,n){var w=t=="previousSibling"&&!n;for(var v=0,u=r.length;v<u;v++){var o=r[v];if(o){if(w&&o.nodeType===1){o.sizcache=y;o.sizset=v}o=o[t];var x=false;while(o){if(o.sizcache===y){x=r[o.sizset];break}if(o.nodeType===1){if(!n){o.sizcache=y;o.sizset=v}if(typeof z!=="string"){if(o===z){x=true;break}}else{if(B.filter(z,[o]).length>0){x=o;break}}}o=o[t]}r[v]=x}}}var f=document.compareDocumentPosition?function(o,n){return o.compareDocumentPosition(n)&16}:function(o,n){return o!==n&&(o.contains?o.contains(n):true)};var D=function(n){return n.nodeType===9&&n.documentElement.nodeName!=="HTML"||!!n.ownerDocument&&D(n.ownerDocument)};var e=function(o,n){var t=[],u="",v,r=n.nodeType?[n]:n;while((v=d.match.PSEUDO.exec(o))){u+=v[0];o=o.replace(d.match.PSEUDO,"")}o=d.relative[o]?o+"*":o;for(var w=0,q=r.length;w<q;w++){B(o,r[w],t)}return B.filter(u,t)};V.find=B;V.filter=B.filter;V.expr=B.selectors;V.expr[":"]=V.expr.filters;B.selectors.filters.hidden=function(n){return n.offsetWidth===0||n.offsetHeight===0};B.selectors.filters.visible=function(n){return n.offsetWidth>0||n.offsetHeight>0};B.selectors.filters.animated=function(n){return V.grep(V.timers,function(o){return n===o.elem}).length};V.multiFilter=function(q,n,o){if(o){q=":not("+q+")"}return B.matches(q,n)};V.dir=function(q,o){var n=[],r=q[o];while(r&&r!=document){if(r.nodeType==1){n.push(r)}r=r[o]}return n};V.nth=function(n,o,r,t){o=o||1;var q=0;for(;n;n=n[r]){if(n.nodeType==1&&++q==o){break}}return n};V.sibling=function(q,o){var n=[];for(;q;q=q.nextSibling){if(q.nodeType==1&&q!=o){n.push(q)}}return n};return;S.Sizzle=B})();V.event={add:function(a,c,D,C){if(a.nodeType==3||a.nodeType==8){return}if(a.setInterval&&a!=S){a=S}if(!D.guid){D.guid=this.guid++}if(C!==Ac){var A=D;D=this.proxy(A);D.data=C}var b=V.data(a,"events")||V.data(a,"events",{}),B=V.data(a,"handle")||V.data(a,"handle",function(){return typeof V!=="undefined"&&!V.event.triggered?V.event.handle.apply(arguments.callee.elem,arguments):Ac});B.elem=a;V.each(c.split(/\s+/),function(e,f){var g=f.split(".");f=g.shift();D.type=g.slice().sort().join(".");var d=b[f];if(V.event.specialAll[f]){V.event.specialAll[f].setup.call(a,C,g)}if(!d){d=b[f]={};if(!V.event.special[f]||V.event.special[f].setup.call(a,C,g)===false){if(a.addEventListener){a.addEventListener(f,B,false)}else{if(a.attachEvent){a.attachEvent("on"+f,B)}}}}d[D.guid]=D;V.event.global[f]=true});a=null},guid:1,global:{},remove:function(c,D,b){if(c.nodeType==3||c.nodeType==8){return}var C=V.data(c,"events"),B,A;if(C){if(D===Ac||(typeof D==="string"&&D.charAt(0)==".")){for(var a in C){this.remove(c,a+(D||""))}}else{if(D.type){b=D.handler;D=D.type}V.each(D.split(/\s+/),function(f,h){var e=h.split(".");h=e.shift();var g=RegExp("(^|\\.)"+e.slice().sort().join(".*\\.")+"(\\.|$)");if(C[h]){if(b){delete C[h][b.guid]}else{for(var k in C[h]){if(g.test(C[h][k].type)){delete C[h][k]}}}if(V.event.specialAll[h]){V.event.specialAll[h].teardown.call(c,e)}for(B in C[h]){break}if(!B){if(!V.event.special[h]||V.event.special[h].teardown.call(c,e)===false){if(c.removeEventListener){c.removeEventListener(h,V.data(c,"handle"),false)}else{if(c.detachEvent){c.detachEvent("on"+h,V.data(c,"handle"))}}}B=null;delete C[h]}}})}for(B in C){break}if(!B){var d=V.data(c,"handle");if(d){d.elem=null}V.removeData(c,"events");V.removeData(c,"handle")}}},trigger:function(a,c,D,A){var C=a.type||a;if(!A){a=typeof a==="object"?a[O]?a:V.extend(V.Event(C),a):V.Event(C);if(C.indexOf("!")>=0){a.type=C=C.slice(0,-1);a.exclusive=true}if(!D){a.stopPropagation();if(this.global[C]){V.each(V.cache,function(){if(this.events&&this.events[C]){V.event.trigger(a,c,this.handle.elem)}})}}if(!D||D.nodeType==3||D.nodeType==8){return Ac}a.result=Ac;a.target=D;c=V.makeArray(c);c.unshift(a)}a.currentTarget=D;var b=V.data(D,"handle");if(b){b.apply(D,c)}if((!D[C]||(V.nodeName(D,"a")&&C=="click"))&&D["on"+C]&&D["on"+C].apply(D,c)===false){a.result=false}if(!A&&D[C]&&!a.isDefaultPrevented()&&!(V.nodeName(D,"a")&&C=="click")){this.triggered=true;try{D[C]()}catch(d){}}this.triggered=false;if(!a.isPropagationStopped()){var B=D.parentNode||D.ownerDocument;if(B){V.event.trigger(a,c,B,true)}}},handle:function(c){var b,A;c=arguments[0]=V.event.fix(c||S.event);c.currentTarget=this;var d=c.type.split(".");c.type=d.shift();b=!d.length&&!c.exclusive;var a=RegExp("(^|\\.)"+d.slice().sort().join(".*\\.")+"(\\.|$)");A=(V.data(this,"events")||{})[c.type];for(var C in A){var D=A[C];if(b||a.test(D.type)){c.handler=D;c.data=D.data;var B=D.apply(this,arguments);if(B!==Ac){c.result=B;if(B===false){c.preventDefault();c.stopPropagation()}}if(c.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[O]){return C}var b=C;C=V.Event(b);for(var A=this.props.length,a;A;){a=this.props[--A];C[a]=b[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 D=document.documentElement,B=document.body;C.pageX=C.clientX+(D&&D.scrollLeft||B&&B.scrollLeft||0)-(D.clientLeft||0);C.pageY=C.clientY+(D&&D.scrollTop||B&&B.scrollTop||0)-(D.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(B,A){A=A||function(){return B.apply(this,arguments)};A.guid=B.guid=B.guid||A.guid||this.guid++;return A},special:{ready:{setup:Ae,teardown:function(){}}},specialAll:{live:{setup:function(A,B){V.event.add(this,B[0],Y)},teardown:function(A){if(A.length){var B=0,C=RegExp("(^|\\.)"+A[0]+"(\\.|$)");V.each((V.data(this,"events").live||{}),function(){if(C.test(this.type)){B++}});if(B<1){V.event.remove(this,A[0],Y)}}}}}};V.Event=function(A){if(!this.preventDefault){return new V.Event(A)}if(A&&A.type){this.originalEvent=A;this.type=A.type}else{this.type=A}this.timeStamp=Aa();this[O]=true};function R(){return false}function L(){return true}V.Event.prototype={preventDefault:function(){this.isDefaultPrevented=L;var A=this.originalEvent;if(!A){return}if(A.preventDefault){A.preventDefault()}A.returnValue=false},stopPropagation:function(){this.isPropagationStopped=L;var A=this.originalEvent;if(!A){return}if(A.stopPropagation){A.stopPropagation()}A.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=L;this.stopPropagation()},isDefaultPrevented:R,isPropagationStopped:R,isImmediatePropagationStopped:R};var W=function(C){var B=C.relatedTarget;while(B&&B!=this){try{B=B.parentNode}catch(A){B=this}}if(B!=this){C.type=C.data;V.event.handle.apply(this,arguments)}};V.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(B,A){V.event.special[A]={setup:function(){V.event.add(this,B,W,A)},teardown:function(){V.event.remove(this,B,W)}}});V.fn.extend({bind:function(C,A,B){return C=="unload"?this.one(C,A,B):this.each(function(){V.event.add(this,C,B||A,B&&A)})},one:function(A,B,D){var C=V.event.proxy(D||B,function(a){V(this).unbind(a,C);return(D||B).apply(this,arguments)});return this.each(function(){V.event.add(this,A,C,D&&B)})},unbind:function(B,A){return this.each(function(){V.event.remove(this,B,A)})},trigger:function(A,B){return this.each(function(){V.event.trigger(A,B,this)})},triggerHandler:function(B,A){if(this[0]){var C=V.Event(B);C.preventDefault();C.stopPropagation();V.event.trigger(C,A,this[0]);return C.result}},toggle:function(A){var B=arguments,C=1;while(C<B.length){V.event.proxy(A,B[C++])}return this.click(V.event.proxy(A,function(D){this.lastToggle=(this.lastToggle||0)%C;D.preventDefault();return B[this.lastToggle++].apply(this,arguments)||false}))},hover:function(A,B){return this.mouseenter(A).mouseleave(B)},ready:function(A){Ae();if(V.isReady){A.call(document,V)}else{V.readyList.push(A)}return this},live:function(A,C){var B=V.event.proxy(C);B.guid+=this.selector+A;V(document).bind(P(A,this.selector),this.selector,B);return this},die:function(B,A){V(document).unbind(P(B,this.selector),A?{guid:A.guid+this.selector+B}:null);return this}});function Y(B){var C=RegExp("(^|\\.)"+B.type+"(\\.|$)"),A=true,D=[];V.each(V.data(this,"events").live||[],function(a,b){if(C.test(b.type)){var c=V(B.target).closest(b.data)[0];if(c){D.push({elem:c,fn:b})}}});D.sort(function(b,a){return V.data(b.elem,"closest")-V.data(a.elem,"closest")});V.each(D,function(){if(this.fn.call(this.elem,B,this.fn.data)===false){return(A=false)}});return A}function P(B,A){return["live",B,A.replace(/\./g,"`").replace(/ /g,"|")].join(".")}V.extend({isReady:false,readyList:[],ready:function(){if(!V.isReady){V.isReady=true;if(V.readyList){V.each(V.readyList,function(){this.call(document,V)});V.readyList=null}V(document).triggerHandler("ready")}}});var Ah=false;function Ae(){if(Ah){return}Ah=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);V.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);V.ready()}});if(document.documentElement.doScroll&&S==S.top){(function(){if(V.isReady){return}try{document.documentElement.doScroll("left")}catch(A){setTimeout(arguments.callee,0);return}V.ready()})()}}}V.event.add(S,"load",V.ready)}V.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(B,A){V.fn[A]=function(C){return C?this.bind(A,C):this.trigger(A)}});V(S).bind("unload",function(){for(var A in V.cache){if(A!=1&&V.cache[A].handle){V.event.remove(V.cache[A].handle.elem)}}});(function(){V.support={};var c=document.documentElement,A=document.createElement("script"),C=document.createElement("div"),b="script"+(new Date).getTime();C.style.display="none";C.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=C.getElementsByTagName("*"),B=C.getElementsByTagName("a")[0];if(!D||!D.length||!B){return}V.support={leadingWhitespace:C.firstChild.nodeType==3,tbody:!C.getElementsByTagName("tbody").length,objectAll:!!C.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!C.getElementsByTagName("link").length,style:/red/.test(B.getAttribute("style")),hrefNormalized:B.getAttribute("href")==="/a",opacity:B.style.opacity==="0.5",cssFloat:!!B.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};A.type="text/javascript";try{A.appendChild(document.createTextNode("window."+b+"=1;"))}catch(a){}c.insertBefore(A,c.firstChild);if(S[b]){V.support.scriptEval=true;delete S[b]}c.removeChild(A);if(C.attachEvent&&C.fireEvent){C.attachEvent("onclick",function(){V.support.noCloneEvent=false;C.detachEvent("onclick",arguments.callee)});C.cloneNode(true).fireEvent("onclick")}V(function(){var d=document.createElement("div");d.style.width=d.style.paddingLeft="1px";document.body.appendChild(d);V.boxModel=V.support.boxModel=d.offsetWidth===2;document.body.removeChild(d).style.display="none"})})();var N=V.support.cssFloat?"cssFloat":"styleFloat";V.props={"for":"htmlFor","class":"className","float":N,cssFloat:N,styleFloat:N,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};V.fn.extend({_load:V.fn.load,load:function(A,b,c){if(typeof A!=="string"){return this._load(A)}var a=A.indexOf(" ");if(a>=0){var B=A.slice(a,A.length);A=A.slice(0,a)}var D="GET";if(b){if(V.isFunction(b)){c=b;b=null}else{if(typeof b==="object"){b=V.param(b);D="POST"}}}var C=this;V.ajax({url:A,type:D,dataType:"html",data:b,complete:function(e,d){if(d=="success"||d=="notmodified"){C.html(B?V("<div/>").append(e.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(B):e.responseText)}if(c){C.each(c,[e.responseText,d,e])}}});return this},serialize:function(){return V.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?V.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(B,C){var A=V(this).val();return A==null?null:V.isArray(A)?V.map(A,function(a,D){return{name:C.name,value:a}}):{name:C.name,value:A}}).get()}});V.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(A,B){V.fn[B]=function(C){return this.bind(B,C)}});var I=Aa();V.extend({get:function(C,A,B,D){if(V.isFunction(A)){B=A;A=null}return V.ajax({type:"GET",url:C,data:A,success:B,dataType:D})},getScript:function(A,B){return V.get(A,null,B,"script")},getJSON:function(B,C,A){return V.get(B,C,A,"json")},post:function(C,A,B,D){if(V.isFunction(A)){B=A;A={}}return V.ajax({type:"POST",url:C,data:A,success:B,dataType:D})},ajaxSetup:function(A){V.extend(V.ajaxSettings,A)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return S.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(l){l=V.extend(true,l,V.extend(true,{},V.ajaxSettings,l));var d,q=/=\?(&|$)/g,C,c,r=l.type.toUpperCase();if(l.data&&l.processData&&typeof l.data!=="string"){l.data=V.param(l.data)}if(l.dataType=="jsonp"){if(r=="GET"){if(!l.url.match(q)){l.url+=(l.url.match(/\?/)?"&":"?")+(l.jsonp||"callback")+"=?"}}else{if(!l.data||!l.data.match(q)){l.data=(l.data?l.data+"&":"")+(l.jsonp||"callback")+"=?"}}l.dataType="json"}if(l.dataType=="json"&&(l.data&&l.data.match(q)||l.url.match(q))){d="jsonp"+I++;if(l.data){l.data=(l.data+"").replace(q,"="+d+"$1")}l.url=l.url.replace(q,"="+d+"$1");l.dataType="script";S[d]=function(t){c=t;f();k();S[d]=Ac;try{delete S[d]}catch(u){}if(e){e.removeChild(a)}}}if(l.dataType=="script"&&l.cache==null){l.cache=false}if(l.cache===false&&r=="GET"){var o=Aa();var b=l.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+o+"$2");l.url=b+((b==l.url)?(l.url.match(/\?/)?"&":"?")+"_="+o:"")}if(l.data&&r=="GET"){l.url+=(l.url.match(/\?/)?"&":"?")+l.data;l.data=null}if(l.global&&!V.active++){V.event.trigger("ajaxStart")}var B=/^(\w+:)?\/\/([^\/?#]+)/.exec(l.url);if(l.dataType=="script"&&r=="GET"&&B&&(B[1]&&B[1]!=location.protocol||B[2]!=location.host)){var e=document.getElementsByTagName("head")[0];var a=document.createElement("script");a.src=l.url;if(l.scriptCharset){a.charset=l.scriptCharset}if(!d){var n=false;a.onload=a.onreadystatechange=function(){if(!n&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){n=true;f();k();a.onload=a.onreadystatechange=null;e.removeChild(a)}}}e.appendChild(a);return Ac}var h=false;var g=l.xhr();if(l.username){g.open(r,l.url,l.async,l.username,l.password)}else{g.open(r,l.url,l.async)}try{if(l.data){g.setRequestHeader("Content-Type",l.contentType)}if(l.ifModified){g.setRequestHeader("If-Modified-Since",V.lastModified[l.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}g.setRequestHeader("X-Requested-With","XMLHttpRequest");g.setRequestHeader("Accept",l.dataType&&l.accepts[l.dataType]?l.accepts[l.dataType]+", */*":l.accepts._default)}catch(D){}if(l.beforeSend&&l.beforeSend(g,l)===false){if(l.global&&!--V.active){V.event.trigger("ajaxStop")}g.abort();return false}if(l.global){V.event.trigger("ajaxSend",[g,l])}var m=function(t){if(g.readyState==0){if(A){clearInterval(A);A=null;if(l.global&&!--V.active){V.event.trigger("ajaxStop")}}}else{if(!h&&g&&(g.readyState==4||t=="timeout")){h=true;if(A){clearInterval(A);A=null}C=t=="timeout"?"timeout":!V.httpSuccess(g)?"error":l.ifModified&&V.httpNotModified(g,l.url)?"notmodified":"success";if(C=="success"){try{c=V.httpData(g,l.dataType,l)}catch(v){C="parsererror"}}if(C=="success"){var u;try{u=g.getResponseHeader("Last-Modified")}catch(v){}if(l.ifModified&&u){V.lastModified[l.url]=u}if(!d){f()}}else{V.handleError(l,g,C)}k();if(t){g.abort()}if(l.async){g=null}}}};if(l.async){var A=setInterval(m,13);if(l.timeout>0){setTimeout(function(){if(g&&!h){m("timeout")}},l.timeout)}}try{g.send(l.data)}catch(D){V.handleError(l,g,null,D)}if(!l.async){m()}function f(){if(l.success){l.success(c,C)}if(l.global){V.event.trigger("ajaxSuccess",[g,l])}}function k(){if(l.complete){l.complete(g,C)}if(l.global){V.event.trigger("ajaxComplete",[g,l])}if(l.global&&!--V.active){V.event.trigger("ajaxStop")}}return g},handleError:function(D,B,C,A){if(D.error){D.error(B,C,A)}if(D.global){V.event.trigger("ajaxError",[B,D,A])}},active:0,httpSuccess:function(B){try{return !B.status&&location.protocol=="file:"||(B.status>=200&&B.status<300)||B.status==304||B.status==1223}catch(A){}return false},httpNotModified:function(A,C){try{var B=A.getResponseHeader("Last-Modified");return A.status==304||B==V.lastModified[C]}catch(D){}return false},httpData:function(a,C,A){var b=a.getResponseHeader("content-type"),B=C=="xml"||!C&&b&&b.indexOf("xml")>=0,D=B?a.responseXML:a.responseText;if(B&&D.documentElement.tagName=="parsererror"){throw"parsererror"}if(A&&A.dataFilter){D=A.dataFilter(D,C)}if(typeof D==="string"){if(C=="script"){V.globalEval(D)}if(C=="json"){D=S["eval"]("("+D+")")}}return D},param:function(C){var A=[];function B(a,b){A[A.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)}if(V.isArray(C)||C.jquery){V.each(C,function(){B(this.name,this.value)})}else{for(var D in C){if(V.isArray(C[D])){V.each(C[D],function(){B(D,this)})}else{B(D,V.isFunction(C[D])?C[D]():C[D])}}}return A.join("&").replace(/%20/g,"+")}});var T={},U,Z=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function K(C,B){var A={};V.each(Z.concat.apply([],Z.slice(0,B)),function(){A[this]=C});return A}V.fn.extend({show:function(b,d){if(b){return this.animate(K("show",3),b,d)}else{for(var D=0,B=this.length;D<B;D++){var A=V.data(this[D],"olddisplay");this[D].style.display=A||"";if(V.css(this[D],"display")==="none"){var C=this[D].tagName,c;if(T[C]){c=T[C]}else{var a=V("<"+C+" />").appendTo("body");c=a.css("display");if(c==="none"){c="block"}a.remove();T[C]=c}V.data(this[D],"olddisplay",c)}}for(var D=0,B=this.length;D<B;D++){this[D].style.display=V.data(this[D],"olddisplay")||""}return this}},hide:function(B,C){if(B){return this.animate(K("hide",3),B,C)}else{for(var A=0,a=this.length;A<a;A++){var D=V.data(this[A],"olddisplay");if(!D&&D!=="none"){V.data(this[A],"olddisplay",V.css(this[A],"display"))}}for(var A=0,a=this.length;A<a;A++){this[A].style.display="none"}return this}},_toggle:V.fn.toggle,toggle:function(A,C){var B=typeof A==="boolean";return V.isFunction(A)&&V.isFunction(C)?this._toggle.apply(this,arguments):A==null||B?this.each(function(){var D=B?A:V(this).is(":hidden");V(this)[D?"show":"hide"]()}):this.animate(K("toggle",3),A,C)},fadeTo:function(B,A,C){return this.animate({opacity:A},B,C)},animate:function(C,a,B,A){var D=V.speed(a,B,A);return this[D.queue===false?"each":"queue"](function(){var e=V.extend({},D),c,b=this.nodeType==1&&V(this).is(":hidden"),d=this;for(c in C){if(C[c]=="hide"&&b||C[c]=="show"&&!b){return e.complete.call(this)}if((c=="height"||c=="width")&&this.style){e.display=V.css(this,"display");e.overflow=this.style.overflow}}if(e.overflow!=null){this.style.overflow="hidden"}e.curAnim=V.extend({},C);V.each(C,function(k,h){var g=new V.fx(d,e,k);if(/toggle|show|hide/.test(h)){g[h=="toggle"?b?"show":"hide":h](C)}else{var f=h.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),m=g.cur(true)||0;if(f){var l=parseFloat(f[2]),n=f[3]||"px";if(n!="px"){d.style[k]=(l||1)+n;m=((l||1)/g.cur(true))*m;d.style[k]=m+n}if(f[1]){l=((f[1]=="-="?-1:1)*l)+m}g.custom(m,l,n)}else{g.custom(m,h,"")}}});return true})},stop:function(C,B){var A=V.timers;if(C){this.queue([])}this.each(function(){for(var D=A.length-1;D>=0;D--){if(A[D].elem==this){if(B){A[D](true)}A.splice(D,1)}}});if(!B){this.dequeue()}return this}});V.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(A,B){V.fn[A]=function(C,D){return this.animate(B,C,D)}});V.extend({speed:function(A,B,D){var C=typeof A==="object"?A:{complete:D||!D&&B||V.isFunction(A)&&A,duration:A,easing:D&&B||B&&!V.isFunction(B)&&B};C.duration=V.fx.off?0:typeof C.duration==="number"?C.duration:V.fx.speeds[C.duration]||V.fx.speeds._default;C.old=C.complete;C.complete=function(){if(C.queue!==false){V(this).dequeue()}if(V.isFunction(C.old)){C.old.call(this)}};return C},easing:{linear:function(A,B,C,D){return C+D*A},swing:function(A,B,C,D){return((-Math.cos(A*Math.PI)/2)+0.5)*D+C}},timers:[],fx:function(C,B,A){this.options=B;this.elem=C;this.prop=A;if(!B.orig){B.orig={}}}});V.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(V.fx.step[this.prop]||V.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(B){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var A=parseFloat(V.css(this.elem,this.prop,B));return A&&A>-10000?A:parseFloat(V.curCSS(this.elem,this.prop))||0},custom:function(C,B,A){this.startTime=Aa();this.start=C;this.end=B;this.unit=A||this.unit||"px";this.now=this.start;this.pos=this.state=0;var D=this;function a(b){return D.step(b)}a.elem=this.elem;if(a()&&V.timers.push(a)&&!U){U=setInterval(function(){var c=V.timers;for(var b=0;b<c.length;b++){if(!c[b]()){c.splice(b--,1)}}if(!c.length){clearInterval(U);U=Ac}},13)}},show:function(){this.options.orig[this.prop]=V.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());V(this.elem).show()},hide:function(){this.options.orig[this.prop]=V.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(C){var A=Aa();if(C||A>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var a=true;for(var b in this.options.curAnim){if(this.options.curAnim[b]!==true){a=false}}if(a){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(V.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){V(this.elem).hide()}if(this.options.hide||this.options.show){for(var D in this.options.curAnim){V.attr(this.elem.style,D,this.options.orig[D])}}this.options.complete.call(this.elem)}return false}else{var B=A-this.startTime;this.state=B/this.options.duration;this.pos=V.easing[this.options.easing||(V.easing.swing?"swing":"linear")](this.state,B,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};V.extend(V.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(A){V.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){V.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return V.offset.bodyOffset(this[0])}var C=this[0].getBoundingClientRect(),b=this[0].ownerDocument,B=b.body,A=b.documentElement,d=A.clientTop||B.clientTop||0,c=A.clientLeft||B.clientLeft||0,a=C.top+(self.pageYOffset||V.boxModel&&A.scrollTop||B.scrollTop)-d,D=C.left+(self.pageXOffset||V.boxModel&&A.scrollLeft||B.scrollLeft)-c;return{top:a,left:D}}}else{V.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return V.offset.bodyOffset(this[0])}V.offset.initialized||V.offset.initialize();var b=this[0],C=b.offsetParent,B=b,g=b.ownerDocument,e,D=g.documentElement,c=g.body,d=g.defaultView,A=d.getComputedStyle(b,null),f=b.offsetTop,a=b.offsetLeft;while((b=b.parentNode)&&b!==c&&b!==D){e=d.getComputedStyle(b,null);f-=b.scrollTop,a-=b.scrollLeft;if(b===C){f+=b.offsetTop,a+=b.offsetLeft;if(V.offset.doesNotAddBorder&&!(V.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.tagName))){f+=parseInt(e.borderTopWidth,10)||0,a+=parseInt(e.borderLeftWidth,10)||0}B=C,C=b.offsetParent}if(V.offset.subtractsBorderForOverflowNotVisible&&e.overflow!=="visible"){f+=parseInt(e.borderTopWidth,10)||0,a+=parseInt(e.borderLeftWidth,10)||0}A=e}if(A.position==="relative"||A.position==="static"){f+=c.offsetTop,a+=c.offsetLeft}if(A.position==="fixed"){f+=Math.max(D.scrollTop,c.scrollTop),a+=Math.max(D.scrollLeft,c.scrollLeft)}return{top:f,left:a}}}V.offset={initialize:function(){if(this.initialized){return}var d=document.body,B=document.createElement("div"),D,C,f,a,e,A,b=d.style.marginTop,c='<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>';e={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(A in e){B.style[A]=e[A]}B.innerHTML=c;d.insertBefore(B,d.firstChild);D=B.firstChild,C=D.firstChild,a=D.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(C.offsetTop!==5);this.doesAddBorderForTableAndCells=(a.offsetTop===5);D.style.overflow="hidden",D.style.position="relative";this.subtractsBorderForOverflowNotVisible=(C.offsetTop===-5);d.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(d.offsetTop===0);d.style.marginTop=b;d.removeChild(B);this.initialized=true},bodyOffset:function(B){V.offset.initialized||V.offset.initialize();var A=B.offsetTop,C=B.offsetLeft;if(V.offset.doesNotIncludeMarginInBodyOffset){A+=parseInt(V.curCSS(B,"marginTop",true),10)||0,C+=parseInt(V.curCSS(B,"marginLeft",true),10)||0}return{top:A,left:C}}};V.fn.extend({position:function(){var D=0,C=0,b;if(this[0]){var A=this.offsetParent(),a=this.offset(),B=/^body|html$/i.test(A[0].tagName)?{top:0,left:0}:A.offset();a.top-=Q(this,"marginTop");a.left-=Q(this,"marginLeft");B.top+=Q(A,"borderTopWidth");B.left+=Q(A,"borderLeftWidth");b={top:a.top-B.top,left:a.left-B.left}}return b},offsetParent:function(){var A=this[0].offsetParent||document.body;while(A&&(!/^body|html$/i.test(A.tagName)&&V.css(A,"position")=="static")){A=A.offsetParent}return V(A)}});V.each(["Left","Top"],function(C,B){var A="scroll"+B;V.fn[A]=function(D){if(!this[0]){return null}return D!==Ac?this.each(function(){this==S||this==document?S.scrollTo(!C?D:V(S).scrollLeft(),C?D:V(S).scrollTop()):this[A]=D}):this[0]==S||this[0]==document?self[C?"pageYOffset":"pageXOffset"]||V.boxModel&&document.documentElement[A]||document.body[A]:this[0][A]}});V.each(["Height","Width"],function(D,A){var a=D?"Left":"Top",C=D?"Right":"Bottom",b=A.toLowerCase();V.fn["inner"+A]=function(){return this[0]?V.css(this[0],b,false,"padding"):null};V.fn["outer"+A]=function(c){return this[0]?V.css(this[0],b,false,c?"margin":"border"):null};var B=A.toLowerCase();V.fn[B]=function(c){return this[0]==S?document.compatMode=="CSS1Compat"&&document.documentElement["client"+A]||document.body["client"+A]:this[0]==document?Math.max(document.documentElement["client"+A],document.body["scroll"+A],document.documentElement["scroll"+A],document.body["offset"+A],document.documentElement["offset"+A]):c===Ac?(this.length?V.css(this[0],B):null):this.css(B,typeof c==="string"?c:c+"px")}})})();(function(E){var F="2.72";if(E.support==undefined){E.support={opacity:!(E.browser.msie)}}function D(P){if(E.fn.cycle.debug){A(P)}}function A(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}}E.fn.cycle=function(Q,P){var R={s:this.selector,c:this.context};if(this.length===0&&Q!="stop"){if(!E.isReady&&R.s){A("DOM not ready, queuing slideshow");E(function(){E(R.s,R.c).cycle(Q,P)});return this}A("terminating; zero elements found by selector"+(E.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var S=M(this,Q,P);if(S===false){return}if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=this.cyclePause=0;var T=E(this);var U=S.slideExpr?E(S.slideExpr,this):T.children();var X=U.get();if(X.length<2){A("terminating; too few slides: "+X.length);return}var V=B(T,U,X,S,R);if(V===false){return}var W=V.continuous?10:H(V.currSlide,V.nextSlide,V,!V.rev);if(W){W+=(V.delay||0);if(W<10){W=10}D("first timeout: "+W);this.cycleTimeout=setTimeout(function(){N(X,V,0,!V.rev)},W)}})};function M(R,S,Q){if(R.cycleStop==undefined){R.cycleStop=0}if(S===undefined||S===null){S={}}if(S.constructor==String){switch(S){case"stop":R.cycleStop++;if(R.cycleTimeout){clearTimeout(R.cycleTimeout)}R.cycleTimeout=0;E(R).removeData("cycle.opts");return false;case"pause":R.cyclePause=1;return false;case"resume":R.cyclePause=0;if(Q===true){S=E(R).data("cycle.opts");if(!S){A("options not found, can not resume");return false}if(R.cycleTimeout){clearTimeout(R.cycleTimeout);R.cycleTimeout=0}N(S.elements,S,1,1)}return false;case"prev":case"next":var P=E(R).data("cycle.opts");if(!P){A('options not found, "prev/next" ignored');return false}E.fn.cycle[S](P);return false;default:S={fx:S}}return S}else{if(S.constructor==Number){var T=S;S=E(R).data("cycle.opts");if(!S){A("options not found, can not advance slide");return false}if(T<0||T>=S.elements.length){A("invalid slide index: "+T);return false}S.nextSlide=T;if(R.cycleTimeout){clearTimeout(R.cycleTimeout);R.cycleTimeout=0}if(typeof Q=="string"){S.oneTimeFx=Q}N(S.elements,S,1,T>=S.currSlide);return false}}return S}function O(Q,P){if(!E.support.opacity&&P.cleartype&&Q.style.filter){try{Q.style.removeAttribute("filter")}catch(R){}}}function B(d,P,V,R,b){var c=E.extend({},E.fn.cycle.defaults,R||{},E.metadata?d.metadata():E.meta?d.data():{});if(c.autostop){c.countdown=c.autostopCount||V.length}var Q=d[0];d.data("cycle.opts",c);c.$cont=d;c.stopCount=Q.cycleStop;c.elements=V;c.before=c.before?[c.before]:[];c.after=c.after?[c.after]:[];c.after.unshift(function(){c.busy=0});if(!E.support.opacity&&c.cleartype){c.after.push(function(){O(this,c)})}if(c.continuous){c.after.push(function(){N(V,c,0,!c.rev)})}I(c);if(!E.support.opacity&&c.cleartype&&!c.cleartypeNoBg){K(P)}if(d.css("position")=="static"){d.css("position","relative")}if(c.width){d.width(c.width)}if(c.height&&c.height!="auto"){d.height(c.height)}if(c.startingSlide){c.startingSlide=parseInt(c.startingSlide)}if(c.random){c.randomMap=[];for(var Y=0;Y<V.length;Y++){c.randomMap.push(Y)}c.randomMap.sort(function(e,h){return Math.random()-0.5});c.randomIndex=0;c.startingSlide=c.randomMap[0]}else{if(c.startingSlide>=V.length){c.startingSlide=0}}c.currSlide=c.startingSlide=c.startingSlide||0;var U=c.startingSlide;P.css({position:"absolute",top:0,left:0}).hide().each(function(h){var e=U?h>=U?V.length-(h-U):U-h:V.length-h;E(this).css("z-index",e)});E(V[U]).css("opacity",1).show();O(V[U],c);if(c.fit&&c.width){P.width(c.width)}if(c.fit&&c.height&&c.height!="auto"){P.height(c.height)}var k=c.containerResize&&!d.innerHeight();if(k){var S=0,X=0;for(var Z=0;Z<V.length;Z++){var f=E(V[Z]),l=f[0],W=f.outerWidth(),a=f.outerHeight();if(!W){W=l.offsetWidth}if(!a){a=l.offsetHeight}S=W>S?W:S;X=a>X?a:X}if(S>0&&X>0){d.css({width:S+"px",height:X+"px"})}}if(c.pause){d.hover(function(){this.cyclePause++},function(){this.cyclePause--})}if(G(c)===false){return false}var m=false;R.requeueAttempts=R.requeueAttempts||0;P.each(function(){var h=E(this);this.cycleH=(c.fit&&c.height)?c.height:h.height();this.cycleW=(c.fit&&c.width)?c.width:h.width();if(h.is("img")){var o=(E.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var n=(E.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var e=(E.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var q=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(o||n||e||q){if(b.s&&c.requeueOnImageNotLoaded&&++R.requeueAttempts<100){A(R.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){E(b.s,b.c).cycle(R)},c.requeueTimeout);m=true;return false}else{A("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}}return true});if(m){return false}c.cssBefore=c.cssBefore||{};c.animIn=c.animIn||{};c.animOut=c.animOut||{};P.not(":eq("+U+")").css(c.cssBefore);if(c.cssFirst){E(P[U]).css(c.cssFirst)}if(c.timeout){c.timeout=parseInt(c.timeout);if(c.speed.constructor==String){c.speed=E.fx.speeds[c.speed]||parseInt(c.speed)}if(!c.sync){c.speed=c.speed/2}while((c.timeout-c.speed)<250){c.timeout+=c.speed}}if(c.easing){c.easeIn=c.easeOut=c.easing}if(!c.speedIn){c.speedIn=c.speed}if(!c.speedOut){c.speedOut=c.speed}c.slideCount=V.length;c.currSlide=c.lastSlide=U;if(c.random){c.nextSlide=c.currSlide;if(++c.randomIndex==V.length){c.randomIndex=0}c.nextSlide=c.randomMap[c.randomIndex]}else{c.nextSlide=c.startingSlide>=(V.length-1)?0:c.startingSlide+1}if(!c.multiFx){var g=E.fn.cycle.transitions[c.fx];if(E.isFunction(g)){g(d,P,c)}else{if(c.fx!="custom"&&!c.multiFx){A("unknown transition: "+c.fx,"; slideshow terminating");return false}}}var T=P[U];if(c.before.length){c.before[0].apply(T,[T,T,c,true])}if(c.after.length>1){c.after[1].apply(T,[T,T,c,true])}if(c.next){E(c.next).bind(c.prevNextEvent,function(){return C(c,c.rev?-1:1)})}if(c.prev){E(c.prev).bind(c.prevNextEvent,function(){return C(c,c.rev?1:-1)})}if(c.pager){J(V,c)}L(c,V);return c}function I(P){P.original={before:[],after:[]};P.original.cssBefore=E.extend({},P.cssBefore);P.original.cssAfter=E.extend({},P.cssAfter);P.original.animIn=E.extend({},P.animIn);P.original.animOut=E.extend({},P.animOut);E.each(P.before,function(){P.original.before.push(this)});E.each(P.after,function(){P.original.after.push(this)})}function G(P){var T,R,Q=E.fn.cycle.transitions;if(P.fx.indexOf(",")>0){P.multiFx=true;P.fxs=P.fx.replace(/\s*/g,"").split(",");for(T=0;T<P.fxs.length;T++){var V=P.fxs[T];R=Q[V];if(!R||!Q.hasOwnProperty(V)||!E.isFunction(R)){A("discarding unknown transition: ",V);P.fxs.splice(T,1);T--}}if(!P.fxs.length){A("No valid transitions named; slideshow terminating.");return false}}else{if(P.fx=="all"){P.multiFx=true;P.fxs=[];for(p in Q){R=Q[p];if(Q.hasOwnProperty(p)&&E.isFunction(R)){P.fxs.push(p)}}}}if(P.multiFx&&P.randomizeEffects){var S=Math.floor(Math.random()*20)+30;for(T=0;T<S;T++){var U=Math.floor(Math.random()*P.fxs.length);P.fxs.push(P.fxs.splice(U,1)[0])}D("randomized fx sequence: ",P.fxs)}return true}function L(P,Q){P.addSlide=function(U,T){var S=E(U),R=S[0];if(!P.autostopCount){P.countdown++}Q[T?"unshift":"push"](R);if(P.els){P.els[T?"unshift":"push"](R)}P.slideCount=Q.length;S.css("position","absolute");S[T?"prependTo":"appendTo"](P.$cont);if(T){P.currSlide++;P.nextSlide++}if(!E.support.opacity&&P.cleartype&&!P.cleartypeNoBg){K(S)}if(P.fit&&P.width){S.width(P.width)}if(P.fit&&P.height&&P.height!="auto"){$slides.height(P.height)}R.cycleH=(P.fit&&P.height)?P.height:S.height();R.cycleW=(P.fit&&P.width)?P.width:S.width();S.css(P.cssBefore);if(P.pager){E.fn.cycle.createPagerAnchor(Q.length-1,R,E(P.pager),Q,P)}if(E.isFunction(P.onAddSlide)){P.onAddSlide(S)}else{S.hide()}}}E.fn.cycle.resetState=function(P,R){R=R||P.fx;P.before=[];P.after=[];P.cssBefore=E.extend({},P.original.cssBefore);P.cssAfter=E.extend({},P.original.cssAfter);P.animIn=E.extend({},P.original.animIn);P.animOut=E.extend({},P.original.animOut);P.fxFn=null;E.each(P.original.before,function(){P.before.push(this)});E.each(P.original.after,function(){P.after.push(this)});var Q=E.fn.cycle.transitions[R];if(E.isFunction(Q)){Q(P.$cont,E(P.elements),P)}};function N(R,Z,Y,U){if(Y&&Z.busy&&Z.manualTrump){E(R).stop(true,true);Z.busy=false}if(Z.busy){return}var W=Z.$cont[0],X=R[Z.currSlide],P=R[Z.nextSlide];if(W.cycleStop!=Z.stopCount||W.cycleTimeout===0&&!Y){return}if(!Y&&!W.cyclePause&&((Z.autostop&&(--Z.countdown<=0))||(Z.nowrap&&!Z.random&&Z.nextSlide<Z.currSlide))){if(Z.end){Z.end(Z)}return}if(Y||!W.cyclePause){var S=Z.fx;X.cycleH=X.cycleH||E(X).height();X.cycleW=X.cycleW||E(X).width();P.cycleH=P.cycleH||E(P).height();P.cycleW=P.cycleW||E(P).width();if(Z.multiFx){if(Z.lastFx==undefined||++Z.lastFx>=Z.fxs.length){Z.lastFx=0}S=Z.fxs[Z.lastFx];Z.currFx=S}if(Z.oneTimeFx){S=Z.oneTimeFx;Z.oneTimeFx=null}E.fn.cycle.resetState(Z,S);if(Z.before.length){E.each(Z.before,function(b,a){if(W.cycleStop!=Z.stopCount){return}a.apply(P,[X,P,Z,U])})}var Q=function(){E.each(Z.after,function(b,a){if(W.cycleStop!=Z.stopCount){return}a.apply(P,[X,P,Z,U])})};if(Z.nextSlide!=Z.currSlide){Z.busy=1;if(Z.fxFn){Z.fxFn(X,P,Z,Q,U)}else{if(E.isFunction(E.fn.cycle[Z.fx])){E.fn.cycle[Z.fx](X,P,Z,Q)}else{E.fn.cycle.custom(X,P,Z,Q,Y&&Z.fastOnEvent)}}}Z.lastSlide=Z.currSlide;if(Z.random){Z.currSlide=Z.nextSlide;if(++Z.randomIndex==R.length){Z.randomIndex=0}Z.nextSlide=Z.randomMap[Z.randomIndex]}else{var T=(Z.nextSlide+1)==R.length;Z.nextSlide=T?0:Z.nextSlide+1;Z.currSlide=T?R.length-1:Z.nextSlide-1}if(Z.pager){E.fn.cycle.updateActivePagerLink(Z.pager,Z.currSlide)}}var V=0;if(Z.timeout&&!Z.continuous){V=H(X,P,Z,U)}else{if(Z.continuous&&W.cyclePause){V=10}}if(V>0){W.cycleTimeout=setTimeout(function(){N(R,Z,0,!Z.rev)},V)}}E.fn.cycle.updateActivePagerLink=function(Q,P){E(Q).find("a").removeClass("activeSlide").filter("a:eq("+P+")").addClass("activeSlide")};function H(R,S,P,T){if(P.timeoutFn){var Q=P.timeoutFn(R,S,P,T);while((Q-P.speed)<250){Q+=P.speed}D("calculated timeout: "+Q+"; speed: "+P.speed);if(Q!==false){return Q}}return P.timeout}E.fn.cycle.next=function(P){C(P,P.rev?-1:1)};E.fn.cycle.prev=function(P){C(P,P.rev?1:-1)};function C(P,S){var T=P.elements;var Q=P.$cont[0],R=Q.cycleTimeout;if(R){clearTimeout(R);Q.cycleTimeout=0}if(P.random&&S<0){P.randomIndex--;if(--P.randomIndex==-2){P.randomIndex=T.length-2}else{if(P.randomIndex==-1){P.randomIndex=T.length-1}}P.nextSlide=P.randomMap[P.randomIndex]}else{if(P.random){if(++P.randomIndex==T.length){P.randomIndex=0}P.nextSlide=P.randomMap[P.randomIndex]}else{P.nextSlide=P.currSlide+S;if(P.nextSlide<0){if(P.nowrap){return false}P.nextSlide=T.length-1}else{if(P.nextSlide>=T.length){if(P.nowrap){return false}P.nextSlide=0}}}}if(E.isFunction(P.prevNextClick)){P.prevNextClick(S>0,P.nextSlide,T[P.nextSlide])}N(T,P,1,S>=0);return false}function J(R,P){var Q=E(P.pager);E.each(R,function(T,S){E.fn.cycle.createPagerAnchor(T,S,Q,R,P)});E.fn.cycle.updateActivePagerLink(P.pager,P.startingSlide)}E.fn.cycle.createPagerAnchor=function(P,T,U,R,W){var S;if(E.isFunction(W.pagerAnchorBuilder)){S=W.pagerAnchorBuilder(P,T)}else{S='<a href="#">'+(P+1)+"</a>"}if(!S){return}var Q=E(S);if(Q.parents("body").length===0){var V=[];if(U.length>1){U.each(function(){var X=Q.clone(true);E(this).append(X);V.push(X)});Q=E(V)}else{Q.appendTo(U)}}Q.bind(W.pagerEvent,function(Y){Y.preventDefault();W.nextSlide=P;var Z=W.$cont[0],X=Z.cycleTimeout;if(X){clearTimeout(X);Z.cycleTimeout=0}if(E.isFunction(W.pagerClick)){W.pagerClick(W.nextSlide,R[W.nextSlide])}N(R,W,1,W.currSlide<P);return false});if(W.pagerEvent!="click"){Q.click(function(){return false})}if(W.pauseOnPagerHover){Q.hover(function(){W.$cont[0].cyclePause++},function(){W.$cont[0].cyclePause--})}};E.fn.cycle.hopsFromLast=function(P,T){var S,R=P.lastSlide,Q=P.currSlide;if(T){S=Q>R?Q-R:P.slideCount-R}else{S=Q<R?R-Q:R+P.slideCount-Q}return S};function K(P){function Q(S){S=parseInt(S).toString(16);return S.length<2?"0"+S:S}function R(U){for(;U&&U.nodeName.toLowerCase()!="html";U=U.parentNode){var S=E.css(U,"background-color");if(S.indexOf("rgb")>=0){var T=S.match(/\d+/g);return"#"+Q(T[0])+Q(T[1])+Q(T[2])}if(S&&S!="transparent"){return S}}return"#ffffff"}P.each(function(){E(this).css("background-color",R(this))})}E.fn.cycle.commonReset=function(Q,U,P,R,S,T){E(P.elements).not(Q).hide();P.cssBefore.opacity=1;P.cssBefore.display="block";if(R!==false&&U.cycleW>0){P.cssBefore.width=U.cycleW}if(S!==false&&U.cycleH>0){P.cssBefore.height=U.cycleH}P.cssAfter=P.cssAfter||{};P.cssAfter.display="none";E(Q).css("zIndex",P.slideCount+(T===true?1:0));E(U).css("zIndex",P.slideCount+(T===true?0:1))};E.fn.cycle.custom=function(V,P,U,W,R){var X=E(V),a=E(P);var Q=U.speedIn,T=U.speedOut,Z=U.easeIn,Y=U.easeOut;a.css(U.cssBefore);if(R){if(typeof R=="number"){Q=T=R}else{Q=T=1}Z=Y=null}var S=function(){a.animate(U.animIn,Q,Z,W)};X.animate(U.animOut,T,Y,function(){if(U.cssAfter){X.css(U.cssAfter)}if(!U.sync){S()}});if(U.sync){S()}};E.fn.cycle.transitions={fade:function(Q,R,P){R.not(":eq("+P.currSlide+")").css("opacity",0);P.before.push(function(T,U,S){E.fn.cycle.commonReset(T,U,S);S.cssBefore.opacity=0});P.animIn={opacity:1};P.animOut={opacity:0};P.cssBefore={top:0,left:0}}};E.fn.cycle.ver=function(){return F};E.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,prevNextClick:null,prevNextEvent:"click",pager:null,pagerClick:null,pagerEvent:"click",pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!E.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250}})(jQuery);(function(A){A.fn.cycle.transitions.none=function(C,D,B){B.fxFn=function(G,H,E,F){A(H).show();A(G).hide();F()}};A.fn.cycle.transitions.scrollUp=function(C,D,B){C.css("overflow","hidden");B.before.push(A.fn.cycle.commonReset);var E=C.height();B.cssBefore={top:E,left:0};B.cssFirst={top:0};B.animIn={top:0};B.animOut={top:-E}};A.fn.cycle.transitions.scrollDown=function(C,D,B){C.css("overflow","hidden");B.before.push(A.fn.cycle.commonReset);var E=C.height();B.cssFirst={top:0};B.cssBefore={top:-E,left:0};B.animIn={top:0};B.animOut={top:E}};A.fn.cycle.transitions.scrollLeft=function(C,D,B){C.css("overflow","hidden");B.before.push(A.fn.cycle.commonReset);var E=C.width();B.cssFirst={left:0};B.cssBefore={left:E,top:0};B.animIn={left:0};B.animOut={left:0-E}};A.fn.cycle.transitions.scrollRight=function(C,D,B){C.css("overflow","hidden");B.before.push(A.fn.cycle.commonReset);var E=C.width();B.cssFirst={left:0};B.cssBefore={left:-E,top:0};B.animIn={left:0};B.animOut={left:E}};A.fn.cycle.transitions.scrollHorz=function(C,D,B){C.css("overflow","hidden").width();B.before.push(function(F,G,E,H){A.fn.cycle.commonReset(F,G,E);E.cssBefore.left=H?(G.cycleW-1):(1-G.cycleW);E.animOut.left=H?-F.cycleW:F.cycleW});B.cssFirst={left:0};B.cssBefore={top:0};B.animIn={left:0};B.animOut={top:0}};A.fn.cycle.transitions.scrollVert=function(C,D,B){C.css("overflow","hidden");B.before.push(function(F,G,E,H){A.fn.cycle.commonReset(F,G,E);E.cssBefore.top=H?(1-G.cycleH):(G.cycleH-1);E.animOut.top=H?F.cycleH:-F.cycleH});B.cssFirst={top:0};B.cssBefore={left:0};B.animIn={top:0};B.animOut={left:0}};A.fn.cycle.transitions.slideX=function(C,D,B){B.before.push(function(F,G,E){A(E.elements).not(F).hide();A.fn.cycle.commonReset(F,G,E,false,true);E.animIn.width=G.cycleW});B.cssBefore={left:0,top:0,width:0};B.animIn={width:"show"};B.animOut={width:0}};A.fn.cycle.transitions.slideY=function(C,D,B){B.before.push(function(F,G,E){A(E.elements).not(F).hide();A.fn.cycle.commonReset(F,G,E,true,false);E.animIn.height=G.cycleH});B.cssBefore={left:0,top:0,height:0};B.animIn={height:"show"};B.animOut={height:0}};A.fn.cycle.transitions.shuffle=function(C,D,B){var F,E=C.css("overflow","visible").width();D.css({left:0,top:0});B.before.push(function(H,I,G){A.fn.cycle.commonReset(H,I,G,true,true,true)});if(!B.speedAdjusted){B.speed=B.speed/2;B.speedAdjusted=true}B.random=0;B.shuffle=B.shuffle||{left:-E,top:15};B.els=[];for(F=0;F<D.length;F++){B.els.push(D[F])}for(F=0;F<B.currSlide;F++){B.els.push(B.els.shift())}B.fxFn=function(I,L,G,K,M){var H=M?A(I):A(L);A(L).css(G.cssBefore);var J=G.slideCount;H.animate(G.shuffle,G.speedIn,G.easeIn,function(){var Q=A.fn.cycle.hopsFromLast(G,M);for(var R=0;R<Q;R++){M?G.els.push(G.els.shift()):G.els.unshift(G.els.pop())}if(M){for(var P=0,N=G.els.length;P<N;P++){A(G.els[P]).css("z-index",N-P+J)}}else{var O=A(I).css("z-index");H.css("z-index",parseInt(O)+1+J)}H.animate({left:0,top:0},G.speedOut,G.easeOut,function(){A(M?this:I).hide();if(K){K()}})})};B.cssBefore={display:"block",opacity:1,top:0,left:0}};A.fn.cycle.transitions.turnUp=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,true,false);E.cssBefore.top=G.cycleH;E.animIn.height=G.cycleH});B.cssFirst={top:0};B.cssBefore={left:0,height:0};B.animIn={top:0};B.animOut={height:0}};A.fn.cycle.transitions.turnDown=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,true,false);E.animIn.height=G.cycleH;E.animOut.top=F.cycleH});B.cssFirst={top:0};B.cssBefore={left:0,top:0,height:0};B.animOut={height:0}};A.fn.cycle.transitions.turnLeft=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,false,true);E.cssBefore.left=G.cycleW;E.animIn.width=G.cycleW});B.cssBefore={top:0,width:0};B.animIn={left:0};B.animOut={width:0}};A.fn.cycle.transitions.turnRight=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,false,true);E.animIn.width=G.cycleW;E.animOut.left=F.cycleW});B.cssBefore={top:0,left:0,width:0};B.animIn={left:0};B.animOut={width:0}};A.fn.cycle.transitions.zoom=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,false,false,true);E.cssBefore.top=G.cycleH/2;E.cssBefore.left=G.cycleW/2;E.animIn={top:0,left:0,width:G.cycleW,height:G.cycleH};E.animOut={width:0,height:0,top:F.cycleH/2,left:F.cycleW/2}});B.cssFirst={top:0,left:0};B.cssBefore={width:0,height:0}};A.fn.cycle.transitions.fadeZoom=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,false,false);E.cssBefore.left=G.cycleW/2;E.cssBefore.top=G.cycleH/2;E.animIn={top:0,left:0,width:G.cycleW,height:G.cycleH}});B.cssBefore={width:0,height:0};B.animOut={opacity:0}};A.fn.cycle.transitions.blindX=function(C,D,B){var E=C.css("overflow","hidden").width();B.before.push(function(G,H,F){A.fn.cycle.commonReset(G,H,F);F.animIn.width=H.cycleW;F.animOut.left=G.cycleW});B.cssBefore={left:E,top:0};B.animIn={left:0};B.animOut={left:E}};A.fn.cycle.transitions.blindY=function(C,D,B){var E=C.css("overflow","hidden").height();B.before.push(function(G,H,F){A.fn.cycle.commonReset(G,H,F);F.animIn.height=H.cycleH;F.animOut.top=G.cycleH});B.cssBefore={top:E,left:0};B.animIn={top:0};B.animOut={top:E}};A.fn.cycle.transitions.blindZ=function(C,D,B){var F=C.css("overflow","hidden").height();var E=C.width();B.before.push(function(H,I,G){A.fn.cycle.commonReset(H,I,G);G.animIn.height=I.cycleH;G.animOut.top=H.cycleH});B.cssBefore={top:F,left:E};B.animIn={top:0,left:0};B.animOut={top:F,left:E}};A.fn.cycle.transitions.growX=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,false,true);E.cssBefore.left=this.cycleW/2;E.animIn={left:0,width:this.cycleW};E.animOut={left:0}});B.cssBefore={width:0,top:0}};A.fn.cycle.transitions.growY=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,true,false);E.cssBefore.top=this.cycleH/2;E.animIn={top:0,height:this.cycleH};E.animOut={top:0}});B.cssBefore={height:0,left:0}};A.fn.cycle.transitions.curtainX=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,false,true,true);E.cssBefore.left=G.cycleW/2;E.animIn={left:0,width:this.cycleW};E.animOut={left:F.cycleW/2,width:0}});B.cssBefore={top:0,width:0}};A.fn.cycle.transitions.curtainY=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,true,false,true);E.cssBefore.top=G.cycleH/2;E.animIn={top:0,height:G.cycleH};E.animOut={top:F.cycleH/2,height:0}});B.cssBefore={left:0,height:0}};A.fn.cycle.transitions.cover=function(C,D,B){var G=B.direction||"left";var E=C.css("overflow","hidden").width();var F=C.height();B.before.push(function(I,J,H){A.fn.cycle.commonReset(I,J,H);if(G=="right"){H.cssBefore.left=-E}else{if(G=="up"){H.cssBefore.top=F}else{if(G=="down"){H.cssBefore.top=-F}else{H.cssBefore.left=E}}}});B.animIn={left:0,top:0};B.animOut={opacity:1};B.cssBefore={top:0,left:0}};A.fn.cycle.transitions.uncover=function(C,D,B){var G=B.direction||"left";var E=C.css("overflow","hidden").width();var F=C.height();B.before.push(function(I,J,H){A.fn.cycle.commonReset(I,J,H,true,true,true);if(G=="right"){H.animOut.left=E}else{if(G=="up"){H.animOut.top=-F}else{if(G=="down"){H.animOut.top=F}else{H.animOut.left=-E}}}});B.animIn={left:0,top:0};B.animOut={opacity:1};B.cssBefore={top:0,left:0}};A.fn.cycle.transitions.toss=function(C,D,B){var E=C.css("overflow","visible").width();var F=C.height();B.before.push(function(H,I,G){A.fn.cycle.commonReset(H,I,G,true,true,true);if(!G.animOut.left&&!G.animOut.top){G.animOut={left:E*2,top:-F/2,opacity:0}}else{G.animOut.opacity=0}});B.cssBefore={left:0,top:0};B.animIn={left:0}};A.fn.cycle.transitions.wipe=function(B,E,H){var M=B.css("overflow","hidden").width();var N=B.height();H.cssBefore=H.cssBefore||{};var L;if(H.clip){if(/l2r/.test(H.clip)){L="rect(0px 0px "+N+"px 0px)"}else{if(/r2l/.test(H.clip)){L="rect(0px "+M+"px "+N+"px "+M+"px)"}else{if(/t2b/.test(H.clip)){L="rect(0px "+M+"px 0px 0px)"}else{if(/b2t/.test(H.clip)){L="rect("+N+"px "+M+"px "+N+"px 0px)"}else{if(/zoom/.test(H.clip)){var C=parseInt(N/2);var D=parseInt(M/2);L="rect("+C+"px "+D+"px "+C+"px "+D+"px)"}}}}}}H.cssBefore.clip=H.cssBefore.clip||L||"rect(0px 0px 0px 0px)";var G=H.cssBefore.clip.match(/(\d+)/g);var K=parseInt(G[0]),J=parseInt(G[1]),F=parseInt(G[2]),I=parseInt(G[3]);H.before.push(function(R,O,V){if(R==O){return}var S=A(R),P=A(O);A.fn.cycle.commonReset(R,O,V,true,true,false);V.cssAfter.display="block";var T=1,U=parseInt((V.speedIn/13))-1;(function Q(){var W=K?K-parseInt(T*(K/U)):0;var Y=I?I-parseInt(T*(I/U)):0;var Z=F<N?F+parseInt(T*((N-F)/U||1)):N;var X=J<M?J+parseInt(T*((M-J)/U||1)):M;P.css({clip:"rect("+W+"px "+X+"px "+Z+"px "+Y+"px)"});(T++<=U)?setTimeout(Q,13):S.css("display","none")})()});H.cssBefore={display:"block",opacity:1,top:0,left:0};H.animIn={left:0};H.animOut={left:0}}})(jQuery);(function(A){A.fn.lightbox=function(F){var K=A.extend({},A.fn.lightbox.defaults,F);return this.each(function(){A(this).click(function(){B();J(this);return false})});function B(){A("#overlay").remove();A("#lightbox").remove();K.inprogress=false;if(K.jsonData&&K.jsonData.length>0){var W=K.jsonDataParser?K.jsonDataParser:A.fn.lightbox.parseJsonData;K.imageArray=[];K.imageArray=W(K.jsonData)}var V='<div id="outerImageContainer"><div id="imageContainer"><iframe id="lightboxIframe" /><img id="lightboxImage"><div id="hoverNav"><a href="javascript://" title="'+K.strings.prevLinkTitle+'" id="prevLink"></a><a href="javascript://" id="nextLink" title="'+K.strings.nextLinkTitle+'"></a></div><div id="loading"><a href="javascript://" id="loadingLink"><img src="'+K.fileLoadingImage+'"></a></div></div></div>';var T='<div id="imageDataContainer" class="clearfix"><div id="imageData"><div id="imageDetails"><span id="caption"></span><span id="numberDisplay"></span></div><div id="bottomNav">';if(K.displayHelp){T+='<span id="helpDisplay">'+K.strings.help+"</span>"}T+='<a href="javascript://" id="bottomNavClose" title="'+K.strings.closeTitle+'"><img src="'+K.fileBottomNavCloseImage+'"></a></div></div></div>';var U;if(K.navbarOnTop){U='<div id="overlay"></div><div id="lightbox">'+T+V+"</div>";A("body").append(U);A("#imageDataContainer").addClass("ontop")}else{U='<div id="overlay"></div><div id="lightbox">'+V+T+"</div>";A("body").append(U)}A("#overlay").click(function(){E()}).hide();A("#lightbox").click(function(){E()}).hide();A("#loadingLink").click(function(){E();return false});A("#bottomNavClose").click(function(){E();return false});A("#outerImageContainer").width(K.widthCurrent).height(K.heightCurrent);A("#imageDataContainer").width(K.widthCurrent);if(!K.imageClickClose){A("#lightboxImage").click(function(){return false});A("#hoverNav").click(function(){return false})}}function C(){var T=new Array(A(document).width(),A(document).height(),A(window).width(),A(window).height());return T}function S(){var T,V;if(self.pageYOffset){V=self.pageYOffset;T=self.pageXOffset}else{if(document.documentElement&&document.documentElement.scrollTop){V=document.documentElement.scrollTop;T=document.documentElement.scrollLeft}else{if(document.body){V=document.body.scrollTop;T=document.body.scrollLeft}}}var U=new Array(T,V);return U}function N(T){var U=new Date();var V=null;do{V=new Date()}while(V-U<T)}function J(V){A("select, embed, object").hide();var W=C();A("#overlay").hide().css({width:"100%",height:W[1]+"px",opacity:K.overlayOpacity}).fadeIn();imageNum=0;if(!K.jsonData){K.imageArray=[];if(!V.rel||(V.rel=="")){K.imageArray.push(new Array(V.href,K.displayTitle?V.title:""))}else{A("a").each(function(){if(this.href&&(this.rel==V.rel)){K.imageArray.push(new Array(this.href,K.displayTitle?this.title:""))}})}}if(K.imageArray.length>1){for(i=0;i<K.imageArray.length;i++){for(j=K.imageArray.length-1;j>i;j--){if(K.imageArray[i][0]==K.imageArray[j][0]){K.imageArray.splice(j,1)}}}while(K.imageArray[imageNum][0]!=V.href){imageNum++}}var T=S();var X=T[1]+(W[3]/10);var U=T[0];A("#lightbox").css({top:X+"px",left:U+"px"}).show();if(!K.slideNavBar){A("#imageData").hide()}H(imageNum)}function H(T){if(K.inprogress==false){K.inprogress=true;K.activeImage=T;A("#loading").show();A("#lightboxImage").hide();A("#hoverNav").hide();A("#prevLink").hide();A("#nextLink").hide();if(K.slideNavBar){A("#imageDataContainer").hide();A("#imageData").hide();P()}else{P()}}}function P(){imgPreloader=new Image();imgPreloader.onload=function(){var V=imgPreloader.width;var W=imgPreloader.height;if(K.fitToScreen){var X=C();var a;var Y=X[2]-2*K.borderSize;var Z=X[3]-200;var T=Y/Z;var U=imgPreloader.width/imgPreloader.height;if((imgPreloader.height>Z)||(imgPreloader.width>Y)){if(T>U){V=parseInt((Z/imgPreloader.height)*imgPreloader.width);W=Z}else{W=parseInt((Y/imgPreloader.width)*imgPreloader.height);V=Y}}}A("#lightboxImage").attr("src",K.imageArray[K.activeImage][0]).width(V).height(W);I(V,W)};imgPreloader.src=K.imageArray[K.activeImage][0]}function E(){R();A("#lightbox").hide();A("#overlay").fadeOut();A("select, object, embed").show()}function G(){if(K.loopImages&&K.imageArray.length>1){preloadNextImage=new Image();preloadNextImage.src=K.imageArray[(K.activeImage==(K.imageArray.length-1))?0:K.activeImage+1][0];preloadPrevImage=new Image();preloadPrevImage.src=K.imageArray[(K.activeImage==0)?(K.imageArray.length-1):K.activeImage-1][0]}else{if((K.imageArray.length-1)>K.activeImage){preloadNextImage=new Image();preloadNextImage.src=K.imageArray[K.activeImage+1][0]}if(K.activeImage>0){preloadPrevImage=new Image();preloadPrevImage.src=K.imageArray[K.activeImage-1][0]}}}function I(V,T){K.widthCurrent=A("#outerImageContainer").outerWidth();K.heightCurrent=A("#outerImageContainer").outerHeight();var U=Math.max(350,V+(K.borderSize*2));var W=(T+(K.borderSize*2));K.xScale=(U/K.widthCurrent)*100;K.yScale=(W/K.heightCurrent)*100;wDiff=K.widthCurrent-U;hDiff=K.heightCurrent-W;A("#imageDataContainer").animate({width:U},K.resizeSpeed,"linear");A("#outerImageContainer").animate({width:U},K.resizeSpeed,"linear",function(){A("#outerImageContainer").animate({height:W},K.resizeSpeed,"linear",function(){Q()})});if((hDiff==0)&&(wDiff==0)){if(jQuery.browser.msie){N(250)}else{N(100)}}A("#prevLink").height(T);A("#nextLink").height(T)}function Q(){A("#loading").hide();A("#lightboxImage").fadeIn("fast");O();G();K.inprogress=false}function O(){A("#numberDisplay").html("");if(K.imageArray[K.activeImage][1]){A("#caption").html(K.imageArray[K.activeImage][1]).show()}if(K.imageArray.length>1){var T;T=K.strings.image+(K.activeImage+1)+K.strings.of+K.imageArray.length;if(!K.disableNavbarLinks){if((K.activeImage)>0||K.loopImages){T='<a title="'+K.strings.prevLinkTitle+'" href="#" id="prevLinkText">'+K.strings.prevLinkText+"</a>"+T}if(((K.activeImage+1)<K.imageArray.length)||K.loopImages){T+='<a title="'+K.strings.nextLinkTitle+'" href="#" id="nextLinkText">'+K.strings.nextLinkText+"</a>"}}A("#numberDisplay").html(T).show()}if(K.slideNavBar){A("#imageData").slideDown(K.navBarSlideSpeed)}else{A("#imageData").show()}var U=C();A("#overlay").height(U[1]);L()}function L(){if(K.imageArray.length>1){A("#hoverNav").show();if(K.loopImages){A("#prevLink,#prevLinkText").show().click(function(){H((K.activeImage==0)?(K.imageArray.length-1):K.activeImage-1);return false});A("#nextLink,#nextLinkText").show().click(function(){H((K.activeImage==(K.imageArray.length-1))?0:K.activeImage+1);return false})}else{if(K.activeImage!=0){A("#prevLink,#prevLinkText").show().click(function(){H(K.activeImage-1);return false})}if(K.activeImage!=(K.imageArray.length-1)){A("#nextLink,#nextLinkText").show().click(function(){H(K.activeImage+1);return false})}}M()}}function D(X){var T=X.data.opts;var U=X.keyCode;var V=27;var W=String.fromCharCode(U).toLowerCase();if((W=="x")||(W=="o")||(W=="c")||(U==V)){E()}else{if((W=="p")||(U==37)){if(T.loopImages){R();H((T.activeImage==0)?(T.imageArray.length-1):T.activeImage-1)}else{if(T.activeImage!=0){R();H(T.activeImage-1)}}}else{if((W=="n")||(U==39)){if(K.loopImages){R();H((T.activeImage==(T.imageArray.length-1))?0:T.activeImage+1)}else{if(T.activeImage!=(T.imageArray.length-1)){R();H(T.activeImage+1)}}}}}}function M(){A(document).bind("keydown",{opts:K},D)}function R(){A(document).unbind("keydown")}};A.fn.lightbox.parseJsonData=function(C){var B=[];A.each(C,function(){B.push(new Array(this.url,this.title))});return B};A.fn.lightbox.defaults={fileLoadingImage:"images/loading.gif",fileBottomNavCloseImage:"images/closelabel.gif",overlayOpacity:0.8,borderSize:10,imageArray:new Array,activeImage:null,inprogress:false,resizeSpeed:350,widthCurrent:250,heightCurrent:250,xScale:1,yScale:1,displayTitle:true,navbarOnTop:false,slideNavBar:false,navBarSlideSpeed:350,displayHelp:false,strings:{help:" \u2190 / P - previous image\u00a0\u00a0\u00a0\u00a0\u2192 / N - next image\u00a0\u00a0\u00a0\u00a0ESC / X - close image gallery",prevLinkTitle:"previous image",nextLinkTitle:"next image",prevLinkText:"&laquo; Previous",nextLinkText:"Next &raquo;",closeTitle:"close image gallery",image:"Image ",of:" of "},fitToScreen:false,disableNavbarLinks:false,loopImages:false,imageClickClose:true,jsonData:null,jsonDataParser:null}})(jQuery);(function(D){D.tools=D.tools||{};D.tools.tabs={version:"1.0.4",conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",api:false,rotate:false},addEffect:function(E,F){C[E]=F}};var C={"default":function(F,E){this.getPanes().hide().eq(F).show();E.call()},fade:function(I,G){var H=this.getConf(),E=H.fadeOutSpeed,F=this.getPanes();if(E){F.fadeOut(E)}else{F.hide()}F.eq(I).fadeIn(H.fadeInSpeed,G)},slide:function(F,E){this.getPanes().slideUp(200);this.getPanes().eq(F).slideDown(400,E)},ajax:function(F,E){this.getPanes().eq(0).load(this.getTabs().eq(F).attr("href"),E)}};var B;D.tools.tabs.addEffect("horizontal",function(F,E){if(!B){B=this.getPanes().eq(0).width()}this.getCurrentPane().animate({width:0},function(){D(this).hide()});this.getPanes().eq(F).animate({width:B},function(){D(this).show();E.call()})});function A(J,F,I){var H=this,E=D(this),G;D.each(I,function(K,L){if(D.isFunction(L)){E.bind(K,L)}});D.extend(this,{click:function(N,L){var M=H.getCurrentPane();var O=J.eq(N);if(typeof N=="string"&&N.replace("#","")){O=J.filter("[href*="+N.replace("#","")+"]");N=Math.max(J.index(O),0)}if(I.rotate){var K=J.length-1;if(N<0){return H.click(K,L)}if(N>K){return H.click(0,L)}}if(!O.length){if(G>=0){return H}N=I.initialIndex;O=J.eq(N)}if(N===G){return H}L=L||D.Event();L.type="onBeforeClick";E.trigger(L,[N]);if(L.isDefaultPrevented()){return}C[I.effect].call(H,N,function(){L.type="onClick";E.trigger(L,[N])});L.type="onStart";E.trigger(L,[N]);if(L.isDefaultPrevented()){return}G=N;J.removeClass(I.current);O.addClass(I.current);return H},getConf:function(){return I},getTabs:function(){return J},getPanes:function(){return F},getCurrentPane:function(){return F.eq(G)},getCurrentTab:function(){return J.eq(G)},getIndex:function(){return G},next:function(){return H.click(G+1)},prev:function(){return H.click(G-1)},bind:function(K,L){E.bind(K,L);return H},onBeforeClick:function(K){return this.bind("onBeforeClick",K)},onClick:function(K){return this.bind("onClick",K)},unbind:function(K){E.unbind(K);return H}});J.each(function(K){D(this).bind(I.event,function(L){H.click(K,L);return false})});if(location.hash){H.click(location.hash)}else{if(I.initialIndex===0||I.initialIndex>0){H.click(I.initialIndex)}}F.find("a[href^=#]").click(function(K){H.click(D(this).attr("href"),K)})}D.fn.tabs=function(F,H){var I=this.eq(typeof H=="number"?H:0).data("tabs");if(I){return I}if(D.isFunction(H)){H={onBeforeClick:H}}var E=D.extend({},D.tools.tabs.conf),G=this.length;H=D.extend(E,H);this.each(function(M){var K=D(this);var L=K.find(H.tabs);if(!L.length){L=K.children()}var J=F.jquery?F:K.children(F);if(!J.length){J=G==1?D(F):K.parent().find(F)}I=new A(L,J,H);K.data("tabs",I)});return H.api?I:this}})(jQuery);(function(D){var A=D.tools.tabs;A.plugins=A.plugins||{};A.plugins.history={version:"1.0.2",conf:{api:false}};var E,B;function C(F){if(F){var G=B.contentWindow.document;G.open().close();G.location.hash=F}}D.fn.onHash=function(G){var F=this;if(D.browser.msie&&D.browser.version<"8"){if(!B){B=D("<iframe/>").attr("src","javascript:false;").hide().get(0);D("body").append(B);setInterval(function(){var H=B.contentWindow.document,I=H.location.hash;if(E!==I){D.event.trigger("hash",I);E=I}},100);C(location.hash||"#")}F.bind("click.hash",function(H){C(D(this).attr("href"))})}else{setInterval(function(){var I=location.hash;var H=F.filter("[href$="+I+"]");if(!H.length){I=I.replace("#","");H=F.filter("[href$="+I+"]")}if(H.length&&I!==E){E=I;D.event.trigger("hash",I)}},100)}D(window).bind("hash",G);return this};D.fn.history=function(H){var F=D.extend({},A.plugins.history.conf),G;H=D.extend(F,H);this.each(function(){var J=D(this).tabs(),I=J.getTabs();if(J){G=J}I.onHash(function(K,L){if(!L||L=="#"){L=J.getConf().initialIndex}J.click(L)});I.click(function(K){location.hash=D(this).attr("href").replace("#","")})});return H.api?G:this}})(jQuery);(function(B){B.tools=B.tools||{};B.tools.scrollable={version:"1.1.2",conf:{size:5,vertical:false,speed:400,keyboard:true,keyboardSteps:null,disabledClass:"disabled",hoverClass:null,clickable:true,activeClass:"active",easing:"swing",loop:false,items:".items",item:null,prev:".prev",next:".next",prevPage:".prevPage",nextPage:".nextPage",api:false}};var C;function A(J,H){var Q=this,O=B(this),L=!H.vertical,M=J.children(),F=0,D;if(!C){C=Q}B.each(H,function(S,T){if(B.isFunction(T)){O.bind(S,T)}});if(M.length>1){M=B(H.items,J)}function G(T){var S=B(T);return H.globalNav?S:J.parent().find(T)}J.data("finder",G);var N=G(H.prev),R=G(H.next),K=G(H.prevPage),I=G(H.nextPage);B.extend(Q,{getIndex:function(){return F},getClickIndex:function(){var S=Q.getItems();return S.index(S.filter("."+H.activeClass))},getConf:function(){return H},getSize:function(){return Q.getItems().size()},getPageAmount:function(){return Math.ceil(this.getSize()/H.size)},getPageIndex:function(){return Math.ceil(F/H.size)},getNaviButtons:function(){return N.add(R).add(K).add(I)},getRoot:function(){return J},getItemWrap:function(){return M},getItems:function(){return M.children(H.item)},getVisibleItems:function(){return Q.getItems().slice(F,F+H.size)},seekTo:function(S,W,T){if(S<0){S=0}if(F===S){return Q}if(B.isFunction(W)){T=W}if(S>Q.getSize()-H.size){return H.loop?Q.begin():this.end()}var U=Q.getItems().eq(S);if(!U.length){return Q}var V=B.Event("onBeforeSeek");O.trigger(V,[S]);if(V.isDefaultPrevented()){return Q}if(W===undefined||B.isFunction(W)){W=H.speed}function X(){if(T){T.call(Q,S)}O.trigger("onSeek",[S])}if(L){M.animate({left:-U.position().left},W,H.easing,X)}else{M.animate({top:-U.position().top},W,H.easing,X)}C=Q;F=S;V=B.Event("onStart");O.trigger(V,[S]);if(V.isDefaultPrevented()){return Q}N.add(K).toggleClass(H.disabledClass,S===0);R.add(I).toggleClass(H.disabledClass,S>=Q.getSize()-H.size);return Q},move:function(U,T,S){D=U>0;return this.seekTo(F+U,T,S)},next:function(T,S){return this.move(1,T,S)},prev:function(T,S){return this.move(-1,T,S)},movePage:function(W,V,U){D=W>0;var S=H.size*W;var T=F%H.size;if(T>0){S+=(W>0?-T:H.size-T)}return this.move(S,V,U)},prevPage:function(T,S){return this.movePage(-1,T,S)},nextPage:function(T,S){return this.movePage(1,T,S)},setPage:function(T,U,S){return this.seekTo(T*H.size,U,S)},begin:function(T,S){D=false;return this.seekTo(0,T,S)},end:function(T,S){D=true;var U=this.getSize()-H.size;return U>0?this.seekTo(U,T,S):Q},reload:function(){O.trigger("onReload");return Q},focus:function(){C=Q;return Q},click:function(U){var V=Q.getItems().eq(U),S=H.activeClass,T=H.size;if(U<0||U>=Q.getSize()){return Q}if(T==1){if(H.loop){return Q.next()}if(U===0||U==Q.getSize()-1){D=(D===undefined)?true:!D}return D===false?Q.prev():Q.next()}if(T==2){if(U==F){U--}Q.getItems().removeClass(S);V.addClass(S);return Q.seekTo(U,time,fn)}if(!V.hasClass(S)){Q.getItems().removeClass(S);V.addClass(S);var X=Math.floor(T/2);var W=U-X;if(W>Q.getSize()-T){W=Q.getSize()-T}if(W!==U){return Q.seekTo(W)}}return Q},bind:function(S,T){O.bind(S,T);return Q},unbind:function(S){O.unbind(S);return Q}});B.each("onBeforeSeek,onStart,onSeek,onReload".split(","),function(S,T){Q[T]=function(U){return Q.bind(T,U)}});N.addClass(H.disabledClass).click(function(){Q.prev()});R.click(function(){Q.next()});I.click(function(){Q.nextPage()});if(Q.getSize()<H.size){R.add(I).addClass(H.disabledClass)}K.addClass(H.disabledClass).click(function(){Q.prevPage()});var E=H.hoverClass,P="keydown."+Math.random().toString().substring(10);Q.onReload(function(){if(E){Q.getItems().hover(function(){B(this).addClass(E)},function(){B(this).removeClass(E)})}if(H.clickable){Q.getItems().each(function(S){B(this).unbind("click.scrollable").bind("click.scrollable",function(T){if(B(T.target).is("a")){return}return Q.click(S)})})}if(H.keyboard){B(document).unbind(P).bind(P,function(S){if(S.altKey||S.ctrlKey){return}if(H.keyboard!="static"&&C!=Q){return}var T=H.keyboardSteps;if(L&&(S.keyCode==37||S.keyCode==39)){Q.move(S.keyCode==37?-T:T);return S.preventDefault()}if(!L&&(S.keyCode==38||S.keyCode==40)){Q.move(S.keyCode==38?-T:T);return S.preventDefault()}return true})}else{B(document).unbind(P)}});Q.reload()}B.fn.scrollable=function(D){var E=this.eq(typeof D=="number"?D:0).data("scrollable");if(E){return E}var F=B.extend({},B.tools.scrollable.conf);D=B.extend(F,D);D.keyboardSteps=D.keyboardSteps||D.size;this.each(function(){E=new A(B(this),D);B(this).data("scrollable",E)});return D.api?E:this}})(jQuery);(function(B){var A=B.tools.scrollable;A.plugins=A.plugins||{};A.plugins.circular={version:"0.5.1",conf:{api:false,clonedClass:"cloned"}};B.fn.circular=function(E){var D=B.extend({},A.plugins.circular.conf),C;B.extend(D,E);this.each(function(){var F=B(this).scrollable(),K=F.getItems(),H=F.getConf(),L=F.getItemWrap(),G=0;if(F){C=F}if(K.length<H.size){return false}K.slice(0,H.size).each(function(O){B(this).clone().appendTo(L).click(function(){F.click(K.length+O)}).addClass(D.clonedClass)});var I=B.makeArray(K.slice(-H.size)).reverse();B(I).each(function(O){B(this).clone().prependTo(L).click(function(){F.click(-O-1)}).addClass(D.clonedClass)});var J=L.children(H.item);var N=H.hoverClass;if(N){J.hover(function(){B(this).addClass(N)},function(){B(this).removeClass(N)})}function M(O){var P=J.eq(O);if(H.vertical){L.css({top:-P.position().top})}else{L.css({left:-P.position().left})}}M(H.size);B.extend(F,{move:function(P,O,T,U){var R=G+P+H.size;var Q=R>F.getSize()-H.size;if(R<=0||Q){var S=G+H.size+(Q?-K.length:K.length);M(S);R=S+P}if(U){J.removeClass(H.activeClass).eq(R+Math.floor(H.size/2)).addClass(H.activeClass)}if(R===G+H.size){return self}return F.seekTo(R,O,T)},begin:function(P,O){return this.seekTo(H.size,P,O)},end:function(P,O){return this.seekTo(K.length,P,O)},click:function(R,O,S){if(!H.clickable){return self}if(H.size==1){return this.next()}var P=R-G,Q=H.activeClass;P-=Math.floor(H.size/2);return this.move(P,O,S,true)},getIndex:function(){return G},setPage:function(P,Q,O){return this.seekTo(P*H.size+H.size,Q,O)},getPageAmount:function(){return Math.ceil(K.length/H.size)},getPageIndex:function(){if(G<0){return this.getPageAmount()-1}if(G>=K.length){return 0}var O=(G+H.size)/H.size-1;return O},getVisibleItems:function(){var O=G+H.size;return J.slice(O,O+H.size)}});F.onStart(function(P,O){G=O-H.size;return false});F.getNaviButtons().removeClass(H.disabledClass)});return D.api?C:this}})(jQuery);(function(B){var A=B.tools.scrollable;A.plugins=A.plugins||{};A.plugins.autoscroll={version:"1.0.1",conf:{autoplay:true,interval:3000,autopause:true,steps:1,api:false}};B.fn.autoscroll=function(D){if(typeof D=="number"){D={interval:D}}var E=B.extend({},A.plugins.autoscroll.conf),C;B.extend(E,D);this.each(function(){var I=B(this).scrollable();if(I){C=I}var G,H,F=true;I.play=function(){if(G){return}F=false;G=setInterval(function(){I.move(E.steps)},E.interval);I.move(E.steps)};I.pause=function(){G=clearInterval(G)};I.stop=function(){I.pause();F=true};if(E.autopause){I.getRoot().add(I.getNaviButtons()).hover(function(){I.pause();clearInterval(H)},function(){if(!F){H=setTimeout(I.play,E.interval)}})}if(E.autoplay){setTimeout(I.play,E.interval)}});return E.api?C:this}})(jQuery);(function(B){var A=B.tools.scrollable;A.plugins=A.plugins||{};A.plugins.navigator={version:"1.0.2",conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:false,api:false,idPrefix:null}};B.fn.navigator=function(D){var E=B.extend({},A.plugins.navigator.conf),C;if(typeof D=="string"){D={navi:D}}D=B.extend(E,D);this.each(function(){var I=B(this).scrollable(),K=I.getRoot(),L=K.data("finder").call(null,D.navi),F=null,G=I.getNaviButtons();if(I){C=I}I.getNaviButtons=function(){return G.add(L)};function J(){if(!L.children().length||L.data("navi")==I){L.empty();L.data("navi",I);for(var M=0;M<I.getPageAmount();M++){L.append(B("<"+(D.naviItem||"a")+"/>"))}F=L.children().each(function(N){var O=B(this);O.click(function(P){I.setPage(N);return P.preventDefault()});if(D.indexed){O.text(N)}if(D.idPrefix){O.attr("id",D.idPrefix+N)}})}else{F=D.naviItem?L.find(D.naviItem):L.children();F.each(function(N){var O=B(this);O.click(function(P){I.setPage(N);return P.preventDefault()})})}F.eq(0).addClass(D.activeClass)}I.onStart(function(O,N){var M=D.activeClass;F.removeClass(M).eq(I.getPageIndex()).addClass(M)});I.onReload(function(){J()});J();var H=F.filter("[href="+location.hash+"]");if(H.length){I.move(F.index(H))}});return D.api?C:this}})(jQuery);$.fn.menu=function(){$(this).addClass("h-menu");$("#current a:first",this).addClass("selected");$("ul ul",this).addClass("hide");$("li:not(#current):not(:has(#current))",this).hover(function(){var A=$("ul:first",this);A.css("z-index","1000");A.addClass("float").removeClass("hide");var B=A.offset();if(B.left+A.width()>$(window).width()){A.css("left","-100%")}},function(){$("ul:first",this).css("z-index","0");$("ul:first",this).removeClass("float").addClass("hide")});$("li:has(ul):not(#current):not(:has(#current)) > a span",this).append("<div class='aaa'></div>");$("ul:has(#current)",this).addClass("fixed").removeClass("hide");$("#current ul:first",this).addClass("fixed").removeClass("hide")};$.fn.vmenu=function(){$(this).addClass("v-menu");$("li",this).hover(function(){var A=$("ul:first",this);A.css("z-index","1000");A.css("top","100%");A.css("left","0");A.show()},function(){var A=$("ul:first",this);A.css("z-index","0");A.hide()})};(function(A){A.fn.jclock=function(D){var C="2.2.0";var B=A.extend({},A.fn.jclock.defaults,D);return this.each(function(){$this=A(this);$this.timerID=null;$this.running=false;$this.increment=0;$this.lastCalled=new Date().getTime();var E=A.meta?A.extend({},B,$this.data()):B;$this.format=E.format;$this.utc=E.utc;$this.utcOffset=(E.utc_offset!=null)?E.utc_offset:E.utcOffset;$this.seedTime=E.seedTime;$this.timeout=E.timeout;$this.css({fontFamily:E.fontFamily,fontSize:E.fontSize,backgroundColor:E.background,color:E.foreground});$this.daysAbbrvNames=new Array(7);$this.daysAbbrvNames[0]="Sun";$this.daysAbbrvNames[1]="Mon";$this.daysAbbrvNames[2]="Tue";$this.daysAbbrvNames[3]="Wed";$this.daysAbbrvNames[4]="Thu";$this.daysAbbrvNames[5]="Fri";$this.daysAbbrvNames[6]="Sat";$this.daysFullNames=new Array(7);$this.daysFullNames[0]="Sunday";$this.daysFullNames[1]="Monday";$this.daysFullNames[2]="Tuesday";$this.daysFullNames[3]="Wednesday";$this.daysFullNames[4]="Thursday";$this.daysFullNames[5]="Friday";$this.daysFullNames[6]="Saturday";$this.monthsAbbrvNames=new Array(12);$this.monthsAbbrvNames[0]="Jan";$this.monthsAbbrvNames[1]="Feb";$this.monthsAbbrvNames[2]="Mar";$this.monthsAbbrvNames[3]="Apr";$this.monthsAbbrvNames[4]="May";$this.monthsAbbrvNames[5]="Jun";$this.monthsAbbrvNames[6]="Jul";$this.monthsAbbrvNames[7]="Aug";$this.monthsAbbrvNames[8]="Sep";$this.monthsAbbrvNames[9]="Oct";$this.monthsAbbrvNames[10]="Nov";$this.monthsAbbrvNames[11]="Dec";$this.monthsFullNames=new Array(12);$this.monthsFullNames[0]="January";$this.monthsFullNames[1]="February";$this.monthsFullNames[2]="March";$this.monthsFullNames[3]="April";$this.monthsFullNames[4]="May";$this.monthsFullNames[5]="June";$this.monthsFullNames[6]="July";$this.monthsFullNames[7]="August";$this.monthsFullNames[8]="September";$this.monthsFullNames[9]="October";$this.monthsFullNames[10]="November";$this.monthsFullNames[11]="December";A.fn.jclock.startClock($this)})};A.fn.jclock.startClock=function(B){A.fn.jclock.stopClock(B);A.fn.jclock.displayTime(B)};A.fn.jclock.stopClock=function(B){if(B.running){clearTimeout(B.timerID)}B.running=false};A.fn.jclock.displayTime=function(B){var C=A.fn.jclock.getTime(B);B.html(C);B.timerID=setTimeout(function(){A.fn.jclock.displayTime(B)},B.timeout)};A.fn.jclock.getTime=function(K){if(typeof(K.seedTime)=="undefined"){var E=new Date()}else{K.increment+=new Date().getTime()-K.lastCalled;var E=new Date(K.seedTime+K.increment);K.lastCalled=new Date().getTime()}if(K.utc==true){var C=E.getTime();var I=E.getTimezoneOffset()*60000;var J=C+I;var D=J+(3600000*K.utcOffset);E=new Date(D)}var G="";var B=0;var F=0;while((F=K.format.indexOf("%",B))!=-1){G+=K.format.substring(B,F);F++;var H=K.format.charAt(F);H=A.fn.jclock.getProperty(E,K,H);F++;G+=H;B=F}G+=K.format.substring(B);G=G.replace(/(am|AM)/g,"<span class='am'></span>").replace(/(pm|PM)/g,"<span class='pm'></span>").replace(/:/g,"<span class='nc'></span>").replace(/-/g,"<span class='zd'></span>");return G};A.fn.jclock.getProperty=function(E,C,D){switch(D){case"a":s=(C.daysAbbrvNames[E.getDay()]);break;case"A":s=(C.daysFullNames[E.getDay()]);break;case"b":s=(C.monthsAbbrvNames[E.getMonth()]);break;case"B":s=(C.monthsFullNames[E.getMonth()]);break;case"d":s=((E.getDate()<10)?"0":"")+E.getDate();break;case"H":s=((E.getHours()<10)?"0":"")+E.getHours();break;case"I":var B=(E.getHours()%12||12);s=((B<10)?"0":"")+B;break;case"m":s=((E.getMonth()<9)?"0":"")+(E.getMonth()+1);break;case"M":s=((E.getMinutes()<10)?"0":"")+E.getMinutes();break;case"p":s=(E.getHours()<12?"am":"pm");break;case"P":s=(E.getHours()<12?"AM":"PM");break;case"S":s=((E.getSeconds()<10)?"0":"")+E.getSeconds();break;case"y":s=E.getFullYear().toString().substring(2);break;case"Y":s=(E.getFullYear());break;case"%":s="%"}switch(D){case"d":case"m":case"y":case"Y":s=s.toString().replace(/(\d)/g,"<span class='z$1 small'></span>");break;case"H":case"I":case"M":case"S":s=s.toString().replace(/(\d)/g,"<span class='n$1 big'></span>");break}return s};A.fn.jclock.defaults={format:"%I:%M:%S%p %d-%m-%Y",utcOffset:0,utc:false,fontFamily:"",fontSize:"",foreground:"",background:"",seedTime:undefined,timeout:1000}})(jQuery);(function(E){E.cluetip={version:"1.0.6"};var B,A,C,D,G,I,H,K;E.fn.cluetip=function(M,L){if(typeof M=="object"){L=M;M=null}if(M=="destroy"){return this.removeData("thisInfo").unbind(".cluetip")}return this.each(function(r){var l=this,Aa=E(this);var P=E.extend(true,{},E.fn.cluetip.defaults,L||{},E.metadata?Aa.metadata():E.meta?Aa.data():{});var k=false;var W=+P.cluezIndex;Aa.data("thisInfo",{title:l.title,zIndex:W});var O=false,N=0;if(!E("#cluetip").length){E(['<div id="cluetip">','<div id="cluetip-outer">','<h3 id="cluetip-title"></h3>','<div id="cluetip-inner"></div>',"</div>",'<div id="cluetip-extra"></div>','<div id="cluetip-arrows" class="cluetip-arrows"></div>',"</div>"].join(""))[J](F).hide();B=E("#cluetip").css({position:"absolute"});C=E("#cluetip-outer").css({position:"relative",zIndex:W});A=E("#cluetip-inner");D=E("#cluetip-title");G=E("#cluetip-arrows");I=E('<div id="cluetip-waitimage"></div>').css({position:"absolute"}).insertBefore(B).hide()}var b=(P.dropShadow)?+P.dropShadowSteps:0;if(!H){H=E([]);for(var R=0;R<b;R++){H=H.add(E("<div></div>").css({zIndex:W-1,opacity:0.1,top:1+R,left:1+R}))}H.css({position:"absolute",backgroundColor:"#000"}).prependTo(B)}var d=Aa.attr(P.attribute),Z=P.cluetipClass;if(!d&&!P.splitTitle&&!M){return true}if(P.local&&P.localPrefix){d=P.localPrefix+d}if(P.local&&P.hideLocal){E(d+":first").hide()}var z=parseInt(P.topOffset,10),Y=parseInt(P.leftOffset,10);var U,Ab,Ad=isNaN(parseInt(P.height,10))?"auto":(/\D/g).test(P.height)?P.height:P.height+"px";var Q,v,x,q,a,n;var c=parseInt(P.width,10)||275,T=c+(parseInt(B.css("paddingLeft"),10)||0)+(parseInt(B.css("paddingRight"),10)||0)+b,e=this.offsetWidth,g,S,h,u,t;var Ae;var Ac=(P.attribute!="title")?Aa.attr(P.titleAttribute):"";if(P.splitTitle){if(Ac==undefined){Ac=""}Ae=Ac.split(P.splitTitle);Ac=Ae.shift()}if(P.escapeTitle){Ac=Ac.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;")}var m;function y(){return false}var w=function(Aj){if(!P.onActivate(Aa)){return false}O=true;B.removeClass().css({width:c});if(d==Aa.attr("href")){Aa.css("cursor",P.cursor)}if(P.hoverClass){Aa.addClass(P.hoverClass)}v=x=Aa.offset().top;g=Aa.offset().left;u=Aj.pageX;a=Aj.pageY;if(l.tagName.toLowerCase()!="area"){Q=E(document).scrollTop();t=E(window).width()}if(P.positionBy=="fixed"){S=e+g+Y;B.css({left:S})}else{S=(e>g&&g>T)||g+e+T+Y>t?g-T-Y:e+g+Y;if(l.tagName.toLowerCase()=="area"||P.positionBy=="mouse"||e+T>t){if(u+20+T>t){B.addClass(" cluetip-"+Z);S=(u-T-Y)>=0?u-T-Y-parseInt(B.css("marginLeft"),10)+parseInt(A.css("marginRight"),10):u-(T/2)}else{S=u+Y}}var Am=S<0?Aj.pageY+z:Aj.pageY;B.css({left:(S>0&&P.positionBy!="bottomTop")?S:(u+(T/2)>t)?t/2-T/2:Math.max(u-(T/2),0),zIndex:Aa.data("thisInfo").zIndex});G.css({zIndex:Aa.data("thisInfo").zIndex+1})}Ab=E(window).height();if(M){if(typeof M=="function"){M=M.call(l)}A.html(M);V(Am)}else{if(Ae){var Ak=Ae.length;A.html(Ak?Ae[0]:"");if(Ak>1){for(var Af=1;Af<Ak;Af++){A.append('<div class="split-body">'+Ae[Af]+"</div>")}}V(Am)}else{if(!P.local&&d.indexOf("#")!==0){if(/\.(jpe?g|tiff?|gif|png)$/i.test(d)){A.html('<img src="'+d+'" alt="'+Ac+'" />');V(Am)}else{if(k&&P.ajaxCache){A.html(k);V(Am)}else{var Ai=P.ajaxSettings.beforeSend,Ah=P.ajaxSettings.error,Ao=P.ajaxSettings.success,Ag=P.ajaxSettings.complete;var Ap={cache:false,url:d,beforeSend:function(Aq){if(Ai){Ai.call(l,Aq,B,A)}C.children().empty();if(P.waitImage){I.css({top:a+20,left:u+20,zIndex:Aa.data("thisInfo").zIndex-1}).show()}},error:function(Ar,Aq){if(O){if(Ah){Ah.call(l,Ar,Aq,B,A)}else{A.html("<i>sorry, the contents could not be loaded</i>")}}},success:function(Ar,Aq){k=P.ajaxProcess.call(l,Ar);if(O){if(Ao){Ao.call(l,Ar,Aq,B,A)}A.html(k)}},complete:function(At,Aq){if(Ag){Ag.call(l,At,Aq,B,A)}var Ar=A[0].getElementsByTagName("img");K=Ar.length;for(var As=0,Au=Ar.length;As<Au;As++){if(Ar[As].complete){K--}}if(K&&!E.browser.opera){E(Ar).bind("load error",function(){K--;if(K<1){I.hide();if(O){V(Am)}}})}else{I.hide();if(O){V(Am)}}}};var Al=E.extend(true,{},P.ajaxSettings,Ap);E.ajax(Al)}}}else{if(P.local){var An=E(d+(/#\S+$/.test(d)?"":":eq("+r+")")).clone(true).show();A.html(An);V(Am)}}}}};var V=function(Ag){B.addClass("cluetip-"+Z);if(P.truncate){var Aj=A.text().slice(0,P.truncate)+"...";A.html(Aj)}function Ai(){}Ac?D.show().html(Ac):(P.showTitle)?D.show().html("&nbsp;"):D.hide();if(P.sticky){var Ak=E('<div id="cluetip-close"><a href="#">'+P.closeText+"</a></div>");(P.closePosition=="bottom")?Ak.appendTo(A):(P.closePosition=="title")?Ak.prependTo(D):Ak.prependTo(A);Ak.bind("click.cluetip",function(){f();return false});if(P.mouseOutClose){B.bind("mouseleave.cluetip",function(){f()})}else{B.unbind("mouseleave.cluetip")}}var Ah="";C.css({zIndex:Aa.data("thisInfo").zIndex,overflow:Ad=="auto"?"visible":"auto",height:Ad});U=Ad=="auto"?Math.max(B.outerHeight(),B.height()):parseInt(Ad,10);q=x;n=Q+Ab;if(P.positionBy=="fixed"){q=x-P.dropShadowSteps+z}else{if((S<u&&Math.max(S,0)+T>u)||P.positionBy=="bottomTop"){if(x+U+z>n&&a-Q>U+z){q=a-U-z;Ah="top"}else{q=a+z;Ah="bottom"}}else{if(x+U+z>n){q=(U>=Ab)?Q:n-U-z}else{if(Aa.css("display")=="block"||l.tagName.toLowerCase()=="area"||P.positionBy=="mouse"){q=Ag-z}else{q=x-P.dropShadowSteps}}}}if(Ah==""){S<g?Ah="left":Ah="right"}B.css({top:q+"px"}).removeClass().addClass("clue-"+Ah+"-"+Z).addClass(" cluetip-"+Z);if(P.arrows){var Af=(x-q-P.dropShadowSteps);G.css({top:(/(left|right)/.test(Ah)&&S>=0&&Af>0)?Af+"px":/(left|right)/.test(Ah)?0:""}).show()}else{G.hide()}H.hide();B.hide()[P.fx.open](P.fx.openSpeed||0);if(P.dropShadow){H.css({height:U,width:c,zIndex:Aa.data("thisInfo").zIndex-1}).show()}if(E.fn.bgiframe){B.bgiframe()}if(P.delayedClose>0){N=setTimeout(f,P.delayedClose)}P.onShow.call(l,B,A)};var X=function(Af){O=false;I.hide();if(!P.sticky||(/click|toggle/).test(P.activation)){f();clearTimeout(N)}if(P.hoverClass){Aa.removeClass(P.hoverClass)}};var f=function(){C.parent().hide().removeClass();P.onHide.call(l,B,A);Aa.removeClass("cluetip-clicked");if(Ac){Aa.attr(P.titleAttribute,Ac)}Aa.css("cursor","");if(P.arrows){G.css({top:""})}};E(document).bind("hideCluetip",function(Af){f()});if((/click|toggle/).test(P.activation)){Aa.bind("click.cluetip",function(Af){if(B.is(":hidden")||!Aa.is(".cluetip-clicked")){w(Af);E(".cluetip-clicked").removeClass("cluetip-clicked");Aa.addClass("cluetip-clicked")}else{X(Af)}this.blur();return false})}else{if(P.activation=="focus"){Aa.bind("focus.cluetip",function(Af){w(Af)});Aa.bind("blur.cluetip",function(Af){X(Af)})}else{Aa[P.clickThrough?"unbind":"bind"]("click",y);var o=function(Af){if(P.tracking==true){var Ag=S-Af.pageX;var Ah=q?q-Af.pageY:x-Af.pageY;Aa.bind("mousemove.cluetip",function(Ai){B.css({left:Ai.pageX+Ag,top:Ai.pageY+Ah})})}};if(E.fn.hoverIntent&&P.hoverIntent){Aa.hoverIntent({sensitivity:P.hoverIntent.sensitivity,interval:P.hoverIntent.interval,over:function(Af){w(Af);o(Af)},timeout:P.hoverIntent.timeout,out:function(Af){X(Af);Aa.unbind("mousemove.cluetip")}})}else{Aa.bind("mouseenter.cluetip",function(Af){w(Af);o(Af)}).bind("mouseleave.cluetip",function(Af){X(Af);Aa.unbind("mousemove.cluetip")})}Aa.bind("mouseover.cluetip",function(Af){Aa.attr("title","")}).bind("mouseleave.cluetip",function(Af){Aa.attr("title",Aa.data("thisInfo").title)})}}})};E.fn.cluetip.defaults={width:275,height:"auto",cluezIndex:97,positionBy:"auto",topOffset:15,leftOffset:15,local:false,localPrefix:null,hideLocal:true,attribute:"rel",titleAttribute:"title",splitTitle:"",escapeTitle:false,showTitle:true,cluetipClass:"default",hoverClass:"",waitImage:true,cursor:"help",arrows:false,dropShadow:true,dropShadowSteps:6,sticky:false,mouseOutClose:false,activation:"hover",clickThrough:false,tracking:false,delayedClose:0,closePosition:"top",closeText:"Close",truncate:0,fx:{open:"show",openSpeed:""},hoverIntent:{sensitivity:3,interval:50,timeout:0},onActivate:function(L){return true},onShow:function(L,M){},onHide:function(L,M){},ajaxCache:true,ajaxProcess:function(L){L=L.replace(/<(script|style|title)[^<]+<\/(script|style|title)>/gm,"").replace(/<(link|meta)[^>]+>/g,"");return L},ajaxSettings:{dataType:"html"},debug:false};var J="appendTo",F="body";E.cluetip.setup=function(L){if(L&&L.insertionType&&(L.insertionType).match(/appendTo|prependTo|insertBefore|insertAfter/)){J=L.insertionType}if(L&&L.insertionElement){F=L.insertionElement}}})(jQuery);jQuery.ui||(function(D){var A=D.fn.remove,E=D.browser.mozilla&&(parseFloat(D.browser.version)<1.9);D.ui={version:"1.7.2",plugin:{add:function(M,N,K){var J=D.ui[M].prototype;for(var L in K){J.plugins[L]=J.plugins[L]||[];J.plugins[L].push([N,K[L]])}},call:function(L,N,M){var K=L.plugins[N];if(!K||!L.element[0].parentNode){return}for(var J=0;J<K.length;J++){if(L.options[K[J][0]]){K[J][1].apply(L.element,M)}}}},contains:function(K,J){return document.compareDocumentPosition?K.compareDocumentPosition(J)&16:K!==J&&K.contains(J)},hasScroll:function(J,L){if(D(J).css("overflow")=="hidden"){return false}var K=(L&&L=="left")?"scrollLeft":"scrollTop",M=false;if(J[K]>0){return true}J[K]=1;M=(J[K]>0);J[K]=0;return M},isOverAxis:function(K,J,L){return(K>J)&&(K<(J+L))},isOver:function(L,N,K,J,M,O){return D.ui.isOverAxis(L,K,M)&&D.ui.isOverAxis(N,J,O)},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(E){var G=D.attr,F=D.fn.removeAttr,I="http://www.w3.org/2005/07/aaa",B=/^aria-/,C=/^wairole:/;D.attr=function(L,K,M){var J=M!==undefined;return(K=="role"?(J?G.call(this,L,K,"wairole:"+M):(G.apply(this,arguments)||"").replace(C,"")):(B.test(K)?(J?L.setAttributeNS(I,K.replace(B,"aaa:"),M):G.call(this,L,K.replace(B,"aaa:"))):G.apply(this,arguments)))};D.fn.removeAttr=function(J){return(B.test(J)?this.each(function(){this.removeAttributeNS(I,J.replace(B,""))}):F.call(this,J))}}D.fn.extend({remove:function(){D("*",this).add(this).each(function(){D(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((D.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){J=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(D.curCSS(this,"position",1))&&(/(auto|scroll)/).test(D.curCSS(this,"overflow",1)+D.curCSS(this,"overflow-y",1)+D.curCSS(this,"overflow-x",1))}).eq(0)}else{J=this.parents().filter(function(){return(/(auto|scroll)/).test(D.curCSS(this,"overflow",1)+D.curCSS(this,"overflow-y",1)+D.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!J.length?D(document):J}});D.extend(D.expr[":"],{data:function(L,K,J){return !!D.data(L,J[3])},focusable:function(K){var L=K.nodeName.toLowerCase(),J=D.attr(K,"tabindex");return(/input|select|textarea|button|object/.test(L)?!K.disabled:"a"==L||"area"==L?K.href||!isNaN(J):!isNaN(J))&&!D(K)["area"==L?"parents":"closest"](":hidden").length},tabbable:function(K){var J=D.attr(K,"tabindex");return(isNaN(J)||J>=0)&&D(K).is(":focusable")}});function H(J,K,L,O){function N(Q){var P=D[J][K][Q]||[];return(typeof P=="string"?P.split(/,?\s+/):P)}var M=N("getter");if(O.length==1&&typeof O[0]=="string"){M=M.concat(N("getterSetter"))}return(D.inArray(L,M)!=-1)}D.widget=function(K,J){var L=K.split(".")[0];K=K.split(".")[1];D.fn[K]=function(P){var N=(typeof P=="string"),O=Array.prototype.slice.call(arguments,1);if(N&&P.substring(0,1)=="_"){return this}if(N&&H(L,K,P,O)){var M=D.data(this[0],K);return(M?M[P].apply(M,O):undefined)}return this.each(function(){var Q=D.data(this,K);(!Q&&!N&&D.data(this,K,new D[L][K](this,P))._init());(Q&&N&&D.isFunction(Q[P])&&Q[P].apply(Q,O))})};D[L]=D[L]||{};D[L][K]=function(O,N){var M=this;this.namespace=L;this.widgetName=K;this.widgetEventPrefix=D[L][K].eventPrefix||K;this.widgetBaseClass=L+"-"+K;this.options=D.extend({},D.widget.defaults,D[L][K].defaults,D.metadata&&D.metadata.get(O)[K],N);this.element=D(O).bind("setData."+K,function(R,Q,P){if(R.target==O){return M._setData(Q,P)}}).bind("getData."+K,function(Q,P){if(Q.target==O){return M._getData(P)}}).bind("remove",function(){return M.destroy()})};D[L][K].prototype=D.extend({},D.widget.prototype,J);D[L][K].getterSetter="option"};D.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(M,J){var L=M,K=this;if(typeof M=="string"){if(J===undefined){return this._getData(M)}L={};L[M]=J}D.each(L,function(N,O){K._setData(N,O)})},_getData:function(J){return this.options[J]},_setData:function(J,K){this.options[J]=K;if(J=="disabled"){this.element[K?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",K)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(P,J,K){var O=this.options[P],N=(P==this.widgetEventPrefix?P:this.widgetEventPrefix+P);J=D.Event(J);J.type=N;if(J.originalEvent){for(var M=D.event.props.length,L;M;){L=D.event.props[--M];J[L]=J.originalEvent[L]}}this.element.trigger(J,K);return !(D.isFunction(O)&&O.call(this.element[0],J,K)===false||J.isDefaultPrevented())}};D.widget.defaults={disabled:false};D.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(D.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(D.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(M){M.originalEvent=M.originalEvent||{};if(M.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(M));this._mouseDownEvent=M;var L=this,J=(M.which==1),K=(typeof this.options.cancel=="string"?D(M.target).parents().add(M.target).filter(this.options.cancel).length:false);if(!J||K||!this._mouseCapture(M)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){L.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(M)&&this._mouseDelayMet(M)){this._mouseStarted=(this._mouseStart(M)!==false);if(!this._mouseStarted){M.preventDefault();return true}}this._mouseMoveDelegate=function(N){return L._mouseMove(N)};this._mouseUpDelegate=function(N){return L._mouseUp(N)};D(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(D.browser.safari||M.preventDefault());M.originalEvent.mouseHandled=true;return true},_mouseMove:function(J){if(D.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){D(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}};D.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);(function(C){var B={dragStart:"start.draggable",drag:"drag.draggable",dragStop:"stop.draggable",maxHeight:"maxHeight.resizable",minHeight:"minHeight.resizable",maxWidth:"maxWidth.resizable",minWidth:"minWidth.resizable",resizeStart:"start.resizable",resize:"drag.resizable",resizeStop:"stop.resizable"},A="ui-dialog ui-widget ui-widget-content ui-corner-all ";C.widget("ui.dialog",{_init:function(){this.originalTitle=this.element.attr("title");var G=this,H=this.options,E=H.title||this.originalTitle||"&nbsp;",J=C.ui.dialog.getTitleId(this.element),F=(this.uiDialog=C("<div/>")).appendTo(document.body).hide().addClass(A+H.dialogClass).css({position:"absolute",overflow:"hidden",zIndex:H.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(N){(H.closeOnEscape&&N.keyCode&&N.keyCode==C.ui.keyCode.ESCAPE&&G.close(N))}).attr({role:"dialog","aria-labelledby":J}).mousedown(function(N){G.moveToTop(false,N)}),L=this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(F),K=(this.uiDialogTitlebar=C("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(F),D=C('<a href="#"/>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){D.addClass("ui-state-hover")},function(){D.removeClass("ui-state-hover")}).focus(function(){D.addClass("ui-state-focus")}).blur(function(){D.removeClass("ui-state-focus")}).mousedown(function(N){N.stopPropagation()}).click(function(N){G.close(N);return false}).appendTo(K),M=(this.uiDialogTitlebarCloseText=C("<span/>")).addClass("ui-icon ui-icon-closethick").text(H.closeText).appendTo(D),I=C("<span/>").addClass("ui-dialog-title").attr("id",J).html(E).prependTo(K);K.find("*").add(K).disableSelection();(H.draggable&&C.fn.draggable&&this._makeDraggable());(H.resizable&&C.fn.resizable&&this._makeResizable());this._createButtons(H.buttons);this._isOpen=false;(H.bgiframe&&C.fn.bgiframe&&F.bgiframe());(H.autoOpen&&this.open())},destroy:function(){(this.overlay&&this.overlay.destroy());this.uiDialog.hide();this.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");this.uiDialog.remove();(this.originalTitle&&this.element.attr("title",this.originalTitle))},close:function(F){var D=this;if(false===D._trigger("beforeclose",F)){return}(D.overlay&&D.overlay.destroy());D.uiDialog.unbind("keypress.ui-dialog");(D.options.hide?D.uiDialog.hide(D.options.hide,function(){D._trigger("close",F)}):D.uiDialog.hide()&&D._trigger("close",F));C.ui.dialog.overlay.resize();D._isOpen=false;if(D.options.modal){var E=0;C(".ui-dialog").each(function(){if(this!=D.uiDialog[0]){E=Math.max(E,C(this).css("z-index"))}});C.ui.dialog.maxZ=E}},isOpen:function(){return this._isOpen},moveToTop:function(F,E){if((this.options.modal&&!F)||(!this.options.stack&&!this.options.modal)){return this._trigger("focus",E)}if(this.options.zIndex>C.ui.dialog.maxZ){C.ui.dialog.maxZ=this.options.zIndex}(this.overlay&&this.overlay.$el.css("z-index",C.ui.dialog.overlay.maxZ=++C.ui.dialog.maxZ));var D={scrollTop:this.element.attr("scrollTop"),scrollLeft:this.element.attr("scrollLeft")};this.uiDialog.css("z-index",++C.ui.dialog.maxZ);this.element.attr(D);this._trigger("focus",E)},open:function(){if(this._isOpen){return}var E=this.options,D=this.uiDialog;this.overlay=E.modal?new C.ui.dialog.overlay(this):null;(D.next().length&&D.appendTo("body"));this._size();this._position(E.position);D.show(E.show);this.moveToTop(true);(E.modal&&D.bind("keypress.ui-dialog",function(F){if(F.keyCode!=C.ui.keyCode.TAB){return}var I=C(":tabbable",this),G=I.filter(":first")[0],H=I.filter(":last")[0];if(F.target==H&&!F.shiftKey){setTimeout(function(){G.focus()},1)}else{if(F.target==G&&F.shiftKey){setTimeout(function(){H.focus()},1)}}}));C([]).add(D.find(".ui-dialog-content :tabbable:first")).add(D.find(".ui-dialog-buttonpane :tabbable:first")).add(D).filter(":first").focus();this._trigger("open");this._isOpen=true},_createButtons:function(G){var F=this,D=false,E=C("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix");this.uiDialog.find(".ui-dialog-buttonpane").remove();(typeof G=="object"&&G!==null&&C.each(G,function(){return !(D=true)}));if(D){C.each(G,function(H,I){C('<button type="button"></button>').addClass("ui-state-default ui-corner-all").text(H).click(function(){I.apply(F.element[0],arguments)}).hover(function(){C(this).addClass("ui-state-hover")},function(){C(this).removeClass("ui-state-hover")}).focus(function(){C(this).addClass("ui-state-focus")}).blur(function(){C(this).removeClass("ui-state-focus")}).appendTo(E)});E.appendTo(this.uiDialog)}},_makeDraggable:function(){var D=this,F=this.options,E;this.uiDialog.draggable({cancel:".ui-dialog-content",handle:".ui-dialog-titlebar",containment:"document",start:function(){E=F.height;C(this).height(C(this).height()).addClass("ui-dialog-dragging");(F.dragStart&&F.dragStart.apply(D.element[0],arguments))},drag:function(){(F.drag&&F.drag.apply(D.element[0],arguments))},stop:function(){C(this).removeClass("ui-dialog-dragging").height(E);(F.dragStop&&F.dragStop.apply(D.element[0],arguments));C.ui.dialog.overlay.resize()}})},_makeResizable:function(G){G=(G===undefined?this.options.resizable:G);var D=this,F=this.options,E=typeof G=="string"?G:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",alsoResize:this.element,maxWidth:F.maxWidth,maxHeight:F.maxHeight,minWidth:F.minWidth,minHeight:F.minHeight,start:function(){C(this).addClass("ui-dialog-resizing");(F.resizeStart&&F.resizeStart.apply(D.element[0],arguments))},resize:function(){(F.resize&&F.resize.apply(D.element[0],arguments))},handles:E,stop:function(){C(this).removeClass("ui-dialog-resizing");F.height=C(this).height();F.width=C(this).width();(F.resizeStop&&F.resizeStop.apply(D.element[0],arguments));C.ui.dialog.overlay.resize()}}).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_position:function(F){var G=C(window),H=C(document),I=H.scrollTop(),D=H.scrollLeft(),E=I;if(C.inArray(F,["center","top","right","bottom","left"])>=0){F=[F=="right"||F=="left"?F:"center",F=="top"||F=="bottom"?F:"middle"]}if(F.constructor!=Array){F=["center","middle"]}if(F[0].constructor==Number){D+=F[0]}else{switch(F[0]){case"left":D+=0;break;case"right":D+=G.width()-this.uiDialog.outerWidth();break;default:case"center":D+=(G.width()-this.uiDialog.outerWidth())/2}}if(F[1].constructor==Number){I+=F[1]}else{switch(F[1]){case"top":I+=0;break;case"bottom":I+=G.height()-this.uiDialog.outerHeight();break;default:case"middle":I+=(G.height()-this.uiDialog.outerHeight())/2}}I=Math.max(I,E);this.uiDialog.css({top:I,left:D})},_setData:function(E,F){(B[E]&&this.uiDialog.data(B[E],F));switch(E){case"buttons":this._createButtons(F);break;case"closeText":this.uiDialogTitlebarCloseText.text(F);break;case"dialogClass":this.uiDialog.removeClass(this.options.dialogClass).addClass(A+F);break;case"draggable":(F?this._makeDraggable():this.uiDialog.draggable("destroy"));break;case"height":this.uiDialog.height(F);break;case"position":this._position(F);break;case"resizable":var D=this.uiDialog,G=this.uiDialog.is(":data(resizable)");(G&&!F&&D.resizable("destroy"));(G&&typeof F=="string"&&D.resizable("option","handles",F));(G||this._makeResizable(F));break;case"title":C(".ui-dialog-title",this.uiDialogTitlebar).html(F||"&nbsp;");break;case"width":this.uiDialog.width(F);break}C.widget.prototype._setData.apply(this,arguments)},_size:function(){var E=this.options;this.element.css({height:0,minHeight:0,width:"auto"});var D=this.uiDialog.css({height:"auto",width:E.width}).height();this.element.css({minHeight:Math.max(E.minHeight-D,0),height:E.height=="auto"?"auto":Math.max(E.height-D,0)})}});C.extend(C.ui.dialog,{version:"1.7.2",defaults:{autoOpen:true,bgiframe:false,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:"center",resizable:true,show:null,stack:true,title:"",width:300,zIndex:1000},getter:"isOpen",uuid:0,maxZ:0,getTitleId:function(D){return"ui-dialog-title-"+(D.attr("id")||++this.uuid)},overlay:function(D){this.$el=C.ui.dialog.overlay.create(D)}});C.extend(C.ui.dialog.overlay,{instances:[],maxZ:0,events:C.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(D){return D+".dialog-overlay"}).join(" "),create:function(E){if(this.instances.length===0){setTimeout(function(){if(C.ui.dialog.overlay.instances.length){C(document).bind(C.ui.dialog.overlay.events,function(F){var G=C(F.target).parents(".ui-dialog").css("zIndex")||0;return(G>C.ui.dialog.overlay.maxZ)})}},1);C(document).bind("keydown.dialog-overlay",function(F){(E.options.closeOnEscape&&F.keyCode&&F.keyCode==C.ui.keyCode.ESCAPE&&E.close(F))});C(window).bind("resize.dialog-overlay",C.ui.dialog.overlay.resize)}var D=C("<div></div>").appendTo(document.body).addClass("ui-widget-overlay").css({width:this.width(),height:this.height()});(E.options.bgiframe&&C.fn.bgiframe&&D.bgiframe());this.instances.push(D);return D},destroy:function(D){this.instances.splice(C.inArray(this.instances,D),1);if(this.instances.length===0){C([document,window]).unbind(".dialog-overlay")}D.remove();var E=0;C.each(this.instances,function(){E=Math.max(E,this.css("z-index"))});this.maxZ=E},height:function(){if(C.browser.msie&&C.browser.version<7){var E=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);var D=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);if(E<D){return C(window).height()+"px"}else{return E+"px"}}else{return C(document).height()+"px"}},width:function(){if(C.browser.msie&&C.browser.version<7){var D=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);var E=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);if(D<E){return C(window).width()+"px"}else{return D+"px"}}else{return C(document).width()+"px"}},resize:function(){var D=C([]);C.each(C.ui.dialog.overlay.instances,function(){D=D.add(this)});D.css({width:0,height:0}).css({width:C.ui.dialog.overlay.width(),height:C.ui.dialog.overlay.height()})}});C.extend(C.ui.dialog.overlay.prototype,{destroy:function(){C.ui.dialog.overlay.destroy(this.$el)}})})(jQuery);
