XML 60 R45.htm IDEA: XBRL DOCUMENT
v3.3.1.900

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

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