<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Detail.aspx.vb" Inherits="LHSurvey.Detail" %>
<%@ Register TagPrefix="uc1" TagName="wucNumber" Src="wucNumber.ascx" %>
<%@ Register TagPrefix="uc2" TagName="wucCurrency" Src="wucCurrency.ascx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US">
	<head>
		<title>Annual Survey - Ohio Health Insurance Business</title>
	    <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"/>
	    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
	    <link href="style.css" type="text/css" rel="stylesheet"/>
	</head>
	<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" style="BACKGROUND:#ffffff">
	<form id="Form2" method="post"  style="padding-top:15px"  runat="server">
		<input id="hidOrgId" type="hidden" name="hidOrgId" runat="server"/>
		<input id="hidPlanId" type="hidden" name="hidPlanId" runat="server"/>
		<input id="hidOther" type="hidden" name="hidOther" runat="server"/> 
		<input id="hidPlanDtlId" type="hidden" name="hidPlanDtlId" runat="server"/>
        <div style="margin: 0 auto; border-spacing: 0px; padding: 0px; width: 669px;" class="FrmTable" align="center">
            <div class="FrmTitleBackGrnd" style="font-weight: bold; color: #000000;">
                Annual Report of Ohio Health Insurance Business (LHSurvey) - Detail Page
                          <a style="margin-left: 150px;" class="main" onmouseover="window.status='Context Sensitive Help';return true;" onmouseout="window.status='';return true;"
                              href="Instructions/Help.pdf" target="helpwindow">Help</a>
            </div>
            <div class="FrmBackGrnd" style="margin: 5px;">
                <table width="100%" border="0"  role="presentation">
                    <tr valign="baseline">
                        <td width="14">
                            <img src="/images/frmBullet.gif" alt=""/></td>
                        <td height="20" class="FrmInfo">Data for <b>
                            <asp:Label ID="lblCompanyName" runat="server"></asp:Label>
                        </b>
                        </td>
                    </tr>
                    <tr valign="baseline">
                        <td width="14">
                            <img src="/images/frmBullet.gif" alt=""/></td>
                        <td height="20" class="FrmInfo">NAIC Number:<b>
                            <asp:Label ID="lblNaicNum" runat="server"></asp:Label></b>
                        </td>
                    </tr>
                    <tr valign="baseline">
                        <td width="14">
                            <img src="/images/frmBullet.gif" alt=""/></td>
                        <td height="20" class="FrmInfo">
                            <b>INFORMATION RELATED ONLY TO BUSINESS IN OHIO</b></td>
                    </tr>
                    <tr valign="baseline">
                        <td width="14">
                            <img src="/images/frmBullet.gif" alt=""/></td>
                        <td height="20" class="FrmInfo">
                            <b>REPORTING FOR THE PREVIOUS YEAR BEGINS MID-MARCH</b></td>
                    </tr>
                    <tr valign="baseline">
                        <td width="14">
                            <img src="/images/frmBullet.gif" alt=""/></td>
                        <td height="20" class="FrmInfo">
                            <b>CURRENTLY VIEWING FOR THE YEAR ENDING
															<asp:Label ID="lblPeriod" runat="server"></asp:Label></b></td>
                    </tr>
                    <tr valign="baseline">
                        <td width="14">
                            <img src="/images/frmBullet.gif" alt=""/></td>
                        <td height="20" class="FrmInfo">Complete all required fields below. Required fields are marked with an <span class="Required">*</span>.
                        </td>
                    </tr>
                    <tr valign="baseline">
                        <td width="14">
                            <img src="/images/frmBullet.gif" alt=""/></td>
                        <td height="20" class="FrmInfo">Save data before clicking on the next item.
                        </td>
                    </tr>
                    <tr>
                        <td class="FrmError" colspan="2">
                            <asp:ValidationSummary ID="vsError" runat="server" EnableViewState="False" Width="100%" CssClass="frmError"
                                HeaderText="PLEASE CORRECT THE FOLLOWING ERROR(S):" ShowMessageBox="True"></asp:ValidationSummary>
                        </td>
                    </tr>
                    <tr>
                        <td class="FrmError" colspan="2">
                            <asp:Label ID="lblError" runat="server" EnableViewState="False"></asp:Label></td>
                    </tr>
                </table>
            </div>
            <div class="FrmBackGrnd" style="margin: 5px;">
                <table style="border-collapse: separate; border-spacing: 2px;" width="100%" border="0" role="presentation">
                    <tr>
                        <td class="smallfont" colspan="5"><b>
                            <asp:Label ID="lblInfo" runat="server"></asp:Label></b></td>
                    </tr>
                    <tr valign="baseline">
                        <td nowrap="nowrap" class="FrmFieldTxt">&nbsp;</td>
                        <td colspan="4" nowrap="nowrap" class="FrmInfo">&nbsp;</td>
                    </tr>
                    <tr valign="middle">
                        <td width="44%" nowrap="nowrap" class="FrmFieldTxt">
                            <span class="Required">*</span>
                            <asp:Label ID="lblSale" runat="server" ToolTip="Indicate whether this type of business is currently being marketed by this company."
                                Text="Currently Marketing&nbsp;">Currently Marketing or Available:&nbsp;</asp:Label></td>
                        <td colspan="4" nowrap="nowrap" class="FrmInfo">
                            <select id="cmbSale" name="cmbSale" runat="server">
                                <option value="" selected="selected">&nbsp;</option>
                                <option value="Y">Yes</option>
                                <option value="N">No</option>
                            </select>
                            <asp:RequiredFieldValidator ID="rfvSale" runat="server" Font-Bold="True" Text="?" ControlToValidate="cmbSale"
                                ErrorMessage="Please indicate if Business is offered for Sale." Display="Static" EnableViewState="False" />
                        </td>
                    </tr>
                    <tr valign="middle">
                        <td nowrap="nowrap" class="FrmFieldTxt">
                            <span class="Required">*</span>
                            <asp:Label ID="lblPolicies" runat="server" ToolTip="The number of policies in force at 12/31 of the Reported Year for each type of business."
                                Text="Number of Policies&nbsp;">Number of Policies:&nbsp;</asp:Label></td>
                        <td colspan="4" nowrap="nowrap" class="FrmInfo">
                            <uc1:wucNumber ID="wucNumPolicies" runat="server" REQUIRED="true" reqErrMsg="Number of Policies is required."
                                invErrMsg="Please enter only Whole Numbers in Number of Policies."></uc1:wucNumber>
                        </td>
                    </tr>
                    <tr valign="middle">
                        <td nowrap="nowrap" class="FrmFieldTxt">
                            <span class="Required">*</span>
                            <asp:Label ID="lblLives" runat="server" ToolTip="The number of lives insured, including dependents, at 12/31 of the Reported Year for each type of business.  Indicate if this figure is an estimate (click on 'Estimated' checkbox)."
                                Text="Number of Lives&nbsp;">Number of Lives:&nbsp;</asp:Label></td>
                        <td colspan="4" nowrap="nowrap" class="FrmInfo">
                            <uc1:wucNumber ID="wucNumLives" runat="server" REQUIRED="true" reqErrMsg="Number of Lives is required."
                                invErrMsg="Please enter only Whole Numbers in Number of Lives."></uc1:wucNumber>
                        </td>
                    </tr>
                    <tr valign="middle">
                        <td nowrap="nowrap" class="FrmFieldTxt">
                            <span class="Required">*</span>
                            <asp:Label ID="lblMember" runat="server" ToolTip="Determine the total number of lives insured each month of the Reported Year on a pre-specified day of each month.  Add the total for each month to determine the member months for each type of business.  Indicate if this figure is an estimate (click on 'Estimated' checkbox)."
                                Text="Member Months&nbsp;">Member Months:&nbsp;</asp:Label></td>
                        <td colspan="4" nowrap="nowrap" class="FrmInfo">
                            <uc1:wucNumber ID="wucNumMemberMonths" runat="server" REQUIRED="true" reqErrMsg="Member months is required."
                                invErrMsg="Please enter only Whole Numbers in Member Months."></uc1:wucNumber>
                        </td>
                    </tr>
                    <tr valign="middle">
                        <td nowrap="nowrap" class="FrmFieldTxt">
                            <span class="Required">*</span>
                            <asp:Label ID="lblPremium" runat="server" ToolTip="Prior to reinsurance, premiums collected and attributable to the Reported Year (including direct premiums unearned for the year prior to the Reported Year and excluding direct premiums unearned for the year following the Reported Year) for each type of business."
                                Text="Direct Premium Earned $&nbsp;">Direct Premium Earned $:&nbsp;</asp:Label></td>
                        <td colspan="4" nowrap="nowrap" class="FrmInfo">
                            <uc2:wucCurrency ID="wucCurrDirPremium" REQUIRED="true" reqErrMsg="Direct Premium Earned is required."
                                invErrMsg="Please enter a Numeric value in Direct Premium Earned" runat="server"></uc2:wucCurrency>
                        </td>
                    </tr>
                    <tr valign="middle">
                        <td nowrap="nowrap" class="FrmFieldTxt">
                            <span class="Required">*</span>
                            <asp:Label ID="lblClaims" runat="server" ToolTip="Prior to reinsurance, claims paid during the Reported Year, plus estimated unpaid claim liabilities (reported and unreported) at the end of the current Reported Year, less estimated unpaid claim liabilities (reported and unreported) at the end of the year prior to the Reported Year for each type of business."
                                Text="Direct Claims Incurred $&nbsp;">Direct Claims Incurred $&nbsp;</asp:Label></td>
                        <td colspan="4" nowrap="nowrap" class="FrmInfo">
                            <uc2:wucCurrency ID="wucCurrDirClaims" runat="server" REQUIRED="true" reqErrMsg="Direct Claims Incurred is required."
                                invErrMsg="Please enter a Numeric value in Direct Claims Incurred."></uc2:wucCurrency>
                        </td>
                    </tr>
                    <span id="spOtherHealthPlans" runat="server" visible="false">
                        <tr valign="middle">
                            <td nowrap="nowrap" class="FrmFieldTxt">
                                <span class="Required">*</span>
                                <asp:Label ID="Label1" runat="server" ToolTip="Data about other health plans"
                                    Text="Other Health Plansnbsp;">Other Health Plans Detail:&nbsp;</asp:Label></td>
                            <td colspan="4" nowrap="nowrap" class="FrmInfo">
                                <textarea id="txtOtherHealthPlans" runat="server" required="true" maxlength="500" rows="4" cols="20" onblur="checkLength(this)"></textarea>
                                <asp:RequiredFieldValidator ID="rfvtxtOtherHealthPlans" runat="server" Font-Bold="True" Text="?" ControlToValidate="txtOtherHealthPlans"
                                                            ErrorMessage="Please enter details for this health plan." Display="Static" EnableViewState="False" />
                            </td>
                        </tr>
                    </span>
                </table>
            </div>
            <div align="right" class="FrmBackGrnd" style="margin: 5px;">
                <asp:Button ID="cmdSave" Text="Save" OnClick="cmdSave_Click" runat="server"></asp:Button>
                &nbsp;&nbsp;&nbsp;
            </div>
        </div>
	</form> 
        
	<script type="text/javascript" language="javascript">

	    function checkLength(el) {
	        if (el.value.length < 4) {
	            alert("Please enter an adequate comment for the Other Health Plans Detail.");
	        }
	    }
    </script>
	    </body>
	        </html>
	