bibel/bibel_html/de_new/_assets/js/javascript.min.js

6 lines
180 KiB
JavaScript
Raw Normal View History

function PagePlayer(){var e,t,n=this,i=this,o=soundManager,a=null,r=null,s=document.getElementsByTagName("head")[0],l=null,u=navigator.userAgent,c=u.match(/(opera|firefox)/i),d=u.match(/ipad|ipod|iphone/i);this.config={usePeakData:!1,useWaveformData:!1,useEQData:!1,fillGraph:!1,allowRightClick:!0,useThrottling:!1,autoStart:!1,playNext:!0,updatePageTitle:!0,emptyTime:"-:--",useFavIcon:!1},this.css={sDefault:"sm2_link",sLoading:"sm2_loading",sPlaying:"sm2_playing",sPaused:"sm2_paused"},this.sounds=[],this.soundsByObject=[],this.lastSound=null,this.soundCount=0,this.strings=[],this.dragActive=!1,this.dragExec=new Date,this.dragTimer=null,this.pageTitle=document.title,this.lastWPExec=new Date,this.lastWLExec=new Date,this.vuMeterData=[],this.oControls=null,this._mergeObjects=function(e,t){var n,i,o,a={};for(i in e)e.hasOwnProperty(i)&&(a[i]=e[i]);n="undefined"==typeof t?{}:t;for(o in n)"undefined"==typeof a[o]&&(a[o]=n[o]);return a},e=function(){function e(e){var t=a.call(e),n=t.length;return o?(t[1]="on"+t[1],n>3&&t.pop()):3===n&&t.push(!1),t}function t(e,t){var n=e.shift(),i=[r[t]];o?n[i](e[0],e[1]):n[i].apply(n,e)}function n(){t(e(arguments),"add")}function i(){t(e(arguments),"remove")}var o=window.attachEvent&&!window.addEventListener,a=Array.prototype.slice,r={add:o?"attachEvent":"addEventListener",remove:o?"detachEvent":"removeEventListener"};return{add:n,remove:i}}(),this.hasClass=function(e,t){return"undefined"!=typeof e.className?new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className):!1},this.addClass=function(e,t){return e&&t&&!n.hasClass(e,t)?void(e.className=(e.className?e.className+" ":"")+t):!1},this.removeClass=function(e,t){return e&&t&&n.hasClass(e,t)?void(e.className=e.className.replace(new RegExp("( "+t+")|("+t+")","g"),"")):!1},this.select=function(e,t){var i=n.getByClassName(e,"div",t||null);return i?i[0]:null},this.getByClassName=document.querySelectorAll?function(e,t,n){var i,o="."+e;return t&&(t=t.split(" ")),i=t.length>1?t.join(o+", "):t[0]+o,(n?n:document).querySelectorAll(i)}:function(e,t,i){var o,a,r=i?i:document,s=[],l=[];if(t&&(t=t.split(" ")),t instanceof Array){for(o=t.length;o--;)l&&l[t[o]]||(l[t[o]]=r.getElementsByTagName(t[o]));for(o=t.length;o--;)for(a=l[t[o]].length;a--;)n.hasClass(l[t[o]][a],e)&&s.push(l[t[o]][a])}else for(l=r.all||r.getElementsByTagName("*"),o=0,a=l.length;a>o;o++)n.hasClass(l[o],e)&&s.push(l[o]);return s},this.isChildOfClass=function(e,t){if(!e||!t)return!1;for(;e.parentNode&&!n.hasClass(e,t);)e=e.parentNode;return n.hasClass(e,t)},this.getParentByNodeName=function(e,t){if(!e||!t)return!1;for(t=t.toLowerCase();e.parentNode&&t!==e.parentNode.nodeName.toLowerCase();)e=e.parentNode;return e.parentNode&&t===e.parentNode.nodeName.toLowerCase()?e.parentNode:null},this.getOffX=function(e){var t=0;if(e.offsetParent)for(;e.offsetParent;)t+=e.offsetLeft,e=e.offsetParent;else e.x&&(t+=e.x);return t},this.getTime=function(e,t){var n=Math.floor(e/1e3),i=Math.floor(n/60),o=n-60*i;return t?i+":"+(10>o?"0"+o:o):{min:i,sec:o}},this.getSoundByObject=function(e){return"undefined"!=typeof n.soundsByObject[e.id]?n.soundsByObject[e.id]:null},this.getPreviousItem=function(e){if(e.previousElementSibling)e=e.previousElementSibling;else for(e=e.previousSibling;e&&e.previousSibling&&1!==e.previousSibling.nodeType;)e=e.previousSibling;return"li"!==e.nodeName.toLowerCase()?null:e.getElementsByTagName("a")[0]},this.playPrevious=function(e){if(e||(e=n.lastSound),!e)return!1;var t=n.getPreviousItem(e._data.oLI);return t&&i.handleClick({target:t}),t},this.getNextItem=function(e){if(e.nextElementSibling)e=e.nextElementSibling;else for(e=e.nextSibling;e&&e.nextSibling&&1!==e.nextSibling.nodeType;)e=e.nextSibling;return"li"!==e.nodeName.toLowerCase()?null:e.getElementsByTagName("a")[0]},this.playNext=function(e){if(e||(e=n.lastSound),!e)return!1;var t=n.getNextItem(e._data.oLI);return t&&i.handleClick({target:t}),t},this.setPageTitle=function(e){if(!n.config.updatePageTitle)return!1;try{document.title=(e?e+" - ":"")+n.pageTitle}catch(t){n.setPageTitle=function(){return!1}}},this.events={play:function(){i.r
n=null)),n)for(;d>c;c++)n(e[c],i,l?o.call(e[c],c,n(e[c],i)):o,s);a=1}return a?e:u?n.call(e):d?n(e[0],i):r},now:function(){return(new Date).getTime()}}),K.ready.promise=function(t){if(!R)if(R=K.Deferred(),"complete"===W.readyState||"loading"!==W.readyState&&W.addEventListener)setTimeout(K.ready,1);else if(W.addEventListener)W.addEventListener("DOMContentLoaded",fe,!1),e.addEventListener("load",K.ready,!1);else{W.attachEvent("onreadystatechange",fe),e.attachEvent("onload",K.ready);var n=!1;try{n=null==e.frameElement&&W.documentElement}catch(i){}n&&n.doScroll&&function o(){if(!K.isReady){try{n.doScroll("left")}catch(e){return setTimeout(o,50)}K.ready()}}()}return R.promise(t)},K.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){pe["[object "+t+"]"]=t.toLowerCase()}),B=K(W);var he={};K.Callbacks=function(e){e="string"==typeof e?he[e]||n(e):K.extend({},e);var i,o,a,r,s,l,u=[],c=!e.once&&[],d=function(t){for(i=e.memory&&t,o=!0,l=r||0,r=0,s=u.length,a=!0;u&&s>l;l++)if(u[l].apply(t[0],t[1])===!1&&e.stopOnFalse){i=!1;break}a=!1,u&&(c?c.length&&d(c.shift()):i?u=[]:f.disable())},f={add:function(){if(u){var t=u.length;!function n(t){K.each(t,function(t,i){!K.isFunction(i)||e.unique&&f.has(i)?i&&i.length&&n(i):u.push(i)})}(arguments),a?s=u.length:i&&(r=t,d(i))}return this},remove:function(){return u&&K.each(arguments,function(e,t){for(var n;(n=K.inArray(t,u,n))>-1;)u.splice(n,1),a&&(s>=n&&s--,l>=n&&l--)}),this},has:function(e){return K.inArray(e,u)>-1},empty:function(){return u=[],this},disable:function(){return u=c=i=t,this},disabled:function(){return!u},lock:function(){return c=t,i||f.disable(),this},locked:function(){return!c},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],u&&(!o||c)&&(a?c.push(t):d(t)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},K.extend({Deferred:function(e){var t=[["resolve","done",K.Callbacks("once memory"),"resolved"],["reject","fail",K.Callbacks("once memory"),"rejected"],["notify","progress",K.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var e=arguments;return K.Deferred(function(n){K.each(t,function(t,i){var a=i[0],r=e[t];o[i[1]](K.isFunction(r)?function(){var e=r.apply(this,arguments);e&&K.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===o?n:this,[e])}:n[a])}),e=null}).promise()},promise:function(e){return"object"==typeof e?K.extend(e,i):i}},o={};return i.pipe=i.then,K.each(t,function(e,a){var r=a[2],s=a[3];i[a[1]]=r.add,s&&r.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),o[a[0]]=r.fire,o[a[0]+"With"]=r.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t,n,i,o=0,a=X.call(arguments),r=a.length,s=1!==r||e&&K.isFunction(e.promise)?r:0,l=1===s?e:K.Deferred(),u=function(e,n,i){return function(o){n[e]=this,i[e]=arguments.length>1?X.call(arguments):o,i===t?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(r>1)for(t=new Array(r),n=new Array(r),i=new Array(r);r>o;o++)a[o]&&K.isFunction(a[o].promise)?a[o].promise().done(u(o,i,a)).fail(l.reject).progress(u(o,n,t)):--s;return s||l.resolveWith(i,a),l.promise()}}),K.support=function(){var t,n,i,o,a,r,s,l,u,c,d,f=W.createElement("div");if(f.setAttribute("className","t"),f.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=f.getElementsByTagName("*"),i=f.getElementsByTagName("a")[0],i.style.cssText="top:1px;float:left;opacity:.5",!n||!n.length||!i)return{};o=W.createElement("select"),a=o.appendChild(W.createElement("option")),r=f.getElementsByTagName("input")[0],t={leadingWhitespace:3===f.firstChild.nodeType,tbody:!f.getElementsByTagName("tbody").length,htmlSerialize:!!f.getElementsByTagName("link").length,style:/top/.test(i.getAttribute("style")),hrefNormalized:"/a"===i.getAttribute("href"),opacity:/^0.5/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,checkOn:"on"===r.value,optSelected:a.selected,getSetAttribute:"t"!==f.className,enctype:!!W.createElement("form
ID:new RegExp("^#("+C+")"),CLASS:new RegExp("^\\.("+C+")"),NAME:new RegExp("^\\[name=['\"]?("+C+")['\"]?\\]"),TAG:new RegExp("^("+C.replace("[-","[-\\*")+")"),ATTR:new RegExp("^"+k),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|nth|last|first)-child(?:\\("+D+"*(even|odd|(([+-]|)(\\d*)n|)"+D+"*(?:([+-]|)"+D+"*(\\d+)|))"+D+"*\\)|)","i"),POS:new RegExp(E,"ig"),needsContext:new RegExp("^"+D+"*[>+~]|"+E,"i")},z={},V=[],X={},Q=[],G=function(e){return e.sizzleFilter=!0,e},Y=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}},J=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}},Z=function(e){var t=!1,n=m.createElement("div");try{t=e(n)}catch(i){}return n=null,t},ee=Z(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),te=Z(function(e){e.id=T+0,e.innerHTML="<a name='"+T+"'></a><div name='"+T+"'></div>",g.insertBefore(e,g.firstChild);var t=m.getElementsByName&&m.getElementsByName(T).length===2+m.getElementsByName(T+0).length;return h=!m.getElementById(T),g.removeChild(e),t}),ne=Z(function(e){return e.appendChild(m.createComment("")),0===e.getElementsByTagName("*").length}),ie=Z(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==y&&"#"===e.firstChild.getAttribute("href")}),oe=Z(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",e.getElementsByClassName&&0!==e.getElementsByClassName("e").length?(e.lastChild.className="e",1!==e.getElementsByClassName("e").length):!1}),ae=function(e,t,n,i){n=n||[],t=t||m;var o,a,r,s,l=t.nodeType;if(1!==l&&9!==l)return[];if(!e||"string"!=typeof e)return n;if(r=le(t),!r&&!i&&(o=j.exec(e)))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&ue(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return x.apply(n,_.call(t.getElementsByTagName(e),0)),n;if((s=o[3])&&oe&&t.getElementsByClassName)return x.apply(n,_.call(t.getElementsByClassName(s),0)),n}return fe(e,t,n,i,r)},re=ae.selectors={cacheLength:50,match:$,order:["ID","TAG"],attrHandle:{},createPseudo:G,find:{ID:h?function(e,t,n){if(typeof t.getElementById!==y&&!n){var i=t.getElementById(e);return i&&i.parentNode?[i]:[]}}:function(e,n,i){if(typeof n.getElementById!==y&&!i){var o=n.getElementById(e);return o?o.id===e||typeof o.getAttributeNode!==y&&o.getAttributeNode("id").value===e?[o]:t:[]}},TAG:ne?function(e,t){return typeof t.getElementsByTagName!==y?t.getElementsByTagName(e):void 0}:function(e,t){var n=t.getElementsByTagName(e);if("*"===e){for(var i,o=[],a=0;i=n[a];a++)1===i.nodeType&&o.push(i);return o}return n}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(U,""),e[3]=(e[4]||e[5]||"").replace(U,""),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1]?(e[2]||ae.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*("even"===e[2]||"odd"===e[2])),e[4]=+(e[6]+e[7]||"odd"===e[2])):e[2]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=e[4];return $.CHILD.test(e[0])?null:(n&&(t=H.exec(n))&&t.pop()&&(e[0]=e[0].slice(0,t[0].length-n.length-1),n=t[0].slice(0,-1)),e.splice(2,3,n||e[3]),e)}},filter:{ID:h?function(e){return e=e.replace(U,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace(U,""),function(t){var n=typeof t.getAttributeNode!==y&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(U,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=z[e];return t||(t=z[e]=new RegExp("(^|"+D+")"+e+"("+D+"|$)"),V.push(e),V.length>re.cacheLength&&delete z[V.shift()]),function(e){return t.test(e.className||typeof e.getAttribute!==y&&e.getAttribute("class")||"")}},ATTR:function(e,t,n){r
readyState:0,setRequestHeader:function(e,t){if(!w){var n=e.toLowerCase();e=b[n]=b[n]||e,v[e]=t}return this},getAllResponseHeaders:function(){return 2===w?a:null},getResponseHeader:function(e){var n;if(2===w){if(!r)for(r={};n=St.exec(a);)r[n[1].toLowerCase()]=n[2];n=r[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return w||(f.mimeType=e),this},abort:function(e){return e=e||_,s&&s.abort(e),i(0,e),this}};if(m.promise(x),x.success=x.done,x.error=x.fail,x.complete=g.add,x.statusCode=function(e){if(e){var t;if(2>w)for(t in e)y[t]=[y[t],e[t]];else t=e[x.status],x.always(t)}return this},f.url=((e||f.url)+"").replace(Ct,"").replace(Mt,Dt[1]+"//"),f.dataTypes=K.trim(f.dataType||"*").toLowerCase().split(te),null==f.crossDomain&&(u=Pt.exec(f.url.toLowerCase()),f.crossDomain=!(!u||u[1]==Dt[1]&&u[2]==Dt[2]&&(u[3]||("http:"===u[1]?80:443))==(Dt[3]||("http:"===Dt[1]?80:443)))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=K.param(f.data,f.traditional)),C(Ft,f,n,x),2===w)return x;if(c=f.global,f.type=f.type.toUpperCase(),f.hasContent=!kt.test(f.type),c&&0===K.active++&&K.event.trigger("ajaxStart"),!f.hasContent&&(f.data&&(f.url+=(Et.test(f.url)?"&":"?")+f.data,delete f.data),o=f.url,f.cache===!1)){var T=K.now(),D=f.url.replace(Nt,"$1_="+T);f.url=D+(D===f.url?(Et.test(f.url)?"&":"?")+"_="+T:"")}(f.data&&f.hasContent&&f.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",f.contentType),f.ifModified&&(o=o||f.url,K.lastModified[o]&&x.setRequestHeader("If-Modified-Since",K.lastModified[o]),K.etag[o]&&x.setRequestHeader("If-None-Match",K.etag[o])),x.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+It+"; q=0.01":""):f.accepts["*"]);for(d in f.headers)x.setRequestHeader(d,f.headers[d]);if(!f.beforeSend||f.beforeSend.call(p,x,f)!==!1&&2!==w){_="abort";for(d in{success:1,error:1,complete:1})x[d](f[d]);if(s=C(Ht,f,n,x)){x.readyState=1,c&&h.trigger("ajaxSend",[x,f]),f.async&&f.timeout>0&&(l=setTimeout(function(){x.abort("timeout")},f.timeout));try{w=1,s.send(v,i)}catch(S){if(!(2>w))throw S;i(-1,S)}}else i(-1,"No Transport");return x}return x.abort()},active:0,lastModified:{},etag:{}});var Bt=[],Rt=/\?/,Wt=/(=)\?(?=&|$)|\?\?/,qt=K.now();K.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Bt.pop()||K.expando+"_"+qt++;return this[e]=!0,e}}),K.ajaxPrefilter("json jsonp",function(n,i,o){var a,r,s,l=n.data,u=n.url,c=n.jsonp!==!1,d=c&&Wt.test(u),f=c&&!d&&"string"==typeof l&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Wt.test(l);return"jsonp"===n.dataTypes[0]||d||f?(a=n.jsonpCallback=K.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,r=e[a],d?n.url=u.replace(Wt,"$1"+a):f?n.data=l.replace(Wt,"$1"+a):c&&(n.url+=(Rt.test(u)?"&":"?")+n.jsonp+"="+a),n.converters["script json"]=function(){return s||K.error(a+" was not called"),s[0]},n.dataTypes[0]="json",e[a]=function(){s=arguments},o.always(function(){e[a]=r,n[a]&&(n.jsonpCallback=i.jsonpCallback,Bt.push(a)),s&&K.isFunction(r)&&r(s[0]),s=r=t}),"script"):void 0}),K.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return K.globalEval(e),e}}}),K.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),K.ajaxTransport("script",function(e){if(e.crossDomain){var n,i=W.head||W.getElementsByTagName("head")[0]||W.documentElement;return{send:function(o,a){n=W.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,o){(o||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,i&&n.parentNode&&i.removeChild(n),n=t,o||a(200,"success"))},i.insertBefore(n,i.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Ut,$t=e.ActiveXObject?function(){for(var e in Ut)Ut[e](0,1)}:!1,zt=0;K.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&M()||E()}
g.setPan(g._iO.pan,!0),g.isHTML5?g.instanceCount<2?(r(),a=g._setup_html5(),g.setPosition(g._iO.position),a.play()):(ge._wD(g.id+": Cloning Audio() for instance #"+g.instanceCount+"..."),c=new Audio(g._iO.url),f=function(){re.remove(c,"ended",f),g._onfinish(g),ie(c),c=null},p=function(){re.remove(c,"canplay",p);try{c.currentTime=g._iO.position/Ve}catch(e){V(g.id+": multiShot play() failed to apply position of "+g._iO.position/Ve)}c.play()},re.add(c,"ended",f),g._iO.volume!==t&&(c.volume=Math.max(0,Math.min(1,g._iO.volume/100))),g.muted&&(c.muted=!0),g._iO.position?re.add(c,"canplay",p):c.play()):(v=ve._start(g.id,g._iO.loops||1,9===d?g.position:g.position/Ve,g._iO.multiShot||!1),9!==d||v||(ge._wD(i+"No sound hardware, or 32-sound ceiling hit",2),g._iO.onplayerror&&g._iO.onplayerror.apply(g)))}return g},this.start=this.play,this.stop=function(e){var t,n=g._iO;return 1===g.playState&&(ge._wD(g.id+": stop()"),g._onbufferchange(0),g._resetOnPosition(0),g.paused=!1,g.isHTML5||(g.playState=0),l(),n.to&&g.clearOnPosition(n.to),g.isHTML5?g._a&&(t=g.position,g.setPosition(0),g.position=t,g._a.pause(),g.playState=0,g._onTimer(),a()):(ve._stop(g.id,e),n.serverURL&&g.unload()),g.instanceCount=0,g._iO={},n.onstop&&n.onstop.apply(g)),g},this.setAutoPlay=function(e){ge._wD(g.id+": Autoplay turned "+(e?"on":"off")),g._iO.autoPlay=e,g.isHTML5||(ve._setAutoPlay(g.id,e),e&&(g.instanceCount||1!==g.readyState||(g.instanceCount++,ge._wD(g.id+": Incremented instance count to "+g.instanceCount))))},this.getAutoPlay=function(){return g._iO.autoPlay},this.setPosition=function(e){e===t&&(e=0);var n,i,o=g.isHTML5?Math.max(e,0):Math.min(g.duration||g._iO.duration,Math.max(e,0));if(g.position=o,i=g.position/Ve,g._resetOnPosition(g.position),g._iO.position=o,g.isHTML5){if(g._a){if(g._html5_canplay){if(g._a.currentTime!==i){ge._wD(g.id+": setPosition("+i+")");try{g._a.currentTime=i,(0===g.playState||g.paused)&&g._a.pause()}catch(a){ge._wD(g.id+": setPosition("+i+") failed: "+a.message,2)}}}else if(i)return ge._wD(g.id+": setPosition("+i+"): Cannot seek yet, sound not ready",2),g;g.paused&&g._onTimer(!0)}}else n=9===d?g.position:i,g.readyState&&2!==g.readyState&&ve._setPosition(g.id,n,g.paused||!g.playState,g._iO.multiShot);return g},this.pause=function(e){return g.paused||0===g.playState&&1!==g.readyState?g:(ge._wD(g.id+": pause()"),g.paused=!0,g.isHTML5?(g._setup_html5().pause(),a()):(e||e===t)&&ve._pause(g.id,g._iO.multiShot),g._iO.onpause&&g._iO.onpause.apply(g),g)},this.resume=function(){var e=g._iO;return g.paused?(ge._wD(g.id+": resume()"),g.paused=!1,g.playState=1,g.isHTML5?(g._setup_html5().play(),r()):(e.isMovieStar&&!e.serverURL&&g.setPosition(g.position),ve._pause(g.id,e.multiShot)),!y&&e.onplay?(e.onplay.apply(g),y=!0):e.onresume&&e.onresume.apply(g),g):g},this.togglePause=function(){return ge._wD(g.id+": togglePause()"),0===g.playState?(g.play({position:9!==d||g.isHTML5?g.position/Ve:g.position}),g):(g.paused?g.resume():g.pause(),g)},this.setPan=function(e,n){return e===t&&(e=0),n===t&&(n=!1),g.isHTML5||ve._setPan(g.id,e),g._iO.pan=e,n||(g.pan=e,g.options.pan=e),g},this.setVolume=function(e,n){return e===t&&(e=100),n===t&&(n=!1),g.isHTML5?g._a&&(ge.muted&&!g.muted&&(g.muted=!0,g._a.muted=!0),g._a.volume=Math.max(0,Math.min(1,e/100))):ve._setVolume(g.id,ge.muted&&!g.muted||g.muted?0:e),g._iO.volume=e,n||(g.volume=e,g.options.volume=e),g},this.mute=function(){return g.muted=!0,g.isHTML5?g._a&&(g._a.muted=!0):ve._setVolume(g.id,0),g},this.unmute=function(){g.muted=!1;var e=g._iO.volume!==t;return g.isHTML5?g._a&&(g._a.muted=!1):ve._setVolume(g.id,e?g._iO.volume:g.options.volume),g},this.toggleMute=function(){return g.muted?g.unmute():g.mute()},this.onPosition=function(e,n,i){return v.push({position:parseInt(e,10),method:n,scope:i!==t?i:g,fired:!1}),g},this.onposition=this.onPosition,this.clearOnPosition=function(e,t){var n;if(e=parseInt(e,10),isNaN(e))return!1;for(n=0;n<v.length;n++)e===v[n].position&&(t&&t!==v[n].method||(v[n].fired&&b--,v.splice(n,1)))},this._processOnPosition=function(){var e,t,n=v.length;if(!n||!g.playState||b>=n)return!1
ge._wD("SoundManager 2 HTML5 support: "+t.join(", "),1)}},h=function(t){if(Me)return!1;if(ge.html5Only)return p("sm2Loaded",1),Me=!0,w(),f("onload",!0),!0;var n,i=ge.useFlashBlock&&ge.flashLoadTimeout&&!ge.getMoviePercent(),o=!0;return i||(Me=!0),n={type:!le&&qe?"NO_FLASH":"INIT_TIMEOUT"},ge._wD("SoundManager 2 "+(Ee?"failed to load":"loaded")+" ("+(Ee?"Flash security/load error":"OK")+") "+String.fromCharCode(Ee?10006:10003),Ee?2:1),Ee||t?(ge.useFlashBlock&&ge.oMC&&(ge.oMC.className=W()+" "+(null===ge.getMoviePercent()?q.swfTimedout:q.swfError)),b({type:"ontimeout",error:n,ignoreInit:!0}),f("onload",!1),P(n),o=!1):f("onload",!0),Ee||(ge.waitForWindowLoad&&!Le?(p("waitOnload"),re.add(e,"load",w)):(ge.waitForWindowLoad&&Le&&p("docLoaded"),w())),o},u=function(){var e,n=ge.setupOptions;for(e in n)n.hasOwnProperty(e)&&(ge[e]===t?ge[e]=n[e]:ge[e]!==n[e]&&(ge.setupOptions[e]=ge[e]))},c=function(){function t(){re.remove(e,"load",ge.beginDelayedInit)}if(Me)return p("didInit"),!1;if(ge.html5Only)return Me||(t(),ge.enabled=!0,h()),!0;O();try{ve._externalInterfaceTest(!1),A(!0,ge.flashPollingInterval||(ge.useHighPerformance?10:50)),ge.debugMode||ve._disableDebug(),ge.enabled=!0,f("jstoflash",!0),ge.html5Only||re.add(e,"unload",l)}catch(n){return ge._wD("js/flash exception: "+n.toString()),f("jstoflash",!1),P({type:"JS_TO_FLASH_EXCEPTION",fatal:!0}),I(!0),h(),!1}return h(),t(),!0},k=function(){return E?!1:(E=!0,u(),F(),!le&&ge.hasHTML5&&(ge._wD("SoundManager 2: No Flash detected"+(ge.useHTML5Audio?". Trying HTML5-only mode.":", enabling HTML5."),1),ge.setup({useHTML5Audio:!0,preferFlash:!1})),ae(),!le&&qe&&(We.push(S.needFlash),ge.setup({flashLoadTimeout:1})),De.removeEventListener&&De.removeEventListener("DOMContentLoaded",k,!1),O(),!0)},oe=function(){return"complete"===De.readyState&&(k(),De.detachEvent("onreadystatechange",oe)),!0},M=function(){Le=!0,k(),re.remove(e,"load",M)},ue(),re.add(e,"focus",C),re.add(e,"load",_),re.add(e,"load",M),De.addEventListener?De.addEventListener("DOMContentLoaded",k,!1):De.attachEvent?De.attachEvent("onreadystatechange",oe):(f("onload",!1),P({type:"NO_DOM2_EVENTS",fatal:!0}))}if(!e||!e.document)throw new Error("SoundManager requires a browser with window and document objects.");var i=null;e.SM2_DEFER!==t&&SM2_DEFER||(i=new n),"object"==typeof module&&module&&"object"==typeof module.exports?(module.exports.SoundManager=n,module.exports.soundManager=i):"function"==typeof define&&define.amd&&define(function(){function t(t){if(!e.soundManager&&t instanceof Function){var i=t(n);i instanceof n&&(e.soundManager=i)}return e.soundManager}return{constructor:n,getInstance:t}}),e.SoundManager=n,e.soundManager=i}(window);var pagePlayer=null;soundManager.useFlashBlock=!0,soundManager.onready(function(){pagePlayer=new PagePlayer,pagePlayer.init("undefined"!=typeof PP_CONFIG?PP_CONFIG:null)}),$("tr").click(function(){window.location.href=$(this).find("a").attr("href")}),$(document).ready(function(){var e=new Array(".textOptions");e=e.join(",");var t=$(e).css("font-size");$(".resetFont").click(function(){$(e).css("font-size",t)}),$(".increaseFont").click(function(){var t=$(e).css("font-size"),n=parseFloat(t,10),i=1.1*n;return $(e).css("font-size",i),!1}),$(".decreaseFont").click(function(){var t=$(e).css("font-size"),n=parseFloat(t,10),i=.9*n;return $(e).css("font-size",i),!1})}),function(e){var t="openerActiveClass",n="click touchend",i="left",o="doCollapseAll",a="position",r="trigger",s="disableSelection_dropotron",l="addClass",u="doCollapse",c=!1,d="outerWidth",f="removeClass",p="preventDefault",h="length",m="dropotron",g="clearTimeout",y="right",v="parent",b=!0,w="speed",_="none",x="stopPropagation",T="doExpand",D=":visible",C="absolute",S="css",O="center",k="toggle",M="baseZIndex",E="offsetX",L="alignment",N="submenuClassPrefix",P="children",A="hover",F="relative",H="doToggle",I="ul",j="z-index",B="opacity",R="find",W="opener",q="px",U=null,$="hide",z="offset",V="detach",X="fast";e.fn[s]=function(){return e(this)[S]("user-select",_)[S]("-khtml-user-select",_)[S]("-moz-user-select",_)[S]("-o-user-select",_)[S