
active_post_link = null;

jQuery(document).ready(function(){
	jQuery(".postlink").click(
		function(event){
			if (active_post_link != null) {
				jQuery(active_post_link).removeClass('active-post');
			}
			
			active_post_link = this;
			
			jQuery(this).addClass('active-post');
			
			return true;
		}
	);
});
 
function showPost(postId) {
	jQuery("#content-holder").load(
		"/news/post-only/" + postId
	);
}

