
// »õ·Î¿îÃ¢ ¶ç¿ì±â
function winOpen(URL,PNAME,WIDTH,HEIGHT,SCROLLBARS) {
      window.open(URL,PNAME,"width="+WIDTH+",height="+HEIGHT+",scrollbars="+SCROLLBARS);
}

//ÀüÃ¼»õÃ¢¶ç¿ì±â
function fullwin(URL)
{
	var win = window.open(URL,"movie","fullscreen=1,scrollbars=yes");
	win.focus();
}

// ÀÌ¹ÌÁö ¸µÅ©Á¡¼± ¾ø¾Ö±â 
function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;


//************** ÅØ½ºÆ® È®´ë/Ãà¼Ò  *****************//
var cFont = 12;    // default size
var minSize = 12;
var maxSize = 16 ;

function fontPlus(){
	// aÀÇ ÆùÆ® Á¶Àý
	if (cFont >= maxSize ) {
		alert("´õ ÀÌ»ó ´Ã¸± ¼ö ¾ø½À´Ï´Ù.");
		return;
	}
	cFont = cFont + 1;

	bodyContent = document.getElementById("bodyprint");

	moFirst=bodyContent.getElementsByTagName("a");

	objs=moFirst;
	for (i=0;i<objs.length;i++) {
		objs[i].style.fontSize=cFont+'px';
	}
	
	// tdÀÇ ÆùÆ® Á¶Àý
	moFirst=bodyContent.getElementsByTagName("td");
	objs=moFirst;
	for (i=0;i<objs.length;i++) {
		objs[i].style.fontSize=cFont+'px';
	}

}

function fontMinus(){
	if (cFont <= minSize ) {
		alert("´õ ÀÌ»ó ÁÙÀÏ ¼ö ¾ø½À´Ï´Ù.");
		return;
	}
	// aÀÇ ÆùÆ® Á¶Àý
	cFont = cFont - 1;
	
	bodyContent = document.getElementById("bodyprint");
	moFirst=bodyContent.getElementsByTagName("a");
	objs=moFirst;
	for (i=0;i<objs.length;i++) {
		objs[i].style.fontSize=cFont+'px';
	}
	
	// tdÀÇ ÆùÆ® Á¶Àý
	moFirst=bodyContent.getElementsByTagName("td");
	objs=moFirst;
	for (i=0;i<objs.length;i++) {
		objs[i].style.fontSize=cFont+'px';
	}

}


//************** FAQ Åä±ÛÈ¿°ú *****************//
 document.onclick=function tgl(){
  e=event.srcElement;
  if(e.tagName=='SPAN'&&e.id.indexOf('q')!=-1){
   v=e.id.substr(1,e.id.length);
   var b=document.getElementById('a'+v).style.display;
   for(var i=0;i<=9;i++){
	   if(document.getElementById('a'+i) != undefined)
			document.getElementById('a'+i).style.display='none';
   }
   document.getElementById('a'+v).style.display=(b=='none')?'block':'none';
  }
 }



 //************** ÅÛÇÃ¸´ °øÁö±Û Åä±ÛÈ¿°ú *****************//
 document.onclick=function tgle(){
  e=event.srcElement;
  if(e.tagName=='SPAN'&&e.id.indexOf('n')!=-1){
   v=e.id.substr(1,e.id.length);
   var b=document.getElementById('v'+v).style.display;
   for(var i=0;i<=0;i++) document.getElementById('v'+i).style.display='none';
   document.getElementById('v'+v).style.display=(b=='none')?'block':'none';
  }
 }


//************** ½ºÅ©·Ñ¸Þ´º *****************//
// ¼ÂÆÃ ½ÃÀÛ 
var _scroll_topmargin=1;     // ÀÌµ¿ ¸Þ´ºÀÇ »ó´Ü ÇÑ°è ÇÈ¼¿ 
var _scroll_ing_topmargin=10;    // ¿òÁ÷ÀÌ´Â µµÁßÀÇ »ó´Ü°úÀÇ °£°Ý 
var _scroll_activate_speed=300;     // ÃÊ±â ¿òÁ÷ÀÓÀ» °¨ÁöÇÏ´Â ½Ã°£Â÷ÀÌ (1/1000ÃÊ) 
var _scroll_ing_activate_speed=10;    // ¿òÁ÷ÀÌ±â ½ÃÀÛÇÑ ÀÌÈÄ¿¡ °¨ÁöÇÏ´Â ½Ã°£Â÷ÀÌ (1/1000ÃÊ) 
var _divMenuID = "divMenu"; // ¿À¸¥ÂÊ¿¡ div ·¹ÀÌ¾îÀÇ ID¸í 

// ºê¶ó¿ìÀú ¼ÂÆÃ 
var isDOM = (document.getElementById ? true : false); 
var isIE4 = ((document.all && !isDOM) ? true : false); 
var isNS4 = (document.layers ? true : false); 
var isNS = navigator.appName == "Netscape"; 

function getRef(id) { 
    if (isDOM) return document.getElementById(id); 
    if (isIE4) return document.all[id]; 
    if (isNS4) return document.layers[id]; 
} 

// ¸ÞÀÎÇÔ¼ö 
function moveRightEdge() { 
    var yMenuFrom, yMenuTo, yOffset, timeoutNextCheck; 
    if (isNS4) { 
        yMenuFrom   = divMenu.top; 
        yMenuTo     = windows.pageYOffset+_scroll_ing_topmargin; 
    } else if (isDOM) { 
        yMenuFrom   = parseInt (divMenu.style.top, 10); 
        yMenuTo     = (isNS ? window.pageYOffset : document.body.scrollTop)+_scroll_ing_topmargin; 
    } 

    if(yMenuTo<_scroll_topmargin) yMenuTo = _scroll_topmargin; 

    timeoutNextCheck = _scroll_activate_speed; 

    if (yMenuFrom != yMenuTo) { 
        yOffset = Math.ceil(Math.abs(yMenuTo - yMenuFrom) / 10); 
        if (yMenuTo < yMenuFrom) yOffset = -yOffset; 
        if (isNS4) divMenu.top += yOffset; 
        else if (isDOM) divMenu.style.top = parseInt (divMenu.style.top, 10) + yOffset; 
        timeoutNextCheck = _scroll_ing_activate_speed; 
    } 
    setTimeout ("moveRightEdge()", timeoutNextCheck); 
} 

// Body ÅÂ±×ÀÇ onLoad ÀÌº¥Æ®¿¡ ³Ö¾îÁÖ¸é µÊ.... 
function moveInit() {
    if (isNS4) { 
        var divMenu = document[_divMenuID]; 
        divMenu.top = top.pageYOffset + _scroll_topmargin; 
        divMenu.visibility = "visible"; 
        moveRightEdge(); 
    } else if (isDOM) { 
        var divMenu = getRef(_divMenuID); 
        divMenu.style.top = (isNS ? window.pageYOffset : document.body.scrollTop) + _scroll_topmargin; 
        divMenu.style.visibility = "visible"; 
        moveRightEdge(); 
    } 
	
} 


function layerOnOff(oname,mode){		
	var obj = getRef(oname);
	obj.style.display = mode;
}

function layerOnOffArray(oname,mode,num){	
	var obj = document.all(oname);

	if( obj.length != undefined ){
		if( obj.length > 0 )
			obj[num].style.display = mode;		
	}else
		obj.style.display = mode;
}


isIE=document.all;
isNN=!document.all&&document.getElementById;
isN4=document.layers;
isHot=false;

function ddInit(e){
  topDog=isIE ? "BODY" : "HTML";
  whichDog=isIE ? document.all.divCallContents : document.getElementById("divCallContents");
  hotDog=isIE ? event.srcElement : e.target;
  while (hotDog.id!="divCallContents"&&hotDog.tagName!=topDog){
    hotDog=isIE ? hotDog.parentElement : hotDog.parentNode;
  }
  if (hotDog.id=="divCallContents"){
    offsetx=isIE ? event.clientX : e.clientX;
    offsety=isIE ? event.clientY : e.clientY;
    nowX=parseInt(whichDog.style.left);
    nowY=parseInt(whichDog.style.top);
    ddEnabled=true;
    document.onmousemove=dd;
  }
}

function dd(e){
  if (!ddEnabled) return;
  whichDog.style.left=isIE ? nowX+event.clientX-offsetx : nowX+e.clientX-offsetx;
  whichDog.style.top=isIE ? nowY+event.clientY-offsety : nowY+e.clientY-offsety;
  return false;
}
document.onmousedown=ddInit;
document.onmouseup=Function("ddEnabled=false");





/******************************
* ¼Ò»ó°øÀÎÁøÈï¿ø
********************************/



// htmlpagemove
function HtmlPage( url ) {
	top.location.href = "/rss.do?p_part=SYSMNGCOM_PROCESS&p_type=GETHTMLPAGEMOVE&p_move="+url;
}
// htmlpagemove
function HtmlPagePop( url ) {
	var popup = null;
	if(url == '/jsp/businfo/businfo_01_3_1.jsp')
		popup = getPopup('', 'popup1', '980','638');
	else if( url == '/jsp/businfo/businfo_01_3_2.jsp')
		popup = getPopup('', 'popup2', '920','635');
	else if( url == '/jsp/businfo/businfo_01_3_3.jsp')
		popup = getPopup('', 'popup3', '580','665');
	else if( url == '/jsp/businfo/businfo_01_3_4.jsp')
		popup = getPopup('', 'popup4', '630','610');
	else if( url == '/jsp/businfo/businfo_01_3_5.jsp')
		popup = getPopup('', 'popup5', '955','533');
	else if( url == '/jsp/businfo/businfo_01_3_6.jsp')
		popup = getPopup('', 'popup6', '935','455');
	else if( url == '/jsp/businfo/businfo_01_3_7.jsp')
		popup = getPopup('', 'popup7', '605','511');
	else if( url == '/jsp/businfo/businfo_01_3_8.jsp')
		popup = getPopup('', 'popup8', '626','511');
	else if( url == '/jsp/intro/intro_05_01.jsp')
		popup = getPopup('', 'pop1', '630','620');
	else if( url == '/jsp/intro/intro_05_02.jsp')
		popup = getPopup('', 'pop2', '630','620');

	popup.location.href = "/rss.do?p_part=MINMNGCOM_PROCESS&p_type=GETHTMLPAGEMOVEPOP&p_move="+url;
}



// ÇÃ·¡½Ã ¸µÅ©
// ¸ÞÀÎ ·Î°í
function main(){ location.href="/index.html"; }
function main_over(){ try{WebSpeech.Read('Áß¼ÒÀ¯Åë½Ã½ºÅÛ ¸ÞÀÎÀ¸·Î');}catch(e){} }

//º¯È­ÇÏ´Â Á¡Æ÷
function link1(){ location.href="/rss.do?p_part=GUDMNGCOM_PROCESS&p_type=CM_PAGEMOVEA&p_move=MOV101"; }
function link1_over(){ try{WebSpeech.Read('º¯È­ÇÏ´ÂÁ¡Æ÷');}catch(e){} }
//sub menu
function link11(){ location.href="/rss.do?p_part=GUDMNGCOM_PROCESS&p_type=CM_PAGEMOVEA&p_move=MOV101"; }
function link12(){ HtmlPage('/jsp/smt/smt_intro_view.jsp'); }
function link13(){ HtmlPage('/jsp/pubci/pubci_intro_view.jsp'); }

function link11_over(){ try{WebSpeech.Read('°¡¸ÍÁ¡ÇöÀåÁöµµ');}catch(e){} }
function link12_over(){ try{WebSpeech.Read('½º¸¶Æ®¼¥');}catch(e){} }
function link13_over(){ try{WebSpeech.Read('°øµ¿ºê·£µå');}catch(e){} }


//¼º°øÇÏ´Â ±³À°
function link2(){ HtmlPage('/jsp/supedu/super_intro_view.jsp'); }
function link2_over(){ try{WebSpeech.Read('¼º°øÇÏ´Â±³À°');}catch(e){} }
//sub menu
function link21(){ HtmlPage('/jsp/supedu/super_intro_view.jsp'); }
function link22(){ HtmlPage('/jsp/ceoedu/ceo_intro_view.jsp'); }
function link21_over(){ try{WebSpeech.Read('¼öÆÛ¹ÙÀÌÀú±³À°');}catch(e){} }
function link22_over(){ try{WebSpeech.Read('Á¡Æ÷ÁÖ±³À°');}catch(e){} }

//ÇÔ²²ÇÏ´Â À¯Åë
function link3(){ HtmlPage('/jsp/pubcir/pubcir_intro_view.jsp'); }
function link3_over(){ try{WebSpeech.Read('ÇÔ²²ÇÏ´ÂÀ¯Åë');}catch(e){} }
//sub menu
function link31(){ HtmlPage('/jsp/pubcir/pubcir_intro_view.jsp'); }
function link32(){ HtmlPage('/jsp/pubdis/pubdis_intro_view.jsp'); }

function link31_over(){ try{WebSpeech.Read('°øµ¿À¯ÅëÁ¤º¸½Ã½ºÅÛ');}catch(e){} }
function link32_over(){ try{WebSpeech.Read('°øµ¿µµ¸Å¹°·ù¼¾ÅÍ');}catch(e){} }


//Á¤º¸¸¶´ç
function link4(){ location.href="/rss.do?p_part=BOBFTNCOM_PROCESS&p_type=CMBOARDLIST&m1_hbbsid=newbrd"; }
function link4_over(){ try{WebSpeech.Read('Á¤º¸¸¶´ç');}catch(e){} }
//sub menu
function link41(){ location.href="/rss.do?p_part=BOBFTNCOM_PROCESS&p_type=CMBOARDLIST&m1_hbbsid=newbrd"; }
function link42(){ location.href="/rss.do?p_part=BOBFTNCOM_PROCESS&p_type=CMBOARDLIST&m1_hbbsid=stabrd"; }
function link43(){ location.href="/rss.do?p_part=BOBFTNCOM_PROCESS&p_type=CMBOARDLIST&m1_hbbsid=movbrd"; }
function link44(){ location.href="/rss.do?p_part=BOBFTNCOM_PROCESS&p_type=CMBOARDLIST&m1_hbbsid=sitbrd"; }

function link41_over(){ try{WebSpeech.Read('ÃÖ½Å´º½º');}catch(e){} }
function link42_over(){ try{WebSpeech.Read('À¯ÅëÁ¤º¸');}catch(e){} }
function link43_over(){ try{WebSpeech.Read('µ¿¿µ»óÀÚ·á');}catch(e){} }
function link44_over(){ try{WebSpeech.Read('°ü·Ã»çÀÌÆ®');}catch(e){} }


//¾Ë¸²¸¶´ç
function link5(){ location.href="/rss.do?p_part=BOBFTNCOM_PROCESS&p_type=CMBOARDLIST&m1_hbbsid=notbrd"; }
function link5_over(){ try{WebSpeech.Read('¾Ë¸²¸¶´ç');}catch(e){} }
//sub menu
function link51(){ location.href="/rss.do?p_part=BOBFTNCOM_PROCESS&p_type=CMBOARDLIST&m1_hbbsid=notbrd"; }
function link52(){ location.href="/rss.do?p_part=BOBFTNCOM_PROCESS&p_type=CMBOARDLIST&m1_hbbsid=faqbrd"; }
function link53(){ location.href="/rss.do?p_part=BOBFTNCOM_PROCESS&p_type=CMBOARDLIST&m1_hbbsid=qnabrd"; }

function link51_over(){ try{WebSpeech.Read('¾Ë·Áµå¸³´Ï´Ù.');}catch(e){} }
function link52_over(){ try{WebSpeech.Read('FAQ');}catch(e){} }
function link53_over(){ try{WebSpeech.Read('QNA');}catch(e){} }




//ÇÑ±¹Ã¼ÀÎ»ç¾÷Çùµ¿Á¶ÇÕ
function banner1(){
	var busiid = '60000002';	// º¯°æ
	document.cookie = "m1_busiid="+busiid;
	window.open("/rss.do?p_part=SYSMNGCOM_PROCESS&p_type=GUILDMINIHOME&m1_busiid="+busiid, "minihome", "status=no,  width=930, height=730, resizable=no, scrollbars=no, left=0, top=0");
}
function banner1_over(){ try{WebSpeech.Read('ÇÑ±¹Ã¼ÀÎ»ç¾÷Çùµ¿Á¶ÇÕ');}catch(e){} }


//ÇÑ±¹¼öÆÛ¸¶ÄÏ Çùµ¿Á¶ÇÕ¿¬ÇÕÈ¸ 
function banner2(){
	window.open("http://www.kosamart.net/", "minihome", "location=yes, menubar=yes ,status=yes,  width=930, height=730, resizable=yes, scrollbars=yes, left=0, top=0");
}
function banner2_over(){ try{WebSpeech.Read('ÇÑ±¹¼öÆÛ¸¶ÄÏ Çùµ¿Á¶ÇÕ¿¬ÇÕÈ¸');}catch(e){} }

//Ã¼ÀÎº»ºÎ¹Ì´ÏÈ¨ÇÇÀÌµ¿
function open_mini(busiid){	
	document.cookie = "m1_busiid="+busiid;
	window.open("/rss.do?p_part=SYSMNGCOM_PROCESS&p_type=CHAINMINIHOME&m1_busiid="+busiid, "minihome", "status=no,  width=930, height=730, resizable=no, scrollbars=no, left=0, top=0");
}

//¿ì¼öÁö¿ø»ç·ÊÅ¬¸¯
function open_bstcas(busiid,bbsseq){
	
	document.cookie = "m1_busiid="+busiid;
	window.open("/rss.do?p_part=BOBFTNCOM_PROCESS&p_type=CMBOARDVIEW&m1_hbbsid=homcas&p_move=homcas&m1_bbsseq="+bbsseq+"&m1_busiid="+busiid, "minihome", "status=no,  width=930, height=730, resizable=no, scrollbars=no, left=0, top=0");

}

//½º¸¶Æ®¼¥ÀÌµ¿
function move_smt(smrtid){
	location.href="/rss.do?p_part=GUDMNGCOM_PROCESS&p_type=CM_SMARTSHOP&p_move=SHP102&m1_smrtid="+smrtid;
}

//Ã¼ÀÎº»ºÎ °øÁöÀÌµ¿
function open_homnot(busiid,bbsseq){
	
	document.cookie = "m1_busiid="+busiid;
	window.open("/rss.do?p_part=BOBFTNCOM_PROCESS&p_type=CMBOARDVIEW&m1_hbbsid=homnot&p_move=homnot&m1_bbsseq="+bbsseq+"&m1_busiid="+busiid, "minihome", "status=no,  width=930, height=730, resizable=no, scrollbars=no, left=0, top=0");

}
function open_homnot_more(busiid){

	document.cookie = "m1_busiid="+busiid;
	window.open("/rss.do?p_part=BOBFTNCOM_PROCESS&p_type=CMBOARDLIST&m1_hbbsid=homnot&m1_busiid="+busiid, "minihome", "status=no,  width=930, height=730, resizable=no, scrollbars=no, left=0, top=0");
}

/**
 * ÀÔ·ÂÇÑ ÁÖ¹Îµî·Ï ¹øÈ£¸¦ ÅëÇØ »ç¿ëÀÚÀÇ ³ªÀÌ¸¦ Ã¼Å©ÇÑ´Ù.
 * @param   input1      ÁÖ¹Îµî·Ï¹øÈ£ ¾ÕÀÚ¸®¸¦ ÀÔ·ÂÇÏ´Â ¿ÀºêÁ§Æ®
 * @param   input2      ¼­¹öÀÇ ³â, ¿ù, ÀÏÀ» ¹Þ´Â´Ù.
 * @return  integer     ÀÔ·ÂÇÑ ÁÖ¹Î¹øÈ£ÀÇ ³ªÀÌ¸¦ ¸®ÅÏÇÑ´Ù.
 */
function isAdult(input1, input2,viewid){
 var ssn1  = input1;
 var today = input2;  //¼­¹öÀÇ ³¯Â¥
 var m1,m2,m3;
 var age = null;
 var date  = today.substring(4,8);
 var year  = today.substring(0,4);

 if (ssn1.substring(0,1) == 0) m1 = "20" + ssn1.substring(0,2);  // ÁÖ¹Î¹øÈ£ÀÇ ³âµµ
 else m1 = "19" + ssn1.substring(0,2);                            // ÁÖ¹Î¹øÈ£ÀÇ ³âµµ


 m2 = ssn1.substring(2,6);
 age = year - m1;
 if (m2>date) age = age - 1;
 
 eval("showAge"+viewid).innerHTML=age;

/*
 »ç¿ë¹æ¹ý :
<script>isAdult('<%=juminSub1%>','<%=sdate%>','<%=a_cnt%>');</script>
<SPAN id="showAge<%=a_cnt%>"></SPAN>
*/
}



//±ÛÀÚ¼öÁ¦ÇÑ
function fc_chk_byte(aro_name,ari_max)
{

   var ls_str     = aro_name.value; // ÀÌº¥Æ®°¡ ÀÏ¾î³­ ÄÁÆ®·ÑÀÇ value °ª
   var li_str_len = ls_str.length;  // ÀüÃ¼±æÀÌ

   // º¯¼öÃÊ±âÈ­
   var li_max      = ari_max; // Á¦ÇÑÇÒ ±ÛÀÚ¼ö Å©±â
   var i           = 0;  // for¹®¿¡ »ç¿ë
   var li_byte     = 0;  // ÇÑ±ÛÀÏ°æ¿ì´Â 2 ±×¹Ü¿¡´Â 1À» ´õÇÔ
   var li_len      = 0;  // substringÇÏ±â À§ÇØ¼­ »ç¿ë
   var ls_one_char = ""; // ÇÑ±ÛÀÚ¾¿ °Ë»çÇÑ´Ù
   var ls_str2     = ""; // ±ÛÀÚ¼ö¸¦ ÃÊ°úÇÏ¸é Á¦ÇÑÇÒ¼ö ±ÛÀÚÀü±îÁö¸¸ º¸¿©ÁØ´Ù.

   for(i=0; i< li_str_len; i++)
   {
      // ÇÑ±ÛÀÚÃßÃâ
      ls_one_char = ls_str.charAt(i);

      // ÇÑ±ÛÀÌ¸é 2¸¦ ´õÇÑ´Ù.
      if (escape(ls_one_char).length > 4)
      {
         li_byte = li_byte+2;
      }
      // ±×¿ÜÀÇ °æ¿ì´Â 1À» ´õÇÑ´Ù.
      else
      {
         li_byte++;
      }

      // ÀüÃ¼ Å©±â°¡ li_max¸¦ ³ÑÁö¾ÊÀ¸¸é
      if(li_byte <= li_max)
      {
         li_len = i + 1;
      }
   }
   
   // ÀüÃ¼±æÀÌ¸¦ ÃÊ°úÇÏ¸é
   if(li_byte > li_max)
   {
      alert( "Á¦ÇÑ±ÛÀÚ¼ö¸¦ ÃÊ°úÇß½À´Ï´Ù. \nÃÊ°úµÈ ³»¿ëÀº ÀÚµ¿À¸·Î »èÁ¦ µË´Ï´Ù.");
      ls_str2 = ls_str.substr(0, li_len);
      aro_name.value = ls_str2;
      
   }
   aro_name.focus();   
}

function fc_chk2()
{
   if(event.keyCode == 13)
      event.returnValue=false;
}


// À½¼º on/off
function voiceONOFF(){	

	var ONOFF = ( getCookie("voiceONOFF") == "on" ) ? "off" : "on";
	setCookie("voiceONOFF",ONOFF,2);
	location.reload();
}

function chk_voice(){

	getRef("div_VOICE").innerHTML = ( getCookie("voiceONOFF") == "on" ) ? "<OBJECT id=WebSpeech classid=CLSID:1FE49704-F4E1-43C4-89A3-A6E8E4119FFB codebase=http://www.WebSpeech.co.kr/webspeech/WebSpeechSL2.cab#Version =1,0,0,1></OBJECT>" : "";
	var ONOFF = ( getCookie("voiceONOFF") == "on" ) ? "on" : "off";
	getRef("voice").src = "/images/sub/top_m_voice_"+ONOFF+".gif";
}

function chk_voice_main(){

	getRef("div_VOICE").innerHTML = ( getCookie("voiceONOFF") == "on" ) ? "<OBJECT id=WebSpeech classid=CLSID:1FE49704-F4E1-43C4-89A3-A6E8E4119FFB codebase=http://www.WebSpeech.co.kr/webspeech/WebSpeechSL2.cab#Version =1,0,0,1></OBJECT>" : "";
	var ONOFF = ( getCookie("voiceONOFF") == "on" ) ? "on" : "off";
	getRef("voice").src = "/images/main/top_m_voice_"+ONOFF+".gif";
}

//Áö¿ø½ÅÃ»°ü·ÃÆË¾÷¿ÀÇÂ
// 1 : À°¼ºÁö¿ø´Ü Áö¿ø¼­
function supapp_1(lv,id){

	alert("Áö¿ø½ÅÃ» ±â°£ÀÌ Á¾·áµÇ¾ú½À´Ï´Ù.");

	/******************************
	//ÀÏ¹ÝÀÎ,¼öÆÛ¹ÙÀÌÀúÀÎ °æ¿ì¿¡¸¸ ½ÅÃ»ÀÌ °¡´ÉÇÏ´Ù.
	if(lv == "400" || lv == "900"){
		var popup = null;
		popup = window.open("", "supapp", "status=no, width=800, height=700, resizable=no, scrollbars=yes");
		sendForm.target = "supapp";
		sendForm.p_move.value = "SUP101";
		sendForm.action = "/rss.do?p_part=SYSMNGCOM_PROCESS&p_type=SUPAPP_PROCS&m1_mbrpid="+id;
		sendForm.submit();
	}else{
		alert("½ÅÃ»±ÇÇÑÀÌ ¾ø½À´Ï´Ù.");
	}
	********************************/

}

/******************************
* ¼Ò»ó°øÀÎÁøÈï¿ø
********************************/
