function NeuFenster() {
Fenster1 =
window.open("foto.jpg", "bild", "width=300,height=200,scrollbars=no");
Fenster1.focus();
Du suchst evtl. sowas:
http://home.arcor.de/struebig/js/popup/index.htm
funktioniert automatisch und auch ohne Javascript.
Struppi.