/* ------------------------------------------------------------------------------------------ */
/* 第１引数：ｓｗｆへのパス */
/* 第２引数：幅 */
/* 第３引数：高さ */
/* 第４引数：デバッグモード（1:ON／0:OFF） */
/* 第５引数：背景色 */
/* ------------------------------------------------------------------------------------------ */
function runflash(FileName , WW , HH , DBG , BGcol)
{
    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"\n');
    document.write('	codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"\n');
    document.write('	width="');
    document.write(WW);
    document.write('" height="');
    document.write(HH);
    document.write('" id="myFlash" align="middle">\n');
    document.write('	<param name="allowScriptAccess" value="sameDomain" />\n');
    document.write('	<param name="movie" value="');
    document.write(FileName);
    document.write('?DebugMode=');
    document.write(DBG);
    document.write('" />\n');
    document.write('	<param name="quality" value="high" />\n<param name="bgcolor" value="');
    document.write(BGcol);
    document.write('" />\n');
    document.write('	<embed src="');
    document.write(FileName);
    document.write('?DebugMode=');
    document.write(DBG);
    document.write('" quality="high" bgcolor="');
    document.write(BGcol);
    document.write('"');
    document.write('		width="');
    document.write(WW);
    document.write('" height="');
    document.write(HH);
    document.write('"\n');
    document.write('		name="myFlash" align="middle" allowScriptAccess="sameDomain"\n');
    document.write('		type="application/x-shockwave-flash"\n');
    document.write('		pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');
    document.write('</object>\n');
}
/* ------------------------------------------------------------------------------------------ */
/* 第１引数：ｓｗｆへのパス */
/* 第２引数：幅 */
/* 第３引数：高さ */
/* 第４引数：デバッグモード（1:ON／0:OFF） */
/* 第５引数：背景色 */
/* ------------------------------------------------------------------------------------------ */
function runflashGGGG(FileName , WW , HH , DBG , BGcol)
{
alert((FileName +"  " + WW +"  " +  HH +"  " +  DBG))

    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="');
    document.write(WW);
    document.write('" height="');
    document.write(HH);
    document.write('" id="01_dom_app" align="middle">\n');
    document.write('	<param name="allowScriptAccess" value="sameDomain" />\n');
    document.write('	<param name="movie" value="');
    document.write(FileName);
    document.write('?DebugMode=');
    document.write(DBG);
    document.write('" />\n');
    document.write('	<param name="quality" value="high" />\n');
    document.write('	<param name="bgcolor" value="#FFFFFF" />\n');
    document.write('	<embed src="');
    document.write(FileName);
    document.write('?DebugMode=');
    document.write(DBG);
    document.write('"');
    document.write('		quality="high" bgcolor="#FFFFFF"');
    document.write('		width="');
    document.write(WW);
    document.write('" height="');
    document.write(HH);
    document.write('\n');
    document.write('		name="01_dom_app" align="middle"');
    document.write('		allowScriptAccess="sameDomain"');
    document.write('		type="application/x-shockwave-flash"');
    document.write('		pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');
    document.write('</object>\n');
}
/* ------------------------------------------------------------------------------------------ */
/* ポップアップ用の ＪＳ  */
/* ------------------------------------------------------------------------------------------ */
var prtwin = null;
function popup(page,w_size,h_size){
	if(prtwin == null || prtwin.closed){
	}else{
		prtwin.close();
		prtwin = null;
	};
	winid=window.open(page,"prtwin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,left=20,top=20,width=" + w_size + ",height=" + h_size );
}
/* ------------------------------------------------------------------------------------------ */
