<MvCOMMENT>
|
| Miva Merchant v4.x
|
| This file and the source codes contained herein are the property
| of Miva Corporation.  Use of this file is restricted to the specific
| terms and conditions in the License Agreement associated with this
| file.  Distribution of this file or portions of this file for uses
| not covered by the License Agreement is not allowed without a written
| agreement signed by an officer of Miva Corporation.
|
| Copyright 1998-2001 Miva Corporation.  All rights reserved.
| http://www.miva.com/
|
| Miva Merchant Customers
| $Source: /home/cvs/merchant/Merchant/features/cus/cus.mv,v $
|
| Prefix         : MER-CUS-AD-
| Next Error Code: 3    
| Next Text ID   : 168  
|
</MvCOMMENT>

<MvFUNCTION NAME = "Action_Customer_BatchEdit">
	<MvASSIGN NAME = "l.ok" VALUE = 1>
	<MvASSIGN NAME = "l.valid" VALUE = "1">
	<MvASSIGN NAME = "l.modified" VALUE = "0">

	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.can_modify" VALUE = "{ CanI( 'CUST', 0, 0, 1, 0 ) }">

	<MvIF EXPR = "{ l.valid AND len( g.Edit_Customer ) AND l.can_modify }">
		<MvASSIGN NAME = "l.valid" VALUE = "{ Customer_BatchEdit_Validate() }">
		<MvIF EXPR = "{ l.valid }">
			<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.ok" VALUE = "{ Customer_Find_Login( g.Edit_Customer ) }">
			<MvIF EXPR = "{ l.ok }">
				<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.ok" VALUE = "{ Customer_Update( Customers.d.id,
																						  g.Customer_Login,
																						  g.Customer_PasswordEmail,
																						  g.Customer_Password,
																						  g.Customer_ShipFirstName,
																						  g.Customer_ShipLastName,
																						  g.Customer_ShipEmail,
																						  g.Customer_ShipCompany,
																						  g.Customer_ShipPhone,
																						  g.Customer_ShipFax,
																						  g.Customer_ShipAddress,
																						  g.Customer_ShipCity,
																						  g.Customer_ShipState,
																						  g.Customer_ShipZip,
																						  g.Customer_ShipCountry,
																						  g.Customer_BillFirstName,
																						  g.Customer_BillLastName,
																						  g.Customer_BillEmail,
																						  g.Customer_BillCompany,
																						  g.Customer_BillPhone,
																						  g.Customer_BillFax,
																						  g.Customer_BillAddress,
																						  g.Customer_BillCity,
																						  g.Customer_BillState,
																						  g.Customer_BillZip,
																						  g.Customer_BillCountry ) }">
				<MvASSIGN NAME = "l.modified" VALUE = "1">
			</MvIF>
		</MvIF>
	</MvIF>

	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.can_edit" VALUE = "{ CanI( 'CUST', 0, 0, 0, 1 ) }">
	<MvIF EXPR = "{ l.can_edit AND ( NOT len( g.Edit_Customer ) ) }">
		<MvASSIGN NAME = "l.customer" VALUE = 1>
		<MvWHILE EXPR = "{ l.ok AND ( l.customer LE g.Customer_Count ) }">
			<MvIF EXPR = "{ g.Customer_Remove[ l.customer ] }">
				<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.ok" VALUE = "{ Customer_Find_Login( g.Customer[ l.customer ] ) }">
				<MvIF EXPR = "{ l.ok }">
					<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.ok" VALUE = "{ Customer_Delete( Customers.d.id ) }">
					<MvASSIGN NAME = "l.modified" VALUE = "1">
				</MvIF>
			</MvIF>
			<MvASSIGN NAME = "l.customer" VALUE = "{ l.customer + 1 }">
		</MvWHILE>
	</MvIF>

	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.can_view" VALUE = "{ CanI( 'STOR', 1, 0, 0, 0 ) }">
	<MvIF EXPR = "{ l.can_modify AND l.ok AND l.valid}">
		<MvASSIGN NAME = "l.valid" VALUE = "{ CustomerEmail_Validate() }">
		<MvIF EXPR = "{ l.valid }">
			<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.ok" VALUE = "{ CustomerEmail_Update( g.CustomerEmail_From,
																						   g.CustomerEmail_CC,
																						   g.CustomerEmail_Subject,
																						   g.CustomerEmail_Header ) }">
			<MvASSIGN NAME = "l.modified" VALUE = "1">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ l.ok AND l.valid }">
		<MvIF EXPR = "{ l.modified }">
			<MvLOCALIZED NAME = "g.Message" ID = "MER-CUS-AD-00000">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Customers updated</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
		<MvELSE>
			<MvASSIGN NAME = "g.Message" VALUE = "">
		</MvIF>
		<MvASSIGN NAME = "g.Edit_Customer" VALUE = "">
	</MvIF>

	<MvFUNCTIONRETURN VALUE = "{ l.ok }">
</MvFUNCTION>

<MvFUNCTION NAME = "Action_Customer_Insert">
	<MvASSIGN NAME = "l.ok" VALUE = 1>

	<MvIF EXPR = "{ Customer_Validate() }">
		<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.customer_id" VALUE = "{ Customer_Insert( g.Customer_Login,
																						   g.Customer_PasswordEmail,
																						   g.Customer_Password,
																						   g.Customer_ShipFirstName,
																					       g.Customer_ShipLastName,
																						   g.Customer_ShipEmail,
																				           g.Customer_ShipCompany,
																						   g.Customer_ShipPhone,
																				           g.Customer_ShipFax,
																						   g.Customer_ShipAddress,
																				           g.Customer_ShipCity,
																						   g.Customer_ShipState,
																				           g.Customer_ShipZip,
																						   g.Customer_ShipCountry,
																				           g.Customer_BillFirstName,
																						   g.Customer_BillLastName,
																				           g.Customer_BillEmail,
																						   g.Customer_BillCompany,
																				           g.Customer_BillPhone,
																						   g.Customer_BillFax,
																				           g.Customer_BillAddress,
																						   g.Customer_BillCity,
																				           g.Customer_BillState,
																						   g.Customer_BillZip,
																				           g.Customer_BillCountry ) }">
		<MvIF EXPR = "{ NOT l.customer_id }">
			<MvASSIGN NAME = "l.ok" VALUE = 0>
		<MvELSE>
			<MvLOCALIZED NAME = "g.Message" ID = "MER-CUS-AD-00001">
				<MvLOCALIZED-TOKEN NAME = "message" VALUE = "{ encodeentities( g.Customer_Message ) }">
				<MvLOCALIZED-TOKEN NAME = "customer" VALUE = "{ encodeentities( g.Customer_Login ) }">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">%message%Customer '%customer%' added</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvASSIGN NAME = "g.Edit_Customer" VALUE = "">
		</MvIF>
	</MvIF>

	<MvASSIGN NAME = "g.Tab" VALUE = "IDEN">

	<MvFUNCTIONRETURN VALUE = "{ l.ok }">
</MvFUNCTION>

<MvFUNCTION NAME = "Action_Customer_Update">
	<MvASSIGN NAME = "l.ok" VALUE = 1>

	<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.ok" VALUE = "{ Customer_Find_Login( g.Edit_Customer ) }">
	<MvIF EXPR = "{ l.ok }">
		<MvASSIGN NAME = "l.original_login" VALUE = "{ Customers.d.login }">

		<MvIF EXPR = "{ Customer_Validate() }">
			<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.ok" VALUE = "{ Customer_Update( Customers.d.id,
																					  g.Customer_Login,
																					  g.Customer_PasswordEmail,
																					  g.Customer_Password,
																					  g.Customer_ShipFirstName,
																					  g.Customer_ShipLastName,
																					  g.Customer_ShipEmail,
																					  g.Customer_ShipCompany,
																					  g.Customer_ShipPhone,
																					  g.Customer_ShipFax,
																					  g.Customer_ShipAddress,
																					  g.Customer_ShipCity,
																					  g.Customer_ShipState,
																					  g.Customer_ShipZip,
																					  g.Customer_ShipCountry,
																					  g.Customer_BillFirstName,
																					  g.Customer_BillLastName,
																					  g.Customer_BillEmail,
																					  g.Customer_BillCompany,
																					  g.Customer_BillPhone,
																					  g.Customer_BillFax,
																					  g.Customer_BillAddress,
																					  g.Customer_BillCity,
																					  g.Customer_BillState,
																					  g.Customer_BillZip,
																					  g.Customer_BillCountry ) }">
			<MvIF EXPR = "{ l.ok }">
				<MvLOCALIZED NAME = "g.Message" ID = "MER-CUS-AD-00002">
					<MvLOCALIZED-TOKEN NAME = "login" VALUE = "{ encodeentities( l.original_login ) }">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Customer '%login%' updated</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvASSIGN NAME = "g.Edit_Customer" VALUE = "{ g.Customer_Login }">
			</MvIF>
		</MvIF>
	</MvIF>

	<MvFUNCTIONRETURN VALUE = "{ l.ok }">
</MvFUNCTION>

<MvFUNCTION NAME = "Action_Customer_Delete">
	<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.ok" VALUE = "{ Customer_Find_Login( g.Edit_Customer ) }">
	<MvIF EXPR = "{ l.ok }">
		<MvASSIGN NAME = "l.id" VALUE = "{ Customers.d.id }">
		<MvASSIGN NAME = "l.login" VALUE = "{ Customers.d.login }">
		<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.found" VALUE = "{ Customer_FindNext_CustomerID( g.Edit_Customer ) }">
		<MvIF EXPR = "{ l.found }">
			<MvASSIGN NAME = "g.Edit_Customer" VALUE = "{ Customers.d.login }">
		<MvELSE>
			<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.found" VALUE = "{ Customer_FindPrev_CustomerID( g.Edit_Customer ) }">
			<MvIF EXPR = "{ l.found }">
				<MvASSIGN NAME = "g.Edit_Customer" VALUE = "{ Customers.d.login }">
			<MvELSE>
				<MvASSIGN NAME = "g.Edit_Customer" VALUE = "">
				<MvASSIGN NAME = "g.Edit_Item" VALUE = "">
				<MvASSIGN NAME = "g.Tab" VALUE = "">
			</MvIF>
		</MvIF>
		<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.ok" VALUE = "{ Customer_Delete( l.id ) }">
		<MvIF EXPR = "{ l.ok }">
			<MvLOCALIZED NAME = "g.Message" ID = "MER-CUS-AD-00003">
				<MvLOCALIZED-TOKEN NAME = "customer" VALUE = "{ encodeentities( l.login ) }">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Customer '%customer%' deleted</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
		</MvIF>
	</MvIF>

	<MvFUNCTIONRETURN VALUE = "{ l.ok }">
</MvFUNCTION>

<MvFUNCTION NAME = "Screen_Customer_BatchEdit" STANDARDOUTPUTLEVEL = "text,html,compresswhitespace">
	<MvASSIGN NAME = "l.ok" VALUE = 1>

	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.can_add" 	VALUE = "{ CanI( 'CUST', 0, 1, 0 ,0 ) }">
	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.can_modify" VALUE = "{ CanI( 'CUST', 0, 0, 1 ,0 ) }">
	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.can_delete" VALUE = "{ CanI( 'CUST', 0, 0, 0 ,1 ) }">

	<MvIF EXPR = "{ g.Load_Fields }">
		<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.ok" VALUE = "{ CustomerEmail_Load() }">
		<MvIF EXPR = "{ l.ok }">
			<MvASSIGN NAME = "g.CustomerEmail_From" VALUE = "{ CustomerEmail.d.from }">
			<MvASSIGN NAME = "g.CustomerEmail_CC" VALUE = "{ CustomerEmail.d.cc }">
			<MvASSIGN NAME = "g.CustomerEmail_Subject" VALUE = "{ CustomerEmail.d.subject }">
			<MvASSIGN NAME = "g.CustomerEmail_Header" VALUE = "{ CustomerEmail.d.header }">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ NOT g.Have_List_Fields }">
		<MvASSIGN NAME = "g.Customer_Stack" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Search" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Offset" VALUE = 0>
		<MvASSIGN NAME = "g.Customer_Display" VALUE = "{ g.Admin_User_PageLen }">

		<MvASSIGN NAME = "g.Customer_Show_Login" VALUE = "Yes">
		<MvASSIGN NAME = "g.Customer_Show_PasswordEmail" VALUE = "Yes">
		<MvASSIGN NAME = "g.Customer_Show_ShipFirstName" VALUE = "Yes">
		<MvASSIGN NAME = "g.Customer_Show_ShipLastName" VALUE = "Yes">
		<MvASSIGN NAME = "g.Customer_Show_ShipEmail" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_ShipPhone" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_ShipFax" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_ShipCompany" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_ShipAddress" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_ShipCity" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_ShipState" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_ShipZip" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_ShipCountry" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_BillFirstName" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_BillLastName" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_BillEmail" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_BillPhone" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_BillFax" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_BillCompany" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_BillAddress" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_BillCity" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_BillState" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_BillZip" VALUE = "">
		<MvASSIGN NAME = "g.Customer_Show_BillCountry" VALUE = "">
	<MvELSE>
		<MvASSIGN NAME = "g.Customer_Display" VALUE = "{ int( g.Customer_Display ) }">
		<MvIF EXPR = "{ g.Customer_Display LT 1 }">
			<MvASSIGN NAME = "g.Customer_Display" VALUE = 1>
		</MvIF>
	</MvIF>

	<MvASSIGN NAME = "l.valid" VALUE = "{ Customer_Batch_Validate() }">

	<MvIF EXPR = "{ g.Customer_Display_Flag }">
		<MvASSIGN NAME = "g.Customer_Show_Login" VALUE = "Yes">
	</MvIF>

	<MvLOCALIZED NAME = "l.screen_label" ID = "MER-CUS-AD-00004">
		<MvLOCALIZED-TEXT LANGUAGE = "en-US">Customers</MvLOCALIZED-TEXT>
	</MvLOCALIZED>

	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.begin" VALUE = "{ BeginScreen( l.screen_label, 'CSBD', 'Help:csbd.html' ) }">
	<INPUT TYPE = "hidden" NAME = "Have_List_Fields" VALUE = "1">

	<MvLOCALIZED NAME = "l.tab_list"  ID = "MER-CUS-AD-00005">
		<MvLOCALIZED-TEXT LANGUAGE = "en-US">CUST:Customers,CEML:Lost Password Email</MvLOCALIZED-TEXT>
	</MvLOCALIZED>
	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.drawtabs" VALUE = "{ DrawTabs( 'CUST', l.tab_list ) }">

	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.begin_content" VALUE = "{ BeginContent() }">

	<MvIF EXPR = "{ g.Tab EQ 'CUST' }">
		<SCRIPT LANGUAGE = "JavaScript">
<!--
function EditCustomer( prod_code )
{
	if ( CheckModified() )
	{
		document.forms[ Screen ].elements[ 'Screen' ].value = Screen;
		document.forms[ Screen ].elements[ 'Tab' ].value = Tab;
		document.forms[ Screen ].elements[ 'Edit_Customer' ].value = unescape( prod_code );
		document.forms[ Screen ].elements[ 'Action' ].value = '';
		document.forms[ Screen ].elements[ 'Have_Fields' ].value = 1;
		document.forms[ Screen ].submit();
	}
}


function CheckAll( field_base, checked)
	{
		var i;
		var box;
		
		for ( i = 1; ( box = document.forms[ Screen ].elements[ field_base + '[' + i.toString()  + ']' ] ) != null; i++ )
        {
                  box.checked = checked;
		}
	}
//-->
		</SCRIPT>

		<MvHIDE FIELDS = "g.Edit_Customer">

		<TABLE BORDER = 0 CELLPADDING = 2 CELLSPACING = 0>
		<TR><TD>
			&nbsp;
		</TD><TD ALIGN = "right" VALIGN = "middle" WIDTH = "100%">
			&nbsp;
		</TD><TD ALIGN = "right" VALIGN = "middle">
			<FONT FACE = "Arial, Helvetica" SIZE = "-1"><B>
			<MvLOCALIZED ID = "MER-CUS-AD-00007">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Search:</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			</B></FONT>
		</TD><TD ALIGN = "right" VALIGN = "middle" NOWRAP>
			<FONT FACE = "Arial, Helvetica" SIZE = "-1">
			<MvASSIGN NAME = "g.Customer_Search" VALUE = "{ ltrim( rtrim( g.Customer_Search ) ) }">
			<INPUT TYPE = "text" NAME = "Customer_Search" VALUE = "{ encodeentities( g.Customer_Search ) }" SIZE = 20>
			<A HREF = "JavaScript:ListReload( 'Customer_Offset', 'Customer_Stack' );">
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.button_search" VALUE = "{ DrawImgButton_Search(0) }">
			<MvEVAL EXPR = "{ l.button_search }"></A>
			</FONT>
		</TD></TR>

		<TR><TD ALIGN = "left" VALIGN = "top">
			<FONT FACE = "Arial, Helvetica" SIZE = "-1"><B>
			<MvLOCALIZED ID = "MER-CUS-AD-00008">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Display:</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			</B></FONT>
		</TD><TD ALIGN = "left" VALIGN = "middle" COLSPAN = 3>
			<TABLE BORDER = 0 CELLPADDING = 2 CELLSPACING = 0>
			<TR><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00009">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Login</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_Login, 'Customer_Show_Login', 'Yes', l.text ) }">
				</FONT>
			</TD><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00010">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Pass. Recovery Email</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_PasswordEmail, 'Customer_Show_PasswordEmail', 'Yes', l.text ) }">
				</FONT>
			</TD><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00011">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. First Name</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_ShipFirstName, 'Customer_Show_ShipFirstName', 'Yes', l.text ) }">
				</FONT>
			</TD></TR>

			<TR><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00012">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. Last Name</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_ShipLastName, 'Customer_Show_ShipLastName', 'Yes', l.text ) }">
				</FONT>
			</TD><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00013">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. Email</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_ShipEmail, 'Customer_Show_ShipEmail', 'Yes', l.text ) }">
				</FONT>
			</TD><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00014">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. Phone</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_ShipPhone, 'Customer_Show_ShipPhone', 'Yes', l.text ) }">
				</FONT>
			</TD></TR>

			<TR><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00015">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. Fax</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_ShipFax, 'Customer_Show_ShipFax', 'Yes', l.text ) }">
				</FONT>
			</TD><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00016">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. Company</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_ShipCompany, 'Customer_Show_ShipCompany', 'Yes', l.text ) }">
				</FONT>
			</TD><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00017">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. Address</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_ShipAddress, 'Customer_Show_ShipAddress', 'Yes', l.text ) }">
				</FONT>
			</TD></TR>

			<TR><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00018">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. City</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_ShipCity, 'Customer_Show_ShipCity', 'Yes', l.text ) }">
				</FONT>
			</TD><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00019">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. State</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_ShipState, 'Customer_Show_ShipState', 'Yes', l.text ) }">
				</FONT>
			</TD><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00020">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. Zip</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_ShipZip, 'Customer_Show_ShipZip', 'Yes', l.text ) }">
				</FONT>
			</TD></TR>

			<TR><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00021">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. Country</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_ShipCountry, 'Customer_Show_ShipCountry', 'Yes', l.text ) }">
				</FONT>
			</TD><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00022">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. First Name</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_BillFirstName, 'Customer_Show_BillFirstName', 'Yes', l.text ) }">
				</FONT>
			</TD><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00023">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. Last Name</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_BillLastName, 'Customer_Show_BillLastName', 'Yes', l.text ) }">
				</FONT>
			</TD></TR>

			<TR><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00024">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. Phone</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_BillPhone, 'Customer_Show_BillPhone', 'Yes', l.text ) }">
				</FONT>
			</TD><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00025">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. Fax</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_BillFax, 'Customer_Show_BillFax', 'Yes', l.text ) }">
				</FONT>
			</TD><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00026">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. Email</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_BillEmail, 'Customer_Show_BillEmail', 'Yes', l.text ) }">
				</FONT>
			</TD></TR>

			<TR><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00027">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. Company</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_BillCompany, 'Customer_Show_BillCompany', 'Yes', l.text ) }">
				</FONT>
			</TD><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00028">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. Address</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_BillAddress, 'Customer_Show_BillAddress', 'Yes', l.text ) }">
				</FONT>
			</TD><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00029">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. City</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_BillCity, 'Customer_Show_BillCity', 'Yes', l.text ) }">
				</FONT>
			</TD></TR>

			<TR><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00030">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. State</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_BillState, 'Customer_Show_BillState', 'Yes', l.text ) }">
				</FONT>
			</TD><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00031">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. Zip</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_BillZip, 'Customer_Show_BillZip', 'Yes', l.text ) }">
				</FONT>
			</TD><TD ALIGN = "left">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED NAME = "l.text" ID = "MER-CUS-AD-00032">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. Country</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawCheckbox( g.Customer_Show_BillCountry, 'Customer_Show_BillCountry', 'Yes', l.text ) }">
				</FONT>
			</TD></TR>
			</TABLE>
		</TD></TR>
		</TABLE>

		<MvASSIGN NAME = "l.columns" VALUE = 0>

		<TABLE BORDER = 0 CELLPADDING = 2 CELLSPACING = 0 WIDTH = "100%">
		<TR>

		<MvIF EXPR = "{ len( g.Edit_Customer ) EQ 0 AND l.can_delete }">
			<TD ALIGN = "left" VALIGN = "middle" BGCOLOR = "#000080" NOWRAP>							
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00033">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Remove</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			    <BR>
				<A HREF = "JavaScript:CheckAll( 'Customer_Remove', 1 );"><IMG BORDER = 0 SRC = "{ g.AdminGraphics_Path $ 'checkall.gif' }" ALT = "Check All"></A>
				&nbsp;
				<A HREF = "JavaScript:CheckAll( 'Customer_Remove', 0 );"><IMG BORDER = 0 SRC = "{ g.AdminGraphics_Path $ 'uncheckall.gif' }" ALT = "Uncheck All"></A>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_Login }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00034">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Login</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_PasswordEmail }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00035">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Pass. Recovery Email</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_ShipFirstName }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00036">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. First Name</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_ShipLastName }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00037">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. Last Name</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_ShipEmail }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00038">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. Email</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_ShipPhone }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00039">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. Phone</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_ShipFax }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00040">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. Fax</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_ShipCompany }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00041">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. Company</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_ShipAddress }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00042">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. Address</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_ShipCity }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00043">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. City</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_ShipState }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00044">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. State</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_ShipZip }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00045">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. Zip</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_ShipCountry }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00046">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship. Country</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_BillFirstName }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00047">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. First Name</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_BillLastName }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00048">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. Last Name</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_BillEmail }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00049">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. Email</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_BillPhone }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00050">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. Phone</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_BillFax }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00051">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. Fax</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_BillCompany }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00052">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. Company</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_BillAddress }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00053">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. Address</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_BillCity }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00054">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. City</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_BillState }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00055">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. State</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_BillZip }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00056">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. Zip</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<MvIF EXPR = "{ g.Customer_Show_BillCountry }">
			<TD BGCOLOR = "#000080" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00057">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill. Country</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD>

			<MvASSIGN NAME = "l.columns" VALUE = "{ l.columns + 1 }">
		</MvIF>

		<TD ALIGN = "right" BGCOLOR = "#000080" NOWRAP>
			<FONT FACE = "Arial, Helvetica" SIZE = "-1" COLOR = "#ffffff">
			<MvIF EXPR = "{ l.can_add }">
				<MvLOCALIZED NAME = "l.alt" ID = "MER-CUS-AD-00058">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">New Customer</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<A HREF = "{ g.sessionurl $ 'Screen=CUST&Store_Code=' $ encodeentities( g.Store_Code ) }">
				<MvDO FILE = "{ g.Module_Admin }" NAME = "l.button" VALUE = "{ DrawImgButton_NewX( 0, l.alt ) }">
				<MvEVAL EXPR = "{ l.button }"></A>
			<MvELSE>
				&nbsp;
			</MvIF>
			</FONT>
		</TD></TR>

		<MvASSIGN NAME = "l.shown" VALUE = 0>
		<MvASSIGN NAME = "l.lastoffset" VALUE = 0>

		<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.nextoffset" VALUE = "{ Customer_FindOffset_All( g.Customer_Offset, g.Customer_Search ) }">
		<MvWHILE EXPR = "{ ( l.shown LT g.Customer_Display ) AND l.nextoffset }">
			<MvASSIGN NAME = "l.shown" VALUE = "{ l.shown + 1 }">

			<MvIF EXPR = "{ ( l.shown MOD 2 ) EQ 0 }">
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffdd">
			<MvELSE>
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffff">
			</MvIF>

			<TR>

			<MvIF EXPR = "{ ( len( g.Edit_Customer ) NE 0 ) AND
							( g.Edit_Customer EQ Customers.d.login ) AND l.can_modify }">
				<MvIF EXPR = "{ NOT g.Data_Entry_Error }">
					<MvASSIGN NAME = "g.Customer_Login" VALUE = "{ Customers.d.login }">
					<MvASSIGN NAME = "g.Customer_PasswordEmail" VALUE = "{ Customers.d.pw_email }">

					<MvASSIGN NAME = "g.Customer_ShipFirstName" VALUE = "{ Customers.d.ship_fname }">
					<MvASSIGN NAME = "g.Customer_ShipLastName" VALUE = "{ Customers.d.ship_lname }">
					<MvASSIGN NAME = "g.Customer_ShipEmail" VALUE = "{ Customers.d.ship_email }">
					<MvASSIGN NAME = "g.Customer_ShipPhone" VALUE = "{ Customers.d.ship_phone }">
					<MvASSIGN NAME = "g.Customer_ShipFax" VALUE = "{ Customers.d.ship_fax }">
					<MvASSIGN NAME = "g.Customer_ShipCompany" VALUE = "{ Customers.d.ship_comp }">
					<MvASSIGN NAME = "g.Customer_ShipAddress" VALUE = "{ Customers.d.ship_addr }">
					<MvASSIGN NAME = "g.Customer_ShipCity" VALUE = "{ Customers.d.ship_city }">
					<MvASSIGN NAME = "g.Customer_ShipState" VALUE = "{ Customers.d.ship_state }">
					<MvASSIGN NAME = "g.Customer_ShipZip" VALUE = "{ Customers.d.ship_zip }">
					<MvASSIGN NAME = "g.Customer_ShipCountry" VALUE = "{ Customers.d.ship_cntry }">

					<MvASSIGN NAME = "g.Customer_BillFirstName" VALUE = "{ Customers.d.bill_fname }">
					<MvASSIGN NAME = "g.Customer_BillLastName" VALUE = "{ Customers.d.bill_lname }">
					<MvASSIGN NAME = "g.Customer_BillEmail" VALUE = "{ Customers.d.bill_email }">
					<MvASSIGN NAME = "g.Customer_BillPhone" VALUE = "{ Customers.d.bill_phone }">
					<MvASSIGN NAME = "g.Customer_BillFax" VALUE = "{ Customers.d.bill_fax }">
					<MvASSIGN NAME = "g.Customer_BillCompany" VALUE = "{ Customers.d.bill_comp }">
					<MvASSIGN NAME = "g.Customer_BillAddress" VALUE = "{ Customers.d.bill_addr }">
					<MvASSIGN NAME = "g.Customer_BillCity" VALUE = "{ Customers.d.bill_city }">
					<MvASSIGN NAME = "g.Customer_BillState" VALUE = "{ Customers.d.bill_state }">
					<MvASSIGN NAME = "g.Customer_BillZip" VALUE = "{ Customers.d.bill_zip }">
					<MvASSIGN NAME = "g.Customer_BillCountry" VALUE = "{ Customers.d.bill_cntry }">
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_Login }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_Login" VALUE = "{ encodeentities( g.Customer_Login ) }" SIZE = 15 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_PasswordEmail }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_PasswordEmail" VALUE = "{ encodeentities( g.Customer_PasswordEmail ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipFirstName }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_ShipFirstName" VALUE = "{ encodeentities( g.Customer_ShipFirstName ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipLastName }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_ShipLastName" VALUE = "{ encodeentities( g.Customer_ShipLastName ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipEmail }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_ShipEmail" VALUE = "{ encodeentities( g.Customer_ShipEmail ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipPhone }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_ShipPhone" VALUE = "{ encodeentities( g.Customer_ShipPhone ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipFax }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_ShipFax" VALUE = "{ encodeentities( g.Customer_ShipFax ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipCompany }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_ShipCompany" VALUE = "{ encodeentities( g.Customer_ShipCompany ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipAddress }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_ShipAddress" VALUE = "{ encodeentities( g.Customer_ShipAddress ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipCity }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_ShipCity" VALUE = "{ encodeentities( g.Customer_ShipCity ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipState }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_ShipState" VALUE = "{ encodeentities( g.Customer_ShipState ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipZip }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_ShipZip" VALUE = "{ encodeentities( g.Customer_ShipZip ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipCountry }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<SELECT NAME = "Customer_ShipCountry" ONCHANGE = "SetModified();">
						<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawOption_SelectOne() }">
						<MvDO FILE = "{ g.Module_Library_DB }" NAME = "l.found" VALUE = "{ Country_FindFirst() }">
						<MvWHILE EXPR = "{ l.found }">
							<MvIF EXPR = "{ Countries.d.alpha EQ g.Customer_ShipCountry }">
								<OPTION VALUE = "{ encodeentities( Countries.d.alpha ) }" SELECTED><MvEVAL EXPR = "{ encodeentities( Countries.d.name ) }"></OPTION>
							<MvELSE>
								<OPTION VALUE = "{ encodeentities( Countries.d.alpha ) }"><MvEVAL EXPR = "{ encodeentities( Countries.d.name ) }"></OPTION>
							</MvIF>

							<MvDO FILE = "{ g.Module_Library_DB }" NAME = "l.found" VALUE = "{ Country_FindNext() }">
						</MvWHILE>
						</SELECT>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillFirstName }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_BillFirstName" VALUE = "{ encodeentities( g.Customer_BillFirstName ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillLastName }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_BillLastName" VALUE = "{ encodeentities( g.Customer_BillLastName ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillEmail }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_BillEmail" VALUE = "{ encodeentities( g.Customer_BillEmail ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillPhone }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_BillPhone" VALUE = "{ encodeentities( g.Customer_BillPhone ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillFax }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_BillFax" VALUE = "{ encodeentities( g.Customer_BillFax ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillCompany }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_BillCompany" VALUE = "{ encodeentities( g.Customer_BillCompany ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillAddress }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_BillAddress" VALUE = "{ encodeentities( g.Customer_BillAddress ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillCity }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_BillCity" VALUE = "{ encodeentities( g.Customer_BillCity ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillState }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_BillState" VALUE = "{ encodeentities( g.Customer_BillState ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillZip }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_BillZip" VALUE = "{ encodeentities( g.Customer_BillZip ) }" SIZE = 30 ONCHANGE = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillCountry }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<SELECT NAME = "Customer_BillCountry" ONCHANGE = "SetModified();">
						<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawOption_SelectOne() }">
						<MvDO FILE = "{ g.Module_Library_DB }" NAME = "l.found" VALUE = "{ Country_FindFirst() }">
						<MvWHILE EXPR = "{ l.found }">
							<MvIF EXPR = "{ Countries.d.alpha EQ g.Customer_BillCountry }">
								<OPTION VALUE = "{ encodeentities( Countries.d.alpha ) }" SELECTED><MvEVAL EXPR = "{ encodeentities( Countries.d.name ) }"></OPTION>
							<MvELSE>
								<OPTION VALUE = "{ encodeentities( Countries.d.alpha ) }"><MvEVAL EXPR = "{ encodeentities( Countries.d.name ) }"></OPTION>
							</MvIF>

							<MvDO FILE = "{ g.Module_Library_DB }" NAME = "l.found" VALUE = "{ Country_FindNext() }">
						</MvWHILE>
						</SELECT>
						</FONT>
					</TD>
				</MvIF>

				<TD ALIGN = "right" VALIGN = "top" BGCOLOR = "{ l.bgcolor }" WIDTH = "100%" NOWRAP>
					<MvIF EXPR = "{ NOT g.Customer_Show_Login }">
						<MvHIDE FIELDS = "g.Customer_Login">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_PasswordEmail }">
						<MvHIDE FIELDS = "g.Customer_PasswordEmail">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_ShipFirstName }">
						<MvHIDE FIELDS = "g.Customer_ShipFirstName">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_ShipLastName }">
						<MvHIDE FIELDS = "g.Customer_ShipLastName">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_ShipEmail }">
						<MvHIDE FIELDS = "g.Customer_ShipEmail">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_ShipPhone }">
						<MvHIDE FIELDS = "g.Customer_ShipPhone">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_ShipFax }">
						<MvHIDE FIELDS = "g.Customer_ShipFax">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_ShipCompany }">
						<MvHIDE FIELDS = "g.Customer_ShipCompany">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_ShipAddress }">
						<MvHIDE FIELDS = "g.Customer_ShipAddress">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_ShipCity }">
						<MvHIDE FIELDS = "g.Customer_ShipCity">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_ShipState }">
						<MvHIDE FIELDS = "g.Customer_ShipState">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_ShipZip }">
						<MvHIDE FIELDS = "g.Customer_ShipZip">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_ShipCountry }">
						<MvHIDE FIELDS = "g.Customer_ShipCountry">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_BillFirstName }">
						<MvHIDE FIELDS = "g.Customer_BillFirstName">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_BillLastName }">
						<MvHIDE FIELDS = "g.Customer_BillLastName">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_BillEmail }">
						<MvHIDE FIELDS = "g.Customer_BillEmail">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_BillPhone }">
						<MvHIDE FIELDS = "g.Customer_BillPhone">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_BillFax }">
						<MvHIDE FIELDS = "g.Customer_BillFax">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_BillCompany }">
						<MvHIDE FIELDS = "g.Customer_BillCompany">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_BillAddress }">
						<MvHIDE FIELDS = "g.Customer_BillAddress">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_BillCity }">
						<MvHIDE FIELDS = "g.Customer_BillCity">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_BillState }">
						<MvHIDE FIELDS = "g.Customer_BillState">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_BillZip }">
						<MvHIDE FIELDS = "g.Customer_BillZip">
					</MvIF>

					<MvIF EXPR = "{ NOT g.Customer_Show_BillCountry }">
						<MvHIDE FIELDS = "g.Customer_BillCountry">
					</MvIF>

					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<A HREF = "JavaScript:EditCustomer( '' );">					
					<MvDO FILE = "{ g.Module_Admin }" NAME = "l.button" VALUE = "{ DrawImgButton_EditHere('1') }">
					<MvEVAL EXPR = "{ l.button }"><MvEVAL EXPR = "</A>">

					<A HREF = "{ g.sessionurl $ 'Screen=CUST&Store_Code=' $ encodeattribute( g.Store_Code ) $ '&Edit_Customer=' $ encodeattribute( Customers.d.login ) }">
					<MvDO FILE = "{ g.Module_Admin }" NAME = "l.button" VALUE = "{ DrawImgButton_Edit('0') }">
					<MvEVAL EXPR = "{ l.button }"></A>
					</FONT>
				</TD></TR>
			<MvELSE>
				<MvIF EXPR = "{ len( g.Edit_Customer ) EQ 0 AND l.can_delete }">
					<TD VALIGN = "top" ALIGN = "center" BGCOLOR = "{ l.bgcolor }">
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "hidden" NAME = "{ 'Customer[' $ l.shown $ ']' }" VALUE = "{ encodeentities( Customers.d.login ) }">
						<INPUT TYPE = "checkbox" NAME = "{ 'Customer_Remove[' $ l.shown $ ']' }" VALUE = "Yes" ONCLICK = "SetModified();">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_Login }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvEVAL EXPR = "{ encodeentities( Customers.d.login ) }">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_PasswordEmail }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvEVAL EXPR = "{ encodeentities( Customers.d.pw_email ) }">
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipFirstName }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.ship_fname ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.ship_fname ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipLastName }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.ship_lname ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.ship_lname ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipEmail }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.ship_email ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.ship_email ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipPhone }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.ship_phone ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.ship_phone ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipFax }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.ship_fax ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.ship_fax ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipCompany }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.ship_comp ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.ship_comp ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipAddress }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.ship_addr ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.ship_addr ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipCity }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.ship_city ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.ship_city ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipState }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.ship_state ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.ship_state ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipZip }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.ship_zip ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.ship_zip ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_ShipCountry }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.ship_cntry ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.ship_cntry ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillFirstName }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.bill_fname ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.bill_fname ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillLastName }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.bill_lname ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.bill_lname ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillEmail }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.bill_email ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.bill_email ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillPhone }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.bill_phone ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.bill_phone ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillFax }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.bill_fax ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.bill_fax ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillCompany }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.bill_comp ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.bill_comp ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillAddress }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.bill_addr ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.bill_addr ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillCity }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.bill_city ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.bill_city ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillState }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.bill_state ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.bill_state ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillZip }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.bill_zip ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.bill_zip ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<MvIF EXPR = "{ g.Customer_Show_BillCountry }">
					<TD BGCOLOR = "{ l.bgcolor }" VALIGN = "top" NOWRAP>
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvIF EXPR = "{ len( Customers.d.bill_cntry ) }">
							<MvEVAL EXPR = "{ encodeentities( Customers.d.bill_cntry ) }">
						<MvELSE>
							&nbsp;
						</MvIF>
						</FONT>
					</TD>
				</MvIF>

				<TD ALIGN = "right" VALIGN = "top" BGCOLOR = "{ l.bgcolor }" NOWRAP WIDTH = "100%">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvIF EXPR = "{ l.can_modify }">
						<MvDO FILE = "{ g.Module_Admin }" NAME = "l.encode" VALUE = "{ JavaScriptEncode( Customers.d.login ) }">
						<MvEVAL EXPR = "{ '<A HREF = "JavaScript:EditCustomer( \'' $ l.encode $ '\' );">' }">
						<MvDO FILE = "{ g.Module_Admin }" NAME = "l.button" VALUE = "{ DrawImgButton_EditHere('0') }">
						<MvEVAL EXPR = "{ l.button }"><MvEVAL EXPR = "</A>">
					</MvIF>

					<A HREF = "{ g.sessionurl $ 'Screen=CUST&Store_Code=' $ encodeattribute( g.Store_Code ) $ '&Edit_Customer=' $ encodeattribute( Customers.d.login ) }">
					<MvDO FILE = "{ g.Module_Admin }" NAME = "l.button" VALUE = "{ DrawImgButton_Edit('0') }">
					<MvEVAL EXPR = "{ l.button }"></A>
					</FONT>
				</TD></TR>
			</MvIF>

			<MvASSIGN NAME = "l.lastoffset" VALUE = "{ l.nextoffset }">
			<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.nextoffset" VALUE = "{ Customer_FindNext_All( l.nextoffset, g.Customer_Search ) }">
		</MvWHILE>

		<TR><TD BGCOLOR = "#000080" ALIGN = "left" VALIGN = "middle" NOWRAP>
			<FONT FACE = "Arial, Helvetica" COLOR = "#ffffff" SIZE = "-1">
			<MvHIDE FIELDS = "g.Customer_Stack, g.Customer_Offset">
			<MvIF EXPR = "{ l.shown }">
				<B><MvEVAL EXPR = "{ g.Customer_Offset + 1 }">-<MvEVAL EXPR = "{ l.lastoffset }"></B>
			<MvELSE>
				<B>0-0</B>
			</MvIF>
			</FONT>
		</TD><TD BGCOLOR = "#000080" ALIGN = "right" VALIGN = "middle" COLSPAN = "{ l.columns }">
			<FONT FACE = "Arial, Helvetica" COLOR = "#ffffff" SIZE = "-1">
			<MvIF EXPR = "{ len( g.Customer_Stack ) }">
				<MvEVAL EXPR = "{ '<A HREF = "JavaScript:ListPrevious( \'Customer_Offset\', \'Customer_Stack\' );">' }">
				<MvDO FILE = "{ g.Module_Admin }" NAME = "l.button" VALUE = "{ DrawImgButton_Previous('0') }"><MvEVAL EXPR = "{ button}"><MvEVAL EXPR = "</A>">
			</MvIF>

			<INPUT TYPE = "text" NAME = "Customer_Display" VALUE = "{ encodeentities( g.Customer_Display ) }" SIZE = 5> <A HREF = "JavaScript:ListReload( 'Customer_Offset', 'Customer_Stack' );">
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.button" VALUE = "{ DrawImgButton_Refresh('0') }"><MvEVAL EXPR = "{ button}"><MvEVAL EXPR = "</A>">
			<INPUT TYPE = "hidden" NAME = "Customer_Count" VALUE = "{ encodeentities( l.shown ) }">

			 <MvIF EXPR = "{ l.nextoffset }">
				<MvEVAL EXPR = "{ '<A HREF = "JavaScript:ListNext( \'Customer_Offset\', \'Customer_Stack\', ' $ l.lastoffset $ ' );">' }">
				<MvDO FILE = "{ g.Module_Admin }" NAME = "l.button" VALUE = "{ DrawImgButton_Next('0') }"><MvEVAL EXPR = "{ button }"><MvEVAL EXPR = "</A>">
			 </MvIF>
			</FONT>
		</TD></TR>
		</TABLE>
	<MvELSE>
		<MvHIDE FIELDS = "g.Customer_Stack, g.Customer_Search, g.Customer_Show, g.Customer_Offset, g.Customer_Display, g.Customer_Count, g.Customer_Show_Login, g.Customer_Show_PasswordEmail , g.Customer_Show_ShipFirstName, g.Customer_Show_ShipLastName, g.Customer_Show_ShipEmail, g.Customer_Show_ShipPhone, g.Customer_Show_ShipFax, g.Customer_Show_ShipCompany, g.Customer_Show_ShipAddress, g.Customer_Show_ShipCity, g.Customer_Show_ShipState, g.Customer_Show_ShipZip, g.Customer_Show_ShipCountry, g.Customer_Show_BillFirstName, g.Customer_Show_BillLastName, g.Customer_Show_BillEmail, g.Customer_Show_BillPhone, g.Customer_Show_BillFax, g.Customer_Show_BillCompany, g.Customer_Show_BillAddress, g.Customer_Show_BillCity, g.Customer_Show_BillState, g.Customer_Show_BillZip, g.Customer_Show_BillCountry">
	</MvIF>

	<MvIF EXPR = "{ g.Tab EQ 'CEML' }">
		<TABLE BORDER = 0 CELLPADDING = 2 CELLSPACING = 0 WIDTH = "100%">
		<TR><TD NOWRAP>
			<FONT FACE = "Arial, Helvetica" SIZE = "-1">
			<MvLOCALIZED ID = "MER-CUS-AD-00059">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US"><B>From:</B></MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			</FONT>
		</TD><TD WIDTH = "100%">
			<FONT FACE = "Arial, Helvetica" SIZE = "-1">
			<INPUT TYPE = "text" SIZE = "40" NAME = "CustomerEmail_From" VALUE = "{ encodeentities( g.CustomerEmail_From ) }">
			</FONT>
		</TD></TR>

		<TR><TD NOWRAP>
			<FONT FACE = "Arial, Helvetica" SIZE = "-1">
			<MvLOCALIZED ID = "MER-CUS-AD-00060">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">CC:</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			</FONT>
		</TD><TD WIDTH = "100%">
			<FONT FACE = "Arial, Helvetica" SIZE = "-1">
			<INPUT TYPE = "text" SIZE = "40" NAME = "CustomerEmail_CC" VALUE = "{ encodeentities( g.CustomerEmail_CC ) }">
			</FONT>
		</TD></TR>

		<TR><TD NOWRAP>
			<FONT FACE = "Arial, Helvetica" SIZE = "-1">
			<MvLOCALIZED ID = "MER-CUS-AD-00061">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US"><B>Subject:</B></MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			</FONT>
		</TD><TD WIDTH = "100%">
			<FONT FACE = "Arial, Helvetica" SIZE = "-1">
			<INPUT TYPE = "text" SIZE = "40" NAME = "CustomerEmail_Subject" VALUE = "{ encodeentities( g.CustomerEmail_Subject ) }">
			</FONT>
			<BR>
		</TD></TR>

		<TR><TD VALIGN = "top">
			<FONT FACE = "Arial, Helvetica" SIZE = "-1">
			<MvLOCALIZED ID = "MER-CUS-AD-00062">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Header Text (Precedes Account Information):</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			</FONT>
		</TD><TD WIDTH = "100%">
			<FONT FACE = "Arial, Helvetica" SIZE = "-1">
			<MIVA STANDARDOUTPUTLEVEL = "text, html"><TEXTAREA NAME = "CustomerEmail_Header" ROWS = 10 COLS = 58 WRAP = "off"><MvEVAL EXPR = "{ encodeentities( g.CustomerEmail_Header ) }"></TEXTAREA><MIVA STANDARDOUTPUTLEVEL = "text, html, compresswhitespace">
			</FONT>
		</TD></TR>
		</TABLE>
	<MvELSE>
		<MvHIDE FIELDS = "g.CustomerEmail_From, g.CustomerEmail_CC, g.CustomerEmail_Subject, g.CustomerEmail_Header">
	</MvIF>

	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.end_content" VALUE = "{ EndContent() }">

	<MvIF EXPR = "{ l.can_modify OR l.can_delete }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.button" VALUE = "{ DrawButtons( 'CSBD:[UPDATE]' ) }">
	<MvELSE>
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.button" VALUE = "{ DrawButtons( '' ) }">
	</MvIF>

	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.end_screen" VALUE = "{ EndScreen() }">
	<MvFUNCTIONRETURN VALUE = "{ l.ok }">
</MvFUNCTION>

<MvFUNCTION NAME = "Screen_Customers" STANDARDOUTPUTLEVEL = "text,html,compresswhitespace">
	<MvASSIGN NAME = "l.ok" VALUE = 1>
	<MvLOCALIZED NAME = "l.title" ID = "MER-CUS-AD-00063">
		<MvLOCALIZED-TEXT LANGUAGE = "en-US">Add Customer</MvLOCALIZED-TEXT>
	</MvLOCALIZED>
	<MvASSIGN NAME = "l.action" VALUE = "">

	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.can_add" 	VALUE = "{ CanI( 'CUST', 0, 1, 0, 0 ) }">
	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.can_modify" VALUE = "{ CanI( 'CUST', 0, 0, 1, 0 ) }">
	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.can_delete" VALUE = "{ CanI( 'CUST', 0, 0, 0, 1 ) }">

	<MvDO FILE = "{ g.Module_Library_DB }" NAME = "l.state_empty" VALUE = "{ State_Empty() }">

	<MvIF EXPR = "{ len( g.Edit_Item ) }">
		<MvASSIGN NAME = "g.Edit_Customer" VALUE = "{ g.Edit_Item }">
	</MvIF>

	<MvIF EXPR = "{ len( g.Edit_Customer ) EQ 0 AND l.can_add EQ 0 }">
		<MvFUNCTIONRETURN VALUE = "{ l.ok }">
	</MvIF>

	<MvIF EXPR = "{ l.ok }">
		<MvIF EXPR = "{ len( g.Edit_Customer ) }">
			<MvIF EXPR = "{ g.Prev_Item }">
				<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.found" VALUE = "{ Customer_FindPrev_CustomerID( g.Edit_Customer ) }">
				<MvIF EXPR = "{ l.found }">
					<MvASSIGN NAME = "g.Edit_Customer" VALUE = "{ Customers.d.login }">
				<MvELSE>
					<MvLOCALIZED NAME = "l.message" ID = "MER-CUS-AD-00064">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">There is no previous Customer</MvLOCALIZED-TEXT>
					</MvLOCALIZED>

					<MvASSIGN NAME = "g.Message" VALUE = "{ l.message }">
				</MvIF>
			</MvIF>

			<MvIF EXPR = "{ g.Next_Item }">
				<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.found" VALUE = "{ Customer_FindNext_CustomerID( g.Edit_Customer ) }">
				<MvIF EXPR = "{ l.found }">
					<MvASSIGN NAME = "g.Edit_Customer" VALUE = "{ Customers.d.login }">
				<MvELSE>
					<MvLOCALIZED NAME = "l.message" ID = "MER-CUS-AD-00065">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">There is no next Customer</MvLOCALIZED-TEXT>
					</MvLOCALIZED>

					<MvASSIGN NAME = "g.Message" VALUE = "{ l.message }">
				</MvIF>
			</MvIF>

			<MvIF EXPR = "{ g.First_Item }">
				<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.found" VALUE = "{ Customer_FindFirst() }">
				<MvIF EXPR = "{ l.found }">
					<MvASSIGN NAME = "g.Edit_Customer" VALUE = "{ Customers.d.login }">
				<MvELSE>
					<MvLOCALIZED NAME = "l.message" ID = "MER-CUS-AD-00066">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">There is no Customer</MvLOCALIZED-TEXT>
					</MvLOCALIZED>

					<MvASSIGN NAME = "g.Message" VALUE = "{ l.message }">
				</MvIF>
			</MvIF>

			<MvIF EXPR = "{ g.Last_Item }">
				<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.found" VALUE = "{ Customer_FindLast() }">
				<MvIF EXPR = "{ l.found }">
					<MvASSIGN NAME = "g.Edit_Customer" VALUE = "{ Customers.d.login }">
				<MvELSE>
					<MvLOCALIZED NAME = "l.message" ID = "MER-CUS-AD-00067">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">There are no Customers</MvLOCALIZED-TEXT>
					</MvLOCALIZED>

					<MvASSIGN NAME = "g.Message" VALUE = "{ l.message }">
				</MvIF>
			</MvIF>

			<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.ok" VALUE = "{ Customer_Find_Login( g.Edit_Customer ) }">
			<MvIF EXPR = "{ l.ok }">
				<MvLOCALIZED NAME = "l.title" ID = "MER-CUS-AD-00068">
					<MvLOCALIZED-TOKEN NAME = "customer" VALUE = "{ encodeentities( Customers.d.login ) }">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Edit Customer: %customer%</MvLOCALIZED-TEXT>
				</MvLOCALIZED>

				<MvIF EXPR = "{ g.Load_Fields }">
					<MvASSIGN NAME = "g.Customer_Login" VALUE = "{ Customers.d.login }">
					<MvASSIGN NAME = "g.Customer_PasswordEmail" VALUE = "{ Customers.d.pw_email }">
					<MvASSIGN NAME = "g.Customer_Password" VALUE = "">
					<MvASSIGN NAME = "g.Customer_VerifyPassword" VALUE = "">

					<MvASSIGN NAME = "g.Customer_ShipFirstName" VALUE = "{ Customers.d.ship_fname }">
					<MvASSIGN NAME = "g.Customer_ShipLastName" VALUE = "{ Customers.d.ship_lname }">
					<MvASSIGN NAME = "g.Customer_ShipEmail" VALUE = "{ Customers.d.ship_email }">
					<MvASSIGN NAME = "g.Customer_ShipCompany" VALUE = "{ Customers.d.ship_comp }">
					<MvASSIGN NAME = "g.Customer_ShipPhone" VALUE = "{ Customers.d.ship_phone }">
					<MvASSIGN NAME = "g.Customer_ShipFax" VALUE = "{ Customers.d.ship_fax }">
					<MvASSIGN NAME = "g.Customer_ShipAddress" VALUE = "{ Customers.d.ship_addr }">
					<MvASSIGN NAME = "g.Customer_ShipCity" VALUE = "{ Customers.d.ship_city }">
	
					<MvIF EXPR = "{ l.state_empty }">
						<MvASSIGN NAME = "g.Customer_ShipStateSelect" VALUE = "">
						<MvASSIGN NAME = "g.Customer_ShipState" VALUE = "{ Customers.d.ship_state }">
					<MvELSE>
						<MvASSIGN NAME = "g.Customer_ShipStateSelect" VALUE = "{ Customers.d.ship_state }">
						<MvASSIGN NAME = "g.Customer_ShipState" VALUE = "">
					</MvIF>

					<MvASSIGN NAME = "g.Customer_ShipCountry" VALUE = "{ Customers.d.ship_cntry }">
					<MvASSIGN NAME = "g.Customer_ShipZip" VALUE = "{ Customers.d.ship_zip }">

					<MvASSIGN NAME = "g.Customer_BillFirstName" VALUE = "{ Customers.d.bill_fname }">
					<MvASSIGN NAME = "g.Customer_BillLastName" VALUE = "{ Customers.d.bill_lname }">
					<MvASSIGN NAME = "g.Customer_BillEmail" VALUE = "{ Customers.d.bill_email }">
					<MvASSIGN NAME = "g.Customer_BillCompany" VALUE = "{ Customers.d.bill_comp }">
					<MvASSIGN NAME = "g.Customer_BillPhone" VALUE = "{ Customers.d.bill_phone }">
					<MvASSIGN NAME = "g.Customer_BillFax" VALUE = "{ Customers.d.bill_fax }">
					<MvASSIGN NAME = "g.Customer_BillAddress" VALUE = "{ Customers.d.bill_addr }">
					<MvASSIGN NAME = "g.Customer_BillCity" VALUE = "{ Customers.d.bill_city }">

					<MvIF EXPR = "{ l.state_empty }">
						<MvASSIGN NAME = "g.Customer_BillStateSelect" VALUE = "">
						<MvASSIGN NAME = "g.Customer_BillState" VALUE = "{ Customers.d.bill_state }">
					<MvELSE>
						<MvASSIGN NAME = "g.Customer_BillStateSelect" VALUE = "{ Customers.d.bill_state }">
						<MvASSIGN NAME = "g.Customer_BillState" VALUE = "">
					</MvIF>

					<MvASSIGN NAME = "g.Customer_BillCountry" VALUE = "{ Customers.d.bill_cntry }">
					<MvASSIGN NAME = "g.Customer_BillZip" VALUE = "{ Customers.d.bill_zip }">
				</MvIF>
			</MvIF>
		<MvELSE>
			<MvIF EXPR = "{ g.Load_Fields }">
				<MvASSIGN NAME = "g.Customer_Login" VALUE = "">
				<MvASSIGN NAME = "g.Customer_PasswordEmail" VALUE = "">
				<MvASSIGN NAME = "g.Customer_Password" VALUE = "">
				<MvASSIGN NAME = "g.Customer_VerifyPassword" VALUE = "">

				<MvASSIGN NAME = "g.Customer_ShipFirstName" VALUE = "">
				<MvASSIGN NAME = "g.Customer_ShipLastName" VALUE = "">
				<MvASSIGN NAME = "g.Customer_ShipEmail" VALUE = "">
				<MvASSIGN NAME = "g.Customer_ShipCompany" VALUE = "">
				<MvASSIGN NAME = "g.Customer_ShipPhone" VALUE = "">
				<MvASSIGN NAME = "g.Customer_ShipFax" VALUE = "">
				<MvASSIGN NAME = "g.Customer_ShipAddress" VALUE = "">
				<MvASSIGN NAME = "g.Customer_ShipCity" VALUE = "">
				<MvASSIGN NAME = "g.Customer_ShipStateSelect" VALUE = "">
				<MvASSIGN NAME = "g.Customer_ShipState" VALUE = "">
				<MvASSIGN NAME = "g.Customer_ShipZip" VALUE = "">
				<MvASSIGN NAME = "g.Customer_ShipCountry" VALUE = "">

				<MvASSIGN NAME = "g.Customer_BillFirstName" VALUE = "">
				<MvASSIGN NAME = "g.Customer_BillLastName" VALUE = "">
				<MvASSIGN NAME = "g.Customer_BillEmail" VALUE = "">
				<MvASSIGN NAME = "g.Customer_BillCompany" VALUE = "">
				<MvASSIGN NAME = "g.Customer_BillPhone" VALUE = "">
				<MvASSIGN NAME = "g.Customer_BillFax" VALUE = "">
				<MvASSIGN NAME = "g.Customer_BillAddress" VALUE = "">
				<MvASSIGN NAME = "g.Customer_BillCity" VALUE = "">
				<MvASSIGN NAME = "g.Customer_BillStateSelect" VALUE = "">
				<MvASSIGN NAME = "g.Customer_BillState" VALUE = "">
				<MvASSIGN NAME = "g.Customer_BillZip" VALUE = "">
				<MvASSIGN NAME = "g.Customer_BillCountry" VALUE = "">
			</MvIF>
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_ShipCountry ) EQ 0 }">
		<MvASSIGN NAME = "g.Customer_ShipCountry" VALUE = "{ Stores.d.country }">
	</MvIF>

	<MvIF EXPR = "{ l.ok }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.begin_screen" VALUE = "{ BeginScreen( l.title, l.action, 'Help:cust.html' ) }">

		<MvIF EXPR = "{ len( g.Edit_Customer ) }">
			<MvHIDE FIELDS = "g.Edit_Customer">
		</MvIF>

		<MvLOCALIZED NAME = "l.tab_list" ID = "MER-CUS-AD-00069">
			<MvLOCALIZED-TEXT LANGUAGE = "en-US">IDEN:Identification,INFO:Shipping/Billing Information</MvLOCALIZED-TEXT>
		</MvLOCALIZED>
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.draw_tabs" VALUE = "{ DrawTabs( 'IDEN', l.tab_list ) }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.begin_content" VALUE = "{ BeginContent() }">

		<MvIF EXPR = "{ g.Tab EQ 'IDEN' }">
			<TABLE BORDER = 0 CELLPADDING = 2 CELLSPACING = 0 WIDTH = "100%">
			<TR><TD VALIGN = "top" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00070">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Login:</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD><TD WIDTH = "100%">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<INPUT TYPE = "text" SIZE = 15 NAME = "Customer_Login" VALUE = "{ encodeentities( g.Customer_Login ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
				</FONT>
			</TD></TR>

			<TR><TD VALIGN = "top" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00071">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Email Lost Passwords To:</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD><TD WIDTH = "100%">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<INPUT TYPE = "text" SIZE = 40 NAME = "Customer_PasswordEmail" VALUE = "{ encodeentities( g.Customer_PasswordEmail ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
				</FONT>
			</TD></TR>

			<TR><TD VALIGN = "top" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00072">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Password:</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD><TD WIDTH = "100%">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<INPUT TYPE = "password" SIZE = 25 NAME = "Customer_Password" VALUE = "{ encodeentities( g.Customer_Password ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
				</FONT>
			</TD></TR>

			<TR><TD VALIGN = "top" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00073">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Confirm Password:</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD><TD WIDTH = "100%">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<INPUT TYPE = "password" SIZE = 25 NAME = "Customer_VerifyPassword" VALUE = "{ encodeentities( g.Customer_VerifyPassword ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
				</FONT>
			</TD></TR>
			</TABLE>
		<MvELSE>
			<MvHIDE FIELDS = "g.Customer_Login, g.Customer_PasswordEmail, g.Customer_Password, g.Customer_VerifyPassword">
		</MvIF>

		<MvIF EXPR = "{ g.Tab EQ 'INFO' }">
			<TABLE BORDER = 0 CELLPADDING = 2 CELLSPACING = 0 WIDTH = "100%">
			<TR><TD ALIGN = "left" VALIGN = "middle" BGCOLOR = "#000080">
				<FONT FACE = "Arial, Helvetica" SIZE = "" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00074">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Ship To:</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD><TD ALIGN = "left" VALIGN = "middle" BGCOLOR = "#000080">
				<FONT FACE = "Arial, Helvetica" SIZE = "" COLOR = "#ffffff"><B>
				<MvLOCALIZED ID = "MER-CUS-AD-00075">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Bill To:</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</B></FONT>
			</TD></TR>

			<TR><TD ALIGN = "left" VALIGN = "top">
				<TABLE BORDER = 0 CELLPADDING = 2 CELLSPACING = 0>
				<TR><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvLOCALIZED ID = "MER-CUS-AD-00076">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">First Name:</MvLOCALIZED-TEXT>
					</MvLOCALIZED>
					</FONT>
				</TD><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<INPUT TYPE = "text" NAME = "Customer_ShipFirstName" SIZE = 25 VALUE = "{ encodeentities( g.Customer_ShipFirstName ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
					</FONT>
				</TD></TR>

				<TR><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvLOCALIZED ID = "MER-CUS-AD-00077">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">Last Name:</MvLOCALIZED-TEXT>
					</MvLOCALIZED>
					</FONT>
				</TD><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<INPUT TYPE = "text" NAME = "Customer_ShipLastName" SIZE = 25 VALUE = "{ encodeentities( g.Customer_ShipLastName ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
					</FONT>
				</TD></TR>

				<TR><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvLOCALIZED ID = "MER-CUS-AD-00078">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">Email Address:</MvLOCALIZED-TEXT>
					</MvLOCALIZED>
					</FONT>
				</TD><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<INPUT TYPE = "text" NAME = "Customer_ShipEmail" SIZE = 25 VALUE = "{ encodeentities( g.Customer_ShipEmail ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
					</FONT>
				</TD></TR>

				<TR><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvLOCALIZED ID = "MER-CUS-AD-00079">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">Phone Number:</MvLOCALIZED-TEXT>
					</MvLOCALIZED>
					</FONT>
				</TD><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<INPUT TYPE = "text" NAME = "Customer_ShipPhone" SIZE = 25 VALUE = "{ encodeentities( g.Customer_ShipPhone ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
					</FONT>
				</TD></TR>

				<TR><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvLOCALIZED ID = "MER-CUS-AD-00080">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">Fax Number:</MvLOCALIZED-TEXT>
					</MvLOCALIZED>
					</FONT>
				</TD><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<INPUT TYPE = "text" NAME = "Customer_ShipFax" SIZE = 25 VALUE = "{ encodeentities( g.Customer_ShipFax ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
					</FONT>
				</TD></TR>

				<TR><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvLOCALIZED ID = "MER-CUS-AD-00081">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">Company:</MvLOCALIZED-TEXT>
					</MvLOCALIZED>
					</FONT>
				</TD><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<INPUT TYPE = "text" NAME = "Customer_ShipCompany" SIZE = 25 VALUE = "{ encodeentities( g.Customer_ShipCompany ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
					</FONT>
				</TD></TR>

				<TR><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvLOCALIZED ID = "MER-CUS-AD-00082">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">Address:</MvLOCALIZED-TEXT>
					</MvLOCALIZED>
					</FONT>
				</TD><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<INPUT TYPE = "text" NAME = "Customer_ShipAddress" SIZE = 25 VALUE = "{ encodeentities( g.Customer_ShipAddress ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
					</FONT>
				</TD></TR>

				<MvIF EXPR = "{ s.miva_language EQ 'de-DE' }">
					<TR><TD ALIGN = "left" VALIGN = "middle">
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvLOCALIZED ID = "MER-CUS-AD-00083">
							<MvLOCALIZED-TEXT LANGUAGE = "en-US">Zip/Postal Code:</MvLOCALIZED-TEXT>
						</MvLOCALIZED>
						</FONT>
					</TD><TD ALIGN = "left" VALIGN = "middle">
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_ShipZip" SIZE = 25 VALUE = "{ encodeentities( g.Customer_ShipZip ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
						</FONT>
					</TD></TR>

					<TR><TD ALIGN = "left" VALIGN = "middle">
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvLOCALIZED ID = "MER-CUS-AD-00084">
							<MvLOCALIZED-TEXT LANGUAGE = "en-US">City:</MvLOCALIZED-TEXT>
						</MvLOCALIZED>
						</FONT>
					</TD><TD ALIGN = "left" VALIGN = "middle">
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_ShipCity" SIZE = 25 VALUE = "{ encodeentities( g.Customer_ShipCity ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
						</FONT>
					</TD></TR>

					<MvIF EXPR = "{ l.state_empty }">
						<TR><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<MvLOCALIZED ID = "MER-CUS-AD-00085">
								<MvLOCALIZED-TEXT LANGUAGE = "en-US">State/Province:</MvLOCALIZED-TEXT>
							</MvLOCALIZED>
							</FONT>
						</TD><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<INPUT TYPE = "text" NAME = "Customer_ShipState" SIZE = 25 VALUE = "{ encodeentities( g.Customer_ShipState ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
							</FONT>
						</TD></TR>
					<MvELSE>
						<TR><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<MvLOCALIZED ID = "MER-CUS-AD-00086">
								<MvLOCALIZED-TEXT LANGUAGE = "en-US">State/Province:</MvLOCALIZED-TEXT>
							</MvLOCALIZED>
							</FONT>
						</TD><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.selected" VALUE = "{ State_Select( 'Customer_ShipStateSelect', g.Customer_ShipStateSelect ) }">
							<MvIF EXPR = "{ NOT l.selected }">
								<MvASSIGN NAME = "g.Customer_ShipState" VALUE = "{ g.Customer_ShipStateSelect }">
							</MvIF>
							</FONT>
						</TD></TR>

						<TR><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<MvLOCALIZED ID = "MER-CUS-AD-00087">
								<MvLOCALIZED-TEXT LANGUAGE = "en-US">Other State/Province:</MvLOCALIZED-TEXT>
							</MvLOCALIZED>
							</FONT>
						</TD><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<INPUT TYPE = "text" NAME = "Customer_ShipState" SIZE = 25 VALUE = "{ encodeentities( g.Customer_ShipState ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
							</FONT>
						</TD></TR>
					</MvIF>
				<MvELSE>
					<TR><TD ALIGN = "left" VALIGN = "middle">
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvLOCALIZED ID = "MER-CUS-AD-00088">
							<MvLOCALIZED-TEXT LANGUAGE = "en-US">City:</MvLOCALIZED-TEXT>
						</MvLOCALIZED>
						</FONT>
					</TD><TD ALIGN = "left" VALIGN = "middle">
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_ShipCity" SIZE = 25 VALUE = "{ encodeentities( g.Customer_ShipCity ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
						</FONT>
					</TD></TR>

					<MvIF EXPR = "{ l.state_empty }">
						<TR><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<MvLOCALIZED ID = "MER-CUS-AD-00089">
								<MvLOCALIZED-TEXT LANGUAGE = "en-US">State/Province:</MvLOCALIZED-TEXT>
							</MvLOCALIZED>
							</FONT>
						</TD><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<INPUT TYPE = "text" NAME = "Customer_ShipState" SIZE = 25 VALUE = "{ encodeentities( g.Customer_ShipState ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
							</FONT>
						</TD></TR>
					<MvELSE>
						<TR><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<MvLOCALIZED ID = "MER-CUS-AD-00090">
								<MvLOCALIZED-TEXT LANGUAGE = "en-US">State/Province:</MvLOCALIZED-TEXT>
							</MvLOCALIZED>
							</FONT>
						</TD><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.selected" VALUE = "{ State_Select( 'Customer_ShipStateSelect', g.Customer_ShipStateSelect ) }">
							<MvIF EXPR = "{ NOT l.selected }">
								<MvASSIGN NAME = "g.Customer_ShipState" VALUE = "{ g.Customer_ShipStateSelect }">
							</MvIF>
							</FONT>
						</TD></TR>

						<TR><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<MvLOCALIZED ID = "MER-CUS-AD-00091">
								<MvLOCALIZED-TEXT LANGUAGE = "en-US">Other State/Province:</MvLOCALIZED-TEXT>
							</MvLOCALIZED>
							</FONT>
						</TD><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<INPUT TYPE = "text" NAME = "Customer_ShipState" SIZE = 25 VALUE = "{ encodeentities( g.Customer_ShipState ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
							</FONT>
						</TD></TR>
					</MvIF>

					<TR><TD ALIGN = "left" VALIGN = "middle">
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvLOCALIZED ID = "MER-CUS-AD-00092">
							<MvLOCALIZED-TEXT LANGUAGE = "en-US">Zip/Postal Code:</MvLOCALIZED-TEXT>
						</MvLOCALIZED>
						</FONT>
					</TD><TD ALIGN = "left" VALIGN = "middle">
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_ShipZip" SIZE = 25 VALUE = "{ encodeentities( g.Customer_ShipZip ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
						</FONT>
					</TD></TR>
				</MvIF>

				<TR><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvLOCALIZED ID = "MER-CUS-AD-00093">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">Country:</MvLOCALIZED-TEXT>
					</MvLOCALIZED>
					</FONT>
				</TD><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.ok" VALUE = "{ Country_Select( 'Customer_ShipCountry', g.Customer_ShipCountry ) }">
					</FONT>
				</TD></TR>
				</TABLE>
			</TD><TD ALIGN = "left" VALIGN = "top">
				<TABLE BORDER = 0 CELLPADDING = 2 CELLSPACING = 0>
				<TR><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvLOCALIZED ID = "MER-CUS-AD-00094">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">First Name:</MvLOCALIZED-TEXT>
					</MvLOCALIZED>
					</FONT>
				</TD><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<INPUT TYPE = "text" NAME = "Customer_BillFirstName" SIZE = 25 VALUE = "{ encodeentities( g.Customer_BillFirstName ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
					</FONT>
				</TD></TR>

				<TR><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvLOCALIZED ID = "MER-CUS-AD-00095">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">Last Name:</MvLOCALIZED-TEXT>
					</MvLOCALIZED>
					</FONT>
				</TD><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<INPUT TYPE = "text" NAME = "Customer_BillLastName" SIZE = 25 VALUE = "{ encodeentities( g.Customer_BillLastName ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
					</FONT>
				</TD></TR>

				<TR><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvLOCALIZED ID = "MER-CUS-AD-00096">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">Email Address:</MvLOCALIZED-TEXT>
					</MvLOCALIZED>
					</FONT>
				</TD><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<INPUT TYPE = "text" NAME = "Customer_BillEmail" SIZE = 25 VALUE = "{ encodeentities( g.Customer_BillEmail ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
					</FONT>
				</TD></TR>

				<TR><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvLOCALIZED ID = "MER-CUS-AD-00097">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">Phone Number:</MvLOCALIZED-TEXT>
					</MvLOCALIZED>
					</FONT>
				</TD><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<INPUT TYPE = "text" NAME = "Customer_BillPhone" SIZE = 25 VALUE = "{ encodeentities( g.Customer_BillPhone ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
					</FONT>
				</TD></TR>

				<TR><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvLOCALIZED ID = "MER-CUS-AD-00098">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">Fax Number:</MvLOCALIZED-TEXT>
					</MvLOCALIZED>
					</FONT>
				</TD><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<INPUT TYPE = "text" NAME = "Customer_BillFax" SIZE = 25 VALUE = "{ encodeentities( g.Customer_BillFax ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
					</FONT>
				</TD></TR>

				<TR><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvLOCALIZED ID = "MER-CUS-AD-00099">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">Company:</MvLOCALIZED-TEXT>
					</MvLOCALIZED>
					</FONT>
				</TD><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<INPUT TYPE = "text" NAME = "Customer_BillCompany" SIZE = 25 VALUE = "{ encodeentities( g.Customer_BillCompany ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
					</FONT>
				</TD></TR>

				<TR><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvLOCALIZED ID = "MER-CUS-AD-00100">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">Address:</MvLOCALIZED-TEXT>
					</MvLOCALIZED>
					</FONT>
				</TD><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<INPUT TYPE = "text" NAME = "Customer_BillAddress" SIZE = 25 VALUE = "{ encodeentities( g.Customer_BillAddress ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
					</FONT>
				</TD></TR>

				<MvIF EXPR = "{ s.miva_language EQ 'de-DE' }">
					<TR><TD ALIGN = "left" VALIGN = "middle">
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvLOCALIZED ID = "MER-CUS-AD-00101">
							<MvLOCALIZED-TEXT LANGUAGE = "en-US">Zip/Postal Code:</MvLOCALIZED-TEXT>
						</MvLOCALIZED>
						</FONT>
					</TD><TD ALIGN = "left" VALIGN = "middle">
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_BillZip" SIZE = 25 VALUE = "{ encodeentities( g.Customer_BillZip ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
						</FONT>
					</TD></TR>

					<TR><TD ALIGN = "left" VALIGN = "middle">
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvLOCALIZED ID = "MER-CUS-AD-00102">
							<MvLOCALIZED-TEXT LANGUAGE = "en-US">City:</MvLOCALIZED-TEXT>
						</MvLOCALIZED>
						</FONT>
					</TD><TD ALIGN = "left" VALIGN = "middle">
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_BillCity" SIZE = 25 VALUE = "{ encodeentities( g.Customer_BillCity ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
						</FONT>
					</TD></TR>

					<MvIF EXPR = "{ l.state_empty }">
						<TR><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<MvLOCALIZED ID = "MER-CUS-AD-00103">
								<MvLOCALIZED-TEXT LANGUAGE = "en-US">State/Province:</MvLOCALIZED-TEXT>
							</MvLOCALIZED>
							</FONT>
						</TD><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<INPUT TYPE = "text" NAME = "Customer_BillState" SIZE = 25 VALUE = "{ encodeentities( g.Customer_BillState ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
							</FONT>
						</TD></TR>
					<MvELSE>
						<TR><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<MvLOCALIZED ID = "MER-CUS-AD-00104">
								<MvLOCALIZED-TEXT LANGUAGE = "en-US">State/Province:</MvLOCALIZED-TEXT>
							</MvLOCALIZED>
							</FONT>
						</TD><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.selected" VALUE = "{ State_Select( 'Customer_BillStateSelect', g.Customer_BillStateSelect ) }">
							<MvIF EXPR = "{ NOT l.selected }">
								<MvASSIGN NAME = "g.Customer_BillState" VALUE = "{ g.Customer_BillStateSelect }">
							</MvIF>
							</FONT>
						</TD></TR>

						<TR><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<MvLOCALIZED ID = "MER-CUS-AD-00105">
								<MvLOCALIZED-TEXT LANGUAGE = "en-US">Other State/Province:</MvLOCALIZED-TEXT>
							</MvLOCALIZED>
							</FONT>
						</TD><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<INPUT TYPE = "text" NAME = "Customer_BillState" SIZE = 25 VALUE = "{ encodeentities( g.Customer_BillState ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
							</FONT>
						</TD></TR>
					</MvIF>
				<MvELSE>
					<TR><TD ALIGN = "left" VALIGN = "middle">
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvLOCALIZED ID = "MER-CUS-AD-00106">
							<MvLOCALIZED-TEXT LANGUAGE = "en-US">City:</MvLOCALIZED-TEXT>
						</MvLOCALIZED>
						</FONT>
					</TD><TD ALIGN = "left" VALIGN = "middle">
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_BillCity" SIZE = 25 VALUE = "{ encodeentities( g.Customer_BillCity ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
						</FONT>
					</TD></TR>

					<MvIF EXPR = "{ l.state_empty }">
						<TR><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<MvLOCALIZED ID = "MER-CUS-AD-00107">
								<MvLOCALIZED-TEXT LANGUAGE = "en-US">State/Province:</MvLOCALIZED-TEXT>
							</MvLOCALIZED>
							</FONT>
						</TD><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<INPUT TYPE = "text" NAME = "Customer_BillState" SIZE = 25 VALUE = "{ encodeentities( g.Customer_BillState ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
							</FONT>
						</TD></TR>
					<MvELSE>
						<TR><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<MvLOCALIZED ID = "MER-CUS-AD-00108">
								<MvLOCALIZED-TEXT LANGUAGE = "en-US">State/Province:</MvLOCALIZED-TEXT>
							</MvLOCALIZED>
							</FONT>
						</TD><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.selected" VALUE = "{ State_Select( 'Customer_BillStateSelect', g.Customer_BillStateSelect ) }">
							<MvIF EXPR = "{ NOT l.selected }">
								<MvASSIGN NAME = "g.Customer_BillState" VALUE = "{ g.Customer_BillStateSelect }">
							</MvIF>
							</FONT>
						</TD></TR>

						<TR><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<MvLOCALIZED ID = "MER-CUS-AD-00109">
								<MvLOCALIZED-TEXT LANGUAGE = "en-US">Other State/Province:</MvLOCALIZED-TEXT>
							</MvLOCALIZED>
							</FONT>
						</TD><TD ALIGN = "left" VALIGN = "middle">
							<FONT FACE = "Arial, Helvetica" SIZE = "-1">
							<INPUT TYPE = "text" NAME = "Customer_BillState" SIZE = 25 VALUE = "{ encodeentities( g.Customer_BillState ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
							</FONT>
						</TD></TR>
					</MvIF>

					<TR><TD ALIGN = "left" VALIGN = "middle">
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<MvLOCALIZED ID = "MER-CUS-AD-00110">
							<MvLOCALIZED-TEXT LANGUAGE = "en-US">Zip/Postal Code:</MvLOCALIZED-TEXT>
						</MvLOCALIZED>
						</FONT>
					</TD><TD ALIGN = "left" VALIGN = "middle">
						<FONT FACE = "Arial, Helvetica" SIZE = "-1">
						<INPUT TYPE = "text" NAME = "Customer_BillZip" SIZE = 25 VALUE = "{ encodeentities( g.Customer_BillZip ) }" ONCHANGE = "{ 'SetItemModified( \'' $ g.Edit_Customer $ '\' );' }">
						</FONT>
					</TD></TR>
				</MvIF>

				<TR><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvLOCALIZED ID = "MER-CUS-AD-00111">
						<MvLOCALIZED-TEXT LANGUAGE = "en-US">Country:</MvLOCALIZED-TEXT>
					</MvLOCALIZED>
					</FONT>
				</TD><TD ALIGN = "left" VALIGN = "middle">
					<FONT FACE = "Arial, Helvetica" SIZE = "-1">
					<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.ok" VALUE = "{ Country_Select( 'Customer_BillCountry', g.Customer_BillCountry ) }">
					</FONT>
				</TD></TR>
				</TABLE>
			</TD></TR>
			</TABLE>
		<MvELSE>
			<MvHIDE FIELDS = "g.Customer_ShipFirstName, g.Customer_ShipLastName, g.Customer_ShipEmail, g.Customer_ShipCompany, g.Customer_ShipPhone, g.Customer_ShipFax, g.Customer_ShipAddress, g.Customer_ShipCity, g.Customer_ShipStateSelect, g.Customer_ShipState, g.Customer_ShipZip, g.Customer_ShipCountry, g.Customer_BillFirstName, g.Customer_BillLastName, g.Customer_BillEmail, g.Customer_BillCompany, g.Customer_BillPhone, g.Customer_BillFax, g.Customer_BillAddress, g.Customer_BillCity, g.Customer_BillStateSelect, g.Customer_BillState, g.Customer_BillZip, g.Customer_BillCountry">
		</MvIF>
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.end_content" VALUE = "{ EndContent() }">

		<MvIF EXPR = "{ len( g.Edit_Customer ) }">
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.button_nextprev" VALUE = "{ DrawButtons_NextPrevious( 'UCST:[UPDATE]:CUST:0:1:0,DCST:[DELETE]:CUST:0:0:1', g.Edit_Customer ) }">
		<MvELSE>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.button" VALUE = "{ DrawButtons( 'ICST:[ADD]:CUST:1:0:0' ) }">
		</MvIF>

		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.end_content" VALUE = "{ EndScreen() }">
	</MvIF>

	<MvFUNCTIONRETURN VALUE = "{ l.ok }">
</MvFUNCTION>

<MvFUNCTION NAME = "Customer_Navigation" STANDARDOUTPUTLEVEL = "text, html, compresswhitespace">
	<MvLOCALIZED NAME = "l.label" ID = "MER-CUS-AD-00112">
		<MvLOCALIZED-TEXT LANGUAGE = "en-US">Customers</MvLOCALIZED-TEXT>
	</MvLOCALIZED>
	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.leftNavigation_level" VALUE = "{ LeftNavigation_Level( 2, 'CUST(' $ Stores.d.id $ ')', 'Screen=CSBD&Store_Code=' $ encodeentities( Stores.d.code ) , 'Main', l.label ) }">
	
	<MvIF EXPR = "{ l.leftNavigation_level }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.can_add" VALUE = "{ CanI( 'CUST', 0, 1, 0, 0 ) }">
		<MvIF EXPR = "{ l.can_add }">
			<MvLOCALIZED NAME = "l.label" ID = "MER-CUS-AD-00113">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Add Customer</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.leftNavigation_dot" VALUE = "{ LeftNavigation_Dot( 3, 'Screen=CUST&Store_Code=' $ encodeattribute( Stores.d.code ), 'Main', l.label ) }">
			<MvEVAL EXPR = "{ l.leftNavigation_dot }">
		</MvIF>
   </MvIF>
   <MvFUNCTIONRETURN VALUE = 1>
</MvFUNCTION>

<MvCOMMENT>
|
| Customers
|
</MvCOMMENT>
<MvFUNCTION NAME = "Screen_Stores_CFLD" PARAMETERS = "" STANDARDOUTPUTLEVEL = "text, html, compresswhitespace">
	<MvASSIGN NAME = "l.ok" VALUE = "1">
	<MvDO FILE = "{ g.Module_Library_DB }" NAME = "l.found" VALUE = "{ Get_StandardFields() }">
	<MvIF EXPR = "{ NOT g.Data_Entry_Error }">
		<MvASSIGN NAME = "g.Store_StandardFields_billing" VALUE = "{ StandardFields.d.billing }">
		<MvASSIGN NAME = "g.Store_StandardFields_mode_fname" VALUE = "{ StandardFields.d.mode_fname }">
		<MvASSIGN NAME = "g.Store_StandardFields_mode_lname" VALUE = "{ StandardFields.d.mode_lname }">
		<MvASSIGN NAME = "g.Store_StandardFields_mode_email" VALUE = "{ StandardFields.d.mode_email }">
		<MvASSIGN NAME = "g.Store_StandardFields_mode_comp" VALUE = "{ StandardFields.d.mode_comp }">
		<MvASSIGN NAME = "g.Store_StandardFields_mode_phone" VALUE = "{ StandardFields.d.mode_phone }">
		<MvASSIGN NAME = "g.Store_StandardFields_mode_fax" VALUE = "{ StandardFields.d.mode_fax }">
		<MvASSIGN NAME = "g.Store_StandardFields_mode_addr" VALUE = "{ StandardFields.d.mode_addr }">
		<MvASSIGN NAME = "g.Store_StandardFields_mode_city" VALUE = "{ StandardFields.d.mode_city }">
		<MvASSIGN NAME = "g.Store_StandardFields_mode_state" VALUE = "{ StandardFields.d.mode_state }">
		<MvASSIGN NAME = "g.Store_StandardFields_mode_zip" VALUE = "{ StandardFields.d.mode_zip }">
		<MvASSIGN NAME = "g.Store_StandardFields_mode_cntry" VALUE = "{ StandardFields.d.mode_cntry }">
	</MvIF>

	<MvIF EXPR = "{ l.ok }">
		<P>
		<FONT FACE = "Arial, Helvetica" SIZE = "-1"><B>
		<MvLOCALIZED ID = "MER-CUS-AD-00114">
			<MvLOCALIZED-TEXT LANGUAGE = "en-US">Billing Information:</MvLOCALIZED-TEXT>
		</MvLOCALIZED>
		</B><SELECT NAME = "Store_StandardFields_Billing" ONCHANGE = "SetModified();">
		<MvLOCALIZED NAME = "l.option_text" ID = "MER-CUS-AD-00115">
			<MvLOCALIZED-TEXT LANGUAGE = "en-US">Hidden</MvLOCALIZED-TEXT>
		</MvLOCALIZED>
		<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawOption( 'H', g.Store_StandardFields_Billing, l.option_text ) }">
		<MvLOCALIZED NAME = "l.option_text" ID = "MER-CUS-AD-00116">
			<MvLOCALIZED-TEXT LANGUAGE = "en-US">Optional</MvLOCALIZED-TEXT>
		</MvLOCALIZED>
		<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.foo" VALUE = "{ DrawOption( 'O', g.Store_StandardFields_Billing, l.option_text ) }">
		</SELECT>
		</FONT>
		</P>

		<TABLE BORDER = 0 CELLPADDING = 2 CELLSPACING = 0 WIDTH = "100%">
		<TR>

		<TD ALIGN = "left" VALIGN = "middle" BGCOLOR = "#000080" WIDTH = "100%">
			<FONT FACE = "Arial, Helvetica" COLOR = "#ffffff" SIZE = "-1"><B>
			<MvLOCALIZED ID = "MER-CUS-AD-00117">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Field</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			</B></FONT>
		</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "#000080" NOWRAP>
			<FONT FACE = "Arial, Helvetica" COLOR = "#ffffff" SIZE = "-1"><B>
			<MvLOCALIZED ID = "MER-CUS-AD-00118">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Hidden</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			</B></FONT>
		</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "#000080" NOWRAP>
			<FONT FACE = "Arial, Helvetica" COLOR = "#ffffff" SIZE = "-1"><B>
			<MvLOCALIZED ID = "MER-CUS-AD-00119">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Required</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			</B></FONT>
		</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "#000080" NOWRAP>
			<FONT FACE = "Arial, Helvetica" COLOR = "#ffffff" SIZE = "-1"><B>
			<MvLOCALIZED ID = "MER-CUS-AD-00120">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Optional</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			</B></FONT>
		</TD></TR>

		<MvASSIGN NAME = "l.green" VALUE = 0>

			<MvIF EXPR = "{ l.green }">
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffdd">
			<MvELSE>
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffff">
			</MvIF>
			<MvASSIGN NAME = "l.green" VALUE = "{ NOT l.green }">


			<MvIF EXPR = "{ l.green }">
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffdd">
			<MvELSE>
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffff">
			</MvIF>
			<MvASSIGN NAME = "l.green" VALUE = "{ NOT l.green }">

			<TR><TD ALIGN = "left" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" WIDTH = "100%">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED ID = "MER-CUS-AD-00121">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">First Name</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
			</FONT>
			</TD>

			<TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Fname EQ 'H' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Fname" VALUE = "H" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Fname" VALUE = "H" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Fname EQ 'R' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Fname" VALUE = "R" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Fname" VALUE = "R" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Fname EQ 'O' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Fname" VALUE = "O" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Fname" VALUE = "O" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD></TR>


			<MvIF EXPR = "{ l.green }">
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffdd">
			<MvELSE>
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffff">
			</MvIF>
			<MvASSIGN NAME = "l.green" VALUE = "{ NOT l.green }">

			<TR><TD ALIGN = "left" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" WIDTH = "100%">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED ID = "MER-CUS-AD-00122">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Last Name</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</FONT>
			</TD>

			<TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Lname EQ 'H' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Lname" VALUE = "H" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Lname" VALUE = "H" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Lname EQ 'R' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Lname" VALUE = "R" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Lname" VALUE = "R" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Lname EQ 'O' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Lname" VALUE = "O" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Lname" VALUE = "O" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD></TR>


			<MvIF EXPR = "{ l.green }">
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffdd">
			<MvELSE>
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffff">
			</MvIF>
			<MvASSIGN NAME = "l.green" VALUE = "{ NOT l.green }">

			<TR><TD ALIGN = "left" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" WIDTH = "100%">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED ID = "MER-CUS-AD-00123">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Email Address</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</FONT>
			</TD>

			<TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Email EQ 'H' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Email" VALUE = "H" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Email" VALUE = "H" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Email EQ 'R' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Email" VALUE = "R" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Email" VALUE = "R" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Email EQ 'O' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Email" VALUE = "O" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Email" VALUE = "O" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD></TR>


			<MvIF EXPR = "{ l.green }">
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffdd">
			<MvELSE>
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffff">
			</MvIF>
			<MvASSIGN NAME = "l.green" VALUE = "{ NOT l.green }">

			<TR><TD ALIGN = "left" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" WIDTH = "100%">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED ID = "MER-CUS-AD-00124">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Phone Number</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</FONT>
			</TD>

			<TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Phone EQ 'H' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Phone" VALUE = "H" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Phone" VALUE = "H" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Phone EQ 'R' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Phone" VALUE = "R" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Phone" VALUE = "R" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Phone EQ 'O' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Phone" VALUE = "O" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Phone" VALUE = "O" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD></TR>

			<MvIF EXPR = "{ l.green }">
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffdd">
			<MvELSE>
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffff">
			</MvIF>
			<MvASSIGN NAME = "l.green" VALUE = "{ NOT l.green }">

			<TR><TD ALIGN = "left" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" WIDTH = "100%">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED ID = "MER-CUS-AD-00125">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Fax Number</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</FONT>
			</TD>

			<TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Fax EQ 'H' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Fax" VALUE = "H" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Fax" VALUE = "H" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Fax EQ 'R' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Fax" VALUE = "R" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Fax" VALUE = "R" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Fax EQ 'O' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Fax" VALUE = "O" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Fax" VALUE = "O" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD></TR>

			<MvIF EXPR = "{ l.green }">
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffdd">
			<MvELSE>
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffff">
			</MvIF>
			<MvASSIGN NAME = "l.green" VALUE = "{ NOT l.green }">

			<TR><TD ALIGN = "left" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" WIDTH = "100%">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED ID = "MER-CUS-AD-00126">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Company</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</FONT>
			</TD>

			<TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Comp EQ 'H' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Comp" VALUE = "H" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Comp" VALUE = "H" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Comp EQ 'R' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Comp" VALUE = "R" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Comp" VALUE = "R" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Comp EQ 'O' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Comp" VALUE = "O" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Comp" VALUE = "O" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD></TR>


			<MvIF EXPR = "{ l.green }">
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffdd">
			<MvELSE>
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffff">
			</MvIF>
			<MvASSIGN NAME = "l.green" VALUE = "{ NOT l.green }">

			<TR><TD ALIGN = "left" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" WIDTH = "100%">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED ID = "MER-CUS-AD-00127">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Address</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</FONT>
			</TD>

			<TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Addr EQ 'H' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Addr" VALUE = "H" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Addr" VALUE = "H" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Addr EQ 'R' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Addr" VALUE = "R" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Addr" VALUE = "R" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Addr EQ 'O' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Addr" VALUE = "O" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Addr" VALUE = "O" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD></TR>

			<MvIF EXPR = "{ l.green }">
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffdd">
			<MvELSE>
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffff">
			</MvIF>
			<MvASSIGN NAME = "l.green" VALUE = "{ NOT l.green }">

			<TR><TD ALIGN = "left" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" WIDTH = "100%">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED ID = "MER-CUS-AD-00128">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">City</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</FONT>
			</TD>

			<TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_City EQ 'H' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_City" VALUE = "H" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_City" VALUE = "H" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_City EQ 'R' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_City" VALUE = "R" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_City" VALUE = "R" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_City EQ 'O' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_City" VALUE = "O" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_City" VALUE = "O" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD></TR>

			<MvIF EXPR = "{ l.green }">
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffdd">
			<MvELSE>
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffff">
			</MvIF>
			<MvASSIGN NAME = "l.green" VALUE = "{ NOT l.green }">

			<TR><TD ALIGN = "left" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" WIDTH = "100%">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED ID = "MER-CUS-AD-00129">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">State/Province</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</FONT>
			</TD>

			<TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_State EQ 'H' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_State" VALUE = "H" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_State" VALUE = "H" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_State EQ 'R' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_State" VALUE = "R" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_State" VALUE = "R" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_State EQ 'O' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_State" VALUE = "O" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_State" VALUE = "O" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD></TR>


			<MvIF EXPR = "{ l.green }">
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffdd">
			<MvELSE>
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffff">
			</MvIF>
			<MvASSIGN NAME = "l.green" VALUE = "{ NOT l.green }">

			<TR><TD ALIGN = "left" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" WIDTH = "100%">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED ID = "MER-CUS-AD-00130">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Zip/Postal Code</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</FONT>
			</TD>

			<TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Zip EQ 'H' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Zip" VALUE = "H" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Zip" VALUE = "H" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Zip EQ 'R' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Zip" VALUE = "R" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Zip" VALUE = "R" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Zip EQ 'O' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Zip" VALUE = "O" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Zip" VALUE = "O" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD></TR>

			<MvIF EXPR = "{ l.green }">
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffdd">
			<MvELSE>
				<MvASSIGN NAME = "l.bgcolor" VALUE = "#ffffff">
			</MvIF>
			<MvASSIGN NAME = "l.green" VALUE = "{ NOT l.green }">

			<TR><TD ALIGN = "left" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" WIDTH = "100%">
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvLOCALIZED ID = "MER-CUS-AD-00131">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Country</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				</FONT>
			</TD>

			<TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Cntry EQ 'H' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Cntry" VALUE = "H" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Cntry" VALUE = "H" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Cntry EQ 'R' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Cntry" VALUE = "R" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Cntry" VALUE = "R" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD><TD ALIGN = "center" VALIGN = "middle" BGCOLOR = "{ l.bgcolor }" NOWRAP>
				<FONT FACE = "Arial, Helvetica" SIZE = "-1">
				<MvIF EXPR = "{ g.Store_StandardFields_Mode_Cntry EQ 'O' }">
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Cntry" VALUE = "O" CHECKED ONCLICK = "SetModified();">
				<MvELSE>
					<INPUT TYPE = "radio" NAME = "Store_StandardFields_Mode_Cntry" VALUE = "O" ONCLICK = "SetModified();">
				</MvIF>
				</FONT>
			</TD></TR>

		</TABLE>

		<INPUT TYPE = "hidden" NAME = "StandardFields_Count" VALUE = "{ encodeentities( l.shown ) }">
	</MvIF>

	<MvFUNCTIONRETURN VALUE = "{ l.ok }">
</MvFUNCTION>

<MvFUNCTION NAME = "CustomerEmail_Validate">
	<MvASSIGN NAME = "g.CustomerEmail_Subject" VALUE = "{ ltrim( rtrim( g.CustomerEmail_Subject ) ) }">
	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.validate_email" VALUE = "{ Validate_Email( g.CustomerEmail_From ) }">

	<MvIF EXPR = "{ NOT validate_email }">
		<MvLOCALIZED NAME = "l.error_message" ID = "MER-CUS-AD-00132">
			<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify an email address</MvLOCALIZED-TEXT>
		</MvLOCALIZED>
		<MvFUNCTIONRETURN VALUE = "{ FieldError( 'CEML', 'CustomerEmail_From', l.error_message ) }">
	</MvIF>

	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.validate_email" VALUE = "{ Validate_Email( g.CustomerEmail_CC ) }">
	<MvIF EXPR = "{ len( g.CustomerEmail_CC ) AND ( NOT validate_email ) }">
		<MvLOCALIZED NAME = "l.error_message" ID = "MER-CUS-AD-00133">
			<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify an email address</MvLOCALIZED-TEXT>
		</MvLOCALIZED>
		<MvFUNCTIONRETURN VALUE = "{ FieldError( 'CEML', 'CustomerEmail_CC', l.error_message ) }">
	</MvIF>

	<MvIF EXPR = "{ len( g.CustomerEmail_Subject ) EQ 0 }">
		<MvLOCALIZED NAME = "l.error_message" ID = "MER-CUS-AD-00134">
			<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify a subject</MvLOCALIZED-TEXT>
		</MvLOCALIZED>
		<MvFUNCTIONRETURN VALUE = "{ FieldError( 'CEML', 'CustomerEmail_Subject', l.error_message ) }">
	</MvIF>

	<MvFUNCTIONRETURN VALUE = 1>
</MvFUNCTION>

<MvFUNCTION NAME = "Customer_Batch_Validate">
	<MvASSIGN NAME = "g.Customer_Display_Flag" VALUE = "0">

	<MvIF EXPR = "{ NOT len( g.Customer_Show_Login $ g.Customer_Show_PasswordEmail $ g.Customer_Show_ShipFirstName $
					g.Customer_Show_ShipLastName $ g.Customer_Show_ShipEmail $ g.Customer_Show_ShipPhone $
					g.Customer_Show_ShipFax $ g.Customer_Show_ShipCompany $ g.Customer_Show_ShipAddress $
					g.Customer_Show_ShipCity $ g.Customer_Show_ShipState $ g.Customer_Show_ShipZip $
					g.Customer_Show_ShipCountry $ g.Customer_Show_BillFirstName $ g.Customer_Show_BillLastName $
					g.Customer_Show_BillEmail $ g.Customer_Show_BillPhone $ g.Customer_Show_BillFax $
					g.Customer_Show_BillCompany $ g.Customer_Show_BillAddress $ g.Customer_Show_BillCity $
					g.Customer_Show_BillState $ g.Customer_Show_BillZip $ g.Customer_Show_Bill_Country ) }">

		<MvASSIGN NAME = "g.Customer_Display_Flag" VALUE = "1">

		<MvLOCALIZED NAME = "l.error_message" ID = "MER-CUS-AD-00135">
			<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please select at least one display option</MvLOCALIZED-TEXT>
		</MvLOCALIZED>
		<MvFUNCTIONRETURN VALUE = "{ FieldError( 'CUST', 'Customer_Show_Login', l.error_message ) }">
	</MvIF>

	<MvFUNCTIONRETURN VALUE = 1>
</MvFUNCTION>

<MvFUNCTION NAME = "Customer_BatchEdit_Validate">
	<MvASSIGN NAME = "g.Customer_Login" VALUE = "{ ltrim( rtrim( g.Customer_Login ) ) }">
	<MvASSIGN NAME = "g.Customer_PasswordEmail" VALUE = "{ ltrim( rtrim( g.Customer_PasswordEmail ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipFirstName" VALUE = "{ rtrim( ltrim( g.Customer_ShipFirstName ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipLastName" VALUE = "{ rtrim( ltrim( g.Customer_ShipLastName ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipEmail" VALUE = "{ rtrim( ltrim( g.Customer_ShipEmail ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipPhone" VALUE = "{ rtrim( ltrim( g.Customer_ShipPhone ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipFax" VALUE = "{ rtrim( ltrim( g.Customer_ShipFax ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipCompany" VALUE = "{ rtrim( ltrim( g.Customer_ShipCompany ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipAddress" VALUE = "{ rtrim( ltrim( g.Customer_ShipAddress ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipCity" VALUE = "{ rtrim( ltrim( g.Customer_ShipCity ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipState" VALUE = "{ rtrim( ltrim( g.Customer_ShipState ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipZip" VALUE = "{ rtrim( ltrim( g.Customer_ShipZip ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipCountry" VALUE = "{ rtrim( ltrim( g.Customer_ShipCountry ) ) }">
	<MvASSIGN NAME = "g.Customer_BillFirstName" VALUE = "{ rtrim( ltrim( g.Customer_BillFirstName) ) }">
	<MvASSIGN NAME = "g.Customer_BillLastName" VALUE = "{ rtrim( ltrim( g.Customer_BillLastName ) ) }">
	<MvASSIGN NAME = "g.Customer_BillEmail" VALUE = "{ rtrim( ltrim( g.Customer_BillEmail ) ) }">
	<MvASSIGN NAME = "g.Customer_BillPhone" VALUE = "{ rtrim( ltrim( g.Customer_BillPhone ) ) }">
	<MvASSIGN NAME = "g.Customer_BillFax" VALUE = "{ rtrim( ltrim( g.Customer_BillFax ) ) }">
	<MvASSIGN NAME = "g.Customer_BillCompany" VALUE = "{ rtrim( ltrim( g.Customer_BillCompany ) ) }">
	<MvASSIGN NAME = "g.Customer_BillAddress" VALUE = "{ rtrim( ltrim( g.Customer_BillAddress ) ) }">
	<MvASSIGN NAME = "g.Customer_BillCity" VALUE = "{ rtrim( ltrim( g.Customer_BillCity ) ) }">
	<MvASSIGN NAME = "g.Customer_BillState" VALUE = "{ rtrim( ltrim( g.Customer_BillState ) ) }">
	<MvASSIGN NAME = "g.Customer_BillZip" VALUE = "{ rtrim( ltrim( g.Customer_BillZip ) ) }">
	<MvASSIGN NAME = "g.Customer_BillCountry" VALUE = "{ rtrim( ltrim( g.Customer_BillCountry ) ) }">


	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Code( g.Customer_Login ) }">
	<MvIF EXPR = "{ NOT l.valid }">
		<MvFUNCTIONRETURN VALUE = "{ FieldError( 'CUST', 'Customer_Login', g.Validation_Message ) }">
	<MvELSE>
		<MvIF EXPR = "{ ( len( g.Edit_Customer ) EQ 0 ) OR ( toupper( g.Edit_Customer ) NE toupper( g.Customer_Login ) ) }">
			<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.found" VALUE = "{ Customer_Find_Login( g.Customer_Login ) }">
			<MvIF EXPR = "{ l.found }">
				<MvLOCALIZED NAME = "l.error_message" ID = "MER-CUS-AD-00137">
					<MvLOCALIZED-TOKEN NAME = "login" VALUE = "{ g.Customer_Login }">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">A customer with the login '%login%' already exists</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvFUNCTIONRETURN VALUE = "{ FieldError( 'CUST', 'Customer_Login', l.error_message ) }">
			</MvIF>
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_PasswordEmail ) EQ 0 }">
		<MvLOCALIZED NAME = "l.error_message" ID = "MER-CUS-AD-00138">
			<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify a password recovery email address</MvLOCALIZED-TEXT>
		</MvLOCALIZED>
		<MvFUNCTIONRETURN VALUE = "{ FieldError( 'CUST', 'Customer_PasswordEmail', l.error_message ) }">
	<MvELSE>
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.validate_email" VALUE = "{ Validate_Email( g.Customer_PasswordEmail ) }">	
		<MvIF EXPR = "{ NOT l.validate_email }">
			<MvLOCALIZED NAME = "l.error_message" ID = "MER-CUS-AD-00139">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify a valid email address</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvFUNCTIONRETURN VALUE = "{ FieldError( 'CUST', 'Customer_PasswordEmail', l.error_message ) }">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_ShipEmail ) }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Email( g.Customer_ShipEmail ) }">
		<MvIF EXPR = "{ NOT l.valid }">
			<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00152">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify an email address</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.ok" VALUE = "{ FieldError( 'CUST', 'Customer_ShipEmail', l.error ) }">
			<MvFUNCTIONRETURN VALUE = "{ l.ok }">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_ShipPhone ) }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Phone( g.Customer_ShipPhone, g.Customer_ShipCountry ) }">
		<MvIF EXPR = "{ NOT l.valid }">
			<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00153">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify the customer's phone number</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.ok" VALUE = "{ FieldError( 'CUST', 'Customer_ShipPhone', l.error ) }">
			<MvFUNCTIONRETURN VALUE = "{ l.ok }">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_ShipFax ) }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Phone( g.Customer_ShipFax, g.Customer_ShipCountry ) }">
		<MvIF EXPR = "{ NOT l.valid }">
			<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00154">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify the customer's fax number</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.ok" VALUE = "{ FieldError( 'CUST', 'Customer_ShipFax', l.error ) }">
			<MvFUNCTIONRETURN VALUE = "{ l.ok }">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_ShipZip ) }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Zip( g.Customer_ShipZip, g.Customer_ShipCountry ) }">
		<MvIF EXPR = "{ NOT l.valid }">
			<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00155">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify the customer's Zip/Postal code</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.ok" VALUE = "{ FieldError( 'CUST', 'Customer_ShipZip', l.error ) }">
			<MvFUNCTIONRETURN VALUE = "{ l.ok }">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_BillEmail ) }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Email( g.Customer_BillEmail ) }">
		<MvIF EXPR = "{ NOT l.valid }">
			<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00156">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify an email address</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.ok" VALUE = "{ FieldError( 'CUST', 'Customer_BillEmail', l.error ) }">
			<MvFUNCTIONRETURN VALUE = "{ l.ok }">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_BillPhone ) }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Phone( g.Customer_BillPhone, g.Customer_BillCountry ) }">
		<MvIF EXPR = "{ NOT l.valid }">
			<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00157">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify the customer's phone number</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.ok" VALUE = "{ FieldError( 'CUST', 'Customer_BillPhone', l.error ) }">
			<MvFUNCTIONRETURN VALUE = "{ l.ok }">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_BillFax ) }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Phone( g.Customer_BillFax, g.Customer_BillCountry ) }">
		<MvIF EXPR = "{ NOT l.valid }">
			<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00158">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify the customer's fax number</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.ok" VALUE = "{ FieldError( 'CUST', 'Customer_BillFax', l.error ) }">
			<MvFUNCTIONRETURN VALUE = "{ l.ok }">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_BillZip ) }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Zip( g.Customer_BillZip, g.Customer_BillCountry ) }">
		<MvIF EXPR = "{ NOT l.valid }">
			<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00159">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify the customer's Zip/Postal code</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.ok" VALUE = "{ FieldError( 'CUST', 'Customer_BillZip', l.error ) }">
			<MvFUNCTIONRETURN VALUE = "{ l.ok }">
		</MvIF>
	</MvIF>
	
	<MvFUNCTIONRETURN VALUE = 1>
</MvFUNCTION>

<MvFUNCTION NAME = "Customer_Validate" STANDARDOUTPUTLEVEL = "">
	<MvASSIGN NAME = "g.Customer_Login" VALUE = "{ ltrim( rtrim( g.Customer_Login ) ) }">
	<MvASSIGN NAME = "g.Customer_PasswordEmail" VALUE = "{ ltrim( rtrim( g.Customer_PasswordEmail ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipFirstName" VALUE = "{ rtrim( ltrim( g.Customer_ShipFirstName ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipLastName" VALUE = "{ rtrim( ltrim( g.Customer_ShipLastName ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipEmail" VALUE = "{ rtrim( ltrim( g.Customer_ShipEmail ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipPhone" VALUE = "{ rtrim( ltrim( g.Customer_ShipPhone ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipFax" VALUE = "{ rtrim( ltrim( g.Customer_ShipFax ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipCompany" VALUE = "{ rtrim( ltrim( g.Customer_ShipCompany ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipAddress" VALUE = "{ rtrim( ltrim( g.Customer_ShipAddress ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipCity" VALUE = "{ rtrim( ltrim( g.Customer_ShipCity ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipState" VALUE = "{ rtrim( ltrim( g.Customer_ShipState ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipZip" VALUE = "{ rtrim( ltrim( g.Customer_ShipZip ) ) }">
	<MvASSIGN NAME = "g.Customer_ShipCountry" VALUE = "{ rtrim( ltrim( g.Customer_ShipCountry ) ) }">
	<MvASSIGN NAME = "g.Customer_BillFirstName" VALUE = "{ rtrim( ltrim( g.Customer_BillFirstName) ) }">
	<MvASSIGN NAME = "g.Customer_BillLastName" VALUE = "{ rtrim( ltrim( g.Customer_BillLastName ) ) }">
	<MvASSIGN NAME = "g.Customer_BillEmail" VALUE = "{ rtrim( ltrim( g.Customer_BillEmail ) ) }">
	<MvASSIGN NAME = "g.Customer_BillPhone" VALUE = "{ rtrim( ltrim( g.Customer_BillPhone ) ) }">
	<MvASSIGN NAME = "g.Customer_BillFax" VALUE = "{ rtrim( ltrim( g.Customer_BillFax ) ) }">
	<MvASSIGN NAME = "g.Customer_BillCompany" VALUE = "{ rtrim( ltrim( g.Customer_BillCompany ) ) }">
	<MvASSIGN NAME = "g.Customer_BillAddress" VALUE = "{ rtrim( ltrim( g.Customer_BillAddress ) ) }">
	<MvASSIGN NAME = "g.Customer_BillCity" VALUE = "{ rtrim( ltrim( g.Customer_BillCity ) ) }">
	<MvASSIGN NAME = "g.Customer_BillState" VALUE = "{ rtrim( ltrim( g.Customer_BillState ) ) }">
	<MvASSIGN NAME = "g.Customer_BillZip" VALUE = "{ rtrim( ltrim( g.Customer_BillZip ) ) }">
	<MvASSIGN NAME = "g.Customer_BillCountry" VALUE = "{ rtrim( ltrim( g.Customer_BillCountry ) ) }">

	<MvIF EXPR = "{ len( g.Customer_ShipState ) EQ 0 }">
		<MvASSIGN NAME = "g.Customer_ShipState" VALUE = "{ g.Customer_ShipStateSelect }">
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_BillState ) EQ 0 }">
		<MvASSIGN NAME = "g.Customer_BillState" VALUE = "{ g.Customer_BillStateSelect }">
	</MvIF>
	
	<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Code( g.Customer_Login ) }">
	<MvIF EXPR = "{ NOT l.valid }">
		<MvFUNCTIONRETURN VALUE = "{ FieldError( 'IDEN', 'Customer_Login', g.Validation_Message ) }">
	<MvELSE>
		<MvIF EXPR = "{ ( len( g.Edit_Customer ) EQ 0 ) OR ( toupper( g.Edit_Customer ) NE toupper( g.Customer_Login ) ) }">
			<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.found" VALUE = "{ Customer_Find_Login( g.Customer_Login ) }">
			<MvIF EXPR = "{ l.found }">
				<MvLOCALIZED NAME = "l.error_message" ID = "MER-CUS-AD-00141">
					<MvLOCALIZED-TOKEN NAME = "login" VALUE = "{ g.Customer_Login }">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">A customer with the login '%login%' already exists</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvFUNCTIONRETURN VALUE = "{ FieldError( 'IDEN', 'Customer_Login', l.error_message ) }">
			</MvIF>
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_PasswordEmail ) EQ 0 }">
		<MvLOCALIZED NAME = "l.error_message" ID = "MER-CUS-AD-00142">
			<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify a password recovery email address</MvLOCALIZED-TEXT>
		</MvLOCALIZED>
		<MvFUNCTIONRETURN VALUE = "{ FieldError( 'IDEN', 'Customer_PasswordEmail', l.error_message ) }">
	<MvELSE>
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.validate_email" VALUE = "{ Validate_Email( g.Customer_PasswordEmail ) }">
		<MvIF EXPR = "{ NOT validate_email }">
			<MvLOCALIZED NAME = "l.error_message" ID = "MER-CUS-AD-00143">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify a valid email address</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvFUNCTIONRETURN VALUE = "{ FieldError( 'IDEN', 'Customer_PasswordEmail', l.error_message ) }">
		</MvIF>
	</MvIF>
	
	<MvIF EXPR = "{ len( g.Edit_Customer ) EQ 0 }">
		<MvIF EXPR = "{ NOT len( g.Customer_Password ) }">
			<MvLOCALIZED NAME = "l.error_message" ID = "MER-CUS-AD-00144">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify a password</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvFUNCTIONRETURN VALUE = "{ FieldError( 'IDEN', 'Customer_Password', l.error_message ) }">
		<MvELSE>
			<MvIF EXPR = "{ g.Customer_VerifyPassword NE g.Customer_Password }">
				<MvLOCALIZED NAME = "l.error_message" ID = "MER-CUS-AD-00145">
					<MvLOCALIZED-TEXT LANGUAGE = "en-US">Passwords do not match</MvLOCALIZED-TEXT>
				</MvLOCALIZED>
				<MvFUNCTIONRETURN VALUE = "{ FieldError( 'IDEN', 'Customer_VerifyPassword', l.error_message ) }">
			</MvIF>
		</MvIF>
	<MvELSE>
		<MvIF EXPR = "{ g.Customer_VerifyPassword NE g.Customer_Password }">
			<MvLOCALIZED NAME = "l.error_message" ID = "MER-CUS-AD-00146">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Passwords do not match</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvFUNCTIONRETURN VALUE = "{ FieldError( 'IDEN', 'Customer_Password', l.error_message ) }">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_ShipEmail ) }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Email( g.Customer_ShipEmail ) }">
		<MvIF EXPR = "{ NOT l.valid }">
			<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00160">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify an email address</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.ok" VALUE = "{ FieldError( 'INFO', 'Customer_ShipEmail', l.error ) }">
			<MvFUNCTIONRETURN VALUE = "{ l.ok }">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_ShipPhone ) }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Phone( g.Customer_ShipPhone, g.Customer_ShipCountry ) }">
		<MvIF EXPR = "{ NOT l.valid }">
			<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00161">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify the customer's phone number</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.ok" VALUE = "{ FieldError( 'INFO', 'Customer_ShipPhone', l.error ) }">
			<MvFUNCTIONRETURN VALUE = "{ l.ok }">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_ShipFax ) }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Phone( g.Customer_ShipFax, g.Customer_ShipCountry ) }">
		<MvIF EXPR = "{ NOT l.valid }">
			<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00162">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify the customer's fax number</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.ok" VALUE = "{ FieldError( 'INFO', 'Customer_ShipFax', l.error ) }">
			<MvFUNCTIONRETURN VALUE = "{ l.ok }">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_ShipZip ) }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Zip( g.Customer_ShipZip, g.Customer_ShipCountry ) }">
		<MvIF EXPR = "{ NOT l.valid }">
			<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00163">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify the customer's Zip/Postal code</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.ok" VALUE = "{ FieldError( 'INFO', 'Customer_ShipZip', l.error ) }">
			<MvFUNCTIONRETURN VALUE = "{ l.ok }">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_BillEmail ) }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Email( g.Customer_BillEmail ) }">
		<MvIF EXPR = "{ NOT l.valid }">
			<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00164">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify an email address</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.ok" VALUE = "{ FieldError( 'INFO', 'Customer_BillEmail', l.error ) }">
			<MvFUNCTIONRETURN VALUE = "{ l.ok }">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_BillPhone ) }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Phone( g.Customer_BillPhone, g.Customer_BillCountry ) }">
		<MvIF EXPR = "{ NOT l.valid }">
			<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00165">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify the customer's phone number</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.ok" VALUE = "{ FieldError( 'INFO', 'Customer_BillPhone', l.error ) }">
			<MvFUNCTIONRETURN VALUE = "{ l.ok }">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_BillFax ) }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Phone( g.Customer_BillFax, g.Customer_BillCountry ) }">
		<MvIF EXPR = "{ NOT l.valid }">
			<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00166">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify the customer's fax number</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.ok" VALUE = "{ FieldError( 'INFO', 'Customer_BillFax', l.error ) }">
			<MvFUNCTIONRETURN VALUE = "{ l.ok }">
		</MvIF>
	</MvIF>

	<MvIF EXPR = "{ len( g.Customer_BillZip ) }">
		<MvDO FILE = "{ g.Module_Admin }" NAME = "l.valid" VALUE = "{ Validate_Zip( g.Customer_BillZip, g.Customer_BillCountry ) }">
		<MvIF EXPR = "{ NOT l.valid }">
			<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00167">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">Please specify the customer's Zip/Postal code</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Admin }" NAME = "l.ok" VALUE = "{ FieldError( 'INFO', 'Customer_BillZip', l.error ) }">
			<MvFUNCTIONRETURN VALUE = "{ l.ok }">
		</MvIF>
	</MvIF>

	<MvFUNCTIONRETURN VALUE = 1>
</MvFUNCTION>

<MvFUNCTION NAME = "FieldError" PARAMETERS = "tab, field, message" STANDARDOUTPUTLEVEL = "">
	<MvASSIGN NAME = "g.Tab" VALUE = "{ l.tab }">
	<MvASSIGN NAME = "g.Error_Field" VALUE = "{ l.field }">
	<MvASSIGN NAME = "g.Error_Field_Message" VALUE = "{ l.message }">
	<MvASSIGN NAME = "g.Data_Entry_Error" VALUE = 1>

	<MvFUNCTIONRETURN VALUE = 0>
</MvFUNCTION>

<MvFUNCTION NAME = "CUS_Screen_Store_Tab" PARAMETERS = "" STANDARDOUTPUTLEVEL = "">
	<MvLOCALIZED NAME = "l.tab" ID = "MER-CUS-AD-00147">
		<MvLOCALIZED-TEXT LANGUAGE = "en-US">CFLD:Customer Fields</MvLOCALIZED-TEXT>
	</MvLOCALIZED>
	<MvFUNCTIONRETURN VALUE = "{ l.tab }">
</MvFUNCTION>

<MvFUNCTION NAME = "CUS_QuickBook_Tab" PARAMETERS = "" STANDARDOUTPUTLEVEL = "">
	<MvLOCALIZED NAME = "l.tab" ID = "MER-CUS-AD-00148">
		<MvLOCALIZED-TEXT LANGUAGE = "en-US">CUST:Customers</MvLOCALIZED-TEXT>
	</MvLOCALIZED>

	<MvFUNCTIONRETURN VALUE = "{ l.tab }">
</MvFUNCTION>

<MvFUNCTION NAME = "CUS_Provision_Add_Update_Customer" PARAMETERS = "version, store_code, delimiter, data">
	<MvASSIGN NAME = "l.ok" VALUE = "1">

	<MvASSIGN NAME = "l.pos" VALUE = "1">
	
	<MvASSIGN NAME = "l.cus_login" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_pw_email" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_password" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_ship_fname" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_ship_lname" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_ship_email" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_ship_comp" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_ship_phone" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_ship_fax" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_ship_addr" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_ship_city" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_ship_state" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_ship_zip" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_ship_cntry" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_bill_same_as_ship" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">
	
	<MvDO FILE = "{ g.Module_Feature_PRV_AD }" NAME = "l.cus_bill_same_as_ship" VALUE = "{ PRV_Parse_Boolean( l.cus_bill_same_as_ship ) }">
	
	<MvIF EXPR = "{ l.cus_bill_same_as_Ship }">
		<MvASSIGN NAME = "l.pos" VALUE = "4">
	</MvIF>

	<MvASSIGN NAME = "l.cus_bill_fname" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_bill_lname" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_bill_email" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_bill_comp" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_bill_phone" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_bill_fax" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_bill_addr" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_bill_city" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_bill_state" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_bill_zip" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">

	<MvASSIGN NAME = "l.cus_bill_cntry" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">
	
	<MvIF EXPR = "{ len( l.cus_login ) EQ 0 }">
		<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00149">
			<MvLOCALIZED-TEXT LANGUAGE = "en-US">
				Customer login required.
			</MvLOCALIZED-TEXT>
		</MvLOCALIZED>
		<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.ok" VALUE = "{ Error( 'MER-CUS-AD-00000', l.error ) }">
		<MvFUNCTIONRETURN VALUE = "0">
	</MvIF>
	
	<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.found" VALUE = "{ Customer_Find_Login( l.cus_login ) }">
	
	<MvIF EXPR = "{ NOT l.found }">
		<MvIF EXPR = "{ len( l.cus_password ) EQ 0 }">
			<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00150">
				<MvLOCALIZED-TEXT LANGUAGE = "en-US">
					Customer password required.
				</MvLOCALIZED-TEXT>
			</MvLOCALIZED>
			<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.ok" VALUE = "{ Error( 'MER-CUS-AD-00001', l.error ) }">
			<MvFUNCTIONRETURN VALUE = "0">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_ship_fname ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_ship_fname" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_ship_lname ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_ship_lname" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_ship_email ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_ship_email" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_ship_comp ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_ship_comp" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_ship_phone ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_ship_phone" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_ship_fax ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_ship_fax" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_ship_addr ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_ship_addr" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_ship_city ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_ship_city" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_ship_state ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_ship_state" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_ship_zip ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_ship_zip" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_ship_cntry ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_ship_cntry" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_bill_fname ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_bill_fname" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_bill_lname ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_bill_lname" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_bill_email ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_bill_email" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_bill_comp ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_bill_comp" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_bill_phone ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_bill_phone" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_bill_fax ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_bill_fax" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_bill_addr ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_bill_addr" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_bill_city ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_bill_city" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_bill_state ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_bill_state" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_bill_zip ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_bill_zip" VALUE = "">
		</MvIF>

		<MvIF EXPR = "{ toupper( l.cus_bill_cntry ) EQ '#NONE#' }">
			<MvASSIGN NAME = "l.cus_bill_cntry" VALUE = "">
		</MvIF>




		<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.foo" VALUE = "{ Customer_Insert( l.cus_login, l.cus_pw_email, l.cus_password, l.cus_ship_fname, l.cus_ship_lname, l.cus_ship_email, l.cus_ship_comp, l.cus_ship_phone, l.cus_ship_fax, l.cus_ship_addr, l.cus_ship_city, l.cus_ship_state, l.cus_ship_zip, l.cus_ship_cntry, l.cus_bill_fname, l.cus_bill_lname, l.cus_bill_email, l.cus_bill_comp, l.cus_bill_phone, l.cus_bill_fax, l.cus_bill_addr, l.cus_bill_city, l.cus_bill_state, l.cus_bill_zip, l.cus_bill_cntry ) }">
	<MvELSE>
		<MvIF EXPR = "{ len( l.cus_password ) }">
			<MvASSIGN NAME = "Customers.d.password" VALUE = "{ l.cus_password }">
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_pw_email ) }">
			<MvASSIGN NAME = "Customers.d.pw_email" VALUE = "{ l.cus_pw_email }">
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_ship_fname ) }">
			<MvIF EXPR = "{ toupper( l.cus_ship_fname ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.ship_fname" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.ship_fname" VALUE = "{ l.cus_ship_fname }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_ship_lname ) }">
			<MvIF EXPR = "{ toupper( l.cus_ship_lname ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.ship_lname" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.ship_lname" VALUE = "{ l.cus_ship_lname }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_ship_email ) }">
			<MvIF EXPR = "{ toupper( l.cus_ship_email ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.ship_email" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.ship_email" VALUE = "{ l.cus_ship_email }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_ship_comp ) }">
			<MvIF EXPR = "{ toupper( l.cus_ship_comp ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.ship_comp" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.ship_comp" VALUE = "{ l.cus_ship_comp }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_ship_phone ) }">
			<MvIF EXPR = "{ toupper( l.cus_ship_phone ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.ship_phone" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.ship_phone" VALUE = "{ l.cus_ship_phone }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_ship_fax ) }">
			<MvIF EXPR = "{ toupper( l.cus_ship_fax ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.ship_fax" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.ship_fax" VALUE = "{ l.cus_ship_fax }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_ship_addr ) }">
			<MvIF EXPR = "{ toupper( l.cus_ship_addr ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.ship_addr" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.ship_addr" VALUE = "{ l.cus_ship_addr }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_ship_city ) }">
			<MvIF EXPR = "{ toupper( l.cus_ship_city ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.ship_city" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.ship_city" VALUE = "{ l.cus_ship_city }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_ship_state ) }">
			<MvIF EXPR = "{ toupper( l.cus_ship_state ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.ship_state" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.ship_state" VALUE = "{ l.cus_ship_state }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_ship_zip ) }">
			<MvIF EXPR = "{ toupper( l.cus_ship_zip ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.ship_zip" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.ship_zip" VALUE = "{ l.cus_ship_zip }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_ship_cntry ) }">
			<MvIF EXPR = "{ toupper( l.cus_ship_cntry ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.ship_cntry" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.ship_cntry" VALUE = "{ l.cus_ship_cntry }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_bill_fname ) }">
			<MvIF EXPR = "{ toupper( l.cus_bill_fname ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.bill_fname" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.bill_fname" VALUE = "{ l.cus_bill_fname }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_bill_lname ) }">
			<MvIF EXPR = "{ toupper( l.cus_bill_lname ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.bill_lname" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.bill_lname" VALUE = "{ l.cus_bill_lname }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_bill_email ) }">
			<MvIF EXPR = "{ toupper( l.cus_bill_email ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.bill_email" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.bill_email" VALUE = "{ l.cus_bill_email }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_bill_comp ) }">
			<MvIF EXPR = "{ toupper( l.cus_bill_comp ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.bill_comp" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.bill_comp" VALUE = "{ l.cus_bill_comp }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_bill_phone ) }">
			<MvIF EXPR = "{ toupper( l.cus_bill_phone ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.bill_phone" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.bill_phone" VALUE = "{ l.cus_bill_phone }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_bill_fax ) }">
			<MvIF EXPR = "{ toupper( l.cus_ship_fax ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.bill_fax" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.bill_fax" VALUE = "{ l.cus_bill_fax }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_bill_addr ) }">
			<MvIF EXPR = "{ toupper( l.cus_bill_addr ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.bill_addr" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.bill_addr" VALUE = "{ l.cus_bill_addr }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_bill_city ) }">
			<MvIF EXPR = "{ toupper( l.cus_bill_city ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.bill_city" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.bill_city" VALUE = "{ l.cus_bill_city }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_bill_state ) }">
			<MvIF EXPR = "{ toupper( l.cus_bill_state ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.bill_state" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.bill_state" VALUE = "{ l.cus_bill_state }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_bill_zip ) }">
			<MvIF EXPR = "{ toupper( l.cus_bill_zip ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.bill_zip" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.bill_zip" VALUE = "{ l.cus_bill_zip }">
			</MvIF>
		</MvIF>

		<MvIF EXPR = "{ len( l.cus_bill_cntry ) }">
			<MvIF EXPR = "{ toupper( l.cus_bill_cntry ) EQ '#NONE#' }">
				<MvASSIGN NAME = "Customers.d.bill_cntry" VALUE = "">
			<MvELSE>
				<MvASSIGN NAME = "Customers.d.bill_cntry" VALUE = "{ l.cus_bill_cntry }">
			</MvIF>
		</MvIF>
	
		<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.ok" VALUE = "{ Customer_Update( Customers.d.id, Customers.d.login, Customers.d.pw_email, Customers.d.password, Customers.d.ship_fname, Customers.d.ship_lname, Customers.d.ship_email, Customers.d.ship_comp, Customers.d.ship_phone, Customers.d.ship_fax, Customers.d.ship_addr, Customers.d.ship_city, Customers.d.ship_state, Customers.d.ship_zip, Customers.d.ship_cntry, Customers.d.bill_fname, Customers.d.bill_lname, Customers.d.bill_email, Customers.d.bill_comp, Customers.d.bill_phone, Customers.d.bill_fax, Customers.d.bill_addr, Customers.d.bill_city, Customers.d.bill_state, Customers.d.bill_zip, Customers.d.bill_cntry ) }">
	</MvIF>

	<MvFUNCTIONRETURN VALUE = "{ l.ok }">
</MvFUNCTION>

<MvFUNCTION NAME = "CUS_Provision_Delete_Customer" PARAMETERS = "version, store_code, delimiter, data">
	<MvASSIGN NAME = "l.ok" VALUE = "1">

	<MvASSIGN NAME = "l.pos" VALUE = "1">
	
	<MvASSIGN NAME = "l.cus_login" VALUE = "{ ltrim( rtrim( gettoken( l.data, l.delimiter, l.pos ) ) ) }">
	<MvASSIGN NAME = "l.pos" VALUE = "{ l.pos + 1 }">
	
	<MvIF EXPR = "{ len( l.cus_login ) EQ 0 }">
		<MvLOCALIZED NAME = "l.error" ID = "MER-CUS-AD-00151">
			<MvLOCALIZED-TEXT LANGUAGE = "en-US">
				Customer login required.
			</MvLOCALIZED-TEXT>
		</MvLOCALIZED>
		<MvDO FILE = "{ g.Module_Library_Utilities }" NAME = "l.ok" VALUE = "{ Error( 'MER-CUS-AD-00002', l.error ) }">
		<MvFUNCTIONRETURN VALUE = "0">
	</MvIF>
	
	<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.found" VALUE = "{ Customer_Find_Login( l.cus_login ) }">

	<MvIF EXPR = "{ l.found }">
		<MvDO FILE = "{ g.Module_Feature_CUS_DB }" NAME = "l.ok" VALUE = "{ Customer_Delete( Customers.d.id ) }">
	</MvIF>


	<MvFUNCTIONRETURN VALUE = "{ l.ok }">
</MvFUNCTION>

