<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$title}</title>
<link href="../css/global.css" rel="stylesheet" type="text/css" />
<link href="../menu/css/dropdown/dropdown.css" media="all" rel="stylesheet" type="text/css" />
<link href="../menu/css/dropdown/themes/default/default.advanced.css" media="all" rel="stylesheet" type="text/css" />
<!--[if lt IE 7]>
<script type="text/javascript" src="../menu/js/jquery/jquery.js"></script>
<script type="text/javascript" src="../menu/js/jquery/jquery.dropdown.js"></script>
<![endif]-->
<!-- Initialize Dojo -->
{literal}
<script src='../dojo/dojo/dojo.js' type='text/javascript'></script>
<script type='text/javascript'>
//<!--
// The following function submits the data from the 'post-form' form
// to a PHP script located at
// 'http://www.dojoforum.com/demo-0.9/xhr/parse_form.php'
// The PHP script simply outputs a string in the format of
// 'Hello $name!', which is then put in the <div> w/ the id
// of 'response'.
//
// NOTE: As with xhrGet, you can also use handleAs to accept
// JSON objects in your load() function.
//dojo.require("dojo.style");
function copyPaddress(){
document.getElementById("b_customer_country").value = document.getElementById("customer_country").value;
document.getElementById("b_customer_city").value = document.getElementById("customer_city").value;
document.getElementById("b_customer_suburb").value = document.getElementById("customer_suburb").value;
document.getElementById("b_customer_state").value = document.getElementById("customer_state").value;
document.getElementById("b_customer_postcode").value = document.getElementById("customer_postcode").value;
document.getElementById("b_customer_address").value = document.getElementById("customer_address").value;
}
function copyBaddress(){
document.getElementById("s_customer_country").value = document.getElementById("b_customer_country").value;
document.getElementById("s_customer_city").value = document.getElementById("b_customer_city").value;
document.getElementById("s_customer_suburb").value = document.getElementById("b_customer_suburb").value;
document.getElementById("s_customer_state").value = document.getElementById("b_customer_state").value;
document.getElementById("s_customer_postcode").value = document.getElementById("b_customer_postcode").value;
document.getElementById("s_customer_address").value = document.getElementById("b_customer_address").value;
}
</script>
{/literal}
</head>
<body>
<table width="{$layout_width}" border="0" cellspacing="0" cellpadding="0" align="{$layout_align}">
<tr>
<td>{include file='site_header.tpl'}
{include file='site_navigation.tpl'}</td>
</tr>
<tr>
<td>
<h1>{$page_heading}</h1>
<div id="cart_box">
{include file='edit_customer_form_front_shop.tpl'}
</div>
</td>
</tr>
<tr>
<td>{include file='site_footer.tpl}</td>
</tr>
</table>
</body>
</html>