function xNavObj() {
	//--- Private Styles
	this.tabs = new Array();
	
	//--- Public Styles
	this.MouseOverColor				= "#8B0000";
	this.MouseOverBorderColor = "#000000";
	this.MouseOverTextColor		= "#F5F5F5";
	
	//--- Public Methods
	this.mInit = fnInit;
	
	//--- Private Methods
	this.mMouseOver		= fnMouseOver;
	this.mMouseOut		= fnMouseOut;
	this.mMouseClick	= null;
	
	function fnInit(whxChildren) {
		this.tabs = whxChildren;
		var xCurrTab;
		for(var c=0;c<whxChildren.length;c++) {
			xCurrTab = whxChildren[c];
			xCurrTab.onmouseover	= this.mMouseOver;
			xCurrTab.onmouseout		= this.mMouseOut;
			
			xCurrTab.SelectedColor = this.MouseOverColor;
			xCurrTab.SelectedBorderColor = this.MouseOverBorderColor;
			xCurrTab.SelectedTextColor = this.MouseOverTextColor;
			xCurrTab.onselectstart = fnCancel;
		}
	}
	
	function fnMouseOver() {
		if(this.currentStyle) {
			this.oldColor = this.currentStyle.backgroundColor;
			this.oldTextColor = this.currentStyle.color;
		}
		else {
			var currStyle = getComputedStyle(this, '');
			this.oldColor = currStyle.getPropertyValue('background-color');
			this.oldTextColor = currStyle.getPropertyValue('color');
		}
		this.style.backgroundColor = this.SelectedColor;
		this.children[0].style.color = this.SelectedTextColor;
		
		
		
		this.oldBorderColor = this.currentStyle.borderTopColor;
		this.style.borderTopColor = this.SelectedBorderColor;
		this.style.borderLeftColor = this.SelectedBorderColor;
		this.style.borderRightColor = this.SelectedBorderColor;
	}
	
	function fnMouseOut() {
		this.style.backgroundColor = this.oldColor;
		
		this.style.borderTopColor = this.oldBorderColor;
		this.style.borderLeftColor = this.oldBorderColor;
		this.style.borderRightColor = this.oldBorderColor;
		
		this.children[0].style.color = this.oldTextColor;
		//this.style.color = this.oldTextColor;
	}
	
	function fnCancel() {
		return false;
	}
			
}
