5. Income Taxes (Details - Gross Unrecognized Tax Benefits) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2015 |
Dec. 31, 2014 |
Dec. 31, 2013 |
|
| Income Tax Disclosure [Abstract] | |||
| Gross unrecognized tax benefits beginning balance | $ 129 | $ 346 | $ 541 |
| Increase in tax positions for prior years | 122 | 6 | 11 |
| Increase in tax positions for current year | 0 | 0 | 0 |
| Lapse in statutes of limitation | (131) | (223) | (206) |
| Gross unrecognized tax benefits ending balance | $ 120 | $ 129 | $ 346 |