parseInt(navigator.appVersion) //	Javascript for Shepherd Neame Navigator Bar
var hasImage = false;
// Check on Browser type
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
if ((bName == "Netscape" && bVer >= 3) ||
    (bName == "Mozilla" && bVer >= 5) ||
    (bName == "Microsoft Internet Explorer" && bVer >= 4)) {
    hasImage = true;
    // Create an associative array of buttons
    // new Array doesn't work in Netscape 2, so declare it here
    Buttons = new Array();
    // create buttons
    crButton("bios", "bios1.gif");
    crButton("brie", "briefing1.gif");
    crButton("demo", "demo.gif");
    crButton("misc", "footage.gif");
    crButton("spec", "swnn.gif");
}

// Create a button object
function Button(gif) {
    this.off = new Image();
    this.off.src = "buttons/"+gif;
    this.on = new Image();
    this.on.src = "buttons/yello/"+gif;
}
function crButton(name, gif) {
    Buttons[name] = new Button(gif);
}
function imgAct(imgName) {
    if (hasImage == true) {
	document[imgName].src = Buttons[imgName].on.src;
    }
}
function imgInAct(imgName) {
    if (hasImage == true) {
	document[imgName].src = Buttons[imgName].off.src;
    }
}

