function el(id){
  return document.getElementById(id);
}


function showFlash(src, width, height){
		
	document.write('<object  classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  allowScriptAccess="always" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" type="application/x-shockwave-flash" style="z-index:9999" width="'+width+'" height="'+height+'" data="'+src+'">');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<param name="movie" value="'+src+'" />');
	document.write('<embed width="'+width+'" height="'+height+'" allowScriptAccess="always" base="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" wmode="transparent" swliveconnect="true" quality="high" type="application/x-shockwave-flash" src="'+src+'"></embed></object>');

}



function showFLV(src, width, height){
		
	document.write('<object title="" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" type="application/x-shockwave-flash" style="z-index:9999" width="'+width+'" height="'+height+'" data="http://www.hitkrant.nl/flv/osflvplay.swf?movie='+src+'&amp;autoload=on&amp;autorewind=off&amp;autoplay=on&amp;volume=75&amp;bgcolor=0x+flvColor+&amp;fgcolor=0xffffff">');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<param name="movie" value="http://www.tableaufineartsmagazine.nl/flv/osflvplay.swf?movie='+src+'&amp;autoload=on&amp;autorewind=off&amp;autoplay=on&amp;volume=75&amp;bgcolor=0x+flvColor+&amp;fgcolor=0xffffff" />');
	document.write('<embed title="" width="'+width+'" height="'+height+'" allowscriptaccess="always" base="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" wmode="transparent" swliveconnect="true" quality="high" type="application/x-shockwave-flash" src="http://www.hitkrant.nl/flv/osflvplay.swf?movie='+src+'&amp;autoload=on&amp;autorewind=off&amp;autoplay=off&amp;volume=75&amp;bgcolor=0x546c75&amp;fgcolor=0xffffff"></embed></object>');

}


function showYoutube(y, w, h){

	document.write('<object style="width:' +w+'px; height:'+h+'px">');
	document.write('<param name="movie" value="http://www.youtube.com/v/'+y+'&related=0" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<embed src="http://www.youtube.com/v/'+y+'" type="application/x-shockwave-flash" wmode="transparent" width="'+w+'" height="'+h+'" /><'+'/object>');
	
}

function showGoogleVideo(y, w, h){

	document.write('<embed src="http://video.google.nl/googleplayer.swf?docid='+y+'&hl=nl&fs=true" '); 
	document.write('style="width:'+w+'px;height:'+h+'px" allowFullScreen="true" allowScriptAccess="always" ');
	document.write('type="application/x-shockwave-flash"></'+'embed>');
}


function showMyVideo(y, w, h){
	document.write('<object style="width:'+w+'px;height:'+h+'px;" type="application/x-shockwave-flash" ');
	document.write('data="http://www.myvideo.nl/movie/'+y+'"><param name="movie" ');
	document.write('value="http://www.myvideo.nl/movie/'+y+'"></'+'param><param name="AllowFullscreen" value="true">');
	document.write('<'+'/param><param name="allowScriptAccess" value="always"></'+'param><embed ');
	document.write('src="http://www.myvideo.nl/movie/'+y+'" width="'+w+'" height="'+h+'"></'+'embed></'+'object>');
}

function showMySpace(y, w, h){
	document.write('<object style="width:'+w+'px;height:'+h+'px"><param name="allowFullScreen" value="true" />');
	document.write('<param name="wmode" value="transparent" /><param name="movie" '); document.write('value="http://mediaservices.myspace.com/services/media/embed.aspx/m='+y+',t=1,mt=video,searchID=,primarycolor=,secondarycolor=" />');
	document.write('<embed src="http://mediaservices.myspace.com/services/media/embed.aspx/m='+y+',t=1,mt=video,searchID=,primarycolor=,secondarycolor=" ');
	document.write('style="width:'+w+'px;height:'+h+'px" allowFullScreen="true" ');
	document.write('type="application/x-shockwave-flash" wmode="transparent"/></'+'object>');
}



