If you're using Captivate you don't need getURL blah blah blah.When you go to publish the captivate file, choose preferneces (bottom right of the publish window, choose the Start and End Tab, Select the Action Execute Javascript, choose the 'three dot button', and simply type the function you wnat executed, in this case trivNextPage().SB