XML 65 R43.htm IDEA: XBRL DOCUMENT
v3.7.0.1

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

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 Change in fair value + References No definition available. + Details
Name: | TOMZ_ChangeInFairValue
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 details 1 abstract. + References No definition available. + Details
Name: | TOMZ_FairValueDetails1Abstract
Namespace Prefix: | TOMZ_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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