Javascript help needed

how would I call this js function from a WebQueryOpen agent?

showRATabs()

Subject: Use OnLoad event

You call javscript from the form’s OnLoad event. WebQueryOpen is designed to run an agent, not javascript.