<%@ page pageEncoding="utf-8" contentType="text/html;charset=utf-8" import="com.novell.emframe.dev.MUtils"%>

<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/iman.tld" prefix="iman" %>
<iman:stringtable bundle="DevResources"/>
<!-- Begin TaskHeader.inc (default) -->
<iman:include page="dev/HelpScripts_inc.jsp" />

<script>
function showHelpWindow()
{
   launchHelp('<c:out value="${requestScope['TaskHeader.helpFile']}" />');
}
</script>

<c:if test="${empty requestScope['TaskHeader.bgcolor']}"><% request.setAttribute("TaskHeader.bgcolor", "#ffffff"); %></c:if>
<c:choose><c:when test="${DeviceType == 'browser'}">
   <TABLE style="margin-top:0" width="100%" border="0" cellspacing="0" cellpadding="3">

   <TR bgcolor="<c:out value="${requestScope['TaskHeader.bgcolor']}" />">
      <TH class="head3b" height="19" align="left">
      	<c:if test="${!empty requestScope['TaskHeader.iconUrl']}"><IMG src="<%= MUtils.getUrl((String)request.getAttribute("TaskHeader.iconUrl"), request) %>" alt="<c:out value="${requestScope['TaskHeader.iconAlt']}" />" title="<c:out value="${requestScope['TaskHeader.iconAlt']}" />" border=0></c:if>
         <c:out value="${requestScope['TaskHeader.title']}" />
      </TH>

      <TH class="head3b" height="19" align="right">
        <c:choose><c:when test="${!empty requestScope['TaskHeader.helpFile']}"><a href='Javascript:showHelpWindow();'><IMG id=help image src='<%= MUtils.getModulesUrl(request) %>/dev/images/help_16.gif' border=0 width=16 height=16 alt="<iman:string key="Button.Help.alt" />" title="<iman:string key="Button.Help.alt" />"></a>
        </c:when><c:otherwise>&nbsp;</c:otherwise></c:choose>
      </TH>
   </TR>
   </TABLE>
</c:when><c:otherwise>
   <TABLE bgcolor="<c:out value="${requestScope['TaskHeader.bgcolor']}" />" width="100%" border="0" cellspacing="0" cellpadding="0">
   <TR>
      <TD>
        <c:if test="${!empty requestScope['TaskHeader.iconUrl']}"><img src="<%= MUtils.getUrl((String)request.getAttribute("TaskHeader.iconUrl"), request) %>" alt="<c:out value="${requestScope['TaskHeader.iconAlt']}" />" title="<c:out value="${requestScope['TaskHeader.iconAlt']}" />" border=0>&nbsp;</c:if>
        <FONT size="+1" face="'Trebuchet MS', Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><c:out value="${requestScope['TaskHeader.title']}" /></font>
      </TD>
      <TD align="right">
        <c:choose><c:when test="${!empty requestScope['TaskHeader.helpFile']}"><a href='Javascript:showHelpWindow();'><IMG id=help image src='<%= MUtils.getModulesUrl(request) %>/dev/images/help_16.gif' border=0 width=16 height=16 alt="<iman:string key="Button.Help.alt" />" title="<iman:string key="Button.Help.alt" />"></a>
        </c:when><c:otherwise>&nbsp;</c:otherwise></c:choose>
      </TD>
	 </tr>
	 <tr height="2px" style="height:2px" bgColor="#ffffff"><TD colspan="2"></TD></tr>
	 <tr height="2px" style="height:2px" bgColor="#458ab9"><TD colspan="2"></TD></tr>
   </TABLE>
</c:otherwise>
</c:choose>

<c:remove var="TaskHeader.helpFile"/>
<c:remove var="TaskHeader.bgcolor"/>
<c:remove var="TaskHeader.iconUrl"/>
<c:remove var="TaskHeader.title"/>
<c:remove var="Task.DefaultIcon.name"/>
<c:remove var="Task.DefaultIcon.alt"/>
<c:remove var="Task.defaultDisplayName"/>
<!-- End TaskHeader.inc (default) -->
