function FeatureVideos()
{
	var m_content = document.getElementById("content_FeatureVideos");
	var m_table = document.getElementById("featureVideosTable");
	var m_initialized = false;
	var m_lastConsoleState = null;
	
	this.display = function()
		{
			if(!m_initialized)
			{
				this.getWhatsNew();
				m_initialized = true;
				m_lastConsoleState=_console.m_consoleMode;
			}
			else
			{
				if (m_lastConsoleState!=_console.m_consoleMode)
				{
					m_lastConsoleState=_console.m_consoleMode;
					this.reload();
				}
			}
			_console.lastReloadComponent = this;
		}
	
	var m_lastComponent = null;
	this.reload = function()
		{
			m_lastConsoleState=_console.m_consoleMode;
			m_lastComponent.reload();
		}
	
	this.getWhatsNew = function()
		{
			m_table.rows[0].cells[0].firstChild.className = "categoryCurrent";
			m_table.rows[0].cells[1].firstChild.className = "category";
			m_table.rows[0].cells[2].firstChild.className = "category";
			m_table.rows[1].style.display = "";
			m_table.rows[2].style.display = "none";
			m_table.rows[3].style.display = "none";
			_whatsnew.resetMode();
			_whatsnew.getCategory("newvideos");
			m_lastComponent = _whatsnew;
		}
	
	this.getWhatsHot = function(id)
		{
			m_table.rows[0].cells[0].firstChild.className = "category";
			m_table.rows[0].cells[1].firstChild.className = "categoryCurrent";
			m_table.rows[0].cells[2].firstChild.className = "category";
			m_table.rows[1].style.display = "none";
			m_table.rows[2].style.display = "";
			m_table.rows[3].style.display = "none";
			_whatshot.resetMode();
			_whatshot.getCategory("hotvideos_1");
			m_lastComponent = _whatshot;
		}
	
	this.getTopRated = function()
		{
			m_table.rows[0].cells[0].firstChild.className = "category";
			m_table.rows[0].cells[1].firstChild.className = "category";
			m_table.rows[0].cells[2].firstChild.className = "categoryCurrent";
			m_table.rows[1].style.display = "none";
			m_table.rows[2].style.display = "none";
			m_table.rows[3].style.display = "";
			_toprated.resetMode();
			_toprated.getCategory("toprated");
			m_lastComponent = _toprated;
		}
}