var newWindow

function makeNewWindow(img, descr1, descr2, descr3, img_id, width_l, height_l) {
win_height = 370;
win_width = 520;
win_param = + ""
newWindow = window.open("","","status,height=570,width=520","screenX=30,screenY=20")
/*newWindow = window.open("","","status,height=win_height,width=win_width","screenX=30,screenY=20")*/
var newContent = "<HTML><HEAD><TITLE>Bernzons Blomsterhandel - Bildgalleri</TITLE></HEAD>"
newContent += 
"<BODY BGCOLOR='white'><center><table>"
newContent += "<tr>"
newContent += "<td align=center><i>"
newContent += "<font size=3>"
newContent += "Nr "
newContent += img_id
newContent += "</font>"
newContent += "</i></td>"
newContent += "</tr>"
newContent += "<tr>"
newContent += "<td align=center><i>"
newContent += "<font size=4>"
newContent += descr1
newContent += "</font>"
newContent += "</i></td>"
newContent += "</tr>"
newContent += "<tr>"
newContent += "<td align=center>"
newContent += "<img src='" + img + "'>"
newContent += "</td>"
newContent += "</tr>"
newContent += "<tr>"
newContent += "<td align=center><i>"
newContent += "<font size=3><br>"
newContent += descr2
newContent += "</font>"
newContent += "</i></td>"
newContent += "</tr>"
newContent += "<tr>"
newContent += "<td align=center><i>"
newContent += "<font size=3><br>"
newContent += "" + descr3
newContent += "</font>"
newContent += "</i></td>"
newContent += "</tr>"
newContent += "</center></table></BODY></HTML>"
// write HTML to new window document
newWindow.document.write(newContent)
//newWindow.document.close() // close layout stream
}