(function(){var W=this,ab,F=W.jQuery,S=W.$,T=W.jQuery=W.$=function(b,a){return new T.fn.init(b,a)},M=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,ac=/^.[^:#\[\.,]*$/;T.fn=T.prototype={init:function(e,b){e=e||document;if(e.nodeType){this[0]=e;this.length=1;this.context=e;return this}if(typeof e==="string"){var c=M.exec(e);if(c&&(c[1]||!b)){if(c[1]){e=T.clean([c[1]],b)}else{var a=document.getElementById(c[3]);if(a&&a.id!=c[3]){return T().find(e)}var d=T(a||[]);d.context=document;d.selector=e;return d}}else{return T(b).find(e)}}else{if(T.isFunction(e)){return T(document).ready(e)}}if(e.selector&&e.context){this.selector=e.selector;this.context=e.context}return this.setArray(T.isArray(e)?e:T.makeArray(e))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(a){return a===ab?Array.prototype.slice.call(this):this[a]},pushStack:function(c,a,d){var b=T(c);b.prevObject=this;b.context=this.context;if(a==="find"){b.selector=this.selector+(this.selector?" ":"")+d}else{if(a){b.selector=this.selector+"."+a+"("+d+")"}}return b},setArray:function(a){this.length=0;Array.prototype.push.apply(this,a);return this},each:function(a,b){return T.each(this,a,b)},index:function(a){return T.inArray(a&&a.jquery?a[0]:a,this)},attr:function(c,a,b){var d=c;if(typeof c==="string"){if(a===ab){return this[0]&&T[b||"attr"](this[0],c)}else{d={};d[c]=a}}return this.each(function(e){for(c in d){T.attr(b?this.style:this,c,T.prop(this,d[c],b,e,c))}})},css:function(b,a){if((b=="width"||b=="height")&&parseFloat(a)<0){a=ab}return this.attr(b,a,"curCSS")},text:function(a){if(typeof a!=="object"&&a!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(a))}var b="";T.each(a||this,function(){T.each(this.childNodes,function(){if(this.nodeType!=8){b+=this.nodeType!=1?this.nodeValue:T.fn.text([this])}})});return b},wrapAll:function(b){if(this[0]){var a=T(b,this[0].ownerDocument).clone();if(this[0].parentNode){a.insertBefore(this[0])}a.map(function(){var c=this;while(c.firstChild){c=c.firstChild}return c}).append(this)}return this},wrapInner:function(a){return this.each(function(){T(this).contents().wrapAll(a)})},wrap:function(a){return this.each(function(){T(this).wrapAll(a)})},append:function(){return this.domManip(arguments,true,function(a){if(this.nodeType==1){this.appendChild(a)}})},prepend:function(){return this.domManip(arguments,true,function(a){if(this.nodeType==1){this.insertBefore(a,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this.nextSibling)})},end:function(){return this.prevObject||T([])},push:[].push,sort:[].sort,splice:[].splice,find:function(b){if(this.length===1){var a=this.pushStack([],"find",b);a.length=0;T.find(b,this[0],a);return a}else{return this.pushStack(T.unique(T.map(this,function(c){return T.find(b,c)})),"find",b)}},clone:function(b){var d=this.map(function(){if(!T.support.noCloneEvent&&!T.isXMLDoc(this)){var f=this.outerHTML;if(!f){var e=this.ownerDocument.createElement("div");e.appendChild(this.cloneNode(true));f=e.innerHTML}return T.clean([f.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(b===true){var a=this.find("*").andSelf(),c=0;d.find("*").andSelf().each(function(){if(this.nodeName!==a[c].nodeName){return}var h=T.data(a[c],"events");for(var e in h){for(var f in h[e]){T.event.add(this,e,h[e][f],h[e][f].data)}}c++})}return d},filter:function(a){return this.pushStack(T.isFunction(a)&&T.grep(this,function(b,c){return a.call(b,c)})||T.multiFilter(a,T.grep(this,function(b){return b.nodeType===1})),"filter",a)},closest:function(c){var a=T.expr.match.POS.test(c)?T(c):null,b=0;return this.map(function(){var d=this;while(d&&d.ownerDocument){if(a?a.index(d)>-1:T(d).is(c)){T.data(d,"closest",b);return d}d=d.parentNode;b++}})},not:function(b){if(typeof b==="string"){if(ac.test(b)){return this.pushStack(T.multiFilter(b,this,true),"not",b)}else{b=T.multiFilter(b,this)}}var a=b.length&&b[b.length-1]!==ab&&!b.nodeType;return this.filter(function(){return a?T.inArray(this,b)<0:this!=b})},add:function(a){return this.pushStack(T.unique(T.merge(this.get(),typeof a==="string"?T(a):T.makeArray(a))))},is:function(a){return !!a&&T.multiFilter(a,this).length>0},hasClass:function(a){return !!a&&this.is("."+a)},val:function(c){if(c===ab){var k=this[0];if(k){if(T.nodeName(k,"option")){return(k.attributes.value||{}).specified?k.value:k.text}if(T.nodeName(k,"select")){var e=k.selectedIndex,b=[],a=k.options,f=k.type=="select-one";if(e<0){return null}for(var j=f?e:0,d=f?e+1:a.length;j<d;j++){var h=a[j];if(h.selected){c=T(h).val();if(f){return c}b.push(c)}}return b}return(k.value||"").replace(/\r/g,"")}return ab}if(typeof c==="number"){c+=""}return this.each(function(){if(this.nodeType!=1){return}if(T.isArray(c)&&/radio|checkbox/.test(this.type)){this.checked=(T.inArray(this.value,c)>=0||T.inArray(this.name,c)>=0)}else{if(T.nodeName(this,"select")){var l=T.makeArray(c);T("option",this).each(function(){this.selected=(T.inArray(this.value,l)>=0||T.inArray(this.text,l)>=0)});if(!l.length){this.selectedIndex=-1}}else{this.value=c}}})},html:function(a){return a===ab?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(a)},replaceWith:function(a){return this.after(a).remove()},eq:function(a){return this.slice(a,+a+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(a){return this.pushStack(T.map(this,function(b,c){return a.call(b,c,b)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(d,a,b){if(this[0]){var e=(this[0].ownerDocument||this[0]).createDocumentFragment(),j=T.clean(d,(this[0].ownerDocument||this[0]),e),f=e.firstChild;if(f){for(var h=0,k=this.length;h<k;h++){b.call(c(this[h],f),this.length>1||h>0?e.cloneNode(true):e)}}if(j){T.each(j,E)}}return this;function c(m,l){return a&&T.nodeName(m,"table")&&T.nodeName(l,"tr")?(m.getElementsByTagName("tbody")[0]||m.appendChild(m.ownerDocument.createElement("tbody"))):m}}};T.fn.init.prototype=T.fn;function E(b,a){if(a.src){T.ajax({url:a.src,async:false,dataType:"script"})}else{T.globalEval(a.text||a.textContent||a.innerHTML||"")}if(a.parentNode){a.parentNode.removeChild(a)}}function ad(){return +new Date}T.extend=T.fn.extend=function(){var c=arguments[0]||{},e=1,d=arguments.length,j=false,f;if(typeof c==="boolean"){j=c;c=arguments[1]||{};e=2}if(typeof c!=="object"&&!T.isFunction(c)){c={}}if(d==e){c=this;--e}for(;e<d;e++){if((f=arguments[e])!=null){for(var h in f){var b=c[h],a=f[h];if(c===a){continue}if(j&&a&&typeof a==="object"&&!a.nodeType){c[h]=T.extend(j,b||(a.length!=null?[]:{}),a)}else{if(a!==ab){c[h]=a}}}}}return c};var ag=/z-?index|font-?weight|opacity|zoom|line-?height/i,Q=document.defaultView||{},L=Object.prototype.toString;T.extend({noConflict:function(a){W.$=S;if(a){W.jQuery=F}return T},isFunction:function(a){return L.call(a)==="[object Function]"},isArray:function(a){return L.call(a)==="[object Array]"},isXMLDoc:function(a){return a.nodeType===9&&a.documentElement.nodeName!=="HTML"||!!a.ownerDocument&&T.isXMLDoc(a.ownerDocument)},globalEval:function(a){if(a&&/\S/.test(a)){var b=document.getElementsByTagName("head")[0]||document.documentElement,c=document.createElement("script");c.type="text/javascript";if(T.support.scriptEval){c.appendChild(document.createTextNode(a))}else{c.text=a}b.insertBefore(c,b.firstChild);b.removeChild(c)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()==b.toUpperCase()},each:function(e,a,f){var h,d=0,c=e.length;if(f){if(c===ab){for(h in e){if(a.apply(e[h],f)===false){break}}}else{for(;d<c;){if(a.apply(e[d++],f)===false){break}}}}else{if(c===ab){for(h in e){if(a.call(e[h],h,e[h])===false){break}}}else{for(var b=e[0];d<c&&a.call(b,d,b)!==false;b=e[++d]){}}}return e},prop:function(b,a,c,d,e){if(T.isFunction(a)){a=a.call(b,d)}return typeof a==="number"&&c=="curCSS"&&!ag.test(e)?a+"px":a},className:{add:function(b,a){T.each((a||"").split(/\s+/),function(d,c){if(b.nodeType==1&&!T.className.has(b.className,c)){b.className+=(b.className?" ":"")+c}})},remove:function(b,a){if(b.nodeType==1){b.className=a!==ab?T.grep(b.className.split(/\s+/),function(c){return !T.className.has(a,c)}).join(" "):""}},has:function(a,b){return a&&T.inArray(b,(a.className||a).toString().split(/\s+/))>-1}},swap:function(b,c,a){var e={};for(var d in c){e[d]=b.style[d];b.style[d]=c[d]}a.call(b);for(var d in c){b.style[d]=e[d]}},css:function(e,h,c,j){if(h=="width"||h=="height"){var a,f={position:"absolute",visibility:"hidden",display:"block"},b=h=="width"?["Left","Right"]:["Top","Bottom"];function d(){a=h=="width"?e.offsetWidth:e.offsetHeight;if(j==="border"){return}T.each(b,function(){if(!j){a-=parseFloat(T.curCSS(e,"padding"+this,true))||0}if(j==="margin"){a+=parseFloat(T.curCSS(e,"margin"+this,true))||0}else{a-=parseFloat(T.curCSS(e,"border"+this+"Width",true))||0}})}if(e.offsetWidth!==0){d()}else{T.swap(e,f,d)}return Math.max(0,Math.round(a))}return T.curCSS(e,h,c)},curCSS:function(e,j,h){var b,k=e.style;if(j=="opacity"&&!T.support.opacity){b=T.attr(k,"opacity");return b==""?"1":b}if(j.match(/float/i)){j=H}if(!h&&k&&k[j]){b=k[j]}else{if(Q.getComputedStyle){if(j.match(/float/i)){j="float"}j=j.replace(/([A-Z])/g,"-$1").toLowerCase();var a=Q.getComputedStyle(e,null);if(a){b=a.getPropertyValue(j)}if(j=="opacity"&&b==""){b="1"}}else{if(e.currentStyle){var d=j.replace(/\-(\w)/g,function(m,l){return l.toUpperCase()});b=e.currentStyle[j]||e.currentStyle[d];if(!/^\d+(px)?$/i.test(b)&&/^\d/.test(b)){var f=k.left,c=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left;k.left=b||0;b=k.pixelLeft+"px";k.left=f;e.runtimeStyle.left=c}}}}return b},clean:function(h,b,d){b=b||document;if(typeof b.createElement==="undefined"){b=b.ownerDocument||b[0]&&b[0].ownerDocument||document}if(!d&&h.length===1&&typeof h[0]==="string"){var e=/^<(\w+)\s*\/?>$/.exec(h[0]);if(e){return[b.createElement(e[1])]}}var f=[],j=[],a=b.createElement("div");T.each(h,function(n,k){if(typeof k==="number"){k+=""}if(!k){return}if(typeof k==="string"){k=k.replace(/(<(\w+)[^>]*?)\/>/g,function(u,t,v){return v.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?u:t+"></"+v+">"});var o=k.replace(/^\s+/,"").substring(0,10).toLowerCase();var m=!o.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!o.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||o.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!o.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!o.indexOf("<td")||!o.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!o.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!T.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];a.innerHTML=m[1]+k+m[2];while(m[0]--){a=a.lastChild}if(!T.support.tbody){var l=/<tbody/i.test(k),q=!o.indexOf("<table")&&!l?a.firstChild&&a.firstChild.childNodes:m[1]=="<table>"&&!l?a.childNodes:[];for(var s=q.length-1;s>=0;--s){if(T.nodeName(q[s],"tbody")&&!q[s].childNodes.length){q[s].parentNode.removeChild(q[s])}}}if(!T.support.leadingWhitespace&&/^\s/.test(k)){a.insertBefore(b.createTextNode(k.match(/^\s*/)[0]),a.firstChild)}k=T.makeArray(a.childNodes)}if(k.nodeType){f.push(k)}else{f=T.merge(f,k)}});if(d){for(var c=0;f[c];c++){if(T.nodeName(f[c],"script")&&(!f[c].type||f[c].type.toLowerCase()==="text/javascript")){j.push(f[c].parentNode?f[c].parentNode.removeChild(f[c]):f[c])}else{if(f[c].nodeType===1){f.splice.apply(f,[c+1,0].concat(T.makeArray(f[c].getElementsByTagName("script"))))}d.appendChild(f[c])}}return j}return f},attr:function(c,f,b){if(!c||c.nodeType==3||c.nodeType==8){return ab}var e=!T.isXMLDoc(c),a=b!==ab;f=e&&T.props[f]||f;if(c.tagName){var h=/href|src|style/.test(f);if(f=="selected"&&c.parentNode){c.parentNode.selectedIndex}if(f in c&&e&&!h){if(a){if(f=="type"&&T.nodeName(c,"input")&&c.parentNode){throw"type property can't be changed"}c[f]=b}if(T.nodeName(c,"form")&&c.getAttributeNode(f)){return c.getAttributeNode(f).nodeValue}if(f=="tabIndex"){var d=c.getAttributeNode("tabIndex");return d&&d.specified?d.value:c.nodeName.match(/(button|input|object|select|textarea)/i)?0:c.nodeName.match(/^(a|area)$/i)&&c.href?0:ab}return c[f]}if(!T.support.style&&e&&f=="style"){return T.attr(c.style,"cssText",b)}if(a){c.setAttribute(f,""+b)}var j=!T.support.hrefNormalized&&e&&h?c.getAttribute(f,2):c.getAttribute(f);return j===null?ab:j}if(!T.support.opacity&&f=="opacity"){if(a){c.zoom=1;c.filter=(c.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(b)+""=="NaN"?"":"alpha(opacity="+b*100+")")}return c.filter&&c.filter.indexOf("opacity=")>=0?(parseFloat(c.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}f=f.replace(/-([a-z])/ig,function(l,k){return k.toUpperCase()});if(a){c[f]=b}return c[f]},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"")},makeArray:function(a){var c=[];if(a!=null){var b=a.length;if(b==null||typeof a==="string"||T.isFunction(a)||a.setInterval){c[0]=a}else{while(b){c[--b]=a[b]}}}return c},inArray:function(b,a){for(var d=0,c=a.length;d<c;d++){if(a[d]===b){return d}}return -1},merge:function(b,e){var d=0,c,a=b.length;if(!T.support.getAll){while((c=e[d++])!=null){if(c.nodeType!=8){b[a++]=c}}}else{while((c=e[d++])!=null){b[a++]=c}}return b},unique:function(a){var f=[],h={};try{for(var e=0,d=a.length;e<d;e++){var b=T.data(a[e]);if(!h[b]){h[b]=true;f.push(a[e])}}}catch(c){f=a}return f},grep:function(e,a,f){var d=[];for(var c=0,b=e.length;c<b;c++){if(!f!=!a(e[c],c)){d.push(e[c])}}return d},map:function(f,a){var e=[];for(var d=0,c=f.length;d<c;d++){var b=a(f[d],d);if(b!=null){e[e.length]=b}}return e.concat.apply([],e)}});var O=navigator.userAgent.toLowerCase();T.browser={version:(O.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(O),opera:/opera/.test(O),msie:/msie/.test(O)&&!/opera/.test(O),mozilla:/mozilla/.test(O)&&!/(compatible|webkit)/.test(O)};T.each({parent:function(a){return a.parentNode},parents:function(a){return T.dir(a,"parentNode")},next:function(a){return T.nth(a,2,"nextSibling")},prev:function(a){return T.nth(a,2,"previousSibling")},nextAll:function(a){return T.dir(a,"nextSibling")},prevAll:function(a){return T.dir(a,"previousSibling")},siblings:function(a){return T.sibling(a.parentNode.firstChild,a)},children:function(a){return T.sibling(a.firstChild)},contents:function(a){return T.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:T.makeArray(a.childNodes)}},function(b,a){T.fn[b]=function(d){var c=T.map(this,a);if(d&&typeof d=="string"){c=T.multiFilter(d,c)}return this.pushStack(T.unique(c),b,d)}});T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,a){T.fn[b]=function(j){var e=[],c=T(j);for(var d=0,h=c.length;d<h;d++){var f=(d>0?this.clone(true):this).get();T.fn[a].apply(T(c[d]),f);e=e.concat(f)}return this.pushStack(e,b,j)}});T.each({removeAttr:function(a){T.attr(this,a,"");if(this.nodeType==1){this.removeAttribute(a)}},addClass:function(a){T.className.add(this,a)},removeClass:function(a){T.className.remove(this,a)},toggleClass:function(a,b){if(typeof b!=="boolean"){b=!T.className.has(this,a)}T.className[b?"add":"remove"](this,a)},remove:function(a){if(!a||T.filter(a,[this]).length){T("*",this).add([this]).each(function(){T.event.remove(this);T.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){T(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(b,a){T.fn[b]=function(){return this.each(a,arguments)}});function Y(b,a){return b[0]&&parseInt(T.curCSS(b[0],a,true),10)||0}var aa="jQuery"+ad(),I=0,R={};T.extend({cache:{},data:function(c,d,b){c=c==W?R:c;var a=c[aa];if(!a){a=c[aa]=++I}if(d&&!T.cache[a]){T.cache[a]={}}if(b!==ab){T.cache[a][d]=b}return d?T.cache[a][d]:a},removeData:function(c,d){c=c==W?R:c;var a=c[aa];if(d){if(T.cache[a]){delete T.cache[a][d];d="";for(d in T.cache[a]){break}if(!d){T.removeData(c)}}}else{try{delete c[aa]}catch(b){if(c.removeAttribute){c.removeAttribute(aa)}}delete T.cache[a]}},queue:function(c,d,a){if(c){d=(d||"fx")+"queue";var b=T.data(c,d);if(!b||T.isArray(a)){b=T.data(c,d,T.makeArray(a))}else{if(a){b.push(a)}}}return b},dequeue:function(a,b){var d=T.queue(a,b),c=d.shift();if(!b||b==="fx"){c=d[0]}if(c!==ab){c.call(a)}}});T.fn.extend({data:function(d,b){var a=d.split(".");a[1]=a[1]?"."+a[1]:"";if(b===ab){var c=this.triggerHandler("getData"+a[1]+"!",[a[0]]);if(c===ab&&this.length){c=T.data(this[0],d)}return c===ab&&a[1]?this.data(a[0]):c}else{return this.trigger("setData"+a[1]+"!",[a[0],b]).each(function(){T.data(this,d,b)})}},removeData:function(a){return this.each(function(){T.removeData(this,a)})},queue:function(b,a){if(typeof b!=="string"){a=b;b="fx"}if(a===ab){return T.queue(this[0],b)}return this.each(function(){var c=T.queue(this,b,a);if(b=="fx"&&c.length==1){c[0].call(this)}})},dequeue:function(a){return this.each(function(){T.dequeue(this,a)})}});(function(){var b=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,j=0,n=Object.prototype.toString;var q=function(v,z,am,al){am=am||[];z=z||document;if(z.nodeType!==1&&z.nodeType!==9){return[]}if(!v||typeof v!=="string"){return am}var u=[],x,ai,B,A,ak,y,w=true;b.lastIndex=0;while((x=b.exec(v))!==null){u.push(x[1]);if(x[2]){y=RegExp.rightContext;break}}if(u.length>1&&h.exec(v)){if(u.length===2&&m.relative[u[0]]){ai=l(u[0]+u[1],z)}else{ai=m.relative[u[0]]?[z]:q(u.shift(),z);while(u.length){v=u.shift();if(m.relative[v]){v+=u.shift()}ai=l(v,ai)}}}else{var aj=al?{expr:u.pop(),set:s(al)}:q.find(u.pop(),u.length===1&&z.parentNode?z.parentNode:z,c(z));ai=q.filter(aj.expr,aj.set);if(u.length>0){B=s(ai)}else{w=false}while(u.length){var C=u.pop(),D=C;if(!m.relative[C]){C=""}else{D=u.pop()}if(D==null){D=z}m.relative[C](B,D,c(z))}}if(!B){B=ai}if(!B){throw"Syntax error, unrecognized expression: "+(C||v)}if(n.call(B)==="[object Array]"){if(!w){am.push.apply(am,B)}else{if(z.nodeType===1){for(var t=0;B[t]!=null;t++){if(B[t]&&(B[t]===true||B[t].nodeType===1&&k(z,B[t]))){am.push(ai[t])}}}else{for(var t=0;B[t]!=null;t++){if(B[t]&&B[t].nodeType===1){am.push(ai[t])}}}}}else{s(B,am)}if(y){q(y,z,am,al);if(o){hasDuplicate=false;am.sort(o);if(hasDuplicate){for(var t=1;t<am.length;t++){if(am[t]===am[t-1]){am.splice(t--,1)}}}}}return am};q.matches=function(u,t){return q(u,null,null,t)};q.find=function(t,A,B){var u,w;if(!t){return[]}for(var x=0,y=m.order.length;x<y;x++){var v=m.order[x],w;if((w=m.match[v].exec(t))){var z=RegExp.leftContext;if(z.substr(z.length-1)!=="\\"){w[1]=(w[1]||"").replace(/\\/g,"");u=m.find[v](w,A,B);if(u!=null){t=t.replace(m.match[v],"");break}}}}if(!u){u=A.getElementsByTagName("*")}return{set:u,expr:t}};q.filter=function(ak,al,D,x){var y=ak,B=[],t=al,v,A,u=al&&al[0]&&c(al[0]);while(ak&&al.length){for(var am in m.filter){if((v=m.match[am].exec(ak))!=null){var z=m.filter[am],C,ai;A=false;if(t==B){B=[]}if(m.preFilter[am]){v=m.preFilter[am](v,t,D,B,x,u);if(!v){A=C=true}else{if(v===true){continue}}}if(v){for(var w=0;(ai=t[w])!=null;w++){if(ai){C=z(ai,v,w,t);var aj=x^!!C;if(D&&C!=null){if(aj){A=true}else{t[w]=false}}else{if(aj){B.push(ai);A=true}}}}}if(C!==ab){if(!D){t=B}ak=ak.replace(m.match[am],"");if(!A){return[]}break}}}if(ak==y){if(A==null){throw"Syntax error, unrecognized expression: "+ak}else{break}}y=ak}return t};var m=q.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(t){return t.getAttribute("href")}},relative:{"+":function(t,A,u){var w=typeof A==="string",B=w&&!/\W/.test(A),v=w&&!B;if(B&&!u){A=A.toUpperCase()}for(var x=0,y=t.length,z;x<y;x++){if((z=t[x])){while((z=z.previousSibling)&&z.nodeType!==1){}t[x]=v||z&&z.nodeName===A?z||false:z===A}}if(v){q.filter(A,t,true)}},">":function(y,v,x){var A=typeof v==="string";if(A&&!/\W/.test(v)){v=x?v:v.toUpperCase();for(var u=0,w=y.length;u<w;u++){var z=y[u];if(z){var t=z.parentNode;y[u]=t.nodeName===v?t:false}}}else{for(var u=0,w=y.length;u<w;u++){var z=y[u];if(z){y[u]=A?z.parentNode:z.parentNode===v}}if(A){q.filter(v,y,true)}}},"":function(t,v,x){var u=j++,w=a;if(!v.match(/\W/)){var y=v=x?v:v.toUpperCase();w=d}w("parentNode",v,u,t,y,x)},"~":function(t,v,x){var u=j++,w=a;if(typeof v==="string"&&!v.match(/\W/)){var y=v=x?v:v.toUpperCase();w=d}w("previousSibling",v,u,t,y,x)}},find:{ID:function(v,u,t){if(typeof u.getElementById!=="undefined"&&!t){var w=u.getElementById(v[1]);return w?[w]:[]}},NAME:function(u,y,x){if(typeof y.getElementsByName!=="undefined"){var v=[],z=y.getElementsByName(u[1]);for(var t=0,w=z.length;t<w;t++){if(z[t].getAttribute("name")===u[1]){v.push(z[t])}}return v.length===0?null:v}},TAG:function(u,t){return t.getElementsByTagName(u[1])}},preFilter:{CLASS:function(t,v,u,w,y,x){t=" "+t[1].replace(/\\/g,"")+" ";if(x){return t}for(var A=0,z;(z=v[A])!=null;A++){if(z){if(y^(z.className&&(" "+z.className+" ").indexOf(t)>=0)){if(!u){w.push(z)}}else{if(u){v[A]=false}}}}return false},ID:function(t){return t[1].replace(/\\/g,"")},TAG:function(u,v){for(var t=0;v[t]===false;t++){}return v[t]&&c(v[t])?u[1]:u[1].toUpperCase()},CHILD:function(u){if(u[1]=="nth"){var t=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(u[2]=="even"&&"2n"||u[2]=="odd"&&"2n+1"||!/\D/.test(u[2])&&"0n+"+u[2]||u[2]);u[2]=(t[1]+(t[2]||1))-0;u[3]=t[3]-0}u[0]=j++;return u},ATTR:function(z,v,u,w,y,x){var t=z[1].replace(/\\/g,"");if(!x&&m.attrMap[t]){z[1]=m.attrMap[t]}if(z[2]==="~="){z[4]=" "+z[4]+" "}return z},PSEUDO:function(y,v,u,w,x){if(y[1]==="not"){if(y[3].match(b).length>1||/^\w/.test(y[3])){y[3]=q(y[3],null,null,v)}else{var t=q.filter(y[3],v,u,true^x);if(!u){w.push.apply(w,t)}return false}}else{if(m.match.POS.test(y[0])||m.match.CHILD.test(y[0])){return true}}return y},POS:function(t){t.unshift(true);return t}},filters:{enabled:function(t){return t.disabled===false&&t.type!=="hidden"},disabled:function(t){return t.disabled===true},checked:function(t){return t.checked===true},selected:function(t){t.parentNode.selectedIndex;return t.selected===true},parent:function(t){return !!t.firstChild},empty:function(t){return !t.firstChild},has:function(t,u,v){return !!q(v[3],t).length},header:function(t){return/h\d/i.test(t.nodeName)},text:function(t){return"text"===t.type},radio:function(t){return"radio"===t.type},checkbox:function(t){return"checkbox"===t.type},file:function(t){return"file"===t.type},password:function(t){return"password"===t.type},submit:function(t){return"submit"===t.type},image:function(t){return"image"===t.type},reset:function(t){return"reset"===t.type},button:function(t){return"button"===t.type||t.nodeName.toUpperCase()==="BUTTON"},input:function(t){return/input|select|textarea|button/i.test(t.nodeName)}},setFilters:{first:function(t,u){return u===0},last:function(u,v,w,t){return v===t.length-1},even:function(t,u){return u%2===0},odd:function(t,u){return u%2===1},lt:function(t,u,v){return u<v[3]-0},gt:function(t,u,v){return u>v[3]-0},nth:function(t,u,v){return v[3]-0==u},eq:function(t,u,v){return v[3]-0==u}},filter:{PSEUDO:function(y,u,t,x){var v=u[1],A=m.filters[v];if(A){return A(y,t,u,x)}else{if(v==="contains"){return(y.textContent||y.innerText||"").indexOf(u[3])>=0}else{if(v==="not"){var z=u[3];for(var t=0,w=z.length;t<w;t++){if(z[t]===y){return false}}return true}}}},CHILD:function(A,x){var u=x[1],z=A;switch(u){case"only":case"first":while(z=z.previousSibling){if(z.nodeType===1){return false}}if(u=="first"){return true}z=A;case"last":while(z=z.nextSibling){if(z.nodeType===1){return false}}return true;case"nth":var y=x[2],B=x[3];if(y==1&&B==0){return true}var v=x[0],C=A.parentNode;if(C&&(C.sizcache!==v||!A.nodeIndex)){var w=0;for(z=C.firstChild;z;z=z.nextSibling){if(z.nodeType===1){z.nodeIndex=++w}}C.sizcache=v}var t=A.nodeIndex-B;if(y==0){return t==0}else{return(t%y==0&&t/y>=0)}}},ID:function(t,u){return t.nodeType===1&&t.getAttribute("id")===u},TAG:function(t,u){return(u==="*"&&t.nodeType===1)||t.nodeName===u},CLASS:function(t,u){return(" "+(t.className||t.getAttribute("class"))+" ").indexOf(u)>-1},ATTR:function(y,t){var u=t[1],w=m.attrHandle[u]?m.attrHandle[u](y):y[u]!=null?y[u]:y.getAttribute(u),x=w+"",z=t[2],v=t[4];return w==null?z==="!=":z==="="?x===v:z==="*="?x.indexOf(v)>=0:z==="~="?(" "+x+" ").indexOf(v)>=0:!v?x&&w!==false:z==="!="?x!=v:z==="^="?x.indexOf(v)===0:z==="$="?x.substr(x.length-v.length)===v:z==="|="?x===v||x.substr(0,v.length+1)===v+"-":false},POS:function(y,v,u,x){var w=v[2],t=m.setFilters[w];if(t){return t(y,u,v,x)}}}};var h=m.match.POS;for(var e in m.match){m.match[e]=RegExp(m.match[e].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var s=function(t,u){t=Array.prototype.slice.call(t);if(u){u.push.apply(u,t);return u}return t};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(f){s=function(x,t){var v=t||[];if(n.call(x)==="[object Array]"){Array.prototype.push.apply(v,x)}else{if(typeof x.length==="number"){for(var u=0,w=x.length;u<w;u++){v.push(x[u])}}else{for(var u=0;x[u];u++){v.push(x[u])}}}return v}}var o;if(document.documentElement.compareDocumentPosition){o=function(u,v){var t=u.compareDocumentPosition(v)&4?-1:u===v?0:1;if(t===0){hasDuplicate=true}return t}}else{if("sourceIndex" in document.documentElement){o=function(u,v){var t=u.sourceIndex-v.sourceIndex;if(t===0){hasDuplicate=true}return t}}else{if(document.createRange){o=function(t,v){var u=t.ownerDocument.createRange(),w=v.ownerDocument.createRange();u.selectNode(t);u.collapse(true);w.selectNode(v);w.collapse(true);var x=u.compareBoundaryPoints(Range.START_TO_END,w);if(x===0){hasDuplicate=true}return x}}}}(function(){var u=document.createElement("form"),t="script"+(new Date).getTime();u.innerHTML="<input name='"+t+"'/>";var v=document.documentElement;v.insertBefore(u,v.firstChild);if(!!document.getElementById(t)){m.find.ID=function(z,y,x){if(typeof y.getElementById!=="undefined"&&!x){var w=y.getElementById(z[1]);return w?w.id===z[1]||typeof w.getAttributeNode!=="undefined"&&w.getAttributeNode("id").nodeValue===z[1]?[w]:ab:[]}};m.filter.ID=function(x,w){var y=typeof x.getAttributeNode!=="undefined"&&x.getAttributeNode("id");return x.nodeType===1&&y&&y.nodeValue===w}}v.removeChild(u)})();(function(){var t=document.createElement("div");t.appendChild(document.createComment(""));if(t.getElementsByTagName("*").length>0){m.find.TAG=function(w,x){var y=x.getElementsByTagName(w[1]);if(w[1]==="*"){var u=[];for(var v=0;y[v];v++){if(y[v].nodeType===1){u.push(y[v])}}y=u}return y}}t.innerHTML="<a href='#'></a>";if(t.firstChild&&typeof t.firstChild.getAttribute!=="undefined"&&t.firstChild.getAttribute("href")!=="#"){m.attrHandle.href=function(u){return u.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var u=q,t=document.createElement("div");t.innerHTML="<p class='TEST'></p>";if(t.querySelectorAll&&t.querySelectorAll(".TEST").length===0){return}q=function(y,z,w,v){z=z||document;if(!v&&z.nodeType===9&&!c(z)){try{return s(z.querySelectorAll(y),w)}catch(x){}}return u(y,z,w,v)};q.find=u.find;q.filter=u.filter;q.selectors=u.selectors;q.matches=u.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var t=document.createElement("div");t.innerHTML="<div class='test e'></div><div class='test'></div>";if(t.getElementsByClassName("e").length===0){return}t.lastChild.className="e";if(t.getElementsByClassName("e").length===1){return}m.order.splice(1,0,"CLASS");m.find.CLASS=function(w,v,u){if(typeof v.getElementsByClassName!=="undefined"&&!u){return v.getElementsByClassName(w[1])}}})()}function d(z,u,v,B,t,C){var D=z=="previousSibling"&&!C;for(var x=0,y=B.length;x<y;x++){var A=B[x];if(A){if(D&&A.nodeType===1){A.sizcache=v;A.sizset=x}A=A[z];var w=false;while(A){if(A.sizcache===v){w=B[A.sizset];break}if(A.nodeType===1&&!C){A.sizcache=v;A.sizset=x}if(A.nodeName===u){w=A;break}A=A[z]}B[x]=w}}}function a(z,u,v,B,t,C){var D=z=="previousSibling"&&!C;for(var x=0,y=B.length;x<y;x++){var A=B[x];if(A){if(D&&A.nodeType===1){A.sizcache=v;A.sizset=x}A=A[z];var w=false;while(A){if(A.sizcache===v){w=B[A.sizset];break}if(A.nodeType===1){if(!C){A.sizcache=v;A.sizset=x}if(typeof u!=="string"){if(A===u){w=true;break}}else{if(q.filter(u,[A]).length>0){w=A;break}}}A=A[z]}B[x]=w}}}var k=document.compareDocumentPosition?function(t,u){return t.compareDocumentPosition(u)&16}:function(t,u){return t!==u&&(t.contains?t.contains(u):true)};var c=function(t){return t.nodeType===9&&t.documentElement.nodeName!=="HTML"||!!t.ownerDocument&&c(t.ownerDocument)};var l=function(w,y){var t=[],A="",z,u=y.nodeType?[y]:y;while((z=m.match.PSEUDO.exec(w))){A+=z[0];w=w.replace(m.match.PSEUDO,"")}w=m.relative[w]?w+"*":w;for(var x=0,v=u.length;x<v;x++){q(w,u[x],t)}return q.filter(A,t)};T.find=q;T.filter=q.filter;T.expr=q.selectors;T.expr[":"]=T.expr.filters;q.selectors.filters.hidden=function(t){return t.offsetWidth===0||t.offsetHeight===0};q.selectors.filters.visible=function(t){return t.offsetWidth>0||t.offsetHeight>0};q.selectors.filters.animated=function(t){return T.grep(T.timers,function(u){return t===u.elem}).length};T.multiFilter=function(t,v,u){if(u){t=":not("+t+")"}return q.matches(t,v)};T.dir=function(u,v){var w=[],t=u[v];while(t&&t!=document){if(t.nodeType==1){w.push(t)}t=t[v]}return w};T.nth=function(x,w,u,t){w=w||1;var v=0;for(;x;x=x[u]){if(x.nodeType==1&&++v==w){break}}return x};T.sibling=function(t,u){var v=[];for(;t;t=t.nextSibling){if(t.nodeType==1&&t!=u){v.push(t)}}return v};return;W.Sizzle=q})();T.event={add:function(c,f,d,a){if(c.nodeType==3||c.nodeType==8){return}if(c.setInterval&&c!=W){c=W}if(!d.guid){d.guid=this.guid++}if(a!==ab){var e=d;d=this.proxy(e);d.data=a}var h=T.data(c,"events")||T.data(c,"events",{}),b=T.data(c,"handle")||T.data(c,"handle",function(){return typeof T!=="undefined"&&!T.event.triggered?T.event.handle.apply(arguments.callee.elem,arguments):ab});b.elem=c;T.each(f.split(/\s+/),function(m,l){var k=l.split(".");l=k.shift();d.type=k.slice().sort().join(".");var j=h[l];if(T.event.specialAll[l]){T.event.specialAll[l].setup.call(c,a,k)}if(!j){j=h[l]={};if(!T.event.special[l]||T.event.special[l].setup.call(c,a,k)===false){if(c.addEventListener){c.addEventListener(l,b,false)}else{if(c.attachEvent){c.attachEvent("on"+l,b)}}}}j[d.guid]=d;T.event.global[l]=true});c=null},guid:1,global:{},remove:function(b,e,c){if(b.nodeType==3||b.nodeType==8){return}var f=T.data(b,"events"),h,j;if(f){if(e===ab||(typeof e==="string"&&e.charAt(0)==".")){for(var d in f){this.remove(b,d+(e||""))}}else{if(e.type){c=e.handler;e=e.type}T.each(e.split(/\s+/),function(o,m){var k=m.split(".");m=k.shift();var n=RegExp("(^|\\.)"+k.slice().sort().join(".*\\.")+"(\\.|$)");if(f[m]){if(c){delete f[m][c.guid]}else{for(var l in f[m]){if(n.test(f[m][l].type)){delete f[m][l]}}}if(T.event.specialAll[m]){T.event.specialAll[m].teardown.call(b,k)}for(h in f[m]){break}if(!h){if(!T.event.special[m]||T.event.special[m].teardown.call(b,k)===false){if(b.removeEventListener){b.removeEventListener(m,T.data(b,"handle"),false)}else{if(b.detachEvent){b.detachEvent("on"+m,T.data(b,"handle"))}}}h=null;delete f[m]}}})}for(h in f){break}if(!h){var a=T.data(b,"handle");if(a){a.elem=null}T.removeData(b,"events");T.removeData(b,"handle")}}},trigger:function(d,b,e,j){var f=d.type||d;if(!j){d=typeof d==="object"?d[aa]?d:T.extend(T.Event(f),d):T.Event(f);if(f.indexOf("!")>=0){d.type=f=f.slice(0,-1);d.exclusive=true}if(!e){d.stopPropagation();if(this.global[f]){T.each(T.cache,function(){if(this.events&&this.events[f]){T.event.trigger(d,b,this.handle.elem)}})}}if(!e||e.nodeType==3||e.nodeType==8){return ab}d.result=ab;d.target=e;b=T.makeArray(b);b.unshift(d)}d.currentTarget=e;var c=T.data(e,"handle");if(c){c.apply(e,b)}if((!e[f]||(T.nodeName(e,"a")&&f=="click"))&&e["on"+f]&&e["on"+f].apply(e,b)===false){d.result=false}if(!j&&e[f]&&!d.isDefaultPrevented()&&!(T.nodeName(e,"a")&&f=="click")){this.triggered=true;try{e[f]()}catch(a){}}this.triggered=false;if(!d.isPropagationStopped()){var h=e.parentNode||e.ownerDocument;if(h){T.event.trigger(d,b,h,true)}}},handle:function(b){var c,j;b=arguments[0]=T.event.fix(b||W.event);b.currentTarget=this;var a=b.type.split(".");b.type=a.shift();c=!a.length&&!b.exclusive;var d=RegExp("(^|\\.)"+a.slice().sort().join(".*\\.")+"(\\.|$)");j=(T.data(this,"events")||{})[b.type];for(var f in j){var e=j[f];if(c||d.test(e.type)){b.handler=e;b.data=e.data;var h=e.apply(this,arguments);if(h!==ab){b.result=h;if(h===false){b.preventDefault();b.stopPropagation()}}if(b.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(c){if(c[aa]){return c}var e=c;c=T.Event(e);for(var d=this.props.length,a;d;){a=this.props[--d];c[a]=e[a]}if(!c.target){c.target=c.srcElement||document}if(c.target.nodeType==3){c.target=c.target.parentNode}if(!c.relatedTarget&&c.fromElement){c.relatedTarget=c.fromElement==c.target?c.toElement:c.fromElement}if(c.pageX==null&&c.clientX!=null){var b=document.documentElement,f=document.body;c.pageX=c.clientX+(b&&b.scrollLeft||f&&f.scrollLeft||0)-(b.clientLeft||0);c.pageY=c.clientY+(b&&b.scrollTop||f&&f.scrollTop||0)-(b.clientTop||0)}if(!c.which&&((c.charCode||c.charCode===0)?c.charCode:c.keyCode)){c.which=c.charCode||c.keyCode}if(!c.metaKey&&c.ctrlKey){c.metaKey=c.ctrlKey}if(!c.which&&c.button){c.which=(c.button&1?1:(c.button&2?3:(c.button&4?2:0)))}return c},proxy:function(a,b){b=b||function(){return a.apply(this,arguments)};b.guid=a.guid=a.guid||b.guid||this.guid++;return b},special:{ready:{setup:P,teardown:function(){}}},specialAll:{live:{setup:function(b,a){T.event.add(this,a[0],af)},teardown:function(a){if(a.length){var c=0,b=RegExp("(^|\\.)"+a[0]+"(\\.|$)");T.each((T.data(this,"events").live||{}),function(){if(b.test(this.type)){c++}});if(c<1){T.event.remove(this,a[0],af)}}}}}};T.Event=function(a){if(!this.preventDefault){return new T.Event(a)}if(a&&a.type){this.originalEvent=a;this.type=a.type}else{this.type=a}this.timeStamp=ad();this[aa]=true};function X(){return false}function J(){return true}T.Event.prototype={preventDefault:function(){this.isDefaultPrevented=J;var a=this.originalEvent;if(!a){return}if(a.preventDefault){a.preventDefault()}a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=J;var a=this.originalEvent;if(!a){return}if(a.stopPropagation){a.stopPropagation()}a.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=J;this.stopPropagation()},isDefaultPrevented:X,isPropagationStopped:X,isImmediatePropagationStopped:X};var ah=function(b){var c=b.relatedTarget;while(c&&c!=this){try{c=c.parentNode}catch(a){c=this}}if(c!=this){b.type=b.data;T.event.handle.apply(this,arguments)}};T.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(a,b){T.event.special[b]={setup:function(){T.event.add(this,a,ah,b)},teardown:function(){T.event.remove(this,a,ah)}}});T.fn.extend({bind:function(b,a,c){return b=="unload"?this.one(b,a,c):this.each(function(){T.event.add(this,b,c||a,c&&a)})},one:function(b,a,c){var d=T.event.proxy(c||a,function(e){T(this).unbind(e,d);return(c||a).apply(this,arguments)});return this.each(function(){T.event.add(this,b,d,c&&a)})},unbind:function(a,b){return this.each(function(){T.event.remove(this,a,b)})},trigger:function(b,a){return this.each(function(){T.event.trigger(b,a,this)})},triggerHandler:function(c,a){if(this[0]){var b=T.Event(c);b.preventDefault();b.stopPropagation();T.event.trigger(b,a,this[0]);return b.result}},toggle:function(a){var c=arguments,b=1;while(b<c.length){T.event.proxy(a,c[b++])}return this.click(T.event.proxy(a,function(d){this.lastToggle=(this.lastToggle||0)%b;d.preventDefault();return c[this.lastToggle++].apply(this,arguments)||false}))},hover:function(b,a){return this.mouseenter(b).mouseleave(a)},ready:function(a){P();if(T.isReady){a.call(document,T)}else{T.readyList.push(a)}return this},live:function(a,b){var c=T.event.proxy(b);c.guid+=this.selector+a;T(document).bind(Z(a,this.selector),this.selector,c);return this},die:function(a,b){T(document).unbind(Z(a,this.selector),b?{guid:b.guid+this.selector+a}:null);return this}});function af(a){var d=RegExp("(^|\\.)"+a.type+"(\\.|$)"),b=true,c=[];T.each(T.data(this,"events").live||[],function(h,f){if(d.test(f.type)){var e=T(a.target).closest(f.data)[0];if(e){c.push({elem:e,fn:f})}}});c.sort(function(e,f){return T.data(e.elem,"closest")-T.data(f.elem,"closest")});T.each(c,function(){if(this.fn.call(this.elem,a,this.fn.data)===false){return(b=false)}});return b}function Z(a,b){return["live",a,b.replace(/\./g,"`").replace(/ /g,"|")].join(".")}T.extend({isReady:false,readyList:[],ready:function(){if(!T.isReady){T.isReady=true;if(T.readyList){T.each(T.readyList,function(){this.call(document,T)});T.readyList=null}T(document).triggerHandler("ready")}}});var G=false;function P(){if(G){return}G=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);T.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);T.ready()}});if(document.documentElement.doScroll&&W==W.top){(function(){if(T.isReady){return}try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}T.ready()})()}}}T.event.add(W,"load",T.ready)}T.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(a,b){T.fn[b]=function(c){return c?this.bind(b,c):this.trigger(b)}});T(W).bind("unload",function(){for(var a in T.cache){if(a!=1&&T.cache[a].handle){T.event.remove(T.cache[a].handle.elem)}}});(function(){T.support={};var f=document.documentElement,e=document.createElement("script"),a=document.createElement("div"),b="script"+(new Date).getTime();a.style.display="none";a.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var d=a.getElementsByTagName("*"),h=a.getElementsByTagName("a")[0];if(!d||!d.length||!h){return}T.support={leadingWhitespace:a.firstChild.nodeType==3,tbody:!a.getElementsByTagName("tbody").length,objectAll:!!a.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/red/.test(h.getAttribute("style")),hrefNormalized:h.getAttribute("href")==="/a",opacity:h.style.opacity==="0.5",cssFloat:!!h.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};e.type="text/javascript";try{e.appendChild(document.createTextNode("window."+b+"=1;"))}catch(c){}f.insertBefore(e,f.firstChild);if(W[b]){T.support.scriptEval=true;delete W[b]}f.removeChild(e);if(a.attachEvent&&a.fireEvent){a.attachEvent("onclick",function(){T.support.noCloneEvent=false;a.detachEvent("onclick",arguments.callee)});a.cloneNode(true).fireEvent("onclick")}T(function(){var j=document.createElement("div");j.style.width=j.style.paddingLeft="1px";document.body.appendChild(j);T.boxModel=T.support.boxModel=j.offsetWidth===2;document.body.removeChild(j).style.display="none"})})();var H=T.support.cssFloat?"cssFloat":"styleFloat";T.props={"for":"htmlFor","class":"className","float":H,cssFloat:H,styleFloat:H,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};T.fn.extend({_load:T.fn.load,load:function(e,b,a){if(typeof e!=="string"){return this._load(e)}var c=e.indexOf(" ");if(c>=0){var h=e.slice(c,e.length);e=e.slice(0,c)}var d="GET";if(b){if(T.isFunction(b)){a=b;b=null}else{if(typeof b==="object"){b=T.param(b);d="POST"}}}var f=this;T.ajax({url:e,type:d,dataType:"html",data:b,complete:function(k,j){if(j=="success"||j=="notmodified"){f.html(h?T("<div/>").append(k.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(h):k.responseText)}if(a){f.each(a,[k.responseText,j,k])}}});return this},serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?T.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(c,b){var a=T(this).val();return a==null?null:T.isArray(a)?T.map(a,function(d,e){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});T.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(b,a){T.fn[a]=function(c){return this.bind(a,c)}});var N=ad();T.extend({get:function(d,b,a,c){if(T.isFunction(b)){a=b;b=null}return T.ajax({type:"GET",url:d,data:b,success:a,dataType:c})},getScript:function(b,a){return T.get(b,null,a,"script")},getJSON:function(c,b,a){return T.get(c,b,a,"json")},post:function(d,b,a,c){if(T.isFunction(b)){a=b;b={}}return T.ajax({type:"POST",url:d,data:b,success:a,dataType:c})},ajaxSetup:function(a){T.extend(T.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return W.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(m){m=T.extend(true,m,T.extend(true,{},T.ajaxSettings,m));var a,v=/=\?(&|$)/g,f,b,u=m.type.toUpperCase();if(m.data&&m.processData&&typeof m.data!=="string"){m.data=T.param(m.data)}if(m.dataType=="jsonp"){if(u=="GET"){if(!m.url.match(v)){m.url+=(m.url.match(/\?/)?"&":"?")+(m.jsonp||"callback")+"=?"}}else{if(!m.data||!m.data.match(v)){m.data=(m.data?m.data+"&":"")+(m.jsonp||"callback")+"=?"}}m.dataType="json"}if(m.dataType=="json"&&(m.data&&m.data.match(v)||m.url.match(v))){a="jsonp"+N++;if(m.data){m.data=(m.data+"").replace(v,"="+a+"$1")}m.url=m.url.replace(v,"="+a+"$1");m.dataType="script";W[a]=function(y){b=y;s();n();W[a]=ab;try{delete W[a]}catch(x){}if(t){t.removeChild(d)}}}if(m.dataType=="script"&&m.cache==null){m.cache=false}if(m.cache===false&&u=="GET"){var w=ad();var c=m.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+w+"$2");m.url=c+((c==m.url)?(m.url.match(/\?/)?"&":"?")+"_="+w:"")}if(m.data&&u=="GET"){m.url+=(m.url.match(/\?/)?"&":"?")+m.data;m.data=null}if(m.global&&!T.active++){T.event.trigger("ajaxStart")}var h=/^(\w+:)?\/\/([^\/?#]+)/.exec(m.url);if(m.dataType=="script"&&u=="GET"&&h&&(h[1]&&h[1]!=location.protocol||h[2]!=location.host)){var t=document.getElementsByTagName("head")[0];var d=document.createElement("script");d.src=m.url;if(m.scriptCharset){d.charset=m.scriptCharset}if(!a){var k=false;d.onload=d.onreadystatechange=function(){if(!k&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){k=true;s();n();d.onload=d.onreadystatechange=null;t.removeChild(d)}}}t.appendChild(d);return ab}var o=false;var q=m.xhr();if(m.username){q.open(u,m.url,m.async,m.username,m.password)}else{q.open(u,m.url,m.async)}try{if(m.data){q.setRequestHeader("Content-Type",m.contentType)}if(m.ifModified){q.setRequestHeader("If-Modified-Since",T.lastModified[m.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}q.setRequestHeader("X-Requested-With","XMLHttpRequest");q.setRequestHeader("Accept",m.dataType&&m.accepts[m.dataType]?m.accepts[m.dataType]+", */*":m.accepts._default)}catch(e){}if(m.beforeSend&&m.beforeSend(q,m)===false){if(m.global&&!--T.active){T.event.trigger("ajaxStop")}q.abort();return false}if(m.global){T.event.trigger("ajaxSend",[q,m])}var l=function(z){if(q.readyState==0){if(j){clearInterval(j);j=null;if(m.global&&!--T.active){T.event.trigger("ajaxStop")}}}else{if(!o&&q&&(q.readyState==4||z=="timeout")){o=true;if(j){clearInterval(j);j=null}f=z=="timeout"?"timeout":!T.httpSuccess(q)?"error":m.ifModified&&T.httpNotModified(q,m.url)?"notmodified":"success";if(f=="success"){try{b=T.httpData(q,m.dataType,m)}catch(x){f="parsererror"}}if(f=="success"){var y;try{y=q.getResponseHeader("Last-Modified")}catch(x){}if(m.ifModified&&y){T.lastModified[m.url]=y}if(!a){s()}}else{T.handleError(m,q,f)}n();if(z){q.abort()}if(m.async){q=null}}}};if(m.async){var j=setInterval(l,13);if(m.timeout>0){setTimeout(function(){if(q&&!o){l("timeout")}},m.timeout)}}try{q.send(m.data)}catch(e){T.handleError(m,q,null,e)}if(!m.async){l()}function s(){if(m.success){m.success(b,f)}if(m.global){T.event.trigger("ajaxSuccess",[q,m])}}function n(){if(m.complete){m.complete(q,f)}if(m.global){T.event.trigger("ajaxComplete",[q,m])}if(m.global&&!--T.active){T.event.trigger("ajaxStop")}}return q},handleError:function(c,a,d,b){if(c.error){c.error(a,d,b)}if(c.global){T.event.trigger("ajaxError",[a,c,b])}},active:0,httpSuccess:function(a){try{return !a.status&&location.protocol=="file:"||(a.status>=200&&a.status<300)||a.status==304||a.status==1223}catch(b){}return false},httpNotModified:function(b,d){try{var a=b.getResponseHeader("Last-Modified");return b.status==304||a==T.lastModified[d]}catch(c){}return false},httpData:function(a,c,d){var e=a.getResponseHeader("content-type"),f=c=="xml"||!c&&e&&e.indexOf("xml")>=0,b=f?a.responseXML:a.responseText;if(f&&b.documentElement.tagName=="parsererror"){throw"parsererror"}if(d&&d.dataFilter){b=d.dataFilter(b,c)}if(typeof b==="string"){if(c=="script"){T.globalEval(b)}if(c=="json"){b=W["eval"]("("+b+")")}}return b},param:function(d){var b=[];function a(f,e){b[b.length]=encodeURIComponent(f)+"="+encodeURIComponent(e)}if(T.isArray(d)||d.jquery){T.each(d,function(){a(this.name,this.value)})}else{for(var c in d){if(T.isArray(d[c])){T.each(d[c],function(){a(c,this)})}else{a(c,T.isFunction(d[c])?d[c]():d[c])}}}return b.join("&").replace(/%20/g,"+")}});var V={},U,ae=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function K(b,c){var a={};T.each(ae.concat.apply([],ae.slice(0,c)),function(){a[this]=b});return a}T.fn.extend({show:function(c,a){if(c){return this.animate(K("show",3),c,a)}else{for(var e=0,h=this.length;e<h;e++){var j=T.data(this[e],"olddisplay");this[e].style.display=j||"";if(T.css(this[e],"display")==="none"){var f=this[e].tagName,b;if(V[f]){b=V[f]}else{var d=T("<"+f+" />").appendTo("body");b=d.css("display");if(b==="none"){b="block"}d.remove();V[f]=b}T.data(this[e],"olddisplay",b)}}for(var e=0,h=this.length;e<h;e++){this[e].style.display=T.data(this[e],"olddisplay")||""}return this}},hide:function(b,a){if(b){return this.animate(K("hide",3),b,a)}else{for(var c=0,d=this.length;c<d;c++){var e=T.data(this[c],"olddisplay");if(!e&&e!=="none"){T.data(this[c],"olddisplay",T.css(this[c],"display"))}}for(var c=0,d=this.length;c<d;c++){this[c].style.display="none"}return this}},_toggle:T.fn.toggle,toggle:function(a,b){var c=typeof a==="boolean";return T.isFunction(a)&&T.isFunction(b)?this._toggle.apply(this,arguments):a==null||c?this.each(function(){var d=c?a:T(this).is(":hidden");T(this)[d?"show":"hide"]()}):this.animate(K("toggle",3),a,b)},fadeTo:function(c,a,b){return this.animate({opacity:a},c,b)},animate:function(a,d,b,c){var e=T.speed(d,b,c);return this[e.queue===false?"each":"queue"](function(){var h=T.extend({},e),k,f=this.nodeType==1&&T(this).is(":hidden"),j=this;for(k in a){if(a[k]=="hide"&&f||a[k]=="show"&&!f){return h.complete.call(this)}if((k=="height"||k=="width")&&this.style){h.display=T.css(this,"display");h.overflow=this.style.overflow}}if(h.overflow!=null){this.style.overflow="hidden"}h.curAnim=T.extend({},a);T.each(a,function(s,m){var n=new T.fx(j,h,s);if(/toggle|show|hide/.test(m)){n[m=="toggle"?f?"show":"hide":m](a)}else{var o=m.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),l=n.cur(true)||0;if(o){var t=parseFloat(o[2]),q=o[3]||"px";if(q!="px"){j.style[s]=(t||1)+q;l=((t||1)/n.cur(true))*l;j.style[s]=l+q}if(o[1]){t=((o[1]=="-="?-1:1)*t)+l}n.custom(l,t,q)}else{n.custom(l,m,"")}}});return true})},stop:function(b,c){var a=T.timers;if(b){this.queue([])}this.each(function(){for(var d=a.length-1;d>=0;d--){if(a[d].elem==this){if(c){a[d](true)}a.splice(d,1)}}});if(!c){this.dequeue()}return this}});T.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(b,a){T.fn[b]=function(d,c){return this.animate(a,d,c)}});T.extend({speed:function(b,a,c){var d=typeof b==="object"?b:{complete:c||!c&&a||T.isFunction(b)&&b,duration:b,easing:c&&a||a&&!T.isFunction(a)&&a};d.duration=T.fx.off?0:typeof d.duration==="number"?d.duration:T.fx.speeds[d.duration]||T.fx.speeds._default;d.old=d.complete;d.complete=function(){if(d.queue!==false){T(this).dequeue()}if(T.isFunction(d.old)){d.old.call(this)}};return d},easing:{linear:function(b,a,d,c){return d+c*b},swing:function(b,a,d,c){return((-Math.cos(b*Math.PI)/2)+0.5)*c+d}},timers:[],fx:function(b,c,a){this.options=c;this.elem=b;this.prop=a;if(!c.orig){c.orig={}}}});T.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(T.fx.step[this.prop]||T.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var b=parseFloat(T.css(this.elem,this.prop,a));return b&&b>-10000?b:parseFloat(T.curCSS(this.elem,this.prop))||0},custom:function(a,b,c){this.startTime=ad();this.start=a;this.end=b;this.unit=c||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=this;function d(f){return e.step(f)}d.elem=this.elem;if(d()&&T.timers.push(d)&&!U){U=setInterval(function(){var f=T.timers;for(var h=0;h<f.length;h++){if(!f[h]()){f.splice(h--,1)}}if(!f.length){clearInterval(U);U=ab}},13)}},show:function(){this.options.orig[this.prop]=T.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());T(this.elem).show()},hide:function(){this.options.orig[this.prop]=T.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(c){var d=ad();if(c||d>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var f=true;for(var e in this.options.curAnim){if(this.options.curAnim[e]!==true){f=false}}if(f){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(T.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){T(this.elem).hide()}if(this.options.hide||this.options.show){for(var b in this.options.curAnim){T.attr(this.elem.style,b,this.options.orig[b])}}this.options.complete.call(this.elem)}return false}else{var a=d-this.startTime;this.state=a/this.options.duration;this.pos=T.easing[this.options.easing||(T.easing.swing?"swing":"linear")](this.state,a,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};T.extend(T.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){T.attr(a.elem.style,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null){a.elem.style[a.prop]=a.now+a.unit}else{a.elem[a.prop]=a.now}}}});if(document.documentElement.getBoundingClientRect){T.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return T.offset.bodyOffset(this[0])}var f=this[0].getBoundingClientRect(),c=this[0].ownerDocument,h=c.body,j=c.documentElement,a=j.clientTop||h.clientTop||0,b=j.clientLeft||h.clientLeft||0,d=f.top+(self.pageYOffset||T.boxModel&&j.scrollTop||h.scrollTop)-a,e=f.left+(self.pageXOffset||T.boxModel&&j.scrollLeft||h.scrollLeft)-b;return{top:d,left:e}}}else{T.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return T.offset.bodyOffset(this[0])}T.offset.initialized||T.offset.initialize();var f=this[0],k=f.offsetParent,l=f,a=f.ownerDocument,c,j=a.documentElement,e=a.body,d=a.defaultView,m=d.getComputedStyle(f,null),b=f.offsetTop,h=f.offsetLeft;while((f=f.parentNode)&&f!==e&&f!==j){c=d.getComputedStyle(f,null);b-=f.scrollTop,h-=f.scrollLeft;if(f===k){b+=f.offsetTop,h+=f.offsetLeft;if(T.offset.doesNotAddBorder&&!(T.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(f.tagName))){b+=parseInt(c.borderTopWidth,10)||0,h+=parseInt(c.borderLeftWidth,10)||0}l=k,k=f.offsetParent}if(T.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"){b+=parseInt(c.borderTopWidth,10)||0,h+=parseInt(c.borderLeftWidth,10)||0}m=c}if(m.position==="relative"||m.position==="static"){b+=e.offsetTop,h+=e.offsetLeft}if(m.position==="fixed"){b+=Math.max(j.scrollTop,e.scrollTop),h+=Math.max(j.scrollLeft,e.scrollLeft)}return{top:b,left:h}}}T.offset={initialize:function(){if(this.initialized){return}var c=document.body,k=document.createElement("div"),h,j,a,f,b,l,e=c.style.marginTop,d='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';b={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(l in b){k.style[l]=b[l]}k.innerHTML=d;c.insertBefore(k,c.firstChild);h=k.firstChild,j=h.firstChild,f=h.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(j.offsetTop!==5);this.doesAddBorderForTableAndCells=(f.offsetTop===5);h.style.overflow="hidden",h.style.position="relative";this.subtractsBorderForOverflowNotVisible=(j.offsetTop===-5);c.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(c.offsetTop===0);c.style.marginTop=e;c.removeChild(k);this.initialized=true},bodyOffset:function(c){T.offset.initialized||T.offset.initialize();var a=c.offsetTop,b=c.offsetLeft;if(T.offset.doesNotIncludeMarginInBodyOffset){a+=parseInt(T.curCSS(c,"marginTop",true),10)||0,b+=parseInt(T.curCSS(c,"marginLeft",true),10)||0}return{top:a,left:b}}};T.fn.extend({position:function(){var b=0,c=0,e;if(this[0]){var d=this.offsetParent(),a=this.offset(),f=/^body|html$/i.test(d[0].tagName)?{top:0,left:0}:d.offset();a.top-=Y(this,"marginTop");a.left-=Y(this,"marginLeft");f.top+=Y(d,"borderTopWidth");f.left+=Y(d,"borderLeftWidth");e={top:a.top-f.top,left:a.left-f.left}}return e},offsetParent:function(){var a=this[0].offsetParent||document.body;while(a&&(!/^body|html$/i.test(a.tagName)&&T.css(a,"position")=="static")){a=a.offsetParent}return T(a)}});T.each(["Left","Top"],function(b,c){var a="scroll"+c;T.fn[a]=function(d){if(!this[0]){return null}return d!==ab?this.each(function(){this==W||this==document?W.scrollTo(!b?d:T(W).scrollLeft(),b?d:T(W).scrollTop()):this[a]=d}):this[0]==W||this[0]==document?self[b?"pageYOffset":"pageXOffset"]||T.boxModel&&document.documentElement[a]||document.body[a]:this[0][a]}});T.each(["Height","Width"],function(b,d){var f=b?"Left":"Top",c=b?"Right":"Bottom",e=d.toLowerCase();T.fn["inner"+d]=function(){return this[0]?T.css(this[0],e,false,"padding"):null};T.fn["outer"+d]=function(h){return this[0]?T.css(this[0],e,false,h?"margin":"border"):null};var a=d.toLowerCase();T.fn[a]=function(h){return this[0]==W?document.compatMode=="CSS1Compat"&&document.documentElement["client"+d]||document.body["client"+d]:this[0]==document?Math.max(document.documentElement["client"+d],document.body["scroll"+d],document.documentElement["scroll"+d],document.body["offset"+d],document.documentElement["offset"+d]):h===ab?(this.length?T.css(this[0],a):null):this.css(a,typeof h==="string"?h:h+"px")}})})();jQuery.fn.corners=function(ab){var o="rounded_by_jQuery_corners";var e=ac(ab);var y=false;try{y=(document.body.style.WebkitBorderRadius!==undefined);var b=navigator.userAgent.indexOf("Chrome");if(b>=0){y=false}}catch(z){}var d=false;try{d=(document.body.style.MozBorderRadius!==undefined);var b=navigator.userAgent.indexOf("Firefox");if(b>=0&&parseInt(navigator.userAgent.substring(b+8))<3){d=false}}catch(z){}return this.each(function(A,D){$e=jQuery(D);if($e.hasClass(o)){return}$e.addClass(o);var B=/{(.*)}/.exec(D.className);var G=B?ac(B[1],e):e;var C=D.nodeName.toLowerCase();if(C=="input"){D=n(D)}if(y&&G.webkit){t(D,G)}else{if(d&&G.mozilla&&(G.sizex==G.sizey)){q(D,G)}else{var F=aa(D.parentNode);var E=aa(D);switch(C){case"a":case"input":a(D,G,F,E);break;default:k(D,G,F,E);break}}}});function t(C,D){var B=""+D.sizex+"px "+D.sizey+"px";var A=jQuery(C);if(D.tl){A.css("WebkitBorderTopLeftRadius",B)}if(D.tr){A.css("WebkitBorderTopRightRadius",B)}if(D.bl){A.css("WebkitBorderBottomLeftRadius",B)}if(D.br){A.css("WebkitBorderBottomRightRadius",B)}}function q(C,D){var B=""+D.sizex+"px";var A=jQuery(C);if(D.tl){A.css("-moz-border-radius-topleft",B)}if(D.tr){A.css("-moz-border-radius-topright",B)}if(D.bl){A.css("-moz-border-radius-bottomleft",B)}if(D.br){A.css("-moz-border-radius-bottomright",B)}}function a(D,A,C,L){var B=j("table");var F=j("tbody");B.appendChild(F);var E=j("tr");var I=j("td","top");E.appendChild(I);var G=j("tr");var J=h(D,A,j("td"));G.appendChild(J);var H=j("tr");var K=j("td","bottom");H.appendChild(K);if(A.tl||A.tr){F.appendChild(E);c(I,A,C,L,true)}F.appendChild(G);if(A.bl||A.br){F.appendChild(H);c(K,A,C,L,false)}D.appendChild(B);if(jQuery.browser.msie){B.onclick=l}D.style.overflow="hidden"}function l(){if(!this.parentNode.onclick){this.parentNode.click()}}function n(C){var A=document.createElement("a");A.id=C.id;A.className=C.className;if(C.onclick){A.href="javascript:";A.onclick=C.onclick}else{jQuery(C).parent("form").each(function(){A.href=this.action});A.onclick=v}var B=document.createTextNode(C.value);A.appendChild(B);C.parentNode.replaceChild(A,C);return A}function v(){jQuery(this).parent("form").each(function(){this.submit()});return false}function k(D,B,A,E){var C=h(D,B,document.createElement("div"));D.appendChild(C);if(B.tl||B.tr){c(D,B,A,E,true)}if(B.bl||B.br){c(D,B,A,E,false)}}function h(E,F,D){var A=jQuery(E);var C;while(C=E.firstChild){D.appendChild(C)}if(E.style.height){var G=parseInt(A.css("height"));D.style.height=G+"px";G+=parseInt(A.css("padding-top"))+parseInt(A.css("padding-bottom"));E.style.height=G+"px"}if(E.style.width){var B=parseInt(A.css("width"));D.style.width=B+"px";B+=parseInt(A.css("padding-left"))+parseInt(A.css("padding-right"));E.style.width=B+"px"}D.style.paddingLeft=A.css("padding-left");D.style.paddingRight=A.css("padding-right");if(F.tl||F.tr){D.style.paddingTop=f(E,F,A.css("padding-top"),true)}else{D.style.paddingTop=A.css("padding-top")}if(F.bl||F.br){D.style.paddingBottom=f(E,F,A.css("padding-bottom"),false)}else{D.style.paddingBottom=A.css("padding-bottom")}E.style.padding=0;return D}function f(C,B,D,E){if(D.indexOf("px")<0){try{console.error("%s padding not in pixels",(E?"top":"bottom"),C)}catch(A){}D=B.sizey+"px"}D=parseInt(D);if(D-B.sizey<0){try{console.error("%s padding is %ipx for %ipx corner:",(E?"top":"bottom"),D,B.sizey,C)}catch(A){}D=B.sizey}return D-B.sizey+"px"}function j(A,B){var C=document.createElement(A);C.style.border="none";C.style.borderCollapse="collapse";C.style.borderSpacing=0;C.style.padding=0;C.style.margin=0;if(B){C.style.verticalAlign=B}return C}function aa(A){try{var C=jQuery.css(A,"background-color");if(C.match(/^(transparent|rgba\(0,\s*0,\s*0,\s*0\))$/i)&&A.parentNode){return aa(A.parentNode)}if(C==null){return"#ffffff"}if(C.indexOf("rgb")>-1){C=ad(C)}if(C.length==4){C=s(C)}return C}catch(B){return"#ffffff"}}function s(A){return"#"+A.substring(1,2)+A.substring(1,2)+A.substring(2,3)+A.substring(2,3)+A.substring(3,4)+A.substring(3,4)}function ad(C){var B=255;var F="";var A;var E=/([0-9]+)[, ]+([0-9]+)[, ]+([0-9]+)/;var D=E.exec(C);for(A=1;A<4;A++){F+=("0"+parseInt(D[A]).toString(16)).slice(-2)}return"#"+F}function ac(A,D){var A=A||"";var E={sizex:5,sizey:5,tl:false,tr:false,bl:false,br:false,webkit:true,mozilla:true,transparent:false};if(D){E.sizex=D.sizex;E.sizey=D.sizey;E.webkit=D.webkit;E.transparent=D.transparent;E.mozilla=D.mozilla}var B=false;var C=false;jQuery.each(A.split(" "),function(H,F){F=F.toLowerCase();var G=parseInt(F);if(G>0&&F==G+"px"){E.sizey=G;if(!B){E.sizex=G}B=true}else{switch(F){case"no-native":E.webkit=E.mozilla=false;break;case"webkit":E.webkit=true;break;case"no-webkit":E.webkit=false;break;case"mozilla":E.mozilla=true;break;case"no-mozilla":E.mozilla=false;break;case"anti-alias":E.transparent=false;break;case"transparent":E.transparent=true;break;case"top":C=E.tl=E.tr=true;break;case"right":C=E.tr=E.br=true;break;case"bottom":C=E.bl=E.br=true;break;case"left":C=E.tl=E.bl=true;break;case"top-left":C=E.tl=true;break;case"top-right":C=E.tr=true;break;case"bottom-left":C=E.bl=true;break;case"bottom-right":C=E.br=true;break}}});if(!C){if(!D){E.tl=E.tr=E.bl=E.br=true}else{E.tl=D.tl;E.tr=D.tr;E.bl=D.bl;E.br=D.br}}return E}function m(B,D,A){var C=Array(parseInt("0x"+B.substring(1,3)),parseInt("0x"+B.substring(3,5)),parseInt("0x"+B.substring(5,7)));var E=Array(parseInt("0x"+D.substring(1,3)),parseInt("0x"+D.substring(3,5)),parseInt("0x"+D.substring(5,7)));r="0"+Math.round(C[0]+(E[0]-C[0])*A).toString(16);g="0"+Math.round(C[1]+(E[1]-C[1])*A).toString(16);D="0"+Math.round(C[2]+(E[2]-C[2])*A).toString(16);return"#"+r.substring(r.length-2)+g.substring(g.length-2)+D.substring(D.length-2)}function c(C,B,A,D,E){if(B.transparent){x(C,B,A,E)}else{u(C,B,A,D,E)}}function u(G,K,B,M,D){var H,I;var F=document.createElement("div");F.style.fontSize="1px";F.style.backgroundColor=B;var L=0;for(H=1;H<=K.sizey;H++){var P,Q,A;arc=Math.sqrt(1-Math.pow(1-H/K.sizey,2))*K.sizex;var J=K.sizex-Math.ceil(arc);var N=Math.floor(L);var O=K.sizex-J-N;var C=document.createElement("div");var E=F;C.style.margin="0px "+J+"px";C.style.height="1px";C.style.overflow="hidden";for(I=1;I<=O;I++){if(I==1){if(I==O){P=((arc+L)*0.5)-N}else{Q=Math.sqrt(1-Math.pow(1-(J+1)/K.sizex,2))*K.sizey;P=(Q-(K.sizey-H))*(arc-N-O+1)*0.5}}else{if(I==O){Q=Math.sqrt(1-Math.pow((K.sizex-J-I+1)/K.sizex,2))*K.sizey;P=1-(1-(Q-(K.sizey-H)))*(1-(L-N))*0.5}else{A=Math.sqrt(1-Math.pow((K.sizex-J-I)/K.sizex,2))*K.sizey;Q=Math.sqrt(1-Math.pow((K.sizex-J-I+1)/K.sizex,2))*K.sizey;P=((Q+A)*0.5)-(K.sizey-H)}}w(K,C,E,D,m(B,M,P));E=C;var C=E.cloneNode(false);C.style.margin="0px 1px"}w(K,C,E,D,M);L=arc}if(D){G.insertBefore(F,G.firstChild)}else{G.appendChild(F)}}function w(E,B,C,D,A){if(D&&!E.tl){B.style.marginLeft=0}if(D&&!E.tr){B.style.marginRight=0}if(!D&&!E.bl){B.style.marginLeft=0}if(!D&&!E.br){B.style.marginRight=0}B.style.backgroundColor=A;if(D){C.appendChild(B)}else{C.insertBefore(B,C.firstChild)}}function x(I,A,D,G){var H=document.createElement("div");H.style.fontSize="1px";var K=document.createElement("div");K.style.overflow="hidden";K.style.height="1px";K.style.borderColor=D;K.style.borderStyle="none solid";var C=A.sizex-1;var F=A.sizey-1;if(!F){F=1}for(var J=0;J<A.sizey;J++){var B=C-Math.floor(Math.sqrt(1-Math.pow(1-J/F,2))*C);if(J==2&&A.sizex==6&&A.sizey==6){B=2}var E=K.cloneNode(false);E.style.borderWidth="0 "+B+"px";if(G){E.style.borderWidth="0 "+(A.tr?B:0)+"px 0 "+(A.tl?B:0)+"px"}else{E.style.borderWidth="0 "+(A.br?B:0)+"px 0 "+(A.bl?B:0)+"px"}G?H.appendChild(E):H.insertBefore(E,H.firstChild)}if(G){I.insertBefore(H,I.firstChild)}else{I.appendChild(H)}}};jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,j,h){return jQuery.easing[jQuery.easing.def](e,f,a,j,h)},easeInQuad:function(e,f,a,j,h){return j*(f/=h)*f+a},easeOutQuad:function(e,f,a,j,h){return -j*(f/=h)*(f-2)+a},easeInOutQuad:function(e,f,a,j,h){if((f/=h/2)<1){return j/2*f*f+a}return -j/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,j,h){return j*(f/=h)*f*f+a},easeOutCubic:function(e,f,a,j,h){return j*((f=f/h-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,j,h){if((f/=h/2)<1){return j/2*f*f*f+a}return j/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,j,h){return j*(f/=h)*f*f*f+a},easeOutQuart:function(e,f,a,j,h){return -j*((f=f/h-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,j,h){if((f/=h/2)<1){return j/2*f*f*f*f+a}return -j/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,j,h){return j*(f/=h)*f*f*f*f+a},easeOutQuint:function(e,f,a,j,h){return j*((f=f/h-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,j,h){if((f/=h/2)<1){return j/2*f*f*f*f*f+a}return j/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,j,h){return -j*Math.cos(f/h*(Math.PI/2))+j+a},easeOutSine:function(e,f,a,j,h){return j*Math.sin(f/h*(Math.PI/2))+a},easeInOutSine:function(e,f,a,j,h){return -j/2*(Math.cos(Math.PI*f/h)-1)+a},easeInExpo:function(e,f,a,j,h){return(f==0)?a:j*Math.pow(2,10*(f/h-1))+a},easeOutExpo:function(e,f,a,j,h){return(f==h)?a+j:j*(-Math.pow(2,-10*f/h)+1)+a},easeInOutExpo:function(e,f,a,j,h){if(f==0){return a}if(f==h){return a+j}if((f/=h/2)<1){return j/2*Math.pow(2,10*(f-1))+a}return j/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,j,h){return -j*(Math.sqrt(1-(f/=h)*f)-1)+a},easeOutCirc:function(e,f,a,j,h){return j*Math.sqrt(1-(f=f/h-1)*f)+a},easeInOutCirc:function(e,f,a,j,h){if((f/=h/2)<1){return -j/2*(Math.sqrt(1-f*f)-1)+a}return j/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,j,e,n,m){var k=1.70158;var l=0;var h=n;if(j==0){return e}if((j/=m)==1){return e+n}if(!l){l=m*0.3}if(h<Math.abs(n)){h=n;var k=l/4}else{var k=l/(2*Math.PI)*Math.asin(n/h)}return -(h*Math.pow(2,10*(j-=1))*Math.sin((j*m-k)*(2*Math.PI)/l))+e},easeOutElastic:function(f,j,e,n,m){var k=1.70158;var l=0;var h=n;if(j==0){return e}if((j/=m)==1){return e+n}if(!l){l=m*0.3}if(h<Math.abs(n)){h=n;var k=l/4}else{var k=l/(2*Math.PI)*Math.asin(n/h)}return h*Math.pow(2,-10*j)*Math.sin((j*m-k)*(2*Math.PI)/l)+n+e},easeInOutElastic:function(f,j,e,n,m){var k=1.70158;var l=0;var h=n;if(j==0){return e}if((j/=m/2)==2){return e+n}if(!l){l=m*(0.3*1.5)}if(h<Math.abs(n)){h=n;var k=l/4}else{var k=l/(2*Math.PI)*Math.asin(n/h)}if(j<1){return -0.5*(h*Math.pow(2,10*(j-=1))*Math.sin((j*m-k)*(2*Math.PI)/l))+e}return h*Math.pow(2,-10*(j-=1))*Math.sin((j*m-k)*(2*Math.PI)/l)*0.5+n+e},easeInBack:function(e,f,a,k,j,h){if(h==undefined){h=1.70158}return k*(f/=j)*f*((h+1)*f-h)+a},easeOutBack:function(e,f,a,k,j,h){if(h==undefined){h=1.70158}return k*((f=f/j-1)*f*((h+1)*f+h)+1)+a},easeInOutBack:function(e,f,a,k,j,h){if(h==undefined){h=1.70158}if((f/=j/2)<1){return k/2*(f*f*(((h*=(1.525))+1)*f-h))+a}return k/2*((f-=2)*f*(((h*=(1.525))+1)*f+h)+2)+a},easeInBounce:function(e,f,a,j,h){return j-jQuery.easing.easeOutBounce(e,h-f,0,j,h)+a},easeOutBounce:function(e,f,a,j,h){if((f/=h)<(1/2.75)){return j*(7.5625*f*f)+a}else{if(f<(2/2.75)){return j*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return j*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return j*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}},easeInOutBounce:function(e,f,a,j,h){if(f<h/2){return jQuery.easing.easeInBounce(e,f*2,0,j,h)*0.5+a}return jQuery.easing.easeOutBounce(e,f*2-h,0,j,h)*0.5+j*0.5+a}});(function(a){a.fn.jTruncate=function(b){var c={length:300,minTrail:20,moreText:"more",lessText:"less",ellipsisText:"...",moreAni:"",lessAni:""};var b=a.extend(c,b);return this.each(function(){obj=a(this);var d=obj.html();if(d.length>b.length+b.minTrail){var j=d.indexOf(" ",b.length);if(j!=-1){var j=d.indexOf(" ",b.length);var h=d.substring(0,j);var f=d.substring(j,d.length-1);obj.html(h+'<span class="truncate_ellipsis">'+b.ellipsisText+'</span><span class="truncate_more">'+f+"</span>");obj.find(".truncate_more").css("display","none");obj.append('<div class="clearboth"><a href="#" class="truncate_more_link">'+b.moreText+"</a></div>");var l=a(".truncate_more_link",obj);var k=a(".truncate_more",obj);var e=a(".truncate_ellipsis",obj);l.click(function(){if(l.text()==b.moreText){k.show(b.moreAni);l.text(b.lessText);e.css("display","none")}else{k.hide(b.lessAni);l.text(b.moreText);e.css("display","inline")}return false})}}})}})(jQuery);(function(b){var a=b.scrollTo=function(d,e,j){b(window).scrollTo(d,e,j)};a.defaults={axis:"xy",duration:parseFloat(b.fn.jquery)>=1.3?0:1};a.window=function(d){return b(window).scrollable()};b.fn.scrollable=function(){return this.map(function(){var d=this,e=!d.nodeName||b.inArray(d.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;if(!e){return d}var j=(d.contentWindow||d).document||d.ownerDocument||d;return b.browser.safari||j.compatMode=="BackCompat"?j.body:j.documentElement})};b.fn.scrollTo=function(e,f,d){if(typeof f=="object"){d=f;f=0}if(typeof d=="function"){d={onAfter:d}}if(e=="max"){e=9000000000}d=b.extend({},a.defaults,d);f=f||d.speed||d.duration;d.queue=d.queue&&d.axis.length>1;if(d.queue){f/=2}d.offset=c(d.offset);d.over=c(d.over);return this.scrollable().each(function(){var h=this,w=b(h),v=e,s,m={},n=w.is("html,body");switch(typeof v){case"number":case"string":if(/^([+-]=)?\d+(\.\d+)?(px)?$/.test(v)){v=c(v);break}v=b(v,this);case"object":if(v.is||v.style){s=(v=b(v)).offset()}}b.each(d.axis.split(""),function(k,t){var x=t=="x"?"Left":"Top",o=x.toLowerCase(),y="scroll"+x,u=h[y],q=t=="x"?"Width":"Height";if(s){m[y]=s[o]+(n?0:u-w.offset()[o]);if(d.margin){m[y]-=parseInt(v.css("margin"+x))||0;m[y]-=parseInt(v.css("border"+x+"Width"))||0}m[y]+=d.offset[o]||0;if(d.over[o]){m[y]+=v[q.toLowerCase()]()*d.over[o]}}else{m[y]=v[o]}if(/^\d+$/.test(m[y])){m[y]=m[y]<=0?0:Math.min(m[y],j(q))}if(!k&&d.queue){if(u!=m[y]){l(d.onAfterFirst)}delete m[y]}});l(d.onAfter);function l(k){w.animate(m,f,d.easing,k&&function(){k.call(this,e,d)})}function j(k){var q="scroll"+k;if(!n){return h[q]}var t="client"+k,o=h.ownerDocument.documentElement,u=h.ownerDocument.body;return Math.max(o[q],u[q])-Math.min(o[t],u[t])}}).end()};function c(d){return typeof d=="object"?d:{top:d,left:d}}})(jQuery);(function(d){var a=location.href.replace(/#.*/,"");var c=d.localScroll=function(e){d("body").localScroll(e)};c.defaults={duration:1000,axis:"y",event:"click",stop:true,target:window,reset:true};c.hash=function(f){if(location.hash){f=d.extend({},c.defaults,f);f.hash=false;if(f.reset){var h=f.duration;delete f.duration;d(f.target).scrollTo(0,f);f.duration=h}b(0,location,f)}};d.fn.localScroll=function(e){e=d.extend({},c.defaults,e);return e.lazy?this.bind(e.event,function(h){var j=d([h.target,h.target.parentNode]).filter(f)[0];if(j){b(h,j,e)}}):this.find("a,area").filter(f).bind(e.event,function(h){b(h,this,e)}).end().end();function f(){return !!this.href&&!!this.hash&&this.href.replace(this.hash,"")==a&&(!e.filter||d(this).is(e.filter))}};function b(m,t,l){var u=t.hash.slice(1),s=document.getElementById(u)||document.getElementsByName(u)[0];if(!s){return}if(m){m.preventDefault()}var q=d(l.target);if(l.lock&&q.is(":animated")||l.onBefore&&l.onBefore.call(l,m,s,q)===false){return}if(l.stop){q.stop(true)}if(l.hash){var o=s.id==u?"id":"name",n=d("<a> </a>").attr(o,u).css({position:"absolute",top:d(window).scrollTop(),left:d(window).scrollLeft()});s[o]="";d("body").prepend(n);location=t.hash;n.remove();s[o]=u}q.scrollTo(s,l).trigger("notify.serialScroll",[s])}})(jQuery);(function(f){var e="serialScroll",d="."+e,j="bind",h=f[e]=function(a){f.scrollTo.window()[e](a)};h.defaults={duration:1000,axis:"x",event:"click",start:0,step:1,lock:1,cycle:1,constant:1};f.fn[e]=function(k){k=f.extend({},h.defaults,k);var b=k.event,a=k.step,c=k.lazy;return this.each(function(){var E=k.target?this:document,D=f(k.target||this,E),C=D[0],B=k.items,A=k.start,z=k.interval,y=k.navigation,n;if(!c){B=G()}if(k.force){J({},A)}f(k.prev||[],E)[j](b,-a,K);f(k.next||[],E)[j](b,a,K);if(!C.ssbound){D[j]("prev"+d,-a,K)[j]("next"+d,a,K)[j]("goto"+d,J)}if(z){D[j]("start"+d,function(l){if(!z){H();z=1;I()}})[j]("stop"+d,function(){H();z=0})}D[j]("notify"+d,function(o,l){var m=F(l);if(m>-1){A=m}});C.ssbound=1;if(k.jump){(c?D:G())[j](b,function(l){J(l,F(l.target))})}if(y){y=f(y,E)[j](b,function(l){l.data=Math.round(G().length/y.length)*y.index(this);J(l,this)})}function K(l){l.data+=A;J(l,this)}function J(t,w){if(!isNaN(w)){t.data=w;w=C}var v=t.data,l,u=t.type,s=k.exclude?G().slice(0,-k.exclude):G(),q=s.length,o=s[v],m=k.duration;if(u){t.preventDefault()}if(z){H();n=setTimeout(I,k.interval)}if(!o){l=v<0?0:l=q-1;if(A!=l){v=l}else{if(!k.cycle){return}else{v=q-l-1}}o=s[v]}if(!o||u&&A==v||k.lock&&D.is(":animated")||u&&k.onBefore&&k.onBefore.call(w,t,o,D,G(),v)===!1){return}if(k.stop){D.queue("fx",[]).stop()}if(k.constant){m=Math.abs(m/a*(A-v))}D.scrollTo(o,m,k).trigger("notify"+d,[v])}function I(){D.trigger("next"+d)}function H(){clearTimeout(n)}function G(){return f(B,C)}function F(m){if(!isNaN(m)){return m}var l=G(),o;while((o=l.index(m))==-1&&m!=C){m=m.parentNode}return o}})}})(jQuery);(function(a){a.fn.agile_carousel=function(b){agile_validated="fail";validate_carousel=function(){var h;for(h in b){checkme=b[h];checkme=checkme.toString();checkme=checkme.replace(/<\S+>/g,"")}agile_validated="pass"};validate_carousel();if(agile_validated=="pass"){slide_containter_elem=a(this);var e={disable_on_first_last:"no",first_last_buttons:"no",first_slide_is_intro:"no",hover_next_prev_buttons:"no",intro_timer_length:"3000",intro_transtion:"no",next_prev_buttons:"yes",number_slides_visible:"1",pause_button:"no",slide_buttons:"no",slide_captions:"no",slide_directory:"slides",doctype:"html",slide_links:"no",slide_filenames:"no",randomize_slides:"no",slide_number_display:"no",timer_length:"7000",timer_on:"yes",transition_duration:1000,transition_easing:"swing",transition_type:"carousel",water_mark:"no"};var c=a.extend(e,b);if(a.browser.msie&&(a.browser.version==6)){var f={slide_buttons:"no",hover_next_prev_buttons:"no"};c=a.extend(c,f)}a.ajax({type:"POST",url:"make_slides.php",cache:false,data:{first_last_buttons:e.first_last_buttons,first_slide_is_intro:e.first_slide_is_intro,hover_next_prev_buttons:e.hover_next_prev_buttons,next_prev_buttons:e.next_prev_buttons,pause_button:e.pause_button,slide_buttons:e.slide_buttons,slide_captions:e.slide_captions,slide_directory:e.slide_directory,doctype:e.doctype,slide_links:e.slide_links,slide_filenames:e.slide_filenames,randomize_slides:e.randomize_slides,slide_number_display:e.slide_number_display,water_mark:e.water_mark},success:function(h){slide_containter_elem.html(h);if(e.first_slide_is_intro=="yes"){d()}else{carousel()}}});function d(){a("#intro").appendTo("#slide_holder_inner");a("#slide_1").css("z-index","1000");do_show_1=function(){a("#slide_1").show()};show_1=setTimeout(do_show_1,300);intro_transition=function(){if(e.intro_transtion=="fade"){a("#intro").fadeOut("slow");intro_timer=setTimeout(carousel,300)}else{a("#intro").hide()}};intro_timer=setTimeout("intro_transition()",e.intro_timer_length)}carousel=function(){button_class="slide_1";curr_slide_id="slide_1";curr_slide_id_number=1;next_slide_id_number=1;slideshow_paused="not_paused";transition_type=e.transition_type;slide_finder=a("#slide_holder_inner div.slide");slide_id_array=[];slides_index_counter=0;slide_finder.each(function(){slide_id_array[slides_index_counter]=a(this).attr("id");slides_index_counter++});slide_captions_array=e.slide_captions.split("|");slide_height=a("#slide_holder_inner").height();half_slide_height_raw=slide_height/2;half_slide_height=parseFloat(half_slide_height_raw);slide_holder_width=a(slide_containter_elem).width();slide_holder_height=a(slide_containter_elem).height();slide_holder_inner_width=a("#slide_holder_inner").width();slide_holder_inner_height=a("#slide_holder_inner").height();slide_holder_inner_width_px=slide_holder_inner_width+"px";slide_holder_inner_height_px=slide_holder_inner_height+"px";width_per_slide=slide_holder_inner_width/e.number_slides_visible;width_per_slide=Math.floor(width_per_slide);all_slides_width_raw=slide_id_array.length*width_per_slide;all_slides_width_raw=Math.floor(all_slides_width_raw);all_slides_width=all_slides_width_raw+"px";slide_finder_array_length=slide_finder.length;carousel_tranition_number_slides_visible=e.carousel_tranition_number_slides_visible;num_slides_vis=parseFloat(e.number_slides_visible);a("#intro").remove();a("#slide_buttons").show();a("#slide_holder_inner div.slide").hide();a("#slide_holder_inner #slide_1").show();a("#slide_1").css("z-index","100");a("#slide_holder_inner .pause_button").show();a("#slide_buttons li").removeAttr("id");a("#slide_buttons .slide_1").attr("id","button_selected");if(e.disable_on_first_last=="yes"){a(".prev_button").attr("class","prev_button_disabled")}Array.prototype.inArray=function(v){var u;for(u=0;u<this.length;u++){if(this[u]===v){return true}}return false};slide_finder.each(function(){update_slide_number_display=function(){if(e.slide_number_display=="yes"){var w=curr_slide_id;var u=w.split("_");var v=u.pop();a("#slide_number_display span").html(v+" of <span>"+slide_id_array.length+"</span>")}};if(e.slide_number_display=="yes"){update_slide_number_display()}});pause=function(){if(e.timer_on=="yes"){clearInterval(slideshow_timer)}a("#pause_button span").html("play");slideshow_paused="paused";a("#pause_button").attr("class","paused_button")};lwresume=function(){if(e.timer_on=="yes"){slideshow_timer=setInterval("skip('next')",e.timer_length)}slideshow_paused="not_paused";a("#pause_button span").html("pause");a("#pause_button").attr("class","pause_button")};change_slide_caption=function(){if(e.slide_captions!="no"){curr_caption=slide_captions_array[curr_slide_id_number-1];if(curr_caption==null){curr_caption=""}a("#slide_captions span").html(curr_caption)}};change_slide_caption();if(e.transition_type=="fold"){options_object={size:half_slide_height,easing:e.transition_easing}}else{options_object={easing:e.transition_easing}}if((e.jquery_ui_effect_param!=null)&&(e.jquery_ui_effect_value!=null)){jquery_ui_effect_param=e.jquery_ui_effect_param;if((e.jquery_ui_effect_param=="distance")||(e.jquery_ui_effect_param=="number")||(e.jquery_ui_effect_param=="percent")||(e.jquery_ui_effect_param=="size")||(e.jquery_ui_effect_param=="times")||(e.jquery_ui_effect_param=="direction")){jquery_ui_effect_value=e.jquery_ui_effect_value}else{jquery_ui_effect_value="'"+e.jquery_ui_effect_value+"'"}options_object[jquery_ui_effect_param]=jquery_ui_effect_value}if(e.transition_type=="carousel"){a(".slide").show();for(i=0;i<slide_finder_array_length;i++){var q=slide_finder[i];var k=(width_per_slide)*i;a(q).css("left",k)}a("#row_of_slides").css("width",all_slides_width)}x_position_array=[];slidestop_array=[];sliced_slidestop_array=[];next_slidestop_array=[];prev_slidestop_array=[];for(i=0;i<slide_id_array.length;i++){test_me_for_float=(i)/e.number_slides_visible;if(i==0||(test_me_for_float==parseInt(test_me_for_float)&&test_me_for_float==parseFloat(test_me_for_float))){var s="yes";the_x_pos=width_per_slide*(i)*-1;the_next_slidestop=(1+i+num_slides_vis);if(the_next_slidestop>slide_id_array.length){the_next_slidestop=1}next_slidestop_array[i]=the_next_slidestop;the_prev_slidestop=(1+i-num_slides_vis);if(the_prev_slidestop<1){the_prev_slidestop=slide_id_array.length-num_slides_vis+1}prev_slidestop_array[i]=the_prev_slidestop;next_counter=num_slides_vis-1;prev_counter=1}else{s="no";the_next_slidestop=i+1+next_counter;if(the_next_slidestop>slide_id_array.length){the_next_slidestop=1}next_slidestop_array[i]=the_next_slidestop;next_counter=next_counter+1;the_prev_slidestop=i+1-prev_counter;if(the_prev_slidestop<1){the_prev_slidestop==slide_id_array.length}if(the_prev_slidestop>slide_id_array.length){the_prev_slidestop=1}prev_slidestop_array[i]=the_prev_slidestop;prev_counter=prev_counter+1}x_position_array[i]=the_x_pos;slidestop_array[i]=s}function l(){a("#row_of_slides").stop().animate({left:x_position_array[next_slide_id_number-1]},{duration:e.transition_duration,easing:e.transition_easing})}function m(){a("#slide_holder_inner div.slide").each(function(){if(a(this).attr("id")!=curr_slide_id){a(this).hide()}});a('#slide_holder_inner div[id$="'+curr_slide_id+'"]').css("z-index","50");a('#slide_holder_inner div[id$="'+button_class+'"]').css("z-index","100");a('#slide_holder_inner div[id$="'+button_class+'"]').animate({opacity:"show"},{duration:e.transition_duration,easing:e.transition_easing})}function o(){next_top_show_next=function(){a("#slide_holder_inner div.slide").show().css("z-index","20");a('#slide_holder_inner div[id$="'+next_slide_id+'"]').css("z-index","60");a('#slide_holder_inner div[id$="'+curr_slide_id+'"]').css("z-index","50");a('#slide_holder_inner div[id$="'+next_slide_id+'"]').stop().show(e.transition_type,options_object,e.transition_duration)};next_bottom_hide_curr=function(){a("#slide_holder_inner div.slide").show().css("z-index","20");var u=a('#slide_holder_inner div[id$="'+next_slide_id+'"]').css("z-index","50");a(u).css("z-index","1000");a('#slide_holder_inner div[id$="'+curr_slide_id+'"]').css("z-index","60");a('#slide_holder_inner div[id$="'+curr_slide_id+'"]').effect(e.transition_type,options_object,e.transition_duration)};if(e.transition_type=="blind"||e.transition_type=="bounce"||e.transition_type=="clip"||e.transition_type=="drop"||e.transition_type=="fold"||e.transition_type=="shake"||e.transition_type=="slide"||e.transition_type=="scale"||e.transition_type=="pulsate"){next_top_show_next()}else{if(e.transition_type=="explode"||e.transition_type=="puff"){next_bottom_hide_curr()}else{next_top_show_next()}}}function j(){var v=a("#slide_holder_inner").width();var u=-1*v+"px";a('#slide_holder_inner div[id$="'+button_class+'"]').stop().show().css("left",u);a('#slide_holder_inner div[id$="'+button_class+'"]').stop().show().animate({left:0},{easing:e.transition_easing},e.transition_duration);a('#slide_holder_inner div[id$="'+curr_slide_id+'"]').stop().animate({left:v},{easing:e.transition_easing},e.transition_duration)}function h(){a('#slide_holder_inner div[id$="'+button_class+'"]').show();a('#slide_holder_inner div[id$="'+curr_slide_id+'"]').hide()}function t(){function u(){if(curr_slide_id!=button_class){if(transition_type=="fade"){m()}else{if(transition_type=="no_transition_effect"){h()}else{if(transition_type=="scroll_right"){j()}else{if(transition_type=="carousel"){l()}else{if(transition_type=="blind"||transition_type=="clip"||transition_type=="drop"||transition_type=="explode"||transition_type=="fold"||transition_type=="puff"||transition_type=="slide"||transition_type=="scale"||transition_type=="pulsate"){o()}else{h()}}}}}}curr_slide_id_number=next_slide_id_number;function w(){curr_slide_id=button_class}w()}u();function v(){}}function n(u){a("#slide_buttons li").removeAttr("id");a("#slide_buttons li").each(function(){if(a(this).attr("class")==u){a(this).attr("id","button_selected")}})}a(".pause_button").click(function(){if(slideshow_paused=="paused"){skip("next");if(e.timer_on=="yes"){slideshow_timer=setInterval("skip('next')",e.timer_length)}slideshow_paused="not_paused";a("#pause_button span").html("pause");a(this).attr("class","pause_button")}else{if(slideshow_paused=="not_paused"){clearInterval(slideshow_timer);slideshow_paused="paused";a(this).attr("class","paused_button");pause()}}});skip=function(u){curr_slide_id_string=curr_slide_id.toString();split_curr_slide_id_string=curr_slide_id.split("_");curr_slide_id_string=split_curr_slide_id_string.pop();curr_slide_id_number=parseFloat(curr_slide_id_string);if(u=="next"){next_slide_id_number=curr_slide_id_number+1;if(e.transition_type=="carousel"){the_index_to_use=curr_slide_id_number-1;next_slide_id_number=next_slidestop_array[the_index_to_use]}}else{if(u=="prev"){next_slide_id_number=curr_slide_id_number-1;if(e.transition_type=="carousel"){the_index_to_use=curr_slide_id_number-1;next_slide_id_number=prev_slidestop_array[the_index_to_use]}}else{if(u=="first"){next_slide_id_number=slide_id_array.length;curr_slide_id_number=1}else{if(u=="last"){next_slide_id_number=1;curr_slide_id_number=slide_id_array.length}else{next_slide_id_number=u}}}}next_slide_id="slide_"+next_slide_id_number;if(next_slide_id_number>slide_id_array.length){next_slide_id="slide_1";curr_slide_id_number=slide_id_array.length;next_slide_id_number=1}else{if(next_slide_id_number<1){next_slide_id="slide_"+slide_id_array.length;next_slide_id_number=slide_id_array.length}}button_class=next_slide_id;t();n(button_class);if(e.slide_number_display=="yes"){update_slide_number_display()}change_slide_caption();if((e.disable_on_first_last=="yes"&&((next_slide_id_number==slide_id_array.length)||(next_slide_id_number==slide_id_array.length-num_slides_vis+1)))){a("#next_button").attr("class","next_button_disabled");a("#hover_next_button").attr("class","hover_next_buttondisabled");a("#last_button").attr("class","last_buttondisabled")}else{a("#next_button").attr("class","next_button");a("#hover_next_button").attr("class","hover_next_button");a("#last_button").attr("class","last_buton")}if((e.disable_on_first_last=="yes"&&((next_slide_id_number==1)||(next_slide_id_number==num_slides_vis)))){a("#prev_button").attr("class","prev_button_disabled");a("#hover_prev_button").attr("class","hover_prev_button_disabled");a("#first_button").attr("class","first_button_disabled")}else{a("#prev_button").attr("class","prev_button");a("#hover_prev_button").attr("class","hover_prev_button");a("#first_button").attr("class","first_button")}};if(e.timer_on=="yes"){slideshow_timer=setInterval("skip('next')",e.timer_length)}a("#slide_buttons li").each(function(){a(this).click(function(){button_class=a(this).attr("class");n(button_class);split_button_class_string=button_class.split("_");button_class_string=split_button_class_string.pop();next_slide_id_number=parseFloat(button_class_string);pause();skip(next_slide_id_number);lwresume();return(false)})});if(e.transition_type=="carousel"){a("#slide_buttons li").each(function(){test_the_button_number=a(this).text()-1;if(slidestop_array[test_the_button_number]=="no"){a(this).remove()}})}a(".next_button").click(function(){if(e.disable_on_first_last!="yes"){skip("next");pause();lwresume()}else{if((e.disable_on_first_last=="yes"&&next_slide_id_number==slide_id_array.length)||(next_slide_id_number==(slide_id_array.length-num_slides_vis+1))){pause();lwresume()}else{skip("next");pause();lwresume()}}});a(".prev_button, .prev_button_disabled").click(function(){if(e.disable_on_first_last!="yes"){skip("prev");pause();lwresume()}else{if((e.disable_on_first_last=="yes"&&curr_slide_id_number==1)||(e.disable_on_first_last=="yes"&&next_slide_id_number==num_slides_vis)){pause();lwresume()}else{skip("prev");pause();lwresume()}}});if(e.hover_next_prev_buttons=="yes"){a("#hover_prev_area").hover(function(){a("#hover_prev_button").stop().show()},function(){a("#hover_prev_button").stop().hide()});a("#hover_next_area").hover(function(){a("#hover_next_button").stop().show()},function(){a("#hover_next_button").stop().hide()})}a("#first_button").click(function(){skip("last");pause();lwresume()});a("#last_button").click(function(){pause();skip("first");lwresume()})}}}})(jQuery);(function(a){a.fn.easySlider=function(b){var c={prevId:"prevBtn",prevText:"Previous",nextId:"nextBtn",nextText:"Next",controlsShow:true,controlsBefore:"",controlsAfter:"",controlsFade:true,firstId:"firstBtn",firstText:"First",firstShow:false,lastId:"lastBtn",lastText:"Last",lastShow:false,vertical:false,speed:800,auto:false,pause:2000,continuous:false};var b=a.extend(c,b);this.each(function(){var e=a(this);var o=a("li",e).length;var m=a("li",e).width();var f=a("li",e).height();e.width(m);e.height(f);e.css("overflow","hidden");var k=o-1;var n=0;a("ul",e).css("width",o*m);if(!b.vertical){a("li",e).css("float","left")}if(b.controlsShow){var j=b.controlsBefore;if(b.firstShow){j+='<span id="'+b.firstId+'"><a href="javascript:void(0);">'+b.firstText+"</a></span>"}j+=' <span id="'+b.prevId+'"><a href="javascript:void(0);">'+b.prevText+"</a></span>";j+=' <span id="'+b.nextId+'"><a href="javascript:void(0);">'+b.nextText+"</a></span>";if(b.lastShow){j+=' <span id="'+b.lastId+'"><a href="javascript:void(0);">'+b.lastText+"</a></span>"}j+=b.controlsAfter;a(e).after(j)}a("a","#"+b.nextId).click(function(){d("next",true)});a("a","#"+b.prevId).click(function(){d("prev",true)});a("a","#"+b.firstId).click(function(){d("first",true)});a("a","#"+b.lastId).click(function(){d("last",true)});function d(h,q){var s=n;switch(h){case"next":n=(s>=k)?(b.continuous?0:k):n+1;break;case"prev":n=(n<=0)?(b.continuous?k:0):n-1;break;case"first":n=0;break;case"last":n=k;break;default:break}var u=Math.abs(s-n);var t=u*b.speed;if(!b.vertical){p=(n*m*-1);a("ul",e).animate({marginLeft:p},t)}else{p=(n*f*-1);a("ul",e).animate({marginTop:p},t)}if(!b.continuous&&b.controlsFade){if(n==k){a("a","#"+b.nextId).hide();a("a","#"+b.lastId).hide()}else{a("a","#"+b.nextId).show();a("a","#"+b.lastId).show()}if(n==0){a("a","#"+b.prevId).hide();a("a","#"+b.firstId).hide()}else{a("a","#"+b.prevId).show();a("a","#"+b.firstId).show()}}if(q){clearTimeout(l)}if(b.auto&&h=="next"&&!q){l=setTimeout(function(){d("next",false)},u*b.speed+b.pause)}}var l;if(b.auto){l=setTimeout(function(){d("next",false)},b.pause)}if(!b.continuous&&b.controlsFade){a("a","#"+b.prevId).hide();a("a","#"+b.firstId).hide()}})}})(jQuery);(function(a){jQuery.fn.pngFix=function(d){d=jQuery.extend({blankgif:"blank.gif"},d);var c=(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)==4&&navigator.appVersion.indexOf("MSIE 5.5")!=-1);var b=(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)==4&&navigator.appVersion.indexOf("MSIE 6.0")!=-1);if(jQuery.browser.msie&&(c||b)){jQuery(this).find("img[src$=.png]").each(function(){jQuery(this).attr("width",jQuery(this).width());jQuery(this).attr("height",jQuery(this).height());var n="";var h="";var f=(jQuery(this).attr("id"))?'id="'+jQuery(this).attr("id")+'" ':"";var o=(jQuery(this).attr("class"))?'class="'+jQuery(this).attr("class")+'" ':"";var k=(jQuery(this).attr("title"))?'title="'+jQuery(this).attr("title")+'" ':"";var l=(jQuery(this).attr("alt"))?'alt="'+jQuery(this).attr("alt")+'" ':"";var j=(jQuery(this).attr("align"))?"float:"+jQuery(this).attr("align")+";":"";var e=(jQuery(this).parent().attr("href"))?"cursor:hand;":"";if(this.style.border){n+="border:"+this.style.border+";";this.style.border=""}if(this.style.padding){n+="padding:"+this.style.padding+";";this.style.padding=""}if(this.style.margin){n+="margin:"+this.style.margin+";";this.style.margin=""}var m=(this.style.cssText);h+="<span "+f+o+k+l;h+='style="position:relative;white-space:pre-line;display:inline-block;background:transparent;'+j+e;h+="width:"+jQuery(this).width()+"px;height:"+jQuery(this).height()+"px;";h+="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+jQuery(this).attr("src")+"', sizingMethod='scale');";h+=m+'"></span>';if(n!=""){h='<span style="position:relative;display:inline-block;'+n+e+"width:"+jQuery(this).width()+"px;height:"+jQuery(this).height()+'px;">'+h+"</span>"}jQuery(this).hide();jQuery(this).after(h)});jQuery(this).find("*").each(function(){var f=jQuery(this).css("background-image");if(f.indexOf(".png")!=-1){var e=f.split('url("')[1].split('")')[0];jQuery(this).css("background-image","none");jQuery(this).get(0).runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+e+"',sizingMethod='scale')"}});jQuery(this).find("input[src$=.png]").each(function(){var e=jQuery(this).attr("src");jQuery(this).get(0).runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+e+"', sizingMethod='scale');";jQuery(this).attr("src",d.blankgif)})}return jQuery}})(jQuery);