Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Cash flows from operating activities:      
Net income (loss) $ (2,835) $ (1,243) $ 261
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Depreciation 86 92 146
Loss on disposal of fixed assets     33
Provision for (recovery of) bad debts 18   (65)
Provision for obsolete inventory (192) (63) 255
Stock-based compensation 288 218 86
(Increase) decrease in:      
Trade accounts receivable 1,766 6,353 (3,723)
Other accounts receivable 34 (26) 93
Inventory 2,758 (694) (3,668)
Prepaids 355 753 657
Other assets (255) (98) 148
Increase (decrease) in:      
Accounts payable (559) 27 3,210
Accrued expenses (746) (461) (376)
Net cash provided by (used in) operating activities 718 4,858 (2,943)
Cash flows from investing activities:      
Purchase of property and equipment (62) (111) (116)
Net cash used in investing activities (62) (111) (116)
Cash flows from financing activities:      
Borrowings on line of credit 1,848 4,460 4,380
Repayments on line of credit (1,848) (7,185) (1,655)
Cash received from exercise of stock options   27 137
Net cash provided by (used in) financing activities   (2,698) 2,862
Effect of exchange rate changes on cash (1,103) (866) (708)
Net increase (decrease) in cash and cash equivalents (447) 1,183 (905)
Cash and cash equivalents, beginning of year 2,647 1,464 2,369
Cash and cash equivalents, end of year 2,200 2,647 1,464
Cash paid for interest $ 229 $ 350 77
Cash paid for income taxes     $ 50