//make array, load images for jfhomeslideshow:

if (document.images) {
	var artNum = 0;
	var artSpeed = 4500;
	
	var artwork = new Array();
	artwork[0] = new Image();
	artwork[0].src = "images/jfhomeslide1.jpg";
	artwork[1] = new Image();
	artwork[1].src = "images/jfhomeslide2.jpg";
	artwork[2] = new Image();
	artwork[2].src = "images/jfhomeslide3.jpg";
	artwork[3] = new Image();
	artwork[3].src = "images/jfhomeslide4.jpg";
	artwork[4] = new Image();
	artwork[4].src = "images/jfhomeslide5.jpg";
	artwork[5] = new Image();
	artwork[5].src = "images/jfhomeslide6.jpg"; 
	artwork[6] = new Image();
	artwork[6].src = "images/jfhomeslide7.jpg";
	artwork[7] = new Image();
	artwork[7].src = "images/jfhomeslide8.jpg"; 
}

//jfhomeslideshow function:

function rotateart() {
	if (artNum < (artwork.length - 1)) {
		artNum++;
	}
	else {
		artNum = 0;
	}
	document.interior.src = artwork[artNum].src;
	setTimeout('rotateart()', artSpeed);
}

if (document.images) setTimeout('rotateart()', artSpeed);

