<%@ Page language="c#" Codebehind="TreeFrame.aspx.cs" AutoEventWireup="false" Inherits="Microsoft.ContentManagement.WebAuthor.CMS.WebAuthor.Dialogs.PageMove.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">
		<script language="JavaScript" >
		<!--
			function WBC_onTreeNodeClicked( strChannelName, strChannelGuid )
			{	
				var frameChannelSelection = window.parent.frames.WBC_frameChannelSelection;
				var channelname = unescape(strChannelName);
				frameChannelSelection.WBC_setChannelSelection( channelname, strChannelGuid );
			}
		// -->
		</script>		
	</head>
	<BODY class=WBC_styclsTextColor0 bgColor="<%=IDS_BODYSETTING_BGCOLOR %>" 
                                    leftMargin="<%=IDS_BODYSETTING_LEFTMARGIN%>" 
                                    topMargin="<%= IDS_BODYSETTING_TOPMARGIN %>">
		<form name="treeform" runat="server" ID="Form1">
			<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("<%# Server.UrlEncode(Container.Channel.DisplayName) %>", "<%# Container.Channel.Guid %>" );return false;'>
												<%# Server.HtmlEncode(Container.Channel.DisplayName)  %>
											</a>
										</ChannelTemplate>
									</WebAuthor:ChannelTree>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</BODY>
</html>
