Stock-Based Compensation (Details) (USD $) | 3 Months Ended |
Oct. 31, 2014 | Jan. 31, 2014 | Oct. 31, 2013 |
Options, Weighted Average Fair Value [Roll Forward] | ' | ' | ' |
Compensation expense for restricted stock | $188,000 | ' | $184,000 |
Compensation expense related to exit costs | 62,000 | ' | 0 |
Future compensation cost expected to be recognized [Abstract] | ' | ' | ' |
Fiscal 2015 | 219,000 | ' | ' |
Fiscal 2016 | 238,000 | ' | ' |
Fiscal 2017 | 119,000 | ' | ' |
Fiscal 2018 | 17,000 | ' | ' |
Weighted average fair value of options granted and the assumptions used [Abstract] | ' | ' | ' |
Term of U.S. Treasury yield curve used to estimate average risk-free interest rate | '10 years | ' | ' |
Additional information about options outstanding [Abstract] | ' | ' | ' |
Fair value of in-the-money stock options outstanding | 202,000 | ' | 393,000 |
Additional information about exercisable options [Abstract] | ' | ' | ' |
Fair value of in-the-money exercisable stock options | 191,000 | ' | 375,000 |
Stock Options [Member] | ' | ' | ' |
Options, Shares [Roll Forward] | ' | ' | ' |
Options outstanding, beginning of period (in shares) | 815,162 | ' | ' |
Granted (in shares) | 0 | ' | ' |
Forfeited (in shares) | 0 | ' | ' |
Exercised (in shares) | -22,500 | ' | ' |
Options outstanding, end of period (in shares) | 792,662 | ' | ' |
Options exercisable, end of period (in shares) | 558,915 | ' | ' |
Options, Weighted Average Exercise Price [Roll Forward] | ' | ' | ' |
Options outstanding, beginning of period (in dollars per share) | $4.25 | ' | ' |
Granted (in dollars per share) | $0 | ' | ' |
Forfeited (in dollars per share) | $0 | ' | ' |
Exercised (in dollars per share) | $1.27 | ' | ' |
Options outstanding, end of period (in dollars per share) | $4.33 | ' | ' |
Options exercisable, end of period (in dollars per share) | $4.17 | ' | ' |
Options, Weighted Average Fair Value [Roll Forward] | ' | ' | ' |
Options outstanding, beginning of period (in dollars per share) | $3.27 | ' | ' |
Granted (in dollars per share) | $0 | ' | ' |
Forfeited (in dollars per share) | $0 | ' | ' |
Exercised (in dollars per share) | $1.02 | ' | ' |
Options outstanding, end of period (in dollars per share) | $3.34 | ' | ' |
Options exercisable, end of period (in dollars per share) | $3.23 | ' | ' |
Compensation expense related to current year | 39,000 | ' | 43,000 |
Weighted average fair value of options granted and the assumptions used [Abstract] | ' | ' | ' |
Expected average risk-free interest rate (in hundredths) | ' | 2.90% | ' |
Expected average life (in years) | ' | '10 years | ' |
Expected volatility (in hundredths) | ' | 68.60% | ' |
Expected dividend yield (in hundredths) | ' | 0.00% | ' |
Stock Options [Member] | Officers [Member] | ' | ' | ' |
Options, Shares [Roll Forward] | ' | ' | ' |
Granted (in shares) | ' | 57,500 | ' |
Options, Weighted Average Fair Value [Roll Forward] | ' | ' | ' |
Compensation expense related to current year | 10,000 | ' | ' |
Vesting period | ' | '4 years | ' |
Compensation expense for stock options related to previous year | 56,000 | ' | 48,000 |
Restricted Stock [Member] | ' | ' | ' |
Restricted Stock Grants, Number of Shares [Roll Forward] | ' | ' | ' |
Restricted stock awards, beginning of period (in shares) | 275,547 | ' | ' |
Granted (in shares) | 0 | ' | ' |
Forfeited (in shares) | -2,500 | ' | ' |
Vested (in shares) | -110,018 | ' | ' |
Relinquished for taxes (in shares) | -22,987 | ' | ' |
End of period (in shares) | 140,042 | ' | ' |
Weighted Average Grant Date Fair Value [Roll Forward] | ' | ' | ' |
Restricted stock awards, beginning of period (in dollars per share) | $3.42 | ' | ' |
Granted (in dollars per share) | $0 | ' | ' |
Forfeited (in dollars per share) | $4.52 | ' | ' |
Vested (in dollars per share) | $1.37 | ' | ' |
Relinquished for taxes (in dollars per share) | $1.37 | ' | ' |
End of period (in dollars per share) | $5.36 | ' | ' |
2001 Stock Plan [Member] | Restricted Stock [Member] | ' | ' | ' |
Additional information about exercisable options [Abstract] | ' | ' | ' |
Unrecognized compensation cost related to non-vested share-based compensation arrangements granted | $511,000 | ' | ' |
Weighted average period for recognition of unrecognized compensation cost | '4 years | ' | ' |
2001 Stock Plan [Member] | Restricted Stock [Member] | Minimum [Member] | ' | ' | ' |
Options, Weighted Average Fair Value [Roll Forward] | ' | ' | ' |
Vesting period | '3 years | ' | ' |
2001 Stock Plan [Member] | Restricted Stock [Member] | Maximum [Member] | ' | ' | ' |
Options, Weighted Average Fair Value [Roll Forward] | ' | ' | ' |
Vesting period | '4 years | ' | ' |
2005 Non-Employee Directors' Plan [Member] | Stock Options [Member] | Directors [Member] | ' | ' | ' |
Options, Weighted Average Fair Value [Roll Forward] | ' | ' | ' |
Options issued (in shares) | 10,000 | ' | ' |