﻿<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Theme="cdTheme" AutoEventWireup="false" 
CodeFile="Register.aspx.vb" Inherits="Register" title="Safety Statements for Irish SME's - ComplianceDoc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<meta name="description" content="ComplianceDoc is the first Irish based online website specifically designed to help Irish small to medium enterprises generate their own safety statement documents" />
<meta name="subject" content="ComplianceDoc is the first Irish based online website specifically designed to help Irish small to medium enterprises generate their own safety statement documents." />
<meta name="keywords" content="safety statement,safety ireland,safety statement document,safety policy,safety compliance,compliancedoc,health and safety" />
<meta name="classification" content="safety statement,safety ireland,safety statement document,safety policy,safety compliance,compliance,compliancedoc,health and safety" />
<meta name="Memberships" content="OSHA, European Agency for Safety and Health at Work, West Cork Enterprise Board,Health and Safety Authority, Health and Safety Executive, Institute of Occupational Safety and Health, SME, Tilleard Goya Ltd "> 

<meta name="abstract" content="compliancedoc.ie" />
<meta name="owner" content="compliancedoc.ie" />
<meta name="copyright" content="© 2009 ComplianceDoc" />
<meta name="author" content="Custom Software Design Group, www.customsoftwaredesigngroup.com" />
<meta name="publisher" content="Custom Software Design Group, www.customsoftwaredesigngroup.com">

<meta name="Geography" content="Atrium Business Centre, Blackpool, Cork, Ireland" />
<meta name="country" content="en-ie" />
<meta name="Language" content="English" />
<meta name="distribution" content="GLOBAL">

<meta name="robots" content="index, follow" />
<meta name="googlebot" content="index, follow" />
<meta name="msnbot" content="index, follow">
<meta name="revisit-after" content="2 days" />

<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="never" />
<meta http-equiv="Robots" content="index, follow" />
<meta http-equiv="imagetoolbar" content="no">
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
    <style type="text/css">
        .style1
        {
            font-size: 13px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <div id="CreateUser">
<h2>ComplianceDoc <span class="siteblue">Registration</span>!</h2>
<p>Please use the form below to register your account with our site.  Once you have successfully registered, you will be able to
purchase a Safety Statement Document.  </p>
<br /><br />
<asp:CreateUserWizard ID="CreateUserWizard1" runat="server" 
        Width="600px" EditProfileIconUrl="~/images/my_account.jpg" 
        CreateUserButtonText="Next" DisplaySideBar="True" 
        MembershipProvider="CD_SqlMembershipProvider" 
        >
        <FinishNavigationTemplate>
           
           <%--<asp:Button ID="PreviousButton" runat="server" CausesValidation="True" 
                CommandName="MovePrevious" Text="Previous" ValidationGroup="CreateUserProfile1" />--%>
           <asp:Button ID="FinishButton" runat="server" ValidationGroup="CreateUserProfile1"  CommandName="MoveComplete" 
                Text="Proceed to Checkout" />
        </FinishNavigationTemplate>
        <StepNavigationTemplate>
        <% If CreateUserWizard1.ActiveStepIndex = 2 Then%>
            <asp:Button ID="StepPreviousButton" runat="server" CausesValidation="True" 
                CommandName="MovePrevious" Text="Previous" ValidationGroup="CreateUserProfile1" />
        <% End If%>
            <asp:Button ID="StepNextButton" runat="server" CommandName="MoveNext" 
                Text="Next" ValidationGroup="CreateUserProfile1"  />
        </StepNavigationTemplate>
        <SideBarTemplate>
            <asp:DataList ID="SideBarList" runat="server">
                <ItemTemplate>
                    <div style="padding:3px 0px 0px 0px;"><asp:Label ID="SideBarLabel" runat="server"></asp:Label></div>
                </ItemTemplate>
                <SelectedItemStyle Font-Bold="True"  />
            </asp:DataList>
        </SideBarTemplate>
        <StartNavigationTemplate>
            <asp:Button ID="StartNextButton" runat="server" CommandName="MoveNext" 
                Text="Next" />
        </StartNavigationTemplate>
        <WizardSteps>
            <asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server" 
                Title="1. Create Your New Account">
                <ContentTemplate>
                    <table border="0" align="center">
                        <tr height="40">
                            <td align="center" colspan="2">
                               <div style="font-weight:bold;padding:4px 0px 4px 0px;" class="style1">
                                   Step 1 : Create a New Account</div>
                                </td>
                        </tr>
                        <tr >
                            <td align="right" colspan="2">
                               <div style="font-weight:normal;font-size:10px; padding:4px 0px 4px 0px;" class="style1">
                                   * = Required Field</div>
                                </td>
                        </tr>
                        <tr>
                            <td align="right">
                                &nbsp;*
                                <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User 
                                Name:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="UserName" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                    ControlToValidate="UserName" ErrorMessage="User Name is required." 
                                    ToolTip="User Name is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                &nbsp;*
                                <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                    ControlToValidate="Password" ErrorMessage="Password is required." 
                                    ToolTip="Password is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="ConfirmPasswordLabel" runat="server" 
                                    AssociatedControlID="ConfirmPassword">* Confirm Password:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="ConfirmPassword" runat="server" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" 
                                    ControlToValidate="ConfirmPassword" 
                                    ErrorMessage="Confirm Password is required." 
                                    ToolTip="Confirm Password is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email">* E-mail:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="Email" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="EmailRequired" runat="server" 
                                    ControlToValidate="Email" ErrorMessage="E-mail is required." 
                                    ToolTip="E-mail is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="QuestionLabel" runat="server" AssociatedControlID="Question">* Security 
                                Question:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="Question" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="QuestionRequired" runat="server" 
                                    ControlToValidate="Question" ErrorMessage="Security question is required." 
                                    ToolTip="Security question is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="AnswerLabel" runat="server" AssociatedControlID="Answer">* Security 
                                Answer:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="Answer" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="AnswerRequired" runat="server" 
                                    ControlToValidate="Answer" ErrorMessage="Security answer is required." 
                                    ToolTip="Security answer is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2">
                                <asp:CompareValidator ID="PasswordCompare" runat="server" 
                                    ControlToCompare="Password" ControlToValidate="ConfirmPassword" 
                                    Display="Dynamic" 
                                    ErrorMessage="The Password and Confirmation Password must match." 
                                    ValidationGroup="CreateUserWizard1"></asp:CompareValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2" style="color:Red;">
                                <asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False"></asp:Literal>
                            </td>
                        </tr>
                    </table>

                </ContentTemplate>
            </asp:CreateUserWizardStep>
            <asp:WizardStep ID="CreateUserProfile" runat="server" 
                Title="2. Enter Your Company Information" StepType="Finish">
                <script language="JavaScript">
<!--
  function CheckCountyField(sender, args)
  {
    var county = args.Value;
    if (county == 'SELECT') {
       args.IsValid = false;
    } else {
       args.IsValid = true;
    }
  }
  function CheckIndustrySectorField(sender, args)
  {
    var Sector = args.Value;
    if (Sector == 'SELECT') {
       args.IsValid = false;
    } else {
       args.IsValid = true;
    }
  }
// -->
</script>


                    <table border="0" width="400px">
                        <tr height="60">
                            <td align="center" colspan="2">
                                <div style="font-weight:bold;padding:4px 0px 4px 0px;" class="style1">
                                    Step 2 :&nbsp; Enter Your Company Information</div></td>
                        </tr>
                        <tr >
                            <td align="right" colspan="2">
                               <div style="font-weight:normal;font-size:10px; padding:4px 0px 4px 0px;" class="style1">
                                   * = Required Field</div>
                                </td>
                        </tr>
                        <tr>
                            <td align="right">
                                &nbsp;*
                                <asp:Label ID="CompanyNameLbl1" runat="server" AssociatedControlID="CompanyNameTB"> 
                                Company Name:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="CompanyNameTB" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="CompanyNameRequired" runat="server" 
                                    ControlToValidate="CompanyNameTB" ErrorMessage="Company is required." 
                                    ToolTip="Company name is required." ValidationGroup="CreateUserProfile1">*<i> required</i></asp:RequiredFieldValidator>
                            </td>
                        </tr>  
                        <tr>
                            <td align="right">
                                *
                                <asp:Label ID="TradingNameLbl" runat="server" AssociatedControlID="TradingNameTB"> 
                                Trading Name:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="TradingNameTB" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="TradingNameRequired" runat="server" 
                                    ControlToValidate="TradingNameTB" ErrorMessage="Trading Name is required." 
                                    ToolTip="Trading Name is required." ValidationGroup="CreateUserProfile1">*<i> required</i></asp:RequiredFieldValidator>
                            </td>
                        </tr> 
                       <%-- <tr>
                            <td align="right">
                                *
                                <asp:Label ID="SpecificLocationLbl" runat="server" AssociatedControlID="SpecificLocationTB"> 
                                Specific Location:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="SpecificLocationTB" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="LocationRequired" runat="server" 
                                    ControlToValidate="SpecificLocationTB" ErrorMessage="Specific Location is required." 
                                    ToolTip="Specific Location is required." ValidationGroup="CreateUserProfile1">*<i> required</i></asp:RequiredFieldValidator>
                            </td>
                        </tr>  --%>
                         <tr>
                            <td align="right">
                                *
                                <asp:Label ID="Address1Lbl" runat="server" AssociatedControlID="Address1TB"> 
                                Address:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="Address1TB" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="Address1Required" runat="server" 
                                    ControlToValidate="Address1TB" ErrorMessage="Address Line is required." 
                                    ToolTip="Address Line is required." ValidationGroup="CreateUserProfile1">*<i> required</i></asp:RequiredFieldValidator>
                            </td>
                        </tr>  
                        <tr>
                            <td align="right">
                                &nbsp;
                            </td>
                            <td>
                                <asp:TextBox ID="Address2TB" runat="server"></asp:TextBox>
                            </td>
                        </tr>  
                        <tr>
                            <td align="right">
                                &nbsp;
                            </td>
                            <td>
                                <asp:TextBox ID="Address3TB" runat="server"></asp:TextBox>
                            </td>
                        </tr> 
                        <tr>
                            <td align="right">
                                *
                                <asp:Label ID="TownLbl" runat="server" AssociatedControlID="TownTB"> 
                                Town:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="TownTB" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="TownRequired" runat="server" 
                                    ControlToValidate="TownTB" ErrorMessage="Town is required." 
                                    ToolTip="Town is required." ValidationGroup="CreateUserProfile1">*<i> required</i></asp:RequiredFieldValidator>
                            </td>
                        </tr> 
                        <tr>
                            <td align="right">
                                *
                                <asp:Label ID="CountyLbl" runat="server" AssociatedControlID="TownTB"> 
                                County:</asp:Label>
                            </td>
                            <td>
                                <asp:DropDownList ID="CountyDD" runat="server" Width="125px">
                                    <asp:ListItem Selected="True" Value="SELECT">-- Select --</asp:ListItem>
                                    <asp:ListItem>Co. Carlow</asp:ListItem>
                                    <asp:ListItem>Co. Cavan</asp:ListItem>
                                    <asp:ListItem>Co. Clare</asp:ListItem>
                                    <asp:ListItem>Co. Cork</asp:ListItem>
                                    <asp:ListItem>Co. Donegal</asp:ListItem>
                                    <asp:ListItem>Co. Dublin</asp:ListItem>
                                    <asp:ListItem>Co. Galway</asp:ListItem>
                                    <asp:ListItem>Co. Kerry</asp:ListItem>
                                    <asp:ListItem>Co. Kildare</asp:ListItem>
                                    <asp:ListItem>Co. Kilkenny</asp:ListItem>
                                    <asp:ListItem>Co. Laois</asp:ListItem>
                                    <asp:ListItem>Co. Leitrim</asp:ListItem>
                                    <asp:ListItem>Co. Limerick</asp:ListItem>
                                    <asp:ListItem>Co. Longford</asp:ListItem>
                                    <asp:ListItem>Co. Louth</asp:ListItem>
                                    <asp:ListItem>Co. Mayo</asp:ListItem>
                                    <asp:ListItem>Co. Meath</asp:ListItem>
                                    <asp:ListItem>Co. Monaghan</asp:ListItem>
                                    <asp:ListItem>Co. Offaly</asp:ListItem>
                                    <asp:ListItem>Co. Roscommon</asp:ListItem>
                                    <asp:ListItem>Co. Sligo</asp:ListItem>
                                    <asp:ListItem>Co. Tipperary</asp:ListItem>
                                    <asp:ListItem>Co. Waterford</asp:ListItem>
                                    <asp:ListItem>Co. Westmeath</asp:ListItem>
                                    <asp:ListItem>Co. Wexford</asp:ListItem>
                                    <asp:ListItem>Co. Wicklow</asp:ListItem>
                                </asp:DropDownList>
                                <asp:CustomValidator ID="CountyRequired1" runat="server" ErrorMessage="County is required."
                                    ValidationGroup="CreateUserProfile1"
                                    ControlToValidate="CountyDD" ClientValidationFunction="CheckCountyField">* <i>required</i>
                                </asp:CustomValidator>
                            </td>
                        </tr> 
                        <tr>
                            <td align="right">
                                *
                                <asp:Label ID="DirectorLbl" runat="server" AssociatedControlID="DirectorNameTB"> 
                                Name of Managing Director:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="DirectorNameTB" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="DirectorNameRequired" runat="server" 
                                    ControlToValidate="DirectorNameTB" ErrorMessage="Managing Director is required." 
                                    ToolTip="Managing Director is required." ValidationGroup="CreateUserProfile1">*<i> required</i></asp:RequiredFieldValidator>
                            </td>
                        </tr>        
                  <%--       <tr>
                            <td align="right">
                                <asp:Label ID="VATNumberLBL" runat="server" AssociatedControlID="VatNumberTB"> 
                                VAT Number :<br />(Omit the IE Segment)</asp:Label>
                            </td>
                            <td valign="top">
                                <asp:TextBox ID="VatNumberTB" runat="server"></asp:TextBox>
                            </td>
                   </tr>--%>
                        <tr>
                            <td align="right">
                                *
                                <asp:Label ID="IndustrySectorLbl" runat="server" AssociatedControlID="IndustrySectorDD"> 
                                Industry Sector:</asp:Label>
                            </td>
                            <td>
                                <asp:DropDownList ID="IndustrySectorDD" runat="server" Width="225px">
                                    <asp:ListItem Selected="True" Value="SELECT">-- Select --</asp:ListItem>
                                    <asp:ListItem>Accountancy and business services</asp:ListItem>
                                    <asp:ListItem>Advertising, marketing and PR</asp:ListItem>
                                    <asp:ListItem>Agriculture and rural</asp:ListItem>
                                    <asp:ListItem>Architecture</asp:ListItem>
                                    <asp:ListItem>Aviation</asp:ListItem>
                                    <asp:ListItem>Banking, investment and insurance</asp:ListItem>
                                    <asp:ListItem>Biotechnology</asp:ListItem>
                                    <asp:ListItem>Broadcast, film and interactive media</asp:ListItem>
                                    <asp:ListItem>Brewers and distillers</asp:ListItem>
                                    <asp:ListItem>Car and truck dealerships</asp:ListItem>
                                    <asp:ListItem>Charity - registered</asp:ListItem>
                                    <asp:ListItem>Chemical manufacturer</asp:ListItem>
                                    <asp:ListItem>Child care</asp:ListItem>
                                    <asp:ListItem>Communications</asp:ListItem>
                                    <asp:ListItem>Construction - main contractor</asp:ListItem>
                                    <asp:ListItem>Construction - sub contractor</asp:ListItem>
                                    <asp:ListItem>Creative arts</asp:ListItem>
                                    <asp:ListItem>Education</asp:ListItem>
                                    <asp:ListItem>Engineering</asp:ListItem>
                                    <asp:ListItem>Entertainment</asp:ListItem>
                                    <asp:ListItem>Environment</asp:ListItem>
                                    <asp:ListItem>Equipment hire</asp:ListItem>
                                    <asp:ListItem>Fashion and textiles</asp:ListItem>
                                    <asp:ListItem>Financial services</asp:ListItem>
                                    <asp:ListItem>Food - producer</asp:ListItem>
                                    <asp:ListItem>Food - retail</asp:ListItem>
                                    <asp:ListItem>Forestry</asp:ListItem>
                                    <asp:ListItem>Gaming activities</asp:ListItem>
                                    <asp:ListItem>Government agency</asp:ListItem>
                                    <asp:ListItem>Health and medical services</asp:ListItem>
                                    <asp:ListItem>Health and safety</asp:ListItem>
                                    <asp:ListItem>Hospitality</asp:ListItem>
                                    <asp:ListItem>Human resources and recruitment</asp:ListItem>
                                    <asp:ListItem>Industrial equipment - wholesale</asp:ListItem>
                                    <asp:ListItem>Information technology</asp:ListItem>
                                    <asp:ListItem>Interior design </asp:ListItem>
                                    <asp:ListItem>Legal services</asp:ListItem>
                                    <asp:ListItem>Logistics</asp:ListItem>
                                    <asp:ListItem>Local, regional and national government</asp:ListItem>
                                    <asp:ListItem>Manufacturing</asp:ListItem>
                                    <asp:ListItem>Marine - fishing</asp:ListItem>
                                    <asp:ListItem>Marine - shipping</asp:ListItem>
                                    <asp:ListItem>Marine - other</asp:ListItem>
                                    <asp:ListItem>Oil, gas and petroleum</asp:ListItem>
                                    <asp:ListItem>Pharmacy</asp:ListItem>
                                    <asp:ListItem>Property</asp:ListItem>
                                    <asp:ListItem>Publishing</asp:ListItem>
                                    <asp:ListItem>Public house</asp:ListItem>
                                    <asp:ListItem>Retail - FMCG</asp:ListItem>
                                    <asp:ListItem>Retail - Other</asp:ListItem>
                                    <asp:ListItem>Security services</asp:ListItem>
                                    <asp:ListItem>Semi state organisation</asp:ListItem>
                                    <asp:ListItem>Social care</asp:ListItem>
                                    <asp:ListItem>Sport and leisure</asp:ListItem>
                                    <asp:ListItem>Theatres and cinemas</asp:ListItem>
                                    <asp:ListItem>Tourism - accommodation</asp:ListItem>
                                    <asp:ListItem>Tourism - other</asp:ListItem>
                                    <asp:ListItem>Transport - freight services</asp:ListItem>
                                    <asp:ListItem>Transport - public</asp:ListItem>
                                    <asp:ListItem>Voluntary</asp:ListItem>
                                    <asp:ListItem>Waste management</asp:ListItem>
                                    <asp:ListItem>Wholesale</asp:ListItem>
                                    <asp:ListItem>Other</asp:ListItem>
                                </asp:DropDownList>
                                <asp:CustomValidator ID="IndustrySectorRequired" runat="server" 
                                    ControlToValidate="IndustrySectorDD" ErrorMessage="Industry Sector is required." 
                                    ToolTip="Industry Sector is required."  ClientValidationFunction="CheckIndustrySectorField"
                                    ValidationGroup="CreateUserProfile1">*<i> required</i></asp:CustomValidator>
                            </td>
                        </tr>
                    </table>
                    <br />
            </asp:WizardStep>
            <asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server" 
                Title="3. Proceed to Checkout">
                <ContentTemplate>
                <div style="text-align:center; height:400px; padding:20px 0px 0px 0px;">
                <table border="0">
                <tr>
                  <td align="center">
                    <div style="font-weight:bold;padding:4px 0px 4px 0px;" class="style1">
                                   Complete!</div></td>
                </tr>
                <tr>
                  <td>
                    Your account has been successfully created.</td>
                </tr>
                <tr>
                  <td align="right">
                    [WORLD PAY INTEGRATION HERE - REDIRECT TO WORLPAY SERVICE]
                  </td>
                </tr>
              </table>

               </div>
                </ContentTemplate>
                <CustomNavigationTemplate>
                    <asp:Button ID="ContinueButton" runat="server" CausesValidation="False" 
                        CommandName="Continue" Text="Continue" ValidationGroup="CreateUserWizard1" 
                        />
                </CustomNavigationTemplate>
            </asp:CompleteWizardStep>
        </WizardSteps>
    </asp:CreateUserWizard>
</div>
    
</asp:Content>


