function writeFlash( swf , width , height )
{
//FLASHを開く
  var htm = ""
  htm+="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'"
  htm+="        codebase='http://download.macromedia.com/pub/shockwave/"
                    htm+="cabs/flash/swflash.cab'"
  htm+="        width   = " + width
  htm+="        height  = " + height + ">"
  htm+="<param  name    = movie value=" + swf + ">"
  htm+="<param  name    = quality value=high>"
  htm+="<embed  src     = " + swf + " "
  htm+="        quality = high  "
  htm+="        width   = "+ width
  htm+="        height  = " + height
  htm+="        type    = 'application/x-shockwave-flash' "
  htm+="        pluginspage='http://www.macromedia.com/go/getflashplayer'>"
  htm+="</embed>"
  htm+="</object>"
  document.write(htm)
}
function check(){
//フォームelementsの禁止文字のチェック
	num = document.form1.elements.length
	str = new Array("'",'"',"\\","=","\*","\?","(",")","\/","\+","\,")
	for(j=0;j<str.length;j++){
		for(i=0;i<num;i++){
			if(document.form1.elements[i].value.toLowerCase().indexOf(str[j],0) >= 0){
				alert("使用できない文字「"+str[j]+"」があります。");
				document.form1.elements[i].focus();
				return false;
			}
		}
	}
	return true;
}
function openWindow(theURL,winName,features) {
//画像サイズで開く
  window.open(theURL,winName,features);
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}