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

if(!is_numeric($porta)) {
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 = utf8_decode($musica_completa);
echo str_replace("_"," ",$musica_completa);

exit();
}

$url_proxy_musica_atual = "https://player.".$dados_config["dominio_padrao"]."/musica-atual/".$dados_stm["porta"]."?";
$url_source_streaming = "https://".strtolower($dados_servidor["nome"]).".".$dados_config["dominio_padrao"].":".$dados_stm["porta"]."";

$url_streaming = "https://".strtolower($dados_servidor["nome"]).".".$dados_config["dominio_padrao"].":".$dados_stm["porta"]."";

?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
	body{margin: 0px; padding: 0px; width: 100%; height: 465px; overflow: hidden;}	
</style>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#626262">
<meta name="owner" content=""/>
<meta http-equiv="content-language" content="Portuguese">
<meta name="rating" content="General"/>
<meta name="robots" content="index,follow"/>
<meta name="revist-after" content="1 days"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"></script>
<style>
    .top-players{
   list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    
}
.top-players li{
    background:rgba(2,152,183,1.00);    
    width:50%; 
    text-align: center; 
    font-weight: bold; 
}
.top-players li #status{
    margin: 0 !important;    
}

html, body {
	
	background-position: center center;
	background-repeat:  no-repeat;
	background-attachment: fixed;
	background-size:  cover;

	background-image:url(/img/img-fundo-player-full.jpg);
}
</style>
<meta charset="iso-8859-1"/>
</head>
<body>
<div style="height: 100%; overflow: hidden;">
<div style="z-index: 99999;position: absolute; margin-top: 400px; margin-left: 2%;">
<div class='playlist-atual' style=' color:#FFF; '>
</div>	
</div>
<section class=" p-0" id="inicio">
<div id="myappasbhost-" style='height:100%; width:100%;
-webkit-border-top-left-radius: 0;
  -webkit-border-top-right-radius: 0;
  -webkit-border-bottom-right-radius: 0;
  -webkit-border-bottom-left-radius: 0;
  -moz-border-radius-topleft: 0;
  -moz-border-radius-topright: 0;
  -moz-border-radius-bottomright: 0;
  -moz-border-radius-bottomleft: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border: 0px none rgb(255, 255, 255);'>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script>
(function(a,k){"function"===typeof define&&define.amd?define(["jquery"],k):a.jQuery?k(a.jQuery):k(a.Zepto)})(this,function(a,k){a.fn.flashradio=function(g){var f="string"===typeof g,q=Array.prototype.slice.call(arguments,1),D=this;g=!f&&q.length?a.extend.apply(null,[!0,g].concat(q)):g;if(f&&"_"===g.charAt(0))return D;f?this.each(function(){var f=a(this).data("flashradio"),P=f&&a.isFunction(f[g])?f[g].apply(f,q):f;if(P!==f&&P!==k)return D=P,!1}):this.each(function(){a(this).data("flashradio",new a.flashradio(this,
	g))});return D};a.flashradio=function(g,f){function q(a){var b=document.createElement("link");b.type="text/css";b.rel="stylesheet";b.href="https://fonts.googleapis.com/css?family="+a;document.getElementsByTagName("head")[0].appendChild(b)}function D(){navigator.userAgent.toString().toLowerCase();try{var h=window.localStorage.getItem(b+"volume");null!==h&&(B=h)}catch(y){C(y)}Fa()&&(B=100);""!=Sa&&q(Sa);""!=Ta&&q(Ta);Ua=document.getElementById(b);Ua.innerHTML="";a("#"+b).addClass("sodahnativeflashradio4").css({overflow:"hidden",
	display:"block"});E=document.createElement("div");E.id=b+"containerinside";Ua.appendChild(E);a("#"+b+"containerinside").css({position:"relative",left:"0px",top:"0px",height:"100%",width:"100%",background:Va});"big"==u&&(pa()||(h=document.createElement("img"),h.id=b+"coverblurshadow1",E.appendChild(h),a("#"+b+"coverblurshadow1").css({"z-index":"17","-webkit-filter":"blur(40px)",filter:"blur(40px)",opacity:"1",position:"absolute","border-radius":"50%",padding:"0",margin:"0"}).disableSelection(),h=document.createElement("img"),
	h.id=b+"coverblurshadow2",E.appendChild(h),a("#"+b+"coverblurshadow2").css({"z-index":"18","-webkit-filter":"blur(40px)",filter:"blur(40px)",opacity:"1",position:"absolute","border-radius":"50%",padding:"0",margin:"0"}).disableSelection()),h=document.createElement("div"),h.id=b+"volumecontrollerbackground",E.appendChild(h),a("#"+b+"volumecontrollerbackground").css({"z-index":"19",position:"absolute","background-color":G,opacity:"0.1",left:"20px",height:"3px",overflow:"hidden","border-radius":"1.5px"}).disableSelection());
	La=document.createElement("div");La.id=b+"volumecontroller";E.appendChild(La);a("#"+b+"volumecontroller").css({"z-index":"20",position:"absolute","background-color":Mb}).disableSelection();"big"==u&&a("#"+b+"volumecontroller").css({"background-color":G,left:"20px",height:"3px",width:"0","border-radius":"1.5px"});"big"==u?(h=document.createElement("div"),h.id=b+"volumeicon",La.appendChild(h),a("#"+b+"volumeicon").css({"z-index":"20",position:"absolute",top:"-3px",right:"-20px",height:"8.891px",width:"40px",
	padding:"0",margin:"0","line-height":"0px","background-color":G,fill:m}).html('<svg version="1.1" id="Ebene_3" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 548 122" style="enable-background:new 0 0 548 122;" xml:space="preserve"><path d="M535.5,0.5h-523c-6.6,0-12,5.4-12,12v97c0,6.6,5.4,12,12,12h523c6.6,0,12-5.4,12-12v-97C547.5,5.9,542.1,0.5,535.5,0.5z M231.5,105.5h-24v-89h24V105.5z M286.5,105.5h-24v-89h24V105.5z M340.5,105.5h-24v-89h24V105.5z"/></svg>').disableSelection(),
	h=document.createElement("div"),h.id=b+"temp_stationname",E.appendChild(h),a("#"+b+"temp_stationname").css({"z-index":"0","font-family":ha,overflow:"visible",position:"absolute",opacity:0,"text-align":"left","white-space":"nowrap",height:"24px","font-size":"16px",lineHeight:"16px"}).disableSelection(),h=document.createElement("div"),h.id=b+"temp_artist",E.appendChild(h),a("#"+b+"temp_artist").css({"z-index":"0","font-family":ha,overflow:"visible",position:"absolute",opacity:0,"text-align":"left",
	"white-space":"nowrap",height:"30px","font-size":"20px",lineHeight:"20px"}).disableSelection(),h=document.createElement("div"),h.id=b+"temp_songtitle",E.appendChild(h),a("#"+b+"temp_songtitle").css({"z-index":"0","font-family":ha,overflow:"visible",position:"absolute",opacity:0,"text-align":"left","white-space":"nowrap",height:"24px","font-size":"16px",lineHeight:"16px"}).disableSelection()):(Wa=document.createElement("div"),Wa.id=b+"temp_song",E.appendChild(Wa),a("#"+b+"temp_song").css({position:"absolute",
	"z-index":"0","font-family":ha,overflow:"visible",opacity:0,"text-align":"left","white-space":"nowrap"}).disableSelection(),Xa=document.createElement("div"),Xa.id=b+"temp_radio",E.appendChild(Xa),a("#"+b+"temp_radio").css({position:"absolute","z-index":"0","font-family":Ma,overflow:"visible",opacity:0,"text-align":"left","white-space":"nowrap"}).disableSelection());try{d=document.createElement("canvas"),d.id=b+"canvas",E.appendChild(d),a("#"+b+"canvas").css({"z-index":"21",display:"block",background:"none",
	position:"absolute"}),"big"==u&&a("#"+b+"canvas").css({"z-index":"5"}),c=d.getContext("2d"),c.fillStyle=m}catch(y){C(y)}"big"==u?(h=document.createElement("div"),h.id=b+"stationname",E.appendChild(h),a("#"+b+"stationname").css({"z-index":"22","font-family":Ma,overflow:"hidden",position:"absolute",left:"20px",color:G,"text-align":"left","white-space":"nowrap",height:"24px","font-size":"20px",lineHeight:"16px","text-shadow":"0px 0px 5px rgba("+p(ea).r+", "+p(ea).g+", "+p(ea).b+", 0.6)"}).disableSelection(),
	h=document.createElement("div"),h.id=b+"artist",E.appendChild(h),a("#"+b+"artist").css({"z-index":"22","font-family":ha,overflow:"hidden",position:"absolute",left:"20px",color:G,"text-align":"left","white-space":"nowrap",height:"30px","font-size":"20px",lineHeight:"20px","text-shadow":"0px 0px 5px rgba("+p(ea).r+", "+p(ea).g+", "+p(ea).b+", 0.6)"}).disableSelection(),h=document.createElement("div"),h.id=b+"songtitle",E.appendChild(h),a("#"+b+"songtitle").css({"z-index":"22",position:"absolute",left:"20px",
	overflow:"hidden","font-family":ha,color:G,"white-space":"nowrap",height:"24px","font-size":"16px",lineHeight:"16px","text-shadow":"0px 0px 5px rgba("+p(ea).r+", "+p(ea).g+", "+p(ea).b+", 0.6)"}).disableSelection()):(channelname=document.createElement("div"),channelname.id=b+"channelname",E.appendChild(channelname),a("#"+b+"channelname").css({position:"absolute","z-index":"22",overflow:"hidden","font-family":Ma,color:G,"white-space":"nowrap","text-align":"left"}).disableSelection(),Ya=document.createElement("div"),
	Ya.id=b+"statustext",E.appendChild(Ya),a("#"+b+"statustext").css({position:"absolute","z-index":"22",overflow:"hidden","font-family":ha,color:G,"white-space":"nowrap","text-align":"left"}).disableSelection());qa=document.createElement("div");qa.id=b+"volumesetcontainer";E.appendChild(qa);a("#"+b+"volumesetcontainer").css({position:"absolute","z-index":"43"}).disableSelection();"big"==u&&a("#"+b+"volumesetcontainer").css({height:"40px",width:"40px",bottom:"40px",right:"20px"});Za=document.createElement("div");
	Za.id=b+"volumeupbutton";qa.appendChild(Za);a("#"+b+"volumeupbutton").css({position:"absolute",fill:G}).html('<svg xmlns="http://www.w3.org/2000/svg"xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 800 800"><path fill-rule="evenodd" clip-rule="evenodd" d="M545.676,86.489c14.686-2.451,25.617,5.51,36.586,10.976 c50.467,25.145,90.846,61.559,121.957,105.695c36.729,52.107,62.104,111.54,63.418,197.163 c0.619,40.392-6.879,78.427-18.293,110.574c-11.559,32.553-26.215,59.762-44.717,85.369 c-27.123,37.537-59.275,70.676-100.818,94.313c-6.74,3.836-13.5,8.24-20.732,11.789c-13.199,6.479-33.148,18.762-49.189,6.098 c-9.744-7.693-15.137-23.627-7.316-36.586c5.221-8.65,14.797-12.842,24.391-17.074c19.174-8.459,36.504-19.939,52.441-32.521 c42.008-33.164,74.291-75.611,93.092-132.932c8.752-26.68,17.211-60.645,14.23-97.159c-0.783-9.597-0.719-18.443-1.627-26.831 c-2.674-24.729-8.688-46.792-17.074-67.482c-10.945-26.999-23.814-50.801-40.652-72.36c-7.646-9.793-16.938-20.547-26.83-29.676 c-19.475-17.972-41.15-34.263-65.855-47.156c-14.627-7.633-34.898-12.01-36.182-33.741 C521.668,100.793,533.361,88.544,545.676,86.489z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M342.417,131.613c13.52-0.659,24.913,8.526,28.049,19.919 c2.251,8.171,1.22,19.046,1.22,30.083c0,145.936,0,287.211,0,434.165c0,10.596,1.203,21.74-0.407,30.488 c-2.75,14.943-20.474,27.541-38.619,19.92c-7.665-3.219-14.735-11.482-21.139-17.887c-42.516-42.516-83.082-83.488-126.021-126.428 c-3.266-3.268-7.283-7.953-10.569-8.539c-9.47-1.68-20.244,0-30.083,0c-19.667,0-39.878,0-60.166,0 c-10.165,0-20.518,1.055-29.27-0.813c-10.942-2.334-20.231-10.883-22.358-21.139c-1.349-6.498-0.407-14.875-0.407-22.764 c0-46.528,0-90.371,0-137.405c0-10.514-0.845-21.152,2.439-28.049c3.64-7.646,11.651-14.358,22.358-15.854 c17.026-2.38,39.482-0.407,58.133-0.407c21.264,0,40.268,0,58.539,0c5.924,0,17.312-14.872,21.139-18.7 c38.748-38.748,76.943-76.537,116.265-115.858C320.443,143.423,326.955,132.366,342.417,131.613z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M504.212,190.151c11.813-0.833,23.587,6.137,33.741,11.789 c28.867,16.071,53.221,37.1,71.547,62.604c12.014,16.717,24.061,35.695,31.709,57.726c7.678,22.119,12.268,47.98,13.414,75.207 c1.213,28.769-5.297,54.604-12.602,76.831c-14.658,44.607-41.742,77.303-74.393,104.477c-7.686,6.396-16.842,12.406-26.83,17.887 c-12.879,7.066-29.714,18.773-46.343,10.977c-12.367-5.799-21.715-23.805-12.604-39.434c5.439-9.326,16.416-13.232,25.611-18.293 c33.083-18.203,60.483-44.904,76.019-81.303c10.098-23.66,17.5-53.273,13.822-87.81c-2.361-22.174-9.406-41.17-17.074-56.913 c-8.992-18.46-23.578-37.04-38.619-50.002c-12.168-10.487-24.719-18.474-39.839-26.423c-12.549-6.597-28.033-16.262-22.766-37.4 C481.554,199.86,491.683,191.036,504.212,190.151z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M456.649,294.627c12.543-2.064,22.457,3.727,31.303,8.943 c18.758,11.064,33.714,28.004,43.089,48.376c5.629,12.23,10.859,30.956,10.57,47.969c-0.658,38.536-18.93,70.033-41.466,88.215 c-4.451,3.594-10.027,6.871-15.854,10.164c-5.461,3.084-11.988,6.908-17.887,7.723c-14.371,1.984-26.4-7.043-30.488-16.666 c-2.91-6.854-3.279-16.693,0.406-23.58c7.52-14.049,26.189-18.113,36.586-30.082c5.488-6.314,9.74-14.529,11.383-23.577\tc4.76-26.199-5.623-44.244-19.512-54.475c-9.348-6.883-21.275-12.916-28.457-23.171 C428.942,315.932,439.655,297.505,456.649,294.627z"/></svg>').disableSelection();
	"big"==u&&a("#"+b+"volumeupbutton").css({height:"40px",width:"40px"});$a=document.createElement("div");$a.id=b+"volumeoffbutton";qa.appendChild($a);a("#"+b+"volumeoffbutton").css({position:"absolute",fill:G,visibility:"hidden"}).html('<svg xmlns="http://www.w3.org/2000/svg"xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 800 800"><path fill-rule="evenodd" clip-rule="evenodd" d="M342.417,131.613c13.52-0.659,24.913,8.526,28.049,19.919 c2.251,8.171,1.22,19.046,1.22,30.083c0,145.936,0,287.211,0,434.165c0,10.596,1.203,21.74-0.407,30.488 c-2.75,14.943-20.474,27.541-38.619,19.92c-7.665-3.219-14.735-11.482-21.139-17.887c-42.516-42.516-83.082-83.488-126.021-126.428 c-3.266-3.268-7.283-7.953-10.569-8.539c-9.47-1.68-20.244,0-30.083,0c-19.667,0-39.878,0-60.166,0 c-10.165,0-20.518,1.055-29.27-0.813c-10.942-2.334-20.231-10.883-22.358-21.139c-1.349-6.498-0.407-14.875-0.407-22.764 c0-46.528,0-90.371,0-137.405c0-10.514-0.845-21.152,2.439-28.049c3.64-7.646,11.651-14.358,22.358-15.854 c17.026-2.38,39.482-0.407,58.133-0.407c21.264,0,40.268,0,58.539,0c5.924,0,17.312-14.872,21.139-18.7 c38.748-38.748,76.943-76.537,116.265-115.858C320.443,143.423,326.955,132.366,342.417,131.613z"/></svg>').disableSelection();
	"big"==u&&a("#"+b+"volumeoffbutton").css({height:"40px",width:"40px"});"small"==u&&(wa=document.createElement("div"),wa.id=b+"volumetext",qa.appendChild(wa),a("#"+b+"volumetext").css({position:"absolute","font-family":ha,color:G,"white-space":"nowrap","text-align":"center"}).disableSelection());Na=document.createElement("img");Na.id=b+"volumehit";qa.appendChild(Na);Na.src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///////wAAACH5BAEAAAIALAAAAAABAAEAAAICVAEAOw%3D%3D";a("#"+b+"volumehit").css({position:"absolute",
	cursor:"pointer","z-index":"24",padding:"0",margin:"0"});Fa()||a("#"+b+"volumehit").mouseenter(function(){0==B?(a("#"+b+"volumeoffbutton").stop(),a("#"+b+"volumeoffbutton").animate({opacity:.5},200,function(){})):(a("#"+b+"volumeupbutton").stop(),a("#"+b+"volumeupbutton").animate({opacity:.5},200,function(){}))}).mouseleave(function(){0==B?(a("#"+b+"volumeoffbutton").stop(),a("#"+b+"volumeoffbutton").animate({opacity:1},200,function(){})):(a("#"+b+"volumeupbutton").stop(),a("#"+b+"volumeupbutton").animate({opacity:1},
	200,function(){}))}).click(function(){0==B?(B=Nb,P(B)):(Nb=B,P(0,B),B=0);A()});a("#"+b+"volumehit").disableSelection();"big"==u&&a("#"+b+"volumehit").css({height:"40px",width:"40px"});if("true"==ka){a("#"+b+"volumetext").css({opacity:.25});"small"==u&&(a("#"+b+"volumeupbutton").css({opacity:.25}),a("#"+b+"volumeoffbutton").css({opacity:.25}));h=document.createElement("div");h.id=b+"imagecontainer";E.appendChild(h);a("#"+b+"imagecontainer").css({position:"absolute","z-index":"19","background-color":m,
	"box-sizing":"border-box","-moz-box-sizing":"border-box","-webkit-box-sizing":"border-box",border:"2px solid "+m}).disableSelection();"big"==u&&a("#"+b+"imagecontainer").css({overflow:"hidden","background-color":"transparent","border-radius":"50%",border:"0"});var l=document.createElement("img");l.id=b+"imagehit1";h.appendChild(l);a("#"+b+"imagehit1").css({position:"absolute","z-index":"21",top:"0px",left:"0px",height:"100%",width:"100%",cursor:"pointer",padding:"0",margin:"0"}).click(function(){""!=
	la&&window.open(la)}).fadeOut(0).disableSelection();l=document.createElement("img");l.id=b+"imagehit2";h.appendChild(l);a("#"+b+"imagehit2").css({position:"absolute","z-index":"20",top:"0px",left:"0px",height:"100%",width:"100%",cursor:"pointer",padding:"0",margin:"0"}).click(function(){""!=la&&window.open(la)}).fadeOut(0).disableSelection();"big"==u&&a("#"+b+"imagehit1, #"+b+"imagehit2").css({"box-sizing":"border-box","-moz-box-sizing":"border-box","-webkit-box-sizing":"border-box",border:"20px solid rgba("+
	p(G).r+", "+p(G).g+", "+p(G).b+", 0.25)","border-radius":"50%"})}else a("#"+b+"volumesetcontainer").css({"background-color":m});Oa=document.createElement("img");Oa.id=b+"volumegrab";Oa.src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///////wAAACH5BAEAAAIALAAAAAABAAEAAAICVAEAOw%3D%3D";E.appendChild(Oa);a("#"+b+"volumegrab").css({position:"absolute","z-index":"44",padding:"0",margin:"0"}).disableSelection();"big"==u&&a("#"+b+"volumegrab").css({left:"20px"});Fa()||(a("#"+b+"volumegrab").mouseover(function(h){a("#"+
	b+"volumegrab").css("cursor","url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNAay06AAAALlSURBVEiJxZe9bhNBEMd/5zsSkhjs0Fi0SYG7CAmltQUpeAGeISmTB6CFSOQFkoKOwqJAQAQNCCHyIUs0KYAiEmUaQ2GshORuPyhu196c95wLSHik0a3v7P3Nf2Zudx1orRmHlcZCHSc48t0MgqDIbwPjANr4SHPL6gWPsJIDe2k+PwAUIIwXaxqt9ZB7LAC2gTfANeCtNga8A24CVeAqEDrB5bKKgrctaHNzU5fLZe2Aj42/B2omsEkTQC64SHOVgMaI54GUcjqO47vAd+AFcB2YAq7kqS8K9ppSCiAQQiCEAAi63e494DkwC0yT9tEQvAjY7V7m5+cBkFJaGEmS9MFCCDqdTgN4Rlr3aTxpLwLWwMOtrS0Ams0mjUZjCGaDcMZ3gBvADJ6UFwU/XV5ePraTKqXIgbnjgLTWFnyOVeQ91qTvJ0mSoJSi1Wr1A7AwKWVfvRlD2t0TeFI9Cmxr238vLUwphZQSKSVHR0eTLiwDDo1Sd+GBrPyMvQa6wCvSBumn0dbXNpj1w8PDSaf2Nniv5SkuAY1er1dWSt2vVCotTBqtWt/VHRvLXT7zFAfAjlXU6XSaFmwV+dw+29vbA/hGuoYrPJtIbqqjKFqvVqsf7KRLS0tTPojPV1ZWDhg0pTTwQoq1EOJzGIYbtVrtU5IkrK6uemG+e8At4BEQG5dZxXk1VkAipWwDQghBvV4nW2Nfndvttp0jBk6BMzzb5aiuFsBJFEXrc3NzH0fV1PW1tbUD4Ou/gBUQCyH2wzB8Uq/Xdy5qKifNjw30FEi4RI1d+JmUcj8Mw42FhYVdC8mrt7EY+G089oEvWjJtZ55IKXfDMAwWFxdvk9mxMvbFAE/ISTNA4DtxeA57JdJ1d4Z0n50FyqTrsJs1TarwF/AD+El6OpHwd4c9ZaLXzthu8lmwIFXcM98bSjMUV2ytZGAT5jq06zA4ccYMFpA0Kod1WTAM6juqzjYz5ya/EPw/bGx/Yf4AHxykPX4eCXQAAAAASUVORK5CYII%3D), auto")}),
	a("#"+b+"volumegrab").grab({onstart:function(h){a("#"+b+"volumegrab").css("cursor","url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNAay06AAAAKmSURBVEiJ7ZbPaxNBFMc/m4lttYtNBem9F3MrgvRawR78C/wbemz/CS3Yf8OLXgQ9KAgi9gcBLz2oh0IOhfZSLdUkTZN9s+NhZtpNdrJZFeyhDgzz2GTn8977vnmzkTGGyxiVS6H+B18JcDX0MIqiMu9GbgKYoTU4sicoCC4BU8BLZz8CUkC7mToHis+pMSY3C6CvgRbwRkRMr9czwDugDbwFbgExMOmcG8kqC47iODbGGCMiJo5j0+12TafTMUDn5OTEHB8fG6DjHLntHLjGhRwDjLLFFbXb7baIICIAZOxKxo4ODg4eAC+AWeAGVs5c0ZQFK4AkSUJgRIQkSQAiEaHZbC4Bz4Cag+fSXlRcvpAq3msRIU1T9vf3ERG01hweHk552zvh7HtYzROgjy28cx2LIn4F/HBrnI3SR661Pn8mIuzt7U1lshIBN4FprNYDrFERV4ClVqsVp2n6cGZm5nk2Yq11cM3abkw6aC7VoyKOgE0f0dHR0X0P9hGFpv9te3sb4CuDTaYUmGq1ul6r1d77TZeXl6+HIKG5srKyi9VTGNJ2HNiIyCel1Mbc3NzHJElYXV0NwkLPgDvAY2xR5QoLRmucAonWugGIiFCv1xnWOKRzo9Hwe/SBM6DnIh8AF1W1AKfVanV9fn7+Q5Gm2bm2trYLfPkbcAr0RWRHKfW0Xq9vjiuqTJqfOOgZ9hynw5uP61wp0NNa7yilNhYWFrY8ZJTebvSBrpv9EHjctegr81RrvaWUihYXF+9ScEyAzw54yog0A0Sh2yjwIVDBNoNpbPOfxXazCQazZrAR/gS+Ad+xN5aGP/sQSJ33JmP7m2cYLNiIW+5/uTRD+Yj98BfGhFtzrdCBBBu5byDWqwzrd8FwoW+Rzj4zA5uPBf+LcfW+q38BmqVkrsNuDnIAAAAASUVORK5CYII%3D), auto");
	fa="big"==u?a("#"+b+"volumecontroller").width():F?a("#"+b+"volumecontroller").height():a("#"+b+"volumecontroller").width()},onmove:function(h){if("big"==u)fa+h.offset.x<a("#"+b+"volumegrab").width()?a("#"+b+"volumecontroller").css({width:fa+h.offset.x+"px"}):a("#"+b+"volumecontroller").css({width:a("#"+b+"volumegrab").width()+"px"}),0>fa+h.offset.x&&a("#"+b+"volumecontroller").css({width:"0px"}),B=100*a("#"+b+"volumecontroller").width()/a("#"+b+"volumegrab").width();else{if(F){fa+h.offset.y<a("#"+
	b+"volumegrab").height()?a("#"+b+"volumecontroller").css({height:fa+h.offset.y+"px"}):a("#"+b+"volumecontroller").css({height:a("#"+b+"volumegrab").height()+"px"});0>fa+h.offset.y&&a("#"+b+"volumecontroller").css({height:"0px"});try{d.height=a("#"+b+"volumecontroller").height()}catch(Ga){C(Ga)}B=100*a("#"+b+"volumecontroller").height()/a("#"+b+"volumegrab").height()}else{fa+h.offset.x<a("#"+b+"volumegrab").width()?a("#"+b+"volumecontroller").css({width:fa+h.offset.x+"px"}):a("#"+b+"volumecontroller").css({width:a("#"+
	b+"volumegrab").width()+"px"});0>fa+h.offset.x&&a("#"+b+"volumecontroller").css({width:"0px"});try{d.width=a("#"+b+"volumecontroller").width()}catch(Ga){C(Ga)}B=100*a("#"+b+"volumecontroller").width()/a("#"+b+"volumegrab").width()}wa.innerHTML=Math.ceil(B)+"%"}A();K.volume=B/100},onfinish:function(h){a("#"+b+"volumegrab").css("cursor","url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNAay06AAAALlSURBVEiJxZe9bhNBEMd/5zsSkhjs0Fi0SYG7CAmltQUpeAGeISmTB6CFSOQFkoKOwqJAQAQNCCHyIUs0KYAiEmUaQ2GshORuPyhu196c95wLSHik0a3v7P3Nf2Zudx1orRmHlcZCHSc48t0MgqDIbwPjANr4SHPL6gWPsJIDe2k+PwAUIIwXaxqt9ZB7LAC2gTfANeCtNga8A24CVeAqEDrB5bKKgrctaHNzU5fLZe2Aj42/B2omsEkTQC64SHOVgMaI54GUcjqO47vAd+AFcB2YAq7kqS8K9ppSCiAQQiCEAAi63e494DkwC0yT9tEQvAjY7V7m5+cBkFJaGEmS9MFCCDqdTgN4Rlr3aTxpLwLWwMOtrS0Ams0mjUZjCGaDcMZ3gBvADJ6UFwU/XV5ePraTKqXIgbnjgLTWFnyOVeQ91qTvJ0mSoJSi1Wr1A7AwKWVfvRlD2t0TeFI9Cmxr238vLUwphZQSKSVHR0eTLiwDDo1Sd+GBrPyMvQa6wCvSBumn0dbXNpj1w8PDSaf2Nniv5SkuAY1er1dWSt2vVCotTBqtWt/VHRvLXT7zFAfAjlXU6XSaFmwV+dw+29vbA/hGuoYrPJtIbqqjKFqvVqsf7KRLS0tTPojPV1ZWDhg0pTTwQoq1EOJzGIYbtVrtU5IkrK6uemG+e8At4BEQG5dZxXk1VkAipWwDQghBvV4nW2Nfndvttp0jBk6BMzzb5aiuFsBJFEXrc3NzH0fV1PW1tbUD4Ou/gBUQCyH2wzB8Uq/Xdy5qKifNjw30FEi4RI1d+JmUcj8Mw42FhYVdC8mrt7EY+G089oEvWjJtZ55IKXfDMAwWFxdvk9mxMvbFAE/ISTNA4DtxeA57JdJ1d4Z0n50FyqTrsJs1TarwF/AD+El6OpHwd4c9ZaLXzthu8lmwIFXcM98bSjMUV2ytZGAT5jq06zA4ccYMFpA0Kod1WTAM6juqzjYz5ya/EPw/bGx/Yf4AHxykPX4eCXQAAAAASUVORK5CYII%3D), auto");
	try{window.localStorage.removeItem(b+"volume"),window.localStorage.setItem(b+"volume",B)}catch(Ga){C(Ga)}}}));xa=document.createElement("div");xa.id=b+"playstopcontainer";E.appendChild(xa);mobilecheck()||a("#"+b+"playstopcontainer").mouseenter(function(){ma?(a("#"+b+"stopbutton").stop(),a("#"+b+"stopbutton").animate({opacity:.5},200,function(){})):(a("#"+b+"playbutton").stop(),a("#"+b+"playbutton").animate({opacity:.5},200,function(){}))}).mouseleave(function(){ma?(a("#"+b+"stopbutton").stop(),a("#"+
	b+"stopbutton").animate({opacity:1},200,function(){})):(a("#"+b+"playbutton").stop(),a("#"+b+"playbutton").animate({opacity:1},200,function(){}))});a("#"+b+"playstopcontainer").click(function(){(ma=!ma)?Y():V()}).disableSelection();"big"==u?a("#"+b+"playstopcontainer").css({"z-index":"42",position:"absolute",height:"80px",width:"80px",overflow:"hidden","border-radius":"50%",border:"2px solid "+G,bottom:"20px",cursor:"pointer","background-color":m}):a("#"+b+"playstopcontainer").css({position:"absolute",
	left:"0px",top:"0px","background-color":m,cursor:"pointer"});ab=document.createElement("div");ab.id=b+"player";xa.appendChild(ab);a("#"+b+"player").css({position:"absolute",top:"0px",left:"0px",width:"0px",height:"0px"});bb=document.createElement("div");bb.id=b+"playbutton";xa.appendChild(bb);a("#"+b+"playbutton").css({position:"absolute","z-index":"43",fill:G}).html('<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 800 800" enable-background="new 0 0 800 800" xml:space="preserve"><path d="M226.928,725.51c-5.258,3.01-94.982,65.39-94.98,0l-0.001-647.112c0-75.341,92.9-0.739,94.982,0l421.455,285.66 c26.227,26.226,26.229,68.752,0,94.981L226.928,725.51z"/></svg>').disableSelection();
	"big"==u&&a("#"+b+"playbutton").css({top:"20px",left:"20px",right:"20px",bottom:"20px"});cb=document.createElement("div");cb.id=b+"stopbutton";xa.appendChild(cb);a("#"+b+"stopbutton").css({position:"absolute","z-index":"44",visibility:"hidden",fill:G}).html('<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 800 800" style="enable-background:new 0 0 800 800;" xml:space="preserve"><g><path d="M719.4,772H517.8c-27.5,0-50.1-22.5-50.1-50.1V82.1c0-27.5,22.5-50.1,50.1-50.1h201.6c27.5,0,50.1,22.5,50.1,50.1v639.8 C769.5,749.5,747,772,719.4,772z"/></g><g><path d="M280.7,772H79.1C51.5,772,29,749.5,29,721.9V82.1C29,54.5,51.5,32,79.1,32h201.6c27.5,0,50.1,22.5,50.1,50.1v639.8 C330.8,749.5,308.3,772,280.7,772z"/></g></svg>').disableSelection();
	"big"==u&&a("#"+b+"stopbutton").css({top:"20px",left:"20px",right:"20px",bottom:"20px"});K=new Audio;K.id=b+"html5audio";K.preload="auto";setInterval(function(){ma&&Pa&&1==K.networkState&&K.play()["catch"](function(){})},1E3);"small"==u&&(F?a("#"+b+"volumecontroller").css({height:"0px"}):a("#"+b+"volumecontroller").css({width:"0px"}));A();a(window).resize(function(){Q()});Q();setTimeout(function(){Q()},200);ya();P(B,0);H();setTimeout(function(){!db||mobilecheck()||Ob()||(ma=!0,Y())},10)}function A(){0==
	B?(a("#"+b+"volumeoffbutton").css({visibility:"visible"}),a("#"+b+"volumeupbutton").css({visibility:"hidden"})):(a("#"+b+"volumeoffbutton").css({visibility:"hidden"}),a("#"+b+"volumeupbutton").css({visibility:"visible"}))}function P(h,c){if("big"==u)c=c||0,c!=h&&a({countNum:c}).animate({countNum:Math.floor(h)},{duration:800,easing:"linear",step:function(){try{0==Math.ceil(this.countNum)%5&&(K.volume=this.countNum/100)}catch(y){C(y)}},complete:function(){try{K.volume=h/100}catch(y){C(y)}}}),a("#"+
	b+"volumecontroller").stop(),a("#"+b+"volumecontroller").animate({width:(e-40)/100*h+"px"},{duration:800,progress:function(){},complete:function(){}});else if(c=c||0,c!=h&&a({countNum:c}).animate({countNum:Math.floor(h)},{duration:800,easing:"linear",step:function(){wa.innerHTML=Math.ceil(this.countNum)+"%";try{0==Math.ceil(this.countNum)%5&&(K.volume=this.countNum/100)}catch(y){C(y)}},complete:function(){wa.innerHTML=Math.floor(h)+"%";try{K.volume=h/100}catch(y){C(y)}}}),F){a("#"+b+"volumecontroller").css({left:"0px",
	top:e+"px"});a("#"+b+"volumecontroller").stop();a("#"+b+"volumecontroller").animate({height:x/100*h+"px"},{duration:800,progress:function(){try{d.height=Math.round(a("#"+b+"volumecontroller").height())}catch(y){C(y)}},complete:function(){try{d.height=Math.round(a("#"+b+"volumecontroller").height())}catch(y){C(y)}}});a("#"+b+"volumecontroller").css({width:e+"px","border-bottom":"solid 1px "+m,"border-right":"none"});try{a("#"+b+"canvas").css({top:e+"px",left:"0px"}),d.width=e}catch(y){C(y)}}else{a("#"+
	b+"volumecontroller").css({top:"0px",left:n+"px"});a("#"+b+"volumecontroller").stop();a("#"+b+"volumecontroller").animate({width:x/100*h+"px"},{duration:800,progress:function(){try{d.width=Math.round(a("#"+b+"volumecontroller").width())}catch(y){C(y)}},complete:function(){try{d.width=Math.round(a("#"+b+"volumecontroller").width())}catch(y){C(y)}}});a("#"+b+"volumecontroller").css({"border-right":"solid 1px "+m,"border-bottom":"none",height:n+"px"});try{a("#"+b+"canvas").css({top:"0px",left:n+"px"}),
	d.height=n}catch(y){C(y)}}}function Q(){e=a("#"+b).width();n=a("#"+b).height();if("small"==u){if(F=e<n?!0:!1){x=n-2*e;a("#"+b+"volumecontroller").css({left:"0px",top:e+"px",width:e+"px",height:x/100*B+"px","border-bottom":"solid 1px "+m,"border-right":"none"}).stop();try{a("#"+b+"canvas").css({left:"0px",top:e+"px"}),d.width=e,d.height=Math.round(x/100*B)}catch(y){C(y)}a("#"+b+"playstopcontainer").css({height:e+"px",width:e+"px"});a("#"+b+"playbutton, #"+b+"stopbutton").css({top:e/4/2+"px",left:e/
	4/2+"px",right:e/4/2+"px",bottom:e/4/2+"px"});a("#"+b+"channelname").css({"font-size":e/2+"px",overflow:"hidden","line-height":e/2+"px",height:e/2+"px",width:x+"px",top:e+x/2+"px",left:e-e/2/2-x/2+"px",rotate:"90deg"});a("#"+b+"statustext").css({"font-size":e/4+"px","line-height":e/4+"px",height:e/4+"px",width:x+"px",top:e+x/2+"px",left:-(x/2)+e/10+e/4/2+"px",rotate:"90deg"});a("#"+b+"volumegrab").css({left:"0px",top:e+"px",height:x+"px",width:e+"px"});"true"==ka?(a("#"+b+"channelname").css({width:x-
	e+"px",top:e+(x-e)/2+"px",left:e-e/2/2-(x-e)/2+"px"}),a("#"+b+"statustext").css({width:x-e+"px",top:e+(x-e)/2+"px",left:-((x-e)/2)+e/10+e/4/2+"px"}),a("#"+b+"imagecontainer").css({left:"0px",top:e+x+"px",width:e+"px",height:e+"px"}),a("#"+b+"imagehit1","#"+b+"imagehit2").css({width:e+"px",height:e+"px",left:"0px",top:"0px"}),a("#"+b+"volumesetcontainer").css({left:"0px",top:x+"px",width:e+"px",height:e+"px"}),a("#"+b+"volumeupbutton , #"+b+"volumeoffbutton").css({height:e/2+"px",width:e/2+"px",top:(e-
	e/2)/2+"px",left:e-(e/20+e/2)+"px",rotate:"90deg"}),a("#"+b+"volumetext").css({"font-size":e/4+"px","line-height":e/4+"px",height:e/4+"px",width:e+"px",top:e/2-e/8+"px",left:e/4/2-e/2+e/10+"px",rotate:"90deg"})):(a("#"+b+"volumesetcontainer").css({left:"0px",top:e+x+"px",width:e+"px",height:e+"px"}),a("#"+b+"volumeupbutton , #"+b+"volumeoffbutton").css({top:e/20+"px",left:(e-e/2)/2+"px",width:e/2+"px",height:e/2+"px",rotate:"0deg"}),a("#"+b+"volumetext").css({"font-size":e/4+"px","line-height":e/
	4+"px",height:e/4+"px",width:e+"px",top:e-e/4-e/10+e/40+"px",left:"0px",rotate:"0deg"}),a("#"+b+"volumehit").css({width:e+"px",height:e+"px",left:"0px",top:"0px"}))}else{x=e-2*n;a("#"+b+"volumecontroller").css({top:"0px",left:n+"px",height:n+"px",width:x/100*B+"px","border-right":"solid 1px "+m,"border-bottom":"none"}).stop();try{a("#"+b+"canvas").css({top:"0px",left:n+"px"}),d.width=Math.round(x/100*B),d.height=n}catch(y){}a("#"+b+"playstopcontainer").css({height:n+"px",width:n+"px"});a("#"+b+"playbutton, #"+
	b+"stopbutton").css({top:n/4/2+"px",left:n/4/2+"px",right:n/4/2+"px",bottom:n/4/2+"px"});a("#"+b+"volumegrab").css({top:"0px",left:n+"px",width:x+"px",height:n+"px"});a("#"+b+"channelname").css({top:"0px",left:n+"px",height:n/1.5+"px","font-size":n/2+"px",lineHeight:n/2+"px","margin-left":n/10+"px",padding:"0",rotate:"0deg"});a("#"+b+"statustext").css({"font-size":n/4+"px","line-height":n/4+"px",height:n/2+"px",top:n-n/4-n/10+n/40+"px",left:n+"px","margin-left":n/10+"px",rotate:"0deg"});"true"==ka?
	(a("#"+b+"channelname").css({width:x-n+"px"}),a("#"+b+"statustext").css({width:x-n+"px"}),a("#"+b+"imagecontainer").css({left:n+x+"px",top:"0px",width:n+"px",height:n+"px"}),a("#"+b+"imagehit1","#"+b+"imagehit2").css({width:n+"px",height:n+"px",left:"0px",top:"0px"}),a("#"+b+"volumesetcontainer").css({left:x+"px",top:"0px",width:n+"px",height:n+"px"})):(a("#"+b+"channelname").css({width:x+"px"}),a("#"+b+"statustext").css({width:x+"px"}),a("#"+b+"volumesetcontainer").css({left:n+x+"px",top:"0px",width:n+
	"px",height:n+"px"}),a("#"+b+"volumehit").css({width:n+"px",height:n+"px",left:"0px",top:"0px"}));a("#"+b+"volumeupbutton, #"+b+"volumeoffbutton").css({top:n/20+"px",left:(n-n/2)/2+"px",width:n/2+"px",height:n/2+"px",rotate:"0deg"});a("#"+b+"volumetext").css({"font-size":n/4+"px","line-height":n/4+"px",height:n/4+"px",width:n+"px",top:n-n/4-n/10+n/40+"px",left:"0px",rotate:"0deg"})}W();l()}else{var h=n/2-20;a("#"+b+"imagecontainer").css({height:h+"px",width:h+"px",top:"20px",left:e/2-h/2+"px"});pa()||
	a("#"+b+"coverblurshadow1, #"+b+"coverblurshadow2").css({height:h+"px",width:h+"px",top:"80px",left:e/2-h/2+"px"});a("#"+b+"stationname").css({top:n/2+20+"px",width:e-40+"px"});a("#"+b+"artist").css({top:n/2+50+"px",width:e-40+"px"});a("#"+b+"songtitle").css({top:n/2+80+"px",width:e-40+"px"});if("1"==ia||"2"==ia||"3"==ia||"4"==ia||"5"==ia||"7"==ia||"8"==ia){h=0;var c=n}else h=n/2,c=n/2;a("#"+b+"canvas").css({top:h+"px",height:c+"px",width:e+"px"});d.width=e;d.height=c;a("#"+b+"footercontainer").css({width:e+
	"px"});a("#"+b+"volumegrab").css({top:n/2+n/2/2-20+"px",height:"40px",width:e-40+"px"});a("#"+b+"volumecontrollerbackground").css({top:n/2+n/2/2-1.5+"px",width:e-40+"px"});a("#"+b+"volumecontroller").css({top:n/2+n/2/2-1.5+"px",width:(e-40)/100*B+"px"}).stop();Fa()&&a("#"+b+"volumesetcontainer, #"+b+"volumecontroller, #"+b+"volumecontrollerbackground").css({display:"none"});a("#"+b+"playstopcontainer").css({left:e/2-40+"px"});ja();Z();I()}J=[];for(h=0;512>h;h++)c={},c.x=Math.floor(Math.random()*e+
	1),c.y=Math.floor(Math.random()*n+1),c.radius=F?Math.floor(Math.random()*e/5+2):Math.floor(Math.random()*n/5+2),c.alpha=1,c.speed=Math.floor(50*Math.random()+30),J.push(c)}function ja(){a("#"+b+"temp_stationname").html(X);a("#"+b+"temp_stationname").width()>e-80-40?MarqueeStationnamerunning||($mq_stationname=a("#"+b+"stationname").marquee({duration:5E3*e/300,direction:"left",duplicated:!0}),MarqueeStationnamerunning=!0):(a("#"+b+"stationname").css({"text-align":"center"}).html(X),MarqueeStationnamerunning=
	!1)}function Z(){a("#"+b+"temp_artist").html(L);L!=Pb&&(a("#"+b+"artist").css({"text-align":"left"}).html(L),MarqueeArtistrunning=!1);a("#"+b+"temp_artist").width()>e-40?MarqueeArtistrunning||($mq_artist=a("#"+b+"artist").marquee({duration:5E3*e/300,direction:"left",duplicated:!0}),MarqueeArtistrunning=!0):(a("#"+b+"artist").css({"text-align":"center"}).html(L),MarqueeArtistrunning=!1);Pb=L}function I(){a("#"+b+"temp_songtitle").html(M);M!=Qb&&(a("#"+b+"songtitle").css({"text-align":"left"}).html(M),
	MarqueeSongtitlerunning=!1);a("#"+b+"temp_songtitle").width()>e-40?MarqueeSongtitlerunning||($mq_songtitle=a("#"+b+"songtitle").marquee({duration:5E3*e/300,direction:"left",duplicated:!0}),MarqueeSongtitlerunning=!0):(a("#"+b+"songtitle").css({"text-align":"center"}).html(M),MarqueeSongtitlerunning=!1);Qb=M}function W(){"TRUE"==ra.toUpperCase()&&(za=!1,a("#"+b+"channelname").html(X),a("#"+b+"temp_radio").html(X),aa());"FALSE"==ra.toUpperCase()&&(a("#"+b+"channelname").html(X),a("#"+b+"channelname").css({overflow:"hidden",
	"text-overflow":"ellipsis"}));if("AUTO"==ra.toUpperCase()){a("#"+b+"temp_radio").css({"font-size":n/2+"px",lineHeight:"1"}).html(X);var h=2;"true"==ka&&(h=3);a("#"+b+"channelname").html(X);za=!1;F?a("#"+b+"temp_radio").width()>n-h*e?aa():(a("#"+b+"channelname").html(X),za=!1):a("#"+b+"temp_radio").width()>e-h*n?aa():(a("#"+b+"channelname").html(X),za=!1)}latest_radionameasb=X}function aa(){if(!za){try{Rb.marquee("destroy")}catch(va){}var h=F?2*(a("#"+b+"temp_radio").width()+n):10*(a("#"+b+"temp_radio").width()+
	e);Rb=a("#"+b+"channelname").marquee({duration:h,direction:"left",gap:e/2,duplicated:!0});za=!0}}function l(){"TRUE"==ra.toUpperCase()&&(a("#"+b+"statustext").html(w),a("#"+b+"temp_song").html(w),Aa=!1,O());"FALSE"==ra.toUpperCase()&&w!=Sb&&(a("#"+b+"statustext").html(w),a("#"+b+"statustext").css({overflow:"hidden","text-overflow":"ellipsis"}));if("AUTO"==ra.toUpperCase()){a("#"+b+"temp_song").css({"font-size":n/4+"px","line-height":n/4+"px"}).html(w);var h=2;"true"==ka&&(h=3);a("#"+b+"statustext").html(w);
	Aa=!1;F?a("#"+b+"temp_song").width()>n-h*e?O():(a("#"+b+"statustext").html(w),Aa=!1):a("#"+b+"temp_song").width()>e-h*n?O():(a("#"+b+"statustext").html(w),Aa=!1)}Sb=w}function O(){if(!Aa){try{Tb.marquee("destroy")}catch(va){}var h=F?2*(a("#"+b+"temp_song").width()+n):10*(a("#"+b+"temp_song").width()+e);Tb=a("#"+b+"statustext").marquee({duration:h,direction:"left",gap:e/2,duplicated:!0});Aa=!0}}function Y(){if(Pa){db&&(ca="fake");if("undefined"==typeof Ha&&"real"==ca){try{Ha=new (window.AudioContext||
	window.webkitAudioContext),sa=Ha.createAnalyser(),sa.smoothingTimeConstant=.9,sa.fftSize=1024}catch(h){"real"==ca&&(ca="fake"),C(h)}try{"crossOrigin"in K&&(K.crossOrigin="anonymous",K.onerror=ba,Ub=K,Vb=Ha.createMediaElementSource(Ub),Vb.connect(sa),sa.connect(Ha.destination))}catch(h){C("SODAH: "+h)}}Wb="none"!=v.toLowerCase()&&"nothing"!=v.toLowerCase()&&"php"!=v.toLowerCase()&&"true"==Xb?v+Ba():Ba();a("#"+b+"playbutton").css({visibility:"hidden"});a("#"+b+"stopbutton").css({visibility:"visible"});
	try{a(".sodahnativeflashradio4").each(function(){a(this).attr("id")!=b&&a(this).data("flashradio").stopradio()})}catch(h){C(h)}K.src=Wb;K.play()["catch"](function(){})}}function ba(a){a.target?C("server not set correctly"):C("browser doesn't support crossOrigin requests")}function V(){if(0<K.readyState){a("#"+b+"playbutton").css({visibility:"visible"});a("#"+b+"stopbutton").css({visibility:"hidden"});ma=!1;try{K.pause()}catch(h){}}}function H(){if("fake"==ca||"real"==ca){try{window.requestAnimationFrame(H)||
	window.mozRequestAnimationFrame(H)||window.webkitRequestAnimationFrame(H)||window.msRequestAnimationFrame(H)||window.oRequestAnimationFrame(H)}catch(Yb){}if("fake"==ca){r=[];for(var a=0;511>a;a+=1)ma?r.push(Math.floor(254/(a/100+1)*Math.random()+1)):r.push(0),Ia[a]+=(r[a]-Ia[a])/9;r=Ia}try{"real"==ca&&(r=new Uint8Array(sa.frequencyBinCount),sa.getByteFrequencyData(r))}catch(Yb){}try{switch(ia){case "1":Ca();break;case "2":c.clearRect(0,0,d.width,d.height);c.lineWidth=1;c.miterLimit=1;c.beginPath();
	if(F){c.moveTo(0,0);for(b=0;b<r.length/2;b+=1)c.lineTo(r[b]*d.width/255,b*d.height/r.length*2);c.lineTo(0,d.height);c.lineTo(0,0)}else{c.moveTo(0,d.height);for(var b=0;b<r.length/2;b+=1)c.lineTo(b*d.width/r.length*2,d.height-r[b]*d.height/255+2);c.lineTo(d.width,d.height);c.lineTo(0,d.height)}c.fillStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 1.0)";c.fill();c.closePath();break;case "3":c.clearRect(0,0,d.width,d.height);c.lineWidth=1;c.miterLimit=1;if(F)for(l=0;l<d.height;l+=3)g=Math.round(r.length/
	2*l/d.height),c.beginPath(),c.moveTo(0,l),c.lineTo(r[g]*d.width/255,l),c.strokeStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 1.0)",c.stroke(),c.closePath();else for(var l=0;l<d.width;l+=3){var g=Math.round(r.length/2*l/d.width);c.beginPath();c.moveTo(l,d.height);c.lineTo(l,d.height-r[g]*d.height/255+2);c.strokeStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 1.0)";c.stroke();c.closePath()}break;case "4":c.clearRect(0,0,d.width,d.height);c.lineWidth=0;c.miterLimit=1;t=[];c.beginPath();if(F){c.moveTo(0,
	0);t=[];for(e=0;e<d.height+20;e+=20)f=Math.round(r.length/8*e/d.height),t.push(r[f]*d.width/255),t.push(e);R(c,t,.5);c.lineTo(0,d.height);c.lineTo(0,0)}else{c.moveTo(0,d.height);for(var e=0;e<d.width+20;e+=20){var f=Math.round(r.length/8*e/d.width);t.push(e);t.push(d.height-r[f]*d.height/255+2)}R(c,t,.5);c.lineTo(d.width,d.height);c.lineTo(0,d.height)}c.fillStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 0.2)";c.fill();c.closePath();c.beginPath();if(F){c.moveTo(0,0);t=[];for(e=0;e<d.height+20;e+=
	20)f=Math.round(r.length/8*e/d.height),t.push(r[f+f]*d.width/255),t.push(e);R(c,t,.5);c.lineTo(0,d.height);c.lineTo(0,0)}else{c.moveTo(0,d.height);t=[];for(e=0;e<d.width+20;e+=20)f=Math.round(r.length/8*e/d.width),t.push(e),t.push(d.height-r[f+f]*d.height/255+2);R(c,t,.5);c.lineTo(d.width,d.height);c.lineTo(0,d.height)}c.fillStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 0.3)";c.fill();c.closePath();c.beginPath();if(F){c.moveTo(0,0);t=[];for(e=0;e<d.height+20;e+=20)f=Math.round(r.length/8*e/d.height),
	t.push(r[f+f+f]*d.width/255),t.push(e);R(c,t,.5);c.lineTo(0,d.height);c.lineTo(0,0)}else{c.moveTo(0,d.height);t=[];for(e=0;e<d.width+20;e+=20)f=Math.round(r.length/8*e/d.width),t.push(e),t.push(d.height-r[f+f+f]*d.height/255+2);R(c,t,.5);c.lineTo(d.width,d.height);c.lineTo(0,d.height)}c.fillStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 0.4)";c.fill();c.closePath();c.beginPath();if(F){c.moveTo(0,0);t=[];for(e=0;e<d.height+20;e+=20)f=Math.round(r.length/8*e/d.height),t.push(r[f+f+f+f]*d.width/255),
	t.push(e);R(c,t,.5);c.lineTo(0,d.height);c.lineTo(0,0)}else{c.moveTo(0,d.height);t=[];for(e=0;e<d.width+20;e+=20)f=Math.round(r.length/8*e/d.width),t.push(e),t.push(d.height-r[f+f+f+f]*d.height/255+2);R(c,t,.5);c.lineTo(d.width,d.height);c.lineTo(0,d.height)}c.fillStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 0.5)";c.fill();c.closePath();break;case "5":c.clearRect(0,0,d.width,d.height);c.lineWidth=2;c.lineCap="round";c.miterLimit=1;c.strokeStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 1.0)";t=
	[];c.beginPath();if(F)for(c.moveTo(0,0),t=[],k=0;k<d.height+20;k+=20)q=Math.round(r.length/8*k/d.height),t.push(r[q]*d.width/255),t.push(k);else{c.moveTo(0,d.height);for(var k=0;k<d.width+20;k+=20){var q=Math.round(r.length/8*k/d.width);t.push(k);t.push(d.height-r[q]*d.height/255+2)}}R(c,t,.5);c.stroke();c.closePath();c.lineWidth=1.8;c.lineCap="round";c.miterLimit=1;c.strokeStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 0.8)";c.beginPath();if(F)for(c.moveTo(0,0),t=[],k=0;k<d.height+20;k+=20)q=Math.round(r.length/
	8*k/d.height),t.push(r[q+q]*d.width/255),t.push(k);else for(c.moveTo(0,d.height),t=[],k=0;k<d.width+20;k+=20)q=Math.round(r.length/8*k/d.width),t.push(k),t.push(d.height-r[q+q]*d.height/255+2);R(c,t,.5);c.stroke();c.closePath();c.lineWidth=1.6;c.lineCap="round";c.miterLimit=1;c.strokeStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 0.6)";c.beginPath();if(F)for(c.moveTo(0,0),t=[],k=0;k<d.height+20;k+=20)q=Math.round(r.length/8*k/d.height),t.push(r[q+q+q]*d.width/255),t.push(k);else for(c.moveTo(0,d.height),
	t=[],k=0;k<d.width+20;k+=20)q=Math.round(r.length/8*k/d.width),t.push(k),t.push(d.height-r[q+q+q]*d.height/255+2);R(c,t,.5);c.stroke();c.closePath();c.lineWidth=1.6;c.lineCap="round";c.miterLimit=1;c.strokeStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 0.4)";c.beginPath();if(F)for(c.moveTo(0,0),t=[],k=0;k<d.height+20;k+=20)q=Math.round(r.length/8*k/d.height),t.push(r[q+q+q+q]*d.width/255),t.push(k);else for(c.moveTo(0,d.height),t=[],k=0;k<d.width+20;k+=20)q=Math.round(r.length/8*k/d.width),t.push(k),
	t.push(d.height-r[q+q+q+q]*d.height/255+2);R(c,t,.5);c.stroke();c.closePath();break;case "6":c.clearRect(0,0,d.width,d.height);c.lineWidth=2;c.lineJoin="round";if(F)for(z=0;z<d.height;z+=5)w=Math.round(r.length/2*z/d.height),v=(d.width-r[w]*d.width/300)/2,c.beginPath(),c.moveTo(d.width/2,z),c.lineTo(v,z),c.lineTo(d.width/2,z),c.strokeStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 0.5)",c.stroke(),c.closePath(),c.beginPath(),c.moveTo(d.width/2,z),c.lineTo(d.width-v,z),c.lineTo(d.width/2,z),c.strokeStyle=
	"rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 0.5)",c.stroke(),c.closePath(),v=(d.width-r[w]*d.width/600)/2,c.beginPath(),c.moveTo(d.width/2,z),c.lineTo(v,z),c.lineTo(d.width/2,z),c.strokeStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 0.5)",c.stroke(),c.closePath(),c.beginPath(),c.moveTo(d.width/2,z),c.lineTo(d.width-v,z),c.lineTo(d.width/2,z),c.strokeStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 0.5)",c.stroke(),c.closePath();else for(var z=0;z<d.width;z+=5){var w=Math.round(r.length/2*z/d.width),
	v=(d.height-r[w]*d.height/300)/2;c.beginPath();c.moveTo(z,d.height/2);c.lineTo(z,v);c.lineTo(z,d.height/2);c.strokeStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 0.5)";c.stroke();c.closePath();c.beginPath();c.moveTo(z,d.height/2);c.lineTo(z,d.height-v);c.lineTo(z,d.height/2);c.strokeStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 0.5)";c.stroke();c.closePath();v=(d.height-r[w]*d.height/600)/2;c.beginPath();c.moveTo(z,d.height/2);c.lineTo(z,v);c.lineTo(z,d.height/2);c.strokeStyle="rgba("+p(m).r+", "+
	p(m).g+", "+p(m).b+", 0.5)";c.stroke();c.closePath();c.beginPath();c.moveTo(z,d.height/2);c.lineTo(z,d.height-v);c.lineTo(z,d.height/2);c.strokeStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 0.5)";c.stroke();c.closePath()}break;case "7":c.clearRect(0,0,d.width,d.height);for(var u=0;u<r.length/2;u+=2)c.beginPath(),c.moveTo(J[u].x-J[u].radius*r[u]/255/2,n),c.lineTo(J[u].x,n-n*r[u]/255),c.lineTo(J[u].x+J[u].radius*r[u]/255/2,n),c.fillStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", "+(r[u]/255/2+.2)+
	")",c.fill(),c.closePath();for(u=1;u<r.length/2;u+=2)c.beginPath(),c.moveTo(J[u].x-J[u].radius*r[u]/255/2,0),c.lineTo(J[u].x,n*r[u]/255),c.lineTo(J[u].x+J[u].radius*r[u]/255/2,0),c.fillStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", "+(r[u]/255/2+.2)+")",c.fill(),c.closePath();break;case "8":c.clearRect(0,0,d.width,d.height);eb++;for(a=0;a<r.length/2;a++){b=c;u=Math.cos(eb/J[a].speed)*J[a].radius+J[a].x;var x=Math.sin(eb/J[a].speed)*J[a].radius+J[a].y,O=J[a].radius*r[a]/255,D=r[a]/255/2+.5;b.beginPath();
	b.arc(u,x,O,0,2*Math.PI);b.closePath();b.fillStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", "+D+")";b.fill()}break;default:Ca()}}catch(Yb){}}}function Ca(){c.clearRect(0,0,d.width,d.height);c.lineWidth=1;c.miterLimit=1;c.beginPath();if(F)for(c.moveTo(0,0),a=0;a<r.length/2;a+=1)c.lineTo(r[a]*d.width/255,a*d.height/r.length*2);else{c.moveTo(0,d.height);for(var a=0;a<r.length/2;a+=1)c.lineTo(a*d.width/r.length*2,d.height-r[a]*d.height/255+2)}c.strokeStyle="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 1.0)";
	c.stroke();c.closePath()}function R(a,b,c,l,d,e){a.beginPath();var h=l;c="undefined"!=typeof c?c:.5;h=h?h:!1;d=d?d:16;var g=[],f;l=b.slice(0);h?(l.unshift(b[b.length-1]),l.unshift(b[b.length-2]),l.unshift(b[b.length-1]),l.unshift(b[b.length-2]),l.push(b[0]),l.push(b[1])):(l.unshift(b[1]),l.unshift(b[0]),l.push(b[b.length-2]),l.push(b[b.length-1]));for(f=2;f<l.length-4;f+=2)for(h=0;h<=d;h++){var va=(l[f+2]-l[f-2])*c;var k=(l[f+4]-l[f])*c;var y=(l[f+3]-l[f-1])*c;var n=(l[f+5]-l[f+1])*c;var m=h/d;var p=
	2*Math.pow(m,3)-3*Math.pow(m,2)+1;var r=-(2*Math.pow(m,3))+3*Math.pow(m,2);var q=Math.pow(m,3)-2*Math.pow(m,2)+m;m=Math.pow(m,3)-Math.pow(m,2);va=p*l[f]+r*l[f+2]+q*va+m*k;y=p*l[f+1]+r*l[f+3]+q*y+m*n;g.push(va);g.push(y)}a.moveTo(g[0],g[1]);for(na=2;na<g.length-1;na+=2)a.lineTo(g[na],g[na+1]);if(e)for(a.beginPath(),e=0;e<b.length-1;e+=2)a.rect(b[e]-2,b[e+1]-2,4,4)}function S(a){var b="";if("undefined"!==typeof a){var h=0;/[^A-Za-z0-9\+\/=]/g.exec(a);a=a.replace(/[^A-Za-z0-9\+\/=]/g,"");do{var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(h++));
	var l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(h++));var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(h++));var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(h++));c=c<<2|l>>4;l=(l&15)<<4|d>>2;var g=(d&3)<<6|e;b+=String.fromCharCode(c);64!=d&&(b+=String.fromCharCode(l));64!=e&&(b+=String.fromCharCode(g))}while(h<a.length)}return unescape(b)}function da(a){var b=0,h="";do h+=
	String.fromCharCode(a.charCodeAt(b++)-1);while(b<a.length-1);return h}function ya(){var a=window.location.href.toString().toLocaleLowerCase(),b=da(S(Zb)).toString();if(""!=Zb&&-1!=a.indexOf(b)&&4<b.length||a.indexOf("www.flashradio.info")||a.indexOf(".sodah.de"))U(),$b(),song_timer=setInterval(function(){$b()},ac),Pa=!0;else{a=[80,76,69,65,83,69,32,71,69,84,32,84,72,69,32,84,79,75,69,78,32,79,78,32,87,87,87,46,70,76,65,83,72,82,65,68,73,79,46,73,78,70,79,47,82,69,71,73,83,84,69,82];Pa=!1;setTimeout(function(){V()},
	2E3);w="";for(b=0;b<a.length;b++)w+=String.fromCharCode(a[b]);"small"==u?l():(a=w.split(" - "),0<a.length?(L=a[0],M=a[1]):(L=w,M=""),Z(),I())}}function Ba(){switch(Qa){case "icecast2":var a=T+oa;break;case "shoutcast2":a=T+bc;break;case "radionomy":a=T;break;case "radiojar":a=T;break;default:a=T+cc}C("Streaming URL: "+a);return a}function Ja(){var b="https://api.radionomy.com/currentsong.cfm?radiouid="+fb+"&apikey="+gb+"&callmeback=yes&type=xml&cover=no&previous=yes";C(b);a.ajax({dataType:"xml",url:b,
	crossDomain:!0,success:function(b){X=a(b).find("radionameasb").text();"small"==u?W():ja()}})}function ta(){var b="none"==v.toLowerCase()||"nothing"==v.toLowerCase()||"php"==v.toLowerCase()?T+"/stats?sid="+Ka+"&json=1&callback=?":v+T+"/stats?sid="+Ka+"&json=1&callback=?";"php"==v.toLowerCase()?a.ajax({dataType:"text",method:"POST",crossDomain:!0,url:ua+"fallback.php",data:{url:b,mode:"fallback"},success:function(a){dc(JSON.parse(lc(a)))}}):a.ajax({dataType:"jsonp",url:b,crossDomain:!0,success:function(a){dc(a)}})}
	function dc(b){try{X=a("<div/>").html(b.servertitle).text(),"small"==u?W():ja()}catch(va){}}function lc(a){a=a.replace(/\\n/g,"\\n").replace(/\\'/g,"\\'").replace(/\\"/g,'\\"').replace(/\\&/g,"\\&").replace(/\\r/g,"\\r").replace(/\\t/g,"\\t").replace(/\\b/g,"\\b").replace(/\\f/g,"\\f");a=a.replace(/[\u0000-\u0019]+/g,"");return a=a.substr(2,a.length-3)}function mc(){var b="none"==v.toLowerCase()||"nothing"==v.toLowerCase()||"php"==v.toLowerCase()?T+"/status-json.xsl":v+T+"/status-json.xsl";"php"==
	v.toLowerCase()?a.ajax({dataType:"text",method:"POST",crossDomain:!1,url:ua+"fallback.php",data:{url:b,mode:"fallback"},success:function(a){ec(a)}}):a.ajax({dataType:"text",url:b,crossDomain:!0,success:function(a){ec(a)}})}function ec(b){try{b=JSON.parse(b);var c={};if(b.icestats.source.length===k)c=b.icestats.source;else for(var l=0;l<b.icestats.source.length;l++){var h=b.icestats.source[l].listenurl;oa==h.substr(h.length-oa.length,oa.length)&&(c=b.icestats.source[l])}c.hasOwnProperty("server_name")&&
	(X=a("<div/>").html(c.server_name).text());c.hasOwnProperty("title");"small"==u?W():ja()}catch(wc){}}function Da(){if("true"==ka){var c="https://itunes.apple.com/search?term="+encodeURIComponent(w)+"&media=music&limit=1";C(c);a.ajax({dataType:"jsonp",url:c,success:function(c){var l="";1==c.results.length?(l=c.results[0].artworkUrl100,l="none"==v.toLowerCase()||"nothing"==v.toLowerCase()||"php"==v.toLowerCase()?l.replace("100x100","300x300"):l.replace("100x100","300x300"),la=c.results[0].trackViewUrl,
	""!=hb&&(la+="&app=itunes&at="+hb)):(l=Ea,la="");N++;2<N&&(N=1);a("#"+b+"coverblurshadow"+N).attr("src",l);a("#"+b+"imagehit"+N).attr("src",l).on("load",function(){1==N?(a("#"+b+"imagehit1").fadeIn("slow"),a("#"+b+"imagehit2").fadeOut("slow"),pa()||(a("#"+b+"coverblurshadow1").fadeIn("slow"),a("#"+b+"coverblurshadow2").fadeOut("slow"))):(a("#"+b+"imagehit2").fadeIn("slow"),a("#"+b+"imagehit1").fadeOut("slow"),pa()||(a("#"+b+"coverblurshadow2").fadeIn("slow"),a("#"+b+"coverblurshadow1").fadeOut("slow")))})},
	error:function(){cover=Ea;la="";N++;2<N&&(N=1);pa()||a("#"+b+"coverblurshadow"+N).attr("src",cover);a("#"+b+"imagehit"+N).attr("src",cover).on("load",function(){1==N?(a("#"+b+"imagehit1").fadeIn("slow"),a("#"+b+"imagehit2").fadeOut("slow"),pa()||(a("#"+b+"coverblurshadow1").fadeIn("slow"),a("#"+b+"coverblurshadow2").fadeOut("slow"))):(a("#"+b+"imagehit2").fadeIn("slow"),a("#"+b+"imagehit1").fadeOut("slow"),pa()||(a("#"+b+"coverblurshadow1").fadeOut("slow"),a("#"+b+"coverblurshadow2").fadeIn("slow")))})}})}}
	function U(){"true"==ka&&""!=Ea&&(N++,2<N&&(N=1),a("#"+b+"coverblurshadow"+N).attr("src",Ea),a("#"+b+"imagehit"+N).attr("src",Ea).on("load",function(){1==N?(a("#"+b+"imagehit1").fadeIn("slow"),a("#"+b+"coverblurshadow1").fadeIn("slow"),a("#"+b+"imagehit2").fadeOut("slow"),a("#"+b+"coverblurshadow2").fadeOut("slow")):(a("#"+b+"imagehit2").fadeIn("slow"),a("#"+b+"coverblurshadow2").fadeIn("slow"),a("#"+b+"imagehit1").fadeOut("slow"),a("#"+b+"coverblurshadow1").fadeOut("slow"))}))}function $b(){if(""!=
	Ra)nc();else switch(Qa){case "icecast2":oc();break;case "shoutcast1":pc();break;case "shoutcast2":qc();break;case "radionomy":rc();break;case "radiojar":sc()}}function oc(){var b="none"==v.toLowerCase()||"nothing"==v.toLowerCase()||"php"==v.toLowerCase()?T+"/status-json.xsl":v+T+"/status-json.xsl";"php"==v.toLowerCase()?a.ajax({dataType:"text",method:"POST",crossDomain:!1,url:ua+"fallback.php",data:{url:b,mode:"fallback"},success:function(a){fc(a)},error:function(a,b,c){U()}}):a.ajax({dataType:"text",
	url:b,crossDomain:!0,success:function(a){fc(a)},error:function(a,b,c){U()}})}function fc(b){try{b=JSON.parse(b);var c={};if(b.icestats.source.length===k)c=b.icestats.source;else for(var h=0;h<b.icestats.source.length;h++){var d=b.icestats.source[h].listenurl;oa==d.substr(d.length-oa.length,oa.length)&&(c=b.icestats.source[h])}if(c.hasOwnProperty("title")&&w!=a("<div/>").html(c.title).text())if(w=a("<div/>").html(c.title).text(),Da(),"small"==u)l();else{var e=w.split(" - ");0<e.length?(L=e[0],M=e[1]):
	(L=w,M="");Z();I()}}catch(kc){C(kc)}""==w&&U()}function pc(){var b="none"==v.toLowerCase()||"nothing"==v.toLowerCase()||"php"==v.toLowerCase()?T+"/7.html":v+T+"/7.html";"php"==v.toLowerCase()?a.ajax({dataType:"text",method:"POST",crossDomain:!1,url:ua+"fallback.php",data:{url:b,mode:"fallback"},success:function(a){var b=[];var c=0,l=0;for(a+="";c<a.length;){var h=a.charCodeAt(c);if(191>=h)b[l++]=String.fromCharCode(h),c++;else if(223>=h){var d=a.charCodeAt(c+1);b[l++]=String.fromCharCode((h&31)<<
	6|d&63);c+=2}else if(239>=h){d=a.charCodeAt(c+1);var e=a.charCodeAt(c+2);b[l++]=String.fromCharCode((h&15)<<12|(d&63)<<6|e&63);c+=3}else{d=a.charCodeAt(c+1);e=a.charCodeAt(c+2);var g=a.charCodeAt(c+3);h=(h&7)<<18|(d&63)<<12|(e&63)<<6|g&63;h-=65536;b[l++]=String.fromCharCode(55296|h>>10&1023);b[l++]=String.fromCharCode(56320|h&1023);c+=4}}b=b.join("");gc(b)},error:function(a,b,c){U()}}):a.ajax({dataType:"text",url:b,crossDomain:!0,success:function(a){gc(a)},error:function(a,b,c){U()}})}function gc(b){b=
	a(b).text();b=b.split(",");if(6<b.length){var c=a("<div/>").html(b[6]).text();if(7<b.length)for(var h=7;h<b.length;h++)c+=","+a("<div/>").html(b[h]).text();w!=c&&(w=c,Da(),"small"==u?l():(b=w.split(" - "),0<b.length?(L=b[0],M=b[1]):(L=w,M=""),Z(),I()))}""==w&&U()}function rc(){a.ajax({dataType:"xml",url:"https://api.radionomy.com/currentsong.cfm?radiouid="+fb+"&apikey="+gb+"&callmeback=yes&type=xml&cover=yes&previous=yes",crossDomain:!0,success:function(b){var c=a(b).find("track").find("artists").text();
	a(b).find("track").find("title").text()!=a(b).find("track").find("artists").text()&&(c+=" - "+a(b).find("track").find("title").text());w!=c&&(w=c,Da(),"small"==u?l():(b=w.split(" - "),0<b.length?(L=b[0],M=b[1]):(L=w,M=""),Z(),I()));""==w&&U()},error:function(a,b,c){U()}})}function sc(){a.ajax({type:"GET",crossDomain:!0,cache:!1,url:"//www.radiojar.com/api/stations/"+tc+"/now_playing/?rand="+Math.random(),dataType:"jsonp",async:!0,success:function(a){if(a)try{var b=a.artist+" - "+a.title;w!=b&&(w=
	b,Da(),"small"==u?l():(L=a.artist,M=a.title,Z(),I()))}catch(y){}},error:function(a,b,c){}})}function qc(){var b="none"==v.toLowerCase()||"nothing"==v.toLowerCase()||"php"==v.toLowerCase()?T+"/currentsong?sid="+Ka:v+T+"/currentsong?sid="+Ka;"php"==v.toLowerCase()?a.ajax({dataType:"text",method:"POST",crossDomain:!1,url:ua+"fallback.php",data:{url:b,mode:"fallback"},success:function(a){hc(a)},error:function(a,b,c){U()}}):a.ajax({dataType:"text",url:b,crossDomain:!0,success:function(a){hc(a)},error:function(a,
	b,c){U()}})}function hc(a){w!=a&&(w=a,Da(),"small"==u?l():(a=w.split(" - "),0<a.length?(L=a[0],M=a[1]):(L=w,M=""),Z(),I()));""==w&&U()}function nc(){var b="none"==v.toLowerCase()||"nothing"==v.toLowerCase()||"php"==v.toLowerCase()?Ra:v+Ra;"php"==v.toLowerCase()?a.ajax({dataType:"text",method:"POST",crossDomain:!1,url:ua+"fallback.php",data:{url:b,mode:"fallback"},success:function(a){ic(a)},error:function(a,b,c){U()}}):a.ajax({dataType:"text",url:b,crossDomain:!0,success:function(a){ic(a)},error:function(a,
	b,c){U()}})}function ic(b){try{if(w!=a("<div/>").html(b).text())if(w=a("<div/>").html(b).text(),Da(),"small"==u)l();else{var c=w.split(" - ");0<c.length?(L=c[0],M=c[1]):(L=w,M="");Z();I()}}catch(y){}""==w&&U()}function C(a){jc&&window.console&&console.log(a)}function p(a){return(a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a))?{r:parseInt(a[1],16),g:parseInt(a[2],16),b:parseInt(a[3],16)}:null}function pa(){return 0<=navigator.userAgent.search(/MSIE|Trident/)}function Fa(){return!!navigator.platform&&
	/iPad|iPhone|iPod/.test(navigator.platform)}function Ob(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}var uc=g.id;if(arguments.length){this.element=a(g);this.options=a.extend(!0,{},this.options,f);var vc=this;this.element.bind("remove.flashradio",function(){vc.destroy()})}for(var Zb=f.token,tc=f.radiojar,ib=f.radiouid,jb=f.apikey,kb=f.corsproxy,lb=f.streamprefix,mb=f.streamurl,nb=f.streampath,ob=f.streamid,pb=f.mountpoint,qb=f.streamtype,rb=f.themefontcolor,sb=f.themecolor,tb=
	f.radioname,ub=f.scroll,vb=f.autoplay,wb=f.debug,xb=f.ownsongtitleurl,yb=f.startvolume,zb=f.songinformationinterval,Ab=f.titlefontname,Bb=f.titlegooglefontname,Cb=f.songfontname,Db=f.songgooglefontname,Eb=f.useanalyzer,Fb=f.analyzertype,Gb=f.radiocover,Hb=f.usecover,Ib=f.affiliatetoken,Jb=f.usestreamcorsproxy,Kb=f.userinterface,Lb=f.backgroundcolor,b,Ua,E,xa,bb,cb,La,qa,Na,Za,$a,fb="",gb="",v="none",cc="/;type=mp3",T="http://streaming.radionomy.com/JamendoLounge",bc="",Ka="",oa="",Qa="other",G="#FFFFFF",
	m="#0d72bf",X="",ra="AUTO",db=!1,jc=!1,Ra="",Va,Mb,ma=!1,F=!1,Oa,fa,x,B=75,wa,ac=2E4,Ma="",Sa="",ha="",Ta="",Ea="https://www.flashradio.info/img/placeholder.png",ka="true",hb="1000lIPN",Sb="",Wa,Xa,Aa=!1,za=!1,N=2,Ub,Ha,d,sa,c,Vb,Ya,w="",r=[],ca="nothing",ia="1",u="small",t=[],la="",Xb="false",ea="",Pb="",L=" ",Qb="",M="",J=[],eb=0,Ia=[],na=0;511>na;na+=1)Ia.push(Math.floor(254/(na/100+1)*Math.random()+1));var e=0,n=0,Nb=0,Tb,Rb,K,Wb,ab,ua,Pa=!0;a(document).ready(function(){b=uc;var a=document.getElementsByTagName("script"),
	c,l;for(c=0;l=a[c];c++)if(l=l.src,0<=l.indexOf("nativeflashradiov4.js"))var d=l.substring(0,l.indexOf("nativeflashradiov4.js"));ua=d;kb!=k&&""!=kb.toString()&&(v=kb.toString());jb!=k&&""!=jb.toString()&&(gb=jb.toString());ib!=k&&""!=ib.toString()&&(fb=ib.toString());lb!=k&&""!=lb.toString()&&(cc=lb.toString());mb!=k&&""!=mb.toString()&&(T=mb.toString());nb!=k&&""!=nb.toString()&&(bc=nb.toString());ob!=k&&""!=ob.toString()&&(Ka=ob.toString());pb!=k&&""!=pb.toString()&&(oa=pb.toString());qb!=k&&""!=
	qb.toString()&&(Qa=qb.toString().toLowerCase());rb!=k&&""!=rb.toString()&&(G=rb.toString());sb!=k&&""!=sb.toString()&&(m=sb.toString());Hb!=k&&""!=Hb.toString()&&(ka=Hb.toString().toLowerCase());Jb!=k&&""!=Jb.toString()&&(Xb=Jb.toString().toLowerCase());Ib!=k&&""!=Ib.toString()&&(hb=Ib.toString());Kb!=k&&""!=Kb.toString()&&(u=Kb.toString().toLowerCase());if(Lb!=k&&""!=Lb.toString())Va=Lb.toString().toLowerCase();else{a=m;c=-.9;a=String(a).replace(/[^0-9a-f]/gi,"");6>a.length&&(a=a[0]+a[0]+a[1]+a[1]+
	a[2]+a[2]);c=c||0;d="#";var e;for(e=0;3>e;e++)l=parseInt(a.substr(2*e,2),16),l=Math.round(Math.min(Math.max(0,l+l*c),255)).toString(16),d+=("00"+l).substr(l.length);Va=d}Mb="rgba("+p(m).r+", "+p(m).g+", "+p(m).b+", 0.6)";d=G;d=d.replace("#","");a=parseInt(d.substr(0,2),16);c=parseInt(d.substr(2,2),16);d=parseInt(d.substr(4,2),16);ea=127>(299*a+587*c+114*d)/1E3?"#ffffff":"#000000";if(tb!=k&&""!=tb.toString())X=tb.toString();else switch(Qa){case "icecast2":mc();break;case "shoutcast2":ta();break;case "radionomy":Ja()}ub!=
	k&&""!=ub.toString()&&(ra=ub.toString().toLowerCase());vb!=k&&""!=vb.toString()&&(db="true"==vb.toString().toLowerCase()?!0:!1);wb!=k&&""!=wb.toString()&&(jc="true"==wb.toString().toLowerCase()?!0:!1);xb!=k&&""!=xb.toString()&&(a=xb.toString(),/^(f|ht)tps?:\/\//i.test(a)||(a="http://"+a),Ra=a);yb!=k&&""!=yb.toString()&&(B=parseInt(yb.toString()));zb!=k&&""!=zb.toString()&&(ac=parseInt(zb.toString()));Ab!=k&&""!=Ab.toString()&&(Ma=Ab.toString());Bb!=k&&""!=Bb.toString()&&(Sa=Bb.toString());Cb!=k&&
	""!=Cb.toString()&&(ha=Cb.toString());Db!=k&&""!=Db.toString()&&(Ta=Db.toString());Eb!=k&&""!=Eb.toString()&&(ca=Eb.toString().toLowerCase());Fb!=k&&""!=Fb.toString()&&(ia=Fb.toString());Gb!=k&&""!=Gb.toString()&&(Ea=Gb.toString());Fa()&&(B=100);"real"==ca&&Ob()&&(ca="fake");D()});this.stopradio=function(){V()};this.startradio=function(){Y()};this.setvolume=function(a){B=parseInt(a);A();P(B)};html5audiocheck=function(){var a=!1;try{var b=document.createElement("audio");a=!(!b.canPlayType||!b.canPlayType("audio/mpeg;").replace(/no/,
	""))}catch(y){a=!1}a&&(a=/chrome/.test(navigator.userAgent.toLowerCase())||/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent)||/OPR\/(\d+\.\d+)/i.test(navigator.userAgent)||/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?!0:!1);return a};mobilecheck=function(){return navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||
	navigator.userAgent.match(/Windows Phone/i)?!0:!1}}});
	(function(a){function k(l,f,k){if("touch"!==f.substr(0,5))return a(l).unbind(f,k);var q;for(q=0;q<g._binds.length;q++)g._binds[q].elem===l&&g._binds[q].type===f&&g._binds[q].func===k&&(document.addEventListener?l.removeEventListener(f,g._binds[q].fnc,!1):l.detachEvent("on"+f,g._binds[q].fnc),g._binds.splice(q--,1))}function g(l,f,k,q){if("touch"!==f.substr(0,5))return a(l).bind(f,q,k);if(g[f])return g[f].bind(l,f,k,q);var D=function(a){a||(a=window.event);a.stopPropagation||(a.stopPropagation=function(){this.cancelBubble=
	!0});a.data=q;k.call(l,a)};document.addEventListener?l.addEventListener(f,D,!1):l.attachEvent("on"+f,D);g._binds.push({elem:l,type:f,func:k,fnc:D})}function f(a){a.data.position.x=a.pageX;a.data.position.y=a.pageY;a.data.start.x=a.pageX;a.data.start.y=a.pageY;a.data.event=a;a.data.onstart&&a.data.onstart.call(a.data.element,a.data)||(a.preventDefault&&a.data.preventDefault&&a.preventDefault(),a.stopPropagation&&a.data.stopPropagation&&a.stopPropagation(),g(a.data.affects,Z,q,a.data),g(a.data.affects,
	I,D,a.data))}function q(a){a.preventDefault&&a.data.preventDefault&&a.preventDefault();a.stopPropagation&&a.data.preventDefault&&a.stopPropagation();a.data.move.x=a.pageX-a.data.position.x;a.data.move.y=a.pageY-a.data.position.y;a.data.position.x=a.pageX;a.data.position.y=a.pageY;a.data.offset.x=a.pageX-a.data.start.x;a.data.offset.y=a.pageY-a.data.start.y;a.data.event=a;a.data.onmove&&a.data.onmove.call(a.data.element,a.data)}function D(a){a.preventDefault&&a.data.preventDefault&&a.preventDefault();
	a.stopPropagation&&a.data.stopPropagation&&a.stopPropagation();k(a.data.affects,Z,q);k(a.data.affects,I,D);a.data.event=a;a.data.onfinish&&a.data.onfinish.call(a.data.element,a.data)}function A(a){a.data.position.x=a.touches[0].pageX;a.data.position.y=a.touches[0].pageY;a.data.start.x=a.touches[0].pageX;a.data.start.y=a.touches[0].pageY;a.data.event=a;a.data.onstart&&a.data.onstart.call(a.data.element,a.data)||(a.preventDefault&&a.data.preventDefault&&a.preventDefault(),a.stopPropagation&&a.data.stopPropagation&&
	a.stopPropagation(),g(a.data.affects,W,P,a.data),g(a.data.affects,aa,Q,a.data))}function P(a){a.preventDefault&&a.data.preventDefault&&a.preventDefault();a.stopPropagation&&a.data.stopPropagation&&a.stopPropagation();a.data.move.x=a.touches[0].pageX-a.data.position.x;a.data.move.y=a.touches[0].pageY-a.data.position.y;a.data.position.x=a.touches[0].pageX;a.data.position.y=a.touches[0].pageY;a.data.offset.x=a.touches[0].pageX-a.data.start.x;a.data.offset.y=a.touches[0].pageY-a.data.start.y;a.data.event=
	a;a.data.onmove&&a.data.onmove.call(a.data.elem,a.data)}function Q(a){a.preventDefault&&a.data.preventDefault&&a.preventDefault();a.stopPropagation&&a.data.stopPropagation&&a.stopPropagation();k(a.data.affects,W,P);k(a.data.affects,aa,Q);a.data.event=a;a.data.onfinish&&a.data.onfinish.call(a.data.element,a.data)}var ja=a.extend,Z="mousemove",I="mouseup",W="touchmove",aa="touchend";g._binds=[];a.fn.grab=function(a,k){return this.each(function(){var l={move:{x:0,y:0},offset:{x:0,y:0},position:{x:0,
	y:0},start:{x:0,y:0},affects:document.documentElement,stopPropagation:!1,preventDefault:!0,touch:!0};ja(l,a);l.element=this;g(this,"mousedown",f,l);l.touch&&g(this,"touchstart",A,l)})};a.fn.ungrab=function(a){return this.each(function(){k(this,"mousedown","mousedown")})}})(jQuery);
	jQuery.fn.extend({disableSelection:function(){this.each(function(){this.onselectstart=function(){return!1};this.onmousedown=function(a){return!1};this.unselectable="on";jQuery(this).css("-moz-user-select","none");jQuery(this).css("-webkit-user-select","none");jQuery(this).css("-webkit-touch-callout","none");jQuery(this).css("-khtml-user-select","none");jQuery(this).css("-ms-user-select","none");jQuery(this).css("user-select","none");jQuery(this).css("tap-highlight-color","rgba(0, 0, 0, 0)");jQuery(this).css("-o-tap-highlight-color",
	"rgba(0, 0, 0, 0)");jQuery(this).css("-moz-tap-highlight-color","rgba(0, 0, 0, 0)");jQuery(this).css("-webkit-tap-highlight-color","rgba(0, 0, 0, 0)")})}});
	(function(a){var k=document.createElement("div");k=k.style;var g=a.support;g.transform=""===k.MozTransform?"MozTransform":""===k.MsTransform?"MsTransform":""===k.WebkitTransform?"WebkitTransform":""===k.OTransform?"OTransform":""===k.transform?"transform":!1;g.matrixFilter=!g.transform&&""===k.filter;k=null;a.cssNumber.rotate=!0;a.cssHooks.rotate={set:function(f,k){var q=g.transform;if("string"===typeof k){var A=k;k=~A.indexOf("deg")?parseInt(A,10)*(2*Math.PI/360):~A.indexOf("grad")?parseInt(A,10)*
	(Math.PI/200):parseFloat(A)}a.data(f,"transform",{rotate:k});q?f.style[q]="rotate("+k+"rad)":g.matrixFilter&&(q=Math.cos(k),A=Math.sin(k),f.style.filter=["progid:DXImageTransform.Microsoft.Matrix(","M11="+q+",","M12="+-A+",","M21="+A+",","M22="+q+",","SizingMethod='auto expand')"].join(""),q=a.rotate.centerOrigin)&&(f.style["margin"==q?"marginLeft":"left"]=-(f.offsetWidth/2)+f.clientWidth/2+"px",f.style["margin"==q?"marginTop":"top"]=-(f.offsetHeight/2)+f.clientHeight/2+"px")},get:function(f,g){var k=
	a.data(f,"transform");return k&&k.rotate?k.rotate:0}};a.fx.step.rotate=function(f){a.cssHooks.rotate.set(f.elem,f.now+f.unit)};a.rotate={centerOrigin:"margin",radToDeg:function(a){return 180*a/Math.PI}}})(jQuery);
	(function(a){a.fn.marquee=function(k){return this.each(function(){var g=a.extend({},a.fn.marquee.defaults,k),f=a(this),q,D,A=3,P="animation-play-state",Q=!1,ja=function(a,f,g){for(var k=["webkit","moz","MS","o",""],l=0;l<k.length;l++)k[l]||(f=f.toLowerCase()),a.addEventListener(k[l]+f,g,!1)},Z=function(a){var f=[],g;for(g in a)a.hasOwnProperty(g)&&f.push(g+":"+a[g]);f.push();return"{"+f.join(",")+"}"},I={pause:function(){Q&&g.allowCss3Support?q.css(P,"paused"):a.fn.pause&&q.pause();f.data("runningStatus",
	"paused");f.trigger("paused")},resume:function(){Q&&g.allowCss3Support?q.css(P,"running"):a.fn.resume&&q.resume();f.data("runningStatus","resumed");f.trigger("resumed")},toggle:function(){I["resumed"==f.data("runningStatus")?"pause":"resume"]()},destroy:function(){clearTimeout(f.timer);f.find("*").addBack().unbind();f.html(f.find(".js-marquee:first").html())}};if("string"===typeof k)a.isFunction(I[k])&&(q||(q=f.find(".js-marquee-wrapper")),!0===f.data("css3AnimationIsSupported")&&(Q=!0),I[k]());else{var W;
	a.each(g,function(a,k){W=f.attr("data-"+a);if("undefined"!==typeof W){switch(W){case "true":W=!0;break;case "false":W=!1}g[a]=W}});g.speed&&(g.duration=parseInt(f.width(),10)/g.speed*1E3);var aa="up"==g.direction||"down"==g.direction;g.gap=g.duplicated?parseInt(g.gap):0;f.wrapInner('<div class="js-marquee"></div>');var l=f.find(".js-marquee").css({"margin-right":g.gap,"float":"left"});g.duplicated&&l.clone(!0).appendTo(f);f.wrapInner('<div style="width:100000px" class="js-marquee-wrapper"></div>');
	q=f.find(".js-marquee-wrapper");if(aa){var O=f.height();q.removeAttr("style");f.height(O);f.find(".js-marquee").css({"float":"none","margin-bottom":g.gap,"margin-right":0});g.duplicated&&f.find(".js-marquee:last").css({"margin-bottom":0});var Y=f.find(".js-marquee:first").height()+g.gap;g.startVisible&&!g.duplicated?(g._completeDuration=(parseInt(Y,10)+parseInt(O,10))/parseInt(O,10)*g.duration,g.duration*=parseInt(Y,10)/parseInt(O,10)):g.duration*=(parseInt(Y,10)+parseInt(O,10))/parseInt(O,10)}else{var ba=
	f.find(".js-marquee:first").width()+g.gap,V=f.width();g.startVisible&&!g.duplicated?(g._completeDuration=(parseInt(ba,10)+parseInt(V,10))/parseInt(V,10)*g.duration,g.duration*=parseInt(ba,10)/parseInt(V,10)):g.duration*=(parseInt(ba,10)+parseInt(V,10))/parseInt(V,10)}g.duplicated&&(g.duration/=2);if(g.allowCss3Support){l=document.body||document.createElement("div");var H="marqueeAnimation-"+Math.floor(1E7*Math.random()),Ca=["Webkit","Moz","O","ms","Khtml"],R="animation",S="",da="";l.style.animation&&
	(da="@keyframes "+H+" ",Q=!0);if(!1===Q)for(var ya=0;ya<Ca.length;ya++)if(void 0!==l.style[Ca[ya]+"AnimationName"]){l="-"+Ca[ya].toLowerCase()+"-";R=l+R;P=l+P;da="@"+l+"keyframes "+H+" ";Q=!0;break}Q&&(S=H+" "+g.duration/1E3+"s "+g.delayBeforeStart/1E3+"s infinite "+g.css3easing,f.data("css3AnimationIsSupported",!0))}var Ba=function(){q.css("transform","translateY("+("up"==g.direction?O+"px":"-"+Y+"px")+")")},Ja=function(){q.css("transform","translateX("+("left"==g.direction?V+"px":"-"+ba+"px")+")")};
	g.duplicated?(aa?g.startVisible?q.css("transform","translateY(0)"):q.css("transform","translateY("+("up"==g.direction?O+"px":"-"+(2*Y-g.gap)+"px")+")"):g.startVisible?q.css("transform","translateX(0)"):q.css("transform","translateX("+("left"==g.direction?V+"px":"-"+(2*ba-g.gap)+"px")+")"),g.startVisible||(A=1)):g.startVisible?A=2:aa?Ba():Ja();var ta=function(){g.duplicated&&(1===A?(g._originalDuration=g.duration,g.duration=aa?"up"==g.direction?g.duration+O/(Y/g.duration):2*g.duration:"left"==g.direction?
	g.duration+V/(ba/g.duration):2*g.duration,S&&(S=H+" "+g.duration/1E3+"s "+g.delayBeforeStart/1E3+"s "+g.css3easing),A++):2===A&&(g.duration=g._originalDuration,S&&(H+="0",da=a.trim(da)+"0 ",S=H+" "+g.duration/1E3+"s 0s infinite "+g.css3easing),A++));aa?g.duplicated?(2<A&&q.css("transform","translateY("+("up"==g.direction?0:"-"+Y+"px")+")"),D={transform:"translateY("+("up"==g.direction?"-"+Y+"px":0)+")"}):g.startVisible?2===A?(S&&(S=H+" "+g.duration/1E3+"s "+g.delayBeforeStart/1E3+"s "+g.css3easing),
	D={transform:"translateY("+("up"==g.direction?"-"+Y+"px":O+"px")+")"},A++):3===A&&(g.duration=g._completeDuration,S&&(H+="0",da=a.trim(da)+"0 ",S=H+" "+g.duration/1E3+"s 0s infinite "+g.css3easing),Ba()):(Ba(),D={transform:"translateY("+("up"==g.direction?"-"+q.height()+"px":O+"px")+")"}):g.duplicated?(2<A&&q.css("transform","translateX("+("left"==g.direction?0:"-"+ba+"px")+")"),D={transform:"translateX("+("left"==g.direction?"-"+ba+"px":0)+")"}):g.startVisible?2===A?(S&&(S=H+" "+g.duration/1E3+"s "+
	g.delayBeforeStart/1E3+"s "+g.css3easing),D={transform:"translateX("+("left"==g.direction?"-"+ba+"px":V+"px")+")"},A++):3===A&&(g.duration=g._completeDuration,S&&(H+="0",da=a.trim(da)+"0 ",S=H+" "+g.duration/1E3+"s 0s infinite "+g.css3easing),Ja()):(Ja(),D={transform:"translateX("+("left"==g.direction?"-"+ba+"px":V+"px")+")"});f.trigger("beforeStarting");if(Q){q.css(R,S);var k=da+" { 100%  "+Z(D)+"}",l=q.find("style");0!==l.length?l.filter(":last").html(k):a("head").append("<style>"+k+"</style>");
	ja(q[0],"AnimationIteration",function(){f.trigger("finished")});ja(q[0],"AnimationEnd",function(){ta();f.trigger("finished")})}else q.animate(D,g.duration,g.easing,function(){f.trigger("finished");g.pauseOnCycle?f.timer=setTimeout(ta,g.delayBeforeStart):ta()});f.data("runningStatus","resumed")};f.bind("pause",I.pause);f.bind("resume",I.resume);g.pauseOnHover&&(f.bind("mouseenter",I.pause),f.bind("mouseleave",I.resume));Q&&g.allowCss3Support?ta():f.timer=setTimeout(ta,g.delayBeforeStart)}})};a.fn.marquee.defaults=
	{allowCss3Support:!0,css3easing:"linear",easing:"linear",delayBeforeStart:1E3,direction:"left",duplicated:!1,duration:5E3,gap:20,pauseOnCycle:!1,pauseOnHover:!1,startVisible:!1}})(jQuery);


$("#myappasbhost-").flashradio({
	token: "YnRjdGp0dWZuYi9kcG4vY3MB",
	userinterface: "big",
	backgroundcolor: "transparent",
	themecolor: "#4c7cf3", 
	themefontcolor: "#ffffff", 
	startvolume: "100", 
	radioname: "<?php echo $dados_stm["streamtitle"]; ?>",
	scroll: "auto", 
	autoplay: "false", 
	useanalyzer: "real", 
	analyzertype: "4", 
	usecover: "true", 
	usestreamcorsproxy: "false", 
	affiliatetoken: "", 
	debug: "false", 
	ownsongtitleurl: "", 
	radiocover: "/img/img-player-full-capa.png", 
	songgooglefontname: "", 
	songfontname: "", 
	titlegooglefontname: "", 
	titlefontname: "", 
	corsproxy: "/player-web/<?php echo $dados_stm["porta"]; ?>/musica/",
	streamprefix: "", 
	mountpoint: "", 
	radiouid: "", 
	apikey: "",
	radiojar: "",  
	streamid: "1", 
	streampath: "<?php echo $ponto; ?>", 
	streamtype: "shoutcast2", 
	streamurl: "<?php echo $url_streaming; ?>", 
	songinformationinterval: "30000", 
});
</script>

      </section>
	</div>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.js"></script>
<script>

$(function () {

    //init wow effects
    new WOW().init();

    //scroll menu
    $(window).scroll(function () {
        var secondFeature = $('#features').offset().top;
        var scroll = $(window).scrollTop();
        if (scroll >= 300) {
            $('.sticky-navigation').css({"top": '0px'});
        } else {
            $('.sticky-navigation').css({"top": '-100px'});
        }
        if (scroll >= secondFeature - 200) {
            $(".mobileScreen").css({'background-position': 'center top'});
        }
        return false;
    });
    
    //page scroll
    $('a.page-scroll').bind('click', function (event) {
        var $anchor = $(this);
        $('html, body').stop().animate({
            scrollTop: $($anchor.attr('href')).offset().top - 20
        }, 1500, 'easeInOutExpo');
        event.preventDefault();
    });
});
</script>
</body>
</html>