Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies (Details Textual)

v3.7.0.1
Summary of Significant Accounting Policies (Details Textual)
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Jul. 10, 2017
Apr. 25, 2017
USD ($)
Jul. 31, 2013
shares
Jun. 30, 2017
USD ($)
$ / shares
shares
Jun. 30, 2016
USD ($)
shares
Jun. 30, 2017
USD ($)
Segments
$ / shares
shares
Jun. 30, 2016
USD ($)
shares
Dec. 31, 2016
USD ($)
$ / shares
shares
Dec. 31, 2015
USD ($)
Jul. 18, 2017
USD ($)
Jul. 12, 2017
$ / shares
Jul. 07, 2017
$ / shares
Apr. 30, 2017
USD ($)
Summary of Significant Accounting Policies (Textual)                          
Number of reportable segments | Segments           3              
Inventory reserves       $ 263,000   $ 263,000   $ 84,000          
Goodwill impairment       $ 621,000 3,767,000            
Intangible asset impairment           $ (959,000)   $ (3,459,000)          
Common stock share issued | shares       122,232,467   122,232,467   28,516,804          
Fair value debt       $ 31,656,000   $ 31,656,000   $ 43,729,000          
Common stock, par value | $ / shares       $ 0.0001   $ 0.0001   $ 0.0001          
Plaintiff fees                 $ 769,000,000        
Cost method investment   $ 500,000                      
Sales price of investments   $ 2,000,000                      
Fair value of cost method investment       $ 340,000   $ 340,000              
Loss on disposal of subsidiary       $ (5,921,000) $ (5,226,000)            
Outstanding warrant, shares | shares       43,750 43,750 43,750 43,750            
Converted outstanding, shares | shares           8,270,928 270,928            
Common stock equivalents, shares | shares           40,011,804 10,190,597            
Percentage of inventory reserves       100.00%   100.00%              
Cancellation of warrants during current period | shares       8,760                  
Cost method investment percentage description           The Company retained a 19.9% interest in the disposed of subsidiary. In accordance with ASC 325-20, the Company accounted for this investment under the cost method, as the Company's interest is less than 20% and the Company does not have the ability to exercise significant influence over the operating and financial policies of the disposed of subsidiary.              
Subsequent Event [Member]                          
Summary of Significant Accounting Policies (Textual)                          
Aggregate principal amount                   $ 1,215,000      
Common stock, par value | $ / shares                     $ 0.0001 $ 0.0001  
Reverse stock split, description The Company's 1:4 reverse stock split of the Company's common stock. The 1:4 reverse stock split was approved by the Company's stockholders on August 29, 2016 at the 2016 Annual Meeting of stockholders and by the Company's board of directors in April 2017. The effective date of the reverse stock split was July 12, 2017.                        
NGNWare [Member]                          
Summary of Significant Accounting Policies (Textual)                          
Equity interest percentage         13.70%   13.70%            
Plaintiff Alleges [Member]                          
Summary of Significant Accounting Policies (Textual)                          
Common stock share issued | shares     500,000                    
Breached contractual agreements     In the complaint, the plaintiffs allege that the Company breached contractual agreements between it and plaintiffs pertaining to certain indebtedness amounting to approximately $116 allegedly owed by the Company to the plaintiffs and the Company's agreement to convert such indebtedness into shares of its common stock.                    
Stock purchase agreement date     Jul. 02, 2009                    
ADEX [Member]                          
Summary of Significant Accounting Policies (Textual)                          
Goodwill impairment           $ 2,885,000              
Intangible asset impairment           637,000              
SDNE [Member]                          
Summary of Significant Accounting Policies (Textual)                          
Goodwill impairment           261,000              
Intangible asset impairment           160,000              
TNS [Member]                          
Summary of Significant Accounting Policies (Textual)                          
Goodwill impairment       $ 596,000   596,000              
Intangible asset impairment       123,000   123,000              
RME [Member]                          
Summary of Significant Accounting Policies (Textual)                          
Goodwill impairment       25,000   25,000              
Intangible asset impairment       $ 39,000   $ 39,000              
RM Engineering [Member]                          
Summary of Significant Accounting Policies (Textual)                          
Equity interest percentage       49.00%   49.00%              
Investment in affiliate description           The Company has the ability to exercise its call option to acquire the remaining 51% of RM Engineering for a nominal amount and thus makes all significant decisions related to RM Engineering even though it absorbs only 49% of the losses. Additionally, substantially all of the entity's activities either involve or are conducted on behalf of the entity by the 51% holder of RM Engineering.              
Nottingham [Member]                          
Summary of Significant Accounting Policies (Textual)                          
Equity interest percentage       40.00%   40.00%              
Investment in affiliate description           The Company owned an interest of 40% (the Company returned its interest in Nottingham effective April 1, 2017). Management determined that Nottingham was a VIE because it met the following criteria: (i) the entity had insufficient equity to finance its activities without additional subordinated financial support from other parties and the 60% owner guaranteed its debt, (ii) the voting rights of the Company were not proportional to their obligations to absorb the expected losses of the legal entity, and (iii) substantially all of the legal entity's activities either involved or were conducted on behalf of an investor that had disproportionately few voting rights. The Company had the ability to exercise its call option to acquire the remaining 60% of Nottingham for a nominal amount and made all significant decisions related to Nottingham.              
Loss on disposal of subsidiary       $ 455,000   $ 455,000              
Purported Class Action Suit [Member]                          
Summary of Significant Accounting Policies (Textual)                          
Aggregate principal amount                         $ 3,000,000
Derivative Actions [Member]                          
Summary of Significant Accounting Policies (Textual)                          
Aggregate principal amount                         $ 3,000,000