
function rotate(location) {

	eval("document.getElementById(\"" + location + "Link\").href= " + location + "Banners[int" + location + " % max" + location + "][1]");
	eval("document.getElementById(\"" + location + "Caption\").innerHTML= " + location + "Banners[int" + location + " % max" + location + "][2]");
	eval("MM_swapImage('" + location + "Image',''," + location + "Banners[int" + location + " % max" + location + "][0],1)");
	eval("int" + location + " += 1;");
}
function rotateTop() {
	eval("if (maxtop" + ((intTopBanner % maxTopBanner)+1) + " > 0) rotate(bannerOrder[intTopBanner % maxTopBanner]);");
	intTopBanner += 1;
}
function rotateAll(topDelay) {
	if (maxtop1 > 0) rotate('top1');
	setInterval("rotateTop()",topDelay);

}
