Is it possible to make a pop-up window with two options (eg. "continue" and "cancel") using Javascript?

If so, you couldn't point me in the right direction could you?

Thanks -