(function(i,l){function q(a){return c.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}function u(a){if(!r[a]){var f=o.body,n=c("<"+a+">").appendTo(f),g=n.css("display");n.remove();if("none"===g||""===g){M||(M=o.createElement("iframe"),M.frameBorder=M.width=M.height=0);f.appendChild(M);if(!C||!M.createElement)C=(M.contentWindow||M.contentDocument).document,C.write(("CSS1Compat"===o.compatMode?"<!doctype html>":"")+"<html><body>"),C.close();n=C.createElement(a);C.body.appendChild(n);g=
c.css(n,"display");f.removeChild(M)}r[a]=g}return r[a]}function E(a,f){var n={};c.each(Db.concat.apply([],Db.slice(0,f)),function(){n[this]=a});return n}function t(){fb=l}function Ea(){setTimeout(t,0);return fb=c.now()}function vb(){try{return new i.XMLHttpRequest}catch(a){}}function Fa(a,f,n,g){if(c.isArray(f))c.each(f,function(f,b){n||hb.test(a)?g(a,b):Fa(a+"["+("object"==typeof b||c.isArray(b)?f:"")+"]",b,n,g)});else if(!n&&null!=f&&"object"==typeof f)for(var b in f)Fa(a+"["+b+"]",f[b],n,g);else g(a,
f)}function d(a,f){var n,b,h=c.ajaxSettings.flatOptions||{};for(n in f)f[n]!==l&&((h[n]?a:b||(b={}))[n]=f[n]);b&&c.extend(!0,a,b)}function s(a,f,c,b,h,e){h=h||f.dataTypes[0];e=e||{};e[h]=!0;for(var h=a[h],d=0,x=h?h.length:0,k=a===T,L;d<x&&(k||!L);d++)L=h[d](f,c,b),"string"==typeof L&&(!k||e[L]?L=l:(f.dataTypes.unshift(L),L=s(a,f,c,b,L,e)));(k||!L)&&!e["*"]&&(L=s(a,f,c,b,"*",e));return L}function sa(a){return function(f,n){"string"!=typeof f&&(n=f,f="*");if(c.isFunction(n))for(var b=f.toLowerCase().split(v),
h=0,e=b.length,d,x,k;h<e;h++)d=b[h],k=/^\+/.test(d),k&&(d=d.substr(1)||"*"),x=a[d]=a[d]||[],x[k?"unshift":"push"](n)}}function N(a,f,n){var b="width"===f?a.offsetWidth:a.offsetHeight,h="width"===f?ta:wb,e=0,d=h.length;if(0<b){if("border"!==n)for(;e<d;e++)n||(b-=parseFloat(c.css(a,"padding"+h[e]))||0),"margin"===n?b+=parseFloat(c.css(a,n+h[e]))||0:b-=parseFloat(c.css(a,"border"+h[e]+"Width"))||0;return b+"px"}b=Z(a,f,f);if(0>b||null==b)b=a.style[f]||0;b=parseFloat(b)||0;if(n)for(;e<d;e++)b+=parseFloat(c.css(a,
"padding"+h[e]))||0,"padding"!==n&&(b+=parseFloat(c.css(a,"border"+h[e]+"Width"))||0),"margin"===n&&(b+=parseFloat(c.css(a,n+h[e]))||0);return b+"px"}function y(a,f){f.src?c.ajax({url:f.src,async:!1,dataType:"script"}):c.globalEval((f.text||f.textContent||f.innerHTML||"").replace(U,"/*$0*/"));f.parentNode&&f.parentNode.removeChild(f)}function Ga(a){var f=(a.nodeName||"").toLowerCase();"input"===f?B(a):"script"!==f&&"undefined"!=typeof a.getElementsByTagName&&c.grep(a.getElementsByTagName("input"),
B)}function B(a){if("checkbox"===a.type||"radio"===a.type)a.defaultChecked=a.checked}function ha(a){return"undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName("*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll("*"):[]}function ua(a,f){var b;if(1===f.nodeType){f.clearAttributes&&f.clearAttributes();f.mergeAttributes&&f.mergeAttributes(a);b=f.nodeName.toLowerCase();if("object"===b)f.outerHTML=a.outerHTML;else if("input"!==b||"checkbox"!==a.type&&"radio"!==a.type)if("option"===
b)f.selected=a.defaultSelected;else{if("input"===b||"textarea"===b)f.defaultValue=a.defaultValue}else a.checked&&(f.defaultChecked=f.checked=a.checked),f.value!==a.value&&(f.value=a.value);f.removeAttribute(c.expando)}}function F(a,f){if(1===f.nodeType&&c.hasData(a)){var b,g,h;g=c._data(a);var e=c._data(f,g),d=g.events;if(d)for(b in delete e.handle,e.events={},d)for(g=0,h=d[b].length;g<h;g++)c.event.add(f,b+(d[b][g].namespace?".":"")+d[b][g].namespace,d[b][g],d[b][g].data);e.data&&(e.data=c.extend({},
e.data))}}function W(a){var f=va.split("|"),a=a.createDocumentFragment();if(a.createElement)for(;f.length;)a.createElement(f.pop());return a}function ia(a,f,b){f=f||0;if(c.isFunction(f))return c.grep(a,function(a,c){return!!f.call(a,c,a)===b});if(f.nodeType)return c.grep(a,function(a){return a===f===b});if("string"==typeof f){var g=c.grep(a,function(a){return 1===a.nodeType});if(ib.test(f))return c.filter(f,g,!b);f=c.filter(f,g)}return c.grep(a,function(a){return 0<=c.inArray(a,f)===b})}function $(){return!0}
function K(){return!1}function X(a,f,b){var g=f+"defer",h=f+"queue",e=f+"mark",d=c._data(a,g);d&&("queue"===b||!c._data(a,h))&&("mark"===b||!c._data(a,e))&&setTimeout(function(){!c._data(a,h)&&!c._data(a,e)&&(c.removeData(a,g,!0),d.fire())},0)}function wa(a){for(var f in a)if(!("data"===f&&c.isEmptyObject(a[f]))&&"toJSON"!==f)return!1;return!0}function ja(a,f,b){if(b===l&&1===a.nodeType)if(b="data-"+f.replace(Ha,"-$1").toLowerCase(),b=a.getAttribute(b),"string"==typeof b){try{b="true"===b?!0:"false"===
b?!1:"null"===b?null:c.isNumeric(b)?parseFloat(b):da.test(b)?c.parseJSON(b):b}catch(g){}c.data(a,f,b)}else b=l;return b}function O(a){var f=Ra[a]={},c,b,a=a.split(/\s+/);for(c=0,b=a.length;c<b;c++)f[a[c]]=!0;return f}var o=i.document,ka=i.navigator,la=i.location,c=function(){function a(){if(!f.isReady){try{o.documentElement.doScroll("left")}catch(c){setTimeout(a,1);return}f.ready()}}var f=function(a,c){return new f.fn.init(a,c,h)},c=i.jQuery,b=i.$,h,e=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,d=
/\S/,x=/^\s+/,k=/\s+$/,L=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,m=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,Jb=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,j=/(?:^|:|,)(?:\s*\[)+/g,w=/(webkit)[ \/]([\w.]+)/,v=/(opera)(?:.*version)?[ \/]([\w.]+)/,r=/(msie) ([\w.]+)/,Kb=/(mozilla)(?:.*? rv:([\w.]+))?/,q=/-([a-z]|[0-9])/ig,u=/^-ms-/,G=function(a,f){return(f+"").toUpperCase()},s=ka.userAgent,D,jb,Ia,Lb=Object.prototype.toString,xb=Object.prototype.hasOwnProperty,yb=Array.prototype.push,
Sa=Array.prototype.slice,Eb=String.prototype.trim,Fb=Array.prototype.indexOf,M={};f.fn=f.prototype={constructor:f,init:function(a,c,b){var n,g,h;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if("body"===a&&!c&&o.body)return this.context=o,this[0]=o.body,this.selector=a,this.length=1,this;if("string"==typeof a){"<"!==a.charAt(0)||">"!==a.charAt(a.length-1)||3>a.length?n=e.exec(a):n=[null,a,null];if(n&&(n[1]||!c)){if(n[1])return c=c instanceof f?c[0]:c,h=c?c.ownerDocument||
c:o,g=L.exec(a),g?f.isPlainObject(c)?(a=[o.createElement(g[1])],f.fn.attr.call(a,c,!0)):a=[h.createElement(g[1])]:(g=f.buildFragment([n[1]],[h]),a=(g.cacheable?f.clone(g.fragment):g.fragment).childNodes),f.merge(this,a);if((c=o.getElementById(n[2]))&&c.parentNode){if(c.id!==n[2])return b.find(a);this.length=1;this[0]=c}this.context=o;this.selector=a;return this}return!c||c.jquery?(c||b).find(a):this.constructor(c).find(a)}if(f.isFunction(a))return b.ready(a);a.selector!==l&&(this.selector=a.selector,
this.context=a.context);return f.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return Sa.call(this,0)},get:function(a){return null==a?this.toArray():0>a?this[this.length+a]:this[a]},pushStack:function(a,c,b){var n=this.constructor();f.isArray(a)?yb.apply(n,a):f.merge(n,a);n.prevObject=this;n.context=this.context;"find"===c?n.selector=this.selector+(this.selector?" ":"")+b:c&&(n.selector=this.selector+"."+c+"("+b+")");return n},each:function(a,
c){return f.each(this,a,c)},ready:function(a){f.bindReady();jb.add(a);return this},eq:function(a){a=+a;return-1===a?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(Sa.apply(this,arguments),"slice",Sa.call(arguments).join(","))},map:function(a){return this.pushStack(f.map(this,function(f,c){return a.call(f,c,f)}))},end:function(){return this.prevObject||this.constructor(null)},push:yb,sort:[].sort,splice:[].splice};
f.fn.init.prototype=f.fn;f.extend=f.fn.extend=function(){var a,c,b,n,g,h,e=arguments[0]||{},D=1,d=arguments.length,ca=!1;for("boolean"==typeof e&&(ca=e,e=arguments[1]||{},D=2),"object"!=typeof e&&!f.isFunction(e)&&(e={}),d===D&&(e=this,--D);D<d;D++)if(null!=(a=arguments[D]))for(c in a)b=e[c],n=a[c],e!==n&&(ca&&n&&(f.isPlainObject(n)||(g=f.isArray(n)))?(g?(g=!1,h=b&&f.isArray(b)?b:[]):h=b&&f.isPlainObject(b)?b:{},e[c]=f.extend(ca,h,n)):n!==l&&(e[c]=n));return e};f.extend({noConflict:function(a){i.$===
f&&(i.$=b);a&&i.jQuery===f&&(i.jQuery=c);return f},isReady:!1,readyWait:1,holdReady:function(a){a?f.readyWait++:f.ready(!0)},ready:function(a){if(!0===a&&!--f.readyWait||!0!==a&&!f.isReady){if(!o.body)return setTimeout(f.ready,1);f.isReady=!0;!0!==a&&0<--f.readyWait||(jb.fireWith(o,[f]),f.fn.trigger&&f(o).trigger("ready").off("ready"))}},bindReady:function(){if(!jb){jb=f.Callbacks("once memory");if("complete"===o.readyState)return setTimeout(f.ready,1);if(o.addEventListener)o.addEventListener("DOMContentLoaded",
Ia,!1),i.addEventListener("load",f.ready,!1);else if(o.attachEvent){o.attachEvent("onreadystatechange",Ia);i.attachEvent("onload",f.ready);var c=!1;try{c=null==i.frameElement}catch(b){}o.documentElement.doScroll&&c&&a()}}},isFunction:function(a){return"function"===f.type(a)},isArray:Array.isArray||function(a){return"array"===f.type(a)},isWindow:function(a){return a&&"object"==typeof a&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return null==
a?""+a:M[Lb.call(a)]||"object"},isPlainObject:function(a){if(!a||"object"!==f.type(a)||a.nodeType||f.isWindow(a))return!1;try{if(a.constructor&&!xb.call(a,"constructor")&&!xb.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}for(var b in a);return b===l||xb.call(a,b)},isEmptyObject:function(a){for(var f in a)return!1;return!0},error:function(a){throw Error(a);},parseJSON:function(a){if("string"!=typeof a||!a)return null;a=f.trim(a);if(i.JSON&&i.JSON.parse)return i.JSON.parse(a);
if(m.test(a.replace(p,"@").replace(Jb,"]").replace(j,"")))return(new Function("return "+a))();f.error("Invalid JSON: "+a)},parseXML:function(a){var c,b;try{i.DOMParser?(b=new DOMParser,c=b.parseFromString(a,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(a))}catch(n){c=l}(!c||!c.documentElement||c.getElementsByTagName("parsererror").length)&&f.error("Invalid XML: "+a);return c},noop:function(){},globalEval:function(a){a&&d.test(a)&&(i.execScript||function(a){i.eval.call(i,
a)})(a)},camelCase:function(a){return a.replace(u,"ms-").replace(q,G)},nodeName:function(a,f){return a.nodeName&&a.nodeName.toUpperCase()===f.toUpperCase()},each:function(a,c,b){var n,g=0,h=a.length,e=h===l||f.isFunction(a);if(b)if(e)for(n in a){if(!1===c.apply(a[n],b))break}else for(;g<h&&!(!1===c.apply(a[g++],b)););else if(e)for(n in a){if(!1===c.call(a[n],n,a[n]))break}else for(;g<h&&!(!1===c.call(a[g],g,a[g++])););return a},trim:Eb?function(a){return null==a?"":Eb.call(a)}:function(a){return null==
a?"":(a+"").replace(x,"").replace(k,"")},makeArray:function(a,c){var b=c||[];if(null!=a){var n=f.type(a);null==a.length||"string"===n||"function"===n||"regexp"===n||f.isWindow(a)?yb.call(b,a):f.merge(b,a)}return b},inArray:function(a,f,c){var b;if(f){if(Fb)return Fb.call(f,a,c);for(b=f.length,c=c?0>c?Math.max(0,b+c):c:0;c<b;c++)if(c in f&&f[c]===a)return c}return-1},merge:function(a,f){var c=a.length,b=0;if("number"==typeof f.length)for(var n=f.length;b<n;b++)a[c++]=f[b];else for(;f[b]!==l;)a[c++]=
f[b++];a.length=c;return a},grep:function(a,f,c){for(var b=[],n,c=!!c,g=0,h=a.length;g<h;g++)n=!!f(a[g],g),c!==n&&b.push(a[g]);return b},map:function(a,c,b){var n,g,h=[],e=0,D=a.length;if(a instanceof f||D!==l&&"number"==typeof D&&(0<D&&a[0]&&a[D-1]||0===D||f.isArray(a)))for(;e<D;e++)n=c(a[e],e,b),null!=n&&(h[h.length]=n);else for(g in a)n=c(a[g],g,b),null!=n&&(h[h.length]=n);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if("string"==typeof c){var b=a[c];c=a;a=b}if(!f.isFunction(a))return l;
var n=Sa.call(arguments,2),b=function(){return a.apply(c,n.concat(Sa.call(arguments)))};b.guid=a.guid=a.guid||b.guid||f.guid++;return b},access:function(a,c,b,n,g,h){var e=a.length;if("object"==typeof c){for(var D in c)f.access(a,D,c[D],n,g,b);return a}if(b!==l){n=!h&&n&&f.isFunction(b);for(D=0;D<e;D++)g(a[D],c,n?b.call(a[D],D,g(a[D],c)):b,h);return a}return e?g(a[0],c):l},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=w.exec(a)||v.exec(a)||r.exec(a)||0>a.indexOf("compatible")&&
Kb.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(f,c){return new a.fn.init(f,c)}f.extend(!0,a,this);a.superclass=this;a.fn=a.prototype=this();a.fn.constructor=a;a.sub=this.sub;a.fn.init=function(b,n){n&&n instanceof f&&!(n instanceof a)&&(n=a(n));return f.fn.init.call(this,b,n,c)};a.fn.init.prototype=a.fn;var c=a(o);return a},browser:{}});f.each("Boolean,Number,String,Function,Array,Date,RegExp,Object".split(","),function(a,f){M["[object "+f+"]"]=f.toLowerCase()});
D=f.uaMatch(s);D.browser&&(f.browser[D.browser]=!0,f.browser.version=D.version);f.browser.webkit&&(f.browser.safari=!0);d.test("\u00a0")&&(x=/^[\s\xA0]+/,k=/[\s\xA0]+$/);h=f(o);o.addEventListener?Ia=function(){o.removeEventListener("DOMContentLoaded",Ia,!1);f.ready()}:o.attachEvent&&(Ia=function(){"complete"===o.readyState&&(o.detachEvent("onreadystatechange",Ia),f.ready())});return f}(),Ra={};c.Callbacks=function(a){var a=a?Ra[a]||O(a):{},f=[],b=[],g,h,e,d,x,k=function(b){var n,g,h,e;for(n=0,g=b.length;n<
g;n++)h=b[n],e=c.type(h),"array"===e?k(h):"function"===e&&(!a.unique||!i.has(h))&&f.push(h)},L=function(c,k){for(k=k||[],g=!a.memory||[c,k],h=!0,x=e||0,e=0,d=f.length;f&&x<d;x++)if(!1===f[x].apply(c,k)&&a.stopOnFalse){g=!0;break}h=!1;f&&(a.once?!0===g?i.disable():f=[]:b&&b.length&&(g=b.shift(),i.fireWith(g[0],g[1])))},i={add:function(){if(f){var a=f.length;k(arguments);h?d=f.length:g&&!0!==g&&(e=a,L(g[0],g[1]))}return this},remove:function(){if(f)for(var c=arguments,b=0,n=c.length;b<n;b++)for(var g=
0;g<f.length&&!(c[b]===f[g]&&(h&&g<=d&&(d--,g<=x&&x--),f.splice(g--,1),a.unique));g++);return this},has:function(a){if(f)for(var c=0,b=f.length;c<b;c++)if(a===f[c])return!0;return!1},empty:function(){f=[];return this},disable:function(){f=b=g=l;return this},disabled:function(){return!f},lock:function(){b=l;(!g||!0===g)&&i.disable();return this},locked:function(){return!b},fireWith:function(f,c){b&&(h?a.once||b.push([f,c]):(!a.once||!g)&&L(f,c));return this},fire:function(){i.fireWith(this,arguments);
return this},fired:function(){return!!g}};return i};var xa=[].slice;c.extend({Deferred:function(a){var f=c.Callbacks("once memory"),b=c.Callbacks("once memory"),g=c.Callbacks("memory"),h="pending",e={resolve:f,reject:b,notify:g},d={done:f.add,fail:b.add,progress:g.add,state:function(){return h},isResolved:f.fired,isRejected:b.fired,then:function(a,f,c){x.done(a).fail(f).progress(c);return this},always:function(){x.done.apply(x,arguments).fail.apply(x,arguments);return this},pipe:function(a,f,b){return c.Deferred(function(n){c.each({done:[a,
"resolve"],fail:[f,"reject"],progress:[b,"notify"]},function(a,f){var b=f[0],g=f[1],h;c.isFunction(b)?x[a](function(){h=b.apply(this,arguments);h&&c.isFunction(h.promise)?h.promise().then(n.resolve,n.reject,n.notify):n[g+"With"](this===x?n:this,[h])}):x[a](n[g])})}).promise()},promise:function(a){if(null==a)a=d;else for(var f in d)a[f]=d[f];return a}},x=d.promise({}),k;for(k in e)x[k]=e[k].fire,x[k+"With"]=e[k].fireWith;x.done(function(){h="resolved"},b.disable,g.lock).fail(function(){h="rejected"},
f.disable,g.lock);a&&a.call(x,x);return x},when:function(a){function f(a){return function(f){d[a]=1<arguments.length?xa.call(arguments,0):f;k.notifyWith(l,d)}}function b(a){return function(f){g[a]=1<arguments.length?xa.call(arguments,0):f;--x||k.resolveWith(k,g)}}var g=xa.call(arguments,0),h=0,e=g.length,d=Array(e),x=e,k=1>=e&&a&&c.isFunction(a.promise)?a:c.Deferred(),l=k.promise();if(1<e){for(;h<e;h++)g[h]&&g[h].promise&&c.isFunction(g[h].promise)?g[h].promise().then(b(h),k.reject,f(h)):--x;x||k.resolveWith(k,
g)}else k!==a&&k.resolveWith(k,e?[a]:[]);return l}});c.support=function(){var a,f,b,g,h,e,d,x,k,l,m,p,j=o.createElement("div");j.setAttribute("className","t");j.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";f=j.getElementsByTagName("*");b=j.getElementsByTagName("a")[0];if(!f||!f.length||!b)return{};g=o.createElement("select");h=g.appendChild(o.createElement("option"));e=j.getElementsByTagName("input")[0];a={leadingWhitespace:3===
j.firstChild.nodeType,tbody:!j.getElementsByTagName("tbody").length,htmlSerialize:!!j.getElementsByTagName("link").length,style:/top/.test(b.getAttribute("style")),hrefNormalized:"/a"===b.getAttribute("href"),opacity:/^0.55/.test(b.style.opacity),cssFloat:!!b.style.cssFloat,checkOn:"on"===e.value,optSelected:h.selected,getSetAttribute:"t"!==j.className,enctype:!!o.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==o.createElement("nav").cloneNode(!0).outerHTML,submitBubbles:!0,changeBubbles:!0,
focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0};e.checked=!0;a.noCloneChecked=e.cloneNode(!0).checked;g.disabled=!0;a.optDisabled=!h.disabled;try{delete j.test}catch(w){a.deleteExpando=!1}!j.addEventListener&&j.attachEvent&&j.fireEvent&&(j.attachEvent("onclick",function(){a.noCloneEvent=!1}),j.cloneNode(!0).fireEvent("onclick"));e=o.createElement("input");e.value="t";e.setAttribute("type","radio");a.radioValue="t"===e.value;
e.setAttribute("checked","checked");j.appendChild(e);x=o.createDocumentFragment();x.appendChild(j.lastChild);a.checkClone=x.cloneNode(!0).cloneNode(!0).lastChild.checked;a.appendChecked=e.checked;x.removeChild(e);x.appendChild(j);j.innerHTML="";i.getComputedStyle&&(d=o.createElement("div"),d.style.width="0",d.style.marginRight="0",j.style.width="2px",j.appendChild(d),a.reliableMarginRight=0===(parseInt((i.getComputedStyle(d,null)||{marginRight:0}).marginRight,10)||0));if(j.attachEvent)for(m in{submit:1,
change:1,focusin:1})l="on"+m,p=l in j,p||(j.setAttribute(l,"return;"),p="function"==typeof j[l]),a[m+"Bubbles"]=p;x.removeChild(j);x=g=h=d=j=e=null;c(function(){var f,b,n,g,h,e=o.getElementsByTagName("body")[0];!e||(f=o.createElement("div"),f.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",e.insertBefore(f,e.firstChild),j=o.createElement("div"),f.appendChild(j),j.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",
k=j.getElementsByTagName("td"),p=0===k[0].offsetHeight,k[0].style.display="",k[1].style.display="none",a.reliableHiddenOffsets=p&&0===k[0].offsetHeight,j.innerHTML="",j.style.width=j.style.paddingLeft="1px",c.boxModel=a.boxModel=2===j.offsetWidth,"undefined"!=typeof j.style.zoom&&(j.style.display="inline",j.style.zoom=1,a.inlineBlockNeedsLayout=2===j.offsetWidth,j.style.display="",j.innerHTML="<div style='width:4px;'></div>",a.shrinkWrapBlocks=2!==j.offsetWidth),j.style.cssText="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;visibility:hidden;border:0;",
j.innerHTML="<div style='position:absolute;top:0;left:0;width:1px;height:1px;margin:0;border:5px solid #000;padding:0;'><div></div></div><table style='position:absolute;top:0;left:0;width:1px;height:1px;margin:0;border:5px solid #000;padding:0;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>",b=j.firstChild,n=b.firstChild,g=b.nextSibling.firstChild.firstChild,h={doesNotAddBorder:5!==n.offsetTop,doesAddBorderForTableAndCells:5===g.offsetTop},n.style.position="fixed",n.style.top="20px",
h.fixedPosition=20===n.offsetTop||15===n.offsetTop,n.style.position=n.style.top="",b.style.overflow="hidden",b.style.position="relative",h.subtractsBorderForOverflowNotVisible=-5===n.offsetTop,h.doesNotIncludeMarginInBodyOffset=1!==e.offsetTop,e.removeChild(f),j=null,c.extend(a,h))});return a}();var da=/^(?:\{.*\}|\[.*\])$/,Ha=/([A-Z])/g;c.extend({cache:{},uuid:0,expando:"jQuery"+(c.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},
hasData:function(a){a=a.nodeType?c.cache[a[c.expando]]:a[c.expando];return!!a&&!wa(a)},data:function(a,f,b,g){if(c.acceptData(a)){var h,e,d=c.expando,k="string"==typeof f,j=a.nodeType,i=j?c.cache:a,m=j?a[d]:a[d]&&d,p="events"===f;if(m&&i[m]&&(p||g||i[m].data)||!(k&&b===l)){m||(j?a[d]=m=++c.uuid:m=d);i[m]||(i[m]={},j||(i[m].toJSON=c.noop));if("object"==typeof f||"function"==typeof f)g?i[m]=c.extend(i[m],f):i[m].data=c.extend(i[m].data,f);a=h=i[m];g||(h.data||(h.data={}),h=h.data);b!==l&&(h[c.camelCase(f)]=
b);if(p&&!h[f])return a.events;k?(e=h[f],null==e&&(e=h[c.camelCase(f)])):e=h;return e}}},removeData:function(a,f,b){if(c.acceptData(a)){var g,h,e,d=c.expando,k=a.nodeType,l=k?c.cache:a,i=k?a[d]:d;if(l[i]){if(f&&(g=b?l[i]:l[i].data)){c.isArray(f)||(f in g?f=[f]:(f=c.camelCase(f),f in g?f=[f]:f=f.split(" ")));for(h=0,e=f.length;h<e;h++)delete g[f[h]];if(!(b?wa:c.isEmptyObject)(g))return}if(!b&&(delete l[i].data,!wa(l[i])))return;c.support.deleteExpando||!l.setInterval?delete l[i]:l[i]=null;k&&(c.support.deleteExpando?
delete a[d]:a.removeAttribute?a.removeAttribute(d):a[d]=null)}}},_data:function(a,f,b){return c.data(a,f,b,!0)},acceptData:function(a){if(a.nodeName){var f=c.noData[a.nodeName.toLowerCase()];if(f)return!0!==f&&a.getAttribute("classid")===f}return!0}});c.fn.extend({data:function(a,f){var b,g,h,e=null;if("undefined"==typeof a){if(this.length&&(e=c.data(this[0]),1===this[0].nodeType&&!c._data(this[0],"parsedAttrs"))){g=this[0].attributes;for(var d=0,k=g.length;d<k;d++)h=g[d].name,0===h.indexOf("data-")&&
(h=c.camelCase(h.substring(5)),ja(this[0],h,e[h]));c._data(this[0],"parsedAttrs",!0)}return e}if("object"==typeof a)return this.each(function(){c.data(this,a)});b=a.split(".");b[1]=b[1]?"."+b[1]:"";return f===l?(e=this.triggerHandler("getData"+b[1]+"!",[b[0]]),e===l&&this.length&&(e=c.data(this[0],a),e=ja(this[0],a,e)),e===l&&b[1]?this.data(b[0]):e):this.each(function(){var g=c(this),h=[b[0],f];g.triggerHandler("setData"+b[1]+"!",h);c.data(this,a,f);g.triggerHandler("changeData"+b[1]+"!",h)})},removeData:function(a){return this.each(function(){c.removeData(this,
a)})}});c.extend({_mark:function(a,f){a&&(f=(f||"fx")+"mark",c._data(a,f,(c._data(a,f)||0)+1))},_unmark:function(a,f,b){!0!==a&&(b=f,f=a,a=!1);if(f){var b=b||"fx",g=b+"mark";(a=a?0:(c._data(f,g)||1)-1)?c._data(f,g,a):(c.removeData(f,g,!0),X(f,b,"mark"))}},queue:function(a,f,b){var g;if(a)return f=(f||"fx")+"queue",g=c._data(a,f),b&&(!g||c.isArray(b)?g=c._data(a,f,c.makeArray(b)):g.push(b)),g||[]},dequeue:function(a,f){var f=f||"fx",b=c.queue(a,f),g=b.shift(),h={};"inprogress"===g&&(g=b.shift());g&&
("fx"===f&&b.unshift("inprogress"),c._data(a,f+".run",h),g.call(a,function(){c.dequeue(a,f)},h));b.length||(c.removeData(a,f+"queue "+f+".run",!0),X(a,f,"queue"))}});c.fn.extend({queue:function(a,f){"string"!=typeof a&&(f=a,a="fx");return f===l?c.queue(this[0],a):this.each(function(){var b=c.queue(this,a,f);"fx"===a&&"inprogress"!==b[0]&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,f){a=c.fx?c.fx.speeds[a]||a:a;f=f||"fx";return this.queue(f,
function(f,c){var b=setTimeout(f,a);c.stop=function(){clearTimeout(b)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a){function f(){--e||b.resolveWith(g,[g])}"string"!=typeof a&&(a=l);a=a||"fx";for(var b=c.Deferred(),g=this,h=g.length,e=1,d=a+"defer",k=a+"queue",a=a+"mark",i;h--;)if(i=c.data(g[h],d,l,!0)||(c.data(g[h],k,l,!0)||c.data(g[h],a,l,!0))&&c.data(g[h],d,c.Callbacks("once memory"),!0))e++,i.add(f);f();return b.promise()}});var ea=/[\n\t\r]/g,ma=/\s+/,Ta=/\r/g,
Ua=/^(?:button|input)$/i,Ja=/^(?:button|input|object|select|textarea)$/i,na=/^a(?:rea)?$/i,Va=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Ka=c.support.getSetAttribute,V,ya,Wa;c.fn.extend({attr:function(a,f){return c.access(this,a,f,!0,c.attr)},removeAttr:function(a){return this.each(function(){c.removeAttr(this,a)})},prop:function(a,f){return c.access(this,a,f,!0,c.prop)},removeProp:function(a){a=c.propFix[a]||a;return this.each(function(){try{this[a]=
l,delete this[a]}catch(f){}})},addClass:function(a){var f,b,g,h,e,d,k;if(c.isFunction(a))return this.each(function(f){c(this).addClass(a.call(this,f,this.className))});if(a&&"string"==typeof a){f=a.split(ma);for(b=0,g=this.length;b<g;b++)if(h=this[b],1===h.nodeType)if(!h.className&&1===f.length)h.className=a;else{e=" "+h.className+" ";for(d=0,k=f.length;d<k;d++)~e.indexOf(" "+f[d]+" ")||(e+=f[d]+" ");h.className=c.trim(e)}}return this},removeClass:function(a){var f,b,g,h,e,d,k;if(c.isFunction(a))return this.each(function(f){c(this).removeClass(a.call(this,
f,this.className))});if(a&&"string"==typeof a||a===l){f=(a||"").split(ma);for(b=0,g=this.length;b<g;b++)if(h=this[b],1===h.nodeType&&h.className)if(a){e=(" "+h.className+" ").replace(ea," ");for(d=0,k=f.length;d<k;d++)e=e.replace(" "+f[d]+" "," ");h.className=c.trim(e)}else h.className=""}return this},toggleClass:function(a,f){var b=typeof a,g="boolean"==typeof f;return c.isFunction(a)?this.each(function(b){c(this).toggleClass(a.call(this,b,this.className,f),f)}):this.each(function(){if("string"===
b)for(var h,e=0,d=c(this),k=f,i=a.split(ma);h=i[e++];)k=g?k:!d.hasClass(h),d[k?"addClass":"removeClass"](h);else if("undefined"===b||"boolean"===b)this.className&&c._data(this,"__className__",this.className),this.className=this.className||!1===a?"":c._data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",f=0,b=this.length;f<b;f++)if(1===this[f].nodeType&&-1<(" "+this[f].className+" ").replace(ea," ").indexOf(a))return!0;return!1},val:function(a){var f,b,g,h=this[0];if(arguments.length)return g=
c.isFunction(a),this.each(function(b){var n=c(this),h;if(1===this.nodeType&&(g?h=a.call(this,b,n.val()):h=a,null==h?h="":"number"==typeof h?h+="":c.isArray(h)&&(h=c.map(h,function(a){return null==a?"":a+""})),f=c.valHooks[this.nodeName.toLowerCase()]||c.valHooks[this.type],!f||!("set"in f)||f.set(this,h,"value")===l))this.value=h});if(h){if((f=c.valHooks[h.nodeName.toLowerCase()]||c.valHooks[h.type])&&"get"in f&&(b=f.get(h,"value"))!==l)return b;b=h.value;return"string"==typeof b?b.replace(Ta,""):
null==b?"":b}}});c.extend({valHooks:{option:{get:function(a){var f=a.attributes.value;return!f||f.specified?a.value:a.text}},select:{get:function(a){var f,b,g=a.selectedIndex,h=[],e=a.options,d="select-one"===a.type;if(0>g)return null;for(a=d?g:0,b=d?g+1:e.length;a<b;a++)if(f=e[a],f.selected&&(c.support.optDisabled?!f.disabled:null===f.getAttribute("disabled"))&&(!f.parentNode.disabled||!c.nodeName(f.parentNode,"optgroup"))){f=c(f).val();if(d)return f;h.push(f)}return d&&!h.length&&e.length?c(e[g]).val():
h},set:function(a,f){var b=c.makeArray(f);c(a).find("option").each(function(){this.selected=0<=c.inArray(c(this).val(),b)});b.length||(a.selectedIndex=-1);return b}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,f,b,g){var h,e,d,k=a.nodeType;if(a&&3!==k&&8!==k&&2!==k){if(g&&f in c.attrFn)return c(a)[f](b);if("undefined"==typeof a.getAttribute)return c.prop(a,f,b);d=1!==k||!c.isXMLDoc(a);d&&(f=f.toLowerCase(),e=c.attrHooks[f]||(Va.test(f)?ya:V));if(b!==
l){if(null===b){c.removeAttr(a,f);return}if(e&&"set"in e&&d&&(h=e.set(a,b,f))!==l)return h;a.setAttribute(f,""+b);return b}if(e&&"get"in e&&d&&null!==(h=e.get(a,f)))return h;h=a.getAttribute(f);return null===h?l:h}},removeAttr:function(a,f){var b,g,h,e,d=0;if(f&&1===a.nodeType)for(g=f.toLowerCase().split(ma),e=g.length;d<e;d++)h=g[d],h&&(b=c.propFix[h]||h,c.attr(a,h,""),a.removeAttribute(Ka?h:b),Va.test(h)&&b in a&&(a[b]=!1))},attrHooks:{type:{set:function(a,f){if(Ua.test(a.nodeName)&&a.parentNode)c.error("type property can't be changed");
else if(!c.support.radioValue&&"radio"===f&&c.nodeName(a,"input")){var b=a.value;a.setAttribute("type",f);b&&(a.value=b);return f}}},value:{get:function(a,f){return V&&c.nodeName(a,"button")?V.get(a,f):f in a?a.value:null},set:function(a,f,b){if(V&&c.nodeName(a,"button"))return V.set(a,f,b);a.value=f}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",
frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,f,b){var g,h,e,d=a.nodeType;if(a&&3!==d&&8!==d&&2!==d)return e=1!==d||!c.isXMLDoc(a),e&&(f=c.propFix[f]||f,h=c.propHooks[f]),b!==l?h&&"set"in h&&(g=h.set(a,b,f))!==l?g:a[f]=b:h&&"get"in h&&null!==(g=h.get(a,f))?g:a[f]},propHooks:{tabIndex:{get:function(a){var f=a.getAttributeNode("tabindex");return f&&f.specified?parseInt(f.value,10):Ja.test(a.nodeName)||na.test(a.nodeName)&&a.href?0:l}}}});c.attrHooks.tabindex=c.propHooks.tabIndex;
ya={get:function(a,f){var b,g=c.prop(a,f);return!0===g||"boolean"!=typeof g&&(b=a.getAttributeNode(f))&&!1!==b.nodeValue?f.toLowerCase():l},set:function(a,f,b){var g;!1===f?c.removeAttr(a,b):(g=c.propFix[b]||b,g in a&&(a[g]=!0),a.setAttribute(b,b.toLowerCase()));return b}};Ka||(Wa={name:!0,id:!0},V=c.valHooks.button={get:function(a,f){var b;return(b=a.getAttributeNode(f))&&(Wa[f]?""!==b.nodeValue:b.specified)?b.nodeValue:l},set:function(a,f,b){var c=a.getAttributeNode(b);c||(c=o.createAttribute(b),
a.setAttributeNode(c));return c.nodeValue=f+""}},c.attrHooks.tabindex.set=V.set,c.each(["width","height"],function(a,f){c.attrHooks[f]=c.extend(c.attrHooks[f],{set:function(a,b){if(""===b)return a.setAttribute(f,"auto"),b}})}),c.attrHooks.contenteditable={get:V.get,set:function(a,f,b){""===f&&(f="false");V.set(a,f,b)}});c.support.hrefNormalized||c.each(["href","src","width","height"],function(a,f){c.attrHooks[f]=c.extend(c.attrHooks[f],{get:function(a){a=a.getAttribute(f,2);return null===a?l:a}})});
c.support.style||(c.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||l},set:function(a,f){return a.style.cssText=""+f}});c.support.optSelected||(c.propHooks.selected=c.extend(c.propHooks.selected,{get:function(a){a=a.parentNode;a&&(a.selectedIndex,a.parentNode&&a.parentNode.selectedIndex);return null}}));c.support.enctype||(c.propFix.enctype="encoding");c.support.checkOn||c.each(["radio","checkbox"],function(){c.valHooks[this]={get:function(a){return null===a.getAttribute("value")?
"on":a.value}}});c.each(["radio","checkbox"],function(){c.valHooks[this]=c.extend(c.valHooks[this],{set:function(a,f){if(c.isArray(f))return a.checked=0<=c.inArray(c(a).val(),f)}})});var fa=/^(?:textarea|input|select)$/i,La=/^([^\.]*)?(?:\.(.+))?$/,oa=/\bhover(\.\S+)?\b/,Xa=/^key/,pa=/^(?:mouse|contextmenu)|click/,za=/^(?:focusinfocus|focusoutblur)$/,Ma=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Ya=function(a){(a=Ma.exec(a))&&(a[1]=(a[1]||"").toLowerCase(),a[3]=a[3]&&RegExp("(?:^|\\s)"+a[3]+"(?:\\s|$)"));
return a},I=function(a){return c.event.special.hover?a:a.replace(oa,"mouseenter$1 mouseleave$1")};c.event={add:function(a,f,b,g,h){var e,d,k,i,j,m,p,w,H,o;if(!(3===a.nodeType||8===a.nodeType||!f||!b||!(e=c._data(a)))){b.handler&&(w=b,b=w.handler);b.guid||(b.guid=c.guid++);k=e.events;k||(e.events=k={});d=e.handle;d||(e.handle=d=function(a){return"undefined"!=typeof c&&(!a||c.event.triggered!==a.type)?c.event.dispatch.apply(d.elem,arguments):l},d.elem=a);f=c.trim(I(f)).split(" ");for(e=0;e<f.length;e++){i=
La.exec(f[e])||[];j=i[1];m=(i[2]||"").split(".").sort();o=c.event.special[j]||{};j=(h?o.delegateType:o.bindType)||j;o=c.event.special[j]||{};p=c.extend({type:j,origType:i[1],data:g,handler:b,guid:b.guid,selector:h,quick:Ya(h),namespace:m.join(".")},w);H=k[j];if(!H&&(H=k[j]=[],H.delegateCount=0,!o.setup||!1===o.setup.call(a,g,m,d)))a.addEventListener?a.addEventListener(j,d,!1):a.attachEvent&&a.attachEvent("on"+j,d);o.add&&(o.add.call(a,p),p.handler.guid||(p.handler.guid=b.guid));h?H.splice(H.delegateCount++,
0,p):H.push(p);c.event.global[j]=!0}a=null}},global:{},remove:function(a,f,b,g,e){var d=c.hasData(a)&&c._data(a),k,i,j,l,m,p,w,o,v,r,q,u;if(d&&(o=d.events)){f=c.trim(I(f||"")).split(" ");for(k=0;k<f.length;k++)if(i=La.exec(f[k])||[],j=l=i[1],m=i[2],j){v=c.event.special[j]||{};j=(g?v.delegateType:v.bindType)||j;q=o[j]||[];p=q.length;m=m?RegExp("(^|\\.)"+m.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(w=0;w<q.length;w++)u=q[w],(e||l===u.origType)&&(!b||b.guid===u.guid)&&(!m||m.test(u.namespace))&&
(!g||g===u.selector||"**"===g&&u.selector)&&(q.splice(w--,1),u.selector&&q.delegateCount--,v.remove&&v.remove.call(a,u));0===q.length&&p!==q.length&&((!v.teardown||!1===v.teardown.call(a,m))&&c.removeEvent(a,j,d.handle),delete o[j])}else for(j in o)c.event.remove(a,j+f[k],b,g,!0);c.isEmptyObject(o)&&(r=d.handle,r&&(r.elem=null),c.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(a,f,b,g){if(!b||3!==b.nodeType&&8!==b.nodeType){var e=a.type||
a,d=[],k,j,m,w,o,p,v;if(!za.test(e+c.event.triggered)&&(0<=e.indexOf("!")&&(e=e.slice(0,-1),k=!0),0<=e.indexOf(".")&&(d=e.split("."),e=d.shift(),d.sort()),b&&!c.event.customEvent[e]||c.event.global[e]))if(a="object"==typeof a?a[c.expando]?a:new c.Event(e,a):new c.Event(e),a.type=e,a.isTrigger=!0,a.exclusive=k,a.namespace=d.join("."),a.namespace_re=a.namespace?RegExp("(^|\\.)"+d.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,d=0>e.indexOf(":")?"on"+e:"",b){if(a.result=l,a.target||(a.target=b),f=null!=f?c.makeArray(f):
[],f.unshift(a),k=c.event.special[e]||{},!(k.trigger&&!1===k.trigger.apply(b,f))){p=[[b,k.bindType||e]];if(!g&&!k.noBubble&&!c.isWindow(b)){for(v=k.delegateType||e,m=za.test(v+e)?b:b.parentNode,w=null;m;m=m.parentNode)p.push([m,v]),w=m;w&&w===b.ownerDocument&&p.push([w.defaultView||w.parentWindow||i,v])}for(j=0;j<p.length&&!a.isPropagationStopped();j++)m=p[j][0],a.type=p[j][1],o=(c._data(m,"events")||{})[a.type]&&c._data(m,"handle"),o&&o.apply(m,f),o=d&&m[d],o&&c.acceptData(m)&&!1===o.apply(m,f)&&
a.preventDefault();a.type=e;!g&&!a.isDefaultPrevented()&&(!k._default||!1===k._default.apply(b.ownerDocument,f))&&("click"!==e||!c.nodeName(b,"a"))&&c.acceptData(b)&&d&&b[e]&&("focus"!==e&&"blur"!==e||0!==a.target.offsetWidth)&&!c.isWindow(b)&&(w=b[d],w&&(b[d]=null),c.event.triggered=e,b[e](),c.event.triggered=l,w&&(b[d]=w));return a.result}}else for(j in b=c.cache,b)b[j].events&&b[j].events[e]&&c.event.trigger(a,f,b[j].handle.elem,!0)}},dispatch:function(a){var a=c.event.fix(a||i.event),f=(c._data(this,
"events")||{})[a.type]||[],b=f.delegateCount,g=[].slice.call(arguments,0),e=!a.exclusive&&!a.namespace,d=[],k,j,m,w,o,p,v,H,r;g[0]=a;a.delegateTarget=this;if(b&&!a.target.disabled&&(!a.button||"click"!==a.type)){m=c(this);m.context=this.ownerDocument||this;for(j=a.target;j!=this;j=j.parentNode||this){o={};v=[];m[0]=j;for(k=0;k<b;k++){H=f[k];r=H.selector;if(o[r]===l){var q=o,u=r,G;if(H.quick){G=H.quick;var s=j.attributes||{};G=(!G[1]||j.nodeName.toLowerCase()===G[1])&&(!G[2]||(s.id||{}).value===G[2])&&
(!G[3]||G[3].test((s["class"]||{}).value))}else G=m.is(r);q[u]=G}o[r]&&v.push(H)}v.length&&d.push({elem:j,matches:v})}}f.length>b&&d.push({elem:this,matches:f.slice(b)});for(k=0;k<d.length&&!a.isPropagationStopped();k++){p=d[k];a.currentTarget=p.elem;for(f=0;f<p.matches.length&&!a.isImmediatePropagationStopped();f++)if(H=p.matches[f],e||!a.namespace&&!H.namespace||a.namespace_re&&a.namespace_re.test(H.namespace))a.data=H.data,a.handleObj=H,w=((c.event.special[H.origType]||{}).handle||H.handler).apply(p.elem,
g),w!==l&&(a.result=w,!1===w&&(a.preventDefault(),a.stopPropagation()))}return a.result},props:"attrChange,attrName,relatedNode,srcElement,altKey,bubbles,cancelable,ctrlKey,currentTarget,eventPhase,metaKey,relatedTarget,shiftKey,target,timeStamp,view,which".split(","),fixHooks:{},keyHooks:{props:["char","charCode","key","keyCode"],filter:function(a,f){null==a.which&&(a.which=null!=f.charCode?f.charCode:f.keyCode);return a}},mouseHooks:{props:"button,buttons,clientX,clientY,fromElement,offsetX,offsetY,pageX,pageY,screenX,screenY,toElement".split(","),
filter:function(a,f){var b,c,e,d=f.button,k=f.fromElement;null==a.pageX&&null!=f.clientX&&(b=a.target.ownerDocument||o,c=b.documentElement,e=b.body,a.pageX=f.clientX+(c&&c.scrollLeft||e&&e.scrollLeft||0)-(c&&c.clientLeft||e&&e.clientLeft||0),a.pageY=f.clientY+(c&&c.scrollTop||e&&e.scrollTop||0)-(c&&c.clientTop||e&&e.clientTop||0));!a.relatedTarget&&k&&(a.relatedTarget=k===a.target?f.toElement:k);!a.which&&d!==l&&(a.which=d&1?1:d&2?3:d&4?2:0);return a}},fix:function(a){if(a[c.expando])return a;var b,
e,g=a,h=c.event.fixHooks[a.type]||{},d=h.props?this.props.concat(h.props):this.props,a=c.Event(g);for(b=d.length;b;)e=d[--b],a[e]=g[e];a.target||(a.target=g.srcElement||o);3===a.target.nodeType&&(a.target=a.target.parentNode);a.metaKey===l&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:c.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,e){c.isWindow(this)&&(this.onbeforeunload=e)},teardown:function(a,
b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,e,g){a=c.extend(new c.Event,e,{type:a,isSimulated:!0,originalEvent:{}});g?c.event.trigger(a,null,b):c.event.dispatch.call(b,a);a.isDefaultPrevented()&&e.preventDefault()}};c.event.handle=c.event.dispatch;c.removeEvent=o.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)};c.Event=function(a,b){if(!(this instanceof c.Event))return new c.Event(a,
b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||!1===a.returnValue||a.getPreventDefault&&a.getPreventDefault()?$:K):this.type=a;b&&c.extend(this,b);this.timeStamp=a&&a.timeStamp||c.now();this[c.expando]=!0};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=$;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=$;var a=this.originalEvent;!a||(a.stopPropagation&&
a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=$;this.stopPropagation()},isDefaultPrevented:K,isPropagationStopped:K,isImmediatePropagationStopped:K};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={delegateType:b,bindType:b,handle:function(a){var g=a.relatedTarget,e=a.handleObj,d;if(!g||g!==this&&!c.contains(this,g))a.type=e.origType,d=e.handler.apply(this,arguments),a.type=b;return d}}});c.support.submitBubbles||
(c.event.special.submit={setup:function(){if(c.nodeName(this,"form"))return!1;c.event.add(this,"click._submit keypress._submit",function(a){a=a.target;(a=c.nodeName(a,"input")||c.nodeName(a,"button")?a.form:l)&&!a._submit_attached&&(c.event.add(a,"submit._submit",function(a){this.parentNode&&!a.isTrigger&&c.event.simulate("submit",this.parentNode,a,!0)}),a._submit_attached=!0)})},teardown:function(){if(c.nodeName(this,"form"))return!1;c.event.remove(this,"._submit")}});c.support.changeBubbles||(c.event.special.change=
{setup:function(){if(fa.test(this.nodeName)){if("checkbox"===this.type||"radio"===this.type)c.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),c.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,c.event.simulate("change",this,a,!0))});return!1}c.event.add(this,"beforeactivate._change",function(a){a=a.target;fa.test(a.nodeName)&&!a._change_attached&&(c.event.add(a,"change._change",
function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&c.event.simulate("change",this.parentNode,a,!0)}),a._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type)return a.handleObj.handler.apply(this,arguments)},teardown:function(){c.event.remove(this,"._change");return fa.test(this.nodeName)}});c.support.focusinBubbles||c.each({focus:"focusin",blur:"focusout"},function(a,b){var e=0,g=function(a){c.event.simulate(b,
a.target,c.event.fix(a),!0)};c.event.special[b]={setup:function(){0===e++&&o.addEventListener(a,g,!0)},teardown:function(){0===--e&&o.removeEventListener(a,g,!0)}}});c.fn.extend({on:function(a,b,e,g,h){var d,k;if("object"==typeof a){"string"!=typeof b&&(e=b,b=l);for(k in a)this.on(k,b,e,a[k],h);return this}null==e&&null==g?(g=b,e=b=l):null==g&&("string"==typeof b?(g=e,e=l):(g=e,e=b,b=l));if(!1===g)g=K;else if(!g)return this;1===h&&(d=g,g=function(a){c().off(a);return d.apply(this,arguments)},g.guid=
d.guid||(d.guid=c.guid++));return this.each(function(){c.event.add(this,a,g,e,b)})},one:function(a,b,c,g){return this.on.call(this,a,b,c,g,1)},off:function(a,b,e){if(a&&a.preventDefault&&a.handleObj){var g=a.handleObj;c(a.delegateTarget).off(g.namespace?g.type+"."+g.namespace:g.type,g.selector,g.handler);return this}if("object"==typeof a){for(g in a)this.off(g,b,a[g]);return this}if(!1===b||"function"==typeof b)e=b,b=l;!1===e&&(e=K);return this.each(function(){c.event.remove(this,a,e,b)})},bind:function(a,
b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,e){c(this.context).on(a,this.selector,b,e);return this},die:function(a,b){c(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,e){return this.on(b,a,c,e)},undelegate:function(a,b,c){return 1==arguments.length?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return c.event.trigger(a,
b,this[0],!0)},toggle:function(a){var b=arguments,e=a.guid||c.guid++,g=0,h=function(e){var h=(c._data(this,"lastToggle"+a.guid)||0)%g;c._data(this,"lastToggle"+a.guid,h+1);e.preventDefault();return b[h].apply(this,arguments)||!1};for(h.guid=e;g<b.length;)b[g++].guid=e;return this.click(h)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});c.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,contextmenu".split(","),
function(a,b){c.fn[b]=function(a,c){null==c&&(c=a,a=null);return 0<arguments.length?this.on(b,null,a,c):this.trigger(b)};c.attrFn&&(c.attrFn[b]=!0);Xa.test(b)&&(c.event.fixHooks[b]=c.event.keyHooks);pa.test(b)&&(c.event.fixHooks[b]=c.event.mouseHooks)});(function(){function a(a,b,f,c,e,h){for(var e=0,d=c.length;e<d;e++){var n=c[e];if(n){for(var k=!1,n=n[a];n;){if(n[g]===f){k=c[n.sizset];break}if(1===n.nodeType)if(h||(n[g]=f,n.sizset=e),"string"!=typeof b){if(n===b){k=!0;break}}else if(0<p.filter(b,
[n]).length){k=n;break}n=n[a]}c[e]=k}}}function b(a,f,c,e,h,d){for(var h=0,n=e.length;h<n;h++){var k=e[h];if(k){for(var j=!1,k=k[a];k;){if(k[g]===c){j=e[k.sizset];break}1===k.nodeType&&!d&&(k[g]=c,k.sizset=h);if(k.nodeName.toLowerCase()===f){j=k;break}k=k[a]}e[h]=j}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,g="sizcache"+(Math.random()+"").replace(".",""),h=0,d=Object.prototype.toString,k=!1,j=!0,i=/\\/g,
m=/\r\n/g,w=/\W/;[0,0].sort(function(){j=!1;return 0});var p=function(a,b,f,c){f=f||[];b=b||o;var g=b;if(1!==b.nodeType&&9!==b.nodeType)return[];if(!a||"string"!=typeof a)return f;var h,k,j,i,l,m,x,gb=!0,w=p.isXML(b),v=[],L=a;do if(e.exec(""),h=e.exec(L),h&&(L=h[3],v.push(h[1]),h[2])){i=h[3];break}while(h);if(1<v.length&&q.exec(a))if(2===v.length&&r.relative[v[0]])k=C(v[0]+v[1],b,c);else for(k=r.relative[v[0]]?[b]:p(v.shift(),b);v.length;)a=v.shift(),r.relative[a]&&(a+=v.shift()),k=C(a,k,c);else if(!c&&
1<v.length&&9===b.nodeType&&!w&&r.match.ID.test(v[0])&&!r.match.ID.test(v[v.length-1])&&(l=p.find(v.shift(),b,w),b=l.expr?p.filter(l.expr,l.set)[0]:l.set[0]),b)for(l=c?{expr:v.pop(),set:s(c)}:p.find(v.pop(),1===v.length&&("~"===v[0]||"+"===v[0])&&b.parentNode?b.parentNode:b,w),k=l.expr?p.filter(l.expr,l.set):l.set,0<v.length?j=s(k):gb=!1;v.length;)m=v.pop(),x=m,r.relative[m]?x=v.pop():m="",null==x&&(x=b),r.relative[m](j,x,w);else j=[];j||(j=k);j||p.error(m||a);if("[object Array]"===d.call(j))if(gb)if(b&&
1===b.nodeType)for(a=0;null!=j[a];a++)j[a]&&(!0===j[a]||1===j[a].nodeType&&p.contains(b,j[a]))&&f.push(k[a]);else for(a=0;null!=j[a];a++)j[a]&&1===j[a].nodeType&&f.push(k[a]);else f.push.apply(f,j);else s(j,f);i&&(p(i,g,f,c),p.uniqueSort(f));return f};p.uniqueSort=function(a){if(E&&(k=j,a.sort(E),k))for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1);return a};p.matches=function(a,b){return p(a,null,null,b)};p.matchesSelector=function(a,b){return 0<p(b,null,null,[a]).length};p.find=function(a,
b,f){var c,e,g,h,d,n;if(!a)return[];for(e=0,g=r.order.length;e<g;e++)if(d=r.order[e],h=r.leftMatch[d].exec(a))if(n=h[1],h.splice(1,1),"\\"!==n.substr(n.length-1)&&(h[1]=(h[1]||"").replace(i,""),c=r.find[d](h,b,f),null!=c)){a=a.replace(r.match[d],"");break}c||(c="undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName("*"):[]);return{set:c,expr:a}};p.filter=function(a,b,f,c){for(var e,g,h,d,n,k,j,i,m=a,ca=[],x=b,gb=b&&b[0]&&p.isXML(b[0]);a&&b.length;){for(h in r.filter)if(null!=(e=r.leftMatch[h].exec(a))&&
e[2])if(k=r.filter[h],n=e[1],g=!1,e.splice(1,1),"\\"!==n.substr(n.length-1)){x===ca&&(ca=[]);if(r.preFilter[h])if(e=r.preFilter[h](e,x,f,ca,c,gb)){if(!0===e)continue}else g=d=!0;if(e)for(j=0;null!=(n=x[j]);j++)n&&(d=k(n,e,j,x),i=c^d,f&&null!=d?i?g=!0:x[j]=!1:i&&(ca.push(n),g=!0));if(d!==l){f||(x=ca);a=a.replace(r.match[h],"");if(!g)return[];break}}if(a===m)if(null==g)p.error(a);else break;m=a}return x};p.error=function(a){throw Error("Syntax error, unrecognized expression: "+a);};var v=p.getText=
function(a){var b,f;b=a.nodeType;var c="";if(b)if(1===b||9===b){if("string"==typeof a.textContent)return a.textContent;if("string"==typeof a.innerText)return a.innerText.replace(m,"");for(a=a.firstChild;a;a=a.nextSibling)c+=v(a)}else{if(3===b||4===b)return a.nodeValue}else for(b=0;f=a[b];b++)8!==f.nodeType&&(c+=v(f));return c},r=p.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|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},
type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var f="string"==typeof b,c=f&&!w.test(b),f=f&&!c;c&&(b=b.toLowerCase());for(var c=0,e=a.length,g;c<e;c++)if(g=a[c]){for(;(g=g.previousSibling)&&1!==g.nodeType;);a[c]=f||g&&g.nodeName.toLowerCase()===b?g||!1:g===b}f&&p.filter(b,a,!0)},">":function(a,b){var f,c="string"==typeof b,e=0,g=a.length;if(c&&!w.test(b))for(b=b.toLowerCase();e<g;e++){if(f=a[e])f=f.parentNode,a[e]=f.nodeName.toLowerCase()===b?f:!1}else{for(;e<g;e++)f=
a[e],f&&(a[e]=c?f.parentNode:f.parentNode===b);c&&p.filter(b,a,!0)}},"":function(c,e,g){var d,n=h++,k=a;"string"==typeof e&&!w.test(e)&&(e=e.toLowerCase(),d=e,k=b);k("parentNode",e,n,c,d,g)},"~":function(c,e,g){var d,n=h++,k=a;"string"==typeof e&&!w.test(e)&&(e=e.toLowerCase(),d=e,k=b);k("previousSibling",e,n,c,d,g)}},find:{ID:function(a,b,f){if("undefined"!=typeof b.getElementById&&!f)return(a=b.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:function(a,b){if("undefined"!=typeof b.getElementsByName){for(var f=
[],c=b.getElementsByName(a[1]),e=0,g=c.length;e<g;e++)c[e].getAttribute("name")===a[1]&&f.push(c[e]);return 0===f.length?null:f}},TAG:function(a,b){if("undefined"!=typeof b.getElementsByTagName)return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,f,c,e,g){a=" "+a[1].replace(i,"")+" ";if(g)return a;for(var g=0,h;null!=(h=b[g]);g++)h&&(e^(h.className&&0<=(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a))?f||c.push(h):f&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,
"")},TAG:function(a){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if("nth"===a[1]){a[2]||p.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec("even"===a[2]&&"2n"||"odd"===a[2]&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}else a[2]&&p.error(a[0]);a[0]=h++;return a},ATTR:function(a,b,f,c,e,g){b=a[1]=a[1].replace(i,"");!g&&r.attrMap[b]&&(a[1]=r.attrMap[b]);a[4]=(a[4]||a[5]||"").replace(i,"");"~="===a[2]&&(a[4]=" "+a[4]+
" ");return a},PSEUDO:function(a,b,f,c,g){if("not"===a[1])if(1<(e.exec(a[3])||"").length||/^\w/.test(a[3]))a[3]=p(a[3],null,null,b);else return a=p.filter(a[3],b,f,1^g),f||c.push.apply(c,a),!1;else if(r.match.POS.test(a[0])||r.match.CHILD.test(a[0]))return!0;return a},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return!1===a.disabled&&"hidden"!==a.type},disabled:function(a){return!0===a.disabled},checked:function(a){return!0===a.checked},selected:function(a){a.parentNode&&
a.parentNode.selectedIndex;return!0===a.selected},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,f){return!!p(f[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),f=a.type;return"input"===a.nodeName.toLowerCase()&&"text"===f&&(b===f||null===b)},radio:function(a){return"input"===a.nodeName.toLowerCase()&&"radio"===a.type},checkbox:function(a){return"input"===a.nodeName.toLowerCase()&&"checkbox"===
a.type},file:function(a){return"input"===a.nodeName.toLowerCase()&&"file"===a.type},password:function(a){return"input"===a.nodeName.toLowerCase()&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return("input"===b||"button"===b)&&"submit"===a.type},image:function(a){return"input"===a.nodeName.toLowerCase()&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return("input"===b||"button"===b)&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();
return"input"===b&&"button"===a.type||"button"===b},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return 0===b},last:function(a,b,f,c){return b===c.length-1},even:function(a,b){return 0===b%2},odd:function(a,b){return 1===b%2},lt:function(a,b,f){return b<f[3]-0},gt:function(a,b,f){return b>f[3]-0},nth:function(a,b,f){return f[3]-0===b},eq:function(a,b,f){return f[3]-0===b}},filter:{PSEUDO:function(a,
b,f,c){var e=b[1],g=r.filters[e];if(g)return g(a,f,b,c);if("contains"===e)return 0<=(a.textContent||a.innerText||v([a])||"").indexOf(b[3]);if("not"===e){b=b[3];f=0;for(c=b.length;f<c;f++)if(b[f]===a)return!1;return!0}p.error(e)},CHILD:function(a,b){var f,c,e,h,d,n;f=b[1];n=a;switch(f){case "only":case "first":for(;n=n.previousSibling;)if(1===n.nodeType)return!1;if("first"===f)return!0;n=a;case "last":for(;n=n.nextSibling;)if(1===n.nodeType)return!1;return!0;case "nth":f=b[2];c=b[3];if(1===f&&0===
c)return!0;e=b[0];h=a.parentNode;if(h&&(h[g]!==e||!a.nodeIndex)){d=0;for(n=h.firstChild;n;n=n.nextSibling)1===n.nodeType&&(n.nodeIndex=++d);h[g]=e}n=a.nodeIndex-c;return 0===f?0===n:0===n%f&&0<=n/f}},ID:function(a,b){return 1===a.nodeType&&a.getAttribute("id")===b},TAG:function(a,b){return"*"===b&&1===a.nodeType||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return-1<(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)},ATTR:function(a,b){var f=b[1],f=p.attr?p.attr(a,f):r.attrHandle[f]?
r.attrHandle[f](a):null!=a[f]?a[f]:a.getAttribute(f),c=f+"",e=b[2],g=b[4];return null==f?"!="===e:!e&&p.attr?null!=f:"="===e?c===g:"*="===e?0<=c.indexOf(g):"~="===e?0<=(" "+c+" ").indexOf(g):g?"!="===e?c!==g:"^="===e?0===c.indexOf(g):"$="===e?c.substr(c.length-g.length)===g:"|="===e?c===g||c.substr(0,g.length+1)===g+"-":!1:c&&!1!==f},POS:function(a,b,f,c){var e=r.setFilters[b[2]];if(e)return e(a,f,b,c)}}},q=r.match.POS,u=function(a,b){return"\\"+(b-0+1)},G;for(G in r.match)r.match[G]=RegExp(r.match[G].source+
/(?![^\[]*\])(?![^\(]*\))/.source),r.leftMatch[G]=RegExp(/(^(?:.|\r|\n)*?)/.source+r.match[G].source.replace(/\\(\d+)/g,u));var s=function(a,b){a=Array.prototype.slice.call(a,0);return b?(b.push.apply(b,a),b):a};try{Array.prototype.slice.call(o.documentElement.childNodes,0)[0].nodeType}catch(M){s=function(a,b){var f=0,c=b||[];if("[object Array]"===d.call(a))Array.prototype.push.apply(c,a);else if("number"==typeof a.length)for(var e=a.length;f<e;f++)c.push(a[f]);else for(;a[f];f++)c.push(a[f]);return c}}var E,
z;o.documentElement.compareDocumentPosition?E=function(a,b){return a===b?(k=!0,0):!a.compareDocumentPosition||!b.compareDocumentPosition?a.compareDocumentPosition?-1:1:a.compareDocumentPosition(b)&4?-1:1}:(E=function(a,b){if(a===b)return k=!0,0;if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var f,c,e=[],g=[];f=a.parentNode;c=b.parentNode;var h=f;if(f===c)return z(a,b);if(!f)return-1;if(!c)return 1;for(;h;)e.unshift(h),h=h.parentNode;for(h=c;h;)g.unshift(h),h=h.parentNode;f=e.length;
c=g.length;for(h=0;h<f&&h<c;h++)if(e[h]!==g[h])return z(e[h],g[h]);return h===f?z(a,g[h],-1):z(e[h],b,1)},z=function(a,b,f){if(a===b)return f;for(a=a.nextSibling;a;){if(a===b)return-1;a=a.nextSibling}return 1});(function(){var a=o.createElement("div"),b="script"+(new Date).getTime(),f=o.documentElement;a.innerHTML="<a name='"+b+"'/>";f.insertBefore(a,f.firstChild);o.getElementById(b)&&(r.find.ID=function(a,b,f){if("undefined"!=typeof b.getElementById&&!f)return(b=b.getElementById(a[1]))?b.id===a[1]||
"undefined"!=typeof b.getAttributeNode&&b.getAttributeNode("id").nodeValue===a[1]?[b]:l:[]},r.filter.ID=function(a,b){var f="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return 1===a.nodeType&&f&&f.nodeValue===b});f.removeChild(a);f=a=null})();(function(){var a=o.createElement("div");a.appendChild(o.createComment(""));0<a.getElementsByTagName("*").length&&(r.find.TAG=function(a,b){var f=b.getElementsByTagName(a[1]);if("*"===a[1]){for(var c=[],e=0;f[e];e++)1===f[e].nodeType&&c.push(f[e]);
f=c}return f});a.innerHTML="<a href='#'></a>";a.firstChild&&"undefined"!=typeof a.firstChild.getAttribute&&"#"!==a.firstChild.getAttribute("href")&&(r.attrHandle.href=function(a){return a.getAttribute("href",2)});a=null})();o.querySelectorAll&&function(){var a=p,b=o.createElement("div");b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||0!==b.querySelectorAll(".TEST").length){p=function(b,f,c,e){f=f||o;if(!e&&!p.isXML(f)){var g=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(g&&(1===f.nodeType||
9===f.nodeType)){if(g[1])return s(f.getElementsByTagName(b),c);if(g[2]&&r.find.CLASS&&f.getElementsByClassName)return s(f.getElementsByClassName(g[2]),c)}if(9===f.nodeType){if("body"===b&&f.body)return s([f.body],c);if(g&&g[3]){var h=f.getElementById(g[3]);if(!h||!h.parentNode)return s([],c);if(h.id===g[3])return s([h],c)}try{return s(f.querySelectorAll(b),c)}catch(d){}}else if(1===f.nodeType&&"object"!==f.nodeName.toLowerCase()){var g=f,n=(h=f.getAttribute("id"))||"__sizzle__",k=f.parentNode,j=/^\s*[+~]/.test(b);
h?n=n.replace(/'/g,"\\$&"):f.setAttribute("id",n);j&&k&&(f=f.parentNode);try{if(!j||k)return s(f.querySelectorAll("[id='"+n+"'] "+b),c)}catch(i){}finally{h||g.removeAttribute("id")}}}return a(b,f,c,e)};for(var f in a)p[f]=a[f];b=null}}();(function(){var a=o.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var f=!b.call(o.createElement("div"),"div"),c=!1;try{b.call(o.documentElement,"[test!='']:sizzle")}catch(e){c=!0}p.matchesSelector=function(a,
e){e=e.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!p.isXML(a))try{if(c||!r.match.PSEUDO.test(e)&&!/!=/.test(e)){var g=b.call(a,e);if(g||!f||a.document&&11!==a.document.nodeType)return g}}catch(h){}return 0<p(e,null,null,[a]).length}}})();(function(){var a=o.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";a.getElementsByClassName&&0!==a.getElementsByClassName("e").length&&(a.lastChild.className="e",1!==a.getElementsByClassName("e").length&&(r.order.splice(1,
0,"CLASS"),r.find.CLASS=function(a,b,f){if("undefined"!=typeof b.getElementsByClassName&&!f)return b.getElementsByClassName(a[1])},a=null))})();o.documentElement.contains?p.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:o.documentElement.compareDocumentPosition?p.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:p.contains=function(){return!1};p.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?"HTML"!==a.nodeName:!1};var C=function(a,b,f){for(var c,
e=[],g="",b=b.nodeType?[b]:b;c=r.match.PSEUDO.exec(a);)g+=c[0],a=a.replace(r.match.PSEUDO,"");a=r.relative[a]?a+"*":a;c=0;for(var h=b.length;c<h;c++)p(a,b[c],e,f);return p.filter(g,e)};p.attr=c.attr;p.selectors.attrMap={};c.find=p;c.expr=p.selectors;c.expr[":"]=c.expr.filters;c.unique=p.uniqueSort;c.text=p.getText;c.isXMLDoc=p.isXML;c.contains=p.contains})();var Na=/Until$/,Za=/^(?:parents|prevUntil|prevAll)/,kb=/,/,ib=/^.[^:#\[\.,]*$/,lb=Array.prototype.slice,Aa=c.expr.match.POS,Ba={children:!0,
contents:!0,next:!0,prev:!0};c.fn.extend({find:function(a){var b=this,e,g;if("string"!=typeof a)return c(a).filter(function(){for(e=0,g=b.length;e<g;e++)if(c.contains(b[e],this))return!0});var h=this.pushStack("","find",a),d,k,j;for(e=0,g=this.length;e<g;e++)if(d=h.length,c.find(a,this[e],h),0<e)for(k=d;k<h.length;k++)for(j=0;j<d;j++)if(h[j]===h[k]){h.splice(k--,1);break}return h},has:function(a){var b=c(a);return this.filter(function(){for(var a=0,e=b.length;a<e;a++)if(c.contains(this,b[a]))return!0})},
not:function(a){return this.pushStack(ia(this,a,!1),"not",a)},filter:function(a){return this.pushStack(ia(this,a,!0),"filter",a)},is:function(a){return!!a&&("string"==typeof a?Aa.test(a)?0<=c(a,this.context).index(this[0]):0<c.filter(a,this).length:0<this.filter(a).length)},closest:function(a,b){var e=[],g,h,d=this[0];if(c.isArray(a)){for(h=1;d&&d.ownerDocument&&d!==b;){for(g=0;g<a.length;g++)c(d).is(a[g])&&e.push({selector:a[g],elem:d,level:h});d=d.parentNode;h++}return e}var k=Aa.test(a)||"string"!=
typeof a?c(a,b||this.context):0;for(g=0,h=this.length;g<h;g++)for(d=this[g];d;){if(k?-1<k.index(d):c.find.matchesSelector(d,a)){e.push(d);break}d=d.parentNode;if(!d||!d.ownerDocument||d===b||11===d.nodeType)break}e=1<e.length?c.unique(e):e;return this.pushStack(e,"closest",a)},index:function(a){return!a?this[0]&&this[0].parentNode?this.prevAll().length:-1:"string"==typeof a?c.inArray(this[0],c(a)):c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var e="string"==typeof a?c(a,b):c.makeArray(a&&a.nodeType?
[a]:a),g=c.merge(this.get(),e);return this.pushStack(!e[0]||!e[0].parentNode||11===e[0].parentNode.nodeType||!g[0]||!g[0].parentNode||11===g[0].parentNode.nodeType?g:c.unique(g))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&11!==a.nodeType?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,e){return c.dir(a,"parentNode",e)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,
2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,e){return c.dir(a,"nextSibling",e)},prevUntil:function(a,b,e){return c.dir(a,"previousSibling",e)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,
b){c.fn[a]=function(e,g){var h=c.map(this,b,e);Na.test(a)||(g=e);g&&"string"==typeof g&&(h=c.filter(g,h));h=1<this.length&&!Ba[a]?c.unique(h):h;(1<this.length||kb.test(g))&&Za.test(a)&&(h=h.reverse());return this.pushStack(h,a,lb.call(arguments).join(","))}});c.extend({filter:function(a,b,e){e&&(a=":not("+a+")");return 1===b.length?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,e){for(var g=[],a=a[b];a&&9!==a.nodeType&&(e===l||1!==a.nodeType||!c(a).is(e));)1===a.nodeType&&
g.push(a),a=a[b];return g},nth:function(a,b,c){for(var b=b||1,e=0;a&&!(1===a.nodeType&&++e===b);a=a[c]);return a},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}});var va="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Y=/ jQuery\d+="(?:\d+|null)"/g,Oa=/^\s+/,Ca=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,qa=/<([\w:]+)/,aa=
/<tbody/i,$a=/<|&#?\w+;/,ab=/<(?:script|style)/i,mb=/<(?:script|object|embed|option|style)/i,A=RegExp("<(?:"+va+")","i"),nb=/checked\s*(?:[^=]|=\s*.checked.)/i,ga=/\/(java|ecma)script/i,U=/^\s*<!(?:\[CDATA\[|\-\-)/,J={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,"",""]},bb=W(o);J.optgroup=J.option;J.tbody=J.tfoot=J.colgroup=J.caption=J.thead;J.th=J.td;c.support.htmlSerialize||(J._default=[1,"div<div>","</div>"]);c.fn.extend({text:function(a){return c.isFunction(a)?this.each(function(b){var e=c(this);e.text(a.call(this,b,e.text()))}):"object"!=typeof a&&a!==l?this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(a)):c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapAll(a.call(this,
b))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&1===a.firstChild.nodeType;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return c.isFunction(a)?this.each(function(b){c(this).wrapInner(a.call(this,b))}):this.each(function(){var b=c(this),e=b.contents();e.length?e.wrapAll(a):b.append(a)})},wrap:function(a){var b=c.isFunction(a);return this.each(function(e){c(this).wrapAll(b?
a.call(this,e):a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){1===this.nodeType&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){1===this.nodeType&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,
this)});if(arguments.length){var a=c.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c.clean(arguments));return a}},remove:function(a,b){for(var e=0,g;null!=(g=this[e]);e++)if(!a||c.filter(a,[g]).length)!b&&1===g.nodeType&&(c.cleanData(g.getElementsByTagName("*")),
c.cleanData([g])),g.parentNode&&g.parentNode.removeChild(g);return this},empty:function(){for(var a=0,b;null!=(b=this[a]);a++)for(1===b.nodeType&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a,b){a=null==a?!1:a;b=null==b?a:b;return this.map(function(){return c.clone(this,a,b)})},html:function(a){if(a===l)return this[0]&&1===this[0].nodeType?this[0].innerHTML.replace(Y,""):null;if("string"==typeof a&&!ab.test(a)&&(c.support.leadingWhitespace||
!Oa.test(a))&&!J[(qa.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ca,"<$1></$2>");try{for(var b=0,e=this.length;b<e;b++)1===this[b].nodeType&&(c.cleanData(this[b].getElementsByTagName("*")),this[b].innerHTML=a)}catch(g){this.empty().append(a)}}else c.isFunction(a)?this.each(function(b){var f=c(this);f.html(a.call(this,b,f.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var e=c(this),g=e.html();
e.replaceWith(a.call(this,b,g))});"string"!=typeof a&&(a=c(a).detach());return this.each(function(){var b=this.nextSibling,e=this.parentNode;c(this).remove();b?c(b).before(a):c(e).append(a)})}return this.length?this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,b,e){var g,h,d,k,j=a[0],i=[];if(!c.support.checkClone&&3===arguments.length&&"string"==typeof j&&nb.test(j))return this.each(function(){c(this).domManip(a,b,e,!0)});
if(c.isFunction(j))return this.each(function(g){var h=c(this);a[0]=j.call(this,g,b?h.html():l);h.domManip(a,b,e)});if(this[0]){k=j&&j.parentNode;c.support.parentNode&&k&&11===k.nodeType&&k.childNodes.length===this.length?g={fragment:k}:g=c.buildFragment(a,this,i);d=g.fragment;1===d.childNodes.length?h=d=d.firstChild:h=d.firstChild;if(h){b=b&&c.nodeName(h,"tr");h=0;k=this.length;for(var m=k-1;h<k;h++)e.call(b?c.nodeName(this[h],"table")?this[h].getElementsByTagName("tbody")[0]||this[h].appendChild(this[h].ownerDocument.createElement("tbody")):
this[h]:this[h],g.cacheable||1<k&&h<m?c.clone(d,!0,!0):d)}i.length&&c.each(i,y)}return this}});c.buildFragment=function(a,b,e){var g,h,d,k,j=a[0];b&&b[0]&&(k=b[0].ownerDocument||b[0]);k.createDocumentFragment||(k=o);1===a.length&&"string"==typeof j&&512>j.length&&k===o&&"<"===j.charAt(0)&&!mb.test(j)&&(c.support.checkClone||!nb.test(j))&&(c.support.html5Clone||!A.test(j))&&(h=!0,d=c.fragments[j],d&&1!==d&&(g=d));g||(g=k.createDocumentFragment(),c.clean(a,k,g,e));h&&(c.fragments[j]=d?g:1);return{fragment:g,
cacheable:h}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(e){var g=[],e=c(e),h=1===this.length&&this[0].parentNode;if(h&&11===h.nodeType&&1===h.childNodes.length&&1===e.length)return e[b](this[0]),this;for(var h=0,d=e.length;h<d;h++){var k=(0<h?this.clone(!0):this).get();c(e[h])[b](k);g=g.concat(k)}return this.pushStack(g,a,e.selector)}});c.extend({clone:function(a,b,e){var g,h,d;c.support.html5Clone||
!A.test("<"+a.nodeName)?g=a.cloneNode(!0):(g=o.createElement("div"),bb.appendChild(g),g.innerHTML=a.outerHTML,g=g.firstChild);var k=g;if((!c.support.noCloneEvent||!c.support.noCloneChecked)&&(1===a.nodeType||11===a.nodeType)&&!c.isXMLDoc(a)){ua(a,k);g=ha(a);h=ha(k);for(d=0;g[d];++d)h[d]&&ua(g[d],h[d])}if(b&&(F(a,k),e)){g=ha(a);h=ha(k);for(d=0;g[d];++d)F(g[d],h[d])}return k},clean:function(a,b,e,g){b=b||o;"undefined"==typeof b.createElement&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||o);for(var h=
[],d,k=0,j;null!=(j=a[k]);k++)if("number"==typeof j&&(j+=""),j){if("string"==typeof j)if($a.test(j)){j=j.replace(Ca,"<$1></$2>");d=(qa.exec(j)||["",""])[1].toLowerCase();var i=J[d]||J._default,l=i[0],m=b.createElement("div");for(b===o?bb.appendChild(m):W(b).appendChild(m),m.innerHTML=i[1]+j+i[2];l--;)m=m.lastChild;if(!c.support.tbody){l=aa.test(j);i="table"===d&&!l?m.firstChild&&m.firstChild.childNodes:"<table>"===i[1]&&!l?m.childNodes:[];for(d=i.length-1;0<=d;--d)c.nodeName(i[d],"tbody")&&!i[d].childNodes.length&&
i[d].parentNode.removeChild(i[d])}!c.support.leadingWhitespace&&Oa.test(j)&&m.insertBefore(b.createTextNode(Oa.exec(j)[0]),m.firstChild);j=m.childNodes}else j=b.createTextNode(j);var r;if(!c.support.appendChecked)if(j[0]&&"number"==typeof(r=j.length))for(d=0;d<r;d++)Ga(j[d]);else Ga(j);j.nodeType?h.push(j):h=c.merge(h,j)}if(e){a=function(a){return!a.type||ga.test(a.type)};for(k=0;h[k];k++)g&&c.nodeName(h[k],"script")&&(!h[k].type||"text/javascript"===h[k].type.toLowerCase())?g.push(h[k].parentNode?
h[k].parentNode.removeChild(h[k]):h[k]):(1===h[k].nodeType&&(b=c.grep(h[k].getElementsByTagName("script"),a),h.splice.apply(h,[k+1,0].concat(b))),e.appendChild(h[k]))}return h},cleanData:function(a){for(var b,e,g=c.cache,d=c.event.special,k=c.support.deleteExpando,j=0,i;null!=(i=a[j]);j++)if(!i.nodeName||!c.noData[i.nodeName.toLowerCase()])if(e=i[c.expando]){if((b=g[e])&&b.events){for(var m in b.events)d[m]?c.event.remove(i,m):c.removeEvent(i,m,b.handle);b.handle&&(b.handle.elem=null)}k?delete i[c.expando]:
i.removeAttribute&&i.removeAttribute(c.expando);delete g[e]}}});var R=/alpha\([^)]*\)/i,ob=/opacity=([^)]*)/,cb=/([A-Z]|^ms)/g,pb=/^-?\d+(?:px)?$/i,zb=/^-?\d/,ba=/^([\-+])=([\-+.\de]+)/,Ab={position:"absolute",visibility:"hidden",display:"block"},ta=["Left","Right"],wb=["Top","Bottom"],Z,Pa,Qa;c.fn.css=function(a,b){return 2===arguments.length&&b===l?this:c.access(this,a,b,!0,function(a,b,f){return f!==l?c.style(a,b,f):c.css(a,b)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Z(a,"opacity",
"opacity");return""===c?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,e,g){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var d,k,j=c.camelCase(b),i=a.style,m=c.cssHooks[j],b=c.cssProps[j]||j;if(e===l)return m&&"get"in m&&(d=m.get(a,!1,g))!==l?d:i[b];k=typeof e;"string"===k&&(d=ba.exec(e))&&(e=+(d[1]+1)*+d[2]+parseFloat(c.css(a,
b)),k="number");if(!(null==e||"number"===k&&isNaN(e)))if("number"===k&&!c.cssNumber[j]&&(e+="px"),!m||!("set"in m)||(e=m.set(a,e))!==l)try{i[b]=e}catch(r){}}},css:function(a,b,e){var g,d;b=c.camelCase(b);d=c.cssHooks[b];b=c.cssProps[b]||b;"cssFloat"===b&&(b="float");if(d&&"get"in d&&(g=d.get(a,!0,e))!==l)return g;if(Z)return Z(a,b)},swap:function(a,b,c){var e={},d;for(d in b)e[d]=a.style[d],a.style[d]=b[d];c.call(a);for(d in b)a.style[d]=e[d]}});c.curCSS=c.css;c.each(["height","width"],function(a,
b){c.cssHooks[b]={get:function(a,e,d){var k;if(e){if(0!==a.offsetWidth)return N(a,b,d);c.swap(a,Ab,function(){k=N(a,b,d)});return k}},set:function(a,b){if(!pb.test(b))return b;b=parseFloat(b);if(0<=b)return b+"px"}}});c.support.opacity||(c.cssHooks.opacity={get:function(a,b){return ob.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var e=a.style,g=a.currentStyle,d=c.isNumeric(b)?"alpha(opacity="+100*b+")":"",k=g&&g.filter||
e.filter||"";e.zoom=1;if(1<=b&&""===c.trim(k.replace(R,""))&&(e.removeAttribute("filter"),g&&!g.filter))return;e.filter=R.test(k)?k.replace(R,d):k+" "+d}});c(function(){c.support.reliableMarginRight||(c.cssHooks.marginRight={get:function(a,b){var e;c.swap(a,{display:"inline-block"},function(){b?e=Z(a,"margin-right","marginRight"):e=a.style.marginRight});return e}})});o.defaultView&&o.defaultView.getComputedStyle&&(Pa=function(a,b){var e,g,d;b=b.replace(cb,"-$1").toLowerCase();(g=a.ownerDocument.defaultView)&&
(d=g.getComputedStyle(a,null))&&(e=d.getPropertyValue(b),""===e&&!c.contains(a.ownerDocument.documentElement,a)&&(e=c.style(a,b)));return e});o.documentElement.currentStyle&&(Qa=function(a,b){var c,e,d,k=a.currentStyle&&a.currentStyle[b],j=a.style;null===k&&j&&(d=j[b])&&(k=d);!pb.test(k)&&zb.test(k)&&(c=j.left,e=a.runtimeStyle&&a.runtimeStyle.left,e&&(a.runtimeStyle.left=a.currentStyle.left),j.left="fontSize"===b?"1em":k||0,k=j.pixelLeft+"px",j.left=c,e&&(a.runtimeStyle.left=e));return""===k?"auto":
k});Z=Pa||Qa;c.expr&&c.expr.filters&&(c.expr.filters.hidden=function(a){var b=a.offsetHeight;return 0===a.offsetWidth&&0===b||!c.support.reliableHiddenOffsets&&"none"===(a.style&&a.style.display||c.css(a,"display"))},c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)});var ra=/%20/g,hb=/\[\]$/,db=/\r?\n/g,eb=/#.*$/,qb=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,rb=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,sb=/^(?:GET|HEAD)$/,
Bb=/^\/\//,e=/\?/,b=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,j=/^(?:select|textarea)/i,v=/\s+/,m=/([?&])_=[^&]*/,G=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Q=c.fn.load,T={},Da={},S,P,Gb=["*/"]+["*"];try{S=la.href}catch(Qb){S=o.createElement("a"),S.href="",S=S.href}P=G.exec(S.toLowerCase())||[];c.fn.extend({load:function(a,f,e){if("string"!=typeof a&&Q)return Q.apply(this,arguments);if(!this.length)return this;var g=a.indexOf(" ");if(0<=g)var d=a.slice(g,a.length),a=a.slice(0,
g);g="GET";f&&(c.isFunction(f)?(e=f,f=l):"object"==typeof f&&(f=c.param(f,c.ajaxSettings.traditional),g="POST"));var k=this;c.ajax({url:a,type:g,dataType:"html",data:f,complete:function(a,f,g){g=a.responseText;a.isResolved()&&(a.done(function(a){g=a}),k.html(d?c("<div>").append(g.replace(b,"")).find(d):g));e&&k.each(e,[g,f,a])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):
this}).filter(function(){return this.name&&!this.disabled&&(this.checked||j.test(this.nodeName)||rb.test(this.type))}).map(function(a,b){var e=c(this).val();return null==e?null:c.isArray(e)?c.map(e,function(a){return{name:b.name,value:a.replace(db,"\r\n")}}):{name:b.name,value:e.replace(db,"\r\n")}}).get()}});c.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(a,b){c.fn[b]=function(a){return this.on(b,a)}});c.each(["get","post"],function(a,b){c[b]=function(a,
e,d,k){c.isFunction(e)&&(k=k||d,d=e,e=l);return c.ajax({type:b,url:a,data:e,success:d,dataType:k})}});c.extend({getScript:function(a,b){return c.get(a,l,b,"script")},getJSON:function(a,b,e){return c.get(a,b,e,"json")},ajaxSetup:function(a,b){b?d(a,c.ajaxSettings):(b=a,a=c.ajaxSettings);d(a,b);return a},ajaxSettings:{url:S,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(P[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",
html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Gb},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":i.String,"text html":!0,"text json":c.parseJSON,"text xml":c.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:sa(T),ajaxTransport:sa(Da),ajax:function(a,b){function d(a,b,f,e){if(2!==Q){Q=2;M&&clearTimeout(M);E=l;q=e||"";z.readyState=0<a?4:0;var n,m,v,e=b;if(f){var p=g,o=z,u=p.contents,G=
p.dataTypes,s=p.responseFields,C,t,H,y;for(t in s)t in f&&(o[s[t]]=f[t]);for(;"*"===G[0];)G.shift(),C===l&&(C=p.mimeType||o.getResponseHeader("content-type"));if(C)for(t in u)if(u[t]&&u[t].test(C)){G.unshift(t);break}if(G[0]in f)H=G[0];else{for(t in f){if(!G[0]||p.converters[t+" "+G[0]]){H=t;break}y||(y=t)}H=H||y}H?(H!==G[0]&&G.unshift(H),f=f[H]):f=void 0}else f=l;if(200<=a&&300>a||304===a){if(g.ifModified){if(C=z.getResponseHeader("Last-Modified"))c.lastModified[w]=C;if(C=z.getResponseHeader("Etag"))c.etag[w]=
C}if(304===a)e="notmodified",n=!0;else try{C=g;C.dataFilter&&(f=C.dataFilter(f,C.dataType));var D=C.dataTypes;t={};var B,F,Ib=D.length,Da,T=D[0],I,K,A,P,J;for(B=1;B<Ib;B++){if(1===B)for(F in C.converters)"string"==typeof F&&(t[F.toLowerCase()]=C.converters[F]);I=T;T=D[B];if("*"===T)T=I;else if("*"!==I&&I!==T){K=I+" "+T;A=t[K]||t["* "+T];if(!A)for(P in J=l,t)if(Da=P.split(" "),Da[0]===I||"*"===Da[0])if(J=t[Da[1]+" "+T]){P=t[P];!0===P?A=J:!0===J&&(A=P);break}!A&&!J&&c.error("No conversion from "+K.replace(" ",
" to "));!0!==A&&(f=A?A(f):J(P(f)))}}m=f;e="success";n=!0}catch(N){e="parsererror",v=N}}else if(v=e,!e||a)e="error",0>a&&(a=0);z.status=a;z.statusText=""+(b||e);n?j.resolveWith(h,[m,e,z]):j.rejectWith(h,[z,e,v]);z.statusCode(r);r=l;S&&k.trigger("ajax"+(n?"Success":"Error"),[z,g,n?m:v]);i.fireWith(h,[z,e]);S&&(k.trigger("ajaxComplete",[z,g]),--c.active||c.event.trigger("ajaxStop"))}}"object"==typeof a&&(b=a,a=l);b=b||{};var g=c.ajaxSetup({},b),h=g.context||g,k=h!==g&&(h.nodeType||h instanceof c)?c(h):
c.event,j=c.Deferred(),i=c.Callbacks("once memory"),r=g.statusCode||{},w,o={},p={},q,u,E,M,C,Q=0,S,t,z={readyState:0,setRequestHeader:function(a,b){if(!Q){var c=a.toLowerCase();a=p[c]=p[c]||a;o[a]=b}return this},getAllResponseHeaders:function(){return 2===Q?q:null},getResponseHeader:function(a){var b;if(2===Q){if(!u)for(u={};b=qb.exec(q);)u[b[1].toLowerCase()]=b[2];b=u[a.toLowerCase()]}return b===l?null:b},overrideMimeType:function(a){Q||(g.mimeType=a);return this},abort:function(a){a=a||"abort";
E&&E.abort(a);d(0,a);return this}};j.promise(z);z.success=z.done;z.error=z.fail;z.complete=i.add;z.statusCode=function(a){if(a){var b;if(2>Q)for(b in a)r[b]=[r[b],a[b]];else b=a[z.status],z.then(b,b)}return this};g.url=((a||g.url)+"").replace(eb,"").replace(Bb,P[1]+"//");g.dataTypes=c.trim(g.dataType||"*").toLowerCase().split(v);null==g.crossDomain&&(C=G.exec(g.url.toLowerCase()),g.crossDomain=!(!C||C[1]==P[1]&&C[2]==P[2]&&(C[3]||("http:"===C[1]?80:443))==(P[3]||("http:"===P[1]?80:443))));g.data&&
g.processData&&"string"!=typeof g.data&&(g.data=c.param(g.data,g.traditional));s(T,g,b,z);if(2===Q)return!1;S=g.global;g.type=g.type.toUpperCase();g.hasContent=!sb.test(g.type);S&&0===c.active++&&c.event.trigger("ajaxStart");if(!g.hasContent&&(g.data&&(g.url+=(e.test(g.url)?"&":"?")+g.data,delete g.data),w=g.url,!1===g.cache)){C=c.now();var y=g.url.replace(m,"$1_="+C);g.url=y+(y===g.url?(e.test(g.url)?"&":"?")+"_="+C:"")}(g.data&&g.hasContent&&!1!==g.contentType||b.contentType)&&z.setRequestHeader("Content-Type",
g.contentType);g.ifModified&&(w=w||g.url,c.lastModified[w]&&z.setRequestHeader("If-Modified-Since",c.lastModified[w]),c.etag[w]&&z.setRequestHeader("If-None-Match",c.etag[w]));z.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+Gb+"; q=0.01":""):g.accepts["*"]);for(t in g.headers)z.setRequestHeader(t,g.headers[t]);if(g.beforeSend&&(!1===g.beforeSend.call(h,z,g)||2===Q))return z.abort(),!1;for(t in{success:1,error:1,complete:1})z[t](g[t]);
if(E=s(Da,g,b,z)){z.readyState=1;S&&k.trigger("ajaxSend",[z,g]);g.async&&0<g.timeout&&(M=setTimeout(function(){z.abort("timeout")},g.timeout));try{Q=1,E.send(o,d)}catch(D){if(2>Q)d(-1,D);else throw D;}}else d(-1,"No Transport");return z},param:function(a,b){var e=[],g=function(a,b){b=c.isFunction(b)?b():b;e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};b===l&&(b=c.ajaxSettings.traditional);if(c.isArray(a)||a.jquery&&!c.isPlainObject(a))c.each(a,function(){g(this.name,this.value)});else for(var d in a)Fa(d,
a[d],b,g);return e.join("&").replace(ra,"+")}});c.extend({active:0,lastModified:{},etag:{}});var Mb=c.now(),tb=/(\=)\?(&|$)|\?\?/i;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return c.expando+"_"+Mb++}});c.ajaxPrefilter("json jsonp",function(a,b,e){b="application/x-www-form-urlencoded"===a.contentType&&"string"==typeof a.data;if("jsonp"===a.dataTypes[0]||!1!==a.jsonp&&(tb.test(a.url)||b&&tb.test(a.data))){var g,d=a.jsonpCallback=c.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,
k=i[d],j=a.url,m=a.data,l="$1"+d+"$2";!1!==a.jsonp&&(j=j.replace(tb,l),a.url===j&&(b&&(m=m.replace(tb,l)),a.data===m&&(j+=(/\?/.test(j)?"&":"?")+a.jsonp+"="+d)));a.url=j;a.data=m;i[d]=function(a){g=[a]};e.always(function(){i[d]=k;g&&c.isFunction(k)&&i[d](g[0])});a.converters["script json"]=function(){g||c.error(d+" was not called");return g[0]};a.dataTypes[0]="json";return"script"}});c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){c.globalEval(a);return a}}});c.ajaxPrefilter("script",function(a){a.cache===l&&(a.cache=!1);a.crossDomain&&(a.type="GET",a.global=!1)});c.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=o.head||o.getElementsByTagName("head")[0]||o.documentElement;return{send:function(e,d){b=o.createElement("script");b.async="async";a.scriptCharset&&(b.charset=a.scriptCharset);b.src=a.url;b.onload=b.onreadystatechange=function(a,
e){if(e||!b.readyState||/loaded|complete/.test(b.readyState))b.onload=b.onreadystatechange=null,c&&b.parentNode&&c.removeChild(b),b=l,e||d(200,"success")};c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(0,1)}}}});var Cb=i.ActiveXObject?function(){for(var a in w)w[a](0,1)}:!1,k=0,w;c.ajaxSettings.xhr=i.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&vb()))a:{try{a=new i.ActiveXObject("Microsoft.XMLHTTP");break a}catch(b){}a=void 0}return a}:vb;(function(a){c.extend(c.support,{ajax:!!a,
cors:!!a&&"withCredentials"in a})})(c.ajaxSettings.xhr());c.support.ajax&&c.ajaxTransport(function(a){if(!a.crossDomain||c.support.cors){var b;return{send:function(e,g){var d=a.xhr(),j,m;a.username?d.open(a.type,a.url,a.async,a.username,a.password):d.open(a.type,a.url,a.async);if(a.xhrFields)for(m in a.xhrFields)d[m]=a.xhrFields[m];a.mimeType&&d.overrideMimeType&&d.overrideMimeType(a.mimeType);!a.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(m in e)d.setRequestHeader(m,
e[m])}catch(r){}d.send(a.hasContent&&a.data||null);b=function(e,k){var n,i,m,r,v;try{if(b&&(k||4===d.readyState))if(b=l,j&&(d.onreadystatechange=c.noop,Cb&&delete w[j]),k)4!==d.readyState&&d.abort();else{n=d.status;m=d.getAllResponseHeaders();r={};v=d.responseXML;v&&v.documentElement&&(r.xml=v);r.text=d.responseText;try{i=d.statusText}catch(o){i=""}!n&&a.isLocal&&!a.crossDomain?n=r.text?200:404:1223===n&&(n=204)}}catch(x){k||g(-1,x)}r&&g(n,i,r,m)};!a.async||4===d.readyState?b():(j=++k,Cb&&(w||(w=
{},c(i).unload(Cb)),w[j]=b),d.onreadystatechange=b)},abort:function(){b&&b(0,1)}}}});var r={},M,C,Nb=/^(?:toggle|show|hide)$/,Ob=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,ub,Db=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],fb;c.fn.extend({show:function(a,b,e){var g,d;if(a||0===a)return this.animate(E("show",3),a,b,e);a=0;for(b=this.length;a<b;a++)g=this[a],g.style&&(d=g.style.display,!c._data(g,"olddisplay")&&
"none"===d&&(d=g.style.display=""),""===d&&"none"===c.css(g,"display")&&c._data(g,"olddisplay",u(g.nodeName)));for(a=0;a<b;a++)if(g=this[a],g.style&&(d=g.style.display,""===d||"none"===d))g.style.display=c._data(g,"olddisplay")||"";return this},hide:function(a,b,e){if(a||0===a)return this.animate(E("hide",3),a,b,e);for(var d,h,a=0,b=this.length;a<b;a++)d=this[a],d.style&&(h=c.css(d,"display"),"none"!==h&&!c._data(d,"olddisplay")&&c._data(d,"olddisplay",h));for(a=0;a<b;a++)this[a].style&&(this[a].style.display=
"none");return this},_toggle:c.fn.toggle,toggle:function(a,b,e){var d="boolean"==typeof a;c.isFunction(a)&&c.isFunction(b)?this._toggle.apply(this,arguments):null==a||d?this.each(function(){var b=d?a:c(this).is(":hidden");c(this)[b?"show":"hide"]()}):this.animate(E("toggle",3),a,b,e);return this},fadeTo:function(a,b,c,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,e)},animate:function(a,b,e,d){function h(){!1===k.queue&&c._mark(this);var b=c.extend({},k),e=
1===this.nodeType,f=e&&c(this).is(":hidden"),d,g,h,j,n,i,m,l,r;b.animatedProperties={};for(h in a){d=c.camelCase(h);h!==d&&(a[d]=a[h],delete a[h]);g=a[d];c.isArray(g)?(b.animatedProperties[d]=g[1],g=a[d]=g[0]):b.animatedProperties[d]=b.specialEasing&&b.specialEasing[d]||b.easing||"swing";if("hide"===g&&f||"show"===g&&!f)return b.complete.call(this);e&&("height"===d||"width"===d)&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],"inline"===c.css(this,"display")&&"none"===
c.css(this,"float")&&(!c.support.inlineBlockNeedsLayout||"inline"===u(this.nodeName)?this.style.display="inline-block":this.style.zoom=1))}null!=b.overflow&&(this.style.overflow="hidden");for(h in a)j=new c.fx(this,b,h),g=a[h],Nb.test(g)?(r=c._data(this,"toggle"+h)||("toggle"===g?f?"show":"hide":0),r?(c._data(this,"toggle"+h,"show"===r?"hide":"show"),j[r]()):j[g]()):(n=Ob.exec(g),i=j.cur(),n?(m=parseFloat(n[2]),l=n[3]||(c.cssNumber[h]?"":"px"),"px"!==l&&(c.style(this,h,(m||1)+l),i*=(m||1)/j.cur(),
c.style(this,h,i+l)),n[1]&&(m=("-="===n[1]?-1:1)*m+i),j.custom(i,m,l)):j.custom(i,g,""));return!0}var k=c.speed(b,e,d);if(c.isEmptyObject(a))return this.each(k.complete,[!1]);a=c.extend({},a);return!1===k.queue?this.each(h):this.queue(k.queue,h)},stop:function(a,b,e){"string"!=typeof a&&(e=b,b=a,a=l);b&&!1!==a&&this.queue(a||"fx",[]);return this.each(function(){var b,f=!1,d=c.timers,k=c._data(this);e||c._unmark(!0,this);if(null==a)for(b in k){if(k[b]&&k[b].stop&&b.indexOf(".run")===b.length-4){var j=
k[b];c.removeData(this,b,!0);j.stop(e)}}else if(k[b=a+".run"]&&k[b].stop)k=k[b],c.removeData(this,b,!0),k.stop(e);for(b=d.length;b--;)d[b].elem===this&&(null==a||d[b].queue===a)&&(e?d[b](!0):d[b].saveState(),f=!0,d.splice(b,1));(!e||!f)&&c.dequeue(this,a)})}});c.each({slideDown:E("show",1),slideUp:E("hide",1),slideToggle:E("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(a,c,e){return this.animate(b,a,c,e)}});c.extend({speed:function(a,
b,e){var d=a&&"object"==typeof a?c.extend({},a):{complete:e||!e&&b||c.isFunction(a)&&a,duration:a,easing:e&&b||b&&!c.isFunction(b)&&b};d.duration=c.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in c.fx.speeds?c.fx.speeds[d.duration]:c.fx.speeds._default;if(null==d.queue||!0===d.queue)d.queue="fx";d.old=d.complete;d.complete=function(a){c.isFunction(d.old)&&d.old.call(this);d.queue?c.dequeue(this,d.queue):!1!==a&&c._unmark(this)};return d},easing:{linear:function(a,b,c,e){return c+e*a},
swing:function(a,b,c,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+c}},timers:[],fx:function(a,b,c){this.options=b;this.elem=a;this.prop=c;b.orig=b.orig||{}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(null!=this.elem[this.prop]&&(!this.elem.style||null==this.elem.style[this.prop]))return this.elem[this.prop];var a,b=c.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||
"auto"===b?0:b:a},custom:function(a,b,e){function d(a){return h.step(a)}var h=this,k=c.fx;this.startTime=fb||Ea();this.end=b;this.now=this.start=a;this.pos=this.state=0;this.unit=e||this.unit||(c.cssNumber[this.prop]?"":"px");d.queue=this.options.queue;d.elem=this.elem;d.saveState=function(){h.options.hide&&c._data(h.elem,"fxshow"+h.prop)===l&&c._data(h.elem,"fxshow"+h.prop,h.start)};d()&&c.timers.push(d)&&!ub&&(ub=setInterval(k.tick,k.interval))},show:function(){var a=c._data(this.elem,"fxshow"+
this.prop);this.options.orig[this.prop]=a||c.style(this.elem,this.prop);this.options.show=!0;a!==l?this.custom(this.cur(),a):this.custom("width"===this.prop||"height"===this.prop?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c._data(this.elem,"fxshow"+this.prop)||c.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(a){var b,e,d,h=fb||Ea(),k=!0,j=this.elem,i=this.options;if(a||h>=i.duration+this.startTime){this.now=this.end;
this.pos=this.state=1;this.update();i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)!0!==i.animatedProperties[b]&&(k=!1);if(k){null!=i.overflow&&!c.support.shrinkWrapBlocks&&c.each(["","X","Y"],function(a,b){j.style["overflow"+b]=i.overflow[a]});i.hide&&c(j).hide();if(i.hide||i.show)for(b in i.animatedProperties)c.style(j,b,i.orig[b]),c.removeData(j,"fxshow"+b,!0),c.removeData(j,"toggle"+b,!0);d=i.complete;d&&(i.complete=!1,d.call(j))}return!1}Infinity==i.duration?this.now=h:(e=h-
this.startTime,this.state=e/i.duration,this.pos=c.easing[i.animatedProperties[this.prop]](this.state,e,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos);this.update();return!0}};c.extend(c.fx,{tick:function(){for(var a,b=c.timers,e=0;e<b.length;e++)a=b[e],!a()&&b[e]===a&&b.splice(e--,1);b.length||c.fx.stop()},interval:13,stop:function(){clearInterval(ub);ub=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&
null!=a.elem.style[a.prop]?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}});c.each(["width","height"],function(a,b){c.fx.step[b]=function(a){c.style(a.elem,b,Math.max(0,a.now)+a.unit)}});c.expr&&c.expr.filters&&(c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length});var Pb=/^t(?:able|d|h)$/i,Hb=/^(?:body|html)$/i;"getBoundingClientRect"in o.documentElement?c.fn.offset=function(a){var b=this[0],e;if(a)return this.each(function(b){c.offset.setOffset(this,
a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);try{e=b.getBoundingClientRect()}catch(d){}var h=b.ownerDocument,k=h.documentElement;if(!e||!c.contains(k,b))return e?{top:e.top,left:e.left}:{top:0,left:0};b=h.body;h=q(h);return{top:e.top+(h.pageYOffset||c.support.boxModel&&k.scrollTop||b.scrollTop)-(k.clientTop||b.clientTop||0),left:e.left+(h.pageXOffset||c.support.boxModel&&k.scrollLeft||b.scrollLeft)-(k.clientLeft||b.clientLeft||0)}}:c.fn.offset=
function(a){var b=this[0];if(a)return this.each(function(b){c.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);for(var e,d=b.offsetParent,h=b.ownerDocument,k=h.documentElement,j=h.body,i=(h=h.defaultView)?h.getComputedStyle(b,null):b.currentStyle,m=b.offsetTop,l=b.offsetLeft;(b=b.parentNode)&&b!==j&&b!==k&&!(c.support.fixedPosition&&"fixed"===i.position);){e=h?h.getComputedStyle(b,null):b.currentStyle;m-=b.scrollTop;l-=b.scrollLeft;
b===d&&(m+=b.offsetTop,l+=b.offsetLeft,c.support.doesNotAddBorder&&(!c.support.doesAddBorderForTableAndCells||!Pb.test(b.nodeName))&&(m+=parseFloat(e.borderTopWidth)||0,l+=parseFloat(e.borderLeftWidth)||0),d=b.offsetParent);c.support.subtractsBorderForOverflowNotVisible&&"visible"!==e.overflow&&(m+=parseFloat(e.borderTopWidth)||0,l+=parseFloat(e.borderLeftWidth)||0);i=e}if("relative"===i.position||"static"===i.position)m+=j.offsetTop,l+=j.offsetLeft;c.support.fixedPosition&&"fixed"===i.position&&
(m+=Math.max(k.scrollTop,j.scrollTop),l+=Math.max(k.scrollLeft,j.scrollLeft));return{top:m,left:l}};c.offset={bodyOffset:function(a){var b=a.offsetTop,e=a.offsetLeft;c.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(c.css(a,"marginTop"))||0,e+=parseFloat(c.css(a,"marginLeft"))||0);return{top:b,left:e}},setOffset:function(a,b,e){var d=c.css(a,"position");"static"===d&&(a.style.position="relative");var h=c(a),k=h.offset(),j=c.css(a,"top"),i=c.css(a,"left"),m={},l={},r,w;("absolute"===d||"fixed"===
d)&&-1<c.inArray("auto",[j,i])?(l=h.position(),r=l.top,w=l.left):(r=parseFloat(j)||0,w=parseFloat(i)||0);c.isFunction(b)&&(b=b.call(a,e,k));null!=b.top&&(m.top=b.top-k.top+r);null!=b.left&&(m.left=b.left-k.left+w);"using"in b?b.using.call(a,m):h.css(m)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),e=this.offset(),d=Hb.test(b[0].nodeName)?{top:0,left:0}:b.offset();e.top-=parseFloat(c.css(a,"marginTop"))||0;e.left-=parseFloat(c.css(a,"marginLeft"))||
0;d.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;d.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:e.top-d.top,left:e.left-d.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||o.body;a&&!Hb.test(a.nodeName)&&"static"===c.css(a,"position");)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var e="scroll"+b;c.fn[e]=function(b){var f,d;if(b===l){f=this[0];return!f?null:(d=q(f))?"pageXOffset"in d?d[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&
d.document.documentElement[e]||d.document.body[e]:f[e]}return this.each(function(){d=q(this);d?d.scrollTo(a?c(d).scrollLeft():b,a?b:c(d).scrollTop()):this[e]=b})}});c.each(["Height","Width"],function(a,b){var e=b.toLowerCase();c.fn["inner"+b]=function(){var a=this[0];return a?a.style?parseFloat(c.css(a,e,"padding")):this[e]():null};c.fn["outer"+b]=function(a){var b=this[0];return b?b.style?parseFloat(c.css(b,e,a?"margin":"border")):this[e]():null};c.fn[e]=function(a){var d=this[0];if(!d)return null==
a?null:this;if(c.isFunction(a))return this.each(function(b){var d=c(this);d[e](a.call(this,b,d[e]()))});if(c.isWindow(d)){var k=d.document.documentElement["client"+b],j=d.document.body;return"CSS1Compat"===d.document.compatMode&&k||j&&j["client"+b]||k}if(9===d.nodeType)return Math.max(d.documentElement["client"+b],d.body["scroll"+b],d.documentElement["scroll"+b],d.body["offset"+b],d.documentElement["offset"+b]);return a===l?(d=c.css(d,e),k=parseFloat(d),c.isNumeric(k)?k:d):this.css(e,"string"==typeof a?
a:a+"px")}});i.jQuery=i.$=c;"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return c})})(window);function BLapi_c(){this.width=-1;this.textColor="000";this.lineColor="646464";this.linkColor="00f";this.buttonColor="fafafa";this.borderColor="dbeeff";this.borderWidth=1;this.evenRows="eee";this.oddRows="f9f9f9";this.sD=this.sB=this.group="";this.aL=this.aF=null;this.bRun=this.bRdy=this.bP=this.bI=!1;this.bJSON=!0;this.bTouch=!1;this.perpage=10;this.timo=this.last=this.pagestart=0;this.nS=500;this.nC=-1;this.init=function(i){this.sD="http://"+i+".kerkdienstluisteren.nl/";if(!this.bI){var l,q;document.cookie=
"test=1";document.cookie||BLapi.err();i=jQuery("#BLapi");1!==i.length?BLapi.err():(i.css({maxWidth:"1000px",minWidth:"600px",color:"#"+this.textColor}),600<=this.width&&(i.width=this.width+"px"),jQuery("#BLapi_buttons").css({paddingTop:"5px",height:"50px"}),this.showButtons(),l=jQuery("#BLapi_logo"),1!==l.length?BLapi.err():(l.css({width:"130px",height:"50px",margin:"3px 0 0 0","float":"right",position:"static"}).find("img").css({width:"130px",height:"50px",border:0,margin:0,position:"static"}),l=
"background-color:#"+this.oddRows+";list-style:none;margin:10px 0;padding:0;border:"+this.borderWidth+"px solid #"+this.borderColor,q="background-color:#"+this.borderColor+";font-weight:bold;padding:0.2em 0.4em;",i.append(jQuery("<div/>",{id:"BLplayer"}),jQuery("<ol/>",{id:"BLjbox",style:l}).hide(),jQuery("<ol/>",{id:"BLlive",style:l}).hide().append(jQuery("<li/>",{style:q}).append(jQuery("<div/>",{text:"Afspelen",style:"width:20em;float:right;"}),jQuery("<div/>",{text:"Live meeluisteren"}))),jQuery("<ol/>",
{id:"BLfiles",style:l}).hide().append(jQuery("<li/>",{style:q}).append(jQuery("<div/>",{text:"Afspelen",style:"width:20em;float:right;"}),jQuery("<div/>",{text:"Duur",style:"width:7em;float:right;"}),jQuery("<div/>",{id:"BLfilestitle",text:"Diensten"}))),jQuery("<div/>",{id:"BLpag"}).css({textAlign:"center",marginBottom:"15px"}).hide().append(BLapi.buttonNew("&lt;&nbsp;nieuwere diensten").addClass("BLgb").css({visibility:"hidden",cursor:"pointer"}).click(-1,BLapi.goPage),jQuery("<span/>",{text:"Pagina 1",
"class":"BLcp",css:{margin:"0 10px"}}),BLapi.buttonNew("oudere diensten&nbsp;&gt;").addClass("BLgf").css({visibility:"hidden",cursor:"pointer"}).click(1,BLapi.goPage))),soundManager.url="http://kerkdienstluisteren.nl/api/",soundManager.allowScriptAccess="always",this.bI=!0,this.aInit()))}};this.aInit=function(){"ontouchstart"in document.documentElement&&(this.bTouch=!0);BLapi.bI||(soundManager.url="/api/");soundManager.onerror=function(){BLapi.showJMsg("Probleem","Er zijn problemen met het afspelen van de diensten.<br /><br />Wellicht heeft u flash geblokkeerd. Een melding hiervan zal dan zichtbaar moeten zijn (bovenaan de) pagina.<br /><br />Zo niet, is het mogelijk is dat u over een verouderde versie van flash beschikt. De nieuwste versie kunt u downloaden en installeren op: <a href='http://get.adobe.com/nl/flashplayer/'>http://get.adobe.com/nl/flashplayer/</a><br /><br />Mocht het probleem hiermee nog niet verholpen zijn, vul dan het formulier in onder de knop 'Problemen met beluisteren? Wij zullen dan proberen u verder te helpen.'")};
soundManager.onready(function(){BLapi.bRdy=!0;BLapi.load(BLapi.group)})};this.load=function(i){"string"==typeof i&&(BLapi.group=i,BLapi.last=0,BLapi.pagestart=0,BLapi.timo&&clearTimeout(BLapi.timo));jQuery.getJSON(BLapi.sD+"api/data.js?g="+BLapi.group+"&l="+BLapi.last+(BLapi.bJSON?"":"&callback=?"),function(i){if(i){if(i.protect)BLapi.bP=!0,BLapi.showLogin();else{if(i.error){var q=!1;BLapi.bP&&(q="BLapi.showLogin();");BLapi.showJMsg("Fout!",i.error,q);return}0==BLapi.last&&BLapi.delJBox()}i.b&&(BLapi.sB=
i.b,jQuery("#BLapi_logo img").attr("src",BLapi.sD+"api/logo-"+BLapi.lineColor+"-"+BLapi.textColor+".png"));"undefined"!=typeof i.files&&(BLapi.aF=i.files,BLapi.showFiles());"undefined"!=typeof i.live&&(BLapi.aL=i.live,BLapi.showLive());BLapi.last=i.last;BLapi.showButtons();BLapi.bP||(BLapi.timo=setTimeout(BLapi.load,1E3*(BLapi.bRun?300:30)))}}).error(function(i,q,u){BLapi.bJSON?(BLapi.bJSON=!1,BLapi.load()):BLapi.showJMsg("Fout!","De diensten konden niet worden geladen!<br/>"+u)})};this.convertTime=
function(i){var i=Math.round(i),l=Math.floor(i/60)%60,q=Math.floor(i/3600),i=i%60;return q+":"+(10>l?"0":"")+l+":"+(10>i?"0":"")+i};this.getUrl=function(i,l){return"l"==i[0]?BLapi.sD+l+"?b="+BLapi.sB:BLapi.sD+"s"+i+"-"+l+".mp3?b="+BLapi.sB};this.showInfo=function(i){i.data&&(i=i.data);var l=jQuery("#row"+i+" p.info");if(BLapi.nC==i)BLapi.bRun||(l.slideUp(BLapi.nS),BLapi.nC=-1);else{if(""==l.text())return"";BLapi.stop();l.slideDown(BLapi.nS);BLapi.nC=i}};this.goPage=function(i){i.data&&(i=i.data);
BLapi.pagestart+=i*BLapi.perpage;BLapi.pagestart>BLapi.aF.length&&(BLapi.pagestart=BLapi.aF.length-BLapi.perpage);0>BLapi.pagestart&&(BLapi.pagestart=0);BLapi.showFiles();return!1};this.play=function(i){i.data&&(i=i.data);var i=""+i,l=jQuery("#row"+i);if(!l.length)return!1;BLapi.nC!=i&&(BLapi.stop(),BLapi.showInfo(i));jQuery("#row"+i+" div.control a").hide();jQuery("#row"+i+" div.control").append(jQuery("<div/>",{id:"BLif"}).append(BLapi.buttonNew("Doorgaan","play").click(function(){var i=soundManager.getSoundById("row"+
BLapi.nC);i&&i.resume()}).hide(),BLapi.buttonNew("Pauzeren","pause").click(function(){var i=soundManager.getSoundById("row"+BLapi.nC);i&&i.pause()}),BLapi.buttonNew("Stoppen","stop").click(BLapi.stop),jQuery("<span/>",{text:"Bezig...",style:"width:122px;"}).addClass("BLtime"),jQuery("<div/>",{id:"BLprog",style:"overflow:hidden;background-color:#"+BLapi.buttonColor+";border:1px solid #"+BLapi.textColor+";width:18em;height:1em;margin-top:0.6em;"}).hide().append(jQuery("<div/>",{id:"BLseek",style:"margin-top:-1.2em;padding:2px;line-height:1em;border:1px solid #"+
BLapi.textColor+";position:absolute;background-color:#"+BLapi.buttonColor+";"}).hide(),jQuery("<div/>",{style:"background-color:#ccc;width:0px;height:100%;cursor:pointer;","class":"BLsbar"}).append(jQuery("<div/>",{style:"background-color:#66f;width:0px;padding-left:5px;height:100%;","class":"BLpbar"})))));"l"!=i[0]&&jQuery("#BLprog").slideDown(BLapi.nS);var q=function(){jQuery("#BLif .BLtime").text(BLapi.convertTime(this.position/1E3));var i=100*(this.duration/this.durationEstimate),l=100*(this.position/
this.duration);jQuery("#BLif .BLsbar").width(i+"%");jQuery("#BLif .BLpbar").width(l+"%")},l=soundManager.createSound({id:"row"+i,url:BLapi.getUrl(i,l.data("bltag")),autoLoad:!0,autoPlay:!0,multiShot:!1,onresume:function(){jQuery("#BLif .BLpause").show();jQuery("#BLif .BLplay").hide()},onpause:function(){jQuery("#BLif .BLplay").show();jQuery("#BLif .BLpause").hide()},onfinish:BLapi.stop,whileplaying:q,whileloading:q}),q=jQuery("#BLif .BLsbar").click(l,function(i){if(i.data){var l=jQuery(this),q=i.pageX-
l.offset().left,l=l.width();i.data.setPosition(Math.round(q/l*i.data.duration))}});BLapi.bTouch||q.mouseleave(function(){jQuery("#BLseek").hide()}).mousemove(l,function(i){if(i.data){var l=jQuery(this),q=i.pageX-l.offset().left,l=l.width();jQuery("#BLseek").show().css({marginLeft:q+5+"px"}).text(BLapi.convertTime(Math.round(q/l*i.data.duration)/1E3))}});BLapi.nC=i;BLapi.bRun=!0;return!1};this.stop=function(){if(-1!=BLapi.nC){soundManager.stopAll();soundManager.destroySound("row"+BLapi.nC);var i=jQuery("#row"+
BLapi.nC);i.hasClass("keep")?i.css({minHeight:"0px"}).slideUp(BLapi.nS,function(){jQuery(this).remove()}):(jQuery("#BLif a").remove(),jQuery("#BLif span").remove(),jQuery("#row"+BLapi.nC+" div.control a").show(),jQuery("#row"+BLapi.nC+" p.info").slideUp(BLapi.nS),jQuery("#BLprog").empty().removeAttr("id").slideUp(BLapi.nS,function(){jQuery(this).parent().remove()}));jQuery("#BLif").removeAttr("id");BLapi.nC=-1;BLapi.bRun=!1}};this.newRow=function(i){var l={css:{margin:"0 0 0.5em 0",width:"auto",lineHeight:"1em"}},
q=jQuery("<li/>",{id:"row"+i.id,"class":"BLrow",css:{minHeight:"3.9em",padding:"0.2em 0.4em"}});if(i.tag){var u=jQuery("<div/>",{"class":"control",css:{width:"20em",paddingTop:"0.6em","float":"right"}});"l"==i.id[0]?u.append(BLapi.buttonNew("Live meeluisteren","play").click(i.id,BLapi.play)):u.append(BLapi.buttonNew("Afspelen","play").click(i.id,BLapi.play),BLapi.buttonNew("Downloaden").attr("href",BLapi.getUrl(i.id,i.tag)));q.data("bltag",i.tag).append(u)}0<=i.len&&q.append(jQuery("<div/>",{"class":"time",
text:BLapi.convertTime(i.len),css:{width:"5em",padding:"0.6em","float":"right"}}));i.sub||i.info?q.append(jQuery("<div/>",{"class":"name",css:{paddingTop:"0.6em",cursor:"default"}}).click(i.id,BLapi.showInfo).append(jQuery("<p/>",l).html(i.title+"<br/><small>"+i.sub+"</small>"),jQuery("<p/>",l).addClass("info").html(i.info).hide())):q.append(jQuery("<div/>",{"class":"name",css:{paddingTop:"0.6em"}}).append(jQuery("<p/>",l).html(i.title)));return q};this.showLive=function(){if(BLapi.bRdy){var i,l,
q,u=jQuery("#BLlive");u.find(".BLrow").each(function(){var i=0;try{i=jQuery(this).attr("id").substring(3)}catch(l){}i!=BLapi.nC&&jQuery(this).remove()});if(this.aL){u.show();for(i=0;i<BLapi.aL.length;i++)l=BLapi.aL[i],q=jQuery("#row"+l.id),q.length?u.append(q):u.append(BLapi.newRow(l));u.find(".BLrow:odd").css({backgroundColor:"#"+BLapi.evenRows})}else u.find("#BLif").length||u.hide()}};this.showFiles=function(){if(BLapi.bRdy){var i,l,q,u=jQuery("#BLfiles");u.height(u.height());u.find(".BLrow").each(function(){var i=
0;try{i=jQuery(this).attr("id").substring(3)}catch(l){}i==BLapi.nC&&BLapi.bRun?jQuery(this).css({backgroundColor:"",borderBottom:"2px dashed #"+BLapi.textColor}).addClass("keep"):jQuery(this).remove()});if(this.aF){u.show();jQuery("#BLpag").show();var E=BLapi.pagestart+BLapi.perpage;E>BLapi.aF.length&&(E=BLapi.aF.length);for(i=BLapi.pagestart;i<E;i++)l=BLapi.aF[i],q=jQuery("#row"+l.id),q.length?u.append(q.css({borderBottom:""}).removeClass("keep")):u.append(BLapi.newRow(l));u.find(".BLrow:odd").css({backgroundColor:"#"+
BLapi.evenRows});jQuery("#BLpag a.BLgb").css({visibility:0<BLapi.pagestart?"visible":"hidden"});jQuery("#BLpag a.BLgf").css({visibility:E<BLapi.aF.length?"visible":"hidden"});jQuery("#BLpag span.BLcp").text("Pagina "+Math.round(BLapi.pagestart/BLapi.perpage+1))}else u.find("#BLif").length||u.hide(),jQuery("#BLpag").hide();u.height("auto")}};this.showButtons=function(){var i=jQuery("#BLapi_buttons").empty(),l=jQuery("<p/>",{css:{margin:"0.5em 0"}}).appendTo(i);!BLapi.group||"diensten"==BLapi.group?
l.append(this.buttonNew(BLapi.bP?"Inloggen":"Inloggen speciale diensten").css({lineHeight:"1.9em"}).click(BLapi.showLogin)):l.append(this.buttonNew(BLapi.bP?"Uitloggen":"Terug naar reguliere diensten").css({lineHeight:"1.9em"}).click(function(){BLapi.load("")}));l.append(jQuery("<span/>",{css:{marginLeft:"15px"}}));l.append(this.buttonNew("Problemen op deze site?").css({lineHeight:"1.9em"}).attr("href",BLapi.sD+"probleem.html")).appendTo(i)};this.showLogin=function(){var i=document.createElement("div"),
l="password"+(new Date).getTime(),q=document.createElement("p");q.style.margin="0 0 5px 0";q.innerHTML='Wachtwoord: <span><input type="text" name="'+l+'" id="jbox_password" onkeydown="BLapi.loginCR(event)" onkeyup="BLapi.pwDetect(this)" /></span><span style="float: right;"><a href="'+BLapi.sD+'/beheer.html">Beheerder</a></span>';i.appendChild(q);q=document.createElement("p");q.style.margin="0";q.innerHTML='<input style="padding: 3px;" type="button" value="Login" onclick="BLapi.loginCheck();" /> '+
(BLapi.bP?"":'<input style="padding: 3px;" type="button" value="Annuleren" onclick="BLapi.delJBox();" />');i.appendChild(q);BLapi.newJBox("Inloggen",i).promise().done(function(){jQuery("#jbox_password").focus()});return!1};this.newJBox=function(i,l){var q="background-color:#"+this.borderColor+";font-weight:bold;padding:0.2em 0.4em;";return jQuery("#BLjbox").empty().append(jQuery("<li/>",{style:q}).addClass("head").append(jQuery("<div/>").text(i)),jQuery("<li/>",{style:"padding:0.2em 0.4em;"}).append(l)).slideDown(this.nS)};
this.showJMsg=function(i,l,q){if("undefined"==typeof q||!1===q)q="BLapi.delJBox();";var u=document.createElement("div"),E=document.createElement("p");E.style.margin="0 0 5px 0";E.innerHTML=l;u.appendChild(E);E=document.createElement("p");E.style.margin="0";E.innerHTML='<input style="padding: 3px;" type="button" id="jbox_ok" value="Ok" onclick="'+q+'" />';u.appendChild(E);this.newJBox(i,u).promise().done(function(){jQuery("#jbox_ok").focus()})};this.delJBox=function(){jQuery("#BLjbox").slideUp(this.nS)};
this.loginCheck=function(){this.load(document.getElementById("jbox_password").value)};this.loginCR=function(i){i=i||window.event;if(13==i.keyCode)return this.loginCheck(),!1;return 27==i.keyCode?(this.delJBox(),!1):!0};this.pwDetect=function(i){"!"==i.value.substring(0,1)&&BLapi.showJMsg("Inloggen",'Als beheerder kunt u inloggen op de <a href="'+BLapi.sD+'/beheer.html">Beheerders pagina</a>.',"BLapi.showLogin();")};this.buttonNew=function(i,l){var q=jQuery("<a/>").css({padding:"0.2em",backgroundRepeat:"no-repeat",
backgroundPosition:"2px 50%",margin:"0 0.3em 0 0",textDecoration:"none",whiteSpace:"nowrap",border:"1px solid #"+BLapi.textColor,color:"#"+BLapi.linkColor,backgroundColor:"#"+BLapi.buttonColor,cursor:"pointer",display:"inline","user-select":"none","-o-user-select":"none","-moz-user-select":"none","-khtml-user-select":"none","-webkit-user-select":"none"}).html(i);q.onselectstart=function(){return!1};q.unselectable="on";l&&q.addClass("BL"+l).css({backgroundImage:"url("+BLapi.sD+"images/"+l+".gif)",
paddingLeft:"20px"});return q};this.err=function(){BLapi.showJMsg("Probleem","Er zijn problemen tijdens het laden van de diensten. Het kan zijn dat sommige functionaliteit minder goed werkt!")}};/*


 SoundManager 2: JavaScript Sound for the Web
 ----------------------------------------------
 http://schillmania.com/projects/soundmanager2/

 Copyright (c) 2007, Scott Schiller. All rights reserved.
 Code provided under the BSD License:
 http://schillmania.com/projects/soundmanager2/license.txt

 V2.97a.20111220
*/
(function(i){function l(l,q){function t(c){return function(b){var d=this._t;return!d||!d._a?null:c.call(this,b)}}this.flashVersion=8;this.debugFlash=this.debugMode=!1;this.consoleOnly=this.useConsole=!0;this.waitForWindowLoad=!1;this.bgColor="#ffffff";this.useHighPerformance=!1;this.html5PollingInterval=this.flashPollingInterval=null;this.flashLoadTimeout=1E3;this.wmode=null;this.allowScriptAccess="always";this.useFlashBlock=!1;this.useHTML5Audio=!0;this.html5Test=/^(probably|maybe)$/i;this.preferFlash=
!0;this.noSWFCache=!1;this.audioFormats={mp3:{type:['audio/mpeg; codecs="mp3"',"audio/mpeg","audio/mp3","audio/MPA","audio/mpa-robust"],required:!0},mp4:{related:["aac","m4a"],type:['audio/mp4; codecs="mp4a.40.2"',"audio/aac","audio/x-m4a","audio/MP4A-LATM","audio/mpeg4-generic"],required:!1},ogg:{type:["audio/ogg; codecs=vorbis"],required:!1},wav:{type:['audio/wav; codecs="1"',"audio/wav","audio/wave","audio/x-wav"],required:!1}};this.defaultOptions={autoLoad:!1,autoPlay:!1,from:null,loops:1,onid3:null,
onload:null,whileloading:null,onplay:null,onpause:null,onresume:null,whileplaying:null,onposition:null,onstop:null,onfailure:null,onfinish:null,multiShot:!0,multiShotEvents:!1,position:null,pan:0,stream:!0,to:null,type:null,usePolicyFile:!1,volume:100};this.flash9Options={isMovieStar:null,usePeakData:!1,useWaveformData:!1,useEQData:!1,onbufferchange:null,ondataerror:null};this.movieStarOptions={bufferTime:3,serverURL:null,onconnect:null,duration:null};this.movieID="sm2-container";this.id=q||"sm2movie";
this.debugID="soundmanager-debug";this.debugURLParam=/([#?&])debug=1/i;this.versionNumber="V2.97a.20111220";this.movieURL=this.version=null;this.url=l||null;this.altURL=null;this.enabled=this.swfLoaded=!1;this.oMC=null;this.sounds={};this.soundIDs=[];this.didFlashBlock=this.muted=!1;this.filePattern=null;this.filePatterns={flash8:/\.mp3(\?.*)?$/i,flash9:/\.mp3(\?.*)?$/i};this.features={buffering:!1,peakData:!1,waveformData:!1,eqData:!1,movieStar:!1};this.sandbox={};var Ea;try{Ea="undefined"!==typeof Audio&&
"undefined"!==typeof(new Audio).canPlayType}catch(vb){Ea=!1}this.hasHTML5=Ea;this.html5={usingFlash:null};this.flash={};this.ignoreFlash=this.html5Only=!1;var Fa,d=this,s=null,sa,N=navigator.userAgent,y=i,Ga=y.location.href.toString(),B=document,ha,ua,F,W=[],ia=!1,$=!1,K=!1,X=!1,wa=!1,ja,O,o,ka,la,c,Ra,xa,da,Ha,ea,ma,Ta,Ua,Ja,na,Va,Ka,V,ya,Wa,fa=null,La=null,oa,Xa,pa,za,Ma,Ya,I,Na=!1,Za=!1,kb,ib,lb,Aa=0,Ba=null,va,Y=null,Oa,Ca,qa,aa,$a,ab,mb,A,nb=Array.prototype.slice,ga=!1,U,J,bb,R,ob,cb=N.match(/(ipad|iphone|ipod)/i),
pb=N.match(/firefox/i),zb=N.match(/droid/i),ba=N.match(/msie/i),Ab=N.match(/webkit/i),ta=N.match(/safari/i)&&!N.match(/chrome/i),wb=N.match(/opera/i),Z=N.match(/(mobile|pre\/|xoom)/i)||cb,Pa=!Ga.match(/usehtml5audio/i)&&!Ga.match(/sm2\-ignorebadua/i)&&ta&&!N.match(/silk/i)&&N.match(/OS X 10_6_([3-7])/i),Qa="undefined"!==typeof B.hasFocus?B.hasFocus():null,ra=ta&&"undefined"===typeof B.hasFocus,hb=!ra,db=/(mp3|mp4|mpa)/i,eb=B.location?B.location.protocol.match(/http/i):null,qb=!eb?"http://":"",rb=
/^\s*audio\/(?:x-)?(?:mpeg4|aac|flv|mov|mp4||m4v|m4a|mp4v|3gp|3g2)\s*(?:$|;)/i,sb="mpeg4,aac,flv,mov,mp4,m4v,f4v,m4a,mp4v,3gp,3g2".split(","),Bb=RegExp("\\.("+sb.join("|")+")(\\?.*)?$","i");this.mimePattern=/^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i;this.useAltURL=!eb;this._global_a=null;if(Z&&(d.useHTML5Audio=!0,d.preferFlash=!1,cb))ga=d.ignoreFlash=!0;this.supported=this.ok=function(){return Y?K&&!X:d.useHTML5Audio&&d.hasHTML5};this.getMovie=function(c){return sa(c)||B[c]||y[c]};this.createSound=
function(c){function b(){j=za(j);d.sounds[m.id]=new Fa(m);d.soundIDs.push(m.id);return d.sounds[m.id]}var j=null,i=null,m=null;if(!K||!d.ok())return Ya(void 0),!1;2===arguments.length&&(c={id:arguments[0],url:arguments[1]});j=O(c);j.url=va(j.url);m=j;if(I(m.id,!0))return d.sounds[m.id];if(Ca(m))i=b(),i._setup_html5(m);else{8<F&&(null===m.isMovieStar&&(m.isMovieStar=m.serverURL||(m.type?m.type.match(rb):!1)||m.url.match(Bb)),m.isMovieStar&&m.usePeakData&&(m.usePeakData=!1));m=Ma(m,void 0);i=b();if(8===
F)s._createSound(m.id,m.loops||1,m.usePolicyFile);else if(s._createSound(m.id,m.url,m.usePeakData,m.useWaveformData,m.useEQData,m.isMovieStar,m.isMovieStar?m.bufferTime:!1,m.loops||1,m.serverURL,m.duration||null,m.autoPlay,!0,m.autoLoad,m.usePolicyFile),!m.serverURL)i.connected=!0,m.onconnect&&m.onconnect.apply(i);!m.serverURL&&(m.autoLoad||m.autoPlay)&&i.load(m)}!m.serverURL&&m.autoPlay&&i.play();return i};this.destroySound=function(c,b){if(!I(c))return!1;var j=d.sounds[c],i;j._iO={};j.stop();j.unload();
for(i=0;i<d.soundIDs.length;i++)if(d.soundIDs[i]===c){d.soundIDs.splice(i,1);break}b||j.destruct(!0);delete d.sounds[c];return!0};this.load=function(c,b){return!I(c)?!1:d.sounds[c].load(b)};this.unload=function(c){return!I(c)?!1:d.sounds[c].unload()};this.onposition=this.onPosition=function(c,b,j,i){return!I(c)?!1:d.sounds[c].onposition(b,j,i)};this.clearOnPosition=function(c,b,j){return!I(c)?!1:d.sounds[c].clearOnPosition(b,j)};this.start=this.play=function(c,b){if(!K||!d.ok())return Ya("soundManager.play(): "+
oa(!K?"notReady":"notOK")),!1;return!I(c)?(b instanceof Object||(b={url:b}),b&&b.url?(b.id=c,d.createSound(b).play()):!1):d.sounds[c].play(b)};this.setPosition=function(c,b){return!I(c)?!1:d.sounds[c].setPosition(b)};this.stop=function(c){return!I(c)?!1:d.sounds[c].stop()};this.stopAll=function(){for(var c in d.sounds)d.sounds.hasOwnProperty(c)&&d.sounds[c].stop()};this.pause=function(c){return!I(c)?!1:d.sounds[c].pause()};this.pauseAll=function(){var c;for(c=d.soundIDs.length;c--;)d.sounds[d.soundIDs[c]].pause()};
this.resume=function(c){return!I(c)?!1:d.sounds[c].resume()};this.resumeAll=function(){var c;for(c=d.soundIDs.length;c--;)d.sounds[d.soundIDs[c]].resume()};this.togglePause=function(c){return!I(c)?!1:d.sounds[c].togglePause()};this.setPan=function(c,b){return!I(c)?!1:d.sounds[c].setPan(b)};this.setVolume=function(c,b){return!I(c)?!1:d.sounds[c].setVolume(b)};this.mute=function(c){var b=0;"string"!==typeof c&&(c=null);if(c)return!I(c)?!1:d.sounds[c].mute();for(b=d.soundIDs.length;b--;)d.sounds[d.soundIDs[b]].mute();
return d.muted=!0};this.muteAll=function(){d.mute()};this.unmute=function(c){"string"!==typeof c&&(c=null);if(c)return!I(c)?!1:d.sounds[c].unmute();for(c=d.soundIDs.length;c--;)d.sounds[d.soundIDs[c]].unmute();d.muted=!1;return!0};this.unmuteAll=function(){d.unmute()};this.toggleMute=function(c){return!I(c)?!1:d.sounds[c].toggleMute()};this.getMemoryUse=function(){var c=0;s&&8!==F&&(c=parseInt(s._getMemoryUse(),10));return c};this.disable=function(c){var b;"undefined"===typeof c&&(c=!1);if(X)return!1;
X=!0;for(b=d.soundIDs.length;b--;)V(d.sounds[d.soundIDs[b]]);ja(c);A.remove(y,"load",la);return!0};this.canPlayMIME=function(c){var b;d.hasHTML5&&(b=qa({type:c}));return!Y||b?b:c?!!(8<F&&c.match(rb)||c.match(d.mimePattern)):null};this.canPlayURL=function(c){var b;d.hasHTML5&&(b=qa({url:c}));return!Y||b?b:c?!!c.match(d.filePattern):null};this.canPlayLink=function(c){return"undefined"!==typeof c.type&&c.type&&d.canPlayMIME(c.type)?!0:d.canPlayURL(c.href)};this.getSoundById=function(c){if(!c)throw Error("soundManager.getSoundById(): sID is null/undefined");
return d.sounds[c]};this.onready=function(c,b){if(c&&c instanceof Function)return b||(b=y),o("onready",c,b),ka(),!0;throw oa("needFunction","onready");};this.ontimeout=function(c,b){if(c&&c instanceof Function)return b||(b=y),o("ontimeout",c,b),ka({type:"ontimeout"}),!0;throw oa("needFunction","ontimeout");};this._wD=this._writeDebug=function(){return!0};this._debug=function(){};this.reboot=function(){var c,b;for(c=d.soundIDs.length;c--;)d.sounds[d.soundIDs[c]].destruct();try{ba&&(La=s.innerHTML),
fa=s.parentNode.removeChild(s)}catch(j){}La=fa=Y=null;d.enabled=Ta=K=Na=Za=ia=$=X=d.swfLoaded=!1;d.soundIDs=d.sounds=[];s=null;for(c in W)if(W.hasOwnProperty(c))for(b=W[c].length;b--;)W[c][b].fired=!1;y.setTimeout(d.beginDelayedInit,20)};this.getMoviePercent=function(){return s&&"undefined"!==typeof s.PercentLoaded?s.PercentLoaded():null};this.beginDelayedInit=function(){wa=!0;ea();setTimeout(function(){if(Za)return!1;Ja();Ha();return Za=!0},20);c()};this.destruct=function(){d.disable(!0)};Fa=function(c){var b=
this,j,i,m,l,o,q,u=!1,t=[],y=0,B,E,A=null,J=null,K=null;this.sID=c.id;this.url=c.url;this._iO=this.instanceOptions=this.options=O(c);this.pan=this.options.pan;this.volume=this.options.volume;this.isHTML5=!1;this._a=null;this.id3={};this._debug=function(){};this.load=function(c){var e=null;if("undefined"!==typeof c)b._iO=O(c,b.options),b.instanceOptions=b._iO;else if(c=b.options,b._iO=c,b.instanceOptions=b._iO,A&&A!==b.url)b._iO.url=b.url,b.url=null;b._iO.url||(b._iO.url=b.url);b._iO.url=va(b._iO.url);
if(b._iO.url===b.url&&0!==b.readyState&&2!==b.readyState)return 3===b.readyState&&b._iO.onload&&b._iO.onload.apply(b,[!!b.duration]),b;c=b._iO;A=b.url;b.loaded=!1;b.readyState=1;b.playState=0;if(Ca(c)){if(e=b._setup_html5(c),!e._called_load)b._html5_canplay=!1,b._a.autobuffer="auto",b._a.preload="auto",e.load(),e._called_load=!0,c.autoPlay&&b.play()}else try{b.isHTML5=!1,b._iO=Ma(za(c)),c=b._iO,8===F?s._load(b.sID,c.url,c.stream,c.autoPlay,c.whileloading?1:0,c.loops||1,c.usePolicyFile):s._load(b.sID,
c.url,!!c.stream,!!c.autoPlay,c.loops||1,!!c.autoLoad,c.usePolicyFile)}catch(d){na({type:"SMSOUND_LOAD_JS_EXCEPTION",fatal:!0})}return b};this.unload=function(){0!==b.readyState&&(b.isHTML5?(l(),b._a&&(b._a.pause(),$a(b._a))):8===F?s._unload(b.sID,"about:blank"):s._unload(b.sID),j());return b};this.destruct=function(c){if(b.isHTML5){if(l(),b._a)b._a.pause(),$a(b._a),ga||m(),b._a._t=null,b._a=null}else b._iO.onfailure=null,s._destroySound(b.sID);c||d.destroySound(b.sID,!0)};this.start=this.play=function(c,
e){var d,e=void 0===e?!0:e;c||(c={});b._iO=O(c,b._iO);b._iO=O(b._iO,b.options);b._iO.url=va(b._iO.url);b.instanceOptions=b._iO;if(b._iO.serverURL&&!b.connected)return b.getAutoPlay()||b.setAutoPlay(!0),b;Ca(b._iO)&&(b._setup_html5(b._iO),o());if(1===b.playState&&!b.paused&&(d=b._iO.multiShot,!d))return b;if(!b.loaded)if(0===b.readyState)b.isHTML5||(b._iO.autoPlay=!0),b.load(b._iO);else if(2===b.readyState)return b;!b.isHTML5&&9===F&&0<b.position&&b.position===b.duration&&(c.position=0);if(b.paused&&
b.position&&0<b.position)b.resume();else{b._iO=O(c,b._iO);if(null!==b._iO.from&&null!==b._iO.to&&0===b.instanceCount&&0===b.playState&&!b._iO.serverURL){d=function(){b._iO=O(c,b._iO);b.play(b._iO)};if(b.isHTML5&&!b._html5_canplay)return b.load({_oncanplay:d}),!1;if(!b.isHTML5&&!b.loaded&&(!b.readyState||2!==b.readyState))return b.load({onload:d}),!1;b._iO=E()}(!b.instanceCount||b._iO.multiShotEvents||!b.isHTML5&&8<F&&!b.getAutoPlay())&&b.instanceCount++;0===b.playState&&b._iO.onposition&&q(b);b.playState=
1;b.paused=!1;b.position="undefined"!==typeof b._iO.position&&!isNaN(b._iO.position)?b._iO.position:0;b.isHTML5||(b._iO=Ma(za(b._iO)));b._iO.onplay&&e&&(b._iO.onplay.apply(b),u=!0);b.setVolume(b._iO.volume,!0);b.setPan(b._iO.pan,!0);b.isHTML5?(o(),d=b._setup_html5(),b.setPosition(b._iO.position),d.play()):s._start(b.sID,b._iO.loops||1,9===F?b._iO.position:b._iO.position/1E3)}return b};this.stop=function(c){var e=b._iO;1===b.playState&&(b._onbufferchange(0),b._resetOnPosition(0),b.paused=!1,b.isHTML5||
(b.playState=0),B(),e.to&&b.clearOnPosition(e.to),b.isHTML5?b._a&&(c=b.position,b.setPosition(0),b.position=c,b._a.pause(),b.playState=0,b._onTimer(),l()):(s._stop(b.sID,c),e.serverURL&&b.unload()),b.instanceCount=0,b._iO={},e.onstop&&e.onstop.apply(b));return b};this.setAutoPlay=function(c){b._iO.autoPlay=c;b.isHTML5||(s._setAutoPlay(b.sID,c),c&&!b.instanceCount&&1===b.readyState&&b.instanceCount++)};this.getAutoPlay=function(){return b._iO.autoPlay};this.setPosition=function(c){void 0===c&&(c=0);
var e=b.isHTML5?Math.max(c,0):Math.min(b.duration||b._iO.duration,Math.max(c,0));b.position=e;c=b.position/1E3;b._resetOnPosition(b.position);b._iO.position=e;if(b.isHTML5){if(b._a&&b._html5_canplay&&b._a.currentTime!==c)try{b._a.currentTime=c,(0===b.playState||b.paused)&&b._a.pause()}catch(d){}}else c=9===F?b.position:c,b.readyState&&2!==b.readyState&&s._setPosition(b.sID,c,b.paused||!b.playState);b.isHTML5&&b.paused&&b._onTimer(!0);return b};this.pause=function(c){if(b.paused||0===b.playState&&
1!==b.readyState)return b;b.paused=!0;b.isHTML5?(b._setup_html5().pause(),l()):(c||void 0===c)&&s._pause(b.sID);b._iO.onpause&&b._iO.onpause.apply(b);return b};this.resume=function(){var c=b._iO;if(!b.paused)return b;b.paused=!1;b.playState=1;b.isHTML5?(b._setup_html5().play(),o()):(c.isMovieStar&&!c.serverURL&&b.setPosition(b.position),s._pause(b.sID));u&&c.onplay?(c.onplay.apply(b),u=!0):c.onresume&&c.onresume.apply(b);return b};this.togglePause=function(){if(0===b.playState)return b.play({position:9===
F&&!b.isHTML5?b.position:b.position/1E3}),b;b.paused?b.resume():b.pause();return b};this.setPan=function(c,e){"undefined"===typeof c&&(c=0);"undefined"===typeof e&&(e=!1);b.isHTML5||s._setPan(b.sID,c);b._iO.pan=c;e||(b.pan=c,b.options.pan=c);return b};this.setVolume=function(c,e){"undefined"===typeof c&&(c=100);"undefined"===typeof e&&(e=!1);b.isHTML5?b._a&&(b._a.volume=Math.max(0,Math.min(1,c/100))):s._setVolume(b.sID,d.muted&&!b.muted||b.muted?0:c);b._iO.volume=c;e||(b.volume=c,b.options.volume=
c);return b};this.mute=function(){b.muted=!0;b.isHTML5?b._a&&(b._a.muted=!0):s._setVolume(b.sID,0);return b};this.unmute=function(){b.muted=!1;var c="undefined"!==typeof b._iO.volume;b.isHTML5?b._a&&(b._a.muted=!1):s._setVolume(b.sID,c?b._iO.volume:b.options.volume);return b};this.toggleMute=function(){return b.muted?b.unmute():b.mute()};this.onposition=this.onPosition=function(c,e,d){t.push({position:c,method:e,scope:"undefined"!==typeof d?d:b,fired:!1});return b};this.clearOnPosition=function(b,
c){var e,b=parseInt(b,10);if(isNaN(b))return!1;for(e=0;e<t.length;e++)if(b===t[e].position&&(!c||c===t[e].method))t[e].fired&&y--,t.splice(e,1)};this._processOnPosition=function(){var c,e;c=t.length;if(!c||!b.playState||y>=c)return!1;for(;c--;)if(e=t[c],!e.fired&&b.position>=e.position)e.fired=!0,y++,e.method.apply(e.scope,[e.position]);return!0};this._resetOnPosition=function(b){var c,e;c=t.length;if(!c)return!1;for(;c--;)if(e=t[c],e.fired&&b<=e.position)e.fired=!1,y--;return!0};E=function(){var c=
b._iO,e=c.from,d=c.to,j,i;i=function(){b.clearOnPosition(d,i);b.stop()};j=function(){if(null!==d&&!isNaN(d))b.onPosition(d,i)};null!==e&&!isNaN(e)&&(c.position=e,c.multiShot=!1,j());return c};q=function(){var c=b._iO.onposition;if(c)for(var e in c)if(c.hasOwnProperty(e))b.onPosition(parseInt(e,10),c[e])};B=function(){var c=b._iO.onposition;if(c)for(var e in c)c.hasOwnProperty(e)&&b.clearOnPosition(parseInt(e,10))};o=function(){b.isHTML5&&kb(b)};l=function(){b.isHTML5&&ib(b)};j=function(){t=[];y=0;
u=!1;b._hasTimer=null;b._a=null;b._html5_canplay=!1;b.bytesLoaded=null;b.bytesTotal=null;b.duration=b._iO&&b._iO.duration?b._iO.duration:null;b.durationEstimate=null;b.eqData=[];b.eqData.left=[];b.eqData.right=[];b.failures=0;b.isBuffering=!1;b.instanceOptions={};b.instanceCount=0;b.loaded=!1;b.metadata={};b.readyState=0;b.muted=!1;b.paused=!1;b.peakData={left:0,right:0};b.waveformData={left:[],right:[]};b.playState=0;b.position=null};j();this._onTimer=function(c){var e,d=!1,j={};if(b._hasTimer||
c)return b._a&&(c||(0<b.playState||1===b.readyState)&&!b.paused)?(e=b._get_html5_duration(),e!==J&&(J=e,b.duration=e,d=!0),b.durationEstimate=b.duration,e=1E3*b._a.currentTime||0,e!==K&&(K=e,d=!0),(d||c)&&b._whileplaying(e,j,j,j,j),d):!1};this._get_html5_duration=function(){var c=b._iO,e=b._a?1E3*b._a.duration:c?c.duration:void 0;return e&&!isNaN(e)&&Infinity!==e?e:c?c.duration:null};this._setup_html5=function(c){var c=O(b._iO,c),e=decodeURI,m=ga?d._global_a:b._a,l=e(c.url),o=m&&m._t?m._t.instanceOptions:
null;if(m){if(m._t&&(!ga&&l===e(A)||ga&&o.url===c.url&&(!A||A===o.url)))return m;ga&&m._t&&m._t.playState&&c.url!==o.url&&m._t.stop();j();m.src=c.url;A=b.url=c.url;m._called_load=!1}else m=new Audio(c.url),m._called_load=!1,zb&&(m._called_load=!0),ga&&(d._global_a=m);b.isHTML5=!0;b._a=m;m._t=b;i();m.loop=1<c.loops?"loop":"";c.autoLoad||c.autoPlay?b.load():(m.autobuffer=!1,m.preload="none");m.loop=1<c.loops?"loop":"";return m};i=function(){if(b._a._added_events)return!1;var c;b._a._added_events=!0;
for(c in R)R.hasOwnProperty(c)&&b._a&&b._a.addEventListener(c,R[c],!1);return!0};m=function(){var c;b._a._added_events=!1;for(c in R)R.hasOwnProperty(c)&&b._a&&b._a.removeEventListener(c,R[c],!1)};this._onload=function(c){c=!!c;b.loaded=c;b.readyState=c?3:2;b._onbufferchange(0);b._iO.onload&&b._iO.onload.apply(b,[c]);return!0};this._onbufferchange=function(c){if(0===b.playState||c&&b.isBuffering||!c&&!b.isBuffering)return!1;b.isBuffering=1===c;b._iO.onbufferchange&&b._iO.onbufferchange.apply(b);return!0};
this._onsuspend=function(){b._iO.onsuspend&&b._iO.onsuspend.apply(b);return!0};this._onfailure=function(c,e,d){b.failures++;if(b._iO.onfailure&&1===b.failures)b._iO.onfailure(b,c,e,d)};this._onfinish=function(){var c=b._iO.onfinish;b._onbufferchange(0);b._resetOnPosition(0);b.instanceCount&&(b.instanceCount--,b.instanceCount||(B(),b.playState=0,b.paused=!1,b.instanceCount=0,b.instanceOptions={},b._iO={},l()),(!b.instanceCount||b._iO.multiShotEvents)&&c&&c.apply(b))};this._whileloading=function(c,
e,d,j){var i=b._iO;b.bytesLoaded=c;b.bytesTotal=e;b.duration=Math.floor(d);b.bufferLength=j;if(i.isMovieStar)b.durationEstimate=b.duration;else if(b.durationEstimate=i.duration?b.duration>i.duration?b.duration:i.duration:parseInt(b.bytesTotal/b.bytesLoaded*b.duration,10),void 0===b.durationEstimate)b.durationEstimate=b.duration;3!==b.readyState&&i.whileloading&&i.whileloading.apply(b)};this._whileplaying=function(c,e,d,j,i){var m=b._iO;if(isNaN(c)||null===c)return!1;b.position=c;b._processOnPosition();
if(!b.isHTML5&&8<F&&(m.usePeakData&&"undefined"!==typeof e&&e&&(b.peakData={left:e.leftPeak,right:e.rightPeak}),m.useWaveformData&&"undefined"!==typeof d&&d&&(b.waveformData={left:d.split(","),right:j.split(",")}),m.useEQData&&"undefined"!==typeof i&&i&&i.leftEQ&&(c=i.leftEQ.split(","),b.eqData=c,b.eqData.left=c,"undefined"!==typeof i.rightEQ&&i.rightEQ)))b.eqData.right=i.rightEQ.split(",");1===b.playState&&(!b.isHTML5&&8===F&&!b.position&&b.isBuffering&&b._onbufferchange(0),m.whileplaying&&m.whileplaying.apply(b));
return!0};this._onmetadata=function(c,e){var d={},j,i;for(j=0,i=c.length;j<i;j++)d[c[j]]=e[j];b.metadata=d;b._iO.onmetadata&&b._iO.onmetadata.apply(b)};this._onid3=function(c,e){var d=[],j,i;for(j=0,i=c.length;j<i;j++)d[c[j]]=e[j];b.id3=O(b.id3,d);b._iO.onid3&&b._iO.onid3.apply(b)};this._onconnect=function(c){c=1===c;if(b.connected=c)b.failures=0,I(b.sID)&&(b.getAutoPlay()?b.play(void 0,b.getAutoPlay()):b._iO.autoLoad&&b.load()),b._iO.onconnect&&b._iO.onconnect.apply(b,[c])};this._ondataerror=function(){0<
b.playState&&b._iO.ondataerror&&b._iO.ondataerror.apply(b)}};Ua=function(){return B.body||B._docElement||B.getElementsByTagName("div")[0]};sa=function(c){return B.getElementById(c)};O=function(c,b){var j={},i,m;for(i in c)c.hasOwnProperty(i)&&(j[i]=c[i]);i="undefined"===typeof b?d.defaultOptions:b;for(m in i)i.hasOwnProperty(m)&&"undefined"===typeof j[m]&&(j[m]=i[m]);return j};A=function(){function c(b){var b=nb.call(b),e=b.length;d?(b[1]="on"+b[1],3<e&&b.pop()):3===e&&b.push(!1);return b}function b(b,
c){var e=b.shift(),l=[i[c]];if(d)e[l](b[0],b[1]);else e[l].apply(e,b)}var d=y.attachEvent,i={add:d?"attachEvent":"addEventListener",remove:d?"detachEvent":"removeEventListener"};return{add:function(){b(c(arguments),"add")},remove:function(){b(c(arguments),"remove")}}}();R={abort:t(function(){}),canplay:t(function(){var c=this._t;if(c._html5_canplay)return!0;c._html5_canplay=!0;c._onbufferchange(0);var b=!isNaN(c.position)?c.position/1E3:null;if(c.position&&this.currentTime!==b)try{this.currentTime=
b}catch(d){}c._iO._oncanplay&&c._iO._oncanplay()}),load:t(function(){var c=this._t;c.loaded||(c._onbufferchange(0),c._whileloading(c.bytesTotal,c.bytesTotal,c._get_html5_duration()),c._onload(!0))}),emptied:t(function(){}),ended:t(function(){this._t._onfinish()}),error:t(function(){this._t._onload(!1)}),loadeddata:t(function(){var c=this._t,b=c.bytesTotal||1;!c._loaded&&!ta&&(c.duration=c._get_html5_duration(),c._whileloading(b,b,c._get_html5_duration()),c._onload(!0))}),loadedmetadata:t(function(){}),
loadstart:t(function(){this._t._onbufferchange(1)}),play:t(function(){this._t._onbufferchange(0)}),playing:t(function(){this._t._onbufferchange(0)}),progress:t(function(c){var b=this._t;if(b.loaded)return!1;var d,i=0,m=c.target.buffered;d=c.loaded||0;var l=c.total||1;if(m&&m.length){for(d=m.length;d--;)i=m.end(d)-m.start(d);d=i/c.target.duration}isNaN(d)||(b._onbufferchange(0),b._whileloading(d,l,b._get_html5_duration()),d&&l&&d===l&&R.load.call(this,c))}),ratechange:t(function(){}),suspend:t(function(c){var b=
this._t;R.progress.call(this,c);b._onsuspend()}),stalled:t(function(){}),timeupdate:t(function(){this._t._onTimer()}),waiting:t(function(){this._t._onbufferchange(1)})};Ca=function(c){return!c.serverURL&&(c.type?qa({type:c.type}):qa({url:c.url})||d.html5Only)};$a=function(c){c&&(c.src=pb?"":"about:blank")};qa=function(c){function b(b){return d.preferFlash&&U&&!d.ignoreFlash&&"undefined"!==typeof d.flash[b]&&d.flash[b]}if(!d.useHTML5Audio||!d.hasHTML5)return!1;var i=c.url||null,c=c.type||null,l=d.audioFormats,
m;if(c&&"undefined"!==d.html5[c])return d.html5[c]&&!b(c);if(!aa){aa=[];for(m in l)l.hasOwnProperty(m)&&(aa.push(m),l[m].related&&(aa=aa.concat(l[m].related)));aa=RegExp("\\.("+aa.join("|")+")(\\?.*)?$","i")}m=i?i.toLowerCase().match(aa):null;if(!m||!m.length)if(c)i=c.indexOf(";"),m=(-1!==i?c.substr(0,i):c).substr(6);else return!1;else m=m[1];if(m&&"undefined"!==typeof d.html5[m])return d.html5[m]&&!b(m);c="audio/"+m;i=d.html5.canPlayType({type:c});return(d.html5[m]=i)&&d.html5[c]&&!b(c)};mb=function(){function c(e){var i,
j,m=!1;if(!b||"function"!==typeof b.canPlayType)return!1;if(e instanceof Array){for(i=0,j=e.length;i<j&&!m;i++)if(d.html5[e[i]]||b.canPlayType(e[i]).match(d.html5Test))m=!0,d.html5[e[i]]=!0,d.flash[e[i]]=!(!d.preferFlash||!U||!e[i].match(db));return m}e=b&&"function"===typeof b.canPlayType?b.canPlayType(e):!1;return!(!e||!e.match(d.html5Test))}if(!d.useHTML5Audio||"undefined"===typeof Audio)return!1;var b="undefined"!==typeof Audio?wb?new Audio(null):new Audio:null,i,l={},m,o;m=d.audioFormats;for(i in m)if(m.hasOwnProperty(i)&&
(l[i]=c(m[i].type),l["audio/"+i]=l[i],d.flash[i]=d.preferFlash&&!d.ignoreFlash&&i.match(db)?!0:!1,m[i]&&m[i].related))for(o=m[i].related.length;o--;)l["audio/"+m[i].related[o]]=l[i],d.html5[m[i].related[o]]=l[i],d.flash[m[i].related[o]]=l[i];l.canPlayType=b?c:null;d.html5=O(d.html5,l);return!0};oa=function(){};za=function(c){8===F&&1<c.loops&&c.stream&&(c.stream=!1);return c};Ma=function(c){if(c&&!c.usePolicyFile&&(c.onid3||c.usePeakData||c.useWaveformData||c.useEQData))c.usePolicyFile=!0;return c};
Ya=function(){};ha=function(){return!1};V=function(c){for(var b in c)c.hasOwnProperty(b)&&"function"===typeof c[b]&&(c[b]=ha)};ya=function(c){"undefined"===typeof c&&(c=!1);(X||c)&&d.disable(c)};Wa=function(c){if(c)if(c.match(/\.swf(\?.*)?$/i)){if(c.substr(c.toLowerCase().lastIndexOf(".swf?")+4))return c}else c.lastIndexOf("/")!==c.length-1&&(c+="/");c=(c&&-1!==c.lastIndexOf("/")?c.substr(0,c.lastIndexOf("/")+1):"./")+d.movieURL;d.noSWFCache&&(c+="?ts="+(new Date).getTime());return c};xa=function(){F=
parseInt(d.flashVersion,10);8!==F&&9!==F&&(d.flashVersion=F=8);var c=d.debugMode||d.debugFlash?"_debug.swf":".swf";d.useHTML5Audio&&!d.html5Only&&d.audioFormats.mp4.required&&9>F&&(d.flashVersion=F=9);d.version=d.versionNumber+(d.html5Only?" (HTML5-only mode)":9===F?" (AS3/Flash 9)":" (AS2/Flash 8)");8<F?(d.defaultOptions=O(d.defaultOptions,d.flash9Options),d.features.buffering=!0,d.defaultOptions=O(d.defaultOptions,d.movieStarOptions),d.filePatterns.flash9=RegExp("\\.(mp3|"+sb.join("|")+")(\\?.*)?$",
"i"),d.features.movieStar=!0):d.features.movieStar=!1;d.filePattern=d.filePatterns[8!==F?"flash9":"flash8"];d.movieURL=(8===F?"soundmanager2.swf":"soundmanager2_flash9.swf").replace(".swf",c);d.features.peakData=d.features.waveformData=d.features.eqData=8<F};Va=function(c,b){if(!s)return!1;s._setPolling(c,b)};Ka=function(){d.debugURLParam.test(Ga)&&(d.debugMode=!0)};I=this.getSoundById;pa=function(){var c=[];d.debugMode&&c.push("sm2_debug");d.debugFlash&&c.push("flash_debug");d.useHighPerformance&&
c.push("high_performance");return c.join(" ")};Xa=function(){oa("fbHandler");var c=d.getMoviePercent(),b={type:"FLASHBLOCK"};if(d.html5Only)return!1;d.ok()?d.oMC&&(d.oMC.className=[pa(),"movieContainer","swf_loaded"+(d.didFlashBlock?" swf_unblocked":"")].join(" ")):(Y&&(d.oMC.className=pa()+" movieContainer "+(null===c?"swf_timedout":"swf_error")),d.didFlashBlock=!0,ka({type:"ontimeout",ignoreInit:!0,error:b}),na(b))};o=function(c,b,d){"undefined"===typeof W[c]&&(W[c]=[]);W[c].push({method:b,scope:d||
null,fired:!1})};ka=function(c){c||(c={type:"onready"});if(!K&&c&&!c.ignoreInit||"ontimeout"===c.type&&d.ok())return!1;var b={success:c&&c.ignoreInit?d.ok():!X},i=c&&c.type?W[c.type]||[]:[],l=[],m,b=[b],o=Y&&d.useFlashBlock&&!d.ok();c.error&&(b[0].error=c.error);for(c=0,m=i.length;c<m;c++)!0!==i[c].fired&&l.push(i[c]);if(l.length)for(c=0,m=l.length;c<m;c++)if(l[c].scope?l[c].method.apply(l[c].scope,b):l[c].method.apply(this,b),!o)l[c].fired=!0;return!0};la=function(){y.setTimeout(function(){d.useFlashBlock&&
Xa();ka();d.onload instanceof Function&&d.onload.apply(y);d.waitForWindowLoad&&A.add(y,"load",la)},1)};J=function(){if(void 0!==U)return U;var c=!1,b=navigator,d=b.plugins,i,m=y.ActiveXObject;if(d&&d.length)(b=b.mimeTypes)&&b["application/x-shockwave-flash"]&&b["application/x-shockwave-flash"].enabledPlugin&&b["application/x-shockwave-flash"].enabledPlugin.description&&(c=!0);else if("undefined"!==typeof m){try{i=new m("ShockwaveFlash.ShockwaveFlash")}catch(l){}c=!!i}return U=c};Oa=function(){var c,
b;if(cb&&N.match(/os (1|2|3_0|3_1)/i))return d.hasHTML5=!1,d.html5Only=!0,d.oMC&&(d.oMC.style.display="none"),!1;if(d.useHTML5Audio){if(!d.html5||!d.html5.canPlayType)return d.hasHTML5=!1,!0;d.hasHTML5=!0;if(Pa&&J())return!0}else return!0;for(b in d.audioFormats)if(d.audioFormats.hasOwnProperty(b)&&(d.audioFormats[b].required&&!d.html5.canPlayType(d.audioFormats[b].type)||d.flash[b]||d.flash[d.audioFormats[b].type]))c=!0;d.ignoreFlash&&(c=!1);d.html5Only=d.hasHTML5&&d.useHTML5Audio&&!c;return!d.html5Only};
va=function(c){var b,i,l=0;if(c instanceof Array){for(b=0,i=c.length;b<i;b++)if(c[b]instanceof Object){if(d.canPlayMIME(c[b].type)){l=b;break}}else if(d.canPlayURL(c[b])){l=b;break}c[l].url&&(c[l]=c[l].url);return c[l]}return c};kb=function(c){c._hasTimer||(c._hasTimer=!0,!Z&&d.html5PollingInterval&&(null===Ba&&0===Aa&&(Ba=i.setInterval(lb,d.html5PollingInterval)),Aa++))};ib=function(c){c._hasTimer&&(c._hasTimer=!1,!Z&&d.html5PollingInterval&&Aa--)};lb=function(){var c;if(null!==Ba&&!Aa)return i.clearInterval(Ba),
Ba=null,!1;for(c=d.soundIDs.length;c--;)d.sounds[d.soundIDs[c]].isHTML5&&d.sounds[d.soundIDs[c]]._hasTimer&&d.sounds[d.soundIDs[c]]._onTimer()};na=function(c){c="undefined"!==typeof c?c:{};d.onerror instanceof Function&&d.onerror.apply(y,[{type:"undefined"!==typeof c.type?c.type:null}]);"undefined"!==typeof c.fatal&&c.fatal&&d.disable()};bb=function(){if(!Pa||!J())return!1;var c=d.audioFormats,b,i;for(i in c)if(c.hasOwnProperty(i)&&("mp3"===i||"mp4"===i))if(d.html5[i]=!1,c[i]&&c[i].related)for(b=
c[i].related.length;b--;)d.html5[c[i].related[b]]=!1};this._setSandboxType=function(){};this._externalInterfaceOK=function(){if(d.swfLoaded)return!1;(new Date).getTime();d.swfLoaded=!0;ra=!1;Pa&&bb();ba?setTimeout(ua,100):ua()};Ja=function(c,b){function i(b,c){return'<param name="'+b+'" value="'+c+'" />'}if(ia&&$)return!1;if(d.html5Only)return xa(),d.oMC=sa(d.movieID),ua(),$=ia=!0,!1;var l=b||d.url,m=d.altURL||l,o;o=Ua();var q,u,s=pa(),t,y=null,y=(y=B.getElementsByTagName("html")[0])&&y.dir&&y.dir.match(/rtl/i),
c="undefined"===typeof c?d.id:c;xa();d.url=Wa(eb?l:m);b=d.url;d.wmode=!d.wmode&&d.useHighPerformance?"transparent":d.wmode;if(null!==d.wmode&&(N.match(/msie 8/i)||!ba&&!d.useHighPerformance)&&navigator.platform.match(/win32|win64/i))d.wmode=null;o={name:c,id:c,src:b,width:"auto",height:"auto",quality:"high",allowScriptAccess:d.allowScriptAccess,bgcolor:d.bgColor,pluginspage:qb+"www.macromedia.com/go/getflashplayer",title:"JS/Flash audio component (SoundManager 2)",type:"application/x-shockwave-flash",
wmode:d.wmode,hasPriority:"true"};d.debugFlash&&(o.FlashVars="debug=1");d.wmode||delete o.wmode;if(ba)l=B.createElement("div"),u=['<object id="'+c+'" data="'+b+'" type="'+o.type+'" title="'+o.title+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="'+qb+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="'+o.width+'" height="'+o.height+'">',i("movie",b),i("AllowScriptAccess",d.allowScriptAccess),i("quality",o.quality),d.wmode?i("wmode",d.wmode):"",
i("bgcolor",d.bgColor),i("hasPriority","true"),d.debugFlash?i("FlashVars",o.FlashVars):"","</object>"].join("");else for(q in l=B.createElement("embed"),o)o.hasOwnProperty(q)&&l.setAttribute(q,o[q]);Ka();s=pa();if(o=Ua())if(d.oMC=sa(d.movieID)||B.createElement("div"),d.oMC.id)t=d.oMC.className,d.oMC.className=(t?t+" ":"movieContainer")+(s?" "+s:""),d.oMC.appendChild(l),ba&&(q=d.oMC.appendChild(B.createElement("div")),q.className="sm2-object-box",q.innerHTML=u),$=!0;else{d.oMC.id=d.movieID;d.oMC.className=
"movieContainer "+s;q=s=null;if(!d.useFlashBlock)if(d.useHighPerformance)s={position:"fixed",width:"8px",height:"8px",bottom:"0px",left:"0px",overflow:"hidden"};else if(s={position:"absolute",width:"6px",height:"6px",top:"-9999px",left:"-9999px"},y)s.left=Math.abs(parseInt(s.left,10))+"px";Ab&&(d.oMC.style.zIndex=1E4);if(!d.debugFlash)for(t in s)s.hasOwnProperty(t)&&(d.oMC.style[t]=s[t]);try{ba||d.oMC.appendChild(l),o.appendChild(d.oMC),ba&&(q=d.oMC.appendChild(B.createElement("div")),q.className=
"sm2-object-box",q.innerHTML=u),$=!0}catch(A){throw Error(oa("domError")+" \n"+A.toString());}}return ia=!0};Ha=function(){if(d.html5Only)return Ja(),!1;if(s)return!1;s=d.getMovie(d.id);s||(fa?(ba?d.oMC.innerHTML=La:d.oMC.appendChild(fa),fa=null,ia=!0):Ja(d.id,d.url),s=d.getMovie(d.id));d.oninitmovie instanceof Function&&setTimeout(d.oninitmovie,1);return!0};c=function(){setTimeout(Ra,1E3)};Ra=function(){if(Na)return!1;Na=!0;A.remove(y,"load",c);if(ra&&!Qa)return!1;var e;K||(e=d.getMoviePercent());
setTimeout(function(){e=d.getMoviePercent();!K&&hb&&(null===e?d.useFlashBlock||0===d.flashLoadTimeout?d.useFlashBlock&&Xa():ya(!0):0!==d.flashLoadTimeout&&ya(!0))},d.flashLoadTimeout)};da=function(){function c(){A.remove(y,"focus",da);A.remove(y,"load",da)}if(Qa||!ra)return c(),!0;Qa=hb=!0;ta&&ra&&A.remove(y,"mousemove",da);Na=!1;c();return!0};ob=function(){var c,b=[];if(d.useHTML5Audio&&d.hasHTML5)for(c in d.audioFormats)d.audioFormats.hasOwnProperty(c)&&b.push(c+": "+d.html5[c]+(!d.html5[c]&&U&&
d.flash[c]?" (using flash)":d.preferFlash&&d.flash[c]&&U?" (preferring flash)":!d.html5[c]?" ("+(d.audioFormats[c].required?"required, ":"")+"and no flash support)":""))};ja=function(c){if(K)return!1;if(d.html5Only)return K=!0,la(),!0;var b;if(!d.useFlashBlock||!d.flashLoadTimeout||d.getMoviePercent())K=!0,X&&(b={type:!U&&Y?"NO_FLASH":"INIT_TIMEOUT"});if(X||c)return d.useFlashBlock&&d.oMC&&(d.oMC.className=pa()+" "+(null===d.getMoviePercent()?"swf_timedout":"swf_error")),ka({type:"ontimeout",error:b}),
na(b),!1;if(d.waitForWindowLoad&&!wa)return A.add(y,"load",la),!1;la();return!0};ua=function(){if(K)return!1;if(d.html5Only)return K||(A.remove(y,"load",d.beginDelayedInit),d.enabled=!0,ja()),!0;Ha();try{s._externalInterfaceTest(!1),Va(!0,d.flashPollingInterval||(d.useHighPerformance?10:50)),d.debugMode||s._disableDebug(),d.enabled=!0,d.html5Only||A.add(y,"unload",ha)}catch(c){return na({type:"JS_TO_FLASH_EXCEPTION",fatal:!0}),ya(!0),ja(),!1}ja();A.remove(y,"load",d.beginDelayedInit);return!0};ea=
function(){if(Ta)return!1;Ta=!0;Ka();!U&&d.hasHTML5&&(d.useHTML5Audio=!0,d.preferFlash=!1);mb();d.html5.usingFlash=Oa();Y=d.html5.usingFlash;ob();!U&&Y&&(d.flashLoadTimeout=1);B.removeEventListener&&B.removeEventListener("DOMContentLoaded",ea,!1);Ha();return!0};ab=function(){"complete"===B.readyState&&(ea(),B.detachEvent("onreadystatechange",ab));return!0};ma=function(){wa=!0;A.remove(y,"load",ma)};J();A.add(y,"focus",da);A.add(y,"load",da);A.add(y,"load",c);A.add(y,"load",ma);ta&&ra&&A.add(y,"mousemove",
da);B.addEventListener?B.addEventListener("DOMContentLoaded",ea,!1):B.attachEvent?B.attachEvent("onreadystatechange",ab):na({type:"NO_DOM2_EVENTS",fatal:!0});"complete"===B.readyState&&setTimeout(ea,100)}var q=null;if("undefined"===typeof SM2_DEFER||!SM2_DEFER)q=new l;i.SoundManager=l;i.soundManager=q})(window);var BLapi=new BLapi_c;
