function runBioSWF()
{
	//document.write('<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/x2VX6QWOHzk"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/x2VX6QWOHzk" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>');
	document.write('<object type="application/x-shockwave-flash" data="Chris-newVideo.swf"');
	document.write('width="370" height="310" id="FlowPlayer">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="movie" value="Chris-newVideo.swf" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="scale" value="noScale" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('</object>');
}

function runMp3Player( mp3file, title )
{
	text='<object type="application/x-shockwave-flash" width="400" height="15" data="http://www.chrismacdonaldselvis.com/audio/xspf_player_slim.swf?song_url=audio/' + mp3file + '&autoplay=true&player_title=Chris MacDonald&song_title='+title+'">';
    text+='<param name="movie" value="http://www.chrismacdonaldselvis.com/audio/xspf_player_slim.swf?song_url=audio/' + mp3file + '&autoplay=true&player_title=Chris MacDonald&song_title='+title+'" />';
    text+='</object>';
	document.write(text);
}

function runMp3List()
{
	text='<object type="application/x-shockwave-flash" width="400" height="15" data="http://www.chrismacdonaldselvis.com/audio/xspf_player_slim.swf?playlist_url=audio/chrismacdonald.xspf">';
    text+='<param name="movie" value="http://www.chrismacdonaldselvis.com/audio/xspf_player_slim.swf?playlist_url=audio/chrismacdonald.xspf" />';
    text+='</object>';
	document.write(text);
}

function runVideo(video, width, height){
	document.write('<div align="center" style="margin:10px;">');
	document.write('<embed src="'+video+'" width="' + width + '" height="' + height + '" loop="false" autostart="false" border="0"></embed>');
	document.write('</div>');
}