//플래시 출력함수 by Jeong Huiju
function flashDraw(src,w,h,alt){ 
	var altContent;
	switch(alt){
		default:
			altContent = '이 영역은 플래시 컨텐츠입니다.';
			break;
	}
	var str= '' +
		'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://get.adobe.com/flashplayer/" width="' + w + '" height="' + h + '">' +
			'<param name="movie" value="' + src + '" />' +
			'<param name="quality value=high" />' +
			'<param name="menu" value="false" />' +
			'<param name="allowScriptAccess" value="always" />' +
			'<param name="allowFullScreen" value="false" />' +
			'<param name="wmode" value="transparent" />' +
			'<!--[if !IE]>-->' +
				'<object type="application/x-shockwave-flash" data="' + src + '" width="' + w + '" height="' + h + '" style="-moz-outline-style:none;">' +
				'<param name="quality value=high" />' +
				'<param name="menu" value="false" />' +
				'<param name="allowScriptAccess" value="always" />' +
				'<param name="allowFullScreen" value="false" />' +
				'<param name="wmode" value="transparent" />' +
			'<!--<![endif]-->' +
				altContent +
			'<!--[if !IE]>-->' +
				'</object>' +
			'<!--<![endif]-->' +
		'</object>';
	document.write(str);
}

function menu_Url(args) {
	if(args == "1") args = "/subpage.php?id=11";
	if(args == "2") args = "/subpage.php?id=21";
	if(args == "3") args = "/subpage.php?id=31";
	if(args == "4") args = "/subpage.php?id=41";
	if(args == "5") args = "/bbs/board.php?bo_table=notice";
	if(args == "11") args = "/subpage.php?id=11";
	if(args == "12") args = "/subpage.php?id=12";
	if(args == "13") args = "/subpage.php?id=13";
	if(args == "21") args = "/subpage.php?id=21";
	if(args == "22") args = "/subpage.php?id=22";
	if(args == "31") args = "/subpage.php?id=31";
	if(args == "32") args = "/subpage.php?id=32";
	if(args == "33") args = "/subpage.php?id=33";
	if(args == "34") args = "/subpage.php?id=34";
	if(args == "41") args = "/subpage.php?id=41";
	if(args == "42") args = "/subpage.php?id=42";
	if(args == "51") args = "/bbs/board.php?bo_table=notice";
	if(args == "52") args = "/bbs/board.php?bo_table=free";
	if(args == "53") args = "/subpage.php?id=53";
	location.href = ""+ args;
};
