function showPictures()
{
	var myBaseURL = "" ;
	var mySuffix = "" ;
	var myPictureType = "jpg" ;
	var myNumPics = 100 ;
	var myNumPlaces = 3 ;

	var formHolder = window.document.forms.pictureInfo ;
	myNumPics = formHolder.numPicts.value ;
	myNumPlaces = formHolder.numPlaces.value ;
	myBaseURL = formHolder.baseURL.value ;
	mySuffix = formHolder.urlSuffix.value ;
	myPictureType = formHolder.pictureType.value ;

	window.document.open();

	window.document.write("<html lang=\"en\">\n");
	window.document.write("\t<head>\n");
	window.document.write("\t\t<title>Various things</title>\n");
	window.document.write("\t</head>\n");
	window.document.write("\t<body>\n");
	window.document.write("\t\t<table border=\"0\">\n");
	window.document.write("\t\t\t<thead>\n");
	window.document.write("\t\t\t<tr><th>Beginning with information: " + myBaseURL + "</th></tr><tr><th>Iterations: " + myNumPics + "</th>");
	window.document.write("\t\t\t</tr>\n");
	window.document.write("\t\t\t</thead>\n");
	window.document.write("\t\t\t<tbody>\n");

	for ( var n = 0 ; n < myNumPics ; n++)
	{
		window.document.write("\t\t\t<tr><td>");
		var retVal =  n + mySuffix + "." + myPictureType ;

		for (var totVal = Math.pow(10 , myNumPlaces - 1) ; totVal >= 1 && Math.max(n, 1) < totVal ; totVal = totVal / 10)
		{
			retVal = "0" + retVal ;
		}

		window.document.write("<img src=\"" + myBaseURL + retVal + "\" alt=\"" + myBaseURL + retVal + "\" />");
		window.document.write("</td></tr>\n");
	}

	window.document.write("\t\t\t</tbody>\n");
	window.document.write("\t\t</table>\n");

	window.document.write("\t</body>\n");
	window.document.write("</html>");

	window.document.close();
}
