<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" import="com.novell.webaccess.common.JSPConduit2, com.novell.emframe.dev.eMFrameUtils, com.novell.emframe.fw.ObjectSelector"%>
<%   JSPConduit2 c = JSPConduit2.getJSPConduit(request);
     c.stringTable("DevResources");

     if (!c.var("OS.Windowed").equalsIgnoreCase("true"))
     {
        //set parameter to tell nps we need the task url saved
        request.setAttribute("SaveTaskURL","true");
     }
     String altTitle = ( (c.var("OS.AltText").length()==0) ? c.toDisplay(c.string("Button.OS.alt")) : c.toDisplay(c.var("OS.AltText")) ); %>
<!-- os link code -->
<a href="#" title="<%= altTitle %>" alt="<%= altTitle %>" onClick="javascript:doOS('','<%= c.toDisplay(c.toScript(c.var("OS.Control"))) %>','<%= c.toDisplay(c.toScript(c.var("OS.CallBack"))) %>','<%= c.var("OS.AdvancedSelection") %>','<%= c.var("OS.AdvSelCriteria") %>','<%= c.var("OS.AdvSelCriteriaCallBack") %>','<%= c.toDisplay(c.toScript(c.var("OS.InitialContext"))) %>','<%= c.toDisplay(c.toScript(c.var("OS.IsOSAllowed"))) %>','<%= c.var("OS.Mode") %>','<%= c.var("OS.MultiSelect") %>','<%= c.toDisplay(c.toScript(c.var("OS.NameFilter"))) %>','<%= c.var("OS.ResultsPerPage") %>','<%= c.var("OS.SearchSubContainers") %>','<%= c.var("OS.SearchOnStartup") %>','<%= c.var("OS.ShowSubClasses") %>','<%= c.toDisplay(c.toScript(c.var("OS.TypeFilter"))) %>','<%= c.toDisplay(c.toScript(c.var("OS.TypeFilterCallBack"))) %>'); return false">
<% if (c.var("OS.Text").length()==0) { %><%= c.toDisplay(c.string("Button.OS.alt")) %><% } else { %><%= c.toDisplay(c.var("OS.Text")) %><% } %></a>
<!-- end os button code -->
<% if (c.var("OS.History").equals("true")) { %>
<!-- history button code -->
<a href="#" onClick="javascript:doHist(this,'<%= c.toDisplay(c.toScript(c.var("OS.Control"))) %>','<%= c.toDisplay(c.toScript(c.var("OS.TypeFilter"))) %>','<%= c.toDisplay(c.toScript(c.var("OS.CallBack"))) %>','<%= c.toDisplay(c.toScript(c.var("OS.IsOSAllowed"))) %>'); return false">
<img alt="<%= c.string("Button.Hist.alt") %>" title="<%= c.string("Button.Hist.alt") %>" src="<%= c.getModulesUrl() %>/dev/images/<%= c.string("Button.Hist.image") %>" border=0 align="absmiddle" ></a>
<!-- end history button code -->
<% } %>
<jsp:include page="ClearFlags_inc.jsp" flush="true" />
