XML 64 R54.htm IDEA: XBRL DOCUMENT v3.7.0.1
CAPITAL STOCK (Details 8) - USD ($)
3 Months Ended 6 Months Ended
Jan. 31, 2017
Jan. 31, 2016
Jan. 31, 2017
Jan. 31, 2016
Stock based Compensation Expense [Line Items]        
Share-based Compensation, Total $ 829,040 $ 1,062,349 $ 1,814,301 $ 1,688,791
Stock-Based Compensation for Management [Member]        
Stock based Compensation Expense [Line Items]        
Common stock issued 54,693 20,932 142,893 36,196
Stock options issued 122,326 265,010 367,345 445,325
Share-based Compensation, Total 177,019 285,942 510,238 481,521
Stock-Based Compensation for Consultants [Member]        
Stock based Compensation Expense [Line Items]        
Common stock issued 252,895 633,180 522,027 958,775
Stock options issued 199,979 62,143 278,251 70,778
Share-based Compensation, Total 452,874 695,323 800,278 1,029,553
Stock-Based Compensation for Employees [Member]        
Stock based Compensation Expense [Line Items]        
Common stock issued 106,101 30,303 216,447 30,303
Stock options issued 93,046 50,781 287,338 147,414
Share-based Compensation, Total $ 199,147 $ 81,084 $ 503,785 $ 177,717