function changePostText(target) {
	if ($('post-target')) {
		$('post-target').set('text', target);
	}
}

function SendToMySpace() {
	// Modified to send the current page's info along
    var targetUrl = 'http://www.myspace.com/index.cfm?fuseaction=postto&' + 't=' + encodeURIComponent(document.title) + '&c=&u=' + encodeURIComponent(location.href) + '&l='; 
    window.open(targetUrl);
    return false;
}

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

function SendToStumbleUpon() {
	window.open('http://www.stumbleupon.com/submit?url=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(location.href));
	return false;
}

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

function SendToLiveSpaces() {
	window.open('http://spaces.live.com/BlogIt.aspx?Title=' + encodeURIComponent(document.title) + '&SourceURL=' + encodeURIComponent(location.href) + '&description=');
	return false;
}

function SendToDigg() {
	window.open('http://digg.com/submit?url=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title));
	return false;
}

function SendToReddit() {
	window.open('http://reddit.com/submit?url=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title));
	return false;
}

function SendToMixx() {
	window.open('http://www.mixx.com/submit?page_url=' + location.href);
	return false;
}