Annual report pursuant to Section 13 and 15(d)

Stockholders' Equity (Details)

v3.5.0.2
Stockholders' Equity (Details)
1 Months Ended 12 Months Ended 19 Months Ended 20 Months Ended 30 Months Ended 31 Months Ended
Mar. 14, 2016
USD ($)
$ / shares
shares
Jan. 06, 2016
USD ($)
$ / shares
shares
Dec. 10, 2014
USD ($)
$ / shares
shares
Jun. 16, 2016
USD ($)
$ / shares
shares
Jan. 21, 2015
USD ($)
$ / shares
shares
Feb. 03, 2014
USD ($)
$ / shares
shares
Jan. 17, 2014
USD ($)
$ / shares
shares
Nov. 26, 2013
USD ($)
$ / shares
shares
Jul. 31, 2016
USD ($)
$ / shares
shares
Jul. 31, 2015
USD ($)
$ / shares
shares
Jul. 31, 2014
USD ($)
$ / shares
shares
Jul. 31, 2016
USD ($)
$ / shares
shares
Jul. 31, 2016
USD ($)
$ / shares
shares
Jul. 31, 2016
USD ($)
$ / shares
shares
Jul. 31, 2016
USD ($)
$ / shares
shares
Dec. 31, 2014
shares
Jan. 14, 2011
shares
Stockholders' Equity (Details) [Line Items]                                  
Common Stock, Par or Stated Value Per Share (in Dollars per share) | $ / shares                 $ 0.01 $ 0.01   $ 0.01 $ 0.01 $ 0.01 $ 0.01    
Maximum Offering Price Under Sales Agreement (in Shares)                 20,000,000     20,000,000 20,000,000 20,000,000 20,000,000 20,000,000  
Percentage of Commission Payable on Equity Offering                 3.00%                
Proceeds from Issuance of Common Stock (in Dollars) | $                   $ 6,688,000 $ 11,542,000            
Stock Offering and Commissions Expenses (in Dollars) | $                   $ 207,000              
Stock Issued During Period, Shares, Employee Benefit Plan (in Shares)                   214,984 165,646            
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested in Period, Fair Value (in Dollars) | $                 $ 4,399,000 $ 97,000 $ 425,000            
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value (in Dollars) | $                 6,451,000 $ 154,000 $ 1,915,000 $ 6,451,000 $ 6,451,000 $ 6,451,000 $ 6,451,000    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Intrinsic Value (in Dollars) | $                 $ 64,000                
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross (in Shares)                 490,473 383,873 665,117            
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price (in Dollars per share) | $ / shares                 $ 4.48 $ 3.55 $ 2.77            
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value (in Dollars per share) | $ / shares                 $ 1.58 $ 1.36 $ 0.90            
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights                 The Awards vest upon the recipient’s continued employmentservice rateably over either two, three or four years.                
2005 Plan [Member]                                  
Stockholders' Equity (Details) [Line Items]                                  
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized (in Shares)                 1,000,000     1,000,000 1,000,000 1,000,000 1,000,000    
Share Based Compensation Arrangement by Share Based Payment Award Number of Additional Awards to be Granted (in Shares)                 0                
2011 Plan [Member]                                  
Stockholders' Equity (Details) [Line Items]                                  
Share Based Compensation Arrangement by Share Based Payment Award Restricted Stock Units (in Shares)                                 3,000,000
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant (in Shares)                 818,000     818,000 818,000 818,000 818,000    
Common Stock [Member]                                  
Stockholders' Equity (Details) [Line Items]                                  
Stock Issued During Period, Shares, New Issues (in Shares)                   1,588,480 3,421,176            
Average Sale Price of Stock (in Dollars per share) | $ / shares                   $ 4.34              
Stock Issued During Period, Shares, Employee Benefit Plan (in Shares)                 160,352 214,984 165,646            
Payments of Stock Issuance Costs (in Dollars) | $                 $ 709,000 $ 662,000 $ 636,000            
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested in Period, Fair Value (in Dollars) | $                 $ 46,000 $ 79,000 $ 253,000            
Board of Directors [Member]                                  
Stockholders' Equity (Details) [Line Items]                                  
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period   2 years                              
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross (in Shares)   189,873                              
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price (in Dollars per share) | $ / shares   $ 4.66                              
Share Based Compensation Arrangement by Share Based Payment Award Options Term   5 years                              
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value (in Dollars per share) | $ / shares   $ 1.65                              
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term   3 years 3 months                              
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate   48.60%                              
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate   1.31%                              
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Dividend Payments (in Dollars) | $   $ 0                              
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested, Number of Shares (in Shares)                 0                
Senior Officers [Member]                                  
Stockholders' Equity (Details) [Line Items]                                  
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period 2 years             1 year                  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross (in Shares) 110,000             271,591                  
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price (in Dollars per share) | $ / shares $ 4.35             $ 3.00                  
Share Based Compensation Arrangement by Share Based Payment Award Options Term 5 years             4 years                  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value (in Dollars per share) | $ / shares $ 1.46             $ 0.66                  
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term 3 years 3 months             2 years 6 months                  
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate 46.13%             54.79%                  
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate 1.19%             0.42%                  
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Dividend Payments (in Dollars) | $ $ 0             $ 0                  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested, Number of Shares (in Shares)                 0                
Number of Officers               2                  
Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized (in Dollars) | $               $ 200,000                  
Senior Management and Employees [Member]                                  
Stockholders' Equity (Details) [Line Items]                                  
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period 3 years                                
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross (in Shares) 188,600                                
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price (in Dollars per share) | $ / shares $ 4.35                                
Share Based Compensation Arrangement by Share Based Payment Award Options Term 5 years                                
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value (in Dollars per share) | $ / shares $ 1.57                                
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term 3 years 6 months                                
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate 48.14%                                
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate 1.24%                                
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Dividend Payments (in Dollars) | $ $ 0                                
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested, Number of Shares (in Shares)                 0                
Employees [Member]                                  
Stockholders' Equity (Details) [Line Items]                                  
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period     3 years 2 years                          
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross (in Shares)     50,500 2,000                          
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price (in Dollars per share) | $ / shares     $ 4.66 $ 5.61                          
Share Based Compensation Arrangement by Share Based Payment Award Options Term     5 years 5 years                          
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value (in Dollars per share) | $ / shares     $ 1.894 $ 1.88                          
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term     3 years 6 months 3 years 3 months                          
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate     55.16% 46.64%                          
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate     1.15% 0.846%                          
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Dividend Payments (in Dollars) | $     $ 0 $ 0                          
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested, Number of Shares (in Shares)                 0       15,167        
Senior Officers and Board of Directors [Member]                                  
Stockholders' Equity (Details) [Line Items]                                  
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period         2 years   2 years                    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross (in Shares)         293,373   267,797                    
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price (in Dollars per share) | $ / shares         $ 3.40   $ 2.70                    
Share Based Compensation Arrangement by Share Based Payment Award Options Term         5 years   5 years                    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value (in Dollars per share) | $ / shares         $ 1.27   $ 1,050,000                    
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term         3 years 3 months   3 years 3 months                    
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate         52.25%   54.78%                    
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate         0.93%   0.90%                    
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Dividend Payments (in Dollars) | $         $ 0   $ 0                    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested, Number of Shares (in Shares)                 146,687                
Number of Officers         2   2                    
Executive Officers [Member]                                  
Stockholders' Equity (Details) [Line Items]                                  
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period         3 years 3 years 3 years                    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested in Period, Fair Value (in Dollars) | $                             $ 42,000    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross (in Shares)         40,000 20,000 95,729                    
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price (in Dollars per share) | $ / shares         $ 3.40 $ 2.75 $ 2.70                    
Share Based Compensation Arrangement by Share Based Payment Award Options Term         5 years 5 years 5 years                    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value (in Dollars per share) | $ / shares         $ 1.39 $ 1.11 $ 1.10                    
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term         3 years 6 months 3 years 6 months 3 years 6 months                    
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate         55.63% 55.07% 55.45%                    
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate         1.00% 0.84% 1.00%                    
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Dividend Payments (in Dollars) | $         $ 0 $ 0 $ 0                    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested, Number of Shares (in Shares)                       11,667     57,200    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested Options Forfeited, Number of Shares (in Shares)                       5,000          
Stock Granted, Value, Share-based Compensation, Forfeited (in Dollars) | $                             $ 12,000    
Executive Officer [Member]                                  
Stockholders' Equity (Details) [Line Items]                                  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested, Number of Shares (in Shares)                           13,333      
2011 Plan [Member]                                  
Stockholders' Equity (Details) [Line Items]                                  
Number of Shares of Common Stock Remain Available for Issuance as Option for Plan Termination (in Shares)                 0                
Minimum [Member]                                  
Stockholders' Equity (Details) [Line Items]                                  
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period                 2 years                
Maximum [Member]                                  
Stockholders' Equity (Details) [Line Items]                                  
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period                 4 years