function classPortfolio() {
	this.m_oContentActive = '';
}

function portfolio_init() {
	
}

function portfolio_set_active_content (a_sObject) {
	// If object.
	if (oObject = document.getElementById(a_sObject)) {
		this.m_oContentActive = oObject;
	// Set as string.
	} else {
		this.m_oContentActive = a_sObject;
	}
}

function portfolio_show_content (a_sObject) {
	// If an object is selected.
	if (OBJ_isObject(this.m_oContentActive) && this.m_oContentActive.id != a_sObject) {
		this.m_oContentActive.style.display = 'none';
	// If a string.
	} else if (oObject = document.getElementById(this.m_oContentActive)) {
		oObject.style.display = 'none';
	}
	// Show the new object given.
	if (oObject = document.getElementById(a_sObject)) {
		oObject.style.display = 'block';
		this.m_oContentActive = oObject;
	}
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

classPortfolio.prototype.portfolio_init					= portfolio_init;
classPortfolio.prototype.portfolio_set_active_content	= portfolio_set_active_content;
classPortfolio.prototype.portfolio_show_content			= portfolio_show_content;

oClassPortfolio = new classPortfolio();
