STOCK BASED COMPENSATION (Details) (USD $)
0 Months Ended 12 Months Ended 12 Months Ended 0 Months Ended 12 Months Ended 1 Months Ended 12 Months Ended
Jul. 02, 2012
Subordinated convertible debt
Dec. 31, 2012
Subordinated convertible debt
Dec. 31, 2012
Subordinated convertible debt
Placement Agent
Dec. 31, 2012
2004 plan
Dec. 31, 2012
2005 plan
Dec. 31, 2012
2011 plan
Dec. 31, 2012
Employee
Dec. 31, 2011
Employee
Dec. 31, 2012
Nonemployee
Dec. 31, 2011
Nonemployee
Dec. 31, 2012
Warrants
Employee
Dec. 31, 2011
Warrants
Employee
Dec. 31, 2012
Warrants
Nonemployee
Dec. 31, 2011
Warrants
Nonemployee
Dec. 31, 2012
Warrants
Nonemployee
Minimum
Dec. 31, 2012
Warrants
Nonemployee
Maximum
Dec. 31, 2012
Stock Options
Dec. 31, 2011
Stock Options
Dec. 31, 2012
Stock Options
Employee
item
Dec. 31, 2011
Stock Options
Employee
Dec. 31, 2012
Stock Options
Warrants
Employee
Dec. 31, 2011
Stock Options
Warrants
Employee
Dec. 31, 2012
Restricted stock
Jul. 02, 2012
Restricted stock
Subordinated convertible debt
Placement Agent
Dec. 31, 2012
Restricted stock
Subordinated convertible debt
Placement Agent
Jun. 30, 2012
Restricted stock
Directors
item
Dec. 31, 2012
Restricted stock
Directors
Dec. 31, 2012
Stock Options and Stock Warrants
Employee
Dec. 31, 2011
Stock Options and Stock Warrants
Employee
Dec. 31, 2012
Stock Options and Stock Warrants
Employee
Minimum
Dec. 31, 2012
Stock Options and Stock Warrants
Employee
Maximum
SHARE-BASED COMPENSATION                                                              
Total Compensation Expense             $ 891,000 $ 806,000     $ 229,000 $ 594,000 $ 859,000 $ 434,000         $ 486,000 $ 212,000 $ 715,000 $ 806,000 $ 176,000       $ 200,000        
Weighted average significant assumptions used to estimate the fair value                                                              
Dividend Yield (as a percent)                                                       0.00% 0.00%    
Dividend Yield (as a percent)                         0.00% 0.00%                                  
Expected Volatility (as a percent)                                                         65.60% 40.00% 46.10%
Expected Volatility (as a percent)                           62.00% 38.50% 47.80%                              
Risk-Free Interest Rate (as a percent)                                                         1.23% 0.25% 1.05%
Risk-Free Interest Rate (as a percent)                           0.86% 0.25% 0.72%                              
Expected Term                                                         4 years 8 months 12 days 4 years 6 years 6 months
Expected Term                           1 year 8 months 12 days 3 years 10 years                              
Additional disclosure                                                              
Number of employee stock option plans                                     3                        
Maximum number of shares of the company's stock that may be issued       347,288 578,812 2,100,000                                                  
Number of Shares                                                              
Outstanding at the beginning of the period (in shares)                                 575,277 212,404                          
Stock Dividend (in shares)                                 73,393 16,298                          
Granted (in shares)                                 996,200 487,000                          
Exercised (in shares)                                 (66,867) (37,338)                          
Forfeited (in shares)                                 (186,483) (98,807)                          
Expired (in shares)                                 (40,659) (4,280)                          
Outstanding at the end of the period (in shares)                                 1,350,861 575,277                          
Exercisable at the end of the period (in shares)                                 268,457 213,178                          
Weighted Average Exercise Price                                                              
Outstanding at the beginning of the period (in dollars per share)                                 $ 3.90 $ 1.79                          
Stock Dividend (in dollars per share)                                 $ 4.25 $ 3.79                          
Granted (in dollars per share)                                 $ 4.46 $ 4.77                          
Exercised (in dollars per share)                                 $ 1.39 $ 1.74                          
Forfeited (in dollars per share)                                 $ 4.31 $ 4.53                          
Expired (in dollars per share)                                 $ 2.78 $ 2.26                          
Outstanding at the end of the period (in dollars per share)                                 $ 176 $ 3.90                          
Exercisable at the end of the period (in dollars per share)                                 $ 4.22 $ 2.66                          
Weighted Average Remaining Contract Life                                                              
Outstanding - Weighted Average Remaining Contract Life                                 6 years 7 months 6 days 8 years 3 months 18 days                 2 years 4 months 24 days        
Exercisable at the end of the period                                 5 years 2 months 12 days 5 years 8 months 12 days                          
Aggregate Intrinsic Value                                                              
Outstanding at the end of the period (in dollars)                                 900,426 370,606                          
Exercisable at the end of the period (in dollars)                                 260,123 370,606                          
Additional disclosures                                                              
Weighted average grant date fair value of options granted (in dollars per share)                                 $ 1.36 $ 2.21                          
Unrecognized compensation expense                                 1,200,000                            
Period of recognition of compensation expense                                 2 years 3 months 18 days                 3 years          
Total intrinsic value of options exercised                                 200,000 100,000                          
Number of Shares                                                              
Outstanding at the beginning of the period (in shares)                     1,720,020 1,289,412 1,153,574 953,074                                  
Stock Dividend (in shares)                     86,004 71,162 94,054 86,236                                  
Granted (in shares)                       450,000 777,500 300,000                                  
Exercised (in shares)                       (70,433) (28,941) (179,452)                                  
Forfeited (in shares)                       (20,121)                                      
Expired (in shares)                         (34,730) (6,284)                                  
Outstanding at the end of the period (in shares)                     1,806,024 1,720,020 1,961,457 1,153,574                                  
Exercisable at the end of the period (in shares)                     1,539,126 1,345,020 1,950,957 1,153,574                                  
Weighted Average Exercise Price                                                              
Outstanding at the beginning of the period (in dollars per share)                     $ 3.10 $ 2.64 $ 3.85 $ 3.13                                  
Stock Dividend (in dollars per share)                     $ 2.99 $ 2.93 $ 3.85 $ 3.84                                  
Granted (in dollars per share)                       $ 4.18 $ 3.82 $ 4.91                                  
Exercised (in dollars per share)                       $ 2.08 $ 1.26 $ 1.78                                  
Forfeited (in dollars per share)                       $ 2.38                                      
Expired (in dollars per share)                         $ 3.82 $ 3.11                                  
Outstanding at the end of the period (in dollars per share)                     $ 2.99 $ 3.10 $ 3.78 $ 3.85                                  
Exercisable at the end of the period (in dollars per share)                     $ 2.79 $ 2.78 $ 3.77 $ 3.85                                  
Weighted Average Remaining Contract Life                                                              
Outstanding at the end of the period                     5 years 7 months 6 days 6 years 7 months 6 days 1 year 8 months 12 days 2 years                                  
Exercisable at the end of the period                     5 years 1 month 6 days 5 years 9 months 18 days 1 year 8 months 12 days 2 years                                  
Aggregate Intrinsic Value                                                              
Outstanding at the end of the period (in dollars)                     3,181,251 1,676,791 1,934,826 437,432                                  
Exercisable at the end of the period (in dollars)                     3,014,103 1,666,991 1,930,836 437,432                                  
Additional disclosure related to warrants                                                              
Unrecognized compensation expense                     200,000                               700,000        
Weighted average remaining service period                     2 years 4 months 24 days                                        
Total intrinsic value of employee warrants exercised                       400,000                                      
Additional disclosure related to equity instrument other than option                                                              
Expiration term of warrant                             2 years 10 years                              
Period of restriction on restricted stock                                               1 year   3 years          
Number of directors                                                   9          
Debt issued 7,500,000                                                            
Fixed interest rate (as a percent) 8.00% 8.00%                                                          
Share based compensation                 772,000 212,000                             100,000            
Share based compensation     100,000                                                        
Deferred financing and prepaid services                 (783,000) (330,000)                                          
Amortization of prepaid services                 $ 696,000 $ 108,000                                          
Number of Shares                                                              
Granted (in shares)                                             320,000 50,000   270,000          
Stock Dividend (in shares)                                             16,000                
Vested (in shares)                                             (52,500)                
Unvested at the end of the period (in shares)                                             283,500                
Weighted Avg. Grant Date Fair Value                                                              
Stock Dividend (in dollars per share)                                             $ 3.25                
Granted (in dollars per share)   $ 1.45                     $ 0.99 $ 1.45                 $ 3.25 $ 3.50   $ 3.20          
Vested (in dollars per share)                       $ 3.50                                      
Unvested at the end of the period (in dollars per share)                                             $ 3.20