// This function places an image either at the beginning or bottom of the photo array. It is
// used to randomize the initialization of the array. jQuery can set the navigation random,
// but then we still get the same initial image, and possibly the same image twice in a row
function placeImageRandomly(photoObject,image)
{
   var newImageObj = {
		"title" : "",
		"image" : image,
		"url" : "",
		"firstline" : "",
		"secondline" : ""
	};
	if (Math.floor(Math.random() * 2))
	{
	   photoObject.unshift(newImageObj);
	}
	else
	{
	   photoObject.push(newImageObj);
	}
   
}
