XML 52 R42.htm IDEA: XBRL DOCUMENT v3.7.0.1
LONG-TERM DEBT (Details Textual) - USD ($)
3 Months Ended 6 Months Ended
Mar. 08, 2017
Jan. 31, 2017
Jan. 31, 2016
Jan. 31, 2017
Jan. 31, 2016
Jul. 31, 2016
Feb. 09, 2016
Debt Instrument [Line Items]              
Amortization of Debt Discount (Premium)   $ 306,239 $ 347,723 $ 601,568 $ 683,390    
Long-term Debt, Gross   $ 20,000,000   $ 20,000,000   $ 20,000,000  
Subsequent Event [Member]              
Debt Instrument [Line Items]              
Common Stock Issued As Anniversary Fees For Debt Instrument Shares 738,503            
Common Stock Issued As Anniversary Fees For Debt Instrument Value $ 1,100,000            
Secured Debt [Member]              
Debt Instrument [Line Items]              
Long-term Debt, Gross             $ 20,000,000
Debt Instrument, Interest Rate, Effective Percentage   5.50%   5.50%