scusa, c'e' un var di troppo
onclick="win1=window.open(..."