XML 65 R39.htm IDEA: XBRL DOCUMENT v3.6.0.2
15. COMMITMENTS AND CONTINGENCIES (Tables)
12 Months Ended
Dec. 31, 2016
Commitments and Contingencies Disclosure [Abstract]  
Schedule of future minimum lease payments - Capital and Operating Leases
Years Ended December 31,  Capital Leases   Operating Leases 
2017  $930   $14,011 
2018   588    11,822 
2019       8,929 
2020       4,942 
2021       1,991 
Thereafter       2,812 
Total minimum payments   1,518   $44,507 
Amount representing interest   (177)     
Obligations under capital leases   1,341      
Obligations due within one year   (794)     
Long-term obligations under capital leases  $547