<%@  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.GetBookNameForm.BookName.focus();
    }


   /*******************
    * FUNCTION HEADER *
    *******************/
    function onPageSubmit()
    {
        var strInput = document.GetBookNameForm.BookName.value;
        if ((null == strInput) || (0 == strInput.length))
        {
            alert("<%= c.string("GetBookName.EnterValidBookName") %>");
            return false;
        }
        return true;
    }


</script>
</HEAD>

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

<form   name="GetBookNameForm"
        method=post
        action="webacc"
        onSubmit="return(onPageSubmit())">


        <input  type=hidden
                name="taskId"
                value="<%= c.var("taskId") %>">

        <input  type=hidden
                name="merge"
                value="<%= c.var("Merge.Template") %>">

        <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="<%= c.var("Next.State") %>">

   <% c.set("TaskHeader.title", c.var("DisplayNameTitle"));
      c.set("TaskHeader.iconUrl", "dir/rbsBook.gif"); %>
   <jsp:include page='<%= c.getPath("dev/TaskHeader_inc.jsp") %>' flush="true" /><BR>

    <div class="formdescriptext"><span class="width400"><%= c.toHTML(c.string("GetBookName.Instructions")) %></span></div>
    <br>

    <TABLE width="100%" border="0" cellspacing="0" cellpadding="3">
        <TR>
            <TD class="mediumtext" valign="bottom">
                <%= c.string("GetBookName.EnterBookObject") %><br>
            <input   type=text
                        name="BookName"
                        value="" size=35>
                        <% c.set("OS.TypeFilter", "rbsBook2");
                           c.set("OS.Mode", "Search");
                           c.set("OS.Control", "BookName");
                           c.set("OS.History", "true"); %>
                        <jsp:include page='<%= c.getPath("dev/OS_inc.jsp") %>' flush="true" />
             </TD>
        </TR>
        <TR>
            <TD class="mediumtext" >&nbsp;</TD>
        </TR>
     </TABLE>
    <jsp:include page='<%= c.getPath("dev/Bar_inc.jsp") %>' flush="true" />
   <input   type=image
            name="NextButton"
            alt="<%= 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" />
</form>
<jsp:include page='<%= c.getPath("dev/OSFooter_inc.jsp") %>' flush="true" />
</BODY></HTML>
