function addBookmark() {
	if(document.all) { window.external.AddFavorite(location.href,document.title); } else if (window.sidebar) { window.sidebar.addPanel(document.title,location.href,''); } else { alert('You\'re browser does not support this feature. Try pressing Control-D (or Command-D in Safari).'); }
}
$(document).ready(function() {
	$('.endnote').click(function() {
		$('div.endnotes li').css({ 'background-color' : 'transparent' });
		$($(this).attr('href')).css({ 'background-color' : '#e0e0e0' });
	});
	$('#nav li').hover(
		function() {
			$(this).animate({ 'top' : '3px' }, 'fast');
		},
		function() {
			$(this).animate({ 'top' : '0px' }, 'fast');
		}
	);
});
