Ehm allora dici di mettere così?

newwindow=window.open ('album.html','name',' width=' + larghezza + ',height=' + altezza +',top=' + y + ',left=' + x)