<%@ Page language="c#" Codebehind="TreeFrame.aspx.cs" AutoEventWireup="false" Inherits="Microsoft.ContentManagement.WebAuthor.TreeFrame" %>
<%@ Register TagPrefix="WebAuthor" Namespace="Microsoft.ContentManagement.WebAuthor" Assembly="Microsoft.ContentManagement.WebAuthor" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
	<head>
		<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<%= EmbedHeadSection() %>
		<script language="JavaScript" src="TreeFrame.js" type="text/javascript"></script>
	</head>
	<BODY class=WBC_styclsTextColor0 bgColor="<%=IDS_BODYSETTING_BGCOLOR %>" 
                                    leftMargin="<%=IDS_BODYSETTING_LEFTMARGIN%>" 
                                    topMargin="<%= IDS_BODYSETTING_TOPMARGIN %>"
		onload="WBC_onLoadHandler(<%= DataBindOnLoadParam() %>);return false;">
		<form name="treeform" runat="server">
			<table height="90%" width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr valign="top">
					<td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<!-- Set the margin width for the rest of the page -->
							<tr>
								<td rowspan="999"><img src="<%=IDS_TRANSPARENT_GIF%>"
								width="<%= C_INT_MINOR_MARGIN %>" height="1" border="0"></td>
								<td><img src="<%=IDS_TRANSPARENT_GIF%>"
								width="100%" height="1" border="0"></td>
								<td rowspan="999"><img src="<%=IDS_TRANSPARENT_GIF%>"
								width="<%= C_INT_MINOR_MARGIN %>" height="1" border="0"></td>
							</tr>
							<!-- Display Channels/Postings hierarchy -->
							<tr>
								<td width="100%" align="left">
									<WebAuthor:ChannelTree id="channeltree" runat="server">
										<ChannelTemplate>
											<a href='#' onclick='WBC_onTreeNodeClicked("<%# Container.Channel.UrlModePublished %>");return false;'>
												<%# Server.HtmlEncode(Container.Channel.DisplayName) %>
											</a>
										</ChannelTemplate>
										<PostingTemplate>
											<a href='#' onclick='WBC_onTreeNodeClicked("<%# Container.Posting.UrlModePublished %>");return false;'>
												<%# Server.HtmlEncode(Container.Posting.DisplayName) %>
											</a>
										</PostingTemplate>
									</WebAuthor:ChannelTree>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</BODY>
</html>
