//Checks to see if Version Supports Rollovers
browserName = navigator.appName;
browserVers = parseInt(navigator.appVersion);
rollovers = false;
if ((browserName = "Netscape") && (browserVers >= 3)) {rollovers = true} 

if (rollovers) {
	pathToImages1	= "../images/home/";
	onSuffix 		= "_on.gif";
	offSuffix 		= "_off.gif";
	updateSuffix 	= "_up.jpg";
	updateOffSrc	= pathToImages1 + "bar0.jpg";

	timed = false;
		}

//What Script Writes in the img src <>'s
	function navButton (s) {
		this.name = s;
		if (rollovers) {
				this.onImg = new Image;
				this.onImg.src 	= pathToImages1 + s + onSuffix;
				this.offImg = new Image;
				this.offImg.src = pathToImages1 + s + offSuffix;
				this.upImg = new Image;
				this.upImg.src 	= pathToImages1 + s + updateSuffix;
				}	


		this.turnOn = turnOn;
		this.turnOff = turnOff;
			}

		function turnOn() {
			if (rollovers) {
			if (timed) {clearTimeout(offID);}
			document.images[this.name].src = this.onImg.src;
			document.images["updates"].src = this.upImg.src;
				}
			}

			function turnOff() {
				if (rollovers) {
					document.images[this.name].src = this.offImg.src;
					offID=setTimeout('document.images["updates"].src = updateOffSrc', 50);
					timed = true;
				}
			}

//Sets new buttons
			knee = new navButton("bb-knee");
			hip = new navButton("bb-hip");
			bac = new navButton("bb-bac");
			neck = new navButton("bb-neck");

 // -->
