/*!
 * jQuery JavaScript Library v1.7.1
 * http://jquery.com/
 *
 * Copyright 2011, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2011, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Mon Nov 21 21:11:03 2011 -0500
 */
(function(a,b){function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function J(){return!1}function K(){return!0}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function T(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(O.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function U(a){var b=V.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function bj(a,b){if(b.nodeType!==1||!f.hasData(a))return;var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c+(i[c][d].namespace?".":"")+i[c][d].namespace,i[c][d],i[c][d].data)}h.data&&(h.data=f.extend({},h.data))}function bk(a,b){var c;if(b.nodeType!==1)return;b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bm(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bn(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bm(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bm)}function bo(a){var b=c.createElement("div");return bh.appendChild(b),b.innerHTML=a.outerHTML,b.firstChild}function bp(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bC(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bx:by,g=0,h=e.length;if(d>0){if(c!=="border")for(;g<h;g++)c||(d-=parseFloat(f.css(a,"padding"+e[g]))||0),c==="margin"?d+=parseFloat(f.css(a,c+e[g]))||0:d-=parseFloat(f.css(a,"border"+e[g]+"Width"))||0;return d+"px"}d=bz(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0;if(c)for(;g<h;g++)d+=parseFloat(f.css(a,"padding"+e[g]))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+e[g]+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+e[g]))||0);return d+"px"}function bZ(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bP),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function b$(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bT,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=b$(a,c,d,e,l,g)));return(k||!l)&&!g["*"]&&(l=b$(a,c,d,e,"*",g)),l}function b_(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function ca(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bE.test(a)?d(a,e):ca(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e in b)ca(a+"["+e+"]",b[e],c,d);else d(a,b)}function cb(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j)return j!==f[0]&&f.unshift(j),d[j]}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function cs(){return setTimeout(ct,0),cr=f.now()}function ct(){cr=b}function cu(a,b){var c={};return f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a}),c}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(e.isReady)return;try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};return e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(a==="body"&&!d&&c.body)return this.context=c,this[0]=c.body,this.selector=a,this.length=1,this;if(typeof a=="string"){a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?g=[null,a,null]:g=i.exec(a);if(g&&(g[1]||!d)){if(g[1])return d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes),e.merge(this,a);h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}return this.context=c,this.selector=a,this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}return e.isFunction(a)?f.ready(a):(a.selector!==b&&(this.selector=a.selector,this.context=a.context),e.makeArray(a,this))},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();return e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")"),d},each:function(a,b){return e.each(this,a,b)},ready:function(a){return e.bindReady(),A.add(a),this},eq:function(a){return a=+a,a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){return a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f),e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(A)return;A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}return(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c),d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":a.toString().replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(H)return H.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];return a.length=d,a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};return g.guid=a.guid=a.guid||g.guid||e.guid++,g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){return f&&f instanceof e&&!(f instanceof a)&&(f=a(f)),e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())}),e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?m(g):h==="function"&&(!a.unique||!o.has(g))&&c.push(g)},n=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,l=j||0,j=0,k=c.length;for(;c&&l<k;l++)if(c[l].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}i=!1,c&&(a.once?e===!0?o.disable():c=[]:d&&d.length&&(e=d.shift(),o.fireWith(e[0],e[1])))},o={add:function(){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){i&&f<=k&&(k--,f<=l&&l--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){return c=[],this},disable:function(){return c=d=e=b,this},disabled:function(){return!c},lock:function(){return d=b,(!e||e===!0)&&o.disable(),this},locked:function(){return!d},fireWith:function(b,c){return d&&(i?a.once||d.push([b,c]):(!a.once||!e)&&n(b,c)),this},fire:function(){return o.fireWith(this,arguments),this},fired:function(){return!!e}};return o};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){return i.done(a).fail(b).progress(c),this},always:function(){return i.done.apply(i,arguments).fail.apply(i,arguments),this},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;return i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i),i},when:function(a){function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}var b=i.call(arguments,0),c=0,d=b.length,e=new Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p,q=c.createElement("div"),r=c.documentElement;q.setAttribute("className","t"),q.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;return k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];if(!r)return;j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="<div "+n+"><div></div></div>"+"<table "+n+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="<div style='width:4px;'></div>",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i)}),b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){return a=a.nodeType?f.cache[a[f.expando]]:a[f.expando],!!a&&!m(a)},data:function(a,c,d,e){if(!f.acceptData(a))return;var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);return g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d),o&&!h[c]?g.events:(k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h,i)},removeData:function(a,b,c){if(!f.acceptData(a))return;var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=null)},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h=null;if(typeof a=="undefined"){if(this.length){h=f.data(this[0]);if(this[0].nodeType===1&&!f._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var i=0,j=e.length;i<j;i++)g=e[i].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),l(this[0],g,h[g]));f._data(this[0],"parsedAttrs",!0)}}return h}return typeof a=="object"?this.each(function(){f.data(this,a)}):(d=a.split("."),d[1]=d[1]?"."+d[1]:"",c===b?(h=this.triggerHandler("getData"+d[1]+"!",[d[0]]),h===b&&this.length&&(h=f.data(this[0],a),h=l(this[0],a,h)),h===b&&d[1]?this.data(d[0]):h):this.each(function(){var b=f(this),e=[d[0],c];b.triggerHandler("setData"+d[1]+"!",e),f.data(this,a,c),b.triggerHandler("changeData"+d[1]+"!",e)}))},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){return typeof a!="string"&&(c=a,a="fx"),c===b?f.queue(this[0],a):this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){return a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);return m(),d.promise()}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){return a=f.propFix[a]||a,this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";return f.isFunction(a)?this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];if(!arguments.length){if(g)return c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type],c&&"get"in c&&(d=c.get(g,"value"))!==b?d:(d=g.value,typeof d=="string"?d.replace(q,""):d==null?"":d);return}return e=f.isFunction(a),this.each(function(d){var g=f(this),h;if(this.nodeType!==1)return;e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}return j&&!h.length&&i.length?f(i[g]).val():h},set:function(a,b){var c=f.makeArray(b);return f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1),c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!a||j===3||j===8||j===2)return;if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}return h&&"set"in h&&i&&(g=h.set(a,d,c))!==b?g:(a.setAttribute(c,""+d),d)}return h&&"get"in h&&i&&(g=h.get(a,c))!==null?g:(g=a.getAttribute(c),g===null?b:g)},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h<g;h++)e=d[h],e&&(c=f.propFix[e]||e,f.attr(a,e,""),a.removeAttribute(v?e:c),u.test(e)&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}},value:{get:function(a,b){return w&&f.nodeName(a,"button")?w.get(a,b):b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=b}}},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,c,d){var e,g,h,i=a.nodeType;if(!a||i===3||i===8||i===2)return;return h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]),d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;return b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase())),c}},v||(y={name:!0,id:!0},w=f.valHooks.button={get:function(a,c){var d;return d=a.getAttributeNode(c),d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);return e||(e=c.createAttribute(d),a.setAttributeNode(e)),e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c==="")return a.setAttribute(b,"auto"),c}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);return b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)")),b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m
,n,o,p,q,r,s;if(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))return;d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f=="undefined"||!!a&&f.event.triggered===a.type?b:f.event.dispatch.apply(i.elem,arguments)},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:G(g),namespace:n.join(".")},p),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null},global:{},remove:function(a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s;if(!g||!(o=g.events))return;b=f.trim(I(b||"")).split(" ");for(h=0;h<b.length;h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2];if(!j){for(j in o)f.event.remove(a,j+b[h],c,d,!0);continue}p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(n=0;n<r.length;n++)s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d==="**"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s));r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j])}f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,["events","handle"],!0))},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;if(E.test(h+f.event.triggered))return;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length&&!c.isPropagationStopped();l++)m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault();return c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n)),c.result}return},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=[],j,k,l,m,n,o,p,q,r,s,t;g[0]=c,c.delegateTarget=this;if(e&&!c.target.disabled&&(!c.button||c.type!=="click")){m=f(this),m.context=this.ownerDocument||this;for(l=c.target;l!=this;l=l.parentNode||this){o={},q=[],m[0]=l;for(j=0;j<e;j++)r=d[j],s=r.selector,o[s]===b&&(o[s]=r.quick?H(l,r.quick):m.is(s)),o[s]&&q.push(r);q.length&&i.push({elem:l,matches:q})}}d.length>e&&i.push({elem:this,matches:d.slice(e)});for(j=0;j<i.length&&!c.isPropagationStopped();j++){p=i[j],c.currentTarget=p.elem;for(k=0;k<p.matches.length&&!c.isImmediatePropagationStopped();k++){r=p.matches[k];if(h||!c.namespace&&!r.namespace||c.namespace_re&&c.namespace_re.test(r.namespace))c.data=r.data,c.handleObj=r,n=((f.event.special[r.origType]||{}).handle||r.handler).apply(p.elem,g),n!==b&&(c.result=n,n===!1&&(c.preventDefault(),c.stopPropagation()))}}return c.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".split(" "),filter:function(a,b){return a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;return a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0),a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];return a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey),h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;if(!a)return;a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;if(!a)return;a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h;if(!d||d!==c&&!f.contains(c,d))a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0)}),d._submit_attached=!0)})},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){return f.event.remove(this,"._change"),z.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=J;else if(!e)return this;return g===1&&(h=e,e=function(a){return f().off(a),h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++)),this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on.call(this,a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;return f(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler),this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function")d=c,c=b;return d===!1&&(d=J),this.each(function(){f.event.remove(this,a,d,c)})},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,c){return f(this.context).on(a,this.selector,b,c),this},die:function(a,b){return f(this.context).off(a,this.selector||"**",b),this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;return f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault(),b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.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){f.fn[b]=function(a,c){return c==null&&(c=a,a=null),arguments.length>0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){return i=!1,0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length!==1||w[0]!=="~"&&w[0]!=="+"||!d.parentNode?d:d.parentNode,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);return l&&(m(l,h,e,f),m.uniqueSort(e)),e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break}}}}return d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]),{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q){if(g!=null)break;m.error(a)}q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1||d===9){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.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 c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"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]&&m.error(a[0]);return a[0]=e++,a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");return!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" "),a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not"){if(!((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))){var g=m.filter(b[3],c,d,!0^f);return d||e.push.apply(e,g),!1}b[3]=m(b[3],null,null,c)}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){return a.unshift(!0),a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},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 b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}return j=a.nodeIndex-e,c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){return a=Array.prototype.slice.call(a,0),b?(b.push.apply(b,a),b):a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){return a===b?(h=!0,0):!a.compareDocumentPosition||!b.compareDocumentPosition?a.compareDocumentPosition?-1:1:a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b)return h=!0,0;if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(b.querySelectorAll&&b.querySelectorAll(".TEST").length===0)return;m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!a.getElementsByClassName||a.getElementsByClassName("e").length===0)return;a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.POS,R={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(T(this,a,!1),"not",a)},filter:function(a){return this.pushStack(T(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=Q.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}return c=c.length>1?f.unique(c):c,this.pushStack(c,"closest",a)},index:function(a){return a?typeof a=="string"?f.inArray(this[0],f(a)):f.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);return L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse()),this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){return c&&(a=":not("+a+")"),b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/<tbody/i,_=/<|&#?\w+;/,ba=/<(?:script|style)/i,bb=/<(?:script|object|embed|option|style)/i,bc=new RegExp("<(?:"+V+")","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*<!(?:\[CDATA\[|\-\-)/,bg={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,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){return f.isFunction(a)?this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))}):typeof a!="object"&&a!==b?this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a)):f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return f.isFunction(a)?this.each(function(b){f(this).wrapInner(a.call(this,b))}):this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&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=f.clean(arguments);return a.push.apply(a,this.toArray()),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);return a.push.apply(a,f.clean(arguments)),a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(
b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){return a=a==null?!1:a,b=b==null?a:b,this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){return this[0]&&this[0].parentNode?f.isFunction(a)?this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))}):(typeof a!="string"&&(a=f(a).detach()),this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})):this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bd.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bi(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,bp)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0];return b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!bb.test(j)&&(f.support.checkClone||!bd.test(j))&&(f.support.html5Clone||!bc.test(j))&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1),{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1)return e[b](this[0]),this;for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}return d=e=null,h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1></$2>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i<r;i++)bn(k[i]);else bn(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||be.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bq=/alpha\([^)]*\)/i,br=/opacity=([^)]*)/,bs=/([A-Z]|^ms)/g,bt=/^-?\d+(?:px)?$/i,bu=/^-?\d/,bv=/^([\-+])=([\-+.\de]+)/,bw={position:"absolute",visibility:"hidden",display:"block"},bx=["Left","Right"],by=["Top","Bottom"],bz,bA,bB;f.fn.css=function(a,c){return arguments.length===2&&c===b?this:f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bz(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":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!a||a.nodeType===3||a.nodeType===8||!a.style)return;var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b)return k&&"get"in k&&(g=k.get(a,!1,e))!==b?g:j[c];h=typeof d,h==="string"&&(g=bv.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bz)return bz(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c)return a.offsetWidth!==0?bC(a,b,d):(f.swap(a,bw,function(){e=bC(a,b,d)}),e)},set:function(a,b){if(!bt.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;return f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight}),c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;return b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b))),c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;return f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d)),f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;return f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}}),this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){return f.isFunction(d)&&(g=g||e,e=d,d=b),f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){return b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b),a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[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","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s===2)return;s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){return s||(d.mimeType=a),this},abort:function(a){return a=a||"abort",p&&p.abort(a),w(0,a),this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(!d.beforeSend||d.beforeSend.call(e,v,d)!==!1&&s!==2){for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(!(s<2))throw z;w(-1,z)}}return v}return v.abort(),!1},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";return b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){return g||f.error(h+" was not called"),g[0]},b.dataTypes[0]="json","script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){return f.globalEval(a),a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cv(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cu("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";return f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cu("toggle",3),a,b,c),this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cv(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cn.test(h)?(o=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),o?(f._data(this,"toggle"+i,o==="show"?"hide":"show"),j[o]()):j[h]()):(k=co.exec(h),l=j.cur(),k?(m=parseFloat(k[2]),n=k[3]||(f.cssNumber[i]?"":"px"),n!=="px"&&(f.style(this,i,(m||1)+n),l=(m||1)/j.cur()*l,f.style(this,i,l+n)),k[1]&&(m=(k[1]==="-="?-1:1)*m+l),j.custom(l,m,n)):j.custom(l,h,""));return!0}var e=f.speed(b,c,d);return f.isEmptyObject(a)?this.each(e.complete,[!1]):(a=f.extend({},a),e.queue===!1?this.each(g):this.queue(e.queue,g))},stop:function(a,c,d){return typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b]&&g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:cu("show",1),slideUp:cu("hide",1),slideToggle:cu("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";return d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)},d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]==null||!!this.elem.style&&this.elem.style[this.prop]!=null){var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a}return this.elem[this.prop]},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;this.startTime=cr||cs(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){e.options.hide&&f._data(e.elem,"fxshow"+e.prop)===b&&f._data(e.elem,"fxshow"+e.prop,e.start)},h()&&f.timers.push(h)&&!cp&&(cp=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=cr||cs(),g=!0,h=this.elem,i=this.options;if(a||e>=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)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}return i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||f.fx.stop()},interval:13,stop:function(){clearInterval(cp),cp=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}}),f.each(["width","height"],function(a,b){f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now)+a.unit)}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cw=/^t(?:able|d|h)$/i,cx=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(d){}var e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=e.body,i=cy(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);var c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.support.fixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cw.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),e=d,d=b.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;return f.support.fixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft)),{top:l,left:m}},f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;return f.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0),{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();return c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0,{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;return c===b?(e=this[0],e?(g=cy(e),g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]):null):this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window),function(a,b){var c;a.rails=c={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not(button[type])",disableSelector:"input[data-disable-with], button[data-disable-with], textarea[data-disable-with]",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input:file",linkDisableSelector:"a[data-disable-with]",CSRFProtection:function(b){var c=a('meta[name="csrf-token"]').attr("content");c&&b.setRequestHeader("X-CSRF-Token",c)},fire:function(b,c,d){var e=a.Event(c);return b.trigger(e,d),e.result!==!1},confirm:function(a){return confirm(a)},ajax:function(b){return a.ajax(b)},handleRemote:function(d){var e,f,g,h=d.data("cross-domain")||null,i=d.data("type")||a.ajaxSettings&&a.ajaxSettings.dataType,j;if(c.fire(d,"ajax:before")){if(d.is("form")){e=d.attr("method"),f=d.attr("action"),g=d.serializeArray();var k=d.data("ujs:submit-button");k&&(g.push(k),d.data("ujs:submit-button",null))}else d.is(c.inputChangeSelector)?(e=d.data("method"),f=d.data("url"),g=d.serialize(),d.data("params")&&(g=g+"&"+d.data("params"))):(e=d.data("method"),f=d.attr("href"),g=d.data("params")||null);return j={type:e||"GET",data:g,dataType:i,crossDomain:h,beforeSend:function(a,e){return e.dataType===b&&a.setRequestHeader("accept","*/*;q=0.5, "+e.accepts.script),c.fire(d,"ajax:beforeSend",[a,e])},success:function(a,b,c){d.trigger("ajax:success",[a,b,c])},complete:function(a,b){d.trigger("ajax:complete",[a,b])},error:function(a,b,c){d.trigger("ajax:error",[a,b,c])}},f&&(j.url=f),c.ajax(j)}return!1},handleMethod:function(c){var d=c.attr("href"),e=c.data("method"),f=c.attr("target"),g=a("meta[name=csrf-token]").attr("content"),h=a("meta[name=csrf-param]").attr("content"),i=a('<form method="post" action="'+d+'"></form>'),j='<input name="_method" value="'+e+'" type="hidden" />';h!==b&&g!==b&&(j+='<input name="'+h+'" value="'+g+'" type="hidden" />'),f&&i.attr("target",f),i.hide().append(j).appendTo("body"),i.submit()},disableFormElements:function(b){b.find(c.disableSelector).each(function(){var b=a(this),c=b.is("button")?"html":"val";b.data("ujs:enable-with",b[c]()),b[c](b.data("disable-with")),b.prop("disabled",!0)})},enableFormElements:function(b){b.find(c.enableSelector).each(function(){var b=a(this),c=b.is("button")?"html":"val";b.data("ujs:enable-with")&&b[c](b.data("ujs:enable-with")),b.prop("disabled",!1)})},allowAction:function(a){var b=a.data("confirm"),d=!1,e;return b?(c.fire(a,"confirm")&&(d=c.confirm(b),e=c.fire(a,"confirm:complete",[d])),d&&e):!0},blankInputs:function(b,c,d){var e=a(),f,g=c||"input,textarea";return b.find(g).each(function(){f=a(this);if(d?f.val():!f.val())e=e.add(f)}),e.length?e:!1},nonBlankInputs:function(a,b){return c.blankInputs(a,b,!0)},stopEverything:function(b){return a(b.target).trigger("ujs:everythingStopped"),b.stopImmediatePropagation(),!1},callFormSubmitBindings:function(c,d){var e=c.data("events"),f=!0;return e!==b&&e.submit!==b&&a.each(e.submit,function(a,b){if(typeof b.handler=="function")return f=b.handler(d)}),f},disableElement:function(a){a.data("ujs:enable-with",a.html()),a.html(a.data("disable-with")),a.bind("click.railsDisable",function(a){return c.stopEverything(a)})},enableElement:function(a){a.data("ujs:enable-with")!==b&&(a.html(a.data("ujs:enable-with")),a.data("ujs:enable-with",!1)),a.unbind("click.railsDisable")}},a.ajaxPrefilter(function(a,b,d){a.crossDomain||c.CSRFProtection(d)}),a(document).delegate(c.linkDisableSelector,"ajax:complete",function(){c.enableElement(a(this))}),a(document).delegate(c.linkClickSelector,"click.rails",function(d){var e=a(this),f=e.data("method"),g=e.data("params");if(!c.allowAction(e))return c.stopEverything(d);e.is(c.linkDisableSelector)&&c.disableElement(e);if(e.data("remote")!==b)return(d.metaKey||d.ctrlKey)&&(!f||f==="GET")&&!g?!0:(c.handleRemote(e)===!1&&c.enableElement(e),!1);if(e.data("method"))return c.handleMethod(e),!1
}),a(document).delegate(c.inputChangeSelector,"change.rails",function(b){var d=a(this);return c.allowAction(d)?(c.handleRemote(d),!1):c.stopEverything(b)}),a(document).delegate(c.formSubmitSelector,"submit.rails",function(d){var e=a(this),f=e.data("remote")!==b,g=c.blankInputs(e,c.requiredInputSelector),h=c.nonBlankInputs(e,c.fileInputSelector);if(!c.allowAction(e))return c.stopEverything(d);if(g&&e.attr("novalidate")==b&&c.fire(e,"ajax:aborted:required",[g]))return c.stopEverything(d);if(f)return h?c.fire(e,"ajax:aborted:file",[h]):!a.support.submitBubbles&&a().jquery<"1.7"&&c.callFormSubmitBindings(e,d)===!1?c.stopEverything(d):(c.handleRemote(e),!1);setTimeout(function(){c.disableFormElements(e)},13)}),a(document).delegate(c.formInputClickSelector,"click.rails",function(b){var d=a(this);if(!c.allowAction(d))return c.stopEverything(b);var e=d.attr("name"),f=e?{name:e,value:d.val()}:null;d.closest("form").data("ujs:submit-button",f)}),a(document).delegate(c.formSubmitSelector,"ajax:beforeSend.rails",function(b){this==b.target&&c.disableFormElements(a(this))}),a(document).delegate(c.formSubmitSelector,"ajax:complete.rails",function(b){this==b.target&&c.enableFormElements(a(this))})}(jQuery);if(typeof jwplayer=="undefined"){var jwplayer=function(a){if(jwplayer.api)return jwplayer.api.selectPlayer(a)},$jw=jwplayer;jwplayer.version="5.7.1896 (Licensed version)",jwplayer.vid=document.createElement("video"),jwplayer.audio=document.createElement("audio"),jwplayer.source=document.createElement("source"),function(a){function b(b){if(!a.utils.exists(b))return;var c=b.indexOf("://"),d=b.indexOf("?");return c>0&&(d<0||d>c)}a.utils=function(){},a.utils.typeOf=function(a){var b=typeof a;return b==="object"&&(a?a instanceof Array&&(b="array"):b="null"),b},a.utils.extend=function(){var b=a.utils.extend.arguments;if(b.length>1){for(var c=1;c<b.length;c++)for(var d in b[c])b[0][d]=b[c][d];return b[0]}return null},a.utils.clone=function(b){var c,d=a.utils.clone.arguments;if(d.length==1)switch(a.utils.typeOf(d[0])){case"object":c={};for(var e in d[0])c[e]=a.utils.clone(d[0][e]);break;case"array":c=[];for(var e in d[0])c[e]=a.utils.clone(d[0][e]);break;default:return d[0]}return c},a.utils.extension=function(a){if(!a)return"";a=a.substring(a.lastIndexOf("/")+1,a.length),a=a.split("?")[0];if(a.lastIndexOf(".")>-1)return a.substr(a.lastIndexOf(".")+1,a.length).toLowerCase();return},a.utils.html=function(a,b){a.innerHTML=b},a.utils.wrap=function(a,b){a.parentNode&&a.parentNode.replaceChild(b,a),b.appendChild(a)},a.utils.ajax=function(a,b,c){var d;window.XMLHttpRequest?d=new XMLHttpRequest:d=new ActiveXObject("Microsoft.XMLHTTP"),d.onreadystatechange=function(){d.readyState===4&&(d.status===200?b&&b(d):c&&c(a))};try{d.open("GET",a,!0),d.send(null)}catch(e){c&&c(a)}return d},a.utils.load=function(a,b,c){a.onreadystatechange=function(){a.readyState===4&&(a.status===200?b&&b():c&&c())}},a.utils.find=function(a,b){return a.getElementsByTagName(b)},a.utils.append=function(a,b){a.appendChild(b)},a.utils.isIE=function(){return typeof window.ActiveXObject!="undefined"},a.utils.isLegacyAndroid=function(){var a=navigator.userAgent.toLowerCase();return a.match(/android 2.[012]/i)!==null},a.utils.isIOS=function(a){typeof a=="undefined"&&(a=/iP(hone|ad|od)/i);var b=navigator.userAgent.toLowerCase();return b.match(a)!==null},a.utils.isIPad=function(){return a.utils.isIOS(/iPad/i)},a.utils.isIPod=function(){return a.utils.isIOS(/iP(hone|od)/i)},a.utils.getFirstPlaylistItemFromConfig=function(a){var b={},c;return a.playlist&&a.playlist.length?c=a.playlist[0]:c=a,b.file=c.file,b.levels=c.levels,b.streamer=c.streamer,b.playlistfile=c.playlistfile,b.provider=c.provider,b.provider||(b.file&&(b.file.toLowerCase().indexOf("youtube.com")>-1||b.file.toLowerCase().indexOf("youtu.be")>-1)&&(b.provider="youtube"),b.streamer&&b.streamer.toLowerCase().indexOf("rtmp://")==0&&(b.provider="rtmp"),c.type&&(b.provider=c.type.toLowerCase())),b.provider=="audio"&&(b.provider="sound"),b},a.utils.getOuterHTML=function(a){if(a.outerHTML)return a.outerHTML;try{return(new XMLSerializer).serializeToString(a)}catch(b){return""}},a.utils.setOuterHTML=function(a,b){if(a.outerHTML)a.outerHTML=b;else{var c=document.createElement("div");c.innerHTML=b;var d=document.createRange();d.selectNodeContents(c);var e=d.extractContents();a.parentNode.insertBefore(e,a),a.parentNode.removeChild(a)}},a.utils.hasFlash=function(){if(typeof navigator.plugins!="undefined"&&typeof navigator.plugins["Shockwave Flash"]!="undefined")return!0;if(typeof window.ActiveXObject!="undefined")try{return new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),!0}catch(a){}return!1},a.utils.getPluginName=function(a){return a.lastIndexOf("/")>=0&&(a=a.substring(a.lastIndexOf("/")+1,a.length)),a.lastIndexOf("-")>=0&&(a=a.substring(0,a.lastIndexOf("-"))),a.lastIndexOf(".swf")>=0&&(a=a.substring(0,a.lastIndexOf(".swf"))),a.lastIndexOf(".js")>=0&&(a=a.substring(0,a.lastIndexOf(".js"))),a},a.utils.getPluginVersion=function(a){return a.lastIndexOf("-")>=0?a.lastIndexOf(".js")>=0?a.substring(a.lastIndexOf("-")+1,a.lastIndexOf(".js")):a.lastIndexOf(".swf")>=0?a.substring(a.lastIndexOf("-")+1,a.lastIndexOf(".swf")):a.substring(a.lastIndexOf("-")+1):""},a.utils.getAbsolutePath=function(c,d){a.utils.exists(d)||(d=document.location.href);if(!a.utils.exists(c))return undefined;if(b(c))return c;var e=d.substring(0,d.indexOf("://")+3),f=d.substring(e.length,d.indexOf("/",e.length+1)),g;if(c.indexOf("/")===0)g=c.split("/");else{var h=d.split("?")[0];h=h.substring(e.length+f.length+1,h.lastIndexOf("/")),g=h.split("/").concat(c.split("/"))}var i=[];for(var j=0;j<g.length;j++){if(!g[j]||!a.utils.exists(g[j])||g[j]==".")continue;g[j]==".."?i.pop():i.push(g[j])}return e+f+"/"+i.join("/")},a.utils.pluginPathType={ABSOLUTE:"ABSOLUTE",RELATIVE:"RELATIVE",CDN:"CDN"},a.utils.getPluginPathType=function(b){if(typeof b!="string")return;b=b.split("?")[0];var c=b.indexOf("://");if(c>0)return a.utils.pluginPathType.ABSOLUTE;var d=b.indexOf("/"),e=a.utils.extension(b);return c<0&&d<0&&(!e||!isNaN(e))?a.utils.pluginPathType.CDN:a.utils.pluginPathType.RELATIVE},a.utils.mapEmpty=function(a){for(var b in a)return!1;return!0},a.utils.mapLength=function(a){var b=0;for(var c in a)b++;return b},a.utils.log=function(a,b){typeof console!="undefined"&&typeof console.log!="undefined"&&(b?console.log(a,b):console.log(a))},a.utils.css=function(b,c,d){if(a.utils.exists(b))for(var e in c)try{if(typeof c[e]=="undefined")continue;if(typeof c[e]=="number"&&e!="zIndex"&&e!="opacity"){if(isNaN(c[e]))continue;e.match(/color/i)?c[e]="#"+a.utils.strings.pad(c[e].toString(16),6):c[e]=Math.ceil(c[e])+"px"}b.style[e]=c[e]}catch(f){}},a.utils.isYouTube=function(a){return a.indexOf("youtube.com")>-1||a.indexOf("youtu.be")>-1},a.utils.transform=function(a,b){a.style.webkitTransform=b,a.style.MozTransform=b,a.style.OTransform=b},a.utils.stretch=function(b,c,d,e,f,g){if(typeof d=="undefined"||typeof e=="undefined"||typeof f=="undefined"||typeof g=="undefined")return;var h=d/f,i=e/g,j=0,k=0;c.style.overflow="hidden",a.utils.transform(c,"");var l={};switch(b.toUpperCase()){case a.utils.stretching.NONE:l.width=f,l.height=g;break;case a.utils.stretching.UNIFORM:h>i?(l.width=f*i,l.height=g*i):(l.width=f*h,l.height=g*h);break;case a.utils.stretching.FILL:h>i?(l.width=f*h,l.height=g*h):(l.width=f*i,l.height=g*i);break;case a.utils.stretching.EXACTFIT:a.utils.transform(c,["scale(",h,",",i,")"," translate(0px,0px)"].join("")),l.width=f,l.height=g;break;default:}l.top=(e-l.height)/2,l.left=(d-l.width)/2,a.utils.css(c,l)},a.utils.stretching={NONE:"NONE",FILL:"FILL",UNIFORM:"UNIFORM",EXACTFIT:"EXACTFIT"},a.utils.deepReplaceKeyName=function(b,c,d){switch(a.utils.typeOf(b)){case"array":for(var e=0;e<b.length;e++)b[e]=a.utils.deepReplaceKeyName(b[e],c,d);break;case"object":for(var f in b){var g=f.replace(new RegExp(c,"g"),d);b[g]=a.utils.deepReplaceKeyName(b[f],c,d),f!=g&&delete b[f]}}return b},a.utils.isInArray=function(a,b){if(!!a&&a instanceof Array){for(var c=0;c<a.length;c++)if(b===a[c])return!0;return!1}return!1},a.utils.exists=function(a){switch(typeof a){case"string":return a.length>0;case"object":return a!==null;case"undefined":return!1}return!0},a.utils.empty=function(a){if(typeof a.hasChildNodes=="function")while(a.hasChildNodes())a.removeChild(a.firstChild)},a.utils.parseDimension=function(a){return typeof a=="string"?a===""?0:a.lastIndexOf("%")>-1?a:parseInt(a.replace("px",""),10):a},a.utils.getDimensions=function(b){return b&&b.style?{x:a.utils.parseDimension(b.style.left),y:a.utils.parseDimension(b.style.top),width:a.utils.parseDimension(b.style.width),height:a.utils.parseDimension(b.style.height)}:{}},a.utils.timeFormat=function(a){return str="00:00",a>0&&(str=Math.floor(a/60)<10?"0"+Math.floor(a/60)+":":Math.floor(a/60)+":",str+=Math.floor(a%60)<10?"0"+Math.floor(a%60):Math.floor(a%60)),str}}(jwplayer),function(a){a.events=function(){},a.events.COMPLETE="COMPLETE",a.events.ERROR="ERROR"}(jwplayer),function(jwplayer){jwplayer.events.eventdispatcher=function(debug){var _debug=debug,_listeners,_globallisteners;this.resetEventListeners=function(){_listeners={},_globallisteners=[]},this.resetEventListeners(),this.addEventListener=function(type,listener,count){try{jwplayer.utils.exists(_listeners[type])||(_listeners[type]=[]),typeof listener=="string"&&eval("listener = "+listener),_listeners[type].push({listener:listener,count:count})}catch(err){jwplayer.utils.log("error",err)}return!1},this.removeEventListener=function(a,b){if(!_listeners[a])return;try{for(var c=0;c<_listeners[a].length;c++)if(_listeners[a][c].listener.toString()==b.toString()){_listeners[a].splice(c,1);break}}catch(d){jwplayer.utils.log("error",d)}return!1},this.addGlobalListener=function(listener,count){try{typeof listener=="string"&&eval("listener = "+listener),_globallisteners.push({listener:listener,count:count})}catch(err){jwplayer.utils.log("error",err)}return!1},this.removeGlobalListener=function(a){if(!_globallisteners[type])return;try{for(var b=0;b<_globallisteners.length;b++)if(_globallisteners[b].listener.toString()==a.toString()){_globallisteners.splice(b,1);break}}catch(c){jwplayer.utils.log("error",c)}return!1},this.sendEvent=function(a,b){jwplayer.utils.exists(b)||(b={}),_debug&&jwplayer.utils.log(a,b);if(typeof _listeners[a]!="undefined")for(var c=0;c<_listeners[a].length;c++){try{_listeners[a][c].listener(b)}catch(d){jwplayer.utils.log("There was an error while handling a listener: "+d.toString(),_listeners[a][c].listener)}_listeners[a][c]&&(_listeners[a][c].count===1?delete _listeners[a][c]:_listeners[a][c].count>0&&(_listeners[a][c].count=_listeners[a][c].count-1))}for(var e=0;e<_globallisteners.length;e++){try{_globallisteners[e].listener(b)}catch(d){jwplayer.utils.log("There was an error while handling a listener: "+d.toString(),_globallisteners[e].listener)}_globallisteners[e]&&(_globallisteners[e].count===1?delete _globallisteners[e]:_globallisteners[e].count>0&&(_globallisteners[e].count=_globallisteners[e].count-1))}}}}(jwplayer),function(a){var b={};a.utils.animations=function(){},a.utils.animations.transform=function(a,b){a.style.webkitTransform=b,a.style.MozTransform=b,a.style.OTransform=b,a.style.msTransform=b},a.utils.animations.transformOrigin=function(a,b){a.style.webkitTransformOrigin=b,a.style.MozTransformOrigin=b,a.style.OTransformOrigin=b,a.style.msTransformOrigin=b},a.utils.animations.rotate=function(b,c){a.utils.animations.transform(b,["rotate(",c,"deg)"].join(""))},a.utils.cancelAnimation=function(a){delete b[a.id]},a.utils.fadeTo=function(c,d,e,f,g,h){if(b[c.id]!=h&&a.utils.exists(h))return;if(c.style.opacity==d)return;var i=(new Date).getTime();h>i&&setTimeout(function(){a.utils.fadeTo(c,d,e,f,0,h)},h-i),c.style.display=="none"&&(c.style.display="block"),a.utils.exists(f)||(f=c.style.opacity===""?1:c.style.opacity);if(c.style.opacity==d&&c.style.opacity!==""&&a.utils.exists(h)){d===0&&(c.style.display="none");return}a.utils.exists(h)||(h=i,b[c.id]=h),a.utils.exists(g)||(g=0);var j=e>0?(i-h)/(e*1e3):0;j=j>1?1:j;var k=d-f,l=f+j*k;l>1?l=1:l<0&&(l=0),c.style.opacity=l;if(g>0){b[c.id]=h+g*1e3,a.utils.fadeTo(c,d,e,f,0,b[c.id]);return}setTimeout(function(){a.utils.fadeTo(c,d,e,f,0,h)},10)}}(jwplayer),function(a){a.utils.arrays=function(){},a.utils.arrays.indexOf=function(a,b){for(var c=0;c<a.length;c++)if(a[c]==b)return c;return-1},a.utils.arrays.remove=function(b,c){var d=a.utils.arrays.indexOf(b,c);d>-1&&b.splice(d,1)}}(jwplayer),function(a){a.utils.extensionmap={"3gp":{html5:"video/3gpp",flash:"video"},"3gpp":{html5:"video/3gpp"},"3g2":{html5:"video/3gpp2",flash:"video"},"3gpp2":{html5:"video/3gpp2"},flv:{flash:"video"},f4a:{html5:"audio/mp4"},f4b:{html5:"audio/mp4",flash:"video"},f4v:{html5:"video/mp4",flash:"video"},mov:{html5:"video/quicktime",flash:"video"},m4a:{html5:"audio/mp4",flash:"video"},m4b:{html5:"audio/mp4"},m4p:{html5:"audio/mp4"},m4v:{html5:"video/mp4",flash:"video"},mp4:{html5:"video/mp4",flash:"video"},rbs:{flash:"sound"},aac:{html5:"audio/aac",flash:"video"},mp3:{html5:"audio/mp3",flash:"sound"},ogg:{html5:"audio/ogg"},oga:{html5:"audio/ogg"},ogv:{html5:"video/ogg"},webm:{html5:"video/webm"},m3u8:{html5:"audio/x-mpegurl"},gif:{flash:"image"},jpeg:{flash:"image"},jpg:{flash:"image"},swf:{flash:"image"},png:{flash:"image"},wav:{html5:"audio/x-wav"}}}(jwplayer),function(a){function d(c,d){return a.utils.exists(d)?a.utils.extend(d,b[c]):d=b[c],d}function e(b,e){if(c[b.tagName.toLowerCase()]&&!a.utils.exists(e))return c[b.tagName.toLowerCase()](b);e=d("element",e);var f={};for(var g in e)if(g!="length"){var h=b.getAttribute(g);a.utils.exists(h)&&(f[e[g]]=h)}var i=b.style["#background-color"];return i&&i!="transparent"&&i!="rgba(0, 0, 0, 0)"&&(f.screencolor=i),f}function f(b,c){c=d("media",c);var f=[],h=a.utils.selectors("source",b);for(var i in h)isNaN(i)||f.push(g(h[i]));var j=e(b,c);return a.utils.exists(j.file)&&(f[0]={file:j.file}),j.levels=f,j}function g(a,b){b=d("source",b);var c=e(a,b);return c.width=c.width?c.width:0,c.bitrate=c.bitrate?c.bitrate:0,c}function h(a,b){b=d("video",b);var c=f(a,b);return c}a.utils.mediaparser=function(){};var b={element:{width:"width",height:"height",id:"id","class":"className",name:"name"},media:{src:"file",preload:"preload",autoplay:"autostart",loop:"repeat",controls:"controls"},source:{src:"file",type:"type",media:"media","data-jw-width":"width","data-jw-bitrate":"bitrate"},video:{poster:"image"}},c={};a.utils.mediaparser.parseMedia=function(a){return e(a)},c.media=f,c.audio=f,c.source=g,c.video=h}(jwplayer),function(a){a.utils.loaderstatus={NEW:"NEW",LOADING:"LOADING",ERROR:"ERROR",COMPLETE:"COMPLETE"},a.utils.scriptloader=function(b){var c=a.utils.loaderstatus.NEW,d=new a.events.eventdispatcher;a.utils.extend(this,d),this.load=function(){if(c==a.utils.loaderstatus.NEW){c=a.utils.loaderstatus.LOADING;var e=document.createElement("script");e.onload=function(b){c=a.utils.loaderstatus.COMPLETE,d.sendEvent(a.events.COMPLETE)},e.onerror=function(b){c=a.utils.loaderstatus.ERROR,d.sendEvent(a.events.ERROR)},e.onreadystatechange=function(){if(e.readyState=="loaded"||e.readyState=="complete")c=a.utils.loaderstatus.COMPLETE,d.sendEvent(a.events.COMPLETE)},document.getElementsByTagName("head")[0].appendChild(e),e.src=b}},this.getStatus=function(){return c}}}(jwplayer),function(a){a.utils.selectors=function(b,c){a.utils.exists(c)||(c=document),b=a.utils.strings.trim(b);var d=b.charAt(0);if(d=="#")return c.getElementById(b.substr(1));if(d==".")return c.getElementsByClassName?c.getElementsByClassName(b.substr(1)):a.utils.selectors.getElementsByTagAndClass("*",b.substr(1));if(b.indexOf(".")>0){var e=b.split(".");return a.utils.selectors.getElementsByTagAndClass(e[0],e[1])}return c.getElementsByTagName(b)},a.utils.selectors.getElementsByTagAndClass=function(b,c,d){var e=[];a.utils.exists(d)||(d=document);var f=d.getElementsByTagName(b);for(var g=0;g<f.length;g++)if(a.utils.exists(f[g].className)){var h=f[g].className.split(" ");for(var i=0;i<h.length;i++)h[i]==c&&e.push(f[g])}return e}}(jwplayer),function(a){a.utils.strings=function(){},a.utils.strings.trim=function(a){return a.replace(/^\s*/,"").replace(/\s*$/,"")},a.utils.strings.pad=function(a,b,c){c||(c="0");while(a.length<b)a=c+a;return a},a.utils.strings.serialize=function(a){return a==null?null:a=="true"?!0:a=="false"?!1:isNaN(Number(a))||a.length>5||a.length==0?a:Number(a)},a.utils.strings.seconds=function(a){a=a.replace(",",".");var b=a.split(":"),c=0;return a.substr(-1)=="s"?c=Number(a.substr(0,a.length-1)):a.substr(-1)=="m"?c=Number(a.substr(0,a.length-1))*60:a.substr(-1)=="h"?c=Number(a.substr(0,a.length-1))*3600:b.length>1?(c=Number(b[b.length-1]),c+=Number(b[b.length-2])*60,b.length==3&&(c+=Number(b[b.length-3])*3600)):c=Number(a),c},a.utils.strings.xmlAttribute=function(a,b){for(var c=0;c<a.attributes.length;c++)if(a.attributes[c].name&&a.attributes[c].name.toLowerCase()==b.toLowerCase())return a.attributes[c].value.toString();return""},a.utils.strings.jsonToString=function(b){var c=c||{};if(c&&c.stringify)return c.stringify(b);var d=typeof b;if(d=="object"&&b!==null){var e=[],f=b&&b.constructor==Array;for(var g in b){var h=b[g];switch(typeof h){case"string":h='"'+h+'"';break;case"object":a.utils.exists(h)&&(h=a.utils.strings.jsonToString(h))}f?typeof h!="function"&&e.push(String(h)):typeof h!="function"&&e.push('"'+g+'":'+String(h))}return f?"["+String(e)+"]":"{"+String(e)+"}"}if(d!="string")return String(b);b='"'+b+'"'}}(jwplayer),function(a){function c(a){var c=["true","false","t","f"];return c.toString().indexOf(a.toLowerCase().replace(" ",""))>=0?"boolean":b.test(a)?"color":!isNaN(parseInt(a,10))&&parseInt(a,10).toString().length==a.length?"integer":!isNaN(parseFloat(a))&&parseFloat(a).toString().length==a.length?"float":"string"}function d(b,c){if(!a.utils.exists(c))return b;switch(c){case"color":if(b.length>0)return e(b);return null;case"integer":return parseInt(b,10);case"float":return parseFloat(b);case"boolean":if(b.toLowerCase()=="true")return!0;if(b=="1")return!0;return!1}return b}function e(a){switch(a.toLowerCase()){case"blue":return parseInt("0000FF",16);case"green":return parseInt("00FF00",16);case"red":return parseInt("FF0000",16);case"cyan":return parseInt("00FFFF",16);case"magenta":return parseInt("FF00FF",16);case"yellow":return parseInt("FFFF00",16);case"black":return parseInt("000000",16);case"white":return parseInt("FFFFFF",16);default:return a=a.replace(/(#|0x)?([0-9A-F]{3,6})$/gi,"$2"),a.length==3&&(a=a.charAt(0)+a.charAt(0)+a.charAt(1)+a.charAt(1)+a.charAt(2)+a.charAt(2)),parseInt(a,16)}return parseInt("000000",16)}var b=new RegExp(/^(#|0x)[0-9a-fA-F]{3,6}/);a.utils.typechecker=function(b,e){return e=a.utils.exists(e)?e:c(b),d(b,e)}}(jwplayer),function(a){a.utils.parsers=function(){},a.utils.parsers.localName=function(a){return a?a.localName?a.localName:a.baseName?a.baseName:"":""},a.utils.parsers.textContent=function(a){return a?a.textContent?a.textContent:a.text?a.text:"":""}}(jwplayer),function(a){a.utils.parsers.jwparser=function(){},a.utils.parsers.jwparser.PREFIX="jwplayer",a.utils.parsers.jwparser.parseEntry=function(b,c){for(var d=0;d<b.childNodes.length;d++)b.childNodes[d].prefix==a.utils.parsers.jwparser.PREFIX&&(c[a.utils.parsers.localName(b.childNodes[d])]=a.utils.strings.serialize(a.utils.parsers.textContent(b.childNodes[d]))),!c.file&&String(c.link).toLowerCase().indexOf("youtube")>-1&&(c.file=c.link);return c},a.utils.parsers.jwparser.getProvider=function(b){if(b.type)return b.type;if(b.file.indexOf("youtube.com/w")>-1||b.file.indexOf("youtube.com/v")>-1||b.file.indexOf("youtu.be/")>-1)return"youtube";if(b.streamer&&b.streamer.indexOf("rtmp")==0)return"rtmp";if(b.streamer&&b.streamer.indexOf("http")==0)return"http";var c=a.utils.strings.extension(b.file);return extensions.hasOwnProperty(c)?extensions[c]:""}}(jwplayer),function(a){a.utils.parsers.mediaparser=function(){},a.utils.parsers.mediaparser.PREFIX="media",a.utils.parsers.mediaparser.parseGroup=function(b,c){var d=!1;for(var e=0;e<b.childNodes.length;e++)if(b.childNodes[e].prefix==a.utils.parsers.mediaparser.PREFIX){if(!a.utils.parsers.localName(b.childNodes[e]))continue;switch(a.utils.parsers.localName(b.childNodes[e]).toLowerCase()){case"content":d||(c.file=a.utils.strings.xmlAttribute(b.childNodes[e],"url")),a.utils.strings.xmlAttribute(b.childNodes[e],"duration")&&(c.duration=a.utils.strings.seconds(a.utils.strings.xmlAttribute(b.childNodes[e],"duration"))),a.utils.strings.xmlAttribute(b.childNodes[e],"start")&&(c.start=a.utils.strings.seconds(a.utils.strings.xmlAttribute(b.childNodes[e],"start"))),b.childNodes[e].childNodes&&b.childNodes[e].childNodes.length>0&&(c=a.utils.parsers.mediaparser.parseGroup(b.childNodes[e],c));if(a.utils.strings.xmlAttribute(b.childNodes[e],"width")||a.utils.strings.xmlAttribute(b.childNodes[e],"bitrate")||a.utils.strings.xmlAttribute(b.childNodes[e],"url"))c.levels||(c.levels=[]),c.levels.push({width:a.utils.strings.xmlAttribute(b.childNodes[e],"width"),bitrate:a.utils.strings.xmlAttribute(b.childNodes[e],"bitrate"),file:a.utils.strings.xmlAttribute(b.childNodes[e],"url")});break;case"title":c.title=a.utils.parsers.textContent(b.childNodes[e]);break;case"description":c.description=a.utils.parsers.textContent(b.childNodes[e]);break;case"keywords":c.tags=a.utils.parsers.textContent(b.childNodes[e]);break;case"thumbnail":c.image=a.utils.strings.xmlAttribute(b.childNodes[e],"url");break;case"credit":c.author=a.utils.parsers.textContent(b.childNodes[e]);break;case"player":var f=b.childNodes[e].url;if(f.indexOf("youtube.com")>=0||f.indexOf("youtu.be")>=0)d=!0,c.file=a.utils.strings.xmlAttribute(b.childNodes[e],"url");break;case"group":a.utils.parsers.mediaparser.parseGroup(b.childNodes[e],c)}}return c}}(jwplayer),function(a){function b(b){var c={};for(var d=0;d<b.childNodes.length;d++){if(!a.utils.parsers.localName(b.childNodes[d]))continue;switch(a.utils.parsers.localName(b.childNodes[d]).toLowerCase()){case"enclosure":c.file=a.utils.strings.xmlAttribute(b.childNodes[d],"url");break;case"title":c.title=a.utils.parsers.textContent(b.childNodes[d]);break;case"pubdate":c.date=a.utils.parsers.textContent(b.childNodes[d]);break;case"description":c.description=a.utils.parsers.textContent(b.childNodes[d]);break;case"link":c.link=a.utils.parsers.textContent(b.childNodes[d]);break;case"category":c.tags?c.tags+=a.utils.parsers.textContent(b.childNodes[d]):c.tags=a.utils.parsers.textContent(b.childNodes[d])}}return c=a.utils.parsers.mediaparser.parseGroup(b,c),c=a.utils.parsers.jwparser.parseEntry(b,c),new a.html5.playlistitem(c)}a.utils.parsers.rssparser=function(){},a.utils.parsers.rssparser.parse=function(c){var d=[];for(var e=0;e<c.childNodes.length;e++)if(a.utils.parsers.localName(c.childNodes[e]).toLowerCase()=="channel")for(var f=0;f<c.childNodes[e].childNodes.length;f++)a.utils.parsers.localName(c.childNodes[e].childNodes[f]).toLowerCase()=="item"&&d.push(b(c.childNodes[e].childNodes[f]));return d}}(jwplayer),function(a){var b={},c={};a.plugins=function(){},a.plugins.loadPlugins=function(d,e){return c[d]=new a.plugins.pluginloader(new a.plugins.model(b),e),c[d]},a.plugins.registerPlugin=function(d,e,f){var g=a.utils.getPluginName(d);if(b[g])b[g].registerPlugin(d,e,f);else{a.utils.log("A plugin ("+d+") was registered with the player that was not loaded. Please check your configuration.");for(var h in c)c[h].pluginFailed()}}}(jwplayer),function(a){a.plugins.model=function(b){this.addPlugin=function(c){var d=a.utils.getPluginName(c);return b[d]||(b[d]=new a.plugins.plugin(c)),b[d]}}}(jwplayer),function(a){a.plugins.pluginmodes={FLASH:"FLASH",JAVASCRIPT:"JAVASCRIPT",HYBRID:"HYBRID"},a.plugins.plugin=function(b){function i(){switch(a.utils.getPluginPathType(b)){case a.utils.pluginPathType.ABSOLUTE:return b;case a.utils.pluginPathType.RELATIVE:return a.utils.getAbsolutePath(b,window.location.href);case a.utils.pluginPathType.CDN:var d=a.utils.getPluginName(b),e=a.utils.getPluginVersion(b);return c+"/"+a.version.split(".")[0]+"/"+d+"/"+d+(e!==""?"-"+e:"")+".js"}}function j(b){g=setTimeout(function(){d=a.utils.loaderstatus.COMPLETE,h.sendEvent(a.events.COMPLETE)},1e3)}function k(b){d=a.utils.loaderstatus.ERROR,h.sendEvent(a.events.ERROR)}var c="http://lp.longtailvideo.com",d=a.utils.loaderstatus.NEW,e,f,g,h=new a.events.eventdispatcher;a.utils.extend(this,h),this.load=function(){if(d==a.utils.loaderstatus.NEW){if(b.lastIndexOf(".swf")>0){e=b,d=a.utils.loaderstatus.COMPLETE,h.sendEvent(a.events.COMPLETE);return}d=a.utils.loaderstatus.LOADING;var c=new a.utils.scriptloader(i());c.addEventListener(a.events.COMPLETE,j),c.addEventListener(a.events.ERROR,k),c.load()}},this.registerPlugin=function(b,c,i){g&&(clearTimeout(g),g=undefined),c&&i?(e=i,f=c):typeof c=="string"?e=c:typeof c=="function"?f=c:!c&&!i&&(e=b),d=a.utils.loaderstatus.COMPLETE,h.sendEvent(a.events.COMPLETE)},this.getStatus=function(){return d},this.getPluginName=function(){return a.utils.getPluginName(b)},this.getFlashPath=function(){if(e)switch(a.utils.getPluginPathType(e)){case a.utils.pluginPathType.ABSOLUTE:return e;case a.utils.pluginPathType.RELATIVE:if(b.lastIndexOf(".swf")>0)return a.utils.getAbsolutePath(e,window.location.href);return a.utils.getAbsolutePath(e,i());case a.utils.pluginPathType.CDN:if(e.indexOf("-")>-1)return e+"h";return e+"-h"}return null},this.getJS=function(){return f},this.getPluginmode=function(){if(typeof e!="undefined"&&typeof f!="undefined")return a.plugins.pluginmodes.HYBRID;if(typeof e!="undefined")return a.plugins.pluginmodes.FLASH;if(typeof f!="undefined")return a.plugins.pluginmodes.JAVASCRIPT},this.getNewInstance=function(a,b,c){return new f(a,b,c)},this.getURL=function(){return b}}}(jwplayer),function(a){a.plugins.pluginloader=function(b,c){function i(){g||(g=!0,e=a.utils.loaderstatus.COMPLETE,h.sendEvent(a.events.COMPLETE))}function j(){if(!g){var b=0;for(plugin in d){var c=d[plugin].getStatus();(c==a.utils.loaderstatus.LOADING||c==a.utils.loaderstatus.NEW)&&b++}b==0&&i()}}var d={},e=a.utils.loaderstatus.NEW,f=!1,g=!1,h=new a.events.eventdispatcher;a.utils.extend(this,h),this.setupPlugins=function(a,b,c){var e={length:0,plugins:{}},f={length:0,plugins:{}};for(var g in d){var h=d[g].getPluginName();d[g].getFlashPath()&&(e.plugins[d[g].getFlashPath()]=b.plugins[g],e.plugins[d[g].getFlashPath()].pluginmode=d[g].getPluginmode(),e.length++);if(d[g].getJS()){var i=document.createElement("div");i.id=a.id+"_"+h,i.style.position="absolute",i.style.zIndex=f.length+10,f.plugins[h]=d[g].getNewInstance(a,b.plugins[g],i),f.length++,typeof f.plugins[h].resize!="undefined"&&(a.onReady(c(f.plugins[h],i,!0)),a.onResize(c(f.plugins[h],i)))}}return a.plugins=f.plugins,e},this.load=function(){e=a.utils.loaderstatus.LOADING,f=!0;for(var g in c)a.utils.exists(g)&&(d[g]=b.addPlugin(g),d[g].addEventListener(a.events.COMPLETE,j),d[g].addEventListener(a.events.ERROR,j));for(g in d)d[g].load();f=!1,j()},this.pluginFailed=function(){i()},this.getStatus=function(){return e}}}(jwplayer),function(a){var b=[];a.api=function(b){function m(a,b){return function(c,d,e,f){if(a.renderingMode=="flash"||a.renderingMode=="html5"){var h;d?(l[c]=d,h="jwplayer('"+a.id+"').callback('"+c+"')"):!d&&l[c]&&delete l[c],g.jwDockSetButton(c,h,e,f)}return b}}function n(a){return function(b){var c=b.newstate,e=b.oldstate;if(c==a){var f=d[c];if(f)for(var g=0;g<f.length;g++)typeof f[g]=="function"&&f[g].call(this,{oldstate:e,newstate:c})}}}function o(a,b){return function(c){if(a==c.component){var d=e[a][b];if(d)for(var f=0;f<d.length;f++)typeof d[f]=="function"&&d[f].call(this,c)}}}function p(b,c){var d=a.utils.extend({},c);b==a.api.events.JWPLAYER_FULLSCREEN&&!d.fullscreen?(d.fullscreen=d.message=="true"?!0:!1,delete d.message):typeof d.data=="object"&&(d=a.utils.extend(d,d.data),delete d.data);var e=["position","duration","offset"];for(var f in e)d[e[f]]&&(d[e[f]]=Math.round(d[e[f]]*1e3)/1e3);return d}function q(a,b,c){var d=[];b||(b=0),c||(c=a.length-1);for(var e=b;e<=c;e++)d.push(a[e]);return d}this.container=b,this.id=b.id;var c={},d={},e={},f=[],g=undefined,h=!1,i=[],j=a.utils.getOuterHTML(b),k={},l={};return this.getBuffer=function(){return this.callInternal("jwGetBuffer")},this.getContainer=function(){return this.container},this.getPlugin=function(b){var c=this,d={};return b=="dock"?a.utils.extend(d,{setButton:m(c,d),show:function(){return c.callInternal("jwDockShow"),d},hide:function(){return c.callInternal("jwDockHide"),d},onShow:function(b){return c.componentListener("dock",a.api.events.JWPLAYER_COMPONENT_SHOW,b),d},onHide:function(b){return c.componentListener("dock",a.api.events.JWPLAYER_COMPONENT_HIDE,b),d}}):b=="controlbar"?a.utils.extend(d,{show:function(){return c.callInternal("jwControlbarShow"),d},hide:function(){return c.callInternal("jwControlbarHide"),d},onShow:function(b){return c.componentListener("controlbar",a.api.events.JWPLAYER_COMPONENT_SHOW,b),d},onHide:function(b){return c.componentListener("controlbar",a.api.events.JWPLAYER_COMPONENT_HIDE,b),d}}):b=="display"?a.utils.extend(d,{show:function(){return c.callInternal("jwDisplayShow"),d},hide:function(){return c.callInternal("jwDisplayHide"),d},onShow:function(b){return c.componentListener("display",a.api.events.JWPLAYER_COMPONENT_SHOW,b),d},onHide:function(b){return c.componentListener("display",a.api.events.JWPLAYER_COMPONENT_HIDE,b),d}}):this.plugins[b]},this.callback=function(a){if(l[a])return l[a]()},this.getDuration=function(){return this.callInternal("jwGetDuration")},this.getFullscreen=function(){return this.callInternal("jwGetFullscreen")},this.getHeight=function(){return this.callInternal("jwGetHeight")},this.getLockState=function(){return this.callInternal("jwGetLockState")},this.getMeta=function(){return this.getItemMeta()},this.getMute=function(){return this.callInternal("jwGetMute")},this.getPlaylist=function(){var b=this.callInternal("jwGetPlaylist");this.renderingMode=="flash"&&a.utils.deepReplaceKeyName(b,"__dot__",".");for(var c=0;c<b.length;c++)a.utils.exists(b[c].index)||(b[c].index=c);return b},this.getPlaylistItem=function(b){return a.utils.exists(b)||(b=this.getCurrentItem()),this.getPlaylist()[b]},this.getPosition=function(){return this.callInternal("jwGetPosition")},this.getRenderingMode=function(){return this.renderingMode},this.getState=function(){return this.callInternal("jwGetState")},this.getVolume=function(){return this.callInternal("jwGetVolume")},this.getWidth=function(){return this.callInternal("jwGetWidth")},this.setFullscreen=function(b){return a.utils.exists(b)?this.callInternal("jwSetFullscreen",b):this.callInternal("jwSetFullscreen",!this.callInternal("jwGetFullscreen")),this},this.setMute=function(b){return a.utils.exists(b)?this.callInternal("jwSetMute",b):this.callInternal("jwSetMute",!this.callInternal("jwGetMute")),this},this.lock=function(){return this},this.unlock=function(){return this},this.load=function(a){return this.callInternal("jwLoad",a),this},this.playlistItem=function(a){return this.callInternal("jwPlaylistItem",a),this},this.playlistPrev=function(){return this.callInternal("jwPlaylistPrev"),this},this.playlistNext=function(){return this.callInternal("jwPlaylistNext"),this},this.resize=function(a,b){return this.renderingMode=="html5"?g.jwResize(a,b):(this.container.width=a,this.container.height=b),this},this.play=function(b){return typeof b=="undefined"?(b=this.getState(),b==a.api.events.state.PLAYING||b==a.api.events.state.BUFFERING?this.callInternal("jwPause"):this.callInternal("jwPlay")):this.callInternal("jwPlay",b),this},this.pause=function(b){return typeof b=="undefined"?(b=this.getState(),b==a.api.events.state.PLAYING||b==a.api.events.state.BUFFERING?this.callInternal("jwPause"):this.callInternal("jwPlay")):this.callInternal("jwPause",b),this},this.stop=function(){return this.callInternal("jwStop"),this},this.seek=function(a){return this.callInternal("jwSeek",a),this},this.setVolume=function(a){return this.callInternal("jwSetVolume",a),this},this.onBufferChange=function(b){return this.eventListener(a.api.events.JWPLAYER_MEDIA_BUFFER,b)},this.onBufferFull=function(b){return this.eventListener(a.api.events.JWPLAYER_MEDIA_BUFFER_FULL,b)},this.onError=function(b){return this.eventListener(a.api.events.JWPLAYER_ERROR,b)},this.onFullscreen=function(b){return this.eventListener(a.api.events.JWPLAYER_FULLSCREEN,b)},this.onMeta=function(b){return this.eventListener(a.api.events.JWPLAYER_MEDIA_META,b)},this.onMute=function(b){return this.eventListener(a.api.events.JWPLAYER_MEDIA_MUTE,b)},this.onPlaylist=function(b){return this.eventListener(a.api.events.JWPLAYER_PLAYLIST_LOADED,b)},this.onPlaylistItem=function(b){return this.eventListener(a.api.events.JWPLAYER_PLAYLIST_ITEM,b)},this.onReady=function(b){return this
.eventListener(a.api.events.API_READY,b)},this.onResize=function(b){return this.eventListener(a.api.events.JWPLAYER_RESIZE,b)},this.onComplete=function(b){return this.eventListener(a.api.events.JWPLAYER_MEDIA_COMPLETE,b)},this.onSeek=function(b){return this.eventListener(a.api.events.JWPLAYER_MEDIA_SEEK,b)},this.onTime=function(b){return this.eventListener(a.api.events.JWPLAYER_MEDIA_TIME,b)},this.onVolume=function(b){return this.eventListener(a.api.events.JWPLAYER_MEDIA_VOLUME,b)},this.onBuffer=function(b){return this.stateListener(a.api.events.state.BUFFERING,b)},this.onPause=function(b){return this.stateListener(a.api.events.state.PAUSED,b)},this.onPlay=function(b){return this.stateListener(a.api.events.state.PLAYING,b)},this.onIdle=function(b){return this.stateListener(a.api.events.state.IDLE,b)},this.remove=function(){c={},i=[],a.utils.getOuterHTML(this.container)!=j&&a.api.destroyPlayer(this.id,j)},this.setup=function(b){if(a.embed){var c=this.id;this.remove();var d=a(c);return d.config=b,new a.embed(d)}return this},this.registerPlugin=function(b,c,d){a.plugins.registerPlugin(b,c,d)},this.setPlayer=function(a,b){g=a,this.renderingMode=b},this.stateListener=function(b,c){return d[b]||(d[b]=[],this.eventListener(a.api.events.JWPLAYER_PLAYER_STATE,n(b))),d[b].push(c),this},this.componentListener=function(a,b,c){return e[a]||(e[a]={}),e[a][b]||(e[a][b]=[],this.eventListener(b,o(a,b))),e[a][b].push(c),this},this.addInternalListener=function(a,b){a.jwAddEventListener(b,'function(dat) { jwplayer("'+this.id+'").dispatchEvent("'+b+'", dat); }')},this.eventListener=function(a,b){return c[a]||(c[a]=[],g&&h&&this.addInternalListener(g,a)),c[a].push(b),this},this.dispatchEvent=function(a){if(c[a]){var b=p(a,arguments[1]);for(var d=0;d<c[a].length;d++)typeof c[a][d]=="function"&&c[a][d].call(this,b)}},this.callInternal=function(b,c){if(h)return typeof g!="undefined"&&typeof g[b]=="function"?a.utils.exists(c)?g[b](c):g[b]():null;i.push({method:b,parameters:c})},this.playerReady=function(b){h=!0,g||this.setPlayer(document.getElementById(b.id)),this.container=document.getElementById(this.id);for(var d in c)this.addInternalListener(g,d);this.eventListener(a.api.events.JWPLAYER_PLAYLIST_ITEM,function(a){k={}}),this.eventListener(a.api.events.JWPLAYER_MEDIA_META,function(b){a.utils.extend(k,b.metadata)}),this.dispatchEvent(a.api.events.API_READY);while(i.length>0){var e=i.shift();this.callInternal(e.method,e.parameters)}},this.getItemMeta=function(){return k},this.getCurrentItem=function(){return this.callInternal("jwGetPlaylistIndex")},this},a.api.selectPlayer=function(b){var c;a.utils.exists(b)||(b=0),b.nodeType?c=b:typeof b=="string"&&(c=document.getElementById(b));if(c){var d=a.api.playerById(c.id);return d?d:a.api.addPlayer(new a.api(c))}return typeof b=="number"?a.getPlayers()[b]:null},a.api.events={API_READY:"jwplayerAPIReady",JWPLAYER_READY:"jwplayerReady",JWPLAYER_FULLSCREEN:"jwplayerFullscreen",JWPLAYER_RESIZE:"jwplayerResize",JWPLAYER_ERROR:"jwplayerError",JWPLAYER_COMPONENT_SHOW:"jwplayerComponentShow",JWPLAYER_COMPONENT_HIDE:"jwplayerComponentHide",JWPLAYER_MEDIA_BUFFER:"jwplayerMediaBuffer",JWPLAYER_MEDIA_BUFFER_FULL:"jwplayerMediaBufferFull",JWPLAYER_MEDIA_ERROR:"jwplayerMediaError",JWPLAYER_MEDIA_LOADED:"jwplayerMediaLoaded",JWPLAYER_MEDIA_COMPLETE:"jwplayerMediaComplete",JWPLAYER_MEDIA_SEEK:"jwplayerMediaSeek",JWPLAYER_MEDIA_TIME:"jwplayerMediaTime",JWPLAYER_MEDIA_VOLUME:"jwplayerMediaVolume",JWPLAYER_MEDIA_META:"jwplayerMediaMeta",JWPLAYER_MEDIA_MUTE:"jwplayerMediaMute",JWPLAYER_PLAYER_STATE:"jwplayerPlayerState",JWPLAYER_PLAYLIST_LOADED:"jwplayerPlaylistLoaded",JWPLAYER_PLAYLIST_ITEM:"jwplayerPlaylistItem"},a.api.events.state={BUFFERING:"BUFFERING",IDLE:"IDLE",PAUSED:"PAUSED",PLAYING:"PLAYING"},a.api.playerById=function(a){for(var c=0;c<b.length;c++)if(b[c].id==a)return b[c];return null},a.api.addPlayer=function(a){for(var c=0;c<b.length;c++)if(b[c]==a)return a;return b.push(a),a},a.api.destroyPlayer=function(c,d){var e=-1;for(var f=0;f<b.length;f++)if(b[f].id==c){e=f;continue}if(e>=0){var g=document.getElementById(b[e].id);document.getElementById(b[e].id+"_wrapper")&&(g=document.getElementById(b[e].id+"_wrapper"));if(g)if(d)a.utils.setOuterHTML(g,d);else{var h=document.createElement("div"),i=g.id;g.id.indexOf("_wrapper")==g.id.length-8&&(newID=g.id.substring(0,g.id.length-8)),h.setAttribute("id",i),g.parentNode.replaceChild(h,g)}b.splice(e,1)}return null},a.getPlayers=function(){return b.slice(0)}}(jwplayer);var _userPlayerReady=typeof playerReady=="function"?playerReady:undefined;playerReady=function(a){var b=jwplayer.api.playerById(a.id);b?b.playerReady(a):jwplayer.api.selectPlayer(a.id).playerReady(a),_userPlayerReady&&_userPlayerReady.call(this,a)},function(a){function b(){if(!document.body)return setTimeout(b,15);var c=a.utils.selectors.getElementsByTagAndClass("video","jwplayer");for(var d=0;d<c.length;d++){var e=c[d];a(e.id).setup({})}}a.embed=function(b){function g(a,b){for(var c in b)typeof a[c]=="function"&&a[c].call(a,b[c])}function h(){if(f.getStatus()==a.utils.loaderstatus.COMPLETE){for(var c=0;c<e.modes.length;c++)if(e.modes[c].type&&a.embed[e.modes[c].type]){var d=e;e.modes[c].config&&(d=a.utils.extend(a.utils.clone(e),e.modes[c].config));var h=new a.embed[e.modes[c].type](document.getElementById(b.id),e.modes[c],d,f,b);if(h.supportsConfig())return h.embed(),g(b,e.events),b}a.utils.log("No suitable players found"),new a.embed.logo(a.utils.extend({hide:!0},e.components.logo),"none",b.id)}}var c={width:400,height:300,components:{controlbar:{position:"over"}}},d=a.utils.mediaparser.parseMedia(b.container),e=new a.embed.config(a.utils.extend(c,d,b.config),this),f=a.plugins.loadPlugins(b.id,e.plugins);return f.addEventListener(a.events.COMPLETE,h),f.addEventListener(a.events.ERROR,h),f.load(),b},b()}(jwplayer),function(a){function b(){return[{type:"flash",src:"/jwplayer/player.swf"},{type:"html5"},{type:"download"}]}function d(a){var b=a.toLowerCase(),c=["left","right","top","bottom"];for(var d=0;d<c.length;d++)if(b==c[d])return!0;return!1}function e(a){var b=!1;return b=a instanceof Array||typeof a=="object"&&!a.position&&!a.size,b}function f(a){if(typeof a=="string")if(parseInt(a).toString()==a||a.toLowerCase().indexOf("px")>-1)return parseInt(a);return a}function h(b){var c={};switch(a.utils.typeOf(b.plugins)){case"object":for(var d in b.plugins)c[a.utils.getPluginName(d)]=d;break;case"string":var e=b.plugins.split(",");for(var f=0;f<e.length;f++)c[a.utils.getPluginName(e[f])]=e[f]}return c}function i(b,c,d,e){a.utils.typeOf(b[c])!="object"&&(b[c]={});var f=b[c][d];a.utils.typeOf(f)!="object"&&(b[c][d]=f={});if(e)if(c=="plugins"){var g=a.utils.getPluginName(d);f[e]=b[g+"."+e],delete b[g+"."+e]}else f[e]=b[d+"."+e],delete b[d+"."+e]}var c={players:"modes",autoplay:"autostart"},g=["playlist","dock","controlbar","logo","display"];a.embed.deserialize=function(b){var c=h(b);for(var d in c)i(b,"plugins",c[d]);for(var e in b)if(e.indexOf(".")>-1){var f=e.split("."),j=f[0],e=f[1];a.utils.isInArray(g,j)?i(b,"components",j,e):c[j]&&i(b,"plugins",c[j],e)}return b},a.embed.config=function(d,h){var i=a.utils.extend({},d),k;e(i.playlist)&&(k=i.playlist,delete i.playlist),i=a.embed.deserialize(i),i.height=f(i.height),i.width=f(i.width);if(typeof i.plugins=="string"){var l=i.plugins.split(",");typeof i.plugins!="object"&&(i.plugins={});for(var m=0;m<l.length;m++){var n=a.utils.getPluginName(l[m]);typeof i[n]=="object"?(i.plugins[l[m]]=i[n],delete i[n]):i.plugins[l[m]]={}}}for(var o=0;o<g.length;o++){var p=g[o];a.utils.exists(i[p])&&(typeof i[p]!="object"?(i.components[p]||(i.components[p]={}),p=="logo"?i.components[p].file=i[p]:i.components[p].position=i[p],delete i[p]):(i.components[p]||(i.components[p]={}),a.utils.extend(i.components[p],i[p]),delete i[p])),typeof i[p+"size"]!="undefined"&&(i.components[p]||(i.components[p]={}),i.components[p].size=i[p+"size"],delete i[p+"size"])}typeof i.icons!="undefined"&&(i.components.display||(i.components.display={}),i.components.display.icons=i.icons,delete i.icons);for(var q in c)i[q]&&(i[c[q]]||(i[c[q]]=i[q]),delete i[q]);var r;return i.flashplayer&&!i.modes?(r=b(),r[0].src=i.flashplayer,delete i.flashplayer):i.modes?(typeof i.modes=="string"?(r=b(),r[0].src=i.modes):i.modes instanceof Array?r=i.modes:typeof i.modes=="object"&&i.modes.type&&(r=[i.modes]),delete i.modes):r=b(),i.modes=r,k&&(i.playlist=k),i}}(jwplayer),function(a){a.embed.download=function(b,c,d,e,f){function g(b,c,d){if(d)return!1;var e=["image","sound","youtube","http"];if(c&&e.toString().indexOf(c)>-1)return!0;if(!c||c&&c=="video"){var f=a.utils.extension(b);if(f&&a.utils.extensionmap[f])return!0}return!1}this.embed=function(){function o(a){_imageWidth=e.display_image.naturalWidth,_imageHeight=e.display_image.naturalHeight,p()}function p(){a.utils.stretch(a.utils.stretching.UNIFORM,e.display_image,g,h,_imageWidth,_imageHeight)}var c=a.utils.extend({},d),e={},g=d.width?d.width:480;typeof g!="number"&&(g=parseInt(g,10));var h=d.height?d.height:320;typeof h!="number"&&(h=parseInt(h,10));var i,j,k,l={};d.playlist&&d.playlist.length?(l.file=d.playlist[0].file,j=d.playlist[0].image,l.levels=d.playlist[0].levels):(l.file=d.file,j=d.image,l.levels=d.levels),l.file?i=l.file:l.levels&&l.levels.length&&(i=l.levels[0].file),k=i?"pointer":"auto";var m={display:{style:{cursor:k,width:g,height:h,backgroundColor:"#000",position:"relative",textDecoration:"none",border:"none",display:"block"}},display_icon:{style:{cursor:k,position:"absolute",display:i?"block":"none",top:0,left:0,border:0,margin:0,padding:0,zIndex:3,width:50,height:50,backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALdJREFUeNrs18ENgjAYhmFouDOCcQJGcARHgE10BDcgTOIosAGwQOuPwaQeuFRi2p/3Sb6EC5L3QCxZBgAAAOCorLW1zMn65TrlkH4NcV7QNcUQt7Gn7KIhxA+qNIR81spOGkL8oFJDyLJRdosqKDDkK+iX5+d7huzwM40xptMQMkjIOeRGo+VkEVvIPfTGIpKASfYIfT9iCHkHrBEzf4gcUQ56aEzuGK/mw0rHpy4AAACAf3kJMACBxjAQNRckhwAAAABJRU5ErkJggg==)"}},display_iconBackground:{style:{cursor:k,position:"absolute",display:i?"block":"none",top:(h-50)/2,left:(g-50)/2,border:0,width:50,height:50,margin:0,padding:0,zIndex:2,backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEpJREFUeNrszwENADAIA7DhX8ENoBMZ5KR10EryckCJiIiIiIiIiIiIiIiIiIiIiIh8GmkRERERERERERERERERERERERGRHSPAAPlXH1phYpYaAAAAAElFTkSuQmCC)"}},display_image:{style:{width:g,height:h,display:j?"block":"none",position:"absolute",cursor:k,left:0,top:0,margin:0,padding:0,textDecoration:"none",zIndex:1,border:"none"}}},n=function(c,d,e){var f=document.createElement(c);return e?f.id=e:f.id=b.id+"_jwplayer_"+d,a.utils.css(f,m[d].style),f};e.display=n("a","display",b.id),i&&e.display.setAttribute("href",a.utils.getAbsolutePath(i)),e.display_image=n("img","display_image"),e.display_image.setAttribute("alt","Click to download..."),j&&e.display_image.setAttribute("src",a.utils.getAbsolutePath(j)),e.display_icon=n("div","display_icon"),e.display_iconBackground=n("div","display_iconBackground"),e.display.appendChild(e.display_image),e.display_iconBackground.appendChild(e.display_icon),e.display.appendChild(e.display_iconBackground),_css=a.utils.css,_hide=function(a){_css(a,{display:"none"})},e.display_image.onerror=function(a){_hide(e.display_image)},e.display_image.onload=o,b.parentNode.replaceChild(e.display,b);var q=d.plugins&&d.plugins.logo?d.plugins.logo:{};e.display.appendChild(new a.embed.logo(d.components.logo,"download",b.id)),f.container=document.getElementById(f.id),f.setPlayer(e.display,"download")},this.supportsConfig=function(){if(!d)return!0;var b=a.utils.getFirstPlaylistItemFromConfig(d);if(typeof b.file=="undefined"&&typeof b.levels=="undefined")return!0;if(b.file)return g(b.file,b.provider,b.playlistfile);if(b.levels&&b.levels.length)for(var c=0;c<b.levels.length;c++)if(b.levels[c].file&&g(b.levels[c].file,b.provider,b.playlistfile))return!0}}}(jwplayer),function(a){a.embed.flash=function(b,c,d,e,f){function g(a,b,c){var d=document.createElement("param");d.setAttribute("name",b),d.setAttribute("value",c),a.appendChild(d)}function h(b,c,d){return function(e){d&&document.getElementById(f.id+"_wrapper").appendChild(c);var g=document.getElementById(f.id).getPluginConfig("display");b.resize(g.width,g.height);var h={left:g.x,top:g.y};a.utils.css(c,h)}}function i(a){if(!a)return{};var b={};for(var c in a){var d=a[c];for(var e in d)b[c+"."+e]=d[e]}return b}function j(a,b){if(a[b]){var c=a[b];for(var d in c){var e=c[d];if(typeof e=="string")a[d]||(a[d]=e);else for(var f in e)a[d+"."+f]||(a[d+"."+f]=e[f])}delete a[b]}}function k(b){if(!b)return{};var c={},d=[];for(var e in b){var f=a.utils.getPluginName(e),g=b[e];d.push(e);for(var h in g)c[f+"."+h]=g[h]}return c.plugins=d.join(","),c}function l(b){var c=b.netstreambasepath?"":"netstreambasepath="+encodeURIComponent(window.location.href.split("#")[0])+"&";for(var d in b)typeof b[d]=="object"?c+=d+"="+encodeURIComponent("[[JSON]]"+a.utils.strings.jsonToString(b[d]))+"&":c+=d+"="+encodeURIComponent(b[d])+"&";return c.substring(0,c.length-1)}this.embed=function(){d.id=f.id;var i,n=a.utils.extend({},d),o=n.width,p=n.height;b.id+"_wrapper"==b.parentNode.id?i=document.getElementById(b.id+"_wrapper"):(i=document.createElement("div"),i.id=b.id+"_wrapper",a.utils.wrap(b,i),a.utils.css(i,{position:"relative",width:o,height:p}));var q=e.setupPlugins(f,n,h);q.length>0?a.utils.extend(n,k(q.plugins)):delete n.plugins;var r=["height","width","modes","events"];for(var s=0;s<r.length;s++)delete n[r[s]];var t="opaque";n.wmode&&(t=n.wmode),j(n,"components"),j(n,"providers"),typeof n["dock.position"]!="undefined"&&n["dock.position"].toString().toLowerCase()=="false"&&(n.dock=n["dock.position"],delete n["dock.position"]);var u="#000000",v;if(a.utils.isIE()){var w='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" bgcolor="'+u+'" width="100%" height="100%" id="'+b.id+'" name="'+b.id+'" tabindex=0"">';w+='<param name="movie" value="'+c.src+'">',w+='<param name="allowfullscreen" value="true">',w+='<param name="allowscriptaccess" value="always">',w+='<param name="seamlesstabbing" value="true">',w+='<param name="wmode" value="'+t+'">',w+='<param name="flashvars" value="'+l(n)+'">',w+="</object>",a.utils.setOuterHTML(b,w),v=document.getElementById(b.id)}else{var x=document.createElement("object");x.setAttribute("type","application/x-shockwave-flash"),x.setAttribute("data",c.src),x.setAttribute("width","100%"),x.setAttribute("height","100%"),x.setAttribute("bgcolor","#000000"),x.setAttribute("id",b.id),x.setAttribute("name",b.id),x.setAttribute("tabindex",0),g(x,"allowfullscreen","true"),g(x,"allowscriptaccess","always"),g(x,"seamlesstabbing","true"),g(x,"wmode",t),g(x,"flashvars",l(n)),b.parentNode.replaceChild(x,b),v=x}f.container=v,f.setPlayer(v,"flash")},this.supportsConfig=function(){if(a.utils.hasFlash()){if(!d)return!0;var b=a.utils.getFirstPlaylistItemFromConfig(d);if(typeof b.file=="undefined"&&typeof b.levels=="undefined")return!0;if(b.file)return flashCanPlay(b.file,b.provider);if(b.levels&&b.levels.length)for(var c=0;c<b.levels.length;c++)if(b.levels[c].file&&flashCanPlay(b.levels[c].file,b.provider))return!0}return!1},flashCanPlay=function(b,c){var d=["video","http","sound","image"];if(c&&d.toString().indexOf(c<0))return!0;var e=a.utils.extension(b);return e?a.utils.exists(a.utils.extensionmap[e])&&!a.utils.exists(a.utils.extensionmap[e].flash)?!1:!0:!0}}}(jwplayer),function(a){a.embed.html5=function(b,c,d,e,f){function g(a,c,d){return function(e){var f=document.getElementById(b.id+"_displayarea");d&&f.appendChild(c);var g=f.style;a.resize(parseInt(g.width.replace("px","")),parseInt(g.height.replace("px",""))),c.left=g.left,c.top=g.top}}this.embed=function(){if(!a.html5)return null;e.setupPlugins(f,d,g),b.innerHTML="";var c=a.utils.extend({screencolor:"0x000000"},d),h=["plugins","modes","events"];for(var i=0;i<h.length;i++)delete c[h[i]];c.levels&&!c.sources&&(c.sources=d.levels),c.skin&&c.skin.toLowerCase().indexOf(".zip")>0&&(c.skin=c.skin.replace(/\.zip/i,".xml"));var j=new(a.html5(b).setup)(c);f.container=document.getElementById(f.id),f.setPlayer(j,"html5")},this.supportsConfig=function(){if(!!a.vid.canPlayType){if(!d)return!0;var b=a.utils.getFirstPlaylistItemFromConfig(d);if(typeof b.file=="undefined"&&typeof b.levels=="undefined")return!0;if(b.file)return html5CanPlay(a.vid,b.file,b.provider,b.playlistfile);if(b.levels&&b.levels.length)for(var c=0;c<b.levels.length;c++)if(b.levels[c].file&&html5CanPlay(a.vid,b.levels[c].file,b.provider,b.playlistfile))return!0}return!1},html5CanPlay=function(b,c,d,e){if(e)return!1;if(d&&d=="youtube")return!0;if(d&&d!="video"&&d!="http"&&d!="sound")return!1;var f=a.utils.extension(c);return!a.utils.exists(f)||!a.utils.exists(a.utils.extensionmap[f])?!0:a.utils.exists(a.utils.extensionmap[f].html5)?a.utils.isLegacyAndroid()&&f.match(/m4v|mp4/)?!0:browserCanPlay(b,a.utils.extensionmap[f].html5):!1},browserCanPlay=function(a,b){return b?a.canPlayType(b)?!0:b=="audio/mp3"&&navigator.userAgent.match(/safari/i)?a.canPlayType("audio/mpeg"):!1:!0}}}(jwplayer),function(a){a.embed.logo=function(b,c,d){function h(){i(),k(),l()}function i(){if(e.prefix){var c=a.version.split(/\W/).splice(0,2).join("/");e.prefix.indexOf(c)<0&&(e.prefix+=c+"/")}g=a.utils.extend({},e,b)}function j(){var a={border:"none",textDecoration:"none",position:"absolute",cursor:"pointer",zIndex:10};a.display=g.hide?"none":"block";var b=g.position.toLowerCase().split("-");for(var c in b)a[b[c]]=g.margin;return a}function k(){f=document.createElement("img"),f.id=d+"_jwplayer_logo",f.style.display="none",f.onload=function(a){_css(f,j()),n()};if(!g.file)return;g.file.indexOf("http://")===0?f.src=g.file:f.src=g.prefix+g.file}function l(){g.link?(f.onmouseover=o,f.onmouseout=n,f.onclick=m):this.mouseEnabled=!1}function m(a){typeof a!="undefined"&&(a.preventDefault(),a.stopPropagation()),g.link&&window.open(g.link,"_blank");return}function n(a){g.link&&(f.style.opacity=g.out);return}function o(a){g.hide&&(f.style.opacity=g.over);return}var e={prefix:"http://l.longtailvideo.com/"+c+"/",file:"",link:"",margin:8,out:.5,over:1,timeout:5,hide:!1,position:"bottom-left"};_css=a.utils.css;var f,g;h();if(!g.file)return;return f}}(jwplayer),function(a){a.html5=function(b){var c=b;return this.setup=function(b){return a.utils.extend(this,new a.html5.api(c,b)),this},this}}(jwplayer),function(a){function d(b){return[a.html5.view.positions.TOP,a.html5.view.positions.RIGHT,a.html5.view.positions.BOTTOM,a.html5.view.positions.LEFT].toString().indexOf(b.toUpperCase())>-1}var b=a.utils,c=b.css;a.html5.view=function(e,f,g){function r(){function a(){return h.skin.getComponentSettings("display")&&h.skin.getComponentSettings("display").backgroundcolor?h.skin.getComponentSettings("display").backgroundcolor:parseInt("000000",16)}k=document.createElement("div"),k.id=i.id,k.className=i.className,_videowrapper=document.createElement("div"),_videowrapper.id=k.id+"_video_wrapper",i.id=k.id+"_video",c(k,{position:"relative",height:j.height,width:j.width,padding:0,backgroundColor:a(),zIndex:0}),c(i,{width:j.width,height:j.height,top:0,left:0,zIndex:1,margin:"auto",display:"block"}),c(_videowrapper,{overflow:"hidden",position:"absolute",top:0,left:0,bottom:0,right:0}),b.wrap(i,k),b.wrap(i,_videowrapper),n=document.createElement("div"),n.id=k.id+"_displayarea",k.appendChild(n)}function s(){for(var a=0;a<j.plugins.order.length;a++){var c=j.plugins.order[a];b.exists(j.plugins.object[c].getDisplayElement)&&(j.plugins.object[c].height=b.parseDimension(j.plugins.object[c].getDisplayElement().style.height),j.plugins.object[c].width=b.parseDimension(j.plugins.object[c].getDisplayElement().style.width),j.plugins.config[c].currentPosition=j.plugins.config[c].position)}u()}function t(a){c(n,{display:j.getMedia().hasChrome()?"none":"block"})}function u(a){var c=j.getMedia()?j.getMedia().getDisplayElement():null;if(b.exists(c)){q!=c&&(q&&q.parentNode&&q.parentNode.replaceChild(c,q),q=c);for(var d=0;d<j.plugins.order.length;d++){var e=j.plugins.order[d];b.exists(j.plugins.object[e].getDisplayElement)&&(j.plugins.config[e].currentPosition=j.plugins.config[e].position)}}w(j.width,j.height)}function v(b){switch(b.keyCode){case 27:h.jwGetFullscreen()&&h.jwSetFullscreen(!1);break;case 32:h.jwGetState()!=a.api.events.state.IDLE&&h.jwGetState()!=a.api.events.state.PAUSED?h.jwPause():h.jwPlay()}}function w(a,b){if(k.style.display=="none")return;var d=[].concat(j.plugins.order);d.reverse(),o=d.length+2;if(!j.fullscreen){j.width=a,j.height=b,l=a,m=b,c(n,{top:0,bottom:0,left:0,right:0,width:a,height:b,position:"relative"}),c(k,{height:m,width:l});var e=x(y,d);if(e.length>0){o+=e.length;var f=e.indexOf("playlist"),g=e.indexOf("controlbar");f>=0&&g>=0&&(e[f]=e.splice(g,1,e[f])[0]),x(z,e,!0)}}else(!navigator||!navigator.vendor||navigator.vendor.indexOf("Apple")!=0)&&x(A,d,!0);B()}function x(d,e,f){var g=[];for(var h=0;h<e.length;h++){var i=e[h];if(b.exists(j.plugins.object[i].getDisplayElement))if(j.plugins.config[i].currentPosition!=a.html5.view.positions.NONE){var k=d(i,o--);k?(j.plugins.object[i].resize(k.width,k.height),f&&(delete k.width,delete k.height),c(j.plugins.object[i].getDisplayElement(),k)):g.push(i)}else c(j.plugins.object[i].getDisplayElement(),{display:"none"})}return g}function y(a,c){if(b.exists(j.plugins.object[a].getDisplayElement)&&j.plugins.config[a].position&&d(j.plugins.config[a].position)){b.exists(j.plugins.object[a].getDisplayElement().parentNode)||k.appendChild(j.plugins.object[a].getDisplayElement());var e=C(a);return e.zIndex=c,e}return!1}function z(a,c){b.exists(j.plugins.object[a].getDisplayElement().parentNode)||n.appendChild(j.plugins.object[a].getDisplayElement());var d=j.width,e=j.height;return typeof j.width=="string"&&j.width.lastIndexOf("%")>-1&&(percentage=parseFloat(j.width.substring(0,j.width.lastIndexOf("%")))/100,d=Math.round(window.innerWidth*percentage)),typeof j.height=="string"&&j.height.lastIndexOf("%")>-1&&(percentage=parseFloat(j.height.substring(0,j.height.lastIndexOf("%")))/100,e=Math.round(window.innerHeight*percentage)),{position:"absolute",width:d-b.parseDimension(n.style.left)-b.parseDimension(n.style.right),height:e-b.parseDimension(n.style.top)-b.parseDimension(n.style.bottom),zIndex:c}}function A(a,b){return{position:"fixed",width:j.width,height:j.height,zIndex:b}}function B(){if(!b.exists(j.getMedia()))return;n.style.position="absolute";var a=j.getMedia().getDisplayElement();if(a&&a.tagName.toLowerCase()=="video"){a.style.position="absolute";var c,d;if(n.style.width.toString().lastIndexOf("%")>-1||n.style.width.toString().lastIndexOf("%")>-1){var e=n.getBoundingClientRect();c=Math.abs(e.left)+Math.abs(e.right),d=Math.abs(e.top)+Math.abs(e.bottom)}else c=b.parseDimension(n.style.width),d=b.parseDimension(n.style.height);a.parentNode&&(a.parentNode.style.left=n.style.left,a.parentNode.style.top=n.style.top),b.stretch(h.jwGetStretching(),a,c,d,a.videoWidth?a.videoWidth:400,a.videoHeight?a.videoHeight:300)}else{var f=j.plugins.object.display.getDisplayElement();f?j.getMedia().resize(b.parseDimension(f.style.width),b.parseDimension(f.style.height)):j.getMedia().resize(b.parseDimension(n.style.width),b.parseDimension(n.style.height))}}function C(c){var d={position:"absolute",margin:0,padding:0,top:null},e=j.plugins.config[c].currentPosition.toLowerCase();switch(e.toUpperCase()){case a.html5.view.positions.TOP:d.top=b.parseDimension(n.style.top),d.left=b.parseDimension(n.style.left),d.width=l-b.parseDimension(n.style.left)-b.parseDimension(n.style.right),d.height=j.plugins.object[c].height,n.style[e]=b.parseDimension(n.style[e])+j.plugins.object[c].height+"px",n.style.height=b.parseDimension(n.style.height)-d.height+"px";break;case a.html5.view.positions.RIGHT:d.top=b.parseDimension(n.style.top),d.right=b.parseDimension(n.style.right),d.width=j.plugins.object[c].width,d.height=m-b.parseDimension(n.style.top)-b.parseDimension(n.style.bottom),n.style[e]=b.parseDimension(n.style[e])+j.plugins.object[c].width+"px",n.style.width=b.parseDimension(n.style.width)-d.width+"px";break;case a.html5.view.positions.BOTTOM:d.bottom=b.parseDimension(n.style.bottom),d.left=b.parseDimension(n.style.left),d.width=l-b.parseDimension(n.style.left)-b.parseDimension(n.style.right),d.height=j.plugins.object[c].height,n.style[e]=b.parseDimension(n.style[e])+j.plugins.object[c].height+"px",n.style.height=b.parseDimension(n.style.height)-d.height+"px";break;case a.html5.view.positions.LEFT:d.top=b.parseDimension(n.style.top),d.left=b.parseDimension(n.style.left),d.width=j.plugins.object[c].width,d.height=m-b.parseDimension(n.style.top)-b.parseDimension(n.style.bottom),n.style[e]=b.parseDimension(n.style[e])+j.plugins.object[c].width+"px",n.style.width=b.parseDimension(n.style.width)-d.width+"px";break;default:}return d}var h=e,i=f,j=g,k,l,m,n,o,p,q;this.setup=function(){j&&j.getMedia()&&(i=j.getMedia().getDisplayElement()),r(),s(),h.jwAddEventListener(a.api.events.JWPLAYER_PLAYER_STATE,t),h.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_LOADED,u),h.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_META,function(){B()});var c;b.exists(window.onresize)&&(c=window.onresize),window.onresize=function(a){if(b.exists(c))try{c(a)}catch(d){}if(h.jwGetFullscreen()){var e=document.body.getBoundingClientRect();j.width=Math.abs(e.left)+Math.abs(e.right),j.height=window.innerHeight}w(j.width,j.height)}},this.resize=w,this.fullscreen=function(a){if(navigator&&navigator.vendor&&navigator.vendor.indexOf("Apple")===0){if(j.getMedia().getDisplayElement().webkitSupportsFullscreen)if(a)try{j.getMedia().getDisplayElement().webkitEnterFullscreen()}catch(b){}else try{j.getMedia().getDisplayElement().webkitExitFullscreen()}catch(b){}}else{if(a){document.onkeydown=v,clearInterval(p);var d=document.body.getBoundingClientRect();j.width=Math.abs(d.left)+Math.abs(d.right),j.height=window.innerHeight;var e={position:"fixed",width:"100%",height:"100%",top:0,left:0,zIndex:2147483e3};c(k,e),e.zIndex=1,j.getMedia()&&j.getMedia().getDisplayElement()&&c(j.getMedia().getDisplayElement(),e),e.zIndex=2,c(n,e)}else document.onkeydown="",j.width=l,j.height=m,c(k,{position:"relative",height:j.height,width:j.width,zIndex:0});w(j.width,j.height)}}},a.html5.view.positions={TOP:"TOP",RIGHT:"RIGHT",BOTTOM:"BOTTOM",LEFT:"LEFT",OVER:"OVER",NONE:"NONE"}}(jwplayer),function(a){var b={backgroundcolor:"",margin:10,font:"Arial,sans-serif",fontsize:10,fontcolor:parseInt("000000",16),fontstyle:"normal",fontweight:"bold",buttoncolor:parseInt("ffffff",16),position:a.html5.view.positions.BOTTOM,idlehide:!1,layout:{left:{position:"left",elements:[{name:"play",type:"button"},{name:"divider",type:"divider"},{name:"prev",type:"button"},{name:"divider",type:"divider"},{name:"next",type:"button"},{name:"divider",type:"divider"},{name:"elapsed",type:"text"}]},center:{position:"center",elements:[{name:"time",type:"slider"}]},right:{position:"right",elements:[{name:"duration",type:"text"},{name:"blank",type:"button"},{name:"divider",type:"divider"},{name:"mute",type:"button"},{name:"volume",type:"slider"},{name:"divider",type:"divider"},{name:"fullscreen",type:"button"}]}}};_utils=a.utils,_css=_utils.css,_hide=function(a){_css(a,{display:"none"})},_show=function(a){_css(a,{display:"block"})},a.html5.controlbar=function(c,d){function B(){return u||(u=e.skin.getSkinElement("controlbar","background"),u||(u={width:0,height:0,src:null})),u}function C(){i=0,j=0,h=0;if(!s){var a={height:B().height,backgroundColor:f.backgroundcolor};g=document.createElement("div"),g.id=e.id+"_jwplayer_controlbar",_css(g,a)}var b=e.skin.getSkinElement("controlbar","capLeft"),c=e.skin.getSkinElement("controlbar","capRight");b&&Q("capLeft","left",!1,g);var d={position:"absolute",height:B().height,left:b?b.width:0,zIndex:0};L("background",g,d,"img"),B().src&&(r.background.src=B().src),d.zIndex=1,L("elements",g,d),c&&Q("capRight","right",!1,g)}function D(){var a=["timeSlider","volumeSlider","timeSliderRail","volumeSliderRail"];for(var b in a){var c=a[b];typeof r[c]!="undefined"&&(t[c]=r[c].getBoundingClientRect())}}function E(b){if(v)return;if(f.position==a.html5.view.positions.OVER||e.jwGetFullscreen()){clearTimeout(w);switch(e.jwGetState()){case a.api.events.state.PAUSED:case a.api.events.state.IDLE:(!f.idlehide||_utils.exists(b))&&G(),f.idlehide&&(w=setTimeout(function(){F()},2e3));break;default:b&&G(),w=setTimeout(function(){F()},2e3)}}}function F(a){J(),_utils.cancelAnimation(g),_utils.fadeTo(g,0,.1,1,0)}function G(){I(),_utils.cancelAnimation(g),_utils.fadeTo(g,1,0,1,0)}function H(a){return function(){y&&x!=a&&(x=a,A.sendEvent(a,{component:"controlbar",boundingRect:K()}))}}function K(){return f.position==a.html5.view.positions.OVER||e.jwGetFullscreen()?_utils.getDimensions(g):{x:0,y:0,width:0,height:0}}function L(a,b,c,d){var e;return s?e=document.getElementById(g.id+"_"+a):(d||(d="div"),e=document.createElement(d),r[a]=e,e.id=g.id+"_"+a,b.appendChild(e)),_utils.exists(c)&&_css(e,c),e}function M(){N(f.layout.left),N(f.layout.right,-1),N(f.layout.center)}function N(a,b){var c=a.position=="right"?"right":"left",d=_utils.extend([],a.elements);_utils.exists(b)&&d.reverse();for(var e=0;e<d.length;e++)P(d[e],c)}function O(){return h++}function P(a,b){var c,d,f,g,h;if(a.type=="divider"){Q("divider"+O(),b,!0,undefined,undefined,a.width,a.element);return}switch(a.name){case"play":Q("playButton",b,!1),Q("pauseButton",b,!0),V("playButton","jwPlay"),V("pauseButton","jwPause");break;case"prev":Q("prevButton",b,!0),V("prevButton","jwPlaylistPrev");break;case"stop":Q("stopButton",b,!0),V("stopButton","jwStop");break;case"next":Q("nextButton",b,!0),V("nextButton","jwPlaylistNext");break;case"elapsed":Q("elapsedText",b,!0);break;case"time":d=_utils.exists(e.skin.getSkinElement("controlbar","timeSliderCapLeft"))?e.skin.getSkinElement("controlbar","timeSliderCapLeft").width:0,f=_utils.exists(e.skin.getSkinElement("controlbar","timeSliderCapRight"))?e.skin.getSkinElement("controlbar","timeSliderCapRight").width:0,c=b=="left"?d:f,g=e.skin.getSkinElement("controlbar","timeSliderRail").width+d+f,h={height:B().height,position:"absolute",top:0,width:g},h[b]=b=="left"?i:j;var k=L("timeSlider",r.elements,h);Q("timeSliderCapLeft",b,!0,k,b=="left"?0:c),Q("timeSliderRail",b,!1,k,c),Q("timeSliderBuffer",b,!1,k,c),Q("timeSliderProgress",b,!1,k,c),Q("timeSliderThumb",b,!1,k,c),Q("timeSliderCapRight",b,!0,k,b=="right"?0:c),W("time");break;case"fullscreen":Q("fullscreenButton",b,!1),Q("normalscreenButton",b,!0),V("fullscreenButton","jwSetFullscreen",!0),V("normalscreenButton","jwSetFullscreen",!1);break;case"volume":d=_utils.exists(e.skin.getSkinElement("controlbar","volumeSliderCapLeft"))?e.skin.getSkinElement("controlbar","volumeSliderCapLeft").width:0,f=_utils.exists(e.skin.getSkinElement("controlbar","volumeSliderCapRight"))?e.skin.getSkinElement("controlbar","volumeSliderCapRight").width:0,c=b=="left"?d:f,g=e.skin.getSkinElement("controlbar","volumeSliderRail").width+d+f,h={height:B().height,position:"absolute",top:0,width:g},h[b]=b=="left"?i:j;var l=L("volumeSlider",r.elements,h);Q("volumeSliderCapLeft",b,!0,l,b=="left"?0:c),Q("volumeSliderRail",b,!0,l,c),Q("volumeSliderProgress",b,!1,l,c),Q("volumeSliderCapRight",b,!0,l,b=="right"?0:c),W("volume");break;case"mute":Q("muteButton",b,!1),Q("unmuteButton",b,!0),V("muteButton","jwSetMute",!0),V("unmuteButton","jwSetMute",!1);break;case"duration":Q("durationText",b,!0)}}function Q(a,b,c,d,g,h,k){if(_utils.exists(e.skin.getSkinElement("controlbar",a))||a.indexOf("Text")>0||a.indexOf("divider")===0){var l={height:B().height,position:"absolute",display:"block",top:0};(a.indexOf("next")===0||a.indexOf("prev")===0)&&e.jwGetPlaylist().length<2&&(c=!1,l.display="none");var m;if(a.indexOf("Text")>0)a.innerhtml="00:00",l.font=f.fontsize+"px/"+(B().height+1)+"px "+f.font,l.color=f.fontcolor,l.textAlign="center",l.fontWeight=f.fontweight,l.fontStyle=f.fontstyle,l.cursor="default",m=14+3*f.fontsize;else if(a.indexOf("divider")===0)if(h)isNaN(parseInt(h))||(m=parseInt(h));else if(k){var n=e.skin.getSkinElement("controlbar",k);n&&(l.background="url("+n.src+") repeat-x center left",m=n.width)}else l.background="url("+e.skin.getSkinElement("controlbar","divider").src+") repeat-x center left",m=e.skin.getSkinElement("controlbar","divider").width;else l.background="url("+e.skin.getSkinElement("controlbar",a).src+") repeat-x center left",m=e.skin.getSkinElement("controlbar",a).width;b=="left"?(l.left=isNaN(g)?i:g,c&&(i+=m)):b=="right"&&(l.right=isNaN(g)?j:g,c&&(j+=m)),_utils.typeOf(d)=="undefined"&&(d=r.elements),l.width=m;if(s)_css(r[a],l);else{var o=L(a,d,l);_utils.exists(e.skin.getSkinElement("controlbar"
,a+"Over"))&&(o.onmouseover=function(b){o.style.backgroundImage=["url(",e.skin.getSkinElement("controlbar",a+"Over").src,")"].join("")},o.onmouseout=function(b){o.style.backgroundImage=["url(",e.skin.getSkinElement("controlbar",a).src,")"].join("")})}}}function R(){e.jwAddEventListener(a.api.events.JWPLAYER_PLAYLIST_LOADED,S),e.jwAddEventListener(a.api.events.JWPLAYER_PLAYLIST_ITEM,T),e.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_BUFFER,Y),e.jwAddEventListener(a.api.events.JWPLAYER_PLAYER_STATE,$),e.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_TIME,ba),e.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_MUTE,Z),e.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_VOLUME,bd),e.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_COMPLETE,_)}function S(){C(),M(),bc(),U()}function T(a){n=e.jwGetPlaylist()[a.index].duration,ba({id:e.id,duration:n,position:0}),Y({id:e.id,bufferProgress:0})}function U(){ba({id:e.id,duration:e.jwGetDuration(),position:0}),Y({id:e.id,bufferProgress:0}),Z({id:e.id,mute:e.jwGetMute()}),$({id:e.id,newstate:a.api.events.state.IDLE}),bd({id:e.id,volume:e.jwGetVolume()})}function V(a,b,c){if(s)return;if(_utils.exists(e.skin.getSkinElement("controlbar",a))){var d=r[a];_utils.exists(d)&&(_css(d,{cursor:"pointer"}),b=="fullscreen"?d.onmouseup=function(a){a.stopPropagation(),e.jwSetFullscreen(!e.jwGetFullscreen())}:d.onmouseup=function(a){a.stopPropagation(),_utils.exists(c)?e[b](c):e[b]()})}}function W(a){if(s)return;var b=r[a+"Slider"];_css(r.elements,{cursor:"pointer"}),_css(b,{cursor:"pointer"}),b.onmousedown=function(b){k=a},b.onmouseup=function(a){a.stopPropagation(),X(a.pageX)},b.onmousemove=function(b){if(k=="time"){l=!0;var c=b.pageX-t[a+"Slider"].left-window.pageXOffset;_css(r.timeSliderThumb,{left:c})}}}function X(b){l=!1;var c;if(k=="time"){c=b-t.timeSliderRail.left+window.pageXOffset;var d=c/t.timeSliderRail.width*n;d<0?d=0:d>n&&(d=n-3),(e.jwGetState()==a.api.events.state.PAUSED||e.jwGetState()==a.api.events.state.IDLE)&&e.jwPlay(),e.jwSeek(d)}else if(k=="volume"){c=b-t.volumeSliderRail.left-window.pageXOffset;var f=Math.round(c/t.volumeSliderRail.width*100);f<0?f=0:f>100&&(f=100),e.jwGetMute()&&e.jwSetMute(!1),e.jwSetVolume(f)}k="none"}function Y(a){_utils.exists(a.bufferPercent)&&(o=a.bufferPercent);if(t.timeSliderRail){var b=t.timeSliderRail.width,c=isNaN(Math.round(b*o/100))?0:Math.round(b*o/100);_css(r.timeSliderBuffer,{width:c})}}function Z(a){a.mute?(_hide(r.muteButton),_show(r.unmuteButton),_hide(r.volumeSliderProgress)):(_show(r.muteButton),_hide(r.unmuteButton),_show(r.volumeSliderProgress))}function $(b){b.newstate==a.api.events.state.BUFFERING||b.newstate==a.api.events.state.PLAYING?(_show(r.pauseButton),_hide(r.playButton)):(_hide(r.pauseButton),_show(r.playButton)),E(),b.newstate==a.api.events.state.IDLE?(_hide(r.timeSliderBuffer),_hide(r.timeSliderProgress),_hide(r.timeSliderThumb),ba({id:e.id,duration:e.jwGetDuration(),position:0})):(_show(r.timeSliderBuffer),b.newstate!=a.api.events.state.BUFFERING&&(_show(r.timeSliderProgress),_show(r.timeSliderThumb)))}function _(a){Y({bufferPercent:0}),ba(_utils.extend(a,{position:0,duration:n}))}function ba(a){_utils.exists(a.position)&&(m=a.position),_utils.exists(a.duration)&&(n=a.duration);var b=m===n===0?0:m/n,c=t.timeSliderRail;if(c){var d=isNaN(Math.round(c.width*b))?0:Math.round(c.width*b),e=d;r.timeSliderProgress&&(r.timeSliderProgress.style.width=d+"px",l||r.timeSliderThumb&&(r.timeSliderThumb.style.left=e+"px"))}r.durationText&&(r.durationText.innerHTML=_utils.timeFormat(n)),r.elapsedText&&(r.elapsedText.innerHTML=_utils.timeFormat(m))}function bb(){var a,b,c=document.getElementById(g.id+"_elements");if(!c)return;var d=c.childNodes;for(var e in c.childNodes){if(isNaN(parseInt(e,10)))continue;d[e].id.indexOf(g.id+"_divider")===0&&b&&b.id.indexOf(g.id+"_divider")===0&&d[e].style.backgroundImage==b.style.backgroundImage?d[e].style.display="none":d[e].id.indexOf(g.id+"_divider")===0&&a&&a.style.display!="none"&&(d[e].style.display="block"),d[e].style.display!="none"&&(b=d[e]),a=d[e]}}function bc(){bb(),e.jwGetFullscreen()?(_show(r.normalscreenButton),_hide(r.fullscreenButton)):(_hide(r.normalscreenButton),_show(r.fullscreenButton));var b={width:p},c={};if(f.position==a.html5.view.positions.OVER||e.jwGetFullscreen())b.left=f.margin,b.width-=2*f.margin,b.top=q-B().height-f.margin,b.height=B().height;var d=e.skin.getSkinElement("controlbar","capLeft"),h=e.skin.getSkinElement("controlbar","capRight");c.left=d?d.width:0,c.width=b.width-c.left-(h?h.width:0);var k=_utils.exists(e.skin.getSkinElement("controlbar","timeSliderCapLeft"))?e.skin.getSkinElement("controlbar","timeSliderCapLeft").width:0;return _css(r.timeSliderRail,{width:c.width-i-j,left:k}),_utils.exists(r.timeSliderCapRight)&&_css(r.timeSliderCapRight,{left:k+(c.width-i-j)}),_css(g,b),_css(r.elements,c),_css(r.background,c),D(),b}function bd(a){if(_utils.exists(r.volumeSliderRail)){var b=isNaN(a.volume/100)?1:a.volume/100,c=_utils.parseDimension(r.volumeSliderRail.style.width),d=isNaN(Math.round(c*b))?0:Math.round(c*b),f=_utils.parseDimension(r.volumeSliderRail.style.right),g=_utils.exists(e.skin.getSkinElement("controlbar","volumeSliderCapLeft"))?e.skin.getSkinElement("controlbar","volumeSliderCapLeft").width:0;_css(r.volumeSliderProgress,{width:d,left:g}),_utils.exists(r.volumeSliderCapLeft)&&_css(r.volumeSliderCapLeft,{left:0})}}function be(){C(),M(),D(),s=!0,R(),f.idlehide=f.idlehide.toString().toLowerCase()=="true",f.position==a.html5.view.positions.OVER&&f.idlehide?(g.style.opacity=0,y=!0):setTimeout(function(){y=!0,I()},1),U()}var e=c,f=_utils.extend({},b,e.skin.getComponentSettings("controlbar"),d);if(f.position==a.html5.view.positions.NONE||typeof a.html5.view.positions[f.position]=="undefined")return;_utils.mapLength(e.skin.getComponentLayout("controlbar"))>0&&(f.layout=e.skin.getComponentLayout("controlbar"));var g,h,i,j,k="none",l,m,n,o,p,q,r={},s=!1,t={},u,v=!1,w,x,y=!1,z=!1,A=new a.html5.eventdispatcher;_utils.extend(this,A),this.getDisplayElement=function(){return g},this.resize=function(a,b){_utils.cancelAnimation(g),document.getElementById(e.id).onmousemove=E,p=a,q=b,z!=e.jwGetFullscreen()&&(z=e.jwGetFullscreen(),x=undefined);var c=bc();return E(),ba({id:e.id,duration:n,position:m}),Y({id:e.id,bufferPercent:o}),c},this.show=function(){v&&(v=!1,_show(g),I())},this.hide=function(){v||(v=!0,_hide(g),J())};var I=H(a.api.events.JWPLAYER_COMPONENT_SHOW),J=H(a.api.events.JWPLAYER_COMPONENT_HIDE);return be(),this}}(jwplayer),function(a){var b=["width","height","state","playlist","item","position","buffer","duration","volume","mute","fullscreen"],c=a.utils;a.html5.controller=function(b,d,e,f){function r(a){q?o.sendEvent(a.type,a):p.push(a)}function s(b){if(!q){o.sendEvent(a.api.events.JWPLAYER_READY,b),a.utils.exists(window.playerReady)&&playerReady(b),a.utils.exists(window[e.config.playerReady])&&window[e.config.playerReady](b);while(p.length>0){var c=p.shift();o.sendEvent(c.type,c)}e.config.autostart&&!a.utils.isIOS()&&A(h.item);while(I.length>0){var d=I.shift();K(d.method,d.arguments)}q=!0}}function t(){try{return B(h.item),h.playlist[h.item].levels[0].file.length>0&&(l||h.state==a.api.events.state.IDLE?(h.getMedia().load(h.playlist[h.item]),l=!1):h.state==a.api.events.state.PAUSED&&h.getMedia().play()),!0}catch(b){o.sendEvent(a.api.events.JWPLAYER_ERROR,b)}return!1}function u(){try{if(h.playlist[h.item].levels[0].file.length>0)switch(h.state){case a.api.events.state.PLAYING:case a.api.events.state.BUFFERING:h.getMedia().pause()}return!0}catch(b){o.sendEvent(a.api.events.JWPLAYER_ERROR,b)}return!1}function v(b){try{if(h.playlist[h.item].levels[0].file.length>0){typeof b!="number"&&(b=parseFloat(b));switch(h.state){case a.api.events.state.IDLE:m<0&&(m=h.playlist[h.item].start,h.playlist[h.item].start=b),t();break;case a.api.events.state.PLAYING:case a.api.events.state.PAUSED:case a.api.events.state.BUFFERING:h.seek(b)}}return!0}catch(c){o.sendEvent(a.api.events.JWPLAYER_ERROR,c)}return!1}function w(b){c.exists(b)||(b=!0);try{return h.getMedia().stop(b),!0}catch(d){o.sendEvent(a.api.events.JWPLAYER_ERROR,d)}return!1}function x(){try{h.playlist[h.item].levels[0].file.length>0&&(h.config.shuffle?B(z()):h.item+1==h.playlist.length?B(0):B(h.item+1));if(h.state!=a.api.events.state.IDLE){var b=h.state;h.state=a.api.events.state.IDLE,o.sendEvent(a.api.events.JWPLAYER_PLAYER_STATE,{oldstate:b,newstate:a.api.events.state.IDLE})}return t(),!0}catch(c){o.sendEvent(a.api.events.JWPLAYER_ERROR,c)}return!1}function y(){try{h.playlist[h.item].levels[0].file.length>0&&(h.config.shuffle?B(z()):h.item===0?B(h.playlist.length-1):B(h.item-1));if(h.state!=a.api.events.state.IDLE){var b=h.state;h.state=a.api.events.state.IDLE,o.sendEvent(a.api.events.JWPLAYER_PLAYER_STATE,{oldstate:b,newstate:a.api.events.state.IDLE})}return t(),!0}catch(c){o.sendEvent(a.api.events.JWPLAYER_ERROR,c)}return!1}function z(){var a=null;if(h.playlist.length>1)while(!c.exists(a))a=Math.floor(Math.random()*h.playlist.length),a==h.item&&(a=null);else a=0;return a}function A(b){if(!h.playlist||!h.playlist[b])return!1;try{if(h.playlist[b].levels[0].file.length>0){var c=h.state;c!==a.api.events.state.IDLE&&(h.playlist[h.item].provider==h.playlist[b].provider?w(!1):w()),B(b),t()}return!0}catch(d){o.sendEvent(a.api.events.JWPLAYER_ERROR,d)}return!1}function B(b){if(!h.playlist[b])return;h.setActiveMediaProvider(h.playlist[b]),h.item!=b&&(h.item=b,l=!0,o.sendEvent(a.api.events.JWPLAYER_PLAYLIST_ITEM,{index:b}))}function C(b){try{B(h.item);var c=h.getMedia();switch(typeof b){case"number":c.volume(b);break;case"string":c.volume(parseInt(b,10))}return!0}catch(d){o.sendEvent(a.api.events.JWPLAYER_ERROR,d)}return!1}function D(b){try{B(h.item);var c=h.getMedia();return typeof b=="undefined"?c.mute(!h.mute):b.toString().toLowerCase()=="true"?c.mute(!0):c.mute(!1),!0}catch(d){o.sendEvent(a.api.events.JWPLAYER_ERROR,d)}return!1}function E(b,c){try{return h.width=b,h.height=c,j.resize(b,c),o.sendEvent(a.api.events.JWPLAYER_RESIZE,{width:h.width,height:h.height}),!0}catch(d){o.sendEvent(a.api.events.JWPLAYER_ERROR,d)}return!1}function F(b){try{return typeof b=="undefined"?(h.fullscreen=!h.fullscreen,j.fullscreen(!h.fullscreen)):b.toString().toLowerCase()=="true"?(h.fullscreen=!0,j.fullscreen(!0)):(h.fullscreen=!1,j.fullscreen(!1)),o.sendEvent(a.api.events.JWPLAYER_RESIZE,{width:h.width,height:h.height}),o.sendEvent(a.api.events.JWPLAYER_FULLSCREEN,{fullscreen:b}),!0}catch(c){o.sendEvent(a.api.events.JWPLAYER_ERROR,c)}return!1}function G(b){try{return w(),h.loadPlaylist(b),B(h.item),!0}catch(c){o.sendEvent(a.api.events.JWPLAYER_ERROR,c)}return!1}function H(){switch(h.config.repeat.toUpperCase()){case a.html5.controller.repeatoptions.SINGLE:t();break;case a.html5.controller.repeatoptions.ALWAYS:h.item==h.playlist.length-1&&!h.config.shuffle?A(0):x();break;case a.html5.controller.repeatoptions.LIST:h.item==h.playlist.length-1&&!h.config.shuffle?(w(),B(0)):x();break;default:w()}}function J(a){return function(){q?K(a,arguments):I.push({method:a,arguments:arguments})}}function K(a,b){var c=[];for(i=0;i<b.length;i++)c.push(b[i]);a.apply(this,c)}var g=b,h=e,j=f,k=d,l=!0,m=-1,n=c.exists(h.config.debug)&&h.config.debug.toString().toLowerCase()=="console",o=new a.html5.eventdispatcher(k.id,n);c.extend(this,o);var p=[],q=!1;h.addGlobalListener(r),h.addEventListener(a.api.events.JWPLAYER_MEDIA_BUFFER_FULL,function(){h.getMedia().play()}),h.addEventListener(a.api.events.JWPLAYER_MEDIA_TIME,function(a){a.position>=h.playlist[h.item].start&&m>=0&&(h.playlist[h.item].start=m,m=-1)}),h.addEventListener(a.api.events.JWPLAYER_MEDIA_COMPLETE,function(a){setTimeout(H,25)}),a.html5.controller.repeatoptions={LIST:"LIST",ALWAYS:"ALWAYS",SINGLE:"SINGLE",NONE:"NONE"};var I=[];this.play=J(t),this.pause=J(u),this.seek=J(v),this.stop=J(w),this.next=J(x),this.prev=J(y),this.item=J(A),this.setVolume=J(C),this.setMute=J(D),this.resize=J(E),this.setFullscreen=J(F),this.load=J(G),this.playerReady=s}}(jwplayer),function(a){a.html5.defaultSkin=function(){return this.text='<?xml version="1.0" ?><skin author="LongTail Video" name="Five" version="1.0"><settings><setting name="backcolor" value="0xFFFFFF"/><setting name="frontcolor" value="0x000000"/><setting name="lightcolor" value="0x000000"/><setting name="screencolor" value="0x000000"/></settings><components><component name="controlbar"><settings><setting name="margin" value="20"/><setting name="fontsize" value="11"/></settings><elements><element name="background" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAIAAABvFaqvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFJJREFUeNrslLENwAAIwxLU/09j5AiOgD5hVQzNAVY8JK4qEfHMIKBnd2+BQlBINaiRtL/aV2rdzYBsM6CIONbI1NZENTr3RwdB2PlnJgJ6BRgA4hwu5Qg5iswAAAAASUVORK5CYII="/><element name="capLeft" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD5JREFUeNosi8ENACAMAgnuv14H0Z8asI19XEjhOiKCMmibVgJTUt7V6fe9KXOtSQCfctJHu2q3/ot79hNgANc2OTz9uTCCAAAAAElFTkSuQmCC"/><element name="capRight" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD5JREFUeNosi8ENACAMAgnuv14H0Z8asI19XEjhOiKCMmibVgJTUt7V6fe9KXOtSQCfctJHu2q3/ot79hNgANc2OTz9uTCCAAAAAElFTkSuQmCC"/><element name="divider" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD5JREFUeNosi8ENACAMAgnuv14H0Z8asI19XEjhOiKCMmibVgJTUt7V6fe9KXOtSQCfctJHu2q3/ot79hNgANc2OTz9uTCCAAAAAElFTkSuQmCC"/><element name="playButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEhJREFUeNpiYqABYBo1dNRQ+hr6H4jvA3E8NS39j4SpZvh/LJig4YxEGEqy3kET+w+AOGFQRhTJhrEQkGcczfujhg4CQwECDADpTRWU/B3wHQAAAABJRU5ErkJggg=="/><element name="pauseButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAChJREFUeNpiYBgFo2DwA0YC8v/R1P4nRu+ooaOGUtnQUTAKhgIACDAAFCwQCfAJ4gwAAAAASUVORK5CYII="/><element name="prevButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEtJREFUeNpiYBgFo2Dog/9QDAPyQHweTYwiQ/2B+D0Wi8g2tB+JTdBQRiIMJVkvEy0iglhDF9Aq9uOpHVEwoE+NJDUKRsFgAAABBgDe2hqZcNNL0AAAAABJRU5ErkJggg=="/><element name="nextButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAElJREFUeNpiYBgFo2Dog/9AfB6I5dHE/lNqKAi/B2J/ahsKw/3EGMpIhKEk66WJoaR6fz61IyqemhEFSlL61ExSo2AUDAYAEGAAiG4hj+5t7M8AAAAASUVORK5CYII="/><element name="timeSliderRail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADxJREFUeNpiYBgFo2AU0Bwwzluw+D8tLWARFhKiqQ9YuLg4aWsBGxs7bS1gZ6e5BWyjSX0UjIKhDgACDABlYQOGh5pYywAAAABJRU5ErkJggg=="/><element name="timeSliderBuffer" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD1JREFUeNpiYBgFo2AU0Bww1jc0/aelBSz8/Pw09QELOzs7bS1gY2OjrQWsrKy09gHraFIfBaNgqAOAAAMAvy0DChXHsZMAAAAASUVORK5CYII="/><element name="timeSliderProgress" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAClJREFUeNpiYBgFo2AU0BwwAvF/WlrARGsfjFow8BaMglEwCugAAAIMAOHfAQunR+XzAAAAAElFTkSuQmCC"/><element name="timeSliderThumb" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAICAYAAAA870V8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUeNpiZICA/yCCiQEJUJcDEGAAY0gBD1/m7Q0AAAAASUVORK5CYII="/><element name="muteButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAYCAYAAADKx8xXAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpiYBgFIw3MB+L/5Gj8j6yRiRTFyICJXHfTXyMLAXlGati4YDRFDj8AEGAABk8GSqqS4CoAAAAASUVORK5CYII="/><element name="unmuteButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAYCAYAAADKx8xXAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD1JREFUeNpiYBgFgxz8p7bm+cQa+h8LHy7GhEcjIz4bmAjYykiun/8j0fakGPIfTfPgiSr6aB4FVAcAAQYAWdwR1G1Wd2gAAAAASUVORK5CYII="/><element name="volumeSliderRail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAYCAYAAADkgu3FAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGpJREFUeNpi/P//PwM9ABMDncCoRYPfIqqDZcuW1UPp/6AUDcNM1DQYKtRAlaAj1mCSLSLXYIIWUctgDItoZfDA5aOoqKhGEANIM9LVR7SymGDQUctikuOIXkFNdhHEOFrDjlpEd4sAAgwAriRMub95fu8AAAAASUVORK5CYII="/><element name="volumeSliderProgress" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAYCAYAAADkgu3FAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFtJREFUeNpi/P//PwM9ABMDncCoRYPfIlqAeij9H5SiYZiqBqPTlFqE02BKLSLaYFItIttgQhZRzWB8FjENiuRJ7aAbsMQwYMl7wDIsWUUQ42gNO2oR3S0CCDAAKhKq6MLLn8oAAAAASUVORK5CYII="/><element name="fullscreenButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE5JREFUeNpiYBgFo2DQA0YC8v/xqP1PjDlMRDrEgUgxkgHIlfZoriVGjmzLsLFHAW2D6D8eA/9Tw7L/BAwgJE90PvhPpNgoGAVDEQAEGAAMdhTyXcPKcAAAAABJRU5ErkJggg=="/><element name="normalscreenButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEZJREFUeNpiYBgFo2DIg/9UUkOUAf8JiFFsyX88fJyAkcQgYMQjNkzBoAgiezyRbE+tFGSPxQJ7auYBmma0UTAKBhgABBgAJAEY6zON61sAAAAASUVORK5CYII="/></elements></component><component name="display"><elements><element name="background" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEpJREFUeNrszwENADAIA7DhX8ENoBMZ5KR10EryckCJiIiIiIiIiIiIiIiIiIiIiIh8GmkRERERERERERERERERERERERGRHSPAAPlXH1phYpYaAAAAAElFTkSuQmCC"/><element name="playIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALdJREFUeNrs18ENgjAYhmFouDOCcQJGcARHgE10BDcgTOIosAGwQOuPwaQeuFRi2p/3Sb6EC5L3QCxZBgAAAOCorLW1zMn65TrlkH4NcV7QNcUQt7Gn7KIhxA+qNIR81spOGkL8oFJDyLJRdosqKDDkK+iX5+d7huzwM40xptMQMkjIOeRGo+VkEVvIPfTGIpKASfYIfT9iCHkHrBEzf4gcUQ56aEzuGK/mw0rHpy4AAACAf3kJMACBxjAQNRckhwAAAABJRU5ErkJggg=="/><element name="muteIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNrs1jEOgCAMBVAg7t5/8qaoIy4uoobyXsLCxA+0NCUAAADGUWvdQoQ41x4ixNBB2hBvBskdD3w5ZCkl3+33VqI0kjBBlh9rp+uTcyOP33TnolfsU85XX3yIRpQph8ZQY3wTZtU5AACASA4BBgDHoVuY1/fvOQAAAABJRU5ErkJggg=="/><element name="errorIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWlJREFUeNrsl+1twjAQhsHq/7BBYQLYIBmBDcoGMAIjtBPQTcII2SDtBDBBwrU6pGsUO7YbO470PtKJkz9iH++d4ywWAAAAAABgljRNsyWr2bZzDuJG1rLdZhcMbTjrBCGDyUKsqQLFciJb9bSvuG/WagRVRUVUI6gqy5HVeKWfSgRyJruKIU//TrZTSn2nmlaXThrloi/v9F2STC1W4+Aw5cBzkquRc09bofFNc6YLxEON0VUZS5FPTftO49vMjRsIF3RhOGr7/D/pJw+FKU+q0vDyq8W42jCunDqI3LC5XxNj2wHLU1XjaRnb0Lhykhqhhd8MtSF5J9tbjCv4mXGvKJz/65FF/qJryyaaIvzP2QRxZTX2nTuXjvV/VPFSwyLnW7mpH99yTh1FEVro6JBSd40/pMrRdV8vPtcKl28T2pT8TnFZ4yNosct3Q0io6JfBiz1FlGdqVQH3VHnepAEAAAAAADDzEGAAcTwB10jWgxcAAAAASUVORK5CYII="/><element name="bufferIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAuhJREFUeNrsWr9rU1EUznuNGqvFQh1ULOhiBx0KDtIuioO4pJuik3FxFfUPaAV1FTdx0Q5d2g4FFxehTnEpZHFoBy20tCIWtGq0TZP4HfkeHB5N8m6Sl/sa74XDybvv3vvOd8/Pe4lXrVZT3dD8VJc0B8QBcUAcEAfESktHGeR5XtMfqFQq/f92zPe/NbtGlKTdCY30kuxrpMGO94BlQCXs+rbh3ONgA6BlzP1p20d80gEI5hmA2A92Qua1Q2PtAFISM+bvjMG8U+Q7oA3rQGASwrYCU6WpNdLGYbA+Pq5jjXIiwi8EEa2UDbQSaKOIuV+SlkcCrfjY8XTI9EpKGwP0C2kru2hLtHqa4zoXtZRWyvi4CLwv9Opr6Hkn6A9HKgEANsQ1iqC3Ub/vRUk2JgmRkatK36kVrnt0qObunwUdUUMXMWYpakJsO5Am8tAw2GBIgwWA+G2S2dMpiw0gDioQRQJoKhRb1QiDwlHZUABYbaXWsm5ae6loTE4ZDxN4CZar8foVzOJ2iyZ2kWF3t7YIevffaMT5yJ70kQb2fQ1sE5SHr2wazs2wgMxgbsEKEAgxAvZUJbQLBGTSBMgNrncJbA6AljtS/eKDJ0Ez+DmrQEzXS2h1Ck25kAg0IZcUOaydCy4sYnN2fOA+2AP16gNoHALlQ+fwH7XO4CxLenUpgj4xr6ugY2roPMbMx+Xs18m/E8CVEIhxsNeg83XWOAN6grG3lGbk8uE5fr4B/WH3cJw+co/l9nTYsSGYCJ/lY5/qv0thn6nrIWmjeJcPSnWOeY++AkF8tpJHIMAUs/MaBBpj3znZfQo5psY+ZrG4gv5HickjEOymKjEeRpgyST6IuZcTcWbnjcgdPi5ghxciRKsl1lDSsgwA1i8fssonJgzmTSqfGUkCENndNdAL7PS6QQ7ZYISTo+1qq0LEWjTWcvY4isa4z+yfQB+7ooyHVg5RI7/i1Ijn/vnggDggDogD4oC00P4KMACd/juEHOrS4AAAAABJRU5ErkJggg=="/></elements></component><component name="dock"><elements><element name="button" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFBJREFUeNrs0cEJACAQA8Eofu0fu/W6EM5ZSAFDRpKTBs00CQQEBAQEBAQEBAQEBAQEBATkK8iqbY+AgICAgICAgICAgICAgICAgIC86QowAG5PAQzEJ0lKAAAAAElFTkSuQmCC"/></elements></component><component name="playlist"><elements><element name="item" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAIAAAC1nk4lAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHhJREFUeNrs2NEJwCAMBcBYuv/CFuIE9VN47WWCR7iocXR3pdWdGPqqwIoMjYfQeAiNh9B4JHc6MHQVHnjggQceeOCBBx77TifyeOY0iHi8DqIdEY8dD5cL094eePzINB5CO/LwcOTptNB4CP25L4TIbZzpU7UEGAA5wz1uF5rF9AAAAABJRU5ErkJggg=="/><element name="sliderRail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAA8CAIAAADpFA0BAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADhJREFUeNrsy6ENACAMAMHClp2wYxZLAg5Fcu9e3OjuOKqqfTMzbs14CIZhGIZhGIZhGP4VLwEGAK/BBnVFpB0oAAAAAElFTkSuQmCC"/><element name="sliderThumb" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAA8CAIAAADpFA0BAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUeNrsy7ENACAMBLE8++8caFFKKiRffU53112SGs3ttOohGIZhGIZhGIZh+Fe8BRgAiaUGde6NOSEAAAAASUVORK5CYII="/></elements></component></components></skin>',this.xml=null,window.DOMParser?(parser=new DOMParser,this.xml=parser.parseFromString(this.text,"text/xml")):(this.xml=new ActiveXObject("Microsoft.XMLDOM"),this.xml.async="false",this.xml.loadXML(this.text)),this}}(jwplayer),function(a){_utils=a.utils,_css=_utils.css,_hide=function(a){_css(a,{display:"none"})},_show=function(a){_css(a,{display:"block"})},a.html5.display=function(b,c){function y(){g.display=B("div","display"),g.display_text=B("div","display_text"),g.display.appendChild(g.display_text),g.display_image=B("img","display_image"),g.display_image.onerror=function(a){_hide(g.display_image)},g.display_image.onload=z,g.display_icon=B("div","display_icon"),g.display_iconBackground=B("div","display_iconBackground"),g.display.appendChild(g.display_image),g.display_iconBackground.appendChild(g.display_icon),g.display.appendChild(g.display_iconBackground),C(),setTimeout(function(){v=!0,e.icons.toString()=="true"&&O()},1)}function z(a){j=g.display_image.naturalWidth,k=g.display_image.naturalHeight,A()}function A(){_utils.stretch(f.jwGetStretching(),g.display_image,h,i,j,k)}function B(a,b){var c=document.createElement(a);return c.id=f.id+"_jwplayer_"+b,_css(c,x[b].style),c}function C(){for(var a in g)_utils.exists(x[a].click)&&(g[a].onclick=x[a].click)}function D(b){typeof b.preventDefault!="undefined"?b.preventDefault():b.returnValue=!1,f.jwGetState()!=a.api.events.state.PLAYING?f.jwPlay():f.jwPause()}function E(a){if(n){F();return}g.display_icon.style.backgroundImage=["url(",f.skin.getSkinElement("display",a).src,")"].join(""),_css(g.display_icon,{width:f.skin.getSkinElement("display",a).width,height:f.skin.getSkinElement("display",a).height,top:(f.skin.getSkinElement("display","background").height-f.skin.getSkinElement("display",a).height)/2,left:(f.skin.getSkinElement("display","background").width-f.skin.getSkinElement("display",a).width)/2}),G(),_utils.exists(f.skin.getSkinElement("display",a+"Over"))?(g.display_icon.onmouseover=function(b){g.display_icon.style.backgroundImage=["url(",f.skin.getSkinElement("display",a+"Over").src,")"].join("")},g.display_icon.onmouseout=function(b){g.display_icon.style.backgroundImage=["url(",f.skin.getSkinElement("display",a).src,")"].join("")}):(g.display_icon.onmouseover=null,g.display_icon.onmouseout=null)}function F(){e.icons.toString()=="true"&&(_hide(g.display_icon),_hide(g.display_iconBackground),P())}function G(){!u&&e.icons.toString()=="true"&&(_show(g.display_icon),_show(g.display_iconBackground),O())}function H(a){n=!0,F(),g.display_text.innerHTML=a.error,_show(g.display_text),g.display_text.style.top=(i-g.display_text.getBoundingClientRect().height)/2+"px"}function I(){g.display_image.style.display="none"}function J(b){(b.type==a.api.events.JWPLAYER_PLAYER_STATE||b.type==a.api.events.JWPLAYER_PLAYLIST_ITEM)&&n&&(n=!1,_hide(g.display_text));var c=f.jwGetState();if(c==r)return;r=c,q>=0&&clearTimeout(q),s||f.jwGetState()==a.api.events.state.PLAYING||f.jwGetState()==a.api.events.state.PAUSED?L(f.jwGetState()):q=setTimeout(K(f.jwGetState()),500)}function K(a){return function(){L(a)}}function L(b){_utils.exists(m)&&(clearInterval(m),m=null,_utils.animations.rotate(g.display_icon,0));switch(b){case a.api.events.state.BUFFERING:_utils.isIOS()?(I(),F()):(f.jwGetPlaylist()[f.jwGetItem()].provider=="sound"&&M(),l=0,m=setInterval(function(){l+=o,_utils.animations.rotate(g.display_icon,l%360)},p),E("bufferIcon"),s=!0);break;case a.api.events.state.PAUSED:_utils.isIOS()||(f.jwGetPlaylist()[f.jwGetItem()].provider!="sound"&&_css(g.display_image,{background:"transparent no-repeat center center"}),E("playIcon"),s=!0);break;case a.api.events.state.IDLE:f.jwGetPlaylist()[f.jwGetItem()]&&f.jwGetPlaylist()[f.jwGetItem()].image?M():I(),E("playIcon"),s=!0;break;default:f.jwGetPlaylist()[f.jwGetItem()]&&f.jwGetPlaylist()[f.jwGetItem()].provider=="sound"?_utils.isIOS()?(I(),s=!1):M():(I(),s=!1),f.jwGetMute()&&e.showmute?E("muteIcon"):F()}q=-1}function M(){f.jwGetPlaylist()[f.jwGetItem()]&&f.jwGetPlaylist()[f.jwGetItem()].image&&(_css(g.display_image,{display:"block"}),g.display_image.src=_utils.getAbsolutePath(f.jwGetPlaylist()[f.jwGetItem()].image))}function N(a){return function(){if(!v)return;!u&&t!=a&&(t=a,w.sendEvent(a,{component:"display",boundingRect:_utils.getDimensions(g.display_iconBackground)}))}}var d={icons:!0,showmute:!1},e=_utils.extend({},d,c),f=b,g={},h,i,j,k,l,m,n,o=_utils.exists(f.skin.getComponentSettings("display").bufferrotation)?parseInt(f.skin.getComponentSettings("display").bufferrotation,10):15,p=_utils.exists(f.skin.getComponentSettings("display").bufferinterval)?parseInt(f.skin.getComponentSettings("display").bufferinterval,10):100,q=-1,r="",s=!0,t,u=!1,v=!1,w=new a.html5.eventdispatcher;_utils.extend(this,w);var x={display:{style:{cursor:"pointer",top:0,left:0,overflow:"hidden"},click:D},display_icon:{style:{cursor:"pointer",position:"absolute",top:(f.skin.getSkinElement("display","background").height-f.skin.getSkinElement("display","playIcon").height)/2,left:(f.skin.getSkinElement("display","background").width-f.skin.getSkinElement("display","playIcon").width)/2,border:0,margin:0,padding:0,zIndex:3,display:"none"}},display_iconBackground:{style:{cursor:"pointer",position:"absolute",top:(i-f.skin.getSkinElement("display","background").height)/2,left:(h-f.skin.getSkinElement("display","background").width)/2,border:0,backgroundImage:["url(",f.skin.getSkinElement("display","background").src,")"].join(""),width:f.skin.getSkinElement("display","background").width,height:f.skin.getSkinElement("display","background").height,margin:0,padding:0,zIndex:2,display:"none"}},display_image:{style:{display:"none",width:h,height:i,position:"absolute",cursor:"pointer",left:0,top:0,margin:0,padding:0,textDecoration:"none",zIndex:1}},display_text:{style:{zIndex:4,position:"relative",opacity:.8,backgroundColor:parseInt("000000",16),color:parseInt("ffffff",16),textAlign:"center",fontFamily:"Arial,sans-serif",padding:"0 5px",fontSize:14}}};f.jwAddEventListener(a.api.events.JWPLAYER_PLAYER_STATE,J),f.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_MUTE,J),f.jwAddEventListener(a.api.events.JWPLAYER_PLAYLIST_ITEM,J),f.jwAddEventListener(a.api.events.JWPLAYER_ERROR,H),y(),this.getDisplayElement=function(){return g.display},this.resize=function(a,b){_css(g.display,{width:a,height:b}),_css(g.display_text,{width:a-10,top:(b-g.display_text.getBoundingClientRect().height)/2}),_css(g.display_iconBackground,{top:(b-f.skin.getSkinElement("display","background").height)/2,left:(a-f.skin.getSkinElement("display","background").width)/2});if(h!=a||i!=b)h=a,i=b,t=undefined,O();A(),J({})},this.show=function(){u&&(u=!1,L(f.jwGetState()))},this.hide=function(){u||(F(),u=!0)};var O=N(a.api.events.JWPLAYER_COMPONENT_SHOW),P=N(a.api.events.JWPLAYER_COMPONENT_HIDE);return this}}(jwplayer),function(a){_css=a.utils.css,a.html5.dock=function(b,c){function d(){return{align:a.html5.view.positions.RIGHT}}function p(c,d){if(g.length>0){var j=10,n=j,o=-1,p=b.skin.getSkinElement("dock","button").height,q=b.skin.getSkinElement("dock","button").width,r=c-q-j,t,u;e.align==a.html5.view.positions.LEFT&&(o=1,r=j);for(var v=0;v<g.length;v++){var w=Math.floor(n/d);n+p+j>(w+1)*d&&(n=(w+1)*d+j,w=Math.floor(n/d));var x=f[g[v]].div;x.style.top=n%d+"px",x.style.left=r+(b.skin.getSkinElement("dock","button").width+j)*w*o+"px";var y={x:a.utils.parseDimension(x.style.left),y:a.utils.parseDimension(x.style.top),width:q,height:p};if(!t||y.x<=t.x&&y.y<=t.y)t=y;if(!u||y.x>=u.x&&y.y>=u.y)u=y;n+=b.skin.getSkinElement("dock","button").height+j}l={x:t.x,y:t.y,width:u.x-t.x+u.width,height:t.y-u.y+u.height}}if(k!=b.jwGetFullscreen()||h!=c||i!=d)h=c,i=d,k=b.jwGetFullscreen(),m=undefined,setTimeout(s,1)}function q(a){return function(){!j&&m!=a&&g.length>0&&(m=a,n.sendEvent(a,{component:"dock",boundingRect:l}))}}function r(b){if(a.utils.isIOS())switch(b.newstate){case a.api.events.state.IDLE:u();break;default:v()}}var e=a.utils.extend({},d(),c);if(e.align=="FALSE")return;var f={},g=[],h,i,j=!1,k=!1,l={x:0,y:0,width:0,height:0},m,n=new a.html5.eventdispatcher;_utils.extend(this,n);var o=document.createElement("div");o.id=b.id+"_jwplayer_dock",b.jwAddEventListener(a.api.events.JWPLAYER_PLAYER_STATE,r),this.getDisplayElement=function(){return o},this.setButton=function(c,d,e,j){!d&&f[c]?(a.utils.arrays.remove(g,c),o.removeChild(f[c].div),delete f[c]):d&&(f[c]||(f[c]={}),f[c].handler=d,f[c].outGraphic=e,f[c].overGraphic=j,f[c].div||(g.push(c),f[c].div=document.createElement("div"),f[c].div.style.position="relative",o.appendChild(f[c].div),f[c].div.appendChild(document.createElement("img")),f[c].div.childNodes[0].style.position="absolute",f[c].div.childNodes[0].style.left=0,f[c].div.childNodes[0].style.top=0,f[c].div.childNodes[0].style.zIndex=10,f[c].div.childNodes[0].style.cursor="pointer",f[c].div.appendChild(document.createElement("img")),f[c].div.childNodes[1].style.position="absolute",f[c].div.childNodes[1].style.left=0,f[c].div.childNodes[1].style.top=0,b.skin.getSkinElement("dock","button")&&(f[c].div.childNodes[1].src=b.skin.getSkinElement("dock","button").src),f[c].div.childNodes[1].style.zIndex=9,f[c].div.childNodes[1].style.cursor="pointer",f[c].div.onmouseover=function(){f[c].overGraphic&&(f[c].div.childNodes[0].src=f[c].overGraphic),b.skin.getSkinElement("dock","buttonOver")&&(f[c].div.childNodes[1].src=b.skin.getSkinElement("dock","buttonOver").src)},f[c].div.onmouseout=function(){f[c].outGraphic&&(f[c].div.childNodes[0].src=f[c].outGraphic),b.skin.getSkinElement("dock","button")&&(f[c].div.childNodes[1].src=b.skin.getSkinElement("dock","button").src)},f[c].overGraphic&&(f[c].div.childNodes[0].src=f[c].overGraphic),f[c].outGraphic&&(f[c].div.childNodes[0].src=f[c].outGraphic),b.skin.getSkinElement("dock","button")&&(f[c].div.childNodes[1].src=b.skin.getSkinElement("dock","button").src)),d&&(f[c].div.onclick=function(d){d.preventDefault(),a(b.id).callback(c),f[c].overGraphic&&(f[c].div.childNodes[0].src=f[c].overGraphic),b.skin.getSkinElement("dock","button")&&(f[c].div.childNodes[1].src=b.skin.getSkinElement("dock","button").src)})),p(h,i)};var s=q(a.api.events.JWPLAYER_COMPONENT_SHOW),t=q(a.api.events.JWPLAYER_COMPONENT_HIDE);this.resize=p;var u=function(){_css(o,{display:"block"}),j&&(j=!1,s())},v=function(){_css(o,{display:"none"}),j||(t(),j=!0)};return this.hide=v,this.show=u,this}}(jwplayer),function(a){a.html5.eventdispatcher=function(b,c){var d=new a.events.eventdispatcher(c);a.utils.extend(this,d),this.sendEvent=function(c,e){a.utils.exists(e)||(e={}),a.utils.extend(e,{id:b,version:a.version,type:c}),d.sendEvent(c,e)}}}(jwplayer),function(a){var b={prefix:"",file:"",link:"",margin:8,out:.5,over:1,timeout:5,hide:!0,position:"bottom-left"};_css=a.utils.css,a.html5.logo=function(c,d){function j(){k(),l(),m()}function k(){if(b.prefix){var e=c.version.split(/\W/).splice(0,2).join("/");b.prefix.indexOf(e)<0&&(b.prefix+=e+"/")}d.position==a.html5.view.positions.OVER&&(d.position=b.position),g=a.utils.extend({},b,d)}function l(){h=document.createElement("img"),h.id=e.id+"_jwplayer_logo",h.style.display="none",h.onload=function(b){_css(h,q()),e.jwAddEventListener
(a.api.events.JWPLAYER_PLAYER_STATE,t),o()};if(!g.file)return;g.file.indexOf("http://")===0?h.src=g.file:h.src=g.prefix+g.file}function m(){g.link?(h.onmouseover=p,h.onmouseout=o,h.onclick=n):this.mouseEnabled=!1}function n(a){typeof a!="undefined"&&a.stopPropagation();if(!i)return;e.jwPause(),e.jwSetFullscreen(!1),g.link&&window.open(g.link,"_top");return}function o(a){g.link&&i&&(h.style.opacity=g.out);return}function p(a){g.hide.toString()=="true"&&i&&(h.style.opacity=g.over);return}function q(){var a={textDecoration:"none",position:"absolute",cursor:"pointer"};a.display=g.hide.toString()=="true"?"none":"block";var b=g.position.toLowerCase().split("-");for(var c in b)a[b[c]]=g.margin;return a}function r(){g.hide.toString()=="true"&&(h.style.display="block",h.style.opacity=0,a.utils.fadeTo(h,g.out,.1,parseFloat(h.style.opacity)),f=setTimeout(function(){s()},g.timeout*1e3)),i=!0}function s(){i=!1,g.hide.toString()=="true"&&a.utils.fadeTo(h,0,.1,parseFloat(h.style.opacity))}function t(b){b.newstate==a.api.events.state.BUFFERING&&(clearTimeout(f),r())}var e=c,f,g,h,i=!1;j();if(!g.file)return;return this.resize=function(a,b){},this.getDisplayElement=function(){return h},this}}(jwplayer),function(a){var b={ended:a.api.events.state.IDLE,playing:a.api.events.state.PLAYING,pause:a.api.events.state.PAUSED,buffering:a.api.events.state.BUFFERING},c=a.utils,d=c.css,e=c.isIOS();a.html5.mediavideo=function(f,g){function u(){l=document.createElement("video"),m=a.api.events.state.IDLE;for(var b in h)l.addEventListener(b,function(a){c.exists(a.target.parentNode)&&h[a.type](a)},!0);l.setAttribute("x-webkit-airplay","allow"),k.parentNode&&k.parentNode.replaceChild(l,k),l.id||(l.id=k.id)}function v(b){if(b==a.api.events.state.PAUSED&&m==a.api.events.state.IDLE)return;if(m!=b){var c=m;j.state=m=b,i.sendEvent(a.api.events.JWPLAYER_PLAYER_STATE,{oldstate:c,newstate:b})}}function w(a){}function x(b){var d;if(c.exists(b)&&b.lengthComputable&&b.total)d=b.loaded/b.total*100;else if(c.exists(l.buffered)&&l.buffered.length>0){var e=l.buffered.length-1;e>=0&&(d=l.buffered.end(e)/l.duration*100)}s===!1&&m==a.api.events.state.BUFFERING&&(i.sendEvent(a.api.events.JWPLAYER_MEDIA_BUFFER_FULL),s=!0),r||(d==100&&(r=!0),c.exists(d)&&d>j.buffer&&(j.buffer=Math.round(d),i.sendEvent(a.api.events.JWPLAYER_MEDIA_BUFFER,{bufferPercent:Math.round(d)})))}function y(b){if(c.exists(b)&&c.exists(b.target)){!isNaN(b.target.duration)&&(isNaN(j.duration)||j.duration<1)&&(b.target.duration==Infinity?j.duration=0:j.duration=Math.round(b.target.duration*10)/10),!n&&l.readyState>0&&(l.style.display="block",v(a.api.events.state.PLAYING));if(m==a.api.events.state.PLAYING){if(!n&&l.readyState>0){n=!0;try{l.currentTime<o.start&&(l.currentTime=o.start)}catch(d){}l.volume=j.volume/100,l.muted=j.mute}j.position=j.duration>0?Math.round(b.target.currentTime*10)/10:0,i.sendEvent(a.api.events.JWPLAYER_MEDIA_TIME,{position:j.position,duration:j.duration}),j.position>=j.duration&&(j.position>0||j.duration>0)&&G()}}x(b)}function z(a){}function A(a){b[a.type]&&(a.type=="ended"?G():v(b[a.type]))}function B(b){var c={height:b.target.videoHeight,width:b.target.videoWidth,duration:Math.round(b.target.duration*10)/10};(j.duration===0||isNaN(j.duration))&&b.target.duration!=Infinity&&(j.duration=Math.round(b.target.duration*10)/10),i.sendEvent(a.api.events.JWPLAYER_MEDIA_META,{metadata:c})}function C(b){if(m==a.api.events.state.IDLE)return;var d="There was an error: ";if(b.target.error&&b.target.tagName.toLowerCase()=="video"||b.target.parentNode.error&&b.target.parentNode.tagName.toLowerCase()=="video"){var e=c.exists(b.target.error)?b.target.error:b.target.parentNode.error;switch(e.code){case e.MEDIA_ERR_ABORTED:d="You aborted the video playback: ";break;case e.MEDIA_ERR_NETWORK:d="A network error caused the video download to fail part-way: ";break;case e.MEDIA_ERR_DECODE:d="The video playback was aborted due to a corruption problem or because the video used features your browser did not support: ";break;case e.MEDIA_ERR_SRC_NOT_SUPPORTED:d="The video could not be loaded, either because the server or network failed or because the format is not supported: ";break;default:d="An unknown error occurred: "}}else{if(b.target.tagName.toLowerCase()!="source"){c.log("An unknown error occurred.  Continuing...");return}t--;if(t>0)return;d="The video could not be loaded, either because the server or network failed or because the format is not supported: "}_stop(!1),d+=D(),_error=!0,i.sendEvent(a.api.events.JWPLAYER_ERROR,{error:d});return}function D(){var b="";for(var c in o.levels){var d=o.levels[c],e=k.ownerDocument.createElement("source");b+=a.utils.getAbsolutePath(d.file),c<o.levels.length-1&&(b+=", ")}return b}function E(){c.exists(p)||(p=setInterval(function(){x()},100))}function F(){clearInterval(p),p=null}function G(){m!=a.api.events.state.IDLE&&(_stop(!1),i.sendEvent(a.api.events.JWPLAYER_MEDIA_COMPLETE))}var h={abort:w,canplay:A,canplaythrough:A,durationchange:B,emptied:w,ended:A,error:C,loadeddata:B,loadedmetadata:B,loadstart:A,pause:A,play:w,playing:A,progress:x,ratechange:w,seeked:A,seeking:A,stalled:A,suspend:A,timeupdate:y,volumechange:w,waiting:A,canshowcurrentframe:w,dataunavailable:w,empty:w,load:z,loadedfirstframe:w},i=new a.html5.eventdispatcher;c.extend(this,i);var j=f,k=g,l,m,n,o,p,q=!1,r,s,t;u(),this.load=function(b,d){typeof d=="undefined"&&(d=!0),o=b,c.empty(l),t=0;if(b.levels&&b.levels.length>0)if(b.levels.length==1)l.src=b.levels[0].file;else{l.src&&l.removeAttribute("src");for(var f=0;f<b.levels.length;f++){var g=l.ownerDocument.createElement("source");g.src=b.levels[f].file,l.appendChild(g),t++}}else l.src=b.file;e&&(b.image&&(l.poster=b.image),l.controls="controls",l.style.display="block"),r=s=n=!1,j.buffer=0,c.exists(b.start)||(b.start=0),j.duration=b.duration,i.sendEvent(a.api.events.JWPLAYER_MEDIA_LOADED),(!e&&b.levels.length==1||!q)&&l.load(),q=!1,d&&(v(a.api.events.state.BUFFERING),i.sendEvent(a.api.events.JWPLAYER_MEDIA_BUFFER,{bufferPercent:0}),this.play())},this.play=function(){m!=a.api.events.state.PLAYING&&(E(),s?v(a.api.events.state.PLAYING):v(a.api.events.state.BUFFERING),l.play())},this.pause=function(){l.pause(),v(a.api.events.state.PAUSED)},this.seek=function(a){!(j.duration<=0||isNaN(j.duration))&&!(j.position<=0||isNaN(j.position))&&(l.currentTime=a,l.play())},_stop=this.stop=function(b){c.exists(b)||(b=!0),F();if(b){l.style.display="none",s=!1;var d=navigator.userAgent;d.match(/chrome/i)?l.src=undefined:d.match(/safari/i)?l.removeAttribute("src"):l.src="",l.removeAttribute("controls"),l.removeAttribute("poster"),c.empty(l),l.load(),q=!0;if(l.webkitSupportsFullscreen)try{l.webkitExitFullscreen()}catch(e){}}v(a.api.events.state.IDLE)},this.fullscreen=function(a){a===!0?this.resize("100%","100%"):this.resize(j.config.width,j.config.height)},this.resize=function(b,c){i.sendEvent(a.api.events.JWPLAYER_MEDIA_RESIZE,{fullscreen:j.fullscreen,width:b,hieght:c})},this.volume=function(b){e||(l.volume=b/100,j.volume=b,i.sendEvent(a.api.events.JWPLAYER_MEDIA_VOLUME,{volume:Math.round(b)}))},this.mute=function(b){e||(l.muted=b,j.mute=b,i.sendEvent(a.api.events.JWPLAYER_MEDIA_MUTE,{mute:b}))},this.getDisplayElement=function(){return l},this.hasChrome=function(){return!1}}}(jwplayer),function(a){var b={ended:a.api.events.state.IDLE,playing:a.api.events.state.PLAYING,pause:a.api.events.state.PAUSED,buffering:a.api.events.state.BUFFERING},c=a.utils.css;a.html5.mediayoutube=function(b,d){function k(b){if(h!=b){var c=h;f.state=b,h=b,e.sendEvent(a.api.events.JWPLAYER_PLAYER_STATE,{oldstate:c,newstate:b})}}function l(a){var b=a.levels[0].file;b=["http://www.youtube.com/v/",m(b),"&amp;hl=en_US&amp;fs=1&autoplay=1"].join(""),i=document.createElement("object"),i.id=g.id,i.style.position="absolute";var c={movie:b,allowfullscreen:"true",allowscriptaccess:"always"};for(var d in c){var e=document.createElement("param");e.name=d,e.value=c[d],i.appendChild(e)}j=document.createElement("embed"),i.appendChild(j);var f={src:b,type:"application/x-shockwave-flash",allowfullscreen:"true",allowscriptaccess:"always",width:i.width,height:i.height};for(var h in f)j.setAttribute(h,f[h]);i.appendChild(j),i.style.zIndex=2147483e3,g!=i&&g.parentNode&&g.parentNode.replaceChild(i,g),g=i}function m(a){var b=a.split(/\?|\#\!/),c="";for(var d=0;d<b.length;d++)b[d].substr(0,2)=="v="&&(c=b[d].substr(2));return c==""&&(a.indexOf("/v/")>=0?c=a.substr(a.indexOf("/v/")+3):a.indexOf("youtu.be")>=0?c=a.substr(a.indexOf("youtu.be/")+9):c=a),c.indexOf("?")>-1&&(c=c.substr(0,c.indexOf("?"))),c.indexOf("&")>-1&&(c=c.substr(0,c.indexOf("&"))),c}var e=new a.html5.eventdispatcher;a.utils.extend(this,e);var f=b,g=document.getElementById(d.id),h=a.api.events.state.IDLE,i,j;return this.getDisplayElement=function(){return g},this.play=function(){h==a.api.events.state.IDLE?(e.sendEvent(a.api.events.JWPLAYER_MEDIA_BUFFER,{bufferPercent:100}),e.sendEvent(a.api.events.JWPLAYER_MEDIA_BUFFER_FULL),k(a.api.events.state.PLAYING)):h==a.api.events.state.PAUSED&&k(a.api.events.state.PLAYING)},this.pause=function(){k(a.api.events.state.PAUSED)},this.seek=function(a){},this.stop=function(b){_utils.exists(b)||(b=!0),f.position=0,k(a.api.events.state.IDLE),b&&c(g,{display:"none"})},this.volume=function(b){f.volume=b,e.sendEvent(a.api.events.JWPLAYER_MEDIA_VOLUME,{volume:Math.round(b)})},this.mute=function(b){g.muted=b,f.mute=b,e.sendEvent(a.api.events.JWPLAYER_MEDIA_MUTE,{mute:b})},this.resize=function(b,c){b*c>0&&i&&(i.width=j.width=b,i.height=j.height=c),e.sendEvent(a.api.events.JWPLAYER_MEDIA_RESIZE,{fullscreen:f.fullscreen,width:b,height:c})},this.fullscreen=function(a){a===!0?this.resize("100%","100%"):this.resize(f.config.width,f.config.height)},this.load=function(b){l(b),c(i,{display:"block"}),k(a.api.events.state.BUFFERING),e.sendEvent(a.api.events.JWPLAYER_MEDIA_BUFFER,{bufferPercent:0}),e.sendEvent(a.api.events.JWPLAYER_MEDIA_LOADED),this.play()},this.hasChrome=function(){return h!=a.api.events.state.IDLE},this.embed=j,this}}(jwplayer),function(jwplayer){var _configurableStateVariables=["width","height","start","duration","volume","mute","fullscreen","item","plugins","stretching"];jwplayer.html5.model=function(api,container,options){function _loadExternal(a){var b=new jwplayer.html5.playlistloader;b.addEventListener(jwplayer.api.events.JWPLAYER_PLAYLIST_LOADED,function(a){_model.playlist=new jwplayer.html5.playlist(a),_loadComplete(!0)}),b.addEventListener(jwplayer.api.events.JWPLAYER_ERROR,function(a){_model.playlist=new jwplayer.html5.playlist({playlist:[]}),_loadComplete(!1)}),b.load(a)}function _loadComplete(){_model.config.shuffle?_model.item=_getShuffleItem():(_model.config.item>=_model.playlist.length?_model.config.item=_model.playlist.length-1:_model.config.item<0&&(_model.config.item=0),_model.item=_model.config.item),_eventDispatcher.sendEvent(jwplayer.api.events.JWPLAYER_PLAYLIST_LOADED,{playlist:_model.playlist}),_eventDispatcher.sendEvent(jwplayer.api.events.JWPLAYER_PLAYLIST_ITEM,{index:_model.item})}function _getShuffleItem(){var a=null;if(_model.playlist.length>1)while(!jwplayer.utils.exists(a))a=Math.floor(Math.random()*_model.playlist.length),a==_model.item&&(a=null);else a=0;return a}function forward(a){a.type==jwplayer.api.events.JWPLAYER_MEDIA_LOADED&&(_container=_media.getDisplayElement()),_eventDispatcher.sendEvent(a.type,a)}var _api=api,_container=container,_model={id:_container.id,playlist:[],state:jwplayer.api.events.state.IDLE,position:0,buffer:0,config:{width:480,height:320,item:-1,skin:undefined,file:undefined,image:undefined,start:0,duration:0,bufferlength:5,volume:90,mute:!1,fullscreen:!1,repeat:"",stretching:jwplayer.utils.stretching.UNIFORM,autostart:!1,debug:undefined,screencolor:undefined}},_media,_eventDispatcher=new jwplayer.html5.eventdispatcher,_components=["display","logo","controlbar","playlist","dock"];jwplayer.utils.extend(_model,_eventDispatcher);for(var option in options){if(typeof options[option]=="string"){var type=/color$/.test(option)?"color":null;options[option]=jwplayer.utils.typechecker(options[option],type)}var config=_model.config,path=option.split(".");for(var edge in path)edge==path.length-1?config[path[edge]]=options[option]:(jwplayer.utils.exists(config[path[edge]])||(config[path[edge]]={}),config=config[path[edge]])}for(var index in _configurableStateVariables){var configurableStateVariable=_configurableStateVariables[index];_model[configurableStateVariable]=_model.config[configurableStateVariable]}var pluginorder=_components.concat([]);if(jwplayer.utils.exists(_model.plugins)&&typeof _model.plugins=="string"){var userplugins=_model.plugins.split(",");for(var userplugin in userplugins)typeof userplugins[userplugin]=="string"&&pluginorder.push(userplugins[userplugin].replace(/^\s+|\s+$/g,""))}jwplayer.utils.isIOS()?(pluginorder=["display","logo","dock","playlist"],jwplayer.utils.exists(_model.config.repeat)||(_model.config.repeat="list")):_model.config.chromeless&&(pluginorder=["logo","dock","playlist"],jwplayer.utils.exists(_model.config.repeat)||(_model.config.repeat="list")),_model.plugins={order:pluginorder,config:{},object:{}};if(typeof _model.config.components!="undefined")for(var component in _model.config.components)_model.plugins.config[component]=_model.config.components[component];for(var pluginIndex in _model.plugins.order){var pluginName=_model.plugins.order[pluginIndex],pluginConfig=jwplayer.utils.exists(_model.plugins.config[pluginName])?_model.plugins.config[pluginName]:{};_model.plugins.config[pluginName]=jwplayer.utils.exists(_model.plugins.config[pluginName])?jwplayer.utils.extend(_model.plugins.config[pluginName],pluginConfig):pluginConfig,jwplayer.utils.exists(_model.plugins.config[pluginName].position)?_model.plugins.config[pluginName].position=_model.plugins.config[pluginName].position.toString().toUpperCase():pluginName=="playlist"?_model.plugins.config[pluginName].position=jwplayer.html5.view.positions.NONE:_model.plugins.config[pluginName].position=jwplayer.html5.view.positions.OVER}if(typeof _model.plugins.config.dock!="undefined"){if(typeof _model.plugins.config.dock!="object"){var position=_model.plugins.config.dock.toString().toUpperCase();_model.plugins.config.dock={position:position}}typeof _model.plugins.config.dock.position!="undefined"&&(_model.plugins.config.dock.align=_model.plugins.config.dock.position,_model.plugins.config.dock.position=jwplayer.html5.view.positions.OVER)}_model.loadPlaylist=function(arg){var input;if(typeof arg=="string")if(arg.indexOf("[")==0||arg.indexOf("{")=="0")try{input=eval(arg)}catch(err){input=arg}else input=arg;else input=arg;var config;switch(jwplayer.utils.typeOf(input)){case"object":config=input;break;case"array":config={playlist:input};break;default:_loadExternal(input);return}_model.playlist=new jwplayer.html5.playlist(config),jwplayer.utils.extension(_model.playlist[0].file)=="xml"?_loadExternal(_model.playlist[0].file):_loadComplete()};var _mediaProviders={};return _model.setActiveMediaProvider=function(a){a.provider=="audio"&&(a.provider="sound");var b=a.provider,c=_media?_media.getDisplayElement():null;if(b=="sound"||b=="http"||b=="")b="video";if(!jwplayer.utils.exists(_mediaProviders[b])){switch(b){case"video":_media=new jwplayer.html5.mediavideo(_model,c?c:_container);break;case"youtube":_media=new jwplayer.html5.mediayoutube(_model,c?c:_container)}if(!jwplayer.utils.exists(_media))return!1;_media.addGlobalListener(forward),_mediaProviders[b]=_media}else _media!=_mediaProviders[b]&&(_media&&_media.stop(),_media=_mediaProviders[b]);return!0},_model.getMedia=function(){return _media},_model.seek=function(a){return _eventDispatcher.sendEvent(jwplayer.api.events.JWPLAYER_MEDIA_SEEK,{position:_model.position,offset:a}),_media.seek(a)},_model.setupPlugins=function(){if(!jwplayer.utils.exists(_model.plugins)||!jwplayer.utils.exists(_model.plugins.order)||_model.plugins.order.length==0)return jwplayer.utils.log("No plugins to set up"),_model;for(var a=0;a<_model.plugins.order.length;a++)try{var b=_model.plugins.order[a];jwplayer.utils.exists(jwplayer.html5[b])?b=="playlist"?_model.plugins.object[b]=new jwplayer.html5.playlistcomponent(_api,_model.plugins.config[b]):_model.plugins.object[b]=new jwplayer.html5[b](_api,_model.plugins.config[b]):_model.plugins.order.splice(plugin,plugin+1),typeof _model.plugins.object[b].addGlobalListener=="function"&&_model.plugins.object[b].addGlobalListener(forward)}catch(c){jwplayer.utils.log("Could not setup "+b)}},_model}}(jwplayer),function(a){a.html5.playlist=function(b){var c=[];if(b.playlist&&b.playlist instanceof Array&&b.playlist.length>0)for(var d in b.playlist)isNaN(parseInt(d))||c.push(new a.html5.playlistitem(b.playlist[d]));else c.push(new a.html5.playlistitem(b));return c}}(jwplayer),function(a){var b={size:180,position:a.html5.view.positions.NONE,itemheight:60,thumbs:!0,fontcolor:"#000000",overcolor:"",activecolor:"",backgroundcolor:"#f8f8f8",font:"_sans",fontsize:"",fontstyle:"",fontweight:""},c={_sans:"Arial, Helvetica, sans-serif",_serif:"Times, Times New Roman, serif",_typewriter:"Courier New, Courier, monospace"};_utils=a.utils,_css=_utils.css,_hide=function(a){_css(a,{display:"none"})},_show=function(a){_css(a,{display:"block"})},a.html5.playlistcomponent=function(d,e){function p(){h=document.createElement("div"),h.id=f.id+"_jwplayer_playlistcomponent";switch(g.position){case a.html5.view.positions.RIGHT:case a.html5.view.positions.LEFT:h.style.width=g.size+"px";break;case a.html5.view.positions.TOP:case a.html5.view.positions.BOTTOM:h.style.height=g.size+"px"}A(),o.item&&(g.itemheight=o.item.height),h.style.backgroundColor="#C6C6C6",f.jwAddEventListener(a.api.events.JWPLAYER_PLAYLIST_LOADED,u),f.jwAddEventListener(a.api.events.JWPLAYER_PLAYLIST_ITEM,y),f.jwAddEventListener(a.api.events.JWPLAYER_PLAYER_STATE,z)}function q(){var a=document.createElement("ul");return _css(a,{width:h.style.width,minWidth:h.style.width,height:h.style.height,backgroundColor:g.backgroundcolor,backgroundImage:o.background?"url("+o.background.src+")":"",color:g.fontcolor,listStyle:"none",margin:0,padding:0,fontFamily:c[g.font]?c[g.font]:c._sans,fontSize:(g.fontsize?g.fontsize:11)+"px",fontStyle:g.fontstyle,fontWeight:g.fontweight,overflowY:"auto"}),a}function r(a){return function(){var b=m.getElementsByClassName("item")[a],c=g.fontcolor,d=o.item?"url("+o.item.src+")":"";a==f.jwGetPlaylistIndex()&&(g.activecolor!==""&&(c=g.activecolor),o.itemActive&&(d="url("+o.itemActive.src+")")),_css(b,{color:g.overcolor!==""?g.overcolor:c,backgroundImage:o.itemOver?"url("+o.itemOver.src+")":d})}}function s(a){return function(){var b=m.getElementsByClassName("item")[a],c=g.fontcolor,d=o.item?"url("+o.item.src+")":"";a==f.jwGetPlaylistIndex()&&(g.activecolor!==""&&(c=g.activecolor),o.itemActive&&(d="url("+o.itemActive.src+")")),_css(b,{color:c,backgroundImage:d})}}function t(b){var c=k[b],d=document.createElement("li");d.className="item",_css(d,{height:g.itemheight,display:"block",cursor:"pointer",backgroundImage:o.item?"url("+o.item.src+")":"",backgroundSize:"100% "+g.itemheight+"px"}),d.onmouseover=r(b),d.onmouseout=s(b);var e=document.createElement("div"),f=new Image,h=0,l=0,m=0;x()&&(c.image||c["playlist.image"]||o.itemImage)&&(f.className="image",o.itemImage?(h=(g.itemheight-o.itemImage.height)/2,l=o.itemImage.width,m=o.itemImage.height):(l=g.itemheight*4/3,m=g.itemheight),_css(e,{height:m,width:l,"float":"left",styleFloat:"left",cssFloat:"left",margin:"0 5px 0 0",background:"black",overflow:"hidden",margin:h+"px",position:"relative"}),_css(f,{position:"relative"}),e.appendChild(f),f.onload=function(){a.utils.stretch(a.utils.stretching.FILL,f,l,m,this.naturalWidth,this.naturalHeight)},c["playlist.image"]?f.src=c["playlist.image"]:c.image?f.src=c.image:o.itemImage&&(f.src=o.itemImage.src),d.appendChild(e));var n=i-l-h*2;j<g.itemheight*k.length&&(n-=15);var p=document.createElement("div");_css(p,{position:"relative",height:"100%",overflow:"hidden"});var q=document.createElement("span");c.duration>0&&(q.className="duration",_css(q,{fontSize:(g.fontsize?g.fontsize:11)+"px",fontWeight:g.fontweight?g.fontweight:"bold",width:"40px",height:g.fontsize?g.fontsize+10:20,lineHeight:24,"float":"right",styleFloat:"right",cssFloat:"right"}),q.innerHTML=_utils.timeFormat(c.duration),p.appendChild(q));var t=document.createElement("span");t.className="title",_css(t,{padding:"5px 5px 0 "+(h?0:"5px"),height:g.fontsize?g.fontsize+10:20,lineHeight:g.fontsize?g.fontsize+10:20,overflow:"hidden","float":"left",styleFloat:"left",cssFloat:"left",width:(c.duration>0?n-50:n)-10+"px",fontSize:(g.fontsize?g.fontsize:13)+"px",fontWeight:g.fontweight?g.fontweight:"bold"}),t.innerHTML=c?c.title:"",p.appendChild(t);if(c.description){var u=document.createElement("span");u.className="description",_css(u,{display:"block","float":"left",styleFloat:"left",cssFloat:"left",margin:0,paddingLeft:t.style.paddingLeft,paddingRight:t.style.paddingRight,lineHeight:(g.fontsize?g.fontsize+4:16)+"px",overflow:"hidden",position:"relative"}),u.innerHTML=c.description,p.appendChild(u)}return d.appendChild(p),d}function u(a){h.innerHTML="",k=f.jwGetPlaylist();if(!k)return;items=[],m=q();for(var b=0;b<k.length;b++){var c=t(b);c.onclick=v(b),m.appendChild(c),items.push(c)}n=f.jwGetPlaylistIndex(),s(n)(),h.appendChild(m);if(_utils.isIOS()&&window.iScroll){m.style.height=g.itemheight*k.length+"px";var d=new iScroll(h.id)}}function v(a){return function(){f.jwPlaylistItem(a),f.jwPlay(!0)}}function w(){m.scrollTop=f.jwGetPlaylistIndex()*g.itemheight}function x(){return g.thumbs.toString().toLowerCase()=="true"}function y(a){n>=0&&(s(n)(),n=a.index),s(a.index)(),w()}function z(){if(g.position==a.html5.view.positions.OVER)switch(f.jwGetState()){case a.api.events.state.IDLE:_show(h);break;default:_hide(h)}}function A(){for(var a in o)o[a]=B(a)}function B(a){return f.skin.getSkinElement("playlist",a)}var f=d,g=a.utils.extend({},b,f.skin.getComponentSettings("playlist"),e);if(g.position==a.html5.view.positions.NONE||typeof a.html5.view.positions[g.position]=="undefined")return;var h,i,j,k,l,m,n=-1,o={background:undefined,item:undefined,itemOver:undefined,itemImage:undefined,itemActive:undefined};return this.getDisplayElement=function(){return h},this.resize=function(a,b){i=a,j=b;if(f.jwGetFullscreen())_hide(h);else{var c={display:"block",width:i,height:j};_css(h,c)}},this.show=function(){_show(h)},this.hide=function(){_hide(h)},p(),this}}(jwplayer),function(a){function b(b){if(a.utils.isYouTube(b.file))return"youtube";var c=a.utils.extension(b.file),d;if(c&&a.utils.extensionmap[c]){if(c=="m3u8")return"video";d=a.utils.extensionmap[c].html5}else b.type&&(d=b.type);if(d){var e=d.split("/")[0];if(e=="audio")return"sound";if(e=="video")return e}return""}a.html5.playlistitem=function(c){var d={author:"",date:"",description:"",image:"",link:"",mediaid:"",tags:"",title:"",provider:"",file:"",streamer:"",duration:-1,start:0,currentLevel:-1,levels:[]},e=a.utils.extend({},d,c);return e.type&&(e.provider=e.type,delete e.type),e.levels.length===0&&(e.levels[0]=new a.html5.playlistitemlevel(e)),e.provider?e.provider=e.provider.toLowerCase():e.provider=b(e.levels[0]),e}}(jwplayer),function(a){a.html5.playlistitemlevel=function(b){var c={file:"",streamer:"",bitrate:0,width:0};for(var d in c)a.utils.exists(b[d])&&(c[d]=b[d]);return c}}(jwplayer),function(a){a.html5.playlistloader=function(){function c(c){var e=[];try{var e=a.utils.parsers.rssparser.parse(c.responseXML.firstChild);b.sendEvent(a.api.events.JWPLAYER_PLAYLIST_LOADED,{playlist:new a.html5.playlist({playlist:e})})}catch(f){d("Could not parse the playlist")}}function d(c){b.sendEvent(a.api.events.JWPLAYER_ERROR,{error:c?c:"could not load playlist for whatever reason.  too bad"})}var b=new a.html5.eventdispatcher;a.utils.extend(this,b),this.load=function(b){a.utils.ajax(b,c,d)}}}(jwplayer),function(a){a.html5.skin=function(){var b={},c=!1;this.load=function(d,e){new a.html5.skinloader(d,function(a){c=!0,b=a,e()},function(){new a.html5.skinloader("",function(a){c=!0,b=a,e()})})},this.getSkinElement=function(d,e){if(c)try{return b[d].elements[e]}catch(f){a.utils.log("No such skin component / element: ",[d,e])}return null},this.getComponentSettings=function(a){return c?b[a].settings:null},this.getComponentLayout=function(a){return c?b[a].layout:null}}}(jwplayer),function(a){a.html5.skinloader=function(b,c,d){function l(){typeof j!="string"||j===""?m(a.html5.defaultSkin().xml):a.utils.ajax(a.utils.getAbsolutePath(j),function(b){try{if(a.utils.exists(b.responseXML)){m(b.responseXML);return}}catch(c){p()}m(a.html5.defaultSkin().xml)},function(b){m(a.html5.defaultSkin().xml)})}function m(b){var c=b.getElementsByTagName("component");if(c.length===0)return;for(var d=0;d<c.length;d++){var f=c[d].getAttribute("name"),g={settings:{},elements:{},layout:{}};e[f]=g;var i=c[d].getElementsByTagName("elements")[0].getElementsByTagName("element");for(var j=0;j<i.length;j++)o(i[j],f);var k=c[d].getElementsByTagName("settings")[0];if(k&&k.childNodes.length>0){var l=k.getElementsByTagName("setting");for(var m=0;m<l.length;m++){var p=l[m].getAttribute("name"),q=l[m].getAttribute("value"),r=/color$/.test(p)?"color":null;e[f].settings[p]=a.utils.typechecker(q,r)}}var s=c[d].getElementsByTagName("layout")[0];if(s&&s.childNodes.length>0){var t=s.getElementsByTagName("group");for(var u=0;u<t.length;u++){var v=t[u];e[f].layout[v.getAttribute("position")]={elements:[]};for(var w=0;w<v.attributes.length;w++){var x=v.attributes[w];e[f].layout[v.getAttribute("position")][x.name]=x.value}var y=v.getElementsByTagName("*");for(var z=0;z<y.length;z++){var A=y[z];e[f].layout[v.getAttribute("position")].elements.push({type:A.tagName});for(var B=0;B<A.attributes.length;B++){var C=A.attributes[B];e[f].layout[v.getAttribute("position")].elements[z][C.name]=C.value}a.utils.exists(e[f].layout[v.getAttribute("position")].elements[z].name)||(e[f].layout[v.getAttribute("position")].elements[z].name=A.tagName)}}}h=!1,n()}}function n(){clearInterval(i),k||(i=setInterval(function(){q()},100))}function o(b,c){var d=new Image,f=b.getAttribute("name"),h=b.getAttribute("src"),i;if(h.indexOf("data:image/png;base64,")===0)i=h;else{var l=a.utils.getAbsolutePath(j),m=l.substr(0,l.lastIndexOf("/"));i=[m,c,h].join("/")}e[c].elements[f]={height:0,width:0,src:"",ready:!1,image:d},d.onload=function(a){r(d,f,c)},d.onerror=function(a){k=!0,n(),g()},d.src=i}function p(){for(var a in e){var b=e[a];for(var c in b.elements){var d=b.elements[c],f=d.image;f.onload=null,f.onerror=null,delete d.image,delete b.elements[c]}delete e[a]}}function q(){for(var a in e)if(a!="properties")for(var b in e[a].elements)if(!e[a].elements[b].ready)return;h===!1&&(clearInterval(i),f(e))}function r(b,c,d){e[d]&&e[d].elements[c]?(e[d].elements[c].height=b.height,e[d].elements[c].width=b.width,e[d].elements[c].src=b.src,e[d].elements[c].ready=!0,n()):a.utils.log("Loaded an image for a missing element: "+d+"."+c)}var e={},f=c,g=d,h=!0,i,j=b,k=!1;l()}}(jwplayer),function(a){a.html5.api=function(b,c){function i(){f.state==a.api.events.state.PLAYING||f.state==a.api.events.state.BUFFERING?h.pause():h.play()}function j(a){return function(){return f[a]}}function k(a,b,c){return function(){var d=f.plugins.object[a];d&&d[b]&&typeof d[b]=="function"&&d[b].apply(d,c)}}function l(){f.config.playlistfile?(f.addEventListener(a.api.events.JWPLAYER_PLAYLIST_LOADED,m),f.loadPlaylist(f.config.playlistfile)):typeof f.config.playlist=="string"?(f.addEventListener(a.api.events.JWPLAYER_PLAYLIST_LOADED,m),f.loadPlaylist(f.config.playlist)):(f.loadPlaylist(f.config),setTimeout(m,25))}function m(b){f.removeEventListener(a.api.events.JWPLAYER_PLAYLIST_LOADED,m),f.setupPlugins(),g.setup();var b={id:d.id,version:d.version};h.playerReady(b)}var d={},e=document.createElement("div");b.parentNode.replaceChild(e,b),e.id=b.id,d.version=a.version,d.id=e.id;var f=new a.html5.model(d,e,c),g=new a.html5.view(d,e,f),h=new a.html5.controller(d,e,f,g);return d.skin=new a.html5.skin,d.jwPlay=function(a){typeof a=="undefined"?i():a.toString().toLowerCase()=="true"?h.play():h.pause()},d.jwPause=function(a){typeof a=="undefined"?i():a.toString().toLowerCase()=="true"?h.pause():h.play()},d.jwStop=h.stop,d.jwSeek=h.seek,d.jwPlaylistItem=h.item,d.jwPlaylistNext=h.next,d.jwPlaylistPrev=h.prev,d.jwResize=h.resize,d.jwLoad=h.load,d.jwGetItem=j("item"),d.jwGetPosition=j("position"),d.jwGetDuration=j("duration"),d.jwGetBuffer=j("buffer"),d.jwGetWidth=j("width"),d.jwGetHeight=j("height"),d.jwGetFullscreen=j("fullscreen"),d.jwSetFullscreen=h.setFullscreen,d.jwGetVolume=j("volume"),d.jwSetVolume=h.setVolume,d.jwGetMute=j("mute"),d.jwSetMute=h.setMute,d.jwGetStretching=j("stretching"),d.jwGetState=j("state"),d.jwGetVersion=function(){return d.version},d.jwGetPlaylist=function(){return f.playlist},d.jwGetPlaylistIndex=d.jwGetItem,d.jwAddEventListener=h.addEventListener,d.jwRemoveEventListener=h.removeEventListener,d.jwSendEvent=h.sendEvent,d.jwDockSetButton=function(a,b,c,d){f.plugins.object.dock&&f.plugins.object.dock.setButton&&f.plugins.object.dock.setButton(a,b,c,d)},d.jwControlbarShow=k("controlbar","show"),d.jwControlbarHide=k("controlbar","hide"),d.jwDockShow=k("dock","show"),d.jwDockHide=k("dock","hide"),d.jwDisplayShow=k("display","show"),d.jwDisplayHide=k("display","hide"),d.jwGetLevel=function(){},d.jwGetBandwidth=function(){},d.jwGetLockState=function(){},d.jwLock=function(){},d.jwUnlock=function(){},f.config.chromeless&&!a.utils.isIOS()?l():d.skin.load(f.config.skin,l),d}}(jwplayer)}var Loathsome={};Loathsome.initFacebook=function(){window.fbAsyncInit=function(){FB.init({appId:app_id,status:!0,xfbml:!0,music:!0}),FB.Canvas.setAutoGrow(),FB.Event.subscribe("fb.music.PLAY",function(){console.log("play")}),FB.Event.subscribe("fb.music.RESUME",function(){console.log("resume")}),FB.Event.subscribe("fb.music.PAUSE",function(){console.log("pause")}),FB.Event.subscribe("fb.music.STATUS",function(){console.log("status")})}},Loathsome.players=[],Loathsome.initPlayer=function(){$("audio").each(function(){var a=$(this),b,c=a.attr("data-song-url"),d=a.attr("data-musician-url");options={flashplayer:"/assets/player.swf",controlbar:"none",events:{onPlay:function(a){console.log("about to post to Facebook on play"),FB.Music.send("STATUS",{playing:!0,song:c,musician:d,user_id:FB._session.uid})},onPause:function(a){console.log("about to post to Facebook on pause"),FB.Music.send("STATUS",{playing:!1,song:c,musician:d,user_id:FB._session.uid})}}};if(b=a.attr("data-image"))options.image=b;Loathsome.players.push(jwplayer(a.attr("id")).setup(options))})},$(document).ready(function(){Loathsome.initFacebook(),Loathsome.initPlayer(!0)}),function(){}.call(this)
