While it'd been brought up, there are some javascript issues in the standard text editor
<a href="javascript: x()" onclick="DoPrompt('url');" x isn't a function. changing it to the following should solve everything
<a href="javascript:DoPrompt('url');" Just apply that logic to the rest of the buttons