<!--
// flashWrite(ÆÄÀÏ°æ·Î, °¡·Î, ¼¼·Î, ¾ÆÀÌµð, ¹è°æ»ö, À©µµ¿ì¸ðµå)
function flashWrite(url,w,h,id,bg,win){

        // ÇÃ·¡½Ã ÄÚµå Á¤ÀÇ
        var flashStr=
        "<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='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
        "<param name='movie' value='"+url+"' />"+
        "<param name='wmode' value='transparent' />"+
        "<param name='menu' value='false' />"+
        "<param name='quality' value='high' />"+
        "<param name='bgcolor' value='"+bg+"' />"+
        "<embed src='"+url+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
        "</object>";

        // ÇÃ·¡½Ã ÄÚµå Ãâ·Â
        document.write(flashStr);

}

  //////////////////////////////////////////////////////////////////////////////////////////////////////////
  // ¹ü¿ë ÇÔ¼ö

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_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_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 selectSelectForm(szSFName,szValue){
      var sf = eval( szSFName );
      if ( szSFName != null ) {
        for ( i = 0 ; i < sf.length ; i ++ ) {
          if ( sf.options[i].value == szValue ) sf.selectedIndex = i;
        } // end of for i
      } // end of if
    } // end of function

   function DoCheckNum(eForm){
    var NumPatten = /^[0-9]*$/
    if ( NumPatten.test(eForm.value) == false ) {
      alert('¼ýÀÚ¸¸ ÀÔ·ÂÇÏ½Ã±â ¹Ù¶ø´Ï´Ù.');
      eForm.value='';
      eForm.focus();
    } // end of if
  } // end of function

  function DoCheckDate(eForm,szType){
    var DatePatten = "";
    if ( szType == "YYYY-MM-DD" ) {
      DatePatten = /[1-2][0-9][0-9][0-9]-[0-1][0-9]-[0-3][1-9]/
    } // end of if
    if ( DatePatten.test(eForm.value) == false ) {
      alert('['+szType+']Çü½ÄÀ¸·Î¸¸ ÀÔ·ÂÇÏ½Ê½Ã¿À.');
//      eForm.value='';
      eForm.focus();
      return false;
    } // end of if
    return true;
  } // end of function



  // eForm : document Æû °´Ã¼, szObject : °´Ã¼ÀÌ¸§, szEvent : ÀÌº¥Æ®Á¾·ù, szProcess : ½ÇÇà¹®
  function makeFormObjectEvent(eForm,szObject,szEvent,szProcess){
    // °´Ã¼ÀÇ À¯È¿¼º °Ë»ç
    if ( eForm.elements[szObject] != null  ) {

      switch ( szEvent ){
        case "click" : {       eForm.elements[szObject].onclick = new Function(szProcess);        break;      } // end of case
        case "change" : {      eForm.elements[szObject].onchange = new Function(szProcess);       break;      } // end of case
        case "focus" : {       eForm.elements[szObject].onfocus = new Function(szProcess);        break;      } // end of case
        case "focusout" : {       eForm.elements[szObject].onfocusout = new Function(szProcess);        break;      } // end of case
        case "keyup" : {       eForm.elements[szObject].onkeyup = new Function(szProcess);        break;      } // end of case
        case "value" : {
          if ( eForm.elements[szObject].type == "select-one" ) selectSelectForm(eForm.elements[szObject],szProcess);
          else eForm.elements[szObject].value = szProcess;
          break;
        } // end of case
      } // end of switch
    } // end of if
  } // end of function makeFormObjectEvent

  function DoCheckJuminCode(eForm,szOption){
      // ÁÖ¹Î¹øÈ£ÀÇ ÇüÅÂ¿Í 7¹øÂ° ÀÚ¸®(¼ºº°) À¯È¿¼º °Ë»ç
      resno = eForm.value;
          if ( szOption != "-" ){
              resno = eForm.value.substring(0,6)+"-"+eForm.value.substring(6,7);
          } // end of if
      resno = resno.substring(0,14);
      fmt = /^[0-9][0-9][0-1][0-9][0-3][0-9]-[1-4][0-9][0-9][0-9][0-9][0-9][0-9]$/;
      if(!fmt.test(resno)) {
          alert("ÁÖ¹Îµî·Ï¹øÈ£¸¦ ¹Ù¸£°Ô ÀÔ·ÂÇÏ½Ê½Ã¿À.1");
          eForm.focus();
          return false;
      } // end of if

      // ³¯Â¥ À¯È¿¼º °Ë»ç
      birthYear  = (resno.charAt(7) <= "2") ? "19" : "20";
      birthYear += resno.substr(0, 2);
      birthMonth = resno.substr(2, 2) - 1;
      birthDate  = resno.substr(4, 2);
      birth      = new Date(birthYear, birthMonth, birthDate);

      if(birth.getYear() % 100 != resno.substr(0, 2) || birth.getMonth() != birthMonth || birth.getDate() != birthDate){
          alert("ÁÖ¹Îµî·Ï¹øÈ£¸¦ ¹Ù¸£°Ô ÀÔ·ÂÇÏ½Ê½Ã¿À.2");
          eForm.focus();
          return false;
      } // end of if

      // Check Sum ÄÚµåÀÇ À¯È¿¼º °Ë»ç
      buf = new Array(13);
      for (i = 0; i < 6; i++) buf[i] = parseInt(resno.charAt(i));
      for (i = 6; i < 13; i++) buf[i] = parseInt(resno.charAt(i + 1));

      multipliers = [2,3,4,5,6,7,8,9,2,3,4,5];
      for (i = 0, sum = 0; i < 12; i++) sum += (buf[i] *= multipliers[i]);

      if((11 - (sum % 11)) % 10 != buf[12]) {
          alert("ÁÖ¹Îµî·Ï¹øÈ£¸¦ ¹Ù¸£°Ô ÀÔ·ÂÇÏ½Ê½Ã¿À.3");
          eForm.focus();
          return false;
      } // end of if

      return true;
  } // end of function




  // ¹ü¿ë ÇÔ¼ö ³¡
  //////////////////////////////////////////////////////////////////////////////////////////////////////////

  //////////////////////////////////////////////////////////////////////////////////////////////////////////
  // Àü¿ë ÇÔ¼ö

  function showLeftMenu(nPos,szType){
    menuCell = eval("document.all.LeftMenu"+nPos+".style");
    if ( menuCell.display == "none" ) menuCell.display = szType;
    else menuCell.display = "none";
  } // end of function

  // Àü¿ë ÇÔ¼ö ³¡
  //////////////////////////////////////////////////////////////////////////////////////////////////////////

-->
