function openPictureWindow(imageName,imageWidth,imageHeight,alt) 
{
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight);
	newWindow.document.open();
	newWindow.document.write('<HTML><TITLE>'+alt+'</TITLE><BODY bgcolor="#FFFFFF" LEFTMARGIN="0" TOPMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0" onBlur="self.close()">');
	newWindow.document.write('<IMG SRC='+imageName+' WIDTH='+imageWidth+' HEIGHT='+imageHeight+' ALT='+alt+'>');
	newWindow.document.write('</BODY></HTML>');
	newWindow.document.close();
	newWindow.focus();
}

function openPicWin(imageName,imageWidth,imageHeight,alt)
{
	input = '<HTML><TITLE>'+alt+'</TITLE><BODY bgcolor="#FFFFFF" LEFTMARGIN="0" TOPMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0" onBlur="self.close()">';
	input += '<IMG SRC='+imageName+' WIDTH='+imageWidth+'HEIGHT='+imageHeight+' ALT='+alt+'>';
	input += '</BODY></HTML>';
	cmdlin = 'document.open("text/html");';
	cmdlin += 'document.writeln(opener.input);document.close();';
	newWindow = window.open('javascript:eval(opener.cmdlin)',"newWindow","width="+imageWidth+",height="+imageHeight);
	newWindow.focus();
}



