(function(e,s){function o(){if(!b.isReady){try{v.documentElement.doScroll("left")}catch(a){setTimeout(o,1);return}b.ready()}}function m(a,c){c.src?b.ajax({url:c.src,async:false,dataType:"script"}):b.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&&c.parentNode.removeChild(c)}function f(a,c,d,h,g,y){var x=a.length;if(typeof c==="object"){for(var H in c)f(a,H,c[H],h,g,d);return a}if(d!==s){h=!y&&h&&b.isFunction(d);for(H=0;H<x;H++)g(a[H],c,h?d.call(a[H],H,g(a[H],c)):d,y);return a}return x?
g(a[0],c):s}function k(){return(new Date).getTime()}function j(){return false}function p(){return true}function A(a,c,d){d[0].type=a;return b.event.handle.apply(c,d)}function C(a){var c,d=[],h=[],g=arguments,y,x,H,D,G,Q;x=b.data(this,"events");if(!(a.liveFired===this||!x||!x.live||a.button&&a.type==="click")){a.liveFired=this;var T=x.live.slice(0);for(D=0;D<T.length;D++){x=T[D];x.origType.replace(ta,"")===a.type?h.push(x.selector):T.splice(D--,1)}y=b(a.target).closest(h,a.currentTarget);G=0;for(Q=
y.length;G<Q;G++)for(D=0;D<T.length;D++){x=T[D];if(y[G].selector===x.selector){H=y[G].elem;h=null;if(x.preType==="mouseenter"||x.preType==="mouseleave")h=b(a.relatedTarget).closest(x.selector)[0];if(!h||h!==H)d.push({elem:H,handleObj:x})}}G=0;for(Q=d.length;G<Q;G++){y=d[G];a.currentTarget=y.elem;a.data=y.handleObj.data;a.handleObj=y.handleObj;if(y.handleObj.origHandler.apply(y.elem,g)===false){c=false;break}}return c}}function n(a,c){return"live."+(a&&a!=="*"?a+".":"")+c.replace(/\./g,"`").replace(/ /g,
"&")}function r(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function B(a,c){var d=0;c.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var h=b.data(a[d++]),g=b.data(this,h);if(h=h&&h.events){delete g.handle;g.events={};for(var y in h)for(var x in h[y])b.event.add(this,y,h[y][x],h[y][x].data)}}})}function J(a,c,d){var h,g,y;c=c&&c[0]?c[0].ownerDocument||c[0]:v;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&c===v&&!Ka.test(a[0])&&(b.support.checkClone||!La.test(a[0]))){g=
true;if(y=b.fragments[a[0]])if(y!==1)h=y}if(!h){h=c.createDocumentFragment();b.clean(a,c,h,d)}if(g)b.fragments[a[0]]=y?h:1;return{fragment:h,cacheable:g}}function q(a,c){var d={};b.each(Ma.concat.apply([],Ma.slice(0,c)),function(){d[this]=a});return d}function w(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var b=function(a,c){return new b.fn.init(a,c)},I=e.jQuery,z=e.$,v=e.document,V,M=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,P=/^.[^:#\[\.,]*$/,U=/\S/,K=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,
Z=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,ca=navigator.userAgent,ga=false,ha=[],la,na=Object.prototype.toString,R=Object.prototype.hasOwnProperty,X=Array.prototype.push,O=Array.prototype.slice,ba=Array.prototype.indexOf;b.fn=b.prototype={init:function(a,c){var d,h;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!c){this.context=v;this[0]=v.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=M.exec(a))&&(d[1]||!c))if(d[1]){h=c?c.ownerDocument||
c:v;if(a=Z.exec(a))if(b.isPlainObject(c)){a=[v.createElement(a[1])];b.fn.attr.call(a,c,true)}else a=[h.createElement(a[1])];else{a=J([d[1]],[h]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return b.merge(this,a)}else{if(c=v.getElementById(d[2])){if(c.id!==d[2])return V.find(a);this.length=1;this[0]=c}this.context=v;this.selector=a;return this}else if(!c&&/^\w+$/.test(a)){this.selector=a;this.context=v;a=v.getElementsByTagName(a);return b.merge(this,a)}else return!c||c.jquery?
(c||V).find(a):b(c).find(a);else if(b.isFunction(a))return V.ready(a);if(a.selector!==s){this.selector=a.selector;this.context=a.context}return b.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return O.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,c,d){var h=b();b.isArray(a)?X.apply(h,a):b.merge(h,a);h.prevObject=this;h.context=this.context;if(c==="find")h.selector=this.selector+
(this.selector?" ":"")+d;else if(c)h.selector=this.selector+"."+c+"("+d+")";return h},each:function(a,c){return b.each(this,a,c)},ready:function(a){b.bindReady();if(b.isReady)a.call(v,b);else ha&&ha.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(O.apply(this,arguments),"slice",O.call(arguments).join(","))},map:function(a){return this.pushStack(b.map(this,
function(c,d){return a.call(c,d,c)}))},end:function(){return this.prevObject||b(null)},push:X,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var a=arguments[0]||{},c=1,d=arguments.length,h=false,g,y,x,H;if(typeof a==="boolean"){h=a;a=arguments[1]||{};c=2}if(typeof a!=="object"&&!b.isFunction(a))a={};if(d===c){a=this;--c}for(;c<d;c++)if((g=arguments[c])!=null)for(y in g){x=a[y];H=g[y];if(a!==H)if(h&&H&&(b.isPlainObject(H)||b.isArray(H))){x=x&&(b.isPlainObject(x)||
b.isArray(x))?x:b.isArray(H)?[]:{};a[y]=b.extend(h,x,H)}else if(H!==s)a[y]=H}return a};b.extend({noConflict:function(a){e.$=z;if(a)e.jQuery=I;return b},isReady:false,ready:function(){if(!b.isReady){if(!v.body)return setTimeout(b.ready,13);b.isReady=true;if(ha){for(var a,c=0;a=ha[c++];)a.call(v,b);ha=null}b.fn.triggerHandler&&b(v).triggerHandler("ready")}},bindReady:function(){if(!ga){ga=true;if(v.readyState==="complete")return b.ready();if(v.addEventListener){v.addEventListener("DOMContentLoaded",
la,false);e.addEventListener("load",b.ready,false)}else if(v.attachEvent){v.attachEvent("onreadystatechange",la);e.attachEvent("onload",b.ready);var a=false;try{a=e.frameElement==null}catch(c){}v.documentElement.doScroll&&a&&o()}}},isFunction:function(a){return na.call(a)==="[object Function]"},isArray:function(a){return na.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||na.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!R.call(a,"constructor")&&
!R.call(a.constructor.prototype,"isPrototypeOf"))return false;var c;for(c in a);return c===s||R.call(a,c)},isEmptyObject:function(a){for(var c in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=b.trim(a);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,"")))return e.JSON&&e.JSON.parse?e.JSON.parse(a):
(new Function("return "+a))();else b.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&U.test(a)){var c=v.getElementsByTagName("head")[0]||v.documentElement,d=v.createElement("script");d.type="text/javascript";if(b.support.scriptEval)d.appendChild(v.createTextNode(a));else d.text=a;c.insertBefore(d,c.firstChild);c.removeChild(d)}},nodeName:function(a,c){return a.nodeName&&a.nodeName.toUpperCase()===c.toUpperCase()},each:function(a,c,d){var h,g=0,y=a.length,x=y===s||b.isFunction(a);
if(d)if(x)for(h in a){if(c.apply(a[h],d)===false)break}else for(;g<y;){if(c.apply(a[g++],d)===false)break}else if(x)for(h in a){if(c.call(a[h],h,a[h])===false)break}else for(d=a[0];g<y&&c.call(d,g,d)!==false;d=a[++g]);return a},trim:function(a){return(a||"").replace(K,"")},makeArray:function(a,c){c=c||[];if(a!=null)a.length==null||typeof a==="string"||b.isFunction(a)||typeof a!=="function"&&a.setInterval?X.call(c,a):b.merge(c,a);return c},inArray:function(a,c){if(c.indexOf)return c.indexOf(a);for(var d=
0,h=c.length;d<h;d++)if(c[d]===a)return d;return-1},merge:function(a,c){var d=a.length,h=0;if(typeof c.length==="number")for(var g=c.length;h<g;h++)a[d++]=c[h];else for(;c[h]!==s;)a[d++]=c[h++];a.length=d;return a},grep:function(a,c,d){for(var h=[],g=0,y=a.length;g<y;g++)!d!==!c(a[g],g)&&h.push(a[g]);return h},map:function(a,c,d){for(var h=[],g,y=0,x=a.length;y<x;y++){g=c(a[y],y,d);if(g!=null)h[h.length]=g}return h.concat.apply([],h)},guid:1,proxy:function(a,c,d){if(arguments.length===2)if(typeof c===
"string"){d=a;a=d[c];c=s}else if(c&&!b.isFunction(c)){d=c;c=s}if(!c&&a)c=function(){return a.apply(d||this,arguments)};if(a)c.guid=a.guid=a.guid||c.guid||b.guid++;return c},uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});ca=b.uaMatch(ca);if(ca.browser){b.browser[ca.browser]=true;
b.browser.version=ca.version}if(b.browser.webkit)b.browser.safari=true;if(ba)b.inArray=function(a,c){return ba.call(c,a)};V=b(v);if(v.addEventListener)la=function(){v.removeEventListener("DOMContentLoaded",la,false);b.ready()};else if(v.attachEvent)la=function(){if(v.readyState==="complete"){v.detachEvent("onreadystatechange",la);b.ready()}};(function(){b.support={};var a=v.documentElement,c=v.createElement("script"),d=v.createElement("div"),h="script"+k();d.style.display="none";d.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
var g=d.getElementsByTagName("*"),y=d.getElementsByTagName("a")[0];if(!(!g||!g.length||!y)){b.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(y.getAttribute("style")),hrefNormalized:y.getAttribute("href")==="/a",opacity:/^0.55$/.test(y.style.opacity),cssFloat:!!y.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:v.createElement("select").appendChild(v.createElement("option")).selected,
parentNode:d.removeChild(d.appendChild(v.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};c.type="text/javascript";try{c.appendChild(v.createTextNode("window."+h+"=1;"))}catch(x){}a.insertBefore(c,a.firstChild);if(e[h]){b.support.scriptEval=true;delete e[h]}try{delete c.test}catch(H){b.support.deleteExpando=false}a.removeChild(c);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function D(){b.support.noCloneEvent=
false;d.detachEvent("onclick",D)});d.cloneNode(true).fireEvent("onclick")}d=v.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=v.createDocumentFragment();a.appendChild(d.firstChild);b.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;b(function(){var D=v.createElement("div");D.style.width=D.style.paddingLeft="1px";v.body.appendChild(D);b.boxModel=b.support.boxModel=D.offsetWidth===2;v.body.removeChild(D).style.display="none"});a=function(D){var G=
v.createElement("div");D="on"+D;var Q=D in G;if(!Q){G.setAttribute(D,"return;");Q=typeof G[D]==="function"}return Q};b.support.submitBubbles=a("submit");b.support.changeBubbles=a("change");a=c=d=g=y=null}})();b.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var fa="jQuery"+k(),oa=0,xa={};b.extend({cache:{},expando:fa,noData:{embed:true,
object:true,applet:true},data:function(a,c,d){if(!(a.nodeName&&b.noData[a.nodeName.toLowerCase()])){a=a==e?xa:a;var h=a[fa],g=b.cache;if(!h&&typeof c==="string"&&d===s)return null;h||(h=++oa);if(typeof c==="object"){a[fa]=h;g[h]=b.extend(true,{},c)}else if(!g[h]){a[fa]=h;g[h]={}}a=g[h];if(d!==s)a[c]=d;return typeof c==="string"?a[c]:a}},removeData:function(a,c){if(!(a.nodeName&&b.noData[a.nodeName.toLowerCase()])){a=a==e?xa:a;var d=a[fa],h=b.cache,g=h[d];if(c){if(g){delete g[c];b.isEmptyObject(g)&&
b.removeData(a)}}else{if(b.support.deleteExpando)delete a[b.expando];else a.removeAttribute&&a.removeAttribute(b.expando);delete h[d]}}}});b.fn.extend({data:function(a,c){if(typeof a==="undefined"&&this.length)return b.data(this[0]);else if(typeof a==="object")return this.each(function(){b.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(c===s){var h=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(h===s&&this.length)h=b.data(this[0],a);return h===s&&d[1]?this.data(d[0]):h}else return this.trigger("setData"+
d[1]+"!",[d[0],c]).each(function(){b.data(this,a,c)})},removeData:function(a){return this.each(function(){b.removeData(this,a)})}});b.extend({queue:function(a,c,d){if(a){c=(c||"fx")+"queue";var h=b.data(a,c);if(!d)return h||[];if(!h||b.isArray(d))h=b.data(a,c,b.makeArray(d));else h.push(d);return h}},dequeue:function(a,c){c=c||"fx";var d=b.queue(a,c),h=d.shift();if(h==="inprogress")h=d.shift();if(h){c==="fx"&&d.unshift("inprogress");h.call(a,function(){b.dequeue(a,c)})}}});b.fn.extend({queue:function(a,
c){if(typeof a!=="string"){c=a;a="fx"}if(c===s)return b.queue(this[0],a);return this.each(function(){var d=b.queue(this,a,c);a==="fx"&&d[0]!=="inprogress"&&b.dequeue(this,a)})},dequeue:function(a){return this.each(function(){b.dequeue(this,a)})},delay:function(a,c){a=b.fx?b.fx.speeds[a]||a:a;c=c||"fx";return this.queue(c,function(){var d=this;setTimeout(function(){b.dequeue(d,c)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var ma=/[\n\t]/g,ua=/\s+/,va=/\r/g,bb=/href|src|style/,cb=
/(button|input)/i,db=/(button|input|object|select|textarea)/i,eb=/^(a|area)$/i,Na=/radio|checkbox/;b.fn.extend({attr:function(a,c){return f(this,a,c,true,b.attr)},removeAttr:function(a){return this.each(function(){b.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(b.isFunction(a))return this.each(function(G){var Q=b(this);Q.addClass(a.call(this,G,Q.attr("class")))});if(a&&typeof a==="string")for(var c=(a||"").split(ua),d=0,h=this.length;d<h;d++){var g=this[d];
if(g.nodeType===1)if(g.className){for(var y=" "+g.className+" ",x=g.className,H=0,D=c.length;H<D;H++)if(y.indexOf(" "+c[H]+" ")<0)x+=" "+c[H];g.className=b.trim(x)}else g.className=a}return this},removeClass:function(a){if(b.isFunction(a))return this.each(function(D){var G=b(this);G.removeClass(a.call(this,D,G.attr("class")))});if(a&&typeof a==="string"||a===s)for(var c=(a||"").split(ua),d=0,h=this.length;d<h;d++){var g=this[d];if(g.nodeType===1&&g.className)if(a){for(var y=(" "+g.className+" ").replace(ma,
" "),x=0,H=c.length;x<H;x++)y=y.replace(" "+c[x]+" "," ");g.className=b.trim(y)}else g.className=""}return this},toggleClass:function(a,c){var d=typeof a,h=typeof c==="boolean";if(b.isFunction(a))return this.each(function(g){var y=b(this);y.toggleClass(a.call(this,g,y.attr("class"),c),c)});return this.each(function(){if(d==="string")for(var g,y=0,x=b(this),H=c,D=a.split(ua);g=D[y++];){H=h?H:!x.hasClass(g);x[H?"addClass":"removeClass"](g)}else if(d==="undefined"||d==="boolean"){this.className&&b.data(this,
"__className__",this.className);this.className=this.className||a===false?"":b.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(ma," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===s){var c=this[0];if(c){if(b.nodeName(c,"option"))return(c.attributes.value||{}).specified?c.value:c.text;if(b.nodeName(c,"select")){var d=c.selectedIndex,h=[],g=c.options;c=c.type==="select-one";if(d<0)return null;
var y=c?d:0;for(d=c?d+1:g.length;y<d;y++){var x=g[y];if(x.selected){a=b(x).val();if(c)return a;h.push(a)}}return h}if(Na.test(c.type)&&!b.support.checkOn)return c.getAttribute("value")===null?"on":c.value;return(c.value||"").replace(va,"")}return s}var H=b.isFunction(a);return this.each(function(D){var G=b(this),Q=a;if(this.nodeType===1){if(H)Q=a.call(this,D,G.val());if(typeof Q==="number")Q+="";if(b.isArray(Q)&&Na.test(this.type))this.checked=b.inArray(G.val(),Q)>=0;else if(b.nodeName(this,"select")){var T=
b.makeArray(Q);b("option",this).each(function(){this.selected=b.inArray(b(this).val(),T)>=0});if(!T.length)this.selectedIndex=-1}else this.value=Q}})}});b.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,c,d,h){if(!a||a.nodeType===3||a.nodeType===8)return s;if(h&&c in b.attrFn)return b(a)[c](d);h=a.nodeType!==1||!b.isXMLDoc(a);var g=d!==s;c=h&&b.props[c]||c;if(a.nodeType===1){var y=bb.test(c);if(c in a&&h&&!y){if(g){c==="type"&&cb.test(a.nodeName)&&
a.parentNode&&b.error("type property can't be changed");a[c]=d}if(b.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c==="tabIndex")return(c=a.getAttributeNode("tabIndex"))&&c.specified?c.value:db.test(a.nodeName)||eb.test(a.nodeName)&&a.href?0:s;return a[c]}if(!b.support.style&&h&&c==="style"){if(g)a.style.cssText=""+d;return a.style.cssText}g&&a.setAttribute(c,""+d);a=!b.support.hrefNormalized&&h&&y?a.getAttribute(c,2):a.getAttribute(c);return a===null?s:a}return b.style(a,
c,d)}});var ta=/\.(.*)$/,fb=function(a){return a.replace(/[^\w\s\.\|`]/g,function(c){return"\\"+c})};b.event={add:function(a,c,d,h){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==e&&!a.frameElement)a=e;var g,y;if(d.handler){g=d;d=g.handler}if(!d.guid)d.guid=b.guid++;if(y=b.data(a)){var x=y.events=y.events||{},H=y.handle;if(!H)y.handle=H=function(){return typeof b!=="undefined"&&!b.event.triggered?b.event.handle.apply(H.elem,arguments):s};H.elem=a;c=c.split(" ");for(var D,G=0,Q;D=c[G++];){y=
g?b.extend({},g):{handler:d,data:h};if(D.indexOf(".")>-1){Q=D.split(".");D=Q.shift();y.namespace=Q.slice(0).sort().join(".")}else{Q=[];y.namespace=""}y.type=D;y.guid=d.guid;var T=x[D],aa=b.event.special[D]||{};if(!T){T=x[D]=[];if(!aa.setup||aa.setup.call(a,h,Q,H)===false)if(a.addEventListener)a.addEventListener(D,H,false);else a.attachEvent&&a.attachEvent("on"+D,H)}if(aa.add){aa.add.call(a,y);if(!y.handler.guid)y.handler.guid=d.guid}T.push(y);b.event.global[D]=true}a=null}}},global:{},remove:function(a,
c,d,h){if(!(a.nodeType===3||a.nodeType===8)){var g,y=0,x,H,D,G,Q,T,aa=b.data(a),ea=aa&&aa.events;if(aa&&ea){if(c&&c.type){d=c.handler;c=c.type}if(!c||typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(g in ea)b.event.remove(a,g+c)}else{for(c=c.split(" ");g=c[y++];){G=g;x=g.indexOf(".")<0;H=[];if(!x){H=g.split(".");g=H.shift();D=new RegExp("(^|\\.)"+b.map(H.slice(0).sort(),fb).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(Q=ea[g])if(d){G=b.event.special[g]||{};for(da=h||0;da<Q.length;da++){T=Q[da];if(d.guid===
T.guid){if(x||D.test(T.namespace)){h==null&&Q.splice(da--,1);G.remove&&G.remove.call(a,T)}if(h!=null)break}}if(Q.length===0||h!=null&&Q.length===1){if(!G.teardown||G.teardown.call(a,H)===false)Oa(a,g,aa.handle);delete ea[g]}}else for(var da=0;da<Q.length;da++){T=Q[da];if(x||D.test(T.namespace)){b.event.remove(a,G,T.handler,da);Q.splice(da--,1)}}}if(b.isEmptyObject(ea)){if(c=aa.handle)c.elem=null;delete aa.events;delete aa.handle;b.isEmptyObject(aa)&&b.removeData(a)}}}}},trigger:function(a,c,d,h){var g=
a.type||a;if(!h){a=typeof a==="object"?a[fa]?a:b.extend(b.Event(g),a):b.Event(g);if(g.indexOf("!")>=0){a.type=g=g.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();b.event.global[g]&&b.each(b.cache,function(){this.events&&this.events[g]&&b.event.trigger(a,c,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return s;a.result=s;a.target=d;c=b.makeArray(c);c.unshift(a)}a.currentTarget=d;(h=b.data(d,"handle"))&&h.apply(d,c);h=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&b.noData[d.nodeName.toLowerCase()]))if(d["on"+
g]&&d["on"+g].apply(d,c)===false)a.result=false}catch(y){}if(!a.isPropagationStopped()&&h)b.event.trigger(a,c,h,true);else if(!a.isDefaultPrevented()){h=a.target;var x,H=b.nodeName(h,"a")&&g==="click",D=b.event.special[g]||{};if((!D._default||D._default.call(d,a)===false)&&!H&&!(h&&h.nodeName&&b.noData[h.nodeName.toLowerCase()])){try{if(h[g]){if(x=h["on"+g])h["on"+g]=null;b.event.triggered=true;h[g]()}}catch(G){}if(x)h["on"+g]=x;b.event.triggered=false}}},handle:function(a){var c,d,h,g;a=arguments[0]=
b.event.fix(a||e.event);a.currentTarget=this;c=a.type.indexOf(".")<0&&!a.exclusive;if(!c){d=a.type.split(".");a.type=d.shift();h=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}g=b.data(this,"events");d=g[a.type];if(g&&d){d=d.slice(0);g=0;for(var y=d.length;g<y;g++){var x=d[g];if(c||h.test(x.namespace)){a.handler=x.handler;a.data=x.data;a.handleObj=x;x=x.handler.apply(this,arguments);if(x!==s){a.result=x;if(x===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[fa])return a;var c=a;a=b.Event(c);for(var d=this.props.length,h;d;){h=this.props[--d];a[h]=c[h]}if(!a.target)a.target=a.srcElement||
v;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){c=v.documentElement;d=v.body;a.pageX=a.clientX+(c&&c.scrollLeft||d&&d.scrollLeft||0)-(c&&c.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(c&&c.scrollTop||d&&d.scrollTop||0)-(c&&c.clientTop||d&&d.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!==s)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:b.proxy,special:{ready:{setup:b.bindReady,teardown:b.noop},live:{add:function(a){b.event.add(this,a.origType,b.extend({},a,{handler:C}))},remove:function(a){var c=true,d=a.origType.replace(ta,"");b.each(b.data(this,"events").live||[],function(){if(d===this.origType.replace(ta,""))return c=false});c&&b.event.remove(this,a.origType,C)}},beforeunload:{setup:function(a,c,d){if(this.setInterval)this.onbeforeunload=
d;return false},teardown:function(a,c){if(this.onbeforeunload===c)this.onbeforeunload=null}}}};var Oa=v.removeEventListener?function(a,c,d){a.removeEventListener(c,d,false)}:function(a,c,d){a.detachEvent("on"+c,d)};b.Event=function(a){if(!this.preventDefault)return new b.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=k();this[fa]=true};b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=p;var a=this.originalEvent;if(a){a.preventDefault&&
a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=p;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=p;this.stopPropagation()},isDefaultPrevented:j,isPropagationStopped:j,isImmediatePropagationStopped:j};var Pa=function(a){var c=a.relatedTarget;try{for(;c&&c!==this;)c=c.parentNode;if(c!==this){a.type=a.data;b.event.handle.apply(this,arguments)}}catch(d){}},
Qa=function(a){a.type=a.data;b.event.handle.apply(this,arguments)};b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,c){b.event.special[a]={setup:function(d){b.event.add(this,c,d&&d.selector?Qa:Pa,a)},teardown:function(d){b.event.remove(this,c,d&&d.selector?Qa:Pa)}}});if(!b.support.submitBubbles)b.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){b.event.add(this,"click.specialSubmit",function(a){var c=a.target,d=c.type;if((d==="submit"||d==="image")&&
b(c).closest("form").length)return A("submit",this,arguments)});b.event.add(this,"keypress.specialSubmit",function(a){var c=a.target,d=c.type;if((d==="text"||d==="password")&&b(c).closest("form").length&&a.keyCode===13)return A("submit",this,arguments)})}else return false},teardown:function(){b.event.remove(this,".specialSubmit")}};if(!b.support.changeBubbles){var Ba=/textarea|input|select/i,Ca,Ra=function(a){var c=a.type,d=a.value;if(c==="radio"||c==="checkbox")d=a.checked;else if(c==="select-multiple")d=
a.selectedIndex>-1?b.map(a.options,function(h){return h.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Da=function(a,c){var d=a.target,h,g;if(!(!Ba.test(d.nodeName)||d.readOnly)){h=b.data(d,"_change_data");g=Ra(d);if(a.type!=="focusout"||d.type!=="radio")b.data(d,"_change_data",g);if(!(h===s||g===h))if(h!=null||g){a.type="change";return b.event.trigger(a,c,d)}}};b.event.special.change={filters:{focusout:Da,click:function(a){var c=a.target,d=c.type;
if(d==="radio"||d==="checkbox"||c.nodeName.toLowerCase()==="select")return Da.call(this,a)},keydown:function(a){var c=a.target,d=c.type;if(a.keyCode===13&&c.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return Da.call(this,a)},beforeactivate:function(a){a=a.target;b.data(a,"_change_data",Ra(a))}},setup:function(){if(this.type==="file")return false;for(var a in Ca)b.event.add(this,a+".specialChange",Ca[a]);return Ba.test(this.nodeName)},teardown:function(){b.event.remove(this,
".specialChange");return Ba.test(this.nodeName)}};Ca=b.event.special.change.filters}v.addEventListener&&b.each({focus:"focusin",blur:"focusout"},function(a,c){function d(h){h=b.event.fix(h);h.type=c;return b.event.handle.call(this,h)}b.event.special[c]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});b.each(["bind","one"],function(a,c){b.fn[c]=function(d,h,g){if(typeof d==="object"){for(var y in d)this[c](y,h,d[y],g);return this}if(b.isFunction(h)){g=
h;h=s}var x=c==="one"?b.proxy(g,function(D){b(this).unbind(D,x);return g.apply(this,arguments)}):g;if(d==="unload"&&c!=="one")this.one(d,h,g);else{y=0;for(var H=this.length;y<H;y++)b.event.add(this[y],d,x,h)}return this}});b.fn.extend({unbind:function(a,c){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var h=this.length;d<h;d++)b.event.remove(this[d],a,c)}return this},delegate:function(a,c,d,h){return this.live(c,d,h,a)},undelegate:function(a,c,d){return arguments.length===
0?this.unbind("live"):this.die(c,null,d,a)},trigger:function(a,c){return this.each(function(){b.event.trigger(a,c,this)})},triggerHandler:function(a,c){if(this[0]){a=b.Event(a);a.preventDefault();a.stopPropagation();b.event.trigger(a,c,this[0]);return a.result}},toggle:function(a){for(var c=arguments,d=1;d<c.length;)b.proxy(a,c[d++]);return this.click(b.proxy(a,function(h){var g=(b.data(this,"lastToggle"+a.guid)||0)%d;b.data(this,"lastToggle"+a.guid,g+1);h.preventDefault();return c[g].apply(this,
arguments)||false}))},hover:function(a,c){return this.mouseenter(a).mouseleave(c||a)}});var Sa={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};b.each(["live","die"],function(a,c){b.fn[c]=function(d,h,g,y){var x,H=0,D,G,Q=y||this.selector,T=y?this:b(this.context);if(b.isFunction(h)){g=h;h=s}for(d=(d||"").split(" ");(x=d[H++])!=null;){y=ta.exec(x);D="";if(y){D=y[0];x=x.replace(ta,"")}if(x==="hover")d.push("mouseenter"+D,"mouseleave"+D);else{G=x;if(x==="focus"||x==="blur"){d.push(Sa[x]+
D);x+=D}else x=(Sa[x]||x)+D;c==="live"?T.each(function(){b.event.add(this,n(x,Q),{data:h,selector:Q,handler:g,origType:x,origHandler:g,preType:G})}):T.unbind(n(x,Q),g)}}return this}});b.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,c){b.fn[c]=function(d){return d?this.bind(c,d):this.trigger(c)};if(b.attrFn)b.attrFn[c]=true});e.attachEvent&&
!e.addEventListener&&e.attachEvent("onunload",function(){for(var a in b.cache)if(b.cache[a].handle)try{b.event.remove(b.cache[a].handle.elem)}catch(c){}});(function(){function a(l){for(var u="",E,F=0;l[F];F++){E=l[F];if(E.nodeType===3||E.nodeType===4)u+=E.nodeValue;else if(E.nodeType!==8)u+=a(E.childNodes)}return u}function c(l,u,E,F,N,L){N=0;for(var W=F.length;N<W;N++){var S=F[N];if(S){S=S[l];for(var $=false;S;){if(S.sizcache===E){$=F[S.sizset];break}if(S.nodeType===1&&!L){S.sizcache=E;S.sizset=
N}if(S.nodeName.toLowerCase()===u){$=S;break}S=S[l]}F[N]=$}}}function d(l,u,E,F,N,L){N=0;for(var W=F.length;N<W;N++){var S=F[N];if(S){S=S[l];for(var $=false;S;){if(S.sizcache===E){$=F[S.sizset];break}if(S.nodeType===1){if(!L){S.sizcache=E;S.sizset=N}if(typeof u!=="string"){if(S===u){$=true;break}}else if(D.filter(u,[S]).length>0){$=S;break}}S=S[l]}F[N]=$}}}var h=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,g=0,
y=Object.prototype.toString,x=false,H=true;[0,0].sort(function(){H=false;return 0});var D=function(l,u,E,F){E=E||[];var N=u=u||v;if(u.nodeType!==1&&u.nodeType!==9)return[];if(!l||typeof l!=="string")return E;for(var L=[],W,S,$,wa,pa=true,ra=Y(u),qa=l;(h.exec(""),W=h.exec(qa))!==null;){qa=W[3];L.push(W[1]);if(W[2]){wa=W[3];break}}if(L.length>1&&Q.exec(l))if(L.length===2&&G.relative[L[0]])S=Ea(L[0]+L[1],u);else for(S=G.relative[L[0]]?[u]:D(L.shift(),u);L.length;){l=L.shift();if(G.relative[l])l+=L.shift();
S=Ea(l,S)}else{if(!F&&L.length>1&&u.nodeType===9&&!ra&&G.match.ID.test(L[0])&&!G.match.ID.test(L[L.length-1])){W=D.find(L.shift(),u,ra);u=W.expr?D.filter(W.expr,W.set)[0]:W.set[0]}if(u){W=F?{expr:L.pop(),set:aa(F)}:D.find(L.pop(),L.length===1&&(L[0]==="~"||L[0]==="+")&&u.parentNode?u.parentNode:u,ra);S=W.expr?D.filter(W.expr,W.set):W.set;if(L.length>0)$=aa(S);else pa=false;for(;L.length;){var ia=L.pop();W=ia;if(G.relative[ia])W=L.pop();else ia="";if(W==null)W=u;G.relative[ia]($,W,ra)}}else $=[]}$||
($=S);$||D.error(ia||l);if(y.call($)==="[object Array]")if(pa)if(u&&u.nodeType===1)for(l=0;$[l]!=null;l++){if($[l]&&($[l]===true||$[l].nodeType===1&&ja(u,$[l])))E.push(S[l])}else for(l=0;$[l]!=null;l++)$[l]&&$[l].nodeType===1&&E.push(S[l]);else E.push.apply(E,$);else aa($,E);if(wa){D(wa,N,E,F);D.uniqueSort(E)}return E};D.uniqueSort=function(l){if(da){x=H;l.sort(da);if(x)for(var u=1;u<l.length;u++)l[u]===l[u-1]&&l.splice(u--,1)}return l};D.matches=function(l,u){return D(l,null,null,u)};D.find=function(l,
u,E){var F,N;if(!l)return[];for(var L=0,W=G.order.length;L<W;L++){var S=G.order[L];if(N=G.leftMatch[S].exec(l)){var $=N[1];N.splice(1,1);if($.substr($.length-1)!=="\\"){N[1]=(N[1]||"").replace(/\\/g,"");F=G.find[S](N,u,E);if(F!=null){l=l.replace(G.match[S],"");break}}}}F||(F=u.getElementsByTagName("*"));return{set:F,expr:l}};D.filter=function(l,u,E,F){for(var N=l,L=[],W=u,S,$,wa=u&&u[0]&&Y(u[0]);l&&u.length;){for(var pa in G.filter)if((S=G.leftMatch[pa].exec(l))!=null&&S[2]){var ra=G.filter[pa],qa,
ia;ia=S[1];$=false;S.splice(1,1);if(ia.substr(ia.length-1)!=="\\"){if(W===L)L=[];if(G.preFilter[pa])if(S=G.preFilter[pa](S,W,E,L,F,wa)){if(S===true)continue}else $=qa=true;if(S)for(var ya=0;(ia=W[ya])!=null;ya++)if(ia){qa=ra(ia,S,ya,W);var Ta=F^!!qa;if(E&&qa!=null)if(Ta)$=true;else W[ya]=false;else if(Ta){L.push(ia);$=true}}if(qa!==s){E||(W=L);l=l.replace(G.match[pa],"");if(!$)return[];break}}}if(l===N)if($==null)D.error(l);else break;N=l}return W};D.error=function(l){throw"Syntax error, unrecognized expression: "+
l;};var G=D.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(l){return l.getAttribute("href")}},relative:{"+":function(l,u){var E=typeof u==="string",F=E&&!/\W/.test(u);E=E&&!F;if(F)u=u.toLowerCase();F=0;for(var N=l.length,L;F<N;F++)if(L=l[F]){for(;(L=L.previousSibling)&&L.nodeType!==1;);l[F]=E||L&&L.nodeName.toLowerCase()===u?L||false:L===u}E&&D.filter(u,l,true)},">":function(l,u){var E=typeof u==="string";if(E&&!/\W/.test(u)){u=u.toLowerCase();for(var F=0,N=l.length;F<N;F++){var L=
l[F];if(L){E=L.parentNode;l[F]=E.nodeName.toLowerCase()===u?E:false}}}else{F=0;for(N=l.length;F<N;F++)if(L=l[F])l[F]=E?L.parentNode:L.parentNode===u;E&&D.filter(u,l,true)}},"":function(l,u,E){var F=g++,N=d;if(typeof u==="string"&&!/\W/.test(u)){var L=u=u.toLowerCase();N=c}N("parentNode",u,F,l,L,E)},"~":function(l,u,E){var F=g++,N=d;if(typeof u==="string"&&!/\W/.test(u)){var L=u=u.toLowerCase();N=c}N("previousSibling",u,F,l,L,E)}},find:{ID:function(l,u,E){if(typeof u.getElementById!=="undefined"&&
!E)return(l=u.getElementById(l[1]))?[l]:[]},NAME:function(l,u){if(typeof u.getElementsByName!=="undefined"){var E=[];u=u.getElementsByName(l[1]);for(var F=0,N=u.length;F<N;F++)u[F].getAttribute("name")===l[1]&&E.push(u[F]);return E.length===0?null:E}},TAG:function(l,u){return u.getElementsByTagName(l[1])}},preFilter:{CLASS:function(l,u,E,F,N,L){l=" "+l[1].replace(/\\/g,"")+" ";if(L)return l;L=0;for(var W;(W=u[L])!=null;L++)if(W)if(N^(W.className&&(" "+W.className+" ").replace(/[\t\n]/g," ").indexOf(l)>=
0))E||F.push(W);else if(E)u[L]=false;return false},ID:function(l){return l[1].replace(/\\/g,"")},TAG:function(l){return l[1].toLowerCase()},CHILD:function(l){if(l[1]==="nth"){var u=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(l[2]==="even"&&"2n"||l[2]==="odd"&&"2n+1"||!/\D/.test(l[2])&&"0n+"+l[2]||l[2]);l[2]=u[1]+(u[2]||1)-0;l[3]=u[3]-0}l[0]=g++;return l},ATTR:function(l,u,E,F,N,L){u=l[1].replace(/\\/g,"");if(!L&&G.attrMap[u])l[1]=G.attrMap[u];if(l[2]==="~=")l[4]=" "+l[4]+" ";return l},PSEUDO:function(l,u,E,F,
N){if(l[1]==="not")if((h.exec(l[3])||"").length>1||/^\w/.test(l[3]))l[3]=D(l[3],null,null,u);else{l=D.filter(l[3],u,E,true^N);E||F.push.apply(F,l);return false}else if(G.match.POS.test(l[0])||G.match.CHILD.test(l[0]))return true;return l},POS:function(l){l.unshift(true);return l}},filters:{enabled:function(l){return l.disabled===false&&l.type!=="hidden"},disabled:function(l){return l.disabled===true},checked:function(l){return l.checked===true},selected:function(l){return l.selected===true},parent:function(l){return!!l.firstChild},
empty:function(l){return!l.firstChild},has:function(l,u,E){return!!D(E[3],l).length},header:function(l){return/h\d/i.test(l.nodeName)},text:function(l){return"text"===l.type},radio:function(l){return"radio"===l.type},checkbox:function(l){return"checkbox"===l.type},file:function(l){return"file"===l.type},password:function(l){return"password"===l.type},submit:function(l){return"submit"===l.type},image:function(l){return"image"===l.type},reset:function(l){return"reset"===l.type},button:function(l){return"button"===
l.type||l.nodeName.toLowerCase()==="button"},input:function(l){return/input|select|textarea|button/i.test(l.nodeName)}},setFilters:{first:function(l,u){return u===0},last:function(l,u,E,F){return u===F.length-1},even:function(l,u){return u%2===0},odd:function(l,u){return u%2===1},lt:function(l,u,E){return u<E[3]-0},gt:function(l,u,E){return u>E[3]-0},nth:function(l,u,E){return E[3]-0===u},eq:function(l,u,E){return E[3]-0===u}},filter:{PSEUDO:function(l,u,E,F){var N=u[1],L=G.filters[N];if(L)return L(l,
E,u,F);else if(N==="contains")return(l.textContent||l.innerText||a([l])||"").indexOf(u[3])>=0;else if(N==="not"){u=u[3];E=0;for(F=u.length;E<F;E++)if(u[E]===l)return false;return true}else D.error("Syntax error, unrecognized expression: "+N)},CHILD:function(l,u){var E=u[1],F=l;switch(E){case "only":case "first":for(;F=F.previousSibling;)if(F.nodeType===1)return false;if(E==="first")return true;F=l;case "last":for(;F=F.nextSibling;)if(F.nodeType===1)return false;return true;case "nth":E=u[2];var N=
u[3];if(E===1&&N===0)return true;u=u[0];var L=l.parentNode;if(L&&(L.sizcache!==u||!l.nodeIndex)){var W=0;for(F=L.firstChild;F;F=F.nextSibling)if(F.nodeType===1)F.nodeIndex=++W;L.sizcache=u}l=l.nodeIndex-N;return E===0?l===0:l%E===0&&l/E>=0}},ID:function(l,u){return l.nodeType===1&&l.getAttribute("id")===u},TAG:function(l,u){return u==="*"&&l.nodeType===1||l.nodeName.toLowerCase()===u},CLASS:function(l,u){return(" "+(l.className||l.getAttribute("class"))+" ").indexOf(u)>-1},ATTR:function(l,u){var E=
u[1];l=G.attrHandle[E]?G.attrHandle[E](l):l[E]!=null?l[E]:l.getAttribute(E);E=l+"";var F=u[2];u=u[4];return l==null?F==="!=":F==="="?E===u:F==="*="?E.indexOf(u)>=0:F==="~="?(" "+E+" ").indexOf(u)>=0:!u?E&&l!==false:F==="!="?E!==u:F==="^="?E.indexOf(u)===0:F==="$="?E.substr(E.length-u.length)===u:F==="|="?E===u||E.substr(0,u.length+1)===u+"-":false},POS:function(l,u,E,F){var N=G.setFilters[u[2]];if(N)return N(l,E,u,F)}}},Q=G.match.POS;for(var T in G.match){G.match[T]=new RegExp(G.match[T].source+/(?![^\[]*\])(?![^\(]*\))/.source);
G.leftMatch[T]=new RegExp(/(^(?:.|\r|\n)*?)/.source+G.match[T].source.replace(/\\(\d+)/g,function(l,u){return"\\"+(u-0+1)}))}var aa=function(l,u){l=Array.prototype.slice.call(l,0);if(u){u.push.apply(u,l);return u}return l};try{Array.prototype.slice.call(v.documentElement.childNodes,0)}catch(ea){aa=function(l,u){u=u||[];if(y.call(l)==="[object Array]")Array.prototype.push.apply(u,l);else if(typeof l.length==="number")for(var E=0,F=l.length;E<F;E++)u.push(l[E]);else for(E=0;l[E];E++)u.push(l[E]);return u}}var da;
if(v.documentElement.compareDocumentPosition)da=function(l,u){if(!l.compareDocumentPosition||!u.compareDocumentPosition){if(l==u)x=true;return l.compareDocumentPosition?-1:1}l=l.compareDocumentPosition(u)&4?-1:l===u?0:1;if(l===0)x=true;return l};else if("sourceIndex"in v.documentElement)da=function(l,u){if(!l.sourceIndex||!u.sourceIndex){if(l==u)x=true;return l.sourceIndex?-1:1}l=l.sourceIndex-u.sourceIndex;if(l===0)x=true;return l};else if(v.createRange)da=function(l,u){if(!l.ownerDocument||!u.ownerDocument){if(l==
u)x=true;return l.ownerDocument?-1:1}var E=l.ownerDocument.createRange(),F=u.ownerDocument.createRange();E.setStart(l,0);E.setEnd(l,0);F.setStart(u,0);F.setEnd(u,0);l=E.compareBoundaryPoints(Range.START_TO_END,F);if(l===0)x=true;return l};(function(){var l=v.createElement("div"),u="script"+(new Date).getTime();l.innerHTML="<a name='"+u+"'/>";var E=v.documentElement;E.insertBefore(l,E.firstChild);if(v.getElementById(u)){G.find.ID=function(F,N,L){if(typeof N.getElementById!=="undefined"&&!L)return(N=
N.getElementById(F[1]))?N.id===F[1]||typeof N.getAttributeNode!=="undefined"&&N.getAttributeNode("id").nodeValue===F[1]?[N]:s:[]};G.filter.ID=function(F,N){var L=typeof F.getAttributeNode!=="undefined"&&F.getAttributeNode("id");return F.nodeType===1&&L&&L.nodeValue===N}}E.removeChild(l);E=l=null})();(function(){var l=v.createElement("div");l.appendChild(v.createComment(""));if(l.getElementsByTagName("*").length>0)G.find.TAG=function(u,E){E=E.getElementsByTagName(u[1]);if(u[1]==="*"){u=[];for(var F=
0;E[F];F++)E[F].nodeType===1&&u.push(E[F]);E=u}return E};l.innerHTML="<a href='#'></a>";if(l.firstChild&&typeof l.firstChild.getAttribute!=="undefined"&&l.firstChild.getAttribute("href")!=="#")G.attrHandle.href=function(u){return u.getAttribute("href",2)};l=null})();v.querySelectorAll&&function(){var l=D,u=v.createElement("div");u.innerHTML="<p class='TEST'></p>";if(!(u.querySelectorAll&&u.querySelectorAll(".TEST").length===0)){D=function(F,N,L,W){N=N||v;if(!W&&N.nodeType===9&&!Y(N))try{return aa(N.querySelectorAll(F),
L)}catch(S){}return l(F,N,L,W)};for(var E in l)D[E]=l[E];u=null}}();(function(){var l=v.createElement("div");l.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!l.getElementsByClassName||l.getElementsByClassName("e").length===0)){l.lastChild.className="e";if(l.getElementsByClassName("e").length!==1){G.order.splice(1,0,"CLASS");G.find.CLASS=function(u,E,F){if(typeof E.getElementsByClassName!=="undefined"&&!F)return E.getElementsByClassName(u[1])};l=null}}})();var ja=v.compareDocumentPosition?
function(l,u){return!!(l.compareDocumentPosition(u)&16)}:function(l,u){return l!==u&&(l.contains?l.contains(u):true)},Y=function(l){return(l=(l?l.ownerDocument||l:0).documentElement)?l.nodeName!=="HTML":false},Ea=function(l,u){var E=[],F="",N;for(u=u.nodeType?[u]:u;N=G.match.PSEUDO.exec(l);){F+=N[0];l=l.replace(G.match.PSEUDO,"")}l=G.relative[l]?l+"*":l;N=0;for(var L=u.length;N<L;N++)D(l,u[N],E);return D.filter(F,E)};b.find=D;b.expr=D.selectors;b.expr[":"]=b.expr.filters;b.unique=D.uniqueSort;b.text=
a;b.isXMLDoc=Y;b.contains=ja})();var gb=/Until$/,hb=/^(?:parents|prevUntil|prevAll)/,ib=/,/;O=Array.prototype.slice;var Ua=function(a,c,d){if(b.isFunction(c))return b.grep(a,function(g,y){return!!c.call(g,y,g)===d});else if(c.nodeType)return b.grep(a,function(g){return g===c===d});else if(typeof c==="string"){var h=b.grep(a,function(g){return g.nodeType===1});if(P.test(c))return b.filter(c,h,!d);else c=b.filter(c,h)}return b.grep(a,function(g){return b.inArray(g,c)>=0===d})};b.fn.extend({find:function(a){for(var c=
this.pushStack("","find",a),d=0,h=0,g=this.length;h<g;h++){d=c.length;b.find(a,this[h],c);if(h>0)for(var y=d;y<c.length;y++)for(var x=0;x<d;x++)if(c[x]===c[y]){c.splice(y--,1);break}}return c},has:function(a){var c=b(a);return this.filter(function(){for(var d=0,h=c.length;d<h;d++)if(b.contains(this,c[d]))return true})},not:function(a){return this.pushStack(Ua(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ua(this,a,true),"filter",a)},is:function(a){return!!a&&b.filter(a,this).length>
0},closest:function(a,c){if(b.isArray(a)){var d=[],h=this[0],g,y={},x;if(h&&a.length){g=0;for(var H=a.length;g<H;g++){x=a[g];y[x]||(y[x]=b.expr.match.POS.test(x)?b(x,c||this.context):x)}for(;h&&h.ownerDocument&&h!==c;){for(x in y){g=y[x];if(g.jquery?g.index(h)>-1:b(h).is(g)){d.push({selector:x,elem:h});delete y[x]}}h=h.parentNode}}return d}var D=b.expr.match.POS.test(a)?b(a,c||this.context):null;return this.map(function(G,Q){for(;Q&&Q.ownerDocument&&Q!==c;){if(D?D.index(Q)>-1:b(Q).is(a))return Q;
Q=Q.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return b.inArray(this[0],a?b(a):this.parent().children());return b.inArray(a.jquery?a[0]:a,this)},add:function(a,c){a=typeof a==="string"?b(a,c||this.context):b.makeArray(a);c=b.merge(this.get(),a);return this.pushStack(r(a[0])||r(c[0])?c:b.unique(c))},andSelf:function(){return this.add(this.prevObject)}});b.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return b.dir(a,"parentNode")},
parentsUntil:function(a,c,d){return b.dir(a,"parentNode",d)},next:function(a){return b.nth(a,2,"nextSibling")},prev:function(a){return b.nth(a,2,"previousSibling")},nextAll:function(a){return b.dir(a,"nextSibling")},prevAll:function(a){return b.dir(a,"previousSibling")},nextUntil:function(a,c,d){return b.dir(a,"nextSibling",d)},prevUntil:function(a,c,d){return b.dir(a,"previousSibling",d)},siblings:function(a){return b.sibling(a.parentNode.firstChild,a)},children:function(a){return b.sibling(a.firstChild)},
contents:function(a){return b.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:b.makeArray(a.childNodes)}},function(a,c){b.fn[a]=function(d,h){var g=b.map(this,c,d);gb.test(a)||(h=d);if(h&&typeof h==="string")g=b.filter(h,g);g=this.length>1?b.unique(g):g;if((this.length>1||ib.test(h))&&hb.test(a))g=g.reverse();return this.pushStack(g,a,O.call(arguments).join(","))}});b.extend({filter:function(a,c,d){if(d)a=":not("+a+")";return b.find.matches(a,c)},dir:function(a,c,d){var h=[];for(a=
a[c];a&&a.nodeType!==9&&(d===s||a.nodeType!==1||!b(a).is(d));){a.nodeType===1&&h.push(a);a=a[c]}return h},nth:function(a,c,d){c=c||1;for(var h=0;a;a=a[d])if(a.nodeType===1&&++h===c)break;return a},sibling:function(a,c){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==c&&d.push(a);return d}});var Va=/ jQuery\d+="(?:\d+|null)"/g,za=/^\s+/,Wa=/(<([\w:]+)[^>]*?)\/>/g,jb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,Xa=/<([\w:]+)/,kb=/<tbody/i,lb=/<|&#?\w+;/,Ka=/<script|<object|<embed|<option|<style/i,
La=/checked\s*(?:[^=]|=\s*.checked.)/i,Ya=function(a,c,d){return jb.test(d)?a:c+"></"+d+">"},ka={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,"",""]};ka.optgroup=ka.option;ka.tbody=ka.tfoot=ka.colgroup=ka.caption=ka.thead;ka.th=
ka.td;if(!b.support.htmlSerialize)ka._default=[1,"div<div>","</div>"];b.fn.extend({text:function(a){if(b.isFunction(a))return this.each(function(c){var d=b(this);d.text(a.call(this,c,d.text()))});if(typeof a!=="object"&&a!==s)return this.empty().append((this[0]&&this[0].ownerDocument||v).createTextNode(a));return b.text(this)},wrapAll:function(a){if(b.isFunction(a))return this.each(function(d){b(this).wrapAll(a.call(this,d))});if(this[0]){var c=b(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&
c.insertBefore(this[0]);c.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(b.isFunction(a))return this.each(function(c){b(this).wrapInner(a.call(this,c))});return this.each(function(){var c=b(this),d=c.contents();d.length?d.wrapAll(a):c.append(a)})},wrap:function(a){return this.each(function(){b(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,"body")||b(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(c){this.parentNode.insertBefore(c,this)});else if(arguments.length){var a=b(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(c){this.parentNode.insertBefore(c,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,b(arguments[0]).toArray());return a}},remove:function(a,c){for(var d=0,h;(h=this[d])!=null;d++)if(!a||b.filter(a,[h]).length){if(!c&&h.nodeType===1){b.cleanData(h.getElementsByTagName("*"));b.cleanData([h])}h.parentNode&&h.parentNode.removeChild(h)}return this},empty:function(){for(var a=0,c;(c=
this[a])!=null;a++)for(c.nodeType===1&&b.cleanData(c.getElementsByTagName("*"));c.firstChild;)c.removeChild(c.firstChild);return this},clone:function(a){var c=this.map(function(){if(!b.support.noCloneEvent&&!b.isXMLDoc(this)){var d=this.outerHTML,h=this.ownerDocument;if(!d){d=h.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return b.clean([d.replace(Va,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(za,"")],h)[0]}else return this.cloneNode(true)});if(a===true){B(this,c);
B(this.find("*"),c.find("*"))}return c},html:function(a){if(a===s)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Va,""):null;else if(typeof a==="string"&&!Ka.test(a)&&(b.support.leadingWhitespace||!za.test(a))&&!ka[(Xa.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Wa,Ya);try{for(var c=0,d=this.length;c<d;c++)if(this[c].nodeType===1){b.cleanData(this[c].getElementsByTagName("*"));this[c].innerHTML=a}}catch(h){this.empty().append(a)}}else b.isFunction(a)?this.each(function(g){var y=
b(this),x=y.html();y.empty().append(function(){return a.call(this,g,x)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(b.isFunction(a))return this.each(function(c){var d=b(this),h=d.html();d.replaceWith(a.call(this,c,h))});if(typeof a!=="string")a=b(a).detach();return this.each(function(){var c=this.nextSibling,d=this.parentNode;b(this).remove();c?b(c).before(a):b(d).append(a)})}else return this.pushStack(b(b.isFunction(a)?a():a),"replaceWith",a)},
detach:function(a){return this.remove(a,true)},domManip:function(a,c,d){function h(T){return b.nodeName(T,"table")?T.getElementsByTagName("tbody")[0]||T.appendChild(T.ownerDocument.createElement("tbody")):T}var g,y,x=a[0],H=[],D;if(!b.support.checkClone&&arguments.length===3&&typeof x==="string"&&La.test(x))return this.each(function(){b(this).domManip(a,c,d,true)});if(b.isFunction(x))return this.each(function(T){var aa=b(this);a[0]=x.call(this,T,c?aa.html():s);aa.domManip(a,c,d)});if(this[0]){g=x&&
x.parentNode;g=b.support.parentNode&&g&&g.nodeType===11&&g.childNodes.length===this.length?{fragment:g}:J(a,this,H);D=g.fragment;if(y=D.childNodes.length===1?(D=D.firstChild):D.firstChild){c=c&&b.nodeName(y,"tr");for(var G=0,Q=this.length;G<Q;G++)d.call(c?h(this[G],y):this[G],G>0||g.cacheable||this.length>1?D.cloneNode(true):D)}H.length&&b.each(H,m)}return this}});b.fragments={};b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,
c){b.fn[a]=function(d){var h=[];d=b(d);var g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&d.length===1){d[c](this[0]);return this}else{g=0;for(var y=d.length;g<y;g++){var x=(g>0?this.clone(true):this).get();b.fn[c].apply(b(d[g]),x);h=h.concat(x)}return this.pushStack(h,a,d.selector)}}});b.extend({clean:function(a,c,d,h){c=c||v;if(typeof c.createElement==="undefined")c=c.ownerDocument||c[0]&&c[0].ownerDocument||v;for(var g=[],y=0,x;(x=a[y])!=null;y++){if(typeof x===
"number")x+="";if(x){if(typeof x==="string"&&!lb.test(x))x=c.createTextNode(x);else if(typeof x==="string"){x=x.replace(Wa,Ya);var H=(Xa.exec(x)||["",""])[1].toLowerCase(),D=ka[H]||ka._default,G=D[0],Q=c.createElement("div");for(Q.innerHTML=D[1]+x+D[2];G--;)Q=Q.lastChild;if(!b.support.tbody){G=kb.test(x);H=H==="table"&&!G?Q.firstChild&&Q.firstChild.childNodes:D[1]==="<table>"&&!G?Q.childNodes:[];for(D=H.length-1;D>=0;--D)b.nodeName(H[D],"tbody")&&!H[D].childNodes.length&&H[D].parentNode.removeChild(H[D])}!b.support.leadingWhitespace&&
za.test(x)&&Q.insertBefore(c.createTextNode(za.exec(x)[0]),Q.firstChild);x=Q.childNodes}if(x.nodeType)g.push(x);else g=b.merge(g,x)}}if(d)for(y=0;g[y];y++)if(h&&b.nodeName(g[y],"script")&&(!g[y].type||g[y].type.toLowerCase()==="text/javascript"))h.push(g[y].parentNode?g[y].parentNode.removeChild(g[y]):g[y]);else{g[y].nodeType===1&&g.splice.apply(g,[y+1,0].concat(b.makeArray(g[y].getElementsByTagName("script"))));d.appendChild(g[y])}return g},cleanData:function(a){for(var c,d,h=b.cache,g=b.event.special,
y=b.support.deleteExpando,x=0,H;(H=a[x])!=null;x++)if(d=H[b.expando]){c=h[d];if(c.events)for(var D in c.events)g[D]?b.event.remove(H,D):Oa(H,D,c.handle);if(y)delete H[b.expando];else H.removeAttribute&&H.removeAttribute(b.expando);delete h[d]}}});var mb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Za=/alpha\([^)]*\)/,$a=/opacity=([^)]*)/,Fa=/float/i,Ga=/-([a-z])/ig,nb=/([A-Z])/g,ob=/^-?\d+(?:px)?$/i,pb=/^-?\d/,qb={position:"absolute",visibility:"hidden",display:"block"},rb=["Left","Right"],
sb=["Top","Bottom"],tb=v.defaultView&&v.defaultView.getComputedStyle,ab=b.support.cssFloat?"cssFloat":"styleFloat",Ha=function(a,c){return c.toUpperCase()};b.fn.css=function(a,c){return f(this,a,c,true,function(d,h,g){if(g===s)return b.curCSS(d,h);if(typeof g==="number"&&!mb.test(h))g+="px";b.style(d,h,g)})};b.extend({style:function(a,c,d){if(!a||a.nodeType===3||a.nodeType===8)return s;if((c==="width"||c==="height")&&parseFloat(d)<0)d=s;var h=a.style||a,g=d!==s;if(!b.support.opacity&&c==="opacity"){if(g){h.zoom=
1;c=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=h.filter||b.curCSS(a,"filter")||"";h.filter=Za.test(a)?a.replace(Za,c):c}return h.filter&&h.filter.indexOf("opacity=")>=0?parseFloat($a.exec(h.filter)[1])/100+"":""}if(Fa.test(c))c=ab;c=c.replace(Ga,Ha);if(g)h[c]=d;return h[c]},css:function(a,c,d,h){if(c==="width"||c==="height"){var g,y=c==="width"?rb:sb;function x(){g=c==="width"?a.offsetWidth:a.offsetHeight;h!=="border"&&b.each(y,function(){h||(g-=parseFloat(b.curCSS(a,"padding"+this,
true))||0);if(h==="margin")g+=parseFloat(b.curCSS(a,"margin"+this,true))||0;else g-=parseFloat(b.curCSS(a,"border"+this+"Width",true))||0})}a.offsetWidth!==0?x():b.swap(a,qb,x);return Math.max(0,Math.round(g))}return b.curCSS(a,c,d)},curCSS:function(a,c,d){var h,g=a.style;if(!b.support.opacity&&c==="opacity"&&a.currentStyle){h=$a.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return h===""?"1":h}if(Fa.test(c))c=ab;if(!d&&g&&g[c])h=g[c];else if(tb){if(Fa.test(c))c="float";c=c.replace(nb,
"-$1").toLowerCase();g=a.ownerDocument.defaultView;if(!g)return null;if(a=g.getComputedStyle(a,null))h=a.getPropertyValue(c);if(c==="opacity"&&h==="")h="1"}else if(a.currentStyle){d=c.replace(Ga,Ha);h=a.currentStyle[c]||a.currentStyle[d];if(!ob.test(h)&&pb.test(h)){c=g.left;var y=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;g.left=d==="fontSize"?"1em":h||0;h=g.pixelLeft+"px";g.left=c;a.runtimeStyle.left=y}}return h},swap:function(a,c,d){var h={};for(var g in c){h[g]=a.style[g];a.style[g]=
c[g]}d.call(a);for(g in c)a.style[g]=h[g]}});if(b.expr&&b.expr.filters){b.expr.filters.hidden=function(a){var c=a.offsetWidth,d=a.offsetHeight,h=a.nodeName.toLowerCase()==="tr";return c===0&&d===0&&!h?true:c>0&&d>0&&!h?false:b.curCSS(a,"display")==="none"};b.expr.filters.visible=function(a){return!b.expr.filters.hidden(a)}}var ub=k(),vb=/<script(.|\s)*?\/script>/gi,wb=/select|textarea/i,xb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,sa=/=\?(&|$)/,
Ia=/\?/,yb=/(\?|&)_=.*?(&|$)/,zb=/^(\w+:)?\/\/([^\/?#]+)/,Ab=/%20/g,Bb=b.fn.load;b.fn.extend({load:function(a,c,d){if(typeof a!=="string")return Bb.call(this,a);else if(!this.length)return this;var h=a.indexOf(" ");if(h>=0){var g=a.slice(h,a.length);a=a.slice(0,h)}h="GET";if(c)if(b.isFunction(c)){d=c;c=null}else if(typeof c==="object"){c=b.param(c,b.ajaxSettings.traditional);h="POST"}var y=this;b.ajax({url:a,type:h,dataType:"html",data:c,complete:function(x,H){if(H==="success"||H==="notmodified")y.html(g?
b("<div />").append(x.responseText.replace(vb,"")).find(g):x.responseText);d&&y.each(d,[x.responseText,H,x])}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||wb.test(this.nodeName)||xb.test(this.type))}).map(function(a,c){a=b(this).val();return a==null?null:b.isArray(a)?b.map(a,function(d){return{name:c.name,
value:d}}):{name:c.name,value:a}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,c){b.fn[c]=function(d){return this.bind(c,d)}});b.extend({get:function(a,c,d,h){if(b.isFunction(c)){h=h||d;d=c;c=null}return b.ajax({type:"GET",url:a,data:c,success:d,dataType:h})},getScript:function(a,c){return b.get(a,null,c,"script")},getJSON:function(a,c,d){return b.get(a,c,d,"json")},post:function(a,c,d,h){if(b.isFunction(c)){h=h||d;d=c;c={}}return b.ajax({type:"POST",
url:a,data:c,success:d,dataType:h})},ajaxSetup:function(a){b.extend(b.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:e.XMLHttpRequest&&(e.location.protocol!=="file:"||!e.ActiveXObject)?function(){return new e.XMLHttpRequest}:function(){try{return new e.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 c(){g.success&&g.success.call(D,H,x,Y);g.global&&h("ajaxSuccess",[Y,g])}function d(){g.complete&&g.complete.call(D,Y,x);g.global&&h("ajaxComplete",[Y,g]);g.global&&!--b.active&&b.event.trigger("ajaxStop")}function h(N,L){(g.context?b(g.context):b.event).trigger(N,L)}var g=b.extend(true,{},b.ajaxSettings,a),y,x,H,D=a&&a.context||g,G=g.type.toUpperCase();if(g.data&&g.processData&&
typeof g.data!=="string")g.data=b.param(g.data,g.traditional);if(g.dataType==="jsonp"){if(G==="GET")sa.test(g.url)||(g.url+=(Ia.test(g.url)?"&":"?")+(g.jsonp||"callback")+"=?");else if(!g.data||!sa.test(g.data))g.data=(g.data?g.data+"&":"")+(g.jsonp||"callback")+"=?";g.dataType="json"}if(g.dataType==="json"&&(g.data&&sa.test(g.data)||sa.test(g.url))){y=g.jsonpCallback||"jsonp"+ub++;if(g.data)g.data=(g.data+"").replace(sa,"="+y+"$1");g.url=g.url.replace(sa,"="+y+"$1");g.dataType="script";e[y]=e[y]||
function(N){H=N;c();d();e[y]=s;try{delete e[y]}catch(L){}aa&&aa.removeChild(ea)}}if(g.dataType==="script"&&g.cache===null)g.cache=false;if(g.cache===false&&G==="GET"){var Q=k(),T=g.url.replace(yb,"$1_="+Q+"$2");g.url=T+(T===g.url?(Ia.test(g.url)?"&":"?")+"_="+Q:"")}if(g.data&&G==="GET")g.url+=(Ia.test(g.url)?"&":"?")+g.data;g.global&&!b.active++&&b.event.trigger("ajaxStart");Q=(Q=zb.exec(g.url))&&(Q[1]&&Q[1]!==location.protocol||Q[2]!==location.host);if(g.dataType==="script"&&G==="GET"&&Q){var aa=
v.getElementsByTagName("head")[0]||v.documentElement,ea=v.createElement("script");ea.src=g.url;if(g.scriptCharset)ea.charset=g.scriptCharset;if(!y){var da=false;ea.onload=ea.onreadystatechange=function(){if(!da&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){da=true;c();d();ea.onload=ea.onreadystatechange=null;aa&&ea.parentNode&&aa.removeChild(ea)}}}aa.insertBefore(ea,aa.firstChild);return s}var ja=false,Y=g.xhr();if(Y){g.username?Y.open(G,g.url,g.async,g.username,g.password):
Y.open(G,g.url,g.async);try{if(g.data||a&&a.contentType)Y.setRequestHeader("Content-Type",g.contentType);if(g.ifModified){b.lastModified[g.url]&&Y.setRequestHeader("If-Modified-Since",b.lastModified[g.url]);b.etag[g.url]&&Y.setRequestHeader("If-None-Match",b.etag[g.url])}Q||Y.setRequestHeader("X-Requested-With","XMLHttpRequest");Y.setRequestHeader("Accept",g.dataType&&g.accepts[g.dataType]?g.accepts[g.dataType]+", */*":g.accepts._default)}catch(Ea){}if(g.beforeSend&&g.beforeSend.call(D,Y,g)===false){g.global&&
!--b.active&&b.event.trigger("ajaxStop");Y.abort();return false}g.global&&h("ajaxSend",[Y,g]);var l=Y.onreadystatechange=function(N){if(!Y||Y.readyState===0||N==="abort"){ja||d();ja=true;if(Y)Y.onreadystatechange=b.noop}else if(!ja&&Y&&(Y.readyState===4||N==="timeout")){ja=true;Y.onreadystatechange=b.noop;x=N==="timeout"?"timeout":!b.httpSuccess(Y)?"error":g.ifModified&&b.httpNotModified(Y,g.url)?"notmodified":"success";var L;if(x==="success")try{H=b.httpData(Y,g.dataType,g)}catch(W){x="parsererror";
L=W}if(x==="success"||x==="notmodified")y||c();else b.handleError(g,Y,x,L);d();N==="timeout"&&Y.abort();if(g.async)Y=null}};try{var u=Y.abort;Y.abort=function(){Y&&u.call(Y);l("abort")}}catch(E){}g.async&&g.timeout>0&&setTimeout(function(){Y&&!ja&&l("timeout")},g.timeout);try{Y.send(G==="POST"||G==="PUT"||G==="DELETE"?g.data:null)}catch(F){b.handleError(g,Y,null,F);d()}g.async||l();return Y}},handleError:function(a,c,d,h){if(a.error)a.error.call(a.context||a,c,d,h);if(a.global)(a.context?b(a.context):
b.event).trigger("ajaxError",[c,a,h])},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(c){}return false},httpNotModified:function(a,c){var d=a.getResponseHeader("Last-Modified"),h=a.getResponseHeader("Etag");if(d)b.lastModified[c]=d;if(h)b.etag[c]=h;return a.status===304||a.status===0},httpData:function(a,c,d){var h=a.getResponseHeader("content-type")||"",g=c==="xml"||!c&&h.indexOf("xml")>=
0;a=g?a.responseXML:a.responseText;g&&a.documentElement.nodeName==="parsererror"&&b.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,c);if(typeof a==="string")if(c==="json"||!c&&h.indexOf("json")>=0)a=b.parseJSON(a);else if(c==="script"||!c&&h.indexOf("javascript")>=0)b.globalEval(a);return a},param:function(a,c){function d(x,H){if(b.isArray(H))b.each(H,function(D,G){c||/\[\]$/.test(x)?h(x,G):d(x+"["+(typeof G==="object"||b.isArray(G)?D:"")+"]",G)});else!c&&H!=null&&typeof H==="object"?b.each(H,
function(D,G){d(x+"["+D+"]",G)}):h(x,H)}function h(x,H){H=b.isFunction(H)?H():H;g[g.length]=encodeURIComponent(x)+"="+encodeURIComponent(H)}var g=[];if(c===s)c=b.ajaxSettings.traditional;if(b.isArray(a)||a.jquery)b.each(a,function(){h(this.name,this.value)});else for(var y in a)d(y,a[y]);return g.join("&").replace(Ab,"+")}});var Ja={},Cb=/toggle|show|hide/,Db=/^([+-]=)?([\d+-.]+)(.*)$/,Aa,Ma=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft",
"paddingRight"],["opacity"]];b.fn.extend({show:function(a,c){if(a||a===0)return this.animate(q("show",3),a,c);else{a=0;for(c=this.length;a<c;a++){var d=b.data(this[a],"olddisplay");this[a].style.display=d||"";if(b.css(this[a],"display")==="none"){d=this[a].nodeName;var h;if(Ja[d])h=Ja[d];else{var g=b("<"+d+" />").appendTo("body");h=g.css("display");if(h==="none")h="block";g.remove();Ja[d]=h}b.data(this[a],"olddisplay",h)}}a=0;for(c=this.length;a<c;a++)this[a].style.display=b.data(this[a],"olddisplay")||
"";return this}},hide:function(a,c){if(a||a===0)return this.animate(q("hide",3),a,c);else{a=0;for(c=this.length;a<c;a++){var d=b.data(this[a],"olddisplay");!d&&d!=="none"&&b.data(this[a],"olddisplay",b.css(this[a],"display"))}a=0;for(c=this.length;a<c;a++)this[a].style.display="none";return this}},_toggle:b.fn.toggle,toggle:function(a,c){var d=typeof a==="boolean";if(b.isFunction(a)&&b.isFunction(c))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var h=d?a:b(this).is(":hidden");
b(this)[h?"show":"hide"]()}):this.animate(q("toggle",3),a,c);return this},fadeTo:function(a,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:c},a,d)},animate:function(a,c,d,h){var g=b.speed(c,d,h);if(b.isEmptyObject(a))return this.each(g.complete);return this[g.queue===false?"each":"queue"](function(){var y=b.extend({},g),x,H=this.nodeType===1&&b(this).is(":hidden"),D=this;for(x in a){var G=x.replace(Ga,Ha);if(x!==G){a[G]=a[x];delete a[x];x=G}if(a[x]==="hide"&&H||
a[x]==="show"&&!H)return y.complete.call(this);if((x==="height"||x==="width")&&this.style){y.display=b.css(this,"display");y.overflow=this.style.overflow}if(b.isArray(a[x])){(y.specialEasing=y.specialEasing||{})[x]=a[x][1];a[x]=a[x][0]}}if(y.overflow!=null)this.style.overflow="hidden";y.curAnim=b.extend({},a);b.each(a,function(Q,T){var aa=new b.fx(D,y,Q);if(Cb.test(T))aa[T==="toggle"?H?"show":"hide":T](a);else{var ea=Db.exec(T),da=aa.cur(true)||0;if(ea){T=parseFloat(ea[2]);var ja=ea[3]||"px";if(ja!==
"px"){D.style[Q]=(T||1)+ja;da=(T||1)/aa.cur(true)*da;D.style[Q]=da+ja}if(ea[1])T=(ea[1]==="-="?-1:1)*T+da;aa.custom(da,T,ja)}else aa.custom(da,T,"")}});return true})},stop:function(a,c){var d=b.timers;a&&this.queue([]);this.each(function(){for(var h=d.length-1;h>=0;h--)if(d[h].elem===this){c&&d[h](true);d.splice(h,1)}});c||this.dequeue();return this}});b.each({slideDown:q("show",1),slideUp:q("hide",1),slideToggle:q("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,c){b.fn[a]=
function(d,h){return this.animate(c,d,h)}});b.extend({speed:function(a,c,d){var h=a&&typeof a==="object"?a:{complete:d||!d&&c||b.isFunction(a)&&a,duration:a,easing:d&&c||c&&!b.isFunction(c)&&c};h.duration=b.fx.off?0:typeof h.duration==="number"?h.duration:b.fx.speeds[h.duration]||b.fx.speeds._default;h.old=h.complete;h.complete=function(){h.queue!==false&&b(this).dequeue();b.isFunction(h.old)&&h.old.call(this)};return h},easing:{linear:function(a,c,d,h){return d+h*a},swing:function(a,c,d,h){return(-Math.cos(a*
Math.PI)/2+0.5)*h+d}},timers:[],fx:function(a,c,d){this.options=c;this.elem=a;this.prop=d;if(!c.orig)c.orig={}}});b.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(b.fx.step[this.prop]||b.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(b.css(this.elem,
this.prop,a)))&&a>-10000?a:parseFloat(b.curCSS(this.elem,this.prop))||0},custom:function(a,c,d){function h(y){return g.step(y)}this.startTime=k();this.start=a;this.end=c;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var g=this;h.elem=this.elem;if(h()&&b.timers.push(h)&&!Aa)Aa=setInterval(b.fx.tick,13)},show:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());b(this.elem).show()},
hide:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var c=k(),d=true;if(a||c>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var h in this.options.curAnim)if(this.options.curAnim[h]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=b.data(this.elem,"olddisplay");this.elem.style.display=
a?a:this.options.display;if(b.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&b(this.elem).hide();if(this.options.hide||this.options.show)for(var g in this.options.curAnim)b.style(this.elem,g,this.options.orig[g]);this.options.complete.call(this.elem)}return false}else{g=c-this.startTime;this.state=g/this.options.duration;a=this.options.easing||(b.easing.swing?"swing":"linear");this.pos=b.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||
a](this.state,g,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};b.extend(b.fx,{tick:function(){for(var a=b.timers,c=0;c<a.length;c++)a[c]()||a.splice(c--,1);a.length||b.fx.stop()},stop:function(){clearInterval(Aa);Aa=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){b.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(b.expr&&b.expr.filters)b.expr.filters.animated=function(a){return b.grep(b.timers,function(c){return a===c.elem}).length};b.fn.offset="getBoundingClientRect"in v.documentElement?function(a){var c=this[0];if(a)return this.each(function(g){b.offset.setOffset(this,a,g)});if(!c||!c.ownerDocument)return null;if(c===c.ownerDocument.body)return b.offset.bodyOffset(c);var d=c.getBoundingClientRect(),h=c.ownerDocument;c=h.body;h=h.documentElement;
return{top:d.top+(self.pageYOffset||b.support.boxModel&&h.scrollTop||c.scrollTop)-(h.clientTop||c.clientTop||0),left:d.left+(self.pageXOffset||b.support.boxModel&&h.scrollLeft||c.scrollLeft)-(h.clientLeft||c.clientLeft||0)}}:function(a){var c=this[0];if(a)return this.each(function(Q){b.offset.setOffset(this,a,Q)});if(!c||!c.ownerDocument)return null;if(c===c.ownerDocument.body)return b.offset.bodyOffset(c);b.offset.initialize();var d=c.offsetParent,h=c,g=c.ownerDocument,y,x=g.documentElement,H=g.body;
h=(g=g.defaultView)?g.getComputedStyle(c,null):c.currentStyle;for(var D=c.offsetTop,G=c.offsetLeft;(c=c.parentNode)&&c!==H&&c!==x;){if(b.offset.supportsFixedPosition&&h.position==="fixed")break;y=g?g.getComputedStyle(c,null):c.currentStyle;D-=c.scrollTop;G-=c.scrollLeft;if(c===d){D+=c.offsetTop;G+=c.offsetLeft;if(b.offset.doesNotAddBorder&&!(b.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(c.nodeName))){D+=parseFloat(y.borderTopWidth)||0;G+=parseFloat(y.borderLeftWidth)||0}h=d;d=c.offsetParent}if(b.offset.subtractsBorderForOverflowNotVisible&&
y.overflow!=="visible"){D+=parseFloat(y.borderTopWidth)||0;G+=parseFloat(y.borderLeftWidth)||0}h=y}if(h.position==="relative"||h.position==="static"){D+=H.offsetTop;G+=H.offsetLeft}if(b.offset.supportsFixedPosition&&h.position==="fixed"){D+=Math.max(x.scrollTop,H.scrollTop);G+=Math.max(x.scrollLeft,H.scrollLeft)}return{top:D,left:G}};b.offset={initialize:function(){var a=v.body,c=v.createElement("div"),d,h,g,y=parseFloat(b.curCSS(a,"marginTop",true))||0;b.extend(c.style,{position:"absolute",top:0,
left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});c.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(c,a.firstChild);d=c.firstChild;h=d.firstChild;g=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=h.offsetTop!==
5;this.doesAddBorderForTableAndCells=g.offsetTop===5;h.style.position="fixed";h.style.top="20px";this.supportsFixedPosition=h.offsetTop===20||h.offsetTop===15;h.style.position=h.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=h.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==y;a.removeChild(c);b.offset.initialize=b.noop},bodyOffset:function(a){var c=a.offsetTop,d=a.offsetLeft;b.offset.initialize();if(b.offset.doesNotIncludeMarginInBodyOffset){c+=
parseFloat(b.curCSS(a,"marginTop",true))||0;d+=parseFloat(b.curCSS(a,"marginLeft",true))||0}return{top:c,left:d}},setOffset:function(a,c,d){if(/static/.test(b.curCSS(a,"position")))a.style.position="relative";var h=b(a),g=h.offset(),y=parseInt(b.curCSS(a,"top",true),10)||0,x=parseInt(b.curCSS(a,"left",true),10)||0;if(b.isFunction(c))c=c.call(a,d,g);d={top:c.top-g.top+y,left:c.left-g.left+x};"using"in c?c.using.call(a,d):h.css(d)}};b.fn.extend({position:function(){if(!this[0])return null;var a=this[0],
c=this.offsetParent(),d=this.offset(),h=/^body|html$/i.test(c[0].nodeName)?{top:0,left:0}:c.offset();d.top-=parseFloat(b.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(b.curCSS(a,"marginLeft",true))||0;h.top+=parseFloat(b.curCSS(c[0],"borderTopWidth",true))||0;h.left+=parseFloat(b.curCSS(c[0],"borderLeftWidth",true))||0;return{top:d.top-h.top,left:d.left-h.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||v.body;a&&!/^body|html$/i.test(a.nodeName)&&b.css(a,
"position")==="static";)a=a.offsetParent;return a})}});b.each(["Left","Top"],function(a,c){var d="scroll"+c;b.fn[d]=function(h){var g=this[0],y;if(!g)return null;if(h!==s)return this.each(function(){if(y=w(this))y.scrollTo(!a?h:b(y).scrollLeft(),a?h:b(y).scrollTop());else this[d]=h});else return(y=w(g))?"pageXOffset"in y?y[a?"pageYOffset":"pageXOffset"]:b.support.boxModel&&y.document.documentElement[d]||y.document.body[d]:g[d]}});b.each(["Height","Width"],function(a,c){var d=c.toLowerCase();b.fn["inner"+
c]=function(){return this[0]?b.css(this[0],d,false,"padding"):null};b.fn["outer"+c]=function(h){return this[0]?b.css(this[0],d,false,h?"margin":"border"):null};b.fn[d]=function(h){var g=this[0];if(!g)return h==null?null:this;if(b.isFunction(h))return this.each(function(y){var x=b(this);x[d](h.call(this,y,x[d]()))});return"scrollTo"in g&&g.document?g.document.compatMode==="CSS1Compat"&&g.document.documentElement["client"+c]||g.document.body["client"+c]:g.nodeType===9?Math.max(g.documentElement["client"+
c],g.body["scroll"+c],g.documentElement["scroll"+c],g.body["offset"+c],g.documentElement["offset"+c]):h===s?b.css(g,d):this.css(d,typeof h==="string"?h:h+"px")}});e.jQuery=e.$=b})(window);
(function(e){function s(f,k,j){var p=this,A=e(this),C;e.each(j,function(n,r){e.isFunction(r)&&A.bind(n,r)});e.extend(this,{click:function(n,r){p.getCurrentPane();var B=f.eq(n);if(typeof n=="string"&&n.replace("#","")){B=f.filter("[href*="+n.replace("#","")+"]");n=Math.max(f.index(B),0)}if(j.rotate){var J=f.length-1;if(n<0)return p.click(J,r);if(n>J)return p.click(0,r)}if(!B.length){if(C>=0)return p;n=j.initialIndex;B=f.eq(n)}if(n===C)return p;r=r||e.Event();r.type="onBeforeClick";A.trigger(r,[n]);
if(!r.isDefaultPrevented()){o[j.effect].call(p,n,function(){r.type="onClick";A.trigger(r,[n])});r.type="onStart";A.trigger(r,[n]);if(!r.isDefaultPrevented()){C=n;f.removeClass(j.current);B.addClass(j.current);return p}}},getConf:function(){return j},getTabs:function(){return f},getPanes:function(){return k},getCurrentPane:function(){return k.eq(C)},getCurrentTab:function(){return f.eq(C)},getIndex:function(){return C},next:function(){return p.click(C+1)},prev:function(){return p.click(C-1)},bind:function(n,
r){A.bind(n,r);return p},onBeforeClick:function(n){return this.bind("onBeforeClick",n)},onClick:function(n){return this.bind("onClick",n)},unbind:function(n){A.unbind(n);return p}});f.each(function(n){e(this).bind(j.event,function(r){p.click(n,r);return false})});if(location.hash)p.click(location.hash);else if(j.initialIndex===0||j.initialIndex>0)p.click(j.initialIndex);k.find("a[href^=#]").click(function(n){p.click(e(this).attr("href"),n)})}e.tools=e.tools||{};e.tools.tabs={version:"1.0.4",conf:{tabs:"a",
current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",api:false,rotate:false},addEffect:function(f,k){o[f]=k}};var o={"default":function(f,k){this.getPanes().hide().eq(f).show();k.call()},fade:function(f,k){var j=this.getConf(),p=j.fadeOutSpeed,A=this.getPanes();p?A.fadeOut(p):A.hide();A.eq(f).fadeIn(j.fadeInSpeed,k)},slide:function(f,k){this.getPanes().slideUp(200);this.getPanes().eq(f).slideDown(400,k)},ajax:function(f,k){this.getPanes().eq(0).load(this.getTabs().eq(f).attr("href"),
k)}},m;e.tools.tabs.addEffect("horizontal",function(f,k){m||(m=this.getPanes().eq(0).width());this.getCurrentPane().animate({width:0},function(){e(this).hide()});this.getPanes().eq(f).animate({width:m},function(){e(this).show();k.call()})});e.fn.tabs=function(f,k){var j=this.eq(typeof k=="number"?k:0).data("tabs");if(j)return j;if(e.isFunction(k))k={onBeforeClick:k};var p=e.extend({},e.tools.tabs.conf),A=this.length;k=e.extend(p,k);this.each(function(){var C=e(this),n=C.find(k.tabs);n.length||(n=
C.children());var r=f.jquery?f:C.children(f);r.length||(r=A==1?e(f):C.parent().find(f));j=new s(n,r,k);C.data("tabs",j)});return k.api?j:this}})(jQuery);
(function(e){var s=e.tools.tabs;s.plugins=s.plugins||{};s.plugins.slideshow={version:"1.0.2",conf:{next:".forward",prev:".backward",disabledClass:"disabled",autoplay:false,autopause:true,interval:3E3,clickable:true,api:false}};e.prototype.slideshow=function(o){var m=e.extend({},s.plugins.slideshow.conf),f=this.length;o=e.extend(m,o);this.each(function(){function k(b){return f==1?e(b):j.parent().find(b)}var j=e(this),p=j.tabs(),A=e(p);e.each(o,function(b,I){e.isFunction(I)&&p.bind(b,I)});var C=k(o.next).click(function(){p.next()}),
n=k(o.prev).click(function(){p.prev()}),r,B,J,q=false;e.extend(p,{play:function(){if(!r){var b=e.Event("onBeforePlay");A.trigger(b);if(b.isDefaultPrevented())return p;q=false;r=setInterval(p.next,o.interval);A.trigger("onPlay");p.next()}},pause:function(){if(!r)return p;var b=e.Event("onBeforePause");A.trigger(b);if(b.isDefaultPrevented())return p;r=clearInterval(r);J=clearInterval(J);A.trigger("onPause")},stop:function(){p.pause();q=true},onBeforePlay:function(b){return p.bind("onBeforePlay",b)},
onPlay:function(b){return p.bind("onPlay",b)},onBeforePause:function(b){return p.bind("onBeforePause",b)},onPause:function(b){return p.bind("onPause",b)}});o.autopause&&p.getTabs().add(C).add(n).add(p.getPanes()).hover(function(){p.pause();B=clearInterval(B)},function(){q||(B=setTimeout(p.play,o.interval))});if(o.autoplay)J=setTimeout(p.play,o.interval);else p.stop();o.clickable&&p.getPanes().click(function(){p.next()});if(!p.getConf().rotate){var w=o.disabledClass;p.getIndex()||n.addClass(w);p.onBeforeClick(function(b,
I){if(I){n.removeClass(w);I==p.getTabs().length-1?C.addClass(w):C.removeClass(w)}else n.addClass(w)})}});return o.api?void 0:this}})(jQuery);
(function(e){function s(k){if(k){var j=f.contentWindow.document;j.open().close();j.location.hash=k}}var o=e.tools.tabs;o.plugins=o.plugins||{};o.plugins.history={version:"1.0.2",conf:{api:false}};var m,f;e.fn.onHash=function(k){var j=this;if(e.browser.msie&&e.browser.version<"8"){if(!f){f=e("<iframe/>").attr("src","javascript:false;").hide().get(0);e("body").append(f);setInterval(function(){var p=f.contentWindow.document.location.hash;if(m!==p){e.event.trigger("hash",p);m=p}},100);s(location.hash||
"#")}j.bind("click.hash",function(){s(e(this).attr("href"))})}else setInterval(function(){var p=location.hash,A=j.filter("[href$="+p+"]");if(!A.length){p=p.replace("#","");A=j.filter("[href$="+p+"]")}if(A.length&&p!==m){m=p;e.event.trigger("hash",p)}},100);e(window).bind("hash",k);return this};e.fn.history=function(k){var j=e.extend({},o.plugins.history.conf),p;k=e.extend(j,k);this.each(function(){var A=e(this).tabs(),C=A.getTabs();if(A)p=A;C.onHash(function(n,r){if(!r||r=="#")r=A.getConf().initialIndex;
A.click(r)});C.click(function(){location.hash=e(this).attr("href").replace("#","")})});return k.api?p:this}})(jQuery);
(function(e){function s(f,k){function j(){var b=k.relative?f.position().top:f.offset().top,I=k.relative?f.position().left:f.offset().left,z=k.position[0];b-=C.outerHeight()-k.offset[0];I+=f.outerWidth()+k.offset[1];var v=C.outerHeight()+f.outerHeight();if(z=="center")b+=v/2;if(z=="bottom")b+=v;z=k.position[1];v=C.outerWidth()+f.outerWidth();if(z=="center")I-=v/2;if(z=="left")I-=v;return{top:b,left:I}}var p=this,A=e(this);f.data("tooltip",p);var C=f.next();if(k.tip){C=e(k.tip);if(C.length>1){C=f.nextAll(k.tip).eq(0);
C.length||(C=f.parent().nextAll(k.tip).eq(0))}}var n=f.is(":input"),r=n&&f.is(":checkbox, :radio, select, :button"),B=f.attr("type"),J=k.events[B]||k.events[n?r?"widget":"input":"def"];J=J.split(/,\s*/);if(J.length!=2)throw"Tooltip: bad events configuration for "+B;f.bind(J[0],function(b){k.oneInstance&&e.each(o,function(){this.hide()});var I=C.data("trigger");I&&I[0]!=this&&C.hide().stop(true,true);b.target=this;p.show(b);J=k.events.tooltip.split(/,\s*/);C.bind(J[0],function(){p.show(b)});J[1]&&
C.bind(J[1],function(){p.hide(b)})});f.bind(J[1],function(b){p.hide(b)});!e.browser.msie&&!n&&!k.predelay&&f.mousemove(function(){p.isShown()||f.triggerHandler("mouseover")});k.opacity<1&&C.css("opacity",k.opacity);var q=0,w=f.attr("title");if(w&&k.cancelDefault){f.removeAttr("title");f.data("title",w)}e.extend(p,{show:function(b){function I(){C.data("trigger",f);var z=j(b);k.tip&&w&&C.html(f.data("title"));b=b||e.Event();b.type="onBeforeShow";A.trigger(b,[z]);if(b.isDefaultPrevented())return p;z=
j(b);C.css({position:"absolute",top:z.top,left:z.left});z=m[k.effect];if(!z)throw'Nonexistent effect "'+k.effect+'"';z[0].call(p,function(){b.type="onShow";A.trigger(b)})}if(b)f=e(b.target);clearTimeout(C.data("timer"));if(C.is(":animated")||C.is(":visible"))return p;if(k.predelay){clearTimeout(q);q=setTimeout(I,k.predelay)}else I();return p},hide:function(b){function I(){b=b||e.Event();b.type="onBeforeHide";A.trigger(b);b.isDefaultPrevented()||m[k.effect][1].call(p,function(){b.type="onHide";A.trigger(b)})}
clearTimeout(C.data("timer"));clearTimeout(q);if(C.is(":visible")){k.delay&&b?C.data("timer",setTimeout(I,k.delay)):I();return p}},isShown:function(){return C.is(":visible, :animated")},getConf:function(){return k},getTip:function(){return C},getTrigger:function(){return f},bind:function(b,I){A.bind(b,I);return p},onHide:function(b){return this.bind("onHide",b)},onBeforeShow:function(b){return this.bind("onBeforeShow",b)},onShow:function(b){return this.bind("onShow",b)},onBeforeHide:function(b){return this.bind("onBeforeHide",
b)},unbind:function(b){A.unbind(b);return p}});e.each(k,function(b,I){e.isFunction(I)&&p.bind(b,I)})}var o=[];e.tools=e.tools||{};e.tools.tooltip={version:"1.1.3",conf:{effect:"toggle",fadeOutSpeed:"fast",tip:null,predelay:0,delay:30,opacity:1,lazy:undefined,position:["top","center"],offset:[0,0],cancelDefault:true,relative:false,oneInstance:true,events:{def:"mouseover,mouseout",input:"focus,blur",widget:"focus mouseover,blur mouseout",tooltip:"mouseover,mouseout"},api:false},addEffect:function(f,
k,j){m[f]=[k,j]}};var m={toggle:[function(f){var k=this.getConf(),j=this.getTip();k=k.opacity;k<1&&j.css({opacity:k});j.show();f.call()},function(f){this.getTip().hide();f.call()}],fade:[function(f){this.getTip().fadeIn(this.getConf().fadeInSpeed,f)},function(f){this.getTip().fadeOut(this.getConf().fadeOutSpeed,f)}]};e.prototype.tooltip=function(f){var k=this.eq(typeof f=="number"?f:0).data("tooltip");if(k)return k;var j=e.extend(true,{},e.tools.tooltip.conf);if(e.isFunction(f))f={onBeforeShow:f};
else if(typeof f=="string")f={tip:f};f=e.extend(true,j,f);if(typeof f.position=="string")f.position=f.position.split(/,?\s/);f.lazy!==false&&(f.lazy===true||this.length>20)?this.one("mouseover",function(p){k=new s(e(this),f);k.show(p);o.push(k)}):this.each(function(){k=new s(e(this),f);o.push(k)});return f.api?k:this}})(jQuery);
(function(e){var s=e.tools.tooltip;s.effects=s.effects||{};s.effects.slide={version:"1.0.0"};e.extend(s.conf,{direction:"up",bounce:false,slideOffset:10,slideInSpeed:200,slideOutSpeed:200,slideFade:!e.browser.msie});var o={up:["-","top"],down:["+","top"],left:["-","left"],right:["+","left"]};e.tools.tooltip.addEffect("slide",function(m){var f=this.getConf(),k=this.getTip(),j=f.slideFade?{opacity:f.opacity}:{},p=o[f.direction]||o.up;j[p[1]]=p[0]+"="+f.slideOffset;f.slideFade&&k.css({opacity:0});k.show().animate(j,
f.slideInSpeed,m)},function(m){var f=this.getConf(),k=f.slideOffset,j=f.slideFade?{opacity:0}:{},p=o[f.direction]||o.up,A=""+p[0];if(f.bounce)A=A=="+"?"-":"+";j[p[1]]=A+"="+k;this.getTip().animate(j,f.slideOutSpeed,function(){e(this).hide();m.call()})})})(jQuery);
(function(e){function s(f){var k=e(window),j=k.width()+k.scrollLeft(),p=k.height()+k.scrollTop();return[f.offset().top<=k.scrollTop(),j<=f.offset().left+f.width(),p<=f.offset().top+f.height(),k.scrollLeft()>=f.offset().left]}function o(f){for(var k=f.length;k--;)if(f[k])return false;return true}var m=e.tools.tooltip;m.plugins=m.plugins||{};m.plugins.dynamic={version:"1.0.1",conf:{api:false,classNames:"top right bottom left"}};e.fn.dynamic=function(f){var k=e.extend({},m.plugins.dynamic.conf),j;if(typeof f==
"number")f={speed:f};f=e.extend(k,f);var p=f.classNames.split(/\s/),A;this.each(function(){if(e(this).tooltip().jquery)throw"Lazy feature not supported by dynamic plugin. set lazy: false for tooltip";var C=e(this).tooltip().onBeforeShow(function(n,r){n=this.getTip();var B=this.getConf();A||(A=[B.position[0],B.position[1],B.offset[0],B.offset[1],e.extend({},B)]);e.extend(B,A[4]);B.position=[A[0],A[1]];B.offset=[A[2],A[3]];n.css({visibility:"hidden",position:"absolute",top:r.top,left:r.left}).show();
r=s(n);if(!o(r)){if(r[2]){e.extend(B,f.top);B.position[0]="top";n.addClass(p[0])}if(r[3]){e.extend(B,f.right);B.position[1]="right";n.addClass(p[1])}if(r[0]){e.extend(B,f.bottom);B.position[0]="bottom";n.addClass(p[2])}if(r[1]){e.extend(B,f.left);B.position[1]="left";n.addClass(p[3])}if(r[0]||r[2])B.offset[0]*=-1;if(r[1]||r[3])B.offset[1]*=-1}n.css({visibility:"visible"}).hide()});C.onShow(function(){var n=this.getConf();this.getTip();n.position=[A[0],A[1]];n.offset=[A[2],A[3]]});C.onHide(function(){this.getTip().removeClass(f.classNames)});
j=C});return f.api?j:this}})(jQuery);
(function(e){function s(m,f){function k(z){var v=e(z);return f.globalNav?v:m.parent().find(z)}var j=this,p=e(this),A=!f.vertical,C=m.children(),n=0,r;o||(o=j);e.each(f,function(z,v){e.isFunction(v)&&p.bind(z,v)});if(C.length>1)C=e(f.items,m);m.data("finder",k);var B=k(f.prev),J=k(f.next),q=k(f.prevPage),w=k(f.nextPage);e.extend(j,{getIndex:function(){return n},getClickIndex:function(){var z=j.getItems();return z.index(z.filter("."+f.activeClass))},getConf:function(){return f},getSize:function(){return j.getItems().size()},
getPageAmount:function(){return Math.ceil(this.getSize()/f.size)},getPageIndex:function(){return Math.ceil(n/f.size)},getNaviButtons:function(){return B.add(J).add(q).add(w)},getRoot:function(){return m},getItemWrap:function(){return C},getItems:function(){return C.children(f.item)},getVisibleItems:function(){return j.getItems().slice(n,n+f.size)},seekTo:function(z,v,V){function M(){V&&V.call(j,z);p.trigger("onSeek",[z])}if(z<0)z=0;if(n===z)return j;if(e.isFunction(v))V=v;if(z>j.getSize()-f.size)return f.loop?
j.begin():this.end();var P=j.getItems().eq(z);if(!P.length)return j;var U=e.Event("onBeforeSeek");p.trigger(U,[z]);if(U.isDefaultPrevented())return j;if(v===undefined||e.isFunction(v))v=f.speed;A?C.animate({left:-P.position().left},v,f.easing,M):C.animate({top:-P.position().top},v,f.easing,M);o=j;n=z;U=e.Event("onStart");p.trigger(U,[z]);if(U.isDefaultPrevented())return j;B.add(q).toggleClass(f.disabledClass,z===0);J.add(w).toggleClass(f.disabledClass,z>=j.getSize()-f.size);return j},move:function(z,
v,V){r=z>0;return this.seekTo(n+z,v,V)},next:function(z,v){return this.move(1,z,v)},prev:function(z,v){return this.move(-1,z,v)},movePage:function(z,v,V){r=z>0;var M=f.size*z,P=n%f.size;if(P>0)M+=z>0?-P:f.size-P;return this.move(M,v,V)},prevPage:function(z,v){return this.movePage(-1,z,v)},nextPage:function(z,v){return this.movePage(1,z,v)},setPage:function(z,v,V){return this.seekTo(z*f.size,v,V)},begin:function(z,v){r=false;return this.seekTo(0,z,v)},end:function(z,v){r=true;var V=this.getSize()-
f.size;return V>0?this.seekTo(V,z,v):j},reload:function(){p.trigger("onReload");return j},focus:function(){return o=j},click:function(z){var v=j.getItems().eq(z),V=f.activeClass,M=f.size;if(z<0||z>=j.getSize())return j;if(M==1){if(f.loop)return j.next();if(z===0||z==j.getSize()-1)r=r===undefined?true:!r;return r===false?j.prev():j.next()}if(M==2){z==n&&z--;j.getItems().removeClass(V);v.addClass(V);return j.seekTo(z,time,fn)}if(!v.hasClass(V)){j.getItems().removeClass(V);v.addClass(V);v=Math.floor(M/
2);v=z-v;if(v>j.getSize()-M)v=j.getSize()-M;if(v!==z)return j.seekTo(v)}return j},bind:function(z,v){p.bind(z,v);return j},unbind:function(z){p.unbind(z);return j}});e.each("onBeforeSeek,onStart,onSeek,onReload".split(","),function(z,v){j[v]=function(V){return j.bind(v,V)}});B.addClass(f.disabledClass).click(function(){j.prev()});J.click(function(){j.next()});w.click(function(){j.nextPage()});j.getSize()<f.size&&J.add(w).addClass(f.disabledClass);q.addClass(f.disabledClass).click(function(){j.prevPage()});
var b=f.hoverClass,I="keydown."+Math.random().toString().substring(10);j.onReload(function(){b&&j.getItems().hover(function(){e(this).addClass(b)},function(){e(this).removeClass(b)});f.clickable&&j.getItems().each(function(z){e(this).unbind("click.scrollable").bind("click.scrollable",function(v){if(!e(v.target).is("a"))return j.click(z)})});f.keyboard?e(document).unbind(I).bind(I,function(z){if(!(z.altKey||z.ctrlKey))if(!(f.keyboard!="static"&&o!=j)){var v=f.keyboardSteps;if(A&&(z.keyCode==37||z.keyCode==
39)){j.move(z.keyCode==37?-v:v);return z.preventDefault()}if(!A&&(z.keyCode==38||z.keyCode==40)){j.move(z.keyCode==38?-v:v);return z.preventDefault()}return true}}):e(document).unbind(I)});j.reload()}e.tools=e.tools||{};e.tools.scrollable={version:"1.1.2",conf:{size:5,vertical:false,speed:400,keyboard:true,keyboardSteps:null,disabledClass:"disabled",hoverClass:null,clickable:true,activeClass:"active",easing:"swing",loop:false,items:".items",item:null,prev:".prev",next:".next",prevPage:".prevPage",
nextPage:".nextPage",api:false}};var o;e.fn.scrollable=function(m){var f=this.eq(typeof m=="number"?m:0).data("scrollable");if(f)return f;var k=e.extend({},e.tools.scrollable.conf);m=e.extend(k,m);m.keyboardSteps=m.keyboardSteps||m.size;this.each(function(){f=new s(e(this),m);e(this).data("scrollable",f)});return m.api?f:this}})(jQuery);
(function(e){var s=e.tools.scrollable;s.plugins=s.plugins||{};s.plugins.circular={version:"0.5.1",conf:{api:false,clonedClass:"cloned"}};e.fn.circular=function(o){var m=e.extend({},s.plugins.circular.conf),f;e.extend(m,o);this.each(function(){function k(q){q=B.eq(q);A.vertical?C.css({top:-q.position().top}):C.css({left:-q.position().left})}var j=e(this).scrollable(),p=j.getItems(),A=j.getConf(),C=j.getItemWrap(),n=0;if(j)f=j;if(p.length<A.size)return false;p.slice(0,A.size).each(function(q){e(this).clone().appendTo(C).click(function(){j.click(p.length+
q)}).addClass(m.clonedClass)});var r=e.makeArray(p.slice(-A.size)).reverse();e(r).each(function(q){e(this).clone().prependTo(C).click(function(){j.click(-q-1)}).addClass(m.clonedClass)});var B=C.children(A.item),J=A.hoverClass;J&&B.hover(function(){e(this).addClass(J)},function(){e(this).removeClass(J)});k(A.size);e.extend(j,{move:function(q,w,b,I){var z=n+q+A.size,v=z>j.getSize()-A.size;if(z<=0||v){z=n+A.size+(v?-p.length:p.length);k(z);z=z+q}I&&B.removeClass(A.activeClass).eq(z+Math.floor(A.size/
2)).addClass(A.activeClass);if(z===n+A.size)return self;return j.seekTo(z,w,b)},begin:function(q,w){return this.seekTo(A.size,q,w)},end:function(q,w){return this.seekTo(p.length,q,w)},click:function(q,w,b){if(!A.clickable)return self;if(A.size==1)return this.next();q=q-n;q-=Math.floor(A.size/2);return this.move(q,w,b,true)},getIndex:function(){return n},setPage:function(q,w,b){return this.seekTo(q*A.size+A.size,w,b)},getPageAmount:function(){return Math.ceil(p.length/A.size)},getPageIndex:function(){if(n<
0)return this.getPageAmount()-1;if(n>=p.length)return 0;return(n+A.size)/A.size-1},getVisibleItems:function(){var q=n+A.size;return B.slice(q,q+A.size)}});j.onStart(function(q,w){n=w-A.size;return false});j.getNaviButtons().removeClass(A.disabledClass)});return m.api?f:this}})(jQuery);
(function(e){var s=e.tools.scrollable;s.plugins=s.plugins||{};s.plugins.autoscroll={version:"1.0.1",conf:{autoplay:true,interval:3E3,autopause:true,steps:1,api:false}};e.fn.autoscroll=function(o){if(typeof o=="number")o={interval:o};var m=e.extend({},s.plugins.autoscroll.conf),f;e.extend(m,o);this.each(function(){var k=e(this).scrollable();if(k)f=k;var j,p,A=true;k.play=function(){if(!j){A=false;j=setInterval(function(){k.move(m.steps)},m.interval);k.move(m.steps)}};k.pause=function(){j=clearInterval(j)};
k.stop=function(){k.pause();A=true};m.autopause&&k.getRoot().add(k.getNaviButtons()).hover(function(){k.pause();clearInterval(p)},function(){A||(p=setTimeout(k.play,m.interval))});m.autoplay&&setTimeout(k.play,m.interval)});return m.api?f:this}})(jQuery);
(function(e){var s=e.tools.scrollable;s.plugins=s.plugins||{};s.plugins.navigator={version:"1.0.2",conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:false,api:false,idPrefix:null}};e.fn.navigator=function(o){var m=e.extend({},s.plugins.navigator.conf),f;if(typeof o=="string")o={navi:o};o=e.extend(m,o);this.each(function(){function k(){if(!p.children().length||p.data("navi")==j){p.empty();p.data("navi",j);for(var r=0;r<j.getPageAmount();r++)p.append(e("<"+(o.naviItem||"a")+"/>"));A=p.children().each(function(B){var J=
e(this);J.click(function(q){j.setPage(B);return q.preventDefault()});o.indexed&&J.text(B);o.idPrefix&&J.attr("id",o.idPrefix+B)})}else{A=o.naviItem?p.find(o.naviItem):p.children();A.each(function(B){e(this).click(function(J){j.setPage(B);return J.preventDefault()})})}A.eq(0).addClass(o.activeClass)}var j=e(this).scrollable(),p=j.getRoot().data("finder").call(null,o.navi),A=null,C=j.getNaviButtons();if(j)f=j;j.getNaviButtons=function(){return C.add(p)};j.onStart(function(){var r=o.activeClass;A.removeClass(r).eq(j.getPageIndex()).addClass(r)});
j.onReload(function(){k()});k();var n=A.filter("[href="+location.hash+"]");n.length&&j.move(A.index(n))});return o.api?f:this}})(jQuery);
(function(e){function s(f){switch(f.type){case "mousemove":return e.extend(f.data,{clientX:f.clientX,clientY:f.clientY,pageX:f.pageX,pageY:f.pageY});case "DOMMouseScroll":e.extend(f,f.data);f.delta=-f.detail/3;break;case "mousewheel":f.delta=f.wheelDelta/120;break}f.type="wheel";return e.event.handle.call(this,f,f.delta)}e.fn.wheel=function(f){return this[f?"bind":"trigger"]("wheel",f)};e.event.special.wheel={setup:function(){e.event.add(this,o,s,{})},teardown:function(){e.event.remove(this,o,s)}};
var o=!e.browser.mozilla?"mousewheel":"DOMMouseScroll"+(e.browser.version<"1.9"?" mousemove":""),m=e.tools.scrollable;m.plugins=m.plugins||{};m.plugins.mousewheel={version:"1.0.1",conf:{api:false,speed:50}};e.fn.mousewheel=function(f){var k=e.extend({},m.plugins.mousewheel.conf),j;if(typeof f=="number")f={speed:f};f=e.extend(k,f);this.each(function(){var p=e(this).scrollable();if(p)j=p;p.getRoot().wheel(function(A,C){p.move(C<0?1:-1,f.speed||50);return false})});return f.api?j:this}})(jQuery);
(function(e){function s(f,k){var j=this,p=e(this),A=e(window),C,n,r,B=k.expose&&e.tools.expose.version,J=k.target||f.attr("rel");n=J?e(J):f;if(!n.length)throw"Could not find Overlay: "+J;f&&f.index(n)==-1&&f.click(function(w){j.load(w);return w.preventDefault()});e.each(k,function(w,b){e.isFunction(b)&&p.bind(w,b)});e.extend(j,{load:function(w){if(j.isOpened())return j;var b=o[k.effect];if(!b)throw'Overlay: cannot find effect : "'+k.effect+'"';k.oneInstance&&e.each(m,function(){this.close(w)});w=
w||e.Event();w.type="onBeforeLoad";p.trigger(w);if(w.isDefaultPrevented())return j;r=true;B&&n.expose().load(w);var I=k.top,z=k.left,v=n.outerWidth({margin:true}),V=n.outerHeight({margin:true});if(typeof I=="string")I=I=="center"?Math.max((A.height()-V)/2,0):parseInt(I,10)/100*A.height();if(z=="center")z=Math.max((A.width()-v)/2,0);if(!k.absolute){I+=A.scrollTop();z+=A.scrollLeft()}n.css({top:I,left:z,position:"absolute"});w.type="onStart";p.trigger(w);b[0].call(j,function(){if(r){w.type="onLoad";
p.trigger(w)}});k.closeOnClick&&e(document).bind("click.overlay",function(M){if(j.isOpened())e(M.target).parents(n).length>1||e.each(m,function(){this.close(M)})});k.closeOnEsc&&e(document).unbind("keydown.overlay").bind("keydown.overlay",function(M){M.keyCode==27&&e.each(m,function(){this.close(M)})});return j},close:function(w){if(!j.isOpened())return j;w=w||e.Event();w.type="onBeforeClose";p.trigger(w);if(!w.isDefaultPrevented()){r=false;o[k.effect][1].call(j,function(){w.type="onClose";p.trigger(w)});
var b=true;e.each(m,function(){if(this.isOpened())b=false});b&&e(document).unbind("click.overlay").unbind("keydown.overlay");return j}},getContent:function(){return n},getOverlay:function(){return n},getTrigger:function(){return f},getClosers:function(){return C},isOpened:function(){return r},getConf:function(){return k},bind:function(w,b){p.bind(w,b);return j},unbind:function(w){p.unbind(w);return j}});e.each("onBeforeLoad,onStart,onLoad,onBeforeClose,onClose".split(","),function(w,b){j[b]=function(I){return j.bind(b,
I)}});if(B){if(typeof k.expose=="string")k.expose={color:k.expose};e.extend(k.expose,{api:true,closeOnClick:k.closeOnClick,closeOnEsc:false});var q=n.expose(k.expose);q.onBeforeClose(function(w){j.close(w)});j.onClose(function(w){q.close(w)})}C=n.find(k.close||".close");if(!C.length&&!k.close){C=e('<div class="close"></div>');n.prepend(C)}C.click(function(w){j.close(w)})}e.tools=e.tools||{};e.tools.overlay={version:"1.1.2",addEffect:function(f,k,j){o[f]=[k,j]},conf:{top:"10%",left:"center",absolute:false,
speed:"normal",closeSpeed:"fast",effect:"default",close:null,oneInstance:true,closeOnClick:true,closeOnEsc:true,api:false,expose:null,target:null}};var o={};e.tools.overlay.addEffect("default",function(f){this.getOverlay().fadeIn(this.getConf().speed,f)},function(f){this.getOverlay().fadeOut(this.getConf().closeSpeed,f)});var m=[];e.fn.overlay=function(f){var k=this.eq(typeof f=="number"?f:0).data("overlay");if(k)return k;if(e.isFunction(f))f={onBeforeLoad:f};var j=e.extend({},e.tools.overlay.conf);
f=e.extend(true,j,f);this.each(function(){k=new s(e(this),f);m.push(k);e(this).data("overlay",k)});return f.api?k:this}})(jQuery);
(function(e){var s=e.tools.overlay;s.plugins=s.plugins||{};s.plugins.gallery={version:"1.0.0",conf:{imgId:"img",next:".next",prev:".prev",info:".info",progress:".progress",disabledClass:"disabled",activeClass:"active",opacity:0.8,speed:"slow",template:"<strong>${title}</strong> <span>Image ${index} of ${total}</span>",autohide:true,preload:true,api:false}};e.fn.gallery=function(o){function m(b){B.fadeIn();J.hide();q.hide();var I=b.attr("href"),z=new Image;z.onload=function(){B.fadeOut();var v=e("#"+
j.imgId,A);if(!v.length){v=e("<img/>").attr("id",j.imgId).css("visibility","hidden");A.prepend(v)}v.attr("src",I).css("visibility","hidden");var V=z.width,M=(e(window).width()-V)/2;w=p.index(p.filter("[href="+I+"]"));p.removeClass(j.activeClass).eq(w).addClass(j.activeClass);var P=j.disabledClass;J.removeClass(P);w===0&&n.addClass(P);w==p.length-1&&C.addClass(P);P=j.template.replace("${title}",b.attr("title")||b.data("title")).replace("${index}",w+1).replace("${total}",p.length);var U=parseInt(r.css("paddingLeft"),
10)+parseInt(r.css("paddingRight"),10);r.html(P).css({width:V-U});A.animate({width:V,height:z.height,left:M},j.speed,function(){v.hide().css("visibility","visible").fadeIn(function(){if(!j.autohide){J.fadeIn();q.show()}})})};z.onerror=function(){A.fadeIn().html("Cannot find image "+I)};z.src=I;j.preload&&p.filter(":eq("+(w-1)+"), :eq("+(w+1)+")").each(function(){(new Image).src=e(this).attr("href")})}function f(b,I){b.click(function(){if(!b.hasClass(j.disabledClass)){var z=p.eq(i=w+(I?1:-1));z.length&&
m(z)}})}function k(){if(!A.is(":animated")){J.show();q.show()}}var j=e.extend({},s.plugins.gallery.conf);e.extend(j,o);o=this.overlay();var p=this,A=o.getOverlay(),C=A.find(j.next),n=A.find(j.prev),r=A.find(j.info),B=A.find(j.progress),J=n.add(C).add(r).css({opacity:j.opacity}),q=o.getClosers(),w;f(C,true);f(n);e(document).keydown(function(b){if(!(!A.is(":visible")||b.altKey||b.ctrlKey)){if(b.keyCode==37||b.keyCode==39){(b.keyCode==37?n:C).click();return b.preventDefault()}return true}});j.autohide&&
A.hover(k,function(){J.fadeOut();q.hide()}).mousemove(k);this.each(function(){var b=e(this),I=e(this).overlay();I.onBeforeLoad(function(){m(b)});I.onClose(function(){p.removeClass(j.activeClass)})});return j.api?void 0:this}})(jQuery);
(function(e){function s(m){var f=m.offset();return[f.top+m.height()/2,f.left+m.width()/2]}var o=e.tools.overlay;o.effects=o.effects||{};o.effects.apple={version:"1.0.1"};e.extend(o.conf,{start:{absolute:true,top:null,left:null},fadeInSpeed:"fast",zIndex:9999});o.addEffect("apple",function(m){var f=this.getOverlay(),k=this.getConf(),j=this.getTrigger(),p=this,A=f.outerWidth({margin:true}),C=f.data("img");if(!C){C=f.css("backgroundImage");if(!C)throw"background-image CSS property not set for overlay";
C=C.substring(C.indexOf("(")+1,C.indexOf(")")).replace(/\"/g,"");f.css("backgroundImage","none");C=e('<img src="'+C+'"/>');C.css({border:0,position:"absolute",display:"none"}).width(A);e("body").append(C);f.data("img",C)}var n=e(window),r=k.start.top||Math.round(n.height()/2),B=k.start.left||Math.round(n.width()/2);if(j){j=s(j);r=j[0];B=j[1]}if(!k.start.absolute){r+=n.scrollTop();B+=n.scrollLeft()}C.css({top:r,left:B,width:0,zIndex:k.zIndex}).show();C.animate({top:f.css("top"),left:f.css("left"),
width:A},k.speed,function(){f.css("zIndex",k.zIndex+1).fadeIn(k.fadeInSpeed,function(){p.isOpened()&&!e(this).index(f)?m.call():f.hide()})})},function(m){var f=this.getOverlay(),k=this.getConf(),j=this.getTrigger(),p=k.start.top,A=k.start.left;f.hide();if(j){j=s(j);p=j[0];A=j[1]}f.data("img").animate({top:p,left:A,width:0},k.closeSpeed,m)})})(jQuery);
(function(e){function s(){if(e.browser.msie){var m=e(document).height(),f=e(window).height();return[window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,m-f<20?f:m]}return[e(window).width(),e(document).height()]}function o(m,f){var k=this,j=e(this),p=null,A=false,C=0;e.each(f,function(n,r){e.isFunction(r)&&j.bind(n,r)});e(window).resize(function(){k.fit()});e.extend(this,{getMask:function(){return p},getExposed:function(){return m},getConf:function(){return f},isLoaded:function(){return A},
load:function(n){if(A)return k;C=m.eq(0).css("zIndex");if(f.maskId)p=e("#"+f.maskId);if(!p||!p.length){var r=s();p=e("<div/>").css({position:"absolute",top:0,left:0,width:r[0],height:r[1],display:"none",opacity:0,zIndex:f.zIndex});f.maskId&&p.attr("id",f.maskId);e("body").append(p);r=p.css("backgroundColor");if(!r||r=="transparent"||r=="rgba(0, 0, 0, 0)")p.css("backgroundColor",f.color);f.closeOnEsc&&e(document).bind("keydown.unexpose",function(J){J.keyCode==27&&k.close()});f.closeOnClick&&p.bind("click.unexpose",
function(J){k.close(J)})}n=n||e.Event();n.type="onBeforeLoad";j.trigger(n);if(n.isDefaultPrevented())return k;e.each(m,function(){var J=e(this);/relative|absolute|fixed/i.test(J.css("position"))||J.css("position","relative")});m.css({zIndex:Math.max(f.zIndex+1,C=="auto"?0:C)});var B=p.height();this.isLoaded()||p.css({opacity:0,display:"block"}).fadeTo(f.loadSpeed,f.opacity,function(){p.height()!=B&&p.css("height",B);n.type="onLoad";j.trigger(n)});A=true;return k},close:function(n){if(!A)return k;
n=n||e.Event();n.type="onBeforeClose";j.trigger(n);if(n.isDefaultPrevented())return k;p.fadeOut(f.closeSpeed,function(){n.type="onClose";j.trigger(n);m.css({zIndex:e.browser.msie?C:null})});A=false;return k},fit:function(){if(p){var n=s();p.css({width:n[0],height:n[1]})}},bind:function(n,r){j.bind(n,r);return k},unbind:function(n){j.unbind(n);return k}});e.each("onBeforeLoad,onLoad,onBeforeClose,onClose".split(","),function(n,r){k[r]=function(B){return k.bind(r,B)}})}e.tools=e.tools||{};e.tools.expose=
{version:"1.0.5",conf:{maskId:null,loadSpeed:"slow",closeSpeed:"fast",closeOnClick:true,closeOnEsc:true,zIndex:9998,opacity:0.8,color:"#456",api:false}};e.fn.expose=function(m){var f=this.eq(typeof m=="number"?m:0).data("expose");if(f)return f;if(typeof m=="string")m={color:m};var k=e.extend({},e.tools.expose.conf);m=e.extend(k,m);this.each(function(){f=new o(e(this),m);e(this).data("expose",f)});return m.api?f:this}})(jQuery);
(function(){function e(q){console.log("$f.fireEvent",[].slice.call(q))}function s(q){if(!q||typeof q!="object")return q;var w=new q.constructor;for(var b in q)if(q.hasOwnProperty(b))w[b]=s(q[b]);return w}function o(q,w){if(q){var b,I=0,z=q.length;if(z===undefined)for(b in q){if(w.call(q[b],b,q[b])===false)break}else for(b=q[0];I<z&&w.call(b,I,b)!==false;b=q[++I]);return q}}function m(q){return document.getElementById(q)}function f(q,w,b){if(typeof w!="object")return q;q&&w&&o(w,function(I,z){if(!b||
typeof z!="function")q[I]=z});return q}function k(q){var w=q.indexOf(".");if(w!=-1){var b=q.substring(0,w)||"*",I=q.substring(w+1,q.length),z=[];o(document.getElementsByTagName(b),function(){this.className&&this.className.indexOf(I)!=-1&&z.push(this)});return z}}function j(q){q=q||window.event;if(q.preventDefault){q.stopPropagation();q.preventDefault()}else{q.returnValue=false;q.cancelBubble=true}return false}function p(q,w,b){q[w]=q[w]||[];q[w].push(b)}function A(){return"_"+(""+Math.random()).substring(2,
10)}function C(q,w,b){function I(){function R(O){!z.isLoaded()&&z._fireEvent("onBeforeClick")!==false&&z.load();return j(O)}if($f(q)){$f(q).getParent().innerHTML="";ga=$f(q).getIndex();J[ga]=z}else{J.push(z);ga=J.length-1}na=parseInt(q.style.height,10)||q.clientHeight;if(typeof w=="string")w={src:w};Z=q.id||"fp"+A();ca=w.id||Z+"_api";w.id=ca;b.playerId=Z;if(typeof b=="string")b={clip:{url:b}};if(typeof b.clip=="string")b.clip={url:b.clip};b.clip=b.clip||{};if(q.getAttribute("href",2)&&!b.clip.url)b.clip.url=
q.getAttribute("href",2);M=new r(b.clip,-1,z);b.playlist=b.playlist||[b.clip];var X=0;o(b.playlist,function(){var O=this;if(typeof O=="object"&&O.length)O={url:""+O};o(b.clip,function(ba,fa){if(fa!==undefined&&O[ba]===undefined&&typeof fa!="function")O[ba]=fa});b.playlist[X]=O;O=new r(O,X,z);P.push(O);X++});o(b,function(O,ba){if(typeof ba=="function"){M[O]?M[O](ba):p(K,O,ba);delete b[O]}});o(b.plugins,function(O,ba){if(ba)U[O]=new B(O,ba,z)});if(!b.plugins||b.plugins.controls===undefined)U.controls=
new B("controls",null,z);U.canvas=new B("canvas",null,z);w.bgcolor=w.bgcolor||"#000000";w.version=w.version||[9,0];w.expressInstall="http://www.flowplayer.org/swf/expressinstall.swf";V=q.innerHTML;if(V.replace(/\s/g,"")!=="")if(q.addEventListener)q.addEventListener("click",R,false);else q.attachEvent&&q.attachEvent("onclick",R);else{q.addEventListener&&q.addEventListener("click",j,false);z.load()}}var z=this,v=null,V,M,P=[],U={},K={},Z,ca,ga,ha,la,na;f(z,{id:function(){return Z},isLoaded:function(){return v!==
null},getParent:function(){return q},hide:function(R){if(R)q.style.height="0px";if(v)v.style.height="0px";return z},show:function(){q.style.height=na+"px";if(v)v.style.height=la+"px";return z},isHidden:function(){return v&&parseInt(v.style.height,10)===0},load:function(R){if(!v&&z._fireEvent("onBeforeLoad")!==false){o(J,function(){this.unload()});if((V=q.innerHTML)&&!flashembed.isSupported(w.version))q.innerHTML="";flashembed(q,w,{config:b});if(R){R.cached=true;p(K,"onLoad",R)}}return z},unload:function(){if(V.replace(/\s/g,
"")!==""){if(z._fireEvent("onBeforeUnload")===false)return z;try{if(v){v.fp_close();z._fireEvent("onUnload")}}catch(R){}v=null;q.innerHTML=V}return z},getClip:function(R){if(R===undefined)R=ha;return P[R]},getCommonClip:function(){return M},getPlaylist:function(){return P},getPlugin:function(R){var X=U[R];if(!X&&z.isLoaded()){var O=z._api().fp_getPlugin(R);if(O){X=new B(R,O,z);U[R]=X}}return X},getScreen:function(){return z.getPlugin("screen")},getControls:function(){return z.getPlugin("controls")},
getConfig:function(R){return R?s(b):b},getFlashParams:function(){return w},loadPlugin:function(R,X,O,ba){if(typeof O=="function"){ba=O;O={}}var fa=ba?A():"_";z._api().fp_loadPlugin(R,X,O,fa);X={};X[fa]=ba;ba=new B(R,null,z,X);return U[R]=ba},getState:function(){return v?v.fp_getState():-1},play:function(R,X){function O(){R!==undefined?z._api().fp_play(R,X):z._api().fp_play()}v?O():z.load(function(){O()});return z},getVersion:function(){if(v){var R=v.fp_getVersion();R.push("flowplayer.js 3.1.4");return R}return"flowplayer.js 3.1.4"},
_api:function(){if(!v)throw"Flowplayer "+z.id()+" not loaded when calling an API method";return v},setClip:function(R){z.setPlaylist([R]);return z},getIndex:function(){return ga}});o("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut".split(","),function(){var R="on"+this;if(R.indexOf("*")!=-1){R=R.substring(0,R.length-1);var X="onBefore"+R.substring(2);z[X]=function(O){p(K,X,O);return z}}z[R]=function(O){p(K,R,O);return z}});
o("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,toggleFullscreen,reset,close,setPlaylist,addClip,playFeed".split(","),function(){var R=this;z[R]=function(X,O){if(!v)return z;var ba=null;ba=X!==undefined&&O!==undefined?v["fp_"+R](X,O):X===undefined?v["fp_"+R]():v["fp_"+R](X);return ba==="undefined"||ba===undefined?z:ba}});z._fireEvent=function(R){if(typeof R=="string")R=[R];var X=R[0],O=R[1],ba=R[2],fa=
R[3],oa=0;b.debug&&e(R);if(!v&&X=="onLoad"&&O=="player"){v=v||m(ca);la=v.clientHeight;o(P,function(){this._fireEvent("onLoad")});o(U,function(ua,va){va._fireEvent("onUpdate")});M._fireEvent("onLoad")}if(!(X=="onLoad"&&O!="player")){if(X=="onError")if(typeof O=="string"||typeof O=="number"&&typeof ba=="number"){O=ba;ba=fa}if(X=="onContextMenu")o(b.contextMenu[O],function(ua,va){va.call(z)});else if(X=="onPluginEvent"){if(fa=U[O.name||O]){fa._fireEvent("onUpdate",O);fa._fireEvent(ba,R.slice(3))}}else{if(X==
"onPlaylistReplace"){P=[];var xa=0;o(O,function(){P.push(new r(this,xa++,z))})}if(X=="onClipAdd"){if(O.isInStream)return;O=new r(O,ba,z);P.splice(ba,0,O);for(oa=ba+1;oa<P.length;oa++)P[oa].index++}var ma=true;if(typeof O=="number"&&O<P.length){ha=O;if(R=P[O])ma=R._fireEvent(X,ba,fa);if(!R||ma!==false)ma=M._fireEvent(X,ba,fa,R)}o(K[X],function(){ma=this.call(z,O,ba);this.cached&&K[X].splice(oa,1);if(ma===false)return false;oa++});return ma}}};typeof q=="string"?flashembed.domReady(function(){var R=
m(q);if(R){q=R;I()}else throw"Flowplayer cannot access element: "+q;}):I()}function n(q){this.length=q.length;this.each=function(w){o(q,w)};this.size=function(){return q.length}}var r=function(q,w,b){var I=this,z={},v={};I.index=w;if(typeof q=="string")q={url:q};f(this,q,true);o("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop".split(","),function(){var M="on"+this;if(M.indexOf("*")!=-1){M=M.substring(0,M.length-1);var P="onBefore"+M.substring(2);
I[P]=function(U){p(v,P,U);return I}}I[M]=function(U){p(v,M,U);return I};if(w==-1){if(I[P])b[P]=I[P];if(I[M])b[M]=I[M]}});f(this,{onCuepoint:function(M,P){if(arguments.length==1){z.embedded=[null,M];return I}if(typeof M=="number")M=[M];var U=A();z[U]=[M,P];b.isLoaded()&&b._api().fp_addCuepoints(M,w,U);return I},update:function(M){f(I,M);b.isLoaded()&&b._api().fp_updateClip(M,w);var P=b.getConfig();f(w==-1?P.clip:P.playlist[w],M,true)},_fireEvent:function(M,P,U,K){if(M=="onLoad"){o(z,function(ga,ha){ha[0]&&
b._api().fp_addCuepoints(ha[0],w,ga)});return false}K=K||I;if(M=="onCuepoint"){var Z=z[P];if(Z)return Z[1].call(b,K,U)}if(P&&"onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(M)!=-1){f(K,P);if(P.metaData)if(K.duration)K.fullDuration=P.metaData.duration;else K.duration=P.metaData.duration}var ca=true;o(v[M],function(){ca=this.call(b,K,P,U)});return ca}});if(q.onCuepoint){var V=q.onCuepoint;I.onCuepoint.apply(I,typeof V=="function"?[V]:V);delete q.onCuepoint}o(q,function(M,P){if(typeof P==
"function"){p(v,M,P);delete q[M]}});if(w==-1)b.onCuepoint=this.onCuepoint},B=function(q,w,b,I){var z={},v=this,V=false;I&&f(z,I);o(w,function(M,P){if(typeof P=="function"){z[M]=P;delete w[M]}});f(this,{animate:function(M,P,U){if(!M)return v;if(typeof P=="function"){U=P;P=500}if(typeof M=="string"){var K=M;M={};M[K]=P;P=500}if(U){var Z=A();z[Z]=U}if(P===undefined)P=500;w=b._api().fp_animate(q,M,P,Z);return v},css:function(M,P){if(P!==undefined){var U={};U[M]=P;M=U}w=b._api().fp_css(q,M);f(v,w);return v},
show:function(){this.display="block";b._api().fp_showPlugin(q);return v},hide:function(){this.display="none";b._api().fp_hidePlugin(q);return v},toggle:function(){this.display=b._api().fp_togglePlugin(q);return v},fadeTo:function(M,P,U){if(typeof P=="function"){U=P;P=500}if(U){var K=A();z[K]=U}this.display=b._api().fp_fadeTo(q,M,P,K);this.opacity=M;return v},fadeIn:function(M,P){return v.fadeTo(1,M,P)},fadeOut:function(M,P){return v.fadeTo(0,M,P)},getName:function(){return q},getPlayer:function(){return b},
_fireEvent:function(M,P){if(M=="onUpdate"){var U=b._api().fp_getPlugin(q);if(!U)return;f(v,U);delete v.methods;if(!V){o(U.methods,function(){var K=""+this;v[K]=function(){var Z=[].slice.call(arguments);Z=b._api().fp_invoke(q,K,Z);return Z==="undefined"||Z===undefined?v:Z}});V=true}}if(U=z[M]){U.apply(v,P);M.substring(0,1)=="_"&&delete z[M]}}})},J=[];window.flowplayer=window.$f=function(){var q=null,w=arguments[0];if(!arguments.length){o(J,function(){if(this.isLoaded()){q=this;return false}});return q||
J[0]}if(arguments.length==1)if(typeof w=="number")return J[w];else{if(w=="*")return new n(J);o(J,function(){if(this.id()==w.id||this.id()==w||this.getParent()==w){q=this;return false}});return q}if(arguments.length>1){var b=arguments[1],I=arguments.length==3?arguments[2]:{};if(typeof w=="string")if(w.indexOf(".")!=-1){var z=[];o(k(w),function(){z.push(new C(this,s(b),s(I)))});return new n(z)}else{var v=m(w);return new C(v!==null?v:w,b,I)}else if(w)return new C(w,b,I)}return null};f(window.$f,{fireEvent:function(){var q=
[].slice.call(arguments),w=$f(q[0]);return w?w._fireEvent(q.slice(1)):null},addPlugin:function(q,w){C.prototype[q]=w;return $f},each:o,extend:f});if(typeof jQuery=="function")jQuery.prototype.flowplayer=function(q,w){if(!arguments.length||typeof arguments[0]=="number"){var b=[];this.each(function(){var I=$f(this);I&&b.push(I)});return arguments.length?b[arguments[0]]:new n(b)}return this.each(function(){$f(this,s(q),w?s(w):{})})}})();
(function(){function e(){if(C.done)return false;var n=document;if(n&&n.getElementsByTagName&&n.getElementById&&n.body){clearInterval(C.timer);C.timer=null;for(n=0;n<C.ready.length;n++)C.ready[n].call();C.ready=null;C.done=true}}function s(n,r){if(r)for(key in r)if(r.hasOwnProperty(key))n[key]=r[key];return n}function o(n){switch(m(n)){case "string":n=n.replace(new RegExp('(["\\\\])',"g"),"\\$1");n=n.replace(/^\s?(\d+)%/,"$1pct");return'"'+n+'"';case "array":return"["+f(n,function(J){return o(J)}).join(",")+
"]";case "function":return'"function()"';case "object":var r=[];for(var B in n)n.hasOwnProperty(B)&&r.push('"'+B+'":'+o(n[B]));return"{"+r.join(",")+"}"}return String(n).replace(/\s/g," ").replace(/\'/g,'"')}function m(n){if(n===null||n===undefined)return false;var r=typeof n;return r=="object"&&n.push?"array":r}function f(n,r){var B=[];for(var J in n)if(n.hasOwnProperty(J))B[J]=r(n[J]);return B}function k(n,r){var B=s({},n),J=document.all;n='<object width="'+B.width+'" height="'+B.height+'"';if(J&&
!B.id)B.id="_"+(""+Math.random()).substring(9);if(B.id)n+=' id="'+B.id+'"';if(B.cachebusting)B.src+=(B.src.indexOf("?")!=-1?"&":"?")+Math.random();n+=B.w3c||!J?' data="'+B.src+'" type="application/x-shockwave-flash"':' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';n+=">";if(B.w3c||J)n+='<param name="movie" value="'+B.src+'" />';B.width=B.height=B.id=B.w3c=B.src=null;for(var q in B)if(B[q]!==null)n+='<param name="'+q+'" value="'+B[q]+'" />';q="";if(r){for(var w in r)if(r[w]!==null)q+=w+"="+
(typeof r[w]=="object"?o(r[w]):r[w])+"&";q=q.substring(0,q.length-1);n+='<param name="flashvars" value=\''+q+"' />"}n+="</object>";return n}function j(n,r,B){var J=flashembed.getVersion();s(this,{getContainer:function(){return n},getConf:function(){return r},getVersion:function(){return J},getFlashvars:function(){return B},getApi:function(){return n.firstChild},getHTML:function(){return k(r,B)}});var q=r.version,w=r.expressInstall,b=!q||flashembed.isSupported(q);if(b){r.onFail=r.version=r.expressInstall=
null;n.innerHTML=k(r,B)}else if(q&&w&&flashembed.isSupported([6,65])){s(r,{src:w});B={MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title};n.innerHTML=k(r,B)}else if(n.innerHTML.replace(/\s/g,"")===""){n.innerHTML="<h2>Flash version "+q+" or greater is required</h2><h3>"+(J[0]>0?"Your version is "+J:"You have no flash plugin installed")+"</h3>"+(n.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='http://www.adobe.com/go/getflashplayer'>here</a></p>");
if(n.tagName=="A")n.onclick=function(){location.href="http://www.adobe.com/go/getflashplayer"}}if(!b&&r.onFail){q=r.onFail.call(this);if(typeof q=="string")n.innerHTML=q}if(document.all)window[r.id]=document.getElementById(r.id)}var p=typeof jQuery=="function",A={width:"100%",height:"100%",allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:null,onFail:null,expressInstall:null,w3c:false,cachebusting:false};if(p){jQuery.tools=jQuery.tools||{};jQuery.tools.flashembed={version:"1.0.4",
conf:A}}var C=p?jQuery:function(n){if(C.done)return n();if(C.timer)C.ready.push(n);else{C.ready=[n];C.timer=setInterval(e,13)}};window.attachEvent&&window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}});window.flashembed=function(n,r,B){if(typeof n=="string"){var J=document.getElementById(n);if(J)n=J;else{C(function(){flashembed(n,r,B)});return}}if(n){if(typeof r=="string")r={src:r};J=s({},A);s(J,r);return new j(n,J,B)}};s(window.flashembed,
{getVersion:function(){var n=[0,0];if(navigator.plugins&&typeof navigator.plugins["Shockwave Flash"]=="object"){var r=navigator.plugins["Shockwave Flash"].description;if(typeof r!="undefined"){r=r.replace(/^.*\s+(\S+\s+\S+$)/,"$1");n=parseInt(r.replace(/^(.*)\..*$/,"$1"),10);r=/r/.test(r)?parseInt(r.replace(/^.*r(.*)$/,"$1"),10):0;n=[n,r]}}else if(window.ActiveXObject){try{r=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(B){try{r=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");n=
[6,0];r.AllowScriptAccess="always"}catch(J){if(n[0]==6)return n}try{r=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(q){}}if(typeof r=="object"){r=r.GetVariable("$version");if(typeof r!="undefined"){r=r.replace(/^\S+\s+(.*)$/,"$1").split(",");n=[parseInt(r[0],10),parseInt(r[2],10)]}}}return n},isSupported:function(n){var r=flashembed.getVersion();return r[0]>n[0]||r[0]==n[0]&&r[1]>=n[1]},domReady:C,asString:o,getHTML:k});if(p)jQuery.fn.flashembed=function(n,r){var B=null;this.each(function(){B=
flashembed(this,n,r)});return n.api===false?this:B}})();
$f.addPlugin("controls",function(e,s){function o(K){if(typeof K=="undefined")K=window.event;if(typeof K.layerX=="undefined")K.layerX=K.offsetX;if(typeof K.layerY=="undefined")K.layerY=K.offsetY;return K}function m(K){return K.clientWidth}function f(K){return K.offsetLeft}function k(K,Z,ca,ga){function ha(){}function la(O){if(O>ca)return false;if(O<Z)return false;K.style.left=O+"px";return true}function na(){document.onmousemove=null;document.onmouseup=null;K.onDragEnd(parseInt(K.style.left,10));X=
false}function R(O){O=o(O);O=O.clientX-ga;if(la(O)){X=true;K.onDrag(O)}return false}var X=false;K.onDragStart=K.onDragStart||ha;K.onDragEnd=K.onDragEnd||ha;K.onDrag=K.onDrag||ha;K.onmousedown=function(O){o(O);K.onDragStart(parseInt(K.style.left,10));document.onmousemove=R;document.onmouseup=na;return false};this.dragTo=function(O){la(O)&&K.onDragEnd(O)};this.setMax=function(O){ca=O};this.isDragging=function(){return X};return this}function j(K,Z){if(Z)for(key in Z)if(key)K[key]=Z[key]}function p(K){var Z=
e.getElementsByTagName("*");K=new RegExp("(^|\\s)"+K+"(\\s|$)");for(var ca=0;ca<Z.length;ca++)if(K.test(Z[ca].className))return Z[ca]}function A(K){K=parseInt(K,10);return K>=10?K:"0"+K}function C(K){var Z=Math.floor(K/3600),ca=Math.floor(K/60);K-=ca*60;if(Z>=1){ca-=Z*60;return A(Z)+":"+A(ca)+":"+A(K)}return A(ca)+":"+A(K)}function n(K,Z){return"<span>"+C(K)+"</span> <strong>"+C(Z)+"</strong>"}function r(K,Z){K=parseInt(Math.min(K/Z*v,v-V/2),10);return isNaN(K)?0:K}var B=this,J={playHeadClass:"playhead",
trackClass:"track",playClass:"play",pauseClass:"pause",bufferClass:"buffer",progressClass:"progress",timeClass:"time",muteClass:"mute",unmuteClass:"unmute",duration:0,template:'<a class="play">play</a><div class="track"><div class="buffer"></div><div class="progress"></div><div class="playhead"></div></div><div class="time"></div><a class="mute">mute</a>'};j(J,s);if(typeof e=="string")e=document.getElementById(e);if(e){if(!e.innerHTML.replace(/\s/g,""))e.innerHTML=J.template;var q=p(J.playHeadClass),
w=p(J.bufferClass),b=p(J.progressClass);s=p(J.trackClass);var I=p(J.timeClass),z=p(J.muteClass);I.innerHTML=n(0,J.duration);var v=m(s),V=m(q),M=new k(q,0,0,f(e)+f(s)+V/2);s.onclick=function(K){K=o(K);if(K.target==q)return false;M.dragTo(K.layerX-V/2)};var P=p(J.playClass);P.onclick=function(){B.isLoaded()?B.toggle():B.play()};z.onclick=function(){B.getStatus().muted?B.unmute():B.mute()};var U=null;B.onStart(function(K){var Z=K.duration||0;clearInterval(U);U=setInterval(function(){var ca=B.getStatus();
if(ca.time)I.innerHTML=n(ca.time,K.duration);if(ca.time===undefined)clearInterval(U);else{var ga=r(ca.bufferEnd,Z);w.style.width=ga+"px";M.setMax(ga);if(!B.isPaused()&&!M.isDragging()){ga=r(ca.time,Z);b.style.width=ga+"px";q.style.left=ga-V/2+"px"}}},500)});B.onBegin(function(){P.className=J.pauseClass});B.onPause(function(){P.className=J.playClass});B.onResume(function(){P.className=J.pauseClass});B.onMute(function(){z.className=J.unmuteClass});B.onUnmute(function(){z.className=J.muteClass});B.onFinish(function(){clearInterval(U)});
B.onUnload(function(){I.innerHTML=n(0,J.duration)});q.onDragEnd=function(K){var Z=parseInt(K/v*100,10)+"%";b.style.width=K+"px";B.isLoaded()&&B.seek(Z)};q.onDrag=function(K){b.style.width=K+"px"};return B}});
(function(e){$f.addPlugin("playlist",function(s,o){function m(q){var w=J;e.each(q,function(b,I){e.isFunction(I)||(w=w.replace("${"+b+"}",I).replace("$%7B"+b+"%7D",I))});return w}function f(){B=s.children().unbind("click.playlist").bind("click.playlist",function(){return j(e(this),B.index(this))})}function k(){s.empty();e.each(C.getPlaylist(),function(){s.append(m(this))});f()}function j(q,w){if(q.hasClass(n.playingClass)||q.hasClass(n.pausedClass))C.toggle();else{q.addClass(n.progressClass);C.play(w)}return false}
function p(){if(r)B=s.children();B.removeClass(n.playingClass);B.removeClass(n.pausedClass);B.removeClass(n.progressClass)}function A(q){var w=q.isInStream?q.parentUrl:q.originalUrl;return r?B.filter("[href="+w+"]"):B.eq(q.index)}var C=this,n={playingClass:"playing",pausedClass:"paused",progressClass:"progress",template:'<a href="${url}">${title}</a>',loop:false,playOnClick:true,manual:false};e.extend(n,o);s=e(s);var r=C.getPlaylist().length<=1||n.manual,B=null;if(r){B=s.children();e.isFunction(B.live)?
e(s.selector+"> *").live("click",function(){var q=e(this);return j(q,q.attr("href"))}):B.click(function(){var q=e(this);return j(q,q.attr("href"))});o=C.getClip(0);!o.url&&n.playOnClick&&o.update({url:B.eq(0).attr("href")})}else{var J=s.is(":empty")?n.template:s.html();k()}C.onBegin(function(q){p();A(q).addClass(n.playingClass)});C.onPause(function(q){A(q).removeClass(n.playingClass).addClass(n.pausedClass)});C.onResume(function(q){A(q).removeClass(n.pausedClass).addClass(n.playingClass)});!n.loop&&
!r&&C.onBeforeFinish(function(q){if(!q.isInStream&&q.index<B.length-1)return false});r&&n.loop&&C.onBeforeFinish(function(q){if(!q.isInStream){q=A(q);q.next().length?q.next().click():B.eq(0).click();return false}});C.onUnload(function(){p()});r||C.onPlaylistReplace(function(){k()});C.onClipAdd(function(q,w){B.eq(w).before(m(q));f()});return C})})(jQuery);
(function(){function e(s,o){if(s.substring(0,4)=="http")return s;if(o)return o+(o.substring(o.length-1)!="/"?"/":"")+s;o=location.protocol+"//"+location.host;if(s.substring(0,1)=="/")return o+s;var m=location.pathname;m=m.substring(0,m.lastIndexOf("/"));return o+m+"/"+s}$f.addPlugin("embed",function(s){var o=this,m=o.getConfig(true),f={width:o.getParent().clientWidth||"100%",height:o.getParent().clientHeight||"100%",url:e(o.getFlashParams().src),index:-1,id:"_"+(""+Math.random()).substring(2,10),
allowfullscreen:true,allowscriptaccess:"always"};$f.extend(f,s);f.src=f.url;f.w3c=true;delete m.playerId;delete f.url;delete f.index;this.getEmbedCode=function(k,j){j=typeof j=="number"?j:f.index;if(j>=0)m.playlist=[o.getPlaylist()[j]];j=0;$f.each(m.playlist,function(){m.playlist[j++].url=e(this.url,this.baseUrl)});var p=flashembed.getHTML(f,{config:m});k||(p=p.replace(/\</g,"&lt;").replace(/\>/g,"&gt;"));return p};return o})})();
jQuery.ui||function(e){e.ui={version:"1.8",plugin:{add:function(s,o,m){s=e.ui[s].prototype;for(var f in m){s.plugins[f]=s.plugins[f]||[];s.plugins[f].push([o,m[f]])}},call:function(s,o,m){if((o=s.plugins[o])&&s.element[0].parentNode)for(var f=0;f<o.length;f++)s.options[o[f][0]]&&o[f][1].apply(s.element,m)}},contains:function(s,o){return document.compareDocumentPosition?s.compareDocumentPosition(o)&16:s!==o&&s.contains(o)},hasScroll:function(s,o){if(e(s).css("overflow")=="hidden")return false;o=o&&
o=="left"?"scrollLeft":"scrollTop";var m=false;if(s[o]>0)return true;s[o]=1;m=s[o]>0;s[o]=0;return m},isOverAxis:function(s,o,m){return s>o&&s<o+m},isOver:function(s,o,m,f,k,j){return e.ui.isOverAxis(s,m,k)&&e.ui.isOverAxis(o,f,j)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,
RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};e.fn.extend({_focus:e.fn.focus,focus:function(s,o){return typeof s==="number"?this.each(function(){var m=this;setTimeout(function(){e(m).focus();o&&o.call(m)},s)}):this._focus.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var s;
s=e.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.curCSS(this,"position",1))&&/(auto|scroll)/.test(e.curCSS(this,"overflow",1)+e.curCSS(this,"overflow-y",1)+e.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(e.curCSS(this,"overflow",1)+e.curCSS(this,"overflow-y",1)+e.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||
!s.length?e(document):s},zIndex:function(s){if(s!==undefined)return this.css("zIndex",s);if(this.length){s=e(this[0]);for(var o;s.length&&s[0]!==document;){o=s.css("position");if(o=="absolute"||o=="relative"||o=="fixed"){o=parseInt(s.css("zIndex"));if(!isNaN(o)&&o!=0)return o}s=s.parent()}}return 0}});e.extend(e.expr[":"],{data:function(s,o,m){return!!e.data(s,m[3])},focusable:function(s){var o=s.nodeName.toLowerCase(),m=e.attr(s,"tabindex");return(/input|select|textarea|button|object/.test(o)?!s.disabled:
"a"==o||"area"==o?s.href||!isNaN(m):!isNaN(m))&&!e(s)["area"==o?"parents":"closest"](":hidden").length},tabbable:function(s){var o=e.attr(s,"tabindex");return(isNaN(o)||o>=0)&&e(s).is(":focusable")}})}(jQuery);
(function(e){var s=e.fn.remove;e.fn.remove=function(o,m){return this.each(function(){if(!m)if(!o||e.filter(o,[this]).length)e("*",this).add(this).each(function(){e(this).triggerHandler("remove")});return s.call(e(this),o,m)})};e.widget=function(o,m,f){var k=o.split(".")[0],j;o=o.split(".")[1];j=k+"-"+o;if(!f){f=m;m=e.Widget}e.expr[":"][j]=function(p){return!!e.data(p,o)};e[k]=e[k]||{};e[k][o]=function(p,A){arguments.length&&this._createWidget(p,A)};m=new m;m.options=e.extend({},m.options);e[k][o].prototype=
e.extend(true,m,{namespace:k,widgetName:o,widgetEventPrefix:e[k][o].prototype.widgetEventPrefix||o,widgetBaseClass:j},f);e.widget.bridge(o,e[k][o])};e.widget.bridge=function(o,m){e.fn[o]=function(f){var k=typeof f==="string",j=Array.prototype.slice.call(arguments,1),p=this;f=!k&&j.length?e.extend.apply(null,[true,f].concat(j)):f;if(k&&f.substring(0,1)==="_")return p;k?this.each(function(){var A=e.data(this,o),C=A&&e.isFunction(A[f])?A[f].apply(A,j):A;if(C!==A&&C!==undefined){p=C;return false}}):this.each(function(){var A=
e.data(this,o);if(A){f&&A.option(f);A._init()}else e.data(this,o,new m(f,this))});return p}};e.Widget=function(o,m){arguments.length&&this._createWidget(o,m)};e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(o,m){this.element=e(m).data(this.widgetName,this);this.options=e.extend(true,{},this.options,e.metadata&&e.metadata.get(m)[this.widgetName],o);var f=this;this.element.bind("remove."+this.widgetName,function(){f.destroy()});this._create();
this._init()},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled")},widget:function(){return this.element},option:function(o,m){var f=o,k=this;if(arguments.length===0)return e.extend({},k.options);if(typeof o==="string"){if(m===undefined)return this.options[o];f={};f[o]=m}e.each(f,
function(j,p){k._setOption(j,p)});return k},_setOption:function(o,m){this.options[o]=m;if(o==="disabled")this.widget()[m?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",m);return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(o,m,f){var k=this.options[o];m=e.Event(m);m.type=(o===this.widgetEventPrefix?o:this.widgetEventPrefix+o).toLowerCase();
f=f||{};if(m.originalEvent){o=e.event.props.length;for(var j;o;){j=e.event.props[--o];m[j]=m.originalEvent[j]}}this.element.trigger(m,f);return!(e.isFunction(k)&&k.call(this.element[0],m,f)===false||m.isDefaultPrevented())}}})(jQuery);
(function(e){var s=0,o=0;e.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading&#8230;</em>",tabTemplate:'<li><a href="#{href}"><span>#{label}</span></a></li>'},_create:function(){this._tabify(true)},_setOption:function(m,f){if(m=="selected")this.options.collapsible&&f==this.options.selected||
this.select(f);else{this.options[m]=f;this._tabify()}},_tabId:function(m){return m.title&&m.title.replace(/\s/g,"_").replace(/[^A-Za-z0-9\-_:\.]/g,"")||this.options.idPrefix+ ++s},_sanitizeSelector:function(m){return m.replace(/:/g,"\\:")},_cookie:function(){var m=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+ ++o);return e.cookie.apply(null,[m].concat(e.makeArray(arguments)))},_ui:function(m,f){return{tab:m,panel:f,index:this.anchors.index(m)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var m=
e(this);m.html(m.data("label.tabs")).removeData("label.tabs")})},_tabify:function(m){function f(w,b){w.css({display:""});!e.support.opacity&&b.opacity&&w[0].style.removeAttribute("filter")}this.list=this.element.find("ol,ul").eq(0);this.lis=e("li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return e("a",this)[0]});this.panels=e([]);var k=this,j=this.options,p=/^#.+/;this.anchors.each(function(w,b){var I=e(b).attr("href"),z=I.split("#")[0],v;if(z&&(z===location.toString().split("#")[0]||
(v=e("base")[0])&&z===v.href)){I=b.hash;b.href=I}if(p.test(I))k.panels=k.panels.add(k._sanitizeSelector(I));else if(I!="#"){e.data(b,"href.tabs",I);e.data(b,"load.tabs",I.replace(/#.*$/,""));I=k._tabId(b);b.href="#"+I;b=e("#"+I);if(!b.length){b=e(j.panelTemplate).attr("id",I).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(k.panels[w-1]||k.list);b.data("destroy.tabs",true)}k.panels=k.panels.add(b)}else j.disabled.push(w)});if(m){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all");
this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(j.selected===undefined){location.hash&&this.anchors.each(function(w,b){if(b.hash==location.hash){j.selected=w;return false}});if(typeof j.selected!="number"&&j.cookie)j.selected=parseInt(k._cookie(),10);if(typeof j.selected!="number"&&this.lis.filter(".ui-tabs-selected").length)j.selected=
this.lis.index(this.lis.filter(".ui-tabs-selected"));j.selected=j.selected||(this.lis.length?0:-1)}else if(j.selected===null)j.selected=-1;j.selected=j.selected>=0&&this.anchors[j.selected]||j.selected<0?j.selected:0;j.disabled=e.unique(j.disabled.concat(e.map(this.lis.filter(".ui-state-disabled"),function(w){return k.lis.index(w)}))).sort();e.inArray(j.selected,j.disabled)!=-1&&j.disabled.splice(e.inArray(j.selected,j.disabled),1);this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active");
if(j.selected>=0&&this.anchors.length){this.panels.eq(j.selected).removeClass("ui-tabs-hide");this.lis.eq(j.selected).addClass("ui-tabs-selected ui-state-active");k.element.queue("tabs",function(){k._trigger("show",null,k._ui(k.anchors[j.selected],k.panels[j.selected]))});this.load(j.selected)}e(window).bind("unload",function(){k.lis.add(k.anchors).unbind(".tabs");k.lis=k.anchors=k.panels=null})}else j.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));this.element[j.collapsible?"addClass":
"removeClass"]("ui-tabs-collapsible");j.cookie&&this._cookie(j.selected,j.cookie);m=0;for(var A;A=this.lis[m];m++)e(A)[e.inArray(m,j.disabled)!=-1&&!e(A).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");j.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(j.event!="mouseover"){var C=function(w,b){b.is(":not(.ui-state-disabled)")&&b.addClass("ui-state-"+w)},n=function(w,b){b.removeClass("ui-state-"+w)};this.lis.bind("mouseover.tabs",
function(){C("hover",e(this))});this.lis.bind("mouseout.tabs",function(){n("hover",e(this))});this.anchors.bind("focus.tabs",function(){C("focus",e(this).closest("li"))});this.anchors.bind("blur.tabs",function(){n("focus",e(this).closest("li"))})}var r,B;if(j.fx)if(e.isArray(j.fx)){r=j.fx[0];B=j.fx[1]}else r=B=j.fx;var J=B?function(w,b){e(w).closest("li").addClass("ui-tabs-selected ui-state-active");b.hide().removeClass("ui-tabs-hide").animate(B,B.duration||"normal",function(){f(b,B);k._trigger("show",
null,k._ui(w,b[0]))})}:function(w,b){e(w).closest("li").addClass("ui-tabs-selected ui-state-active");b.removeClass("ui-tabs-hide");k._trigger("show",null,k._ui(w,b[0]))},q=r?function(w,b){b.animate(r,r.duration||"normal",function(){k.lis.removeClass("ui-tabs-selected ui-state-active");b.addClass("ui-tabs-hide");f(b,r);k.element.dequeue("tabs")})}:function(w,b){k.lis.removeClass("ui-tabs-selected ui-state-active");b.addClass("ui-tabs-hide");k.element.dequeue("tabs")};this.anchors.bind(j.event+".tabs",
function(){var w=this,b=e(this).closest("li"),I=k.panels.filter(":not(.ui-tabs-hide)"),z=e(k._sanitizeSelector(this.hash));if(b.hasClass("ui-tabs-selected")&&!j.collapsible||b.hasClass("ui-state-disabled")||b.hasClass("ui-state-processing")||k._trigger("select",null,k._ui(this,z[0]))===false){this.blur();return false}j.selected=k.anchors.index(this);k.abort();if(j.collapsible)if(b.hasClass("ui-tabs-selected")){j.selected=-1;j.cookie&&k._cookie(j.selected,j.cookie);k.element.queue("tabs",function(){q(w,
I)}).dequeue("tabs");this.blur();return false}else if(!I.length){j.cookie&&k._cookie(j.selected,j.cookie);k.element.queue("tabs",function(){J(w,z)});k.load(k.anchors.index(this));this.blur();return false}j.cookie&&k._cookie(j.selected,j.cookie);if(z.length){I.length&&k.element.queue("tabs",function(){q(w,I)});k.element.queue("tabs",function(){J(w,z)});k.load(k.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier.";e.browser.msie&&this.blur()});this.anchors.bind("click.tabs",
function(){return false})},destroy:function(){var m=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var f=e.data(this,"href.tabs");if(f)this.href=f;var k=e(this).unbind(".tabs");e.each(["href","load","cache"],function(j,p){k.removeData(p+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){e.data(this,
"destroy.tabs")?e(this).remove():e(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});m.cookie&&this._cookie(null,m.cookie);return this},add:function(m,f,k){if(k===undefined)k=this.anchors.length;var j=this,p=this.options;f=e(p.tabTemplate.replace(/#\{href\}/g,m).replace(/#\{label\}/g,f));m=!m.indexOf("#")?m.replace("#",""):this._tabId(e("a",f)[0]);f.addClass("ui-state-default ui-corner-top").data("destroy.tabs",
true);var A=e("#"+m);A.length||(A=e(p.panelTemplate).attr("id",m).data("destroy.tabs",true));A.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(k>=this.lis.length){f.appendTo(this.list);A.appendTo(this.list[0].parentNode)}else{f.insertBefore(this.lis[k]);A.insertBefore(this.panels[k])}p.disabled=e.map(p.disabled,function(C){return C>=k?++C:C});this._tabify();if(this.anchors.length==1){p.selected=0;f.addClass("ui-tabs-selected ui-state-active");A.removeClass("ui-tabs-hide");
this.element.queue("tabs",function(){j._trigger("show",null,j._ui(j.anchors[0],j.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[k],this.panels[k]));return this},remove:function(m){var f=this.options,k=this.lis.eq(m).remove(),j=this.panels.eq(m).remove();if(k.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(m+(m+1<this.anchors.length?1:-1));f.disabled=e.map(e.grep(f.disabled,function(p){return p!=m}),function(p){return p>=m?--p:p});this._tabify();this._trigger("remove",
null,this._ui(k.find("a")[0],j[0]));return this},enable:function(m){var f=this.options;if(e.inArray(m,f.disabled)!=-1){this.lis.eq(m).removeClass("ui-state-disabled");f.disabled=e.grep(f.disabled,function(k){return k!=m});this._trigger("enable",null,this._ui(this.anchors[m],this.panels[m]));return this}},disable:function(m){var f=this.options;if(m!=f.selected){this.lis.eq(m).addClass("ui-state-disabled");f.disabled.push(m);f.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[m],this.panels[m]))}return this},
select:function(m){if(typeof m=="string")m=this.anchors.index(this.anchors.filter("[href$="+m+"]"));else if(m===null)m=-1;if(m==-1&&this.options.collapsible)m=this.options.selected;this.anchors.eq(m).trigger(this.options.event+".tabs");return this},load:function(m){var f=this,k=this.options,j=this.anchors.eq(m)[0],p=e.data(j,"load.tabs");this.abort();if(!p||this.element.queue("tabs").length!==0&&e.data(j,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(m).addClass("ui-state-processing");
if(k.spinner){var A=e("span",j);A.data("label.tabs",A.html()).html(k.spinner)}this.xhr=e.ajax(e.extend({},k.ajaxOptions,{url:p,success:function(C,n){e(f._sanitizeSelector(j.hash)).html(C);f._cleanup();k.cache&&e.data(j,"cache.tabs",true);f._trigger("load",null,f._ui(f.anchors[m],f.panels[m]));try{k.ajaxOptions.success(C,n)}catch(r){}},error:function(C,n){f._cleanup();f._trigger("load",null,f._ui(f.anchors[m],f.panels[m]));try{k.ajaxOptions.error(C,n,m,j)}catch(r){}}}));f.element.dequeue("tabs");return this}},
abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},url:function(m,f){this.anchors.eq(m).removeData("cache.tabs").data("load.tabs",f);return this},length:function(){return this.anchors.length}});e.extend(e.ui.tabs,{version:"1.8"});e.extend(e.ui.tabs.prototype,{rotation:null,rotate:function(m,f){var k=this,j=this.options,p=k._rotate||(k._rotate=
function(A){clearTimeout(k.rotation);k.rotation=setTimeout(function(){var C=j.selected;k.select(++C<k.anchors.length?C:0)},m);A&&A.stopPropagation()});f=k._unrotate||(k._unrotate=!f?function(A){A.clientX&&k.rotate(null)}:function(){t=j.selected;p()});if(m){this.element.bind("tabsshow",p);this.anchors.bind(j.event+".tabs",f);p()}else{clearTimeout(k.rotation);this.element.unbind("tabsshow",p);this.anchors.unbind(j.event+".tabs",f);delete this._rotate;delete this._unrotate}return this}})})(jQuery);
(function(e){e.fn.hoverIntent=function(s,o){var m={sensitivity:7,interval:100,timeout:0};m=e.extend(m,o?{over:s,out:o}:s);var f,k,j,p,A=function(r){f=r.pageX;k=r.pageY},C=function(r,B){B.hoverIntent_t=clearTimeout(B.hoverIntent_t);if(Math.abs(j-f)+Math.abs(p-k)<m.sensitivity){e(B).unbind("mousemove",A);B.hoverIntent_s=1;return m.over.apply(B,[r])}else{j=f;p=k;B.hoverIntent_t=setTimeout(function(){C(r,B)},m.interval)}},n=function(r,B){B.hoverIntent_t=clearTimeout(B.hoverIntent_t);B.hoverIntent_s=0;
return m.out.apply(B,[r])};s=function(r){for(var B=(r.type=="mouseover"?r.fromElement:r.toElement)||r.relatedTarget;B&&B!=this;)try{B=B.parentNode}catch(J){B=this}if(B==this)return false;var q=jQuery.extend({},r),w=this;if(w.hoverIntent_t)w.hoverIntent_t=clearTimeout(w.hoverIntent_t);if(r.type=="mouseover"){j=q.pageX;p=q.pageY;e(w).bind("mousemove",A);if(w.hoverIntent_s!=1)w.hoverIntent_t=setTimeout(function(){C(q,w)},m.interval)}else{e(w).unbind("mousemove",A);if(w.hoverIntent_s==1)w.hoverIntent_t=
setTimeout(function(){n(q,w)},m.timeout)}};return this.mouseover(s).mouseout(s)}})(jQuery);
(function(e){function s(o){return o&&o.constructor===Number?o+"px":o}e.fn.bgiframe=e.browser.msie&&/msie 6\.0/i.test(navigator.userAgent)?function(o){o=e.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},o);var m='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+o.src+'"style="display:block;position:absolute;z-index:-1;'+(o.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(o.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":
s(o.top))+";left:"+(o.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":s(o.left))+";width:"+(o.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":s(o.width))+";height:"+(o.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":s(o.height))+';"/>';return this.each(function(){e(this).children("iframe.bgiframe").length===0&&this.insertBefore(document.createElement(m),this.firstChild)})}:function(){return this};e.fn.bgIframe=e.fn.bgiframe})(jQuery);
(function(e){e.fn.superfish=function(o){var m=e.fn.superfish,f=m.c,k=e(['<span class="',f.arrowClass,'"> &#187;</span>'].join("")),j=function(){var n=e(this),r=A(n);clearTimeout(r.sfTimer);n.showSuperfishUl().siblings().hideSuperfishUl()},p=function(){var n=e(this),r=A(n),B=m.op;clearTimeout(r.sfTimer);r.sfTimer=setTimeout(function(){B.retainPath=e.inArray(n[0],B.$path)>-1;n.hideSuperfishUl();B.$path.length&&n.parents(["li.",B.hoverClass].join("")).length<1&&j.call(B.$path)},B.delay)},A=function(n){n=
n.parents(["ul.",f.menuClass,":first"].join(""))[0];m.op=m.o[n.serial];return n},C=function(n){n.addClass(f.anchorClass).append(k.clone())};return this.each(function(){var n=this.serial=m.o.length,r=e.extend({},m.defaults,o);r.$path=e("li."+r.pathClass,this).slice(0,r.pathLevels).each(function(){e(this).addClass([r.hoverClass,f.bcClass].join(" ")).filter("li:has(ul)").removeClass(r.pathClass)});m.o[n]=m.op=r;e("li:has(ul)",this)[e.fn.hoverIntent&&!r.disableHI?"hoverIntent":"hover"](j,p).each(function(){r.autoArrows&&
C(e(">a:first-child",this))}).not("."+f.bcClass).hideSuperfishUl();var B=e("a",this);B.each(function(J){var q=B.eq(J).parents("li");B.eq(J).focus(function(){j.call(q)}).blur(function(){p.call(q)})});r.onInit.call(this)}).each(function(){var n=[f.menuClass];m.op.dropShadows&&!(e.browser.msie&&e.browser.version<7)&&n.push(f.shadowClass);e(this).addClass(n.join(" "))})};var s=e.fn.superfish;s.o=[];s.op={};s.IE7fix=function(){var o=s.op;e.browser.msie&&e.browser.version>6&&o.dropShadows&&o.animation.opacity!=
undefined&&this.toggleClass(s.c.shadowClass+"-off")};s.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"sf-sub-indicator",shadowClass:"sf-shadow"};s.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(){}};e.fn.extend({hideSuperfishUl:function(){var o=s.op,
m=o.retainPath===true?o.$path:"";o.retainPath=false;m=e(["li.",o.hoverClass].join(""),this).add(this).not(m).removeClass(o.hoverClass).find(">ul").hide().css("visibility","hidden");o.onHide.call(m);return this},showSuperfishUl:function(){var o=s.op,m=this.addClass(o.hoverClass).find(">ul:hidden").css("visibility","visible");s.IE7fix.call(m);o.onBeforeShow.call(m);m.animate(o.animation,o.speed,function(){s.IE7fix.call(m);o.onShow.call(m)});return this}})})(jQuery);
(function(e){e.fn.supersubs=function(s){var o=e.extend({},e.fn.supersubs.defaults,s);return this.each(function(){var m=e(this),f=e.meta?e.extend({},o,m.data()):o,k=e('<li id="menu-fontsize">&#8212;</li>').css({padding:0,position:"absolute",top:"-999em",width:"auto"}).appendTo(m).width();e("#menu-fontsize").remove();$ULs=m.find("ul");$ULs.each(function(j){j=$ULs.eq(j);var p=j.children(),A=p.children("a"),C=p.css("white-space","nowrap").css("float"),n=j.add(p).add(A).css({"float":"none",width:"auto"}).end().end()[0].clientWidth/
k;n+=f.extraWidth;if(n>f.maxWidth)n=f.maxWidth;else if(n<f.minWidth)n=f.minWidth;n+="em";j.css("width",n);p.css({"float":C,width:"100%","white-space":"normal"}).each(function(){var r=e(">ul",this),B=r.css("left")!==undefined?"left":"right";r.css(B,n)})})})};e.fn.supersubs.defaults={minWidth:9,maxWidth:25,extraWidth:0}})(jQuery);
