Exclamation Javascript problem with submit buttons placed close to each other

Please have a look at the page here. Below is a screenshot where the problem lies:

As you can see, there are two buttons which have been called by a javascript here. Both have been coded to redirect to different pages. However, when I hover my mouse on the Regret button it automatically highlights both buttons and when I click regret it redirects to the page where the Confirm button is supposed to redirect. The Confirm button itself is working fine and taking me to the desired page.

Can't figure out where the problem is with the Regret button. Any help will be much appreciated. Basically each button should redirect only to where it is supposed to as I've specified in the Javascript code.

Disclaimer: I am absolutely noob with Javascript