<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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%%
<style>
.YourAccount table.General, table.CartContents, table.General {
    width: 760px !important;
    margin: 10px 0px;
}


</style>

	<div id="Wrapper">
		%%Panel.WrapperBanner%%
		<div class="Left" id="LayoutColumn1">
			%%Panel.SideAccountMenu%%
			
		</div>
		<div class="Contentpag" id="LayoutColumn2">
			
			<form action="%%GLOBAL_ShopPath%%/account.php?action=save_new_return" method="post" onsubmit="return check_return_form()">
				<input type="hidden" name="order_id" value="%%GLOBAL_OrderId%%" />
				<div class="Block">
					<div class="Block YourAccount"><h2>%%LNG_SubmitNewReturn%%</h2></div>
					<div class="BlockContent">
						<p class="ErrorMessage" style="display:%%GLOBAL_HideErrorMessage%%">
							%%GLOBAL_ErrorMessage%%
						</p>
						%%Panel.AccountNewReturnProducts%%
						%%Panel.AccountNewReturnInfo%%
					</div>
				</div>
			</form>
			<script type="text/javascript">
			function check_return_form() {
				var sel = false;
				$('.ReturnQty').each(function() {
					if($(this).val() > 0) {
						sel = true;
					}
				});

				if(sel == false) {
					alert('%%LNG_SelectOneMoreItemsReturn%%');
					return false;
				}

				if($('#return_reason').val() == '') {
					alert('%%LNG_SelectReturnReason%%');
					$('#return_reason').focus();
					return false;
				}
			}
			</script>
		</div>
		
		<br class="Clear" />
	</div>
	%%Panel.Footer%%
</div>
</body>
</html>