<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" %>
<%@ taglib uri="/WEB-INF/iman.tld" prefix="iman" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<iman:stringtable bundle="FwResources"/>
                                                                             
<script>
var callback = "<c:out value="${requestScope['TaskHeader.callback']}" />";
var title = "<c:choose><c:when test="${!empty requestScope['TaskHeader.title']}"><c:out value="${requestScope['TaskHeader.title']}" /></c:when><c:otherwise><iman:string key="Common.ProductName" /></c:otherwise></c:choose>";
if (callback != null && callback.length>0)
{
   title = eval(callback+"()");
}
</script>

<% if(request.getHeader("User-Agent").indexOf("PalmSource") != -1) { %>
<div style="position: absolute; top:0; left:0">
<IMG src="<%= session.getAttribute("ContextPath") %>/portal/modules/fw/images/palm_head.gif" width="302" border="0">
</div>
<div style="position: absolute; top:4; left:8">
<FONT face="Arial,Helvetica,Sans Serif" size="3" color="#000000"><b><c:choose><c:when test="${ !empty requestScope['TaskHeader.title']}"><c:out value="${requestScope['TaskHeader.title']}" /></c:when><c:otherwise><iman:string key="Common.ProductName" /></c:otherwise></c:choose>
</b></font>
</div>
<% } else { %>
<TABLE width=220 cellpadding=0 cellspacing=0 bgcolor="#c20000" border=1>
   <TR>
      <TD width=180 align=center valign=middle>
         <NOBR>
         <script>
            document.writeln('<FONT face="Arial,Helvetica,Sans Serif" size="4" color="#ffffff"><B>'+title+'</B></FONT>');
         </script>
         </NOBR>
      </TD>
      <TD width=40 align=right valign=middle bgcolor="#000000">
         <FONT face="Arial,Helvetica,Sans Serif" size="2" color="#ffffff"><B>&nbsp;Novell</B></FONT>
      </TD>
   </TR>
</TABLE>
<% } %>
