function share(site) {
	var title = encodeURIComponent(document.title);
	var url = encodeURIComponent(location.href);
	
	switch(site) {
	
	case "delicious":
		sharePop('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=' + url + '&title=' + title, site, 'toolbar=0,status=0,height=450,width=650,scrollbars=yes,resizable=yes');
		break;
	
	case "digg":
		sharePop('http://digg.com/submit?phase=2&url=' + url + '&title=' + title, site, 'toolbar=0,status=0,height=750,width=1000,scrollbars=yes,resizable=yes');
		break;
	
	case "facebook":
		sharePop('http://www.facebook.com/sharer.php?u=' + url + '&t=' + title, site, 'toolbar=0,status=0,height=450,width=600,scrollbars=yes,resizable=yes');
		break;
	
	case "furl":
		sharePop('http://www.furl.net/store?s=f&to=0&u=' + url + '&t=' + title, site, 'toolbar=0,status=0,height=450,width=600,scrollbars=yes,resizable=yes');
		break;
	
	case "google":
		sharePop('http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=' + url + '&title=' + title, site, 'toolbar=0,status=0,height=450,width=600,scrollbars=yes,resizable=yes');
		break;
	
	case "reddit":
		sharePop('http://reddit.com/submit?url=' + url + '&title=' + title, site, 'toolbar=0,status=0,height=450,width=650,scrollbars=yes,resizable=yes');
		break;
	
	case "stumbleupon":
		sharePop('http://www.stumbleupon.com/submit?url=' + url + '&title=' + title, site, 'toolbar=0,status=0,height=600,width=850,scrollbars=yes,resizable=yes');
		break;
	
	case "windowslive":
		sharePop('https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=' + url + '&title=' + title, site, 'toolbar=0,status=0,height=400,width=350,scrollbars=yes,resizable=yes');
		break;

	case "yahoo":
		sharePop('http://myweb.yahoo.com/myresults/bookmarklet?u=' + url + '&t=' + title, site, 'toolbar=0,status=0,height=450,width=650,scrollbars=yes,resizable=yes');
		break;
	
	}

}

function sharePop(url, title, parameters) {
	window.open(url, title, parameters);
}
