// Created by Jonathan Penn (3/8/2008)
//
// This is a quick hack to get the music player working
// until we figure out why the wimpy player is down.
//

function play_mp3(songfile)
{
	str = '<object id="new_flash_player" type="application/x-shockwave-flash" data="http://ue3records.com/views/swf/player.swf" id="audioplayer1" height="24" width="200">';
	str += '<param name="movie" value="http://ue3records.com/views/swf/player.swf">';
	str += '<param name="FlashVars" value="playerID=1&amp;autostart=yes&amp;soundFile=http://ue3records.com/media/audio/'+escape(songfile)+'">';
	str += '<param name="quality" value="high">';
	str += '<param name="menu" value="false">';
	str += '<param name="wmode" value="transparent">';
	str += '</object>';

	$("music_player").innerHTML = str;
}
