<!--

/* Random image script adapted from script written by Sean Jackson. */
var numGraphics = 6;	// <=== Adjust the number of image files here
var theGraphics = null;

function getRandomNumber(n) {
	//Returns a pseudorandom number between 1 and n
	today = new Date();
	var bigNum = today.getSeconds() * today.getTime() *
Math.sqrt(today.getMinutes());
	var randNum = (bigNum % n) + 1;
	return Math.floor(randNum);
}

function initArray(n) {
	this.length = n;
	for(var i = 1; i <= n; i++) {
		this[i] = "";
		}
	return this;
}

function initGraphics() {
	theGraphics = new initArray(numGraphics);
	for(i = 1; i <= numGraphics; i++) {
		theGraphics[i] = "banner" + i + ".gif";
		}
}

function getRandomGraphic() {
	var theIndex = getRandomNumber(numGraphics);
	return theGraphics[theIndex];
}

function getGraphic() {
	var theGraphicName = getRandomGraphic();
	theGraphic = "files/graphics/" + theGraphicName
	return theGraphic
}

function loadGraphic() {
	theGraphic = getGraphic();
	var theTag = '<img src= "' + theGraphic + '"';
	theTag += ' width="600" height="131" border="0"';
	theTag += ' alt="Computing Technology Venture Fund">';
	document.write(theTag);
}

initGraphics();

//-->