| 
           6. DEBT (Details-Future debt payments) (USD $) 
        In Thousands, unless otherwise specified  | 
        
           Dec. 31, 2013 
         | 
        
           Dec. 31, 2012 
         | 
      
|---|---|---|
| Debt Disclosure [Abstract] | ||
| 2014 | $ 750 | |
| 2015 | 19,042 | |
| 2016 | 81,040 | |
| Total consolidated debt | $ 100,832 | $ 121,282 | 
| X | ||||||||||
| 
             
- Definition 
          Total Consolidated debt No definition available. 
  | 
        
| X | ||||||||||
| 
             
- Details 
          
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Amount of long-term debt, sinking fund requirements, and other securities redeemable at fixed or determinable prices and dates maturing in the next fiscal year following the latest fiscal year. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Amount of long-term debt, sinking fund requirements, and other securities redeemable at fixed or determinable prices and dates maturing in the third fiscal year following the latest fiscal year. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Amount of long-term debt, sinking fund requirements, and other securities redeemable at fixed or determinable prices and dates maturing in the second fiscal year following the latest fiscal year. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  |