<script language="JavaScript" type="text/JavaScript">
<!--
function winOpen(Url,width,height,scrollbar,resize)
{

ow = width;
oh = height;
os = scrollbar;
or = resize;
var xposition=0; 
var yposition=0;
if ((parseInt(navigator.appVersion) >= 4 ))
  {
    xposition = (screen.width - width) / 2;
    yposition = (screen.height - height-25) / 2;
  }
  window.open (Url,"","width ="+ow+",height="+oh+",scrollbars = "+os+",resizable="+or+",left="+xposition+",top="+yposition );
}
//-->
</script>
<%
if session("username")="" then
%>
<table width="201" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td><img src="Images/Main/loginbox_title.gif" width="201" height="9"></td>
                          </tr>
                          <tr>
                            <td height="45" background="Images/Main/show5logbg.gif">
<TABLE WIDTH=201 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<form name=loginform action=logincheck.asp method=post>
<TBODY>
                                <TR> 
                                  <TD width="8">&nbsp;</TD>
                                  <TD width="44"><img src="Images/Main/index_2_4_1_2_2.gif" width=44 height=45 alt=""></TD>
                                  <TD width="95" HEIGHT=47> 
                                    <table width="90" height="45" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td height="20">
                              <input name="username" type="text" class="show5login">                            </td>
                          </tr>
                          <tr>
                            <td height="5"></td>
                          </tr>
                          <tr>
                            <td height="20"><input name="password" type="password" class="show5login"></td>
                          </tr>
                        </table></TD>
                                  <TD WIDTH=43 HEIGHT=47><a href="javascript:loginCheck();" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('show5login','','Images/Main/show5logbtn_over.gif',1)"><img src="Images/Main/show5logbtn.gif" alt="µÇÂ¼" name="show5login" width="43" height="45" border="0"></a></TD>
                                  <TD width="11">&nbsp;</TD>
                                </TR>
								</TBODY></form>
                              </TABLE></td>
                          </tr>
                          <tr>
                            <td><img src="Images/Main/show5logfooter.gif" width="201" height="15"></td>
                          </tr>
                          <tr>
                            
    <td align="center"><a href="userreg.asp"><img src="Images/Main/show5regist.gif" width="72" height="21" border="0"></a> 
      &nbsp;<a href="javascript:;" onClick="javascript:winOpen('getpsw.asp', 320, 157, 'no','no')"><img src="Images/Main/show5lostps.gif" width="72" height="21" border="0"></a></td>
                          </tr>
                        </table>
<%
else
%>
<table width="201" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td><img src="Images/Main/loginbox_title.gif" width="201" height="9"></td>
                          </tr>
                          <tr>
                            <td height="45" background="Images/Main/show5logbg.gif">
<TABLE WIDTH=201 BORDER=0 CELLPADDING=0 CELLSPACING=0>
        <form name=loginform action=logincheck.asp method=post>
          <TBODY>
            <TR> 
              <TD height="66" align="center"><table width="168" height="62" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="85" height="50">
<%
if session("userpic")="user_photo.gif" or session("userpic")="" then
response.write "<img src='Userpic/showimg.gif'>"
else
response.write "<img src='Userpic/"&session("Username")&"/"&session("userpic")&"' width='77' height='60'>"
end if
%>
					</td>
                    <td width="83"><table width="83" height="61" border="0" cellpadding="0" cellspacing="0">
                        <tr> 
                          <td align="center"><strong><%=session("username")%></strong></td>
                        </tr>
                        <tr> 
                          <td style="PADDING-LEFT: 5px"><a href="Hompy/hompy.asp?username=<%=session("username")%>" target="_blank"><img src="Images/Main/btn_accesszone.gif" border="0" align="absmiddle"></a></td>
                        </tr>
                        <tr> 
                          <td align="center"><font color="#ff6600"><a href="logout.asp">ÍË³ö</a></font></td>
                        </tr>
                      </table></td>
                  </tr>
                </table></TD>
            </TR>
          </TBODY>
        </form>
      </TABLE></td>
                          </tr>
                          <tr>
                            <td><img src="Images/Main/show5logfooter.gif" width="201" height="15"></td>
                          </tr>
                        </table>
<%
end if
%>