<FORM name="hpage" METHOD=POST>
<script>
<!-- Begin


function isValid( field ) 
{
  if( !field )
  {
    return true;
  }

  for( var i=0; i < field.value.length; i++ ) 
  {
    if( 
        ( field.value.charAt(i) == '&' ) || 
        ( field.value.charAt(i) == '>' ) ||
        ( field.value.charAt(i) == '<' ) ||
        ( field.value.charAt(i) == '%' ) ||
        ( field.value.charCodeAt(i) == 94 ) ||
        ( field.value.charAt(i) == ':' )
      )
    {
      var valid = field.value.substring(0, i);

      field.value = valid;
      return false;
    }
  }

  return true;
}

function guardFields()
{
  if( document.hpage && document.hpage.cn )
  {
    isValid( document.hpage.cn ); 
  }
  else if( document.getElementById )
  {
    isValid( document.getElementById("cn"));
  }
}

function check(field)
{
  var i;

  for (i=0;i<field.length;i++)
  {
    field[i].checked=true; 
  }
  return;
}

function uncheck(field)
{
  var i;

  for(i=0;i<field.length;i++)
  {
    field[i].checked=false;
  }
  return;
}

function disable(field)
{
  var i;

  for(i=0;i<field.length;i++)
  {
    field[i].disabled=true;
  }
  return;
}

function enable(field)
{
  var i;

  for(i=0;i<field.length;i++)
  {
    field[i].disabled=false;
  }
  return;
}

function boldToggle( id, action )
{
  if( action == "off" )
  {
    document.getElementById(id).style.fontWeight="normal";
  }
  else
  {
    document.getElementById(id).style.fontWeight="bold";
  }
}

function emphasisToggle( id, action )
{
  if( action == "off" )
  {
    document.getElementById(id).style.color = "gray";
  }
  else
  {
    document.getElementById(id).style.color = "black";
  }
}

function ConnectorToggle()
{
  radio = document.hpage.mfConnector;
  check = document.hpage.mfCCI;

  if( radio && radio.length >= 6 && check )
  {
    if( radio[2].checked == true || 
        radio[4].checked == true ||
        radio[5].checked == true )
    {
      if( radio[2].checked == true )
      {
        check[1].checked = true;
      }
      check[1].disabled = false;
    }
    else
    {
      check[1].checked = false;
      check[1].disabled = true;
    } 
  }
}

function SSLToggle()
{
  if( document.hpage && document.hpage.mfSSLOn )
  {
    if( document.hpage.mfSSLOn.checked )
    {
      if( document.hpage.mfSSLCertificate )
      {
        document.hpage.mfSSLCertificate.disabled = false;
        emphasisToggle( "certlabel", "on" );
        boldToggle( "certlabel", "on" );
      }

      if( document.hpage.mfSSLKeyfile )
      {
        document.hpage.mfSSLKeyfile.disabled = false;
        emphasisToggle( "keyfilelabel", "on" );
        boldToggle( "keyfilelabel", "on" );
      }
    }
    else if( document.hpage.mfSSLCertificate )
    {
      document.hpage.mfSSLCertificate.disabled = true;
      emphasisToggle( "certlabel", "off" );
      boldToggle( "certlabel", "off" );

      if( document.hpage.mfSSLKeyfile )
      {
        document.hpage.mfSSLKeyfile.disabled = true;
        emphasisToggle( "keyfilelabel", "off" );  
        boldToggle( "keyfilelabel", "off" ); 
      }
    }

    if( document.hpage.mfSSLOn.checked &&
        document.hpage.mfSSLCertificate &&
        document.hpage.mfSSLCertificate.value.length > 0 &&
        document.hpage.mfSSLKeyfile &&
        document.hpage.mfSSLKeyfile.value.length > 0 )
    {
      document.hpage.button_Options_action_.disabled = false;
    }
    else
    {
      document.hpage.button_Options_action_.disabled = true;
    } 
  }
  else if( document.getElementById )
  {
    if( document.getElementById("mfSSLOn").checked )
    {
      document.getElementById("mfSSLCertificate").disabled = false;
      emphasisToggle( "certlabel", "on" );
      boldToggle( "certlabel", "on" );

      document.getElementById("mfSSLKeyfile").disabled = false;
      emphasisToggle( "keyfilelabel", "on" );
      boldToggle( "keyfilelabel", "on" );
    }
    else
    {
      document.getElementById("mfSSLCertificate").disabled = true;
      emphasisToggle( "certlabel", "off" );
      boldToggle( "certlabel", "off" );

      document.getElementById("mfSSLKeyfile").disabled = true;
      emphasisToggle( "keyfilelabel", "off" );  
      boldToggle( "keyfilelabel", "off" ); 
    }

    if( document.getElementById("mfSSLOn").checked &&
        document.getElementById("mfSSLCertificate").value.length > 0 &&
        document.getElementById("mfSSLKeyfile").value.length > 0 )
    {
      document.getElementById("button_Options_action_").disabled = false;
    }
    else
    {
      document.getElementById("button_Options_action_").disabled = true;
    }  
  }

  ConnectorToggle();
  return;
}

//  End -->
</script>
<INPUT TYPE=HIDDEN VALUE=l301 Name=page>

<table width="1%" border=0><tr><td>&nbsp;&nbsp;</td><td>
    
<table border=0 cellspacing=0 cellpadding=0 bgcolor=#aaaaaa><tr><td>
<table border=0 cellspacing=1 cellpadding=5>

<!-- Start of tabbed view titlebar -->

<tr>
<td align=right width=1% bgcolor=ffffcc nowrap><a href="/?page_000!"><img src=back.gif border=0 alt="Server List"></a></td>
<td align=right width=1% bgcolor=ffffcc nowrap><a href=p_^e
                                                             
><img src=prev.gif border=0 alt="Previous Server"></a></td>
<td align=right width=1% bgcolor=ffffcc nowrap><a href=n_^e
                                                                
><img src=next.gif border=0 alt="Next Server"></a></td>
<td bgcolor=#aaccff class="custom" nowrap>Server ^1         
                                                                                                     
                                                                      
                                                                                                     
                                                                      
</td>

</tr>

<!-- End of tabbed view titlebar -->


<tr><td bgcolor=#ffffff colspan=4>

<table border=0 cellspacing=0 cellpadding=0 bgcolor=#aaaaaa>
<tr><td bgcolor=ffffff>
<table border=0 cellspacing=0 cellpadding=3 width=100%>
<tr>
<td width=1 background="start_tab.gif" bgcolor=#ffffff></td>
<td class="custom" background="2.gif" bgcolor=#ffffff nowrap>^d
                                                                                                                           
                                                                                                   
サーバー...&nbsp;</a></td><td width=5 background="hi_tab.gif" bgcolor=#ffffff class="custom">&nbsp;</td>

<td class="custom" background="1.gif" bgcolor=#ffffff nowrap>

<table border=0 cellspacing=0 cellpadding=3 bgcolor=#ffffcc>
<tr><td nowrap class="custom">
^L                                                                         
                                                                                    
                                                                               
                              
</a>&nbsp;
</td></tr></table>

</td><td width=1 background="end_hi_tab.gif" bgcolor=#ffffff></td>
<td class="custom" background="2.gif" bgcolor=#ffffff nowrap>^V
                                                                                                                           
                                                                                                   
                        
</a></td><td width=1 background="tab.gif" bgcolor=#ffffff></td>
<td class="custom" background="2.gif" bgcolor=#ffffff nowrap>^N
                                                                                                   
                                                                                                                           
                        
</a></td><td width=1 background="tab.gif" bgcolor=#ffffff></td>
<td class="custom" background="2.gif" bgcolor=#ffffff nowrap>^P
                                                                                                                                     
                                                                                                              
                 
</a></td><td width=1 background="end_tab.gif" bgcolor=#ffffff></td>
<td width=100% align=right class="custom">&nbsp;
                                                                                                                          
                                                                
</td>
</tr>
</table>
</td></tr>
<tr><td>
<TABLE BORDER=0 CELLPADDING=1 CELLSPACING=0 BGCOLOR=#888888 width=100%><TR><TD>
<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=5 BGCOLOR=#ffffff width=100%><tr><td>
                                                                
                                                                              
<!-- -->   

<INPUT TYPE=HIDDEN NAME=mfUID VALUE=^w
                                                                                                                                                     > 
<TABLE BORDER=0 CELLPADDING=1 CELLSPACING=1>

<TR><TD class="custom"><b>名前</b>&nbsp;</TD>
<TD><INPUT NAME="cn" MAXLENGTH=255 SIZE=70 onKeyUp="JavaScript:guardFields();" onChange="JavaScript:setItemChanged();" VALUE=^4
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
></TD></TR>
</TABLE>
<TABLE BORDER=0 CELLPADDING=1 CELLSPACING=1>
<TR><TD class="custom">エンドポイントプロトコル</TD>
<TD>


<SELECT NAME=mfprotocol SIZE=1 SINGLE onChange="JavaScript:setItemChanged();submit();">
<OPTION SELECTED VALUE=tcp>TCP</OPTION>
<!--OPTION VALUE=mq>MQ </OPTION-->
</SELECT>
</TD></TR>

<TR><TD class="custom">エンドポイントアドレス&nbsp;&nbsp;</TD>
<TD>
<INPUT NAME=mfendpoint MAXLENGTH=255 SIZE=60 onChange="JavaScript:setItemChanged();" VALUE=^5
                                                                                                
                                                                                                
                                                                                                
                                                                                                
>
</TD></TR>

</TABLE>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1>

<TR><TD VALIGN=TOP class="custom" valign=top><BR>エンドポイントオプション:</td></tr>
<tr><td>
<TABLE BORDER=0 bgcolor=#cccccc cellpadding=0 cellspacing=1><tr><td>
<table border=0 bgcolor=#ffffff width=100%>

<TR><TD class="custom" colspan=2>
<INPUT TYPE=CHECKBOX NAME=mfSSLOn VALUE=Y ^ks      onClick="SSLToggle();setItemChanged();">&nbsp;Secure Sockets Layer
</TD></TR>
<TR><TD class="custom">
<div id="certlabel">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Certificate&nbsp;&nbsp;
</div>
</td>
<td>
<INPUT TYPE=HIDDEN NAME=mfSSLCertificateHidden VALUE=^F
                                                                                                                           
                                                                                                                                
                                                                                                            
>
<INPUT SIZE=80 MAXLENGTH=255 NAME=mfSSLCertificate onKeyUp="JavaScript:SSLToggle();setItemChanged();" VALUE=^F
                                                                                                                           
                                                                                                                                
                                                                                                            
>
&nbsp;</TD>
</TR>
<TR>
<TD class="custom">
<div id="keyfilelabel">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Keyfile&nbsp;
</div>
</td>
<td>
<INPUT TYPE=HIDDEN NAME=mfSSLKeyfileHidden VALUE=^K
                                                                                                                                         
                                                                                                                                  
                                                                                                                          
>
<INPUT SIZE=80 MAXLENGTH=255 NAME=mfSSLKeyfile onKeyUp="JavaScript:SSLToggle();setItemChanged();" VALUE=^K
                                                                                                                                         
                                                                                                                                  
                                                                                                                          
>


</TD>
</TR>
<INPUT TYPE=HIDDEN NAME=mfCCI VALUE=dummy>
<TR><TD class="custom" colspan=2><INPUT disabled TYPE=CHECKBOX NAME=mfCCI VALUE=Y ^kc    >&nbsp;レガシーMicro Focusアプリケーション形式</TD></TR>

</table>

<table border=0 bgcolor=#ffffff width=100%>



<tr>
<td>
</td>
<td align=right nowrap>
<input type="submit" value="Options..." name="button_Options_action_" ^I        >&nbsp;&nbsp;
</td>
</tr>

</table>
</td></tr>
</TABLE>
</TD></TR>
</TABLE>
<TABLE BORDER=0 CELLPADDING=1 CELLSPACING=4>

<TR><TD class="custom">現ステータス</TD><TD><INPUT DISABLED NAME=mflistenerstatus VALUE=^8             >
<TR><TD class="custom">新ステータス</TD><TD><SELECT NAME=mflistenerstatus SIZE=1 SINGLE>

<OPTION SELECTED VALUE=^8             >^8              
^o                                                                             
                                                                              
                                                                             
                                                                    
                                                     
                                               
                                                    
                                              
</SELECT></TD></TR>
</TABLE><BR>
    
<TABLE BORDER=0 CELLPADDING=1 CELLSPACING=1>
<TR><TD class="custom">サポートされる会話タイプ:&nbsp;&nbsp;&nbsp;</TD></TR>
^.
