XML 48 R36.htm IDEA: XBRL DOCUMENT v3.7.0.1
5. REVOLVING CREDIT FACILITY, NOTES PAYABLE AND CAPITAL LEASES (Details - Schedule of debt) - USD ($)
$ in Thousands
Mar. 31, 2017
Dec. 31, 2016
Discounts on term loan and notes $ (16,624) $ (16,783)
Promissory notes payable 883 980
Equipment notes payable 641 341
Obligations under capital leases 11,650 7,256
Debt held for contribution to joint venture (1,573) 0
Total notes payable, line of credit and capital lease obligations 635,852 638,732
Less: current portion (27,842) (26,557)
Total notes payable, line of credit and capital lease obligations, long-term 608,010 612,175
First Lien Term Loans [Member]    
Term loans 472,875  
Second Lien Term Loans [Member]    
Term loans $ 168,000 168,000
First Lien Term Loan [Member]    
Term loans   $ 478,938