Since Joomla 1.5.19 mootools 1.2 is included but no enabled by default.
To include and use mootools 1.2 instead of 1.1 with this code: JHTML::_(‘behavior.mootools’) ,
mootools need to be enabled in the plugin manager first.