<!--#include file="../include/jschedule/JSCHEDULE.ASP"-->
<%
'jschedule/schedule/propJobQueRef.asp (Last Update 2001.04.26)
'-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
'   ESMPRO/JMSS WebClient (JSchedule) Version 6.0
'   Copyright (C) NEC Corporation/NEC Soft, Ltd. 2001
'   All rights reserved
'-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
'**Start Encode**
    Dim ListData
    Dim obj
    Dim nIndex
    Dim nCount

    'WuL[XǧĂяo
    Session("jsch").JSchQueueList CStr(Session("jserver")), Null
    If Session("jsch").ReturnCode <> 0 Then
        Call ClientMessageBox("WuL[̈ꗗ擾o܂B")
        Response.Write "<HTML>"
        Response.Write "<SCRIPT LANGUAGE='JavaScript'>" & vbCrLf
        Response.Write "self.close();" & vbCrLf
        Response.Write "</SCRIPT>"
        Response.Write "</HTML>"
        Response.End
    Else
        Set ListData = Session("jsch").QueueEntrys
    End If
%>

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">
<title>JMSS - WuL[Q</title>
<link rel="stylesheet" type="text/css" href="../include/jmss.css">

<STYLE type="text/css" media="screen, print">
<!--
INPUT.button.{
    font-size:10pt;
    font-family:lr SVbN;
}
select.{
//  WIDTH: 152px;
}
-->
</STYLE>


<script src="../include/functions.js"></script>
<!-- ///////////////////////// client script section ////////////////////////// -->
<script language="JavaScript">
<!--
function onChange_QueList(){
    with(document.f){
        QueName.value=QueList[QueList.selectedIndex].value;
    }
}

function onClick_Ok(){
    with(document.f){
        if (QueName.value != ""){
            if (!!self.opener.document.propform.Queue){
                self.opener.document.propform.Queue.value = QueName.value;
            }
        }
    }
    top.close();
}
//-->
</script>
</head>

<!-- ////////////////////////////// main section ////////////////////////////// -->
<body class='dialog' onLoad="onChange_QueList();">

<form name="f">

<center>
  <table border="0" cellspacing="1" cellpadding="2">

    <tr>
      <td bgcolor="#4080c0" nowrap colspan="2">
      <font color="#ffffff"><b>WuL[Q</b></font></td>
    </tr>

    <tr>
      <td valign="bottom">
      WuL[
      </td>
      <td nowrap>
      <BR>
      </td>
    </tr>

    <tr>
      <td>
      <input name="QueName" maxlength="15" size="27" style="font-size:10pt;font-family:lr oSVbN;" readonly>
      </td>
      <td nowrap>
        <input type="button" value="@n@j@" onClick="javascript:onClick_Ok();">
        </FONT>
      </td>
    </tr>

    <tr>
<!--
      <td nowrap rowspan="4" valign="top">
      <select size="8" name="QueList" onChange="onChange_QueList();">
-->
      <td nowrap rowspan="3" valign="top">
      <select size="6" name="QueList" onChange="onChange_QueList();">
      <%
          nCount = ListData.Count
          If nCount > 0 Then
              For nIndex = 0 To nCount - 1
                  Set obj = ListData.Item(CLng(nIndex), 0)
                  If nIndex > 0 Then
                      Response.Write "<option value='" & obj.Name & "'>"
                  Else
                      Response.Write "<option value='" & obj.Name & "' selected>"
                  End If
                  Response.Write obj.Name
              Next
          End If
          '*** IuWFNg ***
          Set obj = Nothing
          Set ListData = Nothing
      %>
      </select>
      </td>
      <td nowrap>
        <input type="button" value="LZ" onClick="top.close();">
      </td>
    </tr>

    <tr>
      <td nowrap>
        <input type="button" value="@X@V@" onClick="location.reload(true);">
      </td>
    </tr>
<!--
    <tr>
      <td nowrap>
        <input type="button" value="֘A}V" onClick="top.close();">
      </td>
    </tr>
-->
    <tr>
      <td nowrap>
        <input type="button" value="w@@v" onClick="javascript:popUpHelp('../help/jschedule/propJobQueRef.htm');">
      </td>
    </tr>

  </table>
</center>

</form>

</body>

</html>
