function showSwf(srcUrl,w,h)
{
	document.write('  	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write('			id="GCS" width="'+w+'" height="'+h+'"');
	document.write('			codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">');
	document.write('			<param name="movie" value="'+srcUrl+'" />');
	document.write('			<param name="src" value="'+srcUrl+'">');
	document.write('			<param name="quality" value="high" />');
	document.write('			<param name="bgcolor" value="#ffffff" />');
	document.write('			<param name="allowScriptAccess" value="sameDomain" />');
	document.write('			<embed src="'+srcUrl+'" quality="high" bgcolor="#ffffff"');
	document.write('				width="'+w+'" height="'+h+'" name="GCS" align="middle"');
	document.write('				play="true"');
	document.write('				loop="false"');
	document.write('				quality="high"');
	document.write('				allowScriptAccess="sameDomain"');
	document.write('				type="application/x-shockwave-flash"');
	document.write('				pluginspage="http://www.adobe.com/go/getflashplayer">');
	document.write('			</embed>');
	document.write('	</object>');
}

function imgSwf(srcUrl,w,h,img,link,target)
{
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
	document.write('codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"');
	document.write('width="'+w+'" height="'+h+'" id="smooth" valign="top">');
	document.write('	<!-- IE用 -->');
	document.write('	<param name="allowScriptAccess" value="sameDomain" />');
	document.write('	<param name="movie" value="'+srcUrl+'" />');
	document.write('	<param name="quality" value="high" />');
	document.write('	<param name="wmode" value="transparent" />');
	document.write('	<param name="bgcolor" value="#FFFFFF" />');
	document.write('	<param name="flashvars" value="img='+img+'&link='+link+'&target='+target+'&imgw='+w+'&imgh='+h+'" />');
	document.write('	<!-- Fx用 -->');
	document.write('	<embed src="'+srcUrl+'"');
	document.write('		flashvars="img='+img+'&link='+link+'&target='+target+'&imgw='+w+'&imgh='+h+'"');
	document.write('		quality="high" wmode="transparent"');
	document.write('		bgcolor="#FFFFFF" width="'+w+'" height="'+h+'" name="flash" align="middle"');
	document.write('		allowScriptAccess="sameDomain" type="application/x-shockwave-flash"');
	document.write('		pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}

