Danke! Aber jetzt stimmt noch was im Script nicht. Der Fehler liegt wohl in der Definition von (bild)?
Danke im voraus
Brigitte
function openindex(bild)
{
var NewWindow
NewWindow=window.open("","NewWindow","height=220,width=150,left=40,top=40");
NewWindow.document.open();
NewWindow.document.writeln ("<html>");
NewWindow.document.writeln ("<head>");
NewWindow.document.writeln ("<title>Text</title>");
NewWindow.document.writeln ("</head>");
NewWindow.document.writeln ("<body bgcolor='cc6666' leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>");
NewWindow.document.write("<a href='http://www.blablabla.com/' target=_blank><img src=../image/startseite/blabla.jpg");
NewWindow.document.write(bild);
NewWindow.document.writeln(" width=130 height=192 border=0></a>");
NewWindow.document.writeln ("</body>");
NewWindow.document.writeln ("</html>");
NewWindow.document.close();
}
window.self.name="main"