<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
%%Panel.HTMLHead%%
<body>
	<div id="Container">
		%%Panel.Header%%
		<div id="Wrapper">
			%%Panel.WrapperBanner%%
			<div class="Content Widest" id="LayoutColumn1">
				<div class="Block Moveable Panel">
					<h2>%%LNG_SecureCheckout%%</h2>
					<div class="BlockContent">
						<fieldset class="AccountLogin">
							<legend>%%LNG_AlreadyHaveAnAccount%%</legend>
							<form action="checkout.php?action=choose_billing_address" id="LoginForm" method="post">
								<div class="FormContainer VerticalFormContainer">
									<p style="display: %%GLOBAL_HideLoginMessage%%" class="%%GLOBAL_MessageClass%%">
										%%GLOBAL_LoginMessage%%
									</p>

									<dl>
										<dt>%%LNG_EmailAddress%%:</dt>
										<dd><input type="email" class="Textbox Field150 InitialFocus" name="login_email" id="login_email" /></dd>

										<dt>%%LNG_Password%%:</dt>
										<dd><input type="password" autocomplete="off" class="Textbox Field150" name="login_pass" id="login_pass" /></dd>
									</dl>
									<p class="Submit">
										<input id="LoginButton" type="submit" value="%%LNG_LogInAndCheckout%%" style="padding:2px 10px 2px 10px" />
										<br />
										<a href="%%GLOBAL_ShopPath%%/login.php?action=reset_password">%%LNG_ForgotYourPassword%%</a>
									</p>
								</div>
							</form>
						</fieldset>

						<fieldset class="CreateAccount">
							<legend>%%LNG_NotAnExistingCustomer%%</legend>
							<form action="checkout.php?action=choose_billing_address" method="post">
								<input type="hidden" name="checkout_type" id="CheckoutType" value="register" />
								<div id="CheckoutGuestForm" style="%%GLOBAL_HideCheckoutGuest%%">
									<p>%%LNG_CheckoutGuestIntro%%</p>
									<ul>
										<li>
											<a href="#" class="CheckoutTypeLink" rel="guest">%%LNG_CheckoutAsAGuest%%</a> %%LNG_Or%%
										</li>
										<li>
											<a href="#" class="CheckoutTypeLink" rel="register">%%LNG_RegisterAnAccount%%</a>
										</li>
									</ul>
								</div>
								<div style="%%GLOBAL_HideCheckoutRegistrationRequired%%">
									<p>%%LNG_CreateAccountIntroTitle%%</p>
									<ul style="line-height: 1.4;">
										<li>%%LNG_CreateAccountIntro1%%</li>
										<li>%%LNG_CreateAccountIntro2%%</li>
										<li>%%LNG_CreateAccountIntro3%%</li>
									</ul>
									<p class="Submit">
										<input type="submit" value="%%LNG_Continue%%" />
									</p>
								</div>
							</form>
						</fieldset>
					</div>
				</div>
				<script type="text/javascript" charset="utf-8">
					$(document).ready(function() {
						$('.CheckoutTypeLink').click(function() {
							$('#CheckoutType').val($(this).attr('rel'));
							$('.CreateAccount form').submit();
							return false;
						});
					});
				</script>
			</div>
			%%Panel.Footer%%
		</div>
	</body>
</html>