// 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] = "accessible_transportation";
images[1] = "carpooling";
images[2] = "commuting";
images[3] = "errand_pooling_shopping";
images[4] = "school_pooling";
images[5] = "senior_helper_errand_pooling";
images[6] = "senior_helper_volunteer_driver";
images[7] = "carpooling_saves";

var image_top_tags = new Array();

image_top_tags[0] = "accessible community transportion - senior in wheelchair accessible van";
image_top_tags[1] = "carpooling - young adults carpooling to an event";
image_top_tags[2] = "young man commuting to work";
image_top_tags[3] = "two young women on a shopping trip saving gas";
image_top_tags[4] = "two toddlers in safe car seats";
image_top_tags[5] = "young woman helping seniors with transportation";
image_top_tags[6] = "senior woman receives help from volunteer driver";
image_top_tags[7] = "row of cars - carpool potential for everyone";

var image_bottom_tags = new Array();

image_bottom_tags[0] = "accessible transportion for everyone";
image_bottom_tags[1] = "carpooling for everyone";
image_bottom_tags[2] = "commuting for everyone";
image_bottom_tags[3] = "errand pooling - shopping trip";
image_bottom_tags[4] = "school pooling helps parents";
image_bottom_tags[5] = "senior helper - errand pooling for seniors";
image_bottom_tags[6] = "volunteer driver with senior woman";
image_bottom_tags[7] = "carpooling saves community resources";

var number = images.length;
var increment = Math.floor(Math.random() * number);

function ShowImgT() {
	var strTemp ='<img src="images/' + images[increment] + '_t.jpg" width="232" height="112" alt="' + image_top_tags[increment] + '" style="border: 0px; padding: 0px;">';
	document.write(strTemp);
}

function ShowImgB() {
	var strTemp ='<img src="images/' + images[increment] + '_b.jpg" width="232" height="112" alt="' + image_bottom_tags[increment] + '">';
	document.write(strTemp);
}

function ShowImgB6() {
	var strTemp ='<img src="images/' + images[increment] + '_b6.jpg" width="232" height="112" alt="' + image_bottom_tags[increment] + '" style="border: 0px; padding: 0px;" >';
	document.write(strTemp);
}
