<%@ Page SmartNavigation="True" Language="vb" AutoEventWireup="false" CodeBehind="LeftNav.aspx.vb" Inherits="LHSurvey.LeftNav" %>
<head>
	<title>Annual Survey - Ohio Health Insurance Business</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR"/>
    <meta content="Visual Basic 7.0" name="CODE_LANGUAGE"/>
    <meta content="JavaScript" name="vs_defaultClientScript"/>
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"/>
    <link href="style.css" type="text/css" rel="stylesheet"/>
</head>
<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" style="BACKGROUND:#ffffff">
	<br>

	<form id="Form2" method="post" runat="server">
		<table width="290" align="center" bgColor="#ffffff">
			<tr>
				<td>
				    <input id="hidOrgId" type="hidden" name="hidOrgId" runat="server"/> 
				    <input id="hidCategory" type="hidden" name="hidCategory" runat="server"/>
				    <input id="hidPlanId" type="hidden" name="hidPlanId" runat="server"/>
					<asp:Panel id="pnItems" runat="server"> <!-- PANEL pnItems STARTS HERE -->
						<table cellSpacing="0" cellPadding="0" width="100%" align="center">
							<tr>
								<td>
									<table class="FrmTable" cellSpacing="0" cellPadding="0" width="100%" align="center">
										<tr>
											<td>
												<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
													<TR>
														<TD><IMG src="/images/spacer.gif" width="5"></TD>
														<TD colspan="2">
															<asp:datalist id="dlPlan" runat="server" EnableViewState="False">
																<ItemTemplate>
																	<%# HTMLDisplay(Container)%>
																</ItemTemplate>
															</asp:datalist></TD>
													</TR>
													<TR>
														<TD><IMG src="/images/spacer.gif" width="5"></TD>
														<TD colspan="2">
															<asp:datalist id="dlPlanOther" runat="server" EnableViewState="False" Width="100%">
																<ItemTemplate>
																	<%# HTMLDisplayOther(Container)%>
																</ItemTemplate>
															</asp:datalist></TD>
													</TR>
													<TR>
														<TD class="FrmSecHead" colspan="3">&nbsp;</TD>
													</TR> <!-- 
														<TR>
															<TD><IMG src="/images/spacer.gif" width="5"></TD>
															<TD class="FrmSecHead" colspan="2"><A name="ancOther"></A>For any type(s) of 
																business not listed above, select a category from the drop-down list, type in a 
																description, and click on ADD. Complete data for added item by clicking on the 
																new link that appears.
															</TD>
														</TR>
														<TR>
															<TD><IMG src="/images/spacer.gif" width="5"></TD>
															<TD class="FrmSecHead" colspan="2">
																<asp:DropDownList id="ddlWriteInCatg" runat="server" CssClass="medfont"></asp:DropDownList>
																<asp:RequiredFieldValidator id="rfvCatg" runat="server" CssClass="frmError" ErrorMessage="Please select the sub-category of the item you want to add."
																	ControlToValidate="ddlWriteInCatg" Font-Bold="True">?</asp:RequiredFieldValidator></TD>
														</TR>
														<TR>
															<TD><IMG src="/images/spacer.gif" width="5"></TD>
															<TD class="FrmSecHead" colspan="2"><INPUT id="txtOther" type="text" maxLength="100" name="txtOther" runat="server">
																<asp:button id="cmdAdd" onclick="cmdAdd_Click" Text="Add" Runat="server"></asp:button>
																<asp:requiredfieldvalidator id="rfvOther" runat="server" CssClass="frmError" ErrorMessage="Please enter the description of the item you want to add."
																	ControlToValidate="txtOther" Font-Bold="True">?</asp:requiredfieldvalidator></TD>
														</TR> -->
													<TR>
														<TD><IMG src="/images/spacer.gif" width="5"></TD>
														<TD class="FrmError" colspan="2">
															<asp:label id="lblError" runat="server"></asp:label>
															<asp:ValidationSummary id="vsError" runat="server" CssClass="frmError" DisplayMode="List"></asp:ValidationSummary></TD>
													</TR>
												</TABLE>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</asp:Panel> <!--PANEL pnItems ENDS HERE -->
				</td>
			</tr>
		</table>
	</form>
	<script lang="javascript">
			function dothis(planid, subtype, otherplan, orgid, catind)
			{
				//planid - plan id of the item
				//subtype - plan id of the subtype for named anchor
				//otherplan - indicator Y-Other Plan; N-Not Other Plan
				//orgid - org id of the company
				//catind - category indicator 1-INDIVIDUAL; 2-GROUP/BLANKET
				parent.leftBFrame.location.href = "leftnav.aspx?txtcatind=" + catind + "&txtplanid=" + planid + "#" + subtype;
				parent.mainFrame.location.href = "detail.aspx?txtplanid=" + planid + "&txtOther=" + otherplan + "&txtOrgId=" + orgid;
			}
	</script>
</body>

