/*

フラッシュを入れたい場所で
var 好きな変数名 = new makeFlash("ファイル名",幅,高さ);
の一行を追加します。
例:
var old = new makeFlash("top_main.swf",900,318);

*/
makeFlash = function (_name,_width,_height){
this._name;
this._width;
this._height;

document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+_width+'" height="'+_height+'">');
document.write('<param name="movie" value="'+_name+'">');
document.write('<param name="quality" value="high">');
document.write('<embed src="'+_name+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+_width+'" height="'+_height+'"></embed>');
document.write(' </object>');

}

