function flash_print(str,w,h,v){
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="'+w+'" HEIGHT="'+h+'">');
	document.write('<PARAM NAME=movie VALUE="'+str+'">'); 
	document.write('<PARAM NAME=quality VALUE=high>');
	document.write('<PARAM NAME=menu VALUE=false>');
	if(v==1) document.write('<PARAM NAME=wmode VALUE=transparent>');
	document.write('<EMBED src="'+str+'" quality=high bgcolor=#FFFFFF  WIDTH="'+w+'" HEIGHT="'+h+'" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
	document.write('</OBJECT>');
};

function video_print(str,w,h,t){
	document.write('<OBJECT classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="'+w+'" height="'+h+'" id="VIDEO" name="VIDEO">');
	document.write('<PARAM NAME="Filename" VALUE="'+str+'">');
	document.write('<param name="AutoStart" value="true">');
	document.write('<param name="ShowControls" value="'+t+'">');
	document.write('<param name="loop" value="true">');
	document.write('</OBJECT>');
}
