XML 62 R51.htm IDEA: XBRL DOCUMENT v3.7.0.1
Reconciliation of Earnings (Loss) Per Share (Detail) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2017
Jan. 31, 2016
Jan. 31, 2017
Jan. 31, 2016
Schedule Of Earnings Per Share Basic And Diluted [Line Items]        
Net loss $ (2,906) $ (13,948) $ (11,449) $ (28,721)
Weighted average common shares outstanding 55,083 51,879 55,031 52,039
Weighted average common equivalent shares arising from dilutive stock options and restricted stock 0 0 0 0
Weighted average number of common and potential common shares 55,083 51,879 55,031 52,039
Basic and diluted net loss per share $ (0.05) $ (0.27) $ (0.21) $ (0.55)