<html>
<head>
<link rel="stylesheet" type="text/css" href="||nwimg||||tpl_color||/surge.css" />
<title>||lang_str||Add Address||</title>
</head>
<body>
||ifdef||error||
	||define||closeit||false||
	||include||_errorinline.tpl||
||endif||
||ifdef||msg||
	||define||closeit||false||
	||include||_msginline.tpl||
||endif||
||ifequal||closeit||true||
<script type="text/javascript">
<!--
window.opener.focus();
window.close();
//-->
</script>
||endif||
<form id="addrbook" name="addrbook" method="post" action="||action||">
<input type="hidden" name="cmd" value="add_check_addr"/>
<input type="hidden" name="closeit" value="true"/>
<input type="hidden" name="utoken" value="||utoken||"/>
<input type="hidden" name="abook_edit" value="default"/>
<table width="100%" cellspacing="0" cellpadding="0" class="bg1">
<tr><th class="c" colspan="3">Add Address</th></tr>
<tr>
	<td class="rt">||lang_str||Nickname||:</td>
	<td><input type="text" size="10" id="nick_name" name="nick_name" value="||ifinstr||cmd||saveaddrbook||||html_text||abk_full_name||||else||||html_text||nick_name||||endif||"/></td>
	<td rowspan="6" class="c">
		||lang_str||Postal Address||<br />
		<textarea id="abk_address" name="abk_address" COLS="25" ROWS="6">||html_line||abk_address||</textarea><br />
		<input type="button" class="btn" onclick="window.close();" value="||lang_str||Close||">
		<input type="submit" class="btn" name="add_check_addr" value="||lang_str||Save address||">
	</td>
</tr>
<tr>
	<td class="rt">||lang_str||Full Name||:</td>
	<td><input type="text" size="25" id="abk_full_name" name="abk_full_name" value="||html_text||abk_full_name||"/></td>
</tr>
<tr>
	<td class="rt">||lang_str||Email Address||:</td>
	<td><input type="text" size="25" id="abk_email" name="abk_email" value="||html_text||abk_email||"/></td>
</tr>
<tr>
	<td class="rt">||lang_str||Phone||:</td>
	<td><input type="text" size="25" id="abk_phone" name="abk_phone" value="||html_text||abk_phone||"/></td>
</tr>
<tr>
	<td class="rt">||lang_str||Mobile||:</td>
	<td><input type="text" size="25" id="abk_mobile" name="abk_mobile" value="||html_text||abk_mobile||"/></td>
</tr>
<tr>
	<td class="rt">||lang_str||Fax||:</td>
	<td><input type="text" size="25"  id="abk_fax" name="abk_fax" value="||html_text||abk_fax||"/></td>
</tr>
</table>
<input type="hidden" name="picklist" value="||html_text||picklist||" />
<input type="hidden" name="dist_list" value="||html_text||dist_list||" />
<input type="hidden" name="autoadd"||ifnempty||autoadd|| value="on"||endif|| />
<input type="hidden" name="autoadd2"||ifnempty||autoadd2|| value="on"||endif|| />
</form>
</body>
</html>
