<!--
// Function that return a number between 0 and "nums - 1"
function getRandom(nums)
{
    var ranNum= Math.floor(Math.random()*nums);
    return ranNum;
}

function ranimage() {
	// Tells us how many images we have available.
	var numberOfImages = 12;
	var randomNumber = getRandom(numberOfImages);

	// Create an array to hold the names of all images.
	var image = new Array(numberOfImages);
	image[0] = 'http://www.lamplightmedia.net/wp-content/themes/Lamplight/images/home_feature1.jpg';
	image[1] = 'http://www.lamplightmedia.net/wp-content/themes/Lamplight/images/home_feature2.jpg';
	image[2] = 'http://www.lamplightmedia.net/wp-content/themes/Lamplight/images/home_feature3.jpg';
	image[3] = 'http://www.lamplightmedia.net/wp-content/themes/Lamplight/images/home_feature4.jpg';
	image[4] = 'http://www.lamplightmedia.net/wp-content/themes/Lamplight/images/home_feature5.jpg';
	image[5] = 'http://www.lamplightmedia.net/wp-content/themes/Lamplight/images/home_feature6.jpg';
	image[6] = 'http://www.lamplightmedia.net/wp-content/themes/Lamplight/images/home_feature7.jpg';
	image[7] = 'http://www.lamplightmedia.net/wp-content/themes/Lamplight/images/home_feature8.jpg';
	image[8] = 'http://www.lamplightmedia.net/wp-content/themes/Lamplight/images/home_feature9.jpg';
	image[9] = 'http://www.lamplightmedia.net/wp-content/themes/Lamplight/images/home_feature10.jpg';
	image[10] = 'http://www.lamplightmedia.net/wp-content/themes/Lamplight/images/home_feature11.jpg';
	image[11] = 'http://www.lamplightmedia.net/wp-content/themes/Lamplight/images/home_feature12.jpg';

	// Write the img tag with a random image name.
	//document.write("<img xsrc='" + image[randomNumber] + "' />");
	return(image[randomNumber]);
}

//-->