function deliciousLink() {
	var title=document.title;
	var url = document.URL;

	window.open('http://delicious.com/save?v=5&amp;noui&amp;jump=close&amp;url='+encodeURIComponent(url)+'&amp;title='+encodeURIComponent(title), 'delicious', 'toolbar=no,width=550,height=550');
}

function diggLink() {
	var title = document.title;
	var url = document.URL;

	// digg only accepts a 75 char title... if we're over that trim it down
	if (title.length>75) {
		title = title.substring(0,71);
		title += "...";
	}

	window.open("http://digg.com/submit?url="+url+"&title="+title+"&bodytext=&media=news&topic=software", 'digg', 'width=1000,height=700');
}

function twitterLink() {
	var title = "Check out eduTecher.net @";
	var url = document.URL;
	var status = title + " " + url;
	// twitter accepts a 140 char status... if we're over that trim it down
	if (status.length>140) {
		title = title.substring(0,(status.length-url.length+4)); // leave 3 spaces for ... and 1 for space
		title += "...";
		status = title + " " + url;
	}

	window.open('http://twitter.com/home?status='+encodeURIComponent(status), 'twitter', 'width=800,height=600');
}

function facebookLink() {
	var title = document.title;
	var url = document.URL;
	
	window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(url)+'&t='+encodeURIComponent(title), 'facebook','toolbar=no,width=626,height=436');
}

function stumbleuponLink() {
	var title = document.title;
	var url = document.URL;
	
	window.open('http://www.stumbleupon.com/submit?url='+encodeURIComponent(url)+'&title='+encodeURIComponent(title), 'stumbleupon','width=1000,height=700');
}

function diigoLink() {
	var title = document.title;
	var url = document.URL;
	
	window.open('http://www.diigo.com/post?url='+encodeURIComponent(url), 'diigo', 'width=1000,height=700');
}

function youtube() {
	var username = "edutecher";
	
	window.open('http://www.youtube.com/subscription_center?add_user='+encodeURIComponent(username), 'youtube', 'width=1000,height=700');
}

function linkedin() {
	
	window.open('http://www.linkedin.com/ppl/webprofile?action=ctu&id=23725321&pvs=pp&authToken=tYVO&authType=name&trk=ppro_getintr&lnk=cnt_dir', 'linkedin', 'width=1000,height=700');
}