XML 42 R31.htm IDEA: XBRL DOCUMENT v3.5.0.2
TAXES (Tables)
9 Months Ended
Sep. 30, 2016
Income Tax Disclosure [Abstract]  
Schedule of Income before Income Tax, Domestic and Foreign
Income (loss) before income taxes is as follows (in thousands):
 
Three Months Ended 
 September 30,
 
Nine Months Ended 
 September 30,
 
2016
 
2015
 
2016
 
2015
Income (loss) before income taxes:
 
 
 
 
 
 
 
   Domestic
$
(21,780
)
 
$
3,776

 
$
(32,806
)
 
$
6,014

   Foreign
(348
)
 
(409
)
 
(1,045
)
 
(1,288
)
      Total income (loss) before income taxes
$
(22,128
)
 
$
3,367

 
$
(33,851
)
 
$
4,726