/*
 * jQuery JavaScript Library v1.5.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: Wed Feb 23 13:55:29 2011 -0500
 */
(function(cF,cG){function al(b){return cI.isWindow(b)?b:b.nodeType===9?b.defaultView||b.parentWindow:!1}function aj(d){if(!am[d]){var e=cI("<"+d+">").appendTo("body"),f=e.css("display");e.remove();if(f==="none"||f===""){f="block"}am[d]=f}return am[d]}function aM(d,e){var f={};cI.each(cn.concat.apply([],cn.slice(0,e)),function(){f[this]=d});return f}function aR(){try{return new cF.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}function cM(){try{return new cF.XMLHttpRequest}catch(a){}}function cP(){cI(cF).unload(function(){for(var b in aP){aP[b](0,1)}})}function cN(x,y){x.dataFilter&&(y=x.dataFilter(y,x.dataType));var z=x.dataTypes,A={},B,d,q=z.length,r,s=z[0],t,u,v,w,b;for(B=1;B<q;B++){if(B===1){for(d in x.converters){typeof d==="string"&&(A[d.toLowerCase()]=x.converters[d])}}t=s,s=z[B];if(s==="*"){s=t}else{if(t!=="*"&&t!==s){u=t+" "+s,v=A[u]||A["* "+s];if(!v){b=cG;for(w in A){r=w.split(" ");if(r[0]===t||r[0]==="*"){b=A[r[1]+" "+s];if(b){w=A[w],w===!0?v=b:b===!0&&(v=w);break}}}}!v&&!b&&cI.error("No conversion from "+u.replace(" "," to ")),v!==!0&&(y=v?v(y):b(w(y)))}}}return y}function au(o,p,q){var r=o.contents,s=o.dataTypes,t=o.responseFields,b,l,m,n;for(l in t){l in q&&(p[t[l]]=q[l])}while(s[0]==="*"){s.shift(),b===cG&&(b=o.mimeType||p.getResponseHeader("content-type"))}if(b){for(l in r){if(r[l]&&r[l].test(b)){s.unshift(l);break}}}if(s[0] in q){m=s[0]}else{for(l in q){if(!s[0]||o.converters[l+" "+s[0]]){m=l;break}n||(n=l)}m=m||n}if(m){m!==s[0]&&s.unshift(m);return q[m]}}function aA(g,h,i,j){if(cI.isArray(h)&&h.length){cI.each(h,function(a,c){i||aG.test(g)?j(g,c):aA(g+"["+(typeof c==="object"||cI.isArray(c)?a:"")+"]",c,i,j)})}else{if(i||h==null||typeof h!=="object"){j(g,h)}else{if(cI.isArray(h)||cI.isEmptyObject(h)){j(g,"")}else{for(var d in h){aA(g+"["+d+"]",h[d],i,j)}}}}}function a4(q,r,s,t,u,v){u=u||r.dataTypes[0],v=v||{},v[u]=!0;var b=q[u],m=0,n=b?b.length:0,o=q===cW,p;for(;m<n&&(o||!p);m++){p=b[m](r,s,t),typeof p==="string"&&(!o||v[p]?p=cG:(r.dataTypes.unshift(p),p=a4(q,r,s,t,p,v)))}(o||!p)&&!v["*"]&&(p=a4(q,r,s,t,"*",v));return p}function cS(b){return function(l,m){typeof l!=="string"&&(m=l,l="*");if(cI.isFunction(m)){var n=l.toLowerCase().split(aB),o=0,p=n.length,a,d,k;for(;o<p;o++){a=n[o],k=/^\+/.test(a),k&&(a=a.substr(1)||"*"),d=b[a]=b[a]||[],d[k?"unshift":"push"](m)}}}}function cl(g,h,i){var j=h==="width"?cE:aJ,d=h==="width"?g.offsetWidth:g.offsetHeight;if(i==="border"){return d}cI.each(j,function(){i||(d-=parseFloat(cI.css(g,"padding"+this))||0),i==="margin"?d+=parseFloat(cI.css(g,"margin"+this))||0:d-=parseFloat(cI.css(g,"border"+this+"Width"))||0});return d}function ag(c,d){d.src?cI.ajax({url:d.src,async:!1,dataType:"script"}):cI.globalEval(d.text||d.textContent||d.innerHTML||""),d.parentNode&&d.parentNode.removeChild(d)}function aX(b){return"getElementsByTagName" in b?b.getElementsByTagName("*"):"querySelectorAll" in b?b.querySelectorAll("*"):[]}function aq(d,e){if(e.nodeType===1){var f=e.nodeName.toLowerCase();e.clearAttributes(),e.mergeAttributes(d);if(f==="object"){e.outerHTML=d.outerHTML}else{if(f!=="input"||d.type!=="checkbox"&&d.type!=="radio"){if(f==="option"){e.selected=d.defaultSelected}else{if(f==="input"||f==="textarea"){e.defaultValue=d.defaultValue}}}else{d.checked&&(e.defaultChecked=e.checked=d.checked),e.value!==d.value&&(e.value=d.value)}}e.removeAttribute(cI.expando)}}function aT(m,n){if(n.nodeType===1&&cI.hasData(m)){var o=cI.expando,p=cI.data(m),q=cI.data(n,p);if(p=p[o]){var r=p.events;q=q[o]=cI.extend({},p);if(r){delete q.handle,q.events={};for(var d in r){for(var k=0,l=r[d].length;k<l;k++){cI.event.add(n,d+(r[d][k].namespace?".":"")+r[d][k].namespace,r[d][k],r[d][k].data)}}}}}}function aS(c,d){return cI.nodeName(c,"table")?c.getElementsByTagName("tbody")[0]||c.appendChild(c.ownerDocument.createElement("tbody")):c}function b3(d,f,g){if(cI.isFunction(f)){return cI.grep(d,function(b,c){var i=!!f.call(b,c,b);return i===g})}if(f.nodeType){return cI.grep(d,function(b,c){return b===f===g})}if(typeof f==="string"){var h=cI.grep(d,function(b){return b.nodeType===1});if(a8.test(f)){return cI.filter(f,h,!g)}f=cI.filter(f,h)}return cI.grep(d,function(b,c){return cI.inArray(b,f)>=0===g})}function b2(b){return !b||!b.parentNode||b.parentNode.nodeType===11}function b9(c,d){return(c&&c!=="*"?c+".":"")+d.replace(cq,"`").replace(cr,"&")}function b8(E){var F,G,H,I,J,w,x,y,z,A,B,C,D,d=[],p=[],u=cI._data(this,"events");if(E.liveFired!==this&&u&&u.live&&!E.target.disabled&&(!E.button||E.type!=="click")){E.namespace&&(C=new RegExp("(^|\\.)"+E.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),E.liveFired=this;var v=u.live.slice(0);for(x=0;x<v.length;x++){J=v[x],J.origType.replace(co,"")===E.type?p.push(J.selector):v.splice(x--,1)}I=cI(E.target).closest(p,E.currentTarget);for(y=0,z=I.length;y<z;y++){B=I[y];for(x=0;x<v.length;x++){J=v[x];if(B.selector===J.selector&&(!C||C.test(J.namespace))&&!B.elem.disabled){w=B.elem,H=null;if(J.preType==="mouseenter"||J.preType==="mouseleave"){E.type=J.preType,H=cI(E.relatedTarget).closest(J.selector)[0]}(!H||H!==w)&&d.push({elem:w,handleObj:J,level:B.level})}}}for(y=0,z=d.length;y<z;y++){I=d[y];if(G&&I.level>G){break}E.currentTarget=I.elem,E.data=I.handleObj.data,E.handleObj=I.handleObj,D=I.handleObj.origHandler.apply(I.elem,arguments);if(D===!1||E.isPropagationStopped()){G=I.level,D===!1&&(F=!1);if(E.isImmediatePropagationStopped()){break}}}return F}}function b6(d,g,h){var b=cI.extend({},h[0]);b.type=d,b.originalEvent={},b.liveFired=cG,cI.event.handle.call(g,b),b.isDefaultPrevented()&&h[0].preventDefault()}function cv(){return !0}function cu(){return !1}function cL(c){for(var d in c){if(d!=="toJSON"){return !1}}return !0}function cK(e,h,b){if(b===cG&&e.nodeType===1){b=e.getAttribute("data-"+h);if(typeof b==="string"){try{b=b==="true"?!0:b==="false"?!1:b==="null"?null:cI.isNaN(b)?cJ.test(b)?cI.parseJSON(b):b:parseFloat(b)}catch(d){}cI.data(e,h,b)}else{b=cG}}return b}var cH=cF.document,cI=function(){function bl(){if(!bg.isReady){try{cH.documentElement.doScroll("left")}catch(d){setTimeout(bl,1);return}bg.ready()}}var bg=function(d,e){return new bg.fn.init(d,e,bj)},bh=cF.jQuery,bi=cF.$,bj,Y=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,Z=/\S/,ba=/^\s+/,bb=/\s+$/,bc=/\d/,bd=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,be=/^[\],:{}\s]*$/,bf=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,Q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,R=/(?:^|:|,)(?:\s*\[)+/g,S=/(webkit)[ \/]([\w.]+)/,T=/(opera)(?:.*version)?[ \/]([\w.]+)/,U=/(msie) ([\w.]+)/,V=/(mozilla)(?:.*? rv:([\w.]+))?/,W=navigator.userAgent,X,N=!1,O,P="then done fail isResolved isRejected promise".split(" "),a,b=Object.prototype.toString,c=Object.prototype.hasOwnProperty,J=Array.prototype.push,K=Array.prototype.slice,L=String.prototype.trim,M=Array.prototype.indexOf,bk={};bg.fn=bg.prototype={constructor:bg,init:function(m,n,o){var p,d,h,l;if(!m){return this}if(m.nodeType){this.context=this[0]=m,this.length=1;return this}if(m==="body"&&!n&&cH.body){this.context=cH,this[0]=cH.body,this.selector="body",this.length=1;return this}if(typeof m==="string"){p=Y.exec(m);if(!p||!p[1]&&n){return !n||n.jquery?(n||o).find(m):this.constructor(n).find(m)}if(p[1]){n=n instanceof bg?n[0]:n,l=n?n.ownerDocument||n:cH,h=bd.exec(m),h?bg.isPlainObject(n)?(m=[cH.createElement(h[1])],bg.fn.attr.call(m,n,!0)):m=[l.createElement(h[1])]:(h=bg.buildFragment([p[1]],[l]),m=(h.cacheable?bg.clone(h.fragment):h.fragment).childNodes);return bg.merge(this,m)}d=cH.getElementById(p[2]);if(d&&d.parentNode){if(d.id!==p[2]){return o.find(m)}this.length=1,this[0]=d}this.context=cH,this.selector=m;return this}if(bg.isFunction(m)){return o.ready(m)}m.selector!==cG&&(this.selector=m.selector,this.context=m.context);return bg.makeArray(m,this)},selector:"",jquery:"1.5.1",length:0,size:function(){return this.length},toArray:function(){return K.call(this,0)},get:function(d){return d==null?this.toArray():d<0?this[this.length+d]:this[d]},pushStack:function(d,f,g){var h=this.constructor();bg.isArray(d)?J.apply(h,d):bg.merge(h,d),h.prevObject=this,h.context=this.context,f==="find"?h.selector=this.selector+(this.selector?" ":"")+g:f&&(h.selector=this.selector+"."+f+"("+g+")");return h},each:function(d,e){return bg.each(this,d,e)},ready:function(d){bg.bindReady(),O.done(d);return this},eq:function(d){return d===-1?this.slice(d):this.slice(d,+d+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(K.apply(this,arguments),"slice",K.call(arguments).join(","))},map:function(d){return this.pushStack(bg.map(this,function(e,f){return d.call(e,f,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:J,sort:[].sort,splice:[].splice},bg.fn.init.prototype=bg.fn,bg.extend=bg.fn.extend=function(){var q,r,s,t,u,d,m=arguments[0]||{},n=1,o=arguments.length,p=!1;typeof m==="boolean"&&(p=m,m=arguments[1]||{},n=2),typeof m!=="object"&&!bg.isFunction(m)&&(m={}),o===n&&(m=this,--n);for(;n<o;n++){if((q=arguments[n])!=null){for(r in q){s=m[r],t=q[r];if(m===t){continue}p&&t&&(bg.isPlainObject(t)||(u=bg.isArray(t)))?(u?(u=!1,d=s&&bg.isArray(s)?s:[]):d=s&&bg.isPlainObject(s)?s:{},m[r]=bg.extend(p,d,t)):t!==cG&&(m[r]=t)}}}return m},bg.extend({noConflict:function(d){cF.$=bi,d&&(cF.jQuery=bh);return bg},isReady:!1,readyWait:1,ready:function(d){d===!0&&bg.readyWait--;if(!bg.readyWait||d!==!0&&!bg.isReady){if(!cH.body){return setTimeout(bg.ready,1)}bg.isReady=!0;if(d!==!0&&--bg.readyWait>0){return}O.resolveWith(cH,[bg]),bg.fn.trigger&&bg(cH).trigger("ready").unbind("ready")}},bindReady:function(){if(!N){N=!0;if(cH.readyState==="complete"){return setTimeout(bg.ready,1)}if(cH.addEventListener){cH.addEventListener("DOMContentLoaded",a,!1),cF.addEventListener("load",bg.ready,!1)}else{if(cH.attachEvent){cH.attachEvent("onreadystatechange",a),cF.attachEvent("onload",bg.ready);var f=!1;try{f=cF.frameElement==null}catch(d){}cH.documentElement.doScroll&&f&&bl()}}}},isFunction:function(d){return bg.type(d)==="function"},isArray:Array.isArray||function(d){return bg.type(d)==="array"},isWindow:function(d){return d&&typeof d==="object"&&"setInterval" in d},isNaN:function(d){return d==null||!bc.test(d)||isNaN(d)},type:function(d){return d==null?String(d):bk[b.call(d)]||"object"},isPlainObject:function(d){if(!d||bg.type(d)!=="object"||d.nodeType||bg.isWindow(d)){return !1}if(d.constructor&&!c.call(d,"constructor")&&!c.call(d.constructor.prototype,"isPrototypeOf")){return !1}var e;for(e in d){}return e===cG||c.call(d,e)},isEmptyObject:function(d){for(var e in d){return !1}return !0},error:function(d){throw d},parseJSON:function(d){if(typeof d!=="string"||!d){return null}d=bg.trim(d);if(be.test(d.replace(bf,"@").replace(Q,"]").replace(R,""))){return cF.JSON&&cF.JSON.parse?cF.JSON.parse(d):(new Function("return "+d))()}bg.error("Invalid JSON: "+d)},parseXML:function(d,f,g){cF.DOMParser?(g=new DOMParser,f=g.parseFromString(d,"text/xml")):(f=new ActiveXObject("Microsoft.XMLDOM"),f.async="false",f.loadXML(d)),g=f.documentElement,(!g||!g.nodeName||g.nodeName==="parsererror")&&bg.error("Invalid XML: "+d);return f},noop:function(){},globalEval:function(d){if(d&&Z.test(d)){var f=cH.head||cH.getElementsByTagName("head")[0]||cH.documentElement,g=cH.createElement("script");bg.support.scriptEval()?g.appendChild(cH.createTextNode(d)):g.text=d,f.insertBefore(g,f.firstChild),f.removeChild(g)}},nodeName:function(d,e){return d.nodeName&&d.nodeName.toUpperCase()===e.toUpperCase()},each:function(m,n,o){var p,q=0,d=m.length,k=d===cG||bg.isFunction(m);if(o){if(k){for(p in m){if(n.apply(m[p],o)===!1){break}}}else{for(;q<d;){if(n.apply(m[q++],o)===!1){break}}}}else{if(k){for(p in m){if(n.call(m[p],p,m[p])===!1){break}}}else{for(var l=m[0];q<d&&n.call(l,q,l)!==!1;l=m[++q]){}}}return m},trim:L?function(d){return d==null?"":L.call(d)}:function(d){return d==null?"":(d+"").replace(ba,"").replace(bb,"")},makeArray:function(d,f){var g=f||[];if(d!=null){var h=bg.type(d);d.length==null||h==="string"||h==="function"||h==="regexp"||bg.isWindow(d)?J.call(g,d):bg.merge(g,d)}return g},inArray:function(e,f){if(f.indexOf){return f.indexOf(e)}for(var g=0,h=f.length;g<h;g++){if(f[g]===e){return g}}return -1},merge:function(h,i){var j=h.length,k=0;if(typeof i.length==="number"){for(var g=i.length;k<g;k++){h[j++]=i[k]}}else{while(i[k]!==cG){h[j++]=i[k++]}}h.length=j;return h},grep:function(h,i,j){var k=[],l;j=!!j;for(var m=0,n=h.length;m<n;m++){l=!!i(h[m],m),j!==l&&k.push(h[m])}return k},map:function(h,i,j){var k=[],l;for(var m=0,n=h.length;m<n;m++){l=i(h[m],m,j),l!=null&&(k[k.length]=l)}return k.concat.apply([],k)},guid:1,proxy:function(d,f,g){arguments.length===2&&(typeof f==="string"?(g=d,d=g[f],f=cG):f&&!bg.isFunction(f)&&(g=f,f=cG)),!f&&d&&(f=function(){return d.apply(g||this,arguments)}),d&&(f.guid=d.guid=d.guid||f.guid||bg.guid++);return f},access:function(o,p,q,r,s,d){var l=o.length;if(typeof p==="object"){for(var m in p){bg.access(o,m,p[m],r,s,q)}return o}if(q!==cG){r=!d&&r&&bg.isFunction(q);for(var n=0;n<l;n++){s(o[n],p,r?q.call(o[n],n,s(o[n],p)):q,d)}return o}return l?s(o[0],p):cG},now:function(){return(new Date).getTime()},_Deferred:function(){var g=[],h,i,j,d={done:function(){if(!j){var n=arguments,o,e,f,l,m;h&&(m=h,h=0);for(o=0,e=n.length;o<e;o++){f=n[o],l=bg.type(f),l==="array"?d.done.apply(d,f):l==="function"&&g.push(f)}m&&d.resolveWith(m[0],m[1])}return this},resolveWith:function(l,e){if(!j&&!h&&!i){i=1;try{while(g[0]){g.shift().apply(l,e)}}catch(k){throw k}finally{h=[l,e],i=0}}return this},resolve:function(){d.resolveWith(bg.isFunction(this.promise)?this.promise():this,arguments);return this},isResolved:function(){return i||h},cancel:function(){j=1,g=[];return this}};return d},Deferred:function(d){var f=bg._Deferred(),g=bg._Deferred(),h;bg.extend(f,{then:function(e,i){f.done(e).fail(i);return this},fail:g.done,rejectWith:g.resolveWith,reject:g.resolve,isRejected:g.isResolved,promise:function(e){if(e==null){if(h){return h}h=e={}}var i=P.length;while(i--){e[P[i]]=f[P[i]]}return e}}),f.done(g.cancel).fail(f.cancel),delete f.cancel,d&&d.call(f,f);return f},when:function(i){var j=arguments.length,k=j<=1&&i&&bg.isFunction(i.promise)?i:bg.Deferred(),l=k.promise();if(j>1){var m=K.call(arguments,0),n=j,d=function(e){return function(f){m[e]=arguments.length>1?K.call(arguments,0):f,--n||k.resolveWith(l,m)}};while(j--){i=m[j],i&&bg.isFunction(i.promise)?i.promise().then(d(j),k.reject):--n}n||k.resolveWith(l,m)}else{k!==i&&k.resolve(i)}return l},uaMatch:function(d){d=d.toLowerCase();var e=S.exec(d)||T.exec(d)||U.exec(d)||d.indexOf("compatible")<0&&V.exec(d)||[];return{browser:e[1]||"",version:e[2]||"0"}},sub:function(){function d(e,h){return new d.fn.init(e,h)}bg.extend(!0,d,this),d.superclass=this,d.fn=d.prototype=this(),d.fn.constructor=d,d.subclass=this.subclass,d.fn.init=function f(e,h){h&&h instanceof bg&&!(h instanceof d)&&(h=d(h));return bg.fn.init.call(this,e,h,g)},d.fn.init.prototype=d.fn;var g=d(cH);return d},browser:{}}),O=bg._Deferred(),bg.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(d,e){bk["[object "+e+"]"]=e.toLowerCase()}),X=bg.uaMatch(W),X.browser&&(bg.browser[X.browser]=!0,bg.browser.version=X.version),bg.browser.webkit&&(bg.browser.safari=!0),M&&(bg.inArray=function(d,e){return M.call(e,d)}),Z.test("�")&&(ba=/^[\s\xA0]+/,bb=/[\s\xA0]+$/),bj=bg(cH),cH.addEventListener?a=function(){cH.removeEventListener("DOMContentLoaded",a,!1),bg.ready()}:cH.attachEvent&&(a=function(){cH.readyState==="complete"&&(cH.detachEvent("onreadystatechange",a),bg.ready())});return bg}();(function(){cI.support={};var s=cH.createElement("div");s.style.display="none",s.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var t=s.getElementsByTagName("*"),u=s.getElementsByTagName("a")[0],v=cH.createElement("select"),a=v.appendChild(cH.createElement("option")),c=s.getElementsByTagName("input")[0];if(t&&t.length&&u){cI.support={leadingWhitespace:s.firstChild.nodeType===3,tbody:!s.getElementsByTagName("tbody").length,htmlSerialize:!!s.getElementsByTagName("link").length,style:/red/.test(u.getAttribute("style")),hrefNormalized:u.getAttribute("href")==="/a",opacity:/^0.55$/.test(u.style.opacity),cssFloat:!!u.style.cssFloat,checkOn:c.value==="on",optSelected:a.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0},c.checked=!0,cI.support.noCloneChecked=c.cloneNode(!0).checked,v.disabled=!0,cI.support.optDisabled=!a.disabled;var d=null;cI.support.scriptEval=function(){if(d===null){var j=cH.documentElement,k=cH.createElement("script"),h="script"+cI.now();try{k.appendChild(cH.createTextNode("window."+h+"=1;"))}catch(i){}j.insertBefore(k,j.firstChild),cF[h]?(d=!0,delete cF[h]):d=!1,j.removeChild(k),j=k=h=null}return d};try{delete s.test}catch(o){cI.support.deleteExpando=!1}!s.addEventListener&&s.attachEvent&&s.fireEvent&&(s.attachEvent("onclick",function p(){cI.support.noCloneEvent=!1,s.detachEvent("onclick",p)}),s.cloneNode(!0).fireEvent("onclick")),s=cH.createElement("div"),s.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var q=cH.createDocumentFragment();q.appendChild(s.firstChild),cI.support.checkClone=q.cloneNode(!0).cloneNode(!0).lastChild.checked,cI(function(){var f=cH.createElement("div"),g=cH.getElementsByTagName("body")[0];if(g){f.style.width=f.style.paddingLeft="1px",g.appendChild(f),cI.boxModel=cI.support.boxModel=f.offsetWidth===2,"zoom" in f.style&&(f.style.display="inline",f.style.zoom=1,cI.support.inlineBlockNeedsLayout=f.offsetWidth===2,f.style.display="",f.innerHTML="<div style='width:4px;'></div>",cI.support.shrinkWrapBlocks=f.offsetWidth!==2),f.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var h=f.getElementsByTagName("td");cI.support.reliableHiddenOffsets=h[0].offsetHeight===0,h[0].style.display="",h[1].style.display="none",cI.support.reliableHiddenOffsets=cI.support.reliableHiddenOffsets&&h[0].offsetHeight===0,f.innerHTML="",g.removeChild(f).style.display="none",f=h=null}});var r=function(e){var f=cH.createElement("div");e="on"+e;if(!f.attachEvent){return !0}var g=e in f;g||(f.setAttribute(e,"return;"),g=typeof f[e]==="function"),f=null;return g};cI.support.submitBubbles=r("submit"),cI.support.changeBubbles=r("change"),s=t=u=null}})();var cJ=/^(?:\{.*\}|\[.*\])$/;cI.extend({cache:{},uuid:0,expando:"jQuery"+(cI.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(b){b=b.nodeType?cI.cache[b[cI.expando]]:b[cI.expando];return !!b&&!cL(b)},data:function(p,q,r,s){if(cI.acceptData(p)){var t=cI.expando,b=typeof q==="string",d,m=p.nodeType,n=m?cI.cache:p,o=m?p[cI.expando]:p[cI.expando]&&cI.expando;if((!o||s&&o&&!n[o][t])&&b&&r===cG){return}o||(m?p[cI.expando]=o=++cI.uuid:o=cI.expando),n[o]||(n[o]={},m||(n[o].toJSON=cI.noop));if(typeof q==="object"||typeof q==="function"){s?n[o][t]=cI.extend(n[o][t],q):n[o]=cI.extend(n[o],q)}d=n[o],s&&(d[t]||(d[t]={}),d=d[t]),r!==cG&&(d[q]=r);if(q==="events"&&!d[q]){return d[t]&&d[t].events}return b?d[q]:d}},removeData:function(o,p,q){if(cI.acceptData(o)){var r=cI.expando,a=o.nodeType,d=a?cI.cache:o,g=a?o[cI.expando]:cI.expando;if(!d[g]){return}if(p){var m=q?d[g][r]:d[g];if(m){delete m[p];if(!cL(m)){return}}}if(q){delete d[g][r];if(!cL(d[g])){return}}var n=d[g][r];cI.support.deleteExpando||d!=cF?delete d[g]:d[g]=null,n?(d[g]={},a||(d[g].toJSON=cI.noop),d[g][r]=n):a&&(cI.support.deleteExpando?delete o[cI.expando]:o.removeAttribute?o.removeAttribute(cI.expando):o[cI.expando]=null)}},_data:function(d,e,f){return cI.data(d,e,f,!0)},acceptData:function(c){if(c.nodeName){var d=cI.noData[c.nodeName.toLowerCase()];if(d){return d!==!0&&c.getAttribute("classid")===d}}return !0}}),cI.fn.extend({data:function(m,n){var o=null;if(typeof m==="undefined"){if(this.length){o=cI.data(this[0]);if(this[0].nodeType===1){var p=this[0].attributes,b;for(var d=0,f=p.length;d<f;d++){b=p[d].name,b.indexOf("data-")===0&&(b=b.substr(5),cK(this[0],b,o[b]))}}}return o}if(typeof m==="object"){return this.each(function(){cI.data(this,m)})}var l=m.split(".");l[1]=l[1]?"."+l[1]:"";if(n===cG){o=this.triggerHandler("getData"+l[1]+"!",[l[0]]),o===cG&&this.length&&(o=cI.data(this[0],m),o=cK(this[0],m,o));return o===cG&&l[1]?this.data(l[0]):o}return this.each(function(){var c=cI(this),a=[l[0],n];c.triggerHandler("setData"+l[1]+"!",a),cI.data(this,m,n),c.triggerHandler("changeData"+l[1]+"!",a)})},removeData:function(b){return this.each(function(){cI.removeData(this,b)})}}),cI.extend({queue:function(d,f,g){if(d){f=(f||"fx")+"queue";var h=cI._data(d,f);if(!g){return h||[]}!h||cI.isArray(g)?h=cI._data(d,f,cI.makeArray(g)):h.push(g);return h}},dequeue:function(d,f){f=f||"fx";var g=cI.queue(d,f),h=g.shift();h==="inprogress"&&(h=g.shift()),h&&(f==="fx"&&g.unshift("inprogress"),h.call(d,function(){cI.dequeue(d,f)})),g.length||cI.removeData(d,f+"queue",!0)}}),cI.fn.extend({queue:function(b,d){typeof b!=="string"&&(d=b,b="fx");if(d===cG){return cI.queue(this[0],b)}return this.each(function(c){var a=cI.queue(this,b,d);b==="fx"&&a[0]!=="inprogress"&&cI.dequeue(this,b)})},dequeue:function(b){return this.each(function(){cI.dequeue(this,b)})},delay:function(c,d){c=cI.fx?cI.fx.speeds[c]||c:c,d=d||"fx";return this.queue(d,function(){var a=this;setTimeout(function(){cI.dequeue(a,d)},c)})},clearQueue:function(b){return this.queue(b||"fx",[])}});var cw=/[\n\t\r]/g,cx=/\s+/,cy=/\r/g,cz=/^(?:href|src|style)$/,cA=/^(?:button|input)$/i,cB=/^(?:button|input|object|select|textarea)$/i,cC=/^a(?:rea)?$/i,cD=/^(?:radio|checkbox)$/i;cI.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"},cI.fn.extend({attr:function(c,d){return cI.access(this,c,d,!0,cI.attr)},removeAttr:function(c,d){return this.each(function(){cI.attr(this,c,""),this.nodeType===1&&this.removeAttribute(c)})},addClass:function(m){if(cI.isFunction(m)){return this.each(function(a){var e=cI(this);e.addClass(m.call(this,a,e.attr("class")))})}if(m&&typeof m==="string"){var n=(m||"").split(cx);for(var o=0,p=this.length;o<p;o++){var q=this[o];if(q.nodeType===1){if(q.className){var r=" "+q.className+" ",d=q.className;for(var i=0,l=n.length;i<l;i++){r.indexOf(" "+n[i]+" ")<0&&(d+=" "+n[i])}q.className=cI.trim(d)}else{q.className=m}}}}return this},removeClass:function(i){if(cI.isFunction(i)){return this.each(function(a){var e=cI(this);e.removeClass(i.call(this,a,e.attr("class")))})}if(i&&typeof i==="string"||i===cG){var m=(i||"").split(cx);for(var n=0,o=this.length;n<o;n++){var p=this[n];if(p.nodeType===1&&p.className){if(i){var b=(" "+p.className+" ").replace(cw," ");for(var d=0,h=m.length;d<h;d++){b=b.replace(" "+m[d]+" "," ")}p.className=cI.trim(b)}else{p.className=""}}}}return this},toggleClass:function(d,f){var g=typeof d,h=typeof f==="boolean";if(cI.isFunction(d)){return this.each(function(b){var a=cI(this);a.toggleClass(d.call(this,b,a.attr("class"),f),f)})}return this.each(function(){if(g==="string"){var a,b=0,i=cI(this),c=f,e=d.split(cx);while(a=e[b++]){c=h?c:!i.hasClass(a),i[c?"addClass":"removeClass"](a)}}else{if(g==="undefined"||g==="boolean"){this.className&&cI._data(this,"__className__",this.className),this.className=this.className||d===!1?"":cI._data(this,"__className__")||""}}})},hasClass:function(e){var f=" "+e+" ";for(var g=0,h=this.length;g<h;g++){if((" "+this[g].className+" ").replace(cw," ").indexOf(f)>-1){return !0}}return !1},val:function(r){if(!arguments.length){var s=this[0];if(s){if(cI.nodeName(s,"option")){var t=s.attributes.value;return !t||t.specified?s.value:s.text}if(cI.nodeName(s,"select")){var u=s.selectedIndex,v=[],b=s.options,d=s.type==="select-one";if(u<0){return null}for(var j=d?u:0,o=d?u+1:b.length;j<o;j++){var p=b[j];if(p.selected&&(cI.support.optDisabled?!p.disabled:p.getAttribute("disabled")===null)&&(!p.parentNode.disabled||!cI.nodeName(p.parentNode,"optgroup"))){r=cI(p).val();if(d){return r}v.push(r)}}if(d&&!v.length&&b.length){return cI(b[u]).val()}return v}if(cD.test(s.type)&&!cI.support.checkOn){return s.getAttribute("value")===null?"on":s.value}return(s.value||"").replace(cy,"")}return cG}var q=cI.isFunction(r);return this.each(function(g){var h=cI(this),i=r;if(this.nodeType===1){q&&(i=r.call(this,g,h.val())),i==null?i="":typeof i==="number"?i+="":cI.isArray(i)&&(i=cI.map(i,function(c){return c==null?"":c+""}));if(cI.isArray(i)&&cD.test(this.type)){this.checked=cI.inArray(h.val(),i)>=0}else{if(cI.nodeName(this,"select")){var a=cI.makeArray(i);cI("option",this).each(function(){this.selected=cI.inArray(cI(this).val(),a)>=0}),a.length||(this.selectedIndex=-1)}else{this.value=i}}}})}}),cI.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(m,q,r,s){if(!m||m.nodeType===3||m.nodeType===8||m.nodeType===2){return cG}if(s&&q in cI.attrFn){return cI(m)[q](r)}var t=m.nodeType!==1||!cI.isXMLDoc(m),b=r!==cG;q=t&&cI.props[q]||q;if(m.nodeType===1){var d=cz.test(q);if(q==="selected"&&!cI.support.optSelected){var k=m.parentNode;k&&(k.selectedIndex,k.parentNode&&k.parentNode.selectedIndex)}if((q in m||m[q]!==cG)&&t&&!d){b&&(q==="type"&&cA.test(m.nodeName)&&m.parentNode&&cI.error("type property can't be changed"),r===null?m.nodeType===1&&m.removeAttribute(q):m[q]=r);if(cI.nodeName(m,"form")&&m.getAttributeNode(q)){return m.getAttributeNode(q).nodeValue}if(q==="tabIndex"){var l=m.getAttributeNode("tabIndex");return l&&l.specified?l.value:cB.test(m.nodeName)||cC.test(m.nodeName)&&m.href?0:cG}return m[q]}if(!cI.support.style&&t&&q==="style"){b&&(m.style.cssText=""+r);return m.style.cssText}b&&m.setAttribute(q,""+r);if(!m.attributes[q]&&(m.hasAttribute&&!m.hasAttribute(q))){return cG}var n=!cI.support.hrefNormalized&&t&&d?m.getAttribute(q,2):m.getAttribute(q);return n===null?cG:n}b&&(m[q]=r);return m[q]}});var co=/\.(.*)$/,cp=/^(?:textarea|input|select)$/i,cq=/\./g,cr=/ /g,cs=/[^\w\s.|`]/g,ct=function(b){return b.replace(cs,"\\$&")};cI.event={add:function(A,B,C,D){if(A.nodeType!==3&&A.nodeType!==8){try{cI.isWindow(A)&&(A!==cF&&!A.frameElement)&&(A=cF)}catch(s){}if(C===!1){C=cu}else{if(!C){return}}var t,u;C.handler&&(t=C,C=t.handler),C.guid||(C.guid=cI.guid++);var v=cI._data(A);if(!v){return}var w=v.events,x=v.handle;w||(v.events=w={}),x||(v.handle=x=function(){return typeof cI!=="undefined"&&!cI.event.triggered?cI.event.handle.apply(x.elem,arguments):cG}),x.elem=A,B=B.split(" ");var y,z=0,a;while(y=B[z++]){u=t?cI.extend({},t):{handler:C,data:D},y.indexOf(".")>-1?(a=y.split("."),y=a.shift(),u.namespace=a.slice(0).sort().join(".")):(a=[],u.namespace=""),u.type=y,u.guid||(u.guid=C.guid);var b=w[y],d=cI.event.special[y]||{};if(!b){b=w[y]=[];if(!d.setup||d.setup.call(A,D,a,x)===!1){A.addEventListener?A.addEventListener(y,x,!1):A.attachEvent&&A.attachEvent("on"+y,x)}}d.add&&(d.add.call(A,u),u.handler.guid||(u.handler.guid=C.guid)),b.push(u),cI.event.global[y]=!0}A=null}},global:{},remove:function(H,I,J,K){if(H.nodeType!==3&&H.nodeType!==8){J===!1&&(J=cu);var L,z,A,B,C=0,D,E,F,G,b,d,u,v=cI.hasData(H)&&cI._data(H),x=v&&v.events;if(!v||!x){return}I&&I.type&&(J=I.handler,I=I.type);if(!I||typeof I==="string"&&I.charAt(0)==="."){I=I||"";for(z in x){cI.event.remove(H,z+I)}return}I=I.split(" ");while(z=I[C++]){u=z,d=null,D=z.indexOf(".")<0,E=[],D||(E=z.split("."),z=E.shift(),F=new RegExp("(^|\\.)"+cI.map(E.slice(0).sort(),ct).join("\\.(?:.*\\.)?")+"(\\.|$)")),b=x[z];if(!b){continue}if(!J){for(B=0;B<b.length;B++){d=b[B];if(D||F.test(d.namespace)){cI.event.remove(H,u,d.handler,B),b.splice(B--,1)}}continue}G=cI.event.special[z]||{};for(B=K||0;B<b.length;B++){d=b[B];if(J.guid===d.guid){if(D||F.test(d.namespace)){K==null&&b.splice(B--,1),G.remove&&G.remove.call(H,d)}if(K!=null){break}}}if(b.length===0||K!=null&&b.length===1){(!G.teardown||G.teardown.call(H,E)===!1)&&cI.removeEvent(H,z,v.handle),L=null,delete x[z]}}if(cI.isEmptyObject(x)){var y=v.handle;y&&(y.elem=null),delete v.events,delete v.handle,cI.isEmptyObject(v)&&cI.removeData(H,cG,!0)}}},trigger:function(x,y,z){var A=x.type||x,B=arguments[3];if(!B){x=typeof x==="object"?x[cI.expando]?x:cI.extend(cI.Event(A),x):cI.Event(A),A.indexOf("!")>=0&&(x.type=A=A.slice(0,-1),x.exclusive=!0),z||(x.stopPropagation(),cI.event.global[A]&&cI.each(cI.cache,function(){var c=cI.expando,a=this[c];a&&a.events&&a.events[A]&&cI.event.trigger(x,y,a.handle.elem)}));if(!z||z.nodeType===3||z.nodeType===8){return cG}x.result=cG,x.target=z,y=cI.makeArray(y),y.unshift(x)}x.currentTarget=z;var d=cI._data(z,"handle");d&&d.apply(z,y);var p=z.parentNode||z.ownerDocument;try{z&&z.nodeName&&cI.noData[z.nodeName.toLowerCase()]||z["on"+A]&&z["on"+A].apply(z,y)===!1&&(x.result=!1,x.preventDefault())}catch(r){}if(!x.isPropagationStopped()&&p){cI.event.trigger(x,y,p,!0)}else{if(!x.isDefaultPrevented()){var s,t=x.target,u=A.replace(co,""),v=cI.nodeName(t,"a")&&u==="click",w=cI.event.special[u]||{};if((!w._default||w._default.call(z,x)===!1)&&!v&&!(t&&t.nodeName&&cI.noData[t.nodeName.toLowerCase()])){try{t[u]&&(s=t["on"+u],s&&(t["on"+u]=null),cI.event.triggered=!0,t[u]())}catch(b){}s&&(t["on"+u]=s),cI.event.triggered=!1}}}},handle:function(u){var v,w,x,a,b,d=[],p=cI.makeArray(arguments);u=p[0]=cI.event.fix(u||cF.event),u.currentTarget=this,v=u.type.indexOf(".")<0&&!u.exclusive,v||(x=u.type.split("."),u.type=x.shift(),d=x.slice(0).sort(),a=new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.)?")+"(\\.|$)")),u.namespace=u.namespace||d.join("."),b=cI._data(this,"events"),w=(b||{})[u.type];if(b&&w){w=w.slice(0);for(var q=0,r=w.length;q<r;q++){var s=w[q];if(v||a.test(s.namespace)){u.handler=s.handler,u.data=s.data,u.handleObj=s;var t=s.handler.apply(this,p);t!==cG&&(u.result=t,t===!1&&(u.preventDefault(),u.stopPropagation()));if(u.isImmediatePropagationStopped()){break}}}}return u.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(d){if(d[cI.expando]){return d}var j=d;d=cI.Event(j);for(var k=this.props.length,l;k;){l=this.props[--k],d[l]=j[l]}d.target||(d.target=d.srcElement||cH),d.target.nodeType===3&&(d.target=d.target.parentNode),!d.relatedTarget&&d.fromElement&&(d.relatedTarget=d.fromElement===d.target?d.toElement:d.fromElement);if(d.pageX==null&&d.clientX!=null){var b=cH.documentElement,c=cH.body;d.pageX=d.clientX+(b&&b.scrollLeft||c&&c.scrollLeft||0)-(b&&b.clientLeft||c&&c.clientLeft||0),d.pageY=d.clientY+(b&&b.scrollTop||c&&c.scrollTop||0)-(b&&b.clientTop||c&&c.clientTop||0)}d.which==null&&(d.charCode!=null||d.keyCode!=null)&&(d.which=d.charCode!=null?d.charCode:d.keyCode),!d.metaKey&&d.ctrlKey&&(d.metaKey=d.ctrlKey),!d.which&&d.button!==cG&&(d.which=d.button&1?1:d.button&2?3:d.button&4?2:0);return d},guid:100000000,proxy:cI.proxy,special:{ready:{setup:cI.bindReady,teardown:cI.noop},live:{add:function(b){cI.event.add(this,b9(b.origType,b.selector),cI.extend({},b,{handler:b8,guid:b.handler.guid}))},remove:function(b){cI.event.remove(this,b9(b.origType,b.selector),b)}},beforeunload:{setup:function(d,e,f){cI.isWindow(this)&&(this.onbeforeunload=f)},teardown:function(c,d){this.onbeforeunload===d&&(this.onbeforeunload=null)}}}},cI.removeEvent=cH.removeEventListener?function(d,e,f){d.removeEventListener&&d.removeEventListener(e,f,!1)}:function(d,e,f){d.detachEvent&&d.detachEvent("on"+e,f)},cI.Event=function(b){if(!this.preventDefault){return new cI.Event(b)}b&&b.type?(this.originalEvent=b,this.type=b.type,this.isDefaultPrevented=b.defaultPrevented||b.returnValue===!1||b.getPreventDefault&&b.getPreventDefault()?cv:cu):this.type=b,this.timeStamp=cI.now(),this[cI.expando]=!0},cI.Event.prototype={preventDefault:function(){this.isDefaultPrevented=cv;var b=this.originalEvent;b&&(b.preventDefault?b.preventDefault():b.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=cv;var b=this.originalEvent;b&&(b.stopPropagation&&b.stopPropagation(),b.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=cv,this.stopPropagation()},isDefaultPrevented:cu,isPropagationStopped:cu,isImmediatePropagationStopped:cu};var ci=function(c){var d=c.relatedTarget;try{if(d!==cH&&!d.parentNode){return}while(d&&d!==this){d=d.parentNode}d!==this&&(c.type=c.data,cI.event.handle.apply(this,arguments))}catch(f){}},cj=function(b){b.type=b.data,cI.event.handle.apply(this,arguments)};cI.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(c,d){cI.event.special[c]={setup:function(a){cI.event.add(this,d,a&&a.selector?cj:ci,c)},teardown:function(b){cI.event.remove(this,d,b&&b.selector?cj:ci)}}}),cI.support.submitBubbles||(cI.event.special.submit={setup:function(c,d){if(this.nodeName&&this.nodeName.toLowerCase()!=="form"){cI.event.add(this,"click.specialSubmit",function(e){var f=e.target,g=f.type;(g==="submit"||g==="image")&&cI(f).closest("form").length&&b6("submit",this,arguments)}),cI.event.add(this,"keypress.specialSubmit",function(e){var f=e.target,g=f.type;(g==="text"||g==="password")&&cI(f).closest("form").length&&e.keyCode===13&&b6("submit",this,arguments)})}else{return !1}},teardown:function(b){cI.event.remove(this,".specialSubmit")}});if(!cI.support.changeBubbles){var ck,b4=function(d){var e=d.type,f=d.value;e==="radio"||e==="checkbox"?f=d.checked:e==="select-multiple"?f=d.selectedIndex>-1?cI.map(d.options,function(b){return b.selected}).join("-"):"":d.nodeName.toLowerCase()==="select"&&(f=d.selectedIndex);return f},b5=function b5(d){var g=d.target,h,b;if(cp.test(g.nodeName)&&!g.readOnly){h=cI._data(g,"_change_data"),b=b4(g),(d.type!=="focusout"||g.type!=="radio")&&cI._data(g,"_change_data",b);if(h===cG||b===h){return}if(h!=null||b){d.type="change",d.liveFired=cG,cI.event.trigger(d,arguments[1],g)}}};cI.event.special.change={filters:{focusout:b5,beforedeactivate:b5,click:function(d){var e=d.target,f=e.type;(f==="radio"||f==="checkbox"||e.nodeName.toLowerCase()==="select")&&b5.call(this,d)},keydown:function(d){var e=d.target,f=e.type;(d.keyCode===13&&e.nodeName.toLowerCase()!=="textarea"||d.keyCode===32&&(f==="checkbox"||f==="radio")||f==="select-multiple")&&b5.call(this,d)},beforeactivate:function(c){var d=c.target;cI._data(d,"_change_data",b4(d))}},setup:function(d,e){if(this.type==="file"){return !1}for(var f in ck){cI.event.add(this,f+".specialChange",ck[f])}return cp.test(this.nodeName)},teardown:function(b){cI.event.remove(this,".specialChange");return cp.test(this.nodeName)}},ck=cI.event.special.change.filters,ck.focus=ck.beforeactivate}cH.addEventListener&&cI.each({focus:"focusin",blur:"focusout"},function(d,e){function f(b){b=cI.event.fix(b),b.type=e;return cI.event.handle.call(this,b)}cI.event.special[e]={setup:function(){this.addEventListener(d,f,!0)},teardown:function(){this.removeEventListener(d,f,!0)}}}),cI.each(["bind","one"],function(b,d){cI.fn[d]=function(m,n,o){if(typeof m==="object"){for(var p in m){this[d](p,n,m[p],o)}return this}if(cI.isFunction(n)||n===!1){o=n,n=cG}var c=d==="one"?cI.proxy(o,function(e){cI(this).unbind(e,c);return o.apply(this,arguments)}):o;if(m==="unload"&&d!=="one"){this.one(m,n,o)}else{for(var k=0,l=this.length;k<l;k++){cI.event.add(this[k],m,c,n)}}return this}}),cI.fn.extend({unbind:function(g,h){if(typeof g!=="object"||g.preventDefault){for(var j=0,d=this.length;j<d;j++){cI.event.remove(this[j],g,h)}}else{for(var i in g){this.unbind(i,g[i])}}return this},delegate:function(e,f,g,h){return this.live(f,g,h,e)},undelegate:function(d,e,f){return arguments.length===0?this.unbind("live"):this.die(e,null,f,d)},trigger:function(c,d){return this.each(function(){cI.event.trigger(c,d,this)})},triggerHandler:function(d,e){if(this[0]){var f=cI.Event(d);f.preventDefault(),f.stopPropagation(),cI.event.trigger(f,e,this[0]);return f.result}},toggle:function(d){var e=arguments,f=1;while(f<e.length){cI.proxy(d,e[f++])}return this.click(cI.proxy(d,function(a){var b=(cI._data(this,"lastToggle"+d.guid)||0)%f;cI._data(this,"lastToggle"+d.guid,b+1),a.preventDefault();return e[b].apply(this,arguments)||!1}))},hover:function(c,d){return this.mouseenter(c).mouseleave(d||c)}});var b7={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};cI.each(["live","die"],function(b,d){cI.fn[d]=function(A,B,C,D){var s,t=0,u,v,w,x=D||this.selector,y=D?this:cI(this.context);if(typeof A==="object"&&!A.preventDefault){for(var z in A){y[d](z,B,A[z],x)}return this}cI.isFunction(B)&&(C=B,B=cG),A=(A||"").split(" ");while((s=A[t++])!=null){u=co.exec(s),v="",u&&(v=u[0],s=s.replace(co,""));if(s==="hover"){A.push("mouseenter"+v,"mouseleave"+v);continue}w=s,s==="focus"||s==="blur"?(A.push(b7[s]+v),s=s+v):s=(b7[s]||s)+v;if(d==="live"){for(var c=0,p=y.length;c<p;c++){cI.event.add(y[c],"live."+b9(s,x),{data:B,selector:x,handler:C,origType:s,origHandler:C,preType:w})}}else{y.unbind("live."+b9(s,x),C)}}return this}}),cI.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(c,d){cI.fn[d]=function(b,e){e==null&&(e=b,b=null);return arguments.length>0?this.bind(d,b,e):this.trigger(d)},cI.attrFn&&(cI.attrFn[d]=!0)}),function(){function y(n,o,p,q,r,s){for(var t=0,k=q.length;t<k;t++){var l=q[t];if(l){var m=!1;l=l[n];while(l){if(l.sizcache===p){m=q[l.sizset];break}if(l.nodeType===1){s||(l.sizcache=p,l.sizset=t);if(typeof o!=="string"){if(l===o){m=!0;break}}else{if(D.filter(o,[l]).length>0){m=l;break}}}l=l[n]}q[t]=m}}}function x(n,o,p,q,r,s){for(var t=0,k=q.length;t<k;t++){var l=q[t];if(l){var m=!1;l=l[n];while(l){if(l.sizcache===p){m=q[l.sizset];break}l.nodeType===1&&!s&&(l.sizcache=p,l.sizset=t);if(l.nodeName.toLowerCase()===o){m=l;break}l=l[n]}q[t]=m}}}var I=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,J=0,K=Object.prototype.toString,L=!1,A=!0,B=/\\/g,C=/\W/;[0,0].sort(function(){A=!1;return 0});var D=function(S,T,U,V){U=U||[],T=T||cH;var N=T;if(T.nodeType!==1&&T.nodeType!==9){return[]}if(!S||typeof S!=="string"){return U}var O,P,Q,R,k,l,m,p,v=!0,M=D.isXML(T),a=[],f=S;do{I.exec(""),O=I.exec(f);if(O){f=O[3],a.push(O[1]);if(O[2]){R=O[3];break}}}while(O);if(a.length>1&&F.exec(S)){if(a.length===2&&E.relative[a[0]]){P=z(a[0]+a[1],T)}else{P=E.relative[a[0]]?[T]:D(a.shift(),T);while(a.length){S=a.shift(),E.relative[S]&&(S+=a.shift()),P=z(S,P)}}}else{!V&&a.length>1&&T.nodeType===9&&!M&&E.match.ID.test(a[0])&&!E.match.ID.test(a[a.length-1])&&(k=D.find(a.shift(),T,M),T=k.expr?D.filter(k.expr,k.set)[0]:k.set[0]);if(T){k=V?{expr:a.pop(),set:b(V)}:D.find(a.pop(),a.length===1&&(a[0]==="~"||a[0]==="+")&&T.parentNode?T.parentNode:T,M),P=k.expr?D.filter(k.expr,k.set):k.set,a.length>0?Q=b(P):v=!1;while(a.length){l=a.pop(),m=l,E.relative[l]?m=a.pop():l="",m==null&&(m=T),E.relative[l](Q,m,M)}}else{Q=a=[]}}Q||(Q=P),Q||D.error(l||S);if(K.call(Q)==="[object Array]"){if(v){if(T&&T.nodeType===1){for(p=0;Q[p]!=null;p++){Q[p]&&(Q[p]===!0||Q[p].nodeType===1&&D.contains(T,Q[p]))&&U.push(P[p])}}else{for(p=0;Q[p]!=null;p++){Q[p]&&Q[p].nodeType===1&&U.push(P[p])}}}else{U.push.apply(U,Q)}}else{b(Q,U)}R&&(D(R,N,U,V),D.uniqueSort(U));return U};D.uniqueSort=function(e){if(d){L=A,e.sort(d);if(L){for(var f=1;f<e.length;f++){e[f]===e[f-1]&&e.splice(f--,1)}}}return e},D.matches=function(e,f){return D(e,null,null,f)},D.matchesSelector=function(e,f){return D(f,null,null,[e]).length>0},D.find=function(l,m,n){var o;if(!l){return[]}for(var p=0,q=E.order.length;p<q;p++){var r,i=E.order[p];if(r=E.leftMatch[i].exec(l)){var k=r[1];r.splice(1,1);if(k.substr(k.length-1)!=="\\"){r[1]=(r[1]||"").replace(B,""),o=E.find[i](r,m,n);if(o!=null){l=l.replace(E.match[i],"");break}}}}o||(o=typeof m.getElementsByTagName!=="undefined"?m.getElementsByTagName("*"):[]);return{set:o,expr:l}},D.filter=function(T,U,V,W){var X,Y,N=T,O=[],P=U,Q=U&&U[0]&&D.isXML(U[0]);while(T&&U.length){for(var R in E.filter){if((X=E.leftMatch[R].exec(T))!=null&&X[2]){var S,k,l=E.filter[R],u=X[1];Y=!1,X.splice(1,1);if(u.substr(u.length-1)==="\\"){continue}P===O&&(O=[]);if(E.preFilter[R]){X=E.preFilter[R](X,P,V,O,W,Q);if(X){if(X===!0){continue}}else{Y=S=!0}}if(X){for(var v=0;(k=P[v])!=null;v++){if(k){S=l(k,X,v,P);var M=W^!!S;V&&S!=null?M?Y=!0:P[v]=!1:M&&(O.push(k),Y=!0)}}}if(S!==cG){V||(P=O),T=T.replace(E.match[R],"");if(!Y){return[]}break}}}if(T===N){if(Y==null){D.error(T)}else{break}}N=T}return P},D.error=function(e){throw"Syntax error, unrecognized expression: "+e};var E=D.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\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(e){return e.getAttribute("href")},type:function(e){return e.getAttribute("type")}},relative:{"+":function(j,k){var l=typeof k==="string",m=l&&!C.test(k),n=l&&!m;m&&(k=k.toLowerCase());for(var o=0,p=j.length,i;o<p;o++){if(i=j[o]){while((i=i.previousSibling)&&i.nodeType!==1){}j[o]=n||i&&i.nodeName.toLowerCase()===k?i||!1:i===k}}n&&D.filter(k,j,!0)},">":function(h,i){var j,k=typeof i==="string",l=0,m=h.length;if(k&&!C.test(i)){i=i.toLowerCase();for(;l<m;l++){j=h[l];if(j){var n=j.parentNode;h[l]=n.nodeName.toLowerCase()===i?n:!1}}}else{for(;l<m;l++){j=h[l],j&&(h[l]=k?j.parentNode:j.parentNode===i)}k&&D.filter(i,h,!0)}},"":function(e,h,i){var j,k=J++,l=y;typeof h==="string"&&!C.test(h)&&(h=h.toLowerCase(),j=h,l=x),l("parentNode",h,k,e,j,i)},"~":function(e,h,i){var j,k=J++,l=y;typeof h==="string"&&!C.test(h)&&(h=h.toLowerCase(),j=h,l=x),l("previousSibling",h,k,e,j,i)}},find:{ID:function(e,f,g){if(typeof f.getElementById!=="undefined"&&!g){var h=f.getElementById(e[1]);return h&&h.parentNode?[h]:[]}},NAME:function(g,h){if(typeof h.getElementsByName!=="undefined"){var i=[],j=h.getElementsByName(g[1]);for(var k=0,l=j.length;k<l;k++){j[k].getAttribute("name")===g[1]&&i.push(j[k])}return i.length===0?null:i}},TAG:function(e,f){if(typeof f.getElementsByTagName!=="undefined"){return f.getElementsByTagName(e[1])}}},preFilter:{CLASS:function(j,k,l,m,n,o){j=" "+j[1].replace(B,"")+" ";if(o){return j}for(var p=0,i;(i=k[p])!=null;p++){i&&(n^(i.className&&(" "+i.className+" ").replace(/[\t\n\r]/g," ").indexOf(j)>=0)?l||m.push(i):l&&(k[p]=!1))}return !1},ID:function(e){return e[1].replace(B,"")},TAG:function(e,f){return e[1].replace(B,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){e[2]||D.error(e[0]),e[2]=e[2].replace(/^\+|\s*/g,"");var f=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=f[1]+(f[2]||1)-0,e[3]=f[3]-0}else{e[2]&&D.error(e[0])}e[0]=J++;return e},ATTR:function(h,i,j,k,l,m){var n=h[1]=h[1].replace(B,"");!m&&E.attrMap[n]&&(h[1]=E.attrMap[n]),h[4]=(h[4]||h[5]||"").replace(B,""),h[2]==="~="&&(h[4]=" "+h[4]+" ");return h},PSEUDO:function(a,h,i,j,k){if(a[1]==="not"){if((I.exec(a[3])||"").length>1||/^\w/.test(a[3])){a[3]=D(a[3],null,null,h)}else{var l=D.filter(a[3],h,i,!0^k);i||j.push.apply(j,l);return !1}}else{if(E.match.POS.test(a[0])||E.match.CHILD.test(a[0])){return !0}}return a},POS:function(e){e.unshift(!0);return e}},filters:{enabled:function(e){return e.disabled===!1&&e.type!=="hidden"},disabled:function(e){return e.disabled===!0},checked:function(e){return e.checked===!0},selected:function(e){e.parentNode&&e.parentNode.selectedIndex;return e.selected===!0},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(e,f,g){return !!D(g[3],e).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(e){return"text"===e.getAttribute("type")},radio:function(e){return"radio"===e.type},checkbox:function(e){return"checkbox"===e.type},file:function(e){return"file"===e.type},password:function(e){return"password"===e.type},submit:function(e){return"submit"===e.type},image:function(e){return"image"===e.type},reset:function(e){return"reset"===e.type},button:function(e){return"button"===e.type||e.nodeName.toLowerCase()==="button"},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)}},setFilters:{first:function(e,f){return f===0},last:function(e,f,g,h){return f===h.length-1},even:function(e,f){return f%2===0},odd:function(e,f){return f%2===1},lt:function(e,f,g){return f<g[3]-0},gt:function(e,f,g){return f>g[3]-0},nth:function(e,f,g){return g[3]-0===f},eq:function(e,f,g){return g[3]-0===f}},filter:{PSEUDO:function(l,m,n,o){var p=m[1],q=E.filters[p];if(q){return q(l,n,m,o)}if(p==="contains"){return(l.textContent||l.innerText||D.getText([l])||"").indexOf(m[3])>=0}if(p==="not"){var r=m[3];for(var j=0,k=r.length;j<k;j++){if(r[j]===l){return !1}}return !0}D.error(p)},CHILD:function(n,o){var p=o[1],q=n;switch(p){case"only":case"first":while(q=q.previousSibling){if(q.nodeType===1){return !1}}if(p==="first"){return !0}q=n;case"last":while(q=q.nextSibling){if(q.nodeType===1){return !1}}return !0;case"nth":var r=o[2],s=o[3];if(r===1&&s===0){return !0}var t=o[0],k=n.parentNode;if(k&&(k.sizcache!==t||!n.nodeIndex)){var l=0;for(q=k.firstChild;q;q=q.nextSibling){q.nodeType===1&&(q.nodeIndex=++l)}k.sizcache=t}var m=n.nodeIndex-s;return r===0?m===0:m%r===0&&m/r>=0}},ID:function(e,f){return e.nodeType===1&&e.getAttribute("id")===f},TAG:function(e,f){return f==="*"&&e.nodeType===1||e.nodeName.toLowerCase()===f},CLASS:function(e,f){return(" "+(e.className||e.getAttribute("class"))+" ").indexOf(f)>-1},ATTR:function(h,i){var j=i[1],k=E.attrHandle[j]?E.attrHandle[j](h):h[j]!=null?h[j]:h.getAttribute(j),l=k+"",m=i[2],n=i[4];return k==null?m==="!=":m==="="?l===n:m==="*="?l.indexOf(n)>=0:m==="~="?(" "+l+" ").indexOf(n)>=0:n?m==="!="?l!==n:m==="^="?l.indexOf(n)===0:m==="$="?l.substr(l.length-n.length)===n:m==="|="?l===n||l.substr(0,n.length+1)===n+"-":!1:l&&k!==!1},POS:function(g,h,i,j){var k=h[2],l=E.setFilters[k];if(l){return l(g,i,h,j)}}}},F=E.match.POS,G=function(e,f){return"\\"+(f-0+1)};for(var H in E.match){E.match[H]=new RegExp(E.match[H].source+/(?![^\[]*\])(?![^\(]*\))/.source),E.leftMatch[H]=new RegExp(/(^(?:.|\r|\n)*?)/.source+E.match[H].source.replace(/\\(\d+)/g,G))}var b=function(e,f){e=Array.prototype.slice.call(e,0);if(f){f.push.apply(f,e);return f}return e};try{Array.prototype.slice.call(cH.documentElement.childNodes,0)[0].nodeType}catch(c){b=function(f,g){var h=0,i=g||[];if(K.call(f)==="[object Array]"){Array.prototype.push.apply(i,f)}else{if(typeof f.length==="number"){for(var j=f.length;h<j;h++){i.push(f[h])}}else{for(;f[h];h++){i.push(f[h])}}}return i}}var d,w;cH.documentElement.compareDocumentPosition?d=function(e,f){if(e===f){L=!0;return 0}if(!e.compareDocumentPosition||!f.compareDocumentPosition){return e.compareDocumentPosition?-1:1}return e.compareDocumentPosition(f)&4?-1:1}:(d=function(o,p){var q,r,s=[],t=[],g=o.parentNode,l=p.parentNode,m=g;if(o===p){L=!0;return 0}if(g===l){return w(o,p)}if(!g){return -1}if(!l){return 1}while(m){s.unshift(m),m=m.parentNode}m=l;while(m){t.unshift(m),m=m.parentNode}q=s.length,r=t.length;for(var n=0;n<q&&n<r;n++){if(s[n]!==t[n]){return w(s[n],t[n])}}return n===q?w(o,t[n],-1):w(s[n],p,1)},w=function(e,f,g){if(e===f){return g}var h=e.nextSibling;while(h){if(h===f){return -1}h=h.nextSibling}return 1}),D.getText=function(e){var f="",g;for(var h=0;e[h];h++){g=e[h],g.nodeType===3||g.nodeType===4?f+=g.nodeValue:g.nodeType!==8&&(f+=D.getText(g.childNodes))}return f},function(){var f=cH.createElement("div"),g="script"+(new Date).getTime(),h=cH.documentElement;f.innerHTML="<a name='"+g+"'/>",h.insertBefore(f,h.firstChild),cH.getElementById(g)&&(E.find.ID=function(i,j,k){if(typeof j.getElementById!=="undefined"&&!k){var l=j.getElementById(i[1]);return l?l.id===i[1]||typeof l.getAttributeNode!=="undefined"&&l.getAttributeNode("id").nodeValue===i[1]?[l]:cG:[]}},E.filter.ID=function(e,i){var j=typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id");return e.nodeType===1&&j&&j.nodeValue===i}),h.removeChild(f),h=f=null}(),function(){var e=cH.createElement("div");e.appendChild(cH.createComment("")),e.getElementsByTagName("*").length>0&&(E.find.TAG=function(f,g){var h=g.getElementsByTagName(f[1]);if(f[1]==="*"){var i=[];for(var j=0;h[j];j++){h[j].nodeType===1&&i.push(h[j])}h=i}return h}),e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"&&(E.attrHandle.href=function(f){return f.getAttribute("href",2)}),e=null}(),cH.querySelectorAll&&function(){var f=D,g=cH.createElement("div"),h="__sizzle__";g.innerHTML="<p class='TEST'></p>";if(!g.querySelectorAll||g.querySelectorAll(".TEST").length!==0){D=function(O,P,Q,R){P=P||cH;if(!R&&!D.isXML(P)){var p=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(O);if(p&&(P.nodeType===1||P.nodeType===9)){if(p[1]){return b(P.getElementsByTagName(O),Q)}if(p[2]&&E.find.CLASS&&P.getElementsByClassName){return b(P.getElementsByClassName(p[2]),Q)}}if(P.nodeType===9){if(O==="body"&&P.body){return b([P.body],Q)}if(p&&p[3]){var t=P.getElementById(p[3]);if(!t||!t.parentNode){return b([],Q)}if(t.id===p[3]){return b([t],Q)}}try{return b(P.querySelectorAll(O),Q)}catch(u){}}else{if(P.nodeType===1&&P.nodeName.toLowerCase()!=="object"){var v=P,M=P.getAttribute("id"),N=M||h,a=P.parentNode,k=/^\s*[+~]/.test(O);M?N=N.replace(/'/g,"\\$&"):P.setAttribute("id",N),k&&a&&(P=P.parentNode);try{if(!k||a){return b(P.querySelectorAll("[id='"+N+"'] "+O),Q)}}catch(l){}finally{M||v.removeAttribute("id")}}}}return f(O,P,Q,R)};for(var i in f){D[i]=f[i]}g=null}}(),function(){var f=cH.documentElement,g=f.matchesSelector||f.mozMatchesSelector||f.webkitMatchesSelector||f.msMatchesSelector,h=!1;try{g.call(cH.documentElement,"[test!='']:sizzle")}catch(i){h=!0}g&&(D.matchesSelector=function(j,k){k=k.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!D.isXML(j)){try{if(h||!E.match.PSEUDO.test(k)&&!/!=/.test(k)){return g.call(j,k)}}catch(l){}}return D(k,null,null,[j]).length>0})}(),function(){var e=cH.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(e.getElementsByClassName&&e.getElementsByClassName("e").length!==0){e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}E.order.splice(1,0,"CLASS"),E.find.CLASS=function(f,g,h){if(typeof g.getElementsByClassName!=="undefined"&&!h){return g.getElementsByClassName(f[1])}},e=null}}(),cH.documentElement.contains?D.contains=function(e,f){return e!==f&&(e.contains?e.contains(f):!0)}:cH.documentElement.compareDocumentPosition?D.contains=function(e,f){return !!(e.compareDocumentPosition(f)&16)}:D.contains=function(){return !1},D.isXML=function(e){var f=(e?e.ownerDocument||e:0).documentElement;return f?f.nodeName!=="HTML":!1};var z=function(j,k){var l,m=[],n="",o=k.nodeType?[k]:k;while(l=E.match.PSEUDO.exec(j)){n+=l[0],j=j.replace(E.match.PSEUDO,"")}j=E.relative[j]?j+"*":j;for(var p=0,i=o.length;p<i;p++){D(j,o[p],m)}return D.filter(n,m)};cI.find=D,cI.expr=D.selectors,cI.expr[":"]=cI.expr.filters,cI.unique=D.uniqueSort,cI.text=D.getText,cI.isXMLDoc=D.isXML,cI.contains=D.contains}();var ch=/Until$/,a6=/^(?:parents|prevUntil|prevAll)/,a7=/,/,a8=/^.[^:#\[\.,]*$/,a9=Array.prototype.slice,b0=cI.expr.match.POS,b1={children:!0,contents:!0,next:!0,prev:!0};cI.fn.extend({find:function(i){var j=this.pushStack("","find",i),k=0;for(var l=0,m=this.length;l<m;l++){k=j.length,cI.find(i,this[l],j);if(l>0){for(var n=k;n<j.length;n++){for(var d=0;d<k;d++){if(j[d]===j[n]){j.splice(n--,1);break}}}}}return j},has:function(c){var d=cI(c);return this.filter(function(){for(var b=0,e=d.length;b<e;b++){if(cI.contains(this,d[b])){return !0}}})},not:function(b){return this.pushStack(b3(this,b,!1),"not",b)},filter:function(b){return this.pushStack(b3(this,b,!0),"filter",b)},is:function(b){return !!b&&cI.filter(b,this).length>0},closest:function(q,r){var s=[],t,u,v=this[0];if(cI.isArray(q)){var d,m,n={},o=1;if(v&&q.length){for(t=0,u=q.length;t<u;t++){m=q[t],n[m]||(n[m]=cI.expr.match.POS.test(m)?cI(m,r||this.context):m)}while(v&&v.ownerDocument&&v!==r){for(m in n){d=n[m],(d.jquery?d.index(v)>-1:cI(v).is(d))&&s.push({selector:m,elem:v,level:o})}v=v.parentNode,o++}}return s}var p=b0.test(q)?cI(q,r||this.context):null;for(t=0,u=this.length;t<u;t++){v=this[t];while(v){if(p?p.index(v)>-1:cI.find.matchesSelector(v,q)){s.push(v);break}v=v.parentNode;if(!v||!v.ownerDocument||v===r){break}}}s=s.length>1?cI.unique(s):s;return this.pushStack(s,"closest",q)},index:function(b){if(!b||typeof b==="string"){return cI.inArray(this[0],b?cI(b):this.parent().children())}return cI.inArray(b.jquery?b[0]:b,this)},add:function(d,f){var g=typeof d==="string"?cI(d,f):cI.makeArray(d),h=cI.merge(this.get(),g);return this.pushStack(b2(g[0])||b2(h[0])?h:cI.unique(h))},andSelf:function(){return this.add(this.prevObject)}}),cI.each({parent:function(c){var d=c.parentNode;return d&&d.nodeType!==11?d:null},parents:function(b){return cI.dir(b,"parentNode")},parentsUntil:function(d,e,f){return cI.dir(d,"parentNode",f)},next:function(b){return cI.nth(b,2,"nextSibling")},prev:function(b){return cI.nth(b,2,"previousSibling")},nextAll:function(b){return cI.dir(b,"nextSibling")},prevAll:function(b){return cI.dir(b,"previousSibling")},nextUntil:function(d,e,f){return cI.dir(d,"nextSibling",f)},prevUntil:function(d,e,f){return cI.dir(d,"previousSibling",f)},siblings:function(b){return cI.sibling(b.parentNode.firstChild,b)},children:function(b){return cI.sibling(b.firstChild)},contents:function(b){return cI.nodeName(b,"iframe")?b.contentDocument||b.contentWindow.document:cI.makeArray(b.childNodes)}},function(c,d){cI.fn[c]=function(h,i){var a=cI.map(this,d,h),b=a9.call(arguments);ch.test(c)||(i=h),i&&typeof i==="string"&&(a=cI.filter(i,a)),a=this.length>1&&!b1[c]?cI.unique(a):a,(this.length>1||a7.test(i))&&a6.test(c)&&(a=a.reverse());return this.pushStack(a,c,b.join(","))}}),cI.extend({filter:function(d,e,f){f&&(d=":not("+d+")");return e.length===1?cI.find.matchesSelector(e[0],d)?[e[0]]:[]:cI.find.matches(d,e)},dir:function(h,i,j){var b=[],d=h[i];while(d&&d.nodeType!==9&&(j===cG||d.nodeType!==1||!cI(d).is(j))){d.nodeType===1&&b.push(d),d=d[i]}return b},nth:function(f,g,h,i){g=g||1;var j=0;for(;f;f=f[h]){if(f.nodeType===1&&++j===g){break}}return f},sibling:function(d,e){var f=[];for(;d;d=d.nextSibling){d.nodeType===1&&d!==e&&f.push(d)}return f}});var aY=/ jQuery\d+="(?:\d+|null)"/g,aZ=/^\s+/,a0=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,a1=/<([\w:]+)/,a2=/<tbody/i,a3=/<|&#?\w+;/,an=/<(?:script|object|embed|option|style)/i,a5=/checked\s*(?:[^=]|=\s*.checked.)/i,ae={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,"",""]};ae.optgroup=ae.option,ae.tbody=ae.tfoot=ae.colgroup=ae.caption=ae.thead,ae.th=ae.td,cI.support.htmlSerialize||(ae._default=[1,"div<div>","</div>"]),cI.fn.extend({text:function(b){if(cI.isFunction(b)){return this.each(function(a){var d=cI(this);d.text(b.call(this,a,d.text()))})}if(typeof b!=="object"&&b!==cG){return this.empty().append((this[0]&&this[0].ownerDocument||cH).createTextNode(b))}return cI.text(this)},wrapAll:function(c){if(cI.isFunction(c)){return this.each(function(a){cI(this).wrapAll(c.call(this,a))})}if(this[0]){var d=cI(c,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&d.insertBefore(this[0]),d.map(function(){var b=this;while(b.firstChild&&b.firstChild.nodeType===1){b=b.firstChild}return b}).append(this)}return this},wrapInner:function(b){if(cI.isFunction(b)){return this.each(function(a){cI(this).wrapInner(b.call(this,a))})}return this.each(function(){var a=cI(this),d=a.contents();d.length?d.wrapAll(b):a.append(b)})},wrap:function(b){return this.each(function(){cI(this).wrapAll(b)})},unwrap:function(){return this.parent().each(function(){cI.nodeName(this,"body")||cI(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(b){this.nodeType===1&&this.appendChild(b)})},prepend:function(){return this.domManip(arguments,!0,function(b){this.nodeType===1&&this.insertBefore(b,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,!1,function(c){this.parentNode.insertBefore(c,this)})}if(arguments.length){var b=cI(arguments[0]);b.push.apply(b,this.toArray());return this.pushStack(b,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,!1,function(c){this.parentNode.insertBefore(c,this.nextSibling)})}if(arguments.length){var b=this.pushStack(this,"after",arguments);b.push.apply(b,cI(arguments[0]).toArray());return b}},remove:function(d,f){for(var g=0,h;(h=this[g])!=null;g++){if(!d||cI.filter(d,[h]).length){!f&&h.nodeType===1&&(cI.cleanData(h.getElementsByTagName("*")),cI.cleanData([h])),h.parentNode&&h.parentNode.removeChild(h)}}return this},empty:function(){for(var c=0,d;(d=this[c])!=null;c++){d.nodeType===1&&cI.cleanData(d.getElementsByTagName("*"));while(d.firstChild){d.removeChild(d.firstChild)}}return this},clone:function(c,d){c=c==null?!1:c,d=d==null?c:d;return this.map(function(){return cI.clone(this,c,d)})},html:function(d){if(d===cG){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(aY,""):null}if(typeof d!=="string"||an.test(d)||!cI.support.leadingWhitespace&&aZ.test(d)||ae[(a1.exec(d)||["",""])[1].toLowerCase()]){cI.isFunction(d)?this.each(function(a){var e=cI(this);e.html(d.call(this,a,e.html()))}):this.empty().append(d)}else{d=d.replace(a0,"<$1></$2>");try{for(var g=0,h=this.length;g<h;g++){this[g].nodeType===1&&(cI.cleanData(this[g].getElementsByTagName("*")),this[g].innerHTML=d)}}catch(b){this.empty().append(d)}}return this},replaceWith:function(b){if(this[0]&&this[0].parentNode){if(cI.isFunction(b)){return this.each(function(a){var d=cI(this),f=d.html();d.replaceWith(b.call(this,a,f))})}typeof b!=="string"&&(b=cI(b).detach());return this.each(function(){var a=this.nextSibling,d=this.parentNode;cI(this).remove(),a?cI(a).before(b):cI(d).append(b)})}return this.pushStack(cI(cI.isFunction(b)?b():b),"replaceWith",b)},detach:function(b){return this.remove(b,!0)},domManip:function(t,u,v){var w,x,b,d,o=t[0],p=[];if(!cI.support.checkClone&&arguments.length===3&&typeof o==="string"&&a5.test(o)){return this.each(function(){cI(this).domManip(t,u,v,!0)})}if(cI.isFunction(o)){return this.each(function(c){var a=cI(this);t[0]=o.call(this,c,u?a.html():cG),a.domManip(t,u,v)})}if(this[0]){d=o&&o.parentNode,cI.support.parentNode&&d&&d.nodeType===11&&d.childNodes.length===this.length?w={fragment:d}:w=cI.buildFragment(t,this,p),b=w.fragment,b.childNodes.length===1?x=b=b.firstChild:x=b.firstChild;if(x){u=u&&cI.nodeName(x,"tr");for(var q=0,r=this.length,s=r-1;q<r;q++){v.call(u?aS(this[q],x):this[q],w.cacheable||r>1&&q<s?cI.clone(b,!0,!0):b)}}p.length&&cI.each(p,ag)}return this}}),cI.buildFragment=function(j,k,l){var m,n,c,d=k&&k[0]?k[0].ownerDocument||k[0]:cH;j.length===1&&typeof j[0]==="string"&&j[0].length<512&&d===cH&&j[0].charAt(0)==="<"&&!an.test(j[0])&&(cI.support.checkClone||!a5.test(j[0]))&&(n=!0,c=cI.fragments[j[0]],c&&(c!==1&&(m=c))),m||(m=d.createDocumentFragment(),cI.clean(j,d,m,l)),n&&(cI.fragments[j[0]]=c?m:1);return{fragment:m,cacheable:n}},cI.fragments={},cI.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(c,d){cI.fn[c]=function(l){var m=[],n=cI(l),o=this.length===1&&this[0].parentNode;if(o&&o.nodeType===11&&o.childNodes.length===1&&n.length===1){n[d](this[0]);return this}for(var a=0,b=n.length;a<b;a++){var k=(a>0?this.clone(!0):this).get();cI(n[a])[d](k),m=m.concat(k)}return this.pushStack(m,c,n.selector)}}),cI.extend({clone:function(i,j,k){var l=i.cloneNode(!0),m,n,d;if((!cI.support.noCloneEvent||!cI.support.noCloneChecked)&&(i.nodeType===1||i.nodeType===11)&&!cI.isXMLDoc(i)){aq(i,l),m=aX(i),n=aX(l);for(d=0;m[d];++d){aq(m[d],n[d])}}if(j){aT(i,l);if(k){m=aX(i),n=aX(l);for(d=0;m[d];++d){aT(m[d],n[d])}}}return l},clean:function(x,y,z,A){y=y||cH,typeof y.createElement==="undefined"&&(y=y.ownerDocument||y[0]&&y[0].ownerDocument||cH);var B=[];for(var d=0,q;(q=x[d])!=null;d++){typeof q==="number"&&(q+="");if(!q){continue}if(typeof q!=="string"||a3.test(q)){if(typeof q==="string"){q=q.replace(a0,"<$1></$2>");var r=(a1.exec(q)||["",""])[1].toLowerCase(),s=ae[r]||ae._default,t=s[0],u=y.createElement("div");u.innerHTML=s[1]+q+s[2];while(t--){u=u.lastChild}if(!cI.support.tbody){var v=a2.test(q),w=r==="table"&&!v?u.firstChild&&u.firstChild.childNodes:s[1]==="<table>"&&!v?u.childNodes:[];for(var c=w.length-1;c>=0;--c){cI.nodeName(w[c],"tbody")&&!w[c].childNodes.length&&w[c].parentNode.removeChild(w[c])}}!cI.support.leadingWhitespace&&aZ.test(q)&&u.insertBefore(y.createTextNode(aZ.exec(q)[0]),u.firstChild),q=u.childNodes}}else{q=y.createTextNode(q)}q.nodeType?B.push(q):B=cI.merge(B,q)}if(z){for(d=0;B[d];d++){!A||!cI.nodeName(B[d],"script")||B[d].type&&B[d].type.toLowerCase()!=="text/javascript"?(B[d].nodeType===1&&B.splice.apply(B,[d+1,0].concat(cI.makeArray(B[d].getElementsByTagName("script")))),z.appendChild(B[d])):A.push(B[d].parentNode?B[d].parentNode.removeChild(B[d]):B[d])}}return B},cleanData:function(o){var p,q,r=cI.cache,s=cI.expando,t=cI.event.special,d=cI.support.deleteExpando;for(var l=0,m;(m=o[l])!=null;l++){if(m.nodeName&&cI.noData[m.nodeName.toLowerCase()]){continue}q=m[cI.expando];if(q){p=r[q]&&r[q][s];if(p&&p.events){for(var n in p.events){t[n]?cI.event.remove(m,n):cI.removeEvent(m,n,p.handle)}p.handle&&(p.handle.elem=null)}d?delete m[cI.expando]:m.removeAttribute&&m.removeAttribute(cI.expando),delete r[q]}}}});var cm=/alpha\([^)]*\)/i,aL=/opacity=([^)]*)/,ai=/-([a-z])/ig,ao=/([A-Z])/g,aN=/^-?\d+(?:px)?$/i,ak=/^-?\d/,ac={position:"absolute",visibility:"hidden",display:"block"},cE=["Left","Right"],aJ=["Top","Bottom"],ad,ah,aK,af=function(c,d){return d.toUpperCase()};cI.fn.css=function(b,d){if(arguments.length===2&&d===cG){return this}return cI.access(this,b,d,!0,function(f,g,h){return h!==cG?cI.style(f,g,h):cI.css(f,g)})},cI.extend({cssHooks:{opacity:{get:function(d,e){if(e){var f=ad(d,"opacity","opacity");return f===""?"1":f}return d.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":cI.support.cssFloat?"cssFloat":"styleFloat"},style:function(n,o,p,q){if(n&&n.nodeType!==3&&n.nodeType!==8&&n.style){var r,b=cI.camelCase(o),d=n.style,l=cI.cssHooks[b];o=cI.cssProps[b]||b;if(p===cG){if(l&&"get" in l&&(r=l.get(n,!1,q))!==cG){return r}return d[o]}if(typeof p==="number"&&isNaN(p)||p==null){return}typeof p==="number"&&!cI.cssNumber[b]&&(p+="px");if(!l||!("set" in l)||(p=l.set(n,p))!==cG){try{d[o]=p}catch(m){}}}},css:function(d,i,j){var k,l=cI.camelCase(i),b=cI.cssHooks[l];i=cI.cssProps[l]||l;if(b&&"get" in b&&(k=b.get(d,!0,j))!==cG){return k}if(ad){return ad(d,i,l)}},swap:function(f,g,h){var i={};for(var j in g){i[j]=f.style[j],f.style[j]=g[j]}h.call(f);for(j in g){f.style[j]=i[j]}},camelCase:function(b){return b.replace(ai,af)}}),cI.curCSS=cI.css,cI.each(["height","width"],function(c,d){cI.cssHooks[d]={get:function(g,h,i){var b;if(h){g.offsetWidth!==0?b=cl(g,d,i):cI.swap(g,ac,function(){b=cl(g,d,i)});if(b<=0){b=ad(g,d,d),b==="0px"&&aK&&(b=aK(g,d,d));if(b!=null){return b===""||b==="auto"?"0px":b}}if(b<0||b==null){b=g.style[d];return b===""||b==="auto"?"0px":b}return typeof b==="string"?b:b+"px"}},set:function(e,f){if(!aN.test(f)){return f}f=parseFloat(f);if(f>=0){return f+"px"}}}}),cI.support.opacity||(cI.cssHooks.opacity={get:function(c,d){return aL.test((d&&c.currentStyle?c.currentStyle.filter:c.style.filter)||"")?parseFloat(RegExp.$1)/100+"":d?"1":""},set:function(g,h){var i=g.style;i.zoom=1;var j=cI.isNaN(h)?"":"alpha(opacity="+h*100+")",d=i.filter||"";i.filter=cm.test(d)?d.replace(cm,j):i.filter+" "+j}}),cH.defaultView&&cH.defaultView.getComputedStyle&&(ah=function(d,i,j){var k,l,b;j=j.replace(ao,"-$1").toLowerCase();if(!(l=d.ownerDocument.defaultView)){return cG}if(b=l.getComputedStyle(d,null)){k=b.getPropertyValue(j),k===""&&!cI.contains(d.ownerDocument.documentElement,d)&&(k=cI.style(d,j))}return k}),cH.documentElement.currentStyle&&(aK=function(g,h){var i,j=g.currentStyle&&g.currentStyle[h],k=g.runtimeStyle&&g.runtimeStyle[h],l=g.style;!aN.test(j)&&ak.test(j)&&(i=l.left,k&&(g.runtimeStyle.left=g.currentStyle.left),l.left=h==="fontSize"?"1em":j||0,j=l.pixelLeft+"px",l.left=i,k&&(g.runtimeStyle.left=k));return j===""?"auto":j}),ad=ah||aK,cI.expr&&cI.expr.filters&&(cI.expr.filters.hidden=function(d){var e=d.offsetWidth,f=d.offsetHeight;return e===0&&f===0||!cI.support.reliableHiddenOffsets&&(d.style.display||cI.css(d,"display"))==="none"},cI.expr.filters.visible=function(b){return !cI.expr.filters.hidden(b)});var aV=/%20/g,aG=/\[\]$/,aa=/\r?\n/g,cY=/#.*$/,aH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,ab=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aF=/(?:^file|^widget|\-extension):$/,aI=/^(?:GET|HEAD)$/,aD=/^\/\//,cX=/\?/,cQ=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,aE=/^(?:select|textarea)/i,aB=/\s+/,cU=/([?&])_=[^&]*/,ar=/(^|\-)([a-z])/g,aC=function(d,e,f){return e+f.toUpperCase()},cV=/^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,aQ=cI.fn.load,cW={},ax={},cR,at;try{cR=cH.location.href}catch(az){cR=cH.createElement("a"),cR.href="",cR=cR.href}at=cV.exec(cR.toLowerCase()),cI.fn.extend({load:function(j,k,l){if(typeof j!=="string"&&aQ){return aQ.apply(this,arguments)}if(!this.length){return this}var m=j.indexOf(" ");if(m>=0){var n=j.slice(m,j.length);j=j.slice(0,m)}var b="GET";k&&(cI.isFunction(k)?(l=k,k=cG):typeof k==="object"&&(k=cI.param(k,cI.ajaxSettings.traditional),b="POST"));var d=this;cI.ajax({url:j,type:b,dataType:"html",data:k,complete:function(e,f,g){g=e.responseText,e.isResolved()&&(e.done(function(c){g=c}),d.html(n?cI("<div>").append(g.replace(cQ,"")).find(n):g)),l&&d.each(l,[g,f,e])}});return this},serialize:function(){return cI.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?cI.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||aE.test(this.nodeName)||ab.test(this.type))}).map(function(d,e){var f=cI(this).val();return f==null?null:cI.isArray(f)?cI.map(f,function(b,g){return{name:e.name,value:b.replace(aa,"\r\n")}}):{name:e.name,value:f.replace(aa,"\r\n")}}).get()}}),cI.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(c,d){cI.fn[d]=function(b){return this.bind(d,b)}}),cI.each(["get","post"],function(b,d){cI[d]=function(i,j,c,h){cI.isFunction(j)&&(h=h||c,c=j,j=cG);return cI.ajax({type:d,url:i,data:j,success:c,dataType:h})}}),cI.extend({getScript:function(b,d){return cI.get(b,cG,d,"script")},getJSON:function(d,e,f){return cI.get(d,e,f,"json")},ajaxSetup:function(d,e){e?cI.extend(!0,d,cI.ajaxSettings,e):(e=d,d=cI.extend(!0,cI.ajaxSettings,e));for(var f in {context:1,url:1}){f in e?d[f]=e[f]:f in cI.ajaxSettings&&(d[f]=cI.ajaxSettings[f])}return d},ajaxSettings:{url:cR,isLocal:aF.test(at[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","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":cF.String,"text html":!0,"text json":cI.parseJSON,"text xml":cI.parseXML}},ajaxPrefilter:cS(cW),ajaxTransport:cS(ax),ajax:function(P,Q){function F(j,m,h,i){if(B!==2){B=2,z&&clearTimeout(z),O=cG,M=i||"",E.readyState=j?4:0;var k,o,p,r=h?au(R,E,h):cG,e,f;if(j>=200&&j<300||j===304){if(R.ifModified){if(e=E.getResponseHeader("Last-Modified")){cI.lastModified[K]=e}if(f=E.getResponseHeader("Etag")){cI.etag[K]=f}}if(j===304){m="notmodified",k=!0}else{try{o=cN(R,r),m="success",k=!0}catch(g){m="parsererror",p=g}}}else{p=m;if(!m||j){m="error",j<0&&(j=0)}}E.status=j,E.statusText=m,k?H.resolveWith(S,[o,m,E]):H.rejectWith(S,[E,m,p]),E.statusCode(J),J=cG,C&&T.trigger("ajax"+(k?"Success":"Error"),[E,R,k?o:p]),I.resolveWith(S,[E,m]),C&&(T.trigger("ajaxComplete",[E,R]),--cI.active||cI.event.trigger("ajaxStop"))}}typeof P==="object"&&(Q=P,P=cG),Q=Q||{};var R=cI.ajaxSetup({},Q),S=R.context||R,T=S!==R&&(S.nodeType||S instanceof cI)?cI(S):cI.event,H=cI.Deferred(),I=cI._Deferred(),J=R.statusCode||{},K,L={},M,N,O,z,A,B=0,C,D,E={readyState:0,setRequestHeader:function(c,e){B||(L[c.toLowerCase().replace(ar,aC)]=e);return this},getAllResponseHeaders:function(){return B===2?M:null},getResponseHeader:function(e){var f;if(B===2){if(!N){N={};while(f=aH.exec(M)){N[f[1].toLowerCase()]=f[2]}}f=N[e.toLowerCase()]}return f===cG?null:f},overrideMimeType:function(c){B||(R.mimeType=c);return this},abort:function(c){c=c||"abort",O&&O.abort(c),F(0,c);return this}};H.promise(E),E.success=E.done,E.error=E.fail,E.complete=I.done,E.statusCode=function(c){if(c){var e;if(B<2){for(e in c){J[e]=[J[e],c[e]]}}else{e=c[E.status],E.then(e,e)}}return this},R.url=((P||R.url)+"").replace(cY,"").replace(aD,at[1]+"//"),R.dataTypes=cI.trim(R.dataType||"*").toLowerCase().split(aB),R.crossDomain||(A=cV.exec(R.url.toLowerCase()),R.crossDomain=A&&(A[1]!=at[1]||A[2]!=at[2]||(A[3]||(A[1]==="http:"?80:443))!=(at[3]||(at[1]==="http:"?80:443)))),R.data&&R.processData&&typeof R.data!=="string"&&(R.data=cI.param(R.data,R.traditional)),a4(cW,R,Q,E);if(B===2){return !1}C=R.global,R.type=R.type.toUpperCase(),R.hasContent=!aI.test(R.type),C&&cI.active++===0&&cI.event.trigger("ajaxStart");if(!R.hasContent){R.data&&(R.url+=(cX.test(R.url)?"&":"?")+R.data),K=R.url;if(R.cache===!1){var G=cI.now(),b=R.url.replace(cU,"$1_="+G);R.url=b+(b===R.url?(cX.test(R.url)?"&":"?")+"_="+G:"")}}if(R.data&&R.hasContent&&R.contentType!==!1||Q.contentType){L["Content-Type"]=R.contentType}R.ifModified&&(K=K||R.url,cI.lastModified[K]&&(L["If-Modified-Since"]=cI.lastModified[K]),cI.etag[K]&&(L["If-None-Match"]=cI.etag[K])),L.Accept=R.dataTypes[0]&&R.accepts[R.dataTypes[0]]?R.accepts[R.dataTypes[0]]+(R.dataTypes[0]!=="*"?", */*; q=0.01":""):R.accepts["*"];for(D in R.headers){E.setRequestHeader(D,R.headers[D])}if(R.beforeSend&&(R.beforeSend.call(S,E,R)===!1||B===2)){E.abort();return !1}for(D in {success:1,error:1,complete:1}){E[D](R[D])}O=a4(ax,R,Q,E);if(O){E.readyState=1,C&&T.trigger("ajaxSend",[E,R]),R.async&&R.timeout>0&&(z=setTimeout(function(){E.abort("timeout")},R.timeout));try{B=1,O.send(L,F)}catch(d){status<2?F(-1,d):cI.error(d)}}else{F(-1,"No Transport")}return E},param:function(h,i){var j=[],b=function(c,e){e=cI.isFunction(e)?e():e,j[j.length]=encodeURIComponent(c)+"="+encodeURIComponent(e)};i===cG&&(i=cI.ajaxSettings.traditional);if(cI.isArray(h)||h.jquery&&!cI.isPlainObject(h)){cI.each(h,function(){b(this.name,this.value)})}else{for(var d in h){aA(d,h[d],i,b)}}return j.join("&").replace(aV,"+")}}),cI.extend({active:0,lastModified:{},etag:{}});var aW=cI.now(),av=/(\=)\?(&|$)|()\?\?()/i;cI.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return cI.expando+"_"+aW++}}),cI.ajaxPrefilter("json jsonp",function(r,s,t){var u=typeof r.data==="string";if(r.dataTypes[0]==="jsonp"||s.jsonpCallback||s.jsonp!=null||r.jsonp!==!1&&(av.test(r.url)||u&&av.test(r.data))){var v,a=r.jsonpCallback=cI.isFunction(r.jsonpCallback)?r.jsonpCallback():r.jsonpCallback,d=cF[a],n=r.url,o=r.data,p="$1"+a+"$2",q=function(){cF[a]=d,v&&cI.isFunction(d)&&cF[a](v[0])};r.jsonp!==!1&&(n=n.replace(av,p),r.url===n&&(u&&(o=o.replace(av,p)),r.data===o&&(n+=(/\?/.test(n)?"&":"?")+r.jsonp+"="+a))),r.url=n,r.data=o,cF[a]=function(b){v=[b]},t.then(q,q),r.converters["script json"]=function(){v||cI.error(a+" was not called");return v[0]},r.dataTypes[0]="json";return"script"}}),cI.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(b){cI.globalEval(b);return b}}}),cI.ajaxPrefilter("script",function(b){b.cache===cG&&(b.cache=!1),b.crossDomain&&(b.type="GET",b.global=!1)}),cI.ajaxTransport("script",function(b){if(b.crossDomain){var c,f=cH.head||cH.getElementsByTagName("head")[0]||cH.documentElement;return{send:function(d,a){c=cH.createElement("script"),c.async="async",b.scriptCharset&&(c.charset=b.scriptCharset),c.src=b.url,c.onload=c.onreadystatechange=function(e,g){if(!c.readyState||/loaded|complete/.test(c.readyState)){c.onload=c.onreadystatechange=null,f&&c.parentNode&&f.removeChild(c),c=cG,g||a(200,"success")}},f.insertBefore(c,f.firstChild)},abort:function(){c&&c.onload(0,1)}}}});var cO=cI.now(),aP,aw;cI.ajaxSettings.xhr=cF.ActiveXObject?function(){return !this.isLocal&&cM()||aR()}:cM,aw=cI.ajaxSettings.xhr(),cI.support.ajax=!!aw,cI.support.cors=aw&&"withCredentials" in aw,aw=cG,cI.support.ajax&&cI.ajaxTransport(function(b){if(!b.crossDomain||cI.support.cors){var d;return{send:function(l,m){var n=b.xhr(),a,c;b.username?n.open(b.type,b.url,b.async,b.username,b.password):n.open(b.type,b.url,b.async);if(b.xhrFields){for(c in b.xhrFields){n[c]=b.xhrFields[c]}}b.mimeType&&n.overrideMimeType&&n.overrideMimeType(b.mimeType),(!b.crossDomain||b.hasContent)&&!l["X-Requested-With"]&&(l["X-Requested-With"]="XMLHttpRequest");try{for(c in l){n.setRequestHeader(c,l[c])}}catch(k){}n.send(b.hasContent&&b.data||null),d=function(v,f){var g,h,q,r,s;try{if(d&&(f||n.readyState===4)){d=cG,a&&(n.onreadystatechange=cI.noop,delete aP[a]);if(f){n.readyState!==4&&n.abort()}else{g=n.status,q=n.getAllResponseHeaders(),r={},s=n.responseXML,s&&s.documentElement&&(r.xml=s),r.text=n.responseText;try{h=n.statusText}catch(t){h=""}g||!b.isLocal||b.crossDomain?g===1223&&(g=204):g=r.text?200:404}}}catch(u){f||m(-1,u)}r&&m(g,h,r,q)},b.async&&n.readyState!==4?(aP||(aP={},cP()),a=cO++,n.onreadystatechange=aP[a]=d):d()},abort:function(){d&&d(0,1)}}}});var am={},cT=/^(?:toggle|show|hide)$/,aU=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,ay,cn=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];cI.fn.extend({show:function(i,j,k){var l,m;if(i||i===0){return this.animate(aM("show",3),i,j,k)}for(var n=0,d=this.length;n<d;n++){l=this[n],m=l.style.display,!cI._data(l,"olddisplay")&&m==="none"&&(m=l.style.display=""),m===""&&cI.css(l,"display")==="none"&&cI._data(l,"olddisplay",aj(l.nodeName))}for(n=0;n<d;n++){l=this[n],m=l.style.display;if(m===""||m==="none"){l.style.display=cI._data(l,"olddisplay")||""}}return this},hide:function(d,h,i){if(d||d===0){return this.animate(aM("hide",3),d,h,i)}for(var j=0,k=this.length;j<k;j++){var l=cI.css(this[j],"display");l!=="none"&&!cI._data(this[j],"olddisplay")&&cI._data(this[j],"olddisplay",l)}for(j=0;j<k;j++){this[j].style.display="none"}return this},_toggle:cI.fn.toggle,toggle:function(d,f,g){var h=typeof d==="boolean";cI.isFunction(d)&&cI.isFunction(f)?this._toggle.apply(this,arguments):d==null||h?this.each(function(){var a=h?d:cI(this).is(":hidden");cI(this)[a?"show":"hide"]()}):this.animate(aM("toggle",3),d,f,g);return this},fadeTo:function(e,f,g,h){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:f},e,g,h)},animate:function(g,h,i,j){var d=cI.speed(h,i,j);if(cI.isEmptyObject(g)){return this.each(d.complete)}return this[d.queue===!1?"each":"queue"](function(){var l=cI.extend({},d),m,n=this.nodeType===1,o=n&&cI(this).is(":hidden"),a=this;for(m in g){var f=cI.camelCase(m);m!==f&&(g[f]=g[m],delete g[m],m=f);if(g[m]==="hide"&&o||g[m]==="show"&&!o){return l.complete.call(this)}if(n&&(m==="height"||m==="width")){l.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(cI.css(this,"display")==="inline"&&cI.css(this,"float")==="none"){if(cI.support.inlineBlockNeedsLayout){var k=aj(this.nodeName);k==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)}else{this.style.display="inline-block"}}}cI.isArray(g[m])&&((l.specialEasing=l.specialEasing||{})[m]=g[m][1],g[m]=g[m][0])}l.overflow!=null&&(this.style.overflow="hidden"),l.curAnim=cI.extend({},g),cI.each(g,function(s,t){var u=new cI.fx(a,l,s);if(cT.test(t)){u[t==="toggle"?o?"show":"hide":t](g)}else{var b=aU.exec(t),p=u.cur();if(b){var q=parseFloat(b[2]),r=b[3]||(cI.cssNumber[s]?"":"px");r!=="px"&&(cI.style(a,s,(q||1)+r),p=(q||1)/u.cur()*p,cI.style(a,s,p+r)),b[1]&&(q=(b[1]==="-="?-1:1)*q+p),u.custom(p,q,r)}else{u.custom(p,t,"")}}});return !0})},stop:function(d,e){var f=cI.timers;d&&this.queue([]),this.each(function(){for(var b=f.length-1;b>=0;b--){f[b].elem===this&&(e&&f[b](!0),f.splice(b,1))}}),e||this.dequeue();return this}}),cI.each({slideDown:aM("show",1),slideUp:aM("hide",1),slideToggle:aM("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(c,d){cI.fn[c]=function(b,e,f){return this.animate(d,b,e,f)}}),cI.extend({speed:function(d,f,g){var h=d&&typeof d==="object"?cI.extend({},d):{complete:g||!g&&f||cI.isFunction(d)&&d,duration:d,easing:g&&f||f&&!cI.isFunction(f)&&f};h.duration=cI.fx.off?0:typeof h.duration==="number"?h.duration:h.duration in cI.fx.speeds?cI.fx.speeds[h.duration]:cI.fx.speeds._default,h.old=h.complete,h.complete=function(){h.queue!==!1&&cI(this).dequeue(),cI.isFunction(h.old)&&h.old.call(this)};return h},easing:{linear:function(e,f,g,h){return g+h*e},swing:function(e,f,g,h){return(-Math.cos(e*Math.PI)/2+0.5)*h+g}},timers:[],fx:function(d,e,f){this.options=e,this.elem=d,this.prop=f,e.orig||(e.orig={})}}),cI.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(cI.fx.step[this.prop]||cI.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var c,d=cI.css(this.elem,this.prop);return isNaN(c=parseFloat(d))?!d||d==="auto"?0:d:c},custom:function(d,h,i){function l(b){return j.step(b)}var j=this,k=cI.fx;this.startTime=cI.now(),this.start=d,this.end=h,this.unit=i||this.unit||(cI.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,l.elem=this.elem,l()&&cI.timers.push(l)&&!ay&&(ay=setInterval(k.tick,k.interval))},show:function(){this.options.orig[this.prop]=cI.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),cI(this.elem).show()},hide:function(){this.options.orig[this.prop]=cI.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(o){var p=cI.now(),q=!0;if(o||p>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var r in this.options.curAnim){this.options.curAnim[r]!==!0&&(q=!1)}if(q){if(this.options.overflow!=null&&!cI.support.shrinkWrapBlocks){var s=this.elem,t=this.options;cI.each(["","X","Y"],function(c,e){s.style["overflow"+e]=t.overflow[c]})}this.options.hide&&cI(this.elem).hide();if(this.options.hide||this.options.show){for(var d in this.options.curAnim){cI.style(this.elem,d,this.options.orig[d])}}this.options.complete.call(this.elem)}return !1}var l=p-this.startTime;this.state=l/this.options.duration;var m=this.options.specialEasing&&this.options.specialEasing[this.prop],n=this.options.easing||(cI.easing.swing?"swing":"linear");this.pos=cI.easing[m||n](this.state,l,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return !0}},cI.extend(cI.fx,{tick:function(){var c=cI.timers;for(var d=0;d<c.length;d++){c[d]()||c.splice(d--,1)}c.length||cI.fx.stop()},interval:13,stop:function(){clearInterval(ay),ay=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(b){cI.style(b.elem,"opacity",b.now)},_default:function(b){b.elem.style&&b.elem.style[b.prop]!=null?b.elem.style[b.prop]=(b.prop==="width"||b.prop==="height"?Math.max(0,b.now):b.now)+b.unit:b.elem[b.prop]=b.now}}}),cI.expr&&cI.expr.filters&&(cI.expr.filters.animated=function(b){return cI.grep(cI.timers,function(a){return b===a.elem}).length});var ap=/^t(?:able|d|h)$/i,aO=/^(?:body|html)$/i;"getBoundingClientRect" in cH.documentElement?cI.fn.offset=function(w){var x=this[0],y;if(w){return this.each(function(a){cI.offset.setOffset(this,w,a)})}if(!x||!x.ownerDocument){return null}if(x===x.ownerDocument.body){return cI.offset.bodyOffset(x)}try{y=x.getBoundingClientRect()}catch(z){}var A=x.ownerDocument,B=A.documentElement;if(!y||!cI.contains(B,x)){return y?{top:y.top,left:y.left}:{top:0,left:0}}var d=A.body,p=al(A),q=B.clientTop||d.clientTop||0,r=B.clientLeft||d.clientLeft||0,s=p.pageYOffset||cI.support.boxModel&&B.scrollTop||d.scrollTop,t=p.pageXOffset||cI.support.boxModel&&B.scrollLeft||d.scrollLeft,u=y.top+s-q,v=y.left+t-r;return{top:u,left:v}}:cI.fn.offset=function(s){var t=this[0];if(s){return this.each(function(a){cI.offset.setOffset(this,s,a)})}if(!t||!t.ownerDocument){return null}if(t===t.ownerDocument.body){return cI.offset.bodyOffset(t)}cI.offset.initialize();var u,v=t.offsetParent,w=t,x=t.ownerDocument,d=x.documentElement,n=x.body,o=x.defaultView,p=o?o.getComputedStyle(t,null):t.currentStyle,q=t.offsetTop,r=t.offsetLeft;while((t=t.parentNode)&&t!==n&&t!==d){if(cI.offset.supportsFixedPosition&&p.position==="fixed"){break}u=o?o.getComputedStyle(t,null):t.currentStyle,q-=t.scrollTop,r-=t.scrollLeft,t===v&&(q+=t.offsetTop,r+=t.offsetLeft,cI.offset.doesNotAddBorder&&(!cI.offset.doesAddBorderForTableAndCells||!ap.test(t.nodeName))&&(q+=parseFloat(u.borderTopWidth)||0,r+=parseFloat(u.borderLeftWidth)||0),w=v,v=t.offsetParent),cI.offset.subtractsBorderForOverflowNotVisible&&u.overflow!=="visible"&&(q+=parseFloat(u.borderTopWidth)||0,r+=parseFloat(u.borderLeftWidth)||0),p=u}if(p.position==="relative"||p.position==="static"){q+=n.offsetTop,r+=n.offsetLeft}cI.offset.supportsFixedPosition&&p.position==="fixed"&&(q+=Math.max(d.scrollTop,n.scrollTop),r+=Math.max(d.scrollLeft,n.scrollLeft));return{top:q,left:r}},cI.offset={initialize:function(){var l=cH.body,m=cH.createElement("div"),n,o,p,c,d=parseFloat(cI.css(l,"marginTop"))||0,k="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";cI.extend(m.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),m.innerHTML=k,l.insertBefore(m,l.firstChild),n=m.firstChild,o=n.firstChild,c=n.nextSibling.firstChild.firstChild,this.doesNotAddBorder=o.offsetTop!==5,this.doesAddBorderForTableAndCells=c.offsetTop===5,o.style.position="fixed",o.style.top="20px",this.supportsFixedPosition=o.offsetTop===20||o.offsetTop===15,o.style.position=o.style.top="",n.style.overflow="hidden",n.style.position="relative",this.subtractsBorderForOverflowNotVisible=o.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=l.offsetTop!==d,l.removeChild(m),l=m=n=o=p=c=null,cI.offset.initialize=cI.noop},bodyOffset:function(d){var e=d.offsetTop,f=d.offsetLeft;cI.offset.initialize(),cI.offset.doesNotIncludeMarginInBodyOffset&&(e+=parseFloat(cI.css(d,"marginTop"))||0,f+=parseFloat(cI.css(d,"marginLeft"))||0);return{top:e,left:f}},setOffset:function(u,v,w){var x=cI.css(u,"position");x==="static"&&(u.style.position="relative");var y=cI(u),z=y.offset(),d=cI.css(u,"top"),o=cI.css(u,"left"),p=x==="absolute"&&cI.inArray("auto",[d,o])>-1,q={},r={},s,t;p&&(r=y.position()),s=p?r.top:parseInt(d,10)||0,t=p?r.left:parseInt(o,10)||0,cI.isFunction(v)&&(v=v.call(u,w,z)),v.top!=null&&(q.top=v.top-z.top+s),v.left!=null&&(q.left=v.left-z.left+t),"using" in v?v.using.call(u,q):y.css(q)}},cI.fn.extend({position:function(){if(!this[0]){return null}var d=this[0],f=this.offsetParent(),g=this.offset(),h=aO.test(f[0].nodeName)?{top:0,left:0}:f.offset();g.top-=parseFloat(cI.css(d,"marginTop"))||0,g.left-=parseFloat(cI.css(d,"marginLeft"))||0,h.top+=parseFloat(cI.css(f[0],"borderTopWidth"))||0,h.left+=parseFloat(cI.css(f[0],"borderLeftWidth"))||0;return{top:g.top-h.top,left:g.left-h.left}},offsetParent:function(){return this.map(function(){var b=this.offsetParent||cH.body;while(b&&(!aO.test(b.nodeName)&&cI.css(b,"position")==="static")){b=b.offsetParent}return b})}}),cI.each(["Left","Top"],function(b,d){var f="scroll"+d;cI.fn[f]=function(h){var a=this[0],e;if(!a){return null}if(h!==cG){return this.each(function(){e=al(this),e?e.scrollTo(b?cI(e).scrollLeft():h,b?h:cI(e).scrollTop()):this[f]=h})}e=al(a);return e?"pageXOffset" in e?e[b?"pageYOffset":"pageXOffset"]:cI.support.boxModel&&e.document.documentElement[f]||e.document.body[f]:a[f]}}),cI.each(["Height","Width"],function(b,d){var f=d.toLowerCase();cI.fn["inner"+d]=function(){return this[0]?parseFloat(cI.css(this[0],f,"padding")):null},cI.fn["outer"+d]=function(c){return this[0]?parseFloat(cI.css(this[0],f,c?"margin":"border")):null},cI.fn[f]=function(j){var c=this[0];if(!c){return j==null?null:this}if(cI.isFunction(j)){return this.each(function(a){var g=cI(this);g[f](j.call(this,a,g[f]()))})}if(cI.isWindow(c)){var e=c.document.documentElement["client"+d];return c.document.compatMode==="CSS1Compat"&&e||c.document.body["client"+d]||e}if(c.nodeType===9){return Math.max(c.documentElement["client"+d],c.body["scroll"+d],c.documentElement["scroll"+d],c.body["offset"+d],c.documentElement["offset"+d])}if(j===cG){var k=cI.css(c,f),l=parseFloat(k);return cI.isNaN(l)?k:l}return this.css(f,typeof j==="string"?j:j+"px")}}),cF.jQuery=cF.$=cI})(window);window.Modernizr=function(y,J,p){function m(d,e){return(""+d).indexOf(e)!==-1}function a(d,e){for(var f in d){if(z[d[f]]!==p&&(!e||e(d[f],b))){return true}}}function B(d,e){var f=d.charAt(0).toUpperCase()+d.substr(1);f=(d+" "+c.join(f+" ")+f).split(" ");return !!a(f,e)}function W(){K.input=function(d){for(var e=0,f=d.length;e<f;e++){Y[d[e]]=!!(d[e] in x)}return Y}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));K.inputtypes=function(e){for(var f=0,h,d=e.length;f<d;f++){x.setAttribute("type",e[f]);if(h=x.type!=="text"){x.value=Z;if(/^range$/.test(x.type)&&x.style.WebkitAppearance!==p){A.appendChild(x);h=J.defaultView;h=h.getComputedStyle&&h.getComputedStyle(x,null).WebkitAppearance!=="textfield"&&x.offsetHeight!==0;A.removeChild(x)}else{/^(search|tel)$/.test(x.type)||(h=/^(url|email)$/.test(x.type)?x.checkValidity&&x.checkValidity()===false:x.value!=Z)}}aa[e[f]]=!!h}return aa}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var K={},A=J.documentElement,b=J.createElement("modernizr"),z=b.style,x=J.createElement("input"),Z=":)",ab=Object.prototype.toString,k=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),c="Webkit Moz O ms Khtml".split(" "),r={svg:"http://www.w3.org/2000/svg"},I={},aa={},Y={},T=[],t,U=function(d){var e=document.createElement("style"),f=J.createElement("div");e.textContent=d+"{#modernizr{height:3px}}";(J.head||J.getElementsByTagName("head")[0]).appendChild(e);f.id="modernizr";A.appendChild(f);d=f.offsetHeight===3;e.parentNode.removeChild(e);f.parentNode.removeChild(f);return !!d},C=function(){var d={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return function(f,h){h=h||document.createElement(d[f]||"div");f="on"+f;var e=f in h;if(!e){h.setAttribute||(h=document.createElement("div"));if(h.setAttribute&&h.removeAttribute){h.setAttribute(f,"");e=typeof h[f]=="function";if(typeof h[f]!="undefined"){h[f]=p}h.removeAttribute(f)}}return e}}(),g={}.hasOwnProperty,V;V=typeof g!=="undefined"&&typeof g.call!=="undefined"?function(d,e){return g.call(d,e)}:function(d,e){return e in d&&typeof d.constructor.prototype[e]==="undefined"};I.flexbox=function(){var d=J.createElement("div"),e=J.createElement("div");(function(i,h,l,j){h+=":";i.style.cssText=(h+k.join(l+";"+h)).slice(0,-h.length)+(j||"")})(d,"display","box","width:42px;padding:0;");e.style.cssText=k.join("box-flex:1;")+"width:10px;";d.appendChild(e);A.appendChild(d);var f=e.offsetWidth===42;d.removeChild(e);A.removeChild(d);return f};I.canvas=function(){var d=J.createElement("canvas");return !!(d.getContext&&d.getContext("2d"))};I.canvastext=function(){return !!(K.canvas&&typeof J.createElement("canvas").getContext("2d").fillText=="function")};I.webgl=function(){var d=J.createElement("canvas");try{if(d.getContext("webgl")){return true}}catch(e){}try{if(d.getContext("experimental-webgl")){return true}}catch(f){}return false};I.touch=function(){return"ontouchstart" in y||U("@media ("+k.join("touch-enabled),(")+"modernizr)")};I.geolocation=function(){return !!navigator.geolocation};I.postmessage=function(){return !!y.postMessage};I.websqldatabase=function(){return !!y.openDatabase};I.indexedDB=function(){for(var d=-1,e=c.length;++d<e;){var f=c[d].toLowerCase();if(y[f+"_indexedDB"]||y[f+"IndexedDB"]){return true}}return false};I.hashchange=function(){return C("hashchange",y)&&(document.documentMode===p||document.documentMode>7)};I.history=function(){return !!(y.history&&history.pushState)};I.draganddrop=function(){return C("drag")&&C("dragstart")&&C("dragenter")&&C("dragover")&&C("dragleave")&&C("dragend")&&C("drop")};I.websockets=function(){return"WebSocket" in y};I.rgba=function(){z.cssText="background-color:rgba(150,255,150,.5)";return m(z.backgroundColor,"rgba")};I.hsla=function(){z.cssText="background-color:hsla(120,40%,100%,.5)";return m(z.backgroundColor,"rgba")||m(z.backgroundColor,"hsla")};I.multiplebgs=function(){z.cssText="background:url(//:),url(//:),red url(//:)";return/(url\s*\(.*?){3}/.test(z.background)};I.backgroundsize=function(){return B("backgroundSize")};I.borderimage=function(){return B("borderImage")};I.borderradius=function(){return B("borderRadius","",function(d){return m(d,"orderRadius")})};I.boxshadow=function(){return B("boxShadow")};I.textshadow=function(){return J.createElement("div").style.textShadow===""};I.opacity=function(){var d=k.join("opacity:.5;")+"";z.cssText=d;return m(z.opacity,"0.5")};I.cssanimations=function(){return B("animationName")};I.csscolumns=function(){return B("columnCount")};I.cssgradients=function(){var d=("background-image:"+k.join("gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:")+k.join("linear-gradient(left top,#9f9, white);background-image:")).slice(0,-17);z.cssText=d;return m(z.backgroundImage,"gradient")};I.cssreflections=function(){return B("boxReflect")};I.csstransforms=function(){return !!a(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])};I.csstransforms3d=function(){var d=!!a(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);if(d){d=U("@media ("+k.join("transform-3d),(")+"modernizr)")}return d};I.csstransitions=function(){return B("transitionProperty")};I.fontface=function(){var e,f=J.head||J.getElementsByTagName("head")[0]||A,h=J.createElement("style"),d=J.implementation||{hasFeature:function(){return false}};h.type="text/css";f.insertBefore(h,f.firstChild);e=h.sheet||h.styleSheet;f=d.hasFeature("CSS2","")?function(i){if(!(e&&i)){return false}var j=false;try{e.insertRule(i,0);j=!/unknown/i.test(e.cssRules[0].cssText);e.deleteRule(e.cssRules.length-1)}catch(l){}return j}:function(i){if(!(e&&i)){return false}e.cssText=i;return e.cssText.length!==0&&!/unknown/i.test(e.cssText)&&e.cssText.replace(/\r+|\n+/g,"").indexOf(i.split(" ")[0])===0};K._fontfaceready=function(i){i(K.fontface)};return f('@font-face { font-family: "font"; src: "font.ttf"; }')};I.video=function(){var d=J.createElement("video"),e=!!d.canPlayType;if(e){e=new Boolean(e);e.ogg=d.canPlayType('video/ogg; codecs="theora"');e.h264=d.canPlayType('video/mp4; codecs="avc1.42E01E"')||d.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"');e.webm=d.canPlayType('video/webm; codecs="vp8, vorbis"')}return e};I.audio=function(){var d=J.createElement("audio"),e=!!d.canPlayType;if(e){e=new Boolean(e);e.ogg=d.canPlayType('audio/ogg; codecs="vorbis"');e.mp3=d.canPlayType("audio/mpeg;");e.wav=d.canPlayType('audio/wav; codecs="1"');e.m4a=d.canPlayType("audio/x-m4a;")||d.canPlayType("audio/aac;")}return e};I.localstorage=function(){try{return"localStorage" in y&&y.localStorage!==null}catch(d){return false}};I.sessionstorage=function(){try{return"sessionStorage" in y&&y.sessionStorage!==null}catch(d){return false}};I.webWorkers=function(){return !!y.Worker};I.applicationcache=function(){return !!y.applicationCache};I.svg=function(){return !!J.createElementNS&&!!J.createElementNS(r.svg,"svg").createSVGRect};I.inlinesvg=function(){var d=document.createElement("div");d.innerHTML="<svg/>";return(d.firstChild&&d.firstChild.namespaceURI)==r.svg};I.smil=function(){return !!J.createElementNS&&/SVG/.test(ab.call(J.createElementNS(r.svg,"animate")))};I.svgclippaths=function(){return !!J.createElementNS&&/SVG/.test(ab.call(J.createElementNS(r.svg,"clipPath")))};for(var X in I){if(V(I,X)){t=X.toLowerCase();K[t]=I[X]();T.push((K[t]?"":"no-")+t)}}K.input||W();K.crosswindowmessaging=K.postmessage;K.historymanagement=K.history;K.addTest=function(d,e){d=d.toLowerCase();if(!K[d]){e=!!e();A.className+=" "+(e?"":"no-")+d;K[d]=e;return K}};z.cssText="";b=x=null;y.attachEvent&&function(){var d=J.createElement("div");d.innerHTML="<elem></elem>";return d.childNodes.length!==1}()&&function(n,o){function q(w){for(var D=-1;++D<f;){w.createElement(l[D])}}function j(G,F){for(var D=G.length,H=-1,w,E=[];++H<D;){w=G[H];F=w.media||F;E.push(j(w.imports,F));E.push(w.cssText)}return E.join("")}var l="abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video".split("|"),f=l.length,d=RegExp("<(/*)(abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)","gi"),i=RegExp("\\b(abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)\\b(?!.*[;}])","gi"),e=o.createDocumentFragment(),s=o.documentElement,h=s.firstChild,u=o.createElement("style"),v=o.createElement("body");u.media="all";q(o);q(e);n.attachEvent("onbeforeprint",function(){for(var F=-1;++F<f;){for(var E=o.getElementsByTagName(l[F]),D=E.length,w=-1;++w<D;){if(E[w].className.indexOf("iepp_")<0){E[w].className+=" iepp_"+l[F]}}}h.insertBefore(u,h.firstChild);u.styleSheet.cssText=j(o.styleSheets,"all").replace(i,".iepp_$1");e.appendChild(o.body);s.appendChild(v);v.innerHTML=e.firstChild.innerHTML.replace(d,"<$1bdo")});n.attachEvent("onafterprint",function(){v.innerHTML="";s.removeChild(v);h.removeChild(u);s.appendChild(e.firstChild)})}(this,document);K._enableHTML5=true;K._version="1.6";A.className=A.className.replace(/\bno-js\b/,"")+" js";A.className+=" "+T.join(" ");return K}(this,this.document);new function(a){var b=a.separator||"&";var f=a.spaces===false?false:true;var g=a.suffix===false?"":"[]";var e=a.prefix===false?false:true;var d=e?a.hash===true?"#":"?":"";var c=a.numbers===false?false:true;jQuery.query=new function(){var i=function(l,m){return l!=undefined&&l!==null&&(!!m?l.constructor==m:true)};var h=function(n){var p,q=/\[([^[]*)\]/g,o=/^(\S+?)(\[\S*\])?$/.exec(n),l=o[1],r=[];while(p=q.exec(o[2])){r.push(p[1])}return[l,r]};var k=function(s,q,l){var n,r=q.shift();if(typeof s!="object"){s=null}if(r===""){if(!s){s=[]}if(i(s,Array)){s.push(q.length==0?l:k(null,q.slice(0),l))}else{if(i(s,Object)){var m=0;while(s[m++]!=null){}s[--m]=q.length==0?l:k(s[m],q.slice(0),l)}else{s=[];s.push(q.length==0?l:k(null,q.slice(0),l))}}}else{if(r&&r.match(/^\s*[0-9]+\s*$/)){var t=parseInt(r,10);if(!s){s=[]}s[t]=q.length==0?l:k(s[t],q.slice(0),l)}else{if(r){var t=r.replace(/^\s*|\s*$/g,"");if(!s){s={}}if(i(s,Array)){var p={};for(var m=0;m<s.length;++m){p[m]=s[m]}s=p}s[t]=q.length==0?l:k(s[t],q.slice(0),l)}else{return l}}}return s};var j=function(l){var m=this;m.keys={};if(l.queryObject){jQuery.each(l.get(),function(n,o){m.SET(n,o)})}else{jQuery.each(arguments,function(){var n=""+this;n=n.replace(/^[?#]/,"");n=n.replace(/[;&]$/,"");if(f){n=n.replace(/[+]/g," ")}jQuery.each(n.split(/[&;]/),function(){var o=this.split("=")[0];var p=this.split("=")[1];if(!o){return}if(c){if(/^[+-]?[0-9]+\.[0-9]*$/.test(p)){p=parseFloat(p)}else{if(/^[+-]?[0-9]+$/.test(p)){p=parseInt(p,10)}}}p=(!p&&p!==0)?true:p;if(p!==false&&p!==true&&typeof p!="number"){p=decodeURIComponent(p)}m.SET(o,p)})})}return m};j.prototype={queryObject:true,has:function(n,m){var l=this.get(n);return i(l,m)},GET:function(p){if(!i(p)){return this.keys}var o=h(p),n=o[0],m=o[1];var l=this.keys[n];while(l!=null&&m.length!=0){l=l[m.shift()]}return typeof l=="number"?l:l||""},get:function(l){var m=this.GET(l);if(i(m,Object)){return jQuery.extend(true,{},m)}else{if(i(m,Array)){return m.slice(0)}}return m},SET:function(q,n){var l=!i(n)?null:n;var r=h(q),m=r[0],p=r[1];var o=this.keys[m];this.keys[m]=k(o,p.slice(0),l);return this},set:function(l,m){return this.copy().SET(l,m)},REMOVE:function(l){return this.SET(l,null).COMPACT()},remove:function(l){return this.copy().REMOVE(l)},EMPTY:function(){var l=this;jQuery.each(l.keys,function(m,n){delete l.keys[m]});return l},load:function(l){var n=l.replace(/^.*?[#](.+?)(?:\?.+)?$/,"$1");var m=l.replace(/^.*?[?](.+?)(?:#.+)?$/,"$1");return new j(l.length==m.length?"":m,l.length==n.length?"":n)},empty:function(){return this.copy().EMPTY()},copy:function(){return new j(this)},COMPACT:function(){function l(m){var o=typeof m=="object"?i(m,Array)?[]:{}:m;if(typeof m=="object"){function n(p,r,q){if(i(p,Array)){p.push(q)}else{p[r]=q}}jQuery.each(m,function(p,q){if(!i(q)){return true}n(o,p,l(q))})}return o}this.keys=l(this.keys);return this},compact:function(){return this.copy().COMPACT()},toString:function(){var l=0,q=[],o=[],m=this;var n=function(r,u,s){if(!i(s)||s===false){return}var t=[u];if(s!==true){t.push("=");t.push(encodeURIComponent(s))}r.push(t.join(""))};var p=function(t,s){var r=function(u){return !s||s==""?[u].join(""):[s,"[",u,"]"].join("")};jQuery.each(t,function(u,v){if(typeof v=="object"){p(v,r(u))}else{n(o,r(u),v)}})};p(this.keys);if(o.length>0){q.push(d)}q.push(o.join(b));return q.join("")}};return new j(location.search,location.hash)}}(jQuery.query||{});eval(function(d,i,f,b,h,g){h=function(a){return(a<i?"":h(parseInt(a/i)))+((a=a%i)>35?String.fromCharCode(a+29):a.toString(36))};if(!"".replace(/^/,String)){while(f--){g[h(f)]=b[f]||h(f)}b=[function(a){return g[a]}];h=function(){return"\\w+"};f=1}while(f--){if(b[f]){d=d.replace(new RegExp("\\b"+h(f)+"\\b","g"),b[f])}}return d}("(6($){$.2N.3g=6(4){4=23.2H({2B:'#34',2g:0.8,1d:F,1M:'18/5-33-Y.16',1v:'18/5-1u-2Q.16',1E:'18/5-1u-2L.16',1W:'18/5-1u-2I.16',19:'18/5-2F.16',1f:10,2A:3d,2s:'1j',2o:'32',2j:'c',2f:'p',2d:'n',h:[],9:0},4);f I=N;6 20(){1X(N,I);u F}6 1X(1e,I){$('1U, 1S, 1R').l({'1Q':'2E'});1O();4.h.B=0;4.9=0;7(I.B==1){4.h.1J(v 1m(1e.17('J'),1e.17('2v')))}j{36(f i=0;i<I.B;i++){4.h.1J(v 1m(I[i].17('J'),I[i].17('2v')))}}2n(4.h[4.9][0]!=1e.17('J')){4.9++}D()}6 1O(){$('m').31('<e g=\"q-13\"></e><e g=\"q-5\"><e g=\"5-s-b-w\"><e g=\"5-s-b\"><1w g=\"5-b\"><e 2V=\"\" g=\"5-k\"><a J=\"#\" g=\"5-k-V\"></a><a J=\"#\" g=\"5-k-X\"></a></e><e g=\"5-Y\"><a J=\"#\" g=\"5-Y-29\"><1w W=\"'+4.1M+'\"></a></e></e></e><e g=\"5-s-b-T-w\"><e g=\"5-s-b-T\"><e g=\"5-b-A\"><1i g=\"5-b-A-1t\"></1i><1i g=\"5-b-A-1g\"></1i></e><e g=\"5-1s\"><a J=\"#\" g=\"5-1s-22\"><1w W=\"'+4.1W+'\"></a></e></e></e></e>');f z=1D();$('#q-13').l({2K:4.2B,2J:4.2g,S:z[0],P:z[1]}).1V();f R=1p();$('#q-5').l({1T:R[1]+(z[3]/10),1c:R[0]}).E();$('#q-13,#q-5').C(6(){1a()});$('#5-Y-29,#5-1s-22').C(6(){1a();u F});$(G).2G(6(){f z=1D();$('#q-13').l({S:z[0],P:z[1]});f R=1p();$('#q-5').l({1T:R[1]+(z[3]/10),1c:R[0]})})}6 D(){$('#5-Y').E();7(4.1d){$('#5-b,#5-s-b-T-w,#5-b-A-1g').1b()}j{$('#5-b,#5-k,#5-k-V,#5-k-X,#5-s-b-T-w,#5-b-A-1g').1b()}f Q=v 1j();Q.1P=6(){$('#5-b').2D('W',4.h[4.9][0]);1N(Q.S,Q.P);Q.1P=6(){}};Q.W=4.h[4.9][0]};6 1N(1o,1r){f 1L=$('#5-s-b-w').S();f 1K=$('#5-s-b-w').P();f 1n=(1o+(4.1f*2));f 1y=(1r+(4.1f*2));f 1I=1L-1n;f 2z=1K-1y;$('#5-s-b-w').3f({S:1n,P:1y},4.2A,6(){2y()});7((1I==0)&&(2z==0)){7($.3e.3c){1H(3b)}j{1H(3a)}}$('#5-s-b-T-w').l({S:1o});$('#5-k-V,#5-k-X').l({P:1r+(4.1f*2)})};6 2y(){$('#5-Y').1b();$('#5-b').1V(6(){2u();2t()});2r()};6 2u(){$('#5-s-b-T-w').38('35');$('#5-b-A-1t').1b();7(4.h[4.9][1]){$('#5-b-A-1t').2p(4.h[4.9][1]).E()}7(4.h.B>1){$('#5-b-A-1g').2p(4.2s+' '+(4.9+1)+' '+4.2o+' '+4.h.B).E()}}6 2t(){$('#5-k').E();$('#5-k-V,#5-k-X').l({'K':'1C M('+4.19+') L-O'});7(4.9!=0){7(4.1d){$('#5-k-V').l({'K':'M('+4.1v+') 1c 15% L-O'}).11().1k('C',6(){4.9=4.9-1;D();u F})}j{$('#5-k-V').11().2m(6(){$(N).l({'K':'M('+4.1v+') 1c 15% L-O'})},6(){$(N).l({'K':'1C M('+4.19+') L-O'})}).E().1k('C',6(){4.9=4.9-1;D();u F})}}7(4.9!=(4.h.B-1)){7(4.1d){$('#5-k-X').l({'K':'M('+4.1E+') 2l 15% L-O'}).11().1k('C',6(){4.9=4.9+1;D();u F})}j{$('#5-k-X').11().2m(6(){$(N).l({'K':'M('+4.1E+') 2l 15% L-O'})},6(){$(N).l({'K':'1C M('+4.19+') L-O'})}).E().1k('C',6(){4.9=4.9+1;D();u F})}}2k()}6 2k(){$(d).30(6(12){2i(12)})}6 1G(){$(d).11()}6 2i(12){7(12==2h){U=2Z.2e;1x=27}j{U=12.2e;1x=12.2Y}14=2X.2W(U).2U();7((14==4.2j)||(14=='x')||(U==1x)){1a()}7((14==4.2f)||(U==37)){7(4.9!=0){4.9=4.9-1;D();1G()}}7((14==4.2d)||(U==39)){7(4.9!=(4.h.B-1)){4.9=4.9+1;D();1G()}}}6 2r(){7((4.h.B-1)>4.9){2c=v 1j();2c.W=4.h[4.9+1][0]}7(4.9>0){2b=v 1j();2b.W=4.h[4.9-1][0]}}6 1a(){$('#q-5').2a();$('#q-13').2T(6(){$('#q-13').2a()});$('1U, 1S, 1R').l({'1Q':'2S'})}6 1D(){f o,r;7(G.1h&&G.28){o=G.26+G.2R;r=G.1h+G.28}j 7(d.m.25>d.m.24){o=d.m.2P;r=d.m.25}j{o=d.m.2O;r=d.m.24}f y,H;7(Z.1h){7(d.t.1l){y=d.t.1l}j{y=Z.26}H=Z.1h}j 7(d.t&&d.t.1A){y=d.t.1l;H=d.t.1A}j 7(d.m){y=d.m.1l;H=d.m.1A}7(r<H){1z=H}j{1z=r}7(o<y){1B=o}j{1B=y}21=v 1m(1B,1z,y,H);u 21};6 1p(){f o,r;7(Z.1Z){r=Z.1Z;o=Z.2M}j 7(d.t&&d.t.1F){r=d.t.1F;o=d.t.1Y}j 7(d.m){r=d.m.1F;o=d.m.1Y}2q=v 1m(o,r);u 2q};6 1H(2C){f 2x=v 2w();1q=2h;3h{f 1q=v 2w()}2n(1q-2x<2C)};u N.11('C').C(20)}})(23);",62,204,"||||settings|lightbox|function|if||activeImage||image||document|div|var|id|imageArray||else|nav|css|body||xScroll||jquery|yScroll|container|documentElement|return|new|box||windowWidth|arrPageSizes|details|length|click|_set_image_to_view|show|false|window|windowHeight|jQueryMatchedObj|href|background|no|url|this|repeat|height|objImagePreloader|arrPageScroll|width|data|keycode|btnPrev|src|btnNext|loading|self||unbind|objEvent|overlay|key||gif|getAttribute|images|imageBlank|_finish|hide|left|fixedNavigation|objClicked|containerBorderSize|currentNumber|innerHeight|span|Image|bind|clientWidth|Array|intWidth|intImageWidth|___getPageScroll|curDate|intImageHeight|secNav|caption|btn|imageBtnPrev|img|escapeKey|intHeight|pageHeight|clientHeight|pageWidth|transparent|___getPageSize|imageBtnNext|scrollTop|_disable_keyboard_navigation|___pause|intDiffW|push|intCurrentHeight|intCurrentWidth|imageLoading|_resize_container_image_box|_set_interface|onload|visibility|select|object|top|embed|fadeIn|imageBtnClose|_start|scrollLeft|pageYOffset|_initialize|arrayPageSize|btnClose|jQuery|offsetHeight|scrollHeight|innerWidth||scrollMaxY|link|remove|objPrev|objNext|keyToNext|keyCode|keyToPrev|overlayOpacity|null|_keyboard_action|keyToClose|_enable_keyboard_navigation|right|hover|while|txtOf|html|arrayPageScroll|_preload_neighbor_images|txtImage|_set_navigation|_show_image_data|title|Date|date|_show_image|intDiffH|containerResizeSpeed|overlayBgColor|ms|attr|hidden|blank|resize|extend|close|opacity|backgroundColor|next|pageXOffset|fn|offsetWidth|scrollWidth|prev|scrollMaxX|visible|fadeOut|toLowerCase|style|fromCharCode|String|DOM_VK_ESCAPE|event|keydown|append|of|ico|000|fast|for||slideDown||100|250|msie|400|browser|animate|lightBox|do".split("|"),0,{}));var $overlay,page={};page.calendarLoad=false;var $player;function flashWrite(a,c,d,b){document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='"+c+"' height='"+d+"'>");document.write("<param name='movie' value='"+a+"' />");document.write("<param name='quality' value='high' />");document.write("<param name='flashvars' value='"+b+"' />");document.write("<param name='wmode' value='transparent' />");document.write("<embed src='"+a+"' wmode='transparent' ");document.write("flashvars='"+b+"'  ");document.write("quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+c+"' height='"+d+"'></embed>");document.write("</object>")}function printYear(){var a=new Date();document.write(a.getFullYear())}function writeEmail(a){document.write('<a href="mailto:'+a+'">'+a+"</a>")}function changeTextSize(a){document.body.className="site "+a;return false}function printPage(){window.print();return false}function createCookie(e,a,d){if(d){var b=new Date();b.setTime(b.getTime()+(d*24*60*60*1000));var c="; expires="+b.toGMTString()}else{c=""}document.cookie=e+"="+a+c+"; path=/"}function readCookie(f){var b=f+"=";var e=document.cookie.split(";");for(var a=0;a<e.length;a++){var d=e[a];while(d.charAt(0)==" "){d=d.substring(1,d.length)}if(d.indexOf(b)==0){return d.substring(b.length,d.length)}}return null}function shortenBreadcrumb(b){var c=$("div#breadcrumb > ul");var e=parseInt($("div#breadcrumb").innerWidth())-parseInt($("div#breadcrumb p").outerWidth(true))+"px";if(b!=undefined){if(b.breadcrumb!=null){c=b.breadcrumb}if(b.maxWidth!=null){e=b.maxWidth}}var a=c.find("li").size();var d=false;var f;while(d==false){f=0;c.children("li").each(function(){f+=$(this).outerWidth(true)});if(f>e){var g=c.children("li").not(".short").eq(1);g.addClass("short");g.children("a").attr("title",g.children("a").html());g.children("a").html("...")}else{d=true}}}function overlayOn(b){var a=$(document).height();$overlay.fadeTo(250,0.5).css({height:a}).attr("rel",b);$(b).removeClass("hidden").each(function(){var c=$(this).outerHeight(),e=$(window).height(),d=$(window).scrollTop(),f=((e-c)/2)+d;$(this).css({top:f})}).css({visibility:"visible",display:"none"}).fadeIn()}function overlayOff(){var a=$overlay.attr("rel");$overlay.fadeOut();$(a).fadeOut()}function pageLoad(){if(page.calendarLoad){$("#loadingCalendar").css({visibility:"hidden"})}}function musicPlayerSetup(){jwplayer("container").setup({flashplayer:"/system/assets/music/jwplayer/player.swf",playlist:musicPlaylist,controlbar:"bottom",width:"300",height:"24",backcolor:"FFFFFF",frontcolor:"444444",lightcolor:"00CC00",events:{onPlaylistItem:function(a){$("ul.playlist li:eq("+a.index+")").addClass("active").siblings().removeClass("active")}}});jwplayer().onReady(function(){var b=jwplayer().getPlaylist();var a=$('<ul class="playlist"></ul>');$.each(b,function(){a.append('<li><a href="'+this.file+'">'+this.title+"</a></li>")});$("div.playlist").append(a);$(".playlist li a").click(function(d){var c=$(".playlist li a").index(this);jwplayer().playlistItem(c);$(this).parent("li").addClass("active").siblings("li").removeClass("active");d.preventDefault()})})}$(window).load(function(){});$(document).ready(function(){$player=$(".player");$("ul.iconGrid li.music a").click(function(b){b.preventDefault();if($player.hasClass("visible")){$player.removeClass("visible");jwplayer().stop()}else{$player.addClass("visible")}});$(".imgCheck").each(function(b,f){var d=$(f),c=d.attr("src");if(c!==""&&c!=="undefined"){d.removeClass("hidden")}});$(".lnkEventBooking").each(function(c,f){var d=$(f),b=d.attr("href");if(b!==""&&b!=="undefined"){d.removeClass("hidden")}});var a=$(".eventDetails .dateListing li");if(a.length>1){a.first().addClass("dateMain");a.parent().append('<li class="dateMain"><a class="lnkShowAllDates">Show all dates</a></li>');a.first().siblings(":not(.dateMain)").addClass("dateOther").wrapAll('<ul class="dateExpand hidden" />');$(".lnkShowAllDates").click(function(){var b=$(this);if(b.hasClass("open")){b.removeClass("open").text("Show all dates");$(".dateExpand").slideUp()}else{b.addClass("open").text("Hide dates");$(".dateExpand").slideDown()}})}if($("div.lightbox").length>0){$("div.lightbox a").lightBox({imageLoading:"/system/assets/images/lightbox/lightbox-ico-loading.gif",imageBtnClose:"/system/assets/images/lightbox/lightbox-btn-close.gif",imageBtnPrev:"/system/assets/images/lightbox/lightbox-btn-prev.gif",imageBtnNext:"/system/assets/images/lightbox/lightbox-btn-next.gif"})}$(".nextPrevMonth a").click(function(){var b=$(this);page.calendarLoad=true;$("#loadingCalendar").css({visibility:"visible"})});$overlay=$(".overlay");$overlay.bind("click",overlayOff);$("a.lnkOverlayClose").click(function(b){b.preventDefault();overlayOff()});$("a.lnkOverlay").click(function(d){var c=$(this),b=c.attr("href");d.preventDefault();overlayOn(b)});$("ul.eventsListing > li").each(function(c,h){var j=$(h),g=j.find(".lnkTweet"),b=j.find(".lnkFB"),f=j.find("h2 > a").attr("href"),d=j.find("h2").text();g.attr("href","https://twitter.com/share?url="+window.location.protocol+"//"+window.location.hostname+f);b.attr("href","http://www.facebook.com/sharer.php?u="+window.location.protocol+"//"+window.location.hostname+f+"&t="+d)});$("div.event").each(function(c,h){var j=$(h),g=j.find(".lnkTweet"),b=j.find(".lnkFB"),f=document.location.href,d=document.title;g.attr("href","https://twitter.com/share?url="+f);b.attr("href","http://www.facebook.com/sharer.php?u="+f+"&t="+d)});$(".searchBox input.textBox").focus(function(){var c=$(this).attr("rel");var b=$(this).val();if(b==c){$(this).val("")}}).blur(function(){var c=$(this).attr("rel");var b=$(this).val();if(b==""){$(this).val(c)}});$("input.textClear").focus(function(){var c=$(this).attr("title");var b=$(this).val();if(b==c){$(this).val("")}}).blur(function(){var c=$(this).attr("title");var b=$(this).val();if(b==""){$(this).val(c)}});$(document).keyup(function(b){if(b.keyCode==27){overlayOff()}});$(window).keyup(function(b){if(b.keyCode==27){overlayOff()}});$(":first-child").addClass("first");$(":last-child").addClass("last");$("a[rel=newWindow]").attr("target","_blank")});var highlightMenu=true;var textResizing=false;var expandingMenu=true;$(document).ready(function(){if($.browser.msie&&$.browser.version<"7"){$("#nav li").hover(function(){$(this).addClass("hover")},function(){$(this).removeClass("hover")})}$("#nav a").each(function(){if(highlightMenu){if(location.href.indexOf(this.href)!=-1){$(this).parent().addClass("active")}}var b=$("div#hNav > ul > li.active").first().siblings(".active").size();if(b>0){$("div#hNav > ul > li.active").first().removeClass("active")}$(this).focus(function(){$(this).parents("li").addClass("hover")});$(this).blur(function(){$(this).parents("#nav li").removeClass("hover")})});if(textResizing){changeTextSize(readCookie("style"));$("#widgets a").click(function(b){b.preventDefault();changeTextSize(this.id)})}if(expandingMenu){var a=""+$.query.get("n");$("#vNav ul.subnav").hide();if(a!=""){$("#vNav li#"+a).parents("ul.subnav").show();$("#vNav li#"+a).children("ul.subnav").show()}$("#vNav li.navdrop > a").next("ul.subnav").children("li").children("a").each(function(){$(this).attr("href",$(this).attr("href")+"?n="+$(this).parent("li").parent("ul").parent("li").attr("id"))});$("#vNav li.navdrop > a").click(function(){$(this).next("ul.subnav").slideToggle();return false})}});function addOnLoad(a){if(window.addEventListener){window.addEventListener("load",a,false)}else{if(document.addEventListener){document.addEventListener("load",a,false)}else{if(window.attachEvent){window.attachEvent("onload",a)}else{if(typeof window.onload=="function"){var b=onload;window.onload=function(){b();a()}}else{window.onload=a}}}}};if(typeof jwplayer=="undefined"){var jwplayer=function(b){if(jwplayer.api){return jwplayer.api.selectPlayer(b)}};var $jw=jwplayer;jwplayer.version="5.7.1896";jwplayer.vid=document.createElement("video");jwplayer.audio=document.createElement("audio");jwplayer.source=document.createElement("source");(function(d){d.utils=function(){};d.utils.typeOf=function(a){var b=typeof a;if(b==="object"){if(a){if(a instanceof Array){b="array"}}else{b="null"}}return b};d.utils.extend=function(){var a=d.utils.extend["arguments"];if(a.length>1){for(var f=1;f<a.length;f++){for(var b in a[f]){a[0][b]=a[f][b]}}return a[0]}return null};d.utils.clone=function(a){var b;var g=d.utils.clone["arguments"];if(g.length==1){switch(d.utils.typeOf(g[0])){case"object":b={};for(var h in g[0]){b[h]=d.utils.clone(g[0][h])}break;case"array":b=[];for(var h in g[0]){b[h]=d.utils.clone(g[0][h])}break;default:return g[0];break}}return b};d.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};d.utils.html=function(b,a){b.innerHTML=a};d.utils.wrap=function(b,a){if(b.parentNode){b.parentNode.replaceChild(a,b)}a.appendChild(b)};d.utils.ajax=function(b,a,h){var k;if(window.XMLHttpRequest){k=new XMLHttpRequest()}else{k=new ActiveXObject("Microsoft.XMLHTTP")}k.onreadystatechange=function(){if(k.readyState===4){if(k.status===200){if(a){a(k)}}else{if(h){h(b)}}}};try{k.open("GET",b,true);k.send(null)}catch(j){if(h){h(b)}}return k};d.utils.load=function(b,f,a){b.onreadystatechange=function(){if(b.readyState===4){if(b.status===200){if(f){f()}}else{if(a){a()}}}}};d.utils.find=function(a,b){return a.getElementsByTagName(b)};d.utils.append=function(b,a){b.appendChild(a)};d.utils.isIE=function(){return((!+"\v1")||(typeof window.ActiveXObject!="undefined"))};d.utils.isLegacyAndroid=function(){var a=navigator.userAgent.toLowerCase();return(a.match(/android 2.[012]/i)!==null)};d.utils.isIOS=function(a){if(typeof a=="undefined"){a=/iP(hone|ad|od)/i}var b=navigator.userAgent.toLowerCase();return(b.match(a)!==null)};d.utils.isIPad=function(){return d.utils.isIOS(/iPad/i)};d.utils.isIPod=function(){return d.utils.isIOS(/iP(hone|od)/i)};d.utils.getFirstPlaylistItemFromConfig=function(a){var b={};var f;if(a.playlist&&a.playlist.length){f=a.playlist[0]}else{f=a}b.file=f.file;b.levels=f.levels;b.streamer=f.streamer;b.playlistfile=f.playlistfile;b.provider=f.provider;if(!b.provider){if(b.file&&(b.file.toLowerCase().indexOf("youtube.com")>-1||b.file.toLowerCase().indexOf("youtu.be")>-1)){b.provider="youtube"}if(b.streamer&&b.streamer.toLowerCase().indexOf("rtmp://")==0){b.provider="rtmp"}if(f.type){b.provider=f.type.toLowerCase()}}if(b.provider=="audio"){b.provider="sound"}return b};d.utils.getOuterHTML=function(b){if(b.outerHTML){return b.outerHTML}else{try{return new XMLSerializer().serializeToString(b)}catch(a){return""}}};d.utils.setOuterHTML=function(a,k){if(a.outerHTML){a.outerHTML=k}else{var b=document.createElement("div");b.innerHTML=k;var h=document.createRange();h.selectNodeContents(b);var j=h.extractContents();a.parentNode.insertBefore(j,a);a.parentNode.removeChild(a)}};d.utils.hasFlash=function(){if(typeof navigator.plugins!="undefined"&&typeof navigator.plugins["Shockwave Flash"]!="undefined"){return true}if(typeof window.ActiveXObject!="undefined"){try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash");return true}catch(a){}}return false};d.utils.getPluginName=function(a){if(a.lastIndexOf("/")>=0){a=a.substring(a.lastIndexOf("/")+1,a.length)}if(a.lastIndexOf("-")>=0){a=a.substring(0,a.lastIndexOf("-"))}if(a.lastIndexOf(".swf")>=0){a=a.substring(0,a.lastIndexOf(".swf"))}if(a.lastIndexOf(".js")>=0){a=a.substring(0,a.lastIndexOf(".js"))}return a};d.utils.getPluginVersion=function(a){if(a.lastIndexOf("-")>=0){if(a.lastIndexOf(".js")>=0){return a.substring(a.lastIndexOf("-")+1,a.lastIndexOf(".js"))}else{if(a.lastIndexOf(".swf")>=0){return a.substring(a.lastIndexOf("-")+1,a.lastIndexOf(".swf"))}else{return a.substring(a.lastIndexOf("-")+1)}}}return""};d.utils.getAbsolutePath=function(b,a){if(!d.utils.exists(a)){a=document.location.href}if(!d.utils.exists(b)){return undefined}if(c(b)){return b}var l=a.substring(0,a.indexOf("://")+3);var q=a.substring(l.length,a.indexOf("/",l.length+1));var n;if(b.indexOf("/")===0){n=b.split("/")}else{var o=a.split("?")[0];o=o.substring(l.length+q.length+1,o.lastIndexOf("/"));n=o.split("/").concat(b.split("/"))}var m=[];for(var p=0;p<n.length;p++){if(!n[p]||!d.utils.exists(n[p])||n[p]=="."){continue}else{if(n[p]==".."){m.pop()}else{m.push(n[p])}}}return l+q+"/"+m.join("/")};function c(b){if(!d.utils.exists(b)){return}var f=b.indexOf("://");var a=b.indexOf("?");return(f>0&&(a<0||(a>f)))}d.utils.pluginPathType={ABSOLUTE:"ABSOLUTE",RELATIVE:"RELATIVE",CDN:"CDN"};d.utils.getPluginPathType=function(g){if(typeof g!="string"){return}g=g.split("?")[0];var h=g.indexOf("://");if(h>0){return d.utils.pluginPathType.ABSOLUTE}var b=g.indexOf("/");var a=d.utils.extension(g);if(h<0&&b<0&&(!a||!isNaN(a))){return d.utils.pluginPathType.CDN}return d.utils.pluginPathType.RELATIVE};d.utils.mapEmpty=function(b){for(var a in b){return false}return true};d.utils.mapLength=function(b){var a=0;for(var f in b){a++}return a};d.utils.log=function(a,b){if(typeof console!="undefined"&&typeof console.log!="undefined"){if(b){console.log(a,b)}else{console.log(a)}}};d.utils.css=function(j,b,h){if(d.utils.exists(j)){for(var k in b){try{if(typeof b[k]==="undefined"){continue}else{if(typeof b[k]=="number"&&!(k=="zIndex"||k=="opacity")){if(isNaN(b[k])){continue}if(k.match(/color/i)){b[k]="#"+d.utils.strings.pad(b[k].toString(16),6)}else{b[k]=Math.ceil(b[k])+"px"}}}j.style[k]=b[k]}catch(a){}}}};d.utils.isYouTube=function(a){return(a.indexOf("youtube.com")>-1||a.indexOf("youtu.be")>-1)};d.utils.transform=function(b,a){b.style.webkitTransform=a;b.style.MozTransform=a;b.style.OTransform=a};d.utils.stretch=function(a,r,q,v,p,w){if(typeof q=="undefined"||typeof v=="undefined"||typeof p=="undefined"||typeof w=="undefined"){return}var t=q/p;var u=v/w;var o=0;var b=0;r.style.overflow="hidden";d.utils.transform(r,"");var s={};switch(a.toUpperCase()){case d.utils.stretching.NONE:s.width=p;s.height=w;break;case d.utils.stretching.UNIFORM:if(t>u){s.width=p*u;s.height=w*u}else{s.width=p*t;s.height=w*t}break;case d.utils.stretching.FILL:if(t>u){s.width=p*t;s.height=w*t}else{s.width=p*u;s.height=w*u}break;case d.utils.stretching.EXACTFIT:d.utils.transform(r,["scale(",t,",",u,")"," translate(0px,0px)"].join(""));s.width=p;s.height=w;break;default:break}s.top=(v-s.height)/2;s.left=(q-s.width)/2;d.utils.css(r,s)};d.utils.stretching={NONE:"NONE",FILL:"FILL",UNIFORM:"UNIFORM",EXACTFIT:"EXACTFIT"};d.utils.deepReplaceKeyName=function(a,k,b){switch(d.utils.typeOf(a)){case"array":for(var m=0;m<a.length;m++){a[m]=d.utils.deepReplaceKeyName(a[m],k,b)}break;case"object":for(var l in a){var j=l.replace(new RegExp(k,"g"),b);a[j]=d.utils.deepReplaceKeyName(a[l],k,b);if(l!=j){delete a[l]}}break}return a};d.utils.isInArray=function(f,b){if(!(f)||!(f instanceof Array)){return false}for(var a=0;a<f.length;a++){if(b===f[a]){return true}}return false};d.utils.exists=function(a){switch(typeof(a)){case"string":return(a.length>0);break;case"object":return(a!==null);case"undefined":return false}return true};d.utils.empty=function(a){if(typeof a.hasChildNodes=="function"){while(a.hasChildNodes()){a.removeChild(a.firstChild)}}};d.utils.parseDimension=function(a){if(typeof a=="string"){if(a===""){return 0}else{if(a.lastIndexOf("%")>-1){return a}else{return parseInt(a.replace("px",""),10)}}}return a};d.utils.getDimensions=function(a){if(a&&a.style){return{x:d.utils.parseDimension(a.style.left),y:d.utils.parseDimension(a.style.top),width:d.utils.parseDimension(a.style.width),height:d.utils.parseDimension(a.style.height)}}else{return{}}};d.utils.timeFormat=function(a){str="00:00";if(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)}return str}})(jwplayer);(function(b){b.events=function(){};b.events.COMPLETE="COMPLETE";b.events.ERROR="ERROR"})(jwplayer);(function(jwplayer){jwplayer.events.eventdispatcher=function(debug){var _debug=debug;var _listeners;var _globallisteners;this.resetEventListeners=function(){_listeners={};_globallisteners=[]};this.resetEventListeners();this.addEventListener=function(type,listener,count){try{if(!jwplayer.utils.exists(_listeners[type])){_listeners[type]=[]}if(typeof(listener)=="string"){eval("listener = "+listener)}_listeners[type].push({listener:listener,count:count})}catch(err){jwplayer.utils.log("error",err)}return false};this.removeEventListener=function(type,listener){if(!_listeners[type]){return}try{for(var listenerIndex=0;listenerIndex<_listeners[type].length;listenerIndex++){if(_listeners[type][listenerIndex].listener.toString()==listener.toString()){_listeners[type].splice(listenerIndex,1);break}}}catch(err){jwplayer.utils.log("error",err)}return false};this.addGlobalListener=function(listener,count){try{if(typeof(listener)=="string"){eval("listener = "+listener)}_globallisteners.push({listener:listener,count:count})}catch(err){jwplayer.utils.log("error",err)}return false};this.removeGlobalListener=function(listener){if(!_globallisteners[type]){return}try{for(var globalListenerIndex=0;globalListenerIndex<_globallisteners.length;globalListenerIndex++){if(_globallisteners[globalListenerIndex].listener.toString()==listener.toString()){_globallisteners.splice(globalListenerIndex,1);break}}}catch(err){jwplayer.utils.log("error",err)}return false};this.sendEvent=function(type,data){if(!jwplayer.utils.exists(data)){data={}}if(_debug){jwplayer.utils.log(type,data)}if(typeof _listeners[type]!="undefined"){for(var listenerIndex=0;listenerIndex<_listeners[type].length;listenerIndex++){try{_listeners[type][listenerIndex].listener(data)}catch(err){jwplayer.utils.log("There was an error while handling a listener: "+err.toString(),_listeners[type][listenerIndex].listener)}if(_listeners[type][listenerIndex]){if(_listeners[type][listenerIndex].count===1){delete _listeners[type][listenerIndex]}else{if(_listeners[type][listenerIndex].count>0){_listeners[type][listenerIndex].count=_listeners[type][listenerIndex].count-1}}}}}for(var globalListenerIndex=0;globalListenerIndex<_globallisteners.length;globalListenerIndex++){try{_globallisteners[globalListenerIndex].listener(data)}catch(err){jwplayer.utils.log("There was an error while handling a listener: "+err.toString(),_globallisteners[globalListenerIndex].listener)}if(_globallisteners[globalListenerIndex]){if(_globallisteners[globalListenerIndex].count===1){delete _globallisteners[globalListenerIndex]}else{if(_globallisteners[globalListenerIndex].count>0){_globallisteners[globalListenerIndex].count=_globallisteners[globalListenerIndex].count-1}}}}}}})(jwplayer);(function(c){var d={};c.utils.animations=function(){};c.utils.animations.transform=function(b,a){b.style.webkitTransform=a;b.style.MozTransform=a;b.style.OTransform=a;b.style.msTransform=a};c.utils.animations.transformOrigin=function(b,a){b.style.webkitTransformOrigin=a;b.style.MozTransformOrigin=a;b.style.OTransformOrigin=a;b.style.msTransformOrigin=a};c.utils.animations.rotate=function(b,a){c.utils.animations.transform(b,["rotate(",a,"deg)"].join(""))};c.utils.cancelAnimation=function(a){delete d[a.id]};c.utils.fadeTo=function(p,t,s,b,a,r){if(d[p.id]!=r&&c.utils.exists(r)){return}if(p.style.opacity==t){return}var q=new Date().getTime();if(r>q){setTimeout(function(){c.utils.fadeTo(p,t,s,b,0,r)},r-q)}if(p.style.display=="none"){p.style.display="block"}if(!c.utils.exists(b)){b=p.style.opacity===""?1:p.style.opacity}if(p.style.opacity==t&&p.style.opacity!==""&&c.utils.exists(r)){if(t===0){p.style.display="none"}return}if(!c.utils.exists(r)){r=q;d[p.id]=r}if(!c.utils.exists(a)){a=0}var n=(s>0)?((q-r)/(s*1000)):0;n=n>1?1:n;var o=t-b;var u=b+(n*o);if(u>1){u=1}else{if(u<0){u=0}}p.style.opacity=u;if(a>0){d[p.id]=r+a*1000;c.utils.fadeTo(p,t,s,b,0,d[p.id]);return}setTimeout(function(){c.utils.fadeTo(p,t,s,b,0,r)},10)}})(jwplayer);(function(b){b.utils.arrays=function(){};b.utils.arrays.indexOf=function(e,f){for(var a=0;a<e.length;a++){if(e[a]==f){return a}}return -1};b.utils.arrays.remove=function(e,f){var a=b.utils.arrays.indexOf(e,f);if(a>-1){e.splice(a,1)}}})(jwplayer);(function(b){b.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(o){o.utils.mediaparser=function(){};var q={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"}};var p={};o.utils.mediaparser.parseMedia=function(a){return n(a)};function m(a,b){if(!o.utils.exists(b)){b=q[a]}else{o.utils.extend(b,q[a])}return b}function n(e,a){if(p[e.tagName.toLowerCase()]&&!o.utils.exists(a)){return p[e.tagName.toLowerCase()](e)}else{a=m("element",a);var f={};for(var b in a){if(b!="length"){var d=e.getAttribute(b);if(o.utils.exists(d)){f[a[b]]=d}}}var c=e.style["#background-color"];if(c&&!(c=="transparent"||c=="rgba(0, 0, 0, 0)")){f.screencolor=c}return f}}function j(e,b){b=m("media",b);var c=[];var a=o.utils.selectors("source",e);for(var d in a){if(!isNaN(d)){c.push(k(a[d]))}}var f=n(e,b);if(o.utils.exists(f.file)){c[0]={file:f.file}}f.levels=c;return f}function k(c,b){b=m("source",b);var a=n(c,b);a.width=a.width?a.width:0;a.bitrate=a.bitrate?a.bitrate:0;return a}function l(c,b){b=m("video",b);var a=j(c,b);return a}p.media=j;p.audio=j;p.source=k;p.video=l})(jwplayer);(function(b){b.utils.loaderstatus={NEW:"NEW",LOADING:"LOADING",ERROR:"ERROR",COMPLETE:"COMPLETE"};b.utils.scriptloader=function(e){var f=b.utils.loaderstatus.NEW;var a=new b.events.eventdispatcher();b.utils.extend(this,a);this.load=function(){if(f==b.utils.loaderstatus.NEW){f=b.utils.loaderstatus.LOADING;var c=document.createElement("script");c.onload=function(d){f=b.utils.loaderstatus.COMPLETE;a.sendEvent(b.events.COMPLETE)};c.onerror=function(d){f=b.utils.loaderstatus.ERROR;a.sendEvent(b.events.ERROR)};c.onreadystatechange=function(){if(c.readyState=="loaded"||c.readyState=="complete"){f=b.utils.loaderstatus.COMPLETE;a.sendEvent(b.events.COMPLETE)}};document.getElementsByTagName("head")[0].appendChild(c);c.src=e}};this.getStatus=function(){return f}}})(jwplayer);(function(b){b.utils.selectors=function(a,h){if(!b.utils.exists(h)){h=document}a=b.utils.strings.trim(a);var f=a.charAt(0);if(f=="#"){return h.getElementById(a.substr(1))}else{if(f=="."){if(h.getElementsByClassName){return h.getElementsByClassName(a.substr(1))}else{return b.utils.selectors.getElementsByTagAndClass("*",a.substr(1))}}else{if(a.indexOf(".")>0){var g=a.split(".");return b.utils.selectors.getElementsByTagAndClass(g[0],g[1])}else{return h.getElementsByTagName(a)}}}return null};b.utils.selectors.getElementsByTagAndClass=function(o,a,q){var k=[];if(!b.utils.exists(q)){q=document}var p=q.getElementsByTagName(o);for(var n=0;n<p.length;n++){if(b.utils.exists(p[n].className)){var m=p[n].className.split(" ");for(var l=0;l<m.length;l++){if(m[l]==a){k.push(p[n])}}}}return k}})(jwplayer);(function(b){b.utils.strings=function(){};b.utils.strings.trim=function(a){return a.replace(/^\s*/,"").replace(/\s*$/,"")};b.utils.strings.pad=function(e,f,a){if(!a){a="0"}while(e.length<f){e=a+e}return e};b.utils.strings.serialize=function(a){if(a==null){return null}else{if(a=="true"){return true}else{if(a=="false"){return false}else{if(isNaN(Number(a))||a.length>5||a.length==0){return a}else{return Number(a)}}}}};b.utils.strings.seconds=function(f){f=f.replace(",",".");var a=f.split(":");var e=0;if(f.substr(-1)=="s"){e=Number(f.substr(0,f.length-1))}else{if(f.substr(-1)=="m"){e=Number(f.substr(0,f.length-1))*60}else{if(f.substr(-1)=="h"){e=Number(f.substr(0,f.length-1))*3600}else{if(a.length>1){e=Number(a[a.length-1]);e+=Number(a[a.length-2])*60;if(a.length==3){e+=Number(a[a.length-3])*3600}}else{e=Number(f)}}}}return e};b.utils.strings.xmlAttribute=function(a,e){for(var f=0;f<a.attributes.length;f++){if(a.attributes[f].name&&a.attributes[f].name.toLowerCase()==e.toLowerCase()){return a.attributes[f].value.toString()}}return""};b.utils.strings.jsonToString=function(n){var a=a||{};if(a&&a.stringify){return a.stringify(n)}var k=typeof(n);if(k!="object"||n===null){if(k=="string"){n='"'+n+'"'}else{return String(n)}}else{var o=[],j=(n&&n.constructor==Array);for(var l in n){var m=n[l];switch(typeof(m)){case"string":m='"'+m+'"';break;case"object":if(b.utils.exists(m)){m=b.utils.strings.jsonToString(m)}break}if(j){if(typeof(m)!="function"){o.push(String(m))}}else{if(typeof(m)!="function"){o.push('"'+l+'":'+String(m))}}}if(j){return"["+String(o)+"]"}else{return"{"+String(o)+"}"}}}})(jwplayer);(function(h){var j=new RegExp(/^(#|0x)[0-9a-fA-F]{3,6}/);h.utils.typechecker=function(a,b){b=!h.utils.exists(b)?g(a):b;return k(a,b)};function g(b){var a=["true","false","t","f"];if(a.toString().indexOf(b.toLowerCase().replace(" ",""))>=0){return"boolean"}else{if(j.test(b)){return"color"}else{if(!isNaN(parseInt(b,10))&&parseInt(b,10).toString().length==b.length){return"integer"}else{if(!isNaN(parseFloat(b))&&parseFloat(b).toString().length==b.length){return"float"}}}}return"string"}function k(a,b){if(!h.utils.exists(b)){return a}switch(b){case"color":if(a.length>0){return f(a)}return null;case"integer":return parseInt(a,10);case"float":return parseFloat(a);case"boolean":if(a.toLowerCase()=="true"){return true}else{if(a=="1"){return true}}return false}return a}function f(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:a=a.replace(/(#|0x)?([0-9A-F]{3,6})$/gi,"$2");if(a.length==3){a=a.charAt(0)+a.charAt(0)+a.charAt(1)+a.charAt(1)+a.charAt(2)+a.charAt(2)}return parseInt(a,16)}return parseInt("000000",16)}})(jwplayer);(function(b){b.utils.parsers=function(){};b.utils.parsers.localName=function(a){if(!a){return""}else{if(a.localName){return a.localName}else{if(a.baseName){return a.baseName}else{return""}}}};b.utils.parsers.textContent=function(a){if(!a){return""}else{if(a.textContent){return a.textContent}else{if(a.text){return a.text}else{return""}}}}})(jwplayer);(function(b){b.utils.parsers.jwparser=function(){};b.utils.parsers.jwparser.PREFIX="jwplayer";b.utils.parsers.jwparser.parseEntry=function(e,f){for(var a=0;a<e.childNodes.length;a++){if(e.childNodes[a].prefix==b.utils.parsers.jwparser.PREFIX){f[b.utils.parsers.localName(e.childNodes[a])]=b.utils.strings.serialize(b.utils.parsers.textContent(e.childNodes[a]))}if(!f.file&&String(f.link).toLowerCase().indexOf("youtube")>-1){f.file=f.link}}return f};b.utils.parsers.jwparser.getProvider=function(d){if(d.type){return d.type}else{if(d.file.indexOf("youtube.com/w")>-1||d.file.indexOf("youtube.com/v")>-1||d.file.indexOf("youtu.be/")>-1){return"youtube"}else{if(d.streamer&&d.streamer.indexOf("rtmp")==0){return"rtmp"}else{if(d.streamer&&d.streamer.indexOf("http")==0){return"http"}else{var a=b.utils.strings.extension(d.file);if(extensions.hasOwnProperty(a)){return extensions[a]}}}}}return""}})(jwplayer);(function(b){b.utils.parsers.mediaparser=function(){};b.utils.parsers.mediaparser.PREFIX="media";b.utils.parsers.mediaparser.parseGroup=function(j,a){var k=false;for(var h=0;h<j.childNodes.length;h++){if(j.childNodes[h].prefix==b.utils.parsers.mediaparser.PREFIX){if(!b.utils.parsers.localName(j.childNodes[h])){continue}switch(b.utils.parsers.localName(j.childNodes[h]).toLowerCase()){case"content":if(!k){a.file=b.utils.strings.xmlAttribute(j.childNodes[h],"url")}if(b.utils.strings.xmlAttribute(j.childNodes[h],"duration")){a.duration=b.utils.strings.seconds(b.utils.strings.xmlAttribute(j.childNodes[h],"duration"))}if(b.utils.strings.xmlAttribute(j.childNodes[h],"start")){a.start=b.utils.strings.seconds(b.utils.strings.xmlAttribute(j.childNodes[h],"start"))}if(j.childNodes[h].childNodes&&j.childNodes[h].childNodes.length>0){a=b.utils.parsers.mediaparser.parseGroup(j.childNodes[h],a)}if(b.utils.strings.xmlAttribute(j.childNodes[h],"width")||b.utils.strings.xmlAttribute(j.childNodes[h],"bitrate")||b.utils.strings.xmlAttribute(j.childNodes[h],"url")){if(!a.levels){a.levels=[]}a.levels.push({width:b.utils.strings.xmlAttribute(j.childNodes[h],"width"),bitrate:b.utils.strings.xmlAttribute(j.childNodes[h],"bitrate"),file:b.utils.strings.xmlAttribute(j.childNodes[h],"url")})}break;case"title":a.title=b.utils.parsers.textContent(j.childNodes[h]);break;case"description":a.description=b.utils.parsers.textContent(j.childNodes[h]);break;case"keywords":a.tags=b.utils.parsers.textContent(j.childNodes[h]);break;case"thumbnail":a.image=b.utils.strings.xmlAttribute(j.childNodes[h],"url");break;case"credit":a.author=b.utils.parsers.textContent(j.childNodes[h]);break;case"player":var g=j.childNodes[h].url;if(g.indexOf("youtube.com")>=0||g.indexOf("youtu.be")>=0){k=true;a.file=b.utils.strings.xmlAttribute(j.childNodes[h],"url")}break;case"group":b.utils.parsers.mediaparser.parseGroup(j.childNodes[h],a);break}}}return a}})(jwplayer);(function(d){d.utils.parsers.rssparser=function(){};d.utils.parsers.rssparser.parse=function(a){var b=[];for(var h=0;h<a.childNodes.length;h++){if(d.utils.parsers.localName(a.childNodes[h]).toLowerCase()=="channel"){for(var g=0;g<a.childNodes[h].childNodes.length;g++){if(d.utils.parsers.localName(a.childNodes[h].childNodes[g]).toLowerCase()=="item"){b.push(c(a.childNodes[h].childNodes[g]))}}}}return b};function c(b){var f={};for(var a=0;a<b.childNodes.length;a++){if(!d.utils.parsers.localName(b.childNodes[a])){continue}switch(d.utils.parsers.localName(b.childNodes[a]).toLowerCase()){case"enclosure":f.file=d.utils.strings.xmlAttribute(b.childNodes[a],"url");break;case"title":f.title=d.utils.parsers.textContent(b.childNodes[a]);break;case"pubdate":f.date=d.utils.parsers.textContent(b.childNodes[a]);break;case"description":f.description=d.utils.parsers.textContent(b.childNodes[a]);break;case"link":f.link=d.utils.parsers.textContent(b.childNodes[a]);break;case"category":if(f.tags){f.tags+=d.utils.parsers.textContent(b.childNodes[a])}else{f.tags=d.utils.parsers.textContent(b.childNodes[a])}break}}f=d.utils.parsers.mediaparser.parseGroup(b,f);f=d.utils.parsers.jwparser.parseEntry(b,f);return new d.html5.playlistitem(f)}})(jwplayer);(function(d){var f={};var e={};d.plugins=function(){};d.plugins.loadPlugins=function(b,a){e[b]=new d.plugins.pluginloader(new d.plugins.model(f),a);return e[b]};d.plugins.registerPlugin=function(j,a,k){var c=d.utils.getPluginName(j);if(f[c]){f[c].registerPlugin(j,a,k)}else{d.utils.log("A plugin ("+j+") was registered with the player that was not loaded. Please check your configuration.");for(var b in e){e[b].pluginFailed()}}}})(jwplayer);(function(b){b.plugins.model=function(a){this.addPlugin=function(f){var e=b.utils.getPluginName(f);if(!a[e]){a[e]=new b.plugins.plugin(f)}return a[e]}}})(jwplayer);(function(b){b.plugins.pluginmodes={FLASH:"FLASH",JAVASCRIPT:"JAVASCRIPT",HYBRID:"HYBRID"};b.plugins.plugin=function(p){var r="http://plugins.longtailvideo.com";var m=b.utils.loaderstatus.NEW;var n;var a;var o;var q=new b.events.eventdispatcher();b.utils.extend(this,q);function s(){switch(b.utils.getPluginPathType(p)){case b.utils.pluginPathType.ABSOLUTE:return p;case b.utils.pluginPathType.RELATIVE:return b.utils.getAbsolutePath(p,window.location.href);case b.utils.pluginPathType.CDN:var c=b.utils.getPluginName(p);var d=b.utils.getPluginVersion(p);return r+"/"+b.version.split(".")[0]+"/"+c+"/"+c+(d!==""?("-"+d):"")+".js"}}function u(c){o=setTimeout(function(){m=b.utils.loaderstatus.COMPLETE;q.sendEvent(b.events.COMPLETE)},1000)}function t(c){m=b.utils.loaderstatus.ERROR;q.sendEvent(b.events.ERROR)}this.load=function(){if(m==b.utils.loaderstatus.NEW){if(p.lastIndexOf(".swf")>0){n=p;m=b.utils.loaderstatus.COMPLETE;q.sendEvent(b.events.COMPLETE);return}m=b.utils.loaderstatus.LOADING;var c=new b.utils.scriptloader(s());c.addEventListener(b.events.COMPLETE,u);c.addEventListener(b.events.ERROR,t);c.load()}};this.registerPlugin=function(c,e,d){if(o){clearTimeout(o);o=undefined}if(e&&d){n=d;a=e}else{if(typeof e=="string"){n=e}else{if(typeof e=="function"){a=e}else{if(!e&&!d){n=c}}}}m=b.utils.loaderstatus.COMPLETE;q.sendEvent(b.events.COMPLETE)};this.getStatus=function(){return m};this.getPluginName=function(){return b.utils.getPluginName(p)};this.getFlashPath=function(){if(n){switch(b.utils.getPluginPathType(n)){case b.utils.pluginPathType.ABSOLUTE:return n;case b.utils.pluginPathType.RELATIVE:if(p.lastIndexOf(".swf")>0){return b.utils.getAbsolutePath(n,window.location.href)}return b.utils.getAbsolutePath(n,s());case b.utils.pluginPathType.CDN:if(n.indexOf("-")>-1){return n+"h"}return n+"-h"}}return null};this.getJS=function(){return a};this.getPluginmode=function(){if(typeof n!="undefined"&&typeof a!="undefined"){return b.plugins.pluginmodes.HYBRID}else{if(typeof n!="undefined"){return b.plugins.pluginmodes.FLASH}else{if(typeof a!="undefined"){return b.plugins.pluginmodes.JAVASCRIPT}}}};this.getNewInstance=function(e,d,c){return new a(e,d,c)};this.getURL=function(){return p}}})(jwplayer);(function(b){b.plugins.pluginloader=function(a,q){var s={};var m=b.utils.loaderstatus.NEW;var p=false;var n=false;var o=new b.events.eventdispatcher();b.utils.extend(this,o);function r(){if(!n){n=true;m=b.utils.loaderstatus.COMPLETE;o.sendEvent(b.events.COMPLETE)}}function l(){if(!n){var d=0;for(plugin in s){var c=s[plugin].getStatus();if(c==b.utils.loaderstatus.LOADING||c==b.utils.loaderstatus.NEW){d++}}if(d==0){r()}}}this.setupPlugins=function(e,c,k){var d={length:0,plugins:{}};var g={length:0,plugins:{}};for(var f in s){var h=s[f].getPluginName();if(s[f].getFlashPath()){d.plugins[s[f].getFlashPath()]=c.plugins[f];d.plugins[s[f].getFlashPath()].pluginmode=s[f].getPluginmode();d.length++}if(s[f].getJS()){var j=document.createElement("div");j.id=e.id+"_"+h;j.style.position="absolute";j.style.zIndex=g.length+10;g.plugins[h]=s[f].getNewInstance(e,c.plugins[f],j);g.length++;if(typeof g.plugins[h].resize!="undefined"){e.onReady(k(g.plugins[h],j,true));e.onResize(k(g.plugins[h],j))}}}e.plugins=g.plugins;return d};this.load=function(){m=b.utils.loaderstatus.LOADING;p=true;for(var c in q){if(b.utils.exists(c)){s[c]=a.addPlugin(c);s[c].addEventListener(b.events.COMPLETE,l);s[c].addEventListener(b.events.ERROR,l)}}for(c in s){s[c].load()}p=false;l()};this.pluginFailed=function(){r()};this.getStatus=function(){return m}}})(jwplayer);(function(d){var c=[];d.api=function(D){this.container=D;this.id=D.id;var A={};var u={};var b={};var C=[];var v=undefined;var y=false;var w=[];var a=d.utils.getOuterHTML(D);var t={};var x={};this.getBuffer=function(){return this.callInternal("jwGetBuffer")};this.getContainer=function(){return this.container};function E(e,f){return function(g,k,l,h){if(e.renderingMode=="flash"||e.renderingMode=="html5"){var j;if(k){x[g]=k;j="jwplayer('"+e.id+"').callback('"+g+"')"}else{if(!k&&x[g]){delete x[g]}}v.jwDockSetButton(g,j,l,h)}return f}}this.getPlugin=function(e){var g=this;var f={};if(e=="dock"){return d.utils.extend(f,{setButton:E(g,f),show:function(){g.callInternal("jwDockShow");return f},hide:function(){g.callInternal("jwDockHide");return f},onShow:function(h){g.componentListener("dock",d.api.events.JWPLAYER_COMPONENT_SHOW,h);return f},onHide:function(h){g.componentListener("dock",d.api.events.JWPLAYER_COMPONENT_HIDE,h);return f}})}else{if(e=="controlbar"){return d.utils.extend(f,{show:function(){g.callInternal("jwControlbarShow");return f},hide:function(){g.callInternal("jwControlbarHide");return f},onShow:function(h){g.componentListener("controlbar",d.api.events.JWPLAYER_COMPONENT_SHOW,h);return f},onHide:function(h){g.componentListener("controlbar",d.api.events.JWPLAYER_COMPONENT_HIDE,h);return f}})}else{if(e=="display"){return d.utils.extend(f,{show:function(){g.callInternal("jwDisplayShow");return f},hide:function(){g.callInternal("jwDisplayHide");return f},onShow:function(h){g.componentListener("display",d.api.events.JWPLAYER_COMPONENT_SHOW,h);return f},onHide:function(h){g.componentListener("display",d.api.events.JWPLAYER_COMPONENT_HIDE,h);return f}})}else{return this.plugins[e]}}}};this.callback=function(e){if(x[e]){return x[e]()}};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 e=this.callInternal("jwGetPlaylist");if(this.renderingMode=="flash"){d.utils.deepReplaceKeyName(e,"__dot__",".")}for(var f=0;f<e.length;f++){if(!d.utils.exists(e[f].index)){e[f].index=f}}return e};this.getPlaylistItem=function(e){if(!d.utils.exists(e)){e=this.getCurrentItem()}return this.getPlaylist()[e]};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(e){if(!d.utils.exists(e)){this.callInternal("jwSetFullscreen",!this.callInternal("jwGetFullscreen"))}else{this.callInternal("jwSetFullscreen",e)}return this};this.setMute=function(e){if(!d.utils.exists(e)){this.callInternal("jwSetMute",!this.callInternal("jwGetMute"))}else{this.callInternal("jwSetMute",e)}return this};this.lock=function(){return this};this.unlock=function(){return this};this.load=function(e){this.callInternal("jwLoad",e);return this};this.playlistItem=function(e){this.callInternal("jwPlaylistItem",e);return this};this.playlistPrev=function(){this.callInternal("jwPlaylistPrev");return this};this.playlistNext=function(){this.callInternal("jwPlaylistNext");return this};this.resize=function(e,f){if(this.renderingMode=="html5"){v.jwResize(e,f)}else{this.container.width=e;this.container.height=f}return this};this.play=function(e){if(typeof e=="undefined"){e=this.getState();if(e==d.api.events.state.PLAYING||e==d.api.events.state.BUFFERING){this.callInternal("jwPause")}else{this.callInternal("jwPlay")}}else{this.callInternal("jwPlay",e)}return this};this.pause=function(e){if(typeof e=="undefined"){e=this.getState();if(e==d.api.events.state.PLAYING||e==d.api.events.state.BUFFERING){this.callInternal("jwPause")}else{this.callInternal("jwPlay")}}else{this.callInternal("jwPause",e)}return this};this.stop=function(){this.callInternal("jwStop");return this};this.seek=function(e){this.callInternal("jwSeek",e);return this};this.setVolume=function(e){this.callInternal("jwSetVolume",e);return this};this.onBufferChange=function(e){return this.eventListener(d.api.events.JWPLAYER_MEDIA_BUFFER,e)};this.onBufferFull=function(e){return this.eventListener(d.api.events.JWPLAYER_MEDIA_BUFFER_FULL,e)};this.onError=function(e){return this.eventListener(d.api.events.JWPLAYER_ERROR,e)};this.onFullscreen=function(e){return this.eventListener(d.api.events.JWPLAYER_FULLSCREEN,e)};this.onMeta=function(e){return this.eventListener(d.api.events.JWPLAYER_MEDIA_META,e)};this.onMute=function(e){return this.eventListener(d.api.events.JWPLAYER_MEDIA_MUTE,e)};this.onPlaylist=function(e){return this.eventListener(d.api.events.JWPLAYER_PLAYLIST_LOADED,e)};this.onPlaylistItem=function(e){return this.eventListener(d.api.events.JWPLAYER_PLAYLIST_ITEM,e)};this.onReady=function(e){return this.eventListener(d.api.events.API_READY,e)};this.onResize=function(e){return this.eventListener(d.api.events.JWPLAYER_RESIZE,e)};this.onComplete=function(e){return this.eventListener(d.api.events.JWPLAYER_MEDIA_COMPLETE,e)};this.onSeek=function(e){return this.eventListener(d.api.events.JWPLAYER_MEDIA_SEEK,e)};this.onTime=function(e){return this.eventListener(d.api.events.JWPLAYER_MEDIA_TIME,e)};this.onVolume=function(e){return this.eventListener(d.api.events.JWPLAYER_MEDIA_VOLUME,e)};this.onBuffer=function(e){return this.stateListener(d.api.events.state.BUFFERING,e)};this.onPause=function(e){return this.stateListener(d.api.events.state.PAUSED,e)};this.onPlay=function(e){return this.stateListener(d.api.events.state.PLAYING,e)};this.onIdle=function(e){return this.stateListener(d.api.events.state.IDLE,e)};this.remove=function(){A={};w=[];if(d.utils.getOuterHTML(this.container)!=a){d.api.destroyPlayer(this.id,a)}};this.setup=function(f){if(d.embed){var e=this.id;this.remove();var g=d(e);g.config=f;return new d.embed(g)}return this};this.registerPlugin=function(g,f,e){d.plugins.registerPlugin(g,f,e)};this.setPlayer=function(f,e){v=f;this.renderingMode=e};this.stateListener=function(f,e){if(!u[f]){u[f]=[];this.eventListener(d.api.events.JWPLAYER_PLAYER_STATE,G(f))}u[f].push(e);return this};function G(e){return function(j){var h=j.newstate,g=j.oldstate;if(h==e){var k=u[h];if(k){for(var f=0;f<k.length;f++){if(typeof k[f]=="function"){k[f].call(this,{oldstate:g,newstate:h})}}}}}}this.componentListener=function(e,f,g){if(!b[e]){b[e]={}}if(!b[e][f]){b[e][f]=[];this.eventListener(f,z(e,f))}b[e][f].push(g);return this};function z(f,e){return function(j){if(f==j.component){var h=b[f][e];if(h){for(var g=0;g<h.length;g++){if(typeof h[g]=="function"){h[g].call(this,j)}}}}}}this.addInternalListener=function(f,e){f.jwAddEventListener(e,'function(dat) { jwplayer("'+this.id+'").dispatchEvent("'+e+'", dat); }')};this.eventListener=function(f,e){if(!A[f]){A[f]=[];if(v&&y){this.addInternalListener(v,f)}}A[f].push(e);return this};this.dispatchEvent=function(g){if(A[g]){var f=F(g,arguments[1]);for(var e=0;e<A[g].length;e++){if(typeof A[g][e]=="function"){A[g][e].call(this,f)}}}};function F(h,f){var e=d.utils.extend({},f);if(h==d.api.events.JWPLAYER_FULLSCREEN&&!e.fullscreen){e.fullscreen=e.message=="true"?true:false;delete e.message}else{if(typeof e.data=="object"){e=d.utils.extend(e,e.data);delete e.data}}var g=["position","duration","offset"];for(var j in g){if(e[g[j]]){e[g[j]]=Math.round(e[g[j]]*1000)/1000}}return e}this.callInternal=function(e,f){if(y){if(typeof v!="undefined"&&typeof v[e]=="function"){if(d.utils.exists(f)){return(v[e])(f)}else{return(v[e])()}}return null}else{w.push({method:e,parameters:f})}};this.playerReady=function(g){y=true;if(!v){this.setPlayer(document.getElementById(g.id))}this.container=document.getElementById(this.id);for(var e in A){this.addInternalListener(v,e)}this.eventListener(d.api.events.JWPLAYER_PLAYLIST_ITEM,function(h){t={}});this.eventListener(d.api.events.JWPLAYER_MEDIA_META,function(h){d.utils.extend(t,h.metadata)});this.dispatchEvent(d.api.events.API_READY);while(w.length>0){var f=w.shift();this.callInternal(f.method,f.parameters)}};this.getItemMeta=function(){return t};this.getCurrentItem=function(){return this.callInternal("jwGetPlaylistIndex")};function B(f,h,j){var e=[];if(!h){h=0}if(!j){j=f.length-1}for(var g=h;g<=j;g++){e.push(f[g])}return e}return this};d.api.selectPlayer=function(b){var a;if(!d.utils.exists(b)){b=0}if(b.nodeType){a=b}else{if(typeof b=="string"){a=document.getElementById(b)}}if(a){var f=d.api.playerById(a.id);if(f){return f}else{return d.api.addPlayer(new d.api(a))}}else{if(typeof b=="number"){return d.getPlayers()[b]}}return null};d.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"};d.api.events.state={BUFFERING:"BUFFERING",IDLE:"IDLE",PAUSED:"PAUSED",PLAYING:"PLAYING"};d.api.playerById=function(a){for(var b=0;b<c.length;b++){if(c[b].id==a){return c[b]}}return null};d.api.addPlayer=function(b){for(var a=0;a<c.length;a++){if(c[a]==b){return b}}c.push(b);return b};d.api.destroyPlayer=function(o,l){var n=-1;for(var b=0;b<c.length;b++){if(c[b].id==o){n=b;continue}}if(n>=0){var k=document.getElementById(c[n].id);if(document.getElementById(c[n].id+"_wrapper")){k=document.getElementById(c[n].id+"_wrapper")}if(k){if(l){d.utils.setOuterHTML(k,l)}else{var a=document.createElement("div");var m=k.id;if(k.id.indexOf("_wrapper")==k.id.length-8){newID=k.id.substring(0,k.id.length-8)}a.setAttribute("id",m);k.parentNode.replaceChild(a,k)}}c.splice(n,1)}return null};d.getPlayers=function(){return c.slice(0)}})(jwplayer);var _userPlayerReady=(typeof playerReady=="function")?playerReady:undefined;playerReady=function(d){var c=jwplayer.api.playerById(d.id);if(c){c.playerReady(d)}else{jwplayer.api.selectPlayer(d.id).playerReady(d)}if(_userPlayerReady){_userPlayerReady.call(this,d)}};(function(c){c.embed=function(o){var b={width:400,height:300,components:{controlbar:{position:"over"}}};var n=c.utils.mediaparser.parseMedia(o.container);var m=new c.embed.config(c.utils.extend(b,n,o.config),this);var a=c.plugins.loadPlugins(o.id,m.plugins);function k(g,f){for(var e in f){if(typeof g[e]=="function"){(g[e]).call(g,f[e])}}}function l(){if(a.getStatus()==c.utils.loaderstatus.COMPLETE){for(var g=0;g<m.modes.length;g++){if(m.modes[g].type&&c.embed[m.modes[g].type]){var e=m;if(m.modes[g].config){e=c.utils.extend(c.utils.clone(m),m.modes[g].config)}var f=new c.embed[m.modes[g].type](document.getElementById(o.id),m.modes[g],e,a,o);if(f.supportsConfig()){f.embed();k(o,m.events);return o}}}c.utils.log("No suitable players found");new c.embed.logo(c.utils.extend({hide:true},m.components.logo),"none",o.id)}}a.addEventListener(c.events.COMPLETE,l);a.addEventListener(c.events.ERROR,l);a.load();return o};function d(){if(!document.body){return setTimeout(d,15)}var a=c.utils.selectors.getElementsByTagAndClass("video","jwplayer");for(var b=0;b<a.length;b++){var f=a[b];c(f.id).setup({})}}d()})(jwplayer);(function(q){function k(){return[{type:"flash",src:"/jwplayer/player.swf"},{type:"html5"},{type:"download"}]}var m={players:"modes",autoplay:"autostart"};function n(d){var c=d.toLowerCase();var b=["left","right","top","bottom"];for(var a=0;a<b.length;a++){if(c==b[a]){return true}}return false}function o(b){var a=false;a=(b instanceof Array)||(typeof b=="object"&&!b.position&&!b.size);return a}function l(a){if(typeof a=="string"){if(parseInt(a).toString()==a||a.toLowerCase().indexOf("px")>-1){return parseInt(a)}}return a}var s=["playlist","dock","controlbar","logo","display"];function r(b){var e={};switch(q.utils.typeOf(b.plugins)){case"object":for(var d in b.plugins){e[q.utils.getPluginName(d)]=d}break;case"string":var a=b.plugins.split(",");for(var c=0;c<a.length;c++){e[q.utils.getPluginName(a[c])]=a[c]}break}return e}function p(e,d,c,a){if(q.utils.typeOf(e[d])!="object"){e[d]={}}var b=e[d][c];if(q.utils.typeOf(b)!="object"){e[d][c]=b={}}if(a){if(d=="plugins"){var f=q.utils.getPluginName(c);b[a]=e[f+"."+a];delete e[f+"."+a]}else{b[a]=e[c+"."+a];delete e[c+"."+a]}}}q.embed.deserialize=function(b){var c=r(b);for(var a in c){p(b,"plugins",c[a])}for(var f in b){if(f.indexOf(".")>-1){var e=f.split(".");var d=e[0];var f=e[1];if(q.utils.isInArray(s,d)){p(b,"components",d,f)}else{if(c[d]){p(b,"plugins",c[d],f)}}}}return b};q.embed.config=function(a,w){var v=q.utils.extend({},a);var h;if(o(v.playlist)){h=v.playlist;delete v.playlist}v=q.embed.deserialize(v);v.height=l(v.height);v.width=l(v.width);if(typeof v.plugins=="string"){var b=v.plugins.split(",");if(typeof v.plugins!="object"){v.plugins={}}for(var f=0;f<b.length;f++){var g=q.utils.getPluginName(b[f]);if(typeof v[g]=="object"){v.plugins[b[f]]=v[g];delete v[g]}else{v.plugins[b[f]]={}}}}for(var j=0;j<s.length;j++){var e=s[j];if(q.utils.exists(v[e])){if(typeof v[e]!="object"){if(!v.components[e]){v.components[e]={}}if(e=="logo"){v.components[e].file=v[e]}else{v.components[e].position=v[e]}delete v[e]}else{if(!v.components[e]){v.components[e]={}}q.utils.extend(v.components[e],v[e]);delete v[e]}}if(typeof v[e+"size"]!="undefined"){if(!v.components[e]){v.components[e]={}}v.components[e].size=v[e+"size"];delete v[e+"size"]}}if(typeof v.icons!="undefined"){if(!v.components.display){v.components.display={}}v.components.display.icons=v.icons;delete v.icons}for(var d in m){if(v[d]){if(!v[m[d]]){v[m[d]]=v[d]}delete v[d]}}var c;if(v.flashplayer&&!v.modes){c=k();c[0].src=v.flashplayer;delete v.flashplayer}else{if(v.modes){if(typeof v.modes=="string"){c=k();c[0].src=v.modes}else{if(v.modes instanceof Array){c=v.modes}else{if(typeof v.modes=="object"&&v.modes.type){c=[v.modes]}}}delete v.modes}else{c=k()}}v.modes=c;if(h){v.playlist=h}return v}})(jwplayer);(function(b){b.embed.download=function(h,m,a,j,l){this.embed=function(){var y=b.utils.extend({},a);var d={};var x=a.width?a.width:480;if(typeof x!="number"){x=parseInt(x,10)}var A=a.height?a.height:320;if(typeof A!="number"){A=parseInt(A,10)}var v,C,B;var f={};if(a.playlist&&a.playlist.length){f.file=a.playlist[0].file;C=a.playlist[0].image;f.levels=a.playlist[0].levels}else{f.file=a.file;C=a.image;f.levels=a.levels}if(f.file){v=f.file}else{if(f.levels&&f.levels.length){v=f.levels[0].file}}B=v?"pointer":"auto";var z={display:{style:{cursor:B,width:x,height:A,backgroundColor:"#000",position:"relative",textDecoration:"none",border:"none",display:"block"}},display_icon:{style:{cursor:B,position:"absolute",display:v?"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:B,position:"absolute",display:v?"block":"none",top:((A-50)/2),left:((x-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:x,height:A,display:C?"block":"none",position:"absolute",cursor:B,left:0,top:0,margin:0,padding:0,textDecoration:"none",zIndex:1,border:"none"}}};var w=function(n,p,q){var o=document.createElement(n);if(q){o.id=q}else{o.id=h.id+"_jwplayer_"+p}b.utils.css(o,z[p].style);return o};d.display=w("a","display",h.id);if(v){d.display.setAttribute("href",b.utils.getAbsolutePath(v))}d.display_image=w("img","display_image");d.display_image.setAttribute("alt","Click to download...");if(C){d.display_image.setAttribute("src",b.utils.getAbsolutePath(C))}if(true){d.display_icon=w("div","display_icon");d.display_iconBackground=w("div","display_iconBackground");d.display.appendChild(d.display_image);d.display_iconBackground.appendChild(d.display_icon);d.display.appendChild(d.display_iconBackground)}_css=b.utils.css;_hide=function(n){_css(n,{display:"none"})};function e(n){_imageWidth=d.display_image.naturalWidth;_imageHeight=d.display_image.naturalHeight;g()}function g(){b.utils.stretch(b.utils.stretching.UNIFORM,d.display_image,x,A,_imageWidth,_imageHeight)}d.display_image.onerror=function(n){_hide(d.display_image)};d.display_image.onload=e;h.parentNode.replaceChild(d.display,h);var c=(a.plugins&&a.plugins.logo)?a.plugins.logo:{};d.display.appendChild(new b.embed.logo(a.components.logo,"download",h.id));l.container=document.getElementById(l.id);l.setPlayer(d.display,"download")};this.supportsConfig=function(){if(a){var d=b.utils.getFirstPlaylistItemFromConfig(a);if(typeof d.file=="undefined"&&typeof d.levels=="undefined"){return true}else{if(d.file){return k(d.file,d.provider,d.playlistfile)}else{if(d.levels&&d.levels.length){for(var c=0;c<d.levels.length;c++){if(d.levels[c].file&&k(d.levels[c].file,d.provider,d.playlistfile)){return true}}}}}}else{return true}};function k(d,f,c){if(c){return false}var e=["image","sound","youtube","http"];if(f&&(e.toString().indexOf(f)>-1)){return true}if(!f||(f&&f=="video")){var g=b.utils.extension(d);if(g&&b.utils.extensionmap[g]){return true}}return false}}})(jwplayer);(function(b){b.embed.flash=function(v,w,p,u,n){function q(c,f,d){var e=document.createElement("param");e.setAttribute("name",f);e.setAttribute("value",d);c.appendChild(e)}function o(c,e,d){return function(f){if(d){document.getElementById(n.id+"_wrapper").appendChild(e)}var h=document.getElementById(n.id).getPluginConfig("display");c.resize(h.width,h.height);var g={left:h.x,top:h.y};b.utils.css(e,g)}}function t(g){if(!g){return{}}var d={};for(var c in g){var e=g[c];for(var f in e){d[c+"."+f]=e[f]}}return d}function a(f,e){if(f[e]){var h=f[e];for(var d in h){var c=h[d];if(typeof c=="string"){if(!f[d]){f[d]=c}}else{for(var g in c){if(!f[d+"."+g]){f[d+"."+g]=c[g]}}}}delete f[e]}}function r(f){if(!f){return{}}var j={},h=[];for(var c in f){var e=b.utils.getPluginName(c);var d=f[c];h.push(c);for(var g in d){j[e+"."+g]=d[g]}}j.plugins=h.join(",");return j}function s(e){var d=e.netstreambasepath?"":"netstreambasepath="+encodeURIComponent(window.location.href.split("#")[0])+"&";for(var c in e){if(typeof(e[c])=="object"){d+=c+"="+encodeURIComponent("[[JSON]]"+b.utils.strings.jsonToString(e[c]))+"&"}else{d+=c+"="+encodeURIComponent(e[c])+"&"}}return d.substring(0,d.length-1)}this.embed=function(){p.id=n.id;var d;var h=b.utils.extend({},p);var e=h.width;var A=h.height;if(v.id+"_wrapper"==v.parentNode.id){d=document.getElementById(v.id+"_wrapper")}else{d=document.createElement("div");d.id=v.id+"_wrapper";b.utils.wrap(v,d);b.utils.css(d,{position:"relative",width:e,height:A})}var f=u.setupPlugins(n,h,o);if(f.length>0){b.utils.extend(h,r(f.plugins))}else{delete h.plugins}var j=["height","width","modes","events"];for(var m=0;m<j.length;m++){delete h[j[m]]}var g="opaque";if(h.wmode){g=h.wmode}a(h,"components");a(h,"providers");if(typeof h["dock.position"]!="undefined"){if(h["dock.position"].toString().toLowerCase()=="false"){h.dock=h["dock.position"];delete h["dock.position"]}}var c="#000000";var l;if(b.utils.isIE()){var z='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" bgcolor="'+c+'" width="100%" height="100%" id="'+v.id+'" name="'+v.id+'" tabindex=0"">';z+='<param name="movie" value="'+w.src+'">';z+='<param name="allowfullscreen" value="true">';z+='<param name="allowscriptaccess" value="always">';z+='<param name="seamlesstabbing" value="true">';z+='<param name="wmode" value="'+g+'">';z+='<param name="flashvars" value="'+s(h)+'">';z+="</object>";b.utils.setOuterHTML(v,z);l=document.getElementById(v.id)}else{var k=document.createElement("object");k.setAttribute("type","application/x-shockwave-flash");k.setAttribute("data",w.src);k.setAttribute("width","100%");k.setAttribute("height","100%");k.setAttribute("bgcolor","#000000");k.setAttribute("id",v.id);k.setAttribute("name",v.id);k.setAttribute("tabindex",0);q(k,"allowfullscreen","true");q(k,"allowscriptaccess","always");q(k,"seamlesstabbing","true");q(k,"wmode",g);q(k,"flashvars",s(h));v.parentNode.replaceChild(k,v);l=k}n.container=l;n.setPlayer(l,"flash")};this.supportsConfig=function(){if(b.utils.hasFlash()){if(p){var d=b.utils.getFirstPlaylistItemFromConfig(p);if(typeof d.file=="undefined"&&typeof d.levels=="undefined"){return true}else{if(d.file){return flashCanPlay(d.file,d.provider)}else{if(d.levels&&d.levels.length){for(var c=0;c<d.levels.length;c++){if(d.levels[c].file&&flashCanPlay(d.levels[c].file,d.provider)){return true}}}}}}else{return true}}return false};flashCanPlay=function(d,f){var c=["video","http","sound","image"];if(f&&(c.toString().indexOf(f<0))){return true}var e=b.utils.extension(d);if(!e){return true}if(b.utils.exists(b.utils.extensionmap[e])&&!b.utils.exists(b.utils.extensionmap[e].flash)){return false}return true}}})(jwplayer);(function(b){b.embed.html5=function(h,m,a,j,l){function k(d,e,c){return function(f){var g=document.getElementById(h.id+"_displayarea");if(c){g.appendChild(e)}var o=g.style;d.resize(parseInt(o.width.replace("px","")),parseInt(o.height.replace("px","")));e.left=o.left;e.top=o.top}}this.embed=function(){if(b.html5){j.setupPlugins(l,a,k);h.innerHTML="";var d=b.utils.extend({screencolor:"0x000000"},a);var c=["plugins","modes","events"];for(var e=0;e<c.length;e++){delete d[c[e]]}if(d.levels&&!d.sources){d.sources=a.levels}if(d.skin&&d.skin.toLowerCase().indexOf(".zip")>0){d.skin=d.skin.replace(/\.zip/i,".xml")}var f=new (b.html5(h)).setup(d);l.container=document.getElementById(l.id);l.setPlayer(f,"html5")}else{return null}};this.supportsConfig=function(){if(!!b.vid.canPlayType){if(a){var d=b.utils.getFirstPlaylistItemFromConfig(a);if(typeof d.file=="undefined"&&typeof d.levels=="undefined"){return true}else{if(d.file){return html5CanPlay(b.vid,d.file,d.provider,d.playlistfile)}else{if(d.levels&&d.levels.length){for(var c=0;c<d.levels.length;c++){if(d.levels[c].file&&html5CanPlay(b.vid,d.levels[c].file,d.provider,d.playlistfile)){return true}}}}}}else{return true}}return false};html5CanPlay=function(e,d,f,c){if(c){return false}if(f&&f=="youtube"){return true}if(f&&f!="video"&&f!="http"&&f!="sound"){return false}var g=b.utils.extension(d);if(!b.utils.exists(g)||!b.utils.exists(b.utils.extensionmap[g])){return true}if(!b.utils.exists(b.utils.extensionmap[g].html5)){return false}if(b.utils.isLegacyAndroid()&&g.match(/m4v|mp4/)){return true}return browserCanPlay(e,b.utils.extensionmap[g].html5)};browserCanPlay=function(d,c){if(!c){return true}if(d.canPlayType(c)){return true}else{if(c=="audio/mp3"&&navigator.userAgent.match(/safari/i)){return d.canPlayType("audio/mpeg")}else{return false}}}}})(jwplayer);(function(b){b.embed.logo=function(u,t,z){var r={prefix:"http://l.longtailvideo.com/"+t+"/",file:"logo.png",link:"http://www.longtailvideo.com/players/jw-flv-player/",margin:8,out:0.5,over:1,timeout:5,hide:false,position:"bottom-left"};_css=b.utils.css;var x;var q;s();function s(){w();y();B()}function w(){if(r.prefix){var c=b.version.split(/\W/).splice(0,2).join("/");if(r.prefix.indexOf(c)<0){r.prefix+=c+"/"}}q=b.utils.extend({},r)}function a(){var e={border:"none",textDecoration:"none",position:"absolute",cursor:"pointer",zIndex:10};e.display=q.hide?"none":"block";var d=q.position.toLowerCase().split("-");for(var c in d){e[d[c]]=q.margin}return e}function y(){x=document.createElement("img");x.id=z+"_jwplayer_logo";x.style.display="none";x.onload=function(c){_css(x,a());A()};if(!q.file){return}if(q.file.indexOf("http://")===0){x.src=q.file}else{x.src=q.prefix+q.file}}if(!q.file){return}function B(){if(q.link){x.onmouseover=C;x.onmouseout=A;x.onclick=v}else{this.mouseEnabled=false}}function v(c){if(typeof c!="undefined"){c.preventDefault();c.stopPropagation()}if(q.link){window.open(q.link,"_blank")}return}function A(c){if(q.link){x.style.opacity=q.out}return}function C(c){if(q.hide){x.style.opacity=q.over}return}return x}})(jwplayer);(function(b){b.html5=function(a){var d=a;this.setup=function(c){b.utils.extend(this,new b.html5.api(d,c));return this};return this}})(jwplayer);(function(f){var h=f.utils;var g=h.css;f.html5.view=function(H,G,V){var K=H;var S=G;var a=V;var M;var W;var X;var I;var Y;var F;var L;function c(){M=document.createElement("div");M.id=S.id;M.className=S.className;_videowrapper=document.createElement("div");_videowrapper.id=M.id+"_video_wrapper";S.id=M.id+"_video";g(M,{position:"relative",height:a.height,width:a.width,padding:0,backgroundColor:j(),zIndex:0});function j(){if(K.skin.getComponentSettings("display")&&K.skin.getComponentSettings("display").backgroundcolor){return K.skin.getComponentSettings("display").backgroundcolor}return parseInt("000000",16)}g(S,{width:a.width,height:a.height,top:0,left:0,zIndex:1,margin:"auto",display:"block"});g(_videowrapper,{overflow:"hidden",position:"absolute",top:0,left:0,bottom:0,right:0});h.wrap(S,M);h.wrap(S,_videowrapper);I=document.createElement("div");I.id=M.id+"_displayarea";M.appendChild(I)}function P(){for(var k=0;k<a.plugins.order.length;k++){var j=a.plugins.order[k];if(h.exists(a.plugins.object[j].getDisplayElement)){a.plugins.object[j].height=h.parseDimension(a.plugins.object[j].getDisplayElement().style.height);a.plugins.object[j].width=h.parseDimension(a.plugins.object[j].getDisplayElement().style.width);a.plugins.config[j].currentPosition=a.plugins.config[j].position}}d()}function R(j){g(I,{display:a.getMedia().hasChrome()?"none":"block"})}function d(j){var l=a.getMedia()?a.getMedia().getDisplayElement():null;if(h.exists(l)){if(L!=l){if(L&&L.parentNode){L.parentNode.replaceChild(l,L)}L=l}for(var k=0;k<a.plugins.order.length;k++){var m=a.plugins.order[k];if(h.exists(a.plugins.object[m].getDisplayElement)){a.plugins.config[m].currentPosition=a.plugins.config[m].position}}}O(a.width,a.height)}this.setup=function(){if(a&&a.getMedia()){S=a.getMedia().getDisplayElement()}c();P();K.jwAddEventListener(f.api.events.JWPLAYER_PLAYER_STATE,R);K.jwAddEventListener(f.api.events.JWPLAYER_MEDIA_LOADED,d);K.jwAddEventListener(f.api.events.JWPLAYER_MEDIA_META,function(){b()});var j;if(h.exists(window.onresize)){j=window.onresize}window.onresize=function(k){if(h.exists(j)){try{j(k)}catch(l){}}if(K.jwGetFullscreen()){var m=document.body.getBoundingClientRect();a.width=Math.abs(m.left)+Math.abs(m.right);a.height=window.innerHeight}O(a.width,a.height)}};function N(j){switch(j.keyCode){case 27:if(K.jwGetFullscreen()){K.jwSetFullscreen(false)}break;case 32:if(K.jwGetState()!=f.api.events.state.IDLE&&K.jwGetState()!=f.api.events.state.PAUSED){K.jwPause()}else{K.jwPlay()}break}}function O(k,n){if(M.style.display=="none"){return}var j=[].concat(a.plugins.order);j.reverse();Y=j.length+2;if(!a.fullscreen){a.width=k;a.height=n;W=k;X=n;g(I,{top:0,bottom:0,left:0,right:0,width:k,height:n,position:"relative"});g(M,{height:X,width:W});var o=T(J,j);if(o.length>0){Y+=o.length;var m=o.indexOf("playlist"),l=o.indexOf("controlbar");if(m>=0&&l>=0){o[m]=o.splice(l,1,o[m])[0]}T(Q,o,true)}}else{if(!(navigator&&navigator.vendor&&navigator.vendor.indexOf("Apple")==0)){T(E,j,true)}}b()}function T(m,j,k){var p=[];for(var o=0;o<j.length;o++){var n=j[o];if(h.exists(a.plugins.object[n].getDisplayElement)){if(a.plugins.config[n].currentPosition!=f.html5.view.positions.NONE){var l=m(n,Y--);if(!l){p.push(n)}else{a.plugins.object[n].resize(l.width,l.height);if(k){delete l.width;delete l.height}g(a.plugins.object[n].getDisplayElement(),l)}}else{g(a.plugins.object[n].getDisplayElement(),{display:"none"})}}}return p}function J(k,l){if(h.exists(a.plugins.object[k].getDisplayElement)){if(a.plugins.config[k].position&&e(a.plugins.config[k].position)){if(!h.exists(a.plugins.object[k].getDisplayElement().parentNode)){M.appendChild(a.plugins.object[k].getDisplayElement())}var j=U(k);j.zIndex=l;return j}}return false}function Q(m,l){if(!h.exists(a.plugins.object[m].getDisplayElement().parentNode)){I.appendChild(a.plugins.object[m].getDisplayElement())}var k=a.width,j=a.height;if(typeof a.width=="string"&&a.width.lastIndexOf("%")>-1){percentage=parseFloat(a.width.substring(0,a.width.lastIndexOf("%")))/100;k=Math.round(window.innerWidth*percentage)}if(typeof a.height=="string"&&a.height.lastIndexOf("%")>-1){percentage=parseFloat(a.height.substring(0,a.height.lastIndexOf("%")))/100;j=Math.round(window.innerHeight*percentage)}return{position:"absolute",width:(k-h.parseDimension(I.style.left)-h.parseDimension(I.style.right)),height:(j-h.parseDimension(I.style.top)-h.parseDimension(I.style.bottom)),zIndex:l}}function E(k,j){return{position:"fixed",width:a.width,height:a.height,zIndex:j}}function b(){if(!h.exists(a.getMedia())){return}I.style.position="absolute";var m=a.getMedia().getDisplayElement();if(m&&m.tagName.toLowerCase()=="video"){m.style.position="absolute";var l,n;if(I.style.width.toString().lastIndexOf("%")>-1||I.style.width.toString().lastIndexOf("%")>-1){var k=I.getBoundingClientRect();l=Math.abs(k.left)+Math.abs(k.right);n=Math.abs(k.top)+Math.abs(k.bottom)}else{l=h.parseDimension(I.style.width);n=h.parseDimension(I.style.height)}if(m.parentNode){m.parentNode.style.left=I.style.left;m.parentNode.style.top=I.style.top}h.stretch(K.jwGetStretching(),m,l,n,m.videoWidth?m.videoWidth:400,m.videoHeight?m.videoHeight:300)}else{var j=a.plugins.object.display.getDisplayElement();if(j){a.getMedia().resize(h.parseDimension(j.style.width),h.parseDimension(j.style.height))}else{a.getMedia().resize(h.parseDimension(I.style.width),h.parseDimension(I.style.height))}}}function U(k){var l={position:"absolute",margin:0,padding:0,top:null};var j=a.plugins.config[k].currentPosition.toLowerCase();switch(j.toUpperCase()){case f.html5.view.positions.TOP:l.top=h.parseDimension(I.style.top);l.left=h.parseDimension(I.style.left);l.width=W-h.parseDimension(I.style.left)-h.parseDimension(I.style.right);l.height=a.plugins.object[k].height;I.style[j]=h.parseDimension(I.style[j])+a.plugins.object[k].height+"px";I.style.height=h.parseDimension(I.style.height)-l.height+"px";break;case f.html5.view.positions.RIGHT:l.top=h.parseDimension(I.style.top);l.right=h.parseDimension(I.style.right);l.width=a.plugins.object[k].width;l.height=X-h.parseDimension(I.style.top)-h.parseDimension(I.style.bottom);I.style[j]=h.parseDimension(I.style[j])+a.plugins.object[k].width+"px";I.style.width=h.parseDimension(I.style.width)-l.width+"px";break;case f.html5.view.positions.BOTTOM:l.bottom=h.parseDimension(I.style.bottom);l.left=h.parseDimension(I.style.left);l.width=W-h.parseDimension(I.style.left)-h.parseDimension(I.style.right);l.height=a.plugins.object[k].height;I.style[j]=h.parseDimension(I.style[j])+a.plugins.object[k].height+"px";I.style.height=h.parseDimension(I.style.height)-l.height+"px";break;case f.html5.view.positions.LEFT:l.top=h.parseDimension(I.style.top);l.left=h.parseDimension(I.style.left);l.width=a.plugins.object[k].width;l.height=X-h.parseDimension(I.style.top)-h.parseDimension(I.style.bottom);I.style[j]=h.parseDimension(I.style[j])+a.plugins.object[k].width+"px";I.style.width=h.parseDimension(I.style.width)-l.width+"px";break;default:break}return l}this.resize=O;this.fullscreen=function(l){if(navigator&&navigator.vendor&&navigator.vendor.indexOf("Apple")===0){if(a.getMedia().getDisplayElement().webkitSupportsFullscreen){if(l){try{a.getMedia().getDisplayElement().webkitEnterFullscreen()}catch(m){}}else{try{a.getMedia().getDisplayElement().webkitExitFullscreen()}catch(m){}}}}else{if(l){document.onkeydown=N;clearInterval(F);var j=document.body.getBoundingClientRect();a.width=Math.abs(j.left)+Math.abs(j.right);a.height=window.innerHeight;var k={position:"fixed",width:"100%",height:"100%",top:0,left:0,zIndex:2147483000};g(M,k);k.zIndex=1;if(a.getMedia()&&a.getMedia().getDisplayElement()){g(a.getMedia().getDisplayElement(),k)}k.zIndex=2;g(I,k)}else{document.onkeydown="";a.width=W;a.height=X;g(M,{position:"relative",height:a.height,width:a.width,zIndex:0})}O(a.width,a.height)}}};function e(a){return([f.html5.view.positions.TOP,f.html5.view.positions.RIGHT,f.html5.view.positions.BOTTOM,f.html5.view.positions.LEFT].toString().indexOf(a.toUpperCase())>-1)}f.html5.view.positions={TOP:"TOP",RIGHT:"RIGHT",BOTTOM:"BOTTOM",LEFT:"LEFT",OVER:"OVER",NONE:"NONE"}})(jwplayer);(function(c){var d={backgroundcolor:"",margin:10,font:"Arial,sans-serif",fontsize:10,fontcolor:parseInt("000000",16),fontstyle:"normal",fontweight:"bold",buttoncolor:parseInt("ffffff",16),position:c.html5.view.positions.BOTTOM,idlehide:false,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=c.utils;_css=_utils.css;_hide=function(a){_css(a,{display:"none"})};_show=function(a){_css(a,{display:"block"})};c.html5.controlbar=function(aF,a2){var aP=aF;var aj=_utils.extend({},d,aP.skin.getComponentSettings("controlbar"),a2);if(aj.position==c.html5.view.positions.NONE||typeof c.html5.view.positions[aj.position]=="undefined"){return}if(_utils.mapLength(aP.skin.getComponentLayout("controlbar"))>0){aj.layout=aP.skin.getComponentLayout("controlbar")}var a7;var aW;var aQ;var ak;var az="none";var aO;var aD;var aE;var aN;var aM;var ao;var aX={};var at=false;var aK={};var aU;var aB=false;var aI;var aL;var aZ=false;var am=false;var a3=new c.html5.eventdispatcher();_utils.extend(this,a3);function a6(){if(!aU){aU=aP.skin.getSkinElement("controlbar","background");if(!aU){aU={width:0,height:0,src:null}}}return aU}function ba(){aQ=0;ak=0;aW=0;if(!at){var h={height:a6().height,backgroundColor:aj.backgroundcolor};a7=document.createElement("div");a7.id=aP.id+"_jwplayer_controlbar";_css(a7,h)}var g=(aP.skin.getSkinElement("controlbar","capLeft"));var f=(aP.skin.getSkinElement("controlbar","capRight"));if(g){an("capLeft","left",false,a7)}var e={position:"absolute",height:a6().height,left:(g?g.width:0),zIndex:0};aV("background",a7,e,"img");if(a6().src){aX.background.src=a6().src}e.zIndex=1;aV("elements",a7,e);if(f){an("capRight","right",false,a7)}}this.getDisplayElement=function(){return a7};this.resize=function(g,e){_utils.cancelAnimation(a7);document.getElementById(aP.id).onmousemove=a;aM=g;ao=e;if(am!=aP.jwGetFullscreen()){am=aP.jwGetFullscreen();aL=undefined}var f=aA();a();a5({id:aP.id,duration:aE,position:aD});ay({id:aP.id,bufferPercent:aN});return f};this.show=function(){if(aB){aB=false;_show(a7);a0()}};this.hide=function(){if(!aB){aB=true;_hide(a7);ax()}};function au(){var f=["timeSlider","volumeSlider","timeSliderRail","volumeSliderRail"];for(var g in f){var e=f[g];if(typeof aX[e]!="undefined"){aK[e]=aX[e].getBoundingClientRect()}}}function a(e){if(aB){return}if(aj.position==c.html5.view.positions.OVER||aP.jwGetFullscreen()){clearTimeout(aI);switch(aP.jwGetState()){case c.api.events.state.PAUSED:case c.api.events.state.IDLE:if(!aj.idlehide||_utils.exists(e)){a1()}if(aj.idlehide){aI=setTimeout(function(){ap()},2000)}break;default:if(e){a1()}aI=setTimeout(function(){ap()},2000);break}}}function ap(e){ax();_utils.cancelAnimation(a7);_utils.fadeTo(a7,0,0.1,1,0)}function a1(){a0();_utils.cancelAnimation(a7);_utils.fadeTo(a7,1,0,1,0)}function a4(e){return function(){if(aZ&&aL!=e){aL=e;a3.sendEvent(e,{component:"controlbar",boundingRect:bb()})}}}var a0=a4(c.api.events.JWPLAYER_COMPONENT_SHOW);var ax=a4(c.api.events.JWPLAYER_COMPONENT_HIDE);function bb(){if(aj.position==c.html5.view.positions.OVER||aP.jwGetFullscreen()){return _utils.getDimensions(a7)}else{return{x:0,y:0,width:0,height:0}}}function aV(g,e,j,f){var h;if(!at){if(!f){f="div"}h=document.createElement(f);aX[g]=h;h.id=a7.id+"_"+g;e.appendChild(h)}else{h=document.getElementById(a7.id+"_"+g)}if(_utils.exists(j)){_css(h,j)}return h}function a9(){aC(aj.layout.left);aC(aj.layout.right,-1);aC(aj.layout.center)}function aC(e,f){var g=e.position=="right"?"right":"left";var j=_utils.extend([],e.elements);if(_utils.exists(f)){j.reverse()}for(var h=0;h<j.length;h++){ai(j[h],g)}}function aq(){return aW++}function ai(j,l){var h,f,g,e,n;if(j.type=="divider"){an("divider"+aq(),l,true,undefined,undefined,j.width,j.element);return}switch(j.name){case"play":an("playButton",l,false);an("pauseButton",l,true);aY("playButton","jwPlay");aY("pauseButton","jwPause");break;case"prev":an("prevButton",l,true);aY("prevButton","jwPlaylistPrev");break;case"stop":an("stopButton",l,true);aY("stopButton","jwStop");break;case"next":an("nextButton",l,true);aY("nextButton","jwPlaylistNext");break;case"elapsed":an("elapsedText",l,true);break;case"time":f=!_utils.exists(aP.skin.getSkinElement("controlbar","timeSliderCapLeft"))?0:aP.skin.getSkinElement("controlbar","timeSliderCapLeft").width;g=!_utils.exists(aP.skin.getSkinElement("controlbar","timeSliderCapRight"))?0:aP.skin.getSkinElement("controlbar","timeSliderCapRight").width;h=l=="left"?f:g;e=aP.skin.getSkinElement("controlbar","timeSliderRail").width+f+g;n={height:a6().height,position:"absolute",top:0,width:e};n[l]=l=="left"?aQ:ak;var k=aV("timeSlider",aX.elements,n);an("timeSliderCapLeft",l,true,k,l=="left"?0:h);an("timeSliderRail",l,false,k,h);an("timeSliderBuffer",l,false,k,h);an("timeSliderProgress",l,false,k,h);an("timeSliderThumb",l,false,k,h);an("timeSliderCapRight",l,true,k,l=="right"?0:h);aT("time");break;case"fullscreen":an("fullscreenButton",l,false);an("normalscreenButton",l,true);aY("fullscreenButton","jwSetFullscreen",true);aY("normalscreenButton","jwSetFullscreen",false);break;case"volume":f=!_utils.exists(aP.skin.getSkinElement("controlbar","volumeSliderCapLeft"))?0:aP.skin.getSkinElement("controlbar","volumeSliderCapLeft").width;g=!_utils.exists(aP.skin.getSkinElement("controlbar","volumeSliderCapRight"))?0:aP.skin.getSkinElement("controlbar","volumeSliderCapRight").width;h=l=="left"?f:g;e=aP.skin.getSkinElement("controlbar","volumeSliderRail").width+f+g;n={height:a6().height,position:"absolute",top:0,width:e};n[l]=l=="left"?aQ:ak;var m=aV("volumeSlider",aX.elements,n);an("volumeSliderCapLeft",l,true,m,l=="left"?0:h);an("volumeSliderRail",l,true,m,h);an("volumeSliderProgress",l,false,m,h);an("volumeSliderCapRight",l,true,m,l=="right"?0:h);aT("volume");break;case"mute":an("muteButton",l,false);an("unmuteButton",l,true);aY("muteButton","jwSetMute",true);aY("unmuteButton","jwSetMute",false);break;case"duration":an("durationText",l,true);break}}function an(h,l,f,o,j,e,g){if(_utils.exists(aP.skin.getSkinElement("controlbar",h))||h.indexOf("Text")>0||h.indexOf("divider")===0){var k={height:a6().height,position:"absolute",display:"block",top:0};if((h.indexOf("next")===0||h.indexOf("prev")===0)&&aP.jwGetPlaylist().length<2){f=false;k.display="none"}var p;if(h.indexOf("Text")>0){h.innerhtml="00:00";k.font=aj.fontsize+"px/"+(a6().height+1)+"px "+aj.font;k.color=aj.fontcolor;k.textAlign="center";k.fontWeight=aj.fontweight;k.fontStyle=aj.fontstyle;k.cursor="default";p=14+3*aj.fontsize}else{if(h.indexOf("divider")===0){if(e){if(!isNaN(parseInt(e))){p=parseInt(e)}}else{if(g){var m=aP.skin.getSkinElement("controlbar",g);if(m){k.background="url("+m.src+") repeat-x center left";p=m.width}}else{k.background="url("+aP.skin.getSkinElement("controlbar","divider").src+") repeat-x center left";p=aP.skin.getSkinElement("controlbar","divider").width}}}else{k.background="url("+aP.skin.getSkinElement("controlbar",h).src+") repeat-x center left";p=aP.skin.getSkinElement("controlbar",h).width}}if(l=="left"){k.left=isNaN(j)?aQ:j;if(f){aQ+=p}}else{if(l=="right"){k.right=isNaN(j)?ak:j;if(f){ak+=p}}}if(_utils.typeOf(o)=="undefined"){o=aX.elements}k.width=p;if(at){_css(aX[h],k)}else{var n=aV(h,o,k);if(_utils.exists(aP.skin.getSkinElement("controlbar",h+"Over"))){n.onmouseover=function(q){n.style.backgroundImage=["url(",aP.skin.getSkinElement("controlbar",h+"Over").src,")"].join("")};n.onmouseout=function(q){n.style.backgroundImage=["url(",aP.skin.getSkinElement("controlbar",h).src,")"].join("")}}}}}function al(){aP.jwAddEventListener(c.api.events.JWPLAYER_PLAYLIST_LOADED,b);aP.jwAddEventListener(c.api.events.JWPLAYER_PLAYLIST_ITEM,aw);aP.jwAddEventListener(c.api.events.JWPLAYER_MEDIA_BUFFER,ay);aP.jwAddEventListener(c.api.events.JWPLAYER_PLAYER_STATE,av);aP.jwAddEventListener(c.api.events.JWPLAYER_MEDIA_TIME,a5);aP.jwAddEventListener(c.api.events.JWPLAYER_MEDIA_MUTE,aJ);aP.jwAddEventListener(c.api.events.JWPLAYER_MEDIA_VOLUME,aG);aP.jwAddEventListener(c.api.events.JWPLAYER_MEDIA_COMPLETE,a8)}function b(){ba();a9();aA();aS()}function aw(e){aE=aP.jwGetPlaylist()[e.index].duration;a5({id:aP.id,duration:aE,position:0});ay({id:aP.id,bufferProgress:0})}function aS(){a5({id:aP.id,duration:aP.jwGetDuration(),position:0});ay({id:aP.id,bufferProgress:0});aJ({id:aP.id,mute:aP.jwGetMute()});av({id:aP.id,newstate:c.api.events.state.IDLE});aG({id:aP.id,volume:aP.jwGetVolume()})}function aY(h,e,g){if(at){return}if(_utils.exists(aP.skin.getSkinElement("controlbar",h))){var f=aX[h];if(_utils.exists(f)){_css(f,{cursor:"pointer"});if(e=="fullscreen"){f.onmouseup=function(j){j.stopPropagation();aP.jwSetFullscreen(!aP.jwGetFullscreen())}}else{f.onmouseup=function(j){j.stopPropagation();if(_utils.exists(g)){aP[e](g)}else{aP[e]()}}}}}}function aT(e){if(at){return}var f=aX[e+"Slider"];_css(aX.elements,{cursor:"pointer"});_css(f,{cursor:"pointer"});f.onmousedown=function(g){az=e};f.onmouseup=function(g){g.stopPropagation();ar(g.pageX)};f.onmousemove=function(h){if(az=="time"){aO=true;var g=h.pageX-aK[e+"Slider"].left-window.pageXOffset;_css(aX.timeSliderThumb,{left:g})}}}function ar(g){aO=false;var f;if(az=="time"){f=g-aK.timeSliderRail.left+window.pageXOffset;var e=f/aK.timeSliderRail.width*aE;if(e<0){e=0}else{if(e>aE){e=aE-3}}if(aP.jwGetState()==c.api.events.state.PAUSED||aP.jwGetState()==c.api.events.state.IDLE){aP.jwPlay()}aP.jwSeek(e)}else{if(az=="volume"){f=g-aK.volumeSliderRail.left-window.pageXOffset;var h=Math.round(f/aK.volumeSliderRail.width*100);if(h<0){h=0}else{if(h>100){h=100}}if(aP.jwGetMute()){aP.jwSetMute(false)}aP.jwSetVolume(h)}}az="none"}function ay(f){if(_utils.exists(f.bufferPercent)){aN=f.bufferPercent}if(aK.timeSliderRail){var g=aK.timeSliderRail.width;var e=isNaN(Math.round(g*aN/100))?0:Math.round(g*aN/100);_css(aX.timeSliderBuffer,{width:e})}}function aJ(e){if(e.mute){_hide(aX.muteButton);_show(aX.unmuteButton);_hide(aX.volumeSliderProgress)}else{_show(aX.muteButton);_hide(aX.unmuteButton);_show(aX.volumeSliderProgress)}}function av(e){if(e.newstate==c.api.events.state.BUFFERING||e.newstate==c.api.events.state.PLAYING){_show(aX.pauseButton);_hide(aX.playButton)}else{_hide(aX.pauseButton);_show(aX.playButton)}a();if(e.newstate==c.api.events.state.IDLE){_hide(aX.timeSliderBuffer);_hide(aX.timeSliderProgress);_hide(aX.timeSliderThumb);a5({id:aP.id,duration:aP.jwGetDuration(),position:0})}else{_show(aX.timeSliderBuffer);if(e.newstate!=c.api.events.state.BUFFERING){_show(aX.timeSliderProgress);_show(aX.timeSliderThumb)}}}function a8(e){ay({bufferPercent:0});a5(_utils.extend(e,{position:0,duration:aE}))}function a5(e){if(_utils.exists(e.position)){aD=e.position}if(_utils.exists(e.duration)){aE=e.duration}var h=(aD===aE===0)?0:aD/aE;var g=aK.timeSliderRail;if(g){var f=isNaN(Math.round(g.width*h))?0:Math.round(g.width*h);var j=f;if(aX.timeSliderProgress){aX.timeSliderProgress.style.width=f+"px";if(!aO){if(aX.timeSliderThumb){aX.timeSliderThumb.style.left=j+"px"}}}}if(aX.durationText){aX.durationText.innerHTML=_utils.timeFormat(aE)}if(aX.elapsedText){aX.elapsedText.innerHTML=_utils.timeFormat(aD)}}function aH(){var g,h;var j=document.getElementById(a7.id+"_elements");if(!j){return}var e=j.childNodes;for(var f in j.childNodes){if(isNaN(parseInt(f,10))){continue}if(e[f].id.indexOf(a7.id+"_divider")===0&&h&&h.id.indexOf(a7.id+"_divider")===0&&e[f].style.backgroundImage==h.style.backgroundImage){e[f].style.display="none"}else{if(e[f].id.indexOf(a7.id+"_divider")===0&&g&&g.style.display!="none"){e[f].style.display="block"}}if(e[f].style.display!="none"){h=e[f]}g=e[f]}}function aA(){aH();if(aP.jwGetFullscreen()){_show(aX.normalscreenButton);_hide(aX.fullscreenButton)}else{_hide(aX.normalscreenButton);_show(aX.fullscreenButton)}var h={width:aM};var f={};if(aj.position==c.html5.view.positions.OVER||aP.jwGetFullscreen()){h.left=aj.margin;h.width-=2*aj.margin;h.top=ao-a6().height-aj.margin;h.height=a6().height}var e=aP.skin.getSkinElement("controlbar","capLeft");var j=aP.skin.getSkinElement("controlbar","capRight");f.left=e?e.width:0;f.width=h.width-f.left-(j?j.width:0);var g=!_utils.exists(aP.skin.getSkinElement("controlbar","timeSliderCapLeft"))?0:aP.skin.getSkinElement("controlbar","timeSliderCapLeft").width;_css(aX.timeSliderRail,{width:(f.width-aQ-ak),left:g});if(_utils.exists(aX.timeSliderCapRight)){_css(aX.timeSliderCapRight,{left:g+(f.width-aQ-ak)})}_css(a7,h);_css(aX.elements,f);_css(aX.background,f);au();return h}function aG(j){if(_utils.exists(aX.volumeSliderRail)){var g=isNaN(j.volume/100)?1:j.volume/100;var h=_utils.parseDimension(aX.volumeSliderRail.style.width);var e=isNaN(Math.round(h*g))?0:Math.round(h*g);var k=_utils.parseDimension(aX.volumeSliderRail.style.right);var f=(!_utils.exists(aP.skin.getSkinElement("controlbar","volumeSliderCapLeft")))?0:aP.skin.getSkinElement("controlbar","volumeSliderCapLeft").width;_css(aX.volumeSliderProgress,{width:e,left:f});if(_utils.exists(aX.volumeSliderCapLeft)){_css(aX.volumeSliderCapLeft,{left:0})}}}function aR(){ba();a9();au();at=true;al();aj.idlehide=(aj.idlehide.toString().toLowerCase()=="true");if(aj.position==c.html5.view.positions.OVER&&aj.idlehide){a7.style.opacity=0;aZ=true}else{setTimeout((function(){aZ=true;a0()}),1)}aS()}aR();return this}})(jwplayer);(function(e){var d=["width","height","state","playlist","item","position","buffer","duration","volume","mute","fullscreen"];var f=e.utils;e.html5.controller=function(S,aa,ab,Z){var c=S;var P=ab;var al=Z;var ah=aa;var ao=true;var aj=-1;var a=f.exists(P.config.debug)&&(P.config.debug.toString().toLowerCase()=="console");var af=new e.html5.eventdispatcher(ah.id,a);f.extend(this,af);var N=[];var ai=false;function V(g){if(ai){af.sendEvent(g.type,g)}else{N.push(g)}}function ap(g){if(!ai){af.sendEvent(e.api.events.JWPLAYER_READY,g);if(e.utils.exists(window.playerReady)){playerReady(g)}if(e.utils.exists(window[ab.config.playerReady])){window[ab.config.playerReady](g)}while(N.length>0){var j=N.shift();af.sendEvent(j.type,j)}if(ab.config.autostart&&!e.utils.isIOS()){X(P.item)}while(T.length>0){var h=T.shift();Q(h.method,h.arguments)}ai=true}}P.addGlobalListener(V);P.addEventListener(e.api.events.JWPLAYER_MEDIA_BUFFER_FULL,function(){P.getMedia().play()});P.addEventListener(e.api.events.JWPLAYER_MEDIA_TIME,function(g){if(g.position>=P.playlist[P.item].start&&aj>=0){P.playlist[P.item].start=aj;aj=-1}});P.addEventListener(e.api.events.JWPLAYER_MEDIA_COMPLETE,function(g){setTimeout(W,25)});function Y(){try{ak(P.item);if(P.playlist[P.item].levels[0].file.length>0){if(ao||P.state==e.api.events.state.IDLE){P.getMedia().load(P.playlist[P.item]);ao=false}else{if(P.state==e.api.events.state.PAUSED){P.getMedia().play()}}}return true}catch(g){af.sendEvent(e.api.events.JWPLAYER_ERROR,g)}return false}function an(){try{if(P.playlist[P.item].levels[0].file.length>0){switch(P.state){case e.api.events.state.PLAYING:case e.api.events.state.BUFFERING:P.getMedia().pause();break}}return true}catch(g){af.sendEvent(e.api.events.JWPLAYER_ERROR,g)}return false}function M(g){try{if(P.playlist[P.item].levels[0].file.length>0){if(typeof g!="number"){g=parseFloat(g)}switch(P.state){case e.api.events.state.IDLE:if(aj<0){aj=P.playlist[P.item].start;P.playlist[P.item].start=g}Y();break;case e.api.events.state.PLAYING:case e.api.events.state.PAUSED:case e.api.events.state.BUFFERING:P.seek(g);break}}return true}catch(h){af.sendEvent(e.api.events.JWPLAYER_ERROR,h)}return false}function ag(g){if(!f.exists(g)){g=true}try{P.getMedia().stop(g);return true}catch(h){af.sendEvent(e.api.events.JWPLAYER_ERROR,h)}return false}function ad(){try{if(P.playlist[P.item].levels[0].file.length>0){if(P.config.shuffle){ak(R())}else{if(P.item+1==P.playlist.length){ak(0)}else{ak(P.item+1)}}}if(P.state!=e.api.events.state.IDLE){var h=P.state;P.state=e.api.events.state.IDLE;af.sendEvent(e.api.events.JWPLAYER_PLAYER_STATE,{oldstate:h,newstate:e.api.events.state.IDLE})}Y();return true}catch(g){af.sendEvent(e.api.events.JWPLAYER_ERROR,g)}return false}function ac(){try{if(P.playlist[P.item].levels[0].file.length>0){if(P.config.shuffle){ak(R())}else{if(P.item===0){ak(P.playlist.length-1)}else{ak(P.item-1)}}}if(P.state!=e.api.events.state.IDLE){var h=P.state;P.state=e.api.events.state.IDLE;af.sendEvent(e.api.events.JWPLAYER_PLAYER_STATE,{oldstate:h,newstate:e.api.events.state.IDLE})}Y();return true}catch(g){af.sendEvent(e.api.events.JWPLAYER_ERROR,g)}return false}function R(){var g=null;if(P.playlist.length>1){while(!f.exists(g)){g=Math.floor(Math.random()*P.playlist.length);if(g==P.item){g=null}}}else{g=0}return g}function X(h){if(!P.playlist||!P.playlist[h]){return false}try{if(P.playlist[h].levels[0].file.length>0){var j=P.state;if(j!==e.api.events.state.IDLE){if(P.playlist[P.item].provider==P.playlist[h].provider){ag(false)}else{ag()}}ak(h);Y()}return true}catch(g){af.sendEvent(e.api.events.JWPLAYER_ERROR,g)}return false}function ak(g){if(!P.playlist[g]){return}P.setActiveMediaProvider(P.playlist[g]);if(P.item!=g){P.item=g;ao=true;af.sendEvent(e.api.events.JWPLAYER_PLAYLIST_ITEM,{index:g})}}function am(h){try{ak(P.item);var j=P.getMedia();switch(typeof(h)){case"number":j.volume(h);break;case"string":j.volume(parseInt(h,10));break}return true}catch(g){af.sendEvent(e.api.events.JWPLAYER_ERROR,g)}return false}function U(h){try{ak(P.item);var j=P.getMedia();if(typeof h=="undefined"){j.mute(!P.mute)}else{if(h.toString().toLowerCase()=="true"){j.mute(true)}else{j.mute(false)}}return true}catch(g){af.sendEvent(e.api.events.JWPLAYER_ERROR,g)}return false}function ae(h,g){try{P.width=h;P.height=g;al.resize(h,g);af.sendEvent(e.api.events.JWPLAYER_RESIZE,{width:P.width,height:P.height});return true}catch(j){af.sendEvent(e.api.events.JWPLAYER_ERROR,j)}return false}function b(h){try{if(typeof h=="undefined"){P.fullscreen=!P.fullscreen;al.fullscreen(!P.fullscreen)}else{if(h.toString().toLowerCase()=="true"){P.fullscreen=true;al.fullscreen(true)}else{P.fullscreen=false;al.fullscreen(false)}}af.sendEvent(e.api.events.JWPLAYER_RESIZE,{width:P.width,height:P.height});af.sendEvent(e.api.events.JWPLAYER_FULLSCREEN,{fullscreen:h});return true}catch(g){af.sendEvent(e.api.events.JWPLAYER_ERROR,g)}return false}function aq(g){try{ag();P.loadPlaylist(g);ak(P.item);return true}catch(h){af.sendEvent(e.api.events.JWPLAYER_ERROR,h)}return false}e.html5.controller.repeatoptions={LIST:"LIST",ALWAYS:"ALWAYS",SINGLE:"SINGLE",NONE:"NONE"};function W(){switch(P.config.repeat.toUpperCase()){case e.html5.controller.repeatoptions.SINGLE:Y();break;case e.html5.controller.repeatoptions.ALWAYS:if(P.item==P.playlist.length-1&&!P.config.shuffle){X(0)}else{ad()}break;case e.html5.controller.repeatoptions.LIST:if(P.item==P.playlist.length-1&&!P.config.shuffle){ag();ak(0)}else{ad()}break;default:ag();break}}var T=[];function O(g){return function(){if(ai){Q(g,arguments)}else{T.push({method:g,arguments:arguments})}}}function Q(j,h){var g=[];for(i=0;i<h.length;i++){g.push(h[i])}j.apply(this,g)}this.play=O(Y);this.pause=O(an);this.seek=O(M);this.stop=O(ag);this.next=O(ad);this.prev=O(ac);this.item=O(X);this.setVolume=O(am);this.setMute=O(U);this.resize=O(ae);this.setFullscreen=O(b);this.load=O(aq);this.playerReady=ap}})(jwplayer);(function(b){b.html5.defaultSkin=function(){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;if(window.DOMParser){parser=new DOMParser();this.xml=parser.parseFromString(this.text,"text/xml")}else{this.xml=new ActiveXObject("Microsoft.XMLDOM");this.xml.async="false";this.xml.loadXML(this.text)}return this}})(jwplayer);(function(b){_utils=b.utils;_css=_utils.css;_hide=function(a){_css(a,{display:"none"})};_show=function(a){_css(a,{display:"block"})};b.html5.display=function(ak,W){var aj={icons:true,showmute:false};var ax=_utils.extend({},aj,W);var ai=ak;var aw={};var at;var af;var ah;var aE;var ad;var az;var a;var aA=!_utils.exists(ai.skin.getComponentSettings("display").bufferrotation)?15:parseInt(ai.skin.getComponentSettings("display").bufferrotation,10);var ab=!_utils.exists(ai.skin.getComponentSettings("display").bufferinterval)?100:parseInt(ai.skin.getComponentSettings("display").bufferinterval,10);var Z=-1;var ae="";var aB=true;var ar;var av=false;var an=false;var ay=new b.html5.eventdispatcher();_utils.extend(this,ay);var T={display:{style:{cursor:"pointer",top:0,left:0,overflow:"hidden"},click:am},display_icon:{style:{cursor:"pointer",position:"absolute",top:((ai.skin.getSkinElement("display","background").height-ai.skin.getSkinElement("display","playIcon").height)/2),left:((ai.skin.getSkinElement("display","background").width-ai.skin.getSkinElement("display","playIcon").width)/2),border:0,margin:0,padding:0,zIndex:3,display:"none"}},display_iconBackground:{style:{cursor:"pointer",position:"absolute",top:((af-ai.skin.getSkinElement("display","background").height)/2),left:((at-ai.skin.getSkinElement("display","background").width)/2),border:0,backgroundImage:(["url(",ai.skin.getSkinElement("display","background").src,")"]).join(""),width:ai.skin.getSkinElement("display","background").width,height:ai.skin.getSkinElement("display","background").height,margin:0,padding:0,zIndex:2,display:"none"}},display_image:{style:{display:"none",width:at,height:af,position:"absolute",cursor:"pointer",left:0,top:0,margin:0,padding:0,textDecoration:"none",zIndex:1}},display_text:{style:{zIndex:4,position:"relative",opacity:0.8,backgroundColor:parseInt("000000",16),color:parseInt("ffffff",16),textAlign:"center",fontFamily:"Arial,sans-serif",padding:"0 5px",fontSize:14}}};ai.jwAddEventListener(b.api.events.JWPLAYER_PLAYER_STATE,aa);ai.jwAddEventListener(b.api.events.JWPLAYER_MEDIA_MUTE,aa);ai.jwAddEventListener(b.api.events.JWPLAYER_PLAYLIST_ITEM,aa);ai.jwAddEventListener(b.api.events.JWPLAYER_ERROR,ao);aC();function aC(){aw.display=S("div","display");aw.display_text=S("div","display_text");aw.display.appendChild(aw.display_text);aw.display_image=S("img","display_image");aw.display_image.onerror=function(c){_hide(aw.display_image)};aw.display_image.onload=Y;aw.display_icon=S("div","display_icon");aw.display_iconBackground=S("div","display_iconBackground");aw.display.appendChild(aw.display_image);aw.display_iconBackground.appendChild(aw.display_icon);aw.display.appendChild(aw.display_iconBackground);au();setTimeout((function(){an=true;if(ax.icons.toString()=="true"){V()}}),1)}this.getDisplayElement=function(){return aw.display};this.resize=function(d,c){_css(aw.display,{width:d,height:c});_css(aw.display_text,{width:(d-10),top:((c-aw.display_text.getBoundingClientRect().height)/2)});_css(aw.display_iconBackground,{top:((c-ai.skin.getSkinElement("display","background").height)/2),left:((d-ai.skin.getSkinElement("display","background").width)/2)});if(at!=d||af!=c){at=d;af=c;ar=undefined;V()}aq();aa({})};this.show=function(){if(av){av=false;ac(ai.jwGetState())}};this.hide=function(){if(!av){R();av=true}};function Y(c){ah=aw.display_image.naturalWidth;aE=aw.display_image.naturalHeight;aq()}function aq(){_utils.stretch(ai.jwGetStretching(),aw.display_image,at,af,ah,aE)}function S(c,e){var d=document.createElement(c);d.id=ai.id+"_jwplayer_"+e;_css(d,T[e].style);return d}function au(){for(var c in aw){if(_utils.exists(T[c].click)){aw[c].onclick=T[c].click}}}function am(c){if(typeof c.preventDefault!="undefined"){c.preventDefault()}else{c.returnValue=false}if(ai.jwGetState()!=b.api.events.state.PLAYING){ai.jwPlay()}else{ai.jwPause()}}function aF(c){if(a){R();return}aw.display_icon.style.backgroundImage=(["url(",ai.skin.getSkinElement("display",c).src,")"]).join("");_css(aw.display_icon,{width:ai.skin.getSkinElement("display",c).width,height:ai.skin.getSkinElement("display",c).height,top:(ai.skin.getSkinElement("display","background").height-ai.skin.getSkinElement("display",c).height)/2,left:(ai.skin.getSkinElement("display","background").width-ai.skin.getSkinElement("display",c).width)/2});ap();if(_utils.exists(ai.skin.getSkinElement("display",c+"Over"))){aw.display_icon.onmouseover=function(d){aw.display_icon.style.backgroundImage=["url(",ai.skin.getSkinElement("display",c+"Over").src,")"].join("")};aw.display_icon.onmouseout=function(d){aw.display_icon.style.backgroundImage=["url(",ai.skin.getSkinElement("display",c).src,")"].join("")}}else{aw.display_icon.onmouseover=null;aw.display_icon.onmouseout=null}}function R(){if(ax.icons.toString()=="true"){_hide(aw.display_icon);_hide(aw.display_iconBackground);aD()}}function ap(){if(!av&&ax.icons.toString()=="true"){_show(aw.display_icon);_show(aw.display_iconBackground);V()}}function ao(c){a=true;R();aw.display_text.innerHTML=c.error;_show(aw.display_text);aw.display_text.style.top=((af-aw.display_text.getBoundingClientRect().height)/2)+"px"}function U(){aw.display_image.style.display="none"}function aa(c){if((c.type==b.api.events.JWPLAYER_PLAYER_STATE||c.type==b.api.events.JWPLAYER_PLAYLIST_ITEM)&&a){a=false;_hide(aw.display_text)}var d=ai.jwGetState();if(d==ae){return}ae=d;if(Z>=0){clearTimeout(Z)}if(aB||ai.jwGetState()==b.api.events.state.PLAYING||ai.jwGetState()==b.api.events.state.PAUSED){ac(ai.jwGetState())}else{Z=setTimeout(al(ai.jwGetState()),500)}}function al(c){return(function(){ac(c)})}function ac(c){if(_utils.exists(az)){clearInterval(az);az=null;_utils.animations.rotate(aw.display_icon,0)}switch(c){case b.api.events.state.BUFFERING:if(_utils.isIOS()){U();R()}else{if(ai.jwGetPlaylist()[ai.jwGetItem()].provider=="sound"){ag()}ad=0;az=setInterval(function(){ad+=aA;_utils.animations.rotate(aw.display_icon,ad%360)},ab);aF("bufferIcon");aB=true}break;case b.api.events.state.PAUSED:if(!_utils.isIOS()){if(ai.jwGetPlaylist()[ai.jwGetItem()].provider!="sound"){_css(aw.display_image,{background:"transparent no-repeat center center"})}aF("playIcon");aB=true}break;case b.api.events.state.IDLE:if(ai.jwGetPlaylist()[ai.jwGetItem()]&&ai.jwGetPlaylist()[ai.jwGetItem()].image){ag()}else{U()}aF("playIcon");aB=true;break;default:if(ai.jwGetPlaylist()[ai.jwGetItem()]&&ai.jwGetPlaylist()[ai.jwGetItem()].provider=="sound"){if(_utils.isIOS()){U();aB=false}else{ag()}}else{U();aB=false}if(ai.jwGetMute()&&ax.showmute){aF("muteIcon")}else{R()}break}Z=-1}function ag(){if(ai.jwGetPlaylist()[ai.jwGetItem()]&&ai.jwGetPlaylist()[ai.jwGetItem()].image){_css(aw.display_image,{display:"block"});aw.display_image.src=_utils.getAbsolutePath(ai.jwGetPlaylist()[ai.jwGetItem()].image)}}function X(c){return function(){if(!an){return}if(!av&&ar!=c){ar=c;ay.sendEvent(c,{component:"display",boundingRect:_utils.getDimensions(aw.display_iconBackground)})}}}var V=X(b.api.events.JWPLAYER_COMPONENT_SHOW);var aD=X(b.api.events.JWPLAYER_COMPONENT_HIDE);return this}})(jwplayer);(function(b){_css=b.utils.css;b.html5.dock=function(a,B){function x(){return{align:b.html5.view.positions.RIGHT}}var G=b.utils.extend({},x(),B);if(G.align=="FALSE"){return}var P={};var z=[];var Q;var C;var N=false;var A=false;var O={x:0,y:0,width:0,height:0};var y;var F=new b.html5.eventdispatcher();_utils.extend(this,F);var I=document.createElement("div");I.id=a.id+"_jwplayer_dock";a.jwAddEventListener(b.api.events.JWPLAYER_PLAYER_STATE,H);this.getDisplayElement=function(){return I};this.setButton=function(d,e,f,c){if(!e&&P[d]){b.utils.arrays.remove(z,d);I.removeChild(P[d].div);delete P[d]}else{if(e){if(!P[d]){P[d]={}}P[d].handler=e;P[d].outGraphic=f;P[d].overGraphic=c;if(!P[d].div){z.push(d);P[d].div=document.createElement("div");P[d].div.style.position="relative";I.appendChild(P[d].div);P[d].div.appendChild(document.createElement("img"));P[d].div.childNodes[0].style.position="absolute";P[d].div.childNodes[0].style.left=0;P[d].div.childNodes[0].style.top=0;P[d].div.childNodes[0].style.zIndex=10;P[d].div.childNodes[0].style.cursor="pointer";P[d].div.appendChild(document.createElement("img"));P[d].div.childNodes[1].style.position="absolute";P[d].div.childNodes[1].style.left=0;P[d].div.childNodes[1].style.top=0;if(a.skin.getSkinElement("dock","button")){P[d].div.childNodes[1].src=a.skin.getSkinElement("dock","button").src}P[d].div.childNodes[1].style.zIndex=9;P[d].div.childNodes[1].style.cursor="pointer";P[d].div.onmouseover=function(){if(P[d].overGraphic){P[d].div.childNodes[0].src=P[d].overGraphic}if(a.skin.getSkinElement("dock","buttonOver")){P[d].div.childNodes[1].src=a.skin.getSkinElement("dock","buttonOver").src}};P[d].div.onmouseout=function(){if(P[d].outGraphic){P[d].div.childNodes[0].src=P[d].outGraphic}if(a.skin.getSkinElement("dock","button")){P[d].div.childNodes[1].src=a.skin.getSkinElement("dock","button").src}};if(P[d].overGraphic){P[d].div.childNodes[0].src=P[d].overGraphic}if(P[d].outGraphic){P[d].div.childNodes[0].src=P[d].outGraphic}if(a.skin.getSkinElement("dock","button")){P[d].div.childNodes[1].src=a.skin.getSkinElement("dock","button").src}}if(e){P[d].div.onclick=function(g){g.preventDefault();b(a.id).callback(d);if(P[d].overGraphic){P[d].div.childNodes[0].src=P[d].overGraphic}if(a.skin.getSkinElement("dock","button")){P[d].div.childNodes[1].src=a.skin.getSkinElement("dock","button").src}}}}}E(Q,C)};function E(d,j){if(z.length>0){var e=10;var h=e;var q=-1;var c=a.skin.getSkinElement("dock","button").height;var p=a.skin.getSkinElement("dock","button").width;var n=d-p-e;var g,m;if(G.align==b.html5.view.positions.LEFT){q=1;n=e}for(var f=0;f<z.length;f++){var k=Math.floor(h/j);if((h+c+e)>((k+1)*j)){h=((k+1)*j)+e;k=Math.floor(h/j)}var l=P[z[f]].div;l.style.top=(h%j)+"px";l.style.left=(n+(a.skin.getSkinElement("dock","button").width+e)*k*q)+"px";var o={x:b.utils.parseDimension(l.style.left),y:b.utils.parseDimension(l.style.top),width:p,height:c};if(!g||(o.x<=g.x&&o.y<=g.y)){g=o}if(!m||(o.x>=m.x&&o.y>=m.y)){m=o}h+=a.skin.getSkinElement("dock","button").height+e}O={x:g.x,y:g.y,width:m.x-g.x+m.width,height:g.y-m.y+m.height}}if(A!=a.jwGetFullscreen()||Q!=d||C!=j){Q=d;C=j;A=a.jwGetFullscreen();y=undefined;setTimeout(J,1)}}function L(c){return function(){if(!N&&y!=c&&z.length>0){y=c;F.sendEvent(c,{component:"dock",boundingRect:O})}}}function H(c){if(b.utils.isIOS()){switch(c.newstate){case b.api.events.state.IDLE:K();break;default:M();break}}}var J=L(b.api.events.JWPLAYER_COMPONENT_SHOW);var D=L(b.api.events.JWPLAYER_COMPONENT_HIDE);this.resize=E;var K=function(){_css(I,{display:"block"});if(N){N=false;J()}};var M=function(){_css(I,{display:"none"});if(!N){D();N=true}};this.hide=M;this.show=K;return this}})(jwplayer);(function(b){b.html5.eventdispatcher=function(f,a){var e=new b.events.eventdispatcher(a);b.utils.extend(this,e);this.sendEvent=function(c,d){if(!b.utils.exists(d)){d={}}b.utils.extend(d,{id:f,version:b.version,type:c});e.sendEvent(c,d)}}})(jwplayer);(function(c){var d={prefix:"http://l.longtailvideo.com/html5/",file:"logo.png",link:"http://www.longtailvideo.com/players/jw-flv-player/",margin:8,out:0.5,over:1,timeout:5,hide:true,position:"bottom-left"};_css=c.utils.css;c.html5.logo=function(E,v){var b=E;var y;var H;var x;var z=false;K();function K(){F();G();C()}function F(){if(d.prefix){var e=E.version.split(/\W/).splice(0,2).join("/");if(d.prefix.indexOf(e)<0){d.prefix+=e+"/"}}if(v.position==c.html5.view.positions.OVER){v.position=d.position}H=c.utils.extend({},d)}function G(){x=document.createElement("img");x.id=b.id+"_jwplayer_logo";x.style.display="none";x.onload=function(e){_css(x,B());b.jwAddEventListener(c.api.events.JWPLAYER_PLAYER_STATE,A);a()};if(!H.file){return}if(H.file.indexOf("http://")===0){x.src=H.file}else{x.src=H.prefix+H.file}}if(!H.file){return}this.resize=function(f,e){};this.getDisplayElement=function(){return x};function C(){if(H.link){x.onmouseover=J;x.onmouseout=a;x.onclick=w}else{this.mouseEnabled=false}}function w(e){if(typeof e!="undefined"){e.stopPropagation()}if(!z){return}b.jwPause();b.jwSetFullscreen(false);if(H.link){window.open(H.link,"_top")}return}function a(e){if(H.link&&z){x.style.opacity=H.out}return}function J(e){if(H.hide.toString()=="true"&&z){x.style.opacity=H.over}return}function B(){var f={textDecoration:"none",position:"absolute",cursor:"pointer"};f.display=(H.hide.toString()=="true")?"none":"block";var g=H.position.toLowerCase().split("-");for(var e in g){f[g[e]]=H.margin}return f}function D(){if(H.hide.toString()=="true"){x.style.display="block";x.style.opacity=0;c.utils.fadeTo(x,H.out,0.1,parseFloat(x.style.opacity));y=setTimeout(function(){I()},H.timeout*1000)}z=true}function I(){z=false;if(H.hide.toString()=="true"){c.utils.fadeTo(x,0,0.1,parseFloat(x.style.opacity))}}function A(e){if(e.newstate==c.api.events.state.BUFFERING){clearTimeout(y);D()}}return this}})(jwplayer);(function(f){var h={ended:f.api.events.state.IDLE,playing:f.api.events.state.PLAYING,pause:f.api.events.state.PAUSED,buffering:f.api.events.state.BUFFERING};var k=f.utils;var g=k.css;var j=k.isIOS();f.html5.mediavideo=function(V,Q){var P={abort:aa,canplay:X,canplaythrough:X,durationchange:J,emptied:aa,ended:X,error:S,loadeddata:J,loadedmetadata:J,loadstart:X,pause:X,play:aa,playing:X,progress:T,ratechange:aa,seeked:X,seeking:X,stalled:X,suspend:X,timeupdate:d,volumechange:aa,waiting:X,canshowcurrentframe:aa,dataunavailable:aa,empty:aa,load:M,loadedfirstframe:aa};var W=new f.html5.eventdispatcher();k.extend(this,W);var L=V,Y=Q,Z,b,a,K,ac,ae=false,c,N,O;ab();this.load=function(n,o){if(typeof o=="undefined"){o=true}K=n;k.empty(Z);O=0;if(n.levels&&n.levels.length>0){if(n.levels.length==1){Z.src=n.levels[0].file}else{if(Z.src){Z.removeAttribute("src")}for(var m=0;m<n.levels.length;m++){var l=Z.ownerDocument.createElement("source");l.src=n.levels[m].file;Z.appendChild(l);O++}}}else{Z.src=n.file}if(j){if(n.image){Z.poster=n.image}Z.controls="controls";Z.style.display="block"}c=N=a=false;L.buffer=0;if(!k.exists(n.start)){n.start=0}L.duration=n.duration;W.sendEvent(f.api.events.JWPLAYER_MEDIA_LOADED);if((!j&&n.levels.length==1)||!ae){Z.load()}ae=false;if(o){e(f.api.events.state.BUFFERING);W.sendEvent(f.api.events.JWPLAYER_MEDIA_BUFFER,{bufferPercent:0});this.play()}};this.play=function(){if(b!=f.api.events.state.PLAYING){R();if(N){e(f.api.events.state.PLAYING)}else{e(f.api.events.state.BUFFERING)}Z.play()}};this.pause=function(){Z.pause();e(f.api.events.state.PAUSED)};this.seek=function(l){if(!(L.duration<=0||isNaN(L.duration))&&!(L.position<=0||isNaN(L.position))){Z.currentTime=l;Z.play()}};_stop=this.stop=function(l){if(!k.exists(l)){l=true}ad();if(l){Z.style.display="none";N=false;var m=navigator.userAgent;if(m.match(/chrome/i)){Z.src=undefined}else{if(m.match(/safari/i)){Z.removeAttribute("src")}else{Z.src=""}}Z.removeAttribute("controls");Z.removeAttribute("poster");k.empty(Z);Z.load();ae=true;if(Z.webkitSupportsFullscreen){try{Z.webkitExitFullscreen()}catch(n){}}}e(f.api.events.state.IDLE)};this.fullscreen=function(l){if(l===true){this.resize("100%","100%")}else{this.resize(L.config.width,L.config.height)}};this.resize=function(l,m){if(false){g(Y,{width:l,height:m})}W.sendEvent(f.api.events.JWPLAYER_MEDIA_RESIZE,{fullscreen:L.fullscreen,width:l,hieght:m})};this.volume=function(l){if(!j){Z.volume=l/100;L.volume=l;W.sendEvent(f.api.events.JWPLAYER_MEDIA_VOLUME,{volume:Math.round(l)})}};this.mute=function(l){if(!j){Z.muted=l;L.mute=l;W.sendEvent(f.api.events.JWPLAYER_MEDIA_MUTE,{mute:l})}};this.getDisplayElement=function(){return Z};this.hasChrome=function(){return false};function ab(){Z=document.createElement("video");b=f.api.events.state.IDLE;for(var l in P){Z.addEventListener(l,function(m){if(k.exists(m.target.parentNode)){P[m.type](m)}},true)}Z.setAttribute("x-webkit-airplay","allow");if(Y.parentNode){Y.parentNode.replaceChild(Z,Y)}if(!Z.id){Z.id=Y.id}}function e(m){if(m==f.api.events.state.PAUSED&&b==f.api.events.state.IDLE){return}if(b!=m){var l=b;L.state=b=m;W.sendEvent(f.api.events.JWPLAYER_PLAYER_STATE,{oldstate:l,newstate:m})}}function aa(l){}function T(n){var m;if(k.exists(n)&&n.lengthComputable&&n.total){m=n.loaded/n.total*100}else{if(k.exists(Z.buffered)&&(Z.buffered.length>0)){var l=Z.buffered.length-1;if(l>=0){m=Z.buffered.end(l)/Z.duration*100}}}if(N===false&&b==f.api.events.state.BUFFERING){W.sendEvent(f.api.events.JWPLAYER_MEDIA_BUFFER_FULL);N=true}if(!c){if(m==100){c=true}if(k.exists(m)&&(m>L.buffer)){L.buffer=Math.round(m);W.sendEvent(f.api.events.JWPLAYER_MEDIA_BUFFER,{bufferPercent:Math.round(m)})}}}function d(l){if(k.exists(l)&&k.exists(l.target)){if(!isNaN(l.target.duration)&&(isNaN(L.duration)||L.duration<1)){if(l.target.duration==Infinity){L.duration=0}else{L.duration=Math.round(l.target.duration*10)/10}}if(!a&&Z.readyState>0){Z.style.display="block";e(f.api.events.state.PLAYING)}if(b==f.api.events.state.PLAYING){if(!a&&Z.readyState>0){a=true;try{if(Z.currentTime<K.start){Z.currentTime=K.start}}catch(m){}Z.volume=L.volume/100;Z.muted=L.mute}L.position=L.duration>0?(Math.round(l.target.currentTime*10)/10):0;W.sendEvent(f.api.events.JWPLAYER_MEDIA_TIME,{position:L.position,duration:L.duration});if(L.position>=L.duration&&(L.position>0||L.duration>0)){U()}}}T(l)}function M(l){}function X(l){if(h[l.type]){if(l.type=="ended"){U()}else{e(h[l.type])}}}function J(m){var l={height:m.target.videoHeight,width:m.target.videoWidth,duration:Math.round(m.target.duration*10)/10};if((L.duration===0||isNaN(L.duration))&&m.target.duration!=Infinity){L.duration=Math.round(m.target.duration*10)/10}W.sendEvent(f.api.events.JWPLAYER_MEDIA_META,{metadata:l})}function S(n){if(b==f.api.events.state.IDLE){return}var m="There was an error: ";if((n.target.error&&n.target.tagName.toLowerCase()=="video")||n.target.parentNode.error&&n.target.parentNode.tagName.toLowerCase()=="video"){var l=!k.exists(n.target.error)?n.target.parentNode.error:n.target.error;switch(l.code){case l.MEDIA_ERR_ABORTED:m="You aborted the video playback: ";break;case l.MEDIA_ERR_NETWORK:m="A network error caused the video download to fail part-way: ";break;case l.MEDIA_ERR_DECODE:m="The video playback was aborted due to a corruption problem or because the video used features your browser did not support: ";break;case l.MEDIA_ERR_SRC_NOT_SUPPORTED:m="The video could not be loaded, either because the server or network failed or because the format is not supported: ";break;default:m="An unknown error occurred: ";break}}else{if(n.target.tagName.toLowerCase()=="source"){O--;if(O>0){return}m="The video could not be loaded, either because the server or network failed or because the format is not supported: "}else{k.log("An unknown error occurred.  Continuing...");return}}_stop(false);m+=I();_error=true;W.sendEvent(f.api.events.JWPLAYER_ERROR,{error:m});return}function I(){var o="";for(var n in K.levels){var m=K.levels[n];var l=Y.ownerDocument.createElement("source");o+=f.utils.getAbsolutePath(m.file);if(n<(K.levels.length-1)){o+=", "}}return o}function R(){if(!k.exists(ac)){ac=setInterval(function(){T()},100)}}function ad(){clearInterval(ac);ac=null}function U(){if(b!=f.api.events.state.IDLE){_stop(false);W.sendEvent(f.api.events.JWPLAYER_MEDIA_COMPLETE)}}}})(jwplayer);(function(d){var f={ended:d.api.events.state.IDLE,playing:d.api.events.state.PLAYING,pause:d.api.events.state.PAUSED,buffering:d.api.events.state.BUFFERING};var e=d.utils.css;d.html5.mediayoutube=function(b,u){var v=new d.html5.eventdispatcher();d.utils.extend(this,v);var p=b;var a=document.getElementById(u.id);var w=d.api.events.state.IDLE;var r,q;function c(g){if(w!=g){var h=w;p.state=g;w=g;v.sendEvent(d.api.events.JWPLAYER_PLAYER_STATE,{oldstate:h,newstate:g})}}this.getDisplayElement=function(){return a};this.play=function(){if(w==d.api.events.state.IDLE){v.sendEvent(d.api.events.JWPLAYER_MEDIA_BUFFER,{bufferPercent:100});v.sendEvent(d.api.events.JWPLAYER_MEDIA_BUFFER_FULL);c(d.api.events.state.PLAYING)}else{if(w==d.api.events.state.PAUSED){c(d.api.events.state.PLAYING)}}};this.pause=function(){c(d.api.events.state.PAUSED)};this.seek=function(g){};this.stop=function(g){if(!_utils.exists(g)){g=true}p.position=0;c(d.api.events.state.IDLE);if(g){e(a,{display:"none"})}};this.volume=function(g){p.volume=g;v.sendEvent(d.api.events.JWPLAYER_MEDIA_VOLUME,{volume:Math.round(g)})};this.mute=function(g){a.muted=g;p.mute=g;v.sendEvent(d.api.events.JWPLAYER_MEDIA_MUTE,{mute:g})};this.resize=function(h,g){if(h*g>0&&r){r.width=q.width=h;r.height=q.height=g}v.sendEvent(d.api.events.JWPLAYER_MEDIA_RESIZE,{fullscreen:p.fullscreen,width:h,height:g})};this.fullscreen=function(g){if(g===true){this.resize("100%","100%")}else{this.resize(p.config.width,p.config.height)}};this.load=function(g){s(g);e(r,{display:"block"});c(d.api.events.state.BUFFERING);v.sendEvent(d.api.events.JWPLAYER_MEDIA_BUFFER,{bufferPercent:0});v.sendEvent(d.api.events.JWPLAYER_MEDIA_LOADED);this.play()};this.hasChrome=function(){return(w!=d.api.events.state.IDLE)};function s(n){var k=n.levels[0].file;k=["http://www.youtube.com/v/",t(k),"&amp;hl=en_US&amp;fs=1&autoplay=1"].join("");r=document.createElement("object");r.id=a.id;r.style.position="absolute";var m={movie:k,allowfullscreen:"true",allowscriptaccess:"always"};for(var g in m){var l=document.createElement("param");l.name=g;l.value=m[g];r.appendChild(l)}q=document.createElement("embed");r.appendChild(q);var h={src:k,type:"application/x-shockwave-flash",allowfullscreen:"true",allowscriptaccess:"always",width:r.width,height:r.height};for(var j in h){q.setAttribute(j,h[j])}r.appendChild(q);r.style.zIndex=2147483000;if(a!=r&&a.parentNode){a.parentNode.replaceChild(r,a)}a=r}function t(g){var k=g.split(/\?|\#\!/);var j="";for(var h=0;h<k.length;h++){if(k[h].substr(0,2)=="v="){j=k[h].substr(2)}}if(j==""){if(g.indexOf("/v/")>=0){j=g.substr(g.indexOf("/v/")+3)}else{if(g.indexOf("youtu.be")>=0){j=g.substr(g.indexOf("youtu.be/")+9)}else{j=g}}}if(j.indexOf("?")>-1){j=j.substr(0,j.indexOf("?"))}if(j.indexOf("&")>-1){j=j.substr(0,j.indexOf("&"))}return j}this.embed=q;return this}})(jwplayer);(function(jwplayer){var _configurableStateVariables=["width","height","start","duration","volume","mute","fullscreen","item","plugins","stretching"];jwplayer.html5.model=function(api,container,options){var _api=api;var _container=container;var _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:false,fullscreen:false,repeat:"",stretching:jwplayer.utils.stretching.UNIFORM,autostart:false,debug:undefined,screencolor:undefined}};var _media;var _eventDispatcher=new jwplayer.html5.eventdispatcher();var _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;var path=option.split(".");for(var edge in path){if(edge==path.length-1){config[path[edge]]=options[option]}else{if(!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)){if(typeof _model.plugins=="string"){var userplugins=_model.plugins.split(",");for(var userplugin in userplugins){if(typeof userplugins[userplugin]=="string"){pluginorder.push(userplugins[userplugin].replace(/^\s+|\s+$/g,""))}}}}if(jwplayer.utils.isIOS()){pluginorder=["display","logo","dock","playlist"];if(!jwplayer.utils.exists(_model.config.repeat)){_model.config.repeat="list"}}else{if(_model.config.chromeless){pluginorder=["logo","dock","playlist"];if(!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];var pluginConfig=!jwplayer.utils.exists(_model.plugins.config[pluginName])?{}:_model.plugins.config[pluginName];_model.plugins.config[pluginName]=!jwplayer.utils.exists(_model.plugins.config[pluginName])?pluginConfig:jwplayer.utils.extend(_model.plugins.config[pluginName],pluginConfig);if(!jwplayer.utils.exists(_model.plugins.config[pluginName].position)){if(pluginName=="playlist"){_model.plugins.config[pluginName].position=jwplayer.html5.view.positions.NONE}else{_model.plugins.config[pluginName].position=jwplayer.html5.view.positions.OVER}}else{_model.plugins.config[pluginName].position=_model.plugins.config[pluginName].position.toString().toUpperCase()}}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}}if(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}}function _loadExternal(playlistfile){var loader=new jwplayer.html5.playlistloader();loader.addEventListener(jwplayer.api.events.JWPLAYER_PLAYLIST_LOADED,function(evt){_model.playlist=new jwplayer.html5.playlist(evt);_loadComplete(true)});loader.addEventListener(jwplayer.api.events.JWPLAYER_ERROR,function(evt){_model.playlist=new jwplayer.html5.playlist({playlist:[]});_loadComplete(false)});loader.load(playlistfile)}function _loadComplete(){if(_model.config.shuffle){_model.item=_getShuffleItem()}else{if(_model.config.item>=_model.playlist.length){_model.config.item=_model.playlist.length-1}else{if(_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})}_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;break}_model.playlist=new jwplayer.html5.playlist(config);if(jwplayer.utils.extension(_model.playlist[0].file)=="xml"){_loadExternal(_model.playlist[0].file)}else{_loadComplete()}};function _getShuffleItem(){var result=null;if(_model.playlist.length>1){while(!jwplayer.utils.exists(result)){result=Math.floor(Math.random()*_model.playlist.length);if(result==_model.item){result=null}}}else{result=0}return result}function forward(evt){if(evt.type==jwplayer.api.events.JWPLAYER_MEDIA_LOADED){_container=_media.getDisplayElement()}_eventDispatcher.sendEvent(evt.type,evt)}var _mediaProviders={};_model.setActiveMediaProvider=function(playlistItem){if(playlistItem.provider=="audio"){playlistItem.provider="sound"}var provider=playlistItem.provider;var current=_media?_media.getDisplayElement():null;if(provider=="sound"||provider=="http"||provider==""){provider="video"}if(!jwplayer.utils.exists(_mediaProviders[provider])){switch(provider){case"video":_media=new jwplayer.html5.mediavideo(_model,current?current:_container);break;case"youtube":_media=new jwplayer.html5.mediayoutube(_model,current?current:_container);break}if(!jwplayer.utils.exists(_media)){return false}_media.addGlobalListener(forward);_mediaProviders[provider]=_media}else{if(_media!=_mediaProviders[provider]){if(_media){_media.stop()}_media=_mediaProviders[provider]}}return true};_model.getMedia=function(){return _media};_model.seek=function(pos){_eventDispatcher.sendEvent(jwplayer.api.events.JWPLAYER_MEDIA_SEEK,{position:_model.position,offset:pos});return _media.seek(pos)};_model.setupPlugins=function(){if(!jwplayer.utils.exists(_model.plugins)||!jwplayer.utils.exists(_model.plugins.order)||_model.plugins.order.length==0){jwplayer.utils.log("No plugins to set up");return _model}for(var i=0;i<_model.plugins.order.length;i++){try{var pluginName=_model.plugins.order[i];if(jwplayer.utils.exists(jwplayer.html5[pluginName])){if(pluginName=="playlist"){_model.plugins.object[pluginName]=new jwplayer.html5.playlistcomponent(_api,_model.plugins.config[pluginName])}else{_model.plugins.object[pluginName]=new jwplayer.html5[pluginName](_api,_model.plugins.config[pluginName])}}else{_model.plugins.order.splice(plugin,plugin+1)}if(typeof _model.plugins.object[pluginName].addGlobalListener=="function"){_model.plugins.object[pluginName].addGlobalListener(forward)}}catch(err){jwplayer.utils.log("Could not setup "+pluginName)}}};return _model}})(jwplayer);(function(b){b.html5.playlist=function(a){var f=[];if(a.playlist&&a.playlist instanceof Array&&a.playlist.length>0){for(var e in a.playlist){if(!isNaN(parseInt(e))){f.push(new b.html5.playlistitem(a.playlist[e]))}}}else{f.push(new b.html5.playlistitem(a))}return f}})(jwplayer);(function(d){var f={size:180,position:d.html5.view.positions.NONE,itemheight:60,thumbs:true,fontcolor:"#000000",overcolor:"",activecolor:"",backgroundcolor:"#f8f8f8",font:"_sans",fontsize:"",fontstyle:"",fontweight:""};var e={_sans:"Arial, Helvetica, sans-serif",_serif:"Times, Times New Roman, serif",_typewriter:"Courier New, Courier, monospace"};_utils=d.utils;_css=_utils.css;_hide=function(a){_css(a,{display:"none"})};_show=function(a){_css(a,{display:"block"})};d.html5.playlistcomponent=function(H,T){var M=H;var V=d.utils.extend({},f,M.skin.getComponentSettings("playlist"),T);if(V.position==d.html5.view.positions.NONE||typeof d.html5.view.positions[V.position]=="undefined"){return}var a;var Q;var Y;var U;var X;var W;var P=-1;var N={background:undefined,item:undefined,itemOver:undefined,itemImage:undefined,itemActive:undefined};this.getDisplayElement=function(){return a};this.resize=function(j,g){Q=j;Y=g;if(M.jwGetFullscreen()){_hide(a)}else{var h={display:"block",width:Q,height:Y};_css(a,h)}};this.show=function(){_show(a)};this.hide=function(){_hide(a)};function O(){a=document.createElement("div");a.id=M.id+"_jwplayer_playlistcomponent";switch(V.position){case d.html5.view.positions.RIGHT:case d.html5.view.positions.LEFT:a.style.width=V.size+"px";break;case d.html5.view.positions.TOP:case d.html5.view.positions.BOTTOM:a.style.height=V.size+"px";break}D();if(N.item){V.itemheight=N.item.height}a.style.backgroundColor="#C6C6C6";M.jwAddEventListener(d.api.events.JWPLAYER_PLAYLIST_LOADED,I);M.jwAddEventListener(d.api.events.JWPLAYER_PLAYLIST_ITEM,K);M.jwAddEventListener(d.api.events.JWPLAYER_PLAYER_STATE,R)}function F(){var g=document.createElement("ul");_css(g,{width:a.style.width,minWidth:a.style.width,height:a.style.height,backgroundColor:V.backgroundcolor,backgroundImage:N.background?"url("+N.background.src+")":"",color:V.fontcolor,listStyle:"none",margin:0,padding:0,fontFamily:e[V.font]?e[V.font]:e._sans,fontSize:(V.fontsize?V.fontsize:11)+"px",fontStyle:V.fontstyle,fontWeight:V.fontweight,overflowY:"auto"});return g}function b(g){return function(){var h=W.getElementsByClassName("item")[g];var j=V.fontcolor;var k=N.item?"url("+N.item.src+")":"";if(g==M.jwGetPlaylistIndex()){if(V.activecolor!==""){j=V.activecolor}if(N.itemActive){k="url("+N.itemActive.src+")"}}_css(h,{color:V.overcolor!==""?V.overcolor:j,backgroundImage:N.itemOver?"url("+N.itemOver.src+")":k})}}function E(g){return function(){var h=W.getElementsByClassName("item")[g];var j=V.fontcolor;var k=N.item?"url("+N.item.src+")":"";if(g==M.jwGetPlaylistIndex()){if(V.activecolor!==""){j=V.activecolor}if(N.itemActive){k="url("+N.itemActive.src+")"}}_css(h,{color:j,backgroundImage:k})}}function G(k){var h=U[k];var q=document.createElement("li");q.className="item";_css(q,{height:V.itemheight,display:"block",cursor:"pointer",backgroundImage:N.item?"url("+N.item.src+")":"",backgroundSize:"100% "+V.itemheight+"px"});q.onmouseover=b(k);q.onmouseout=E(k);var l=document.createElement("div");var t=new Image();var m=0;var n=0;var o=0;if(L()&&(h.image||h["playlist.image"]||N.itemImage)){t.className="image";if(N.itemImage){m=(V.itemheight-N.itemImage.height)/2;n=N.itemImage.width;o=N.itemImage.height}else{n=V.itemheight*4/3;o=V.itemheight}_css(l,{height:o,width:n,"float":"left",styleFloat:"left",cssFloat:"left",margin:"0 5px 0 0",background:"black",overflow:"hidden",margin:m+"px",position:"relative"});_css(t,{position:"relative"});l.appendChild(t);t.onload=function(){d.utils.stretch(d.utils.stretching.FILL,t,n,o,this.naturalWidth,this.naturalHeight)};if(h["playlist.image"]){t.src=h["playlist.image"]}else{if(h.image){t.src=h.image}else{if(N.itemImage){t.src=N.itemImage.src}}}q.appendChild(l)}var s=Q-n-m*2;if(Y<V.itemheight*U.length){s-=15}var r=document.createElement("div");_css(r,{position:"relative",height:"100%",overflow:"hidden"});var g=document.createElement("span");if(h.duration>0){g.className="duration";_css(g,{fontSize:(V.fontsize?V.fontsize:11)+"px",fontWeight:(V.fontweight?V.fontweight:"bold"),width:"40px",height:V.fontsize?V.fontsize+10:20,lineHeight:24,"float":"right",styleFloat:"right",cssFloat:"right"});g.innerHTML=_utils.timeFormat(h.duration);r.appendChild(g)}var p=document.createElement("span");p.className="title";_css(p,{padding:"5px 5px 0 "+(m?0:"5px"),height:V.fontsize?V.fontsize+10:20,lineHeight:V.fontsize?V.fontsize+10:20,overflow:"hidden","float":"left",styleFloat:"left",cssFloat:"left",width:((h.duration>0)?s-50:s)-10+"px",fontSize:(V.fontsize?V.fontsize:13)+"px",fontWeight:(V.fontweight?V.fontweight:"bold")});p.innerHTML=h?h.title:"";r.appendChild(p);if(h.description){var j=document.createElement("span");j.className="description";_css(j,{display:"block","float":"left",styleFloat:"left",cssFloat:"left",margin:0,paddingLeft:p.style.paddingLeft,paddingRight:p.style.paddingRight,lineHeight:(V.fontsize?V.fontsize+4:16)+"px",overflow:"hidden",position:"relative"});j.innerHTML=h.description;r.appendChild(j)}q.appendChild(r);return q}function I(h){a.innerHTML="";U=M.jwGetPlaylist();if(!U){return}items=[];W=F();for(var j=0;j<U.length;j++){var g=G(j);g.onclick=c(j);W.appendChild(g);items.push(g)}P=M.jwGetPlaylistIndex();E(P)();a.appendChild(W);if(_utils.isIOS()&&window.iScroll){W.style.height=V.itemheight*U.length+"px";var k=new iScroll(a.id)}}function c(g){return function(){M.jwPlaylistItem(g);M.jwPlay(true)}}function S(){W.scrollTop=M.jwGetPlaylistIndex()*V.itemheight}function L(){return V.thumbs.toString().toLowerCase()=="true"}function K(g){if(P>=0){E(P)();P=g.index}E(g.index)();S()}function R(){if(V.position==d.html5.view.positions.OVER){switch(M.jwGetState()){case d.api.events.state.IDLE:_show(a);break;default:_hide(a);break}}}function D(){for(var g in N){N[g]=J(g)}}function J(g){return M.skin.getSkinElement("playlist",g)}O();return this}})(jwplayer);(function(d){d.html5.playlistitem=function(b){var f={author:"",date:"",description:"",image:"",link:"",mediaid:"",tags:"",title:"",provider:"",file:"",streamer:"",duration:-1,start:0,currentLevel:-1,levels:[]};var a=d.utils.extend({},f,b);if(a.type){a.provider=a.type;delete a.type}if(a.levels.length===0){a.levels[0]=new d.html5.playlistitemlevel(a)}if(!a.provider){a.provider=c(a.levels[0])}else{a.provider=a.provider.toLowerCase()}return a};function c(h){if(d.utils.isYouTube(h.file)){return"youtube"}else{var a=d.utils.extension(h.file);var b;if(a&&d.utils.extensionmap[a]){if(a=="m3u8"){return"video"}b=d.utils.extensionmap[a].html5}else{if(h.type){b=h.type}}if(b){var g=b.split("/")[0];if(g=="audio"){return"sound"}else{if(g=="video"){return g}}}}return""}})(jwplayer);(function(b){b.html5.playlistitemlevel=function(a){var f={file:"",streamer:"",bitrate:0,width:0};for(var e in f){if(b.utils.exists(a[e])){f[e]=a[e]}}return f}})(jwplayer);(function(b){b.html5.playlistloader=function(){var e=new b.html5.eventdispatcher();b.utils.extend(this,e);this.load=function(c){b.utils.ajax(c,f,a)};function f(d){var c=[];try{var c=b.utils.parsers.rssparser.parse(d.responseXML.firstChild);e.sendEvent(b.api.events.JWPLAYER_PLAYLIST_LOADED,{playlist:new b.html5.playlist({playlist:c})})}catch(j){a("Could not parse the playlist")}}function a(c){e.sendEvent(b.api.events.JWPLAYER_ERROR,{error:c?c:"could not load playlist for whatever reason.  too bad"})}}})(jwplayer);(function(b){b.html5.skin=function(){var a={};var d=false;this.load=function(c,f){new b.html5.skinloader(c,function(e){d=true;a=e;f()},function(){new b.html5.skinloader("",function(e){d=true;a=e;f()})})};this.getSkinElement=function(g,h){if(d){try{return a[g].elements[h]}catch(c){b.utils.log("No such skin component / element: ",[g,h])}}return null};this.getComponentSettings=function(c){if(d){return a[c].settings}return null};this.getComponentLayout=function(c){if(d){return a[c].layout}return null}}})(jwplayer);(function(b){b.html5.skinloader=function(H,a,y){var C={};var E=a;var z=y;var G=true;var x;var B=H;var v=false;function A(){if(typeof B!="string"||B===""){F(b.html5.defaultSkin().xml)}else{b.utils.ajax(b.utils.getAbsolutePath(B),function(d){try{if(b.utils.exists(d.responseXML)){F(d.responseXML);return}}catch(c){w()}F(b.html5.defaultSkin().xml)},function(c){F(b.html5.defaultSkin().xml)})}}function F(e){var X=e.getElementsByTagName("component");if(X.length===0){return}for(var n=0;n<X.length;n++){var V=X[n].getAttribute("name");var U={settings:{},elements:{},layout:{}};C[V]=U;var c=X[n].getElementsByTagName("elements")[0].getElementsByTagName("element");for(var Y=0;Y<c.length;Y++){D(c[Y],V)}var f=X[n].getElementsByTagName("settings")[0];if(f&&f.childNodes.length>0){var q=f.getElementsByTagName("setting");for(var k=0;k<q.length;k++){var l=q[k].getAttribute("name");var o=q[k].getAttribute("value");var d=/color$/.test(l)?"color":null;C[V].settings[l]=b.utils.typechecker(o,d)}}var r=X[n].getElementsByTagName("layout")[0];if(r&&r.childNodes.length>0){var s=r.getElementsByTagName("group");for(var m=0;m<s.length;m++){var T=s[m];C[V].layout[T.getAttribute("position")]={elements:[]};for(var S=0;S<T.attributes.length;S++){var W=T.attributes[S];C[V].layout[T.getAttribute("position")][W.name]=W.value}var R=T.getElementsByTagName("*");for(var h=0;h<R.length;h++){var j=R[h];C[V].layout[T.getAttribute("position")].elements.push({type:j.tagName});for(var g=0;g<j.attributes.length;g++){var p=j.attributes[g];C[V].layout[T.getAttribute("position")].elements[h][p.name]=p.value}if(!b.utils.exists(C[V].layout[T.getAttribute("position")].elements[h].name)){C[V].layout[T.getAttribute("position")].elements[h].name=j.tagName}}}}G=false;u()}}function u(){clearInterval(x);if(!v){x=setInterval(function(){t()},100)}}function D(d,c){var k=new Image();var g=d.getAttribute("name");var j=d.getAttribute("src");var f;if(j.indexOf("data:image/png;base64,")===0){f=j}else{var h=b.utils.getAbsolutePath(B);var e=h.substr(0,h.lastIndexOf("/"));f=[e,c,j].join("/")}C[c].elements[g]={height:0,width:0,src:"",ready:false,image:k};k.onload=function(l){I(k,g,c)};k.onerror=function(l){v=true;u();z()};k.src=f}function w(){for(var e in C){var g=C[e];for(var d in g.elements){var f=g.elements[d];var c=f.image;c.onload=null;c.onerror=null;delete f.image;delete g.elements[d]}delete C[e]}}function t(){for(var d in C){if(d!="properties"){for(var c in C[d].elements){if(!C[d].elements[c].ready){return}}}}if(G===false){clearInterval(x);E(C)}}function I(c,e,d){if(C[d]&&C[d].elements[e]){C[d].elements[e].height=c.height;C[d].elements[e].width=c.width;C[d].elements[e].src=c.src;C[d].elements[e].ready=true;u()}else{b.utils.log("Loaded an image for a missing element: "+d+"."+e)}}A()}})(jwplayer);(function(b){b.html5.api=function(u,s){var r={};var x=document.createElement("div");u.parentNode.replaceChild(x,u);x.id=u.id;r.version=b.version;r.id=x.id;var q=new b.html5.model(r,x,s);var o=new b.html5.view(r,x,q);var p=new b.html5.controller(r,x,q,o);r.skin=new b.html5.skin();r.jwPlay=function(c){if(typeof c=="undefined"){w()}else{if(c.toString().toLowerCase()=="true"){p.play()}else{p.pause()}}};r.jwPause=function(c){if(typeof c=="undefined"){w()}else{if(c.toString().toLowerCase()=="true"){p.pause()}else{p.play()}}};function w(){if(q.state==b.api.events.state.PLAYING||q.state==b.api.events.state.BUFFERING){p.pause()}else{p.play()}}r.jwStop=p.stop;r.jwSeek=p.seek;r.jwPlaylistItem=p.item;r.jwPlaylistNext=p.next;r.jwPlaylistPrev=p.prev;r.jwResize=p.resize;r.jwLoad=p.load;function a(c){return function(){return q[c]}}function v(d,c,e){return function(){var f=q.plugins.object[d];if(f&&f[c]&&typeof f[c]=="function"){f[c].apply(f,e)}}}r.jwGetItem=a("item");r.jwGetPosition=a("position");r.jwGetDuration=a("duration");r.jwGetBuffer=a("buffer");r.jwGetWidth=a("width");r.jwGetHeight=a("height");r.jwGetFullscreen=a("fullscreen");r.jwSetFullscreen=p.setFullscreen;r.jwGetVolume=a("volume");r.jwSetVolume=p.setVolume;r.jwGetMute=a("mute");r.jwSetMute=p.setMute;r.jwGetStretching=a("stretching");r.jwGetState=a("state");r.jwGetVersion=function(){return r.version};r.jwGetPlaylist=function(){return q.playlist};r.jwGetPlaylistIndex=r.jwGetItem;r.jwAddEventListener=p.addEventListener;r.jwRemoveEventListener=p.removeEventListener;r.jwSendEvent=p.sendEvent;r.jwDockSetButton=function(d,c,f,e){if(q.plugins.object.dock&&q.plugins.object.dock.setButton){q.plugins.object.dock.setButton(d,c,f,e)}};r.jwControlbarShow=v("controlbar","show");r.jwControlbarHide=v("controlbar","hide");r.jwDockShow=v("dock","show");r.jwDockHide=v("dock","hide");r.jwDisplayShow=v("display","show");r.jwDisplayHide=v("display","hide");r.jwGetLevel=function(){};r.jwGetBandwidth=function(){};r.jwGetLockState=function(){};r.jwLock=function(){};r.jwUnlock=function(){};function t(){if(q.config.playlistfile){q.addEventListener(b.api.events.JWPLAYER_PLAYLIST_LOADED,y);q.loadPlaylist(q.config.playlistfile)}else{if(typeof q.config.playlist=="string"){q.addEventListener(b.api.events.JWPLAYER_PLAYLIST_LOADED,y);q.loadPlaylist(q.config.playlist)}else{q.loadPlaylist(q.config);setTimeout(y,25)}}}function y(c){q.removeEventListener(b.api.events.JWPLAYER_PLAYLIST_LOADED,y);q.setupPlugins();o.setup();var c={id:r.id,version:r.version};p.playerReady(c)}if(q.config.chromeless&&!b.utils.isIOS()){t()}else{r.skin.load(q.config.skin,t)}return r}})(jwplayer)};
