Multiple Javascript Popup windows

I have followed the tutorial as per:
http://www.kirupa.com/developer/flash5/newwindow.htm

But now i am wanting to be able to open multiple HTML files with more buttons, what code changes would i have to make to be able to do this?

Obviously i will need to put more buttons into the stage in flash, but as i am rubbish at Js i cant figure out a way to achieve this. Any ideas?

:hr: