Index: uc_taxes.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ubercart/uc_taxes/uc_taxes.js,v
retrieving revision 1.10.2.7
diff -u -F^f -r1.10.2.7 uc_taxes.js
--- uc_taxes.js	27 Feb 2009 22:41:31 -0000	1.10.2.7
+++ uc_taxes.js	3 Apr 2009 07:45:55 -0000
@@ -134,11 +134,12 @@ function getTax() {
         for (key in li_titles) {
           // The tax id is the second part of the line item id if the first
           // part is "tax".
-          i = key.split('_', 2);
-          if (i[0] == 'tax') {
+          keytype = key.substring(0, key.indexOf('_'));
+          if (keytype == 'tax') {
             found = false;
+            li_id = key.substring(key.indexOf('_') + 1);
             for (j in taxes) {
-              if (taxes[j].id == i[1]) {
+              if (taxes[j].id == li_id) {
                 found = true;
                 break;
               }
