var KB_CONTENT_AREA = function () {
	this.docs_container_first_time = getElement( 'docs_container_first_time' );
	this.docs_container = getElement( 'docs_container' );
	this.tree_active_container = getElement( "tree_active_container" );
	this.cur_page_name = getElement( "cur_page_name_container" );
}
KB_CONTENT_AREA.prototype.showContent = function () {
	if( this.docs_container_first_time && this.docs_container ) {
		this.docs_container_first_time.style.display = 'none';
		this.docs_container.style.display = 'block';
		var all_other_container;
		if( all_other_container = getElement( 'all_other_container' ) )
			return all_other_container;
		else
			return false;
		}
	else return false;
	}
KB_CONTENT_AREA.prototype.showIntro = function () {
	if( this.docs_container_first_time && this.docs_container ) {
		this.docs_container_first_time.style.display = 'block';
		this.docs_container.style.display = 'none';
		return this.docs_container_first_time;
		}
	else return false;
	}	
KB_CONTENT_AREA.prototype.showTreeActive = function (pp_id) {
	KB_SERVER_OBJ.loadFragmentInToElement( "/scripts/for_KBtreeActive.php?pp_id=" + pp_id + ( KB_cur_bookmark ? "&bokm_id=" + KB_cur_bookmark : "" ) , this.tree_active_container, "<small class=gray>" + KB_lang[ "loading" ] + "</small>" ); 				
	return true;
}	
KB_CONTENT_AREA.prototype.showCurPageName = function () {
	this.cur_page_name.innerHTML = getElement( "for_cur_page_name_container" ).innerHTML;
	return true;
}	
		
		
		
