Annual report pursuant to Section 13 and 15(d)

Stockholders' equity (Details) - Schedule of Stock option plans

v2.4.0.8
Stockholders' equity (Details) - Schedule of Stock option plans (USD $)
6 Months Ended 12 Months Ended
Jan. 17, 2013
Jul. 31, 2013
Jul. 31, 2012
Jul. 31, 2011
Schedule of Stock option plans [Abstract]        
Outstanding at beginning of year (in Shares) 736,490 736,490 785,124 1,132,450
Outstanding at beginning of year $ 14.50 $ 14.50 $ 14.53 $ 14.30
New Grants (in Shares) 336,817 336,817    
New Grants $ 2.88 $ 2.88    
Expired (in Shares)   (346,662) (48,634) (347,326)
Expired   $ 11.82 $ 15.05 $ 13.78
Outstanding at end of year (in Shares)   726,645 736,490 785,124
Outstanding at end of year   $ 10.39 $ 14.50 $ 14.53
Exercisable at end of year (in Shares)   389,828 736,490 785,124
Exercisable at end of year   $ 16.88 $ 14.50 $ 14.53
Weighted average fair value of options granted during year   $ 1.22