// JavaScript Document
isNN = document.layers ? 1 : 0; 
function noContext(){return false;}
function noContextKey(e) {
    if(isNN){
        if (e.keyCode == 96){ return (false);}
    } else {
        if (event.keyCode == 96){ return (false);}
    }
}
function noClick(e){
    if(isNN){
        if(e.which > 1) {return false;}
    } else { 
        if(event.button > 1){return false;}
    }
}
if(isNN){ 
    document.captureEvents(Event.MOUSEDOWN);
}
document.oncontextmenu = noContext;
document.onkeypress    = noContextKey;
document.onmousedown   = noClick;
document.onmouseup     = noClick;

imgBt1N = new Image;
imgBt1N.src = "images/btl-primary.gif";
imgBt1H = new Image;
imgBt1H.src = "images/bth-primary.gif";
imgBt2N = new Image;
imgBt2N.src = "images/btl-secondary.gif";
imgBt2H = new Image;
imgBt2H.src = "images/bth-secondary.gif";

imgBtAN = new Image;
imgBtAN.src = "images/btl-a.gif";
imgBtAH = new Image;
imgBtAH.src = "images/bth-a.gif";
imgBtBN = new Image;
imgBtBN.src = "images/stbtl-b.gif";
imgBtBH = new Image;
imgBtBH.src = "images/stbth-b.gif";
imgBtCN = new Image;
imgBtCN.src = "images/stbtl-c.gif";
imgBtCH = new Image;
imgBtCH.src = "images/stbth-c.gif";
imgBtDN = new Image;
imgBtDN.src = "images/stbtl-d.gif";
imgBtDH = new Image;
imgBtDH.src = "images/stbth-d.gif";
imgBtEN = new Image;
imgBtEN.src = "images/stbtl-e.gif";
imgBtEH = new Image;
imgBtEH.src = "images/stbth-e.gif";

function picchg(PicID,PicName) {
	document.images[PicID].src = PicName;
}

function spagechg(spName) {
	var spage = document.getElementById("spage");
	spage.src = spName+".html";
}
