

bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
if (bName == "Netscape" && bVer >= 3) br = "n3";
else if   (bName == "Microsoft Internet Explorer" && bVer >= 4) br ="m4";
else br = "n2";

if ((br == "n3")||(br=="m4")) {
	img1on  = new Image();   img1on.src  = 'images/dave_On.gif';
	img1off = new Image();   img1off.src = 'images/dave_Off.gif';
	img2on  = new Image();   img2on.src  = 'images/skam_On.gif';
	img2off = new Image();   img2off.src = 'images/skam_Off.gif';
	img3on  = new Image();   img3on.src  = 'images/jr_On.gif';
	img3off = new Image();   img3off.src = 'images/jr_Off.gif';
	img4on  = new Image();   img4on.src  = 'images/trey_On.gif';
	img4off = new Image();   img4off.src = 'images/trey_Off.gif';
}		
	
function act(imageName) {
	if ((br == "n3")||(br =="m4")) {
		document[imageName].src = eval(imageName + "on.src");
	}
}


function inact(imageName) {
	if ((br == "n3")||(br =="m4")) {
		document[imageName].src = eval(imageName + "on.src");
	}
}


//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="Function Disabled!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
//return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
//return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")


