function bottomfixup(what) {
+%# ../cust_main.cgi
var layervars = new Array(
'payauto',
'payinfo', 'payinfo1', 'payinfo2', 'paytype',
var country_el = cf.elements['<% $taxpre %>country'];
var country = country_el.options[ country_el.selectedIndex ].value;
+ var geocode = cf.elements['geocode'].value;
if ( country == 'CA' || country == 'US' ) {
";state=" + state +
";zip=" + cf.elements['<% $taxpre %>zip'].value +
";country=" + country +
+ ";geocode=" + geocode +
";";
// popup a chooser
var cf = document.CustomerForm;
var state_el = cf.elements['ship_state'];
var census_data = new Array(
- 'year', <% $conf->config('census_year') || '2008' %>,
+ 'year', <% $conf->config('census_year') || '2009' %>,
'address', cf.elements['ship_address1'].value,
'city', cf.elements['ship_city'].value,
'state', state_el.options[ state_el.selectedIndex ].value,