Going back to an older thread, Klaus talked about this below....
============================
<action name="my_hidden_js_functions" type="Javascript" autorun="preinit"><![DATA[
window.do_something = function()
{
...
}
window.do_something_else = function()
{
...
}
]]></action>
============================
I was wondering about the syntax for passing parameters in
window.do_something = function()
{
...
}
Thanks.