<%@ Register TagPrefix="Portal" TagName="Title" Src="~/DesktopModuleTitle.ascx"%>
<%@ Control Inherits="Xpdt.Portal.Tabs" CodeBehind="Tabs.ascx.cs" Language="c#" AutoEventWireup="false" %>
<%@ Register TagPrefix="Portal" TagName="Divider" Src="~/ModuleDivider.ascx"%>
<meta content="False" name="vs_showGrid">
<TABLE class="ModuleFrame" width="100%">
	<TR>
		<TD><portal:title id="Title1" runat="server"></portal:title>
			<P>
				<TABLE id="Table2" style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0" cellPadding="0" width="100%" border="0">
					<TR>
						<TD width="15">&nbsp;</TD>
						<TD width="180">
							<P align="right">&nbsp;Top Level Pages&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								<asp:image id="Image4" runat="server" ImageUrl="../images/tab_1.gif"></asp:image>&nbsp;
							</P>
						</TD>
						<TD width="34">&nbsp;
							<asp:imagebutton id="AddLevel1Page" runat="server" ImageUrl="../images/add.gif" DESIGNTIMEDRAGDROP="862" ToolTip="Add New Top Level Page " CommandName="AddNewPage" CommandArgument="Level1"></asp:imagebutton></TD>
						<TD width="15">&nbsp;</TD>
						<TD width="180">
							<P align="right">Sub 
								Pages&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								<asp:image id="Image2" runat="server" ImageUrl="../images/tab_2.gif"></asp:image>&nbsp;</P>
						</TD>
						<TD width="34">&nbsp;
							<asp:imagebutton id="AddLevel2Page" runat="server" ImageUrl="../images/add.gif" ToolTip="Add New Sub Page " CommandArgument="Level2"></asp:imagebutton></TD>
						<TD width="15">&nbsp;</TD>
						<TD width="180">
							<P align="right">Sub - Sub Pages&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								<asp:image id="Image3" runat="server" ImageUrl="../images/tab_3.gif"></asp:image></P>
						</TD>
						<TD width="34">&nbsp;
							<asp:imagebutton id="AddLevel3Page" runat="server" ImageUrl="../images/add.gif" ToolTip="Add New Sub-Sub Page " CommandArgument="Level3"></asp:imagebutton></TD>
						<TD width="*">&nbsp;</TD>
					</TR>
					<TR>
						<TD width="15" rowSpan="9">&nbsp;</TD>
						<TD width="180" rowSpan="9">
							<P align="right"><asp:listbox id=topLevelList runat="server" Height="186px" Width="180px" DataValueField="TabId" DataTextField="TabName" DataSource="<%# topLevelTabs %>" AutoPostBack="True"></asp:listbox></P>
						</TD>
						<TD width="34">&nbsp;
							<asp:imagebutton id="ImageButton1" runat="server" ImageUrl="../images/up.gif" DESIGNTIMEDRAGDROP="684" CommandName="Up" CommandArgument="Level1"></asp:imagebutton></TD>
						<TD width="15" rowSpan="9">&nbsp;</TD>
						<TD width="180" rowSpan="9">
							<P align="right"><asp:listbox id=subList runat="server" Height="186px" Width="180px" DataValueField="TabId" DataTextField="TabName" DataSource="<%# subTabs %>" AutoPostBack="True"></asp:listbox></P>
						</TD>
						<TD width="34">&nbsp;<asp:imagebutton id="Imagebutton13" runat="server" ImageUrl="../images/up.gif" CommandName="Up" CommandArgument="Level2"></asp:imagebutton></TD>
						<TD width="15" rowSpan="9">&nbsp;</TD>
						<TD width="180" rowSpan="9">
							<P align="right"><asp:listbox id=subSubList runat="server" Height="186px" Width="180px" DataValueField="TabId" DataTextField="TabName" DataSource="<%# subSubTabs %>"></asp:listbox></P>
						</TD>
						<TD width="34">&nbsp;
							<asp:imagebutton id="Imagebutton5" runat="server" ImageUrl="../images/up.gif" DESIGNTIMEDRAGDROP="822" CommandName="Up" CommandArgument="Level3"></asp:imagebutton></TD>
						<TD width="*" rowSpan="9">
							<P align="right">&nbsp;</P>
						</TD>
					</TR>
					<TR>
						<TD width="34">&nbsp;
							<asp:imagebutton id="ImageButton2" runat="server" ImageUrl="../images/dn.gif" DESIGNTIMEDRAGDROP="699" CommandName="Down" CommandArgument="Level1"></asp:imagebutton></TD>
						<TD width="34">&nbsp;<asp:imagebutton id="Imagebutton14" runat="server" ImageUrl="../images/dn.gif" CommandName="Down" CommandArgument="Level2"></asp:imagebutton></TD>
						<TD width="34">&nbsp;
							<asp:imagebutton id="Imagebutton6" runat="server" ImageUrl="../images/dn.gif" DESIGNTIMEDRAGDROP="823" CommandName="Down" CommandArgument="Level3"></asp:imagebutton></TD>
					</TR>
					<TR>
						<TD width="34">&nbsp;
							<asp:imagebutton id="EditLevel1Page" runat="server" ImageUrl="../images/edit.gif" DESIGNTIMEDRAGDROP="866" ToolTip="Edit Selected Page " CommandArgument="Level1"></asp:imagebutton></TD>
						<TD width="34">&nbsp;
							<asp:imagebutton id="EditLevel2Page" runat="server" ImageUrl="../images/edit.gif" DESIGNTIMEDRAGDROP="867" ToolTip="Edit Selected Page " CommandArgument="Level2"></asp:imagebutton></TD>
						<TD width="34">&nbsp;
							<asp:imagebutton id="EditLevel3Page" runat="server" ImageUrl="../images/edit.gif" ToolTip="Edit Selected Page " CommandArgument="Level3"></asp:imagebutton></TD>
					</TR>
					<TR>
						<TD width="34">&nbsp;</TD>
						<TD width="34">&nbsp;</TD>
						<TD width="34">&nbsp;
							<asp:ImageButton id="ViewLevel3Page" runat="server" ImageUrl="../images/ViewPage.gif" ToolTip="View Selected Page " CommandArgument="Level3"></asp:ImageButton></TD>
					</TR>
					<TR>
						<TD width="34">&nbsp;
							<asp:imagebutton id="DeleteLevel1Page" runat="server" ImageUrl="../images/delete.gif" DESIGNTIMEDRAGDROP="713" ToolTip="Delete Selected Page" CommandArgument="Level1"></asp:imagebutton>&nbsp;</TD>
						<TD width="34">&nbsp;
							<asp:imagebutton id="DeleteLevel2Page" runat="server" ImageUrl="../images/delete.gif" ToolTip="Delete Selected Page" CommandArgument="Level2"></asp:imagebutton></TD>
						<TD width="34">&nbsp;
							<asp:imagebutton id="DeleteLevel3Page" runat="server" ImageUrl="../images/delete.gif" DESIGNTIMEDRAGDROP="825" ToolTip="Delete Selected Page" CommandArgument="Level3"></asp:imagebutton></TD>
					</TR>
					<TR>
						<TD width="34">&nbsp;</TD>
						<TD width="34">&nbsp;</TD>
						<TD width="34">&nbsp;</TD>
					</TR>
					<TR>
						<TD width="34">
							<P align="right"><asp:imagebutton id="BtnMove1To0" runat="server" ImageUrl="../images/TabTo_0.gif" DESIGNTIMEDRAGDROP="450" ToolTip="Make Selected Page an Orphan Page"></asp:imagebutton></P>
						</TD>
						<TD width="34">
							<P align="right"><asp:imagebutton id="BtnMove2To0" runat="server" ImageUrl="../images/TabTo_0.gif" DESIGNTIMEDRAGDROP="451" ToolTip="Make Selected Page an Orphan Page"></asp:imagebutton></P>
						</TD>
						<TD width="34">
							<P align="right"><asp:imagebutton id="BtnMove3To0" runat="server" ImageUrl="../images/TabTo_0.gif" DESIGNTIMEDRAGDROP="726" ToolTip="Make Selected Page an Orphan Page"></asp:imagebutton></P>
						</TD>
					</TR>
					<TR>
						<TD width="34">&nbsp;</TD>
						<TD width="34">
							<P align="right"><asp:imagebutton id="BtnMove2To1" runat="server" ImageUrl="../images/TabTo_1.gif" DESIGNTIMEDRAGDROP="455" ToolTip="Make Selected Page a Top Level Page"></asp:imagebutton></P>
						</TD>
						<TD width="34">
							<P align="right"><asp:imagebutton id="BtnMove3To1" runat="server" ImageUrl="../images/TabTo_1.gif" DESIGNTIMEDRAGDROP="732" ToolTip="Make Selected Page a Top Level Page"></asp:imagebutton></P>
						</TD>
					</TR>
					<TR>
						<TD width="34">&nbsp;</TD>
						<TD width="34">&nbsp;</TD>
						<TD width="34">
							<P align="right"><asp:imagebutton id="BtnMove3To2" runat="server" ImageUrl="../images/TabTo_2.gif" DESIGNTIMEDRAGDROP="737" ToolTip="Make Selected Page a Sub Page (2)"></asp:imagebutton></P>
						</TD>
					</TR>
				</TABLE>
			</P>
			<P>
				<TABLE id="AutoNumber1" style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0" cellPadding="0" width="100%" border="0">
					<TR>
						<TD width="15">&nbsp;</TD>
						<TD width="190">
							<P align="right">Orphan Pages (Invisible)
								<asp:image id="Image1" runat="server" ImageUrl="../images/tab_0.gif" DESIGNTIMEDRAGDROP="816"></asp:image></P>
						</TD>
						<TD width="34">&nbsp;
							<asp:imagebutton id="AddLevel0Page" runat="server" ImageUrl="../images/add.gif" ToolTip="Add New Orphan Page " CommandArgument="Level0"></asp:imagebutton></TD>
						<TD width="15">&nbsp;</TD>
						<TD width="169">&nbsp;</TD>
						<TD width="34">&nbsp;</TD>
						<TD width="15">&nbsp;</TD>
						<TD width="180">&nbsp;</TD>
						<TD width="34">&nbsp;</TD>
						<TD width="*">&nbsp;</TD>
					</TR>
					<TR>
						<TD width="15" height="186" rowSpan="9">&nbsp;</TD>
						<TD width="190" height="186" rowSpan="9">
							<P align="right"><asp:listbox id=orphanList runat="server" DESIGNTIMEDRAGDROP="811" Height="186px" Width="180px" DataValueField="TabId" DataTextField="TabName" DataSource="<%# orphanTabs %>">
								</asp:listbox></P>
						</TD>
						<TD width="34">&nbsp;</TD>
						<TD width="15" height="186" rowSpan="9">&nbsp;</TD>
						<TD width="169" height="186" rowSpan="9">
							<P align="right">&nbsp;</P>
							<DIV class="SubTabRow" id="ConfirmBox" runat="server" ms_positioning="GridLayout">
								<TABLE height="120" cellSpacing="0" cellPadding="0" width="184" border="0" ms_2d_layout="TRUE">
									<TR>
										<TD width="7" height="0"></TD>
										<TD width="8" height="0"></TD>
										<TD width="16" height="0"></TD>
										<TD width="41" height="0"></TD>
										<TD width="24" height="0"></TD>
										<TD width="16" height="0"></TD>
										<TD width="72" height="0"></TD>
									</TR>
									<TR vAlign="top">
										<TD colSpan="2" height="24"></TD>
										<TD colSpan="5"><asp:label id="Label1" runat="server">Confirm Deletion of :</asp:label></TD>
									</TR>
									<TR vAlign="top">
										<TD colSpan="3" height="24"></TD>
										<TD colSpan="4"><asp:label id="DeleteLabel" runat="server" Width="120px"></asp:label></TD>
									</TR>
									<TR vAlign="top">
										<TD height="40"></TD>
										<TD colSpan="6"><asp:label id="WarningLabel" runat="server" Width="168px" Visible="False" ForeColor="Red">Warning: All childs will be deleted too!</asp:label></TD>
									</TR>
									<TR vAlign="top">
										<TD colSpan="2" height="32"></TD>
										<TD colSpan="2"><asp:button id="DeleteConfirm" runat="server" Text="Delete" CausesValidation="False"></asp:button></TD>
										<TD><asp:textbox id="TabToDelete" runat="server" Width="16px" Visible="False"></asp:textbox></TD>
										<TD><asp:textbox id="LevelToDelete" runat="server" Width="12px" Visible="False"></asp:textbox></TD>
										<TD><asp:button id="CancelDelete" runat="server" Text="Cancel" CausesValidation="False"></asp:button></TD>
									</TR>
								</TABLE>
							</DIV>
							<P align="right">&nbsp;</P>
						</TD>
						<TD width="34">&nbsp;</TD>
						<TD width="15" height="186" rowSpan="9">&nbsp;</TD>
						<TD width="180" height="186" rowSpan="9">
							<P align="right">&nbsp;</P>
							<DIV class="SubTabRow" id="ConfirmMove" runat="server" ms_positioning="GridLayout">
								<TABLE height="115" cellSpacing="0" cellPadding="0" width="186" border="0" ms_2d_layout="TRUE">
									<TR>
										<TD width="8" height="0"></TD>
										<TD width="8" height="0"></TD>
										<TD width="72" height="0"></TD>
										<TD width="24" height="0"></TD>
										<TD width="74" height="0"></TD>
									</TR>
									<TR vAlign="top">
										<TD colSpan="2" height="80"></TD>
										<TD colSpan="3"><asp:label id="Label3" runat="server">Moving a page to the orphan list will also move its children to the orphan list</asp:label></TD>
									</TR>
									<TR vAlign="top">
										<TD height="35"></TD>
										<TD colSpan="2"><asp:button id="ContinueMove" runat="server" Width="72px" Text="Continue" CausesValidation="False"></asp:button></TD>
										<TD><asp:textbox id="LevelToMove" runat="server" Width="16px" Visible="False"></asp:textbox></TD>
										<TD><asp:button id="CancelMove" runat="server" Width="65px" Text="Cancel" CausesValidation="False"></asp:button></TD>
									</TR>
								</TABLE>
							</DIV>
							<P align="right">&nbsp;</P>
						</TD>
						<TD width="34">&nbsp;</TD>
						<TD width="*" height="186" rowSpan="9">
							<P align="right">&nbsp;</P>
						</TD>
					</TR>
					<TR>
						<TD width="34">&nbsp;
							<asp:imagebutton id="EditLevel0Page" runat="server" ImageUrl="../images/edit.gif" ToolTip="Edit Selected Page " CommandArgument="Level0"></asp:imagebutton></TD>
						<TD width="34">&nbsp;</TD>
						<TD width="34">&nbsp;</TD>
					</TR>
					<TR>
						<TD width="34">&nbsp;
							<asp:imagebutton id="ViewLevel0Page" runat="server" ImageUrl="../images/ViewPage.gif" ToolTip="View Selected Page " CommandArgument="Level0"></asp:imagebutton></TD>
						<TD width="34">&nbsp;</TD>
						<TD width="34">&nbsp;</TD>
					</TR>
					<TR>
						<TD width="34">&nbsp;</TD>
						<TD width="34">&nbsp;</TD>
						<TD width="34">&nbsp;</TD>
					</TR>
					<TR>
						<TD width="34">&nbsp;
							<asp:imagebutton id="DeleteLevel0Page" runat="server" ImageUrl="../images/delete.gif" ToolTip="Delete Selected Page" CommandArgument="Level0"></asp:imagebutton></TD>
						<TD width="34">&nbsp;</TD>
						<TD width="34">&nbsp;</TD>
					</TR>
					<TR>
						<TD width="34">&nbsp;</TD>
						<TD width="34">&nbsp;</TD>
						<TD width="34">&nbsp;</TD>
					</TR>
					<TR>
						<TD width="34">
							<P align="right"><asp:imagebutton id="BtnMove0To1" runat="server" ImageUrl="../images/TabTo_1.gif" ToolTip="Make Selected Page a Top Level Page"></asp:imagebutton></P>
						</TD>
						<TD width="34">&nbsp;</TD>
						<TD width="34">&nbsp;</TD>
					</TR>
					<TR>
						<TD width="34">
							<P align="right"><asp:imagebutton id="BtnMove0To2" runat="server" ImageUrl="../images/TabTo_2.gif" ToolTip="Make Selected Page a Sub Page (2)"></asp:imagebutton></P>
						</TD>
						<TD width="34">&nbsp;</TD>
						<TD width="34">&nbsp;</TD>
					</TR>
					<TR>
						<TD width="34" height="24">
							<P align="right"><asp:imagebutton id="BtnMove0To3" runat="server" ImageUrl="../images/TabTo_3.gif" ToolTip="Make Selected Page a Sub-Sub Page (3)"></asp:imagebutton></P>
						</TD>
						<TD width="34" height="24">&nbsp;</TD>
						<TD width="34" height="24">&nbsp;</TD>
					</TR>
				</TABLE>
			</P>
			<Portal:Divider runat="server" id="Divider1" />
		</TD>
	</TR>
</TABLE>
