window.addEvent("domready", function (e) { $$("a.redirect-modal").addEvent("click", function (e) { let href = undefined; if (e.target.href == undefined) { href = e.target.parentNode.href; } else { href = e.target.href; } e.preventDefault(); var SM = new SimpleModal({"btn_ok": "Ok"}); SM.show({ "model": "confirm", "callback": function () { window.location = href; }, "title": "", "contents": "
Further product information available at:
" + href + "
Click to redirect to our main web site.