v2.4.0.8
7. Notes Payable and Long-Term Debt (Tables)
6 Months Ended
Jun. 30, 2014
Debt Disclosure [Abstract]  
Schedule of notes payable and long-term debt
   June 30, 2014   December 31, 2013 
Long-Term and Short-Term Debt          
Term loan with a U.S. bank with monthly payments of principal and interest at prime plus 0.75% (floor rate: 4%), maturing November 15, 2014       3,076 
Revolving line of credit with a U.S. bank up to $7,000 with interest at prime plus 0.5% (floor rate: 3.75%), maturing November 15, 2015       7,000 
Term loan with a U.S. bank with monthly payments of principal and interest at prime plus 0.75% (floor rate: 4.00%), maturing September 10, 2017       1,850 
Revolving line of credit with a China bank up to $12,000 with interest at 108% of China Prime rate which was 6.48% in 2013 with various maturity dates from April 2014 and August 2014       7,053 
 Revolving line of credit with a China bank up to $3,250 with interest rates ranged from 2.03% to 2.13% with various maturity dates from July 2014 to September 2014   1,246    2,413 
 Revolving line of credit with a Taiwan bank up to $4,000 with interest an interest rate of 1.75%, maturing December 15, 2014   3,744    3,795 
Revolving line of credit with a Taiwan bank up to $4,000 with an interest rate of 1.78%, with various maturity dates from July 2014 to August 2014   3,818     
Note payable to a finance company due in monthly installments with 4.95% interest, maturing July 30, 2015   821    921 
Total   9,629    26,108 
Less current portion   9,562    17,185 
Long term portion  $67   $8,923 
Bank Acceptance Payable          
Bank acceptance notes issued to vendors with a zero percent interest rate, a 30% guarantee deposit of $769, and maturity dates ranging from July 2014 to December 2014  $2,377   $2,347