﻿// JScript File

function CreateObject(id, value, w, h, version) {
	document.write('<OBJECT id='+id+' codeBase=http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+version+' height='+h+' width='+w+' align=middle classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 VIEWASTEXT>');
	document.write('	<PARAM NAME="FlashVars" VALUE="">');
	document.write('	<PARAM NAME="Movie" VALUE="'+value+'">');
	document.write('	<PARAM NAME="Src" VALUE="'+value+'">');
	document.write('	<PARAM NAME="WMode" VALUE="Transparent">');
	document.write('	<PARAM NAME="Play" VALUE="-1">');
	document.write('	<PARAM NAME="Loop" VALUE="-1">');
	document.write('	<PARAM NAME="Quality" VALUE="High">');
	document.write('	<PARAM NAME="SAlign" VALUE="">');
	document.write('	<PARAM NAME="Menu" VALUE="0">');
	document.write('	<PARAM NAME="Base" VALUE="">');
	document.write('	<PARAM NAME="AllowScriptAccess" VALUE="sameDomain">');
	document.write('	<PARAM NAME="Scale" VALUE="ShowAll">');
	document.write('	<PARAM NAME="DeviceFont" VALUE="0">');
	document.write('	<PARAM NAME="EmbedMovie" VALUE="0">');
	document.write('	<PARAM NAME="BGColor" VALUE="FFFFFF">');
	document.write('	<PARAM NAME="SWRemote" VALUE="">');
	document.write('	<PARAM NAME="MovieData" VALUE="">');
	document.write('	<PARAM NAME="SeamlessTabbing" VALUE="1">');
	document.write('	<PARAM NAME="Profile" VALUE="0">');
	document.write('	<PARAM NAME="ProfileAddress" VALUE="">');
	document.write('	<PARAM NAME="ProfilePort" VALUE="0">');
	document.write('	<embed src="'+value+'" loop="false" menu="false" quality="high" scale="exactfit" wmode="transparent"');
	document.write('		bgcolor="#ffffff" width="'+w+'" height="'+h+'" name="'+id+'" align="middle" allowscriptaccess="sameDomain"');
	document.write('		type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</OBJECT>');
}