new function(){
	
	
	function update(){
	
		//var elm = document.getElementById("nowplaying");
		
		var myAjax = new Ajax.Updater(
				'nowplaying', 
				'onAir.php');
		setTimeout(update, 60000);
		

	}
	
	function addEventListener(elm, listener, fn){
	
		try{
			elm.addEventListener(listener,fn,false);
		}catch(e){
			elm.attachEvent("on"+listener,fn);
		}
	}
	
	addEventListener(window, "load", update);
}