 <!--
 /* ÇÏ·çµ¿¾È Ã¢¿­Áö ¾Ê±â ÄíÅ° */
 function GetCookie(NameCookie) {
        var i = document.cookie.indexOf( NameCookie+'=' );
        if (i != -1) {
                i += NameCookie.length + 1;
                NameEnd = document.cookie.indexOf(';', i);
                if (NameEnd == -1) {
                  NameEnd = document.cookie.length;
                }
                return  unescape(document.cookie.substring(i, NameEnd));
        } else {
          return "";
        }
    
 }
 function windowopen(NameCookie1,urlname,name,w, h, l)       {
       
     Cookievalue = GetCookie(NameCookie1);
    if (Cookievalue == "") {
     //NameCookie = window.open(urlname,name,w, h);
//     NameCookie = window.open(urlname,name,"width=400, height=440");
//     NameCookie.focus();
     
     var winl = (screen.width - w) ; 
     var wint = (screen.height - h) * 0; 
     winprops = 'scrollbars=auto,width='+w+',height='+h+',top='+wint+',left='+l+''
     win = window.open(urlname,name,winprops) 
     
    }   

}

 function windowopen2(NameCookie1,urlname,name,w, h)       {
       
     Cookievalue = GetCookie(NameCookie1);
    if (Cookievalue == "") {
     //NameCookie = window.open(urlname,name,w, h);
//     NameCookie = window.open(urlname,name,"width=400, height=440");
//     NameCookie.focus();
     
     var winl = (screen.width - w) ; 
     var wint = (screen.height - h) * 0; 
     winprops = 'scrollbars=auto,width='+w+',height='+h+',top='+wint+',left='+winl+''
     win = window.open(urlname,name,"width=460, height=641, left=470, top=0") 
     
    }   

}


 /* bora_pup1.htm¾È¿¡ ÇÏ·çµ¿¾È Ã¢¿­Áö ¾Ê±â Ã¼Å© ½ºÅ©¸³Æ® */
function setCookie4( name, value, expiredays )
{
  var todayDate = new Date();
  name="FS_2"; 	
  todayDate.setDate( todayDate.getDate() + expiredays );
  document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}

function closeWin3(cookiename)
{
  if ( document.forms[0].next_time.checked )    {
    setCookie4( cookiename, "done" , 1);
    self.close();
    }
}



function setCookie2( name, value, expiredays )
{
  var todayDate = new Date();
  name="FS_1"; 	
  todayDate.setDate( todayDate.getDate() + expiredays );
  document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}

function closeWin2(cookiename)
{
  if ( document.forms[0].next_time.checked )    {
    setCookie2( cookiename, "done" , 1);
    self.close();
    }
}


function setCookie( name, value, expiredays )
{
  var todayDate = new Date();
  todayDate.setDate( todayDate.getDate() + expiredays );
  document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}

function closeWin(cookiename)
{
  if ( document.forms[0].next_time.checked )    {
    setCookie( cookiename, "done" , 1);
    self.close();
    }
}

 //-->

