function newWin(bigurl, width, height)

{
    var newWindow = window.open("", "pictureViewer", "location=no, directories=no, fullscreen=no, menubar=no, status=no, toolbar=no, width=" + width + ", height=" + height + ", scrollbars=yes");
    newWindow.document.writeln("<html>");
    newWindow.document.writeln("<body style='margin:0; padding:0;'>");
    newWindow.document.writeln("<a href='javascript:window.close();'>");
    newWindow.document.writeln("<img src='" + bigurl + "' alt='Click to close window' title='Click to close window' border='0' id='bigImage' />");
    newWindow.document.writeln("</a>");
    newWindow.document.writeln("</body></html>");
    newWindow.document.close();
	
	}