
<!--
function randomnumber(){
    //declare variables
	
	var firstnum = Math.random() 
	var randomnum = Math.floor(firstnum * 1000 % 79)
	//sets value of random page to jump to
	//creates the link based on the value of randomnum
	//if for some reason the number comes out above 78, it will get a new number until it is below 78
	while (randomnum > 78)
		{
		firstnum = Math.random()
		randomnum = Math.round(firstnum * 1000 % 79)
		}
	document.write("<A HREF='pics.php?number=");
	document.write(randomnum);
	document.write("'>Random Picture</A>");
}
//-->

