// BASED ON THE ShowImg SCRIPT FOUND ON
// http://www.laughland.biz/index.php, WHICH
// IS SIMILAR TO SEVERAL OTHERS I GLANCED AT

var images = new Array();

images[0] = "covered_bridge_aerial_autmn.jpg"; 
images[1] = "depot_square_fall_foliage.jpg";
images[2] = "episcopal_church_peterborough_nh.jpg";
images[3] = "fall_foliage_country_lane_sharon_nh.jpg";
images[4] = "farm_nh.jpg";
images[5] = "horses_nh.jpg";
images[6] = "mount_monadnock_fall_foliage_aerial.jpg";
images[7] = "mount_monadnock_twilight_close.jpg";
images[8] = "mount_monadnock_winter.jpg";
images[9] = "peterborough_nh_aerial_fall_foliage.jpg";
images[10] = "peterborough_nh_aerial_view_fall_foliage.jpg";
images[11] = "peterborough_nh_dam.jpg";
images[12] = "peterborough_town_library.jpg";
images[13] = "spring_flowers_river_peterborough_nh.jpg";
images[14] = "summer_gar_guilding_peterborough_nh.jpg";
images[15] = "unitarian_church_peterborough_nh.jpg";
images[16] = "winter_peterborough_nh.jpg";

var image_tags = new Array();

image_tags[0] = "covered bridge aerial autmn"; 
image_tags[1] = "depot square fall foliage";
image_tags[2] = "episcopal church peterborough nh";
image_tags[3] = "fall foliage country lane sharon nh";
image_tags[4] = "farm nh";
image_tags[5] = "horses nh";
image_tags[6] = "mount monadnock fall foliage aerial";
image_tags[7] = "mount monadnock twilight close";
image_tags[8] = "mount monadnock winter";
image_tags[9] = "peterborough nh aerial fall foliage";
image_tags[10] = "peterborough nh aerial view fall foliage";
image_tags[11] = "peterborough nh dam";
image_tags[12] = "peterborough town library";
image_tags[13] = "spring flowers river peterborough nh";
image_tags[14] = "summer gar guilding peterborough nh";
image_tags[15] = "unitarian church peterborough nh";
image_tags[16] = "winter peterborough nh";

function ShowImg() {
	var number = images.length;
	var increment = Math.floor(Math.random() * number);
	var strTemp ='<img src="images/rotate/' + images[increment] + '" width="250" height="291" alt="' + image_tags[increment] + '">';
	document.write(strTemp);
}
