Quarterly report pursuant to Section 13 or 15(d)

Net income (loss) per share (Details)

v3.4.0.3
Net income (loss) per share (Details) - shares
3 Months Ended 9 Months Ended
Apr. 30, 2016
Apr. 30, 2015
Apr. 30, 2016
Apr. 30, 2015
Weighted Average Stock Options [Member]        
Net income (loss) per share (Details) [Line Items]        
Antidilutive Securities Included In Computation Of Earnings Per Share Amount     337,000  
Unvested Restricted Stock [Member]        
Net income (loss) per share (Details) [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 444,000 1,384,000   1,139,000
In the Money Stock Options [Member]        
Net income (loss) per share (Details) [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 444,000 1,384,000   1,139,000
Outstanding Options [Member]        
Net income (loss) per share (Details) [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 235,000 384,000 282,000 192,000