function  viewFlash(sDiv, sURL, sId, sCid, sWidth , sHeight, sAlign, sWmode, sBgcolor, sOrder, sFlashVars){
	// キャッシュ殺し
	var now = new Date();
	if(sURL.indexOf('?') == -1)	sURL += '?'+now.getTime();
	else						sURL += '&'+now.getTime();

	var codeBase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0";
	var pluginsPage = "application/x-shockwave-flash";
	var embedType = "application/x-shockwave-flash";
	var pluginsPage = "http://www.macromedia.com/go/getflashplayer";

	var attributes = "";
	var params = "";

	if (navigator.appVersion.indexOf("MSIE") != -1) {
		document.write("<OBJECT CLASSID=\""+ sCid +"\" CODEBASE=\""+ codeBase +"\" WIDTH=\""+ sWidth +"\" HEIGHT=\""+ sHeight +"\" FlashVars=\"" + sFlashVars + "\ ID=\"" + sId + "\" ALIGN=\"" + sAlign + "\">");
		document.write("<PARAM NAME=\"movie\" VALUE=\"" + sURL + "\"/>");
		document.write("<PARAM NAME=\"quality\" VALUE=\"high\"/>");
		document.write("<PARAM NAME=\"allowScriptAccess\" VALUE=\"always\"/>");
		if(sWmode) document.write("<PARAM NAME=\"wmode\" VALUE=\""+ sWmode + "\"/>");
		if(sBgcolor) document.write("<PARAM NAME=\"bgcolor\" VALUE=\""+ sBgcolor + "\"/>");
		if(sFlashVars) document.write("<PARAM NAME=\"FlashVars\" VALUE=\""+ sFlashVars + "\"/>");
		if(params) document.write(params);
		document.write("</OBJECT>");
	}else{
		document.write("<EMBED SRC=\""+ sURL + "\" QUALITY=\"high\" WMODE=\"" + sWmode + "\" BGCOLOR=\"" + sBgcolor + "\"  WIDTH=\""+ sWidth +"\" HEIGHT=\""+ sHeight +"\" NAME=\"" + sId + "\" ALIGN=\"" + sAlign + "\" FlashVars=\"" + sFlashVars + "\" TYPE=\"" + embedType + "\" PLUGINSPAGE=\"" + pluginsPage + "\" allowScriptAccess=\"always\""+ attributes +"/>");
	}
}

