I have been fiddling with scripts all morning trying to do the following:

1. When the user clicks a link, an alert/ popup comes up with a disclaimer.

2. The user can either click OK to proceed, or cancel and not proceed.

3. At the end of this disclaimer, it is going to say something like "click here to go to section C", with the link to section C (so I guess this rules out using an alert).

4. If the user clicks Ok to proceed, he will be taken to another page of the site, but in a separate browser window.

I keep getting almost there than something goes wrong - like I have everything else working but can't get a link in the alert, or I have everything else working but I can't get the new page to open in a separate window.

I know this is a lot to ask of one script, but is it possible? Any resources you'd recommend?