 
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
 
function Login() {

	var login_type = 2;
	var logintype = "";
    F = document.log_j;
    F.target="";
  for (var x=0; x<F.login_type.length; x++) {
	  if (F.login_type[x].checked==true)  login_type = login_type-x;
  }
	  if(login_type==2) logintype="2";
	  else logintype="1";
		
      if(F.login_id.value == ''){
            alert('¾ÆÀÌµð¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À.');
            F.login_id.focus();
            return		 
      }
	  
       if(F.login_pw.value == ''){
            alert('ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À.');
			F.login_pw.focus();
            return;	 
       }
      
      
	  F.action="/kova/lefts/login_logic.jsp";
	  F.submit();
}



function BlogLogin(address)
{
window.open("http://blog.venture.or.kr/kova/lefts/blog_logic.jsp?blog_mode=connect&login_mode=login&login_type=<%=member_type%>&login_id=<%=java.net.URLEncoder.encode(DES.encrypt(CommUtil.nullReplace(ss.getUserID())))%>&login_pw=<%=java.net.URLEncoder.encode(DES.encrypt(CommUtil.nullReplace(ss.getUserPasswd())))%>&saveid=1","","menubar=yes, scrollbars=yes,resizable=yes,statusbar=yes,width=1000,height=1000,top=0,left=0");
}

function BlogMake()
{
window.open("http://blog.venture.or.kr/kova/lefts/blog_logic.jsp?blog_mode=make&login_mode=login&login_type=<%=member_type%>&login_id=<%=java.net.URLEncoder.encode(DES.encrypt(CommUtil.nullReplace(ss.getUserID())))%>&login_pw=<%=java.net.URLEncoder.encode(DES.encrypt(CommUtil.nullReplace(ss.getUserPasswd())))%>&saveid=1","","menubar=yes, scrollbars=yes,resizable=yes,statusbar=yes,width=1000,height=1000,top=0,left=0");
}

function Logout() {
        F = document.log_j;
        F.target="";
        F.action="/kova/lefts/login_logic.jsp";
        F.submit();
}

 

