var imageStack = new Array();
imageStack[0] = "images/homeOff.gif";
imageStack[1] = "images/homeOn.gif";
imageStack[2] = "images/awardsOff.gif";
imageStack[3] = "images/awardsOn.gif";
imageStack[4] = "images/servicesOff.gif";
imageStack[5] = "images/servicesOn.gif";
imageStack[6] = "images/teamOff.gif";
imageStack[7] = "images/teamOn.gif";
imageStack[8] = "images/contactOff.gif";
imageStack[9] = "images/contactOn.gif";

var loaded = new Array();
for (i = 0; i < imageStack.length; i++){
  loaded[i] = new Image();
  loaded[i].src = imageStack[i];
}

function imgOn(which)
{
  document.images[which].src = "images/" + which + "On.gif";
}

function imgOff(which)
{
  document.images[which].src = "images/" + which + "Off.gif";
}

var names = new Array();
names[0] = "home";
names[1] = "awards";
names[2] = "services";
names[3] = "team";
names[4] = "contact";

var url = new Array();
url[0] = "index.html";
url[1] = "awards.html";
url[2] = "services.html";
url[3] = "team.html";
url[4] = "contact.html";

function navWrite(){
  for (i = 0; i < names.length; i++){
    document.write('<a href="' + url[i] + '" onMouseOver="imgOn(\'' + names[i] +
                   '\')" onMouseOut="imgOff(\'' + names[i] + '\')"><img src="images/' + 
                   names[i] + 'Off.gif" name="' + names[i] + '" border="0"></a>');
  }
}

//This is for the copywrite line
function copy(){
      document.write('<a href="index.html">&copy;&nbsp;2002 Scotts Trophy</a>');
}

//This is for the Quachie Media line
function quachie(){
      document.write('Designed and Managed By:  Quachie Media - www.quachie.com');
}