<%-- 
  Copyright 2003 Sun Microsystems, Inc. All rights reserved 
  Use is subject to license terms.
 --%> 
<%@ taglib uri="/tld/jx.tld" prefix="jx" %>
<%@ taglib uri="/tld/desktop.tld" prefix="dt" %>
<%@ taglib uri="/tld/desktopProviderContext.tld" prefix="dtpc" %>
<%@ taglib uri="/tld/desktopContainerProviderContext.tld" prefix="dtcpc" %>
<%@ taglib uri="/tld/desktopTab.tld" prefix="tab" %>
<%@ taglib uri="/tld/desktopTheme.tld" prefix="dttheme" %>

<%@ page session="false" %>
<dt:obtainContainer container="$JSPProvider">

<dtpc:getStringProperty key="productName" id="productName" scope="request"/>
<%
      String productName = (String)pageContext.getAttribute("productName", PageContext.REQUEST_SCOPE);
%>

    <TABLE BORDER="0" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
      <TR BGCOLOR="<dttheme:getAttribute name="brandBgColor" default="#333366"/>">
    <TD VALIGN="MIDDLE" NOWRAP>&nbsp;</TD>
    <TD ALIGN="RIGHT" VALIGN="MIDDLE"  NOWRAP>
      <P ALIGN="RIGHT">
        <FONT COLOR="<dttheme:getAttribute name="headerFontColor" default="#FFCC00"/>" class="<dttheme:getAttribute name="headerText" default="nonuw"/>" class="nonuw">
          <A HREF="<dtpc:getDesktopURL/>" TARGET="_parent" class="noUnderline">
        <FONT COLOR="<dttheme:getAttribute name="headerFontColor" default="#FFFFFF"/>" class="<dttheme:getAttribute name="headerText" default="nonuw"/>" CLASS="nonuw">Home</FONT></A> <FONT COLOR="<dttheme:getAttribute name="linkSeparatorColor" default="#FFCC00"/>">|</FONT>
          <A HREF="<dtpc:getDesktopURL/>?action=edit&provider=WirelessJSPClientConfigContainer" class="noUnderline">
        <FONT COLOR="<dttheme:getAttribute name="headerFontColor" default="#FFFFFF"/>" class="<dttheme:getAttribute name="headerText" default="nonuw"/>" CLASS="nonuw">Mobile Devices</FONT></A> <FONT COLOR="<dttheme:getAttribute name="linkSeparatorColor" default="#FFCC00"/>"> |</FONT>
        <dttheme:getSelectedName id="selectedTheme"/>
           <jx:choose>
             <jx:when test="$selectedTheme=='CustomTheme'">
                  <A HREF="<dtpc:getDesktopURL/>?action=edit&provider=JSPCustomThemeContainer" class="noUnderline">
             </jx:when>
             <jx:otherwise>
                  <A HREF="<dtpc:getDesktopURL/>?action=edit&provider=JSPPresetThemeContainer" class="noUnderline">
             </jx:otherwise>
        </jx:choose>
		<FONT COLOR="<dttheme:getAttribute name="headerFontColor" default="#FFFFFF" />" class="<dttheme:getAttribute name="headerText" default="nonuw"/>" CLASS="nonuw">Theme</FONT></A><FONT COLOR="<dttheme:getAttribute name="linkSeparatorColor" default="#FFCC00"/>"> |</FONT>
          <A HREF="<dtpc:getDesktopURL/>?action=edit&provider=<dtpc:getDefaultChannelName/>" class="noUnderline">
        <FONT COLOR="<dttheme:getAttribute name="headerFontColor" default="#FFFF
FF"/>" class="<dttheme:getAttribute name="headerText" default="nonuw"/>" CLASS="nonuw">Sections</FONT></A> <FONT COLOR="<dttheme:getAttribute name="linkSeparatorColor" default="#FFCC00"/>">|</FONT>
          <A HREF="<dt:getHelp/>" TARGET="_parent" onClick="javascript: var helpWin=window.open('<dt:getHelp/>', 'wthelp', 'width=600,height=400,hotkeys=no,status=no,resizable=yes,scrollbars=yes,toolbar=yes'); helpWin.focus();return false;" class="noUnderline">
        <FONT COLOR="<dttheme:getAttribute name="headerFontColor" default="#FFFFFF"/>" class="<dttheme:getAttribute name="headerText" default="nonuw"/>" CLASS="nonuw">Help</FONT></A> <FONT COLOR="<dttheme:getAttribute name="linkSeparatorColor" default="#FFCC00"/>"> |</FONT>
          <A HREF="<dtpc:getDesktopURL/>?action=logout" TARGET="_parent" onClick="closeWindows(); return true;" class="noUnderline">
        <FONT COLOR="<dttheme:getAttribute name="headerFontColor" default="#FFFFFF"/>" class="<dttheme:getAttribute name="headerText" default="nonuw"/>" CLASS="nonuw" >
          <B>Log Out</B>
        </FONT></A>&nbsp;
        </FONT>
      </P>
    </TD>
      </TR>
      <TR>
         <td bgcolor="<dttheme:getAttribute name="titleBarColor" />" colspan="2"><img src="<dt:scontent/>/images/spacer.gif" width="1" height="3" alt=""></td>
      </TR>
    </table>
</dt:obtainContainer>
