$(document).bind('ready', function(){
	$('#header ul li.prev a, #header ul li.next a').bind('click', function(){
		var current = parseInt($('#header ul li.text span').text());
		if($(this).closest('li').is('.prev')){
			if(current>2006) current--;
		}else if($(this).closest('li').is('.next')){
			if(current<2008) current++;
		}
		$('#header ul li.text a')
			.attr('href', current+'/')
			.find('span')
				.text(current);
		return false;
	});
});