function component_BlogIndexList(auto_id)
{
	this.DOMConstruct('BlogIndexList', auto_id);
	
	var handler = this;
	
	this.references = [];
	
	this.delegates = {
	};
}

component_BlogIndexList.prototype =
	new SK_ComponentHandler({
		
		construct : function(){
			var handler = this;

			this.$('#latest a').bind( 'click', function(){
				handler.$('#latest').addClass('active');
				handler.$('#latest a').addClass('active');				
				handler.$('#popular').removeClass('active');
				handler.$('#popular a').removeClass('active');		
				handler.$('#popular_cont').hide();
				handler.$('#latest_cont').show();
			} );
			
			this.$('#popular a').bind( 'click', function(){
				handler.$('#popular').addClass('active');
				handler.$('#popular a').addClass('active');
				handler.$('#latest').removeClass('active');
				handler.$('#latest a').removeClass('active');				
				handler.$('#latest_cont').hide();
				handler.$('#popular_cont').show();
			} );
		}
	});