/*
*
*	Now Play Update Script
*
*	Assumes jquery is included already
*	Pulls upload.js and parses it then inserts
*	it into the span with id songinfo
*
*/

function nowplay_update() {
	$('#songinfo').fadeOut('slow');
	
	$.ajax({
	  url: "/ajax/data/current.txt",
	  cache: false,
	  success: function(html) {
		  
			
			$('#songinfo').html(html).fadeIn('slow');
	  }
	});
	
	setTimeout(nowplay_update,10000);
}




$(document).ready(function() {

	nowplay_update();
});