XML 13 R29.htm IDEA: XBRL DOCUMENT v2.4.0.6
Long-Term Debt (Details) (USD $)
3 Months Ended 9 Months Ended
Jan. 31, 2012
Jul. 31, 2011
Jul. 31, 2012
Jul. 31, 2011
Aug. 15, 2012
Oct. 31, 2011
Debt Instrument [Line Items]            
Long-term Debt     $ 41,339,082     $ 48,785,504
Less current portion revolving line of credit     8,325,496     9,725,496
Less long-term notes payable to related party     2,000,000     0
Less current portion long-term debt     30,893,062     38,629,011
Long-term debt, net of current portion and revolving line of credit     120,524     430,997
Continuing operations [Abstract]            
Long-term debt, net of current portion and revolving line of credit     120,524     430,997
Current portion of long-term debt and revolving line of credit     36,443,234     42,479,183
Long-term notes payable to related party     2,000,000     0
Total debt from continuing operations     38,563,758     42,910,180
Liabilities held for sale/discontinued operations - debt     2,775,324     5,875,324
Total indebtedness     41,339,082     48,785,504
Line of Credit Facility [Line Items]            
Extension fee related to letters of credit and unused revolving credit (in hundredths)     0.10%      
Term debt paydown remaining provision of contribution agreements     500,000      
Minimum EBITDA     400,000      
Line of credit facility, maximum borrowing capacity     13,600,000      
Reserve against the Credit Agreement borrowing base     1,450,000   1,450,000  
Minimum excess availability     2,800,000      
Cash collateral held by the Administrative Agent     2,000,000      
Cash collateral held by the Administrative Agent to be applied to outstanding term loans     2,500,000      
Cash collateral released by issuing subordinated unsecured promissory note     2,000,000      
Minimum compensating balance     750,000      
Percentage of excess cash flow by which credit facility is required to be prepaid (in hundredths)     75.00%      
Purchases restated as cash activities which were previously reported as non-cash activities 37,000 153,000 37,000 504,000    
Installment notes payable to banks [Member]
           
Debt Instrument [Line Items]            
Long-term Debt     639,362     1,175,784
Continuing operations [Abstract]            
Total indebtedness     639,362     1,175,784
Notes payable to related party [Member]
           
Debt Instrument [Line Items]            
Long-term Debt     2,000,000     0
Continuing operations [Abstract]            
Total indebtedness     2,000,000     0
Term loan facility with a syndicate of banks, collateralized by substantially all of the assets of the Company [Member]
           
Debt Instrument [Line Items]            
Long-term Debt     30,374,224     37,884,224
Continuing operations [Abstract]            
Total indebtedness     30,374,224     37,884,224
Revolving line of credit loan facility with a syndicate of banks, collateralized by substantially all of the assets of the Company [Member]
           
Debt Instrument [Line Items]            
Long-term Debt     8,325,496     9,725,496
Continuing operations [Abstract]            
Total indebtedness     $ 8,325,496     $ 9,725,496