XML 59 R40.htm IDEA: XBRL DOCUMENT
v3.4.0.3

7. FAIR VALUE (Details) - USD ($) | Mar. 31, 2016 | Dec. 31, 2015
--- | --- | ---
Fair Value, Adjustment Disclosure [Abstract] |  |
Beginning Balance |  | $ 1,728,883
Change in fair value |  | 3,810,955
Reclassification to additional paid in capital due to retirement of convertible notes |  | $ (5,539,838)
Ending Balance |  |

X
- Definition Beginning Balance + References No definition available. + Details
Name: | TOMZ_BeginningBalance
Namespace Prefix: | TOMZ_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Ending Balance + References No definition available. + Details
Name: | TOMZ_EndingBalance
Namespace Prefix: | TOMZ_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair Value Adj. of Derivative Liability. + References No definition available. + Details
Name: | TOMZ_FairValueAdjustmentOfDerivativeLiability
Namespace Prefix: | TOMZ_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Custom Element. + References No definition available. + Details
Name: | TOMZ_ReclassificationToAdditionalPaidInCapitalDueToRetirementOfConvertibleNotes
Namespace Prefix: | TOMZ_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_FairValueAdjustmentDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration