XML 56 R45.htm IDEA: XBRL DOCUMENT v3.7.0.1
LONG-TERM DEBT (Details Textual) - USD ($)
3 Months Ended 9 Months Ended
Apr. 30, 2017
Apr. 30, 2016
Apr. 30, 2017
Apr. 30, 2016
Jan. 31, 2017
Jul. 31, 2016
Feb. 09, 2016
Debt Instrument [Line Items]              
Amortization of Debt Discount (Premium) $ 268,262 $ 277,417 $ 869,830 $ 960,807      
Common Stock Issued As Anniversary Fees For Debt Instrument Shares 738,503   738,503        
Common Stock Issued As Anniversary Fees For Debt Instrument Value $ 1,100,000   $ 1,100,000        
Long-term Debt, Gross $ 20,000,000   $ 20,000,000     $ 20,000,000  
Secured Debt [Member]              
Debt Instrument [Line Items]              
Long-term Debt, Gross         $ 20,000,000   $ 20,000,000
Anniversary Fees Rate         5.50%