<!-- songname --> <script> function show_station_title() { $.getJSON('http://server.com:8000/status-json.xsl?mount=/server_aac', function(data) { $('.track_title').html(data.icestats.source.title); }) } $(document).ready(function() { show_station_title(); setInterval('show_station_title()', 3000) }); </script>