//ご質問・ご意見・ご感想フォー･・
function impress()
{ window.open("","impress","width=570,height=600,directories=0,location=0,menubar=0,scrollbars=1,status=0,toolbar=0,resizable=0"); }

//ウィンドウク・充ズ
function winclose()
{ window.close(); }

//独立データﾊ・・・
function drk()
{ window.open("","drk","width=750,height=500,directories=0,location=0,menubar=0,scrollbars=0,status=0,toolbar=0,resizable=0"); }


function preconwin()
{ window.open("","preconwin","width=300,height=323,directories=0,location=0,menubar=0,scrollbars=0,status=0,toolbar=0,resizable=0"); }


//メニューバー

var openedMenu = null;
var submenuTimer;


function menuOvr(id){

	if (openedMenu && openedMenu != id){
		CloseMenu(id);
	}
	// サブウィンドウの表示
	OpenMenu(id);
}


function OpenMenu(id){ 
	if ( document.getElementById ){
		document.getElementById( id ).style.visibility = 'visible';
	}else if ( document.all ){
		document.all( id ).style.visibility = 'visible';
	}else if ( document.layers ){
		document.layers[ id ].visibility = 'show';
	}
	clearTimeout(submenuTimer);
	openedMenu = id;

}


function CloseMenu(){ 
	if ( document.getElementById ){
		document.getElementById( openedMenu ).style.visibility = 'hidden';
	}else if ( document.all ){
		document.all( openedMenu ).style.visibility = 'hidden';
	}else if ( document.layers ){
		document.layers[ openedMenu ].visibility = 'hide';
	}
	openedMenu = null;
}


//Flash
function GetFlash( swf , width , height )
{
	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 + "?document.lastModified>"
	htm+="<param  name    = quality value=high>"
	htm+="<param  name    = wmode value=opaque>"
	htm+="<embed  src     = " + swf + " "
	htm+="        quality = high  "
	htm+="        width   = "+ width
	htm+="        height  = " + height
	htm+="         wmode  = 'opaque'"
	htm+="        type    = 'application/x-shockwave-flash'"
	htm+="        pluginspage='http://www.macromedia.com/go/getflashplayer'>"
	htm+="</embed>"
	htm+="</object>"
  document.write(htm)
}

