	function MakeFlashString (tname, twidth, theight) {            
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + twidth +'" height="' + theight +'">'); 
		document.write('<param name="movie" value="' + tname +'">');
		document.write('<param name=quality value=high>');
		document.write('<param name=wmode value=transparent>');
		document.write('<embed src="' + tname +'" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' + twidth +'" height="' + theight +'"></embed> </object>');
	}

	function MakeMpegString (tname, twidth, theight) {            
		document.write('<embed src="' + tname +'" width="' + twidth +'" height="' + theight +'"></embed>');
	}

	function ReSizeIframe() { 
		ReSiseTd.height = boardframe.document.body.scrollHeight; 
		ReSiseTd.width	= boardframe.document.body.scrollWidth; 
	} 

	function MM_preloadImages() { //v3.0
	  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
		var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
		if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
	}

	function MM_findObj(n, d) { //v4.01
	  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
		d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	  if(!x && d.getElementById) x=d.getElementById(n); return x;
	}


	function MM_swapImgRestore() { //v3.0
	  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
	}

	function MM_swapImage() { //v3.0
	  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
	   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
	}


	function MM_showHideLayers() 
		{ var i,p,v,obj,args=MM_showHideLayers.arguments;
		  for (i=0; i<(args.length-2); i+=3) 
			if ((obj=MM_findObj(args[i]))!=null) 
				{ 
				v=args[i+2];
				if (obj.style) 
				{ 
					obj=obj.style; 
					v=(v=='show')?'visible':(v='hide')?'hidden':v; 
				}
				obj.visibility=v; 
			}
	}


	// ÇÏ·ç µ¿¾È ÆË¾÷ ¿­Áö ¾ÊÀ½ °ü·Ã ½ºÅ©¸³Æ®
	function getCookie(name) {
		var from_idx = document.cookie.indexOf(name+'=');
		if (from_idx != -1) { 
			from_idx += name.length + 1
			to_idx = document.cookie.indexOf(';', from_idx)
			if (to_idx == -1) {
				to_idx = document.cookie.length
			}
			return unescape(document.cookie.substring(from_idx, to_idx))
		}
	}

	// ÆË¾÷ °ü·Ã ½ºÅ©¸³Æ®
	function popupWin(winUrl, winName, top, left, intx, inty) {
		// winUrl : ÆË¾÷Ã¢ ¾È¿¡ µé¾î°¥ ÆäÀÌÁö ÆÄÀÏ¸í
		// top , left : ÆË¾÷Ã¢ À§Ä¡ Á¶Á¤
		// winx, winy : ÆË¾÷Ã¢ »çÀÌÁî
		// winName : ÆË¾÷Ã¢ ÀÌ¸§, Target ¸í
		var winPath = "../popup/"+winUrl;
		var winStatus = "top="+top+",left="+left+",width="+intx+",height="+inty+",toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=no";
		newWin = window.open(winPath, winName, winStatus);
		newWin.focus();
	}


	// winX, winY : ÆË¾÷Ã¢ »çÀÌÁî
	function popWin(URL,winX,winY,scroll) {	
		winStatus = "top=100, left=100, scrollbars="+scroll+", width="+winX+", height="+winY;
		newWin = window.open(URL,"_blank",winStatus);
		newWin.focus();
	}

	// Ä·ÆÛ½ºVR
	function popWinTour() {	
		winStatus = "top=100, left=100, width=945, height=675, toolbar=no, status=no, menubar=no, scrollbars=no, resizable=no";
		newWin = window.open("../vr_html/main.html", "_blank", winStatus);
		newWin.focus();
	}

	// ÀÎÅÍ³ÝÁõ¸í¹ß±Þ
	function popWinMinwon() {	
		winStatus = "top='+(screen.height-750)/3+', left='+(screen.width-850)/2+', width=850, height=750, toolbar=no, status=no, menubar=no, scrollbars=no, resizable=no";
		newWin = window.open("http://uni.webminwon.com/reportx40_1/reportx40_pre_frame.asp?contentId=10001&giwan_no=024102", "_blank", winStatus);
		newWin.focus();
	}

	// ÀÎÅÍ³ÝÁõ¸í¹ß±Þ
	//function popWinMinwon() {	
	//	newWin = window.open("http://uni.webminwon.com/reportx40_1/reportx40_pre_frame.asp?contentId=10001&giwan_no=024102", "_blank",'reportx40','width=850,height=750,top='+(screen.height-450)/2+',left='+(screen.width-620)/2);
	//	newWin.focus();
	//}

	// ±Þ¿©¸í¼¼¼­
	function popWinPay() {	
		winStatus = "top=100, left=100, width=945, height=768, toolbar=no, status=no, menubar=no, scrollbars=yes, resizable=no";
		newWin = window.open("http://pay.kyungmin.ac.kr/pay/view/formInfo.jsp", "_blank", winStatus);
		newWin.focus();
	}
	

	// ÇØ¿ÜÀÌºÏ (±¹Á¦±³À°¿ø)
	function popWinEbook() {
		winStatus = "top=100, left=100, width=800, height=600, toolbar=no, status=no, menubar=no, scrollbars=no, resizable=yes";
		newWin = window.open("../home/haewae_ebook.htm", "_blank", winStatus);
		newWin.focus();
	}

	// °³ÀÎÁ¤º¸º¸È£Á¤Ã¥
	function popWinPrivacy() {	
		winStatus = "top=100, left=100, width=640, height=600, toolbar=no, status=no, menubar=no, location=no, scrollbars=yes, resizable=no";
		newWin = window.open("../mmb/privacy.asp", "_blank", winStatus);
		newWin.focus();
	}

	// ÀÌ¸ÞÀÏ¹«´Ü¼öÁý°ÅºÎ
	function popWinEmreject() {	
		winStatus = "top=100, left=100, width=640, height=550, toolbar=no, status=no, menubar=no, location=no, scrollbars=no, resizable=no";
		newWin = window.open("../mmb/emreject.asp", "_blank", winStatus);
		newWin.focus();
	}



	function jumpMainSelectPage(formsite) {
		i = formsite.url.selectedIndex;
		urltarget = formsite.url.options[i].value;
		var protcall = urltarget.substring(0,4)

		if (protcall == 'http') {
			newWin = window.open(urltarget, "_blank");
			newWin.focus();
		} 
		else {
			document.location = urltarget;
		}
	}

	function jumpMainSelectPage2(targ,selObj,restore) {
		eval(selObj.options[selObj.selectedIndex].value);
		if (restore) selObj.selectedIndex = 0;
	}


	function jumpSelectPage(form_top)	{
		i = formsite.url.selectedIndex;
		urltarget = formsite.url.options[i].value;
		var protcall = urltarget.substring(0,4)

		if (protcall == 'http') {
			newWin = window.open(urltarget, "_blank");
			newWin.focus();
		} 
		else {
			document.location = urltarget;
		}
	}

	// È¨ °Ô½Ã¹° - ÀÏ¹Ý, °æ¹Î ÇÐ»ý
	function MainDisplay(mode) {
		if (mode == 'center1') {
			center1.style.display = 'block';
			center2.style.display = 'none';
			center3.style.display = 'none';
			center4.style.display = 'none';
		} else if (mode == 'center2') {
			center1.style.display = 'none';
			center2.style.display = 'block';
			center3.style.display = 'none';
			center4.style.display = 'none';
		} else if (mode == 'center3') {
			center1.style.display = 'none';
			center2.style.display = 'none';
			center3.style.display = 'block';
			center4.style.display = 'none';
		} else if (mode == 'center4') {
			center1.style.display = 'none';
			center2.style.display = 'none';
			center3.style.display = 'none';
			center4.style.display = 'block';
		} else {
			center1.style.display = 'none';
			center2.style.display = 'none';
			center3.style.display = 'none';
			center4.style.display = 'none';
		} 
	}

	// È¨ °Ô½Ã¹° - °æ¹Î ±³Á÷¿ø
	function MainDisplay2(mode) {
		if (mode == 'center1') {
			center1.style.display = 'block';
			center2.style.display = 'none';
			center3.style.display = 'none';
			center4.style.display = 'none';
			center5.style.display = 'none';
			center6.style.display = 'none';
		} else if (mode == 'center2') {
			center1.style.display = 'none';
			center2.style.display = 'block';
			center3.style.display = 'none';
			center4.style.display = 'none';
			center5.style.display = 'none';
			center6.style.display = 'none';
		} else if (mode == 'center3') {
			center1.style.display = 'none';
			center2.style.display = 'none';
			center3.style.display = 'block';
			center4.style.display = 'none';
			center5.style.display = 'none';
			center6.style.display = 'none';
		} else if (mode == 'center4') {
			center1.style.display = 'none';
			center2.style.display = 'none';
			center3.style.display = 'none';
			center4.style.display = 'block';
			center5.style.display = 'none';
			center6.style.display = 'none';
		} else if (mode == 'center5') {
			center1.style.display = 'none';
			center2.style.display = 'none';
			center3.style.display = 'none';
			center4.style.display = 'none';
			center5.style.display = 'block';
			center6.style.display = 'none';
		} else if (mode == 'center6') {
			center1.style.display = 'none';
			center2.style.display = 'none';
			center3.style.display = 'none';
			center4.style.display = 'none';
			center5.style.display = 'none';
			center6.style.display = 'block';
		} else {
			center1.style.display = 'none';
			center2.style.display = 'none';
			center3.style.display = 'none';
			center4.style.display = 'none';
			center5.style.display = 'none';
			center6.style.display = 'none';
		} 
	}

	// FAQ (ÀÚÁÖ¹¯´ÂÁú¹®)
	function showhide(num, p_totcount) { 
		for (i=1; i<=p_totcount; i++)   { 
			
			menu=eval("document.all.block"+i+".style"); 

		    if (num==i) {
				if (menu.display=="block") {
					menu.display="none"; 
				} else {
					menu.display="block"; 
				}
			} else { 
				menu.display="none"; 
			} 

			self.resizeTo(document.body.scrollWidth, document.body.scrollHeight);
		} 
	}
