home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2002 March / PCWMAR02.iso / software / windowsxp / ftgateoffice / ftgateoffice.exe / Main / dialup.fts < prev    next >
Encoding:
Text File  |  2001-11-29  |  18.3 KB  |  551 lines

  1. <%
  2. #include </utility/security.fts>
  3. #include </utility/global.fts>
  4. #include </utility/theme.fts>
  5. #include </utility/ftgate.fts>
  6.  
  7. var s = new server.schedule
  8.  
  9. var d = new server.domain
  10. const DOM_INTERNET    = 2
  11. const DOM_ALIAS            = 3
  12.  
  13. function domainType(d)
  14. {
  15.     var type
  16.  
  17.     if (d.description=="Local")
  18.         type=DOM_LOCAL
  19.     else if (d.description=="Remote")
  20.         type=DOM_REMOTE
  21.     else
  22.         type=DOM_ALIAS
  23.  
  24.     return type
  25. }
  26.  
  27. if (form.config=="1")
  28. {
  29.     if (build()==FTGATE_PRO)
  30.         s.name = form.name
  31.     else
  32.         s.first()
  33.  
  34.     var ok=true
  35.     while (ok)
  36.     {
  37.         s.dun.profile = form.profile
  38.         s.dun.username = form.username
  39.         s.dun.password = form.password
  40.         s.dun.connecttimeout = form.connecttimeout
  41.         s.dun.logintimeout = form.logintimeout
  42.         s.dun.attemptpause = form.attemptpause
  43.         s.dun.startdelay = form.startdelay
  44.         s.dun.maxattempts = form.maxattempts
  45.  
  46.         if (build()!=FTGATE_PRO)
  47.         {
  48.             ok=s.next()
  49.         }
  50.         else
  51.             ok=false
  52.     }
  53.  
  54.     if (build()!=FTGATE_PRO)
  55.         s.first()
  56.  
  57.     if (form.redirect!="")
  58.     {
  59.         var str = form.redirect
  60.         if (str.indexof("?",0)==-1)
  61.             output.redirect(form.redirect+"?schedule="+s.name)
  62.         else
  63.             output.redirect(form.redirect+"&schedule="+s.name)
  64.     }
  65. }
  66. else if (form.config=="2")
  67. {
  68.   if (form.redirect!="")
  69.     {
  70.         var str = form.redirect
  71.         if (str.indexof("?",0)==-1)
  72.             output.redirect(form.redirect+"?schedule="+form.name)
  73.         else
  74.             output.redirect(form.redirect+"&schedule="+form.name)
  75.     }
  76. }
  77. else
  78. {
  79.     if (build()==FTGATE_PRO)
  80.         s.name = request.schedule
  81.     else
  82.         s.first()
  83. }
  84. %>
  85. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
  86. <HTML>
  87. <HEAD>
  88. <LINK REL=STYLESHEET HREF="/utility/main<%=nn4%>.css" TYPE="text/css">
  89. <META NAME="GENERATOR" CONTENT="Microsoft Developer Studio">
  90. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
  91. <TITLE>Schedules -- Dialup</TITLE>
  92.  
  93. <SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
  94. <!--
  95. var dir="<%=buttons%>";
  96. var pro=<%=build()==FTGATE_PRO%>;
  97.  
  98. if (!document.images) {}
  99. else {
  100.   plus0 = new Image();
  101.   plus0.src  = dir+"open.gif";
  102.   plus1 = new Image();
  103.   plus1.src = dir+"openon.gif";
  104.   minus0 = new Image();
  105.   minus0.src  = dir+"close.gif";
  106.   minus1 = new Image();
  107.   minus1.src = dir+"closeon.gif";
  108. }
  109.  
  110. <%
  111. if (netscape)
  112. {
  113.   %>
  114.   document.captureEvents(Event.KEYPRESS);
  115.   document.onkeypress = keypress;
  116.  
  117.   function keypress(event)
  118.   {
  119.     if (event.which==13)
  120.     {
  121.       onApply();
  122.       return false;
  123.     }
  124.  
  125.     return true;
  126.   }
  127.   <%
  128. }
  129. else
  130. {
  131.   %>
  132.   function keypress()
  133.   {
  134.     if (event.keyCode==13)
  135.     {
  136.       event.returnValue=null;
  137.       onApply();
  138.     }
  139.   }
  140.   <%
  141. }
  142. %>
  143.  
  144. function onLoad()
  145. {
  146.     document.ftgate.connecttimeout.value = toNicePeriod(<%=s.dun.connecttimeout%>);
  147.     document.ftgate.logintimeout.value = toNicePeriod(<%=s.dun.logintimeout%>);
  148.     document.ftgate.attemptpause.value = toNicePeriod(<%=s.dun.attemptpause%>);
  149.     document.ftgate.startdelay.value = toNicePeriod(<%=s.dun.startdelay%>);
  150.  
  151.   <%
  152.     if (build()==FTGATE_PRO)
  153.         output.writeln("setPage(3, \"Schedules\");")
  154.     else
  155.         output.writeln("setPage(4, \"Remote Domain\");")
  156.  
  157.   if (s.profile.first())
  158.   {
  159.     %>
  160.     document.ftgate.profile.focus();
  161.     <%
  162.   }
  163.   else
  164.   {
  165.     %>
  166.     document.ftgate.username.focus();
  167.     <%
  168.   }
  169.   %>
  170. }
  171.  
  172. function isOK(form)
  173. {
  174.     var periodErr = "The period is invalid: enter a number followed by s, m, h, or d";
  175.  
  176.     if (!isPeriod(form.connecttimeout.value))
  177.     {
  178.         alert(periodErr);
  179.         form.connecttimeout.focus();
  180.  
  181.         return false;
  182.     }
  183.  
  184.     if (!isPeriod(form.logintimeout.value))
  185.     {
  186.         alert(periodErr);
  187.         form.logintimeout.focus();
  188.  
  189.         return false;
  190.     }
  191.  
  192.     if (!isPeriod(form.attemptpause.value))
  193.     {
  194.         alert(periodErr);
  195.         form.attemptpause.focus();
  196.  
  197.         return false;
  198.     }
  199.  
  200.     if (!isPeriod(form.startdelay.value))
  201.     {
  202.         alert(periodErr);
  203.         form.startdelay.focus();
  204.  
  205.         return false;
  206.     }
  207.  
  208.     if (!isPositive(form.maxattempts.value))
  209.     {
  210.         alert("Enter a number greater than zero.");
  211.         form.maxattempts.focus();
  212.  
  213.         return false;
  214.     }
  215.  
  216.     form.connecttimeout.value = fromNicePeriod(form.connecttimeout.value)
  217.     form.logintimeout.value = fromNicePeriod(form.logintimeout.value)
  218.     form.attemptpause.value = fromNicePeriod(form.attemptpause.value)
  219.     form.startdelay.value = fromNicePeriod(form.startdelay.value)
  220.  
  221.     return true;
  222. }    
  223.  
  224. function onUpEdit(edit, name)
  225. {
  226.   change(name, 'plus', 0);
  227.   onUpPeriod(edit);
  228.   setModified(true);
  229. }
  230.  
  231. function onDownEdit(edit, name)
  232. {
  233.   change(name, 'minus', 0);
  234.   onDownPeriod(edit, false);
  235.   setModified(true);
  236. }
  237.  
  238. function onUpValue(edit, name)
  239. {
  240.   change(name, 'plus', 0);
  241.   onUp(edit);
  242.   setModified(true);
  243. }
  244.  
  245. function onDownValue(edit, name)
  246. {
  247.   change(name, 'minus', 0);
  248.   onDown(edit, false);
  249.   setModified(true);
  250. }
  251.  
  252. function onCancelLocal()
  253. {
  254.     <%
  255.     if (build()==FTGATE_PRO)
  256.         output.writeln("onCancel()")
  257.     else
  258.     {
  259.         %>
  260.         if (!checkModified())
  261.             return;
  262.  
  263.         window.location.href="/domains/index.fts";
  264.         <%
  265.     }
  266.     %>
  267. }
  268.  
  269. function onCloseLocal()
  270. {
  271.     <%
  272.     if (build()==FTGATE_PRO)
  273.         output.writeln("onClose()")
  274.     else
  275.     {
  276.         %>
  277.         if (!isOK(document.ftgate))
  278.             return;
  279.  
  280.         document.ftgate.redirect.value="/domains/index.fts"
  281.         document.ftgate.submit();
  282.         <%
  283.     }
  284.     %>
  285. }
  286.  
  287. //-->
  288. </SCRIPT>
  289. <SCRIPT LANGUAGE="JavaScript1.2" SRC="/utility/cookies.js" TYPE="text/javascript"></SCRIPT>
  290. <SCRIPT LANGUAGE="JavaScript1.2" SRC="/utility/core.js" TYPE="text/javascript"></SCRIPT>
  291. <SCRIPT LANGUAGE="JavaScript1.2" SRC="/utility/time.js" TYPE="text/javascript"></SCRIPT>
  292. <SCRIPT LANGUAGE="JavaScript1.2" SRC="/utility/spin.js" TYPE="text/javascript"></SCRIPT>
  293. <SCRIPT LANGUAGE="JavaScript1.2" SRC="/utility/dialog.js" TYPE="text/javascript"></SCRIPT>
  294. </HEAD>
  295.  
  296. <BODY BGCOLOR="white" onLoad="onLoad()" MARGINHEIGHT="0" MARGINWIDTH="0" onkeypress="keypress()">
  297.  
  298. <TABLE BORDER="0" BGCOLOR="<%=border%>" WIDTH="<%=bodywidth%>" HEIGHT="<%=bodyheight%>" CELLPADDING="0" CELLSPACING="0"><TR><TD> </TD><TD VALIGN="TOP">
  299.  
  300. <%
  301. if (build()==FTGATE_PRO)
  302. {
  303.     %>
  304.     <A HREF="index.fts"><SPAN ID="top">Schedules</SPAN></A><SPAN ID="top"> /</SPAN>
  305.     <SPAN ID="topsel"><%=s.name%></SPAN>
  306.     <%
  307. }
  308. else
  309. {
  310.     var ok=d.findfirst("*")
  311.     while (ok&&(domainType(d)!=DOM_REMOTE))
  312.         ok=d.findnext()
  313.     %>
  314.     <A HREF="/domains/index.fts"><SPAN ID="top">Domains</SPAN></A><SPAN ID="top"> /</SPAN>
  315.     <SPAN ID="topsel"><%=d.domainname%></SPAN>
  316.     <%
  317. }
  318. %>
  319.  
  320. <FORM NAME="ftgate" METHOD="POST" onSubmit="return isOK(this)" ACTION="dialup.fts">
  321. <!-- hidden variables -->
  322. <INPUT TYPE="HIDDEN" NAME="name" VALUE="<%=s.name%>">
  323. <INPUT TYPE="HIDDEN" NAME="config" VALUE="1">
  324. <INPUT TYPE="HIDDEN" NAME="redirect" VALUE="">
  325.  
  326. <!-- start of the tabs -->
  327. <%
  328. if (build()==FTGATE_PRO)
  329. {
  330. %>
  331. <TABLE BORDER="0" WIDTH="100%" CELLSPACING="0" CELLPADDING="0">
  332.   <TR>
  333.         <TD WIDTH="5" HEIGHT="18"><IMG SRC="/images/left.gif" VSPACE="0" BORDER="0" WIDTH="5" HEIGHT="18"></TD>
  334.         <TD CLASS="navoff" WIDTH="50" HEIGHT="18" ALIGN="CENTER"><A HREF="javascript:onLaunch('schedule.fts')" CLASS="navoff">General</A></TD>
  335.         <TD BGCOLOR="black" WIDTH="1" HEIGHT="18" ALIGN="CENTER"><IMG SRC="/images/1pixel.gif" WIDTH="1" HEIGHT="18"></TD>
  336.         <TD CLASS="navoff" WIDTH="55" HEIGHT="18" ALIGN="CENTER"><A HREF="javascript:onLaunch('times.fts')" CLASS="navoff">Times</A></TD>
  337.         <TD BGCOLOR="black" WIDTH="1" HEIGHT="18" ALIGN="CENTER"><IMG SRC="/images/1pixel.gif" WIDTH="1" HEIGHT="18"></TD>
  338.         <TD CLASS="navon" WIDTH="50" HEIGHT="18"ALIGN="CENTER"><A HREF="javascript:onLaunch('dialup.fts')" CLASS="navon">Dialup</A></TD>
  339.         <TD WIDTH="5" HEIGHT="18"><IMG SRC="/images/right-s.gif" VSPACE="0" BORDER="0" WIDTH="5" HEIGHT="18"></TD>
  340.         <TD WIDTH="<%=bodywidth-167%>" HEIGHT="18"> </TD>
  341.   </TR>
  342. </TABLE>
  343. <%
  344. }
  345. else
  346. {
  347. %>
  348. <TABLE BORDER="0" WIDTH="100%" CELLSPACING="0" CELLPADDING="0">
  349.   <TR>
  350.         <TD WIDTH="5" HEIGHT="18"><IMG SRC="/images/left.gif" VSPACE="0" BORDER="0" WIDTH="5" HEIGHT="18"></TD>
  351.         <TD CLASS="navoff" WIDTH="50" HEIGHT="18" ALIGN="CENTER"><A HREF="javascript:onLaunch('/domains/remote.fts')" CLASS="navoff">General</A></TD>
  352.         <TD BGCOLOR="black" WIDTH="1" HEIGHT="18" ALIGN="CENTER"><IMG SRC="/images/1pixel.gif" WIDTH="1" HEIGHT="18"></TD>
  353.         <TD CLASS="navoff" WIDTH="55" HEIGHT="18" ALIGN="CENTER"><A HREF="javascript:onLaunch('/domains/delivery.fts')" CLASS="navoff">Delivery</A></TD>
  354.         <TD BGCOLOR="black" WIDTH="1" HEIGHT="18" ALIGN="CENTER"><IMG SRC="/images/1pixel.gif" WIDTH="1" HEIGHT="18"></TD>
  355.         <TD CLASS="navoff" WIDTH="55" HEIGHT="18"ALIGN="CENTER"><A HREF="javascript:onLaunch('/domains/security.fts')" CLASS="navoff">Security</A></TD>
  356.         <TD BGCOLOR="black" WIDTH="1" HEIGHT="18" ALIGN="CENTER"><IMG SRC="/images/1pixel.gif" WIDTH="1" HEIGHT="18"></TD>
  357.         <TD CLASS="navoff" WIDTH="55" HEIGHT="18"ALIGN="CENTER"><A HREF="javascript:onLaunch('/domains/details.fts')" CLASS="navoff">Details</A></TD>
  358.         <TD BGCOLOR="black" WIDTH="1" HEIGHT="18" ALIGN="CENTER"><IMG SRC="/images/1pixel.gif" WIDTH="1" HEIGHT="18"></TD>
  359.         <TD CLASS="navoff" WIDTH="55" HEIGHT="18"ALIGN="CENTER"><A HREF="javascript:onLaunch('/domains/priority.fts')" CLASS="navoff">Priority</A></TD>
  360.         <TD BGCOLOR="black" WIDTH="1" HEIGHT="18" ALIGN="CENTER"><IMG SRC="/images/1pixel.gif" WIDTH="1" HEIGHT="18"></TD>
  361.         <TD CLASS="navoff" WIDTH="70" HEIGHT="18" ALIGN="CENTER"><A HREF="javascript:onLaunch('/schedules/schedule.fts')" CLASS="navoff">Connection</A></TD>
  362.         <TD BGCOLOR="black" WIDTH="1" HEIGHT="18" ALIGN="CENTER"><IMG SRC="/images/1pixel.gif" WIDTH="1" HEIGHT="18"></TD>
  363.         <TD CLASS="navon" WIDTH="55" HEIGHT="18" ALIGN="CENTER"><A HREF="javascript:onLaunch('/schedules/dialup.fts')" CLASS="navon">Dialup</A></TD>
  364.         <TD BGCOLOR="black" WIDTH="1" HEIGHT="18" ALIGN="CENTER"><IMG SRC="/images/1pixel.gif" WIDTH="1" HEIGHT="18"></TD>
  365.         <TD CLASS="navoff" WIDTH="55" HEIGHT="18" ALIGN="CENTER"><A HREF="javascript:onLaunch('/schedules/times.fts?id=1')" CLASS="navoff">Times A</A></TD>
  366.         <TD BGCOLOR="black" WIDTH="1" HEIGHT="18" ALIGN="CENTER"><IMG SRC="/images/1pixel.gif" WIDTH="1" HEIGHT="18"></TD>
  367.         <TD CLASS="navoff" WIDTH="55" HEIGHT="18" ALIGN="CENTER"><A HREF="javascript:onLaunch('/schedules/times.fts?id=2')" CLASS="navoff">Times B</A></TD>
  368.         <TD BGCOLOR="black" WIDTH="1" HEIGHT="18" ALIGN="CENTER"><IMG SRC="/images/1pixel.gif" WIDTH="1" HEIGHT="18"></TD>
  369.         <TD CLASS="navoff" WIDTH="50" HEIGHT="18" ALIGN="CENTER"><A HREF="javascript:onLaunch('/mailboxes/mailbox.fts')" CLASS="navoff">Outbox</A></TD>
  370.         <TD WIDTH="5" HEIGHT="18"><IMG SRC="/images/right.gif" VSPACE="0" BORDER="0" WIDTH="5" HEIGHT="18"></TD>
  371.         <TD WIDTH="<%=bodywidth-574%>" HEIGHT="18"> </TD>
  372.   </TR>
  373. </TABLE>
  374. <%
  375. }
  376. %>
  377. <!-- end of the tabs -->
  378.  
  379. <!-- start of the tab body -->
  380. <TABLE BORDER="0" BGCOLOR="<%=border%>" WIDTH="100%" CELLPADDING="0" CELLSPACING="0"><TR><TD>
  381. <TABLE <%=table%> CELLPADDING="0" CELLSPACING="0">
  382. <!-- start of block -->
  383. <TR>
  384. <TD VALIGN="TOP">
  385.   <TABLE BORDER="0" WIDTH="100%">
  386.         <!-- sub table goes here -->
  387.     <TR>
  388.       <TD>
  389.               <TABLE CLASS="box" WIDTH="100%">
  390.           <TR>
  391.             <TD>
  392.               <TABLE BORDER="0" WIDTH="100%">
  393.                                 <TR>
  394.                                     <TH COLSPAN="2">Dialup Connection Settings</TH>
  395.                                 </TR>
  396.                                 <TR>
  397.                                     <TD>Dialup profile</TD>
  398.                                     <TD COLSPAN="3">
  399.                     <%
  400.                                             var wm = new server.webmail
  401.                       var ok=s.profile.first()
  402.                       if (ok)
  403.                       {
  404.                         output.writeln("<SELECT NAME='profile' onChange='setModified(true)'>")
  405.                         while (ok)
  406.                         {
  407.                           %>
  408.                           <OPTION VALUE="<%=wm.escape(s.profile.name)%>" <%
  409.                           if (s.profile.name==s.dun.profile)
  410.                           {
  411.                             output.write(" SELECTED")
  412.                           }
  413.                           %>><%=wm.escape(s.profile.name)%></OPTION>
  414.                           <%
  415.                           ok=s.profile.next()
  416.                         }
  417.                         output.writeln("</SELECT>")
  418.                       }
  419.                       else
  420.                       {
  421.                         output.writeln("No Dialup profiles defined.")
  422.                       }
  423.                     %>
  424.                   </TD>
  425.                                 </TR>
  426.                                 <TR>
  427.                                     <TD>Login username</TD>
  428.                                     <TD><INPUT TYPE="TEXT" NAME="username" SIZE="<%=size20%>" VALUE="<%=s.dun.username%>" onChange="setModified(true)"></TD>
  429.                                     <TD>Login password</TD>
  430.                                     <TD><INPUT TYPE="PASSWORD" NAME="password" SIZE="<%=size20%>" VALUE="<%=s.dun.password%>" onChange="setModified(true)"></TD>
  431.                                 </TR>
  432.               </TABLE>
  433.                         </TD>
  434.                     </TR>
  435.         </TABLE>
  436.       </TD>
  437.     </TR>
  438.         <!-- sub table ends here -->
  439.         <!-- sub table goes here -->
  440.     <TR>
  441.       <TD>
  442.               <TABLE CLASS="box" WIDTH="100%">
  443.           <TR>
  444.             <TD>
  445.               <TABLE BORDER="0" WIDTH="100%">
  446.                                 <TR>
  447.                                     <TH COLSPAN="4">When Connecting</TH>
  448.                                 </TR>
  449.                                 <TR>
  450.                                     <TD>Connect timeout</TD>
  451.                                     <TD>
  452.                                         <INPUT TYPE="TEXT" NAME="connecttimeout" SIZE="<%=size5%>" VALUE="<%=s.dun.connecttimeout%>" onChange="setModified(true)">
  453.                                 <A HREF="javascript:onUpEdit(document.ftgate.connecttimeout, 'plusA')"
  454.                                 onMouseDown="change('plusA', 'plus', 1)"
  455.                                 onMouseOut="change('plusA', 'plus', 0)"><IMG SRC="<%=buttons%>open.gif" NAME="plusA" BORDER="0" WIDTH="20" HEIGHT="20" ALT="Increment"></A>
  456.                                 <A HREF="javascript:onDownEdit(document.ftgate.connecttimeout, 'minusA')"
  457.                                 onMouseDown="change('minusA', 'minus', 1)"
  458.                                 onMouseOut="change('minusA', 'minus', 0)"><IMG SRC="<%=buttons%>close.gif" NAME="minusA" BORDER="0" WIDTH="20" HEIGHT="20" ALT="Decrement"></A>
  459.                                     </TD>
  460.                                     <TD>Login timeout</TD>
  461.                                     <TD>
  462.                                         <INPUT TYPE="TEXT" NAME="logintimeout" SIZE="<%=size5%>" VALUE="<%=s.dun.logintimeout%>" onChange="setModified(true)">
  463.                                 <A HREF="javascript:onUpEdit(document.ftgate.logintimeout, 'plusB')"
  464.                                 onMouseDown="change('plusB', 'plus', 1)"
  465.                                 onMouseOut="change('plusB', 'plus', 0)"><IMG SRC="<%=buttons%>open.gif" NAME="plusB" BORDER="0" WIDTH="20" HEIGHT="20" ALT="Increment"></A>
  466.                                 <A HREF="javascript:onDownEdit(document.ftgate.logintimeout, 'minusB')"
  467.                                 onMouseDown="change('minusB', 'minus', 1)"
  468.                                 onMouseOut="change('minusB', 'minus', 0)"><IMG SRC="<%=buttons%>close.gif" NAME="minusB" BORDER="0" WIDTH="20" HEIGHT="20" ALT="Decrement"></A>
  469.                                     </TD>
  470.                                 </TR>
  471.                                 <TR>
  472.                                     <TD>Retry after</TD>
  473.                                     <TD>
  474.                                         <INPUT TYPE="TEXT" NAME="attemptpause" SIZE="<%=size5%>" VALUE="<%=s.dun.attemptpause%>" onChange="setModified(true)">
  475.                                 <A HREF="javascript:onUpEdit(document.ftgate.attemptpause, 'plusC')"
  476.                                 onMouseDown="change('plusC', 'plus', 1)"
  477.                                 onMouseOut="change('plusC', 'plus', 0)"><IMG SRC="<%=buttons%>open.gif" NAME="plusC" BORDER="0" WIDTH="20" HEIGHT="20" ALT="Increment"></A>
  478.                                 <A HREF="javascript:onDownEdit(document.ftgate.attemptpause, 'minusC')"
  479.                                 onMouseDown="change('minusC', 'minus', 1)"
  480.                                 onMouseOut="change('minusC', 'minus', 0)"><IMG SRC="<%=buttons%>close.gif" NAME="minusC" BORDER="0" WIDTH="20" HEIGHT="20" ALT="Decrement"></A>
  481.                                     </TD>
  482.                                     <TD>Max attempts</TD>
  483.                                     <TD>
  484.                                         <INPUT TYPE="TEXT" NAME="maxattempts" SIZE="<%=size5%>" VALUE="<%=s.dun.maxattempts%>" onChange="setModified(true)">
  485.                                 <A HREF="javascript:onUpValue(document.ftgate.maxattempts, 'plusE')"
  486.                                 onMouseDown="change('plusE', 'plus', 1)"
  487.                                 onMouseOut="change('plusE', 'plus', 0)"><IMG SRC="<%=buttons%>open.gif" NAME="plusE" BORDER="0" WIDTH="20" HEIGHT="20" ALT="Increment"></A>
  488.                                 <A HREF="javascript:onDownValue(document.ftgate.maxattempts, 'minusE')"
  489.                                 onMouseDown="change('minusE', 'minus', 1)"
  490.                                 onMouseOut="change('minusE', 'minus', 0)"><IMG SRC="<%=buttons%>close.gif" NAME="minusE" BORDER="0" WIDTH="20" HEIGHT="20" ALT="Decrement"></A>
  491.                                     </TD>
  492.                                 </TR>
  493.                                 <TR>
  494.                                     <TD>Start delay</TD>
  495.                                     <TD>
  496.                                         <INPUT TYPE="TEXT" NAME="startdelay" SIZE="<%=size5%>" VALUE="<%=s.dun.startdelay%>" onChange="setModified(true)">
  497.                                 <A HREF="javascript:onUpEdit(document.ftgate.startdelay, 'plusD')"
  498.                                 onMouseDown="change('plusD', 'plus', 1)"
  499.                                 onMouseOut="change('plusD', 'plus', 0)"><IMG SRC="<%=buttons%>open.gif" NAME="plusD" BORDER="0" WIDTH="20" HEIGHT="20" ALT="Increment"></A>
  500.                                 <A HREF="javascript:onDownEdit(document.ftgate.startdelay, 'minusD')"
  501.                                 onMouseDown="change('minusD', 'minus', 1)"
  502.                                 onMouseOut="change('minusD', 'minus', 0)"><IMG SRC="<%=buttons%>close.gif" NAME="minusD" BORDER="0" WIDTH="20" HEIGHT="20" ALT="Decrement"></A>
  503.                                     </TD>
  504.                                     <TD COLSPAN="2"> </TD>
  505.                                 </TR>
  506.               </TABLE>
  507.                         </TD>
  508.                     </TR>
  509.         </TABLE>
  510.       </TD>
  511.     </TR>
  512.         <!-- sub table ends here -->
  513.  
  514.         <!-- table footer goes here -->
  515.         <TR>
  516.             <TD ALIGN="RIGHT">
  517.                 <A HREF="javascript:onCloseLocal()"
  518.                 onMouseDown="change('closeA', 'ok', 1)"
  519.                 onMouseOut="change('closeA', 'ok', 0)"><IMG SRC="<%=buttons%>ok.gif" NAME="closeA" BORDER="0" WIDTH="50" HEIGHT="20" ALT="Apply changes and close" HSPACE="5"></A>
  520.                 <A HREF="javascript:onCancelLocal()"
  521.                 onMouseDown="change('cancelA', 'cancel', 1)"
  522.                 onMouseOut="change('cancelA', 'cancel', 0)"><IMG SRC="<%=buttons%>cancel.gif" NAME="cancelA" BORDER="0" WIDTH="50" HEIGHT="20" ALT="Cancel"></A>
  523.                 <A HREF="javascript:onApply()"
  524.                 onMouseDown="change('applyA', 'apply', 1)"
  525.                 onMouseOut="change('applyA', 'apply', 0)"><IMG SRC="<%=buttons%>apply.gif" NAME="applyA" BORDER="0" WIDTH="50" HEIGHT="20" ALT="Apply changes" HSPACE="5"></A>
  526.             </TD>
  527.         </TR>
  528.         <!-- table footer ends here -->
  529.   </TABLE>
  530.     <!-- sub table ends here -->
  531. </TD>
  532. </TR>
  533. <!-- end of block -->
  534. </TABLE>
  535. </TD></TR></TABLE>
  536.  
  537. <!-- footer starts here -->
  538. <SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
  539. <!--
  540.     var href="/schedules/dialup.fts?schedule=<%=s.name%>";
  541.     var bodywidth=<%=bodywidth%>;
  542. //-->
  543. </SCRIPT>
  544. <SCRIPT LANGUAGE="JavaScript1.2" SRC="/utility/footer.js" TYPE="text/javascript"></SCRIPT>
  545. <!-- footer ends here -->
  546. </FORM>
  547.  
  548. </TD><TD WIDTH="10"> </TD></TR></TABLE>
  549. </BODY>
  550. </HTML>
  551.