Forum Moderators: open
Second, the call the the Javascript is within Flash, so it's out of context/scope of the page.
You're going to have to craft this somehow so it passes the data to the page and is interpreted by javascript. One example might be
getURL("http://example.com/page.html?handle_div=1");
Then in your Javascript in a window.onload function, check if a value for handle_div exists, if is does, execute the JS within the page.
A more graceful one might be to use Flash's internal communication methods, flashVars or something, but nothing's coming to me at the moment.