    <%@ Control CodeBehind="DesktopPortalBanner.ascx.cs" Language="c#" AutoEventWireup="false" Inherits="ASPNET.StarterKit.Portal.DesktopPortalBanner" %>
    <%@ Import Namespace="ASPNET.StarterKit.Portal" %>
    <%--

       The DesktopPortalBanner User Control is responsible for displaying the standard Portal
       banner at the top of each .aspx page.

       The DesktopPortalBanner uses the Portal Configuration System to obtain a list of the
       portal's sitename and tab settings. It then render's this content into the page.

    --%>
    <table width="100%" cellspacing="0" class="HeadBg" border="0">
        <tr valign="top">
            <td colspan="3" class="SiteLink" background="<%= Global.GetApplicationPath(Request) %>/images/bars.gif" align="right">
                <asp:label id="WelcomeMessage" forecolor="#eeeeee" runat="server" />
                <a href="<%= Global.GetApplicationPath(Request) %>/DesktopDefault.aspx" class="SiteLink">Portal Home</a>
                <span class="Accent">
                    |</span>
                <a href="<%= Global.GetApplicationPath(Request) %>/Docs/Docs.htm" target="_blank" class="SiteLink">
                    Portal Documentation</a>
                <%= LogoffLink %>

            </td>
        </tr>
        <tr>
            <td width="10" rowspan="2">

            </td>
            <td height="40">
                <asp:label id="siteName" CssClass="SiteTitle" EnableViewState="false" runat="server" />
            </td>
            <td align="middle" rowspan="2">
                <!--ASP.NET Logo was here//-->
            </td>
        </tr>
        <tr>
            <td>
                <asp:datalist id="tabs" cssclass="OtherTabsBg" repeatdirection="horizontal" ItemStyle-Height="25" SelectedItemStyle-CssClass="TabBg" ItemStyle-BorderWidth="1" EnableViewState="false" runat="server">
                    <ItemTemplate>
                         <a href='<%= Global.GetApplicationPath(Request) %>/DesktopDefault.aspx?tabindex=<%# Container.ItemIndex %>&tabid=<%# ((TabStripDetails) Container.DataItem).TabId %>' class="OtherTabs"><%# ((TabStripDetails) Container.DataItem).TabName %></a>
                    </ItemTemplate>
                    <SelectedItemTemplate>
                         <span class="SelectedTab"><%# ((TabStripDetails) Container.DataItem).TabName %></span>
                    </SelectedItemTemplate>
                </asp:datalist>
            </td>
        </tr>
    </table>