(function(c,f){function b(){if(!h.isReady){try{E.documentElement.doScroll("left")}catch(a){setTimeout(b,1);return}h.ready()}}function d(a,g){g.src?h.ajax({url:g.src,async:false,dataType:"script"}):h.globalEval(g.text||g.textContent||g.innerHTML||"");g.parentNode&&g.parentNode.removeChild(g)}function i(a,g,k,o,n,w){var z=a.length;if(typeof g==="object"){for(var J in g)i(a,J,g[J],o,n,k);return a}if(k!==f){o=!w&&o&&h.isFunction(k);for(J=0;J<z;J++)n(a[J],g,o?k.call(a[J],J,n(a[J],g)):k,w);return a}return z?
n(a[0],g):null}function j(){return(new Date).getTime()}function m(){return false}function s(){return true}function t(a,g,k){k[0].type=a;return h.event.handle.apply(g,k)}function y(a){var g=true,k=[],o=[],n=arguments,w,z,J,L,I,T=h.extend({},h.data(this,"events").live);for(L in T){z=T[L];if(z.live===a.type||z.altLive&&h.inArray(a.type,z.altLive)>-1){w=z.data;w.beforeFilter&&w.beforeFilter[a.type]&&!w.beforeFilter[a.type](a)||o.push(z.selector)}else delete T[L]}w=h(a.target).closest(o,a.currentTarget);
I=0;for(l=w.length;I<l;I++)for(L in T){z=T[L];J=w[I].elem;o=null;if(w[I].selector===z.selector){if(z.live==="mouseenter"||z.live==="mouseleave")o=h(a.relatedTarget).closest(z.selector)[0];if(!o||o!==J)k.push({elem:J,fn:z})}}I=0;for(l=k.length;I<l;I++){w=k[I];a.currentTarget=w.elem;a.data=w.fn.data;if(w.fn.apply(w.elem,n)===false){g=false;break}}return g}function B(a,g){return["live",a,g.replace(/\./g,"`").replace(/ /g,"&")].join(".")}function H(a){return!a||!a.parentNode||a.parentNode.nodeType===
11}function P(a,g){var k=0;g.each(function(){if(this.nodeName===(a[k]&&a[k].nodeName)){var o=h.data(a[k++]),n=h.data(this,o);if(o=o&&o.events){delete n.handle;n.events={};for(var w in o)for(var z in o[w])h.event.add(this,w,o[w][z],o[w][z].data)}}})}function U(a,g,k){var o,n,w;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&a[0].indexOf("<option")<0){n=true;if(w=h.fragments[a[0]])if(w!==1)o=w}if(!o){g=g&&g[0]?g[0].ownerDocument||g[0]:E;o=g.createDocumentFragment();h.clean(a,g,o,k)}if(n)h.fragments[a[0]]=
w?o:1;return{fragment:o,cacheable:n}}function r(a){for(var g=0,k,o;(k=a[g])!=null;g++)if(!h.noData[k.nodeName.toLowerCase()]&&(o=k[ta]))delete h.cache[o]}function u(a,g){var k={};h.each(Wa.concat.apply([],Wa.slice(0,g)),function(){k[this]=a});return k}function C(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var h=function(a,g){return new h.fn.init(a,g)},M=c.jQuery,x=c.$,E=c.document,R,ca=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Y=/^.[^:#\[\.,]*$/,ka=/\S/,ma=
/^(\s|\u00A0)+|(\s|\u00A0)+$/g,fa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,ba=navigator.userAgent,Q=false,ja=[],da,K=Object.prototype.toString,ga=Object.prototype.hasOwnProperty,Ea=Array.prototype.push,ra=Array.prototype.slice,Aa=Array.prototype.indexOf;h.fn=h.prototype={init:function(a,g){var k,o;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(typeof a==="string")if((k=ca.exec(a))&&(k[1]||!g))if(k[1]){o=g?g.ownerDocument||g:E;if(a=fa.exec(a))if(h.isPlainObject(g)){a=[E.createElement(a[1])];
h.fn.attr.call(a,g,true)}else a=[o.createElement(a[1])];else{a=U([k[1]],[o]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}}else{if(g=E.getElementById(k[2])){if(g.id!==k[2])return R.find(a);this.length=1;this[0]=g}this.context=E;this.selector=a;return this}else if(!g&&/^\w+$/.test(a)){this.selector=a;this.context=E;a=E.getElementsByTagName(a)}else return!g||g.jquery?(g||R).find(a):h(g).find(a);else if(h.isFunction(a))return R.ready(a);if(a.selector!==f){this.selector=a.selector;
this.context=a.context}return h.isArray(a)?this.setArray(a):h.makeArray(a,this)},selector:"",jquery:"1.4",length:0,size:function(){return this.length},toArray:function(){return ra.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,g,k){a=h(a||null);a.prevObject=this;a.context=this.context;if(g==="find")a.selector=this.selector+(this.selector?" ":"")+k;else if(g)a.selector=this.selector+"."+g+"("+k+")";return a},setArray:function(a){this.length=
0;Ea.apply(this,a);return this},each:function(a,g){return h.each(this,a,g)},ready:function(a){h.bindReady();if(h.isReady)a.call(E,h);else ja&&ja.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(ra.apply(this,arguments),"slice",ra.call(arguments).join(","))},map:function(a){return this.pushStack(h.map(this,function(g,k){return a.call(g,k,g)}))},end:function(){return this.prevObject||
h(null)},push:Ea,sort:[].sort,splice:[].splice};h.fn.init.prototype=h.fn;h.extend=h.fn.extend=function(){var a=arguments[0]||{},g=1,k=arguments.length,o=false,n,w,z,J;if(typeof a==="boolean"){o=a;a=arguments[1]||{};g=2}if(typeof a!=="object"&&!h.isFunction(a))a={};if(k===g){a=this;--g}for(;g<k;g++)if((n=arguments[g])!=null)for(w in n){z=a[w];J=n[w];if(a!==J)if(o&&J&&(h.isPlainObject(J)||h.isArray(J))){z=z&&(h.isPlainObject(z)||h.isArray(z))?z:h.isArray(J)?[]:{};a[w]=h.extend(o,z,J)}else if(J!==f)a[w]=
J}return a};h.extend({noConflict:function(a){c.$=x;if(a)c.jQuery=M;return h},isReady:false,ready:function(){if(!h.isReady){if(!E.body)return setTimeout(h.ready,13);h.isReady=true;if(ja){for(var a,g=0;a=ja[g++];)a.call(E,h);ja=null}h.fn.triggerHandler&&h(E).triggerHandler("ready")}},bindReady:function(){if(!Q){Q=true;if(E.readyState==="complete")return h.ready();if(E.addEventListener){E.addEventListener("DOMContentLoaded",da,false);c.addEventListener("load",h.ready,false)}else if(E.attachEvent){E.attachEvent("onreadystatechange",
da);c.attachEvent("onload",h.ready);var a=false;try{a=c.frameElement==null}catch(g){}E.documentElement.doScroll&&a&&b()}}},isFunction:function(a){return K.call(a)==="[object Function]"},isArray:function(a){return K.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||K.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!ga.call(a,"constructor")&&!ga.call(a.constructor.prototype,"isPrototypeOf"))return false;var g;for(g in a);return g===f||ga.call(a,g)},isEmptyObject:function(a){for(var g in a)return false;
return true},noop:function(){},globalEval:function(a){if(a&&ka.test(a)){var g=E.getElementsByTagName("head")[0]||E.documentElement,k=E.createElement("script");k.type="text/javascript";if(h.support.scriptEval)k.appendChild(E.createTextNode(a));else k.text=a;g.insertBefore(k,g.firstChild);g.removeChild(k)}},nodeName:function(a,g){return a.nodeName&&a.nodeName.toUpperCase()===g.toUpperCase()},each:function(a,g,k){var o,n=0,w=a.length,z=w===f||h.isFunction(a);if(k)if(z)for(o in a){if(g.apply(a[o],k)===
false)break}else for(;n<w;){if(g.apply(a[n++],k)===false)break}else if(z)for(o in a){if(g.call(a[o],o,a[o])===false)break}else for(k=a[0];n<w&&g.call(k,n,k)!==false;k=a[++n]);return a},trim:function(a){return(a||"").replace(ma,"")},makeArray:function(a,g){g=g||[];if(a!=null)a.length==null||typeof a==="string"||h.isFunction(a)||typeof a!=="function"&&a.setInterval?Ea.call(g,a):h.merge(g,a);return g},inArray:function(a,g){if(g.indexOf)return g.indexOf(a);for(var k=0,o=g.length;k<o;k++)if(g[k]===a)return k;
return-1},merge:function(a,g){var k=a.length,o=0;if(typeof g.length==="number")for(var n=g.length;o<n;o++)a[k++]=g[o];else for(;g[o]!==f;)a[k++]=g[o++];a.length=k;return a},grep:function(a,g,k){for(var o=[],n=0,w=a.length;n<w;n++)!k!==!g(a[n],n)&&o.push(a[n]);return o},map:function(a,g,k){for(var o=[],n,w=0,z=a.length;w<z;w++){n=g(a[w],w,k);if(n!=null)o[o.length]=n}return o.concat.apply([],o)},guid:1,proxy:function(a,g,k){if(arguments.length===2)if(typeof g==="string"){k=a;a=k[g];g=f}else if(g&&!h.isFunction(g)){k=
g;g=f}if(!g&&a)g=function(){return a.apply(k||this,arguments)};if(a)g.guid=a.guid=a.guid||g.guid||h.guid++;return g},uaMatch:function(a){var g={browser:""};a=a.toLowerCase();if(/webkit/.test(a))g={browser:"webkit",version:/webkit[\/ ]([\w.]+)/};else if(/opera/.test(a))g={browser:"opera",version:/version/.test(a)?/version[\/ ]([\w.]+)/:/opera[\/ ]([\w.]+)/};else if(/msie/.test(a))g={browser:"msie",version:/msie ([\w.]+)/};else if(/mozilla/.test(a)&&!/compatible/.test(a))g={browser:"mozilla",version:/rv:([\w.]+)/};
g.version=(g.version&&g.version.exec(a)||[0,"0"])[1];return g},browser:{}});ba=h.uaMatch(ba);if(ba.browser){h.browser[ba.browser]=true;h.browser.version=ba.version}if(h.browser.webkit)h.browser.safari=true;if(Aa)h.inArray=function(a,g){return Aa.call(g,a)};R=h(E);if(E.addEventListener)da=function(){E.removeEventListener("DOMContentLoaded",da,false);h.ready()};else if(E.attachEvent)da=function(){if(E.readyState==="complete"){E.detachEvent("onreadystatechange",da);h.ready()}};if(Aa)h.inArray=function(a,
g){return Aa.call(g,a)};(function(){h.support={};var a=E.documentElement,g=E.createElement("script"),k=E.createElement("div"),o="script"+j();k.style.display="none";k.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var n=k.getElementsByTagName("*"),w=k.getElementsByTagName("a")[0];if(!(!n||!n.length||!w)){h.support={leadingWhitespace:k.firstChild.nodeType===3,tbody:!k.getElementsByTagName("tbody").length,htmlSerialize:!!k.getElementsByTagName("link").length,
style:/red/.test(w.getAttribute("style")),hrefNormalized:w.getAttribute("href")==="/a",opacity:/^0.55$/.test(w.style.opacity),cssFloat:!!w.style.cssFloat,checkOn:k.getElementsByTagName("input")[0].value==="on",optSelected:E.createElement("select").appendChild(E.createElement("option")).selected,scriptEval:false,noCloneEvent:true,boxModel:null};g.type="text/javascript";try{g.appendChild(E.createTextNode("window."+o+"=1;"))}catch(z){}a.insertBefore(g,a.firstChild);if(c[o]){h.support.scriptEval=true;
delete c[o]}a.removeChild(g);if(k.attachEvent&&k.fireEvent){k.attachEvent("onclick",function J(){h.support.noCloneEvent=false;k.detachEvent("onclick",J)});k.cloneNode(true).fireEvent("onclick")}h(function(){var J=E.createElement("div");J.style.width=J.style.paddingLeft="1px";E.body.appendChild(J);h.boxModel=h.support.boxModel=J.offsetWidth===2;E.body.removeChild(J).style.display="none"});a=function(J){var L=E.createElement("div");J="on"+J;var I=J in L;if(!I){L.setAttribute(J,"return;");I=typeof L[J]===
"function"}return I};h.support.submitBubbles=a("submit");h.support.changeBubbles=a("change");a=g=k=n=w=null}})();h.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var ta="jQuery"+j(),Ja=0,Fa={},ha={};h.extend({cache:{},expando:ta,noData:{embed:true,object:true,applet:true},data:function(a,g,k){if(!(a.nodeName&&h.noData[a.nodeName.toLowerCase()])){a=
a==c?Fa:a;var o=a[ta],n=h.cache;if(!g&&!o)return null;o||(o=++Ja);if(typeof g==="object"){a[ta]=o;n=n[o]=h.extend(true,{},g)}else n=n[o]?n[o]:typeof k==="undefined"?ha:(n[o]={});if(k!==f){a[ta]=o;n[g]=k}return typeof g==="string"?n[g]:n}},removeData:function(a,g){if(!(a.nodeName&&h.noData[a.nodeName.toLowerCase()])){a=a==c?Fa:a;var k=a[ta],o=h.cache,n=o[k];if(g){if(n){delete n[g];h.isEmptyObject(n)&&h.removeData(a)}}else{try{delete a[ta]}catch(w){a.removeAttribute&&a.removeAttribute(ta)}delete o[k]}}}});
h.fn.extend({data:function(a,g){if(typeof a==="undefined"&&this.length)return h.data(this[0]);else if(typeof a==="object")return this.each(function(){h.data(this,a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(g===f){var o=this.triggerHandler("getData"+k[1]+"!",[k[0]]);if(o===f&&this.length)o=h.data(this[0],a);return o===f&&k[1]?this.data(k[0]):o}else return this.trigger("setData"+k[1]+"!",[k[0],g]).each(function(){h.data(this,a,g)})},removeData:function(a){return this.each(function(){h.removeData(this,
a)})}});h.extend({queue:function(a,g,k){if(a){g=(g||"fx")+"queue";var o=h.data(a,g);if(!k)return o||[];if(!o||h.isArray(k))o=h.data(a,g,h.makeArray(k));else o.push(k);return o}},dequeue:function(a,g){g=g||"fx";var k=h.queue(a,g),o=k.shift();if(o==="inprogress")o=k.shift();if(o){g==="fx"&&k.unshift("inprogress");o.call(a,function(){h.dequeue(a,g)})}}});h.fn.extend({queue:function(a,g){if(typeof a!=="string"){g=a;a="fx"}if(g===f)return h.queue(this[0],a);return this.each(function(){var k=h.queue(this,
a,g);a==="fx"&&k[0]!=="inprogress"&&h.dequeue(this,a)})},dequeue:function(a){return this.each(function(){h.dequeue(this,a)})},delay:function(a,g){a=h.fx?h.fx.speeds[a]||a:a;g=g||"fx";return this.queue(g,function(){var k=this;setTimeout(function(){h.dequeue(k,g)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var la=/[\n\t]/g,ea=/\s+/,ua=/\r/g,Ba=/href|src|style/,ya=/(button|input)/i,Ka=/(button|input|object|select|textarea)/i,A=/^(a|area)$/i,G=/radio|checkbox/;h.fn.extend({attr:function(a,
g){return i(this,a,g,true,h.attr)},removeAttr:function(a){return this.each(function(){h.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(h.isFunction(a))return this.each(function(L){var I=h(this);I.addClass(a.call(this,L,I.attr("class")))});if(a&&typeof a==="string")for(var g=(a||"").split(ea),k=0,o=this.length;k<o;k++){var n=this[k];if(n.nodeType===1)if(n.className)for(var w=" "+n.className+" ",z=0,J=g.length;z<J;z++){if(w.indexOf(" "+g[z]+" ")<0)n.className+=
" "+g[z]}else n.className=a}return this},removeClass:function(a){if(h.isFunction(a))return this.each(function(L){var I=h(this);I.removeClass(a.call(this,L,I.attr("class")))});if(a&&typeof a==="string"||a===f)for(var g=(a||"").split(ea),k=0,o=this.length;k<o;k++){var n=this[k];if(n.nodeType===1&&n.className)if(a){for(var w=(" "+n.className+" ").replace(la," "),z=0,J=g.length;z<J;z++)w=w.replace(" "+g[z]+" "," ");n.className=w.substring(1,w.length-1)}else n.className=""}return this},toggleClass:function(a,
g){var k=typeof a,o=typeof g==="boolean";if(h.isFunction(a))return this.each(function(n){var w=h(this);w.toggleClass(a.call(this,n,w.attr("class"),g),g)});return this.each(function(){if(k==="string")for(var n,w=0,z=h(this),J=g,L=a.split(ea);n=L[w++];){J=o?J:!z.hasClass(n);z[J?"addClass":"removeClass"](n)}else if(k==="undefined"||k==="boolean"){this.className&&h.data(this,"__className__",this.className);this.className=this.className||a===false?"":h.data(this,"__className__")||""}})},hasClass:function(a){a=
" "+a+" ";for(var g=0,k=this.length;g<k;g++)if((" "+this[g].className+" ").replace(la," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===f){var g=this[0];if(g){if(h.nodeName(g,"option"))return(g.attributes.value||{}).specified?g.value:g.text;if(h.nodeName(g,"select")){var k=g.selectedIndex,o=[],n=g.options;g=g.type==="select-one";if(k<0)return null;var w=g?k:0;for(k=g?k+1:n.length;w<k;w++){var z=n[w];if(z.selected){a=h(z).val();if(g)return a;o.push(a)}}return o}if(G.test(g.type)&&
!h.support.checkOn)return g.getAttribute("value")===null?"on":g.value;return(g.value||"").replace(ua,"")}return f}var J=h.isFunction(a);return this.each(function(L){var I=h(this),T=a;if(this.nodeType===1){if(J)T=a.call(this,L,I.val());if(typeof T==="number")T+="";if(h.isArray(T)&&G.test(this.type))this.checked=h.inArray(I.val(),T)>=0;else if(h.nodeName(this,"select")){var aa=h.makeArray(T);h("option",this).each(function(){this.selected=h.inArray(h(this).val(),aa)>=0});if(!aa.length)this.selectedIndex=
-1}else this.value=T}})}});h.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,g,k,o){if(!a||a.nodeType===3||a.nodeType===8)return f;if(o&&g in h.attrFn)return h(a)[g](k);o=a.nodeType!==1||!h.isXMLDoc(a);var n=k!==f;g=o&&h.props[g]||g;if(a.nodeType===1){var w=Ba.test(g);if(g in a&&o&&!w){if(n){if(g==="type"&&ya.test(a.nodeName)&&a.parentNode)throw"type property can't be changed";a[g]=k}if(h.nodeName(a,"form")&&a.getAttributeNode(g))return a.getAttributeNode(g).nodeValue;
if(g==="tabIndex")return(g=a.getAttributeNode("tabIndex"))&&g.specified?g.value:Ka.test(a.nodeName)||A.test(a.nodeName)&&a.href?0:f;return a[g]}if(!h.support.style&&o&&g==="style"){if(n)a.style.cssText=""+k;return a.style.cssText}n&&a.setAttribute(g,""+k);a=!h.support.hrefNormalized&&o&&w?a.getAttribute(g,2):a.getAttribute(g);return a===null?f:a}return h.style(a,g,k)}});var S=function(a){return a.replace(/[^\w\s\.\|`]/g,function(g){return"\\"+g})};h.event={add:function(a,g,k,o){if(!(a.nodeType===
3||a.nodeType===8)){if(a.setInterval&&a!==c&&!a.frameElement)a=c;if(!k.guid)k.guid=h.guid++;if(o!==f){k=h.proxy(k);k.data=o}var n=h.data(a,"events")||h.data(a,"events",{}),w=h.data(a,"handle"),z;if(!w){z=function(){return typeof h!=="undefined"&&!h.event.triggered?h.event.handle.apply(z.elem,arguments):f};w=h.data(a,"handle",z)}if(w){w.elem=a;g=g.split(/\s+/);for(var J,L=0;J=g[L++];){var I=J.split(".");J=I.shift();k.type=I.slice(0).sort().join(".");var T=n[J],aa=this.special[J]||{};if(!T){T=n[J]=
{};if(!aa.setup||aa.setup.call(a,o,I,k)===false)if(a.addEventListener)a.addEventListener(J,w,false);else a.attachEvent&&a.attachEvent("on"+J,w)}if(aa.add)if((I=aa.add.call(a,k,o,I,T))&&h.isFunction(I)){I.guid=I.guid||k.guid;k=I}T[k.guid]=k;this.global[J]=true}a=null}}},global:{},remove:function(a,g,k){if(!(a.nodeType===3||a.nodeType===8)){var o=h.data(a,"events"),n,w,z;if(o){if(g===f||typeof g==="string"&&g.charAt(0)===".")for(w in o)this.remove(a,w+(g||""));else{if(g.type){k=g.handler;g=g.type}g=
g.split(/\s+/);for(var J=0;w=g[J++];){var L=w.split(".");w=L.shift();var I=!L.length,T=h.map(L.slice(0).sort(),S);T=new RegExp("(^|\\.)"+T.join("\\.(?:.*\\.)?")+"(\\.|$)");var aa=this.special[w]||{};if(o[w]){if(k){z=o[w][k.guid];delete o[w][k.guid]}else for(var ia in o[w])if(I||T.test(o[w][ia].type))delete o[w][ia];aa.remove&&aa.remove.call(a,L,z);for(n in o[w])break;if(!n){if(!aa.teardown||aa.teardown.call(a,L)===false)if(a.removeEventListener)a.removeEventListener(w,h.data(a,"handle"),false);else a.detachEvent&&
a.detachEvent("on"+w,h.data(a,"handle"));n=null;delete o[w]}}}}for(n in o)break;if(!n){if(ia=h.data(a,"handle"))ia.elem=null;h.removeData(a,"events");h.removeData(a,"handle")}}}},trigger:function(a,g,k,o){var n=a.type||a;if(!o){a=typeof a==="object"?a[ta]?a:h.extend(h.Event(n),a):h.Event(n);if(n.indexOf("!")>=0){a.type=n=n.slice(0,-1);a.exclusive=true}if(!k){a.stopPropagation();this.global[n]&&h.each(h.cache,function(){this.events&&this.events[n]&&h.event.trigger(a,g,this.handle.elem)})}if(!k||k.nodeType===
3||k.nodeType===8)return f;a.result=f;a.target=k;g=h.makeArray(g);g.unshift(a)}a.currentTarget=k;var w=h.data(k,"handle");w&&w.apply(k,g);var z,J;try{if(!(k&&k.nodeName&&h.noData[k.nodeName.toLowerCase()])){z=k[n];J=k["on"+n]}}catch(L){}w=h.nodeName(k,"a")&&n==="click";if(!o&&z&&!a.isDefaultPrevented()&&!w){this.triggered=true;try{k[n]()}catch(I){}}else if(J&&k["on"+n].apply(k,g)===false)a.result=false;this.triggered=false;if(!a.isPropagationStopped())(k=k.parentNode||k.ownerDocument)&&h.event.trigger(a,
g,k,true)},handle:function(a){var g,k;a=arguments[0]=h.event.fix(a||c.event);a.currentTarget=this;k=a.type.split(".");a.type=k.shift();g=!k.length&&!a.exclusive;var o=new RegExp("(^|\\.)"+k.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");k=(h.data(this,"events")||{})[a.type];for(var n in k){var w=k[n];if(g||o.test(w.type)){a.handler=w;a.data=w.data;w=w.apply(this,arguments);if(w!==f){a.result=w;if(w===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}return a.result},
props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[ta])return a;var g=a;a=h.Event(g);for(var k=this.props.length,o;k;){o=this.props[--k];a[o]=g[o]}if(!a.target)a.target=a.srcElement||
E;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){g=E.documentElement;k=E.body;a.pageX=a.clientX+(g&&g.scrollLeft||k&&k.scrollLeft||0)-(g&&g.clientLeft||k&&k.clientLeft||0);a.pageY=a.clientY+(g&&g.scrollTop||k&&k.scrollTop||0)-(g&&g.clientTop||k&&k.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&
a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==f)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:h.proxy,special:{ready:{setup:h.bindReady,teardown:h.noop},live:{add:function(a,g){h.extend(a,g||{});a.guid+=g.selector+g.live;h.event.add(this,g.live,y,g)},remove:function(a){if(a.length){var g=0,k=new RegExp("(^|\\.)"+a[0]+"(\\.|$)");h.each(h.data(this,"events").live||{},function(){k.test(this.type)&&g++});g<1&&h.event.remove(this,a[0],y)}},special:{}},beforeunload:{setup:function(a,
g,k){if(this.setInterval)this.onbeforeunload=k;return false},teardown:function(a,g){if(this.onbeforeunload===g)this.onbeforeunload=null}}}};h.Event=function(a){if(!this.preventDefault)return new h.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=j();this[ta]=true};h.Event.prototype={preventDefault:function(){this.isDefaultPrevented=s;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=
s;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=s;this.stopPropagation()},isDefaultPrevented:m,isPropagationStopped:m,isImmediatePropagationStopped:m};var pa=function(a){for(var g=a.relatedTarget;g&&g!==this;)try{g=g.parentNode}catch(k){break}if(g!==this){a.type=a.data;h.event.handle.apply(this,arguments)}},sa=function(a){a.type=a.data;h.event.handle.apply(this,arguments)};h.each({mouseenter:"mouseover",
mouseleave:"mouseout"},function(a,g){h.event.special[a]={setup:function(k){h.event.add(this,g,k&&k.selector?sa:pa,a)},teardown:function(k){h.event.remove(this,g,k&&k.selector?sa:pa)}}});if(!h.support.submitBubbles)h.event.special.submit={setup:function(a,g,k){if(this.nodeName.toLowerCase()!=="form"){h.event.add(this,"click.specialSubmit."+k.guid,function(o){var n=o.target,w=n.type;if((w==="submit"||w==="image")&&h(n).closest("form").length)return t("submit",this,arguments)});h.event.add(this,"keypress.specialSubmit."+
k.guid,function(o){var n=o.target,w=n.type;if((w==="text"||w==="password")&&h(n).closest("form").length&&o.keyCode===13)return t("submit",this,arguments)})}else return false},remove:function(a,g){h.event.remove(this,"click.specialSubmit"+(g?"."+g.guid:""));h.event.remove(this,"keypress.specialSubmit"+(g?"."+g.guid:""))}};if(!h.support.changeBubbles){var za=/textarea|input|select/i;function oa(a){var g=a.type,k=a.value;if(g==="radio"||g==="checkbox")k=a.checked;else if(g==="select-multiple")k=a.selectedIndex>
-1?h.map(a.options,function(o){return o.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")k=a.selectedIndex;return k}function Ga(a,g){var k=a.target,o,n;if(!(!za.test(k.nodeName)||k.readOnly)){o=h.data(k,"_change_data");n=oa(k);if(n!==o){if(a.type!=="focusout"||k.type!=="radio")h.data(k,"_change_data",n);if(k.type!=="select"&&(o!=null||n)){a.type="change";return h.event.trigger(a,g,this)}}}}h.event.special.change={filters:{focusout:Ga,click:function(a){var g=a.target,k=g.type;if(k===
"radio"||k==="checkbox"||g.nodeName.toLowerCase()==="select")return Ga.call(this,a)},keydown:function(a){var g=a.target,k=g.type;if(a.keyCode===13&&g.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(k==="checkbox"||k==="radio")||k==="select-multiple")return Ga.call(this,a)},beforeactivate:function(a){a=a.target;a.nodeName.toLowerCase()==="input"&&a.type==="radio"&&h.data(a,"_change_data",oa(a))}},setup:function(a,g,k){for(var o in Ma)h.event.add(this,o+".specialChange."+k.guid,Ma[o]);return za.test(this.nodeName)},
remove:function(a,g){for(var k in Ma)h.event.remove(this,k+".specialChange"+(g?"."+g.guid:""),Ma[k]);return za.test(this.nodeName)}};var Ma=h.event.special.change.filters}E.addEventListener&&h.each({focus:"focusin",blur:"focusout"},function(a,g){function k(o){o=h.event.fix(o);o.type=g;return h.event.handle.call(this,o)}h.event.special[g]={setup:function(){this.addEventListener(a,k,true)},teardown:function(){this.removeEventListener(a,k,true)}}});h.each(["bind","one"],function(a,g){h.fn[g]=function(k,
o,n){if(typeof k==="object"){for(var w in k)this[g](w,o,k[w],n);return this}if(h.isFunction(o)){thisObject=n;n=o;o=f}var z=g==="one"?h.proxy(n,function(J){h(this).unbind(J,z);return n.apply(this,arguments)}):n;return k==="unload"&&g!=="one"?this.one(k,o,n,thisObject):this.each(function(){h.event.add(this,k,z,o)})}});h.fn.extend({unbind:function(a,g){if(typeof a==="object"&&!a.preventDefault){for(var k in a)this.unbind(k,a[k]);return this}return this.each(function(){h.event.remove(this,a,g)})},trigger:function(a,
g){return this.each(function(){h.event.trigger(a,g,this)})},triggerHandler:function(a,g){if(this[0]){a=h.Event(a);a.preventDefault();a.stopPropagation();h.event.trigger(a,g,this[0]);return a.result}},toggle:function(a){for(var g=arguments,k=1;k<g.length;)h.proxy(a,g[k++]);return this.click(h.proxy(a,function(o){var n=(h.data(this,"lastToggle"+a.guid)||0)%k;h.data(this,"lastToggle"+a.guid,n+1);o.preventDefault();return g[n].apply(this,arguments)||false}))},hover:function(a,g){return this.mouseenter(a).mouseleave(g||
a)},live:function(a,g,k){if(h.isFunction(g)){k=g;g=f}h(this.context).bind(B(a,this.selector),{data:g,selector:this.selector,live:a},k);return this},die:function(a,g){h(this.context).unbind(B(a,this.selector),g?{guid:g.guid+this.selector+a}:null);return this}});h.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,g){h.fn[g]=function(k){return k?
this.bind(g,k):this.trigger(g)};if(h.attrFn)h.attrFn[g]=true});c.attachEvent&&!c.addEventListener&&c.attachEvent("onunload",function(){for(var a in h.cache)if(h.cache[a].handle)try{h.event.remove(h.cache[a].handle.elem)}catch(g){}});(function(){function a(q){for(var v="",D,F=0;q[F];F++){D=q[F];if(D.nodeType===3||D.nodeType===4)v+=D.nodeValue;else if(D.nodeType!==8)v+=a(D.childNodes)}return v}function g(q,v,D,F,O,N){O=0;for(var W=F.length;O<W;O++){var V=F[O];if(V){V=V[q];for(var Z=false;V;){if(V.sizcache===
D){Z=F[V.sizset];break}if(V.nodeType===1&&!N){V.sizcache=D;V.sizset=O}if(V.nodeName.toLowerCase()===v){Z=V;break}V=V[q]}F[O]=Z}}}function k(q,v,D,F,O,N){O=0;for(var W=F.length;O<W;O++){var V=F[O];if(V){V=V[q];for(var Z=false;V;){if(V.sizcache===D){Z=F[V.sizset];break}if(V.nodeType===1){if(!N){V.sizcache=D;V.sizset=O}if(typeof v!=="string"){if(V===v){Z=true;break}}else if(L.filter(v,[V]).length>0){Z=V;break}}V=V[q]}F[O]=Z}}}var o=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
n=0,w=Object.prototype.toString,z=false,J=true;[0,0].sort(function(){J=false;return 0});var L=function(q,v,D,F){D=D||[];var O=v=v||E;if(v.nodeType!==1&&v.nodeType!==9)return[];if(!q||typeof q!=="string")return D;for(var N=[],W,V,Z,La,Ca=true,Ha=X(v),Da=q;(o.exec(""),W=o.exec(Da))!==null;){Da=W[3];N.push(W[1]);if(W[2]){La=W[3];break}}if(N.length>1&&T.exec(q))if(N.length===2&&I.relative[N[0]])V=Qa(N[0]+N[1],v);else for(V=I.relative[N[0]]?[v]:L(N.shift(),v);N.length;){q=N.shift();if(I.relative[q])q+=
N.shift();V=Qa(q,V)}else{if(!F&&N.length>1&&v.nodeType===9&&!Ha&&I.match.ID.test(N[0])&&!I.match.ID.test(N[N.length-1])){W=L.find(N.shift(),v,Ha);v=W.expr?L.filter(W.expr,W.set)[0]:W.set[0]}if(v){W=F?{expr:N.pop(),set:ia(F)}:L.find(N.pop(),N.length===1&&(N[0]==="~"||N[0]==="+")&&v.parentNode?v.parentNode:v,Ha);V=W.expr?L.filter(W.expr,W.set):W.set;if(N.length>0)Z=ia(V);else Ca=false;for(;N.length;){var va=N.pop();W=va;if(I.relative[va])W=N.pop();else va="";if(W==null)W=v;I.relative[va](Z,W,Ha)}}else Z=
[]}Z||(Z=V);if(!Z)throw"Syntax error, unrecognized expression: "+(va||q);if(w.call(Z)==="[object Array]")if(Ca)if(v&&v.nodeType===1)for(q=0;Z[q]!=null;q++){if(Z[q]&&(Z[q]===true||Z[q].nodeType===1&&wa(v,Z[q])))D.push(V[q])}else for(q=0;Z[q]!=null;q++)Z[q]&&Z[q].nodeType===1&&D.push(V[q]);else D.push.apply(D,Z);else ia(Z,D);if(La){L(La,O,D,F);L.uniqueSort(D)}return D};L.uniqueSort=function(q){if(qa){z=J;q.sort(qa);if(z)for(var v=1;v<q.length;v++)q[v]===q[v-1]&&q.splice(v--,1)}return q};L.matches=function(q,
v){return L(q,null,null,v)};L.find=function(q,v,D){var F,O;if(!q)return[];for(var N=0,W=I.order.length;N<W;N++){var V=I.order[N];if(O=I.leftMatch[V].exec(q)){var Z=O[1];O.splice(1,1);if(Z.substr(Z.length-1)!=="\\"){O[1]=(O[1]||"").replace(/\\/g,"");F=I.find[V](O,v,D);if(F!=null){q=q.replace(I.match[V],"");break}}}}F||(F=v.getElementsByTagName("*"));return{set:F,expr:q}};L.filter=function(q,v,D,F){for(var O=q,N=[],W=v,V,Z,La=v&&v[0]&&X(v[0]);q&&v.length;){for(var Ca in I.filter)if((V=I.leftMatch[Ca].exec(q))!=
null&&V[2]){var Ha=I.filter[Ca],Da,va;va=V[1];Z=false;V.splice(1,1);if(va.substr(va.length-1)!=="\\"){if(W===N)N=[];if(I.preFilter[Ca])if(V=I.preFilter[Ca](V,W,D,N,F,La)){if(V===true)continue}else Z=Da=true;if(V)for(var Na=0;(va=W[Na])!=null;Na++)if(va){Da=Ha(va,V,Na,W);var Xa=F^!!Da;if(D&&Da!=null)if(Xa)Z=true;else W[Na]=false;else if(Xa){N.push(va);Z=true}}if(Da!==f){D||(W=N);q=q.replace(I.match[Ca],"");if(!Z)return[];break}}}if(q===O)if(Z==null)throw"Syntax error, unrecognized expression: "+q;
else break;O=q}return W};var I=L.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\))?/},
leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(q){return q.getAttribute("href")}},relative:{"+":function(q,v){var D=typeof v==="string",F=D&&!/\W/.test(v);D=D&&!F;if(F)v=v.toLowerCase();F=0;for(var O=q.length,N;F<O;F++)if(N=q[F]){for(;(N=N.previousSibling)&&N.nodeType!==1;);q[F]=D||N&&N.nodeName.toLowerCase()===v?N||false:N===v}D&&L.filter(v,q,true)},">":function(q,v){var D=typeof v==="string";if(D&&!/\W/.test(v)){v=v.toLowerCase();for(var F=0,O=q.length;F<O;F++){var N=
q[F];if(N){D=N.parentNode;q[F]=D.nodeName.toLowerCase()===v?D:false}}}else{F=0;for(O=q.length;F<O;F++)if(N=q[F])q[F]=D?N.parentNode:N.parentNode===v;D&&L.filter(v,q,true)}},"":function(q,v,D){var F=n++,O=k;if(typeof v==="string"&&!/\W/.test(v)){var N=v=v.toLowerCase();O=g}O("parentNode",v,F,q,N,D)},"~":function(q,v,D){var F=n++,O=k;if(typeof v==="string"&&!/\W/.test(v)){var N=v=v.toLowerCase();O=g}O("previousSibling",v,F,q,N,D)}},find:{ID:function(q,v,D){if(typeof v.getElementById!=="undefined"&&
!D)return(q=v.getElementById(q[1]))?[q]:[]},NAME:function(q,v){if(typeof v.getElementsByName!=="undefined"){var D=[];v=v.getElementsByName(q[1]);for(var F=0,O=v.length;F<O;F++)v[F].getAttribute("name")===q[1]&&D.push(v[F]);return D.length===0?null:D}},TAG:function(q,v){return v.getElementsByTagName(q[1])}},preFilter:{CLASS:function(q,v,D,F,O,N){q=" "+q[1].replace(/\\/g,"")+" ";if(N)return q;N=0;for(var W;(W=v[N])!=null;N++)if(W)if(O^(W.className&&(" "+W.className+" ").replace(/[\t\n]/g," ").indexOf(q)>=
0))D||F.push(W);else if(D)v[N]=false;return false},ID:function(q){return q[1].replace(/\\/g,"")},TAG:function(q){return q[1].toLowerCase()},CHILD:function(q){if(q[1]==="nth"){var v=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(q[2]==="even"&&"2n"||q[2]==="odd"&&"2n+1"||!/\D/.test(q[2])&&"0n+"+q[2]||q[2]);q[2]=v[1]+(v[2]||1)-0;q[3]=v[3]-0}q[0]=n++;return q},ATTR:function(q,v,D,F,O,N){v=q[1].replace(/\\/g,"");if(!N&&I.attrMap[v])q[1]=I.attrMap[v];if(q[2]==="~=")q[4]=" "+q[4]+" ";return q},PSEUDO:function(q,v,D,F,
O){if(q[1]==="not")if((o.exec(q[3])||"").length>1||/^\w/.test(q[3]))q[3]=L(q[3],null,null,v);else{q=L.filter(q[3],v,D,true^O);D||F.push.apply(F,q);return false}else if(I.match.POS.test(q[0])||I.match.CHILD.test(q[0]))return true;return q},POS:function(q){q.unshift(true);return q}},filters:{enabled:function(q){return q.disabled===false&&q.type!=="hidden"},disabled:function(q){return q.disabled===true},checked:function(q){return q.checked===true},selected:function(q){return q.selected===true},parent:function(q){return!!q.firstChild},
empty:function(q){return!q.firstChild},has:function(q,v,D){return!!L(D[3],q).length},header:function(q){return/h\d/i.test(q.nodeName)},text:function(q){return"text"===q.type},radio:function(q){return"radio"===q.type},checkbox:function(q){return"checkbox"===q.type},file:function(q){return"file"===q.type},password:function(q){return"password"===q.type},submit:function(q){return"submit"===q.type},image:function(q){return"image"===q.type},reset:function(q){return"reset"===q.type},button:function(q){return"button"===
q.type||q.nodeName.toLowerCase()==="button"},input:function(q){return/input|select|textarea|button/i.test(q.nodeName)}},setFilters:{first:function(q,v){return v===0},last:function(q,v,D,F){return v===F.length-1},even:function(q,v){return v%2===0},odd:function(q,v){return v%2===1},lt:function(q,v,D){return v<D[3]-0},gt:function(q,v,D){return v>D[3]-0},nth:function(q,v,D){return D[3]-0===v},eq:function(q,v,D){return D[3]-0===v}},filter:{PSEUDO:function(q,v,D,F){var O=v[1],N=I.filters[O];if(N)return N(q,
D,v,F);else if(O==="contains")return(q.textContent||q.innerText||a([q])||"").indexOf(v[3])>=0;else if(O==="not"){v=v[3];D=0;for(F=v.length;D<F;D++)if(v[D]===q)return false;return true}else throw"Syntax error, unrecognized expression: "+O;},CHILD:function(q,v){var D=v[1],F=q;switch(D){case "only":case "first":for(;F=F.previousSibling;)if(F.nodeType===1)return false;if(D==="first")return true;F=q;case "last":for(;F=F.nextSibling;)if(F.nodeType===1)return false;return true;case "nth":D=v[2];var O=v[3];
if(D===1&&O===0)return true;v=v[0];var N=q.parentNode;if(N&&(N.sizcache!==v||!q.nodeIndex)){var W=0;for(F=N.firstChild;F;F=F.nextSibling)if(F.nodeType===1)F.nodeIndex=++W;N.sizcache=v}q=q.nodeIndex-O;return D===0?q===0:q%D===0&&q/D>=0}},ID:function(q,v){return q.nodeType===1&&q.getAttribute("id")===v},TAG:function(q,v){return v==="*"&&q.nodeType===1||q.nodeName.toLowerCase()===v},CLASS:function(q,v){return(" "+(q.className||q.getAttribute("class"))+" ").indexOf(v)>-1},ATTR:function(q,v){var D=v[1];
q=I.attrHandle[D]?I.attrHandle[D](q):q[D]!=null?q[D]:q.getAttribute(D);D=q+"";var F=v[2];v=v[4];return q==null?F==="!=":F==="="?D===v:F==="*="?D.indexOf(v)>=0:F==="~="?(" "+D+" ").indexOf(v)>=0:!v?D&&q!==false:F==="!="?D!==v:F==="^="?D.indexOf(v)===0:F==="$="?D.substr(D.length-v.length)===v:F==="|="?D===v||D.substr(0,v.length+1)===v+"-":false},POS:function(q,v,D,F){var O=I.setFilters[v[2]];if(O)return O(q,D,v,F)}}},T=I.match.POS;for(var aa in I.match){I.match[aa]=new RegExp(I.match[aa].source+/(?![^\[]*\])(?![^\(]*\))/.source);
I.leftMatch[aa]=new RegExp(/(^(?:.|\r|\n)*?)/.source+I.match[aa].source.replace(/\\(\d+)/g,function(q,v){return"\\"+(v-0+1)}))}var ia=function(q,v){q=Array.prototype.slice.call(q,0);if(v){v.push.apply(v,q);return v}return q};try{Array.prototype.slice.call(E.documentElement.childNodes,0)}catch(na){ia=function(q,v){v=v||[];if(w.call(q)==="[object Array]")Array.prototype.push.apply(v,q);else if(typeof q.length==="number")for(var D=0,F=q.length;D<F;D++)v.push(q[D]);else for(D=0;q[D];D++)v.push(q[D]);
return v}}var qa;if(E.documentElement.compareDocumentPosition)qa=function(q,v){if(!q.compareDocumentPosition||!v.compareDocumentPosition){if(q==v)z=true;return q.compareDocumentPosition?-1:1}q=q.compareDocumentPosition(v)&4?-1:q===v?0:1;if(q===0)z=true;return q};else if("sourceIndex"in E.documentElement)qa=function(q,v){if(!q.sourceIndex||!v.sourceIndex){if(q==v)z=true;return q.sourceIndex?-1:1}q=q.sourceIndex-v.sourceIndex;if(q===0)z=true;return q};else if(E.createRange)qa=function(q,v){if(!q.ownerDocument||
!v.ownerDocument){if(q==v)z=true;return q.ownerDocument?-1:1}var D=q.ownerDocument.createRange(),F=v.ownerDocument.createRange();D.setStart(q,0);D.setEnd(q,0);F.setStart(v,0);F.setEnd(v,0);q=D.compareBoundaryPoints(Range.START_TO_END,F);if(q===0)z=true;return q};(function(){var q=E.createElement("div"),v="script"+(new Date).getTime();q.innerHTML="<a name='"+v+"'/>";var D=E.documentElement;D.insertBefore(q,D.firstChild);if(E.getElementById(v)){I.find.ID=function(F,O,N){if(typeof O.getElementById!==
"undefined"&&!N)return(O=O.getElementById(F[1]))?O.id===F[1]||typeof O.getAttributeNode!=="undefined"&&O.getAttributeNode("id").nodeValue===F[1]?[O]:f:[]};I.filter.ID=function(F,O){var N=typeof F.getAttributeNode!=="undefined"&&F.getAttributeNode("id");return F.nodeType===1&&N&&N.nodeValue===O}}D.removeChild(q);D=q=null})();(function(){var q=E.createElement("div");q.appendChild(E.createComment(""));if(q.getElementsByTagName("*").length>0)I.find.TAG=function(v,D){D=D.getElementsByTagName(v[1]);if(v[1]===
"*"){v=[];for(var F=0;D[F];F++)D[F].nodeType===1&&v.push(D[F]);D=v}return D};q.innerHTML="<a href='#'></a>";if(q.firstChild&&typeof q.firstChild.getAttribute!=="undefined"&&q.firstChild.getAttribute("href")!=="#")I.attrHandle.href=function(v){return v.getAttribute("href",2)};q=null})();E.querySelectorAll&&function(){var q=L,v=E.createElement("div");v.innerHTML="<p class='TEST'></p>";if(!(v.querySelectorAll&&v.querySelectorAll(".TEST").length===0)){L=function(F,O,N,W){O=O||E;if(!W&&O.nodeType===9&&
!X(O))try{return ia(O.querySelectorAll(F),N)}catch(V){}return q(F,O,N,W)};for(var D in q)L[D]=q[D];v=null}}();(function(){var q=E.createElement("div");q.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!q.getElementsByClassName||q.getElementsByClassName("e").length===0)){q.lastChild.className="e";if(q.getElementsByClassName("e").length!==1){I.order.splice(1,0,"CLASS");I.find.CLASS=function(v,D,F){if(typeof D.getElementsByClassName!=="undefined"&&!F)return D.getElementsByClassName(v[1])};
q=null}}})();var wa=E.compareDocumentPosition?function(q,v){return q.compareDocumentPosition(v)&16}:function(q,v){return q!==v&&(q.contains?q.contains(v):true)},X=function(q){return(q=(q?q.ownerDocument||q:0).documentElement)?q.nodeName!=="HTML":false},Qa=function(q,v){var D=[],F="",O;for(v=v.nodeType?[v]:v;O=I.match.PSEUDO.exec(q);){F+=O[0];q=q.replace(I.match.PSEUDO,"")}q=I.relative[q]?q+"*":q;O=0;for(var N=v.length;O<N;O++)L(q,v[O],D);return L.filter(F,D)};h.find=L;h.expr=L.selectors;h.expr[":"]=
h.expr.filters;h.unique=L.uniqueSort;h.getText=a;h.isXMLDoc=X;h.contains=wa})();var db=/Until$/,eb=/^(?:parents|prevUntil|prevAll)/,fb=/,/;ra=Array.prototype.slice;var Ya=function(a,g,k){if(h.isFunction(g))return h.grep(a,function(n,w){return!!g.call(n,w,n)===k});else if(g.nodeType)return h.grep(a,function(n){return n===g===k});else if(typeof g==="string"){var o=h.grep(a,function(n){return n.nodeType===1});if(Y.test(g))return h.filter(g,o,!k);else g=h.filter(g,a)}return h.grep(a,function(n){return h.inArray(n,
g)>=0===k})};h.fn.extend({find:function(a){for(var g=this.pushStack("","find",a),k=0,o=0,n=this.length;o<n;o++){k=g.length;h.find(a,this[o],g);if(o>0)for(var w=k;w<g.length;w++)for(var z=0;z<k;z++)if(g[z]===g[w]){g.splice(w--,1);break}}return g},has:function(a){var g=h(a);return this.filter(function(){for(var k=0,o=g.length;k<o;k++)if(h.contains(this,g[k]))return true})},not:function(a){return this.pushStack(Ya(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ya(this,a,true),"filter",
a)},is:function(a){return!!a&&h.filter(a,this).length>0},closest:function(a,g){if(h.isArray(a)){var k=[],o=this[0],n,w={},z;if(o&&a.length){n=0;for(var J=a.length;n<J;n++){z=a[n];w[z]||(w[z]=h.expr.match.POS.test(z)?h(z,g||this.context):z)}for(;o&&o.ownerDocument&&o!==g;){for(z in w){n=w[z];if(n.jquery?n.index(o)>-1:h(o).is(n)){k.push({selector:z,elem:o});delete w[z]}}o=o.parentNode}}return k}var L=h.expr.match.POS.test(a)?h(a,g||this.context):null;return this.map(function(I,T){for(;T&&T.ownerDocument&&
T!==g;){if(L?L.index(T)>-1:h(T).is(a))return T;T=T.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return h.inArray(this[0],a?h(a):this.parent().children());return h.inArray(a.jquery?a[0]:a,this)},add:function(a,g){a=typeof a==="string"?h(a,g||this.context):h.makeArray(a);g=h.merge(this.get(),a);return this.pushStack(H(a[0])||H(g[0])?g:h.unique(g))},andSelf:function(){return this.add(this.prevObject)}});h.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},
parents:function(a){return h.dir(a,"parentNode")},parentsUntil:function(a,g,k){return h.dir(a,"parentNode",k)},next:function(a){return h.nth(a,2,"nextSibling")},prev:function(a){return h.nth(a,2,"previousSibling")},nextAll:function(a){return h.dir(a,"nextSibling")},prevAll:function(a){return h.dir(a,"previousSibling")},nextUntil:function(a,g,k){return h.dir(a,"nextSibling",k)},prevUntil:function(a,g,k){return h.dir(a,"previousSibling",k)},siblings:function(a){return h.sibling(a.parentNode.firstChild,
a)},children:function(a){return h.sibling(a.firstChild)},contents:function(a){return h.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:h.makeArray(a.childNodes)}},function(a,g){h.fn[a]=function(k,o){var n=h.map(this,g,k);db.test(a)||(o=k);if(o&&typeof o==="string")n=h.filter(o,n);n=this.length>1?h.unique(n):n;if((this.length>1||fb.test(o))&&eb.test(a))n=n.reverse();return this.pushStack(n,a,ra.call(arguments).join(","))}});h.extend({filter:function(a,g,k){if(k)a=":not("+a+")";return h.find.matches(a,
g)},dir:function(a,g,k){var o=[];for(a=a[g];a&&a.nodeType!==9&&(k===f||!h(a).is(k));){a.nodeType===1&&o.push(a);a=a[g]}return o},nth:function(a,g,k){g=g||1;for(var o=0;a;a=a[k])if(a.nodeType===1&&++o===g)break;return a},sibling:function(a,g){for(var k=[];a;a=a.nextSibling)a.nodeType===1&&a!==g&&k.push(a);return k}});var Za=/ jQuery\d+="(?:\d+|null)"/g,Oa=/^\s+/,gb=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,$a=/<([\w:]+)/,ib=/<tbody/i,jb=/<|&\w+;/,kb=function(a,
g,k){return hb.test(k)?a:g+"></"+k+">"},xa={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};xa.optgroup=xa.option;xa.tbody=xa.tfoot=xa.colgroup=xa.caption=xa.thead;xa.th=xa.td;if(!h.support.htmlSerialize)xa._default=[1,"div<div>",
"</div>"];h.fn.extend({text:function(a){if(h.isFunction(a))return this.each(function(g){var k=h(this);return k.text(a.call(this,g,k.text()))});if(typeof a!=="object"&&a!==f)return this.empty().append((this[0]&&this[0].ownerDocument||E).createTextNode(a));return h.getText(this)},wrapAll:function(a){if(h.isFunction(a))return this.each(function(k){h(this).wrapAll(a.call(this,k))});if(this[0]){var g=h(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&g.insertBefore(this[0]);g.map(function(){for(var k=
this;k.firstChild&&k.firstChild.nodeType===1;)k=k.firstChild;return k}).append(this)}return this},wrapInner:function(a){return this.each(function(){var g=h(this),k=g.contents();k.length?k.wrapAll(a):g.append(a)})},wrap:function(a){return this.each(function(){h(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){h.nodeName(this,"body")||h(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},
prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(g){this.parentNode.insertBefore(g,this)});else if(arguments.length){var a=h(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(g){this.parentNode.insertBefore(g,
this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,h(arguments[0]).toArray());return a}},clone:function(a){var g=this.map(function(){if(!h.support.noCloneEvent&&!h.isXMLDoc(this)){var k=this.outerHTML,o=this.ownerDocument;if(!k){k=o.createElement("div");k.appendChild(this.cloneNode(true));k=k.innerHTML}return h.clean([k.replace(Za,"").replace(Oa,"")],o)[0]}else return this.cloneNode(true)});if(a===true){P(this,g);P(this.find("*"),g.find("*"))}return g},
html:function(a){if(a===f)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Za,""):null;else if(typeof a==="string"&&!/<script/i.test(a)&&(h.support.leadingWhitespace||!Oa.test(a))&&!xa[($a.exec(a)||["",""])[1].toLowerCase()])try{for(var g=0,k=this.length;g<k;g++)if(this[g].nodeType===1){r(this[g].getElementsByTagName("*"));this[g].innerHTML=a}}catch(o){this.empty().append(a)}else h.isFunction(a)?this.each(function(n){var w=h(this),z=w.html();w.empty().append(function(){return a.call(this,
n,z)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){h.isFunction(a)||(a=h(a).detach());return this.each(function(){var g=this.nextSibling,k=this.parentNode;h(this).remove();g?h(g).before(a):h(k).append(a)})}else return this.pushStack(h(h.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,g,k){function o(T){return h.nodeName(T,"table")?T.getElementsByTagName("tbody")[0]||T.appendChild(T.ownerDocument.createElement("tbody")):
T}var n,w,z=a[0],J=[];if(h.isFunction(z))return this.each(function(T){var aa=h(this);a[0]=z.call(this,T,g?aa.html():f);return aa.domManip(a,g,k)});if(this[0]){n=a[0]&&a[0].parentNode&&a[0].parentNode.nodeType===11?{fragment:a[0].parentNode}:U(a,this,J);if(w=n.fragment.firstChild){g=g&&h.nodeName(w,"tr");for(var L=0,I=this.length;L<I;L++)k.call(g?o(this[L],w):this[L],n.cacheable||this.length>1||L>0?n.fragment.cloneNode(true):n.fragment)}J&&h.each(J,d)}return this}});h.fragments={};h.each({appendTo:"append",
prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,g){h.fn[a]=function(k){var o=[];k=h(k);for(var n=0,w=k.length;n<w;n++){var z=(n>0?this.clone(true):this).get();h.fn[g].apply(h(k[n]),z);o=o.concat(z)}return this.pushStack(o,a,k.selector)}});h.each({remove:function(a,g){if(!a||h.filter(a,[this]).length){if(!g&&this.nodeType===1){r(this.getElementsByTagName("*"));r([this])}this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(this.nodeType===
1&&r(this.getElementsByTagName("*"));this.firstChild;)this.removeChild(this.firstChild)}},function(a,g){h.fn[a]=function(){return this.each(g,arguments)}});h.extend({clean:function(a,g,k,o){g=g||E;if(typeof g.createElement==="undefined")g=g.ownerDocument||g[0]&&g[0].ownerDocument||E;var n=[];h.each(a,function(w,z){if(typeof z==="number")z+="";if(z){if(typeof z==="string"&&!jb.test(z))z=g.createTextNode(z);else if(typeof z==="string"){z=z.replace(gb,kb);var J=($a.exec(z)||["",""])[1].toLowerCase(),
L=xa[J]||xa._default,I=L[0];w=g.createElement("div");for(w.innerHTML=L[1]+z+L[2];I--;)w=w.lastChild;if(!h.support.tbody){I=ib.test(z);J=J==="table"&&!I?w.firstChild&&w.firstChild.childNodes:L[1]==="<table>"&&!I?w.childNodes:[];for(L=J.length-1;L>=0;--L)h.nodeName(J[L],"tbody")&&!J[L].childNodes.length&&J[L].parentNode.removeChild(J[L])}!h.support.leadingWhitespace&&Oa.test(z)&&w.insertBefore(g.createTextNode(Oa.exec(z)[0]),w.firstChild);z=h.makeArray(w.childNodes)}if(z.nodeType)n.push(z);else n=h.merge(n,
z)}});if(k)for(a=0;n[a];a++)if(o&&h.nodeName(n[a],"script")&&(!n[a].type||n[a].type.toLowerCase()==="text/javascript"))o.push(n[a].parentNode?n[a].parentNode.removeChild(n[a]):n[a]);else{n[a].nodeType===1&&n.splice.apply(n,[a+1,0].concat(h.makeArray(n[a].getElementsByTagName("script"))));k.appendChild(n[a])}return n}});var lb=/z-?index|font-?weight|opacity|zoom|line-?height/i,ab=/alpha\([^)]*\)/,bb=/opacity=([^)]*)/,Ra=/float/i,Sa=/-([a-z])/ig,mb=/([A-Z])/g,nb=/^-?\d+(?:px)?$/i,ob=/^-?\d/,pb={position:"absolute",
visibility:"hidden",display:"block"},qb=["Left","Right"],rb=["Top","Bottom"],sb=E.defaultView&&E.defaultView.getComputedStyle,cb=h.support.cssFloat?"cssFloat":"styleFloat",Ta=function(a,g){return g.toUpperCase()};h.fn.css=function(a,g){return i(this,a,g,true,function(k,o,n){if(n===f)return h.curCSS(k,o);if(typeof n==="number"&&!lb.test(o))n+="px";h.style(k,o,n)})};h.extend({style:function(a,g,k){if(!a||a.nodeType===3||a.nodeType===8)return f;if((g==="width"||g==="height")&&parseFloat(k)<0)k=f;var o=
a.style||a,n=k!==f;if(!h.support.opacity&&g==="opacity"){if(n){o.zoom=1;g=parseInt(k,10)+""==="NaN"?"":"alpha(opacity="+k*100+")";a=o.filter||h.curCSS(a,"filter")||"";o.filter=ab.test(a)?a.replace(ab,g):g}return o.filter&&o.filter.indexOf("opacity=")>=0?parseFloat(bb.exec(o.filter)[1])/100+"":""}if(Ra.test(g))g=cb;g=g.replace(Sa,Ta);if(n)o[g]=k;return o[g]},css:function(a,g,k,o){if(g==="width"||g==="height"){var n,w=g==="width"?qb:rb;function z(){n=g==="width"?a.offsetWidth:a.offsetHeight;o!=="border"&&
h.each(w,function(){o||(n-=parseFloat(h.curCSS(a,"padding"+this,true))||0);if(o==="margin")n+=parseFloat(h.curCSS(a,"margin"+this,true))||0;else n-=parseFloat(h.curCSS(a,"border"+this+"Width",true))||0})}a.offsetWidth!==0?z():h.swap(a,pb,z);return Math.max(0,Math.round(n))}return h.curCSS(a,g,k)},curCSS:function(a,g,k){var o,n=a.style;if(!h.support.opacity&&g==="opacity"&&a.currentStyle){o=bb.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return o===""?"1":o}if(Ra.test(g))g=cb;if(!k&&
n&&n[g])o=n[g];else if(sb){if(Ra.test(g))g="float";g=g.replace(mb,"-$1").toLowerCase();n=a.ownerDocument.defaultView;if(!n)return null;if(a=n.getComputedStyle(a,null))o=a.getPropertyValue(g);if(g==="opacity"&&o==="")o="1"}else if(a.currentStyle){k=g.replace(Sa,Ta);o=a.currentStyle[g]||a.currentStyle[k];if(!nb.test(o)&&ob.test(o)){g=n.left;var w=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;n.left=k==="fontSize"?"1em":o||0;o=n.pixelLeft+"px";n.left=g;a.runtimeStyle.left=w}}return o},
swap:function(a,g,k){var o={};for(var n in g){o[n]=a.style[n];a.style[n]=g[n]}k.call(a);for(n in g)a.style[n]=o[n]}});if(h.expr&&h.expr.filters){h.expr.filters.hidden=function(a){var g=a.offsetWidth,k=a.offsetHeight,o=a.nodeName.toLowerCase()==="tr";return g===0&&k===0&&!o?true:g>0&&k>0&&!o?false:h.curCSS(a,"display")==="none"};h.expr.filters.visible=function(a){return!h.expr.filters.hidden(a)}}var tb=j(),ub=/<script(.|\s)*?\/script>/gi,vb=/select|textarea/i,wb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,
Ia=/=\?(&|$)/,Ua=/\?/,xb=/(\?|&)_=.*?(&|$)/,yb=/^(\w+:)?\/\/([^\/?#]+)/,zb=/%20/g;h.fn.extend({_load:h.fn.load,load:function(a,g,k){if(typeof a!=="string")return this._load(a);else if(!this.length)return this;var o=a.indexOf(" ");if(o>=0){var n=a.slice(o,a.length);a=a.slice(0,o)}o="GET";if(g)if(h.isFunction(g)){k=g;g=null}else if(typeof g==="object"){g=h.param(g,h.ajaxSettings.traditional);o="POST"}h.ajax({url:a,type:o,dataType:"html",data:g,context:this,complete:function(w,z){if(z==="success"||z===
"notmodified")this.html(n?h("<div />").append(w.responseText.replace(ub,"")).find(n):w.responseText);k&&this.each(k,[w.responseText,z,w])}});return this},serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?h.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||vb.test(this.nodeName)||wb.test(this.type))}).map(function(a,g){a=h(this).val();return a==null?null:h.isArray(a)?
h.map(a,function(k){return{name:g.name,value:k}}):{name:g.name,value:a}}).get()}});h.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,g){h.fn[g]=function(k){return this.bind(g,k)}});h.extend({get:function(a,g,k,o){if(h.isFunction(g)){o=o||k;k=g;g=null}return h.ajax({type:"GET",url:a,data:g,success:k,dataType:o})},getScript:function(a,g){return h.get(a,null,g,"script")},getJSON:function(a,g,k){return h.get(a,g,k,"json")},post:function(a,g,k,o){if(h.isFunction(g)){o=
o||k;k=g;g={}}return h.ajax({type:"POST",url:a,data:g,success:k,dataType:o})},ajaxSetup:function(a){h.extend(h.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:c.XMLHttpRequest&&(c.location.protocol!=="file:"||!c.ActiveXObject)?function(){return new c.XMLHttpRequest}:function(){try{return new c.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",
script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function g(){n.success&&n.success.call(L,J,z,X);n.global&&o("ajaxSuccess",[X,n])}function k(){n.complete&&n.complete.call(L,X,z);n.global&&o("ajaxComplete",[X,n]);n.global&&!--h.active&&h.event.trigger("ajaxStop")}function o(O,N){(n.context?h(n.context):h.event).trigger(O,N)}var n=h.extend(true,{},h.ajaxSettings,a),w,z,J,L=n.context||
n,I=n.type.toUpperCase();if(n.data&&n.processData&&typeof n.data!=="string")n.data=h.param(n.data,n.traditional);if(n.dataType==="jsonp"){if(I==="GET")Ia.test(n.url)||(n.url+=(Ua.test(n.url)?"&":"?")+(n.jsonp||"callback")+"=?");else if(!n.data||!Ia.test(n.data))n.data=(n.data?n.data+"&":"")+(n.jsonp||"callback")+"=?";n.dataType="json"}if(n.dataType==="json"&&(n.data&&Ia.test(n.data)||Ia.test(n.url))){w=n.jsonpCallback||"jsonp"+tb++;if(n.data)n.data=(n.data+"").replace(Ia,"="+w+"$1");n.url=n.url.replace(Ia,
"="+w+"$1");n.dataType="script";c[w]=c[w]||function(O){J=O;g();k();c[w]=f;try{delete c[w]}catch(N){}ia&&ia.removeChild(na)}}if(n.dataType==="script"&&n.cache===null)n.cache=false;if(n.cache===false&&I==="GET"){var T=j(),aa=n.url.replace(xb,"$1_="+T+"$2");n.url=aa+(aa===n.url?(Ua.test(n.url)?"&":"?")+"_="+T:"")}if(n.data&&I==="GET")n.url+=(Ua.test(n.url)?"&":"?")+n.data;n.global&&!h.active++&&h.event.trigger("ajaxStart");T=(T=yb.exec(n.url))&&(T[1]&&T[1]!==location.protocol||T[2]!==location.host);
if(n.dataType==="script"&&I==="GET"&&T){var ia=E.getElementsByTagName("head")[0]||E.documentElement,na=E.createElement("script");na.src=n.url;if(n.scriptCharset)na.charset=n.scriptCharset;if(!w){var qa=false;na.onload=na.onreadystatechange=function(){if(!qa&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){qa=true;g();k();na.onload=na.onreadystatechange=null;ia&&na.parentNode&&ia.removeChild(na)}}}ia.insertBefore(na,ia.firstChild);return f}var wa=false,X=n.xhr();if(X){n.username?
X.open(I,n.url,n.async,n.username,n.password):X.open(I,n.url,n.async);try{if(n.data||a&&a.contentType)X.setRequestHeader("Content-Type",n.contentType);if(n.ifModified){h.lastModified[n.url]&&X.setRequestHeader("If-Modified-Since",h.lastModified[n.url]);h.etag[n.url]&&X.setRequestHeader("If-None-Match",h.etag[n.url])}T||X.setRequestHeader("X-Requested-With","XMLHttpRequest");X.setRequestHeader("Accept",n.dataType&&n.accepts[n.dataType]?n.accepts[n.dataType]+", */*":n.accepts._default)}catch(Qa){}if(n.beforeSend&&
n.beforeSend.call(L,X,n)===false){n.global&&!--h.active&&h.event.trigger("ajaxStop");X.abort();return false}n.global&&o("ajaxSend",[X,n]);var q=X.onreadystatechange=function(O){if(!X||X.readyState===0){wa||k();wa=true;if(X)X.onreadystatechange=h.noop}else if(!wa&&X&&(X.readyState===4||O==="timeout")){wa=true;X.onreadystatechange=h.noop;z=O==="timeout"?"timeout":!h.httpSuccess(X)?"error":n.ifModified&&h.httpNotModified(X,n.url)?"notmodified":"success";if(z==="success")try{J=h.httpData(X,n.dataType,
n)}catch(N){z="parsererror"}if(z==="success"||z==="notmodified")w||g();else h.handleError(n,X,z);k();O==="timeout"&&X.abort();if(n.async)X=null}};try{var v=X.abort;X.abort=function(){if(X){v.call(X);if(X)X.readyState=0}q()}}catch(D){}n.async&&n.timeout>0&&setTimeout(function(){X&&!wa&&q("timeout")},n.timeout);try{X.send(I==="POST"||I==="PUT"||I==="DELETE"?n.data:null)}catch(F){h.handleError(n,X,null,F);k()}n.async||q();return X}},handleError:function(a,g,k,o){if(a.error)a.error.call(a.context||c,
g,k,o);if(a.global)(a.context?h(a.context):h.event).trigger("ajaxError",[g,a,o])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223||a.status===0}catch(g){}return false},httpNotModified:function(a,g){var k=a.getResponseHeader("Last-Modified"),o=a.getResponseHeader("Etag");if(k)h.lastModified[g]=k;if(o)h.etag[g]=o;return a.status===304||a.status===0},httpData:function(a,g,k){var o=a.getResponseHeader("content-type")||
"",n=g==="xml"||!g&&o.indexOf("xml")>=0;a=n?a.responseXML:a.responseText;if(n&&a.documentElement.nodeName==="parsererror")throw"parsererror";if(k&&k.dataFilter)a=k.dataFilter(a,g);if(typeof a==="string")if(g==="json"||!g&&o.indexOf("json")>=0)if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))a=c.JSON&&c.JSON.parse?c.JSON.parse(a):(new Function("return "+a))();
else throw"Invalid JSON: "+a;else if(g==="script"||!g&&o.indexOf("javascript")>=0)h.globalEval(a);return a},param:function(a,g){function k(n,w){w=h.isFunction(w)?w():w;o[o.length]=encodeURIComponent(n)+"="+encodeURIComponent(w)}var o=[];if(g===f)g=h.ajaxSettings.traditional;h.isArray(a)||a.jquery?h.each(a,function(){k(this.name,this.value)}):h.each(a,function n(w,z){if(h.isArray(z))h.each(z,function(J,L){g?k(w,L):n(w+"["+(typeof L==="object"||h.isArray(L)?J:"")+"]",L)});else!g&&z!=null&&typeof z===
"object"?h.each(z,function(J,L){n(w+"["+J+"]",L)}):k(w,z)});return o.join("&").replace(zb,"+")}});var Va={},Ab=/toggle|show|hide/,Bb=/^([+-]=)?([\d+-.]+)(.*)$/,Pa,Wa=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];h.fn.extend({show:function(a,g){if(a!=null)return this.animate(u("show",3),a,g);else{a=0;for(g=this.length;a<g;a++){var k=h.data(this[a],"olddisplay");this[a].style.display=k||"";if(h.css(this[a],
"display")==="none"){k=this[a].nodeName;var o;if(Va[k])o=Va[k];else{var n=h("<"+k+" />").appendTo("body");o=n.css("display");if(o==="none")o="block";n.remove();Va[k]=o}h.data(this[a],"olddisplay",o)}}a=0;for(g=this.length;a<g;a++)this[a].style.display=h.data(this[a],"olddisplay")||"";return this}},hide:function(a,g){if(a!=null)return this.animate(u("hide",3),a,g);else{a=0;for(g=this.length;a<g;a++){var k=h.data(this[a],"olddisplay");!k&&k!=="none"&&h.data(this[a],"olddisplay",h.css(this[a],"display"))}a=
0;for(g=this.length;a<g;a++)this[a].style.display="none";return this}},_toggle:h.fn.toggle,toggle:function(a,g){var k=typeof a==="boolean";if(h.isFunction(a)&&h.isFunction(g))this._toggle.apply(this,arguments);else a==null||k?this.each(function(){var o=k?a:h(this).is(":hidden");h(this)[o?"show":"hide"]()}):this.animate(u("toggle",3),a,g);return this},fadeTo:function(a,g,k){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:g},a,k)},animate:function(a,g,k,o){var n=h.speed(g,
k,o);if(h.isEmptyObject(a))return this.each(n.complete);return this[n.queue===false?"each":"queue"](function(){var w=h.extend({},n),z,J=this.nodeType===1&&h(this).is(":hidden"),L=this;for(z in a){var I=z.replace(Sa,Ta);if(z!==I){a[I]=a[z];delete a[z];z=I}if(a[z]==="hide"&&J||a[z]==="show"&&!J)return w.complete.call(this);if((z==="height"||z==="width")&&this.style){w.display=h.css(this,"display");w.overflow=this.style.overflow}if(h.isArray(a[z])){(w.specialEasing=w.specialEasing||{})[z]=a[z][1];a[z]=
a[z][0]}}if(w.overflow!=null)this.style.overflow="hidden";w.curAnim=h.extend({},a);h.each(a,function(T,aa){var ia=new h.fx(L,w,T);if(Ab.test(aa))ia[aa==="toggle"?J?"show":"hide":aa](a);else{var na=Bb.exec(aa),qa=ia.cur(true)||0;if(na){aa=parseFloat(na[2]);var wa=na[3]||"px";if(wa!=="px"){L.style[T]=(aa||1)+wa;qa=(aa||1)/ia.cur(true)*qa;L.style[T]=qa+wa}if(na[1])aa=(na[1]==="-="?-1:1)*aa+qa;ia.custom(qa,aa,wa)}else ia.custom(qa,aa,"")}});return true})},stop:function(a,g){var k=h.timers;a&&this.queue([]);
this.each(function(){for(var o=k.length-1;o>=0;o--)if(k[o].elem===this){g&&k[o](true);k.splice(o,1)}});g||this.dequeue();return this}});h.each({slideDown:u("show",1),slideUp:u("hide",1),slideToggle:u("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,g){h.fn[a]=function(k,o){return this.animate(g,k,o)}});h.extend({speed:function(a,g,k){var o=a&&typeof a==="object"?a:{complete:k||!k&&g||h.isFunction(a)&&a,duration:a,easing:k&&g||g&&!h.isFunction(g)&&g};o.duration=h.fx.off?0:typeof o.duration===
"number"?o.duration:h.fx.speeds[o.duration]||h.fx.speeds._default;o.old=o.complete;o.complete=function(){o.queue!==false&&h(this).dequeue();h.isFunction(o.old)&&o.old.call(this)};return o},easing:{linear:function(a,g,k,o){return k+o*a},swing:function(a,g,k,o){return(-Math.cos(a*Math.PI)/2+0.5)*o+k}},timers:[],fx:function(a,g,k){this.options=g;this.elem=a;this.prop=k;if(!g.orig)g.orig={}}});h.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(h.fx.step[this.prop]||
h.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];return(a=parseFloat(h.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(h.curCSS(this.elem,this.prop))||0},custom:function(a,g,k){function o(w){return n.step(w)}this.startTime=j();this.start=a;this.end=g;this.unit=k||this.unit||"px";this.now=this.start;
this.pos=this.state=0;var n=this;o.elem=this.elem;if(o()&&h.timers.push(o)&&!Pa)Pa=setInterval(h.fx.tick,13)},show:function(){this.options.orig[this.prop]=h.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());h(this.elem).show()},hide:function(){this.options.orig[this.prop]=h.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var g=j(),k=true;if(a||g>=this.options.duration+this.startTime){this.now=
this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var o in this.options.curAnim)if(this.options.curAnim[o]!==true)k=false;if(k){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=h.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(h.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&h(this.elem).hide();if(this.options.hide||this.options.show)for(var n in this.options.curAnim)h.style(this.elem,
n,this.options.orig[n]);this.options.complete.call(this.elem)}return false}else{n=g-this.startTime;this.state=n/this.options.duration;a=this.options.easing||(h.easing.swing?"swing":"linear");this.pos=h.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,n,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};h.extend(h.fx,{tick:function(){for(var a=h.timers,g=0;g<a.length;g++)a[g]()||a.splice(g--,1);a.length||
h.fx.stop()},stop:function(){clearInterval(Pa);Pa=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){h.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(h.expr&&h.expr.filters)h.expr.filters.animated=function(a){return h.grep(h.timers,function(g){return a===g.elem}).length};h.fn.offset="getBoundingClientRect"in
E.documentElement?function(a){var g=this[0];if(!g||!g.ownerDocument)return null;if(a)return this.each(function(n){h.offset.setOffset(this,a,n)});if(g===g.ownerDocument.body)return h.offset.bodyOffset(g);var k=g.getBoundingClientRect(),o=g.ownerDocument;g=o.body;o=o.documentElement;return{top:k.top+(self.pageYOffset||h.support.boxModel&&o.scrollTop||g.scrollTop)-(o.clientTop||g.clientTop||0),left:k.left+(self.pageXOffset||h.support.boxModel&&o.scrollLeft||g.scrollLeft)-(o.clientLeft||g.clientLeft||
0)}}:function(a){var g=this[0];if(!g||!g.ownerDocument)return null;if(a)return this.each(function(T){h.offset.setOffset(this,a,T)});if(g===g.ownerDocument.body)return h.offset.bodyOffset(g);h.offset.initialize();var k=g.offsetParent,o=g,n=g.ownerDocument,w,z=n.documentElement,J=n.body;o=(n=n.defaultView)?n.getComputedStyle(g,null):g.currentStyle;for(var L=g.offsetTop,I=g.offsetLeft;(g=g.parentNode)&&g!==J&&g!==z;){if(h.offset.supportsFixedPosition&&o.position==="fixed")break;w=n?n.getComputedStyle(g,
null):g.currentStyle;L-=g.scrollTop;I-=g.scrollLeft;if(g===k){L+=g.offsetTop;I+=g.offsetLeft;if(h.offset.doesNotAddBorder&&!(h.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(g.nodeName))){L+=parseFloat(w.borderTopWidth)||0;I+=parseFloat(w.borderLeftWidth)||0}o=k;k=g.offsetParent}if(h.offset.subtractsBorderForOverflowNotVisible&&w.overflow!=="visible"){L+=parseFloat(w.borderTopWidth)||0;I+=parseFloat(w.borderLeftWidth)||0}o=w}if(o.position==="relative"||o.position==="static"){L+=J.offsetTop;
I+=J.offsetLeft}if(h.offset.supportsFixedPosition&&o.position==="fixed"){L+=Math.max(z.scrollTop,J.scrollTop);I+=Math.max(z.scrollLeft,J.scrollLeft)}return{top:L,left:I}};h.offset={initialize:function(){var a=E.body,g=E.createElement("div"),k,o,n,w=parseFloat(h.curCSS(a,"marginTop",true))||0;h.extend(g.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});g.innerHTML="<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>";
a.insertBefore(g,a.firstChild);k=g.firstChild;o=k.firstChild;n=k.nextSibling.firstChild.firstChild;this.doesNotAddBorder=o.offsetTop!==5;this.doesAddBorderForTableAndCells=n.offsetTop===5;o.style.position="fixed";o.style.top="20px";this.supportsFixedPosition=o.offsetTop===20||o.offsetTop===15;o.style.position=o.style.top="";k.style.overflow="hidden";k.style.position="relative";this.subtractsBorderForOverflowNotVisible=o.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==w;a.removeChild(g);
h.offset.initialize=h.noop},bodyOffset:function(a){var g=a.offsetTop,k=a.offsetLeft;h.offset.initialize();if(h.offset.doesNotIncludeMarginInBodyOffset){g+=parseFloat(h.curCSS(a,"marginTop",true))||0;k+=parseFloat(h.curCSS(a,"marginLeft",true))||0}return{top:g,left:k}},setOffset:function(a,g,k){if(/static/.test(h.curCSS(a,"position")))a.style.position="relative";var o=h(a),n=o.offset(),w=parseInt(h.curCSS(a,"top",true),10)||0,z=parseInt(h.curCSS(a,"left",true),10)||0;if(h.isFunction(g))g=g.call(a,
k,n);k={top:g.top-n.top+w,left:g.left-n.left+z};"using"in g?g.using.call(a,k):o.css(k)}};h.fn.extend({position:function(){if(!this[0])return null;var a=this[0],g=this.offsetParent(),k=this.offset(),o=/^body|html$/i.test(g[0].nodeName)?{top:0,left:0}:g.offset();k.top-=parseFloat(h.curCSS(a,"marginTop",true))||0;k.left-=parseFloat(h.curCSS(a,"marginLeft",true))||0;o.top+=parseFloat(h.curCSS(g[0],"borderTopWidth",true))||0;o.left+=parseFloat(h.curCSS(g[0],"borderLeftWidth",true))||0;return{top:k.top-
o.top,left:k.left-o.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||E.body;a&&!/^body|html$/i.test(a.nodeName)&&h.css(a,"position")==="static";)a=a.offsetParent;return a})}});h.each(["Left","Top"],function(a,g){var k="scroll"+g;h.fn[k]=function(o){var n=this[0],w;if(!n)return null;if(o!==f)return this.each(function(){if(w=C(this))w.scrollTo(!a?o:h(w).scrollLeft(),a?o:h(w).scrollTop());else this[k]=o});else return(w=C(n))?"pageXOffset"in w?w[a?"pageYOffset":"pageXOffset"]:
h.support.boxModel&&w.document.documentElement[k]||w.document.body[k]:n[k]}});h.each(["Height","Width"],function(a,g){var k=g.toLowerCase();h.fn["inner"+g]=function(){return this[0]?h.css(this[0],k,false,"padding"):null};h.fn["outer"+g]=function(o){return this[0]?h.css(this[0],k,false,o?"margin":"border"):null};h.fn[k]=function(o){var n=this[0];if(!n)return o==null?null:this;return"scrollTo"in n&&n.document?n.document.compatMode==="CSS1Compat"&&n.document.documentElement["client"+g]||n.document.body["client"+
g]:n.nodeType===9?Math.max(n.documentElement["client"+g],n.body["scroll"+g],n.documentElement["scroll"+g],n.body["offset"+g],n.documentElement["offset"+g]):o===f?h.css(n,k):this.css(k,typeof o==="string"?o:o+"px")}});c.jQuery=c.$=h})(window);
function init_buttons(){$("a.button").wrapInner("<div></div>");$("a.button").prepend('<img src="/images/btn_left.png" />');$("a.button").append('<img src="/images/btn_right.png" />');$("#nav ul#main li.selected a.parent_link").wrapInner("<div></div>");$("#nav ul#main li.selected a.parent_link").prepend('<img src="/images/tab_shadow_left.gif" />');$("#nav ul#main li.selected a.parent_link").append('<img src="/images/tab_shadow_right.gif" />')}
function init_button2s(){$("a.button2").wrapInner("<div></div>");$("a.button2").prepend('<img src="/images/btn_left.png" />');$("a.button2").append('<img src="/images/btn_right.png" />')}(function(c){c().ajaxSend(function(f,b){b.setRequestHeader("Accept","text/javascript, text/html, application/xml, text/xml, */*")})})(jQuery);
(function(c){c.fn.reset=function(){return this.each(function(){if(typeof this.reset=="function"||typeof this.reset=="object"&&!this.reset.nodeType)this.reset()})};c.fn.enable=function(){return this.each(function(){this.disabled=false})};c.fn.disable=function(){return this.each(function(){this.disabled=true})}})(jQuery);
(function(c){c.extend({fieldEvent:function(f,b){f=f[0]||f;var d="change";if(f.type=="radio"||f.type=="checkbox")d="click";else if(b&&f.type=="text"||f.type=="textarea")d="keyup";return d}});c.fn.extend({delayedObserver:function(f,b){var d=c(this);if(typeof window.delayedObserverStack=="undefined")window.delayedObserverStack=[];if(typeof window.delayedObserverCallback=="undefined")window.delayedObserverCallback=function(j){observed=window.delayedObserverStack[j];observed.timer&&clearTimeout(observed.timer);
observed.timer=setTimeout(function(){observed.timer=null;observed.callback(observed.obj,observed.obj.formVal())},observed.delay*1E3);observed.oldVal=observed.obj.formVal()};window.delayedObserverStack.push({obj:d,timer:null,delay:f,oldVal:d.formVal(),callback:b});var i=window.delayedObserverStack.length-1;d[0].tagName=="FORM"?c(":input",d).each(function(){var j=c(this);j.bind(c.fieldEvent(j,f),function(){observed=window.delayedObserverStack[i];observed.obj.formVal()!=observed.obj.oldVal&&window.delayedObserverCallback(i)})}):
d.bind(c.fieldEvent(d,f),function(){observed=window.delayedObserverStack[i];observed.obj.formVal()!=observed.obj.oldVal&&window.delayedObserverCallback(i)})},formVal:function(){var f=this[0];if(f.tagName=="FORM")return this.serialize();return f.type=="checkbox"||self.type=="radio"?this.filter("input:checked").val()||"":this.val()}})})(jQuery);
(function(c){c.fn.extend({visualEffect:function(f){e=f.replace(/\_(.)/g,function(b,d){return d.toUpperCase()});return eval("$(this)."+e+"()")},appear:function(f,b){return this.fadeIn(f,b)},blindDown:function(f,b){return this.show("blind",{direction:"vertical"},f,b)},blindUp:function(f,b){return this.hide("blind",{direction:"vertical"},f,b)},blindRight:function(f,b){return this.show("blind",{direction:"horizontal"},f,b)},blindLeft:function(f,b){this.hide("blind",{direction:"horizontal"},f,b);return this},
dropOut:function(f,b){return this.hide("drop",{direction:"down"},f,b)},dropIn:function(f,b){return this.show("drop",{direction:"up"},f,b)},fade:function(f,b){return this.fadeOut(f,b)},fadeToggle:function(f,b){return this.animate({opacity:"toggle"},f,b)},fold:function(f,b){return this.hide("fold",{},f,b)},foldOut:function(f,b){return this.show("fold",{},f,b)},grow:function(f,b){return this.show("scale",{},f,b)},highlight:function(f,b){return this.show("highlight",{},f,b)},puff:function(f,b){return this.hide("puff",
{},f,b)},pulsate:function(f,b){return this.show("pulsate",{},f,b)},shake:function(f,b){return this.show("shake",{},f,b)},shrink:function(f,b){return this.hide("scale",{},f,b)},squish:function(f,b){return this.hide("scale",{origin:["top","left"]},f,b)},slideUp:function(f,b){return this.hide("slide",{direction:"up"},f,b)},slideDown:function(f,b){return this.show("slide",{direction:"up"},f,b)},switchOff:function(f,b){return this.hide("clip",{},f,b)},switchOn:function(f,b){return this.show("clip",{},
f,b)}})})(jQuery);
(function(c){function f(r){c.fn.cycle.debug&&b(r)}function b(){window.console&&window.console.log&&window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}function d(r,u,C){if(r.cycleStop==undefined)r.cycleStop=0;if(u===undefined||u===null)u={};if(u.constructor==String){switch(u){case "stop":r.cycleStop++;r.cycleTimeout&&clearTimeout(r.cycleTimeout);r.cycleTimeout=0;c(r).removeData("cycle.opts");return false;case "pause":r.cyclePause=1;return false;case "resume":r.cyclePause=0;if(C===
true){u=c(r).data("cycle.opts");if(!u){b("options not found, can not resume");return false}if(r.cycleTimeout){clearTimeout(r.cycleTimeout);r.cycleTimeout=0}y(u.elements,u,1,1)}return false;case "prev":case "next":r=c(r).data("cycle.opts");if(!r){b('options not found, "prev/next" ignored');return false}c.fn.cycle[u](r);return false;default:u={fx:u}}return u}else if(u.constructor==Number){var h=u;u=c(r).data("cycle.opts");if(!u){b("options not found, can not advance slide");return false}if(h<0||h>=
u.elements.length){b("invalid slide index: "+h);return false}u.nextSlide=h;if(r.cycleTimeout){clearTimeout(r.cycleTimeout);r.cycleTimeout=0}if(typeof C=="string")u.oneTimeFx=C;y(u.elements,u,1,h>=u.currSlide);return false}return u}function i(r,u){if(!c.support.opacity&&u.cleartype&&r.style.filter)try{r.style.removeAttribute("filter")}catch(C){}}function j(r,u,C,h,M){var x=c.extend({},c.fn.cycle.defaults,h||{},c.metadata?r.metadata():c.meta?r.data():{});if(x.autostop)x.countdown=x.autostopCount||C.length;
var E=r[0];r.data("cycle.opts",x);x.$cont=r;x.stopCount=E.cycleStop;x.elements=C;x.before=x.before?[x.before]:[];x.after=x.after?[x.after]:[];x.after.unshift(function(){x.busy=0});!c.support.opacity&&x.cleartype&&x.after.push(function(){i(this,x)});x.continuous&&x.after.push(function(){y(C,x,0,!x.rev)});m(x);!c.support.opacity&&x.cleartype&&!x.cleartypeNoBg&&U(u);r.css("position")=="static"&&r.css("position","relative");x.width&&r.width(x.width);x.height&&x.height!="auto"&&r.height(x.height);if(x.startingSlide)x.startingSlide=
parseInt(x.startingSlide);if(x.random){x.randomMap=[];for(E=0;E<C.length;E++)x.randomMap.push(E);x.randomMap.sort(function(){return Math.random()-0.5});x.randomIndex=0;x.startingSlide=x.randomMap[0]}else if(x.startingSlide>=C.length)x.startingSlide=0;x.currSlide=x.startingSlide=x.startingSlide||0;var R=x.startingSlide;u.css({position:"absolute",top:0,left:0}).hide().each(function(Q){Q=R?Q>=R?C.length-(Q-R):R-Q:C.length-Q;c(this).css("z-index",Q)});c(C[R]).css("opacity",1).show();i(C[R],x);x.fit&&
x.width&&u.width(x.width);x.fit&&x.height&&x.height!="auto"&&u.height(x.height);if(x.containerResize&&!r.innerHeight()){for(var ca=E=0,Y=0;Y<C.length;Y++){var ka=c(C[Y]),ma=ka[0],fa=ka.outerWidth();ka=ka.outerHeight();if(!fa)fa=ma.offsetWidth;if(!ka)ka=ma.offsetHeight;E=fa>E?fa:E;ca=ka>ca?ka:ca}E>0&&ca>0&&r.css({width:E+"px",height:ca+"px"})}x.pause&&r.hover(function(){this.cyclePause++},function(){this.cyclePause--});if(s(x)===false)return false;var ba=false;h.requeueAttempts=h.requeueAttempts||
0;u.each(function(){var Q=c(this);this.cycleH=x.fit&&x.height?x.height:Q.height();this.cycleW=x.fit&&x.width?x.width:Q.width();if(Q.is("img")){Q=c.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete;var ja=c.browser.opera&&(this.cycleW==42&&this.cycleH==19||this.cycleW==37&&this.cycleH==17)&&!this.complete,da=this.cycleH==0&&this.cycleW==0&&!this.complete;if(c.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete||Q||ja||da)if(M.s&&x.requeueOnImageNotLoaded&&++h.requeueAttempts<
100){b(h.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){c(M.s,M.c).cycle(h)},x.requeueTimeout);ba=true;return false}else b("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}return true});if(ba)return false;x.cssBefore=x.cssBefore||{};x.animIn=x.animIn||{};x.animOut=x.animOut||{};u.not(":eq("+R+")").css(x.cssBefore);x.cssFirst&&c(u[R]).css(x.cssFirst);if(x.timeout){x.timeout=parseInt(x.timeout);if(x.speed.constructor==
String)x.speed=c.fx.speeds[x.speed]||parseInt(x.speed);for(x.sync||(x.speed/=2);x.timeout-x.speed<250;)x.timeout+=x.speed}if(x.easing)x.easeIn=x.easeOut=x.easing;if(!x.speedIn)x.speedIn=x.speed;if(!x.speedOut)x.speedOut=x.speed;x.slideCount=C.length;x.currSlide=x.lastSlide=R;if(x.random){x.nextSlide=x.currSlide;if(++x.randomIndex==C.length)x.randomIndex=0;x.nextSlide=x.randomMap[x.randomIndex]}else x.nextSlide=x.startingSlide>=C.length-1?0:x.startingSlide+1;if(!x.multiFx){E=c.fn.cycle.transitions[x.fx];
if(c.isFunction(E))E(r,u,x);else if(x.fx!="custom"&&!x.multiFx){b("unknown transition: "+x.fx,"; slideshow terminating");return false}}r=u[R];x.before.length&&x.before[0].apply(r,[r,r,x,true]);x.after.length>1&&x.after[1].apply(r,[r,r,x,true]);x.next&&c(x.next).bind(x.prevNextEvent,function(){return H(x,x.rev?-1:1)});x.prev&&c(x.prev).bind(x.prevNextEvent,function(){return H(x,x.rev?1:-1)});x.pager&&P(C,x);t(x,C);return x}function m(r){r.original={before:[],after:[]};r.original.cssBefore=c.extend({},
r.cssBefore);r.original.cssAfter=c.extend({},r.cssAfter);r.original.animIn=c.extend({},r.animIn);r.original.animOut=c.extend({},r.animOut);c.each(r.before,function(){r.original.before.push(this)});c.each(r.after,function(){r.original.after.push(this)})}function s(r){var u,C,h=c.fn.cycle.transitions;if(r.fx.indexOf(",")>0){r.multiFx=true;r.fxs=r.fx.replace(/\s*/g,"").split(",");for(u=0;u<r.fxs.length;u++){var M=r.fxs[u];C=h[M];if(!C||!h.hasOwnProperty(M)||!c.isFunction(C)){b("discarding unknown transition: ",
M);r.fxs.splice(u,1);u--}}if(!r.fxs.length){b("No valid transitions named; slideshow terminating.");return false}}else if(r.fx=="all"){r.multiFx=true;r.fxs=[];for(p in h){C=h[p];h.hasOwnProperty(p)&&c.isFunction(C)&&r.fxs.push(p)}}if(r.multiFx&&r.randomizeEffects){C=Math.floor(Math.random()*20)+30;for(u=0;u<C;u++){h=Math.floor(Math.random()*r.fxs.length);r.fxs.push(r.fxs.splice(h,1)[0])}f("randomized fx sequence: ",r.fxs)}return true}function t(r,u){r.addSlide=function(C,h){C=c(C);var M=C[0];r.autostopCount||
r.countdown++;u[h?"unshift":"push"](M);if(r.els)r.els[h?"unshift":"push"](M);r.slideCount=u.length;C.css("position","absolute");C[h?"prependTo":"appendTo"](r.$cont);if(h){r.currSlide++;r.nextSlide++}!c.support.opacity&&r.cleartype&&!r.cleartypeNoBg&&U(C);r.fit&&r.width&&C.width(r.width);r.fit&&r.height&&r.height!="auto"&&$slides.height(r.height);M.cycleH=r.fit&&r.height?r.height:C.height();M.cycleW=r.fit&&r.width?r.width:C.width();C.css(r.cssBefore);r.pager&&c.fn.cycle.createPagerAnchor(u.length-
1,M,c(r.pager),u,r);c.isFunction(r.onAddSlide)?r.onAddSlide(C):C.hide()}}function y(r,u,C,h){if(C&&u.busy&&u.manualTrump){c(r).stop(true,true);u.busy=false}if(!u.busy){var M=u.$cont[0],x=r[u.currSlide],E=r[u.nextSlide];if(!(M.cycleStop!=u.stopCount||M.cycleTimeout===0&&!C))if(!C&&!M.cyclePause&&(u.autostop&&--u.countdown<=0||u.nowrap&&!u.random&&u.nextSlide<u.currSlide))u.end&&u.end(u);else{if(C||!M.cyclePause){var R=u.fx;x.cycleH=x.cycleH||c(x).height();x.cycleW=x.cycleW||c(x).width();E.cycleH=E.cycleH||
c(E).height();E.cycleW=E.cycleW||c(E).width();if(u.multiFx){if(u.lastFx==undefined||++u.lastFx>=u.fxs.length)u.lastFx=0;R=u.fxs[u.lastFx];u.currFx=R}if(u.oneTimeFx){R=u.oneTimeFx;u.oneTimeFx=null}c.fn.cycle.resetState(u,R);u.before.length&&c.each(u.before,function(ca,Y){M.cycleStop==u.stopCount&&Y.apply(E,[x,E,u,h])});R=function(){c.each(u.after,function(ca,Y){M.cycleStop==u.stopCount&&Y.apply(E,[x,E,u,h])})};if(u.nextSlide!=u.currSlide){u.busy=1;if(u.fxFn)u.fxFn(x,E,u,R,h);else c.isFunction(c.fn.cycle[u.fx])?
c.fn.cycle[u.fx](x,E,u,R):c.fn.cycle.custom(x,E,u,R,C&&u.fastOnEvent)}u.lastSlide=u.currSlide;if(u.random){u.currSlide=u.nextSlide;if(++u.randomIndex==r.length)u.randomIndex=0;u.nextSlide=u.randomMap[u.randomIndex]}else{C=u.nextSlide+1==r.length;u.nextSlide=C?0:u.nextSlide+1;u.currSlide=C?r.length-1:u.nextSlide-1}u.pager&&c.fn.cycle.updateActivePagerLink(u.pager,u.currSlide)}C=0;if(u.timeout&&!u.continuous)C=B(x,E,u,h);else if(u.continuous&&M.cyclePause)C=10;if(C>0)M.cycleTimeout=setTimeout(function(){y(r,
u,0,!u.rev)},C)}}}function B(r,u,C,h){if(C.timeoutFn){for(r=C.timeoutFn(r,u,C,h);r-C.speed<250;)r+=C.speed;f("calculated timeout: "+r+"; speed: "+C.speed);if(r!==false)return r}return C.timeout}function H(r,u){var C=r.elements,h=r.$cont[0],M=h.cycleTimeout;if(M){clearTimeout(M);h.cycleTimeout=0}if(r.random&&u<0){r.randomIndex--;if(--r.randomIndex==-2)r.randomIndex=C.length-2;else if(r.randomIndex==-1)r.randomIndex=C.length-1;r.nextSlide=r.randomMap[r.randomIndex]}else if(r.random){if(++r.randomIndex==
C.length)r.randomIndex=0;r.nextSlide=r.randomMap[r.randomIndex]}else{r.nextSlide=r.currSlide+u;if(r.nextSlide<0){if(r.nowrap)return false;r.nextSlide=C.length-1}else if(r.nextSlide>=C.length){if(r.nowrap)return false;r.nextSlide=0}}c.isFunction(r.prevNextClick)&&r.prevNextClick(u>0,r.nextSlide,C[r.nextSlide]);y(C,r,1,u>=0);return false}function P(r,u){var C=c(u.pager);c.each(r,function(h,M){c.fn.cycle.createPagerAnchor(h,M,C,r,u)});c.fn.cycle.updateActivePagerLink(u.pager,u.startingSlide)}function U(r){function u(h){h=
parseInt(h).toString(16);return h.length<2?"0"+h:h}function C(h){for(;h&&h.nodeName.toLowerCase()!="html";h=h.parentNode){var M=c.css(h,"background-color");if(M.indexOf("rgb")>=0){h=M.match(/\d+/g);return"#"+u(h[0])+u(h[1])+u(h[2])}if(M&&M!="transparent")return M}return"#ffffff"}r.each(function(){c(this).css("background-color",C(this))})}if(c.support==undefined)c.support={opacity:!c.browser.msie};c.fn.cycle=function(r,u){var C={s:this.selector,c:this.context};if(this.length===0&&r!="stop"){if(!c.isReady&&
C.s){b("DOM not ready, queuing slideshow");c(function(){c(C.s,C.c).cycle(r,u)});return this}b("terminating; zero elements found by selector"+(c.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var h=d(this,r,u);if(h!==false){this.cycleTimeout&&clearTimeout(this.cycleTimeout);this.cycleTimeout=this.cyclePause=0;var M=c(this),x=h.slideExpr?c(h.slideExpr,this):M.children(),E=x.get();if(E.length<2)b("terminating; too few slides: "+E.length);else{var R=j(M,x,E,h,C);if(R!==false)if(h=
R.continuous?10:B(R.currSlide,R.nextSlide,R,!R.rev)){h+=R.delay||0;if(h<10)h=10;f("first timeout: "+h);this.cycleTimeout=setTimeout(function(){y(E,R,0,!R.rev)},h)}}}})};c.fn.cycle.resetState=function(r,u){u=u||r.fx;r.before=[];r.after=[];r.cssBefore=c.extend({},r.original.cssBefore);r.cssAfter=c.extend({},r.original.cssAfter);r.animIn=c.extend({},r.original.animIn);r.animOut=c.extend({},r.original.animOut);r.fxFn=null;c.each(r.original.before,function(){r.before.push(this)});c.each(r.original.after,
function(){r.after.push(this)});u=c.fn.cycle.transitions[u];c.isFunction(u)&&u(r.$cont,c(r.elements),r)};c.fn.cycle.updateActivePagerLink=function(r,u){c(r).each(function(){c(this).find("a").removeClass("activeSlide").filter("a:eq("+u+")").addClass("activeSlide")})};c.fn.cycle.next=function(r){H(r,r.rev?-1:1)};c.fn.cycle.prev=function(r){H(r,r.rev?1:-1)};c.fn.cycle.createPagerAnchor=function(r,u,C,h,M){if(u=c.isFunction(M.pagerAnchorBuilder)?M.pagerAnchorBuilder(r,u):'<a href="#">'+(r+1)+"</a>"){var x=
c(u);if(x.parents("body").length===0){var E=[];if(C.length>1){C.each(function(){var R=x.clone(true);c(this).append(R);E.push(R[0])});x=c(E)}else x.appendTo(C)}x.bind(M.pagerEvent,function(R){R.preventDefault();M.nextSlide=r;R=M.$cont[0];var ca=R.cycleTimeout;if(ca){clearTimeout(ca);R.cycleTimeout=0}c.isFunction(M.pagerClick)&&M.pagerClick(M.nextSlide,h[M.nextSlide]);y(h,M,1,M.currSlide<r);return false});M.pagerEvent!="click"&&x.click(function(){return false});M.pauseOnPagerHover&&x.hover(function(){M.$cont[0].cyclePause++},
function(){M.$cont[0].cyclePause--})}};c.fn.cycle.hopsFromLast=function(r,u){var C=r.lastSlide,h=r.currSlide;return u?h>C?h-C:r.slideCount-C:h<C?C-h:C+r.slideCount-h};c.fn.cycle.commonReset=function(r,u,C,h,M,x){c(C.elements).not(r).hide();C.cssBefore.opacity=1;C.cssBefore.display="block";if(h!==false&&u.cycleW>0)C.cssBefore.width=u.cycleW;if(M!==false&&u.cycleH>0)C.cssBefore.height=u.cycleH;C.cssAfter=C.cssAfter||{};C.cssAfter.display="none";c(r).css("zIndex",C.slideCount+(x===true?1:0));c(u).css("zIndex",
C.slideCount+(x===true?0:1))};c.fn.cycle.custom=function(r,u,C,h,M){var x=c(r),E=c(u),R=C.speedIn;r=C.speedOut;var ca=C.easeIn;u=C.easeOut;E.css(C.cssBefore);if(M){R=typeof M=="number"?(r=M):(r=1);ca=u=null}var Y=function(){E.animate(C.animIn,R,ca,h)};x.animate(C.animOut,r,u,function(){C.cssAfter&&x.css(C.cssAfter);C.sync||Y()});C.sync&&Y()};c.fn.cycle.transitions={fade:function(r,u,C){u.not(":eq("+C.currSlide+")").css("opacity",0);C.before.push(function(h,M,x){c.fn.cycle.commonReset(h,M,x);x.cssBefore.opacity=
0});C.animIn={opacity:1};C.animOut={opacity:0};C.cssBefore={top:0,left:0}}};c.fn.cycle.ver=function(){return"2.73"};c.fn.cycle.defaults={fx:"fade",timeout:4E3,timeoutFn:null,continuous:0,speed:1E3,speedIn:null,speedOut:null,next:null,prev:null,prevNextClick:null,prevNextEvent:"click",pager:null,pagerClick:null,pagerEvent:"click",pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,
height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!c.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250}})(jQuery);
(function(c){c.fn.cycle.transitions.none=function(f,b,d){d.fxFn=function(i,j,m,s){c(j).show();c(i).hide();s()}};c.fn.cycle.transitions.scrollUp=function(f,b,d){f.css("overflow","hidden");d.before.push(c.fn.cycle.commonReset);f=f.height();d.cssBefore={top:f,left:0};d.cssFirst={top:0};d.animIn={top:0};d.animOut={top:-f}};c.fn.cycle.transitions.scrollDown=function(f,b,d){f.css("overflow","hidden");d.before.push(c.fn.cycle.commonReset);f=f.height();d.cssFirst={top:0};d.cssBefore={top:-f,left:0};d.animIn=
{top:0};d.animOut={top:f}};c.fn.cycle.transitions.scrollLeft=function(f,b,d){f.css("overflow","hidden");d.before.push(c.fn.cycle.commonReset);f=f.width();d.cssFirst={left:0};d.cssBefore={left:f,top:0};d.animIn={left:0};d.animOut={left:0-f}};c.fn.cycle.transitions.scrollRight=function(f,b,d){f.css("overflow","hidden");d.before.push(c.fn.cycle.commonReset);f=f.width();d.cssFirst={left:0};d.cssBefore={left:-f,top:0};d.animIn={left:0};d.animOut={left:f}};c.fn.cycle.transitions.scrollHorz=function(f,b,
d){f.css("overflow","hidden").width();d.before.push(function(i,j,m,s){c.fn.cycle.commonReset(i,j,m);m.cssBefore.left=s?j.cycleW-1:1-j.cycleW;m.animOut.left=s?-i.cycleW:i.cycleW});d.cssFirst={left:0};d.cssBefore={top:0};d.animIn={left:0};d.animOut={top:0}};c.fn.cycle.transitions.scrollVert=function(f,b,d){f.css("overflow","hidden");d.before.push(function(i,j,m,s){c.fn.cycle.commonReset(i,j,m);m.cssBefore.top=s?1-j.cycleH:j.cycleH-1;m.animOut.top=s?i.cycleH:-i.cycleH});d.cssFirst={top:0};d.cssBefore=
{left:0};d.animIn={top:0};d.animOut={left:0}};c.fn.cycle.transitions.slideX=function(f,b,d){d.before.push(function(i,j,m){c(m.elements).not(i).hide();c.fn.cycle.commonReset(i,j,m,false,true);m.animIn.width=j.cycleW});d.cssBefore={left:0,top:0,width:0};d.animIn={width:"show"};d.animOut={width:0}};c.fn.cycle.transitions.slideY=function(f,b,d){d.before.push(function(i,j,m){c(m.elements).not(i).hide();c.fn.cycle.commonReset(i,j,m,true,false);m.animIn.height=j.cycleH});d.cssBefore={left:0,top:0,height:0};
d.animIn={height:"show"};d.animOut={height:0}};c.fn.cycle.transitions.shuffle=function(f,b,d){f=f.css("overflow","visible").width();b.css({left:0,top:0});d.before.push(function(i,j,m){c.fn.cycle.commonReset(i,j,m,true,true,true)});if(!d.speedAdjusted){d.speed/=2;d.speedAdjusted=true}d.random=0;d.shuffle=d.shuffle||{left:-f,top:15};d.els=[];for(f=0;f<b.length;f++)d.els.push(b[f]);for(f=0;f<d.currSlide;f++)d.els.push(d.els.shift());d.fxFn=function(i,j,m,s,t){var y=t?c(i):c(j);c(j).css(m.cssBefore);
var B=m.slideCount;y.animate(m.shuffle,m.speedIn,m.easeIn,function(){for(var H=c.fn.cycle.hopsFromLast(m,t),P=0;P<H;P++)t?m.els.push(m.els.shift()):m.els.unshift(m.els.pop());if(t){H=0;for(P=m.els.length;H<P;H++)c(m.els[H]).css("z-index",P-H+B)}else{H=c(i).css("z-index");y.css("z-index",parseInt(H)+1+B)}y.animate({left:0,top:0},m.speedOut,m.easeOut,function(){c(t?this:i).hide();s&&s()})})};d.cssBefore={display:"block",opacity:1,top:0,left:0}};c.fn.cycle.transitions.turnUp=function(f,b,d){d.before.push(function(i,
j,m){c.fn.cycle.commonReset(i,j,m,true,false);m.cssBefore.top=j.cycleH;m.animIn.height=j.cycleH});d.cssFirst={top:0};d.cssBefore={left:0,height:0};d.animIn={top:0};d.animOut={height:0}};c.fn.cycle.transitions.turnDown=function(f,b,d){d.before.push(function(i,j,m){c.fn.cycle.commonReset(i,j,m,true,false);m.animIn.height=j.cycleH;m.animOut.top=i.cycleH});d.cssFirst={top:0};d.cssBefore={left:0,top:0,height:0};d.animOut={height:0}};c.fn.cycle.transitions.turnLeft=function(f,b,d){d.before.push(function(i,
j,m){c.fn.cycle.commonReset(i,j,m,false,true);m.cssBefore.left=j.cycleW;m.animIn.width=j.cycleW});d.cssBefore={top:0,width:0};d.animIn={left:0};d.animOut={width:0}};c.fn.cycle.transitions.turnRight=function(f,b,d){d.before.push(function(i,j,m){c.fn.cycle.commonReset(i,j,m,false,true);m.animIn.width=j.cycleW;m.animOut.left=i.cycleW});d.cssBefore={top:0,left:0,width:0};d.animIn={left:0};d.animOut={width:0}};c.fn.cycle.transitions.zoom=function(f,b,d){d.before.push(function(i,j,m){c.fn.cycle.commonReset(i,
j,m,false,false,true);m.cssBefore.top=j.cycleH/2;m.cssBefore.left=j.cycleW/2;m.animIn={top:0,left:0,width:j.cycleW,height:j.cycleH};m.animOut={width:0,height:0,top:i.cycleH/2,left:i.cycleW/2}});d.cssFirst={top:0,left:0};d.cssBefore={width:0,height:0}};c.fn.cycle.transitions.fadeZoom=function(f,b,d){d.before.push(function(i,j,m){c.fn.cycle.commonReset(i,j,m,false,false);m.cssBefore.left=j.cycleW/2;m.cssBefore.top=j.cycleH/2;m.animIn={top:0,left:0,width:j.cycleW,height:j.cycleH}});d.cssBefore={width:0,
height:0};d.animOut={opacity:0}};c.fn.cycle.transitions.blindX=function(f,b,d){f=f.css("overflow","hidden").width();d.before.push(function(i,j,m){c.fn.cycle.commonReset(i,j,m);m.animIn.width=j.cycleW;m.animOut.left=i.cycleW});d.cssBefore={left:f,top:0};d.animIn={left:0};d.animOut={left:f}};c.fn.cycle.transitions.blindY=function(f,b,d){f=f.css("overflow","hidden").height();d.before.push(function(i,j,m){c.fn.cycle.commonReset(i,j,m);m.animIn.height=j.cycleH;m.animOut.top=i.cycleH});d.cssBefore={top:f,
left:0};d.animIn={top:0};d.animOut={top:f}};c.fn.cycle.transitions.blindZ=function(f,b,d){b=f.css("overflow","hidden").height();f=f.width();d.before.push(function(i,j,m){c.fn.cycle.commonReset(i,j,m);m.animIn.height=j.cycleH;m.animOut.top=i.cycleH});d.cssBefore={top:b,left:f};d.animIn={top:0,left:0};d.animOut={top:b,left:f}};c.fn.cycle.transitions.growX=function(f,b,d){d.before.push(function(i,j,m){c.fn.cycle.commonReset(i,j,m,false,true);m.cssBefore.left=this.cycleW/2;m.animIn={left:0,width:this.cycleW};
m.animOut={left:0}});d.cssBefore={width:0,top:0}};c.fn.cycle.transitions.growY=function(f,b,d){d.before.push(function(i,j,m){c.fn.cycle.commonReset(i,j,m,true,false);m.cssBefore.top=this.cycleH/2;m.animIn={top:0,height:this.cycleH};m.animOut={top:0}});d.cssBefore={height:0,left:0}};c.fn.cycle.transitions.curtainX=function(f,b,d){d.before.push(function(i,j,m){c.fn.cycle.commonReset(i,j,m,false,true,true);m.cssBefore.left=j.cycleW/2;m.animIn={left:0,width:this.cycleW};m.animOut={left:i.cycleW/2,width:0}});
d.cssBefore={top:0,width:0}};c.fn.cycle.transitions.curtainY=function(f,b,d){d.before.push(function(i,j,m){c.fn.cycle.commonReset(i,j,m,true,false,true);m.cssBefore.top=j.cycleH/2;m.animIn={top:0,height:j.cycleH};m.animOut={top:i.cycleH/2,height:0}});d.cssBefore={left:0,height:0}};c.fn.cycle.transitions.cover=function(f,b,d){var i=d.direction||"left",j=f.css("overflow","hidden").width(),m=f.height();d.before.push(function(s,t,y){c.fn.cycle.commonReset(s,t,y);if(i=="right")y.cssBefore.left=-j;else if(i==
"up")y.cssBefore.top=m;else if(i=="down")y.cssBefore.top=-m;else y.cssBefore.left=j});d.animIn={left:0,top:0};d.animOut={opacity:1};d.cssBefore={top:0,left:0}};c.fn.cycle.transitions.uncover=function(f,b,d){var i=d.direction||"left",j=f.css("overflow","hidden").width(),m=f.height();d.before.push(function(s,t,y){c.fn.cycle.commonReset(s,t,y,true,true,true);if(i=="right")y.animOut.left=j;else if(i=="up")y.animOut.top=-m;else if(i=="down")y.animOut.top=m;else y.animOut.left=-j});d.animIn={left:0,top:0};
d.animOut={opacity:1};d.cssBefore={top:0,left:0}};c.fn.cycle.transitions.toss=function(f,b,d){var i=f.css("overflow","visible").width(),j=f.height();d.before.push(function(m,s,t){c.fn.cycle.commonReset(m,s,t,true,true,true);if(!t.animOut.left&&!t.animOut.top)t.animOut={left:i*2,top:-j/2,opacity:0};else t.animOut.opacity=0});d.cssBefore={left:0,top:0};d.animIn={left:0}};c.fn.cycle.transitions.wipe=function(f,b,d){var i=f.css("overflow","hidden").width(),j=f.height();d.cssBefore=d.cssBefore||{};var m;
if(d.clip)if(/l2r/.test(d.clip))m="rect(0px 0px "+j+"px 0px)";else if(/r2l/.test(d.clip))m="rect(0px "+i+"px "+j+"px "+i+"px)";else if(/t2b/.test(d.clip))m="rect(0px "+i+"px 0px 0px)";else if(/b2t/.test(d.clip))m="rect("+j+"px "+i+"px "+j+"px 0px)";else if(/zoom/.test(d.clip)){f=parseInt(j/2);b=parseInt(i/2);m="rect("+f+"px "+b+"px "+f+"px "+b+"px)"}d.cssBefore.clip=d.cssBefore.clip||m||"rect(0px 0px 0px 0px)";f=d.cssBefore.clip.match(/(\d+)/g);var s=parseInt(f[0]),t=parseInt(f[1]),y=parseInt(f[2]),
B=parseInt(f[3]);d.before.push(function(H,P,U){if(H!=P){var r=c(H),u=c(P);c.fn.cycle.commonReset(H,P,U,true,true,false);U.cssAfter.display="block";var C=1,h=parseInt(U.speedIn/13)-1;(function M(){var x=s?s-parseInt(C*(s/h)):0,E=B?B-parseInt(C*(B/h)):0,R=y<j?y+parseInt(C*((j-y)/h||1)):j,ca=t<i?t+parseInt(C*((i-t)/h||1)):i;u.css({clip:"rect("+x+"px "+ca+"px "+R+"px "+E+"px)"});C++<=h?setTimeout(M,13):r.css("display","none")})()}});d.cssBefore={display:"block",opacity:1,top:0,left:0};d.animIn={left:0};
d.animOut={left:0}}})(jQuery);
(function(c){function f(){c.fn.ajaxSubmit.debug&&window.console&&window.console.log&&window.console.log("[jquery.form] "+Array.prototype.join.call(arguments,""))}c.fn.ajaxSubmit=function(b){function d(){function H(){if(!R++){M.detachEvent?M.detachEvent("onload",H):M.removeEventListener("load",H,false);var ma=true;try{if(ca)throw"timeout";var fa,ba;ba=M.contentWindow?M.contentWindow.document:M.contentDocument?M.contentDocument:M.document;if((ba.body==null||ba.body.innerHTML=="")&&!ka){ka=1;R--;setTimeout(H,
100);return}x.responseText=ba.body?ba.body.innerHTML:null;x.responseXML=ba.XMLDocument?ba.XMLDocument:ba;x.getResponseHeader=function(da){return{"content-type":r.dataType}[da]};if(r.dataType=="json"||r.dataType=="script"){var Q=ba.getElementsByTagName("textarea")[0];x.responseText=Q?Q.value:x.responseText}else if(r.dataType=="xml"&&!x.responseXML&&x.responseText!=null)x.responseXML=P(x.responseText);fa=c.httpData(x,r.dataType)}catch(ja){ma=false;c.handleError(r,x,"error",ja)}if(ma){r.success(fa,"success");
E&&c.event.trigger("ajaxSuccess",[x,r])}E&&c.event.trigger("ajaxComplete",[x,r]);E&&!--c.active&&c.event.trigger("ajaxStop");if(r.complete)r.complete(x,ma?"success":"error");setTimeout(function(){h.remove();x.responseXML=null},100)}}function P(ma,fa){if(window.ActiveXObject){fa=new ActiveXObject("Microsoft.XMLDOM");fa.async="false";fa.loadXML(ma)}else fa=(new DOMParser).parseFromString(ma,"text/xml");return fa&&fa.documentElement&&fa.documentElement.tagName!="parsererror"?fa:null}var U=t[0];if(c(":input[name=submit]",
U).length)alert('Error: Form elements must not be named "submit".');else{var r=c.extend({},c.ajaxSettings,b),u=jQuery.extend(true,{},c.extend(true,{},c.ajaxSettings),r),C="jqFormIO"+(new Date).getTime(),h=c('<iframe id="'+C+'" name="'+C+'" src="about:blank" />'),M=h[0];h.css({position:"absolute",top:"-1000px",left:"-1000px"});var x={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},
abort:function(){this.aborted=1;h.attr("src","about:blank")}},E=r.global;E&&!c.active++&&c.event.trigger("ajaxStart");E&&c.event.trigger("ajaxSend",[x,r]);if(u.beforeSend&&u.beforeSend(x,u)===false)u.global&&jQuery.active--;else if(!x.aborted){var R=0,ca=0;if(u=U.clk){var Y=u.name;if(Y&&!u.disabled){b.extraData=b.extraData||{};b.extraData[Y]=u.value;if(u.type=="image"){b.extraData[name+".x"]=U.clk_x;b.extraData[name+".y"]=U.clk_y}}}setTimeout(function(){var ma=t.attr("target"),fa=t.attr("action");
U.setAttribute("target",C);U.getAttribute("method")!="POST"&&U.setAttribute("method","POST");U.getAttribute("action")!=r.url&&U.setAttribute("action",r.url);b.skipEncodingOverride||t.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"});r.timeout&&setTimeout(function(){ca=true;H()},r.timeout);var ba=[];try{if(b.extraData)for(var Q in b.extraData)ba.push(c('<input type="hidden" name="'+Q+'" value="'+b.extraData[Q]+'" />').appendTo(U)[0]);h.appendTo("body");M.attachEvent?M.attachEvent("onload",
H):M.addEventListener("load",H,false);U.submit()}finally{U.setAttribute("action",fa);ma?U.setAttribute("target",ma):t.removeAttr("target");c(ba).remove()}},10);var ka=0}}}if(!this.length){f("ajaxSubmit: skipping submit process - no element selected");return this}if(typeof b=="function")b={success:b};b=c.extend({url:this.attr("action")||window.location.toString(),type:this.attr("method")||"GET"},b||{});var i={};this.trigger("form-pre-serialize",[this,b,i]);if(i.veto){f("ajaxSubmit: submit vetoed via form-pre-serialize trigger");
return this}if(b.beforeSerialize&&b.beforeSerialize(this,b)===false){f("ajaxSubmit: submit aborted via beforeSerialize callback");return this}var j=this.formToArray(b.semantic);if(b.data){b.extraData=b.data;for(var m in b.data)if(b.data[m]instanceof Array)for(var s in b.data[m])j.push({name:m,value:b.data[m][s]});else j.push({name:m,value:b.data[m]})}if(b.beforeSubmit&&b.beforeSubmit(j,this,b)===false){f("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",
[j,this,b,i]);if(i.veto){f("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}i=c.param(j);if(b.type.toUpperCase()=="GET"){b.url+=(b.url.indexOf("?")>=0?"&":"?")+i;b.data=null}else b.data=i;var t=this,y=[];b.resetForm&&y.push(function(){t.resetForm()});b.clearForm&&y.push(function(){t.clearForm()});if(!b.dataType&&b.target){var B=b.success||function(){};y.push(function(H){c(b.target).html(H).each(B,arguments)})}else b.success&&y.push(b.success);b.success=function(H,P){for(var U=
0,r=y.length;U<r;U++)y[U].apply(b,[H,P,t])};i=c("input:file",this).fieldValue();j=false;for(m=0;m<i.length;m++)if(i[m])j=true;if(b.iframe||j)b.closeKeepAlive?c.get(b.closeKeepAlive,d):d();else c.ajax(b);this.trigger("form-submit-notify",[this,b]);return this};c.fn.ajaxForm=function(b){return this.ajaxFormUnbind().bind("submit.form-plugin",function(){c(this).ajaxSubmit(b);return false}).each(function(){c(":submit,input:image",this).bind("click.form-plugin",function(d){var i=this.form;i.clk=this;if(this.type==
"image")if(d.offsetX!=undefined){i.clk_x=d.offsetX;i.clk_y=d.offsetY}else if(typeof c.fn.offset=="function"){var j=c(this).offset();i.clk_x=d.pageX-j.left;i.clk_y=d.pageY-j.top}else{i.clk_x=d.pageX-this.offsetLeft;i.clk_y=d.pageY-this.offsetTop}setTimeout(function(){i.clk=i.clk_x=i.clk_y=null},10)})})};c.fn.ajaxFormUnbind=function(){this.unbind("submit.form-plugin");return this.each(function(){c(":submit,input:image",this).unbind("click.form-plugin")})};c.fn.formToArray=function(b){var d=[];if(this.length==
0)return d;var i=this[0],j=b?i.getElementsByTagName("*"):i.elements;if(!j)return d;for(var m=0,s=j.length;m<s;m++){var t=j[m],y=t.name;if(y)if(b&&i.clk&&t.type=="image")!t.disabled&&i.clk==t&&d.push({name:y+".x",value:i.clk_x},{name:y+".y",value:i.clk_y});else if((t=c.fieldValue(t,true))&&t.constructor==Array)for(var B=0,H=t.length;B<H;B++)d.push({name:y,value:t[B]});else t!==null&&typeof t!="undefined"&&d.push({name:y,value:t})}if(!b&&i.clk){b=i.getElementsByTagName("input");m=0;for(s=b.length;m<
s;m++){j=b[m];(y=j.name)&&!j.disabled&&j.type=="image"&&i.clk==j&&d.push({name:y+".x",value:i.clk_x},{name:y+".y",value:i.clk_y})}}return d};c.fn.formSerialize=function(b){return c.param(this.formToArray(b))};c.fn.fieldSerialize=function(b){var d=[];this.each(function(){var i=this.name;if(i){var j=c.fieldValue(this,b);if(j&&j.constructor==Array)for(var m=0,s=j.length;m<s;m++)d.push({name:i,value:j[m]});else j!==null&&typeof j!="undefined"&&d.push({name:this.name,value:j})}});return c.param(d)};c.fn.fieldValue=
function(b){for(var d=[],i=0,j=this.length;i<j;i++){var m=c.fieldValue(this[i],b);m===null||typeof m=="undefined"||m.constructor==Array&&!m.length||(m.constructor==Array?c.merge(d,m):d.push(m))}return d};c.fieldValue=function(b,d){var i=b.name,j=b.type,m=b.tagName.toLowerCase();if(typeof d=="undefined")d=true;if(d&&(!i||b.disabled||j=="reset"||j=="button"||(j=="checkbox"||j=="radio")&&!b.checked||(j=="submit"||j=="image")&&b.form&&b.form.clk!=b||m=="select"&&b.selectedIndex==-1))return null;if(m==
"select"){m=b.selectedIndex;if(m<0)return null;d=[];b=b.options;i=(j=j=="select-one")?m+1:b.length;for(m=j?m:0;m<i;m++){var s=b[m];if(s.selected){var t=s.value;t||(t=s.attributes&&s.attributes.value&&!s.attributes.value.specified?s.text:s.value);if(j)return t;d.push(t)}}return d}return b.value};c.fn.clearForm=function(){return this.each(function(){c("input,select,textarea",this).clearFields()})};c.fn.clearFields=c.fn.clearInputs=function(){return this.each(function(){var b=this.type,d=this.tagName.toLowerCase();
if(b=="text"||b=="password"||d=="textarea")this.value="";else if(b=="checkbox"||b=="radio")this.checked=false;else if(d=="select")this.selectedIndex=-1})};c.fn.resetForm=function(){return this.each(function(){if(typeof this.reset=="function"||typeof this.reset=="object"&&!this.reset.nodeType)this.reset()})};c.fn.enable=function(b){if(b==undefined)b=true;return this.each(function(){this.disabled=!b})};c.fn.selected=function(b){if(b==undefined)b=true;return this.each(function(){var d=this.type;if(d==
"checkbox"||d=="radio")this.checked=b;else if(this.tagName.toLowerCase()=="option"){d=c(this).parent("select");b&&d[0]&&d[0].type=="select-one"&&d.find("option").selected(false);this.selected=b}})}})(jQuery);
(function(c){function f(d,i,j){d=c[d][i].getter||[];d=typeof d=="string"?d.split(/,?\s+/):d;return c.inArray(j,d)!=-1}c.ui={plugin:{add:function(d,i,j){d=c.ui[d].prototype;for(var m in j){d.plugins[m]=d.plugins[m]||[];d.plugins[m].push([i,j[m]])}},call:function(d,i,j){if(i=d.plugins[i])for(var m=0;m<i.length;m++)d.options[i[m][0]]&&i[m][1].apply(d.element,j)}},cssCache:{},css:function(d){if(c.ui.cssCache[d])return c.ui.cssCache[d];var i=c('<div class="ui-gen">').addClass(d).css({position:"absolute",
top:"-5000px",left:"-5000px",display:"block"}).appendTo("body");c.ui.cssCache[d]=!!(!/auto|default/.test(i.css("cursor"))||/^[1-9]/.test(i.css("height"))||/^[1-9]/.test(i.css("width"))||!/none/.test(i.css("backgroundImage"))||!/transparent|rgba\(0, 0, 0, 0\)/.test(i.css("backgroundColor")));try{c("body").get(0).removeChild(i.get(0))}catch(j){}return c.ui.cssCache[d]},disableSelection:function(d){d.unselectable="on";d.onselectstart=function(){return false};if(d.style)d.style.MozUserSelect="none"},
enableSelection:function(d){d.unselectable="off";d.onselectstart=function(){return true};if(d.style)d.style.MozUserSelect=""},hasScroll:function(d,i){i=/top/.test(i||"top")?"scrollTop":"scrollLeft";var j=false;if(d[i]>0)return true;d[i]=1;j=d[i]>0?true:false;d[i]=0;return j}};var b=c.fn.remove;c.fn.remove=function(){c("*",this).add(this).trigger("remove");return b.apply(this,arguments)};c.widget=function(d,i){var j=d.split(".")[0];d=d.split(".")[1];c.fn[d]=function(m){var s=typeof m=="string",t=Array.prototype.slice.call(arguments,
1);if(s&&f(j,d,m)){var y=c.data(this[0],d);return y?y[m].apply(y,t):undefined}return this.each(function(){var B=c.data(this,d);if(s&&B&&c.isFunction(B[m]))B[m].apply(B,t);else s||c.data(this,d,new c[j][d](this,m))})};c[j][d]=function(m,s){var t=this;this.widgetName=d;this.widgetBaseClass=j+"-"+d;this.options=c.extend({},c.widget.defaults,c[j][d].defaults,s);this.element=c(m).bind("setData."+d,function(y,B,H){return t.setData(B,H)}).bind("getData."+d,function(y,B){return t.getData(B)}).bind("remove",
function(){return t.destroy()});this.init()};c[j][d].prototype=c.extend({},c.widget.prototype,i)};c.widget.prototype={init:function(){},destroy:function(){this.element.removeData(this.widgetName)},getData:function(d){return this.options[d]},setData:function(d,i){this.options[d]=i;if(d=="disabled")this.element[i?"addClass":"removeClass"](this.widgetBaseClass+"-disabled")},enable:function(){this.setData("disabled",false)},disable:function(){this.setData("disabled",true)}};c.widget.defaults={disabled:false};
c.ui.mouse={mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(i){return d.mouseDown(i)});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},mouseDestroy:function(){this.element.unbind("."+this.widgetName);c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable)},mouseDown:function(d){this._mouseStarted&&this.mouseUp(d);this._mouseDownEvent=d;var i=this,j=d.which==
1,m=typeof this.options.cancel=="string"?c(d.target).is(this.options.cancel):false;if(!j||m||!this.mouseCapture(d))return true;this._mouseDelayMet=!this.options.delay;if(!this._mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){i._mouseDelayMet=true},this.options.delay);if(this.mouseDistanceMet(d)&&this.mouseDelayMet(d)){this._mouseStarted=this.mouseStart(d)!==false;if(!this._mouseStarted){d.preventDefault();return true}}this._mouseMoveDelegate=function(s){return i.mouseMove(s)};this._mouseUpDelegate=
function(s){return i.mouseUp(s)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);return false},mouseMove:function(d){if(c.browser.msie&&!d.button)return this.mouseUp(d);if(this._mouseStarted){this.mouseDrag(d);return false}if(this.mouseDistanceMet(d)&&this.mouseDelayMet(d))(this._mouseStarted=this.mouseStart(this._mouseDownEvent,d)!==false)?this.mouseDrag(d):this.mouseUp(d);return!this._mouseStarted},mouseUp:function(d){c(document).unbind("mousemove."+
this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this.mouseStop(d)}return false},mouseDistanceMet:function(d){return Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance},mouseDelayMet:function(){return this._mouseDelayMet},mouseStart:function(){},mouseDrag:function(){},mouseStop:function(){},mouseCapture:function(){return true}};c.ui.mouse.defaults=
{cancel:null,distance:1,delay:0}})(jQuery);
(function(c){c.widget("ui.draggable",c.extend(c.ui.mouse,{init:function(){var f=this.options;f.helper=="original"&&!/(relative|absolute|fixed)/.test(this.element.css("position"))&&this.element.css("position","relative");this.element.addClass("ui-draggable");f.disabled&&this.element.addClass("ui-draggable-disabled");this.mouseInit()},mouseStart:function(f){var b=this.options;if(this.helper||b.disabled||c(f.target).is(".ui-resizable-handle"))return false;var d=!this.options.handle||!c(this.options.handle,
this.element).length?true:false;c(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==f.target)d=true});if(!d)return false;if(c.ui.ddmanager)c.ui.ddmanager.current=this;this.helper=c.isFunction(b.helper)?c(b.helper.apply(this.element[0],[f])):b.helper=="clone"?this.element.clone():this.element;this.helper.parents("body").length||this.helper.appendTo(b.appendTo=="parent"?this.element[0].parentNode:b.appendTo);this.helper[0]!=this.element[0]&&!/(fixed|absolute)/.test(this.helper.css("position"))&&
this.helper.css("position","absolute");this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0};this.cssPosition=this.helper.css("position");this.offset=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};this.offset.click={left:f.pageX-this.offset.left,top:f.pageY-this.offset.top};this.offsetParent=this.helper.offsetParent();var i=this.offsetParent.offset();if(this.offsetParent[0]==
document.body&&c.browser.mozilla)i={top:0,left:0};this.offset.parent={top:i.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:i.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)};i=this.element.position();this.offset.relative=this.cssPosition=="relative"?{top:i.top-(parseInt(this.helper.css("top"),10)||0)+this.offsetParent[0].scrollTop,left:i.left-(parseInt(this.helper.css("left"),10)||0)+this.offsetParent[0].scrollLeft}:{top:0,left:0};this.originalPosition=this.generatePosition(f);
this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()};if(b.cursorAt){if(b.cursorAt.left!=undefined)this.offset.click.left=b.cursorAt.left+this.margins.left;if(b.cursorAt.right!=undefined)this.offset.click.left=this.helperProportions.width-b.cursorAt.right+this.margins.left;if(b.cursorAt.top!=undefined)this.offset.click.top=b.cursorAt.top+this.margins.top;if(b.cursorAt.bottom!=undefined)this.offset.click.top=this.helperProportions.height-b.cursorAt.bottom+this.margins.top}if(b.containment){if(b.containment==
"parent")b.containment=this.helper[0].parentNode;if(b.containment=="document"||b.containment=="window")this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,c(b.containment=="document"?document:window).width()-this.offset.relative.left-this.offset.parent.left-this.helperProportions.width-this.margins.left-(parseInt(this.element.css("marginRight"),10)||0),(c(b.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-
this.offset.relative.top-this.offset.parent.top-this.helperProportions.height-this.margins.top-(parseInt(this.element.css("marginBottom"),10)||0)];if(!/^(document|window|parent)$/.test(b.containment)){i=c(b.containment)[0];var j=c(b.containment).offset();this.containment=[j.left+(parseInt(c(i).css("borderLeftWidth"),10)||0)-this.offset.relative.left-this.offset.parent.left,j.top+(parseInt(c(i).css("borderTopWidth"),10)||0)-this.offset.relative.top-this.offset.parent.top,j.left+Math.max(i.scrollWidth,
i.offsetWidth)-(parseInt(c(i).css("borderLeftWidth"),10)||0)-this.offset.relative.left-this.offset.parent.left-this.helperProportions.width-this.margins.left-(parseInt(this.element.css("marginRight"),10)||0),j.top+Math.max(i.scrollHeight,i.offsetHeight)-(parseInt(c(i).css("borderTopWidth"),10)||0)-this.offset.relative.top-this.offset.parent.top-this.helperProportions.height-this.margins.top-(parseInt(this.element.css("marginBottom"),10)||0)]}}this.propagate("start",f);this.helperProportions={width:this.helper.outerWidth(),
height:this.helper.outerHeight()};c.ui.ddmanager&&!b.dropBehaviour&&c.ui.ddmanager.prepareOffsets(this,f);this.helper.addClass("ui-draggable-dragging");this.mouseDrag(f);return true},convertPositionTo:function(f,b){if(!b)b=this.position;f=f=="absolute"?1:-1;return{top:b.top+this.offset.relative.top*f+this.offset.parent.top*f-(this.cssPosition=="fixed"||this.cssPosition=="absolute"&&this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)*f+(this.cssPosition=="fixed"?c(document).scrollTop():
0)*f+this.margins.top*f,left:b.left+this.offset.relative.left*f+this.offset.parent.left*f-(this.cssPosition=="fixed"||this.cssPosition=="absolute"&&this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft)*f+(this.cssPosition=="fixed"?c(document).scrollLeft():0)*f+this.margins.left*f}},generatePosition:function(f){var b=this.options;f={top:f.pageY-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition=="fixed"||this.cssPosition=="absolute"&&this.offsetParent[0]==
document.body?0:this.offsetParent[0].scrollTop)-(this.cssPosition=="fixed"?c(document).scrollTop():0),left:f.pageX-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition=="fixed"||this.cssPosition=="absolute"&&this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft)-(this.cssPosition=="fixed"?c(document).scrollLeft():0)};if(!this.originalPosition)return f;if(this.containment){if(f.left<this.containment[0])f.left=this.containment[0];if(f.top<this.containment[1])f.top=
this.containment[1];if(f.left>this.containment[2])f.left=this.containment[2];if(f.top>this.containment[3])f.top=this.containment[3]}if(b.grid){var d=this.originalPosition.top+Math.round((f.top-this.originalPosition.top)/b.grid[1])*b.grid[1];f.top=this.containment?!(d<this.containment[1]||d>this.containment[3])?d:!(d<this.containment[1])?d-b.grid[1]:d+b.grid[1]:d;d=this.originalPosition.left+Math.round((f.left-this.originalPosition.left)/b.grid[0])*b.grid[0];f.left=this.containment?!(d<this.containment[0]||
d>this.containment[2])?d:!(d<this.containment[0])?d-b.grid[0]:d+b.grid[0]:d}return f},mouseDrag:function(f){this.position=this.generatePosition(f);this.positionAbs=this.convertPositionTo("absolute");this.position=this.propagate("drag",f)||this.position;if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";c.ui.ddmanager&&c.ui.ddmanager.drag(this,f);return false},
mouseStop:function(f){c.ui.ddmanager&&!this.options.dropBehaviour&&c.ui.ddmanager.drop(this,f);if(this.options.revert){var b=this;c(this.helper).animate(this.originalPosition,parseInt(this.options.revert,10)||500,function(){b.propagate("stop",f);b.clear()})}else{this.propagate("stop",f);this.clear()}return false},clear:function(){this.helper.removeClass("ui-draggable-dragging");this.options.helper!="original"&&!this.cancelHelperRemoval&&this.helper.remove();this.helper=null;this.cancelHelperRemoval=
false},plugins:{},uiHash:function(){return{helper:this.helper,position:this.position,absolutePosition:this.positionAbs,options:this.options}},propagate:function(f,b){c.ui.plugin.call(this,f,[b,this.uiHash()]);return this.element.triggerHandler(f=="drag"?f:"drag"+f,[b,this.uiHash()],this.options[f])},destroy:function(){if(this.element.data("draggable")){this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable");this.mouseDestroy()}}}));c.extend(c.ui.draggable,{defaults:{appendTo:"parent",
axis:false,cancel:":input",delay:0,distance:1,helper:"original"}});c.ui.plugin.add("draggable","cursor",{start:function(f,b){f=c("body");if(f.css("cursor"))b.options._cursor=f.css("cursor");f.css("cursor",b.options.cursor)},stop:function(f,b){b.options._cursor&&c("body").css("cursor",b.options._cursor)}});c.ui.plugin.add("draggable","zIndex",{start:function(f,b){f=c(b.helper);if(f.css("zIndex"))b.options._zIndex=f.css("zIndex");f.css("zIndex",b.options.zIndex)},stop:function(f,b){b.options._zIndex&&
c(b.helper).css("zIndex",b.options._zIndex)}});c.ui.plugin.add("draggable","opacity",{start:function(f,b){f=c(b.helper);if(f.css("opacity"))b.options._opacity=f.css("opacity");f.css("opacity",b.options.opacity)},stop:function(f,b){b.options._opacity&&c(b.helper).css("opacity",b.options._opacity)}});c.ui.plugin.add("draggable","iframeFix",{start:function(f,b){c(b.options.iframeFix===true?"iframe":b.options.iframeFix).each(function(){c('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+
"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(c(this).offset()).appendTo("body")})},stop:function(){c("div.DragDropIframeFix").each(function(){this.parentNode.removeChild(this)})}});c.ui.plugin.add("draggable","scroll",{start:function(f,b){f=b.options;b=c(this).data("draggable");f.scrollSensitivity=f.scrollSensitivity||20;f.scrollSpeed=f.scrollSpeed||20;b.overflowY=function(d){do{if(/auto|scroll/.test(d.css("overflow"))||/auto|scroll/.test(d.css("overflow-y")))return d;
d=d.parent()}while(d[0].parentNode);return c(document)}(this);b.overflowX=function(d){do{if(/auto|scroll/.test(d.css("overflow"))||/auto|scroll/.test(d.css("overflow-x")))return d;d=d.parent()}while(d[0].parentNode);return c(document)}(this);if(b.overflowY[0]!=document&&b.overflowY[0].tagName!="HTML")b.overflowYOffset=b.overflowY.offset();if(b.overflowX[0]!=document&&b.overflowX[0].tagName!="HTML")b.overflowXOffset=b.overflowX.offset()},drag:function(f,b){b=b.options;var d=c(this).data("draggable");
if(d.overflowY[0]!=document&&d.overflowY[0].tagName!="HTML"){if(d.overflowYOffset.top+d.overflowY[0].offsetHeight-f.pageY<b.scrollSensitivity)d.overflowY[0].scrollTop+=b.scrollSpeed;if(f.pageY-d.overflowYOffset.top<b.scrollSensitivity)d.overflowY[0].scrollTop-=b.scrollSpeed}else{f.pageY-c(document).scrollTop()<b.scrollSensitivity&&c(document).scrollTop(c(document).scrollTop()-b.scrollSpeed);c(window).height()-(f.pageY-c(document).scrollTop())<b.scrollSensitivity&&c(document).scrollTop(c(document).scrollTop()+
b.scrollSpeed)}if(d.overflowX[0]!=document&&d.overflowX[0].tagName!="HTML"){if(d.overflowXOffset.left+d.overflowX[0].offsetWidth-f.pageX<b.scrollSensitivity)d.overflowX[0].scrollLeft+=b.scrollSpeed;if(f.pageX-d.overflowXOffset.left<b.scrollSensitivity)d.overflowX[0].scrollLeft-=b.scrollSpeed}else{f.pageX-c(document).scrollLeft()<b.scrollSensitivity&&c(document).scrollLeft(c(document).scrollLeft()-b.scrollSpeed);c(window).width()-(f.pageX-c(document).scrollLeft())<b.scrollSensitivity&&c(document).scrollLeft(c(document).scrollLeft()+
b.scrollSpeed)}}});c.ui.plugin.add("draggable","snap",{start:function(f,b){var d=c(this).data("draggable");d.snapElements=[];c(b.options.snap===true?".ui-draggable":b.options.snap).each(function(){var i=c(this),j=i.offset();this!=d.element[0]&&d.snapElements.push({item:this,width:i.outerWidth(),height:i.outerHeight(),top:j.top,left:j.left})})},drag:function(f,b){f=c(this).data("draggable");for(var d=b.options.snapTolerance||20,i=b.absolutePosition.left,j=i+f.helperProportions.width,m=b.absolutePosition.top,
s=m+f.helperProportions.height,t=f.snapElements.length-1;t>=0;t--){var y=f.snapElements[t].left,B=y+f.snapElements[t].width,H=f.snapElements[t].top,P=H+f.snapElements[t].height;if(y-d<i&&i<B+d&&H-d<m&&m<P+d||y-d<i&&i<B+d&&H-d<s&&s<P+d||y-d<j&&j<B+d&&H-d<m&&m<P+d||y-d<j&&j<B+d&&H-d<s&&s<P+d){if(b.options.snapMode!="inner"){var U=Math.abs(H-s)<=20,r=Math.abs(P-m)<=20,u=Math.abs(y-j)<=20,C=Math.abs(B-i)<=20;if(U)b.position.top=f.convertPositionTo("relative",{top:H-f.helperProportions.height,left:0}).top;
if(r)b.position.top=f.convertPositionTo("relative",{top:P,left:0}).top;if(u)b.position.left=f.convertPositionTo("relative",{top:0,left:y-f.helperProportions.width}).left;if(C)b.position.left=f.convertPositionTo("relative",{top:0,left:B}).left}if(b.options.snapMode!="outer"){U=Math.abs(H-m)<=20;r=Math.abs(P-s)<=20;u=Math.abs(y-i)<=20;C=Math.abs(B-j)<=20;if(U)b.position.top=f.convertPositionTo("relative",{top:H,left:0}).top;if(r)b.position.top=f.convertPositionTo("relative",{top:P-f.helperProportions.height,
left:0}).top;if(u)b.position.left=f.convertPositionTo("relative",{top:0,left:y}).left;if(C)b.position.left=f.convertPositionTo("relative",{top:0,left:B-f.helperProportions.width}).left}}}}});c.ui.plugin.add("draggable","connectToSortable",{start:function(f,b){var d=c(this).data("draggable");d.sortables=[];c(b.options.connectToSortable).each(function(){if(c.data(this,"sortable")){var i=c.data(this,"sortable");d.sortables.push({instance:i,shouldRevert:i.options.revert});i.refreshItems();i.propagate("activate",
f,d)}})},stop:function(f){var b=c(this).data("draggable");c.each(b.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;b.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert)this.instance.options.revert=true;this.instance.mouseStop(f);this.instance.element.triggerHandler("sortreceive",[f,c.extend(this.instance.ui(),{sender:b.element})],this.instance.options.receive);this.instance.options.helper=this.instance.options._helper}else this.instance.propagate("deactivate",
f,b)})},drag:function(f,b){var d=c(this).data("draggable"),i=this,j=function(m){var s=m.left,t=s+m.width,y=m.top;m=y+m.height;return s<this.positionAbs.left+this.offset.click.left&&this.positionAbs.left+this.offset.click.left<t&&y<this.positionAbs.top+this.offset.click.top&&this.positionAbs.top+this.offset.click.top<m};c.each(d.sortables,function(){if(j.call(d,this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=1;this.instance.currentItem=c(i).clone().appendTo(this.instance.element).data("sortable-item",
true);this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return b.helper[0]};f.target=this.instance.currentItem[0];this.instance.mouseCapture(f,true);this.instance.mouseStart(f,true,true);this.instance.offset.click.top=d.offset.click.top;this.instance.offset.click.left=d.offset.click.left;this.instance.offset.parent.left-=d.offset.parent.left-this.instance.offset.parent.left;this.instance.offset.parent.top-=d.offset.parent.top-this.instance.offset.parent.top;
d.propagate("toSortable",f)}this.instance.currentItem&&this.instance.mouseDrag(f)}else if(this.instance.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance.mouseStop(f,true);this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();this.instance.placeholder&&this.instance.placeholder.remove();d.propagate("fromSortable",f)}})}});c.ui.plugin.add("draggable","stack",{start:function(f,b){f=c.makeArray(c(b.options.stack.group)).sort(function(d,
i){return(parseInt(c(d).css("zIndex"),10)||b.options.stack.min)-(parseInt(c(i).css("zIndex"),10)||b.options.stack.min)});c(f).each(function(d){this.style.zIndex=b.options.stack.min+d});this[0].style.zIndex=b.options.stack.min+f.length}})})(jQuery);
(function(c){c.widget("ui.droppable",{init:function(){this.element.addClass("ui-droppable");this.isover=0;this.isout=1;var f=this.options,b=f.accept;f=c.extend(f,{accept:f.accept&&f.accept.constructor==Function?f.accept:function(d){return c(d).is(b)}});this.proportions={width:this.element.outerWidth(),height:this.element.outerHeight()};c.ui.ddmanager.droppables.push(this)},plugins:{},ui:function(f){return{draggable:f.currentItem||f.element,helper:f.helper,position:f.position,absolutePosition:f.positionAbs,
options:this.options,element:this.element}},destroy:function(){for(var f=c.ui.ddmanager.droppables,b=0;b<f.length;b++)f[b]==this&&f.splice(b,1);this.element.removeClass("ui-droppable ui-droppable-disabled").removeData("droppable").unbind(".droppable")},over:function(f){var b=c.ui.ddmanager.current;if(!(!b||(b.currentItem||b.element)[0]==this.element[0]))if(this.options.accept.call(this.element,b.currentItem||b.element)){c.ui.plugin.call(this,"over",[f,this.ui(b)]);this.element.triggerHandler("dropover",
[f,this.ui(b)],this.options.over)}},out:function(f){var b=c.ui.ddmanager.current;if(!(!b||(b.currentItem||b.element)[0]==this.element[0]))if(this.options.accept.call(this.element,b.currentItem||b.element)){c.ui.plugin.call(this,"out",[f,this.ui(b)]);this.element.triggerHandler("dropout",[f,this.ui(b)],this.options.out)}},drop:function(f,b){var d=b||c.ui.ddmanager.current;if(!d||(d.currentItem||d.element)[0]==this.element[0])return false;var i=false;this.element.find(".ui-droppable").not(".ui-draggable-dragging").each(function(){var j=
c.data(this,"droppable");if(j.options.greedy&&c.ui.intersect(d,c.extend(j,{offset:j.element.offset()}),j.options.tolerance)){i=true;return false}});if(i)return false;if(this.options.accept.call(this.element,d.currentItem||d.element)){c.ui.plugin.call(this,"drop",[f,this.ui(d)]);this.element.triggerHandler("drop",[f,this.ui(d)],this.options.drop);return true}return false},activate:function(f){var b=c.ui.ddmanager.current;c.ui.plugin.call(this,"activate",[f,this.ui(b)]);b&&this.element.triggerHandler("dropactivate",
[f,this.ui(b)],this.options.activate)},deactivate:function(f){var b=c.ui.ddmanager.current;c.ui.plugin.call(this,"deactivate",[f,this.ui(b)]);b&&this.element.triggerHandler("dropdeactivate",[f,this.ui(b)],this.options.deactivate)}});c.extend(c.ui.droppable,{defaults:{disabled:false,tolerance:"intersect"}});c.ui.intersect=function(f,b,d){if(!b.offset)return false;var i=(f.positionAbs||f.position.absolute).left,j=i+f.helperProportions.width,m=(f.positionAbs||f.position.absolute).top,s=m+f.helperProportions.height,
t=b.offset.left,y=t+b.proportions.width,B=b.offset.top;b=B+b.proportions.height;switch(d){case "fit":return t<i&&j<y&&B<m&&s<b;case "intersect":return t<i+f.helperProportions.width/2&&j-f.helperProportions.width/2<y&&B<m+f.helperProportions.height/2&&s-f.helperProportions.height/2<b;case "pointer":return t<(f.positionAbs||f.position.absolute).left+(f.clickOffset||f.offset.click).left&&(f.positionAbs||f.position.absolute).left+(f.clickOffset||f.offset.click).left<y&&B<(f.positionAbs||f.position.absolute).top+
(f.clickOffset||f.offset.click).top&&(f.positionAbs||f.position.absolute).top+(f.clickOffset||f.offset.click).top<b;case "touch":return(m>=B&&m<=b||s>=B&&s<=b||m<B&&s>b)&&(i>=t&&i<=y||j>=t&&j<=y||i<t&&j>y);default:return false}};c.ui.ddmanager={current:null,droppables:[],prepareOffsets:function(f,b){for(var d=c.ui.ddmanager.droppables,i=b?b.type:null,j=0;j<d.length;j++)if(!(d[j].options.disabled||f&&!d[j].options.accept.call(d[j].element,f.currentItem||f.element))){d[j].visible=d[j].element.is(":visible");
if(d[j].visible){d[j].offset=d[j].element.offset();d[j].proportions={width:d[j].element.outerWidth(),height:d[j].element.outerHeight()};if(i=="dragstart"||i=="sortactivate")d[j].activate.call(d[j],b)}}},drop:function(f,b){var d=false;c.each(c.ui.ddmanager.droppables,function(){if(this.options){if(!this.options.disabled&&this.visible&&c.ui.intersect(f,this,this.options.tolerance))d=this.drop.call(this,b);if(!this.options.disabled&&this.visible&&this.options.accept.call(this.element,f.currentItem||
f.element)){this.isout=1;this.isover=0;this.deactivate.call(this,b)}}});return d},drag:function(f,b){f.options.refreshPositions&&c.ui.ddmanager.prepareOffsets(f,b);c.each(c.ui.ddmanager.droppables,function(){if(!(this.options.disabled||this.greedyChild||!this.visible)){var d=c.ui.intersect(f,this,this.options.tolerance);if(d=!d&&this.isover==1?"isout":d&&this.isover==0?"isover":null){var i;if(this.options.greedy){var j=this.element.parents(".ui-droppable:eq(0)");if(j.length){i=c.data(j[0],"droppable");
i.greedyChild=d=="isover"?1:0}}if(i&&d=="isover"){i.isover=0;i.isout=1;i.out.call(i,b)}this[d]=1;this[d=="isout"?"isover":"isout"]=0;this[d=="isover"?"over":"out"].call(this,b);if(i&&d=="isout"){i.isout=0;i.isover=1;i.over.call(i,b)}}}})}};c.ui.plugin.add("droppable","activeClass",{activate:function(f,b){c(this).addClass(b.options.activeClass)},deactivate:function(f,b){c(this).removeClass(b.options.activeClass)},drop:function(f,b){c(this).removeClass(b.options.activeClass)}});c.ui.plugin.add("droppable",
"hoverClass",{over:function(f,b){c(this).addClass(b.options.hoverClass)},out:function(f,b){c(this).removeClass(b.options.hoverClass)},drop:function(f,b){c(this).removeClass(b.options.hoverClass)}})})(jQuery);
(function(c){function f(b,d){var i=c.browser.safari&&c.browser.version<522;if(b.contains&&!i)return b.contains(d);if(b.compareDocumentPosition)return!!(b.compareDocumentPosition(d)&16);for(;d=d.parentNode;)if(d==b)return true;return false}c.widget("ui.sortable",c.extend(c.ui.mouse,{init:function(){this.containerCache={};this.element.addClass("ui-sortable");this.refresh();this.floating=this.items.length?/left|right/.test(this.items[0].item.css("float")):false;/(relative|absolute|fixed)/.test(this.element.css("position"))||
this.element.css("position","relative");this.offset=this.element.offset();this.mouseInit()},plugins:{},ui:function(b){return{helper:(b||this).helper,placeholder:(b||this).placeholder||c([]),position:(b||this).position,absolutePosition:(b||this).positionAbs,options:this.options,element:this.element,item:(b||this).currentItem,sender:b?b.element:null}},propagate:function(b,d,i,j){c.ui.plugin.call(this,b,[d,this.ui(i)]);j||this.element.triggerHandler(b=="sort"?b:"sort"+b,[d,this.ui(i)],this.options[b])},
serialize:function(b){var d=(c.isFunction(this.options.items)?this.options.items.call(this.element):c(this.options.items,this.element)).not(".ui-sortable-helper"),i=[];b=b||{};d.each(function(){var j=(c(this).attr(b.attribute||"id")||"").match(b.expression||/(.+)[-=_](.+)/);if(j)i.push((b.key||j[1])+"[]="+(b.key&&b.expression?j[1]:j[2]))});return i.join("&")},toArray:function(b){var d=[];(c.isFunction(this.options.items)?this.options.items.call(this.element):c(this.options.items,this.element)).not(".ui-sortable-helper").each(function(){d.push(c(this).attr(b||
"id"))});return d},intersectsWith:function(b){var d=this.positionAbs.left,i=d+this.helperProportions.width,j=this.positionAbs.top,m=j+this.helperProportions.height,s=b.left,t=s+b.width,y=b.top,B=y+b.height;return this.options.tolerance=="pointer"||this.options.tolerance=="guess"&&this.helperProportions[this.floating?"width":"height"]>b[this.floating?"width":"height"]?j+this.offset.click.top>y&&j+this.offset.click.top<B&&d+this.offset.click.left>s&&d+this.offset.click.left<t:s<d+this.helperProportions.width/
2&&i-this.helperProportions.width/2<t&&y<j+this.helperProportions.height/2&&m-this.helperProportions.height/2<B},intersectsWithEdge:function(b){var d=this.positionAbs.left,i=d+this.helperProportions.width,j=this.positionAbs.top,m=j+this.helperProportions.height,s=b.left,t=s+b.width,y=b.top,B=y+b.height;if(this.options.tolerance=="pointer"||this.options.tolerance=="guess"&&this.helperProportions[this.floating?"width":"height"]>b[this.floating?"width":"height"]){if(!(j+this.offset.click.top>y&&j+this.offset.click.top<
B&&d+this.offset.click.left>s&&d+this.offset.click.left<t))return false;if(this.floating){if(d+this.offset.click.left>s&&d+this.offset.click.left<s+b.width/2)return 2;if(d+this.offset.click.left>s+b.width/2&&d+this.offset.click.left<t)return 1}else{if(j+this.offset.click.top>y&&j+this.offset.click.top<y+b.height/2)return 2;if(j+this.offset.click.top>y+b.height/2&&j+this.offset.click.top<B)return 1}}else{if(!(s<d+this.helperProportions.width/2&&i-this.helperProportions.width/2<t&&y<j+this.helperProportions.height/
2&&m-this.helperProportions.height/2<B))return false;if(this.floating){if(i>s&&d<s)return 2;if(d<t&&i>t)return 1}else{if(m>y&&j<y)return 1;if(j<B&&m>B)return 2}}return false},refresh:function(){this.refreshItems();this.refreshPositions()},refreshItems:function(){this.items=[];this.containers=[this];var b=this.items,d=[[c.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):c(this.options.items,this.element),this]];if(this.options.connectWith)for(var i=
this.options.connectWith.length-1;i>=0;i--)for(var j=c(this.options.connectWith[i]),m=j.length-1;m>=0;m--){var s=c.data(j[m],"sortable");if(s&&!s.options.disabled){d.push([c.isFunction(s.options.items)?s.options.items.call(s.element):c(s.options.items,s.element),s]);this.containers.push(s)}}for(i=d.length-1;i>=0;i--)d[i][0].each(function(){c.data(this,"sortable-item",d[i][1]);b.push({item:c(this),instance:d[i][1],width:0,height:0,left:0,top:0})})},refreshPositions:function(b){if(this.offsetParent){var d=
this.offsetParent.offset();this.offset.parent={top:d.top+this.offsetParentBorders.top,left:d.left+this.offsetParentBorders.left}}for(d=this.items.length-1;d>=0;d--)if(!(this.items[d].instance!=this.currentContainer&&this.currentContainer&&this.items[d].item[0]!=this.currentItem[0])){var i=this.options.toleranceElement?c(this.options.toleranceElement,this.items[d].item):this.items[d].item;if(!b){this.items[d].width=i.outerWidth();this.items[d].height=i.outerHeight()}i=i.offset();this.items[d].left=
i.left;this.items[d].top=i.top}for(d=this.containers.length-1;d>=0;d--){i=this.containers[d].element.offset();this.containers[d].containerCache.left=i.left;this.containers[d].containerCache.top=i.top;this.containers[d].containerCache.width=this.containers[d].element.outerWidth();this.containers[d].containerCache.height=this.containers[d].element.outerHeight()}},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable");this.mouseDestroy();
for(var b=this.items.length-1;b>=0;b--)this.items[b].item.removeData("sortable-item")},createPlaceholder:function(b){b=b||this;var d=b.options;if(d.placeholder.constructor==String){var i=d.placeholder;d.placeholder={element:function(){return c("<div></div>").addClass(i)[0]},update:function(j,m){m.css(j.offset()).css({width:j.outerWidth(),height:j.outerHeight()})}}}b.placeholder=c(d.placeholder.element.call(b.element,b.currentItem)).appendTo("body").css({position:"absolute"});d.placeholder.update.call(b.element,
b.currentItem,b.placeholder)},contactContainers:function(b){for(var d=this.containers.length-1;d>=0;d--)if(this.intersectsWith(this.containers[d].containerCache)){if(!this.containers[d].containerCache.over){if(this.currentContainer!=this.containers[d]){for(var i=1E4,j=null,m=this.positionAbs[this.containers[d].floating?"left":"top"],s=this.items.length-1;s>=0;s--)if(f(this.containers[d].element[0],this.items[s].item[0])){var t=this.items[s][this.containers[d].floating?"left":"top"];if(Math.abs(t-
m)<i){i=Math.abs(t-m);j=this.items[s]}}if(!j&&!this.options.dropOnEmpty)continue;this.placeholder&&this.placeholder.remove();if(this.containers[d].options.placeholder)this.containers[d].createPlaceholder(this);else this.placeholder=null;this.currentContainer=this.containers[d];j?this.rearrange(b,j,null,true):this.rearrange(b,null,this.containers[d].element,true);this.propagate("change",b);this.containers[d].propagate("change",b,this)}this.containers[d].propagate("over",b,this);this.containers[d].containerCache.over=
1}}else if(this.containers[d].containerCache.over){this.containers[d].propagate("out",b,this);this.containers[d].containerCache.over=0}},mouseCapture:function(b,d){if(this.options.disabled||this.options.type=="static")return false;this.refreshItems();var i=null,j=this;c(b.target).parents().each(function(){if(c.data(this,"sortable-item")==j){i=c(this);return false}});if(c.data(b.target,"sortable-item")==j)i=c(b.target);if(!i)return false;if(this.options.handle&&!d){var m=false;c(this.options.handle,
i).find("*").andSelf().each(function(){if(this==b.target)m=true});if(!m)return false}this.currentItem=i;return true},mouseStart:function(b,d,i){d=this.options;this.currentContainer=this;this.refreshPositions();this.helper=typeof d.helper=="function"?c(d.helper.apply(this.element[0],[b,this.currentItem])):this.currentItem.clone();this.helper.parents("body").length||this.helper.appendTo(d.appendTo!="parent"?d.appendTo:this.currentItem[0].parentNode);this.helper.css({position:"absolute",clear:"both"}).addClass("ui-sortable-helper");
this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0};this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};this.offset.click={left:b.pageX-this.offset.left,top:b.pageY-this.offset.top};this.offsetParent=this.helper.offsetParent();var j=this.offsetParent.offset();this.offsetParentBorders={top:parseInt(this.offsetParent.css("borderTopWidth"),10)||0,left:parseInt(this.offsetParent.css("borderLeftWidth"),
10)||0};this.offset.parent={top:j.top+this.offsetParentBorders.top,left:j.left+this.offsetParentBorders.left};this.originalPosition=this.generatePosition(b);this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()};d.placeholder&&this.createPlaceholder();this.propagate("start",b);this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()};if(d.cursorAt){if(d.cursorAt.left!=
undefined)this.offset.click.left=d.cursorAt.left;if(d.cursorAt.right!=undefined)this.offset.click.left=this.helperProportions.width-d.cursorAt.right;if(d.cursorAt.top!=undefined)this.offset.click.top=d.cursorAt.top;if(d.cursorAt.bottom!=undefined)this.offset.click.top=this.helperProportions.height-d.cursorAt.bottom}if(d.containment){if(d.containment=="parent")d.containment=this.helper[0].parentNode;if(d.containment=="document"||d.containment=="window")this.containment=[0-this.offset.parent.left,0-
this.offset.parent.top,c(d.containment=="document"?document:window).width()-this.offset.parent.left-this.helperProportions.width-this.margins.left-(parseInt(this.element.css("marginRight"),10)||0),(c(d.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.offset.parent.top-this.helperProportions.height-this.margins.top-(parseInt(this.element.css("marginBottom"),10)||0)];if(!/^(document|window|parent)$/.test(d.containment)){j=c(d.containment)[0];var m=c(d.containment).offset();
this.containment=[m.left+(parseInt(c(j).css("borderLeftWidth"),10)||0)-this.offset.parent.left,m.top+(parseInt(c(j).css("borderTopWidth"),10)||0)-this.offset.parent.top,m.left+Math.max(j.scrollWidth,j.offsetWidth)-(parseInt(c(j).css("borderLeftWidth"),10)||0)-this.offset.parent.left-this.helperProportions.width-this.margins.left-(parseInt(this.currentItem.css("marginRight"),10)||0),m.top+Math.max(j.scrollHeight,j.offsetHeight)-(parseInt(c(j).css("borderTopWidth"),10)||0)-this.offset.parent.top-this.helperProportions.height-
this.margins.top-(parseInt(this.currentItem.css("marginBottom"),10)||0)]}}this.options.placeholder!="clone"&&this.currentItem.css("visibility","hidden");if(!i)for(i=this.containers.length-1;i>=0;i--)this.containers[i].propagate("activate",b,this);if(c.ui.ddmanager)c.ui.ddmanager.current=this;c.ui.ddmanager&&!d.dropBehaviour&&c.ui.ddmanager.prepareOffsets(this,b);this.dragging=true;this.mouseDrag(b);return true},convertPositionTo:function(b,d){if(!d)d=this.position;b=b=="absolute"?1:-1;return{top:d.top+
this.offset.parent.top*b-(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)*b+this.margins.top*b,left:d.left+this.offset.parent.left*b-(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft)*b+this.margins.left*b}},generatePosition:function(b){var d=this.options;b={top:b.pageY-this.offset.click.top-this.offset.parent.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop),left:b.pageX-this.offset.click.left-this.offset.parent.left+(this.offsetParent[0]==
document.body?0:this.offsetParent[0].scrollLeft)};if(!this.originalPosition)return b;if(this.containment){if(b.left<this.containment[0])b.left=this.containment[0];if(b.top<this.containment[1])b.top=this.containment[1];if(b.left>this.containment[2])b.left=this.containment[2];if(b.top>this.containment[3])b.top=this.containment[3]}if(d.grid){var i=this.originalPosition.top+Math.round((b.top-this.originalPosition.top)/d.grid[1])*d.grid[1];b.top=this.containment?!(i<this.containment[1]||i>this.containment[3])?
i:!(i<this.containment[1])?i-d.grid[1]:i+d.grid[1]:i;i=this.originalPosition.left+Math.round((b.left-this.originalPosition.left)/d.grid[0])*d.grid[0];b.left=this.containment?!(i<this.containment[0]||i>this.containment[2])?i:!(i<this.containment[0])?i-d.grid[0]:i+d.grid[0]:i}return b},mouseDrag:function(b){this.position=this.generatePosition(b);this.positionAbs=this.convertPositionTo("absolute");for(var d=this.items.length-1;d>=0;d--){var i=this.intersectsWithEdge(this.items[d]);if(i)if(this.items[d].item[0]!=
this.currentItem[0]&&this.currentItem[i==1?"next":"prev"]()[0]!=this.items[d].item[0]&&!f(this.currentItem[0],this.items[d].item[0])&&(this.options.type=="semi-dynamic"?!f(this.element[0],this.items[d].item[0]):true)){this.direction=i==1?"down":"up";this.rearrange(b,this.items[d]);this.propagate("change",b);break}}this.contactContainers(b);this.propagate("sort",b);if(!this.options.axis||this.options.axis=="x")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis==
"y")this.helper[0].style.top=this.position.top+"px";c.ui.ddmanager&&c.ui.ddmanager.drag(this,b);return false},rearrange:function(b,d,i,j){i?i.append(this.currentItem):d.item[this.direction=="down"?"before":"after"](this.currentItem);this.counter=this.counter?++this.counter:1;var m=this,s=this.counter;window.setTimeout(function(){s==m.counter&&m.refreshPositions(!j)},0);this.options.placeholder&&this.options.placeholder.update.call(this.element,this.currentItem,this.placeholder)},mouseStop:function(b,
d){c.ui.ddmanager&&!this.options.dropBehaviour&&c.ui.ddmanager.drop(this,b);if(this.options.revert){var i=this;d=i.currentItem.offset();if(i.placeholder)i.placeholder.animate({opacity:"hide"},(parseInt(this.options.revert,10)||500)-50);c(this.helper).animate({left:d.left-this.offset.parent.left-i.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:d.top-this.offset.parent.top-i.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},
parseInt(this.options.revert,10)||500,function(){i.clear(b)})}else this.clear(b,d);return false},clear:function(b,d){if(this.domPosition.prev!=this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!=this.currentItem.parent()[0])this.propagate("update",b,null,d);if(!f(this.element[0],this.currentItem[0])){this.propagate("remove",b,null,d);for(var i=this.containers.length-1;i>=0;i--)if(f(this.containers[i].element[0],this.currentItem[0])){this.containers[i].propagate("update",
b,this,d);this.containers[i].propagate("receive",b,this,d)}}for(i=this.containers.length-1;i>=0;i--){this.containers[i].propagate("deactivate",b,this,d);if(this.containers[i].containerCache.over){this.containers[i].propagate("out",b,this);this.containers[i].containerCache.over=0}}this.dragging=false;if(this.cancelHelperRemoval){this.propagate("stop",b,null,d);return false}c(this.currentItem).css("visibility","");this.placeholder&&this.placeholder.remove();this.helper.remove();this.helper=null;this.propagate("stop",
b,null,d);return true}}));c.extend(c.ui.sortable,{getter:"serialize toArray",defaults:{helper:"clone",tolerance:"guess",distance:1,delay:0,scroll:true,scrollSensitivity:20,scrollSpeed:20,cancel:":input",items:"> *",zIndex:1E3,dropOnEmpty:true,appendTo:"parent"}});c.ui.plugin.add("sortable","cursor",{start:function(b,d){b=c("body");if(b.css("cursor"))d.options._cursor=b.css("cursor");b.css("cursor",d.options.cursor)},stop:function(b,d){d.options._cursor&&c("body").css("cursor",d.options._cursor)}});
c.ui.plugin.add("sortable","zIndex",{start:function(b,d){b=d.helper;if(b.css("zIndex"))d.options._zIndex=b.css("zIndex");b.css("zIndex",d.options.zIndex)},stop:function(b,d){d.options._zIndex&&c(d.helper).css("zIndex",d.options._zIndex)}});c.ui.plugin.add("sortable","opacity",{start:function(b,d){b=d.helper;if(b.css("opacity"))d.options._opacity=b.css("opacity");b.css("opacity",d.options.opacity)},stop:function(b,d){d.options._opacity&&c(d.helper).css("opacity",d.options._opacity)}});c.ui.plugin.add("sortable",
"scroll",{start:function(){var b=c(this).data("sortable");b.overflowY=function(d){do{if(/auto|scroll/.test(d.css("overflow"))||/auto|scroll/.test(d.css("overflow-y")))return d;d=d.parent()}while(d[0].parentNode);return c(document)}(b.currentItem);b.overflowX=function(d){do{if(/auto|scroll/.test(d.css("overflow"))||/auto|scroll/.test(d.css("overflow-x")))return d;d=d.parent()}while(d[0].parentNode);return c(document)}(b.currentItem);if(b.overflowY[0]!=document&&b.overflowY[0].tagName!="HTML")b.overflowYOffset=
b.overflowY.offset();if(b.overflowX[0]!=document&&b.overflowX[0].tagName!="HTML")b.overflowXOffset=b.overflowX.offset()},sort:function(b,d){d=d.options;var i=c(this).data("sortable");if(i.overflowY[0]!=document&&i.overflowY[0].tagName!="HTML"){if(i.overflowYOffset.top+i.overflowY[0].offsetHeight-b.pageY<d.scrollSensitivity)i.overflowY[0].scrollTop+=d.scrollSpeed;if(b.pageY-i.overflowYOffset.top<d.scrollSensitivity)i.overflowY[0].scrollTop-=d.scrollSpeed}else{b.pageY-c(document).scrollTop()<d.scrollSensitivity&&
c(document).scrollTop(c(document).scrollTop()-d.scrollSpeed);c(window).height()-(b.pageY-c(document).scrollTop())<d.scrollSensitivity&&c(document).scrollTop(c(document).scrollTop()+d.scrollSpeed)}if(i.overflowX[0]!=document&&i.overflowX[0].tagName!="HTML"){if(i.overflowXOffset.left+i.overflowX[0].offsetWidth-b.pageX<d.scrollSensitivity)i.overflowX[0].scrollLeft+=d.scrollSpeed;if(b.pageX-i.overflowXOffset.left<d.scrollSensitivity)i.overflowX[0].scrollLeft-=d.scrollSpeed}else{b.pageX-c(document).scrollLeft()<
d.scrollSensitivity&&c(document).scrollLeft(c(document).scrollLeft()-d.scrollSpeed);c(window).width()-(b.pageX-c(document).scrollLeft())<d.scrollSensitivity&&c(document).scrollLeft(c(document).scrollLeft()+d.scrollSpeed)}}})})(jQuery);
(function(c){c.fn.unwrap=c.fn.unwrap||function(f){return this.each(function(){c(this).parents(f).eq(0).after(this).remove()})};c.widget("ui.slider",{plugins:{},ui:function(){return{options:this.options,handle:this.currentHandle,value:this.options.axis!="both"||!this.options.axis?Math.round(this.value(null,this.options.axis=="vertical"?"y":"x")):{x:Math.round(this.value(null,"x")),y:Math.round(this.value(null,"y"))},range:this.getRange()}},propagate:function(f,b){c.ui.plugin.call(this,f,[b,this.ui()]);
this.element.triggerHandler(f=="slide"?f:"slide"+f,[b,this.ui()],this.options[f])},destroy:function(){this.element.removeClass("ui-slider ui-slider-disabled").removeData("slider").unbind(".slider");if(this.handle&&this.handle.length){this.handle.unwrap("a");this.handle.each(function(){c(this).data("mouse").mouseDestroy()})}this.generated&&this.generated.remove()},setData:function(f,b){c.widget.prototype.setData.apply(this,arguments);/min|max|steps/.test(f)&&this.initBoundaries();if(f=="range")b?this.handle.length==
2&&this.createRange():this.removeRange()},init:function(){var f=this;this.element.addClass("ui-slider");this.initBoundaries();this.handle=c(this.options.handle,this.element);if(!this.handle.length)f.handle=f.generated=c(f.options.handles||[0]).map(function(){var d=c("<div/>").addClass("ui-slider-handle").appendTo(f.element);this.id&&d.attr("id",this.id);return d[0]});var b=function(d){this.element=c(d);this.element.data("mouse",this);this.options=f.options;this.element.bind("mousedown",function(){f.currentHandle&&
this.blur(f.currentHandle);f.focus(this,1)});this.mouseInit()};c.extend(b.prototype,c.ui.mouse,{mouseStart:function(d){return f.start.call(f,d,this.element[0])},mouseStop:function(d){return f.stop.call(f,d,this.element[0])},mouseDrag:function(d){return f.drag.call(f,d,this.element[0])},mouseCapture:function(){return true},trigger:function(d){this.mouseDown(d)}});c(this.handle).each(function(){new b(this)}).wrap('<a href="javascript:void(0)" style="cursor:default;"></a>').parent().bind("focus",function(){f.focus(this.firstChild)}).bind("blur",
function(){f.blur(this.firstChild)}).bind("keydown",function(d){f.options.noKeyboard||f.keydown(d.keyCode,this.firstChild)});this.element.bind("mousedown.slider",function(d){f.click.apply(f,[d]);f.currentHandle.data("mouse").trigger(d);f.firstValue+=1});c.each(this.options.handles||[],function(d,i){f.moveTo(i.start,d,true)});isNaN(this.options.startValue)||this.moveTo(this.options.startValue,0,true);this.previousHandle=c(this.handle[0]);this.handle.length==2&&this.options.range&&this.createRange()},
initBoundaries:function(){var f=this.element[0],b=this.options;this.actualSize={width:this.element.outerWidth(),height:this.element.outerHeight()};c.extend(b,{axis:b.axis||(f.offsetWidth<f.offsetHeight?"vertical":"horizontal"),max:!isNaN(parseInt(b.max,10))?{x:parseInt(b.max,10),y:parseInt(b.max,10)}:{x:b.max&&b.max.x||100,y:b.max&&b.max.y||100},min:!isNaN(parseInt(b.min,10))?{x:parseInt(b.min,10),y:parseInt(b.min,10)}:{x:b.min&&b.min.x||0,y:b.min&&b.min.y||0}});b.realMax={x:b.max.x-b.min.x,y:b.max.y-
b.min.y};b.stepping={x:b.stepping&&b.stepping.x||parseInt(b.stepping,10)||(b.steps?b.realMax.x/(b.steps.x||parseInt(b.steps,10)||b.realMax.x):0),y:b.stepping&&b.stepping.y||parseInt(b.stepping,10)||(b.steps?b.realMax.y/(b.steps.y||parseInt(b.steps,10)||b.realMax.y):0)}},keydown:function(f,b){if(/(37|38|39|40)/.test(f))this.moveTo({x:/(37|39)/.test(f)?(f==37?"-":"+")+"="+this.oneStep("x"):0,y:/(38|40)/.test(f)?(f==38?"-":"+")+"="+this.oneStep("y"):0},b)},focus:function(f,b){this.currentHandle=c(f).addClass("ui-slider-handle-active");
b&&this.currentHandle.parent()[0].focus()},blur:function(f){c(f).removeClass("ui-slider-handle-active");if(this.currentHandle&&this.currentHandle[0]==f){this.previousHandle=this.currentHandle;this.currentHandle=null}},click:function(f){var b=false;this.handle.each(function(){if(this==f.target)b=true});if(!(b||this.options.disabled||!(this.currentHandle||this.previousHandle))){!this.currentHandle&&this.previousHandle&&this.focus(this.previousHandle,true);this.offset=this.element.offset();this.moveTo({y:this.convertValue(f.pageY-
this.offset.top-this.currentHandle[0].offsetHeight/2,"y"),x:this.convertValue(f.pageX-this.offset.left-this.currentHandle[0].offsetWidth/2,"x")},null,!this.options.distance)}},createRange:function(){if(!this.rangeElement){this.rangeElement=c("<div></div>").addClass("ui-slider-range").css({position:"absolute"}).appendTo(this.element);this.updateRange()}},removeRange:function(){this.rangeElement.remove();this.rangeElement=null},updateRange:function(){var f=this.options.axis=="vertical"?"top":"left",
b=this.options.axis=="vertical"?"height":"width";this.rangeElement.css(f,(parseInt(c(this.handle[0]).css(f),10)||0)+this.handleSize(0,this.options.axis=="vertical"?"y":"x")/2);this.rangeElement.css(b,(parseInt(c(this.handle[1]).css(f),10)||0)-(parseInt(c(this.handle[0]).css(f),10)||0))},getRange:function(){return this.rangeElement?this.convertValue(parseInt(this.rangeElement.css(this.options.axis=="vertical"?"height":"width"),10),this.options.axis=="vertical"?"y":"x"):null},handleIndex:function(){return this.handle.index(this.currentHandle[0])},
value:function(f,b){if(this.handle.length==1)this.currentHandle=this.handle;b||(b=this.options.axis=="vertical"?"y":"x");var d=c(f!=undefined&&f!==null?this.handle[f]||f:this.currentHandle);return d.data("mouse").sliderValue?parseInt(d.data("mouse").sliderValue[b],10):parseInt(parseInt(d.css(b=="x"?"left":"top"),10)/(this.actualSize[b=="x"?"width":"height"]-this.handleSize(f,b))*this.options.realMax[b]+this.options.min[b],10)},convertValue:function(f,b){return this.options.min[b]+f/(this.actualSize[b==
"x"?"width":"height"]-this.handleSize(null,b))*this.options.realMax[b]},translateValue:function(f,b){return(f-this.options.min[b])/this.options.realMax[b]*(this.actualSize[b=="x"?"width":"height"]-this.handleSize(null,b))},translateRange:function(f,b){if(this.rangeElement){if(this.currentHandle[0]==this.handle[0]&&f>=this.translateValue(this.value(1),b))f=this.translateValue(this.value(1,b)-this.oneStep(b),b);if(this.currentHandle[0]==this.handle[1]&&f<=this.translateValue(this.value(0),b))f=this.translateValue(this.value(0,
b)+this.oneStep(b),b)}if(this.options.handles){var d=this.options.handles[this.handleIndex()];if(f<this.translateValue(d.min,b))f=this.translateValue(d.min,b);else if(f>this.translateValue(d.max,b))f=this.translateValue(d.max,b)}return f},translateLimits:function(f,b){if(f>=this.actualSize[b=="x"?"width":"height"]-this.handleSize(null,b))f=this.actualSize[b=="x"?"width":"height"]-this.handleSize(null,b);if(f<=0)f=0;return f},handleSize:function(f,b){return c(f!=undefined&&f!==null?this.handle[f]:
this.currentHandle)[0]["offset"+(b=="x"?"Width":"Height")]},oneStep:function(f){return this.options.stepping[f]||1},start:function(f,b){if(this.options.disabled)return false;this.actualSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.currentHandle||this.focus(this.previousHandle,true);this.offset=this.element.offset();this.handleOffset=this.currentHandle.offset();this.clickOffset={top:f.pageY-this.handleOffset.top,left:f.pageX-this.handleOffset.left};this.firstValue=this.value();
this.propagate("start",f);this.drag(f,b);return true},stop:function(f){this.propagate("stop",f);this.firstValue!=this.value()&&this.propagate("change",f);this.focus(this.currentHandle,true);return false},drag:function(f){var b=this.options,d={top:f.pageY-this.offset.top-this.clickOffset.top,left:f.pageX-this.offset.left-this.clickOffset.left};this.currentHandle||this.focus(this.previousHandle,true);d.left=this.translateLimits(d.left,"x");d.top=this.translateLimits(d.top,"y");if(b.stepping.x){var i=
this.convertValue(d.left,"x");i=Math.round(i/b.stepping.x)*b.stepping.x;d.left=this.translateValue(i,"x")}if(b.stepping.y){i=this.convertValue(d.top,"y");i=Math.round(i/b.stepping.y)*b.stepping.y;d.top=this.translateValue(i,"y")}d.left=this.translateRange(d.left,"x");d.top=this.translateRange(d.top,"y");b.axis!="vertical"&&this.currentHandle.css({left:d.left});b.axis!="horizontal"&&this.currentHandle.css({top:d.top});this.currentHandle.data("mouse").sliderValue={x:Math.round(this.convertValue(d.left,
"x"))||0,y:Math.round(this.convertValue(d.top,"y"))||0};this.rangeElement&&this.updateRange();this.propagate("slide",f);return false},moveTo:function(f,b,d){var i=this.options;this.actualSize={width:this.element.outerWidth(),height:this.element.outerHeight()};if(b==undefined&&!this.currentHandle&&this.handle.length!=1)return false;if(b==undefined&&!this.currentHandle)b=0;if(b!=undefined)this.currentHandle=this.previousHandle=c(this.handle[b]||b);if(f.x!==undefined&&f.y!==undefined){b=f.x;f=f.y}else f=
b=f;if(b!==undefined&&b.constructor!=Number){var j=/^\-\=/.test(b),m=/^\+\=/.test(b);b=j||m?this.value(null,"x")+parseInt(b.replace(j?"=":"+=",""),10):isNaN(parseInt(b,10))?undefined:parseInt(b,10)}if(f!==undefined&&f.constructor!=Number){j=/^\-\=/.test(f);m=/^\+\=/.test(f);f=j||m?this.value(null,"y")+parseInt(f.replace(j?"=":"+=",""),10):isNaN(parseInt(f,10))?undefined:parseInt(f,10)}if(i.axis!="vertical"&&b!==undefined){if(i.stepping.x)b=Math.round(b/i.stepping.x)*i.stepping.x;b=this.translateValue(b,
"x");b=this.translateLimits(b,"x");b=this.translateRange(b,"x");this.currentHandle.css({left:b})}if(i.axis!="horizontal"&&f!==undefined){if(i.stepping.y)f=Math.round(f/i.stepping.y)*i.stepping.y;f=this.translateValue(f,"y");f=this.translateLimits(f,"y");f=this.translateRange(f,"y");this.currentHandle.css({top:f})}this.rangeElement&&this.updateRange();this.currentHandle.data("mouse").sliderValue={x:Math.round(this.convertValue(b,"x"))||0,y:Math.round(this.convertValue(f,"y"))||0};if(!d){this.propagate("start",
null);this.propagate("stop",null);this.propagate("change",null);this.propagate("slide",null)}}});c.ui.slider.getter="value";c.ui.slider.defaults={handle:".ui-slider-handle",distance:1}})(jQuery);
(function(c){function f(i){var j;if(i&&i.constructor==Array&&i.length==3)return i;if(j=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(i))return[parseInt(j[1]),parseInt(j[2]),parseInt(j[3])];if(j=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(i))return[parseFloat(j[1])*2.55,parseFloat(j[2])*2.55,parseFloat(j[3])*2.55];if(j=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(i))return[parseInt(j[1],16),parseInt(j[2],
16),parseInt(j[3],16)];if(j=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(i))return[parseInt(j[1]+j[1],16),parseInt(j[2]+j[2],16),parseInt(j[3]+j[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(i))return d.transparent;return d[jQuery.trim(i).toLowerCase()]}function b(i,j){var m;do{m=jQuery.curCSS(i,j);if(m!=""&&m!="transparent"||jQuery.nodeName(i,"body"))break;j="backgroundColor"}while(i=i.parentNode);return f(m)}c.effects=c.effects||{};c.extend(c.effects,{save:function(i,j){for(var m=0;m<j.length;m++)j[m]!==
null&&c.data(i[0],"ec.storage."+j[m],i[0].style[j[m]])},restore:function(i,j){for(var m=0;m<j.length;m++)j[m]!==null&&i.css(j[m],c.data(i[0],"ec.storage."+j[m]))},setMode:function(i,j){if(j=="toggle")j=i.is(":hidden")?"show":"hide";return j},getBaseline:function(i,j){var m;switch(i[0]){case "top":m=0;break;case "middle":m=0.5;break;case "bottom":m=1;break;default:m=i[0]/j.height}switch(i[1]){case "left":i=0;break;case "center":i=0.5;break;case "right":i=1;break;default:i=i[1]/j.width}return{x:i,y:m}},
createWrapper:function(i){if(i.parent().attr("id")=="fxWrapper")return i;var j={width:i.outerWidth({margin:true}),height:i.outerHeight({margin:true}),"float":i.css("float")};i.wrap('<div id="fxWrapper" style="font-size:100%;background:transparent;border:none;margin:0;padding:0"></div>');var m=i.parent();if(i.css("position")=="static"){m.css({position:"relative"});i.css({position:"relative"})}else{var s=parseInt(i.css("top"),10);if(isNaN(s))s="auto";var t=parseInt(i.css("left"),10);if(isNaN(t))t="auto";
m.css({position:i.css("position"),top:s,left:t,zIndex:i.css("z-index")}).show();i.css({position:"relative",top:0,left:0})}m.css(j);return m},removeWrapper:function(i){if(i.parent().attr("id")=="fxWrapper")return i.parent().replaceWith(i);return i},setTransition:function(i,j,m,s){s=s||{};c.each(j,function(t,y){unit=i.cssUnit(y);if(unit[0]>0)s[y]=unit[0]*m+unit[1]});return s},animateClass:function(i,j,m,s){var t=typeof m=="function"?m:s?s:null,y=typeof m=="object"?m:null;return this.each(function(){var B=
{},H=c(this),P=H.attr("style")||"";if(typeof P=="object")P=P.cssText;if(i.toggle)H.hasClass(i.toggle)?(i.remove=i.toggle):(i.add=i.toggle);var U=c.extend({},document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle);i.add&&H.addClass(i.add);i.remove&&H.removeClass(i.remove);var r=c.extend({},document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle);i.add&&H.removeClass(i.add);i.remove&&H.addClass(i.remove);for(var u in r)if(typeof r[u]!=
"function"&&r[u]&&u.indexOf("Moz")==-1&&u.indexOf("length")==-1&&r[u]!=U[u]&&(u.match(/color/i)||!u.match(/color/i)&&!isNaN(parseInt(r[u],10)))&&(U.position!="static"||U.position=="static"&&!u.match(/left|top|bottom|right/)))B[u]=r[u];H.animate(B,j,y,function(){if(typeof c(this).attr("style")=="object"){c(this).attr("style").cssText="";c(this).attr("style").cssText=P}else c(this).attr("style",P);i.add&&c(this).addClass(i.add);i.remove&&c(this).removeClass(i.remove);t&&t.apply(this,arguments)})})}});
c.fn.extend({_show:c.fn.show,_hide:c.fn.hide,__toggle:c.fn.toggle,_addClass:c.fn.addClass,_removeClass:c.fn.removeClass,_toggleClass:c.fn.toggleClass,effect:function(i,j,m,s){return c.effects[i]?c.effects[i].call(this,{method:i,options:j||{},duration:m,callback:s}):null},show:function(){if(!arguments[0]||arguments[0].constructor==Number||/(slow|normal|fast)/.test(arguments[0]))return this._show.apply(this,arguments);else{var i=arguments[1]||{};i.mode="show";return this.effect.apply(this,[arguments[0],
i,arguments[2]||i.duration,arguments[3]||i.callback])}},hide:function(){if(!arguments[0]||arguments[0].constructor==Number||/(slow|normal|fast)/.test(arguments[0]))return this._hide.apply(this,arguments);else{var i=arguments[1]||{};i.mode="hide";return this.effect.apply(this,[arguments[0],i,arguments[2]||i.duration,arguments[3]||i.callback])}},toggle:function(){if(!arguments[0]||arguments[0].constructor==Number||/(slow|normal|fast)/.test(arguments[0])||arguments[0].constructor==Function)return this.__toggle.apply(this,
arguments);else{var i=arguments[1]||{};i.mode="toggle";return this.effect.apply(this,[arguments[0],i,arguments[2]||i.duration,arguments[3]||i.callback])}},addClass:function(i,j,m,s){return j?c.effects.animateClass.apply(this,[{add:i},j,m,s]):this._addClass(i)},removeClass:function(i,j,m,s){return j?c.effects.animateClass.apply(this,[{remove:i},j,m,s]):this._removeClass(i)},toggleClass:function(i,j,m,s){return j?c.effects.animateClass.apply(this,[{toggle:i},j,m,s]):this._toggleClass(i)},morph:function(i,
j,m,s,t){return c.effects.animateClass.apply(this,[{add:j,remove:i},m,s,t])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(i){var j=this.css(i),m=[];c.each(["em","px","%","pt"],function(s,t){if(j.indexOf(t)>0)m=[parseFloat(j),t]});return m}});jQuery.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(i,j){jQuery.fx.step[j]=function(m){if(m.state==0){m.start=b(m.elem,j);m.end=f(m.end)}m.elem.style[j]=
"rgb("+[Math.max(Math.min(parseInt(m.pos*(m.end[0]-m.start[0])+m.start[0]),255),0),Math.max(Math.min(parseInt(m.pos*(m.end[1]-m.start[1])+m.start[1]),255),0),Math.max(Math.min(parseInt(m.pos*(m.end[2]-m.start[2])+m.start[2]),255),0)].join(",")+")"}});var d={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,
0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,
203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(i,j,m,s,t){return jQuery.easing[jQuery.easing.def](i,j,m,s,t)},easeInQuad:function(i,j,m,s,t){return s*(j/=t)*j+m},easeOutQuad:function(i,j,m,s,t){return-s*(j/=t)*(j-2)+m},easeInOutQuad:function(i,j,m,s,t){if((j/=t/2)<1)return s/2*j*j+m;return-s/2*(--j*(j-
2)-1)+m},easeInCubic:function(i,j,m,s,t){return s*(j/=t)*j*j+m},easeOutCubic:function(i,j,m,s,t){return s*((j=j/t-1)*j*j+1)+m},easeInOutCubic:function(i,j,m,s,t){if((j/=t/2)<1)return s/2*j*j*j+m;return s/2*((j-=2)*j*j+2)+m},easeInQuart:function(i,j,m,s,t){return s*(j/=t)*j*j*j+m},easeOutQuart:function(i,j,m,s,t){return-s*((j=j/t-1)*j*j*j-1)+m},easeInOutQuart:function(i,j,m,s,t){if((j/=t/2)<1)return s/2*j*j*j*j+m;return-s/2*((j-=2)*j*j*j-2)+m},easeInQuint:function(i,j,m,s,t){return s*(j/=t)*j*j*j*
j+m},easeOutQuint:function(i,j,m,s,t){return s*((j=j/t-1)*j*j*j*j+1)+m},easeInOutQuint:function(i,j,m,s,t){if((j/=t/2)<1)return s/2*j*j*j*j*j+m;return s/2*((j-=2)*j*j*j*j+2)+m},easeInSine:function(i,j,m,s,t){return-s*Math.cos(j/t*(Math.PI/2))+s+m},easeOutSine:function(i,j,m,s,t){return s*Math.sin(j/t*(Math.PI/2))+m},easeInOutSine:function(i,j,m,s,t){return-s/2*(Math.cos(Math.PI*j/t)-1)+m},easeInExpo:function(i,j,m,s,t){return j==0?m:s*Math.pow(2,10*(j/t-1))+m},easeOutExpo:function(i,j,m,s,t){return j==
t?m+s:s*(-Math.pow(2,-10*j/t)+1)+m},easeInOutExpo:function(i,j,m,s,t){if(j==0)return m;if(j==t)return m+s;if((j/=t/2)<1)return s/2*Math.pow(2,10*(j-1))+m;return s/2*(-Math.pow(2,-10*--j)+2)+m},easeInCirc:function(i,j,m,s,t){return-s*(Math.sqrt(1-(j/=t)*j)-1)+m},easeOutCirc:function(i,j,m,s,t){return s*Math.sqrt(1-(j=j/t-1)*j)+m},easeInOutCirc:function(i,j,m,s,t){if((j/=t/2)<1)return-s/2*(Math.sqrt(1-j*j)-1)+m;return s/2*(Math.sqrt(1-(j-=2)*j)+1)+m},easeInElastic:function(i,j,m,s,t){i=1.70158;var y=
0,B=s;if(j==0)return m;if((j/=t)==1)return m+s;y||(y=t*0.3);if(B<Math.abs(s)){B=s;i=y/4}else i=y/(2*Math.PI)*Math.asin(s/B);return-(B*Math.pow(2,10*(j-=1))*Math.sin((j*t-i)*2*Math.PI/y))+m},easeOutElastic:function(i,j,m,s,t){i=1.70158;var y=0,B=s;if(j==0)return m;if((j/=t)==1)return m+s;y||(y=t*0.3);if(B<Math.abs(s)){B=s;i=y/4}else i=y/(2*Math.PI)*Math.asin(s/B);return B*Math.pow(2,-10*j)*Math.sin((j*t-i)*2*Math.PI/y)+s+m},easeInOutElastic:function(i,j,m,s,t){i=1.70158;var y=0,B=s;if(j==0)return m;
if((j/=t/2)==2)return m+s;y||(y=t*0.3*1.5);if(B<Math.abs(s)){B=s;i=y/4}else i=y/(2*Math.PI)*Math.asin(s/B);if(j<1)return-0.5*B*Math.pow(2,10*(j-=1))*Math.sin((j*t-i)*2*Math.PI/y)+m;return B*Math.pow(2,-10*(j-=1))*Math.sin((j*t-i)*2*Math.PI/y)*0.5+s+m},easeInBack:function(i,j,m,s,t,y){if(y==undefined)y=1.70158;return s*(j/=t)*j*((y+1)*j-y)+m},easeOutBack:function(i,j,m,s,t,y){if(y==undefined)y=1.70158;return s*((j=j/t-1)*j*((y+1)*j+y)+1)+m},easeInOutBack:function(i,j,m,s,t,y){if(y==undefined)y=1.70158;
if((j/=t/2)<1)return s/2*j*j*(((y*=1.525)+1)*j-y)+m;return s/2*((j-=2)*j*(((y*=1.525)+1)*j+y)+2)+m},easeInBounce:function(i,j,m,s,t){return s-jQuery.easing.easeOutBounce(i,t-j,0,s,t)+m},easeOutBounce:function(i,j,m,s,t){return(j/=t)<1/2.75?s*7.5625*j*j+m:j<2/2.75?s*(7.5625*(j-=1.5/2.75)*j+0.75)+m:j<2.5/2.75?s*(7.5625*(j-=2.25/2.75)*j+0.9375)+m:s*(7.5625*(j-=2.625/2.75)*j+0.984375)+m},easeInOutBounce:function(i,j,m,s,t){if(j<t/2)return jQuery.easing.easeInBounce(i,j*2,0,s,t)*0.5+m;return jQuery.easing.easeOutBounce(i,
j*2-t,0,s,t)*0.5+s*0.5+m}})})(jQuery);
(function(c){c.effects.blind=function(f){return this.queue(function(){var b=c(this),d=["position","top","left"],i=c.effects.setMode(b,f.options.mode||"hide"),j=f.options.direction||"vertical";c.effects.save(b,d);b.show();var m=c.effects.createWrapper(b).css({overflow:"hidden"}),s=j=="vertical"?"height":"width";j=j=="vertical"?m.height():m.width();i=="show"&&m.css(s,0);var t={};t[s]=i=="show"?j:0;m.animate(t,f.duration,f.options.easing,function(){i=="hide"&&b.hide();c.effects.restore(b,d);c.effects.removeWrapper(b);
f.callback&&f.callback.apply(b[0],arguments);b.dequeue()})})}})(jQuery);
(function(c){c.effects.bounce=function(f){return this.queue(function(){var b=c(this),d=["position","top","left"],i=c.effects.setMode(b,f.options.mode||"effect"),j=f.options.direction||"up",m=f.options.distance||20,s=f.options.times||5,t=f.duration||250;/show|hide/.test(i)&&d.push("opacity");c.effects.save(b,d);b.show();c.effects.createWrapper(b);var y=j=="up"||j=="down"?"top":"left";j=j=="up"||j=="left"?"pos":"neg";m=f.options.distance||(y=="top"?b.outerHeight({margin:true})/3:b.outerWidth({margin:true})/
3);if(i=="show")b.css("opacity",0).css(y,j=="pos"?-m:m);if(i=="hide")m/=s*2;i!="hide"&&s--;if(i=="show"){var B={opacity:1};B[y]=(j=="pos"?"+=":"-=")+m;b.animate(B,t/2,f.options.easing);m/=2;s--}for(B=0;B<s;B++){var H={},P={};H[y]=(j=="pos"?"-=":"+=")+m;P[y]=(j=="pos"?"+=":"-=")+m;b.animate(H,t/2,f.options.easing).animate(P,t/2,f.options.easing);m=i=="hide"?m*2:m/2}if(i=="hide"){B={opacity:0};B[y]=(j=="pos"?"-=":"+=")+m;b.animate(B,t/2,f.options.easing,function(){b.hide();c.effects.restore(b,d);c.effects.removeWrapper(b);
f.callback&&f.callback.apply(this,arguments)})}else{H={};P={};H[y]=(j=="pos"?"-=":"+=")+m;P[y]=(j=="pos"?"+=":"-=")+m;b.animate(H,t/2,f.options.easing).animate(P,t/2,f.options.easing,function(){c.effects.restore(b,d);c.effects.removeWrapper(b);f.callback&&f.callback.apply(this,arguments)})}b.queue("fx",function(){b.dequeue()});b.dequeue()})}})(jQuery);
(function(c){c.effects.clip=function(f){return this.queue(function(){var b=c(this),d=["position","top","left","height","width"],i=c.effects.setMode(b,f.options.mode||"hide"),j=f.options.direction||"vertical";c.effects.save(b,d);b.show();var m=c.effects.createWrapper(b).css({overflow:"hidden"});m=b[0].tagName=="IMG"?m:b;var s={size:j=="vertical"?"height":"width",position:j=="vertical"?"top":"left"};j=j=="vertical"?m.height():m.width();if(i=="show"){m.css(s.size,0);m.css(s.position,j/2)}var t={};t[s.size]=
i=="show"?j:0;t[s.position]=i=="show"?0:j/2;m.animate(t,{queue:false,duration:f.duration,easing:f.options.easing,complete:function(){i=="hide"&&b.hide();c.effects.restore(b,d);c.effects.removeWrapper(b);f.callback&&f.callback.apply(b[0],arguments);b.dequeue()}})})}})(jQuery);
(function(c){c.effects.drop=function(f){return this.queue(function(){var b=c(this),d=["position","top","left","opacity"],i=c.effects.setMode(b,f.options.mode||"hide"),j=f.options.direction||"left";c.effects.save(b,d);b.show();c.effects.createWrapper(b);var m=j=="up"||j=="down"?"top":"left";j=j=="up"||j=="left"?"pos":"neg";var s=f.options.distance||(m=="top"?b.outerHeight({margin:true})/2:b.outerWidth({margin:true})/2);if(i=="show")b.css("opacity",0).css(m,j=="pos"?-s:s);var t={opacity:i=="show"?1:
0};t[m]=(i=="show"?j=="pos"?"+=":"-=":j=="pos"?"-=":"+=")+s;b.animate(t,{queue:false,duration:f.duration,easing:f.options.easing,complete:function(){i=="hide"&&b.hide();c.effects.restore(b,d);c.effects.removeWrapper(b);f.callback&&f.callback.apply(this,arguments);b.dequeue()}})})}})(jQuery);
(function(c){c.effects.fold=function(f){return this.queue(function(){var b=c(this),d=["position","top","left"],i=c.effects.setMode(b,f.options.mode||"hide"),j=f.options.size||15,m=!!f.options.horizFirst;c.effects.save(b,d);b.show();var s=c.effects.createWrapper(b).css({overflow:"hidden"}),t=i=="show"!=m,y=t?["width","height"]:["height","width"];t=t?[s.width(),s.height()]:[s.height(),s.width()];var B=/([0-9]+)%/.exec(j);if(B)j=parseInt(B[1])/100*t[i=="hide"?0:1];if(i=="show")s.css(m?{height:0,width:j}:
{height:j,width:0});m={};B={};m[y[0]]=i=="show"?t[0]:j;B[y[1]]=i=="show"?t[1]:0;s.animate(m,f.duration/2,f.options.easing).animate(B,f.duration/2,f.options.easing,function(){i=="hide"&&b.hide();c.effects.restore(b,d);c.effects.removeWrapper(b);f.callback&&f.callback.apply(b[0],arguments);b.dequeue()})})}})(jQuery);
(function(c){c.effects.highlight=function(f){return this.queue(function(){var b=c(this),d=["backgroundImage","backgroundColor","opacity"],i=c.effects.setMode(b,f.options.mode||"show"),j=f.options.color||"#ffff99",m=b.css("backgroundColor");c.effects.save(b,d);b.show();b.css({backgroundImage:"none",backgroundColor:j});j={backgroundColor:m};if(i=="hide")j.opacity=0;b.animate(j,{queue:false,duration:f.duration,easing:f.options.easing,complete:function(){i=="hide"&&b.hide();c.effects.restore(b,d);i==
"show"&&jQuery.browser.msie&&this.style.removeAttribute("filter");f.callback&&f.callback.apply(this,arguments);b.dequeue()}})})}})(jQuery);
(function(c){c.effects.pulsate=function(f){return this.queue(function(){var b=c(this),d=c.effects.setMode(b,f.options.mode||"show"),i=f.options.times||5;d=="hide"&&i--;if(b.is(":hidden")){b.css("opacity",0);b.show();b.animate({opacity:1},f.duration/2,f.options.easing);i-=2}for(var j=0;j<i;j++)b.animate({opacity:0},f.duration/2,f.options.easing).animate({opacity:1},f.duration/2,f.options.easing);d=="hide"?b.animate({opacity:0},f.duration/2,f.options.easing,function(){b.hide();f.callback&&f.callback.apply(this,
arguments)}):b.animate({opacity:0},f.duration/2,f.options.easing).animate({opacity:1},f.duration/2,f.options.easing,function(){f.callback&&f.callback.apply(this,arguments)});b.queue("fx",function(){b.dequeue()});b.dequeue()})}})(jQuery);
(function(c){c.effects.puff=function(f){return this.queue(function(){var b=c(this),d=c.extend(true,{},f.options),i=c.effects.setMode(b,f.options.mode||"hide"),j=parseInt(f.options.percent)||150;d.fade=true;var m={height:b.height(),width:b.width()},s=j/100;b.from=i=="hide"?m:{height:m.height*s,width:m.width*s};d.from=b.from;d.percent=i=="hide"?j:100;d.mode=i;b.effect("scale",d,f.duration,f.callback);b.dequeue()})};c.effects.scale=function(f){return this.queue(function(){var b=c(this),d=c.extend(true,
{},f.options),i=c.effects.setMode(b,f.options.mode||"effect"),j=parseInt(f.options.percent)||(parseInt(f.options.percent)==0?0:i=="hide"?0:100),m=f.options.direction||"both",s=f.options.origin;if(i!="effect"){d.origin=s||["middle","center"];d.restore=true}s={height:b.height(),width:b.width()};b.from=f.options.from||(i=="show"?{height:0,width:0}:s);j={y:m!="horizontal"?j/100:1,x:m!="vertical"?j/100:1};b.to={height:s.height*j.y,width:s.width*j.x};if(f.options.fade){if(i=="show"){b.from.opacity=0;b.to.opacity=
1}if(i=="hide"){b.from.opacity=1;b.to.opacity=0}}d.from=b.from;d.to=b.to;d.mode=i;b.effect("size",d,f.duration,f.callback);b.dequeue()})};c.effects.size=function(f){return this.queue(function(){var b=c(this),d=["position","top","left","width","height","overflow","opacity"],i=["position","top","left","overflow","opacity"],j=["width","height","overflow"],m=["fontSize"],s=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],t=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],
y=c.effects.setMode(b,f.options.mode||"effect"),B=f.options.restore||false,H=f.options.scale||"both",P=f.options.origin,U={height:b.height(),width:b.width()};b.from=f.options.from||U;b.to=f.options.to||U;if(P){P=c.effects.getBaseline(P,U);b.from.top=(U.height-b.from.height)*P.y;b.from.left=(U.width-b.from.width)*P.x;b.to.top=(U.height-b.to.height)*P.y;b.to.left=(U.width-b.to.width)*P.x}var r={from:{y:b.from.height/U.height,x:b.from.width/U.width},to:{y:b.to.height/U.height,x:b.to.width/U.width}};
if(H=="box"||H=="both"){if(r.from.y!=r.to.y){d=d.concat(s);b.from=c.effects.setTransition(b,s,r.from.y,b.from);b.to=c.effects.setTransition(b,s,r.to.y,b.to)}if(r.from.x!=r.to.x){d=d.concat(t);b.from=c.effects.setTransition(b,t,r.from.x,b.from);b.to=c.effects.setTransition(b,t,r.to.x,b.to)}}if(H=="content"||H=="both")if(r.from.y!=r.to.y){d=d.concat(m);b.from=c.effects.setTransition(b,m,r.from.y,b.from);b.to=c.effects.setTransition(b,m,r.to.y,b.to)}c.effects.save(b,B?d:i);b.show();c.effects.createWrapper(b);
b.css("overflow","hidden").css(b.from);if(H=="content"||H=="both"){s=s.concat(["marginTop","marginBottom"]).concat(m);t=t.concat(["marginLeft","marginRight"]);j=d.concat(s).concat(t);b.find("*[width]").each(function(){child=c(this);B&&c.effects.save(child,j);var u={height:child.height(),width:child.width()};child.from={height:u.height*r.from.y,width:u.width*r.from.x};child.to={height:u.height*r.to.y,width:u.width*r.to.x};if(r.from.y!=r.to.y){child.from=c.effects.setTransition(child,s,r.from.y,child.from);
child.to=c.effects.setTransition(child,s,r.to.y,child.to)}if(r.from.x!=r.to.x){child.from=c.effects.setTransition(child,t,r.from.x,child.from);child.to=c.effects.setTransition(child,t,r.to.x,child.to)}child.css(child.from);child.animate(child.to,f.duration,f.options.easing,function(){B&&c.effects.restore(child,j)})})}b.animate(b.to,{queue:false,duration:f.duration,easing:f.options.easing,complete:function(){y=="hide"&&b.hide();c.effects.restore(b,B?d:i);c.effects.removeWrapper(b);f.callback&&f.callback.apply(this,
arguments);b.dequeue()}})})}})(jQuery);
(function(c){c.effects.shake=function(f){return this.queue(function(){var b=c(this),d=["position","top","left"];c.effects.setMode(b,f.options.mode||"effect");var i=f.options.direction||"left",j=f.options.distance||20,m=f.options.times||3,s=f.duration||f.options.duration||140;c.effects.save(b,d);b.show();c.effects.createWrapper(b);var t=i=="up"||i=="down"?"top":"left",y=i=="up"||i=="left"?"pos":"neg";i={};var B={},H={};i[t]=(y=="pos"?"-=":"+=")+j;B[t]=(y=="pos"?"+=":"-=")+j*2;H[t]=(y=="pos"?"-=":"+=")+
j*2;b.animate(i,s,f.options.easing);for(j=1;j<m;j++)b.animate(B,s,f.options.easing).animate(H,s,f.options.easing);b.animate(B,s,f.options.easing).animate(i,s/2,f.options.easing,function(){c.effects.restore(b,d);c.effects.removeWrapper(b);f.callback&&f.callback.apply(this,arguments)});b.queue("fx",function(){b.dequeue()});b.dequeue()})}})(jQuery);
(function(c){c.effects.slide=function(f){return this.queue(function(){var b=c(this),d=["position","top","left"],i=c.effects.setMode(b,f.options.mode||"show"),j=f.options.direction||"left";c.effects.save(b,d);b.show();c.effects.createWrapper(b).css({overflow:"hidden"});var m=j=="up"||j=="down"?"top":"left";j=j=="up"||j=="left"?"pos":"neg";var s=f.options.distance||(m=="top"?b.outerHeight({margin:true}):b.outerWidth({margin:true}));if(i=="show")b.css(m,j=="pos"?-s:s);var t={};t[m]=(i=="show"?j=="pos"?
"+=":"-=":j=="pos"?"-=":"+=")+s;b.animate(t,{queue:false,duration:f.duration,easing:f.options.easing,complete:function(){i=="hide"&&b.hide();c.effects.restore(b,d);c.effects.removeWrapper(b);f.callback&&f.callback.apply(this,arguments);b.dequeue()}})})}})(jQuery);
(function(c){c.fn.extend({elastic:function(){var f=["paddingTop","paddingRight","paddingBottom","paddingLeft","fontSize","lineHeight","fontFamily","width","fontWeight"];return this.each(function(){function b(B,H){curratedHeight=Math.floor(parseInt(B,10));i.height()!=curratedHeight&&i.css({height:curratedHeight+"px",overflow:H})}function d(){var B=i.val().replace(/&/g,"&amp;").replace(/  /g,"&nbsp;").replace(/<|>/g,"&gt;").replace(/\n/g,"<br />"),H=j.html();if(B+"&nbsp;"!=H){j.html(B+"&nbsp;");if(Math.abs(j.height()+
m-i.height())>3){B=j.height()+m;if(B>=t)b(t,"auto");else B<=s?b(s,"hidden"):b(B,"hidden")}}}if(this.type!="textarea")return false;var i=c(this),j=c("<div />").css({position:"absolute",display:"none","word-wrap":"break-word"}),m=parseInt(i.css("line-height"),10)||parseInt(i.css("font-size"),"10"),s=parseInt(i.css("height"),10)||m*3,t=parseInt(i.css("max-height"),10)||Number.MAX_VALUE,y=0;if(t<0)t=Number.MAX_VALUE;j.appendTo(i.parent());for(y=f.length;y--;)j.css(f[y].toString(),i.css(f[y].toString()));
i.css({overflow:"hidden"});i.keyup(function(){d()});i.live("input paste",function(){setTimeout(d,250)});d()})}})})(jQuery);if(typeof deconcept=="undefined")var deconcept={};if(typeof deconcept.util=="undefined")deconcept.util={};if(typeof deconcept.SWFObjectUtil=="undefined")deconcept.SWFObjectUtil={};
deconcept.SWFObject=function(c,f,b,d,i,j,m,s,t,y,B){if(document.createElement&&document.getElementById){this.DETECT_KEY=B?B:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params={};this.variables={};this.attributes=[];c&&this.setAttribute("swf",c);f&&this.setAttribute("id",f);b&&this.setAttribute("width",b);d&&this.setAttribute("height",d);i&&this.setAttribute("version",new deconcept.PlayerVersion(i.toString().split(".")));this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion(this.getAttribute("version"),
m);j&&this.addParam("bgcolor",j);this.addParam("quality",s?s:"high");this.setAttribute("useExpressInstall",m);this.setAttribute("doExpressInstall",false);this.setAttribute("xiRedirectUrl",t?t:window.location);this.setAttribute("redirectUrl","");y&&this.setAttribute("redirectUrl",y)}};
deconcept.SWFObject.prototype={setAttribute:function(c,f){this.attributes[c]=f},getAttribute:function(c){return this.attributes[c]},addParam:function(c,f){this.params[c]=f},getParams:function(){return this.params},addVariable:function(c,f){this.variables[c]=f},getVariable:function(c){return this.variables[c]},getVariables:function(){return this.variables},getVariablePairs:function(){var c=[],f,b=this.getVariables();for(f in b)c.push(f+"="+b[f]);return c},getSWFHTML:function(){var c="";if(navigator.plugins&&
navigator.mimeTypes&&navigator.mimeTypes.length){this.getAttribute("doExpressInstall")&&this.addVariable("MMplayerType","PlugIn");c='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'"';c+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var f=this.getParams();for(var b in f)c+=[b]+'="'+f[b]+'" ';b=this.getVariablePairs().join("&");if(b.length>0)c+='flashvars="'+b+'"';
c+="/>"}else{this.getAttribute("doExpressInstall")&&this.addVariable("MMplayerType","ActiveX");c='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'">';c+='<param name="movie" value="'+this.getAttribute("swf")+'" />';f=this.getParams();for(b in f)c+='<param name="'+b+'" value="'+f[b]+'" />';b=this.getVariablePairs().join("&");if(b.length>0)c+='<param name="flashvars" value="'+
b+'" />';c+="</object>"}return c},write:function(c){if(this.getAttribute("useExpressInstall"))if(this.installedVer.versionIsValid(new deconcept.PlayerVersion([6,0,65]))&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}if(this.skipDetect||this.getAttribute("doExpressInstall")||
this.installedVer.versionIsValid(this.getAttribute("version"))){(typeof c=="string"?document.getElementById(c):c).innerHTML=this.getSWFHTML();return true}else this.getAttribute("redirectUrl")!=""&&document.location.replace(this.getAttribute("redirectUrl"));return false}};
deconcept.SWFObjectUtil.getPlayerVersion=function(c,f){var b=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){if((c=navigator.plugins["Shockwave Flash"])&&c.description)b=new deconcept.PlayerVersion(c.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}else{try{for(var d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),i=3;d!=null;i++){d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i);b=new deconcept.PlayerVersion([i,
0,0])}}catch(j){}if(c&&b.major>c.major)return b;if(!c||(c.minor!=0||c.rev!=0)&&b.major==c.major||b.major!=6||f)try{b=new deconcept.PlayerVersion(d.GetVariable("$version").split(" ")[1].split(","))}catch(m){}}return b};deconcept.PlayerVersion=function(c){this.major=parseInt(c[0])!=null?parseInt(c[0]):0;this.minor=parseInt(c[1])||0;this.rev=parseInt(c[2])||0};
deconcept.PlayerVersion.prototype.versionIsValid=function(c){if(this.major<c.major)return false;if(this.major>c.major)return true;if(this.minor<c.minor)return false;if(this.minor>c.minor)return true;if(this.rev<c.rev)return false;return true};deconcept.util={getRequestParameter:function(c){var f=document.location.search||document.location.hash;if(f){c=f.indexOf(c+"=");var b=f.indexOf("&",c)>-1?f.indexOf("&",c):f.length;if(f.length>1&&c>-1)return f.substring(f.indexOf("=",c)+1,b)}return""}};
if(Array.prototype.push==null)Array.prototype.push=function(c){this[this.length]=c;return this.length};var getQueryParamValue=deconcept.util.getRequestParameter,FlashObject=deconcept.SWFObject,SWFObject=deconcept.SWFObject;
(function(c){function f(){x.hide();c(ra).unbind();Ea&&Ea.abort();M.empty()}function b(){f();var A=ja[ba];Q=typeof c(A).data("fancybox")=="undefined"?c.extend({},c.fn.fancybox.defaults,Q):c.extend({},c.fn.fancybox.defaults,c(A).data("fancybox"));var G,S,pa=A.title||c(A).title||Q.title||"";G=A.nodeName&&/^(?:javascript|#)/i.test(A.href)?Q.href||null:A.href||c(A).href||Q.href||null;if(Q.type){S=Q.type;if(!G)G=Q.content}else if(G)if(G.match(Aa))S="image";else if(G.match(ta))S="swf";else if(c(A).hasClass("iframe"))S=
"iframe";else if(G.match(/#/)){A=G.substr(G.indexOf("#"));S=c(A).length>0?"inline":"ajax"}else S="ajax";else if(Q.content){A=Q.content;S="html";Q.content=null}else S="inline";Q.type=S;Q.href=G;Q.title=pa;if(Q.autoDimensions&&Q.type!=="iframe"&&Q.type!=="swf"){Q.frameWidth="auto";Q.frameHeight="auto"}if(Q.modal){Q.overlayShow=true;Q.hideOnOverlayClick=false;Q.hideOnContentClick=false;Q.enableEscapeButton=false;Q.showCloseButton=false}if(c.isFunction(Q.onStart))if(Q.onStart(ja,ba,Q)===false){ea=false;
return}M.css("padding",ua+Q.padding+Q.margin);c(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){c(this).replaceWith(Y.children())});switch(S){case "html":M.html(A);i();break;case "inline":c('<div class="fancybox-inline-tmp" />').hide().insertBefore(c(A)).bind("fancybox-cleanup",function(){c(this).replaceWith(Y.children())}).bind("fancybox-cancel",function(){c(this).replaceWith(M.children())});c(A).appendTo(M);i();break;case "image":ra=new Image;ra.src=G;if(ra.complete)d();
else{ea=false;c.fancybox.showActivity();c(ra).unbind().one("load",d)}break;case "swf":var sa="",za="";sa+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+Q.frameWidth+'" height="'+Q.frameHeight+'"><param name="movie" value="'+G+'"></param>';c.each(Q.swf,function(oa,Ga){sa+='<param name="'+oa+'" value="'+Ga+'"></param>';za+=" "+oa+'="'+Ga+'"'});sa+='<embed src="'+G+'" type="application/x-shockwave-flash" width="'+Q.frameWidth+'" height="'+Q.frameHeight+'"'+za+"></embed></object>";
M.html(sa);i();break;case "ajax":A=G.split("#",2);S=Q.ajax.data||{};if(A.length>1){G=A[0];typeof S=="string"?(S+="&selector="+A[1]):(S.selector=A[1])}ea=false;c.fancybox.showActivity();Ea=c.ajax(c.extend(Q.ajax,{url:G,data:S,success:function(oa){M.html(oa);i()}}));break;case "iframe":ea=false;c.fancybox.showActivity();c('<iframe id="fancybox-frame" name="fancybox-frame'+Math.round(Math.random()*1E3)+'" frameborder="0" hspace="0" src="'+G+'"></iframe>').appendTo(M).load(function(){ea=true;c(this).unbind();
j()});break}}function d(){ea=true;Q.frameWidth=ra.width;Q.frameHeight=ra.height;c("<img />").attr({id:"fancybox-img",src:ra.src,alt:Q.title}).appendTo(M);j()}function i(){M.width(Q.frameWidth);M.height(Q.frameHeight);if(Q.frameWidth=="auto")Q.frameWidth=M.width();if(Q.frameHeight=="auto")Q.frameHeight=M.height();j()}function j(){x.hide();if(R.is(":visible")&&c.isFunction(K.onCleanup))if(K.onCleanup(ga,da,K)===false){c.event.trigger("fancybox-cancel");ea=false;return}ga=ja;da=ba;K=Q;Y[0].scrollTop=
0;Y[0].scrollLeft=0;if(K.overlayShow){Ka&&c("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});E.css({"background-color":K.overlayColor,opacity:K.overlayOpacity}).unbind().show()}la=t();u();if(R.is(":visible")){c(ka.add(ma).add(fa)).hide();var A=R.position();ha={top:A.top,left:A.left,width:R.width(),height:R.height()};var G=ha.width==la.width&&ha.height==la.height;
Y.fadeOut(K.changeFade,function(){function S(){Y.html(M.contents()).fadeIn(K.changeFade,s)}c.event.trigger("fancybox-change");Y.css({top:K.padding,left:K.padding,width:ha.width-K.padding*2>0?ha.width-K.padding*2:1,height:ha.height-K.padding*2>0?ha.height-K.padding*2:1}).empty();Y.css("overflow","hidden");Ba.prop=0;c(Ba).animate({prop:1},{duration:G?0:K.changeSpeed,easing:K.easingChange,step:m,complete:S})})}else if(K.transitionIn=="elastic"){ha=y();Y.css({top:K.padding,left:K.padding,width:ha.width-
K.padding*2>0?ha.width-K.padding*2:1,height:ha.height-K.padding*2>0?ha.height-K.padding*2:1});Y.html(M.contents());R.css(ha).show();if(K.opacity)la.opacity=0;Ba.prop=0;c(Ba).animate({prop:1},{duration:K.speedIn,easing:K.easingIn,step:m,complete:s})}else{Y.css({top:K.padding,left:K.padding,width:la.width-K.padding*2>0?la.width-K.padding*2:1,height:la.height-K.padding*2-ya>0?la.height-K.padding*2-ya:1});Y.html(M.contents());R.css(la).fadeIn(K.transitionIn=="none"?0:K.speedIn,s)}}function m(A){var G=
Math.round(ha.width+(la.width-ha.width)*A),S=Math.round(ha.height+(la.height-ha.height)*A),pa=Math.round(ha.top+(la.top-ha.top)*A),sa=Math.round(ha.left+(la.left-ha.left)*A);c(R).css({width:G+"px",height:S+"px",top:pa+"px",left:sa+"px"});G-=K.padding*2;S-=K.padding*2+ya*A;G=G>0?G:0;S=S>0?S:0;Y.css({width:G+"px",height:S+"px"});if(typeof la.opacity!=="undefined")R.css("opacity",A<0.5?0.5:A)}function s(){Y.removeAttr("filter");R.removeAttr("filter").css("opacity","");c(ga[da]).is("img")==false&&Q.type!==
"image"&&Q.type!=="iframe"&&Y.css({overflow:"auto"});c("#fancybox-title").show();K.hideOnContentClick?Y.one("click",c.fancybox.close):Y.unbind();K.hideOnOverlayClick?E.one("click",c.fancybox.close):E.unbind();K.showCloseButton?ka.show():ka.hide();B();K.centerOnScroll?c(window).bind("resize.fb scroll.fb",c.fancybox.center):c(window).unbind("resize.fb scroll.fb");c.isFunction(K.onComplete)&&K.onComplete(ga,da,K);ea=false;H()}function t(){var A=U(),G={},S=K.margin,pa=K.autoScale,sa=(ua+S)*2,za=(ua+S)*
2,oa=K.padding*2;if(K.frameWidth.toString().indexOf("%")>-1){G.width=A[0]*parseFloat(K.frameWidth)/100-ua*2;pa=false}else G.width=K.frameWidth+oa;if(K.frameHeight.toString().indexOf("%")>-1){G.height=A[1]*parseFloat(K.frameHeight)/100-ua*2;pa=false}else G.height=K.frameHeight+oa;if(pa&&(G.width>A[0]-sa||G.height>A[1]-za))if(c(ga[da]).is("img")||Q.type=="image"||Q.type=="swf"){sa+=oa;za+=oa;pa=Math.min(Math.min(A[0]-sa,K.frameWidth)/K.frameWidth,Math.min(A[1]-za,K.frameHeight)/K.frameHeight);G.width=
Math.round(pa*(G.width-oa))+oa;G.height=Math.round(pa*(G.height-oa))+oa}else{G.width=Math.min(G.width,A[0]-sa);G.height=Math.min(G.height,A[1]-za)}G.top=A[3]+(A[1]-(G.height+ua*2))*0.5;G.left=A[2]+(A[0]-(G.width+ua*2))*0.5;if(K.autoScale==false){G.top=G.top<A[3]+S?A[3]+S:G.top;G.left=G.left<A[2]+S?A[2]+S:G.left}return G}function y(){var A=ga[da],G=U();G={width:1,height:1,top:G[3]+G[1]*0.5,left:G[2]+G[0]*0.5};var S=false;if(typeof A.orig!=="undefined"&&A.orig.nodeName)S=c(A.orig);else if(c(A).children("img:first").length)S=
c(A).children("img:first");else if(A.nodeName)S=c(A);if(S&&S.length){A=r(S);G.width=A.width+K.padding*2;G.height=A.height+K.padding*2;G.top=A.top-K.padding-ua;G.left=A.left-K.padding-ua}return G}function B(){c(document).unbind("keydown.fb").bind("keydown.fb",function(A){if(A.keyCode==27&&K.enableEscapeButton){A.preventDefault();c.fancybox.close()}else if(A.keyCode==37){A.preventDefault();c.fancybox.prev()}else if(A.keyCode==39){A.preventDefault();c.fancybox.next()}});if(c.fn.mousewheel){R.unbind("mousewheel.fb");
ga.length>1&&R.bind("mousewheel.fb",function(A,G){A.preventDefault();ea||G==0||(G<0?c.fancybox.prev():c.fancybox.next())})}if(K.showNavArrows){if(K.cyclic&&ga.length>1||da!=0)ma.show();if(K.cyclic&&ga.length>1||da!=ga.length-1)fa.show()}}function H(){if(ga.length-1>da){var A=ga[da+1].href;if(typeof A!=="undefined"&&A.match(Aa)){var G=new Image;G.src=A}}if(da>0){A=ga[da-1].href;if(typeof A!=="undefined"&&A.match(Aa)){G=new Image;G.src=A}}}function P(){if(x.is(":visible")){c("div",x).css("top",Fa*-40+
"px");Fa=(Fa+1)%12}else clearInterval(Ja)}function U(){return[c(window).width(),c(window).height(),c(document).scrollLeft(),c(document).scrollTop()]}function r(A){var G=A.offset();G.top+=parseFloat(A.css("paddingTop"))||0;G.left+=parseFloat(A.css("paddingLeft"))||0;G.top+=parseFloat(A.css("border-top-width"))||0;G.left+=parseFloat(A.css("border-left-width"))||0;G.width=A.width();G.height=A.height();return G}function u(){c("#fancybox-title").remove();ya=0;if(K.titleShow==false)return false;var A=K.title;
A=c.isFunction(K.titleFormat)?K.titleFormat(A,ga,da,K):C(A);if(!(A==false||A.length<1))if(A.length>0){var G=la.width-K.padding*2;c('<div id="fancybox-title" class="'+(K.titlePosition=="inside"?"fancybox-title-inside":"fancybox-title-outside")+'" />').css({width:G,paddingLeft:K.padding,paddingRight:K.padding}).html(A).appendTo("body");ya=c("#fancybox-title").outerHeight(true);if(K.titlePosition=="outside"){c("#fancybox-title").css("bottom",ya*-1);ya=0}else{ya-=K.padding;la.height+=ya}c("#fancybox-title").appendTo(ca).hide();
Ka&&c("#fancybox-title span").fixPNG()}}function C(A){if(A.length)return K.titlePosition=="inside"?A:'<span id="fancybox-title-wrap"><span id="fancybox-title-left"></span><span id="fancybox-title-main">'+A+'</span><span id="fancybox-title-right"></span></span>';return false}function h(){if(!c("#fancybox-wrap").length){M=c('<div id="fancybox-tmp"></div>').appendTo("body");x=c('<div id="fancybox-loading"><div></div></div>').appendTo("body");E=c('<div id="fancybox-overlay"></div>').appendTo("body");
R=c('<div id="fancybox-wrap"></div>').appendTo("body");ca=c('<div id="fancybox-outer"></div>').append('<div class="fancy-bg" id="fancy-bg-n"></div><div class="fancy-bg" id="fancy-bg-ne"></div><div class="fancy-bg" id="fancy-bg-e"></div><div class="fancy-bg" id="fancy-bg-se"></div><div class="fancy-bg" id="fancy-bg-s"></div><div class="fancy-bg" id="fancy-bg-sw"></div><div class="fancy-bg" id="fancy-bg-w"></div><div class="fancy-bg" id="fancy-bg-nw"></div>').appendTo(R);Y=c('<div id="fancybox-inner"></div').appendTo(ca);
ka=c('<a id="fancybox-close"></a>').appendTo(ca);ma=c('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>').appendTo(ca);fa=c('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>').appendTo(ca);ka.click(c.fancybox.close);x.click(c.fancybox.cancel);ma.bind("click",function(A){A.preventDefault();c.fancybox.prev()});fa.bind("click",function(A){A.preventDefault();c.fancybox.next()});c.support.opacity||
ca.find(".fancy-bg").fixPNG();if(Ka){c(ka.add(".fancy-ico").add("div",x)).fixPNG();E.get(0).style.setExpression("height","document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'");x.get(0).style.setExpression("top","(-20 + ( document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px'");
ca.prepend('<iframe id="fancybox-hide-sel-frame" src="javascript:\'\';" scrolling="no" frameborder="0" ></iframe>')}}}var M,x,E,R,ca,Y,ka,ma,fa,ba=0,Q={},ja=[],da=0,K={},ga=[],Ea=null,ra=new Image,Aa=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,ta=/[^\.]\.(swf)\s*$/i,Ja,Fa=1,ha,la,ea=false,ua=20,Ba=c.extend(c("<div/>")[0],{prop:0}),ya=0,Ka=!c.support.opacity&&!window.XMLHttpRequest;c.fn.fixPNG=function(){return this.each(function(){var A=c(this).css("backgroundImage");if(A.match(/^url\(["']?(.*\.png)["']?\)$/i)){A=
RegExp.$1;c(this).css({backgroundImage:"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod="+(c(this).css("backgroundRepeat")=="no-repeat"?"crop":"scale")+", src='"+A+"')"}).each(function(){var G=c(this).css("position");G!="absolute"&&G!="relative"&&c(this).css("position","relative")})}})};c.fn.fancybox=function(A){c(this).data("fancybox",c.extend({},A));c(this).unbind("click.fb").bind("click.fb",function(G){G.preventDefault();if(!ea){c(this).blur();ea=true;
ja=[];ba=0;G=c(this).attr("rel")||"";if(!G||G==""||G==="nofollow")ja.push(this);else{ja=c("a[rel="+G+"], area[rel="+G+"]");ba=ja.index(this)}b();return false}});return this};c.fancybox=function(A,G){if(!ea){ea=true;ja=[];ba=0;if(c.isArray(A)){for(var S=0,pa=A.length;S<pa;S++)if(typeof A[S]=="object")c(A[S]).data("fancybox",c.extend({},G,A[S]));else A[S]=c({}).data("fancybox",c.extend({content:A[S]},G));ja=jQuery.merge(ja,A)}else{if(typeof A=="object")c(A).data("fancybox",c.extend({},G,A));else A=
c({}).data("fancybox",c.extend({content:A},G));ja.push(A)}b()}};c.fancybox.showActivity=function(){clearInterval(Ja);x.show();Ja=setInterval(P,66)};c.fancybox.prev=function(){return c.fancybox.pos(da-1)};c.fancybox.next=function(){return c.fancybox.pos(da+1)};c.fancybox.pos=function(A){if(!ea){A=parseInt(A);if(A>-1&&ga.length>A){ba=A;b()}if(K.cyclic&&ga.length>1&&A<0){ba=ga.length-1;b()}if(K.cyclic&&ga.length>1&&A>=ga.length){ba=0;b()}}};c.fancybox.cancel=function(){if(!ea){ea=true;c.event.trigger("fancybox-cancel");
f();Q&&c.isFunction(Q.onCancel)&&Q.onCancel(ja,ba,Q);ea=false}};c.fancybox.close=function(){function A(){E.fadeOut("fast");R.hide();c.event.trigger("fancybox-cleanup");Y.empty();Y.removeAttr("filter");R.removeAttr("filter").css("opacity","");c.isFunction(K.onClosed)&&K.onClosed(ga,da,K);ga=Q=[];da=selecteIndex=0;K=Q={};ea=false}if(!(ea||R.is(":hidden"))){ea=true;if(K&&c.isFunction(K.onCleanup))if(K.onCleanup(ga,da,K)===false){ea=false;return}f();c(ka.add(ma).add(fa)).hide();c("#fancybox-title").remove();
R.add(Y).add(E).unbind();c(window).unbind("resize.fb scroll.fb");c(document).unbind("keydown.fb");Y.css("overflow","hidden");if(K.transitionOut=="elastic"){ha=y();var G=R.position();la={top:G.top,left:G.left,width:R.width(),height:R.height()};if(K.opacity)la.opacity=1;Ba.prop=1;c(Ba).animate({prop:0},{duration:K.speedOut,easing:K.easingOut,step:m,complete:A})}else R.fadeOut(K.transitionOut=="none"?0:K.speedOut,A)}};c.fancybox.resize=function(){if(!(ea||R.is(":hidden"))){ea=true;var A=Y.wrapInner("<div style='overflow:auto'></div>").children(),
G=A.height();R.css({height:G+K.padding*2+ya});Y.css({height:G});A.replaceWith(A.children());c.fancybox.center()}};c.fancybox.center=function(){ea=true;var A=U(),G=K.margin,S={width:R.width(),height:R.height()};S.top=A[3]+(A[1]-(S.height+ua*2))*0.5;S.left=A[2]+(A[0]-(S.width+ua*2))*0.5;S.top=S.top<A[3]+G?A[3]+G:S.top;S.left=S.left<A[2]+G?A[2]+G:S.left;c(R).css(S);ea=false};c.fn.fancybox.defaults={padding:10,margin:20,opacity:false,modal:false,cyclic:false,frameWidth:560,frameHeight:340,autoScale:true,
autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:false,overlayOpacity:0.3,overlayColor:"#666",titleShow:true,titlePosition:"outside",titleFormat:null,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,onStart:null,onCancel:null,onComplete:null,onCleanup:null,onClosed:null};
c(document).ready(function(){h()})})(jQuery);
(function(c){c.fn.hoverIntent=function(f,b){var d={sensitivity:7,interval:100,timeout:0};d=c.extend(d,b?{over:f,out:b}:f);var i,j,m,s,t=function(H){i=H.pageX;j=H.pageY},y=function(H,P){P.hoverIntent_t=clearTimeout(P.hoverIntent_t);if(Math.abs(m-i)+Math.abs(s-j)<d.sensitivity){c(P).unbind("mousemove",t);P.hoverIntent_s=1;return d.over.apply(P,[H])}else{m=i;s=j;P.hoverIntent_t=setTimeout(function(){y(H,P)},d.interval)}},B=function(H,P){P.hoverIntent_t=clearTimeout(P.hoverIntent_t);P.hoverIntent_s=0;
return d.out.apply(P,[H])};f=function(H){for(var P=(H.type=="mouseover"?H.fromElement:H.toElement)||H.relatedTarget;P&&P!=this;)try{P=P.parentNode}catch(U){P=this}if(P==this)return false;var r=jQuery.extend({},H),u=this;if(u.hoverIntent_t)u.hoverIntent_t=clearTimeout(u.hoverIntent_t);if(H.type=="mouseover"){m=r.pageX;s=r.pageY;c(u).bind("mousemove",t);if(u.hoverIntent_s!=1)u.hoverIntent_t=setTimeout(function(){y(r,u)},d.interval)}else{c(u).unbind("mousemove",t);if(u.hoverIntent_s==1)u.hoverIntent_t=
setTimeout(function(){B(r,u)},d.timeout)}};return this.mouseover(f).mouseout(f)}})(jQuery);
(function(c){c.fn.superfish=function(b){var d=c.fn.superfish,i=d.c,j=c(['<span class="',i.arrowClass,'"> &#187;</span>'].join("")),m=function(){var B=c(this),H=t(B);clearTimeout(H.sfTimer);B.showSuperfishUl().siblings().hideSuperfishUl()},s=function(){var B=c(this),H=t(B),P=d.op;clearTimeout(H.sfTimer);H.sfTimer=setTimeout(function(){P.retainPath=c.inArray(B[0],P.$path)>-1;B.hideSuperfishUl();P.$path.length&&B.parents(["li.",P.hoverClass].join("")).length<1&&m.call(P.$path)},P.delay)},t=function(B){B=
B.parents(["ul.",i.menuClass,":first"].join(""))[0];d.op=d.o[B.serial];return B},y=function(B){B.addClass(i.anchorClass).append(j.clone())};return this.each(function(){var B=this.serial=d.o.length,H=c.extend({},d.defaults,b);H.$path=c("li."+H.pathClass,this).slice(0,H.pathLevels).each(function(){c(this).addClass([H.hoverClass,i.bcClass].join(" ")).filter("li:has(ul)").removeClass(H.pathClass)});d.o[B]=d.op=H;c("li:has(ul)",this)[c.fn.hoverIntent&&!H.disableHI?"hoverIntent":"hover"](m,s).each(function(){H.autoArrows&&
y(c(">a:first-child",this))}).not("."+i.bcClass).hideSuperfishUl();var P=c("a",this);P.each(function(U){var r=P.eq(U).parents("li");P.eq(U).focus(function(){m.call(r)}).blur(function(){s.call(r)})});H.onInit.call(this)}).each(function(){var B=[i.menuClass];d.op.dropShadows&&!(c.browser.msie&&c.browser.version<7)&&B.push(i.shadowClass);c(this).addClass(B.join(" "))})};var f=c.fn.superfish;f.o=[];f.op={};f.IE7fix=function(){var b=f.op;c.browser.msie&&c.browser.version>6&&b.dropShadows&&b.animation.opacity!=
undefined&&this.toggleClass(f.c.shadowClass+"-off")};f.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"sf-sub-indicator",shadowClass:"sf-shadow"};f.defaults={hoverClass:"sfHover",pathClass:"overideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},speed:"normal",autoArrows:true,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};c.fn.extend({hideSuperfishUl:function(){var b=f.op,
d=b.retainPath===true?b.$path:"";b.retainPath=false;d=c(["li.",b.hoverClass].join(""),this).add(this).not(d).removeClass(b.hoverClass).find(">ul").hide().css("visibility","hidden");b.onHide.call(d);return this},showSuperfishUl:function(){var b=f.op,d=this.addClass(b.hoverClass).find(">ul:hidden").css("visibility","visible");f.IE7fix.call(d);b.onBeforeShow.call(d);d.animate(b.animation,b.speed,function(){f.IE7fix.call(d);b.onShow.call(d)});return this}})})(jQuery);
(function(c){c.fn.supersubs=function(f){var b=c.extend({},c.fn.supersubs.defaults,f);return this.each(function(){var d=c(this),i=c.meta?c.extend({},b,d.data()):b,j=c('<li id="menu-fontsize">&#8212;</li>').css({padding:0,position:"absolute",top:"-999em",width:"auto"}).appendTo(d).width();c("#menu-fontsize").remove();$ULs=d.find("ul");$ULs.each(function(m){m=$ULs.eq(m);var s=m.children(),t=s.children("a"),y=s.css("white-space","nowrap").css("float"),B=m.add(s).add(t).css({"float":"none",width:"auto"}).end().end()[0].clientWidth/
j;B+=i.extraWidth;if(B>i.maxWidth)B=i.maxWidth;else if(B<i.minWidth)B=i.minWidth;B+="em";m.css("width",B);s.css({"float":y,width:"100%","white-space":"normal"}).each(function(){var H=c(">ul",this),P=H.css("left")!==undefined?"left":"right";H.css(P,B)})})})};c.fn.supersubs.defaults={minWidth:9,maxWidth:25,extraWidth:0}})(jQuery);
