function articleShare(site,popUpUrl, title, description) {
  var repQ = /\?/;
  var encQ = '%3f';
  popUpUrl = popUpUrl.replace(repQ, encQ);
  
  switch (site) {
	case "digg":
		postPopUp('http://digg.com/remote-submit?phase=2&url=' + popUpUrl , 'digg', 'toolbar=0,status=0,height=450,width=650,scrollbars=yes,resizable=yes');
		break;
	case "delicious":
		postPopUp('http://del.icio.us/post?url=' + popUpUrl + '&title=' + title, 'delicious', 'toolbar=0,status=0,height=450,width=650,scrollbars=yes,resizable=yes');
		break;
	case "facebook":
		postPopUp('http://www.facebook.com/sharer.php?u=' + popUpUrl + '&t=' + title, 'facebook', 'toolbar=0,status=0,height=436,width=646,scrollbars=yes,resizable=yes');
		break;
	case "stumble":
		postPopUp('http://www.stumbleupon.com/submit?url=' + popUpUrl + '&title=' + title, 'stumble', 'toolbar=0,status=0,height=450,width=770,scrollbars=yes,resizable=yes');
		break;
	case "newsvine":
		postPopUp('http://www.newsvine.com/_tools/seed&save?u=' + popUpUrl + '&h=' + title, 'newsvine', 'toolbar=0,status=0,height=500,width=1000,scrollbars=yes,resizable=yes');
		break;			
	}
}

function postPopUp(url, name, params) {
	var win = window.open(url, name, params);
}