/*
 * Image Mouse Rollovers
 */
var NavBarButtons = new Array();

// Support everything with Mozilla (netscape) 3.0 and above.
var supported = navigator.userAgent.indexOf("Mozilla")==0 && navigator.userAgent.substring(8,9) >= 3;

function ButtonRecord(defsrc, hotsrc, txt) {
// returns a button array
	if (supported) {
		this['default'] = new Image();
		this['default'].src = defsrc;
		this['hot'] = new Image();
		this['hot'].src = hotsrc;
	}
	this['text'] = txt;
}

function RollOver(img){
	if (supported) {
		img.src = NavBarButtons[img.name]['hot'].src;
		//event.cancelBubble = true;
	}
	window.status = NavBarButtons[img.name]['text'];
}

function RollOut(img) {
	if (supported) {
		img.src = NavBarButtons[img.name]['default'].src;
		//event.cancelBubble = true;
	}
	window.status = '';
}

