function temporizadorProgramacaoAoVivo() { var t=setInterval("programacaoAoVivo()",5000); } function programacaoAoVivo() { var d = new Date(); $.ajax({ type: "GET", url: "/estaticos/mobile/BEAT98.xml?time="+d.getTime(), dataType: "xml", success: function(xml){ $(xml).find("track").each(function(){ $('#estacao #artista').html($(this).find("ARTISTA").text()); $('#estacao #titulo').html($(this).find("TITULO").text()); $('#estacao #album').html($(this).find("album").text()); if ($('#estacao h4').html() != $(this).find("image").text()) { if ($(this).find("image").text()!="") { id = $(this).find("image").text(); pasta = Math.ceil(id / 100); idr = id; idr = idr.replace('\\','/'); $('#estacao div#image').html(' '); $("img.reflect").reflect(); } else { $('#estacao div#image').html(''); } } $('#estacao h4').html($(this).find("image").text()); }); } }); } function comScore(C){var A="comScore",j=document,y=j.location,B="",z="undefined",x=2048,D,v,i,w,c="characterSet",l="defaultCharset",u=(typeof encodeURIComponent!=z?encodeURIComponent:escape);if(j.cookie.indexOf(A+"=")!=-1){i=j.cookie.split(";");for(w=0,y=i.length;wx&&C.indexOf("&")>0){D=C.substr(0,x-8).lastIndexOf("&");C=(C.substring(0,D)+"&ns_cut="+u(C.substring(D+1))).substr(0,x)}if(j.images){v=new Image();if(typeof ns_p==z){ns_p=v}v.src=C}else{j.write('
')}}comScore("http"+(document.location.href.charAt(4)=="s"?"s://sb":"://b")+".scorecardresearch.com/p?c1=2&c2=6035227"); <p><img src="http://b.scorecardresearch.com/p?c1=2&c2=6035227" height="1" width="1" alt="*"/></p>
0 comentários:
Postar um comentário