﻿// JScript 文件

function showflash2(src, width, height, ID, wmode) {
	var contents = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="' + ID  + '" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + width + '" height="' +height +'">';
	contents += '<param name="menu" value="false">';
	if (typeof(wmode) == "undefined") {
		contents += '<param name="wmode" value="transparent">';
	} else {
		contents += '<param name="wmode" value="' + wmode + '">';
	}
	contents += '<param name="movie" value="' + src + '">';
    contents += '<param name="quality" value="high">';
	contents += '<param name="allowFullScreen" value="true">';
    contents += '<embed src="' + src + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" ';
	if (typeof(wmode) == "undefined") {
		contents += ' wmode="transparent" ';
	} else {
		contents += ' wmode="' + wmode + '" ';
	}
	contents += ' type="application/x-shockwave-flash" allowFullScreen="true" width="' + width + '" height="' + height +'"></embed></object>';
	//document.write(contents);
	return contents;
}
