manca un parametro a window.open.... che sia quello che dà fastidio?