<!-- #include file="../include/jwheader.asp" -->
<!-- =====================================================================
 ESMPRO/JMSS Web Client Version 6.0
 Copyright (C) NEC Corporation/NEC Soft, Ltd. 2001 All rights reserved.
====================================================================== -->
<html>
<%
'01.03.23
	elogon = 0
	Session("envmode") = 0
	Set Session("jenv") = Server.CreateObject("JWBMEnv.Env.1")
    Session("ipaddr") = Request.ServerVariables("REMOTE_ADDR")
    jsrvDef2 = Session("jenv").JSrvDefault
	Session("jenv").JEnvSecurity Session("userName"), 1, Session("jserver")
	if Session("jenv").resultCode = 0 then
		Session("jenv").LogonCheck "JENV", Session("ipaddr"), Session("userName"), Session("jserver")
		result = Session("jenv").LogonResult
		if result = 0 then
			elogon = 1
			Session("envmode") = 1	'HENSYUU OK
		else
			Session("jenv").LogonCheck "EENV", Session("ipaddr"), Session("userName"), Session("jserver")
			result = Session("jenv").LogonResult
			if result = 0 then
				elogon = 1
				Session("envmode") = 2	'SANSYOU OK
			end if
		end if
	else
		Session("jenv").LogonCheck "EENV", Session("ipaddr"), Session("userName"), Session("jserver")
		result = Session("jenv").LogonResult
		if result = 0 then
			elogon = 1
			Session("envmode") = 2	'SANSYOU OK
		end if
	end if

	'01.03.06 get URL
	url_path=""
'    vLenAll = Len(Request.ServerVariables("URL"))
'    vLen = InstrRev(Request.ServerVariables("URL"), "/")
'    if vLen = 0 then
'      url_path = "logoff.asp"
'    else
'      url_path = "http://" & Request.ServerVariables("SERVER_NAME") & Left( Request.ServerVariables("URL"), vLen ) & "logoff.asp"
'    end if 

%>
<script Language="JavaScript">
function Wclose(){
//alert("o^ꂽéAT[oJMSST[rX̍ċNɗLƂȂ܂B\nJMSSŊĎĂƖׂďIɁAT[oJMSST[rXċNĂB");
	elogon=<%=elogon%>;
//	pathinfo="<%=url_path%>";
	if(elogon==1)
		window.open("http://"+document.location.host+"/JMSS_WEB/jenv/logoff.asp","JAction","width=100,height=100,left=1600,top=1200");
//		window.open(pathinfo,"JAction","width=100,height=100,left=1600,top=1200");
//		window.open("../include/error.asp?set=end","JAction","resizable=no,width=180,height=50");
}
</script>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">
<title>ESMPRO/JMSS T[oݒ</title>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<script src="../include/functions.js"></script>
</head>

<frameset framespacing="0" border="0" frameborder="0" rows="32,*" onUnload="Wclose()">
  <frame name="title" scrolling="no" noresize src="title.asp?elogon=<%=elogon%>" marginwidth="0" marginheight="0" target="compocontents">
  <frame name="compocontents" scrolling="auto" noresize src="jobqueue/default0.asp?elogon=<%=elogon%>" marginwidth="0" marginheight="0">
  <!--frame name="title" scrolling="no" noresize src="title.asp" marginwidth="0" marginheight="0" target="compocontents">
  <frame name="compocontents" scrolling="auto" noresize src="jobqueue" marginwidth="0" marginheight="0"-->
  <noframes>
  <body>

  <p>̃y[Wɂ̓t[gpĂ܂Ag̃uEUł̓T|[gĂ܂B</p>

  </body>
  </noframes>
</frameset>

</html>
