//
// button_actions.js	
//
// A collection of Javascripts to manage button bar rollover effects
//
	
	var oLastBtn=0;

	function RaiseButton(){
		window.event.cancelBubble=true;
		oBtn = window.event.srcElement;
		if(oLastBtn && oLastBtn != oBtn){
			HideButton();
		}
		if(oBtn.buttonType){
			oBtn.className = oBtn.buttonType + "Up";
			oLastBtn=oBtn;
			}
		else {
		oLastBtn = 0;
		}
	}


	function DepressButton(){
		window.event.cancelBubble=true;
		oBtn = window.event.srcElement;
		if(oBtn.buttonType){
			oBtn.className = oBtn.buttonType + "Down";
		}
	}

	function HideButton(){
		oLastBtn.className = oLastBtn.buttonType + "Off";
	}


//
// end of button_actions.js
//
