function deCod(linkStr) { var str=linkStr; return str;
} function volDn() { var curVol =jwplayer('radio').getVolume(); if (curVol > 5) {jwplayer('radio').setVolume(curVol-5)}; } function volUp() { var curVol =jwplayer('radio').getVolume(); if (curVol <96) {jwplayer('radio').setVolume(curVol+5)}; } function ahed() { var theEnd =jwplayer('radio').getDuration(); var curPos =jwplayer('radio').getPosition(); if ((theEnd - curPos) >15) {jwplayer('radio').seek(curPos+15)}; }
function bkup() { var curPos =jwplayer('radio').getPosition(); if (curPos >15) {jwplayer('radio').seek(curPos-15)}; }
function nuStyle (myStyle) { var theStyle = myStyle ; var curStyle =document.getElementById("radio"); var nuScript=curStyle.getElementsByTagName("script");
switch(theStyle) { case 'easy': { document.getElementById("mStyl").innerHTML="DashRadio: Over Easy
All the mellow, relaxing music from The Soundsmith in one place!"; document.getElementById("hdln").innerHTML="DashRadio: Over Easy"; jwplayer('radio').load("https://www.davidkempton.com/xml/radeasy.xml"); } break; case 'jazz': { document.getElementById("mStyl").innerHTML="DashRadio: The Jazz Joint
All of the best jazz from The Soundsmith in one place!"; document.getElementById("hdln").innerHTML="DashRadio: The Jazz Joint"; jwplayer('radio').load("https://www.davidkempton.com/xml/radjz.xml"); } ; break; case 'blues': { document.getElementById("mStyl").innerHTML="DashRadio: Funk and Blues
All the funkiest music from The Soundsmith in one place!"; document.getElementById("hdln").innerHTML="DashRadio: Funk and Blues"; jwplayer('radio').load("https://www.davidkempton.com/xml/radbluz.xml"); } break; case 'smooth': { document.getElementById("mStyl").innerHTML="DashRadio: Smooth Electronica
All the smooth, meditative music from The Soundsmith in one place"; document.getElementById("hdln").innerHTML="DashRadio: Smooth Electronica"; jwplayer('radio').load("https://www.davidkempton.com/xml/radsm.xml"); } break; default: { document.getElementById("mStyl").innerHTML="DashRadio: Hear It All!
All the great music from The Soundsmith in one place!"; document.getElementById("hdln").innerHTML="DashRadio: Hear It All!"; jwplayer('radio').load("https://www.davidkempton.com/xml/radioall.xml"); } break; };
};