//Script for opening of images at Nebula Station website
//Written by Walter

function openPicWindow(theURL,winName,features,picture,title) {
	var picWindow = window.open(theURL,winName,features);
	var picsource = picture
	var pictitle = title
	picWindow.document.open();
	picWindow.focus();
	picWindow.document.write("<!-- Generated by script. -->");
	picWindow.document.write("<html><head>");
	picWindow.document.write("<meta http-equiv='Content-Type'  content='text/html; charset=windows-1250'>");
	picWindow.document.write("<style type='text/css'><!--.pictable {  background-image: url(img/dl_anim.gif); background-repeat: no-repeat; background-position: center center}--></style>");
	picWindow.document.write("<title>" + pictitle + "</title>");
	picWindow.document.write("</head><body bgcolor=#000000 text=#FFFFFF topmargin=0 leftmargin=0>")
	picWindow.document.write("<table border=0 cellspacing=0 cellpadding=0 class=pictable width=100% height=100%><td><img src=" + picsource + "></td></table>");
	picWindow.document.write("</body></html>");
	picWindow.document.close();
}