function changeImage() {
	var astrMessages=new Array(); // regular array (add an optional integer
	astrMessages[1]="This is a view";
	astrMessages[2]="Here is another view";
	astrMessages[3]="This is the final view";
	astrMessages[4]="This is the final view";
	astrMessages[5]="This is the final view";

	var astrImages=new Array();
	astrImages[1]="HomePage1.jpg";
	astrImages[2]="HomePage2.jpg";
	astrImages[3]="HomePage3.jpg";
	astrImages[4]="HomePage4.jpg";
	astrImages[5]="HomePage5.jpg";
	
	var imagesInShow = "5";
	
	var currentImage = $("#counter").html();
	currentImage = parseInt( currentImage );
	
	if( currentImage == imagesInShow ) {
		var nextImage = 1;
	} else {
		var nextImage = currentImage + 1;
	}
	
	var currentSrc = $(".infront img").attr("src");
	var nextSrc = "images/" + astrImages[nextImage];

	$(".behind img").attr("src", currentSrc);
	$(".infront").css("display","none");
	
	$(".infront img").attr("src", nextSrc);
	$(".infront p").html(astrMessages[nextImage]);	
	
	$(".infront").fadeIn(2500);
	
	$("#counter").html( nextImage );
	
	// !!!  Important !!!
	setTimeout('changeImage()', 5000);
}

