  function bigimage(pPage,Opt) 
 {
    popUpWin = window.open(pPage,'',Opt);
 }

 function mlogin()
{
	if (document.loginform.userid.value=="")
	{
		alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä!!");
		document.loginform.userid.focus();
		return false;
	}
	if (document.loginform.passwd.value=="")
	{
		alert("ÆÐ½º¿öµå¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä!!");
		document.loginform.passwd.focus();
		return false;
	}
		return true;
}

function idpass_find()
{
	// ¾ÆÀÌµð/ÆÐ½º¿öµå Ã£±â ¶ç¿ì±â
	window.open ("/new/popup/id_find.asp","loginWin", "scrollbars=no,width=600,height=335,resizable=no,menubar=no,status=no,top=300,left=350");
}

function setCookie( name, value, expiredays ) 
	{ 
		//alert(name);
		var todayDate = new Date(); 
		todayDate.setDate( todayDate.getDate() + expiredays ); 
		document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";" 
	} 
    
    function closeWin(notice_nm) 
    { 
    		//alert(notice_nm);
            if ( document.form1.Notice.checked ) 
                setCookie( notice_nm, "done" , 1); 
                self.close(); 
    }

	function getCookie( name ) 
{ 
        var nameOfCookie = name + "="; 
        var x = 0; 
        while ( x <= document.cookie.length ) 
        { 
                var y = (x+nameOfCookie.length); 
                if ( document.cookie.substring( x, y ) == nameOfCookie ) { 
                        if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 ) 
                                endOfCookie = document.cookie.length; 
                        return unescape( document.cookie.substring( y, endOfCookie ) ); 
                } 
                x = document.cookie.indexOf( " ", x ) + 1; 
                if ( x == 0 ) 
                        break; 
        } 
        return ""; 
}

function openNotice(notice_nm, pid, wsize,  hsize, leftsize, topsize) { 
	//alert(pid);
	//alert(pid);
    
    if ( getCookie( pid ) != "done" ) 
    {
            //È­¸é Ã³À½ ³ª¿Ã¶§ Ã³¸®ÇÏ´Â popup window Ã³¸® 
            notice_nm  =  window.open("/etc/Popup.asp?pid="+pid, pid, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,width=" + wsize + " ,height=" + hsize + ",left=" +leftsize+",top="+ topsize); 
            
    } 
}

function ElecPopup(urll, notice_nm, pid, wsize,  hsize, leftsize, topsize) { 
	//alert(pid);
	//alert(pid);
    
            //È­¸é Ã³À½ ³ª¿Ã¶§ Ã³¸®ÇÏ´Â popup window Ã³¸® 
            notice_nm  =  window.open(urll, notice_nm, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,width=" + wsize + " ,height=" + hsize + ",left=" +leftsize+",top="+ topsize); 
            

}

function KimsOpen() {
	window.open("/Board/Kims.asp", "kims", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,width=870 ,height=900,left=100,top=100"); 
}