Tabbar: javascript content not available outside script sect

I came across the following problem with dhtmlxtabbar (used in ajax-html mode):



When the following example page is loaded into a tab, the say_hello function defined within the section cannot be referenced outside, i.e. say_hello is not executed when the corresponding link is clicked. This is very strange, because it does work without problems if the page is loaded separately (i.e. not as content of a tab).



Why is this the case? The example page is just to illustrate the problem; I need to solve this problem for a much more complicated application…



Thanks a lot in advance!









inline: no problem



outside: why does this not work???

Please provide info , which version of dhtmlxtabbar you are using and in which browser problem occurs.
Until dhtmlxtabbar 1.2 such problem may occurs , it caused by the way how code executed in loaded content ( in older version it executed without accessing global context, while it more safe way, in result global objects , such as functions, was not accessible from outside )