var imgnm = new Array(17);
var dullimages = new Array(17);
var brightimages = new Array(17);
var statustext = new Array(17);
imgnm[0] = "intro";
imgnm[1] = "new";
imgnm[2] = "search";
imgnm[3] = "pictish";
imgnm[4] = "burials";
imgnm[5] = "megaliths";
imgnm[6] = "settlement";
imgnm[7] = "roman";
imgnm[8] = "christian";
imgnm[9] = "art";
imgnm[10]= "castles";
imgnm[11]= "orkney";
imgnm[12]= "westernisles";
imgnm[13]= "kilmartin";
imgnm[14]= "clava";
imgnm[15]= "books";
imgnm[16]= "links";

statustext[0] = "Welcome to the Ancient Scotland pages at Easter Habitat";
statustext[1] = "Recent additions and changes to the Ancient Scotland pages";
statustext[2] = "Search for ancient sites by geographical location (not always up-to-date!)";
statustext[3] = "Pictish symbol stones";
statustext[4] = "Ancient burials - cairns, cists and barrows";
statustext[5] = "Standing stones - circles, rows, avenues and monoliths";
statustext[6] = "Brochs, houses, ancient villages,...";
statustext[7] = "Roman remains";
statustext[8] = "Abbeys, churches, etc.";
statustext[9] = "Cup-and-ring markings and other rock art";
statustext[10] = "Castles";
statustext[11] = "Ancient sites in the Orkney archipelago";
statustext[12] = "Ancient sites in the Hebridean islands";
statustext[13] = "Ancient sites in and around the Kilmartin valley, Argyll";
statustext[14] = "The Clava Cairns near Inverness";
statustext[15] = "Bibliography";
statustext[16] = "Links to other sites";

for ( var i = 0; i < 17; i++ ) {
  dullimages[i] = new Image();
  brightimages[i] = new Image();
  dullimages[i].src = "pics/buttons/" + imgnm[i] + ".gif";
  brightimages[i].src = "pics/buttons/bright/bright" + imgnm[i] + ".gif";
}

function realbrighten(i) {
  document.images[i].src = brightimages[i].src;
  status = statustext[i];
  return true;
}

function realdarken(i) {
  document.images[i].src = dullimages[i].src;
}

function allloaded() {
	;
}

