The following sets the target to _blank:
_blank
if (key == \"smk\") { window.location = \"http://www.smkproduction.eu5.org\"; target = \"_blank
I have created a function that allows me to obtain this feature:
function redirect_blank(url) { var a = document.createElement('a'); a.target="_blank"; a.href=url; a.click(); }