Stock-Based Compensation (Details) (USD $) | 3 Months Ended |
Oct. 31, 2013 | Jan. 31, 2013 | Oct. 31, 2012 |
Future compensation cost expected to be recognized [Abstract] | ' | ' | ' |
Fiscal 2014 | $225,000 | ' | ' |
Fiscal 2015 | 254,000 | ' | ' |
Fiscal 2016 | 226,000 | ' | ' |
Fiscal 2017 | 88,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] | ' | ' | ' |
Aggregate intrinsic value of stock options | 393,000 | ' | 2,000,000 |
Additional information about exercisable options [Abstract] | ' | ' | ' |
Aggregate intrinsic value of exercisable stock options | 375,000 | ' | 1,200,000 |
Stock Options [Member] | ' | ' | ' |
Options, Shares [Roll Forward] | ' | ' | ' |
Options outstanding, beginning of period (in shares) | 747,662 | ' | ' |
Granted (in shares) | 0 | ' | ' |
Forfeited (in shares) | 0 | ' | ' |
Exercised (in shares) | 0 | ' | ' |
Options outstanding, end of period (in shares) | 747,662 | ' | ' |
Options exercisable, end of period (in shares) | 545,883 | ' | ' |
Options, Weighted Average Exercise Price [Roll Forward] | ' | ' | ' |
Options outstanding, beginning of period (in dollars per share) | $4.17 | ' | ' |
Granted (in dollars per share) | $0 | ' | ' |
Forfeited (in dollars per share) | $0 | ' | ' |
Exercised (in dollars per share) | $0 | ' | ' |
Options outstanding, end of period (in dollars per share) | $4.17 | ' | ' |
Options exercisable, end of period (in dollars per share) | $3.79 | ' | ' |
Options, Weighted Average Fair Value [Roll Forward] | ' | ' | ' |
Options outstanding, beginning of period (in dollars per share) | $3.23 | ' | ' |
Granted (in dollars per share) | $0 | ' | ' |
Forfeited (in dollars per share) | $0 | ' | ' |
Exercised (in dollars per share) | $0 | ' | ' |
Options outstanding, end of period (in dollars per share) | $3.23 | ' | ' |
Options exercisable, end of period (in dollars per share) | $2.95 | ' | ' |
Weighted average fair value of options granted and the assumptions used [Abstract] | ' | ' | ' |
Expected average risk-free interest rate (in hundredths) | 1.72% | ' | ' |
Expected average life | '10 years | ' | ' |
Expected volatility (in hundredths) | 70.50% | ' | ' |
Expected dividend yield (in hundredths) | 0.00% | ' | ' |
Stock Options [Member] | Directors [Member] | ' | ' | ' |
Options, Shares [Roll Forward] | ' | ' | ' |
Granted (in shares) | ' | 60,000 | ' |
Options, Weighted Average Fair Value [Roll Forward] | ' | ' | ' |
Compensation expense related to current year | 43,000 | ' | 68,000 |
Stock Options [Member] | Officers [Member] | ' | ' | ' |
Options, Shares [Roll Forward] | ' | ' | ' |
Granted (in shares) | ' | 82,227 | ' |
Options, Weighted Average Fair Value [Roll Forward] | ' | ' | ' |
Compensation expense related to current year | 17,000 | ' | ' |
Vesting period | ' | '4 years | ' |
Compensation expense for stock options related to previous year | 48,000 | ' | 48,000 |
Restricted Stock [Member] | ' | ' | ' |
Restricted Stock Grants, Number of Shares [Roll Forward] | ' | ' | ' |
Restricted stock awards, beginning of period (in shares) | 405,248 | ' | ' |
Granted (in shares) | 0 | ' | ' |
Forfeited (in shares) | -2,001 | ' | ' |
Vested (in shares) | -51,117 | ' | ' |
End of period (in shares) | 352,130 | ' | ' |
Weighted Average Grant Date Fair Value [Roll Forward] | ' | ' | ' |
Restricted stock awards, beginning of period (in dollars per share) | $3.79 | ' | ' |
Granted (in dollars per share) | $0 | ' | ' |
Forfeited (in dollars per share) | $3.47 | ' | ' |
Vested (in dollars per share) | $2.97 | ' | ' |
End of period (in dollars per share) | $3.91 | ' | ' |
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 | $928,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 | '5 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 | ' | ' |