<!--#include file="CNCASPPageManager_TreeFrame.inc" -->

<%
'************************************************************************************
' File:		/NR/System/WBC/Internals/WBCFuncPages/Cross-Browser/InternalLinks/
'			ChannelsBrowse.asp
' Author:	Microsoft Corporation.
' Purpose:	Display the hierarchy of Channles and Postings for user to pick
'			for Internl Links.
'
' Query String Parameters:
'	IDS_QPARAM_FRESHTREE
'		The Querystring that tells the treeview to use a new tree or not
'*************************************************************************************

' we can only run in unpublished mode
if AutoSession.IsModeUnpublished = false then
	Response.End
end if

' ---- Initialize the ASPPageManager
Dim g_pASPPageManager
Set g_pASPPageManager = New CNCASPPageManager_TreeFrame
Call g_pASPPageManager.InitManager()

%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="expires" content="-1">
	<meta name="Author" content="Microsoft Corporation.">
	<meta name="Description" content="Display Channels/Postings hierarchy for Internal Links.">
	<meta name="robots" content="NOINDEX,NOFOLLOW">
	<meta http-equiv="Content-Type" content="text/html;charset=<%= g_pASPPageManager.Charset %>">

	<title><%= IDS_UI_BROWSER_TITLE %></title>

	<% Call EmbedWBCHeadSection %>

	<script language="JavaScript"
			src="/NR/System/WBC/Internals/WBCFuncPages/Cross-Browser/InternalLinks/TreeFrame.js"
			type="text/javascript"></script>

</head>

<body <%= IDS_BODYSETTING %> class="WBC_styclsTextColor0"
		onload="WBC_onLoadHandler(<%= Bool2LCaseStr(Request.QueryString(IDS_QSTR_INTERNALLINKS_FRESHTREE) = IDS_INTERNALLINKS_FRESHTREE_TRUE) %>);return false;">


<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">
						<% Call g_pASPPageManager.TreeControl.DisplayTree() %>
					</td>
				</tr>

			</table>
		</td>
	</tr>

</table>


</body>

</html>
