// only display social networking buttons if javascript is enabled

try
{
document.getElementById("socialBookmarks").style.display = "";
}catch(er){}

function facebook_click() 
{
	u=location.href;
	t=document.title;
	window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','scrollbars=1,toolbar=0,status=0,width=800,height=600');
	return false;
}

function twitter_click()
{
	u=location.href;
	t=document.title;
	window.open('http://twitter.com/home?status=Currently+reading+'+encodeURIComponent(u),'sharer','scrollbars=1,toolbar=0,status=0,width=800,height=600');
	return false;
}

function digg_click(bodytext)
{
	u=location.href;
	t=document.title;
	window.open('http://digg.com/submit?url='+encodeURIComponent(u)+'&amp;title='+encodeURIComponent(t)+'&amp;bodytext='+encodeURIComponent(bodytext)+'&amp;media=news&amp;topic=educational','sharer','scrollbars=1,toolbar=0,status=0,width=800,height=600');
	return false;
}

function delicious_click()
{
	u=location.href;
	t=document.title;
	window.open('http://delicious.com/save?v=5&amp;noui&amp;jump=close&amp;url='+encodeURIComponent(u)+'&title='+encodeURIComponent(t),'sharer','scrollbars=1,toolbar=0,status=0,width=800,height=600');
	return false;
}

function stumbleupon_click()
{
	u=location.href;
	t=document.title;
	window.open('http://www.stumbleupon.com/submit?url='+encodeURIComponent(u)+'&title='+encodeURIComponent(t),'sharer','scrollbars=1,toolbar=0,status=0,width=800,height=600');
	return false;	
}
