//Description değerleri için sistem üzerinde id parametreli bir elementin içine atanması gerekmektedir.
// Yalnız facebook için bu tanımlama <meta name="description" ... kısmından alınmaktadır.
function f_share (share) {
	var url = encodeURIComponent(window.location.href);
	var title = encodeURIComponent(document.title);
	var description = encodeURIComponent(getElement('description').innerHTML);
	switch (share){
		case 'facebook':
		openWindow('http://www.facebook.com/sharer.php?u=' + url + '&t=' + title , share, 'toolbar=0,status=0,height=436,width=646,scrollbars=yes,resizable=yes');
		break;
		case 'delicious':
		openWindow('http://del.icio.us/post?url=' + url + '&title=' + title + '&bodytext=' + description, share, 'toolbar=0,status=0,height=400,width=700,scrollbars=yes,resizable=no');
		break;
		case 'digg':
		openWindow('http://digg.com/remote-submit?phase=2&url=' + url + '&title=' + title + '&bodytext=' + description, 'digg', 'toolbar=0,status=0,height=450,width=650,scrollbars=yes,resizable=yes');
		break;
	}
}