// URL を 「?」で分けて２番目の要素（[1]）を mydata に代入
var mydata = location.href.split("?")[1];
// Flash表示のタグの書き出し
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="570px">');
document.write('<param name="movie" value="http://imagebank.nestle.co.jp/excella/common/'+ swfname +'.swf" />');
document.write('<param name="allowScriptAccess" value="always">');
document.write('<embed src="http://imagebank.nestle.co.jp/excella/common/'+ swfname +'.swf" width="100%" height="570px" type="application/x-shockwave-flash" AllowScriptAccess="always" />');
document.write('</object>');

