since the function you're looking for is to be run in the asp page you're more likely to find an answer on an ASP forum. sorry but I can't help.
Please don't email or PM
me Flash questions, that's what the Forums are for!
Please don't rely on me reading my PMs either. Email me about important stuff.