Created a separate script.js file
function opens() { window.open('open.html'); }
I connected it to html, everything is fine in all browsers except for IE. Here is the code:
<input type="button" name="form_reristr" id="form_registr" onClick="opens()" value="open">