migrate test database from 3.x
[freeside.git] / FS-Test / share / output / view / cust_main.cgi / 135
index 4a373bc..011c96f 100644 (file)
@@ -2,7 +2,7 @@
 <HTML>
   <HEAD>
     <TITLE>
-      Customer: Olson Inc (Towne, Samara)
+      Internal Customer #135: Olson Inc (Towne, Samara) (Active)
     </TITLE>
     <!-- per RT, to prevent IE compatibility mode -->
     <meta http-equiv="X-UA-Compatible" content="IE=edge" />
@@ -25,7 +25,7 @@
 <SCRIPT TYPE="text/javascript">
 
   function about_freeside() {
-    overlib( OLiframeContent('http://localhost/freeside/docs/about.html', 300, 375, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'About', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#7e0079', CGCOLOR, '#7e0079', CLOSETEXT, 'Close'); 
+    overlib( OLiframeContent('http://localhost/freeside/docs/about.html', 300, 375, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'About', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#7e0079', CGCOLOR, '#7e0079', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); 
   }
 
   webfxMenuImagePath      = "http://localhost/freeside/images/";
@@ -84,6 +84,7 @@ myMenu3.add(new WebFXMenuItem("Signup date report", "http://localhost/freeside/g
 myMenu3.add(new WebFXMenuItem("Advanced customer reports", "http://localhost/freeside/search/report_cust_main.html", "by status, signup date, agent, etc." ));
 myMenu3.add(new WebFXMenuSeparator());
 myMenu3.add(new WebFXMenuItem("Customer contacts", "http://localhost/freeside/search/report_contact.html?link=cust_main", "" ));
+myMenu3.add(new WebFXMenuItem("Customer stored payment information", "http://localhost/freeside/search/report_cust_payby.html", "" ));
 myMenu3.width = 256;
 
 myMenu0.add(new WebFXMenuItem("Customers", null, "Customer reports", myMenu3 ));
@@ -305,72 +306,74 @@ myMenu30.width = 256;
 myMenu0.add(new WebFXMenuItem("Tickets", null, "Ticket reports", myMenu30 ));
 var myMenu32 = new WebFXMenu;
 myMenu32.emptyText = '';
-myMenu32.add(new WebFXMenuItem("Employee Commission Report", "http://localhost/freeside/search/report_employee_commission.html", "" ));
-myMenu32.add(new WebFXMenuItem("Employee Audit Report", "http://localhost/freeside/search/report_employee_audit.html", "Employee audit report" ));
-myMenu32.width = 256;
-
-myMenu0.add(new WebFXMenuItem("Employees", null, "Employee reports", myMenu32 ));
 var myMenu33 = new WebFXMenu;
 myMenu33.emptyText = '';
-myMenu33.add(new WebFXMenuItem("All billing events", "http://localhost/freeside/search/report_cust_event.html", "All billing events for a date range" ));
-myMenu33.add(new WebFXMenuItem("Billing event errors", "http://localhost/freeside/search/report_cust_event.html?failed=1", "Failed credit cards, processor or printer problems, etc." ));
+myMenu33.add(new WebFXMenuItem("Sales, Credits and Receipts", "http://localhost/freeside/graph/report_money_time.html", "Sales, credits and receipts summary graph" ));
+myMenu33.add(new WebFXMenuItem("Daily Sales, Credits and Receipts", "http://localhost/freeside/graph/report_money_time_daily.html", "Sales, credits and receipts (broken down by day) summary graph" ));
+myMenu33.add(new WebFXMenuItem("Sales Report", "http://localhost/freeside/graph/report_cust_bill_pkg.html", "Sales report and graph (by agent, package class and/or date range)" ));
+myMenu33.add(new WebFXMenuItem("Rated Call Sales Report", "http://localhost/freeside/graph/report_cust_bill_pkg_detail.html", "Sales report and graph (by agent, package class, usage class and/or date range)" ));
+myMenu33.add(new WebFXMenuItem("Sales with Advertising Source", "http://localhost/freeside/search/report_cust_bill_pkg_referral.html", "" ));
 myMenu33.width = 256;
 
-myMenu0.add(new WebFXMenuItem("Billing events", null, "Billing events", myMenu33 ));
+myMenu32.add(new WebFXMenuItem("Sales", null, "Sales reports", myMenu33 ));
 var myMenu34 = new WebFXMenu;
 myMenu34.emptyText = '';
+myMenu34.add(new WebFXMenuItem("Agent", "http://localhost/freeside/search/report_agent_commission.html", "" ));
+myMenu34.add(new WebFXMenuItem("Agent per package", "http://localhost/freeside/search/report_agent_commission_pkg.html", "" ));
+myMenu34.add(new WebFXMenuItem("Sales Person", "http://localhost/freeside/search/report_sales_commission.html", "" ));
+myMenu34.add(new WebFXMenuItem("Sales Person per package", "http://localhost/freeside/search/report_sales_commission_pkg.html", "" ));
+myMenu34.add(new WebFXMenuItem("Employee", "http://localhost/freeside/search/report_employee_commission.html", "" ));
+myMenu34.width = 256;
+
+myMenu32.add(new WebFXMenuItem("Commissions", null, "Commission reports", myMenu34 ));
 var myMenu35 = new WebFXMenu;
 myMenu35.emptyText = '';
-myMenu35.add(new WebFXMenuItem("Sales, Credits and Receipts", "http://localhost/freeside/graph/report_money_time.html", "Sales, credits and receipts summary graph" ));
-myMenu35.add(new WebFXMenuItem("Daily Sales, Credits and Receipts", "http://localhost/freeside/graph/report_money_time_daily.html", "Sales, credits and receipts (broken down by day) summary graph" ));
-myMenu35.add(new WebFXMenuItem("Sales Report", "http://localhost/freeside/graph/report_cust_bill_pkg.html", "Sales report and graph (by agent, package class and/or date range)" ));
-myMenu35.add(new WebFXMenuItem("Rated Call Sales Report", "http://localhost/freeside/graph/report_cust_bill_pkg_detail.html", "Sales report and graph (by agent, package class, usage class and/or date range)" ));
-myMenu35.add(new WebFXMenuItem("Sales with Advertising Source", "http://localhost/freeside/search/report_cust_bill_pkg_referral.html", "" ));
+myMenu35.add(new WebFXMenuItem("Credit Report", "http://localhost/freeside/search/report_cust_credit.html", "Credit report (by employee and/or date range)" ));
+myMenu35.add(new WebFXMenuItem("Credit package source detail", "http://localhost/freeside/search/report_cust_credit_source_bill_pkg.html", "Line-item detail for triggered package credits" ));
+myMenu35.add(new WebFXMenuItem("Credit application detail", "http://localhost/freeside/search/report_cust_credit_bill_pkg.html", "Line item application detail" ));
+myMenu35.add(new WebFXMenuItem("Unapplied Credits", "http://localhost/freeside/search/report_cust_credit.html?unapplied=1", "Unapplied credit report (by type and/or date range)" ));
+myMenu35.add(new WebFXMenuItem("Voided Credits", "http://localhost/freeside/search/report_cust_credit_void.html", "Voided credit report (by employee and/or date range)" ));
 myMenu35.width = 256;
 
-myMenu34.add(new WebFXMenuItem("Sales", null, "Sales reports", myMenu35 ));
+myMenu32.add(new WebFXMenuItem("Credits", null, "Credit reports", myMenu35 ));
 var myMenu36 = new WebFXMenu;
 myMenu36.emptyText = '';
-myMenu36.add(new WebFXMenuItem("Credit Report", "http://localhost/freeside/search/report_cust_credit.html", "Credit report (by employee and/or date range)" ));
-myMenu36.add(new WebFXMenuItem("Credit application detail", "http://localhost/freeside/search/report_cust_credit_bill_pkg.html", "Line item application detail" ));
-myMenu36.add(new WebFXMenuItem("Unapplied Credits", "http://localhost/freeside/search/report_cust_credit.html?unapplied=1", "Unapplied credit report (by type and/or date range)" ));
-myMenu36.add(new WebFXMenuItem("Voided Credits", "http://localhost/freeside/search/report_cust_credit_void.html", "Voided credit report (by employee and/or date range)" ));
+myMenu36.add(new WebFXMenuItem("Refund Report", "http://localhost/freeside/search/report_cust_refund.html", "Refund report (by type and/or date range)" ));
+myMenu36.add(new WebFXMenuItem("Unapplied Refunds", "http://localhost/freeside/search/report_cust_refund.html?unapplied=1", "Unapplied refund report (by type and/or date range)" ));
 myMenu36.width = 256;
 
-myMenu34.add(new WebFXMenuItem("Credits", null, "Credit reports", myMenu36 ));
+myMenu32.add(new WebFXMenuItem("Refunds", null, "Refund reports", myMenu36 ));
+myMenu32.add(new WebFXMenuItem("A/R Aging", "http://localhost/freeside/search/report_receivables.html", "Accounts Receivable Aging report" ));
+myMenu32.add(new WebFXMenuItem("Prepaid Income", "http://localhost/freeside/search/report_prepaid_income.html", "Prepaid income (unearned revenue)  report" ));
+myMenu32.add(new WebFXMenuItem("Tax Liability", "http://localhost/freeside/search/report_tax.html", "Tax liability report (internal tax data)" ));
+myMenu32.add(new WebFXMenuItem("E911 Fee Summary", "http://localhost/freeside/search/report_e911.html", "E911 fee summary" ));
+myMenu32.add(new WebFXMenuItem("Customer Accounting Summary", "http://localhost/freeside/search/report_customer_accounting_summary.html", "Customer accounting summary report" ));
+myMenu32.width = 256;
+
+myMenu0.add(new WebFXMenuItem("Financial (Receivables)", null, "Financial reports (Receivables)", myMenu32 ));
 var myMenu37 = new WebFXMenu;
 myMenu37.emptyText = '';
-myMenu37.add(new WebFXMenuItem("Refund Report", "http://localhost/freeside/search/report_cust_refund.html", "Refund report (by type and/or date range)" ));
-myMenu37.add(new WebFXMenuItem("Unapplied Refunds", "http://localhost/freeside/search/report_cust_refund.html?unapplied=1", "Unapplied refund report (by type and/or date range)" ));
+myMenu37.add(new WebFXMenuItem("Payables summary", "http://localhost/freeside/search/report_vend_main.html", "Payables summary by vendor" ));
+myMenu37.add(new WebFXMenuItem("Payables detail", "http://localhost/freeside/search/report_vend_bill.html", "" ));
 myMenu37.width = 256;
 
-myMenu34.add(new WebFXMenuItem("Refunds", null, "Refund reports", myMenu37 ));
+myMenu0.add(new WebFXMenuItem("Financial (Payables)", null, "Financial reports (Payables)", myMenu37 ));
 var myMenu38 = new WebFXMenu;
 myMenu38.emptyText = '';
-myMenu38.add(new WebFXMenuItem("Agent Commissions", "http://localhost/freeside/search/report_agent_commission.html", "" ));
-myMenu38.add(new WebFXMenuItem("Agent Commissions Per Package", "http://localhost/freeside/search/report_agent_commission_pkg.html", "" ));
-myMenu38.add(new WebFXMenuItem("Sales Person Commissions", "http://localhost/freeside/search/report_sales_commission.html", "" ));
-myMenu38.add(new WebFXMenuItem("Sales Person Commissions Per Package", "http://localhost/freeside/search/report_sales_commission_pkg.html", "" ));
-myMenu38.add(new WebFXMenuItem("Employee Commissions", "http://localhost/freeside/search/report_employee_commission.html", "" ));
-myMenu38.width = 256;
-
-myMenu34.add(new WebFXMenuItem("Commissions", null, "Commission reports", myMenu38 ));
-myMenu34.add(new WebFXMenuItem("A/R Aging", "http://localhost/freeside/search/report_receivables.html", "Accounts Receivable Aging report" ));
-myMenu34.add(new WebFXMenuItem("Prepaid Income", "http://localhost/freeside/search/report_prepaid_income.html", "Prepaid income (unearned revenue)  report" ));
-myMenu34.add(new WebFXMenuItem("Tax Liability", "http://localhost/freeside/search/report_tax.html", "Tax liability report (internal tax data)" ));
-myMenu34.add(new WebFXMenuItem("E911 Fee Summary", "http://localhost/freeside/search/report_e911.html", "E911 fee summary" ));
-myMenu34.add(new WebFXMenuItem("Customer Accounting Summary", "http://localhost/freeside/search/report_customer_accounting_summary.html", "Customer accounting summary report" ));
-myMenu34.width = 256;
-
-myMenu0.add(new WebFXMenuItem("Financial", null, "Financial reports", myMenu34 ));
 var myMenu39 = new WebFXMenu;
 myMenu39.emptyText = '';
-myMenu39.add(new WebFXMenuItem("Credit limit incidents", "http://localhost/freeside/search/report_cust_main_credit_limit.html", "" ));
-myMenu39.add(new WebFXMenuItem("System log", "http://localhost/freeside/search/log.html", "View system events and debugging information." ));
-myMenu39.add(new WebFXMenuItem("Outgoing messages", "http://localhost/freeside/search/cust_msg.html", "View outgoing message log" ));
+myMenu39.add(new WebFXMenuItem("All billing events", "http://localhost/freeside/search/report_cust_event.html", "All billing events for a date range" ));
+myMenu39.add(new WebFXMenuItem("Billing event errors", "http://localhost/freeside/search/report_cust_event.html?failed=1", "Failed credit cards, processor or printer problems, etc." ));
 myMenu39.width = 256;
 
-myMenu0.add(new WebFXMenuItem("Logs", null, "System and email logs", myMenu39 ));
+myMenu38.add(new WebFXMenuItem("Billing events", null, "Billing events", myMenu39 ));
+myMenu38.add(new WebFXMenuItem("Credit limit incidents", "http://localhost/freeside/search/report_cust_main_credit_limit.html", "" ));
+myMenu38.add(new WebFXMenuItem("Employee activity", "http://localhost/freeside/search/report_employee_audit.html", "" ));
+myMenu38.add(new WebFXMenuItem("System log", "http://localhost/freeside/search/log.html", "View system events and debugging information." ));
+myMenu38.add(new WebFXMenuItem("Outgoing messages", "http://localhost/freeside/search/cust_msg.html", "View outgoing message log" ));
+myMenu38.width = 256;
+
+myMenu0.add(new WebFXMenuItem("Logs", null, "System and email logs", myMenu38 ));
 myMenu0.width = 256;
 
           myBar.add(new WebFXMenuButton('Reports', null, 'Lists, reporting and graphing', myMenu0 ));
@@ -378,229 +381,266 @@ myMenu0.width = 256;
 
           var myMenu40 = new WebFXMenu;
 myMenu40.emptyText = '';
-myMenu40.add(new WebFXMenuItem("Quick payment entry", "http://localhost/freeside/misc/batch-cust_pay.html", "Enter multiple payments in a batch" ));
-myMenu40.add(new WebFXMenuItem("Download invoice batches", "http://localhost/freeside/search/bill_batch.cgi", "" ));
-myMenu40.add(new WebFXMenuItem("Bulk DID Orders", "http://localhost/freeside/browse/did_order.html", "View/manage bulk DID orders" ));
-myMenu40.add(new WebFXMenuItem("Job Queue", "http://localhost/freeside/search/queue.html", "View pending job queue" ));
 var myMenu41 = new WebFXMenu;
 myMenu41.emptyText = '';
+myMenu41.add(new WebFXMenuItem("Appointments", "http://localhost/freeside/rt/Search/Schedule.html?LengthMin=0", "View appointment schedule" ));
+myMenu41.add(new WebFXMenuItem("Attachments", "http://localhost/freeside/browse/cust_attachment.html", "View customer attachments" ));
+myMenu41.add(new WebFXMenuItem("Customer email settings", "http://localhost/freeside/misc/manage_cust_email.html", "" ));
+myMenu41.width = 256;
+
+myMenu40.add(new WebFXMenuItem("Customers", null, "Customer tools", myMenu41 ));
 var myMenu42 = new WebFXMenu;
 myMenu42.emptyText = '';
-myMenu42.add(new WebFXMenuItem("Overview", "http://localhost/freeside/rt/Articles/index.html", "" ));
-myMenu42.add(new WebFXMenuItem("Search", "http://localhost/freeside/rt/Articles/Article/Search.html", "" ));
-myMenu42.add(new WebFXMenuItem("Topics", "http://localhost/freeside/rt/Articles/Topics.html", "" ));
+myMenu42.add(new WebFXMenuItem("Quick payment entry", "http://localhost/freeside/misc/batch-cust_pay.html", "Enter multiple payments in a batch" ));
+myMenu42.add(new WebFXMenuItem("Download invoice batches", "http://localhost/freeside/search/bill_batch.cgi", "" ));
 myMenu42.width = 256;
 
-myMenu41.add(new WebFXMenuItem("Articles", null, "", myMenu42 ));
-myMenu41.add(new WebFXMenuItem("My Day", "http://localhost/freeside/rt/Tools/MyDay.html", "" ));
-myMenu41.add(new WebFXMenuItem("My Reminders", "http://localhost/freeside/rt/Tools/MyReminders.html", "" ));
-myMenu41.add(new WebFXMenuItem("Offline", "http://localhost/freeside/rt/Tools/Offline.html", "" ));
-myMenu41.add(new WebFXMenuItem("Approval", "http://localhost/freeside/rt/Approvals/", "" ));
-myMenu41.width = 256;
-
-myMenu40.add(new WebFXMenuItem("Ticketing", null, "Ticketing tools", myMenu41 ));
-myMenu40.add(new WebFXMenuItem("Customer email settings", "http://localhost/freeside/misc/manage_cust_email.html", "" ));
-myMenu40.add(new WebFXMenuItem("Business card scan", "http://localhost/freeside/edit/prospect_main-upload.html", "" ));
-myMenu40.add(new WebFXMenuItem("Attachments", "http://localhost/freeside/browse/cust_attachment.html", "View customer attachments" ));
+myMenu40.add(new WebFXMenuItem("Billing", null, "Payment and invoice tools", myMenu42 ));
 var myMenu43 = new WebFXMenu;
 myMenu43.emptyText = '';
-myMenu43.add(new WebFXMenuItem("Customers", "http://localhost/freeside/misc/cust_main-import.cgi", "" ));
-myMenu43.add(new WebFXMenuItem("Package definitions", "http://localhost/freeside/misc/part_pkg-import.html", "" ));
-myMenu43.add(new WebFXMenuItem("Customer packages", "http://localhost/freeside/misc/cust_pkg-import.html", "" ));
-myMenu43.add(new WebFXMenuItem("Customer comments", "http://localhost/freeside/misc/cust_main_note-import.html", "" ));
-myMenu43.add(new WebFXMenuItem("One-time charges", "http://localhost/freeside/misc/cust_main-import_charges.cgi", "" ));
-myMenu43.add(new WebFXMenuItem("Payments", "http://localhost/freeside/misc/cust_pay-import.cgi", "" ));
-myMenu43.add(new WebFXMenuItem("Credits", "http://localhost/freeside/misc/cust_credit-import.html", "" ));
-myMenu43.add(new WebFXMenuItem("Phone numbers (DIDs)", "http://localhost/freeside/misc/phone_avail-import.html", "" ));
-myMenu43.add(new WebFXMenuItem("Call Detail Records (CDRs)", "http://localhost/freeside/misc/cdr-import.html", "" ));
-myMenu43.width = 256;
-
-myMenu40.add(new WebFXMenuItem("Importing", null, "Import tools", myMenu43 ));
 var myMenu44 = new WebFXMenu;
 myMenu44.emptyText = '';
-myMenu44.add(new WebFXMenuItem("Download database dump", "http://localhost/freeside/misc/dump.cgi", "" ));
+myMenu44.add(new WebFXMenuItem("Overview", "http://localhost/freeside/rt/Articles/index.html", "" ));
+myMenu44.add(new WebFXMenuItem("Search", "http://localhost/freeside/rt/Articles/Article/Search.html", "" ));
+myMenu44.add(new WebFXMenuItem("Topics", "http://localhost/freeside/rt/Articles/Topics.html", "" ));
 myMenu44.width = 256;
 
-myMenu40.add(new WebFXMenuItem("Exporting", null, "Export tools", myMenu44 ));
-myMenu40.add(new WebFXMenuItem("Status", "http://localhost/freeside/view/Status.html", "System status" ));
-myMenu40.width = 256;
-
-          myBar.add(new WebFXMenuButton('Tools', null, 'Tools', myMenu40 ));
-
+myMenu43.add(new WebFXMenuItem("Articles", null, "", myMenu44 ));
+myMenu43.add(new WebFXMenuItem("My Day", "http://localhost/freeside/rt/Tools/MyDay.html", "" ));
+myMenu43.add(new WebFXMenuItem("My Reminders", "http://localhost/freeside/rt/Tools/MyReminders.html", "" ));
+myMenu43.add(new WebFXMenuItem("Offline", "http://localhost/freeside/rt/Tools/Offline.html", "" ));
+myMenu43.add(new WebFXMenuItem("Approval", "http://localhost/freeside/rt/Approvals/", "" ));
+myMenu43.width = 256;
 
-          var myMenu45 = new WebFXMenu;
+myMenu40.add(new WebFXMenuItem("Ticketing", null, "Ticketing tools", myMenu43 ));
+var myMenu45 = new WebFXMenu;
 myMenu45.emptyText = '';
-myMenu45.add(new WebFXMenuItem("Settings", "http://localhost/freeside/config/config-view.cgi", "" ));
-myMenu45.add(new WebFXMenuSeparator());
+myMenu45.add(new WebFXMenuItem("Bulk DID Orders", "http://localhost/freeside/browse/did_order.html", "View/manage bulk DID orders" ));
+myMenu45.add(new WebFXMenuItem("Business card scan", "http://localhost/freeside/edit/prospect_main-upload.html", "" ));
+myMenu45.width = 256;
+
+myMenu40.add(new WebFXMenuItem("Miscellaneous", null, "", myMenu45 ));
 var myMenu46 = new WebFXMenu;
 myMenu46.emptyText = '';
-myMenu46.add(new WebFXMenuItem("Agent types", "http://localhost/freeside/browse/agent_type.cgi", "Agent types define groups of package definitions that you can then assign to particular agents" ));
-myMenu46.add(new WebFXMenuItem("Agents", "http://localhost/freeside/browse/agent.cgi", "Agents are resellers of your service. Agents may be limited to a subset of your full offerings (via their type)" ));
-myMenu46.add(new WebFXMenuItem("Agent payment gateways", "http://localhost/freeside/browse/payment_gateway.html", "Credit card and electronic check processors for agent overrides" ));
+myMenu46.add(new WebFXMenuItem("Customers", "http://localhost/freeside/misc/cust_main-import.cgi", "" ));
+myMenu46.add(new WebFXMenuItem("Package definitions", "http://localhost/freeside/misc/part_pkg-import.html", "" ));
+myMenu46.add(new WebFXMenuItem("Customer packages", "http://localhost/freeside/misc/cust_pkg-import.html", "" ));
+myMenu46.add(new WebFXMenuItem("Customer comments", "http://localhost/freeside/misc/cust_main_note-import.html", "" ));
+myMenu46.add(new WebFXMenuItem("One-time charges", "http://localhost/freeside/misc/cust_main-import_charges.cgi", "" ));
+myMenu46.add(new WebFXMenuItem("Payments", "http://localhost/freeside/misc/cust_pay-import.cgi", "" ));
+myMenu46.add(new WebFXMenuItem("Credits", "http://localhost/freeside/misc/cust_credit-import.html", "" ));
+myMenu46.add(new WebFXMenuItem("Phone numbers (DIDs)", "http://localhost/freeside/misc/phone_avail-import.html", "" ));
+myMenu46.add(new WebFXMenuItem("Call Detail Records (CDRs)", "http://localhost/freeside/misc/cdr-import.html", "" ));
 myMenu46.width = 256;
 
-myMenu45.add(new WebFXMenuItem("Companies", null, "", myMenu46 ));
+myMenu40.add(new WebFXMenuItem("Importing", null, "Import tools", myMenu46 ));
 var myMenu47 = new WebFXMenu;
 myMenu47.emptyText = '';
-myMenu47.add(new WebFXMenuItem("Sales People", "http://localhost/freeside/browse/sales.html", "Sales people bring in new business." ));
+myMenu47.add(new WebFXMenuItem("Status", "http://localhost/freeside/view/Status.html", "System status" ));
+myMenu47.add(new WebFXMenuItem("Job Queue", "http://localhost/freeside/search/queue.html", "View pending job queue" ));
 myMenu47.width = 256;
 
-myMenu45.add(new WebFXMenuItem("Sales People", null, "", myMenu47 ));
-var myMenu48 = new WebFXMenu;
-myMenu48.emptyText = '';
-myMenu48.add(new WebFXMenuItem("Employees", "http://localhost/freeside/browse/access_user.html", "Setup internal users" ));
-myMenu48.add(new WebFXMenuItem("Employee groups", "http://localhost/freeside/browse/access_group.html", "Employee groups allow you to control access to the backend" ));
-myMenu48.add(new WebFXMenuItem("Installer availability", "http://localhost/freeside/browse/sched_item.html", "Installer availability" ));
-myMenu48.width = 256;
+myMenu40.add(new WebFXMenuItem("System", null, "System tools", myMenu47 ));
+myMenu40.width = 256;
 
-myMenu45.add(new WebFXMenuItem("Employees", null, "", myMenu48 ));
-myMenu45.add(new WebFXMenuSeparator());
+          myBar.add(new WebFXMenuButton('Tools', null, 'Tools', myMenu40 ));
+
+
+          var myMenu48 = new WebFXMenu;
+myMenu48.emptyText = '';
+myMenu48.add(new WebFXMenuItem("Settings", "http://localhost/freeside/config/config-view.cgi", "" ));
+myMenu48.add(new WebFXMenuSeparator());
 var myMenu49 = new WebFXMenu;
 myMenu49.emptyText = '';
-myMenu49.add(new WebFXMenuItem("Customer tags", "http://localhost/freeside/browse/part_tag.html", "" ));
-myMenu49.add(new WebFXMenuItem("Customer classes", "http://localhost/freeside/browse/cust_class.html", "Customer classes define groups of customers for reporting." ));
-myMenu49.add(new WebFXMenuItem("Customer categories", "http://localhost/freeside/browse/cust_category.html", "Customer categories define groups of customer classes." ));
-myMenu49.add(new WebFXMenuSeparator());
-myMenu49.add(new WebFXMenuItem("Contact types", "http://localhost/freeside/browse/contact_class.html", "" ));
+myMenu49.add(new WebFXMenuItem("Agent types", "http://localhost/freeside/browse/agent_type.cgi", "Agent types define groups of package definitions that you can then assign to particular agents" ));
+myMenu49.add(new WebFXMenuItem("Agents", "http://localhost/freeside/browse/agent.cgi", "Agents are resellers of your service. Agents may be limited to a subset of your full offerings (via their type)" ));
+myMenu49.add(new WebFXMenuItem("Agent payment gateways", "http://localhost/freeside/browse/payment_gateway.html", "Credit card and electronic check processors for agent overrides" ));
 myMenu49.width = 256;
 
-myMenu45.add(new WebFXMenuItem("Customers", null, "", myMenu49 ));
+myMenu48.add(new WebFXMenuItem("Companies", null, "", myMenu49 ));
 var myMenu50 = new WebFXMenu;
 myMenu50.emptyText = '';
-myMenu50.add(new WebFXMenuItem("Package definitions", "http://localhost/freeside/browse/part_pkg.cgi", "One or more services are grouped together into a package and given pricing information. Customers purchase packages, not services" ));
-myMenu50.add(new WebFXMenuItem("Package classes", "http://localhost/freeside/browse/pkg_class.html", "Package classes define groups of packages, for taxation, ordering convenience and reporting." ));
-myMenu50.add(new WebFXMenuItem("Package categories", "http://localhost/freeside/browse/pkg_category.html", "Package categories define groups of package classes, for invoice sections." ));
-myMenu50.add(new WebFXMenuItem("Package report classes", "http://localhost/freeside/browse/part_pkg_report_option.html", "Package classes define optional groups of packages for reporting only." ));
-myMenu50.add(new WebFXMenuItem("Fees", "http://localhost/freeside/browse/part_fee.html", "" ));
-myMenu50.add(new WebFXMenuItem("Discounts", "http://localhost/freeside/browse/discount.html", "" ));
-myMenu50.add(new WebFXMenuItem("Discount classes", "http://localhost/freeside/browse/discount_class.html", "" ));
+myMenu50.add(new WebFXMenuItem("Sales People", "http://localhost/freeside/browse/sales.html", "Sales people bring in new business." ));
+myMenu50.width = 256;
+
+myMenu48.add(new WebFXMenuItem("Sales People", null, "", myMenu50 ));
 var myMenu51 = new WebFXMenu;
 myMenu51.emptyText = '';
-myMenu51.add(new WebFXMenuItem("Cancel reasons", "http://localhost/freeside/browse/reason.html?class=C", "Cancel reasons explain why a service was cancelled." ));
-myMenu51.add(new WebFXMenuItem("Cancel reason types", "http://localhost/freeside/browse/reason_type.html?class=C", "Cancel reason types define groups of reasons." ));
-myMenu51.add(new WebFXMenuItem("Suspend reasons", "http://localhost/freeside/browse/reason.html?class=S", "Suspend reasons explain why a service was suspended." ));
-myMenu51.add(new WebFXMenuItem("Suspend reason types", "http://localhost/freeside/browse/reason_type.html?class=S", "Suspend reason types define groups of reasons." ));
+myMenu51.add(new WebFXMenuItem("Employees", "http://localhost/freeside/browse/access_user.html", "Setup internal users" ));
+myMenu51.add(new WebFXMenuItem("Employee groups", "http://localhost/freeside/browse/access_group.html", "Employee groups allow you to control access to the backend" ));
+myMenu51.add(new WebFXMenuItem("Installer availability", "http://localhost/freeside/browse/sched_item.html", "Installer availability" ));
 myMenu51.width = 256;
 
-myMenu50.add(new WebFXMenuItem("Cancel/Suspend Reasons", null, "", myMenu51 ));
-myMenu50.width = 256;
-
-myMenu45.add(new WebFXMenuItem("Packages", null, "", myMenu50 ));
+myMenu48.add(new WebFXMenuItem("Employees", null, "", myMenu51 ));
+myMenu48.add(new WebFXMenuSeparator());
 var myMenu52 = new WebFXMenu;
 myMenu52.emptyText = '';
-myMenu52.add(new WebFXMenuItem("Service definitions", "http://localhost/freeside/browse/part_svc.cgi", "Services are items you offer to your customers" ));
-myMenu52.add(new WebFXMenuItem("Service classes", "http://localhost/freeside/browse/part_svc_class.html", "Services classes are user-defined, informational types for services" ));
-myMenu52.add(new WebFXMenuItem("Provisioning exports", "http://localhost/freeside/browse/part_export.cgi", "Provisioning services to external machines, databases and APIs" ));
+myMenu52.add(new WebFXMenuItem("Customer tags", "http://localhost/freeside/browse/part_tag.html", "" ));
+myMenu52.add(new WebFXMenuItem("Customer classes", "http://localhost/freeside/browse/cust_class.html", "Customer classes define groups of customers for reporting." ));
+myMenu52.add(new WebFXMenuItem("Customer categories", "http://localhost/freeside/browse/cust_category.html", "Customer categories define groups of customer classes." ));
+myMenu52.add(new WebFXMenuSeparator());
+myMenu52.add(new WebFXMenuItem("Contact types", "http://localhost/freeside/browse/contact_class.html", "" ));
+myMenu52.width = 256;
+
+myMenu48.add(new WebFXMenuItem("Customers", null, "", myMenu52 ));
 var myMenu53 = new WebFXMenu;
 myMenu53.emptyText = '';
-myMenu53.add(new WebFXMenuItem("Access numbers", "http://localhost/freeside/browse/svc_acct_pop.cgi", "Points of Presence" ));
-myMenu53.width = 256;
-
-myMenu52.add(new WebFXMenuItem("Dialup", null, "", myMenu53 ));
+myMenu53.add(new WebFXMenuItem("Package definitions", "http://localhost/freeside/browse/part_pkg.cgi", "One or more services are grouped together into a package and given pricing information. Customers purchase packages, not services" ));
+myMenu53.add(new WebFXMenuItem("Package classes", "http://localhost/freeside/browse/pkg_class.html", "Package classes define groups of packages, for taxation, ordering convenience and reporting." ));
+myMenu53.add(new WebFXMenuItem("Package categories", "http://localhost/freeside/browse/pkg_category.html", "Package categories define groups of package classes, for invoice sections." ));
+myMenu53.add(new WebFXMenuItem("Package report classes", "http://localhost/freeside/browse/part_pkg_report_option.html", "Package classes define optional groups of packages for reporting only." ));
+myMenu53.add(new WebFXMenuItem("Fees", "http://localhost/freeside/browse/part_fee.html", "" ));
+myMenu53.add(new WebFXMenuItem("Discounts", "http://localhost/freeside/browse/discount.html", "" ));
+myMenu53.add(new WebFXMenuItem("Discount classes", "http://localhost/freeside/browse/discount_class.html", "" ));
 var myMenu54 = new WebFXMenu;
 myMenu54.emptyText = '';
-myMenu54.add(new WebFXMenuItem("Towers", "http://localhost/freeside/browse/tower.html", "Towers and sectors" ));
-myMenu54.add(new WebFXMenuItem("Routers", "http://localhost/freeside/browse/router.cgi", "Broadband access routers" ));
-myMenu54.add(new WebFXMenuItem("Address blocks", "http://localhost/freeside/browse/addr_block.cgi", "Manage address blocks and block assignments to broadband routers" ));
-myMenu54.add(new WebFXMenuItem("Address ranges", "http://localhost/freeside/browse/addr_range.html", "Designate special address ranges" ));
+myMenu54.add(new WebFXMenuItem("Cancel reasons", "http://localhost/freeside/browse/reason.html?class=C", "Cancel reasons explain why a service was cancelled." ));
+myMenu54.add(new WebFXMenuItem("Cancel reason types", "http://localhost/freeside/browse/reason_type.html?class=C", "Cancel reason types define groups of reasons." ));
+myMenu54.add(new WebFXMenuItem("Suspend reasons", "http://localhost/freeside/browse/reason.html?class=S", "Suspend reasons explain why a service was suspended." ));
+myMenu54.add(new WebFXMenuItem("Suspend reason types", "http://localhost/freeside/browse/reason_type.html?class=S", "Suspend reason types define groups of reasons." ));
 myMenu54.width = 256;
 
-myMenu52.add(new WebFXMenuItem("Wireless broadband", null, "", myMenu54 ));
+myMenu53.add(new WebFXMenuItem("Cancel/Suspend Reasons", null, "", myMenu54 ));
+myMenu53.width = 256;
+
+myMenu48.add(new WebFXMenuItem("Packages", null, "", myMenu53 ));
 var myMenu55 = new WebFXMenu;
 myMenu55.emptyText = '';
-myMenu55.add(new WebFXMenuItem("View/Edit phone device types", "http://localhost/freeside/browse/part_device.html", "Phone device types" ));
-myMenu55.add(new WebFXMenuItem("View/Edit bulk DID vendors", "http://localhost/freeside/browse/did_vendor.html", "Bulk DID vendors" ));
-myMenu55.add(new WebFXMenuItem("View/Edit Carriers", "http://localhost/freeside/browse/cdr_carrier.html", "Carriers" ));
-myMenu55.width = 256;
-
-myMenu52.add(new WebFXMenuItem("Phone", null, "", myMenu55 ));
+myMenu55.add(new WebFXMenuItem("Service definitions", "http://localhost/freeside/browse/part_svc.cgi", "Services are items you offer to your customers" ));
+myMenu55.add(new WebFXMenuItem("Service classes", "http://localhost/freeside/browse/part_svc_class.html", "Services classes are user-defined, informational types for services" ));
+myMenu55.add(new WebFXMenuItem("Service dependencies", "http://localhost/freeside/browse/part_svc_link.html", "Services depencies define rules between service definitions" ));
+myMenu55.add(new WebFXMenuItem("Provisioning exports", "http://localhost/freeside/browse/part_export.cgi", "Provisioning services to external machines, databases and APIs" ));
 var myMenu56 = new WebFXMenu;
 myMenu56.emptyText = '';
-myMenu56.add(new WebFXMenuItem("RADIUS Groups", "http://localhost/freeside/browse/radius_group.html", "Manage RADIUS groups" ));
-myMenu56.add(new WebFXMenuItem("RADIUS Clients", "http://localhost/freeside/browse/nas.html", "Manage RADIUS clients" ));
+myMenu56.add(new WebFXMenuItem("Access numbers", "http://localhost/freeside/browse/svc_acct_pop.cgi", "Points of Presence" ));
 myMenu56.width = 256;
 
-myMenu52.add(new WebFXMenuItem("RADIUS", null, "", myMenu56 ));
+myMenu55.add(new WebFXMenuItem("Dialup", null, "", myMenu56 ));
 var myMenu57 = new WebFXMenu;
 myMenu57.emptyText = '';
-myMenu57.add(new WebFXMenuItem("Cable providers", "http://localhost/freeside/browse/cable_provider.html", "" ));
-myMenu57.add(new WebFXMenuItem("Cable modem models", "http://localhost/freeside/browse/cable_model.html", "" ));
+myMenu57.add(new WebFXMenuItem("Towers", "http://localhost/freeside/browse/tower.html", "Towers and sectors" ));
+myMenu57.add(new WebFXMenuItem("Routers", "http://localhost/freeside/browse/router.cgi", "Broadband access routers" ));
+myMenu57.add(new WebFXMenuItem("Address blocks", "http://localhost/freeside/browse/addr_block.cgi", "Manage address blocks and block assignments to broadband routers" ));
+myMenu57.add(new WebFXMenuItem("Address ranges", "http://localhost/freeside/browse/addr_range.html", "Designate special address ranges" ));
 myMenu57.width = 256;
 
-myMenu52.add(new WebFXMenuItem("Cable", null, "", myMenu57 ));
+myMenu55.add(new WebFXMenuItem("Wireless broadband", null, "", myMenu57 ));
 var myMenu58 = new WebFXMenu;
 myMenu58.emptyText = '';
-myMenu58.add(new WebFXMenuItem("Alarm system vendors", "http://localhost/freeside/browse/alarm_system.html", "" ));
-myMenu58.add(new WebFXMenuItem("Alarm system types", "http://localhost/freeside/browse/alarm_type.html", "" ));
-myMenu58.add(new WebFXMenuItem("Alarm central stations", "http://localhost/freeside/browse/alarm_station.html", "" ));
+myMenu58.add(new WebFXMenuItem("View/Edit phone device types", "http://localhost/freeside/browse/part_device.html", "Phone device types" ));
+myMenu58.add(new WebFXMenuItem("View/Edit bulk DID vendors", "http://localhost/freeside/browse/did_vendor.html", "Bulk DID vendors" ));
+myMenu58.add(new WebFXMenuItem("View/Edit Carriers", "http://localhost/freeside/browse/cdr_carrier.html", "Carriers" ));
 myMenu58.width = 256;
 
-myMenu52.add(new WebFXMenuItem("Alarm", null, "", myMenu58 ));
+myMenu55.add(new WebFXMenuItem("Phone", null, "", myMenu58 ));
 var myMenu59 = new WebFXMenu;
 myMenu59.emptyText = '';
-myMenu59.add(new WebFXMenuItem("Circuit types", "http://localhost/freeside/browse/circuit_type.html", "" ));
-myMenu59.add(new WebFXMenuItem("Circuit providers", "http://localhost/freeside/browse/circuit_provider.html", "" ));
-myMenu59.add(new WebFXMenuItem("Termination types", "http://localhost/freeside/browse/circuit_termination.html", "" ));
+myMenu59.add(new WebFXMenuItem("RADIUS Groups", "http://localhost/freeside/browse/radius_group.html", "Manage RADIUS groups" ));
+myMenu59.add(new WebFXMenuItem("RADIUS Clients", "http://localhost/freeside/browse/nas.html", "Manage RADIUS clients" ));
 myMenu59.width = 256;
 
-myMenu52.add(new WebFXMenuItem("Circuits", null, "", myMenu59 ));
-myMenu52.add(new WebFXMenuItem("Hardware types", "http://localhost/freeside/browse/hardware_class.html", "Set up hardware type catalog" ));
-myMenu52.width = 256;
-
-myMenu45.add(new WebFXMenuItem("Services", null, "", myMenu52 ));
-myMenu45.add(new WebFXMenuSeparator());
+myMenu55.add(new WebFXMenuItem("RADIUS", null, "", myMenu59 ));
 var myMenu60 = new WebFXMenu;
 myMenu60.emptyText = '';
-myMenu60.add(new WebFXMenuItem("Billing events", "http://localhost/freeside/browse/part_event.html", "Billing actions for customers, invoices and packages" ));
-myMenu60.add(new WebFXMenuItem("Invoice configurations", "http://localhost/freeside/browse/invoice_conf.html", "Adjust invoice settings for special-purpose notices" ));
-myMenu60.add(new WebFXMenuItem("Invoice templates", "http://localhost/freeside/browse/invoice_template.html", "Edit templates for HTML, plaintext and typeset invoices" ));
-myMenu60.add(new WebFXMenuItem("Prepaid cards", "http://localhost/freeside/search/prepay_credit.html", "View outstanding cards, generate new cards" ));
+myMenu60.add(new WebFXMenuItem("Cable providers", "http://localhost/freeside/browse/cable_provider.html", "" ));
+myMenu60.add(new WebFXMenuItem("Cable modem models", "http://localhost/freeside/browse/cable_model.html", "" ));
+myMenu60.width = 256;
+
+myMenu55.add(new WebFXMenuItem("Cable", null, "", myMenu60 ));
 var myMenu61 = new WebFXMenu;
 myMenu61.emptyText = '';
-myMenu61.add(new WebFXMenuItem("Rate plans", "http://localhost/freeside/browse/rate.cgi", "Manage rate plans" ));
-myMenu61.add(new WebFXMenuItem("Regions and prefixes", "http://localhost/freeside/browse/rate_region.html", "Manage regions and prefixes" ));
-myMenu61.add(new WebFXMenuItem("Usage classes", "http://localhost/freeside/browse/usage_class.html", "Usage classes define groups of usage for taxation." ));
-myMenu61.add(new WebFXMenuItem("Time periods", "http://localhost/freeside/browse/rate_time.html", "Time periods define days and hours for rate plans" ));
-myMenu61.add(new WebFXMenuItem("Edit rates with Excel", "http://localhost/freeside/misc/rate_edit_excel.html", "Download and edit rates with Excel, then upload changes." ));
-myMenu61.add(new WebFXMenuSeparator());
-myMenu61.add(new WebFXMenuItem("Tiering plans", "http://localhost/freeside/browse/rate_tier.html", "Rating tiers" ));
+myMenu61.add(new WebFXMenuItem("Conferencing types", "http://localhost/freeside/browse/conferencing_type.html", "" ));
+myMenu61.add(new WebFXMenuItem("Quality levels", "http://localhost/freeside/browse/conferencing_quality.html", "" ));
 myMenu61.width = 256;
 
-myMenu60.add(new WebFXMenuItem("Call rates and regions", null, "Manage rate plans, regions and prefixes for VoIP and call billing", myMenu61 ));
-myMenu60.add(new WebFXMenuItem("Locales and tax rates", "http://localhost/freeside/browse/cust_main_county.cgi", "Change tax rates, or break down a country into states, or a state into counties and assign different tax rates to each" ));
-myMenu60.add(new WebFXMenuItem("Tax classes", "http://localhost/freeside/browse/part_pkg_taxclass.html", "Tax classes" ));
-myMenu60.add(new WebFXMenuItem("Credit reasons", "http://localhost/freeside/browse/reason.html?class=R", "Credit reasons explain why a credit was issued." ));
-myMenu60.add(new WebFXMenuItem("Credit reason types", "http://localhost/freeside/browse/reason_type.html?class=R", "Credit reason types define groups of reasons." ));
-myMenu60.width = 256;
-
-myMenu45.add(new WebFXMenuItem("Billing", null, "", myMenu60 ));
-myMenu45.add(new WebFXMenuSeparator());
+myMenu55.add(new WebFXMenuItem("Conferencing", null, "", myMenu61 ));
 var myMenu62 = new WebFXMenu;
 myMenu62.emptyText = '';
-myMenu62.add(new WebFXMenuItem("Message templates", "http://localhost/freeside/browse/msg_template.html", "Templates for customer notices" ));
-myMenu62.add(new WebFXMenuItem("Advertising sources", "http://localhost/freeside/browse/part_referral.html", "Where a customer heard about your service." ));
-myMenu62.add(new WebFXMenuItem("Custom fields", "http://localhost/freeside/browse/part_virtual_field.html", "Locally defined fields" ));
-myMenu62.add(new WebFXMenuItem("Translation strings", "http://localhost/freeside/browse/msgcat.html", "Translations and other customizable labels for each locale" ));
-myMenu62.add(new WebFXMenuItem("Inventory classes and inventory", "http://localhost/freeside/browse/inventory_class.html", "Setup inventory classes and stock inventory" ));
-myMenu62.add(new WebFXMenuItem("Upload targets", "http://localhost/freeside/browse/upload_target.html", "Billing and payment upload destinations" ));
+myMenu62.add(new WebFXMenuItem("Alarm system vendors", "http://localhost/freeside/browse/alarm_system.html", "" ));
+myMenu62.add(new WebFXMenuItem("Alarm system types", "http://localhost/freeside/browse/alarm_type.html", "" ));
+myMenu62.add(new WebFXMenuItem("Alarm central stations", "http://localhost/freeside/browse/alarm_station.html", "" ));
 myMenu62.width = 256;
 
-myMenu45.add(new WebFXMenuItem("Miscellaneous", null, "", myMenu62 ));
-myMenu45.width = 256;
+myMenu55.add(new WebFXMenuItem("Alarm", null, "", myMenu62 ));
+var myMenu63 = new WebFXMenu;
+myMenu63.emptyText = '';
+myMenu63.add(new WebFXMenuItem("Circuit types", "http://localhost/freeside/browse/circuit_type.html", "" ));
+myMenu63.add(new WebFXMenuItem("Circuit providers", "http://localhost/freeside/browse/circuit_provider.html", "" ));
+myMenu63.add(new WebFXMenuItem("Termination types", "http://localhost/freeside/browse/circuit_termination.html", "" ));
+myMenu63.width = 256;
 
-          myBar.add(new WebFXMenuButton('Configuration', null, 'Configuration and setup', myMenu45 ));
+myMenu55.add(new WebFXMenuItem("Circuits", null, "", myMenu63 ));
+myMenu55.add(new WebFXMenuItem("Hardware types", "http://localhost/freeside/browse/hardware_class.html", "Set up hardware type catalog" ));
+myMenu55.width = 256;
 
+myMenu48.add(new WebFXMenuItem("Services", null, "", myMenu55 ));
+myMenu48.add(new WebFXMenuSeparator());
+var myMenu64 = new WebFXMenu;
+myMenu64.emptyText = '';
+myMenu64.add(new WebFXMenuItem("Vendor classes", "http://localhost/freeside/browse/vend_class.html", "" ));
+myMenu64.add(new WebFXMenuItem("Vendors", "http://localhost/freeside/browse/vend_main.html", "" ));
+myMenu64.width = 256;
+
+myMenu48.add(new WebFXMenuItem("Vendors", null, "", myMenu64 ));
+myMenu48.add(new WebFXMenuSeparator());
+var myMenu65 = new WebFXMenu;
+myMenu65.emptyText = '';
+myMenu65.add(new WebFXMenuItem("Billing events", "http://localhost/freeside/browse/part_event.html", "Billing actions for customers, invoices and packages" ));
+myMenu65.add(new WebFXMenuItem("Invoice configurations", "http://localhost/freeside/browse/invoice_conf.html", "Adjust invoice settings for special-purpose notices" ));
+myMenu65.add(new WebFXMenuItem("Invoice templates", "http://localhost/freeside/browse/invoice_template.html", "Edit templates for HTML, plaintext and typeset invoices" ));
+myMenu65.add(new WebFXMenuSeparator());
+myMenu65.add(new WebFXMenuItem("Prepaid cards", "http://localhost/freeside/search/prepay_credit.html", "View outstanding cards, generate new cards" ));
+var myMenu66 = new WebFXMenu;
+myMenu66.emptyText = '';
+myMenu66.add(new WebFXMenuItem("Rate plans", "http://localhost/freeside/browse/rate.cgi", "Manage rate plans" ));
+myMenu66.add(new WebFXMenuItem("Regions and prefixes", "http://localhost/freeside/browse/rate_region.html", "Manage regions and prefixes" ));
+myMenu66.add(new WebFXMenuItem("Usage classes", "http://localhost/freeside/browse/usage_class.html", "Usage classes define groups of usage for taxation." ));
+myMenu66.add(new WebFXMenuItem("Time periods", "http://localhost/freeside/browse/rate_time.html", "Time periods define days and hours for rate plans" ));
+myMenu66.add(new WebFXMenuItem("Edit rates with Excel", "http://localhost/freeside/misc/rate_edit_excel.html", "Download and edit rates with Excel, then upload changes." ));
+myMenu66.add(new WebFXMenuSeparator());
+myMenu66.add(new WebFXMenuItem("Tiering plans", "http://localhost/freeside/browse/rate_tier.html", "Rating tiers" ));
+myMenu66.width = 256;
+
+myMenu65.add(new WebFXMenuItem("Call rates and regions", null, "Manage rate plans, regions and prefixes for VoIP and call billing", myMenu66 ));
+myMenu65.add(new WebFXMenuSeparator());
+myMenu65.add(new WebFXMenuItem("Locales and tax rates", "http://localhost/freeside/browse/cust_main_county.cgi", "Change tax rates, or break down a country into states, or a state into counties and assign different tax rates to each" ));
+myMenu65.add(new WebFXMenuItem("Tax classes", "http://localhost/freeside/browse/part_pkg_taxclass.html", "Tax classes" ));
+myMenu65.add(new WebFXMenuSeparator());
+myMenu65.add(new WebFXMenuItem("Credit reasons", "http://localhost/freeside/browse/reason.html?class=R", "Credit reasons explain why a credit was issued." ));
+myMenu65.add(new WebFXMenuItem("Credit reason types", "http://localhost/freeside/browse/reason_type.html?class=R", "Credit reason types define groups of reasons." ));
+myMenu65.add(new WebFXMenuSeparator());
+myMenu65.add(new WebFXMenuItem("Refund reasons", "http://localhost/freeside/browse/reason.html?class=F", "Refund reasons explain why a refund was issued." ));
+myMenu65.add(new WebFXMenuItem("Refund reason types", "http://localhost/freeside/browse/reason_type.html?class=F", "Refund reason types define groups of reasons." ));
+myMenu65.width = 256;
+
+myMenu48.add(new WebFXMenuItem("Billing", null, "", myMenu65 ));
+myMenu48.add(new WebFXMenuSeparator());
+var myMenu67 = new WebFXMenu;
+myMenu67.emptyText = '';
+myMenu67.add(new WebFXMenuItem("Message templates", "http://localhost/freeside/browse/msg_template.html", "Templates for customer notices" ));
+myMenu67.add(new WebFXMenuItem("Advertising sources", "http://localhost/freeside/browse/part_referral.html", "Where a customer heard about your service." ));
+myMenu67.add(new WebFXMenuItem("Custom fields", "http://localhost/freeside/browse/part_virtual_field.html", "Locally defined fields" ));
+myMenu67.add(new WebFXMenuItem("Translation strings", "http://localhost/freeside/browse/msgcat.html", "Translations and other customizable labels for each locale" ));
+myMenu67.add(new WebFXMenuItem("Inventory classes and inventory", "http://localhost/freeside/browse/inventory_class.html", "Setup inventory classes and stock inventory" ));
+myMenu67.add(new WebFXMenuItem("Upload targets", "http://localhost/freeside/browse/upload_target.html", "Billing and payment upload destinations" ));
+myMenu67.width = 256;
+
+myMenu48.add(new WebFXMenuItem("Miscellaneous", null, "", myMenu67 ));
+myMenu48.width = 256;
+
+          myBar.add(new WebFXMenuButton('Configuration', null, 'Configuration and setup', myMenu48 ));
 
-          var myMenu63 = new WebFXMenu;
-myMenu63.emptyText = '';
-myMenu63.add(new WebFXMenuItem("Billing documentation", "http://www.freeside.biz/mediawiki/index.php/Freeside:3:Documentation", "Freeside documentation" ));
-myMenu63.add(new WebFXMenuItem("Ticketing documentation", "http://wiki.bestpractical.com/", "Request Tracker Wiki" ));
-myMenu63.add(new WebFXMenuSeparator());
-myMenu63.add(new WebFXMenuItem("About Freeside v3.8git", "javascript:about_freeside()", "" ));
-myMenu63.add(new WebFXMenuItem("About RT v4.0.23", "http://www.bestpractical.com/rt", "Request Tracker Homepage" ));
-myMenu63.width = 256;
 
-          myBar.add(new WebFXMenuButton('Help', null, '', myMenu63 ));
+          var myMenu68 = new WebFXMenu;
+myMenu68.emptyText = '';
+myMenu68.add(new WebFXMenuItem("Billing documentation", "http://www.freeside.biz/mediawiki/index.php/Freeside:4:Documentation", "Freeside documentation" ));
+myMenu68.add(new WebFXMenuItem("Ticketing documentation", "http://wiki.bestpractical.com/", "Request Tracker Wiki" ));
+myMenu68.add(new WebFXMenuSeparator());
+myMenu68.add(new WebFXMenuItem("About Freeside v5.0git", "javascript:about_freeside()", "" ));
+myMenu68.add(new WebFXMenuItem("About RT v4.2.11", "http://www.bestpractical.com/rt", "Request Tracker Homepage" ));
+myMenu68.width = 256;
+
+          myBar.add(new WebFXMenuButton('Help', null, '', myMenu68 ));
 
 
   myBar.show( null, 'vertical' );
@@ -611,6 +651,9 @@ myMenu63.width = 256;
 
 
 
+      <link rel="stylesheet" href="http://localhost/freeside/elements/jquery-ui.min.css">
+      <SCRIPT SRC="http://localhost/freeside/elements/jquery.js"></SCRIPT>
+      <SCRIPT SRC="http://localhost/freeside/elements/jquery-ui.min.js"></SCRIPT>
       <SCRIPT TYPE="text/javascript" SRC="http://localhost/freeside/elements/overlibmws.js"></SCRIPT>
   <SCRIPT TYPE="text/javascript" SRC="http://localhost/freeside/elements/overlibmws_iframe.js"></SCRIPT>
   <SCRIPT TYPE="text/javascript" SRC="http://localhost/freeside/elements/overlibmws_draggable.js"></SCRIPT>
@@ -641,43 +684,6 @@ myMenu63.width = 256;
 
 </SCRIPT>
 
-    <SCRIPT TYPE="text/javascript">
-
-  function logout() {
-    // count args; build URL
-    var url = "http://localhost/freeside/loginout/logout.html";
-
-    var xmlhttp = rs_init_object();
-    xmlhttp.open("GET", url, false, "magic", "notyet");
-    xmlhttp.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
-    xmlhttp.send(null);
-
-    if (xmlhttp.readyState != 4) {
-      alert("Logout failed: readyState is " + xmlhttp.readyState);
-      return;
-    }
-
-    if (xmlhttp.status != 200) {
-      alert("Logout failed: status is " + xmlhttp.status);
-    } else {
-      var data = xmlhttp.responseText;
-      // alert('received response: ' + data);
-      if ( data.indexOf("<b>System error</b>") > -1 ) {
-        var w;
-        if ( w = window.open("about:blank") ) {
-          w.document.write(data);
-        } else {
-          // popup blocking?  should use an overlib popup instead 
-          alert("Error popup disabled; try disabling popup blocking to see");
-        }
-      } else {
-        window.location = "http://localhost/freeside/loginout/logout.html";
-      }
-    }
-  }
-
-</SCRIPT>
-
 
     
 
@@ -687,9 +693,9 @@ myMenu63.width = 256;
       <tr>
         <td BGCOLOR="#ffffff"><IMG BORDER=0 ALT="freeside" HEIGHT="36" SRC="http://localhost/freeside/view/REAL_logo.cgi"></td>
         <td align=left BGCOLOR="#ffffff"> <!-- valign="top" -->
-          <font size=6>Freeside Test 3.8.1</font>
+          <font size=6>Freeside Test 5.0.1</font>
         </td>
-        <td align=right valign=top BGCOLOR="#ffffff"><FONT SIZE="-1">Logged in as <b>test&nbsp;</b> <FONT SIZE="-2"><a href="javascript:void(0);" onClick="logout();">logout</a></FONT><br></FONT><FONT SIZE="-2"><a href="http://localhost/freeside/pref/pref.html" STYLE="color: #000000">Preferences</a>
+        <td align=right valign=top BGCOLOR="#ffffff"><FONT SIZE="-1">Logged in as <b>test&nbsp;</b> <FONT SIZE="-2"><a href="http://localhost/freeside/loginout/logout.html">logout</a></FONT><br></FONT><FONT SIZE="-2"><a href="http://localhost/freeside/pref/pref.html" STYLE="color: #000000">Preferences</a>
           <BR></FONT>
         </td>
       </tr>
@@ -703,7 +709,7 @@ myMenu63.width = 256;
       <TR CLASS="fsmenubar">
 
 
-        <TD COLSPAN="7" WIDTH="100%" STYLE="padding:1px 0px 0px 0px;border-top: 1px solid #7e0079" BGCOLOR="#cccccc">
+        <TD COLSPAN="7" WIDTH="100%" STYLE="padding:1px 0px 0px 0px;border-top: 1px solid #7e0079" BGCOLOR="#dddddd">
           <SCRIPT TYPE="text/javascript">
             document.write(myBar);
           </SCRIPT>
@@ -713,7 +719,7 @@ myMenu63.width = 256;
 
       <TR CLASS="fssearchbar">
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="right" STYLE="padding-left:2px">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="right" STYLE="padding-left:2px">
           
   <FORM ACTION="http://localhost/freeside/search/prospect_main.html" METHOD="GET" STYLE="margin:0">
     <INPUT NAME="search_prospect" TYPE="text" VALUE="(name, company or phone)" STYLE="width:155px" onFocus="clearhint_search_prospect(this);" onClick="clearhint_search_prospect(this);" CLASS="fstext"><BR>
@@ -734,7 +740,7 @@ myMenu63.width = 256;
 
         </TD>
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="right" STYLE="padding-left:2px">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="right" STYLE="padding-left:2px">
           
   <FORM ACTION="http://localhost/freeside/search/cust_main.cgi" METHOD="POST" STYLE="margin:0">
     <INPUT NAME="search_cust" TYPE="text" VALUE="(cust #, name, company or contact phone)" STYLE="width:246px" onFocus="clearhint_search_cust(this);" onClick="clearhint_search_cust(this);" CLASS="fstext"><BR>
@@ -755,7 +761,7 @@ myMenu63.width = 256;
 
         </TD>
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="center">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="center">
           
 <SCRIPT TYPE="text/javascript">
 
@@ -768,7 +774,7 @@ myMenu63.width = 256;
 
         </TD>
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="right">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="right">
           
   <FORM ACTION="http://localhost/freeside/search/cust_bill.html" METHOD="GET" STYLE="margin:0;display:inline">
     <INPUT NAME="invnum" TYPE="text" VALUE="(inv #)" STYLE="width:56px" onFocus="clearhint_search_invoice(this);" onClick="clearhint_search_invoice(this);" CLASS="fstext">
@@ -789,7 +795,7 @@ myMenu63.width = 256;
 
         </TD>
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="right" STYLE="padding-left:2px">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="right" STYLE="padding-left:2px">
           
   <FORM ACTION="http://localhost/freeside/search/cust_svc.html" METHOD="GET" STYLE="margin:0">
     <INPUT NAME="search_svc" TYPE="text" VALUE="(user, email, ip, mac, domain or service phone)" STYLE="width:271px" onFocus="clearhint_search_svc(this);" onClick="clearhint_search_svc(this);" CLASS="fstext"><BR>
@@ -810,7 +816,7 @@ myMenu63.width = 256;
 
         </TD>
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="right" STYLE="padding-left:2px;padding-right:2px">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="right" STYLE="padding-left:2px;padding-right:2px">
           
   <FORM ACTION="http://localhost/freeside//rt/index.html" METHOD="GET" STYLE="margin:0">
     <INPUT NAME="q" TYPE="text" VALUE="(ticket #, subject, email or fulltext:text)" STYLE="width:223px" onFocus="clearhint_search_ticket(this);" onClick="clearhint_search_ticket(this);" CLASS="fstext"><BR>
@@ -840,563 +846,831 @@ myMenu63.width = 256;
 
       <TR HEIGHT="100%">
 
+    <BR>
         <TD CLASS="background" HEIGHT="100%" VALIGN="top"> <!-- WIDTH="100%"> -->
 
-          <FONT SIZE=6>
-            Customer: Olson Inc (Towne, Samara)
-          </FONT>
+          <H1>
+            Internal Customer #135: Olson Inc (Towne, Samara) (<B><FONT COLOR="#00CC00">Active</FONT></B>)
+          </H1>
 
 
           
 
-<BR>
-
-
-   <DIV CLASS="fstabs">
-   <A HREF="http://localhost/freeside/view/cust_main.cgi?custnum=135;show=basics"  CLASS="fstabselected" >Basics</A><A HREF="http://localhost/freeside/view/cust_main.cgi?custnum=135;show=notes"  CLASS="fstab" >Notes</A><A HREF="http://localhost/freeside/view/cust_main.cgi?custnum=135;show=tickets"  CLASS="fstab" >Tickets</A><A HREF="http://localhost/freeside/view/cust_main.cgi?custnum=135;show=appointments"  CLASS="fstab" >Appointments</A><A HREF="http://localhost/freeside/view/cust_main.cgi?custnum=135;show=quotations"  CLASS="fstab" >Quotations</A><A HREF="http://localhost/freeside/view/cust_main.cgi?custnum=135;show=packages"  CLASS="fstab" >Packages</A><A HREF="http://localhost/freeside/view/cust_main.cgi?custnum=135;show=payment_history"  CLASS="fstab" >Payment History</A><A HREF="http://localhost/freeside/view/cust_main.cgi?custnum=135;show=change_history"  CLASS="fstab" >Change History</A><A HREF="http://localhost/freeside/view/cust_main.cgi?custnum=135;show=jumbo"  CLASS="fstab" >Jumbo</A>
-   </DIV>
-
-
-<DIV CLASS="fstabcontainer">
 
 
+<style type="text/css">
 
-<SCRIPT TYPE="text/javascript">
-function areyousure(href, message) {
-  if (confirm(message) == true)
-    window.location.href = href;
+#customer_menu {
+  font-size: smaller;
+  border: none;
+  margin-top: .6em;
+  margin-bottom: 16px;
 }
-</SCRIPT>
-
-
 
+#customer_menu li {
+  float: left;
+  padding: .25em;
+}
 
-  <A HREF="http://localhost/freeside/edit/cust_main.cgi?135">Edit this customer</A> | 
+/* #customer_menu .ui-menu-item  */
+#customer_menu > li {
+  background-color: #f8f8f8;
+  padding-left: 0px;
+}
 
-  <A HREF="javascript:void(0);"
-   onClick="overlib( OLiframeContent('http://localhost/freeside/misc/suspend_cust.html?custnum=135', 768, 450, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Confirm Suspension', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#ff9900', CGCOLOR, '#ff9900', CLOSETEXT, 'Close'); return false;"
-   
-   
-   
->Suspend&nbsp;this&nbsp;customer</A> | 
+/* #customer_menu .ui-menu-item  */
+#customer_menu > li.ui-state-focus {
+  background-color: #f8f8f8;
+  border: 1px solid transparent;
+}
 
+#customer_menu > li.ui-state-active {
+  background-color: #f8f8f8;
+  border: 1px solid transparent;
+}
 
-  <A HREF="javascript:void(0);"
-   onClick="overlib( OLiframeContent('http://localhost/freeside/misc/cancel_cust.html?custnum=135', 616, 410, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Confirm Cancellation', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#ff0000', CGCOLOR, '#ff0000', CLOSETEXT, 'Close'); return false;"
-   
-   
-   
->Cancel&nbsp;this&nbsp;customer</A> | 
+#customer_menu > li > a {
+  border-top: 1px solid transparent;
+  border-left: 1px solid transparent;
+  border-right: 1px solid transparent;
+  border-bottom: none;
+  padding: .5em .75em;
+}
 
-  <A HREF="javascript:void(0);"
-   onClick="overlib( OLiframeContent('http://localhost/freeside/misc/merge_cust.html?custnum=135', 569, 210, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Merge customer', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', CLOSETEXT, 'Close'); return false;"
-   
-   
-   
->Merge&nbsp;this&nbsp;customer</A> | 
+#customer_menu > li.ui-state-active > a {
 
+/* if i could find something light enough that didn't look pink?
+     or is this too visually distracting and not the useful hint i think it is?
+  background: #ED55E7;
+*/
+}
 
-  <A HREF="http://localhost/freeside/edit/cust_main.cgi?referral_custnum=135">Refer a new customer</A> | 
-  <A HREF="http://localhost/freeside/search/cust_main.cgi?referral_custnum=135">View this customer&#39;s referrals</A>
+#customer_menu a.current_show {
+  font-weight: bold;
+  background: #FFFFFF;
+  border-top: 1px solid #7e0079;
+  border-left: 1px solid #7e0079;
+  border-right: 1px solid #7e0079;
+  border-bottom: 2px solid #ffffff;
+  margin-bottom: -2px;
+  border-bottom-left-radius: 2px;
+  border-bottom-right-radius: 2px;
+}
 
-<BR><BR>
+#customer_menu a {
+  margin-left: 0;
+  margin-right: 1em;
+  margin-top: 0;
+  border-top-left-radius: .5em;
+  border-top-right-radius: .5em;
+
+  font-weight: normal;
+  background: #e0e0e0;
+  color: #525151;
+  white-space: nowrap;
+  text-decoration: none;
+}
 
-  <A HREF="http://localhost/freeside/search/cust_event.html?custnum=135">View billing events for this customer</A>
+#customer_menu ul {
+  background: #ffffff;
+  border: 1px solid #7e0079;
+  border-radius: 2px;
+  box-shadow: #333333 1px 1px 2px;
+}
 
+#customer_menu ul li {
+  float: none;
+  margin-right: 2px;
+  margin-left: 2px;
+}
 
+#customer_menu ul a {
+  color: #333333;
+  background: transparent;
+}
 
+#customer_menu li.ui-menu-divider {
+  border-color: #7e0079;
+/*  margin-right: 2px;
+  margin-left: 2px; */
+}
 
-  <BR><BR>
+#customer_menu a:hover {
+  text-decoration: underline;
+  color: #7e0079;
+}
 
+#customer_menu ul li.ui-state-focus {
+  background: transparent;
+  border: 1px solid transparent;
+  margin-right: 1px;
+  margin-left: 1px;
+}
 
-<A NAME="cust_main"></A>
-<TABLE BORDER=0>
-<TR>
-  <TD VALIGN="top">
-    
-<FONT CLASS="fsinnerbox-title">Billing address
-</FONT>
-<TABLE CLASS="fsinnerbox">
+#customer_menu ul li.ui-state-active {
+  background: #f8f0fc;
+  border: 1px solid #7e0079;
+  border-radius: 2px;
+  margin-right: 1px;
+  margin-left: 1px;
+}
 
-  <TR>
-    <TD ALIGN="right">Contact name</TD>
-    <TD COLSPAN=5 BGCOLOR="#ffffff">Towne, Samara</TD>
-  </TR>
-  <TR>
-    <TD ALIGN="right">Company</TD>
-    <TD COLSPAN=7 BGCOLOR="#ffffff">Olson Inc</TD>
-  </TR>
+#customer_menu a .arrow {
+  float: right;
+  background-image: url("http://localhost/freeside/images/arrow.right.black.png");
+  width: 3px;
+  height: 6px;
+  margin-top:4px;
+}
 
+@-moz-document url-prefix() {
+  #customer_menu a .arrow {
+    margin-top:-.8em;
+  }
+}
 
-<TR>
-  <TD ALIGN="right">Address</TD>
-  <TD COLSPAN=7 BGCOLOR="#ffffff">46706 Kadin Hill #780</TD>
-</TR>
+</style>
 
+<FORM NAME='quickcharge' STYLE="margin:0; padding:0; display:inline">
+    <INPUT NAME="taxproductnum" ID="taxproductnum" TYPE="hidden">
+    <INPUT NAME="tax_override" ID="tax_override" TYPE="hidden">
+    <INPUT NAME="charge_storage" ID="charge_storage" TYPE="hidden">
+    <INPUT NAME="taxproductnum_description" ID="taxproductnum_description" TYPE="hidden">
+</FORM>
 
-<TR>
-  <TD ALIGN="right"> </TD>
-  <TD COLSPAN=7 BGCOLOR="#ffffff">Trailer W 2-E</TD>
-</TR>
 
+<ul id="customer_menu">
+  <li>
+     <A HREF="http://localhost/freeside/view/cust_main.cgi?custnum=135;show=basics" class="current_show">Basics</A> 
+      <ul class="customer_submenu">
+        <li> <A HREF="http://localhost/freeside/edit/cust_main.cgi?135">Edit customer</A> </li>
+        <li> <A HREF="http://localhost/freeside/edit/cust_main-contacts.html?135">Edit contacts</A> </li>
+        <li>-</li>
+        <li><FORM NAME="bill0000135" STYLE="display:inline">
 
-<TR>
-  <TD ALIGN="right">City</TD>
-  <TD BGCOLOR="#ffffff">Owensboro</TD>
-  <TD ALIGN="right">State</TD>
-  <TD BGCOLOR="#ffffff">KS</TD>
-  <TD ALIGN="right">Zip</TD>
-  <TD BGCOLOR="#ffffff">69113</TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Country</TD>
-  <TD BGCOLOR="#ffffff">United States</TD>
-</TR>
 
-  <TR>
-  <TD ALIGN="right">Latitude</TD>
-  <TD COLSPAN=5>
-    <FONT STYLE="background-color: #ffffff; border: 1px solid #ffffff">38.5000000</FONT>
-    &nbsp;Longitude
-    <FONT STYLE="background-color: #ffffff; border: 1px solid #ffffff">-121.5000000</FONT>
-    
+<SCRIPT TYPE="text/javascript">
 
-<A HREF="javascript:void(0);"
-   onClick="overlib( OLiframeContent('http://localhost/freeside/view/map.html?name=Olson%20Inc;lat=38.5000000;lon=-121.5000000', 763, 575, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Olson Inc', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', CLOSETEXT, 'Close'); return false;"
-   
-   
-   
->map</A>
 
-  <A HREF="javascript:void(0);"
-   onClick="overlib( OLiframeContent('http://localhost/freeside/view/directions.html?origin=1234%20Example%20Lane%2CExampleton%2C%20CA%20%2054321;name=Olson%20Inc;lat=38.5000000;lon=-121.5000000', 763, 575, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Olson Inc', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', CLOSETEXT, 'Close'); return false;"
-   
-   
-   
->directions</A>
+    function bill0000135start_job() {
+        // count args; build URL
+        var url = "http://localhost/freeside/misc/bill.cgi";
+        var a = bill0000135start_job.arguments;
 
-<A HREF="http://localhost/freeside/view/kml.cgi?name=Olson%20Inc;lat=38.5000000;lon=-121.5000000">earth</A>
+        var args;
+        var len;
+        var content = 'sub=start_job';
+        if ( a && typeof a  == 'object'  && a[0].constructor == Array ) {
+            args = a[0];
+            len = args.length
+        } else {
+            args = a;
+            len = args.length - 1;
+        }
+        for (var i = 0; i < len; i++) 
+            content = content + "&arg=" + escape(args[i]);
+        content = content.replace( /[+]/g, '%2B'); // fix unescaped plus signs 
 
+        if ( 'POST' == 'GET' ) {
+          url = url + content;
+        }
 
-  </TD>
-</TR>
+        //alert('POST ' + url);
 
+        var xmlhttp = rs_init_object();
+        xmlhttp.open("POST", url, true);
 
-  
-<TR>
-  <TD ALIGN="right">Day Phone</TD>
-  <TD COLSPAN=3 BGCOLOR="#ffffff">
-    
+        xmlhttp.onreadystatechange = function() {
+            if (xmlhttp.readyState != 4) 
+               return;
 
+            if (xmlhttp.status != 200) {
+              if ( xmlhttp.status != 0 ) {
+                //not warning on the 0 errors, they pop up when navagating away
+                // from the page
+                alert(xmlhttp.status + " status connecting to " + url);
+              }
+            } else {
+              var data = xmlhttp.responseText;
+              //alert('received response: ' + data);
+              if ( data.indexOf("<b>System error</b>") > -1 ) {
+                // trim this a little
+                var end = data.indexOf('<a href="#raw">') - 1;
+                data = data.substring(0, end);
 
-    297-868-7684 x427
+                overlib(data,
+                  WIDTH, 480, MIDX, 0, MIDY, 0,
+                  CAPTION, 'Error', STICKY, AUTOSTATUSCAP, DRAGGABLE,
+                  CLOSECLICK, BGCOLOR, '#f00', CGCOLOR, '#f00'
+                );
+                //var w;
+                //if ( w = window.open("about:blank") ) {
+                //  w.document.write(data);
+                //} else {
+                //  // popup blocking?  should use an overlib popup instead 
+                //  alert("Error popup disabled; try disabling popup blocking to see");
+                //}
+              } else {
+                // invoke the callback
+                a[a.length-1](data);
+              }
+            }
+        }
 
+        if ( 'POST' == 'POST' ) {
 
-  </TD>
-</TR>
+          xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
+          xmlhttp.send(content);
 
-<TR>
-  <TD ALIGN="right">Night Phone</TD>
-  <TD COLSPAN=3 BGCOLOR="#ffffff">
-    
+        } else {
 
+          xmlhttp.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
+          xmlhttp.send(null);
 
-    538-045-0820
+        }
 
+        //rs_debug("x_$func_name url = " + url);
+        //rs_debug("x_$func_name waiting..");
+    }
 
-  </TD>
-</TR>
 
-</TABLE>
-<BR>
-<FONT CLASS="fsinnerbox-title">Service address
- (same as billing)
-</FONT>
-<TABLE CLASS="fsinnerbox">
+</SCRIPT>
 
 
 
-<TR>
-  <TD ALIGN="right">Address</TD>
-  <TD COLSPAN=7 BGCOLOR="#ffffff">46706 Kadin Hill #780</TD>
-</TR>
 
+<SCRIPT TYPE="text/javascript">
 
-<TR>
-  <TD ALIGN="right"> </TD>
-  <TD COLSPAN=7 BGCOLOR="#ffffff">Trailer W 2-E</TD>
-</TR>
+function bill0000135process () {
 
+  //alert('bill0000135process for form bill0000135');
 
-<TR>
-  <TD ALIGN="right">City</TD>
-  <TD BGCOLOR="#ffffff">Owensboro</TD>
-  <TD ALIGN="right">State</TD>
-  <TD BGCOLOR="#ffffff">KS</TD>
-  <TD ALIGN="right">Zip</TD>
-  <TD BGCOLOR="#ffffff">69113</TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Country</TD>
-  <TD BGCOLOR="#ffffff">United States</TD>
-</TR>
+  if ( document.bill0000135.submit.disabled == false ) {
+    document.bill0000135.submit.disabled=true;
+  }
 
-  <TR>
-  <TD ALIGN="right">Latitude</TD>
-  <TD COLSPAN=5>
-    <FONT STYLE="background-color: #ffffff; border: 1px solid #ffffff">38.5000000</FONT>
-    &nbsp;Longitude
-    <FONT STYLE="background-color: #ffffff; border: 1px solid #ffffff">-121.5000000</FONT>
-    
+  overlib( 'Submitting job to server...', WIDTH, 444, HEIGHT, 168, CAPTION, 'Please wait...', STICKY, AUTOSTATUSCAP, CLOSETEXT, '', CLOSECLICK, MIDX, 0, MIDY, 0 );
 
-<A HREF="javascript:void(0);"
-   onClick="overlib( OLiframeContent('http://localhost/freeside/view/map.html?name=Olson%20Inc;lat=38.5000000;lon=-121.5000000', 763, 575, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Olson Inc', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', CLOSETEXT, 'Close'); return false;"
+  var Hash = new Array();
+  var x = 0;
+  var fieldName;
+  for (var i = 0; i<document.bill0000135.elements.length; i++) {
+    field  = document.bill0000135.elements[i];
+    if ( (field.name.indexOf('custnum') > -1)
+       )
+    {
+        if ( field.type == 'select-multiple' ) {
+          //alert('select-multiple ' + field.name);
+          for (var j=0; j < field.options.length; j++) {
+            if ( field.options[j].selected ) {
+              //alert(field.name + ' => ' + field.options[j].value);
+              Hash[x++] = field.name;
+              Hash[x++] = field.options[j].value;
+            }
+          }
+        } else if (    ( field.type != 'radio'  && field.type != 'checkbox' )
+                    || ( ( field.type == 'radio' || field.type == 'checkbox' )
+                         && document.bill0000135.elements[i].checked
+                       )
+                  )
+        {
+          Hash[x++] = field.name;
+          Hash[x++] = field.value;
+        }
+    }
+  }
+
+  // jsrsPOST = true;
+  // jsrsExecute( 'http://localhost/freeside/misc/bill.cgi', bill0000135myCallback, 'start_job', Hash );
+
+  //alert('start_job( ' + Hash + ', bill0000135myCallback )' );
+  //alert('start_job()' );
+  bill0000135start_job( Hash, bill0000135myCallback );
+
+}
+
+function bill0000135myCallback( jobnum ) {
+
+  var url = 'http://localhost/freeside/elements/progress-popup.html?jobnum=_JOBNUM_&formname=bill0000135&url=http%3A%2F%2Flocalhost%2Ffreeside%2Fview%2Fcust_main.cgi%3Fcustnum%3D135%3Bshow%3Dbasics';
+  url = url.replace('_JOBNUM_', jobnum);
+  overlib( OLiframeContent(url, 444, 168, 'popup-0000000000-0000-000000000.000000'), CAPTION, 'Please wait...', STICKY, AUTOSTATUSCAP, CLOSETEXT, '', CLOSECLICK, MIDX, 0, MIDY, 0 );
+
+}
+
+</SCRIPT>
+
+
+<A HREF="javascript:void(0);" onclick="javascript:bill0000135process();">Bill now</A>
+<INPUT TYPE="hidden" NAME="custnum" VALUE="135">
+</FORM>
+</li>
+        <li><A HREF="javascript:void(0);"
+   onClick="overlib( OLiframeContent('http://localhost/freeside/misc/suspend_cust.html?custnum=135', 616, 410, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Confirm Suspension', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#ff9900', CGCOLOR, '#ff9900', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); return false;"
    
    
    
->map</A>
+>Suspend</A></li>
+        <li><A HREF="javascript:void(0);"
+   onClick="overlib( OLiframeContent('http://localhost/freeside/misc/cancel_cust.html?custnum=135', 616, 410, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Confirm Cancellation', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#ff0000', CGCOLOR, '#ff0000', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); return false;"
+   
+   
+   
+>Cancel</A></li>
+        <li><A HREF="javascript:void(0);"
+   onClick="overlib( OLiframeContent('http://localhost/freeside/misc/merge_cust.html?custnum=135', 569, 210, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Merge customer', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); return false;"
+   
+   
+   
+>Merge</A></li>
+        <li> <A HREF="http://localhost/freeside/edit/cust_main.cgi?referral_custnum=135">Refer a new customer</A> </li>
+        <li>-</li>
+        <li> <A HREF="http://localhost/freeside/search/cust_event.html?custnum=135">View billing events</A> </li>
+      </ul>
+  </li>
+  <li>
+     <A HREF="http://localhost/freeside/view/cust_main.cgi?custnum=135;show=notes">Notes</A> 
+      <ul class="customer_submenu">
+        <li><A HREF="javascript:void(0);"
+   onClick="overlib( OLiframeContent('http://localhost/freeside/edit/cust_main_note.cgi?custnum=135', 875, 538, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Add note', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); return false;"
+   
+   
+   
+>Add&nbsp;note</A></li>
+        <li><A HREF="javascript:void(0);"
+   onClick="overlib( OLiframeContent('http://localhost/freeside/edit/cust_main_attach.cgi?custnum=135', 480, 296, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Upload file', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); return false;"
+   
+   
+   
+>Attach&nbsp;file</A></li>
+      </ul>
+  </li>
+  <li>
+     <A HREF="http://localhost/freeside/view/cust_main.cgi?custnum=135;show=tickets">Tickets</A> 
+  </li>
+  <li>
+     <A HREF="http://localhost/freeside/view/cust_main.cgi?custnum=135;show=appointments">Appointments</A> 
+      <ul class="customer_submenu">
+        <li><A HREF="javascript:void(0);"
+   onClick="overlib( OLiframeContent('http://localhost/freeside/elements/make_appointment.html?custnum=135', 616, 410, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Schedule appointment', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); return false;"
+   
+   
+   
+>Schedule&nbsp;new&nbsp;appointment</A></li>
+      </ul>
+  </li>
+  <li>
+     <A HREF="http://localhost/freeside/view/cust_main.cgi?custnum=135;show=quotations">Quotations</A> 
+      <ul class="customer_submenu">
+        <li> <A HREF="http://localhost/freeside/edit/quotation.html?custnum=135">Create new quotation</A> </li>
+      </ul>
+  </li>
+  <li>
+     <A HREF="http://localhost/freeside/view/cust_main.cgi?custnum=135;show=packages">Packages</A> 
+      <ul class="customer_submenu">
+        <li><A HREF="javascript:void(0);"
+   onClick="overlib( OLiframeContent('http://localhost/freeside/misc/qual.html?custnum=135', 763, 436, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'New qualification', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); return false;"
+   
+   
+   
+>New&nbsp;qualification</A></li>
+        <li><A HREF="javascript:void(0);"
+   onClick="overlib( OLiframeContent('http://localhost/freeside/misc/order_pkg.html?custnum=135', 960, 740, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Order new package', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); return false;"
+   
+   
+   
+>Order&nbsp;new&nbsp;package</A></li>
+        <li><SCRIPT TYPE="text/javascript">
 
-  <A HREF="javascript:void(0);"
-   onClick="overlib( OLiframeContent('http://localhost/freeside/view/directions.html?origin=1234%20Example%20Lane%2CExampleton%2C%20CA%20%2054321;name=Olson%20Inc;lat=38.5000000;lon=-121.5000000', 763, 575, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Olson Inc', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', CLOSETEXT, 'Close'); return false;"
+function taxproductmagic(which) {
+
+  var str = '';
+  var elements = which.form.elements;
+  for (var i = 0; i<elements.length; i++) {
+
+    if (elements[i].name == 'taxproductnum'){
+      document.getElementById('taxproductnum').value = elements[i].value;
+      continue;
+    }
+    if (elements[i].name == 'taxproductnum_description'){
+      continue;
+    }
+
+    if (str.length){str += ';';}
+
+    var value = '';
+    if ( elements[i].type == 'checkbox' || elements[i].type == 'radio' ) {
+      if ( elements[i].checked == true ) {
+        value = elements[i].value;
+      //} else {
+      //  value = '';
+      }
+    } else {
+      value = elements[i].value;
+    }
+    str += elements[i].name + '=' + escape(value);
+
+  }
+  document.getElementById('charge_storage').value = str;
+  cClick();
+  overlib( OLiframeContent('http://localhost/freeside//browse/part_pkg_taxproduct.cgi?_type=select&id=taxproductnum&onclick=taxproductquickchargemagic&taxproductnum='+document.getElementById('taxproductnum').value, 1000, 400, 'tax_product_popup'), CAPTION, 'Select product', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK);
+}
+
+function taxproductquickchargemagic() {
+  var str = document.getElementById('charge_storage').value;
+  if (str.length){str += ';';}
+  str += 'magic=taxproductnum;taxproductnum=';
+  str += escape(document.getElementById('taxproductnum').value);
+  cClick();
+  overlib( OLiframeContent('http://localhost/freeside//edit/quick-charge.html?'+str, 545, 336, 'One-time charge'), CAPTION, 'One-time charge', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', CLOSETEXT, 'Close');
+
+}
+
+function taxoverridemagic(which) {
+  var str = '';
+  var elements = which.ownerDocument.QuickChargeForm.elements;
+  for (var i = 0; i<elements.length; i++) {
+    if (elements[i].name == 'tax_override'){
+      document.getElementById('tax_override').value = elements[i].value;
+      continue;
+    }
+    if (str.length){str += ';';}
+    str += elements[i].name + '=' + escape(elements[i].value);
+  }
+  document.getElementById('charge_storage').value = str;
+  cClick();
+  overlib( OLiframeContent('http://localhost/freeside//edit/part_pkg_taxoverride.html?element_name=tax_override;onclick=taxoverridequickchargemagic;selected='+document.getElementById('tax_override').value, 1100, 600, 'tax_product_popup'), CAPTION, 'Edit product tax overrides', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK);
+}
+
+function taxoverridequickchargemagic() {
+  var str = document.getElementById('charge_storage').value;
+  if (str.length){str += ';';}
+  str += 'magic=taxoverride;tax_override=';
+  str += document.getElementById('tax_override').value;
+  cClick();
+  overlib( OLiframeContent('http://localhost/freeside//edit/quick-charge.html?'+str, 545, 336, 'One-time charge'), CAPTION, 'One-time charge', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', CLOSETEXT, 'Close');
+
+}
+
+</SCRIPT>
+<A HREF="javascript:void(0);"
+   onClick="overlib( OLiframeContent('http://localhost/freeside/edit/quick-charge.html?custnum=135', 763, 460, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'One-time charge', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); return false;"
    
    
    
->directions</A>
+>One-time&nbsp;charge</A>
+</li>
+        <li><A HREF="javascript:void(0);"
+   onClick="overlib( OLiframeContent('http://localhost/freeside/edit/bulk-cust_svc-pkgnum.html?custnum=135', 968, 575, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Move services', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); return false;"
+   
+   
+   
+>Move&nbsp;services&nbsp;between&nbsp;packages</A></li>
+        <li> <A HREF="http://localhost/freeside/edit/cust_pkg.cgi?135">Bulk order and cancel packages</A> </li>
+        <li>-</li>
+        <li> <A HREF="http://localhost/freeside/search/report_cust_pkg.html?custnum=135">Package reports</A> </li>
+        <li> <A HREF="http://localhost/freeside/search/qual.cgi?custnum=135">View qualifications</A> </li>
+        <li> <A HREF="http://localhost/freeside/search/report_svc_acct.html?custnum=135">View accounts</A> </li>
+        <li> <A HREF="http://localhost/freeside/search/report_cdr.html?custnum=135">View CDRs</A> </li>
+      </ul>
+  </li>
+  <li>
+     <A HREF="http://localhost/freeside/view/cust_main.cgi?custnum=135;show=payment_history">Payment History</A> 
+      <ul class="customer_submenu">
+        <li><a href="javascript:void(0);">Enter payment<span class="arrow"></span></a><ul class="customer_subsubmenu"><li><li><li><li><li></ul></li>
+        <li><a href="javascript:void(0);">Process payment<span class="arrow"></span></a><ul class="customer_subsubmenu"><li><li></ul></li>
+        <li>-</li>
+        <li><A HREF="javascript:void(0);"
+   onClick="overlib( OLiframeContent('http://localhost/freeside/edit/cust_credit.cgi?custnum=135', 763, 410, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Enter credit', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); return false;"
+   
+   
+   
+>Enter&nbsp;credit</A></li>
+        <li><A HREF="javascript:void(0);"
+   onClick="overlib( OLiframeContent('http://localhost/freeside/edit/credit-cust_bill_pkg.html?custnum=135', 968, 575, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Credit line items', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); return false;"
+   
+   
+   
+>Credit&nbsp;line&nbsp;items</A></li>
+        <li>-</li>
+        <li><a href="javascript:void(0);">Enter refund<span class="arrow"></span></a><ul class="customer_subsubmenu"><li><li><li><li></ul></li>
+        <li>-</li>
+        <li> <A HREF="http://localhost/freeside/view/cust_main_statement-pdf.cgi?135">Download PDF statement</A> </li>
+        <li> <A HREF="http://localhost/freeside/search/report_cust_bill.html?custnum=135">Search invoices</A> </li>
+        <li> <A HREF="http://localhost/freeside/search/cust_tax_exempt_pkg.cgi?custnum=135">View tax exemptions</A> </li>
+      </ul>
+  </li>
+  <li>
+     <A HREF="http://localhost/freeside/view/cust_main.cgi?custnum=135;show=change_history">Change History</A> 
+  </li>
+</ul>
+
+<script type="text/javascript">
+
+  $("#customer_menu").menu({
+    position: { my: "left top", at: "left+1 bottom+3" },
+    blur: function() {
+      $(this).menu("option", "position", { my:"left top", at:"left+1 bottom+3" } );
+    },
+    focus: function(e,ui) {
+      if ($("#customer_menu").get(0) !== $(ui).get(0).item.parent().get(0)) {
+        $(this).menu("option", "position", { my:"left top", at:"right+2 top"} );
+      }
+    },
+  });
 
-<A HREF="http://localhost/freeside/view/kml.cgi?name=Olson%20Inc;lat=38.5000000;lon=-121.5000000">earth</A>
+</script>
 
 
-  </TD>
-</TR>
 
+<BR>
 
-  
-</TABLE>
+<DIV CLASS="fstabcontainer">
 
 
-  </TD>
-  <TD VALIGN="top" STYLE="padding-left: 54px">
-    <TABLE CLASS="fsinnerbox">
 
-<TR>
-  <TD ALIGN="right">Customer number</TD>
-  <TD BGCOLOR="#ffffff">135</TD>
-</TR>
+<SCRIPT TYPE="text/javascript">
+function areyousure(href, message) {
+  if (confirm(message) == true)
+    window.location.href = href;
+}
+</SCRIPT>
 
-<TR>
-  <TD ALIGN="right">Status</TD>
-  <TD BGCOLOR="#ffffff"><FONT COLOR="#00CC00"><B>Active</B></FONT></TD>
-</TR>
+<br>
 
 
 
 
-     <TR>
-       <TD ALIGN="right">Class</TD>
-       <TD BGCOLOR="#ffffff">(none)</TD>
-     </TR>
+
+
+
+<TABLE BORDER=0>
+<TR>
+  <TD VALIGN="top">
+    
+<FONT CLASS="fsinnerbox-title">Billing address
+</FONT>
+<TABLE CLASS="fsinnerbox">
+
+  <TR>
+    <TH ALIGN="right">Contact name</TH>
+    <TD COLSPAN=5>Towne, Samara</TD>
+  </TR>
+  <TR>
+    <TH ALIGN="right">Company</TH>
+    <TD COLSPAN=7>Olson Inc</TD>
+  </TR>
 
 
 
 
 <TR>
-  <TD ALIGN="right">Referring Customer</TD>
-  <TD BGCOLOR="#ffffff">
+  <TH ALIGN="right">Address</TH>
+  <TD COLSPAN=7>46706 Kadin Hill #780</TD>
+</TR>
 
 
-  </TD>
+<TR>
+  <TH ALIGN="right"> </TH>
+  <TD COLSPAN=7>Trailer W 2-E</TD>
 </TR>
 
+
+<TR>
+  <TH></TH>
+  <TD COLSPAN=5>Owensboro, KS
+  69113
+</TD>
+</TR>
 <TR>
-  <TD ALIGN="right">Order taker</TD>
-  <TD BGCOLOR="#ffffff">test</TD>
+  <TH></TH>
+  <TD>United States</TD>
 </TR>
 
   <TR>
-    <TD ALIGN="right">Signup Date</TD>
-    <TD BGCOLOR="#ffffff">08/04/2015</TD>
-  </TR>
+  <TH ALIGN="right">Coordinates</TH>
+  <TD COLSPAN=7>
+    38.5000000,&nbsp;-121.5000000
+    
 
+<A HREF="javascript:void(0);"
+   onClick="overlib( OLiframeContent('http://localhost/freeside/view/map.html?name=Olson%20Inc;lat=38.5000000;lon=-121.5000000', 763, 575, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Olson Inc', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); return false;"
+   
+   
+   
+>map</A>
 
+  <A HREF="javascript:void(0);"
+   onClick="overlib( OLiframeContent('http://localhost/freeside/view/directions.html?origin=1234%20Example%20Lane%2CExampleton%2C%20CA%20%2054321;name=Olson%20Inc;lat=38.5000000;lon=-121.5000000', 763, 575, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Olson Inc', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); return false;"
+   
+   
+   
+>directions</A>
 
+<A HREF="http://localhost/freeside/view/kml.cgi?name=Olson%20Inc;lat=38.5000000;lon=-121.5000000">earth</A>
 
 
+  </TD>
+</TR>
 
 
 
-</TABLE>
+  
+<TR>
+  <TH ALIGN="right">Day Phone</TD>
+  <TD COLSPAN=3>
+    
 
-      <BR><FONT CLASS="fsinnerbox-title">Billing information</FONT>
-  <FORM NAME="bill0000135" STYLE="display:inline">
-<SCRIPT TYPE="text/javascript">
 
-  function rs_init_object() {
-    var A;
-    try {
-      A=new ActiveXObject("Msxml2.XMLHTTP");
-    } catch (e) {
-      try {
-        A=new ActiveXObject("Microsoft.XMLHTTP");
-      } catch (oc) {
-        A=null;
-      }
-    }
-    if(!A && typeof XMLHttpRequest != "undefined")
-      A = new XMLHttpRequest();
-    if (!A)
-      alert("Can't create XMLHttpRequest object");
-    return A;
+    297-868-7684 x427
 
-  }
 
-</SCRIPT>
+  </TD>
+</TR>
 
+<TR>
+  <TH ALIGN="right">Night Phone</TD>
+  <TD COLSPAN=3>
+    
 
-<SCRIPT TYPE="text/javascript">
 
+    538-045-0820
 
-    function bill0000135start_job() {
-        // count args; build URL
-        var url = "http://localhost/freeside/misc/bill.cgi";
-        var a = bill0000135start_job.arguments;
 
-        var args;
-        var len;
-        var content = 'sub=start_job';
-        if ( a && typeof a  == 'object'  && a[0].constructor == Array ) {
-            args = a[0];
-            len = args.length
-        } else {
-            args = a;
-            len = args.length - 1;
-        }
-        for (var i = 0; i < len; i++) 
-            content = content + "&arg=" + escape(args[i]);
-        content = content.replace( /[+]/g, '%2B'); // fix unescaped plus signs 
+  </TD>
+</TR>
 
-        if ( 'POST' == 'GET' ) {
-          url = url + content;
-        }
+</TABLE>
+<BR>
+<FONT CLASS="fsinnerbox-title">Service address
+ (same as billing)
+</FONT>
+<TABLE CLASS="fsinnerbox">
 
-        //alert('POST ' + url);
 
-        var xmlhttp = rs_init_object();
-        xmlhttp.open("POST", url, true);
 
-        xmlhttp.onreadystatechange = function() {
-            if (xmlhttp.readyState != 4) 
-               return;
 
-            if (xmlhttp.status != 200) {
-              if ( xmlhttp.status != 0 ) {
-                //not warning on the 0 errors, they pop up when navagating away
-                // from the page
-                alert(xmlhttp.status + " status connecting to " + url);
-              }
-            } else {
-              var data = xmlhttp.responseText;
-              //alert('received response: ' + data);
-              if ( data.indexOf("<b>System error</b>") > -1 ) {
-                // trim this a little
-                var end = data.indexOf('<a href="#raw">') - 1;
-                data = data.substring(0, end);
 
-                overlib(data,
-                  WIDTH, 480, MIDX, 0, MIDY, 0,
-                  CAPTION, 'Error', STICKY, AUTOSTATUSCAP, DRAGGABLE,
-                  CLOSECLICK, BGCOLOR, '#f00', CGCOLOR, '#f00'
-                );
-                //var w;
-                //if ( w = window.open("about:blank") ) {
-                //  w.document.write(data);
-                //} else {
-                //  // popup blocking?  should use an overlib popup instead 
-                //  alert("Error popup disabled; try disabling popup blocking to see");
-                //}
-              } else {
-                // invoke the callback
-                a[a.length-1](data);
-              }
-            }
-        }
+<TR>
+  <TH ALIGN="right">Address</TH>
+  <TD COLSPAN=7>46706 Kadin Hill #780</TD>
+</TR>
 
-        if ( 'POST' == 'POST' ) {
 
-          xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
-          xmlhttp.send(content);
+<TR>
+  <TH ALIGN="right"> </TH>
+  <TD COLSPAN=7>Trailer W 2-E</TD>
+</TR>
 
-        } else {
 
-          xmlhttp.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
-          xmlhttp.send(null);
+<TR>
+  <TH></TH>
+  <TD COLSPAN=5>Owensboro, KS
+  69113
+</TD>
+</TR>
+<TR>
+  <TH></TH>
+  <TD>United States</TD>
+</TR>
 
-        }
+  <TR>
+  <TH ALIGN="right">Coordinates</TH>
+  <TD COLSPAN=7>
+    38.5000000,&nbsp;-121.5000000
+    
 
-        //rs_debug("x_$func_name url = " + url);
-        //rs_debug("x_$func_name waiting..");
-    }
+<A HREF="javascript:void(0);"
+   onClick="overlib( OLiframeContent('http://localhost/freeside/view/map.html?name=Olson%20Inc;lat=38.5000000;lon=-121.5000000', 763, 575, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Olson Inc', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); return false;"
+   
+   
+   
+>map</A>
 
+  <A HREF="javascript:void(0);"
+   onClick="overlib( OLiframeContent('http://localhost/freeside/view/directions.html?origin=1234%20Example%20Lane%2CExampleton%2C%20CA%20%2054321;name=Olson%20Inc;lat=38.5000000;lon=-121.5000000', 763, 575, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'Olson Inc', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); return false;"
+   
+   
+   
+>directions</A>
 
-</SCRIPT>
+<A HREF="http://localhost/freeside/view/kml.cgi?name=Olson%20Inc;lat=38.5000000;lon=-121.5000000">earth</A>
 
 
+  </TD>
+</TR>
 
 
-<SCRIPT TYPE="text/javascript">
 
-function bill0000135process () {
+  
+</TABLE>
 
-  //alert('bill0000135process for form bill0000135');
 
-  if ( document.bill0000135.submit.disabled == false ) {
-    document.bill0000135.submit.disabled=true;
-  }
+    <BR>
+    <FONT CLASS="fsinnerbox-title">Miscellaneous information</FONT>
+<TABLE CLASS="fsinnerbox">
 
-  overlib( 'Submitting job to server...', WIDTH, 444, HEIGHT, 168, CAPTION, 'Please wait...', STICKY, AUTOSTATUSCAP, CLOSETEXT, '', CLOSECLICK, MIDX, 0, MIDY, 0 );
 
-  var Hash = new Array();
-  var x = 0;
-  var fieldName;
-  for (var i = 0; i<document.bill0000135.elements.length; i++) {
-    field  = document.bill0000135.elements[i];
-    if ( (field.name.indexOf('custnum') > -1)
-       )
-    {
-        if ( field.type == 'select-multiple' ) {
-          //alert('select-multiple ' + field.name);
-          for (var j=0; j < field.options.length; j++) {
-            if ( field.options[j].selected ) {
-              //alert(field.name + ' => ' + field.options[j].value);
-              Hash[x++] = field.name;
-              Hash[x++] = field.options[j].value;
-            }
-          }
-        } else if (    ( field.type != 'radio'  && field.type != 'checkbox' )
-                    || ( ( field.type == 'radio' || field.type == 'checkbox' )
-                         && document.bill0000135.elements[i].checked
-                       )
-                  )
-        {
-          Hash[x++] = field.name;
-          Hash[x++] = field.value;
-        }
-    }
-  }
 
-  // jsrsPOST = true;
-  // jsrsExecute( 'http://localhost/freeside/misc/bill.cgi', bill0000135myCallback, 'start_job', Hash );
+     <TR>
+       <TH ALIGN="right">Class</TH>
+       <TD>(none)</TD>
+     </TR>
 
-  //alert('start_job( ' + Hash + ', bill0000135myCallback )' );
-  //alert('start_job()' );
-  bill0000135start_job( Hash, bill0000135myCallback );
 
-}
 
-function bill0000135myCallback( jobnum ) {
 
-  var url = 'http://localhost/freeside/elements/progress-popup.html?jobnum=_JOBNUM_&formname=bill0000135&url=http%3A%2F%2Flocalhost%2Ffreeside%2Fview%2Fcust_main.cgi%3F135';
-  url = url.replace('_JOBNUM_', jobnum);
-  overlib( OLiframeContent(url, 444, 168, 'popup-0000000000-0000-000000000.000000'), CAPTION, 'Please wait...', STICKY, AUTOSTATUSCAP, CLOSETEXT, '', CLOSECLICK, MIDX, 0, MIDY, 0 );
+<TR>
+  <TH ALIGN="right">Referring Customer</TH>
+  <TD>
 
-}
 
-</SCRIPT>
+  </TD>
+</TR>
+
+<TR>
+  <TH ALIGN="right">Order taker</TH>
+  <TD>test</TD>
+</TR>
+
+  <TR>
+    <TH ALIGN="right">Signup Date</TH>
+    <TD>08/04/2015</TD>
+  </TR>
+
 
 
-<A HREF="javascript:void(0);" onclick="javascript:bill0000135process();">Bill now</A>
-<INPUT TYPE="hidden" NAME="custnum" VALUE="135">
-</FORM>
 
 
+
+
+
+</TABLE>
+
+  </TD>
+  <TD VALIGN="top" STYLE="padding-left: 54px">
+    <FONT CLASS="fsinnerbox-title">Billing information</FONT>
+
 <TABLE CLASS="fsinnerbox">
 
 
+
 <TR>
-  <TD ALIGN="right">Balance due</TD>
-  <TD BGCOLOR="#ffffff"><B><FONT SIZE=+1></FONT>$0.00</B></TD>
+  <TH ALIGN="right">Balance due</TH>
+  <TD><B><FONT SIZE=+1></FONT>$0.00</B></TD>
 </TR>
 
 
    
       <TR>
-        <TD ALIGN="right">Monthly recurring</TD>
-        <TD BGCOLOR="#ffffff">$150.00</TD>
+        <TH ALIGN="right">Monthly recurring</TH>
+        <TD>$150.00</TD>
         </TD>
       </TR>
    
       <TR>
-        <TD ALIGN="right">Annually recurring</TD>
-        <TD BGCOLOR="#ffffff">$25.00</TD>
+        <TH ALIGN="right">Annually recurring</TH>
+        <TD>$25.00</TD>
         </TD>
       </TR>
 
 
 
 
-<TR>
-  <TD ALIGN="right">Billing type</TD>
-  <TD BGCOLOR="#ffffff">
-
-    Credit card (automatic)
-  </TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Card number</TD>
-  <TD BGCOLOR="#ffffff">412325xxxxxx4150</TD>
-</TR>
-
-<TR>
-  <TD ALIGN="right">Expiration</TD>
-  <TD BGCOLOR="#ffffff">05/2020</TD>
-</TR>
-
-
-<TR>
-  <TD ALIGN="right">Name on card</TD>
-  <TD BGCOLOR="#ffffff">Samara Towne</TD>
-</TR>
-
 
 
     <TR>
-      <TD ALIGN="right">Tax exempt</TD>
-      <TD BGCOLOR="#ffffff">no</TD>
+      <TH ALIGN="right">Tax exempt</TH>
+      <TD>no</TD>
     </TR>
 
 
 <TR>
-  <TD ALIGN="right">Postal mail invoices</TD>
-  <TD BGCOLOR="#ffffff">
+  <TH ALIGN="right">Postal mail invoices</TH>
+  <TD>
     no
   </TD>
 </TR>
 <TR>
-  <TD ALIGN="right">Fax invoices</TD>
-  <TD BGCOLOR="#ffffff">
-    no
-  </TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Email invoices</TD>
-  <TD BGCOLOR="#ffffff">
+  <TH ALIGN="right">Email invoices</TH>
+  <TD>
     yes
   </TD>
 </TR>
 <TR>
-  <TD ALIGN="right">Email address(es)</TD>
-  <TD BGCOLOR="#ffffff">
+  <TH ALIGN="right">Email address(es)</TH>
+  <TD>
     no
   </TD>
 </TR>
 <TR>
-  <TD ALIGN="right">Invoice terms</TD>
-  <TD BGCOLOR="#ffffff">
+  <TH ALIGN="right">Invoice terms</TH>
+  <TD>
     Default (Payable upon receipt)
   </TD>
 </TR>
 <TR>
-  <TD ALIGN="right">Credit limit</TD>
-  <TD BGCOLOR="#ffffff">
+  <TH ALIGN="right">Credit limit</TH>
+  <TD>
     Unlimited
   </TD>
 </TR>
@@ -1408,43 +1682,52 @@ function bill0000135myCallback( jobnum ) {
 
 
 
-</TABLE>
 
+</TABLE>
 
-  </TD>
-</TR>
-<TR>
-  <TD COLSPAN = 2>
     <BR>
-<FONT CLASS="fsinnerbox-title">Contacts</FONT>
-<A HREF="http://localhost/freeside/edit/cust_main-contacts.html?135">Edit contacts</A>
+    
+    <FONT CLASS="fsinnerbox-title">Payment information</FONT>
+    <TABLE CLASS="fsinnerbox">
 
-<TABLE CLASS="grid" CELLSPACING=0 CELLPADDING=0 >
 
 
 
-<TR>
-  <TH CLASS="grid" ALIGN="left" BGCOLOR="#cccccc">Type</TH>
-  <TH CLASS="grid" ALIGN="left" BGCOLOR="#cccccc">Contact</TH>
-  <TH CLASS="grid" ALIGN="left" BGCOLOR="#cccccc">Email</TH>
-  <TH CLASS="grid" ALIGN="left" BGCOLOR="#cccccc">Self-service</TH>
-    <TH CLASS="grid" ALIGN="left" BGCOLOR="#cccccc">Work phone</TD>
-    <TH CLASS="grid" ALIGN="left" BGCOLOR="#cccccc">Home phone</TD>
-    <TH CLASS="grid" ALIGN="left" BGCOLOR="#cccccc">Mobile phone</TD>
-    <TH CLASS="grid" ALIGN="left" BGCOLOR="#cccccc">Fax phone</TD>
-</TR>
+        <TR>
+          <TD COLSPAN=2 ALIGN="center">
+            Credit card (automatic)
+          </TD>
+        </TR>
+        <TR>
+          <TH ALIGN="right">Card number</TH>
+          <TD>412325xxxxxx4150</TD>
+        </TR>
 
-</TABLE>
+        <TR>
+          <TH ALIGN="right">Expiration</TH>
+          <TD>05/2020</TD>
+        </TR>
 
-  </TD>
-</TR>
-</TABLE>
+
+        <TR>
+          <TH ALIGN="right">Name on card</TH>
+          <TD>Samara Towne</TD>
+        </TR>
 
 
 
 
+    </TABLE>
 
 
+  </TD>
+</TR>
+<TR>
+  <TD COLSPAN = 2>
+    
+  </TD>
+</TR>
+</TABLE>
 <BR>