var uid = new Date().getTime();
var flashProxy = new FlashProxy(uid, 'JavaScriptFlashGateway.swf');

var buttonon = new Image();
buttonon.src = "images/button_stop.gif";
var buttonoff = new Image();
buttonoff.src = "images/button.gif";


function flashconnect(id, song){
	document.getElementById("button" + id).src = buttonon.src;
	flashProxy.call('init', id, song);
}
function buttontoggle(idoff){
	document.getElementById("button" + idoff).src = buttonoff.src;
}
