Are you sure this is Instant Web Publising?
The syntax you show isn't correct for a FileMaker Script and that's the only scripting you can use with IWP as far as I know. Sure this isn't PHP or some other set up used with Custom Web Publishing?
dang, yeah you got me... 'Custom Web Publishing'- sorry about that.
thanks for pointig that out though... searching everywhere to find a solution