document.write('<STYLE>BODY { SCROLLBAR-FACE-COLOR: #A0E0FF; SCROLLBAR-HIGHLIGHT-COLOR: #A0E0FF; SCROLLBAR-SHADOW-COLOR: black; SCROLLBAR-ARROW-COLOR: red; SCROLLBAR-BASE-COLOR: #3098FF; scrollbar-3d-light-color: #999999; scrollbar-dark-shadow-color: #3098FF }</STYLE>')

bV  = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"

function nrc(e) {
   if (bNS && e.which > 1){
      alert('Welcome to Bert\'s Hobbies\n   The Online Hobby Site!')
      return false
   } else if (bIE && (event.button >1)) {
     alert('Welcome to Bert\'s Hobbies\n   The Online Hobby Site!')
     return false;
   }
}

document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;

if (top != window)
    top.location.href = window.location.href;


bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
if ((bName == "Netscape" && bVer >=3) || (bName == "Microsoft Internet Explorer" && bVer >=4)) br = "n3";
else br = "n2";

if ( br == "n3" ) {
	UP_on = new Image();
	UP_on.src = "images/up1.gif";
	DOWN_on = new Image();
	DOWN_on.src = "images/down1.gif";
	HOME_on = new Image();
	HOME_on.src = "images/home2.gif";
	FAQS_on = new Image();
	FAQS_on.src = "images/faq2.gif";
	FEEDBACK_on = new Image();
	FEEDBACK_on.src = "images/feedback2.gif";
	EMAIL_on = new Image();
	EMAIL_on.src = "images/email2.gif";
	SLIDESHOW_on = new Image();
	SLIDESHOW_on.src = "images/slideshow2.gif";


	UP_off = new Image();
	UP_off.src = "images/up.gif";
	DOWN_off = new Image();
	DOWN_off.src = "images/down.gif";
	HOME_off = new Image();
	HOME_off.src = "images/home1.gif";
	FAQS_off = new Image();
	FAQS_off.src = "images/faq1.gif";
	FEEDBACK_off = new Image();
	FEEDBACK_off.src = "images/feedback1.gif";
	EMAIL_off = new Image();
	EMAIL_off.src = "images/email1.gif";
	SLIDESHOW_off = new Image();
	SLIDESHOW_off.src = "images/slideshow1.gif";

}
function imgActive(imgName) {
	if (br == "n3") {
		imgOn = eval(imgName + "_on.src");
		document[ imgName ].src = imgOn;
	}
}
function imgInactive(imgName) {
	if (br == "n3") {
		imgOff = eval(imgName + "_off.src");
		document[ imgName ].src = imgOff;
	}
}

