// JavaScript Document
var pics;
var piccount;
var dt;

dt = new Date();
pics = new Array();
piccount=0;

function preload(name, first, second) {
pics[piccount] = new Array(3);
pics[piccount][0] = new Image();
pics[piccount][0].src = first;
pics[piccount][1]= new Image();
pics[piccount][1].src = second;
pics[piccount][2]=name;
piccount++;
}

function chpic(name, picnum){
	for (i = 0; i < piccount; i++) {
		if (name == pics[i][2]) { 
			document.images[name].src = pics[i][picnum].src;
		}
	}
}

function sst(text) {
	window.status=text;
	return true;
}
