<%-- 
  Copyright 2003 Sun Microsystems, Inc. All rights reserved 
  Use is subject to license terms.
 --%> 

    <%@ include file="toolbarRollovers.js" %>

<img src="<dt:scontent/>/images/spacer.gif" width="0" height="8" alt="">

<%
        String containerName = (String)pageContext.getAttribute("containerName",PageContext.REQUEST_SCOPE);
        String encodedTabName = null;
        if (selectedTabName != null) {
%>


<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td>

<table border="0" cellspacing="0" cellpadding="0" bgcolor="#333366">
          
    <tr>
            
      <td bgcolor="#FFFFFF" rowspan="3"><img src="<dt:scontent/>/desktop/images/nothing.gif" width="8" height="1" alt=""></td>
      <td valign="top" rowspan="3"><img src="<dt:scontent/>/desktop/tabs/images/tabNotch.gif" alt=""></td>
      <td><img src="<dt:scontent/>/desktop/images/nothing.gif" width="1" height="4" alt=""></td>
      <td rowspan="3"><img src="<dt:scontent/>/desktop/images/nothing.gif" width="6" height="1" alt=""></td>
    </tr>
          
    <tr>
            
      <td nowrap><font face="sans-serif" color="#FFFFFF" size="-1"><b><%=selectedTabName%></b></font></td>
    </tr>
          
    <tr>
            
      <td><img src="<dt:scontent/>/desktop/images/nothing.gif" width="1" height="4" alt=""></td>
    </tr>
        
  </table>
 


</td><td width="100%">&nbsp;</td></tr>
<%--encode selectedTabName and store it in encodedTabName before generate the content link --%>
<%
encodedTabName  = scp.getProviderContext().encodeURLParameter(selectedTabName);
        }
%>
</table>



<table border="0" cellpadding="0" cellspacing="0" width="100%">
    
  <tr>
      
    <td bgcolor="#333366"><img src="<dt:scontent/>/desktop/images/nothing.gif" width="1" height="2" alt=""></td>
  </tr>
    
  <tr>
      
    <td bgcolor="#000000"><img src="<dt:scontent/>/desktop/images/nothing.gif" width="1" height="2" alt=""></td>
  </tr>
    
  <tr>
      
    <td bgcolor="#9999CC">

        
      <table border="0" cellspacing="0" cellpadding="2" onMouseOver="highlightCell()" onMouseOut="resetCellColor()">
          
        <tr>           
          <td><font face=<%=fontFace1%> size="-1">&nbsp;&nbsp;&nbsp;
<%
          if (encodedTabName != null) {
%>
          <a href="<dtpc:getDesktopURL/>?action=edit&provider=JSPContentContainer&container=<%=container%>&selected=<%=encodedTabName%>" class="noUnderline">
<%
          }
	  else {
%>
          <a href="<dtpc:getDesktopURL/>?action=edit&provider=JSPContentContainer&container=<%=container%>" class="noUnderline">
<%
          }
%>
		  <font color="#000000">Content</font></a>&nbsp;&nbsp;&nbsp;</font></td>
          <td><font face=<%=fontFace1%> size="-1">&nbsp;&nbsp;&nbsp;<font color="#000000"><b>Layout</font>&nbsp;&nbsp;&nbsp;</font></td>
        </tr>
        
      </table>
    </td>
  </tr>
    
  <tr>
      
    <td bgcolor="#000000"><img src="<dt:scontent/>/desktop/images/nothing.gif" width="1" height="2" alt=""></td>
  </tr>  
  
</table>
