<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" import="com.novell.webaccess.common.JSPConduit2, com.novell.emframe.dev.eMFrameUtils" %>
<%   JSPConduit2 c = JSPConduit2.getJSPConduit(request);
   c.stringTable("DevResources");
   c.stringTable("FwResources"); %>
<HTML>
<HEAD>
   <LINK rel='stylesheet' href='<%= c.getModulesUrl() + "/dev/css/hf_style.css" %>'>
   <SCRIPT>
      function init()
      {
         parent.document.getElementById("nextButton").src = "<%= c.getModulesUrl() %>/dev/images/<% if (c.var("PreviewFilter.hasNext").equals("false")) { %><%= c.string("Button.NextDisabled.image") %><% } else { %><%= c.string("Button.Next.image") %><% } %>"
         parent.document.getElementById("backButton").src = "<%= c.getModulesUrl() %>/dev/images/<% if (c.var("PreviewFilter.hasPrevious").equals("false")) { %><%= c.string("Button.PreviousDisabled.image") %><% } else { %><%= c.string("Button.Previous.image") %><% } %>"

         <% if( c.var("TotalCount") != "") { %>
         var str = "<%= c.toScript(c.toDisplay(c.string("TC.PreviewCount"))) %>&nbsp;<%= c.var("TotalCount")%><% if (!c.var("TotalCountExact").equals("true")) { %> <A href='#' onClick=\"alert('<%= c.toScript(c.var("TotalCountMessage")) %>')\" style='color: #039; text-decoration: underline; font-size:13px'><%= c.toDisplay(c.string("General.countWarningLink")) %></A><% } %>";
         parent.document.getElementById("countBox").innerHTML = str;
         <% } %>
      }
   </SCRIPT>
</HEAD>
<BODY onLoad="init()">
   <FORM name="form">

   <% c.set("i", "0");
      while (c.lt(c.var("i"), c.var("PreviewFilter.count"))) { %><IMG src="<%= c.getModulesUrl() %>/dev/images/dir/<%= c.toDisplay(c.var("PreviewFilter."+c.var("i")+ ".typeIcon")) %>">&nbsp;<%= c.toDisplay(c.var("PreviewFilter."+c.var("i")+ ".name")) %><BR><% c.inc("i");    } %>

      <INPUT name="blockIndex" type=hidden value="<%= c.toTag(c.var("PreviewFilter.blockIndex")) %>">
      <INPUT name="objectEntryCount" type=hidden value="<%= c.toTag(c.var("PreviewFilter.count")) %>">
   </FORM>
</BODY>
</HTML>
