<%@ Control Language="c#" %>
<%@ Register TagPrefix="CA" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>

<script language="C#" runat="server">

public void Page_Load (Object sender, EventArgs e) 
{
	CancelButton.Attributes.Add("onclick", "window.parent.Telligent_Modal.Close(); return false;");
}

</script>

<div class="CommonContentArea">
<div class="CommonContent">
<div class="CommonFormInstructions">
	<CS:ResourceControl ResourceName="ContentSelector_Instructions" runat="server" />
</div>

<table cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr valign="top">
	<td width="40%" rowspan="2">
		<div class="CommonContentSelectorTreeArea">
			<CA:TreeView id="Tree" 
				DragAndDropEnabled="false" 
				NodeEditingEnabled="false"
				KeyboardEnabled="true"
				CssClass="CommonContentSelectorTree" 
				NodeCssClass="CommonContentSelectorTreeNode" 
				SelectedNodeCssClass="CommonContentSelectorTreeNodeSelected" 
				HoverNodeCssClass="CommonContentSelectorTreeNodeHover"
				LineImageWidth="19" 
				LineImageHeight="20"
				DefaultImageWidth="16" 
				DefaultImageHeight="16"
				ItemSpacing="0" 
				ImagesBaseUrl="~/themes/default/images/file/"
				NodeLabelPadding="3"
				ParentNodeImageUrl="folder.gif" 
				ExpandedParentNodeImageUrl="folder_open.gif" 
				LeafNodeImageUrl="folder_open.gif" 
				ShowLines="true" 
				LineImagesFolderUrl="~/themes/default/images/file/lines/"
				EnableViewState="true"
				runat="server"  /><input type="hidden" runat="server" id="SelectedCombinedListKey" name="SelectedCombinedListKey" value="" />
		</div>
	</td><td width="60%">
		<div class="CommonContentSelectorItemsArea">
			<div Runat="server" ID="ItemsArea">
				&nbsp;
			</div>
		</div>
	</td>
	</tr>
	<tr><td width="60%">
		<div class="CommonContentSelectorOptionsArea">
			<div runat="server" id="OptionsArea">
				&nbsp;
			</div>
		</div>
	</td>
	</tr>
	<tr>
	<td colspan="2">
		<div class="CommonContentSelectorButtonArea">
			<CS:ResourceButton ID="SelectButton" Runat="server" ResourceName="OK" />
			<CS:ResourceButton ID="CancelButton" Runat="server" ResourceName="Cancel" />
			<!--<input type=submit  ID="SubmitButton" onclick="confirm(window._ctl0__ctl0_bcr__ctl0___ContentSelector___Tree.SelectedNode.Text); confirm(window._ctl0__ctl0_bcr__ctl0___ContentSelector___Tree.SelectedNode.ID);" value="Submit"  /> -->
		</div>
	</td>
	</tr>
</table>

</div>
</div>
