<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="description" content="">
	<meta name="author" content="">
    
    <title><?php echo $this->config->item('site_name');?></title>
    
    <!-- Fav Icon -->
    <link rel="apple-touch-icon" sizes="57x57" href="<?php echo base_url();?>apple-icon-57x57.png">
	<link rel="apple-touch-icon" sizes="60x60" href="<?php echo base_url();?>apple-icon-60x60.png">
	<link rel="apple-touch-icon" sizes="72x72" href="<?php echo base_url();?>apple-icon-72x72.png">
	<link rel="apple-touch-icon" sizes="76x76" href="<?php echo base_url();?>apple-icon-76x76.png">
	<link rel="apple-touch-icon" sizes="114x114" href="<?php echo base_url();?>apple-icon-114x114.png">
	<link rel="apple-touch-icon" sizes="120x120" href="<?php echo base_url();?>apple-icon-120x120.png">
	<link rel="apple-touch-icon" sizes="144x144" href="<?php echo base_url();?>apple-icon-144x144.png">
	<link rel="apple-touch-icon" sizes="152x152" href="<?php echo base_url();?>apple-icon-152x152.png">
	<link rel="apple-touch-icon" sizes="180x180" href="<?php echo base_url();?>apple-icon-180x180.png">
	<link rel="icon" type="image/png" sizes="192x192"  href="<?php echo base_url();?>android-icon-192x192.png">
	<link rel="icon" type="image/png" sizes="32x32" href="<?php echo base_url();?>favicon-32x32.png">
	<link rel="icon" type="image/png" sizes="96x96" href="<?php echo base_url();?>favicon-96x96.png">
	<link rel="icon" type="image/png" sizes="16x16" href="<?php echo base_url();?>favicon-16x16.png">
	<link rel="manifest" href="<?php echo base_url();?>manifest.json">
	<meta name="msapplication-TileColor" content="#ffffff">
	<meta name="msapplication-TileImage" content="<?php echo base_url();?>ms-icon-144x144.png">
	<meta name="theme-color" content="#ffffff">
    
	<!-- Bootstrap -->
    <link rel="stylesheet" href="<?php echo base_url();?><?php echo $this->config->item('assets_css');?>bootstrap.css">
    <!-- end Google Font -->
    <link href='http://fonts.googleapis.com/css?family=Raleway:400,500,600,700,800,300' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Oswald:400,500,600,700,800,300' rel='stylesheet' type='text/css'>
    <!-- owl carousel SLIDER -->
    <link rel="stylesheet" href="<?php echo base_url();?><?php echo $this->config->item('assets_css');?>owl.carousel.css">
    <!-- end awesome icons -->
    <link rel="stylesheet" href="<?php echo base_url();?><?php echo $this->config->item('assets_css');?>font-awesome.css">
    <!-- lightbox -->
    <link href="<?php echo base_url();?><?php echo $this->config->item('assets_css');?>prettyPhoto.css" rel="stylesheet">
    
    <!-- Animation Effect CSS -->
    <link rel="stylesheet" href="<?php echo base_url();?><?php echo $this->config->item('assets_css');?>animation.css">
    <!-- Main Stylesheet CSS -->
    <link rel="stylesheet" href="<?php echo base_url();?><?php echo $this->config->item('assets_css');?>style.css">
    
    <!-- CSS
	
	================================================== -->
	<link rel="stylesheet" href="<?php echo base_url();?><?php echo $this->config->item('assets');?>signup/css/tmm_form_wizard_style_demo.css" />
	<link rel="stylesheet" href="<?php echo base_url();?><?php echo $this->config->item('assets');?>signup/css/grid.css" />
	<link rel="stylesheet" href="<?php echo base_url();?><?php echo $this->config->item('assets');?>signup/css/tmm_form_wizard_layout.css" />
	<link rel="stylesheet" href="<?php echo base_url();?><?php echo $this->config->item('assets');?>signup/css/fontello.css" />
    
    
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!--[if lt IE 9]>
	  <script src="<?php echo base_url();?><?php echo $this->config->item('assets_js');?>html5shiv.js"></script>
	  <script src="<?php echo base_url();?><?php echo $this->config->item('assets_js');?>respond.min.js"></script>
	<![endif]-->
	
	<style type="text/css">
		.pppt_form .lft-field { margin-right:10px; margin-bottom:8px;}
		.ccresult { color:#ff0000;}
		.needed { color:#ff0000; font-weight:bold;}
	
	</style>
	
</head>

<body id="page-top" data-spy="scroll" data-offset="25" data-target=".navbar-custom" class="blog-main">

<div class="animationload"><div class="loader">Loading...</div></div> <!-- End Preloader -->

    <!--/Header SECTION -->
    <?php
    	echo $header;
    ?>
    
    
    <!-- HOME INTRO -->
    <div id="intro">
        <div class="container">
            <div class="col-md-12">
            </div>
        </div>
    </div><!-- end wrap -->
    <section id="home" class="post-wrapper-top clearfix" style="height: 5px;background: #f6921e;">
        
    </section>
    
    <!-- POST WRAPPER SECTION -->
    <section id="tab"  class="post-wrapper-top clearfix" style="height:84px;display:none;">
        <div class="container">
            <div class="col-lg-12">
                <div class="pull-left">
                    <h2 style="padding: 5px 0;">Signup Form</h2>
                </div>
            </div>
        </div>
    </section><!-- end post-wrapper-top -->
    
   <!-- MAIN SINGLE BLOG POST SECTION -->
    <div class="main-content">
        <div class="container">
            <div class="col-md-12">
                    
       <!-- checkout div start -->
	   <!-- - - - - - - - - - - - - Content - - - - - - - - - - - - -  -->


		<div id="content">

			<div class="form-container">

				<div id="tmm-form-wizard" class="checkout-container substrate" style="-webkit-box-shadow: 7px 7px 7px 7px rgba(50, 50, 50, 0.3);">

					<div class="row">

						<div class="col-xs-12">
							<h2 class="form-login-heading">Sign Up - <span><?php echo $packageInfo['package_name'];?></span></h2>
						</div>

					</div><!--/ .row-->

					<div class="row stage-container">

						<div class="stage tmm-current col-md-3 col-sm-3 sec_head" id="account_top_head">
							<div class="stage-header head-icon head-icon-lock"></div>
							<div class="stage-content">
								<h3 class="stage-title">Account Information</h3>
								<div class="stage-info">
									provide your email, password for the account
								</div>
							</div>
						</div><!--/ .stage-->
						
						<div class="stage col-md-3 col-sm-3 sec_head" id="billing_top_head">
							<div class="stage-header head-icon head-icon-user"></div>
							<div class="stage-content">
								<h3 class="stage-title">Billing Information</h3>
								<div class="stage-info">
									Enter your billing details ex. address
									
								</div> 
							</div>
						</div><!--/ .stage-->
						
						<div class="stage  col-md-3 col-sm-3 sec_head" id="payment_top_head">
							<div class="stage-header head-icon head-icon-payment"></div>
							<div class="stage-content">
								<h3 class="stage-title">Payment Information</h3>
								<div class="stage-info">
									Enter your card information
									
								</div>
							</div>
						</div><!--/ .stage-->
						
						<div class="stage col-md-3 col-sm-3 sec_head" id="confirm_top_head">
							<div class="stage-header head-icon head-icon-details"></div>
							<div class="stage-content">
								<h3 class="stage-title">Charge Billing</h3>
								<div class="stage-info">
									Account Will Be Created if Valid Card Provided
								</div>
							</div>
						</div><!--/ .stage-->

					</div><!--/ .row-->


					
					<div class="row" id="account_information_header" style="">

						<div class="col-xs-12">

							<div class="form-header">
								<div class="form-title-2 form-icon title-icon-lock">
									<b>Account</b> Information

								</div>
								<div class="steps">
									Steps 1 - 4
								</div>
							</div><!--/ .form-header-->

						</div>

					</div><!--/ .row-->		
					
					<div class="row" id="billing_information_header" style="display:none;">

						<div class="col-xs-12">

							<div class="form-header">
								
								<div class="form-title form-icon title-icon-user">
									<b>Billing</b> Information
								</div>
								<div class="steps">
									Steps 2 - 4
								</div>
								
							</div><!--/ .form-header-->

						</div>

					</div><!--/ .row-->
					
					
					<div class="row"  id="payment_information_header" style="display:none;">

						<div class="col-xs-12">

							<div class="form-header">
								<div class="form-title-2 form-icon title-icon-card">
									<b>Payment</b> Information
								</div>
								<div class="steps">
									Steps 3 - 4
								</div>
							</div><!--/ .form-header-->

						</div>

					</div><!--/ .row-->
					
					<div class="row"  id="confirm_information_header" style="display:none;">

						<div class="col-xs-12">

							<div class="form-header">
								<div class="form-title form-icon title-icon-payment">
									<b>Confirm</b> Details
								</div>
								<div class="steps">
									Steps 4 - 4
								</div>
							</div><!--/ .form-header-->

						</div>

					</div><!--/ .row-->

					
					
														

					<form action="<?php echo base_url();?>chargemenow" id="myform" name="myform" method="post" enctype="multipart/form-data" onsubmit="" class="pppt_form" >
					
						<div class="form-wizard" id="account_information">
						
					

							<div class="row">
								
								<div class="col-md-8 col-sm-7">

									<fieldset class="input-block">
										<label for="email">Email <span class="needed">*</span></label>
										<input type="text" id="login_email" name="login_email" class="form-icon form-icon-mail" placeholder="Please Enter Your Email ID That Will be used for Login" onkeyup="checkFieldBack(this);" required />
										<div class="tooltip">
											<p>
												<b>Why do we need this info?</b>
												Lorem Ipsum is simply dummy text of the printing and
												typesetting industry. Lorem Ipsum has been the industry's
												standard dummy text ever since the 1500s
											</p>
											<span>Your information is Safe here & never shared.</span> 
										</div><!--/ .tooltip-->	
									</fieldset><!--/ .input-email-->

									
									<fieldset class="input-block">
										<label for="password">Password <span class="needed">*</span></label>
										<input type="password" name="acc_password" id="acc_password" placeholder="Password" onkeyup="checkFieldBack(this);" required />
										<div class="tooltip">
											<p>
												<b>Why do we need this info?</b>
												Lorem Ipsum is simply dummy text of the printing and
												typesetting industry. Lorem Ipsum has been the industry's
												standard dummy text ever since the 1500s
											</p>
											<span>Your information is Safe here & never shared.</span> 
										</div><!--/ .tooltip-->	
									</fieldset><!--/ .input-password-->
									
									<fieldset class="input-block">
										<label for="pass-confirm">Confirm Password <span class="needed">*</span></label>
										<input type="password" name="pass_confirm" id="pass_confirm" placeholder="Password" onkeyup="checkFieldBack(this);" required />
										<div class="tooltip">
											<p>
												<b>Why do we need this info?</b>
												Lorem Ipsum is simply dummy text of the printing and
												typesetting industry. Lorem Ipsum has been the industry's
												standard dummy text ever since the 1500s
											</p>
											<span>Your information is Safe here & never shared.</span> 
										</div><!--/ .tooltip-->	
									</fieldset><!--/ .input-conf-password-->
									

								</div>

							</div><!--/ .row-->
							
						</div><!--/ .form-wizard-->

						<div class="form-wizard" id="billing_information" style="display:none;">
							<div class="row">

								<div class="col-md-8 col-sm-7">
									<div class="row">
										<div class="col-md-4 col-sm-4">
											<div class="input-block">
												<label>Salutation <span class="needed">*</span></label>
												<div class="dropdown">
													<select name="salute" class="dropdown-select" onchange="checkFieldBack(this);">
														<option value="MR">Mr</option>
														<option value="MRS">Mrs</option>
														<option value="MISS">Miss</option>
														<option value="SIR">Sir</option>
													</select>
												</div><!--/ .dropdown-->
												<div class="tooltip">
													<p>
														<b>Why do we need this info?</b>
														Lorem Ipsum is simply dummy text of the printing and
														typesetting industry. Lorem Ipsum has been the industry's
														standard dummy text ever since the 1500s
													</p>
													<span>Your information is Safe here & never shared.</span> 
												</div><!--/ .tooltip-->	
											</div><!--/ .input-role-->
											
										</div>

										<div class="col-md-8 col-sm-8">

											<fieldset class="input-block">
												<label>Gender <span class="needed">*</span></label>
												<div class="dropdown">
													<select name="gender" class="dropdown-select" onchange="checkFieldBack(this);">
														<option value="M">Male</option>
														<option value="F">Female</option>
													</select>
												</div><!--/ .dropdown-->
												<div class="tooltip">
													<p>
														<b>Why do we need this info?</b>
														Lorem Ipsum is simply dummy text of the printing and
														typesetting industry. Lorem Ipsum has been the industry's
														standard dummy text ever since the 1500s
													</p>
													<span>Your information is Safe here & never shared.</span> 
												</div><!--/ .tooltip-->	
											</fieldset><!--/ .input-role-->
											
										</div>

									</div><!--/ .row-->

									<div class="row">
										
										<div class="col-md-6 col-sm-6">
											<fieldset class="input-block">
												<label for="first-name">First Name <span class="needed">*</span></label>
												<input type="text" name="first_name" id="first_name" placeholder="Name" onkeyup="checkFieldBack(this);" required />
												<div class="tooltip">
													<p>
														<b>Why do we need this info?</b>
														Lorem Ipsum is simply dummy text of the printing and
														typesetting industry. Lorem Ipsum has been the industry's
														standard dummy text ever since the 1500s
													</p>
													<span>Your information is Safe here & never shared.</span> 
												</div><!--/ .tooltip-->	
											</fieldset><!--/ .input-first-name-->
										</div>
										
										<div class="col-md-6 col-sm-6">
											<fieldset class="input-block">
												<label for="last-name">Last Name <span class="needed">*</span></label>
												<input type="text" name="last_name" id="last_name" placeholder="Last Name" onkeyup="checkFieldBack(this);" required />
												<div class="tooltip">
													<p>
														<b>Why do we need this info?</b>
														Lorem Ipsum is simply dummy text of the printing and
														typesetting industry. Lorem Ipsum has been the industry's
														standard dummy text ever since the 1500s
													</p>
													<span>Your information is Safe here & never shared.</span> 
												</div><!--/ .tooltip-->	
											</fieldset><!--/ .input-first-name-->
										</div>
										
									</div><!--/ .row-->

									<div class="row">
										
										<div class="col-md-12 col-sm-12">
											<fieldset class="input-block">
												<label for="email">Company Name </label>
												<input type="text" id="company_name" name="company_name" class="" placeholder="Please Enter Company Name (If Any)" required />
												<div class="tooltip">
													<p>
														<b>Why do we need this info?</b>
														Lorem Ipsum is simply dummy text of the printing and
														typesetting industry. Lorem Ipsum has been the industry's
														standard dummy text ever since the 1500s
													</p>
													<span>Your information is Safe here & never shared.</span> 
												</div><!--/ .tooltip-->	
											</fieldset><!--/ .input-email-->
										</div>
										
									</div><!--/ .row-->
									
									<div class="row">
										
										<div class="col-md-12 col-sm-12">
											<fieldset class="input-block">
												<label for="phone">Business Phone</label>
												<input type="text" name="business_phone" id="business_phone" class="form-icon form-icon-phone" placeholder="Number" onkeyup="checkFieldBack(this);" required />
												<div class="tooltip">
													<p>
														<b>Why do we need this info?</b>
														Lorem Ipsum is simply dummy text of the printing and
														typesetting industry. Lorem Ipsum has been the industry's
														standard dummy text ever since the 1500s
													</p>
													<span>Your information is Safe here & never shared.</span> 
												</div><!--/ .tooltip-->	
											</fieldset><!--/ .input-phone-->
										</div><!--/ .input-phone-->
										
									</div><!--/ .row-->
									<div class="row">
										
										<div class="col-md-12 col-sm-12">
											<fieldset class="input-block">
												<label for="phone">Mobile</label>
												<input type="text" name="mobile" id="mobile" class="form-icon form-icon-phone" placeholder="Number" onkeyup="checkFieldBack(this);" required />
												<div class="tooltip">
													<p>
														<b>Why do we need this info?</b>
														Lorem Ipsum is simply dummy text of the printing and
														typesetting industry. Lorem Ipsum has been the industry's
														standard dummy text ever since the 1500s
													</p>
													<span>Your information is Safe here & never shared.</span> 
												</div><!--/ .tooltip-->	
											</fieldset><!--/ .input-phone-->
										</div><!--/ .input-phone-->
										
									</div><!--/ .row-->
									

									<div class="row">

										<div class="col-md-12 col-sm-12">
											<fieldset class="input-block">
												<label for="address">Address Line <span class="needed">*</span></label>
												<input type="text" name="address1" id="address1" placeholder="Address" onkeyup="checkFieldBack(this);" required />
												<div class="tooltip">
													<p>
														<b>Why do we need this info?</b>
														Lorem Ipsum is simply dummy text of the printing and
														typesetting industry. Lorem Ipsum has been the industry's
														standard dummy text ever since the 1500s
													</p>
													<span>Your information is Safe here & never shared.</span> 
												</div><!--/ .tooltip-->	
											</fieldset><!--/ .input-phone-->
										</div>
										
									</div><!--/ .row-->

									<div class="row">

										<div class="col-md-12 col-sm-12">
											<fieldset class="input-block">
												<label for="address">City <span class="needed">*</span></label>
												<input type="text" name="city" id="city" placeholder="City" onkeyup="checkFieldBack(this);" required />
												<div class="tooltip">
													<p>
														<b>Why do we need this info?</b>
														Lorem Ipsum is simply dummy text of the printing and
														typesetting industry. Lorem Ipsum has been the industry's
														standard dummy text ever since the 1500s
													</p>
													<span>Your information is Safe here & never shared.</span> 
												</div><!--/ .tooltip-->	
											</fieldset><!--/ .input-phone-->
										</div>
										
									</div><!--/ .row-->
									<div class="row">
										
										<div class="col-md-12 col-sm-12">
											<div class="input-block">
												<label>Select Country <span class="needed">*</span></label>
												<div class="dropdown">
													
													<select name="country" id="country" class="dropdown-select" onchange="checkFieldBack(this);"> 
													                 		<option value="">Please Select</option> 
													                 		<option value="US" >United States</option>
													                 		<option value="BD"> Bangladesh</option>
													                        <option value="CA" >Canada</option>
													                        <option value="UK" >United Kingdom</option>
																			<option value="AU" >Australia</option>
																			<option value="AF" >Afghanistan</option>
													                        <option value="AL" >Albania</option>
													                        <option value="DZ" >Algeria</option>
													                        <option value="AS" >American Samoa</option>
													                        <option value="AD" >Andorra</option>
													                        <option value="AO" >Angola</option>
													                        <option value="AI" >Anguilla</option>
													                        <option value="AQ" >Antarctica</option>
													                        <option value="AG" >Antigua and Barbuda</option>
													                        <option value="AR" >Argentina</option>
													                        <option value="AM" >Armenia</option>
													                        <option value="AW">Aruba</option>
													                        <option value="AT">Austria</option>
													                        <option value="AZ">Azerbaijan</option>
													                        <option value="BS">Bahamas</option>
													                        <option value="BH">Bahrain</option>
													                        <option value="BD">Bangladesh</option>
													                        <option value="BB">Barbados</option>
													                        <option value="BY">Belarus</option>
													                        <option value="BE">Belgium</option>
													                        <option value="BZ">Belize</option>
													                        <option value="BJ">Benin</option>
													                        <option value="BM">Bermuda</option>
													                        <option value="BT">Bhutan</option>
													                        <option value="BO">Bolivia</option>
													                        <option value="BA">Bosnia and Herzegovina</option>
													                        <option value="BW">Botswana</option>
													                        <option value="BR">Brazil</option>
													                        <option value="BN">Brunei Darussalam</option>
													                        <option value="BG">Bulgaria</option>
													                        <option value="BF">Burkina Faso</option>
													                        <option value="BI">Burundi</option>
													                        <option value="KH">Cambodia</option>
													                        <option value="CM">Cameroon</option>
													                        <option value="CV">Cape Verde</option>
													                        <option value="KY">Cayman Islands</option>
													                        <option value="CF">Central African Republic</option>
													                        <option value="TD">Chad</option>
													                        <option value="CL">Chile</option>
													                        <option value="CN">China</option>
													                        <option value="CX">Christmas Island</option>
													                        <option value="CC">Cocos (Keeling) Islands</option>
													                        <option value="CO">Colombia</option>
													                        <option value="KM">Comoros</option>
													                        <option value="CG">Congo</option>
													                        <option value="CD">Congo, The Democratic Republic of the</option>
													                        <option value="CK">Cook Islands</option>
													                        <option value="CR">Costa Rica</option>
													                        <option value="CI">Cote D`Ivoire</option>
													                        <option value="HR">Croatia</option>
													                        <option value="CY">Cyprus</option>
													                        <option value="CZ">Czech Republic</option>
													                        <option value="DK">Denmark</option>
													                        <option value="DJ">Djibouti</option>
													                        <option value="DM">Dominica</option>
													                        <option value="DO">Dominican Republic</option>
													                        <option value="EC">Ecuador</option>
													                        <option value="EG">Egypt</option>
													                        <option value="SV">El Salvador</option>
													                        <option value="GQ">Equatorial Guinea</option>
													                        <option value="ER">Eritrea</option>
													                        <option value="EE">Estonia</option>
													                        <option value="ET">Ethiopia</option>
													                        <option value="FK">Falkland Islands (Malvinas)</option>
													                        <option value="FO">Faroe Islands</option>
													                        <option value="FJ">Fiji</option>
													                        <option value="FI">Finland</option>
													                        <option value="FR">France</option>
													                        <option value="GF">French Guiana</option>
													                        <option value="PF">French Polynesia</option>
													                        <option value="GA">Gabon</option>
													                        <option value="GM">Gambia</option>
													                        <option value="GE">Georgia</option>
													                        <option value="DE">Germany</option>
													                        <option value="GH">Ghana</option>
													                        <option value="GI">Gibraltar</option>
													                        <option value="GR">Greece</option>
													                        <option value="GL">Greenland</option>
													                        <option value="GD">Grenada</option>
													                        <option value="GP">Guadeloupe</option>
													                        <option value="GU">Guam</option>
													                        <option value="GT">Guatemala</option>
													                        <option value="GN">Guinea</option>
													                        <option value="GW">Guinea-Bissau</option>
													                        <option value="GY">Guyana</option>
													                        <option value="HT">Haiti</option>
													                        <option value="HN">Honduras</option>
													                        <option value="HK">Hong Kong</option>
													                        <option value="HU">Hungary</option>
													                        <option value="IS">Iceland</option>
													                        <option value="IN">India</option>
													                        <option value="ID">Indonesia</option>
													                        <option value="IR">Iran (Islamic Republic Of)</option>
													                        <option value="IQ">Iraq</option>
													                        <option value="IE">Ireland</option>
													                        <option value="IL">Israel</option>
													                        <option value="IT">Italy</option>
													                        <option value="JM">Jamaica</option>
													                        <option value="JP">Japan</option>
													                        <option value="JO">Jordan</option>
													                        <option value="KZ">Kazakhstan</option>
													                        <option value="KE">Kenya</option>
													                        <option value="KI">Kiribati</option>
													                        <option value="KP">Korea North</option>
													                        <option value="KR">Korea South</option>
													                        <option value="KW">Kuwait</option>
													                        <option value="KG">Kyrgyzstan</option>
													                        <option value="LA">Laos</option>
													                        <option value="LV">Latvia</option>
													                        <option value="LB">Lebanon</option>
													                        <option value="LS">Lesotho</option>
													                        <option value="LR">Liberia</option>
													                        <option value="LI">Liechtenstein</option>
													                        <option value="LT">Lithuania</option>
													                        <option value="LU">Luxembourg</option>
													                        <option value="MO">Macau</option>
													                        <option value="MK">Macedonia</option>
													                        <option value="MG">Madagascar</option>
													                        <option value="MW">Malawi</option>
													                        <option value="MY">Malaysia</option>
													                        <option value="MV">Maldives</option>
													                        <option value="ML">Mali</option>
													                        <option value="MT">Malta</option>
													                        <option value="MH">Marshall Islands</option>
													                        <option value="MQ">Martinique</option>
													                        <option value="MR">Mauritania</option>
													                        <option value="MU">Mauritius</option>
													                        <option value="MX">Mexico</option>
													                        <option value="FM">Micronesia</option>
													                        <option value="MD">Moldova</option>
													                        <option value="MC">Monaco</option>
													                        <option value="MN">Mongolia</option>
													                        <option value="MS">Montserrat</option>
													                        <option value="MA">Morocco</option>
													                        <option value="MZ">Mozambique</option>
													                        <option value="NA">Namibia</option>
													                        <option value="NP">Nepal</option>
													                        <option value="NL">Netherlands</option>
													                        <option value="AN">Netherlands Antilles</option>
													                        <option value="NC">New Caledonia</option>
													                        <option value="NZ">New Zealand</option>
													                        <option value="NI">Nicaragua</option>
													                        <option value="NE">Niger</option>
													                        <option value="NG">Nigeria</option>
													                        <option value="NO">Norway</option>
													                        <option value="OM">Oman</option>
													                        <option value="PK">Pakistan</option>
													                        <option value="PW">Palau</option>
													                        <option value="PS">Palestine Autonomous</option>
													                        <option value="PA">Panama</option>
													                        <option value="PG">Papua New Guinea</option>
													                        <option value="PY">Paraguay</option>
													                        <option value="PE">Peru</option>
													                        <option value="PH">Philippines</option>
													                        <option value="PL">Poland</option>
													                        <option value="PT">Portugal</option>
													                        <option value="PR">Puerto Rico</option>
													                        <option value="QA">Qatar</option>
													                        <option value="RE">Reunion</option>
													                        <option value="RO">Romania</option>
													                        <option value="RU">Russian Federation</option>
													                        <option value="RW">Rwanda</option>
													                        <option value="VC">Saint Vincent and the Grenadines</option>
													                        <option value="MP">Saipan</option>
													                        <option value="SM">San Marino</option>
													                        <option value="SA">Saudi Arabia</option>
													                        <option value="SN">Senegal</option>
													                        <option value="SC">Seychelles</option>
													                        <option value="SL">Sierra Leone</option>
													                        <option value="SG">Singapore</option>
													                        <option value="SK">Slovak Republic</option>
													                        <option value="SI">Slovenia</option>
													                        <option value="SO">Somalia</option>
													                        <option value="ZA">South Africa</option>
													                        <option value="ES">Spain</option>
													                        <option value="LK">Sri Lanka</option>
													                        <option value="KN">St. Kitts/Nevis</option>
													                        <option value="LC">St. Lucia</option>
													                        <option value="SD">Sudan</option>
													                        <option value="SR">Suriname</option>
													                        <option value="SZ">Swaziland</option>
													                        <option value="SE">Sweden</option>
													                        <option value="CH">Switzerland</option>
													                        <option value="SY">Syria</option>
													                        <option value="TW">Taiwan</option>
													                        <option value="TI">Tajikistan</option>
													                        <option value="TZ">Tanzania</option>
													                        <option value="TH">Thailand</option>
													                        <option value="TG">Togo</option>
													                        <option value="TK">Tokelau</option>
													                        <option value="TO">Tonga</option>
													                        <option value="TT">Trinidad and Tobago</option>
													                        <option value="TN">Tunisia</option>
													                        <option value="TR">Turkey</option>
													                        <option value="TM">Turkmenistan</option>
													                        <option value="TC">Turks and Caicos Islands</option>
													                        <option value="TV">Tuvalu</option>
													                        <option value="UG">Uganda</option>
													                        <option value="UA">Ukraine</option>
													                        <option value="AE">United Arab Emirates</option>
													                        <option value="UY">Uruguay</option>
													                        <option value="UZ">Uzbekistan</option>
													                        <option value="VU">Vanuatu</option>
													                        <option value="VE">Venezuela</option>
													                        <option value="VN">Viet Nam</option>
													                        <option value="VG">Virgin Islands (British)</option>
													                        <option value="VI">Virgin Islands (U.S.)</option>
													                        <option value="WF">Wallis and Futuna Islands</option>
													                        <option value="YE">Yemen</option>
													                        <option value="YU">Yugoslavia</option>
													                        <option value="ZM">Zambia</option>
													                        <option value="ZW">Zimbabwe</option>
													                    </select>													
												</div><!--/ .dropdown-->
												<div class="tooltip">
													<p>
														<b>Why do we need this info?</b>
														Lorem Ipsum is simply dummy text of the printing and
														typesetting industry. Lorem Ipsum has been the industry's
														standard dummy text ever since the 1500s
													</p>
													<span>Your information is Safe here & never shared.</span> 
												</div><!--/ .tooltip-->	
											</div><!--/ .input-country-->
										</div>
										
									</div><!--/ .row-->
									
									<div class="row">

										
										
										<div class="col-md-8 col-sm-8">
											<fieldset class="input-block">
												<label for="last-name">Select State <span class="needed">*</span></label>
												<div class="dropdown">
													<select name="state" id="state" class="dropdown-select" onchange="stateAreaCheck(this);">
								                        <option value="">Please Select</option>
								                         <optgroup label="Bangladesh Provinces">
								                             <option value="Dhaka">Dhaka</option>
								                             <option value="Chittagong">Chittagong</option>
								                             <option value="Rajshahi">Rajshahi</option>
								                             <option value="Khulna">Khulna</option>
								                             <option value="Barisal">Barisal</option>
								                             <option value="Sylhet">Sylhet</option>
								                             <option value="Rangpur">Rangpur</option>
								                             <option value="Rangpur">Rangpur</option>
								                         </optgroup>
								                         <optgroup label="Australian Provinces">
								                             <option value="NSW">New South Wales</option>
								                             <option value="QLD">Queensland</option>
								                             <option value="SA">South Australia</option>
								                             <option value="TAS">Tasmania</option>
								                             <option value="VIC">Victoria</option>
								                             <option value="WA">Western Australia</option>
								                             <option value="ACT">Australian Capital Territory</option>
								                             <option value="NT">Northern Territory</option>
								                         </optgroup>
								                         <optgroup label="Canadian Provinces">
								                             <option value="AB">Alberta</option>
								                             <option value="BC">British Columbia</option>
								                             <option value="MB">Manitoba</option>
								                             <option value="NB">New Brunswick</option>
								                             <option value="NF">Newfoundland</option>
								                             <option value="NT">Northwest Territories</option>
								                             <option value="NS">Nova Scotia</option>
								                             <option value="NVT">Nunavut</option>
								                             <option value="ON">Ontario</option>
								                             <option value="PE">Prince Edward Island</option>
								                             <option value="QC">Quebec</option>
								                             <option value="SK">Saskatchewan</option>
								                             <option value="YK">Yukon</option>
								                         </optgroup>
								                         <optgroup label="US States">
								                             <option value="AL">Alabama</option>
								                             <option value="AK">Alaska</option>
								                             <option value="AZ">Arizona</option>
								                             <option value="AR">Arkansas</option>
								                             <option value="BVI">British Virgin Islands</option>
								                             <option value="CA">California</option>
								                             <option value="CO">Colorado</option>
								                             <option value="CT">Connecticut</option>
								                             <option value="DE">Delaware</option>
								                             <option value="FL">Florida</option>
								                             <option value="GA">Georgia</option>
								                             <option value="GU">Guam</option>
								                             <option value="HI">Hawaii</option>
								                             <option value="ID">Idaho</option>
								                             <option value="IL">Illinois</option>
								                             <option value="IN">Indiana</option>
								                             <option value="IA">Iowa</option>
								                             <option value="KS">Kansas</option>
								                             <option value="KY">Kentucky</option>
								                             <option value="LA">Louisiana</option>
								                             <option value="ME">Maine</option>
								                             <option value="MP">Mariana Islands</option>
								                             <option value="MPI">Mariana Islands (Pacific)</option>
								                             <option value="MD">Maryland</option>
								                             <option value="MA">Massachusetts</option>
								                             <option value="MI">Michigan</option>
								                             <option value="MN">Minnesota</option>
								                             <option value="MS">Mississippi</option>
								                             <option value="MO">Missouri</option>
								                             <option value="MT">Montana</option>
								                             <option value="NE">Nebraska</option>
								                             <option value="NV">Nevada</option>
								                             <option value="NH">New Hampshire</option>
								                             <option value="NJ">New Jersey</option>
								                             <option value="NM">New Mexico</option>
								                             <option value="NY">New York</option>
								                             <option value="NC">North Carolina</option>
								                             <option value="ND">North Dakota</option>
								                             <option value="OH">Ohio</option>
								                             <option value="OK">Oklahoma</option>
								                             <option value="OR">Oregon</option>
								                             <option value="PA">Pennsylvania</option>
								                             <option value="PR">Puerto Rico</option>
								                             <option value="RI">Rhode Island</option>
								                             <option value="SC">South Carolina</option>
								                             <option value="SD">South Dakota</option>
								                             <option value="TN">Tennessee</option>
								                             <option value="TX">Texas</option>
								                             <option value="UT">Utah</option>
								                             <option value="VT">Vermont</option>
								                             <option value="USVI">VI  U.S. Virgin Islands</option>
								                             <option value="VA">Virginia</option>
								                             <option value="WA">Washington</option>
								                             <option value="DC">Washington, D.C.</option>
								                             <option value="WV">West Virginia</option>
								                             <option value="WI">Wisconsin</option>
								                             <option value="WY">Wyoming</option>
								                         </optgroup>
								                          <option value="N/A"  <?php echo $state=="N/A"?"selected":""?>>Other</option>
								                       </select>
												</div><!--/ .dropdown-->
												<div class="tooltip">
													<p>
														<b>Why do we need this info?</b>
														State List
													</p>
													<span>Your information is Safe here &amp; never shared.</span> 
												</div><!--/ .tooltip-->	
											</fieldset><!--/ .input-state-->
										</div>
										
										<div class="col-md-4 col-sm-4 other_state_div" style="display:none;">
											<fieldset class="input-block">
												<label for="other_state">Other State <span class="needed">*</span></label>
												<input type="text" name="other_state" id="other_state"  onkeyup="checkFieldBack(this);stateAreaCheck(this);" placeholder="State Name"  />
												<div class="tooltip">
													<p>
														<b>Why do we need this info?</b>
														State List
													</p>
													<span>Your information is Safe here &amp; never shared.</span> 
												</div><!--/ .tooltip-->	
											</fieldset><!--/ .code-->
										</div>										
										
									</div><!--/ .row-->		
									
									<div class="row">
									<div class="col-md-4 col-sm-4">
											<fieldset class="input-block">
												<label for="zip-code">Zip Code <span class="needed">*</span></label>
												<input type="text" name="zip_code" id="zip_code" placeholder="Code"  onkeyup="checkFieldBack(this);" required />
												<div class="tooltip">
													<p>
														<b>Why do we need this info?</b>
														State List
													</p>
													<span>Your information is Safe here &amp; never shared.</span> 
												</div><!--/ .tooltip-->	
											</fieldset><!--/ .code-->
										</div>
									 </div><!--/ .row-->										

								</div>

							</div><!--/ .row-->
							
						</div><!--/ .form-wizard-->
						
						<div class="form-wizard" id="payment_information" style="display:none;">
							<div class="row">

								<div class="col-md-8 col-sm-7">

									<div class="row" style="height:20px;">
									
									</div>
									<div class="clearfix"></div>
									<div class="row">
										<div class="col-md-12 col-sm-12">
											<fieldset class="input-block">
												<label>Card Type</label>
												 <input name="cctype"  type="radio" value="V" class="lft-field" /> <img src="<?php echo base_url();?><?php echo $this->config->item('assets_images');?>ico_visa.jpg" align="absmiddle" class="lft-field cardhide V" />
								                 <input name="cctype"  type="radio" value="M" class="lft-field" /> <img src="<?php echo base_url();?><?php echo $this->config->item('assets_images');?>ico_mc.jpg" align="absmiddle" class="lft-field cardhide M" />
								                 <input name="cctype"  type="radio" value="A" class="lft-field" /> <img src="<?php echo base_url();?><?php echo $this->config->item('assets_images');?>ico_amex.jpg" align="absmiddle" class="lft-field cardhide A" />
								                 <input name="cctype"  type="radio" value="D" class="lft-field" /> <img src="<?php echo base_url();?><?php echo $this->config->item('assets_images');?>ico_disc.jpg" align="absmiddle" class="lft-field cardhide D" />
								                 <!-- input name="cctype" id="cctype" type="radio" value="PP" class="lft-field isPayPal"  /> <img src="<?php echo base_url();?><?php echo $this->config->item('assets_images');?>ico_paypal.png" width="37" height="11"  align="absmiddle" class="lft-field paypal cardhide PP"  / -->
											</fieldset><!--/ .input-card-type-->
										</div>
									</div><!--/ .row-->

									<div class="row">
										<div class="col-md-9 col-sm-9">
											<fieldset class="input-block">
												<label for="card-number">Card Number <span class="needed">*</span></label>
												<input type="text" name="card_number" id="card_number" placeholder="Card Number" required type="text" class="long-field"  onkeyup="checkNumHighlight(this.value);checkFieldBack(this);noAlpha(this);" value="" onkeypress="checkNumHighlight(this.value);noAlpha(this);" onblur="checkNumHighlight(this.value);checkFieldBack(this);" onchange="checkNumHighlight(this.value);checkFieldBack(this);" maxlength="16" />
												<span class="ccresult"></span>
												
												<div class="tooltip">
													<p>
														<b>Why do we need this info?</b>
														Lorem Ipsum is simply dummy text of the printing and
														typesetting industry. Lorem Ipsum has been the industry's
														standard dummy text ever since the 1500s
													</p>
													<span>Your information is Safe here & never shared.</span> 
												</div><!--/ .tooltip-content-->
											</fieldset><!--/ .input-cardnumber-->
										</div>
										
										<div class="col-md-3 col-sm-3">
											<fieldset class="input-block">
												<label for="cvc">CVC <span class="needed">*</span></label>
												<input type="text" name="cvc" id="cvc" placeholder="CVC" onkeyup="checkFieldBack(this);noAlpha(this);"  required />
												<div class="tooltip">
													<p>
														<b>Why do we need this info?</b>
														Lorem Ipsum is simply dummy text of the printing and
														typesetting industry. Lorem Ipsum has been the industry's
														standard dummy text ever since the 1500s
													</p>
													<span>Your information is Safe here & never shared.</span> 
												</div><!--/ .tooltip-content-->
											</fieldset><!--/ .input-cvc-->
										</div>
										
									</div><!--/ .row-->

									<div class="row">
										
										<div class="col-md-12 col-sm-12">
											<fieldset class="input-block">
												<label for="card-holder">Card Holder Name <span class="needed">*</span></label>
												<input type="text" name="card_holder_name" id="card_holder_name" class="form-icon form-icon-user" placeholder="Name On Card" onkeyup="checkFieldBack(this);" required />
												<div class="tooltip">
													<p>
														<b>Why do we need this info?</b>
														Lorem Ipsum is simply dummy text of the printing and
														typesetting industry. Lorem Ipsum has been the industry's
														standard dummy text ever since the 1500s
													</p>
													<span>Your information is Safe here & never shared.</span> 
												</div><!--/ .tooltip-content-->
											</fieldset><!--/ .input-holder-->
										</div>
										
									</div><!--/ .row-->

									<div class="row">
										
										<div class="col-md-3 col-sm-4">
											
											<fieldset class="input-block">
												<label>Expiry Month</label>
												<div class="dropdown">
													<select name="exp_month" id="exp_month" class="dropdown-select" onchange="checkFieldBack(this);">
														<option value="1">01</option>
														<option value="2">02</option>
														<option value="3">03</option>
														<option value="4">04</option>
														<option value="5">05</option>
														<option value="6">06</option>
														<option value="7">07</option>
														<option value="8">08</option>
														<option value="9">09</option>
														<option value="10">10</option>
														<option value="11">11</option>
														<option value="12">12</option>
													</select>
												</div><!--/ .dropdown-->
											</fieldset><!--/ .input-month-->
											
										</div>

										<div class="col-md-3 col-sm-4">

											<fieldset class="input-block">
												<label>Expiry Year</label>
												<div class="dropdown">
													<select name="exp_year" id="exp_year" class="dropdown-select" onchange="checkFieldBack(this);">
														<?php 
														$tmp_year = date('Y');
														for ($i=$tmp_year;$i<=($tmp_year+10);$i++)
														{
														?>
														<option value="<?php echo $i;?>"><?php echo $i;?></option>
														<?php 
														}
														?>														
														
													</select>
												</div><!--/ .dropdown-->
											</fieldset><!--/ .input-year-->

										</div>

									</div><!--/ .row-->

									<div class="row" style="padding:20px;">
									</div><!--/ .row-->
									
									<div class="row">
										
										<div class="col-md-12 col-sm-7">
											
											<fieldset class="input-block">
												<input type="checkbox" name="agreewithtermsandcondition" id="agreewithtermsandcondition" value="1"/> I have read the <a href="<?php echo $this->config->item('taskgum_tc');?>" target="_blank" style="font-weight:bold;text-decoration:underline;">Terms and Condition</a>, I solely agree with it. After clicking the "Next Step - Charge Me Now" button, I will be billed.

											</fieldset>

										</div>
									</div><!--/ .row-->
									

								</div>

							</div><!--/ .row-->
						
						</div><!--/ .form-wizard-->
						
						<div class="form-wizard" id="confirm_information" style="display:none;">
							<div class="row">

								<div class="col-md-12 col-sm-7">

									<div class="data-container">
										<dl>
											<dt>Login Email</dt>
											<dd>a.r.zerin@gmail.com</dd>
										</dl>
										<dl>
											<dt>Password</dt>
											<dd>123456</dd>
										</dl>
										<dl>
											<dt>Full Name</dt>
											<dd>John Doe</dd>
										</dl>
										<dl>
											<dt>Gender</dt>
											<dd>Male</dd>
										</dl>
										<dl>
											<dt>Business Phone</dt>
											<dd>325-555-1234</dd>
										</dl>
										<dl>
											<dt>Mobile</dt>
											<dd>325-555-1234</dd>
										</dl>

										<dl>
											<dt>Address</dt>
											<dd>111 W.App Ave. Suite 123, Sunway, CA</dd>
										</dl>
										<dl>
											<dt>City</dt>
											<dd>USA</dd>
										</dl>
										<dl>
											<dt>Country</dt>
											<dd>USA</dd>
										</dl>
										<dl>
											<dt>State</dt>
											<dd>IL</dd>
										</dl>

										<dl>
											<dt>Zip</dt>
											<dd>94086</dd>
										</dl>
										<dl>
											<dt>Card Type</dt>
											<dd>Visa</dd>
										</dl>
										<dl>
											<dt>Card No</dt>
											<dd>4519-1235-9869-4321</dd>
										</dl>
										<dl>
											<dt>Card CVV</dt>
											<dd>4519-1235-9869-4321</dd>
										</dl>

										<dl>
											<dt>Card Expire Date</dt>
											<dd>4519-1235-9869-4321 (mm/YYYY)</dd>
										</dl>

									</div><!--/ .data-container-->

								</div>

							</div><!--/ .row-->
						
						</div><!--/ .form-wizard-->
						

						<div class="prev" style="display:none;">
							<button class="button button-control" type="button" onclick="javascript:backwardstepwisediv();"><span class="prevstep">Prev Step <b>Personal Information</b></span></button>
							<div class="button-divider"></div>
						</div>
						
						<div class="next">
							<button class="button button-control" type="button" onclick="javascript:forwardstepwisediv();"><span class="nextstep">Next Step <b>Billing Details</b></span></button>
							<div class="button-divider"></div>
						</div>

						<input type="hidden" name="package_id" id="package_id" value="<?php echo $package_id;?>" />
						<input type="hidden" name="subscription_type" id="subscription_type" value="<?php echo $subscription_type;?>" />

					</form><!--/ .form-wizard-->

				</div><!--/ .container-->
				
			</div><!--/ .form-container-->

		</div><!--/ #content-->
                    
                    <!-- checkout div end -->    
                    
               <div class="clearfix"></div>
            </div> <!--end column -->
        </div> <!--end container -->
    </div><!--end main-content -->
	
	
    
   
   <?php
	echo $footer;
	?>
     
    <!-- SECTION CLOSED -->
     
    <script src="<?php echo base_url();?><?php echo $this->config->item('assets_js');?>jquery.js"></script>
    <script src="<?php echo base_url();?><?php echo $this->config->item('assets_js');?>bootstrap.js"></script>
    <script src="<?php echo base_url();?><?php echo $this->config->item('assets_js');?>smooth-scroll.js"></script>
    <script src="<?php echo base_url();?><?php echo $this->config->item('assets_js');?>jquery.parallax-1.1.3.js"></script>
    <script src="<?php echo base_url();?><?php echo $this->config->item('assets_js');?>jquery.easypiechart.min.js"></script>
    <script src="<?php echo base_url();?><?php echo $this->config->item('assets_js');?>owl.carousel.js"></script>
    <script src="<?php echo base_url();?><?php echo $this->config->item('assets_js');?>jquery.jigowatt.js"></script>
    <script src="<?php echo base_url();?><?php echo $this->config->item('assets_js');?>custom2.js"></script>
    <script src="<?php echo base_url();?><?php echo $this->config->item('assets_js');?>jquery.unveilEffects.js"></script>
    <script src="<?php echo base_url();?><?php echo $this->config->item('assets_js');?>jquery.isotope.min.js"></script>
    <script src="<?php echo base_url();?><?php echo $this->config->item('assets_js');?>custom-portfolio-masonry.js"></script>
    <script src="<?php echo base_url();?><?php echo $this->config->item('assets_js');?>ccvalidations.js"></script>
    
    <!-- Animation Scripts-->
    <script src="<?php echo base_url();?><?php echo $this->config->item('assets_js');?>scrollReveal.js"></script>
    <script>
            (function($) {
            "use strict"
                window.scrollReveal = new scrollReveal();
            })(jQuery);
    </script>
    
       
        <script>
        currentstep = 1;  
        function forwardstepwisediv()
        {
        	if (currentstep==4)
        	{	
        		
        		$('#confirm_top_head').addClass('tmm-success');
    			is_incomplete = isValidAccountForm();
    			if (is_incomplete==false)
    				return false;
								
    			is_incomplete = isValidBillingForm();
    			if (is_incomplete==false)
    				return false;				

    			is_incomplete = isValidPaymentForm();
    			if (is_incomplete==false)
    				return false;				
            	
        		document.myform.submit();
        		
        	}else{	
        		currentstep=currentstep+1;
        	}
        	changeformdiv();

        }
        function backwardstepwisediv()
        {
        	if (currentstep==1)
        	{	
            	
        	}else{	
        		currentstep=currentstep-1;
        	}
        	changeformdiv();

        }

        function hideallsec()
        {
        	$('#account_information_header').hide();
        	$('#billing_information_header').hide();
        	$('#payment_information_header').hide();
        	$('#confirm_information_header').hide();
        	
        	$('#account_information').hide();
        	$('#billing_information').hide();
        	$('#payment_information').hide();
        	$('#confirm_information').hide();
        	//$('.sec_head').removeClass('tmm-current');
            
        }
        
        function changeformdiv()
        {
            is_incomplete = 0;
            
        	console.log('current step:'+currentstep);

        	if (currentstep==1)
			{
        		hideallsec();
				$('#account_information_header').show();
				$('#account_information').show();
				$('.nextstep').html('Next Step <b>Billing Details</b>');
				
				$('.prev').hide();
			}        	
			if (currentstep==2)
			{
				is_incomplete = isValidAccountForm();
				if (is_incomplete==false){
					currentstep = currentstep - 1;
					return;
				}	
				hideallsec();
				$('#account_top_head').addClass('tmm-success');
				$('#billing_information_header').show();
				$('#billing_information').show();
				$('#billing_top_head').addClass('tmm-current');
				$('.nextstep').html('Next Step <b>Payment Details</b>');
				$('.nextstep').html('Next Step <b>Payment Details</b>');
				$('.prev').show();
				$('.prevstep').html('Previous Step <b>Account Information</b>');
				
				
			}
			if (currentstep==3)
			{
				is_incomplete = isValidBillingForm();
				if (is_incomplete==false){
					currentstep = currentstep - 1;
					return;
				}	
				hideallsec();
				$('#billing_top_head').addClass('tmm-success');
				$('#payment_information_header').show();
				$('#payment_information').show();
				$('#payment_top_head').addClass('tmm-current');
				$('.nextstep').html('Next Step <b>Charge Me Now</b>');
				$('.prev').show();
				$('.prevstep').html('Previous Step <b>Billing Information</b>');
			}
			if (currentstep==4)
			{
				is_incomplete = isValidPaymentForm();
				if (is_incomplete==false){
					currentstep = currentstep - 1;
					return;
				}	
				

				$('#payment_top_head').addClass('tmm-success');
				$('#confirm_top_head').addClass('tmm-current');

				var r = confirm("We will create your account now?");
				if (r == true) {
					$('#confirm_top_head').addClass('tmm-success');
					setTimeout(proceedBilling, 2000);
				} else {
					currentstep = currentstep - 1;
				}

				
        					

				/*
				hideallsec();
				$('#payment_top_head').addClass('tmm-success');
				$('#confirm_top_head').addClass('tmm-success');
				$('#confirm_information_header').show();
				$('#confirm_information').show();
				$('#confirm_top_head').addClass('tmm-current');
				$('.nextstep').html('Next Step <b>Proceed To Checkout</b>');
				$('.prev').show();
				$('.prevstep').html('Previous Step <b>Payment Information</b>');
				*/
			}

        }
        function proceedBilling()
        {
        	document.myform.submit();	
        }
        
        $(document).ready(function (){
             $('html, body').animate({
        			scrollTop: $("#page-top").offset().top
    				}, 500);

             $("input[name=card_number]").bind('paste', function(e) {
                 var el = $(this);
                 setTimeout(function() {
                     var text = $(el).val();
                     resetCCHightlight();
                     checkNumHighlight(text);
                 }, 100);
         	});
				
        });

            
    </script>
    
	<script type="text/JavaScript">

		function isValidAccountForm() {
			var err=0;

			
			var reg1 = /(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/; // not valid
			var reg2 = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,5}|[0-9]{1,3})(\]?)$/; // valid
			if (document.getElementById('login_email').value==0 || !reg2.test(document.getElementById('login_email').value)) {
				if (err==0) {
					document.getElementById('login_email').focus();
				}
				document.getElementById('login_email').style.backgroundColor='#ffa5a5';
				err=1;
			}
			
			if (document.getElementById('acc_password').value==0) {
			    if (err==0) {
			        document.getElementById('acc_password').focus();
			    }
			    document.getElementById('acc_password').style.backgroundColor='#ffa5a5';
			    err=1;
			}			
			if (document.getElementById('pass_confirm').value==0) {
			    if (err==0) {
			        document.getElementById('pass_confirm').focus();
			    }
			    document.getElementById('pass_confirm').style.backgroundColor='#ffa5a5';
			    err=1;
			}	

			if (document.getElementById('acc_password').value != document.getElementById('pass_confirm').value) {
				document.getElementById('acc_password').style.backgroundColor='#ffa5a5';
				document.getElementById('pass_confirm').style.backgroundColor='#ffa5a5';
				alert("Password and Confirm Password Does Not Match");
				err=1;	
				return false;
			}		 	

			if (err==0) {
				return true;
			} else {
				alert("Please complete all the required fields of Account Information to continue.");
				return false;
			}
			return false;

		}
		function isValidBillingForm() {
			var err=0;

			
			if (document.getElementById('first_name').value==0) {
			    if (err==0) {
			        document.getElementById('first_name').focus();
			    }
			    document.getElementById('first_name').style.backgroundColor='#ffa5a5';
			    err=1;
			}			
			if (document.getElementById('last_name').value==0) {
			    if (err==0) {
			        document.getElementById('last_name').focus();
			    }
			    document.getElementById('last_name').style.backgroundColor='#ffa5a5';
			    err=1;
			}	

			if ((document.getElementById('business_phone').value==0) && (document.getElementById('mobile').value==0)){ 
			    if (err==0) {
			    	document.getElementById('business_phone').focus();
			        document.getElementById('mobile').focus();
			    }
			    document.getElementById('business_phone').style.backgroundColor='#ffa5a5';
			    document.getElementById('mobile').style.backgroundColor='#ffa5a5';
			    
			    err=1;
			    alert('You Will Have to Provide at least any one of Business Phone or Mobile');
			    return false;
			}	

			if (document.getElementById('address1').value==0) {
			    if (err==0) {
			        document.getElementById('address1').focus();
			    }
			    document.getElementById('address1').style.backgroundColor='#ffa5a5';
			    err=1;
			}	
			
			if (document.getElementById('city').value==0) {
			    if (err==0) {
			        document.getElementById('city').focus();
			    }
			    document.getElementById('city').style.backgroundColor='#ffa5a5';
			    err=1;
			}	
			

			if (document.getElementById('country').value==0) {
			    if (err==0) {
			        document.getElementById('country').focus();
			    }
			    document.getElementById('country').style.backgroundColor='#ffa5a5';
			    err=1;
			}	
			if (document.getElementById('state').value==0) {
			    if (err==0) {
			        document.getElementById('state').focus();
			    }
			    document.getElementById('state').style.backgroundColor='#ffa5a5';
			    err=1;
			}
			if (document.getElementById('state').value=='N/A') {
			    if (err==0) {
			    	$('.other_state_div').show();
			        document.getElementById('other_state').focus();
			    }
			    document.getElementById('other_state').style.backgroundColor='#ffa5a5';
			    err=1;
			}else{
				$('.other_state_div').hide();
			}		

			if (document.getElementById('zip_code').value==0) {
			    if (err==0) {
			        document.getElementById('zip_code').focus();
			    }
			    document.getElementById('zip_code').style.backgroundColor='#ffa5a5';
			    err=1;
			}	
			
			if (err==0) {
				return true;
			} else {
				alert("Please complete all required fields of Billing Information to continue.");
				return false;
			}
			return false;

		}
		function isValidPaymentForm() {
			var err=0;


			for (var i=0; i < document.myform.cctype.length; i++){
			       if (document.myform.cctype[i].checked){
			          var cctype = document.myform.cctype[i].value;
			        }
			    }
						
			
			if (document.getElementById('card_number').value==0) {
			    if (err==0) {
			        document.getElementById('card_number').focus();
			    }
			    document.getElementById('card_number').style.backgroundColor='#ffa5a5';
			    err=1;
			}	
				
			if (document.getElementById('cvc').value==0) {
			    if (err==0) {
			        document.getElementById('cvc').focus();
			    }
			    document.getElementById('cvc').style.backgroundColor='#ffa5a5';
			    err=1;
			}
				
			if (document.getElementById('card_holder_name').value==0) {
			    if (err==0) {
			        document.getElementById('card_holder_name').focus();
			    }
			    document.getElementById('card_holder_name').style.backgroundColor='#ffa5a5';
			    err=1;
			}

			if (document.getElementById('card_holder_name').value==0) {
			    if (err==0) {
			        document.getElementById('card_holder_name').focus();
			    }
			    document.getElementById('card_holder_name').style.backgroundColor='#ffa5a5';
			    err=1;
			}	

			if (document.getElementById('exp_month').value==0) {
			    if (err==0) {
			        document.getElementById('exp_month').focus();
			    }
			    document.getElementById('exp_month').style.backgroundColor='#ffa5a5';
			    err=1;
			}		

			if (document.getElementById('exp_year').value==0) {
			    if (err==0) {
			        document.getElementById('exp_year').focus();
			    }
			    document.getElementById('exp_year').style.backgroundColor='#ffa5a5';
			    err=1;
			}	


			 if(err==0){
					
			        //check credit card.
			        var ccn = document.getElementById("card_number").value;
			        if(!isValidCardNumber(ccn)){
			            alert("Invalid credit card number. Please check your input and try again");
			            return false;
			        }
			        if(isExpiryDate(document.getElementById("exp_year").value,document.getElementById("exp_month").value)==false){
			            alert("Credit Card expiry date is in the past! Please adjust your input.");
			            return false;
			        }
			
			        if(!isCardTypeCorrect(ccn,cctype)){
			            alert("Invalid credit card number/type combination. Please check your input and try again");
			            return false;
			        }
			 }


			if ($('#agreewithtermsandcondition').is(":checked")) {

			}else{
				alert('Please Select The Checkbox that You Agree with Terms And Condition!!!');
				err=1;
				return false;
			}



			if (err==0) {
				return true;
			} else {
				alert("Please complete all required fields of Payment Information to continue.");
				return false;
			}
			return false;

		}

		function stateAreaCheck(fieldObj)
		{
			var err=0;
			if (document.getElementById('state').value=='N/A') {
			    if (err==0) {
			    	$('.other_state_div').show();
			        document.getElementById('other_state').focus();
			    }
			    document.getElementById('other_state').style.backgroundColor='#ffa5a5';
			    err=1;
			}else{
				$('.other_state_div').hide();
			}	

			checkFieldBack(fieldObj);	

		}
		
		function checkForm() {

			return false;
			
			is_incomplete = isValidAccountForm();
			if (is_incomplete==false)
			return false;				
			is_incomplete = isValidBillingForm();
			if (is_incomplete==false)
				return false;				

			is_incomplete = isValidPaymentForm();
			return false;
			if (is_incomplete==false)
				return false;				

			return true;
		}
		function checkFieldBack(fieldObj) {
			if (fieldObj.value=='') {
				fieldObj.style.backgroundColor='#ffa5a5';
			}

			if (fieldObj.value!=0) {
				fieldObj.style.backgroundColor='#d6f0dc';
			}
		}
		function noAlpha(obj){
			reg = /[^0-9.,]/g;
			obj.value =  obj.value.replace(reg,"");
		 }
</script>    
</body>
</html>
