<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="Application.master" CodeBehind="OnDutyHours.aspx.vb" Inherits="Web.OnDutyHours" %>
<%@ MasterType VirtualPath="Application.Master" %>
<%@ Register Src="~/_include/controls/YesNoPicker.ascx" TagPrefix="ctrl" TagName="YesNoPicker" %>
<%@ Register Src="~/_include/controls/Signature.ascx" TagPrefix="ctrl" TagName="Signature" %>
<%@ Register Src="~/_include/controls/StatePicker.ascx" TagPrefix="ctrl" TagName="StatePicker" %>
<asp:Content ID="Content1" ContentPlaceHolderID="phContent" runat="server">

    <div id="contextHours">

        <header>
            <h1>Driver Statement of On-Duty Hours</h1>
            <h2>(For Newly Hired &amp; Intermittent Drivers)</h2>
        </header>

        <section>
            <h2>Motor Carrier Requirements</h2>
            <p>Motor carriers using a driver for the first time shall obtain from the driver a signed statement giving the total on-duty during the
    immediately preceding 7 days and time at which such driver was last relived from duty prior to beginning work for this carrier (Rule
    395(j)(2) of the Federal Motor Carrier Safety Regulations).</p>
            <p><em>NOTE: Hours for any compensated work during the preceding 7 days, including work for a non-motor carrier entity, must be
    recorded on this form.</em></p>
        </section>

        <section>
            <h2>Driver Applicant</h2>

            <ul class="formFields">
                <li class="big">
                    <asp:Label runat="server" AssociatedControlID="txtName"
                        Text="Driver's Name" />
                    <asp:TextBox ID="txtName" runat="server"
                        MaxLength="128" Enabled="false" />
                </li>
            </ul>
            <ul class="formFields">
                <li class="left">
                    <asp:RequiredFieldValidator runat="server" ControlToValidate="txtLicenseNumber"
                        Text="required" Display="Dynamic" CssClass="required" />
                    <asp:Label runat="server" AssociatedControlID="txtLicenseNumber"
                        Text="Driver's License No." />
                    <asp:TextBox ID="txtLicenseNumber" runat="server"
                        MaxLength="128" />
                </li>
                <li class="right">
                    <asp:RequiredFieldValidator runat="server" ControlToValidate="ddlLicenseState"
                        Text="required" Display="Dynamic" CssClass="required" />
                    <asp:Label runat="server" AssociatedControlID="ddlLicenseState"
                        Text="State" />
                    <ctrl:StatePicker ID="ddlLicenseState" runat="server" />
                </li>
                <li>
                    <asp:RequiredFieldValidator runat="server" ControlToValidate="txtLicenseClass"
                        Text="required" Display="Dynamic" CssClass="required" />
                    <asp:Label runat="server" AssociatedControlID="txtLicenseClass"
                        Text="Class" />
                    <asp:TextBox ID="txtLicenseClass" runat="server" 
                        MaxLength="50" />
                </li>
                <li class="left">
                    <asp:RequiredFieldValidator runat="server" ControlToValidate="txtLicenseEndorsements"
                        Text="required" Display="Dynamic" CssClass="required" />
                    <asp:Label runat="server" AssociatedControlID="txtLicenseEndorsements"
                        Text="Endorsement(s)" />
                    <asp:TextBox ID="txtLicenseEndorsements" runat="server"
                        MaxLength="128" />
                </li>
                <li class="right">
                    <asp:Label runat="server" AssociatedControlID="txtLicenseRestrictions"
                        Text="Restriction(s)" />
                    <asp:TextBox ID="txtLicenseRestrictions" runat="server"
                        MaxLength="128" />
                </li>
            </ul>
            <ul class="formFields">
                <li>
                    <table>
                        <tr>
                            <th>Day</th>
                            <th>1 (Yesterday)</th>
                            <th>2</th>
                            <th>3</th>
                            <th>4</th>
                            <th>5</th>
                            <th>6</th>
                            <th>7</th>
                        </tr>
                        <tr>
                            <th>Date</th>
                            <td><asp:RequiredFieldValidator runat="server" ControlToValidate="txtWorkDate1" Text="required" Display="Dynamic" CssClass="required"/>
	                            <asp:TextBox ID="txtWorkDate1" runat="server" TextMode="Date" /></td>
                            <td><asp:RequiredFieldValidator runat="server" ControlToValidate="txtWorkDate2" Text="required" Display="Dynamic" CssClass="required"/>
	                            <asp:TextBox ID="txtWorkDate2" runat="server" TextMode="Date" /></td>
                            <td><asp:RequiredFieldValidator runat="server" ControlToValidate="txtWorkDate3" Text="required" Display="Dynamic" CssClass="required"/>
	                            <asp:TextBox ID="txtWorkDate3" runat="server" TextMode="Date" /></td>
                            <td><asp:RequiredFieldValidator runat="server" ControlToValidate="txtWorkDate4" Text="required" Display="Dynamic" CssClass="required"/>
	                            <asp:TextBox ID="txtWorkDate4" runat="server" TextMode="Date" /></td>
                            <td><asp:RequiredFieldValidator runat="server" ControlToValidate="txtWorkDate5" Text="required" Display="Dynamic" CssClass="required"/>
	                            <asp:TextBox ID="txtWorkDate5" runat="server" TextMode="Date" /></td>
                            <td><asp:RequiredFieldValidator runat="server" ControlToValidate="txtWorkDate6" Text="required" Display="Dynamic" CssClass="required"/>
	                            <asp:TextBox ID="txtWorkDate6" runat="server" TextMode="Date" /></td>
                            <td><asp:RequiredFieldValidator runat="server" ControlToValidate="txtWorkDate7" Text="required" Display="Dynamic" CssClass="required"/>
	                            <asp:TextBox ID="txtWorkDate7" runat="server" TextMode="Date" /></td>
                        </tr>
                        <tr>
                            <th>Hours&nbsp;Worked</th>
                            <td><asp:RequiredFieldValidator runat="server" ControlToValidate="txtWorkHours1" Text="required" Display="Dynamic" CssClass="required"/>
	                            <asp:TextBox ID="txtWorkHours1" runat="server" TextMode="Number" step="0.01" /></td>
                            <td><asp:RequiredFieldValidator runat="server" ControlToValidate="txtWorkHours2" Text="required" Display="Dynamic" CssClass="required"/>
	                            <asp:TextBox ID="txtWorkHours2" runat="server" TextMode="Number" step="0.01" /></td>
                            <td><asp:RequiredFieldValidator runat="server" ControlToValidate="txtWorkHours3" Text="required" Display="Dynamic" CssClass="required"/>
	                            <asp:TextBox ID="txtWorkHours3" runat="server" TextMode="Number" step="0.01" /></td>
                            <td><asp:RequiredFieldValidator runat="server" ControlToValidate="txtWorkHours4" Text="required" Display="Dynamic" CssClass="required"/>
	                            <asp:TextBox ID="txtWorkHours4" runat="server" TextMode="Number" step="0.01" /></td>
                            <td><asp:RequiredFieldValidator runat="server" ControlToValidate="txtWorkHours5" Text="required" Display="Dynamic" CssClass="required"/>
	                            <asp:TextBox ID="txtWorkHours5" runat="server" TextMode="Number" step="0.01" /></td>
                            <td><asp:RequiredFieldValidator runat="server" ControlToValidate="txtWorkHours6" Text="required" Display="Dynamic" CssClass="required"/>
	                            <asp:TextBox ID="txtWorkHours6" runat="server" TextMode="Number" step="0.01" /></td>
                            <td><asp:RequiredFieldValidator runat="server" ControlToValidate="txtWorkHours7" Text="required" Display="Dynamic" CssClass="required"/>
	                            <asp:TextBox ID="txtWorkHours7" runat="server" TextMode="Number" step="0.01" /></td>
                        </tr>
                    </table>
                </li>
            </ul>

        </section>

        <section>
            <p>I hereby certify that the information given is correct to the best of my knowledge and belief, and that I was last relieved
    from work at:</p>

            <ul class="formFields">
                <li class="left">
                    <asp:RequiredFieldValidator runat="server" ControlToValidate="txtRelievedDate"
                        Text="required" Display="Dynamic" CssClass="required" />
                    <asp:Label runat="server" AssociatedControlID="txtRelievedDate"
                        Text="Date" />
                    <asp:TextBox ID="txtRelievedDate" runat="server"
                        TextMode="Date" />
                </li>
                <li class="right">
                    <asp:RequiredFieldValidator runat="server" ControlToValidate="txtRelievedTime"
                        Text="required" Display="Dynamic" CssClass="required" />
                    <asp:Label runat="server" AssociatedControlID="txtRelievedTime"
                        Text="Time" />
                    <asp:TextBox ID="txtRelievedTime" runat="server"
                        TextMode="Time" />
                </li>
            </ul>

            <ctrl:Signature ID="sigOnDutyHours" runat="server" ContextId="contextHours" />

        </section>

    </div>

    <div id="contextCert">

        <h3>Driver Certification for Other Compensated Work</h3>

        <section>
            <h1>Motor Carrier Requirements</h1>
            <p>When employed by a motor carrier, a driver must report to the carrier all on-duty time including time working for other employers.
    The definition of on-duty time found in 395.2 paragraphs (8) and (9) of the Federal Motor Carrier Safety Regulations includes time
    performing and other work in the capacity of, or in the employment or service of, a common, contract or private motor carrier, also
    performing and compensated work for any non-motor carrier entity.</p>
        </section>

        <section>
            <h1>Driver Applicant</h1>

            <ul class="formFields">
                <li>
                    <asp:RequiredFieldValidator runat="server" ControlToValidate="ynCurrentlyEmployed"
                        Text="required" Display="Dynamic" CssClass="required" />
                    <asp:Label runat="server" AssociatedControlID="ynCurrentlyEmployed"
                        Text="Are you currently working for another employer?" />
                    <ctrl:YesNoPicker ID="ynCurrentlyEmployed" runat="server" />
                </li>
                <li>
                    <asp:RequiredFieldValidator runat="server" ControlToValidate="ynMoonglightingIntended"
                        Text="required" Display="Dynamic" CssClass="required" />
                    <asp:Label runat="server" AssociatedControlID="ynMoonglightingIntended"
                        Text="At this time do you intend to work for another employer while still employed by this company?" />
                    <ctrl:YesNoPicker ID="ynMoonglightingIntended" runat="server" />
                </li>
            </ul>
        </section>

        <section>

            <p>I hereby certify that the information given above is accurate and I understand that once I become employed with this
    company, if I begin working for any additional employer(s) for compensation that I must inform this company
    immediately of such employment activity.</p>

            <ctrl:Signature ID="sigCompensatedWork" runat="server" ContextId="contextCert" />

        </section>

    </div>

</asp:Content>
