// alert("")
//variables to keep track of current Button and Blurb

var currentBlurb = "blurbHome"; // the initial state
//var currentOverButton = "initialyempty"; // the initial state
//var previousButton = "initialyempty"; // the initial state
// var pathToImages = ""
var pathToImages = "img/home/"
function buttonOver(newButton) {
        var thisButton = document.getElementById(newButton);
		
		thisButton.src = pathToImages + newButton + "OverH.gif";
//		alert(thisButton.src);
}

function buttonUp(newButton) {
        var thisButton = document.getElementById(newButton);
		thisButton.src = pathToImages + newButton + "UpH.gif";
}

function buttonDown(newButton) {
        var thisButton = document.getElementById(newButton);
		thisButton.src = pathToImages + newButton + "DownH.gif";
}

function changeBlurb(newBlurb) {
	if (currentBlurb != newBlurb) { 
        var thisBlurb = document.getElementById(newBlurb);
        thisBlurb.style.visibility = "visible";
        var oldBlurb = document.getElementById(currentBlurb);
        oldBlurb.style.visibility = "hidden";
		
        currentBlurb = newBlurb;
	}
}


function clearAll() {
// alert("in clearAll")
}

function blankFunction() {
}

function browserTag() {
	if (navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= 5) {
	document.write('<font color="#f8f8ff" size="-2">NS5</font>'); 
	}
	else {
	document.write('<font color="#f8f8ff" size="-2">MSIE</font>'); 
	}
}
