function displayChangingImages(path, csv_images, csv_hrefs, img_nme, linkID){
	var img_obj_ary = new Array();		//Array object that will hold image objects
	var img_change_path = "";			//Global variable to the path of the images
	var img_tag_nme = "changing-image";	//Default name of image tag

	//Make sure that the browser can handle this javascript
	if(!document.images){
		return;
	}
	
	//See if path was specified and assign it to the global variable if
	//it was
	if(path != ""){
		img_change_path = path;
	}
	
	//Create javascript image object array
	var img_name_ary = csv_images.split(",");
	
	var href_ary = csv_hrefs.split(",");
	
	//loop through image file names and create the image objects
	//This is done because we want to preload the images instead
	//of loading on the fly. This ensures no delay in displaying
	//the images
	for(var i=0; i < img_name_ary.length ; i++){
		img_obj_ary[i] = new Image();
		img_obj_ary[i].src = img_change_path + img_name_ary[i];
	}

	//See if the tag name for the image was given
	//and if not, just use default defined on top.
	if(img_nme != ""){
		img_tag_nme = img_nme;
	}

	//get random number to select index
	var img_obj_index = Math.floor(Math.random()*(img_name_ary.length))

	//change image
	var img_element = eval("document.images." + img_tag_nme);
	img_element.src = img_obj_ary[img_obj_index].src;

	//change href of link around image to match the image
	document.getElementById(linkID).href = href_ary[img_obj_index];
}
