<!-- #include file="include/jwheader.asp" -->
<!-- =====================================================================
 ESMPRO/JMSS Web Client Version 6.0
 Copyright (C) NEC Corporation/NEC Soft, Ltd. 2001 All rights reserved.
====================================================================== -->

<html>
<script Language="JavaScript">
var webType=1;
if(navigator.appName.charAt(0)=="N")
	webType=0;
</script>

<head>
<meta http-equiv="Content-Language" content="ja">
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>ESMPRO/JMSS</title>
<link rel="stylesheet" type="text/css" href="include/jmss.css">
<script src="include/functions.js"></script>
</head>

<%
  result = 1 ' 01.02.03 Dummy Connect
  if Request.ServerVariables("AUTH_PASSWORD") = "" then
'    if Request("userName") = "" then
    if Request("LGONUSER") = "" then   '01.06.25 T.F
%>
<body>
<table border="0" width="100%" height="100%">
  <tr>
    <td width="100%">
      <p align="center"><b><font size="4">ESMPRO/JMSS</font></b></p>
      <p align="center"><font size="4"><b>Version 6.0</b></font></p>
      <!--form method="POST" action="default.asp"-->
        <div align="center">
          <center>
          <table border="0">
            <tr>
              <td nowrap><FONT SIZE="5" COLOR="RED">F؏擾ł܂łB</FONT></td>
            </tr>
            <tr>
              <td nowrap><FONT SIZE="3" COLOR="RED">iC^[lbg CtH[V T[rX (IIS) ̏mFĂB j</FONT></td>
            </tr>
            <tr>
              <td nowrap><FONT SIZE="3" COLOR="BLUE">mVXeǗ҂уZbgAbvJ[h̎wɏ]ĂBn</FONT></td>
            </tr>
<!--
            <tr>
              <td colspan="2" nowrap bgcolor="#4080C0" align="center"><font color="#ffffff">OCĂ</font></td>
            </tr>
            <tr>
              <td nowrap>[U</td><td nowrap><input type="text" name="userName" size="20"></td>
            </tr>
            <tr>
              <td nowrap>pX[h</td><td nowrap><input type="password" name="passWord" size="20"></td>
            </tr>
-->
          </table>
          </center>
        </div>
        <!--p align="center"><input type="submit" value="M" name="B1"><input type="reset" value="LZ" name="B2"></p>
      </form-->
      <p align="center">@</p>
    </td>
  </tr>
</table>
</body>
<%
    else
      Session("userName") = Request("LGONUSER")
'      Session("userName") = Request("userName")
      Session("pathinfo") = Request.ServerVariables("PATH_TRANSLATED") ' 01.01.19 ADD 
    ' 01.02.03 Dummy Connect
	Session("jserver") = Request("TSERVER")
	Set dcenv = Server.CreateObject( "JWBMEnv.Env.1" )
	Session("supermode") = 0
	Session("supermode") = dcenv.SuperMode
    jsrvDef2 = dcenv.JSrvDefault
	dcenv.SecurityCheck Session("userName"), Session("jserver")
	result = dcenv.resultCode
%>
<script Language="JavaScript">
document.writeln("<frameset framespacing=\"0\" border=\"0\" frameborder=\"0\" rows=\"70,*\">");
document.writeln("  <noframes>");
document.writeln("  <p>̃y[Wɂ̓t[gpĂ܂Ag̃uEUł̓T|[gĂ܂B</p>");
document.writeln("  </noframes>");
document.writeln("  <frame name=\"nav\" scrolling=\"auto\" noresize src=\"nav.asp?command=home&checker=<%=result%>&brouser="+webType+"\" marginwidth=\"0\" marginheight=\"0\" target=\"contents\">");
//document.writeln("  <!--frame name="nav" scrolling="auto" noresize src="nav.asp" marginwidth="0" marginheight="0" target="contents"-->");
document.writeln("  <frame name=\"contents\" scrolling=\"no\" noresize src=\"splash.asp?checker=<%=result%>\" marginwidth=\"0\" marginheight=\"0\">");
document.writeln("</frameset>");
</script>
<%
    end if
  else
    ' 01.01.24 Network Server Direct username Get
'    vLenAll = Len(Request.ServerVariables("LOGON_USER"))
'    vLen = Instr(Request.ServerVariables("LOGON_USER"), "\")
'    if vLen = 0 then
'      Session("userName") = Request.ServerVariables("LOGON_USER")
'    else
'      Session("userName") = Right( Request.ServerVariables("LOGON_USER"), vLenAll - vLen )
'    end if
    vLenAll = Len(Request("LGONUSER"))
    vLen = Instr(Request("LGONUSER"), "\")
    if vLen = 0 then
      Session("userName") = Request("LGONUSER")
    else
      Session("userName") = Right(Request("LGONUSER"), vLenAll - vLen)
    end if
    Session("pathinfo") = Request.ServerVariables("PATH_TRANSLATED") ' 01.01.19 ADD
    ' 01.02.03 Dummy Connect
	Session("jserver") = Request("TSERVER")
	Set dcenv = Server.CreateObject( "JWBMEnv.Env.1" )
	Session("supermode") = 0
	Session("supermode") = dcenv.SuperMode
    jsrvDef2 = dcenv.JSrvDefault
	dcenv.SecurityCheck Session("userName"), Session("jserver")
	result = dcenv.resultCode
%>
<script Language="JavaScript">
document.writeln("<frameset framespacing=\"0\" border=\"0\" frameborder=\"0\" rows=\"70,*\">");
document.writeln("  <noframes>");
document.writeln("  <p>̃y[Wɂ̓t[gpĂ܂Ag̃uEUł̓T|[gĂ܂B</p>");
document.writeln("  </noframes>");
//01.02.03 Dummy Connect Add
document.writeln("  <frame name=\"nav\" scrolling=\"auto\" noresize src=\"nav.asp?command=home&checker=<%=result%>&brouser="+webType+"\" marginwidth=\"0\" marginheight=\"0\" target=\"contents\">");
//document.writeln("  <frame name=\"nav\" scrolling=\"auto\" noresize src=\"nav.asp?brouser="+webType+"\" marginwidth=\"0\" marginheight=\"0\" target=\"contents\">");
//document.writeln("  <!--frame name="nav" scrolling="auto" noresize src="nav.asp" marginwidth="0" marginheight="0" target="contents"-->");
//01.03.16 ScrollIEłΉ
//01.02.03 Dummy Connect Add
//if(navigator.appName.charAt(0)=="N")//01.03.12 NN؂ւ
document.writeln("  <frame name=\"contents\" scrolling=\"auto\" noresize src=\"splash.asp?checker=<%=result%>\" marginwidth=\"0\" marginheight=\"0\" target=\"splash\">");
//else
//document.writeln("  <frame name=\"contents\" scrolling=\"no\" noresize src=\"splash.asp?checker=<%=result%>\" marginwidth=\"0\" marginheight=\"0\">");
//document.writeln("  <frame name=\"contents\" scrolling=\"no\" noresize src=\"splash.asp\" marginwidth=\"0\" marginheight=\"0\">");
document.writeln("</frameset>");
</script>
<% 
  end if
%>

</html>
