| 1. ORGANIZATION AND BASIS OF PRESENTATION (Details Narrative) (USD $) | 3 Months Ended | 6 Months Ended | |||
|---|---|---|---|---|---|
| Jun. 30, 2013 | Jun. 30, 2012 | Jun. 30, 2013 | Jun. 30, 2012 | Dec. 31, 2012 | |
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | |||||
| Proceeds from issuances of senior unsecured notes, unsecured subordinated convertible notes and in connection with the exercise of warrants | $ 38,000,000 | ||||
| Accounts receivable used as collateral | 25,018,000 | 25,018,000 | 20,627,000 | ||
| Allowance for doubtful accounts | 210,000 | 210,000 | 18,000 | ||
| Bad debt recoveries | $ 16,000 | $ 2,000 | $ 192,000 | $ 0 | |
| X | ||||||||||
| 
- Definition For an unclassified balance sheet, a valuation allowance for receivables due a company that are expected to be uncollectible. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Amount of recoveries of receivables doubtful of collection that were previously charged off. No definition available. 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Definition The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt. No definition available. 
 | 
| X | ||||||||||
| 
- Definition The carrying value as of the balance sheet date of the assets received as collateral against securities loaned to other broker-dealers. Borrowers of securities generally are required to provide collateral to the lenders of securities, commonly cash but sometimes other securities or standby letters of credit, with a value slightly higher than that of the securities borrowed. In instances where the entity is permitted to sell or re-pledge these securities, the entity reports the fair value of the collateral received and the related obligation to return the collateral as a liability. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 |