<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//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" />
<meta name="Keywords" content="{$keywords}" />
<meta name="Description" content="{$description}" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>{$page_title}</title>
<!-- TemplateEndEditable --><!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link href="{$ecs_css_path}" rel="stylesheet" type="text/css" />
{* 包含脚本文件 *}
{insert_scripts files='common.js,user.js,transport.js'}
<script type="text/javascript" src="js/action.js"></script>
</head>
<body>
<!-- #BeginLibraryItem "/library/page_header.lbi" --><!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/ur_here.lbi" --><!-- #EndLibraryItem -->

<!--主体内容 start-->
<div class="block clearfix">
 <div class="mod1 blank" id="myship">
	<span class="lt"></span><span class="lb"></span><span class="rt"></span><span class="rb"></span>
	<h1 class="mod1tit">{$lang.shipping_method}</h1>
	<div class="mod1con">
	  <!-- 开始收货人信息填写界面 -->
		{insert_scripts files='region.js,utils.js'}
		 <script type="text/javascript">
						region.isAdmin = false;
						{foreach from=$lang.flow_js item=item key=key}
						var {$key} = "{$item}";
						{/foreach}
		
						{literal}
						onload = function() {
							if (!document.all)
							{
								document.forms['theForm'].reset();
							}
						}
		
						/* $Id : myship.js 4865 2007-01-31 14:04:10Z Hackfan $ */
		
		/* *
		 * 检查收货地址信息表单中填写的内容
		 */
		function checkForm(frm)
		{
			var msg = new Array();
			var err = false;
		
			if (frm.elements['country'].value == 0)
			{
				msg.push(country_not_null);
				err = true;
			}
		
			if (frm.elements['province'].value == 0 && frm.elements['province'].length > 1)
			{
				err = true;
				msg.push(province_not_null);
			}
		
			if (frm.elements['city'].value == 0 && frm.elements['city'].length > 1)
			{
				err = true;
				msg.push(city_not_null);
			}
		
			if (frm.elements['district'].length > 1)
			{
				if (frm.elements['district'].value == 0)
				{
					err = true;
					msg.push(district_not_null);
				}
			}
		
			if (err)
			{
				message = msg.join("\n");
				alert(message);
			}
			return ! err;
		}
		
						{/literal}
		</script>
		<form action="myship.php" method="post" name="theForm" id="theForm" onsubmit="return checkForm(this)">
		 <!-- #BeginLibraryItem "/Library/myship.lbi" --><!-- #EndLibraryItem -->
		</form>
	</div>
 </div>
 <script type="text/javascript">divheight("myship");</script>
</div>
<!--主体内容 end-->
<!-- #BeginLibraryItem "/library/help.lbi" --><!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/page_footer.lbi" --><!-- #EndLibraryItem -->
</body>
</html>
