	/*---------------------------------------------------------------------
	  ※ 새창관리 
	---------------------------------------------------------------------*/
	function win_win_zzang(url,w_name,w_to,w_le,w_re,w_sc,w_st,w_wi,w_he){
		window.open(url,w_name,'top=10,left=10,resizable=no,scrollbars='+w_sc+',status=no,width='+wi+',height='+he+'');
	}
	function win_win(url,w_name,wi,he,w_sc){
		window.open(url,w_name,'top=10,left=10,resizable=no,scrollbars='+w_sc+',status=no,width='+wi+',height='+he+'');
	}

	function win_print(url)
	{
		window.open(url,'win_print','top=10,left=10,resizable=no,scrollbars=yes,status=no,width=600,height=500');
	}
	function win_img(url)
	{
		window.open(url,'win_img','top=10,left=10,resizable=no,scrollbars=no,status=no');
	}
	function win_win_1(url,wi,he)
	{
		window.open(url,'win_win','top=10,left=10,resizable=no,scrollbars=no,status=no,width='+wi+',height='+he+'');
	}
	function win_win_type1(url,wi,he)
	{
		window.open(url,'win_win_type1','top=0,left=0,resizable=no,scrollbars=yes,status=no,width='+wi+',height='+he+'');
	}
	function win_win_new(url,wi,he,F_MC)
	{
		window.open(url+'?Menu_Code='+F_MC,'print','top=10,left=10,sresizable=no,scrollbars=auto,status=no,width='+wi+',height='+he+'');
	}
	function Contents_open(url)
	{
		window.open(url,'Contents','top=10,left=10,resizable=no,scrollbars=auto,status=no,width=650,height=650');
	}
	function MM_openBrWindow(theURL,winName,features) { //v2.0
    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;
	}

	/*---------------------------------------------------------------------
	  ※ 전체화면
	---------------------------------------------------------------------*/
	function fullwin(targeturl){
	window.open(targeturl,"","fullscreen,scrollbars")
	}

	/*---------------------------------------------------------------------
	  ※ 기타
	---------------------------------------------------------------------*/		
	function expand() {
	for(x = 0; x < 50; x++) {
	window.moveTo(screen.availWidth * -(x - 50) / 100, screen.availHeight * -(x - 50) / 100);
	window.resizeTo(screen.availWidth * x / 50, screen.availHeight * x / 50);
	}
	window.moveTo(0,0);
	window.resizeTo(screen.availWidth, screen.availHeight);
	}

	function launchCenter(url, name, height, width) {
	  var str = "height=" + height + ",innerHeight=" + height;
	  str += ",width=" + width + ",innerWidth=" + width;
	  if (window.screen) {
		var ah = screen.availHeight - 30;
		var aw = screen.availWidth - 10;

		var xc = (aw - width) / 2;
		var yc = (ah - height) / 2;

		str += ",left=" + xc + ",screenX=" + xc;
		str += ",top=" + yc + ",screenY=" + yc;
	  }
	  return window.open(url, name, str);
	}
	var statusmsg=""
	function hidestatus(){
		window.status=statusmsg
		return true
	}

	/*---------------------------------------------------------------------
	  ※ 항상가운데1
	---------------------------------------------------------------------*/	
	function NewWindow_org(mypage, myname, w, h, scroll) { 
	var winl = (screen.width - w) / 2; 
	var wint = (screen.height - h) / 2; 
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no' 
	win = window.open(mypage, myname, winprops) 
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); } 
	} 

	function NewWindow(mypage, myname, w, h, scroll) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no,status=no'
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
	}
	/*---------------------------------------------------------------------
	  검색
	---------------------------------------------------------------------*/
	var c=false;
	function ch1() {
	if ( c ) return;
	document.forms[0].sil_word.style.backgroundImage="";
	c=true;
	}


	/*---------------------------------------------------------------------
	  숫자콤마
	---------------------------------------------------------------------*/

	function commaSplit(srcNumber) {
	var txtNumber = '' + srcNumber;

	
	var rxSplit = new RegExp('([0-9])([0-9][0-9][0-9][,.])');
	var arrNumber = txtNumber.split('.');
	arrNumber[0] += '.';
	do {
	arrNumber[0] = arrNumber[0].replace(rxSplit, '$1,$2');
	} while (rxSplit.test(arrNumber[0]));
	if (arrNumber.length > 1) {
	return arrNumber.join('');
	}
	else {
	return arrNumber[0].split('.')[0];
		  }
	   }

	/*---------------------------------------------------------------------
	  콤마제거
	---------------------------------------------------------------------*/
	function no_comma(data)
	{
		var tmp = '';
		var comma = ',';
		var i;

		for (i=0; i<data.length; i++)
		{
			if (data.charAt(i) != comma)
				tmp += data.charAt(i);
		}
		return tmp;
	}

	/*---------------------------------------------------------------------
	  검색
	---------------------------------------------------------------------*/

/*
function selectSearch(searchGo){  
	var frm = document.searchform.go.value;
	if(document.searchform.menu_search_word.value == ""){
	 alert("검색어를 입력해 주세요");
	 document.searchform.menu_search_word.focus();
	 return false;
	 }
    else{
	if (frm == "web_search") searchGo.action = "main.html?Menu_Code=1006000000000000000";
	else if (frm == "staff") searchGo.action = "main.html?Menu_Code=1006000000000000000";
	}
}
*/


	/*---------------------------------------------------------------------
	  풀다운
	---------------------------------------------------------------------*/
    function change(form){
      var list=form.selectedIndex;
      self.location=form.options[list].value;
	  // 타겟 조절은 self 대신 원하는 프레임명 사용
      form.selectedIndex = 0;
     }

	function MM_jumpMenu(targ,selObj,restore){ //v3.0
	  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
	  if (restore) selObj.selectedIndex=0;
	}
