NS4 = (document.layers);
IE4 = (document.all);
ver4 = (NS4 || IE4);
isMac = (navigator.appVersion.indexOf("Mac") != -1);


arPages = new Array(
null,
"index.html",
"2.html",
"3.html",
"4.html",
"5.html",
"6.html",
"7.html",
"8.html")

impre = "../art/b_"

if (document.images) {
arImLoadB = new Array (
impre+"left_over",
impre+"left_down",
impre+"right_over",
impre+"right_down");
arImListB = new Array ();
for (counter in arImLoadB) {
arImListB[counter] = new Image();
arImListB[counter].src = arImLoadB[counter] + ".gif";
}}

function movr(){this.img.src = this.img.overSrc}
function mout(){this.img.src = this.img.outSrc}
function mdown(){this.img.src = this.img.downSrc}
function makeButs(pos){
	lr = "left";
	document.write("<P ALIGN=RIGHT>")
	for (i=1;i<arPages.length;i++){
		if (i==curPage) lr = "center";
		imstr = "<IMG SRC='"+ impre + lr + ".gif' WIDTH=18 HEIGHT=18 BORDER=0>";
		if (i==curPage) {document.write(imstr);lr="right";continue}
		document.write(imstr.link(arPages[i]));
		if(!ver4) continue;
		tLink =	document.links[document.links.length-1];
		tImg = tLink.img = document.images[document.images.length-1];
		tImg.outSrc = tImg.src;
		tImg.downSrc = impre + lr + "_down.gif";
		tImg.overSrc = impre + lr + "_over.gif";
		tLink.onmouseover = movr;
		tLink.onmouseout = tLink.onmouseup = mout;
		tLink.onmousedown = mdown;
	}
	document.write("</P>");
}

