Ok, I found it. The template used is:
Admin CP -> Styles & Templates -> Style Manager -> ? ? -> Editor Templates -> editor_toolbar_on
Unfortunately I didn't succeed in applying the javascript.
I would be so happy if someone of you could take a look at my attached HTML page where the script is working. I have no idea why I can't get it to work in vbulletin.
Thanks very much in advance.