<!--

/* Random Image Generator -
for Neverwonder.com
BY ANTHONY D. MORROW - ADM
visit me at www.imadm.com
*/

/* This returns four images, the first in random
order selection, and then the following three 
sequential images. Therefore, the image folder 
should contain the number of images + a repeat
of the first three. If there are 20 random image
possibilities, there should be 23 images in the
folder so that if image 20 is the randomly selected
image, 21, 22, and 23 are available to be shown.
*/


/* The following declares the variable "cur"
equal to the rounded up result of variable "photos" * a randomly
generated number between 0 and 1. The result is a
round number between 1 and the "photos" variable.
*/

var photos=29-3

var cur=Math.ceil(photos*Math.random())


for(start=1; start < 5 ; start++)
{
	if (cur<10)
	{
	// document.write(''+cur+'')
	document.write('<img height="72" width="96" src="/images/5_main_photos/main_photo0'+cur+'.jpg" border="1" vspace="6"> ')
	}
	else
	{
	// document.write(''+cur+'')
	document.write('<img height="72" width="96" src="/images/5_main_photos/main_photo'+cur+'.jpg" border="1" vspace="6"> ')
	}
	cur = cur + 1
}
//-->
