| (11) | Income Taxes |
| | | Year Ended December 31, | | ||||
| | | 2017 | | 2016 | | ||
| Current: | | | | | | | |
| Federal | | $ | (1,801) | | $ | 19 | |
| State and foreign | | | 2 | | | 2 | |
| Total current | | | (1,799) | | | 21 | |
| Deferred: | | | | | | | |
| Federal and state | | | 3,362 | | | 7,749 | |
| | | | | | | | |
| Income tax provision | | $ | 1,563 | | $ | 7,770 | |
| | | Year Ended December 31, | | ||||
| | | 2017 | | 2016 | | ||
| Income tax provision at federal statutory rate | | $ | 2,453 | | $ | 2,325 | |
| Add (deduct) effect of: | | | | | | | |
| State income taxes, net of federal tax | | | 970 | | | 621 | |
| Refundable AMT credit | | | (1,801) | | | - | |
| Effect of tax rate change as a result of 2017 Tax Cuts and Jobs Act | | | 16,869 | | | - | |
| Expiration of state tax credits | | | - | | | 3,303 | |
| Expiration of stock options | | | - | | | 2,144 | |
| Permanent difference | | | - | | | 57 | |
| Change in valuation allowance | | | (14,549) | | | (680) | |
| Recognition of windfall NOLs | | | (2,379) | | | - | |
| | | | | | | | |
| Income tax provision | | $ | 1,563 | | $ | 7,770 | |
| | | December 31, | | December 31, | | ||
| | | 2017 | | 2016 | | ||
| Deferred tax assets: | | | | | | | |
| Federal and state net operating loss carryforward | | $ | 24,399 | | $ | 40,359 | |
| Research and development credits carryforward | | | 16,608 | | | 16,608 | |
| Capital loss carryforwards | | | 332 | | | 482 | |
| Federal alternative minimum tax credits | | | - | | | 1,801 | |
| Total gross deferred tax assets | | | 41,339 | | | 59,250 | |
| Less valuation allowance | | | (41,339) | | | (55,888) | |
| Net deferred tax assets | | $ | - | | $ | 3,362 | |