// This JS library manages the hiding/showing of the Print and Add to My Save Articles links in the article tools section of an article page
$(document).ready(function() {
	// add print link
	$('#tools').prepend('<li class="print"><a href="#print" title="Print this news article">Print</a></li>');
	$('#tools li.print a').click(function() {
		window.print();
		return false;
	});
	
	// show hidden save link
	$('a.savelink').css("display","");
	
	// show share article list
	$('#shareArticle div#bookmarkList').hide();
	
	$('#shareArticle h3 a').toggle(function() {
		$('#shareArticle div#bookmarkList').fadeIn('slow', function(){
			$(this).addClass('showList');
		});
	}, function() {
		$('#shareArticle div#bookmarkList').fadeOut('slow', function(){
			$(this).removeAttr('class');
		});
	});
	
});