<%-- 
  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" %>

<%@ page session="false" %>
<dt:obtainChannel channel="$JSPProvider">

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

<HTML>
  <HEAD>

<script src="<dt:scontent/>/close-windows.jsp" language="JavaScript" type="text/javascript"></script>

   <SCRIPT LANGUAGE="JavaScript1.2">
      // Function to 'turn-off' all images.
        function imagesoff() {
                if (document.images) 
                {
                        document.banner_home.src = banner_homeoff.src;
                        document.banner_tabs.src = banner_tabsoff.src;
                        document.banner_mobiledevices.src = banner_mobiledevicesoff.src;
                        document.banner_help.src = banner_helpoff.src;
                        document.banner_logout.src = banner_logoutoff.src;
        }
        }


      // Function to 'turn-on' the target image.
        function imageon(imgName) {
                if (document.images) {
                        document[imgName].src = eval(imgName + "on.src");
                        }
        }

      // Function to handle mouse overs
     function over(imgName) {
        document[imgName].src= eval(imgName + "over.src");
        }

      // Function to handle mouse outs
     function out(imgName) {
        document[imgName].src= eval(imgName + "off.src");
        }

    // set the window name
     function setWindowName() {
      window.name='ps_main';
     }
      
    //-->
    </SCRIPT>

      <TITLE><%=productName%></TITLE>
  </HEAD>
  <BODY ONLOAD=setWindowName(); BGCOLOR="#FFFFFF" leftMargin=0 rightMargin=0 topMargin=0 marginheight="0" marginwidth="0">
  <LINK REL="stylesheet" TYPE="text/css" HREF="<dt:scontent/>/desktop/css/style.css" TITLE="fonts">

    <SCRIPT>
        if (document.images) {
                banner_homeoff = new Image();
                banner_homeoff.src = "<dt:scontent/>/images/blueBullet.gif";
                banner_mobiledevicesoff = new Image();
                banner_mobiledevicesoff.src = "<dt:scontent/>/images/blueBullet.gif";
                banner_tabsoff = new Image();
                banner_tabsoff.src = "<dt:scontent/>/images/blueBullet.gif";
                banner_helpoff = new Image();
                banner_helpoff.src = "<dt:scontent/>/images/blueBullet.gif";
                banner_logoutoff = new Image();
                banner_logoutoff.src = "<dt:scontent/>/images/blueBullet.gif";
                                        
                banner_homeover = new Image();
                banner_homeover.src = "<dt:scontent/>/images/redBullet.gif";
                banner_mobiledevicesover = new Image();
                banner_mobiledevicesover.src = "<dt:scontent/>/images/redBullet.gif";
                banner_tabsover = new Image();
                banner_tabsover.src = "<dt:scontent/>/images/redBullet.gif";
                banner_helpover = new Image();
                banner_helpover.src = "<dt:scontent/>/images/redBullet.gif";
                banner_logoutover = new Image();
                banner_logoutover.src = "<dt:scontent/>/images/redBullet.gif";
     }
          
    </SCRIPT>
    <%
        String helpURL = (String)request.getAttribute("editContainerHelpURL");
    %>
    

    <CENTER>
    <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
      <TR>
         <td bgcolor="#CC0000" colspan="2"><img src="<dt:scontent/>/images/spacer.gif" width="1" height="3" alt=""></td>
      </TR>
     <tr> 
      <td bgcolor="#333366"><img src="<dt:scontent/>/images/productName.gif" width="274" height="38" alt="<%=productName%>"></td>
      <td bgcolor="#333366"> 
        <table border="0" cellspacing="0" cellpadding="0" align="right" height="29">
          <tr> 

            <td><a href="<dtpc:getDesktopURL/>" onMouseOver="over('banner_home')" onMouseOut="out('banner_home')"> 
              <img name="banner_home" src="<dt:scontent/>/images/blueBullet.gif" width="13" height="9" border="0" alt=""></a></td>
            <td><a href="<dtpc:getDesktopURL/>" onMouseOver="over('banner_home')" onMouseOut="out('banner_home')" class="noUnderline"> 
              <span class="banner-links">Home</span></a> </td>

            <td><img src="<dt:scontent/>/images/spacer.gif" width="60" height="1" alt=""></td>

            <td><a href="<dtpc:getDesktopURL/>?action=logout" onMouseOver="over('banner_logout')" onMouseOut="out('banner_logout')" onClick="closeWindows(); return true;" class="noUnderline"> 
              <img name="banner_logout" src="<dt:scontent/>/images/blueBullet.gif" width="13" height="9" border="0" alt=""></a></td>
            <td><a href="<dtpc:getDesktopURL/>?action=logout" onMouseOver="over('banner_logout')" onMouseOut="out('banner_logout')" onClick="closeWindows(); true;" class="noUnderline"> 
              <span class="banner-links">Log Out</span></a></td>
            
            
            <td><img src="<dt:scontent/>/images/spacer.gif" width="60" height="1" alt=""></td>

            </tr>
          <tr> 
            <td><a href="<dtpc:getDesktopURL/>?action=edit&provider=WirelessJSPClientConfigContainer&editPage=clientconfig" onMouseOver="over('banner_mobiledevices')" onMouseOut="out('banner_mobiledevices')">
              <img name="banner_mobiledevices" src="<dt:scontent/>/images/blueBullet.gif" width="13" height="9" border="0" alt=""></a></td>
            <td colspan="1" nowrap><a href="<dtpc:getDesktopURL/>?action=edit&provider=WirelessJSPClientConfigContainer&editPage=clientconfig" onMouseOver="over('banner_mobiledevices')" onMouseOut="out('banner_mobiledevices')" class="noUnderline">
              <span class="banner-links">Mobile Devices</span></a></td>
            <td><img src="<dt:scontent/>/images/spacer.gif" width="60" height="1" alt=""></td>
            <td><a href="<%=helpURL%>" onMouseOver="over('banner_help')" onMouseOut="out('banner_help')" onClick="javascript: var helpWin=window.open('<%=helpURL%>', 'wthelp', 'width=600,height=400,hotkeys=no,status=no,resizable=yes,scrollbars=yes,toolbar=yes'); helpWin.focus();return false;">
              <img name="banner_help" src="<dt:scontent/>/images/blueBullet.gif" width="13" height="9" border="0" alt=""></a></td>
            <td><a href="<%=helpURL%>" onMouseOver="over('banner_help')" onMouseOut="out('banner_help')" onClick="javascript: var helpWin=window.open('<%=helpURL%>', 'wthelp', 'width=600,height=400,hotkeys=no,status=no,resizable=yes,scrollbars=yes,toolbar=yes'); helpWin.focus();return false;" class="noUnderline"> 
              <span class="banner-links">Help</span></a></td>
            <td><img src="<dt:scontent/>/images/spacer.gif" width="30" height="1" alt=""></td>
          </tr>
        </table>
      </td>
    </tr>
    <tr><td bgcolor="#ffffff"><img src="<dt:scontent/>/images/spacer.gif" width="60" height="1" alt=""></td></tr>
    <tr><td bgcolor="#333366"><img src="<dt:scontent/>/images/spacer.gif" width="50%" height="1" alt=""></td>
    <td bgcolor="#333366"><img src="<dt:scontent/>/images/spacer.gif" width="50%" height="1" alt=""></td></tr>

    </table>
<img src="<dt:scontent/>/desktop/images/nothing.gif" height="8" width="0" border="0" alt=""><br>
</dt:obtainChannel>
