// JavaScript Document//set this to the number of photos you have
var $howManyPhotos = 9;

// Generates random number for photo and caption
var random_number;
function ranGen(){
	random_number = (Math.floor((Math.random()*($howManyPhotos-1))+1));	
}