<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" import="com.novell.webaccess.common.JSPConduit, com.novell.emframe.dev.eMFrameUtils" %>
<%   JSPConduit c = JSPConduit.getJSPConduit(request);
   c.stringTable("DevResources");
   c.stringTable("FwResources"); %>
<HTML>
<HEAD>
<TITLE><%= c.var("DisplayNameTitle") %></TITLE>
<link   rel='stylesheet'
        href='<%= c.getModulesUrl() + "/dev/css/hf_style.css" %>'>

<jsp:include page='<%= c.getPath("dev/eMFrameScripts_inc.jsp") %>' flush="true" />
<jsp:include page='<%= c.getPath("dev/OSScripts_inc.jsp") %>' flush="true" />

<script language="JavaScript">


   /*******************
    * FUNCTION HEADER *
    *******************/
    function onPageLoad()
    {
        document.ServerAddressForm.ServerAddress.focus();
    }


   /*******************
    * FUNCTION HEADER *
    *******************/
    function onPageSubmit()
    {
        var strInput = document.ServerAddressForm.ServerAddress.value;

        if ((null == strInput) || (0 == strInput.length))
        {
            alert("<%= c.toScript(c.string("eGuide.Taskbuilder.EnterValidURL.Label")) %>");
            return false;
        }

        return true;
    }

</SCRIPT>
</HEAD>

<BODY TEXT="#000000" LINK="#000000" VLINK="#000000" ALINK="#000000" bgcolor="#FFFFFF" onLoad="returnFromOS();onPageLoad()">

<FORM name="ServerAddressForm" method=post action="webacc" onSubmit="return(onPageSubmit())">
	<input  type=hidden name="taskId" value="<%= c.var("taskId") %>">
	<input  type=hidden name="merge" value="fw.eGuideTaskCategory">
	<input  type=hidden name="error" value="dev.GenErr">
	<input  type=hidden name="User.context" value="<%= c.var("User.context") %>">
	<input  type=hidden name="nextState" value="retrieveCategories">
   <!-- End of hidden tags -->

   <% c.set("WizardHeader.title", c.toDisplay(c.string("eGuide.Taskbuilder.Title")));
      c.set("WizardHeader.subtitle", c.toDisplay(c.string("eGuide.Taskbuilder.URL.SubTitle"))); %>
   <jsp:include page='<%= c.getPath("dev/WizardHeader_inc.jsp") %>' flush="true" />

   <DIV class="instructions"><%= c.toDisplay(c.string("eGuide.Taskbuilder.Address.Description")) %></DIV>
   <BR>

   <DIV class="mediumtext"><NOBR><%= c.toDisplay(c.string("eGuideURL")) %></NOBR></DIV>
   <input type=text name="ServerAddress" value="<%= c.toDisplay(c.var("eGuideServerAddress")) %>" size=55>
   <P>
   <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
      <TR>
      	<TD class="ruleabove">
         	<a href="javascript:history.go(-1);"><IMG src="<%= c.getModulesUrl() + "/dev/images/" + c.string("Button.Back.image") %>" alt="<%= c.toDisplay(c.string("Button.Back.alt")) %>" border=0></a>
            <INPUT type=image name="Next" alt="<%= c.toDisplay(c.string("Button.Next.alt")) %>" src="<%= c.getModulesUrl() + "/dev/images/" + c.string("Button.Next.image") %>" border=0>
            <jsp:include page='<%= c.getPath("dev/Cancel_inc.jsp") %>' flush="true" />
         </TD>
      </TR>
   </TABLE>
</FORM>
</BODY></HTML>
