;window.Modernizr=function(a,b,c){function w(a,b){return!!~(""+a).indexOf(b)}function v(a,b){return typeof a===b}function u(a,b){return t(prefixes.join(a+";")+(b||""))}function t(a){j.cssText=a}var d="2.0.6",e={},f=b.documentElement,g=b.head||b.getElementsByTagName("head")[0],h="modernizr",i=b.createElement(h),j=i.style,k,l=Object.prototype.toString,m={},n={},o={},p=[],q,r={}.hasOwnProperty,s;!v(r,c)&&!v(r.call,c)?s=function(a,b){return r.call(a,b)}:s=function(a,b){return b in a&&v(a.constructor.prototype[b],c)},m.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},m.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"'),c.mp3=a.canPlayType("audio/mpeg;"),c.wav=a.canPlayType('audio/wav; codecs="1"'),c.m4a=a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")}catch(d){}return c};for(var x in m)s(m,x)&&(q=x.toLowerCase(),e[q]=m[x](),p.push((e[q]?"":"no-")+q));t(""),i=k=null,e._version=d;return e}(this,this.document); var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y0){for(var af=0;af0){var ae=c(Y);if(ae){if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){w(Y,true);if(ab){aa.success=true;aa.ref=z(Y);ab(aa)}}else{if(o[af].expressInstall&&A()){var ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribute("height")||"0";if(ae.getAttribute("class")){ai.styleclass=ae.getAttribute("class")}if(ae.getAttribute("align")){ai.align=ae.getAttribute("align")}var ah={};var X=ae.getElementsByTagName("param");var ac=X.length;for(var ad=0;ad'}}aa.outerHTML='"+af+"";N[N.length]=ai.id;X=c(ai.id)}else{var Z=C(r);Z.setAttribute("type",q);for(var ac in ai){if(ai[ac]!=Object.prototype[ac]){if(ac.toLowerCase()=="styleclass"){Z.setAttribute("class",ai[ac])}else{if(ac.toLowerCase()!="classid"){Z.setAttribute(ac,ai[ac])}}}}for(var ab in ag){if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){e(Z,ab,ag[ab])}}aa.parentNode.replaceChild(Z,aa);X=Z}}return X}function e(Z,X,Y){var aa=C("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function y(Y){var X=c(Y);if(X&&X.nodeName=="OBJECT"){if(M.ie&&M.win){X.style.display="none";(function(){if(X.readyState==4){b(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function b(Z){var Y=c(Z);if(Y){for(var X in Y){if(typeof Y[X]=="function"){Y[X]=null}}Y.parentNode.removeChild(Y)}}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function i(Z,X,Y){Z.attachEvent(X,Y);I[I.length]=[Z,X,Y]}function F(Z){var Y=M.pv,X=Z.split(".");X[0]=parseInt(X[0],10);X[1]=parseInt(X[1],10)||0;X[2]=parseInt(X[2],10)||0;return(Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false}function v(ac,Y,ad,ab){if(M.ie&&M.mac){return}var aa=j.getElementsByTagName("head")[0];if(!aa){return}var X=(ad&&typeof ad=="string")?ad:"screen";if(ab){n=null;G=null}if(!n||G!=X){var Z=C("style");Z.setAttribute("type","text/css");Z.setAttribute("media",X);n=aa.appendChild(Z);if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){n=j.styleSheets[j.styleSheets.length-1]}G=X}if(M.ie&&M.win){if(n&&typeof n.addRule==r){n.addRule(ac,Y)}}else{if(n&&typeof j.createTextNode!=D){n.appendChild(j.createTextNode(ac+" {"+Y+"}"))}}}function w(Z,X){if(!m){return}var Y=X?"visible":"hidden";if(J&&c(Z)){c(Z).style.visibility=Y}else{v("#"+Z,"visibility:"+Y)}}function L(Y){var Z=/[\\\"<>\.;]/;var X=Z.exec(Y)!=null;return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}var d=function(){if(M.ie&&M.win){window.attachEvent("onunload",function(){var ac=I.length;for(var ab=0;ab");e.JQUERY(b).css("position","absolute");e.JQUERY(b).css("left","0px");e.JQUERY(b).css("top","0px");var c=e.PATH+"CrbUI/audio/button/swf/CrbUI_AP_Overlay.swf";e.JQUERY(b).html('<\!--[if !IE]>--\><\!--

Adobe Flash Player Is Required

<\!--[if !IE]>--\>
<\!--
');e.JQUERY(document.body).append(b);swfobject.registerObject("CrbUI_AP_Overlay","9.0.115",e.PATH+"https://www.keithkenny.com/player/CrbUI/audio/button/swf/expressInstall.swf");this.p=swfobject.getObjectById("CrbUI_AP_Overlay")}};f.prototype.render=function(b){e.JQUERY(".CrbUI_AudioButton",b).each(function(b,d){new h(e.JQUERY(d).get())})};function g(b){var c=e.JQUERY("
");e.JQUERY(c).css("position","absolute");e.JQUERY(c).css("left","0px");e.JQUERY(c).css("top","0px");var d=e.PATH+"https://www.keithkenny.com/player/CrbUI/audio/button/swf/CrbUI_AP.swf";e.JQUERY(c).html('<\!--[if !IE]>--\><\!--

Adobe Flash Player Is Required

<\!--[if !IE]>--\>
<\!--
');e.JQUERY(document.body).append(c);swfobject.registerObject("CrbUI_AP_Flash","9.0.115",e.PATH+"https://www.keithkenny.com/player/CrbUI/audio/button/swf/expressInstall.swf");b.e=swfobject.getObjectById("CrbUI_AP_Flash")}f.prototype.swfReady=function(){this.b&&i(this)};f.prototype.play=function(b){if(this.b==b)if(this.c)this.a.play();else try{this.e._resume()}catch(c){console.log("CrbUI_AudioButton error resumeFlash")}else{this.stop();this.b=b;if(this.i){this.c=!0;this.a=new Audio;e.JQUERY(this.a).attr("preload","auto");b=e.JQUERY(this.b.element).attr("id");-1==b.search(".mp3")&&(b+=".mp3");var d=e.JQUERY(this.b.element).attr("id");-1==d.search(".ogg")&&(d+=".ogg");this.a.src=Modernizr.audio.mp3?b:d;e.JQUERY(this.a).bind("error",e.JQUERY.proxy(this.l,this));e.JQUERY(document.body).append(this.a);e.JQUERY(this.a).bind("ended",e.JQUERY.proxy(this.onEnded,this));e.JQUERY(this.a).bind("timeupdate",e.JQUERY.proxy(this.onPosition,this));this.g&&e.JQUERY(this.a).bind("play",e.JQUERY.proxy(this.n,this));this.a.play()}else i(this);this.d&&(b=this.b.canvas.getContext("2d"),b.translate(0.5*this.b.size,0.5*this.b.size),b.rotate(-90*(Math.PI/180)))}j(this.b,!0)};f.prototype.l=function(){this.c=a;e.JQUERY(this.a).unbind();e.JQUERY(this.a).remove();this.e?i(this):g(this)};f.prototype.n=function(){k(this)};function k(b){b.h=setTimeout(e.JQUERY.proxy(b.o,b),500*Math.random()+b.k)}f.prototype.o=function(){if(Modernizr.audio.mp3){var b=new Audio;e.JQUERY(b).attr("src",this.g);b.play()}else this.p._play(this.g);k(this)};function i(b){b.c=a;var c=e.JQUERY(b.b.element).attr("id");-1==c.search(".mp3")&&(c+=".mp3");b.e._play(c)}f.prototype.stop=function(b){this.h&&clearTimeout(this.h);this.b&&(this.b==b?(this.c?this.a.pause():this.e._pause(),j(this.b,a)):this.reset())};f.prototype.reset=function(){this.c?l(this):this.e._stop();m(this)};function l(b){e.JQUERY(b.a).unbind();b.a.pause();b.a.src="";e.JQUERY(b.a).remove();b.a=null}function m(b){j(b.b,a);if(b.d){var c=b.b.canvas.getContext("2d");c.setTransform(1,0,0,1,0,0);c.clearRect(0,0,b.b.canvas.width,b.b.canvas.height)}b.b=null}f.prototype.onEnded=function(){this.h&&clearTimeout(this.h);this.c?l(this):this.e._stop();n(this.b,1);m(this)};f.prototype.onPosition=function(b){this.c?this.a.duration&&this.a.currentTime&&n(this.b,this.a.currentTime/this.a.duration):n(this.b,b)};function h(b){b?(this.element=b,e.JQUERY(this.element).css("position","relative")):this.element=e.JQUERY('
');this.size=void 0!==e.JQUERY(this.element).attr("width")?e.JQUERY(this.element).attr("width"):e.SIZE;this.lineWidth=0.5*this.size-0.5*e.LINE_WIDTH-1;e.JQUERY(this.element).css("width",this.size);e.JQUERY(this.element).css("height",this.size);if(this.d=Modernizr.canvas)this.canvas=document.createElement("canvas"),this.canvas.setAttribute("width",this.size),this.canvas.setAttribute("height",this.size),e.JQUERY(this.canvas).css("position","absolute"),e.JQUERY(this.canvas).css("top","0px"),e.JQUERY(this.canvas).css("left","0px");this.f=e.JQUERY('');this.j=2*Math.PI;e.JQUERY(this.f).click(e.JQUERY.proxy(this.m,this));this.d&&e.JQUERY(this.element).append(this.canvas);e.JQUERY(this.element).append(this.f)}function n(b,c){if(b.d){var d=b.canvas.getContext("2d");d.clearRect(0,0,b.canvas.width,b.canvas.height);d.beginPath();d.arc(0,0,b.lineWidth,0,c*b.j,a);d.strokeStyle=e.COLOR;d.lineWidth=e.LINE_WIDTH;d.stroke()}}function j(b,c){c?e.JQUERY(b.f).attr("src",e.PATH+"https://www.keithkenny.com/player/CrbUI/audio/button/img/Pause.png"):e.JQUERY(b.f).attr("src",e.PATH+"https://www.keithkenny.com/player/CrbUI/audio/button/img/Play.png")}h.prototype.m=function(){e.JQUERY(this.f).attr("src")==e.PATH+"https://www.keithkenny.com/player/CrbUI/audio/button/img/Play.png"?CrbUI_AP.play(this):CrbUI_AP.stop(this)}})();