<%@  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); 

     response.setHeader("Cache-Control", "no-cache");
     response.setHeader("Expires", "-1"); %>

<HTML>
<HEAD><TITLE>ObjectSelectorFinish (Browser)</TITLE>
<script>

   function returnFromOS(control, results, callback)
   {
      if (top.opener.returnFromOS)
      {
         top.opener.returnFromOS(control, results, callback);
      }
      else
      {
         <% if (c.var("Debug.enabled").equals("true")) { %>
         alert("returnFromOS() not defined in task.\nClosing Object Selector.");
         <% } %>
      }
   }
</script>
</HEAD>
<BODY target = top onLoad='javascript:returnFromOS("<%= c.toTag(c.toScript(c.var("OS.Control"))) %>","<%= c.toTag(c.toScript(c.var("OS.Results"))) %>","<%= c.toTag(c.toScript(c.var("OS.CallBack"))) %>");top.close()'>
</BODY>
</HTML>
