﻿<!--
function Flash_Show(Obj,File,Width,Height,wmode){
	var Obj_Name = Obj;
	Obj = document.getElementById(Obj_Name)
	if(Obj!=null){
		if(wmode=="" || isNaN(wmode))
			wmode = 0
		Str = ""
		Str = Str + "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" "
		Str = Str + " codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" "
		Str = Str + " width=\"" + Width + "\" height=\"" + Height + "\" >";
		Str = Str + "<param name=\"movie\" value=\"" + File + "\">";
		Str = Str + "<param name=\"quality\" value=\"high\">";
		if(wmode==1)
			Str = Str + "<param name=\"wmode\" value=\"transparent\">";
		Str = Str + "<embed src=\"" + File + "\" "
		Str = Str + " quality=\"high\" "
		Str = Str + " pluginspage=\"http://www.macromedia.com/go/getflashplayer\" "
		Str = Str + " type=\"application/x-shockwave-flash\" "
		if(wmode==1)
			Str = Str + " wmode=\"transparent\" "
		Str = Str + " width=\"" + Width + "\" height=\"" + Height + "\" />";
		Str = Str + "</object>";
		Obj.innerHTML = Str;
	}else{
		alert("找不到指定物件ID名稱：「" + Obj_Name + "」，例如..\n\n<div id=\"" + Obj_Name + "\">JavaScript程式碼</div>");
	}
}
//-->
