function init() {
	trAt = trMax;
	blAt = blMax;

	setTimeout('cycleIMG("tr")', trOffset);
	setTimeout('cycleIMG("bl")', blOffset);
}

function cycleIMG(which) {
	eval(which + "At++");
	if (eval(which + "At") > eval(which + "Max")) {
		eval(which + "At = 1");
	}
	if (eval(which + eval(which + "At"))) {
		document.images[which].src = eval(which + eval(which + "At") + ".src");
	} else {
		imgFile = baseImgDir + imgPrefix + which + "-" + eval(which + "At") + imgExt;
		eval(which + eval(which + "At") + " = new Image()");
		eval(which + eval(which + "At") + ".src = '" + imgFile + "'");
		document.images[which].src = eval(which + eval(which + "At") + ".src");
	}
	setTimeout('cycleIMG("' + which + '")', eval(which + "Interval"));
}

function imgHi(whichImg) {
	if (document.images) {
		document.images[whichImg].src = starHi.src;
	}
}

function imgOff(whichImg) {
	if (document.images) {
		document.images[whichImg].src = starOff.src;
	}
}
