<?php
// Players Windows/Linux/Android Link
$porta = query_string('1');

if(!is_numeric($porta)) {
die ("Error! Missing data.");
}

$verifica_stm = mysqli_num_rows(mysqli_query($conexao,"SELECT * FROM streamings where porta = '".$porta."'"));

if($verifica_stm == 0) {
die ("Error! Missing data.");
}

$dados_config = @mysqli_fetch_array(@mysqli_query($conexao,"SELECT * FROM configuracoes"));
$dados_stm = mysqli_fetch_array(mysqli_query($conexao,"SELECT * FROM streamings where porta = '".$porta."'"));
$dados_servidor = mysqli_fetch_array(mysqli_query($conexao,"SELECT * FROM servidores where codigo = '".$dados_stm["codigo_servidor"]."'"));

$total_pontos = mysqli_num_rows(mysqli_query($conexao,"SELECT * FROM multipoint where codigo_stm = '".$dados_stm["codigo"]."'"));

if($total_pontos > 0) {
$ponto = "/1";
} else {
$ponto = "/stream";
}

if(query_string('2') == "musica") {

if($dados_stm["tipo_servidor"] == "icecast") {

   $porta_admin_icecast = $dados_stm["porta"]+1;

   $dados_icecast = @file_get_contents("http://".$dados_servidor["ip"].":".$porta_admin_icecast."/status-json.xsl?mount=".$ponto);

   $dados_json_icecast = json_decode($dados_icecast, true);

   $musica_completa = ($dados_json_icecast["icestats"]["source"]["artist"]) ? $dados_json_icecast["icestats"]["source"]["artist"]." - ".$dados_json_icecast["icestats"]["source"]["title"] : $dados_json_icecast["icestats"]["source"]["title"];

} else {
   $musica_completa = @file_get_contents("http://".$dados_servidor["ip"].":".$dados_stm["porta"]."/currentsong?sid=1");
}

$musica_completa = $musica_completa;
$musica_completa = str_replace("_"," ",$musica_completa);

header('Content-Type: application/json; charset=utf-8');

echo $_GET['callback'].'({"songtitle":"'.$musica_completa.'"})';

exit();
}

$url_streaming = "https://".strtolower($dados_servidor["nome"]).".".$dados_config["dominio_padrao"].":".$dados_stm["porta"].$ponto;
?>
<!doctype html>
<html>
<head>
   <meta charset="utf-8">
   <title><?php echo $dados_stm["streamtitle"]; ?></title>
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <link href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.1/jquery.min.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/jquery-ui.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.touchswipe/1.6.19/jquery.touchSwipe.min.js" type="text/javascript"></script>
   <script>(function(e){function Q(a,b,c,d){e(a.thumbsHolder_Thumbs[a.current_img_no]).css({background:b.playlistRecordBgOnColor,"border-bottom-color":b.playlistRecordBottomBorderOnColor,color:b.playlistRecordTextOnColor});if(""!=b.radio_stream)var p=b.radio_stream;return p}function V(a,b,c,d){var p=b.noImageAvailable,l="",y="";if(""!=a&&void 0!=a){l=a.match(/\.([^\./\?#]+)($|\?|#)/)[1];if("jpg"==l||"jpeg"==l||"JPG"==l||"JPEG"==l)y="&iiurlparam=qlow-1000px";e.get("https://commons.wikimedia.org/w/api.php?action=query&titles=Image:"+
 a+"&prop=imageinfo&format=xml&origin=*&iiprop=url"+y,{},function(a){""!=e("ii",a).attr("thumburl")&&void 0!=e("ii",a).attr("thumburl")?(p=e("ii",a).attr("thumburl"),c.wiki_photo_path=p):""!=e("ii",a).attr("url")&&void 0!=e("ii",a).attr("url")&&(p=e("ii",a).attr("url"),c.wiki_photo_path=p);W(b,c,d,p)})}}function X(a,b,c,d,p,l,y,n,t,w,g,z,x,q,r,A,B,k,v){var F=c.noImageAvailable,h="",u="";if(""!=a&&void 0!=a){h=a.match(/\.([^\./\?#]+)($|\?|#)/)[1];if("jpg"==h||"jpeg"==h||"JPG"==h||"JPEGs"==h)u="&iiurlparam=qlow-200px";
 e.get("https://commons.wikimedia.org/w/api.php?action=query&titles=Image:"+a+"&prop=imageinfo&format=xml&origin=*&iiprop=url"+u,{},function(a){""!=e("ii",a).attr("thumburl")&&void 0!=e("ii",a).attr("thumburl")?F=e("ii",a).attr("thumburl"):""!=e("ii",a).attr("url")&&void 0!=e("ii",a).attr("url")&&(F=e("ii",a).attr("url"));b.playlist_images_arr[v]=F})}0!==(v+1)%3&&v!=b.playlist_arr.length-1||setTimeout(function(){R(b,c,d,p,l,y,n,t,w,g,z,x,q,r,A,B,k)},1E3)}function P(a){var b;a=a.split("");a.forEach(function(c,
 e){b="\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00df\u00d2\u00d3\u00d4\u00d5\u00d5\u00d6\u00d8\u00f2\u00f3\u00f4\u00f5\u00f6\u00f8\u00c8\u00c9\u00ca\u00cb\u00e8\u00e9\u00ea\u00eb\u00f0\u00c7\u00e7\u00d0\u00cc\u00cd\u00ce\u00cf\u00ec\u00ed\u00ee\u00ef\u00d9\u00da\u00db\u00dc\u00f9\u00fa\u00fb\u00fc\u00d1\u00f1\u0160\u0161\u0178\u00ff\u00fd\u017d\u017e\u2019".indexOf(c);-1!=b&&(a[e]="AAAAAAaaaaaaBOOOOOOOooooooEEEEeeeeeCcDIIIIiiiiUUUUuuuuNnSsYyyZz'"[b])});return a.join("").trim()}
 function M(a,b){var c=new XMLHttpRequest;c.open(a.method,"/musica-atual/<?php echo $dados_stm["porta"]; ?>/"+a.url);c.onload=c.onerror=function(){b(a.method+" "+a.url+"\n"+c.status+" "+c.statusText+"\n\n"+(c.responseText||""))};/^POST/i.test(a.method)&&c.setRequestHeader("Content-Type","application/x-www-form-urlencoded");c.send(a.data)}function Y(a,b,c,e,p,l,y,n,t,w,g,z,x,q,r,A,B){""!=a.curTitle&&a.isHistoryGenerated&&a.prevTitle!=a.curTitle&&(""!=a.prevTitle&&(30<=a.gen_total_images&&(a.gen_total_images--,a.playlist_arr.pop(),
 a.playlist_images_arr.pop()),a.gen_total_images++,a.playlist_arr.unshift(a.prevTitle),a.playlist_images_arr.unshift(a.prev_song_image),R(a,b,c,e,p,l,y,n,t,w,g,z,x,q,r,A,B)),a.prevTitle=a.curTitle)}function H(a,b,c,e,p,l,y,n,t,w,g,z,x,q,r,A,B,k){if(b.showOnlyPlayButton||a.isRadioCo)a.isRadioCo&&M({method:"GET",url:"http://public.radio.co/stations/"+a.mount_point+"/status?my_rand="+Math.random()},function(d){startPoint=d.indexOf("{");-1!==startPoint&&(lengthPoint=d.length,d=d.substr(startPoint,lengthPoint),
 d=JSON.parse(d),a.curTitle=d.current_track.title,K(a,b,c,l,y,n,t,w,g,z,x),Y(a,b,l,c,e,p,r,y,n,t,w,g,z,x,q,A,B))});else{!1===a.now_playing_found&&a.now_playing_current_k<a.now_playing_arr_lenght&&a.now_playing_current_k++;var d=a.now_playing_arr[a.now_playing_current_k]+("7.html"!=a.now_playing_arr[a.now_playing_current_k]?"?my_rand="+Math.random():"");0===a.now_playing_current_k&&(d=a.now_playing_arr[a.now_playing_current_k]+
 ("7.html"!=a.now_playing_arr[a.now_playing_current_k]?"&my_rand="+Math.random():""));""!=a.ip&&a.now_playing_current_k<a.now_playing_arr_lenght?(M({method:"GET",url:d},function(d){var h="";switch(a.now_playing_current_k){case 0:if(-1!=d.indexOf("<SONGTITLE>")){a.now_playing_found=!0;var u=d.indexOf("<SONGTITLE>")+11;var m=d.indexOf("</SONGTITLE>")-u;h=d.substr(u,m);a.curTitle=h;K(a,b,c,l,y,n,t,w,g,z,x,q,k)}else H(a,b,c,e,p,l,y,n,t,w,g,z,x,q,r,A,B,k);break;case 1:u=d.indexOf("<body>")+6;m=d.length;
 d=d.substr(u,m);d=d.replace("</body></html>","");h=d.split(",");""!=h[6]&&void 0!=h[6]&&"oracle:0"!=h[6]?(a.now_playing_found=!0,h=h[6],a.curTitle=h,K(a,b,c,l,y,n,t,w,g,z,x,q,k)):H(a,b,c,e,p,l,y,n,t,w,g,z,x,q,r,A,B,k);break;case 2:u=d.indexOf('{"icestats":');if(-1!==u){m=d.length;d=d.substr(u,m);d=JSON.parse(d);u=!1;for(var v=0;v<Object.keys(d.icestats.source).length&&!u;)m=d.icestats.source[v].listenurl,0<m.indexOf(a.mount_point)&&(u=!0,v--),v++;u&&""!=d.icestats.source[v].title&&void 0!=d.icestats.source[v].title&&
 (a.now_playing_found=!0,h=d.icestats.source[v].title,a.curTitle=h,K(a,b,c,l,y,n,t,w,g,z,x,q,k))}""==h&&(a.now_playing_found=!1,H(a,b,c,e,p,l,y,n,t,w,g,z,x,q,r,A,B,k));break;case 3:""!=a.mount_point&&(u=d.indexOf(a.mount_point));0<u&&(m=d.length,d=d.substr(u,m));m=d.indexOf("Currently playing:");-1==m&&(m=d.indexOf("Current Song:"));0<m&&(a.now_playing_found=!0,u=d.indexOf('<td class="streamstats">',m),u=0<u?u+24:d.indexOf('<td class="streamdata">',m)+23,m=d.indexOf("</td>",u),h=d.substr(u,m-u),a.curTitle=
 h,K(a,b,c,l,y,n,t,w,g,z,x,q,k));""==h&&(a.now_playing_found=!1,H(a,b,c,e,p,l,y,n,t,w,g,z,x,q,r,A,B,k));break;default:a.now_playing_found=!0,a.curTitle="Not available...",K(a,b,c,l,y,n,t,w,g,z,x,q,k)}}),""!=a.curTitle&&a.isHistoryGenerated&&a.prevTitle!=a.curTitle&&(""!=a.prevTitle&&(30<=a.gen_total_images&&(a.gen_total_images--,a.playlist_arr.pop(),a.playlist_images_arr.pop()),a.gen_total_images++,a.playlist_arr.unshift(a.prevTitle),a.playlist_images_arr.unshift(a.prev_song_image),R(a,b,l,c,e,p,r,
 y,n,t,w,g,z,x,q,A,B)),a.prevTitle=a.curTitle),Y(a,b,l,c,e,p,r,y,n,t,w,g,z,x,q,A,B)):(curSong="Data not available...",a.curTitle=curSong,K(a,b,c,l,y,n,t,w,g,z,x,q,k))}}function Z(a,b,c,d,p,l,y,n,t,w,g,z,x,q,r,A,B,k){b.grabLastFmPhoto&&(a.musicbrainzHistory_setTimeout_arr[k]=setTimeout(function(){var v=a.playlist_arr[k].split("-");v[0]=v[0].trim();a.the_artist_id_history_arr[k]="";a.the_wikidata_id_history_arr[k]="";photo_path=b.noImageAvailable;a.wiki_photo_path=photo_path;clearTimeout(a.musicbrainzHistory_setTimeout_arr[k]);
 v[0]=v[0].trim();e.get("https://musicbrainz.org/ws/2/artist/?query=artist:"+v[0],{},function(F){var h="",u,m="";a.the_artist_id_history_arr[k]="";var C=v[0];C=C.toLowerCase();C=P(C);e("artist",F).each(function(){u=e("name",this)[0];0<e("name",this).length&&""==a.the_artist_id_history_arr[k]&&(h=e(u).text(),h=h.toLowerCase(),h=P(h),C.toLowerCase()==h.toLowerCase()&&(a.the_artist_id_history_arr[k]=e(this).attr("id")))});""==a.the_artist_id_history_arr[k]&&"ROCK RADIO"!=v[0]&&(a.the_artist_id_history_arr[k]=
 e(e("artist",F)[0]).attr("id"));""!=a.the_artist_id_history_arr[k]&&void 0!=a.the_artist_id_history_arr[k]&&(a.musicbrainzHistory_setTimeout_arr[k]=setTimeout(function(){a.the_wikidata_id_history_arr[k]="";e.get("https://musicbrainz.org/ws/2/artist/"+a.the_artist_id_history_arr[k]+"?inc=url-rels",{},function(h){e("relation",h).each(function(){"image"==e(this).attr("type")&&0<e("target",this).length&&(m=e("target",this).text(),m=m.substr(m.indexOf("File:",10)+5,m.length),X(m,a,b,d,c,q,x,r,p,l,y,n,
 t,w,g,z,A,B,k));"wikidata"==e(this).attr("type")&&0<e("target",this).length&&""==m&&(a.the_wikidata_id_history_arr[k]=e("target",this).text(),a.the_wikidata_id_history_arr[k]=a.the_wikidata_id_history_arr[k].substr(a.the_wikidata_id_history_arr[k].indexOf("/Q",10)+1,a.the_wikidata_id_history_arr[k].length),e.get("https://www.wikidata.org/w/api.php?action=wbgetclaims&entity="+a.the_wikidata_id_history_arr[k]+"&property=P18&format=xml&origin=*",{},function(f){m=e("datavalue",e("mainsnak",f)).attr("value");
 X(m,a,b,d,c,q,x,r,p,l,y,n,t,w,g,z,A,B,k)}))});if(""==m||void 0==m)a.playlist_images_arr[k]=photo_path})},3E3*(k+1)))})},3E3*(k+1)))}function da(a,b,c,d,e,l,y,n,t,w,g,z,x,q,r,A,B,k,v){clearInterval(a.radioReaderAjaxInterval);if(-1!==b.radio_stream.indexOf("radio.co")){a.isRadioCo=!0;var p=b.radio_stream.match(a.myregexp_radioco);null!=p&&(a.http_or_https=p[1],a.ip=p[2],a.mount_point=p[3],a.port="")}else-1==b.radio_stream.indexOf("/",9)&&(b.radio_stream+=""),"/"==b.radio_stream.charAt(b.radio_stream.length-
 1)&&(b.radio_stream+=";"),p=b.radio_stream.match(a.myregexp),null!=p&&(a.http_or_https=p[1],a.ip=p[2],a.port=p[3],a.mount_point=p[4],";"==a.mount_point.trim()&&(a.mount_point=""));g.css({width:b.playerWidth+"px",height:b.imageHeight+"px",background:"url("+b.noImageAvailable+") #000000","background-repeat":"no-repeat","background-position":"top center","background-size":"cover"});if(!b.showOnlyPlayButton){H(a,b,c,q,x,d,e,l,y,n,t,w,g,z,r,A,B,v);a.radioReaderAjaxInterval=setInterval(function(){H(a,b,
 c,q,x,d,e,l,y,n,t,w,g,z,r,A,B,v)},1E3*b.nowPlayingInterval);a.playlist_arr=[];a.playlist_images_arr=[];var h=-1,u,m,C,D=0;a.isRadioCo?M({method:"GET",url:"http://public.radio.co/stations/"+a.mount_point+"/status?my_rand="+Math.random()},function(f){u=f.indexOf('"history":[{');if(-1!==u){m=f.length;f=f.substr(u+10,m);u=0;m=f.indexOf("}],");f=f.substr(u,m+2);var p=JSON.parse(f)}for(D=0;D<Object.keys(p).length;D++)""!=p[D].title&&"Empty Title"!=p[D].title&&0!=D&&(h++,a.playlist_arr[h]=p[D].title,a.playlist_images_arr[h]=
 b.noImageAvailable,Z(a,b,c,d,e,l,y,n,t,w,g,z,x,q,r,A,B,h));a.playlist_arr.length?R(a,b,d,c,q,x,r,e,l,y,n,t,w,g,z,A,B):a.isHistoryGenerated=!0;b.sticky&&b.startMinified&&k.click()}):M({method:"GET",url:a.history_arr[a.history_current_k]+"?my_rand="+Math.random()},function(f){if(-1!=f.indexOf("Current Song"))for(u=f.indexOf("Current Song")+12,m=f.length,f=f.substr(u,m),C=f.split("</td><td>"),C.shift(),D=0;D<C.length;D++)u=C[D].indexOf("</"),-1!=u&&(m=u,C[D]=
 C[D].substr(0,m),C[D]=C[D].replace(/<\/?[^>]+(>|$)/g,""),""!=C[D]&&"Empty Title"!=C[D]&&(h++,a.playlist_arr[h]=C[D],a.playlist_images_arr[h]=b.noImageAvailable,Z(a,b,c,d,e,l,y,n,t,w,g,z,x,q,r,A,B,h)));a.playlist_arr.length?R(a,b,d,c,q,x,r,e,l,y,n,t,w,g,z,A,B):a.isHistoryGenerated=!0;b.sticky&&b.startMinified&&k.click()})}a.isFlashNeeded?""!=a.myFlashObject&&setTimeout(function(){a.myFlashObject.myAS3function(Q(a,b,c,d),b.initialVolume)},1E3):(document.getElementById(a.audioID).src=Q(a,b,c,d),document.getElementById(a.audioID).load(),
 b.autoPlay&&e.click())}function W(a,b,c,d){c.css({background:"url("+d+") #000000","background-repeat":"no-repeat","background-position":"top center","background-size":"cover"});b.prev_song_image=b.cur_song_image;b.cur_song_image=d}function K(a,b,c,d,p,l,y,n,t,w,g,z,x){a.curSongText="";b.showTitle&&null!=a.curTitle&&""!=a.curTitle&&(a.curSongText+=a.curTitle);b.showRadioStation&&null!=b.radio_name&&""!=b.radio_name&&t.html(b.radio_name);var q=a.curTitle.split("-"),r=b.noImageAvailable;q[0]=q[0].trim();
 3<=q.length&&(q[0]=q[0].trim()+"-"+q[1].trim());if(b.grabLastFmPhoto&&""!=q[0].trim()){var A,B="",k,v="";a.the_artist_id="";a.the_wikidata_id="";r=b.noImageAvailable;a.wiki_photo_path=r;clearTimeout(a.musicbrainz_setTimeout);clearTimeout(a.no_artist_image_setTimeout);q[0]=q[0].trim();""!=q[0]&&void 0!=q[0]&&a.prevTitle!=a.curTitle&&(g.css({background:"url("+r+") #000000","background-repeat":"no-repeat","background-position":"top center","background-size":"cover"}),a.musicbrainz_setTimeout=setTimeout(function(){e.get("https://musicbrainz.org/ws/2/artist/?query=artist:"+
 q[0],{},function(c){a.the_artist_id="";A=q[0];A=A.toLowerCase();A=P(A);e("artist",c).each(function(){k=e("name",this)[0];0<e("name",this).length&&""==a.the_artist_id&&(B=e(k).text(),B=B.toLowerCase(),B=P(B),A.toLowerCase()==B.toLowerCase()&&(a.the_artist_id=e(this).attr("id")))});""==a.the_artist_id&&"ROCK RADIO"!=q[0]&&(a.the_artist_id=e(e("artist",c)[0]).attr("id"));""!=a.the_artist_id&&void 0!=a.the_artist_id&&(a.musicbrainz_setTimeout=setTimeout(function(){a.the_wikidata_id="";e.get("https://musicbrainz.org/ws/2/artist/"+
 a.the_artist_id+"?inc=url-rels",{},function(c){e("relation",c).each(function(){"image"==e(this).attr("type")&&0<e("target",this).length&&(v=e("target",this).text(),v=v.substr(v.indexOf("File:",10)+5,v.length),V(v,b,a,g));"wikidata"==e(this).attr("type")&&0<e("target",this).length&&(a.the_wikidata_id=e("target",this).text(),a.the_wikidata_id=a.the_wikidata_id.substr(a.the_wikidata_id.indexOf("/Q",10)+1,a.the_wikidata_id.length),b.showBioBut&&(e(".historyTitle_bio",d).html(q[0]+" - "+b.translateBio),
 e(".readingData",x).html(""),e.get("https://en.wikipedia.org/w/api.php?format=xml&action=query&prop=pageprops|extracts&exintro=&explaintext=&generator=search&gsrsearch="+q[0]+"&gsrlimit=20&origin=*",{},function(c){e("page",c).each(function(){e("pageprops",this).attr("wikibase_item")==a.the_wikidata_id&&(e(".historyTitle_bio",d).html(q[0]+" - "+b.translateBio),e(".readingData",x).html(e("extract ",this).text()))})})),""==v&&e.get("https://www.wikidata.org/w/api.php?action=wbgetclaims&entity="+a.the_wikidata_id+
 "&property=P18&format=xml&origin=*",{},function(c){v=e("datavalue",e("mainsnak",c)).attr("value");V(v,b,a,g)}))});a.no_artist_image_setTimeout=setTimeout(function(){""!=v&&void 0!=v||W(b,a,g,r)},1E3)})},1500))})},1500))}a.curSongText&&(c=a.curSongText.split("-"),a.curSongAuthorText=c[0].trim(),2<=c.length&&(a.curSongText=c[1].trim()),3<=c.length&&(a.curSongAuthorText=c[0].trim()+"-"+c[1].trim(),a.curSongText=c[2].trim()),l.html(aa(a.curSongAuthorText,b)),n.css({width:"auto"}),a.isStationTitleInsideScrolling=
 !1,a.stationTitleInsideWait=0,n.stop(),n.css({"margin-left":0}),n.html(a.curSongText),clearInterval(a.timeupdateInterval),n.width()>a.titleWidth?a.timeupdateInterval=setInterval(function(){!a.isStationTitleInsideScrolling&&5<=a.stationTitleInsideWait&&n.width()>a.titleWidth?(a.isStationTitleInsideScrolling=!0,a.stationTitleInsideWait=0,n.html(a.curSongText+" **** "+a.curSongText+" **** "+a.curSongText+" **** "+a.curSongText+" **** "+a.curSongText+" **** "),n.css({"margin-left":0}),n.stop().animate({"margin-left":b.playerWidth-
 n.width()+"px"},parseInt(1E4*(n.width()-b.playerWidth)/150,10),"linear",function(){a.isStationTitleInsideScrolling=!1})):!a.isStationTitleInsideScrolling&&n.width()>a.titleWidth&&a.stationTitleInsideWait++},300):n.css({width:"100%"}))}function S(a,b,c,d){if(b.gen_total_images>c.numberOfThumbsPerScreen){var p=(b.thumbsHolder_ThumbHeight+1)*(b.gen_total_images-c.numberOfThumbsPerScreen),l=0;d.stop(!0,!0);e("html, body").off("touchstart touchmove").on("touchstart touchmove",function(a){a.preventDefault()});
 -1==a||b.isCarouselScrolling?!b.isCarouselScrolling&&b.gen_total_images>c.numberOfThumbsPerScreen&&(b.isCarouselScrolling=!0,l=-1*parseInt((b.thumbsHolder_ThumbHeight+1)*b.current_img_no,10),Math.abs(l)>p&&(l=-1*p),b.gen_total_images>c.numberOfThumbsPerScreen&&c.showPlaylist&&b.audio9_html5_sliderVertical.slider("value",100+parseInt(100*l/p)),d.animate({top:l+"px"},500,"easeOutCubic",function(){b.isCarouselScrolling=!1;e("html, body").off("touchstart touchmove").on("touchstart touchmove",function(a){})})):
 (b.isCarouselScrolling=!0,l=2>=a?-1*p:parseInt(p*(a-100)/100,10),0<l&&(l=0),d.animate({top:l+"px"},1100,"easeOutQuad",function(){b.isCarouselScrolling=!1;e("html, body").off("touchstart touchmove").on("touchstart touchmove",function(a){})}))}}function T(a,b,c,d,e,l,y,n,t,w,g,z,x,q,r,A,B,k,v,F,h,u,m,C,D,f,E,I,G){d.width(c.playerWidth);if(c.showOnlyPlayButton||b.isMinified)a="none";A.css({width:c.playerWidth+"px",height:parseInt(c.playerWidth/c.origWidth*c.imageHeight,10)+"px","background-image":"url("+
 c.textureOverImage+")","background-repeat":"repeat"});"none"==a?r.css({width:"0px",height:"0px"}):r.css({width:c.playerWidth+"px",height:parseInt(c.playerWidth/c.origWidth*c.imageHeight,10)+"px"});c.sticky&&c.startMinified?r.css({display:"none",top:"0px",left:"0px"}):r.css({display:a,top:"0px",left:"0px"});b.imageTopPos=0;b.imageLeftPos=0;a="none";if(b.isMinified){if(b.frameBehindTextTopPos=0,b.frameBehindTextLeftPos=0,a=c.frameBehindTextColor,-1!=c.frameBehindTextColor.indexOf(".jpg")||-1!=c.frameBehindTextColor.indexOf(".jpeg")||
 -1!=c.frameBehindTextColor.indexOf(".gif")||-1!=c.frameBehindTextColor.indexOf(".png"))a="url("+c.frameBehindTextColor+")"}else b.frameBehindTextTopPos=r.height()-80,b.frameBehindTextLeftPos=0;c.showOnlyPlayButton?v.css({top:b.frameBehindTextTopPos+"px",left:b.frameBehindTextLeftPos+"px",background:"url("+c.frameBehindTextColor+")",width:0,height:0}):v.css({top:b.frameBehindTextTopPos+"px",left:b.frameBehindTextLeftPos+"px",background:a,height:t.height()+2*b.playVerticalPadding+h.height()+3+"px"});
 b.playTopPos=b.frameBehindTextTopPos+b.playVerticalPadding;b.isMinified&&(b.playTopPos=b.frameBehindTextTopPos+parseInt((v.height()-t.height())/2,10));b.playLeftPos=b.frameBehindTextLeftPos+b.playHorizontalPadding;t.css({top:b.playTopPos+"px",left:b.playLeftPos+"px","background-color":c.buttonsOffState});b.titleWidth=parseInt(.75*c.playerWidth,10);r="center";b.isMinified?(b.titleTopPos=b.playTopPos+3,b.titleLeftPos=t.width()+2*b.playHorizontalPadding,r="left",b.titleWidth=c.playerWidth-4*b.playHorizontalPadding-
 t.width()):c.centerTitle?(b.titleTopPos=parseInt(c.playerWidth/c.origWidth*c.imageHeight*.26,10),b.titleLeftPos=parseInt((c.playerWidth-b.titleWidth)/2,10)):(r="left",b.titleTopPos=b.playTopPos-70,b.titleLeftPos=b.playLeftPos,b.titleWidth=c.playerWidth-2*b.playLeftPos);g.css({color:c.songTitleColor,top:b.titleTopPos+"px",left:b.titleLeftPos+"px",width:b.titleWidth+"px"});z.css({"text-align":r});b.lineSeparatorTopPos=b.titleTopPos+g.height()+2;b.lineSeparatorLeftPos=b.titleLeftPos;F.css({background:c.lineSeparatorColor,
 opacity:c.lineSeparatorOpacity/100,top:b.lineSeparatorTopPos+"px",left:b.lineSeparatorLeftPos+"px",width:b.titleWidth+"px"});b.isMinified?(b.authorTopPos=b.lineSeparatorTopPos+8,b.authorLeftPos=b.titleLeftPos,r="left"):(b.authorTopPos=b.lineSeparatorTopPos+8,b.authorLeftPos=b.titleLeftPos,r=c.centerTitle?"center":"left");w.css({color:c.authorTitleColor,top:b.authorTopPos+"px",left:b.authorLeftPos+"px",width:b.titleWidth+"px","text-align":r});b.minimizeTopPos=10;!c.sticky||c.showOnlyPlayButton?(b.minimizeRightPos=
 0,u.css({display:"none",padding:0,margin:0})):c.sticky&&(b.minimizeRightPos=b.smallButtonDistance,u.css({display:"block",top:b.minimizeTopPos+"px",right:b.minimizeRightPos+"px"}),(b.isBioVisible||b.isHistoryVisible)&&u.css({display:"none"}));b.frameBehindButtonsTopPos=b.isMinified?v.height()-h.height():0;b.frameBehindButtonsLeftPos=0;c.showOnlyPlayButton?h.css({background:"none",height:0,top:b.frameBehindButtonsTopPos+"px",left:b.frameBehindButtonsLeftPos+"px"}):h.css({background:"none",top:b.frameBehindButtonsTopPos+
 "px",left:b.frameBehindButtonsLeftPos+"px"});b.radioStationTopPos=b.isMinified?b.minimizeTopPos-4:b.frameBehindButtonsTopPos+Math.floor(h.height()-x.height())/2;b.radioStationLeftPos=b.playHorizontalPadding;x.css({color:c.radioStationColor,top:b.radioStationTopPos+"px",left:b.radioStationLeftPos+"px",width:b.titleWidth+"px"});0==b.historyButWidth&&(b.historyButWidth=m.width());b.showhidehistoryTopPos=b.isMinified?b.frameBehindButtonsTopPos+Math.floor((h.height()-m.height())/2):parseInt(c.playerWidth/
 c.origWidth*c.imageHeight,10)-12-m.height();b.temp_showHistoryBut?(b.showhideplaylistRightPos=2.5*b.smallButtonDistance,m.css({display:"block",width:b.historyButWidth+"px",top:b.showhidehistoryTopPos+"px",right:b.showhideplaylistRightPos+"px","background-color":c.buttonsOffState})):(b.showhideplaylistRightPos=0,m.css({display:"none",width:0,padding:0,margin:0}));C.css({display:"none",width:0,padding:0,margin:0});b.volumeTopPos=b.isMinified?b.frameBehindButtonsTopPos+Math.floor((h.height()-D.height())/
 2)+3:parseInt(c.playerWidth/c.origWidth*c.imageHeight,10)-12-D.height();c.showVolume?(b.volumeRightPos=b.showhideplaylistRightPos+m.width()+b.smallButtonDistance,D.css({top:b.volumeTopPos+"px",right:b.volumeRightPos+"px","background-color":c.buttonsOffState})):(b.volumeRightPos=b.showhideplaylistRightPos+m.width(),D.css({display:"none",width:0,padding:0,margin:0}));b.twitterTopPos=b.isMinified?b.frameBehindButtonsTopPos+Math.floor((h.height()-f.height())/2)+3:parseInt(c.playerWidth/c.origWidth*c.imageHeight,
 10)-12-f.height();c.showTwitterBut?(b.twitterRightPos=b.volumeRightPos+D.width()+b.smallButtonDistance,f.css({top:b.twitterTopPos+"px",right:b.twitterRightPos+"px","background-color":c.buttonsOffState})):(b.twitterRightPos=b.volumeRightPos+D.width(),f.css({display:"none",width:0,padding:0,margin:0}));b.facebookTopPos=b.isMinified?b.frameBehindButtonsTopPos+Math.floor((h.height()-E.height())/2)+3:parseInt(c.playerWidth/c.origWidth*c.imageHeight,10)-12-E.height();c.showFacebookBut?(b.facebookRightPos=
 b.twitterRightPos+f.width()+b.smallButtonDistance,E.css({top:b.facebookTopPos+"px",right:b.facebookRightPos+"px","background-color":c.buttonsOffState})):(b.facebookRightPos=b.twitterRightPos,E.css({display:"none",width:0,padding:0,margin:0}));b.isMinified?G.css({display:"none"}):b.bioTopPos=parseInt(c.playerWidth/c.origWidth*c.imageHeight,10)-12-G.height();c.showBioBut?(b.bioRightPos=b.facebookRightPos+E.width()+b.smallButtonDistance,G.css({display:"block",top:b.bioTopPos+"px",right:b.bioRightPos+
 "px","background-color":c.buttonsOffState})):(b.bioRightPos=b.facebookRightPos,G.css({display:"none",width:0,padding:0,margin:0}));b.lyricsTopPos=b.isMinified?b.frameBehindButtonsTopPos+Math.floor((h.height()-I.height())/2):parseInt(c.playerWidth/c.origWidth*c.imageHeight,10)-12-I.height();c.showLyricsBut?(b.lyricsRightPos=b.bioRightPos+G.width()+b.smallButtonDistance,I.css({top:b.lyricsTopPos+"px",right:b.lyricsRightPos+"px","background-color":c.buttonsOffState})):(b.lyricsRightPos=b.bioRightPos,
 I.css({display:"none",width:0,padding:0,margin:0}))}function R(a,b,c,d,p,l,y,n,t,w,g,z,x,q,r,A,B){if(!b.showOnlyPlayButton){d.stop(!0,!0);a.isCarouselScrolling=!1;e(".readingData",l).css({display:"none"});n=parseInt(b.playerWidth/b.origWidth*b.historyRecordTitleLimit,10);t=parseInt(b.playerWidth/b.origWidth*b.historyRecordAuthorLimit,10);w=[];a.isHistoryGenerated=!0;d.html("");for(g=a.gen_total_images=0;g<a.playlist_arr.length;g++)a.gen_total_images++,w=a.playlist_arr[g].split("-"),1>w.length?a.gen_total_images--:
 (a.thumbsHolder_Thumb=e('<div class="thumbsHolder_ThumbOFF" rel="'+(a.gen_total_images-1)+'" data-origID="'+g+'"><div class="padding"><div class="img_div" style="background-image:url('+a.playlist_images_arr[g]+");background-color:#000000;border:2px solid "+b.historyRecordThumbBorderColor+';"></div><span class="titlex">'+ba(w[1],n,b)+'</span><span class="authorx">'+ba(w[0],t,b)+"</span></div></div>"),d.append(a.thumbsHolder_Thumb),0==a.thumbsHolder_ThumbHeight&&(a.thumbsHolder_ThumbHeight=a.thumbsHolder_Thumb.height()),
 a.thumbsHolder_Thumb.css({top:(a.thumbsHolder_ThumbHeight+1)*a.gen_total_images+"px",background:b.historyRecordBgColor,"border-bottom-color":b.historyRecordBottomBorderColor,color:b.historyRecordTextColor}),e(".titlex",a.thumbsHolder_Thumb).css({color:b.historyRecordSongColor,"border-bottom-color":b.historyRecordSongBottomBorderColor}),e(".authorx",a.thumbsHolder_Thumb).css({color:b.historyRecordAuthorColor}),a.current_img_no=0);p.height(2*b.historyPadding+(a.thumbsHolder_ThumbHeight+1)*b.numberOfThumbsPerScreen+
 B.height()+b.historyPadding);l.height((a.thumbsHolder_ThumbHeight+1)*b.numberOfThumbsPerScreen);l.css({"margin-top":B.height()+b.historyPadding+"px"});y.css({padding:b.historyPadding+"px"});a.thumbsHolder_Thumbs=e(".thumbsHolder_ThumbOFF",c);a.wrapperHeight=a.audioPlayerHeight;a.gen_total_images>b.numberOfThumbsPerScreen?(b.isPlaylistSliderInitialized&&a.audio9_html5_sliderVertical.slider("destroy"),a.audio9_html5_sliderVertical.slider({orientation:"vertical",range:"min",min:1,max:100,step:1,value:100,
 slide:function(c,e){S(e.value,a,b,d)}}),b.isPlaylistSliderInitialized=!0,a.audio9_html5_sliderVertical.css({display:"none",position:"absolute",height:p.height()-20-3*b.historyPadding-B.height()+"px",left:c.width()-a.audio9_html5_sliderVertical.width()-b.historyPadding+"px",top:2*b.historyPadding+2+B.height()+"px"}),a.isHistoryVisible&&a.audio9_html5_sliderVertical.css({display:"block"}),e(".thumbsHolder_ThumbOFF",c).css({width:c.width()-a.audio9_html5_sliderVertical.width()-2*b.historyPadding-3+"px"})):
 (b.isPlaylistSliderInitialized&&(a.audio9_html5_sliderVertical.slider("destroy"),b.isPlaylistSliderInitialized=!1),e(".thumbsHolder_ThumbOFF",c).css({width:c.width()-2*b.historyPadding+"px"}));l.mousewheel(function(c,e,g,h){c.preventDefault();c=a.audio9_html5_sliderVertical.slider("value");if(1<parseInt(c)&&-1==parseInt(e)||100>parseInt(c)&&1==parseInt(e))c+=3*e,a.audio9_html5_sliderVertical.slider("value",c),S(c,a,b,d)});d.css({top:"0px"});a.is_very_first=!1}}function aa(a,b){b.preserveOriginalUpperLowerCase||
 (a=a.toLowerCase(),a=a.replace(/\b[a-z]/g,function(a){return a.toUpperCase()}),a=a.replace(/&Apos;/gi,"'"),a=a.replace(/&Amp;/gi,"&"),a=a.replace(/'[A-Z]/g,function(a){return a.toLowerCase()}));return a}function ba(a,b,c){a=String(a);var d="";if(a.length>b){a=a.substring(0,b);var e=a.split(" ");a=a.substring(b-2,b-1);""!=a&&(e.pop(),d="...");a=e.join(" ")}a=aa(a,c);return a+d}function ea(){e("audio").each(function(){e(".AudioPlay").removeClass("AudioPause");e(this)[0].pause()})}function ca(){var a=
 -1;if("Microsoft Internet Explorer"==navigator.appName){var b=navigator.userAgent,c=/MSIE ([0-9]{1,}[.0-9]{0,})/;null!=c.exec(b)&&(a=parseFloat(RegExp.$1))}else"Netscape"==navigator.appName&&(b=navigator.userAgent,c=/Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/,null!=c.exec(b)&&(a=parseFloat(RegExp.$1)));return parseInt(a,10)}function fa(a){var b=!1;document.getElementById(a.audioID).canPlayType&&"no"!=document.getElementById(a.audioID).canPlayType("audio/mpeg")&&""!=document.getElementById(a.audioID).canPlayType("audio/mpeg")||
 (b=!0);return b}function U(a){return"#"==a.charAt(0)?a.substring(1,7):a}function ha(a){var b=[];b[0]=parseInt(U(a).substring(0,2),16);b[1]=parseInt(U(a).substring(2,4),16);b[2]=parseInt(U(a).substring(4,6),16);return b}var N=navigator.userAgent.toLowerCase();e.fn.audio9_html5=function(a){a=e.extend({},e.fn.audio9_html5.defaults,a);ca();return this.each(function(){var b=e(this),c=e('<div class="frameBehindText"></div><div class="frameBehindButtons"></div> <div class="ximage"></div> <div class="xtexture"></div> <div class="AudioControls"> <a class="AudioCloseBut" title="Minimize"></a><a class="AudioFacebook" title="Facebook"></a><a class="AudioTwitter" title="Twitter"></a><a class="AudioLyrics" title="Lyrics"></a><a class="AudioBio" title="Show/Hide Bio"></a><a class="AudioPlay" title="Play/Pause"></a><a class="AudioShowHidePlaylist" title="Show/Hide History"></a><a class="VolumeButton" title="Mute/Unmute"></a><div class="VolumeSlider"></div>   </div>   <div class="songTitle"><div class="songTitleInside"></div></div>  <div class="songAuthorLineSeparator"></div>  <div class="songAuthor"></div>  <div class="radioStation"></div>     <div class="thumbsHolderWrapper"><div class="historyPadding">  <div class="historyTitle"></div> <div class="thumbsHolderVisibleWrapper"><div class="thumbsHolder"></div></div></div></div>  <div class="slider-vertical"></div>  <div class="thumbsHolderWrapper_bio"> <div class="historyPadding_bio"> <div class="historyTitle_bio"></div> <div class="thumbsHolderVisibleWrapper_bio"> </div></div></div>'),
 d=b.parent(".audio9_html5");d.addClass(a.skin);d.append(c);var p=e(".frameBehindText",d),l=e(".frameBehindButtons",d);e(".AudioControls",d);var y=e(".AudioFacebook",d),n=e(".AudioTwitter",d),t=e(".AudioLyrics",d),w=e(".AudioBio",d),g=e(".AudioPlay",d),z=e(".AudioShowHidePlaylist",d),x=e(".VolumeButton",d),q=e(".VolumeSlider",d),r=e(".AudioCloseBut",d),A=e(".songTitle",d),B=e(".songTitleInside",d),k=e(".songAuthor",d),v=e(".songAuthorLineSeparator",d),F=e(".radioStation",d),h=e(".ximage",d),u=e(".xtexture",
 d),m=e(".historyTitle",d);d.wrap("<div class='the_wrapper'></div>");var C=d.parent(),D=ca();if(-1!=N.indexOf("ipad")||-1!=N.indexOf("iphone")||-1!=N.indexOf("ipod")||-1!=N.indexOf("webos")||-1!=navigator.userAgent.indexOf("Android"))a.autoPlay=!1;!1===a.sticky&&-1==(-1==navigator.userAgent.indexOf("Opera")&&navigator.userAgent.indexOf("OPR"))&&(-1!=navigator.userAgent.indexOf("Chrome")&&-1!=navigator.vendor.indexOf("Google")&&(a.autoPlay=!1),-1!=navigator.userAgent.indexOf("Safari")&&-1!=navigator.vendor.indexOf("Apple")&&
 -1==navigator.platform.indexOf("Win")&&(a.autoPlay=!1));d.css({background:"transparent"});var f={current_img_no:0,origID:0,is_very_first:!0,total_images:0,gen_total_images:0,is_changeSrc:!1,timeupdateInterval:"",totalTime:"",playlist_arr:"",playlist_images_arr:"",isCarouselScrolling:!1,isHistoryGenerated:!1,isHistoryVisible:!1,isStationTitleInsideScrolling:!1,curTitle:"",prevTitle:"",cur_song_image:"",prev_song_image:"",curSongText:"",curSongAuthorText:"",stationTitleInsideWait:0,audioPlayerWidth:0,
 audioPlayerHeight:0,wrapperHeight:0,temp_showHistoryBut:!0,historyButWidth:0,isRadioCo:!1,historyInitialHeight:90,thumbsHolder_Thumb:e('<div class="thumbsHolder_ThumbOFF" rel="0"><div class="padding">test</div></div>'),thumbsHolder_ThumbHeight:0,thumbsHolder_Thumbs:"",constantDistance:0,titleWidth:0,radioStationTopPos:0,radioStationLeftPos:0,titleTopPos:0,titleLeftPos:0,lineSeparatorTopPos:0,lineSeparatorLeftPos:0,authorTopPos:0,authorLeftPos:0,minimizeTopPos:0,minimizeRightPos:0,isMinified:!1,imageTopPos:0,
 imageLeftPos:0,frameBehindButtonsTopPos:0,frameBehindButtonsLeftPos:0,frameBehindTextTopPos:0,frameBehindTextLeftPos:0,playTopPos:0,playLeftPos:0,volumeTopPos:0,volumeRightPos:0,volumesliderTopPos:0,volumesliderLeftPos:0,showhidehistoryTopPos:0,showhideplaylistRightPos:0,smallButtonDistance:4,playVerticalPadding:10,playHorizontalPadding:14,facebookTopPos:0,facebookRightPos:0,twitterTopPos:0,twitterRightPos:0,bioTopPos:0,bioRightPos:0,isBioVisible:!1,lyricsTopPos:0,lyricsRightPos:0,origParentFloat:"",
 origParentPaddingTop:"",origParentPaddingRight:"",origParentPaddingBottom:"",origParentPaddingLeft:"",windowWidth:0,audioID:"",audioObj:"",radioReaderAjaxInterval:"",totalRadioStationsNo:0,ajaxReturnedRadioStationsNo:0,lastfm:"",isFlashNeeded:!0,myFlashObject:"",rndNum:0,prevVolumeVal:1,myregexp:/^(http|https):\/\/(.*):(.*)\/(.*)$/,myregexp_radioco:/^(http|https):\/\/(.*)\/(.*)\/(.*)$/,bio_regexp:/<([a-z]+)([^<]+)*(?:>(.*)<\/\1>|\s+\/>)/,http_or_https:"http",ip:"",port:"",mount_point:"",now_playing_current_k:-1,
 now_playing_found:!1,now_playing_arr_lenght:0,now_playing_arr:["<?php echo $url_source_proxy_php; ?>stats?sid=1","7.html","status-json.xsl","status.xsl"],history_current_k:0,history_arr:["played.html"],the_artist_id:"",the_wikidata_id:"",musicbrainz_setTimeout:"",no_artist_image_setTimeout:"",the_artist_id_history_arr:[""],the_wikidata_id_history_arr:[""],musicbrainzHistory_setTimeout_arr:[""],wiki_photo_path:a.noImageAvailable};a.preserveOriginalUpperLowerCase||(B.css({"text-transform":"uppercase"}),k.css({"text-transform":"capitalize"}));
 a.sticky||(a.startMinified=!1);30>a.nowPlayingInterval&&(a.nowPlayingInterval=44);a.showOnlyPlayButton&&(a.startMinified=!1,a.showFacebookBut=!1,a.showVolume=!1,a.showTwitterBut=!1,a.showBioBut=!1,a.showLyricsBut=!1,a.showRadioStation=!1,a.showTitle=!1,a.showHistoryBut=!1,a.playerWidth=g.width()+2*f.playHorizontalPadding,a.historyPadding=0);a.origWidth=a.playerWidth;f.temp_showHistoryBut=a.showHistoryBut;f.now_playing_arr_lenght=Object.keys(f.now_playing_arr).length;f.audioID=b.attr("id");f.isFlashNeeded=
 fa(f);-1!=D&&(f.isFlashNeeded=!0);a.showFacebookBut&&(window.fbAsyncInit=function(){FB.init({appId:a.facebookAppID,version:"v2.11",status:!0,cookie:!0,xfbml:!0})},function(a,b,c){var d=a.getElementsByTagName(b)[0];a.getElementById(c)||(a=a.createElement(b),a.id=c,a.src="//connect.facebook.com/en_US/sdk.js",d.parentNode.insertBefore(a,d))}(document,"script","facebook-jssdk"),y.click(function(){FB.ui({method:"feed",name:a.facebookShareTitle,caption:a.radio_name,description:a.facebookShareDescription,
 link:document.URL,picture:a.facebookShareImage},function(a){})}),y.mouseover(function(){y.css({"background-color":a.buttonsOnState})}),y.mouseout(function(){y.css({"background-color":a.buttonsOffState})}));a.showTwitterBut&&(n.click(function(){window.open("https://twitter.com/intent/tweet?url="+document.URL+"&text="+a.radio_name,"Twitter","status = 1, left = 430, top = 270, height = 550, width = 420, resizable = 0")}),n.mouseover(function(){n.css({"background-color":a.buttonsOnState})}),n.mouseout(function(){n.css({"background-color":a.buttonsOffState})}));
 a.showBioBut&&(w.click(function(){if("none"==E.css("display")){f.isBioVisible=!0;var b="block",c=1,d="0px";0>L.css("margin-top").substring(0,L.css("margin-top").length-2)?(c=1,b="block",d="0px",L.css({display:b}),a.showRadioStation&&F.css({display:"none"}),a.showTitle&&(k.css({display:"none"}),v.css({display:"none"}),A.css({display:"none"})),a.sticky&&r.css({display:"none"})):(f.isBioVisible=!1,c=0,b="none",d=-1*parseInt(a.imageHeight/2,10)+"px",a.showRadioStation&&F.css({display:"block"}),a.showTitle&&
 (k.css({display:"block"}),v.css({display:"block"}),A.css({display:"block"})),a.sticky&&r.css({display:"block"}));L.animate({opacity:c,"margin-top":d},500,"easeOutQuad",function(){L.css({display:b})})}}),w.mouseover(function(){w.css({"background-color":a.buttonsOnState})}),w.mouseout(function(){w.css({"background-color":a.buttonsOffState})}));a.showLyricsBut&&(t.click(function(){alert("lyrics")}),t.mouseover(function(){t.css({"background-color":a.buttonsOnState})}),t.mouseout(function(){t.css({"background-color":a.buttonsOffState})}));
 T("block",f,a,d,J,E,G,I,g,k,A,B,F,b,h,u,C,m,p,v,l,r,z,q,x,n,y,t,w);f.audioPlayerHeight=h.height();a.showOnlyPlayButton&&(f.audioPlayerHeight=g.height()+2*f.playVerticalPadding);d.height(f.audioPlayerHeight);if(a.startMinified||a.showOnlyPlayButton)f.historyInitialHeight=0;f.wrapperHeight=f.audioPlayerHeight;C.css({border:a.playerBorderSize+"px solid "+a.playerBorderColor,width:d.width()+"px",height:f.wrapperHeight+"px",overflow:"hidden"});a.centerPlayer&&C.css({margin:"0 auto"});a.sticky&&a.startMinified&&
 C.css({display:"none"});var E=e(".thumbsHolderWrapper",d),I=e(".historyPadding",d),G=e(".thumbsHolderVisibleWrapper",d),J=e(".thumbsHolder",d);f.audio9_html5_sliderVertical=e(".slider-vertical",d);I.css({padding:a.historyPadding+"px"});G.append('<div class="readingData">'+a.translateReadingData+"</div>");m.width(a.playerWidth-2*a.historyPadding);m.html(a.historyTranslate);m.css({color:a.historyTitleColor});c=ha(a.historyBgColor);E.css({width:d.width()+"px",top:"0px",left:"0px",background:"rgba("+
 c[0]+", "+c[1]+", "+c[2]+", "+a.historyBgColorAlpha+")",opacity:0,"margin-top":-1*parseInt(a.imageHeight/2,10)+"px",display:"none"});G.width(d.width());var L=e(".thumbsHolderWrapper_bio",d);L.css({display:"none"});var K=e(".historyPadding_bio",d),O=e(".thumbsHolderVisibleWrapper_bio",d),H=e(".historyTitle_bio",d);a.showBioBut&&(K.css({padding:a.historyPadding+"px"}),O.append('<div class="readingData">'+a.translateReadingData+"</div>"),H.width(a.playerWidth-2*a.historyPadding),H.html(a.translateBio),
 H.css({color:a.historyTitleColor}),L.css({width:d.width()+"px",top:"0px",left:"0px",background:"rgba("+c[0]+", "+c[1]+", "+c[2]+", "+a.historyBgColorAlpha+")",opacity:1,"margin-top":-1*parseInt(a.imageHeight/2,10)+"px",display:"none"}),O.width(d.width()),O.height(f.playTopPos-2*a.historyPadding-f.playVerticalPadding),e(".readingData",O).css({color:a.bioAndLyricsColor,width:a.playerWidth-2*a.historyPadding+"px",height:O.height()-H.height()-2*a.historyPadding+"px"}));a.sticky&&(C.addClass("audio9_html5_sticky_div"),
 r.click(function(){C.css({display:"block"});var c=500;if(f.isMinified){f.isMinified=!1;r.removeClass("AudioOpenBut");c="block";f.temp_showHistoryBut=a.showHistoryBut;f.audioPlayerHeight=parseInt(a.playerWidth/a.origWidth*a.imageHeight,10);var e=f.audioPlayerHeight}else f.isMinified=!0,r.addClass("AudioOpenBut"),c="none",f.audioPlayerHeight=p.height(),e=f.audioPlayerHeight,f.temp_showHistoryBut=!1;T(c,f,a,d,J,E,G,I,g,k,A,B,F,b,h,u,C,m,p,v,l,r,z,q,x,n,y,t,w);h.css({display:c});a.startMinified?(c=0,
 a.startMinified=!1):c=500;C.animate({height:e},c,"easeOutQuad",function(){})}));q.slider({value:a.initialVolume,step:.05,orientation:"horizontal",range:"min",max:1,animate:!0,slide:function(b,c){a.initialVolume=c.value;f.isFlashNeeded?f.myFlashObject.myAS3function(Q(f,a,J,d),a.initialVolume):document.getElementById(f.audioID).volume=c.value},stop:function(a,b){}});document.getElementById(f.audioID).volume=a.initialVolume;q.css({background:a.volumeOffColor});e(".ui-slider-range",q).css({background:a.volumeOnColor});
 g.click(function(){var b=f.isFlashNeeded?!g.hasClass("AudioPause"):document.getElementById(f.audioID).paused;ea();0==b?(f.isFlashNeeded?f.myFlashObject.myAS3function("_pause_radio_stream_",a.initialVolume):document.getElementById(f.audioID).pause(),g.removeClass("AudioPause")):(f.isFlashNeeded?f.myFlashObject.myAS3function("_play_radio_stream_",a.initialVolume):(document.getElementById(f.audioID).src=Q(f,a,J,d),document.getElementById(f.audioID).load(),document.getElementById(f.audioID).play()),g.addClass("AudioPause"))});
 g.mouseover(function(){g.css({"background-color":a.buttonsOnState})});g.mouseout(function(){g.css({"background-color":a.buttonsOffState})});z.click(function(){if("none"==L.css("display")){var b="block",c=1,d="0px";0>E.css("margin-top").substring(0,E.css("margin-top").length-2)?(f.isHistoryVisible=!0,c=1,b="block",d="0px",E.css({display:b}),a.showRadioStation&&F.css({display:"none"}),a.showTitle&&(k.css({display:"none"}),v.css({display:"none"}),A.css({display:"none"})),a.sticky&&r.css({display:"none"})):
 (f.isHistoryVisible=!1,c=0,b="none",d=-1*parseInt(a.imageHeight/2,10)+"px",f.gen_total_images>a.numberOfThumbsPerScreen&&f.audio9_html5_sliderVertical.css({opacity:c,display:b}),a.showRadioStation&&F.css({display:"block"}),a.showTitle&&(k.css({display:"block"}),v.css({display:"block"}),A.css({display:"block"})),a.sticky&&r.css({display:"block"}));E.animate({opacity:c,"margin-top":d},500,"easeOutQuad",function(){E.css({display:b});f.gen_total_images>a.numberOfThumbsPerScreen&&f.audio9_html5_sliderVertical.css({opacity:c,
 display:b})})}});z.mouseover(function(){z.css({"background-color":a.buttonsOnState})});z.mouseout(function(){z.css({"background-color":a.buttonsOffState})});x.click(function(){document.getElementById(f.audioID).muted?(document.getElementById(f.audioID).muted=!1,x.removeClass("VolumeButtonMuted"),f.isFlashNeeded&&(a.initialVolume=f.prevVolumeVal,f.myFlashObject.myAS3function(Q(f,a,J,d),a.initialVolume))):(document.getElementById(f.audioID).muted=!0,x.addClass("VolumeButtonMuted"),f.isFlashNeeded&&
 (f.prevVolumeVal=a.initialVolume,a.initialVolume=0,f.myFlashObject.myAS3function(Q(f,a,J,d),a.initialVolume)))});x.mouseover(function(){x.css({"background-color":a.buttonsOnState})});x.mouseout(function(){x.css({"background-color":a.buttonsOffState})});J.swipe({swipeStatus:function(b,c,d,g,h,k){"up"!=d&&"down"!=d||0==g||(currentScrollVal=f.audio9_html5_sliderVertical.slider("value"),currentScrollVal="up"==d?currentScrollVal-1.5:currentScrollVal+1.5,f.audio9_html5_sliderVertical.slider("value",currentScrollVal),
 e("html, body").off("touchstart touchmove").on("touchstart touchmove",function(a){a.preventDefault()}),S(currentScrollVal,f,a,J))},threshold:100,maxTimeThreshold:500,fingers:"all"});f.isFlashNeeded&&(f.rndNum=parseInt(998999*Math.random()+1E3),d.append("<div id='swfHolder"+f.rndNum+"'></div>"),swfobject.addDomLoadEvent(function(){f.myFlashObject=swfobject.createSWF({data:a.pathToAjaxFiles+"flash_player.swf",width:"0",height:"0"},{flashvars:"streamUrl="+a.radio_stream+"&autoPlay="+a.autoPlay+"&initialVolume="+
 a.initialVolume},"swfHolder"+f.rndNum)}),a.autoPlay&&g.addClass("AudioPause"));da(f,a,J,d,g,k,A,B,F,b,h,u,G,E,I,C,m,r,O);-1==N.indexOf("ipad")&&-1==N.indexOf("iphone")&&-1==N.indexOf("ipod")&&-1==N.indexOf("webos")||g.removeClass("AudioPause");var P=function(){""==f.origParentFloat&&(f.origParentFloat=d.parent().css("float"),f.origParentPaddingTop=d.parent().css("padding-top"),f.origParentPaddingRight=d.parent().css("padding-right"),f.origParentPaddingBottom=d.parent().css("padding-bottom"),f.origParentPaddingLeft=
 d.parent().css("padding-left"));a.playerWidth!=a.origWidth||a.playerWidth>e(window).width()?d.parent().css({"float":"none","padding-top":0,"padding-right":0,"padding-bottom":0,"padding-left":0}):d.parent().css({"float":f.origParentFloat,"padding-top":f.origParentPaddingTop,"padding-right":f.origParentPaddingRight,"padding-bottom":f.origParentPaddingBottom,"padding-left":f.origParentPaddingLeft});var c=d.parent().parent().width();d.width()!=c&&(a.playerWidth=a.origWidth+2*a.playerBorderSize>c?c-2*
 a.playerBorderSize:a.origWidth,d.width()!=a.playerWidth&&(T("block",f,a,d,J,E,G,I,g,k,A,B,F,b,h,u,C,m,p,v,l,r,z,q,x,n,y,t,w),f.audioPlayerHeight=h.height(),f.isMinified&&(f.audioPlayerHeight=p.height()),d.height(f.audioPlayerHeight),f.wrapperHeight=f.audioPlayerHeight,C.css({width:d.width()+"px",height:f.wrapperHeight+"px"}),m.width(a.playerWidth-2*a.historyPadding),E.css({width:d.width()+"px",top:"0px"}),G.width(d.width()),R(f,a,d,J,E,G,I,g,k,A,B,F,b,h,u,C,m),a.showBioBut&&(L.css({width:d.width()+
 "px"}),O.width(d.width()),e(".readingData",O).css({width:a.playerWidth-2*a.historyPadding+"px"}))),a.playerWidth<e(window).width()&&d.parent().css({"float":f.origParentFloat,"padding-top":f.origParentPaddingTop,"padding-right":f.origParentPaddingRight,"padding-bottom":f.origParentPaddingBottom,"padding-left":f.origParentPaddingLeft}))},M=!1;e(window).resize(function(){doResizeNow=!0;-1!=D&&9==D&&0==f.windowWidth&&(doResizeNow=!1);f.windowWidth==e(window).width()?(doResizeNow=!1,a.windowCurOrientation!=
 window.orientation&&-1!=navigator.userAgent.indexOf("Android")&&(a.windowCurOrientation=window.orientation,doResizeNow=!0)):f.windowWidth=e(window).width();a.responsive&&doResizeNow&&(!1!==M&&clearTimeout(M),M=setTimeout(function(){P()},300))});a.responsive&&P()})};e.fn.audio9_html5.defaults={radio_stream:"http://194.232.200.150:80/;",radio_name:"Idobi Anthm",playerWidth:355,imageHeight:355,skin:"blackControllers",initialVolume:1,autoPlay:!0,loop:!0,playerBg:"#000000",volumeOffColor:"#454545",volumeOnColor:"#ffffff",
 timerColor:"#ffffff",buttonsOffState:"#FFFFFF",buttonsOnState:"#00AFEF",songTitleColor:"#ffffff",authorTitleColor:"#ffffff",lineSeparatorColor:"#FFFFFF",lineSeparatorOpacity:50,radioStationColor:"#ffffff",frameBehindTextColor:"#000000",frameBehindButtonsColor:"#454545",playerBorderSize:0,playerBorderColor:"#000000",sticky:!1,startMinified:!1,showOnlyPlayButton:!1,centerPlayer:!1,showFacebookBut:!0,facebookAppID:"",facebookShareTitle:"HTML5 Radio Player With History - Shoutcast and Icecast",facebookShareDescription:"A top-notch responsive HTML5 Radio Player compatible with all major browsers and mobile devices.",
 facebookShareImage:"",showVolume:!0,showTwitterBut:!0,showBioBut:!0,showLyricsBut:!1,showRadioStation:!0,showTitle:!0,showHistoryBut:!0,translateReadingData:"reading history...",historyTranslate:"HISTORY - latest played songs",historyTitleColor:"#008aa4",historyBgColor:"#FFFFFF",historyBgColorAlpha:.9,historyRecordBgColor:"transparent",historyRecordBottomBorderColor:"transparent",historyRecordSongColor:"#000000",historyRecordSongBottomBorderColor:"#008aa4",historyRecordAuthorColor:"#6d6d6d",historyRecordThumbBorderColor:"#000000",
 translateBio:"Bio",translateLyrics:"Lyrics",bioAndLyricsColor:"#000000",numberOfThumbsPerScreen:3,historyPadding:16,preserveOriginalUpperLowerCase:!1,centerTitle:!1,responsive:!0,historyRecordTitleLimit:25,historyRecordAuthorLimit:36,nowPlayingInterval:40,grabLastFmPhoto:!0,pathToAjaxFiles:"",noImageAvailable:"noimageavailable.jpg",textureOverImage:"/img/texture4x4_1.png",lastFMApiKey:"",lastFMSecret:"",origWidth:0,isSliderInitialized:!1,isProgressInitialized:!1,isPlaylistSliderInitialized:!1}})(jQuery);</script>
<style>.the_wrapper{box-sizing:content-box}.audio9_html5_sticky_div{position:fixed;z-index:99999;bottom:0;right:0}.xaudioplaylist{display:none}.ui-slider-handle{position:absolute;z-index:2;display:block;margin-left:-.6em;cursor:default;outline:0}.ui-slider-range{display:block;width:100%;height:100%;left:0;bottom:0;border:0 none;position:absolute;z-index:1}.ui-progressbar-value{height:100%}.readingData{color:#090;margin-top:40px;font-size:12px;overflow-x:hidden;overflow-y:auto}.audio9_html5.whiteControllers{position:relative;z-index:1;font:11px Arial,Helvetica,sans-serif;color:#fff;margin:0;padding:0}.audio9_html5.whiteControllers *{-webkit-duration:0s!important;-moz-duration:0s!important;-ms-duration:0s!important;-o-duration:0s!important;transition-duration:0s!important}.audio9_html5.whiteControllers .AudioCloseBut{width:19px;height:13px;position:absolute;right:0;cursor:pointer;z-index:1;background:url(/img/close-off.png) no-repeat}.audio9_html5.whiteControllers .AudioCloseBut:hover{background:url(/img/close-on.png) no-repeat}.audio9_html5.whiteControllers .AudioOpenBut{background:url(/img/open-off.png) no-repeat}.audio9_html5.whiteControllers .AudioOpenBut:hover{background:url(/img/open-on.png) no-repeat}.audio9_html5.whiteControllers .AudioControls{width:100%;margin:0;padding:0}.audio9_html5.whiteControllers .frameBehindButtons{position:absolute;width:100%;height:34px;margin:0;padding:0}.audio9_html5.whiteControllers .frameBehindText{position:absolute;width:100%;margin:0;padding:0}.audio9_html5.whiteControllers .ximage{position:absolute;display:block;border-radius:0}.audio9_html5.whiteControllers .xtexture{position:absolute;display:block;border-radius:0;top:0;left:0}.audio9_html5.whiteControllers .AudioFacebook{position:absolute;cursor:pointer;display:block;margin:0;padding:0;z-index:1;width:18px;height:18px;border-radius:2px;background-image:url(/img/facebook.png);background-repeat:no-repeat}.audio9_html5.whiteControllers .AudioFacebook:hover{background:url(/img/facebook.png) no-repeat}.audio9_html5.whiteControllers .AudioTwitter{position:absolute;cursor:pointer;display:block;margin:0;padding:0;z-index:1;width:18px;height:18px;border-radius:2px;background-image:url(/img/twitter.png);background-repeat:no-repeat}.audio9_html5.whiteControllers .AudioTwitter:hover{background:url(/img/twitter.png) no-repeat}.audio9_html5.whiteControllers .AudioLyrics{position:absolute;cursor:pointer;display:block;margin:0;padding:0;z-index:1;width:19px;height:18px;border-radius:2px;background-image:url(/img/lyrics.png);background-repeat:no-repeat}.audio9_html5.whiteControllers .AudioLyrics:hover{background-image:url(/img/lyrics.png)}.audio9_html5.whiteControllers .AudioBio{position:absolute;cursor:pointer;display:block;margin:0;padding:0;z-index:1;width:19px;height:18px;border-radius:2px;background-image:url(/img/bio.png);background-repeat:no-repeat}.audio9_html5.whiteControllers .AudioBio:hover{background-image:url(/img/bio.png)}.audio9_html5.whiteControllers .AudioPlay{position:absolute;cursor:pointer;display:block;margin:0;padding:0;width:58px;height:58px;border-radius:50px;background-image:url(/img/play.png);background-repeat:no-repeat;xborder-width:2px;xborder-color:transparent;xborder-style:solid}.audio9_html5.whiteControllers .AudioPlay:hover{background-image:url(/img/play.png)}.audio9_html5.whiteControllers .AudioPause{position:absolute;cursor:pointer;display:block;margin:0;padding:0;width:58px;height:58px;background-image:url(/img/pause.png);background-repeat:no-repeat;xborder-width:2px;xborder-color:transparent;xborder-style:solid}.audio9_html5.whiteControllers .AudioPause:hover{background-image:url(/img/pause.png)}.audio9_html5.whiteControllers .AudioShowHidePlaylist{position:absolute;cursor:pointer;display:block;margin:0;padding:0;z-index:1;width:18px;height:18px;border-radius:2px;background-image:url(/img/history.png);background-repeat:no-repeat}.audio9_html5.whiteControllers .AudioShowHidePlaylist:hover{background:url(/img/history.png) no-repeat}.audio9_html5.whiteControllers .VolumeButton{position:absolute;cursor:pointer;display:block;margin:0;padding:0;z-index:1;width:18px;height:18px;border-radius:2px;background-image:url(/img/volume.png);background-repeat:no-repeat}.audio9_html5.whiteControllers .VolumeButton:hover{background:url(/img/volume.png) no-repeat}.audio9_html5.whiteControllers .VolumeButtonMuted{background-image:url(/img/volumeMute.png);background-repeat:no-repeat}.audio9_html5.whiteControllers .VolumeButtonMuted:hover{background:url(/img/volumeMute.png) no-repeat}.audio9_html5.whiteControllers .VolumeSlider{position:absolute;cursor:pointer;display:block;margin:0;padding:0;width:70px;height:4px}.audio9_html5.whiteControllers .VolumeSlider .ui-slider-handle{display:none}.audio9_html5.whiteControllers .VolumeSlider .ui-slider-range{position:relative;height:4px}.audio9_html5.whiteControllers .songTitle{position:absolute;float:left;display:block;overflow:hidden;height:26px;margin:0;padding:0;font-weight:400;text-shadow:0 0 6px #000}.audio9_html5.whiteControllers .songTitleInside{position:absolute;white-space:nowrap;width:auto;text-align:left;font-family:'PT Sans',sans-serif;font-size:23px;line-height:.9em;font-weight:400;text-transform:uppercase;text-align:center;text-shadow:0 0 6px #000}.audio9_html5.whiteControllers .songAuthor{position:absolute;display:block;overflow:hidden;height:17px;margin:0;padding:0;line-height:1em;font-family:'PT Sans',sans-serif;font-size:16px;font-weight:400;text-align:center;text-shadow:0 0 6px #000}.audio9_html5.whiteControllers .songAuthorLineSeparator{position:absolute;display:block;height:1px;xbox-shadow:0 0 6px #000}.audio9_html5.whiteControllers .radioStation{position:absolute;display:block;overflow:hidden;margin:0;padding:0;height:15px;font-size:13px;font-family:'PT Sans',sans-serif;line-height:1;font-weight:400;text-align:left;text-transform:uppercase;xtext-shadow:0 0 1px #000}.audio9_html5.whiteControllers .historyTitle{position:absolute;display:block;overflow:hidden;margin:0;padding:0;font-size:15px;font-family:'PT Sans',sans-serif;text-transform:uppercase;height:18px;color:#858585;line-height:1;font-weight:400;text-align:left}.audio9_html5.whiteControllers .thumbsHolderWrapper{position:absolute;margin-top:0;overflow:hidden}.audio9_html5.whiteControllers .thumbsHolderVisibleWrapper{position:relative;height:100%;overflow:hidden;clear:both}.audio9_html5.whiteControllers .thumbsHolder{position:absolute;text-align:left}.audio9_html5.whiteControllers .thumbsHolder_ThumbOFF{display:block;height:70px;overflow:hidden;border-bottom:1px solid;border-bottom-color:transparent;line-height:2.5em}.audio9_html5.whiteControllers .thumbsHolder_ThumbOFF .padding{padding:4px 0 4px 0}.audio9_html5.whiteControllers .thumbsHolder_ThumbOFF .titlex{font-family:'PT Sans',sans-serif;letter-spacing:.5px;font-weight:400;display:inline-block;font-size:18px;line-height:1.5;padding:0;margin:0;padding-bottom:0;overflow:hidden;display:block;border-bottom:1px solid;border-bottom-color:transparent}.audio9_html5.whiteControllers .thumbsHolder_ThumbOFF .authorx{font-family:'PT Sans',sans-serif;font-weight:400;font-size:14px;line-height:2;padding:0;margin:0;overflow:hidden;display:block}.audio9_html5.whiteControllers .thumbsHolder_ThumbOFF .img_div{position:relative;background-repeat:no-repeat;background-position:top center;background-size:cover;width:55px;height:55px;float:left;margin-right:10px}.audio9_html5.whiteControllers .slider-vertical{display:none;position:absolute;width:9px}.audio9_html5.whiteControllers .slider-vertical.ui-slider{position:relative}.audio9_html5.whiteControllers .slider-vertical.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:9px;height:16px;cursor:pointer;background:url(/img/scrollerFaceOFF.png) 0 0 no-repeat}.audio9_html5.whiteControllers .slider-vertical.ui-slider .ui-slider-handle:hover{background:url(/img/scrollerFaceON.png) 0 0 no-repeat}.audio9_html5.whiteControllers .slider-vertical.ui-slider .ui-slider-range{position:absolute;z-index:1;display:block;border:0}.audio9_html5.whiteControllers .slider-vertical.ui-slider-vertical{width:9px;height:100px}.audio9_html5.whiteControllers .slider-vertical.ui-slider-vertical .ui-slider-handle{left:0;margin-left:0;margin-bottom:-16px;border:0}.audio9_html5.whiteControllers .slider-vertical.ui-slider-vertical .ui-slider-range{left:0;width:100%}.audio9_html5.whiteControllers .slider-vertical.ui-slider-vertical .ui-slider-range-min{bottom:0}.audio9_html5.whiteControllers .slider-vertical.ui-slider-vertical .ui-slider-range-max{top:0}.audio9_html5.whiteControllers .historyTitle_bio{position:absolute;display:block;overflow:hidden;margin:0;padding:0;font-size:15px;font-family:'PT Sans',sans-serif;text-transform:uppercase;height:18px;color:#858585;line-height:1;font-weight:400;text-align:left}.audio9_html5.whiteControllers .thumbsHolderWrapper_bio{position:absolute;margin-top:0;overflow:hidden}.audio9_html5.whiteControllers .thumbsHolderVisibleWrapper_bio{position:relative;height:100%;overflow:hidden;clear:both}.audio9_html5.whiteControllers .thumbsHolder_bio{position:absolute;text-align:left;width:200px;height:20px}.audio9_html5.blackControllers{position:relative;z-index:1;font:11px Arial,Helvetica,sans-serif;color:#fff;margin:0;padding:0}.audio9_html5.blackControllers *{-webkit-duration:0s!important;-moz-duration:0s!important;-ms-duration:0s!important;-o-duration:0s!important;transition-duration:0s!important}.audio9_html5.blackControllers .AudioCloseBut{width:19px;height:13px;position:absolute;right:0;cursor:pointer;z-index:1;background:url(/img/close-off.png) no-repeat}.audio9_html5.blackControllers .AudioCloseBut:hover{background:url(/img/close-on.png) no-repeat}.audio9_html5.blackControllers .AudioOpenBut{background:url(/img/open-off.png) no-repeat}.audio9_html5.blackControllers .AudioOpenBut:hover{background:url(/img/open-on.png) no-repeat}.audio9_html5.blackControllers .AudioControls{width:100%;margin:0;padding:0}.audio9_html5.blackControllers .frameBehindButtons{position:absolute;width:100%;height:34px;margin:0;padding:0}.audio9_html5.blackControllers .frameBehindText{position:absolute;width:100%;margin:0;padding:0}.audio9_html5.blackControllers .ximage{position:absolute;display:block;border-radius:0}.audio9_html5.blackControllers .xtexture{position:absolute;display:block;border-radius:0;top:0;left:0}.audio9_html5.blackControllers .AudioFacebook{position:absolute;cursor:pointer;display:block;margin:0;padding:0;z-index:1;width:18px;height:18px;border-radius:2px;background-image:url(/img/facebook.png);background-repeat:no-repeat}.audio9_html5.blackControllers .AudioFacebook:hover{background:url(/img/hover/facebook.png) no-repeat}.audio9_html5.blackControllers .AudioTwitter{position:absolute;cursor:pointer;display:block;margin:0;padding:0;z-index:1;width:18px;height:18px;border-radius:2px;background-image:url(/img/twitter.png);background-repeat:no-repeat}.audio9_html5.blackControllers .AudioTwitter:hover{background:url(/img/hover/twitter.png) no-repeat}.audio9_html5.blackControllers .AudioLyrics{position:absolute;cursor:pointer;display:block;margin:0;padding:0;z-index:1;width:19px;height:18px;border-radius:2px;background-image:url(/img/lyrics.png);background-repeat:no-repeat}.audio9_html5.blackControllers .AudioLyrics:hover{background-image:url(/img/hover/lyrics.png)}.audio9_html5.blackControllers .AudioBio{position:absolute;cursor:pointer;display:block;margin:0;padding:0;z-index:1;width:19px;height:18px;border-radius:2px;background-image:url(/img/bio.png);background-repeat:no-repeat}.audio9_html5.blackControllers .AudioBio:hover{background-image:url(/img/hover/bio.png)}.audio9_html5.blackControllers .AudioPlay{position:absolute;cursor:pointer;display:block;margin:0;padding:0;width:58px;height:58px;border-radius:50px;background-image:url(/img/play.png);background-repeat:no-repeat}.audio9_html5.blackControllers .AudioPlay:hover{background:url(/img/hover/play.png) no-repeat}.audio9_html5.blackControllers .AudioPause{position:absolute;cursor:pointer;display:block;margin:0;padding:0;width:58px;height:58px;background-image:url(/img/pause.png);background-repeat:no-repeat}.audio9_html5.blackControllers .AudioPause:hover{background:url(/img/hover/pause.png) no-repeat}.audio9_html5.blackControllers .AudioShowHidePlaylist{position:absolute;cursor:pointer;display:block;margin:0;padding:0;z-index:1;width:18px;height:18px;border-radius:2px;background-image:url(/img/history.png);background-repeat:no-repeat}.audio9_html5.blackControllers .AudioShowHidePlaylist:hover{background:url(/img/hover/history.png) no-repeat}.audio9_html5.blackControllers .VolumeButton{position:absolute;cursor:pointer;display:block;margin:0;padding:0;z-index:1;width:18px;height:18px;border-radius:2px;background-image:url(/img/volume.png);background-repeat:no-repeat}.audio9_html5.blackControllers .VolumeButton:hover{background:url(/img/hover/volume.png) no-repeat}.audio9_html5.blackControllers .VolumeButtonMuted{background-image:url(/img/volumeMute.png);background-repeat:no-repeat}.audio9_html5.blackControllers .VolumeButtonMuted:hover{background:url(/img/hover/volumeMute.png) no-repeat}.audio9_html5.blackControllers .VolumeSlider{position:absolute;cursor:pointer;display:block;margin:0;padding:0;width:70px;height:4px}.audio9_html5.blackControllers .VolumeSlider .ui-slider-handle{display:none}.audio9_html5.blackControllers .VolumeSlider .ui-slider-range{position:relative;height:4px}.audio9_html5.blackControllers .songTitle{position:absolute;float:left;display:block;overflow:hidden;height:26px;margin:0;padding:0;font-weight:400;text-shadow:0 0 6px #000}.audio9_html5.blackControllers .songTitleInside{position:absolute;white-space:nowrap;width:auto;text-align:left;font-family:'PT Sans',sans-serif;font-size:23px;line-height:.9em;font-weight:400;text-transform:uppercase;text-align:center;text-shadow:0 0 6px #000}.audio9_html5.blackControllers .songAuthor{position:absolute;display:block;overflow:hidden;height:17px;margin:0;padding:0;line-height:1em;font-family:'PT Sans',sans-serif;font-size:16px;font-weight:400;text-align:center;text-shadow:0 0 6px #000}.audio9_html5.blackControllers .songAuthorLineSeparator{position:absolute;display:block;height:1px;xbox-shadow:0 0 6px #000}.audio9_html5.blackControllers .radioStation{position:absolute;display:block;overflow:hidden;margin:0;padding:0;height:15px;font-size:13px;font-family:'PT Sans',sans-serif;line-height:1;font-weight:400;text-align:left;text-transform:uppercase;xtext-shadow:0 0 1px #000}.audio9_html5.blackControllers .historyTitle{position:absolute;display:block;overflow:hidden;margin:0;padding:0;font-size:15px;font-family:'PT Sans',sans-serif;text-transform:uppercase;height:18px;color:#858585;line-height:1;font-weight:400;text-align:left}.audio9_html5.blackControllers .thumbsHolderWrapper{position:absolute;margin-top:0;overflow:hidden}.audio9_html5.blackControllers .thumbsHolderVisibleWrapper{position:relative;height:100%;overflow:hidden;clear:both}.audio9_html5.blackControllers .thumbsHolder{position:absolute;text-align:left}.audio9_html5.blackControllers .thumbsHolder_ThumbOFF{display:block;height:70px;overflow:hidden;border-bottom:1px solid;border-bottom-color:transparent;line-height:2.5em}.audio9_html5.blackControllers .thumbsHolder_ThumbOFF .padding{padding:4px 0 4px 0}.audio9_html5.blackControllers .thumbsHolder_ThumbOFF .titlex{font-family:'PT Sans',sans-serif;letter-spacing:.5px;font-weight:400;display:inline-block;font-size:18px;line-height:1.5;padding:0;margin:0;padding-bottom:0;overflow:hidden;display:block;border-bottom:1px solid;border-bottom-color:transparent}.audio9_html5.blackControllers .thumbsHolder_ThumbOFF .authorx{font-family:'PT Sans',sans-serif;font-weight:400;font-size:14px;line-height:2;padding:0;margin:0;overflow:hidden;display:block}.audio9_html5.blackControllers .thumbsHolder_ThumbOFF .img_div{position:relative;background-repeat:no-repeat;background-position:top center;background-size:cover;width:55px;height:55px;float:left;margin-right:10px}.audio9_html5.blackControllers .slider-vertical{display:none;position:absolute;width:9px}.audio9_html5.blackControllers .slider-vertical.ui-slider{position:relative}.audio9_html5.blackControllers .slider-vertical.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:9px;height:16px;cursor:pointer;background:url(/img/scrollerFaceOFF.png) 0 0 no-repeat}.audio9_html5.blackControllers .slider-vertical.ui-slider .ui-slider-handle:hover{background:url(/img/scrollerFaceON.png) 0 0 no-repeat}.audio9_html5.blackControllers .slider-vertical.ui-slider .ui-slider-range{position:absolute;z-index:1;display:block;border:0}.audio9_html5.blackControllers .slider-vertical.ui-slider-vertical{width:9px;height:100px}.audio9_html5.blackControllers .slider-vertical.ui-slider-vertical .ui-slider-handle{left:0;margin-left:0;margin-bottom:-16px;border:0}.audio9_html5.blackControllers .slider-vertical.ui-slider-vertical .ui-slider-range{left:0;width:100%}.audio9_html5.blackControllers .slider-vertical.ui-slider-vertical .ui-slider-range-min{bottom:0}.audio9_html5.blackControllers .slider-vertical.ui-slider-vertical .ui-slider-range-max{top:0}.audio9_html5.blackControllers .historyTitle_bio{position:absolute;display:block;overflow:hidden;margin:0;padding:0;font-size:15px;font-family:'PT Sans',sans-serif;text-transform:uppercase;height:18px;color:#858585;line-height:1;font-weight:400;text-align:left}.audio9_html5.blackControllers .thumbsHolderWrapper_bio{position:absolute;margin-top:0;overflow:hidden}.audio9_html5.blackControllers .thumbsHolderVisibleWrapper_bio{position:relative;height:100%;overflow:hidden;clear:both}.audio9_html5.blackControllers .thumbsHolder_bio{position:absolute;text-align:left;width:200px;height:20px}</style>
</head>
<body>
<div class="audio9_html5"><audio id="zuper-player" preload="metadata"></audio></div>
        <script>
		jQuery(function() {
        setTimeout(function(){
              jQuery("#zuper-player").audio9_html5({
                    radio_stream:"<?php echo $url_streaming; ?>",
                    radio_name:"<?php echo $dados_stm["streamtitle"]; ?>",
                    playerWidth:350,
                    imageHeight:350,
                    skin:"blackControllers",
                    responsive:true,
                    grabLastFmPhoto:true,
                    autoPlay:true,
                    songTitleColor:"#ffffff",
                    authorTitleColor:"#ffffff",
                    lineSeparatorColor:"#ff8800",
                    lineSeparatorOpacity:50,
                    radioStationColor:"#ffffff",
                    frameBehindTextColor:"/img/zuper-minimalBGD5.jpg",
                    buttonsOffState:"#ff8800",
                    buttonsOnState:"#ff8800",
                    sticky:false,
                    startMinified:false,
                    centerPlayer:true,
                    centerTitle:false,
                    playerBorderSize:8,
                    playerBorderColor:"#e64d00",
                    showFacebookBut:true,
                    facebookAppID:"",
                    facebookShareTitle:"<?php echo $dados_stm["streamtitle"]; ?>",
                    facebookShareDescription:"<?php echo $dados_stm["streamtitle"]; ?>",
                    facebookShareImage:"",
                    showTwitterBut:true,
                    showVolume:true,
                    showBioBut:true,
                    translateBio:"Bio",
                    bioAndLyricsColor:"#000000",
                    showRadioStation:true,
                    showTitle:true,
                    showHistoryBut:true,
                    translateReadingData:"reading data...",
                    historyTranslate:"HISTORY - latest played songs",
                    historyTitleColor:"#000000",
                    historyBgColor:"#ff8800",
                    historyBgColorAlpha:0.9,
                    historyRecordBgColor:"transparent",
                    historyRecordBottomBorderColor:"transparent",
                    historyRecordSongColor:"#000000",
                    historyRecordSongBottomBorderColor:"#555555",
                    historyRecordAuthorColor:"#333333",
                    historyRecordThumbBorderColor:"#000000",
                    numberOfThumbsPerScreen:3,
                    historyPadding:16,
                    historyRecordTitleLimit:25,
                    historyRecordAuthorLimit:36,
                    nowPlayingInterval:40,
                    noImageAvailable:"https://i.pinimg.com/originals/03/2b/08/032b0870b9053a191b67dc8c3f340345.gif",
                    textureOverImage:"/img/zuper-texture8x8.png"
              });
        }, 1000);
    });
       </script>

</body>
</html>