function RunFoo(file, width, height)
	{
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+width+'" height="'+height+'" align="middle">\n');
		document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
		document.write('<param name="movie" value="img/'+file+'.swf" />\n');
		document.write('<param name="quality" value="high" />\n');
		document.write('<param name="bgcolor" value="#FFFFFF" />\n');
		document.write('<param name="wmode" value="transparent" />\n');
	document.write('<embed src="img/'+file+'.swf" quality="high" bgcolor="#FFFFFF" width="'+width+'" height="'+height+'" name="slide" align="middle" wmode="transparent" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');
	document.write('</object>\n');
	}

function RunMovie(file)
	{
	document.write('<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" align="middle">\n');
		document.write('<param name="FileName" value="'+file+'" />\n');
		document.write('<embed src="'+file+'" name="player" type="video/x-ms-wmv-plugin" pluginurl="http://www.microsoft.com/windows/windowsmedia" />\n');
	document.write('</object>\n');
	}