function embed_youtube(file){
	document.write('<div class="videoplayer">');
	document.write('<object width="425" height="350">');
	document.write('<param name="movie" value="http://www.youtube.com/v/' + file + '" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<embed src="http://www.youtube.com/v/'+ file + '" type="application/x-shockwave-flash" width="425" height="350" wmode="transparent"></embed>');
	document.write('</object>');
	document.write('</div>');
}

function embed_youtube_a(file){
	document.write('<div class="videoplayer">');
	document.write('<object width="425" height="350">');
	document.write('<param name="movie" value="http://www.youtube.com/v/' + file + '&autoplay=1" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<embed src="http://www.youtube.com/v/'+ file + '&autoplay=1" type="application/x-shockwave-flash" width="425" height="350" wmode="transparent"></embed>');
	document.write('</object>');
	document.write('</div>');
}

function embed_flv(file,w,h){
	document.write('<div class="videoplayer">');
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="' + w + '" height="' + h + '" id="sbsplayer" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">');
	document.write('	<param name="movie" value="video/sbsplayer.swf" />');
	document.write('	<param nam="allowScriptAccess" value="always">');
	document.write('	<param name="flashvars" value="file=' + file + '&autostart=true" />');
	document.write('    <param name="wmode" value="transparent" />');
	document.write('	<embed src="video/sbsplayer.swf" allowScriptAccess="always" width="' + w + '" height="' + h + '" name="sbsplayer"	');
	document.write('		type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent"  flashvars="file=' + file + '&autostart=true" />');
	document.write('</object>');
	document.write('</div>');
}

function embed_mp3(){
	document.write('<div class="videoplayer">');
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="300" height="18" id="mp3player"');
	document.write('	codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" >');
	document.write('	<param name="movie" value="mp3player.swf" />');
	document.write('	<param nam="allowScriptAccess" value="always">');
	document.write('    <param name="wmode" value="transparent" />');
	document.write('	<embed src="mp3player.swf" allowScriptAccess="always" width="300" height="18" name="mp3player"');
	document.write('		type="application/x-shockwave-flash" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
	document.write('</div>');
}

function embed_mys(file,w,h){
	document.write('<div class="videoplayer">');
	document.write('<embed src="http://lads.myspace.com/videos/vplayer.swf" ');
	document.write('flashvars="m=' + file + '&type=video" type="application/x-shockwave-flash" wmode="transparent" width="' + w + '" height="' + h + '"></embed>');
	document.write('</div>');
}

function embed_mys_a(file,w,h){
	document.write('<div class="videoplayer">');
	document.write('<embed src="http://lads.myspace.com/videos/vplayer.swf" ');
	document.write('flashvars="m=' + file + '&type=video&a=1" autoplay="true" type="application/x-shockwave-flash" wmode="transparent" width="' + w + '" height="' + h + '"></embed>');
	document.write('</div>');
}