
function openPicture(url,width,height,title)
{

	if (navigator.appVersion.indexOf("MSIE") > 0)
	{
		pic_window = window.open("","pic_Window","width=200,height=200,left=0,top=0");
	} else {
		pic_window = window.open("","pic_window","null");
	}

	pic_window.document.open();
	pic_window.document.writeln('<html><title>'+title+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">' + '<img src=' + url + ' width=' + width + ' height=' + height + ' alt=' + title + '>' + '</body></html>');

	if (navigator.appName.indexOf("Netscape") > -1)
	{
		pic_window.resizeTo(width,height);
	} else {
		var height2 = eval(height) + 29;
		var width2 = eval(width) + 10;

		pic_window.resizeTo(width2,height2);
	}

	pic_window.document.close();
	pic_window.focus();
}
