<%@ Page Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="CharterDocumentManagement_Default" EnableSessionState="True" ValidateRequest="false" %>
<%@ Register Src="Header.ascx" TagName="Header" TagPrefix="uc1" %>
<%@ Register Src="Folders.ascx" TagName="Folders" TagPrefix="uc2" %>
<%@ Register Src="FolderProperties.ascx" TagName="FolderProperties" TagPrefix="uc3" %>
<%@ Register Src="Documents.ascx" TagName="Documents" TagPrefix="uc4" %>
<%@ Register Src="DocumentProperties.ascx" TagName="DocumentProperties" TagPrefix="uc5" %>
<%@ Register Src="FoldersTree.ascx" TagName="FoldersTree" TagPrefix="uc6" %>
<%@ Register Src="SearchControl.ascx" TagName="SearchControl" TagPrefix="uc7" %>

<asp:Content ID="Content1" ContentPlaceHolderID="adminPageBody" Runat="Server">

    <link href="Site.css" rel="Stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript">
    function savePosition(folderTreePanel) {
        var position = document.getElementById("folderTreePanelPosition");
        if (position != null) {
        position.value = folderTreePanel.scrollTop;  
        }        
        
    }
    function restorePosition() {
        var folderTreePanel = document.getElementById("FoldersTree1_folderTreePanel");
        folderTreePanel.scrollTop = form1.folderTreePanelPosition.value;
    }
    </script>

            

    <div>
     <asp:Label ID="ErrorText" runat="server" Text=""></asp:Label>
     
        <asp:HiddenField ID="folderTreePanelPosition" runat="server" Value="0" />
        <table>
            <tr>
                <td>
                    <uc1:Header ID="Header1" runat="server" />
                </td>
                <td>
                    &nbsp;</td>
                <td align="right">
                </td>
            </tr>
        </table>
          <table>
            <tr>
                <td align="left" valign="top">
                    <uc6:FoldersTree ID="FoldersTree1" runat="server" /><br />
                    <uc3:FolderProperties ID="FolderProperties1" runat="server" EnableViewState="true" />
               </td>
                <td>&nbsp;</td>
                <td>
                    <table>
                        <tr>
                            <td valign ="top">
                                <uc4:Documents ID="Documents1" runat="server" EnableViewState="true" />
                            </td>
                            <td valign ="top">
                                <uc7:SearchControl ID="SearchControl" EnableViewState="true" runat="server" />
                            </td>                 
                        </tr>
                    </table>
                    <br />
                    <uc5:DocumentProperties ID="DocumentProperties1" runat="server" EnableViewState="true" />
                </td>
            </tr>
        </table>
    </div>
    
</asp:Content>