LONG TERM DEBT (Details) (USD $)
|
12 Months Ended | 3 Months Ended | 12 Months Ended | 0 Months Ended | 12 Months Ended | 12 Months Ended | 12 Months Ended | 12 Months Ended | 12 Months Ended | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2013
|
Dec. 31, 2012
|
Jun. 30, 2014
Subsequent Event [Member]
Amended Loan Agreement March 2014 [Member]
|
Mar. 31, 2014
Subsequent Event [Member]
Amended Loan Agreement March 2014 [Member]
|
Dec. 31, 2013
Promissory Notes and Installment Agreements [Member]
Installments
|
Dec. 31, 2013
Amended Revolving Credit and Term Loan Agreement [Member]
|
Dec. 31, 2013
Revolving Credit Facility [Member]
|
Dec. 31, 2012
Revolving Credit Facility [Member]
|
Aug. 02, 2013
Revolving Credit Facility [Member]
Amended Revolving Credit and Term Loan Agreement [Member]
|
Dec. 31, 2013
Revolving Credit Facility [Member]
Amended Revolving Credit and Term Loan Agreement [Member]
|
Dec. 31, 2013
Revolving Credit Facility [Member]
Prime rate [Member]
|
Dec. 31, 2013
Revolving Credit Facility [Member]
LIBOR [Member]
|
Dec. 31, 2013
Term Loan [Member]
|
Dec. 31, 2012
Term Loan [Member]
|
Dec. 31, 2013
Term Loan [Member]
Amended Revolving Credit and Term Loan Agreement [Member]
|
Dec. 31, 2013
Term Loan [Member]
Prime rate [Member]
|
Dec. 31, 2013
Term Loan [Member]
LIBOR [Member]
|
Dec. 31, 2013
Promissory Note dated September 28, 2010 [Member]
Installments
|
Dec. 31, 2012
Promissory Note dated September 28, 2010 [Member]
|
Dec. 31, 2013
Promissory Note dated September 28, 2010 [Member]
Promissory Notes and Installment Agreements [Member]
|
Dec. 31, 2013
Promissory Note dated February 12, 2013 ("New Note") [Member]
|
Dec. 31, 2012
Promissory Note dated February 12, 2013 ("New Note") [Member]
|
Dec. 31, 2013
Promissory Note dated August 2, 2013 [Member]
Installments
|
Dec. 31, 2012
Promissory Note dated August 2, 2013 [Member]
|
Dec. 31, 2013
Various capital lease and promissory note obligations [Member]
|
Dec. 31, 2012
Various capital lease and promissory note obligations [Member]
|
Dec. 31, 2013
Equipment line of credit [Member]
|
Dec. 31, 2013
Assets Held-for-sale [Member]
|
|||||||||||||||||
Debt Instrument [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||
Long-term debt | $ 14,283,000 | $ 14,267,000 | $ 0 | [1] | $ 0 | [1] | $ 11,238,000 | [1] | $ 13,524,000 | [1] | $ 0 | [2] | $ 352,000 | [2] | $ 127,000 | [2] | $ 0 | [2] | $ 2,777,000 | [2],[3] | $ 0 | [2],[3] | $ 141,000 | $ 391,000 | ||||||||||||||||||||
Less current portion of long-term debt | 2,876,000 | 2,794,000 | ||||||||||||||||||||||||||||||||||||||||||
Less long-term debt related to assets held for sale | 35,000 | 71,000 | ||||||||||||||||||||||||||||||||||||||||||
Long-term debt, less current portion | 11,372,000 | 11,402,000 | ||||||||||||||||||||||||||||||||||||||||||
Description of variable rate basis | Prime rate | LIBOR | Prime rate | LIBOR | ||||||||||||||||||||||||||||||||||||||||
Reference rate (in hundredths) | 3.25% | |||||||||||||||||||||||||||||||||||||||||||
Basis spread on variable rate (in hundredths) | 2.00% | 3.00% | 2.50% | 3.50% | ||||||||||||||||||||||||||||||||||||||||
Maturity date | Oct. 31, 2016 | Oct. 31, 2016 | ||||||||||||||||||||||||||||||||||||||||||
Effective interest rate (in hundredths) | 3.70% | 3.80% | 3.90% | 3.90% | 6.00% | 6.00% | 2.99% | |||||||||||||||||||||||||||||||||||||
Periodic payment, principal | 190,000 | 10,000 | ||||||||||||||||||||||||||||||||||||||||||
Number of monthly installments of interest only | 12 | |||||||||||||||||||||||||||||||||||||||||||
Number of monthly installments | 24 | 36 | 24 | |||||||||||||||||||||||||||||||||||||||||
Periodic payment | 190,000 | 40,000 | 125 | |||||||||||||||||||||||||||||||||||||||||
Interest rate (in hundredths) | 6.00% | 6.00% | 2.99% | |||||||||||||||||||||||||||||||||||||||||
Periodic payment date | Oct. 15, 2010 | Feb. 28, 2013 | Sep. 01, 2013 | |||||||||||||||||||||||||||||||||||||||||
Interest rate, minimum (in hundredths) | 5.30% | |||||||||||||||||||||||||||||||||||||||||||
Interest rate, maximum (in hundredths) | 7.10% | |||||||||||||||||||||||||||||||||||||||||||
Debt discount | 223,000 | 223,000 | ||||||||||||||||||||||||||||||||||||||||||
Face amount | 3,000,000 | 1,322,000 | ||||||||||||||||||||||||||||||||||||||||||
Maximum borrowing capacity | 18,000,000 | 25,000,000 | 16,000,000 | 2,500,000 | ||||||||||||||||||||||||||||||||||||||||
Maximum percentage of commercial receivables (in hundredths) | 85.00% | |||||||||||||||||||||||||||||||||||||||||||
Maximum number of days of commercial receivables | 90 days | |||||||||||||||||||||||||||||||||||||||||||
Maximum percentage of commercial broker receivables (in hundredths) | 85.00% | |||||||||||||||||||||||||||||||||||||||||||
Maximum number of days commercial broker receivables | 120 days | |||||||||||||||||||||||||||||||||||||||||||
Maximum percentage of acceptable government agency receivables (in hundredths) | 85.00% | |||||||||||||||||||||||||||||||||||||||||||
Maximum number of days of acceptable government agency receivables | 150 days | |||||||||||||||||||||||||||||||||||||||||||
Maximum percentage of accepted unbilled amounts (in hundredths) | 50.00% | |||||||||||||||||||||||||||||||||||||||||||
Maximum number of days of accepted unbilled amounts | 60 days | |||||||||||||||||||||||||||||||||||||||||||
Amortization period of term loan | 7 years | |||||||||||||||||||||||||||||||||||||||||||
Repayments of debt | 10,000 | |||||||||||||||||||||||||||||||||||||||||||
Excess availability under revolving credit | 6,642,000 | |||||||||||||||||||||||||||||||||||||||||||
Notice period upon payment in full of debt obligation before date | 90 days | |||||||||||||||||||||||||||||||||||||||||||
Payment of fee in case of prepayment of debt on date one (in hundredths) | 0.50% | |||||||||||||||||||||||||||||||||||||||||||
Minimum fixed charge coverage ratio | 1.15 | 1.25 | 1:25 to 1:00 | |||||||||||||||||||||||||||||||||||||||||
Amendment Fee | 20,000 | |||||||||||||||||||||||||||||||||||||||||||
Loss on debt modification | 65,000 | |||||||||||||||||||||||||||||||||||||||||||
Debt instrument principal amount | 230,000 | |||||||||||||||||||||||||||||||||||||||||||
Number of days for trading of common stock to determine average closing price | 30 days | |||||||||||||||||||||||||||||||||||||||||||
Proceeds from issuance of long-term debt | 3,000,000 | 0 | 3,000,000 | |||||||||||||||||||||||||||||||||||||||||
Term of promissory note | 3 years | |||||||||||||||||||||||||||||||||||||||||||
Number of shares issued to each Lender on Warrant (in shares) | 35,000 | 35,000 | ||||||||||||||||||||||||||||||||||||||||||
Exercise price of warrants (in dollars per share) | $ 2.23 | $ 2.23 | ||||||||||||||||||||||||||||||||||||||||||
Number of months after which warrant is exercisable | 6 months | |||||||||||||||||||||||||||||||||||||||||||
Expiration date of warrants | Aug. 02, 2016 | |||||||||||||||||||||||||||||||||||||||||||
Fair value of warrants | 59,000 | 59,000 | ||||||||||||||||||||||||||||||||||||||||||
Volatility rate (in hundredths) | 15.00% | 55.54% | ||||||||||||||||||||||||||||||||||||||||||
Risk free interest rate (in hundredths) | 0.59% | |||||||||||||||||||||||||||||||||||||||||||
Expected life | 3 years | |||||||||||||||||||||||||||||||||||||||||||
Dividend rate (in hundredths) | 0.00% | |||||||||||||||||||||||||||||||||||||||||||
Issuance of Common Stock for debt (in shares) | 11,406,573 | 11,247,642 | 90,000 | |||||||||||||||||||||||||||||||||||||||||
Number of shares received by each Lender (in shares) | 45,000 | |||||||||||||||||||||||||||||||||||||||||||
Number of common stock purchase warrants issued (in shares) | 70,000 | |||||||||||||||||||||||||||||||||||||||||||
Fair value of common stock | 200,000 | 200,000 | ||||||||||||||||||||||||||||||||||||||||||
Closing fees incurred from transaction | 13,000 | |||||||||||||||||||||||||||||||||||||||||||
Maximum number of payoffs of shares in terms of outstanding equity (in hundredths) | 20.00% | |||||||||||||||||||||||||||||||||||||||||||
2014 | 2,962,000 | 35,000 | ||||||||||||||||||||||||||||||||||||||||||
2015 | 3,819,000 | |||||||||||||||||||||||||||||||||||||||||||
2016 | 7,690,000 | |||||||||||||||||||||||||||||||||||||||||||
Total | $ 14,471,000 | |||||||||||||||||||||||||||||||||||||||||||
|