var BlogContent = new Class
(
	{
		Extends: StaticContent,
		
		name: "",
		
		initialize: function(xml)
		{
			
			 
			
			this.parent(xml);
			this.name = xml.name;
			
			
		},
		
		
		init: function(){
		
			this.parent();
			
			
			this.addEvent('loaded',this.ReplaceLinks)
			
			
		},
		
		
		ReplaceLinks: function(){
			
			
			
			jQuery('#'+this.target+' a').click(
				function(e)
				{	
					 
					jQuery(e.target).attr('href',  jQuery(e.target).attr('href').split('?').join('#go='+this.name+'&'));
					
					 
				}.bind(this) 
			)
 
		}
		
		
		
		
		
	}
)
