		//inline browser detect
		//sets ns or ie to true
		//sets vr to version of browser
		if (document.layers) {ns=1;ie=0}
		if (document.all) {ns=0;ie=1}
		if (navigator.appVersion.substring(0,1) <= "3") {vr=3;}
		else {vr=4;}

		//preload graphics
		p = "images/mnu/mnbut"
		mnbut1_0 = new Image(); mnbut1_0.src = p + "1_0.jpg"
		mnbut1_1 = new Image(); mnbut1_1.src = p + "1_1.jpg"
		mnbut2_0 = new Image(); mnbut2_0.src = p + "2_0.jpg"
		mnbut2_1 = new Image(); mnbut2_1.src = p + "2_1.jpg"
		mnbut3_0 = new Image(); mnbut3_0.src = p + "3_0.jpg"
		mnbut3_1 = new Image(); mnbut3_1.src = p + "3_1.jpg"
		mnbut4_0 = new Image(); mnbut4_0.src = p + "4_0.jpg"
		mnbut4_1 = new Image(); mnbut4_1.src = p + "4_1.jpg"
		mnbut5_0 = new Image(); mnbut5_0.src = p + "5_0.jpg"
		mnbut5_1 = new Image(); mnbut5_1.src = p + "5_1.jpg"
		mnbut6_0 = new Image(); mnbut6_0.src = p + "6_0.jpg"
		mnbut6_1 = new Image(); mnbut6_1.src = p + "6_1.jpg"

		function rollOver(inBut,inState){
			//show rollover buttons on/off
			eval('document["mnbut' + inBut + '"].src=mnbut' + inBut + '_' + inState + '.src');
		}

		//open *custom* pop-up window
		function openCustomPop(inFile,w,h){
			actW=w + 20; actH=h + 20;
			JavaScript:openWindow(inFile, 'NewWindow', 'width=' + actW + ',height=' + actH + ',scrollbars=no,top=50,left=350');
		}
				
		//generic consistent pop-up window
		var popupWin;
		
		function openWindow(URL, Name, Args) {
			winURL = URL;
			winName = Name;
			winArgs = Args;
			if (ie && vr==3) {//see browser detect library function
				location.href = winURL
			}else{
				killPopup();
				setTimeout('openWin(winURL, winName, winArgs)', 200)
			} 
		}
		
		function openWin(winURL, winName, winArgs) {
			popupWin = window.open(winURL, winName, winArgs);
		}
		
		function killPopup(){
		//called on page unload
				if (popupWin != null && popupWin.location != null) {
						popupWin.close();
						popupWin = null;
				}
		}
			
		var pressed = 0;
		var msg = new Array();
		msg[0]="This is a restricted area. Do not press this button again.";
		msg[1]="You have been warned. Do not press this button again.";
		msg[2]="Please remain where you are. Authorities have been dispatched.";
		msg[3]="Look mate. I don't think you realize the gravity of the situation.";
		msg[4]="You're only making it worse for yourself.";
		msg[5]="Right. That's it. You're done then.";
		msg[6]="You are going to get such a pinch.";
		msg[7]="Oh grow up.";
		msg[8]="I know you are, but what am I?";
		
		function security(){
			alert(msg[pressed]);
			if (pressed < msg.length-1) { pressed += 1; }
		}
		
