<%@ page contentType="text/html; charset=utf-8" %>
<%@ page import="kr.co.hsnc.common.util.*" %> 
<jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
<%
	ctx.init(request, response);
%>

<%	if( !ctx.isSignedOn() ) { %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<style>
body{
background-color:#2b4875;
}
.login{width:160px;}
</style>
<script language="JavaScript" src="/js/login.js"></SCRIPT>

<title>:::::etec_ebid/login:::::</title>
<!-- <link href="css/style.css" rel="stylesheet" type="text/css" /> -->
</head>

<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" style="overflow:auto; background-image:url(/img/buyer/index/all_bg.jpg); background-repeat:repeat-x; background-color:#2b4875">
<FORM name="loginForm" >
<div align="center" style="width:100%; background-repeat:repeat-x; height:100%">

 <div  align="left" style="width:978px; height:711px; background:url(/img/buyer/index/login_img.jpg); background-repeat:no-repeat;">
   <div style="position:relative; display:block; width:383px;top:103px;left:0px;"><img src="/img/buyer/index/etec_logo.png" alt="" width="383" height="169" /></div>
   <div style="position:relative; display:block; width:609px;top:433px;left:0px;"><img src="/img/buyer/index/bottom_text.png" alt="plant works" /></div>
    <div style="position:relative; display:block; height:145px; width:216px;top:270px; background:url(/img/buyer/index/login_box.gif); background-repeat:no-repeat; left:710px; padding-left:20px;">
    <table width="195" border="0" cellpadding="0" cellspacing="0">
     <tr>
      <td width="21" height="20"></td>
      <td width="14"></td>
      <td width="162"></td>
     </tr>
     <tr>
       <td><img src="/img/buyer/index/text_id.png" alt="id" width="15" height="11" /></td>
       <td></td>
       <td><input type="text" style="width:160px; height:18px; border:#075b9b solid 1px; font-family:Tahoma; font-size:12px; PADDING-LEFT: 3px;" name="login_id" onkeypress="JavaScript:enter(1);"  /></td>
     </tr>
     <tr>
       <td height="3"></td>
       <td></td>
       <td></td>
     </tr>
     <tr>
       <td><img src="/img/buyer/index/text_pw.png" alt="pw" width="21" height="11" /></td>
       <td></td>
       <td><input type="password" style="width:160px; height:18px; border:#075b9b solid 1px; PADDING-LEFT: 3px;" name="login_pw"  onkeypress="JavaScript:enter(2);"/></td>
     </tr>
     <tr>
       <td height="27"></td>
       <td></td>
       <td><input type="checkbox" name="chk_save_id" onclick="chkSaveID(this)"/><span style="color:#fff; line-height:16px;font-size:11px;">아이디저장</span></td>
     </tr>
     <tr>
       <td colspan="3"><a href="#"><img src="/img/buyer/index/btn_login.gif" alt="login" border="0"  onclick="return doLogin();"/></a></td>
       </tr>
    </table>
    </div> 
 </div>
 <div style="position:relative; display:block; height:auto; top:20px;"><img src="/img/buyer/index/capyright.gif" /></div>
</div>
<SCRIPT language="javascript">
	var str_saveid = getCookie(CookieID);
	if( str_saveid != "" ) {
	    document.loginForm.login_id.value = str_saveid;
	    document.loginForm.chk_save_id.checked = true;
    }
</SCRIPT>
</FORM>
</body>
</html>
<%	}
	else { %>
<META HTTP-EQUIV="refresh" Content="0.1; url=/main.screen">
<%  } %>

