//-------------------------------------------------------------------------------
// Object: Widgets
//
// Parameters:
//
// Description:
//
// The Widgets object stores references to html objects. Specifically the menu
// tabs used for site navigation.
//-------------------------------------------------------------------------------
function Widgets() 
{
	// init vars
	var _Tabs = null;
	
	// create sections array
	_Tabs = new Array();
	
	//-------------------------------------------------------- 
	// Add a Tab
	// 
	// Parameters:
	//		tab = The ImageTab representing the tab 
	// 			  to be added.
	//--------------------------------------------------------
	function addTab(tab) 
	{
		_Tabs.push(tab);
	}
	
	this.addTab = addTab;

	//-------------------------------------------------
	// Get an Array containing references to all the 
	// tabs added to the Widgets object
	//-------------------------------------------------
	function getTabs() 
	{
		return _Tabs;
	}
	
	this.getTabs = getTabs;
	
}