	
/*
	ÇÁ·ÐÆ® °ü·Ã ÇÔ¼ö
*/	
	var bExplorer4plus = (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.substring(0,1) >= "4");
	
	function CheckUIElements(SpostionValue)
	{
		
	        var yMenuFrom, yMenuTo, yButtonFrom, yButtonTo, yOffset, timeoutNextCheck;
	
	        if ( bExplorer4plus ) {  // IE ¿ë ¼³Á¤

	                yMenuFrom   = parseInt (KabRightSlide.style.top, 10);
	                yMenuTo     = document.body.scrollTop + parseInt(SpostionValue); // À§ÂÊ À§Ä¡ 191
	        }
	
	        timeoutNextCheck = 100;
	
	        if ( Math.abs (yButtonFrom - (yMenuTo + 152)) < 6 && yButtonTo < yButtonFrom ) {
	                setTimeout ("CheckUIElements("+SpostionValue+")", timeoutNextCheck);
	                return;
	        }
	
	
	        if ( yButtonFrom != yButtonTo ) {
	                yOffset = Math.ceil( Math.abs( yButtonTo - yButtonFrom ) / 10 );
	                if ( yButtonTo < yButtonFrom )
	                        yOffset = -yOffset;
	
	                if ( bExplorer4plus )
	                        divLinkButton.style.top = parseInt (divLinkButton.style.top, 10) + yOffset;
	
	                timeoutNextCheck = 10;
	        }
	        if ( yMenuFrom != yMenuTo ) {
	                yOffset = Math.ceil( Math.abs( yMenuTo - yMenuFrom ) / 20 );
	                if ( yMenuTo < yMenuFrom )
	                        yOffset = -yOffset;
	
	                if ( bExplorer4plus )
	                        KabRightSlide.style.top = parseInt (KabRightSlide.style.top, 10) + yOffset;
	
	                timeoutNextCheck = 10;
	        }
	
	        setTimeout ("CheckUIElements("+SpostionValue+")", timeoutNextCheck);
	}
	
	function Slide(SpostionValue)
	{
		
	        var y;
	
	        // Æä¿¡Áö ·Îµù½Ã Æ÷Áö¼Ç
	        if ( bExplorer4plus ) {
	                KabRightSlide.style.top = document.body.scrollTop;
	                KabRightSlide.style.visibility = "visible";
	        }
	
	        CheckUIElements(SpostionValue);
	        
	        return true;
	}
	
	//Status Bar
	var msg = 'ÇÑ±¹ÀÎÁ¤¿ø¿¡ ¿À½Å°É È¯¿µÇÕ´Ï´Ù.'; 
	function hideURL() { 
		window.status = msg; 
		timerID= setTimeout("hideURL()", 0); 
	} 
	hideURL(); 
	
	// ÄÁÆß ¸Þ¼¼Áö ¹Ú½º
	
	function ConfirmJavaScript(JSMessage,JSGotoPageURL) 
	{
			
		var ConFirmTxt = confirm(JSMessage);  
	
		if(ConFirmTxt){
			document.location.href = JSGotoPageURL;
		}	
		else{
			return;
		}	
	}	
		
	// ÇÁ·Î±×·¹½º ¹Ù °ü·ÃÇÔ¼ö
	function PageLocationURL(GotoPageURL) 
	{
									
		if (GotoPageURL != "") 
		{
			document.location.href = GotoPageURL;
		}	
		else 
		{
			alert("URL ¿À·ùÀÔ´Ï´Ù.\n\n»õ·Î°íÄ§ ÈÄ ´Ù½Ã ÀÌ¿ëÇÏ¿© ÁÖ½Ã±â ¹Ù¶ø´Ï´Ù.");
		}	
										
	}	
	// ÀÌ¸ÞÀÏ Ã¼Å©
	
	function isEmail(s) 
	{
		  var i = 1;
		  var sLength = s.length;
		  
		  while ((i < sLength) && (s.charAt(i) != "@"))
		  { i++ }
		  
		  if (( i>= sLength) || (s.charAt(i) != "@")) return false;
		  else i += 2;
	
		  while ((i < sLength) && (s.charAt(i) != "."))
		  { i++  }
	
		  if (( i>= sLength - 1) || (s.charAt(i) != ".")) return false;
		  else return true;
	}
	
	// ¾ÆÀÌµð ÇÑ±ÛÃ¼Å©
	
	function IDAlPhaChK(str)
	{
		var ch = str.charAt(0);
		if ( (ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z') )
			return true;
		else
			return false;
	}
	
	//¾ÆÀÌµð Ã¹±ÛÀÚ ¼ýÀÚÃ¼Å©
	function IDNumChk( str )
	{
		var result = true;
		for(var i=0; i < str.length;i++)
		{
			var ch=str.charAt(i);
	
			if ( (ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z')  || (ch >= '0' && ch <= '9'))
				continue;
			Else
			{
				result = false;
				break;
			}
		}
	    return result;
	}
	
	
	// Ã¢ ¶ç¿ì±â
	
	var DefaultPopupView = null; 
	function DefaultPopup(CurrentOpenPageUrl,PopupName,Width,Height,Scroll){ 
		LeftPosition = (screen.width) ? (screen.width-Width)/2 : 0; 
		TopPosition = (screen.height) ? (screen.height-Height)/10 : 0; 
		PopupSetting = 'height='+Height+',width='+Width+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+Scroll+',resizable=0' 
		DefaultPopupView = window.open(CurrentOpenPageUrl,PopupName,PopupSetting) 
	}	
	
	
	// ¼­ºêÆäÀÌÁö »ó´Ü °Ë»ö Ã¼Å©

	function Check_SubSearchFrm_Go(form) 
	{

		if (form.KeyWordValue.value.length < 2) {
		     alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ¿© ÁÖ¼¼¿ä.");      
		     form.KeyWordValue.focus();  
		     return false;
		}
		return true;      

	}

	
	//Document Write	
	function documentwrite(GotoSrcString)
	{
		document.write(GotoSrcString);
	}

	//ÇÃ·¡½¬ ÄÚµå

	function MakeFlashString(FlashFileURL,WIdthSize,HeightSize,WmodeString,FlashNameString,AlignString) 
	{
		if(WmodeString == "1")
		{
			return "<OBJECT classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\"  codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" WIDTH=\""+WIdthSize+"\" HEIGHT=\""+HeightSize+"\" id=\""+FlashNameString+"\" ALIGN=\""+AlignString+"\"><PARAM NAME=movie VALUE=\""+FlashFileURL+"\"><PARAM NAME=quality VALUE=high><PARAM NAME=\"allowScriptAccess\" VALUE=\"sameDomain\" /><PARAM NAME=\"wmode\" VALUE=\"transparent\" /><EMBED src=\""+FlashFileURL+"\" quality=high bgcolor=#FFFFFF WIDTH=\""+WIdthSize+"\" HEIGHT=\""+HeightSize+"\" NAME=\""+FlashNameString+"\" ALIGN=\""+AlignString+"\" TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\"></EMBED></OBJECT>";
		}
		else
		{
			return "<OBJECT classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\"  codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" WIDTH=\""+WIdthSize+"\" HEIGHT=\""+HeightSize+"\" id=\""+FlashNameString+"\" ALIGN=\""+AlignString+"\"><PARAM NAME=movie VALUE=\""+FlashFileURL+"\"><PARAM NAME=quality VALUE=high><PARAM NAME=\"allowScriptAccess\" VALUE=\"sameDomain\" /><EMBED src=\""+FlashFileURL+"\" quality=high bgcolor=#FFFFFF WIDTH=\""+WIdthSize+"\" HEIGHT=\""+HeightSize+"\" NAME=\""+FlashNameString+"\" ALIGN=\""+AlignString+"\" TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\"></EMBED></OBJECT>";
		}										
	}

	//µ¿¿µ»ó ÄÚµå

	function MakeMovieString(MovieFileURL,WIdthSize,HeightSize,MovieNameString,MovieAlign) 
	{
		return "<EMBED SRC=\""+MovieFileURL+"\" ALIGN=\""+MovieAlign+"\" WIDTH=\""+WIdthSize+"\" HEIGHT=\""+HeightSize+"\" NAME=\""+MovieNameString+"\">";
	}

	