function shareFb() {
	var params = 'width=500,height=500,menubar=0,status=0,toolbar=0,resizeable=0,scrollbars=0';	
	var url = encodeURIComponent(window.location.href.replace('#/?id=','&id='));
	var w = window.open('http://www.facebook.com/sharer.php?u='+url,'Facebook Share',params);
	w.moveTo($(window).width() / 2 - 250,$(window).height() / 2 - 200)
}

function shareTweet() {
	var params = 'width=500,height=500,menubar=0,status=0,toolbar=0,resizeable=0,scrollbars=0';
	var url = encodeURIComponent(window.location.href.replace('#/?id=','&id='));
	var w = window.open('http://twitter.com/share?url='+url,'Tweet',params);
	w.moveTo($(window).width() / 2 - 250,$(window).height() / 2 - 200)
}

function shareDigg(){
	var params = 'width=1000,height=600,menubar=0,status=0,toolbar=0,resizeable=0,scrollbars=0';
	var url = encodeURIComponent(window.location.href.replace('#/?id=','&id='));
	var w = window.open('http://www.digg.com/submit?phase=2&url='+url,'Digg',params);
	w.moveTo($(window).width() / 2 - 250,$(window).height() / 2 - 200)
}
