<%@ Page language="c#" Codebehind="leftTemplate.aspx.cs" AutoEventWireup="false" Inherits="Mediachase.UI.Web.Modules.leftTemplate" %>
<%@ Register TagPrefix="ComponentArt" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 

<html>
  <head>
    <title>Instant Business Network</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script src='<%=Mediachase.UI.Web.Util.CommonHelper.GetAbsolutePath("/Scripts/browser.js") %>'></script>
	<script src='<%=Mediachase.UI.Web.Util.CommonHelper.GetAbsolutePath("/Scripts/leftTemplate.js") %>'></script>
	<link href='<%=Mediachase.UI.Web.Util.CommonHelper.GetAbsolutePath("/layouts/styles/windows.css")%>' type="text/css" rel="stylesheet" >
	<link href='<%=Mediachase.UI.Web.Util.CommonHelper.GetAbsolutePath("/layouts/styles/navStyle.css")%>' type="text/css" rel="stylesheet" >
	<link href='<%=Mediachase.UI.Web.Util.CommonHelper.GetAbsolutePath("/layouts/styles/menuStyle.css")%>' type="text/css" rel="stylesheet" >
	<link href='<%=Mediachase.UI.Web.Util.CommonHelper.GetAbsolutePath("/layouts/styles/treeStyle.css")%>' type="text/css" rel="stylesheet" >
	<link href='<%=Mediachase.UI.Web.Util.CommonHelper.GetAbsolutePath("/Themes/" + GetTheme() + "/theme.css")%>' type="text/css" rel="stylesheet">
	<link href='<%=Mediachase.UI.Web.Util.CommonHelper.GetAbsolutePath("/Themes/" + GetTheme() + "/color1.css")%>' type="text/css" rel="stylesheet">
	<script>
		<!--
		if ((browseris.mac) && !browseris.ie5up)
		{
			var macstyle = "../layouts/styles/mac.css";
			document.write("<link rel='stylesheet' Type='text/css' href='" + macstyle + "'>");
		}
		
		function disableEnterKey() 
		{ 
			try {
				if (window.event.keyCode == 13 && window.event.srcElement.type != "textarea")
					window.event.keyCode = 0;
			}
			catch (e) {}
		}
		//-->
	</SCRIPT>
  </head>
  <body MS_POSITIONING="FlowLayout" bgcolor="#E1ECFC" onload="_resizing()">
	<form id="Form1" method="post" runat="server">
	<ComponentArt:Menu id="newPrjMenu" 
		Orientation="Vertical"
		DefaultGroupCssClass="MenuGroup"
		DefaultItemLookID="DefaultItemLook"
		DefaultGroupItemSpacing="1"
		ContextMenu="Custom"
		ClientSideOnItemSelect="ClickMenu"
		ClientScriptLocation="../Scripts/componentart_webui_client/"
		EnableViewState="False"
		runat="server">
		<ItemLooks>
			<ComponentArt:ItemLook LookID="DefaultItemLook" CssClass="MenuItem" HoverCssClass="MenuItemHover" ExpandedCssClass="MenuItemHover" LeftIconWidth="20" LeftIconHeight="18" LabelPaddingLeft="10" LabelPaddingRight="10" LabelPaddingTop="3" LabelPaddingBottom="4" />
		</ItemLooks>
  </ComponentArt:Menu>
  <ComponentArt:Menu id="ReloadManageMenu" 
		Orientation="Vertical"
		DefaultGroupCssClass="MenuGroup"
		DefaultItemLookID="DefaultItemLook"
		DefaultGroupItemSpacing="1"
		ContextMenu="Custom"
		ClientSideOnItemSelect="ClickMenu"
		ClientScriptLocation="../Scripts/componentart_webui_client/"
		EnableViewState="False"
		runat="server">
		<ItemLooks>
			<ComponentArt:ItemLook LookID="DefaultItemLook" CssClass="MenuItem" HoverCssClass="MenuItemHover" ExpandedCssClass="MenuItemHover" LeftIconWidth="20" LeftIconHeight="18" LabelPaddingLeft="10" LabelPaddingRight="10" LabelPaddingTop="3" LabelPaddingBottom="4" />
			<ComponentArt:ItemLook LookID="BreakItem" CssClass="MenuBreak" />
		</ItemLooks>
  </ComponentArt:Menu>
  <ComponentArt:Menu id="ManageMenu" 
		Orientation="Vertical"
		DefaultGroupCssClass="MenuGroup"
		DefaultItemLookID="DefaultItemLook"
		DefaultGroupItemSpacing="1"
		ContextMenu="Custom"
		ClientSideOnItemSelect="ClickMenu"
		ClientScriptLocation="../Scripts/componentart_webui_client/"
		EnableViewState="False"
		runat="server">
		<ItemLooks>
			<ComponentArt:ItemLook LookID="DefaultItemLook" CssClass="MenuItem" HoverCssClass="MenuItemHover" ExpandedCssClass="MenuItemHover" LeftIconWidth="20" LeftIconHeight="18" LabelPaddingLeft="10" LabelPaddingRight="10" LabelPaddingTop="3" LabelPaddingBottom="4" />
		</ItemLooks>
  </ComponentArt:Menu>
  <ComponentArt:Menu id="ReloadNewPortfolio" 
		Orientation="Vertical"
		DefaultGroupCssClass="MenuGroup"
		DefaultItemLookID="DefaultItemLook"
		DefaultGroupItemSpacing="1"
		ContextMenu="Custom"
		ClientSideOnItemSelect="ClickMenu"
		ClientScriptLocation="../Scripts/componentart_webui_client/"
		EnableViewState="False"
		runat="server">
		<ItemLooks>
			<ComponentArt:ItemLook LookID="DefaultItemLook" CssClass="MenuItem" HoverCssClass="MenuItemHover" ExpandedCssClass="MenuItemHover" LeftIconWidth="20" LeftIconHeight="18" LabelPaddingLeft="10" LabelPaddingRight="10" LabelPaddingTop="3" LabelPaddingBottom="4" />
			<ComponentArt:ItemLook LookID="BreakItem" CssClass="MenuBreak" />
		</ItemLooks>
  </ComponentArt:Menu>
  <ComponentArt:Menu id="ManagePortfolio" 
		Orientation="Vertical"
		DefaultGroupCssClass="MenuGroup"
		DefaultItemLookID="DefaultItemLook"
		DefaultGroupItemSpacing="1"
		ContextMenu="Custom"
		ClientSideOnItemSelect="ClickMenu"
		ClientScriptLocation="../Scripts/componentart_webui_client/"
		EnableViewState="False"
		runat="server">
		<ItemLooks>
			<ComponentArt:ItemLook LookID="DefaultItemLook" CssClass="MenuItem" HoverCssClass="MenuItemHover" ExpandedCssClass="MenuItemHover" LeftIconWidth="20" LeftIconHeight="18" LabelPaddingLeft="10" LabelPaddingRight="10" LabelPaddingTop="3" LabelPaddingBottom="4" />
		</ItemLooks>
  </ComponentArt:Menu>
  <ComponentArt:Menu id="newPortfolio" 
		Orientation="Vertical"
		DefaultGroupCssClass="MenuGroup"
		DefaultItemLookID="DefaultItemLook"
		DefaultGroupItemSpacing="1"
		ContextMenu="Custom"
		ClientSideOnItemSelect="ClickMenu"
		ClientScriptLocation="../Scripts/componentart_webui_client/"
		EnableViewState="False"
		runat="server">
		<ItemLooks>
			<ComponentArt:ItemLook LookID="DefaultItemLook" CssClass="MenuItem" HoverCssClass="MenuItemHover" ExpandedCssClass="MenuItemHover" LeftIconWidth="20" LeftIconHeight="18" LabelPaddingLeft="10" LabelPaddingRight="10" LabelPaddingTop="3" LabelPaddingBottom="4" />
		</ItemLooks>
  </ComponentArt:Menu>
  <ComponentArt:Menu id="ReloadMenu" 
		Orientation="Vertical"
		DefaultGroupCssClass="MenuGroup"
		DefaultItemLookID="DefaultItemLook"
		DefaultGroupItemSpacing="1"
		ContextMenu="Custom"
		ClientSideOnItemSelect="ClickMenu"
		ClientScriptLocation="../Scripts/componentart_webui_client/"
		EnableViewState="False"
		runat="server">
		<ItemLooks>
			<ComponentArt:ItemLook LookID="DefaultItemLook" CssClass="MenuItem" HoverCssClass="MenuItemHover" ExpandedCssClass="MenuItemHover" LeftIconWidth="20" LeftIconHeight="18" LabelPaddingLeft="10" LabelPaddingRight="10" LabelPaddingTop="3" LabelPaddingBottom="4" />
		</ItemLooks>
  </ComponentArt:Menu>
  <table class="ibn-propertysheet" cellspacing="0" cellpadding="0" border="0" height="100%">
		<tr valign="top">
			<td valign=top class="ibn-navframe" style="padding-left:1px">
				<ComponentArt:NavBar id="basicNavBar"
					CssClass="NavBar"
					DefaultItemLookID="TopItemLook"
					ExpandSinglePath="true"
					FullExpand="true"
					ImagesBaseUrl="../layouts/images/"
					ShowScrollBar="false"
					BorderWidth="0px"
					ClientScriptLocation = "../Scripts/componentart_webui_client/"
					EnableViewState="False"
					runat="server">
					<ItemLooks>
						<ComponentArt:ItemLook LookID="TopItemLook" CssClass="TopItem" 
							HoverCssClass="TopItemHover"  ExpandedCssClass="TopItemHover"
							LabelPaddingLeft="10" LeftIconWidth="16" LeftIconHeight="16" />
						<ComponentArt:ItemLook LookID="Level2ItemLook" LabelPaddingLeft="10" 
							CssClass="Level2Item" HoverCssClass="Level2ItemHover" ExpandedCssClass="Level2ItemHover"
							LeftIconWidth="16" LeftIconHeight="16" />
						<ComponentArt:ItemLook LookID="EmptyLook" CssClass="Empty" />
					</ItemLooks>
					<Templates>
						<ComponentArt:NavigationCustomTemplate id="TreeTemplate">
							<Template>
								<ComponentArt:TreeView id="_Tree" Name="_Tree" Width="190px" Height="413px" 
									AutoScroll = True
									BackColor = "#E1ECFC"
									BorderWidth="0px"
									DragAndDropEnabled="false"
									DefaultTarget="right"
									NodeEditingEnabled="false" 
									CssClass="TreeView" 
									NodeCssClass="TreeNode" 
									SelectedNodeCssClass="TreeNode"
									HoverNodeCssClass="HoverTreeNode"
									NodeEditCssClass="NodeEdit"
									DefaultImageWidth="6" 
									DefaultImageHeight="6"
									NodeLabelPadding="2"
									ParentNodeImageUrl="../layouts/images/rect.gif" 
									ExpandedParentNodeImageUrl="../layouts/images/rect.gif"
									LeafNodeImageUrl="../layouts/images/rect.gif" 
									ShowLines="true" 
									ClientScriptLocation = "../Scripts/componentart_webui_client/"
									EnableViewState="False"
									LineImagesFolderUrl="../layouts/images/lines/"
									runat="server">
								</ComponentArt:TreeView>
							</Template>
						</ComponentArt:NavigationCustomTemplate>
					</Templates>
				</ComponentArt:NavBar>
			</td>
		</tr>
	</table>
	</form>
  </body>
</html>
