Quarterly report pursuant to sections 13 or 15(d)

8. FAIR VALUE MEASUREMENTS (Details 3)

v2.4.0.8
8. FAIR VALUE MEASUREMENTS (Details 3) (Level 3 [Member], USD $)
In Thousands, unless otherwise specified
6 Months Ended
Jun. 30, 2013
Warrants [Member]
 
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]  
Beginning Balance $ 4,892
Exercises of warrants (260)
Adjustments to fair value for the period (2,144)
Ending Balance 6,717
Warrants [Member] | Issuance In January [Member]
 
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]  
Issuance of warrants 2,657
Warrants [Member] | Issuance In March [Member]
 
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]  
Issuance of notes and warrants 883
Warrants [Member] | Issuance In June [Member]
 
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]  
Issuance of notes and warrants 689
Conversion Features [Member]
 
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]  
Beginning Balance   
Conversion of notes (1,234)
Exercises of warrants   
Adjustments to fair value for the period 614
Ending Balance 3,710
Conversion Features [Member] | Issuance In January [Member]
 
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]  
Issuance of warrants   
Conversion Features [Member] | Issuance In March [Member]
 
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]  
Issuance of notes and warrants 1,401
Conversion Features [Member] | Issuance In June [Member]
 
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]  
Issuance of notes and warrants $ 2,929