function sbHint(pmText) {
	if (pmText == '') {
		pmText = '(bitte w&auml;hlen)';
	} else {
		pmText = '<strong>' + pmText + '</strong>';
	}
	document.getElementById("social_caption").innerHTML = pmText;
}
function sbBookmark(pmType) {
	window.open(sbCalcURL(pmType));
}

function sbCalcURL(pmType) {
	var url = encodeURIComponent(location.href);
	var title = encodeURIComponent(document.title);
	switch(pmType) {		
		case 'Wong':
			return 'http://www.mister-wong.de/index.php?action=addurl&amp;bm_url='+encodeURIComponent(location.href)+'&amp;bm_notice=&amp;bm_description='+encodeURIComponent(document.title)+'&amp;bm_tags=';
		case 'Webnews':
			return 'http://www.webnews.de/einstellen?url='+encodeURIComponent(document.location)+'&amp;title='+encodeURIComponent(document.title);
		case 'Icio':
			return 'http://www.icio.de/add.php?url='+encodeURIComponent(location.href);
		case 'Oneview':
			return 'http://www.oneview.de/quickadd/neu/addBookmark.jsf?URL='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title);
		case 'Linkarena':
			return 'http://linkarena.com/bookmarks/addlink/?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title)+'&amp;desc=&amp;tags=';
		case 'Favoriten':
			return 'http://www.favoriten.de/url-hinzufuegen.html?bm_url='+encodeURIComponent(location.href)+'&amp;bm_title='+encodeURIComponent(document.title);
		case 'Seekxl':
			return 'http://social-bookmarking.seekxl.de/?add_url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title);
		case 'Kledy':
			return 'http://www.kledy.de/submit.php?url='+(document.location.href);
		case 'Sbdk':
			return 'http://www.social-bookmarking.dk/bookmarks/?action=add&amp;title='+encodeURIComponent(document.title)+'&amp;address='+(document.location.href);
		case 'Boni':
			return 'http://www.bonitrust.de/account/bookmark/?bookmark_url='+ unescape(location.href);
		case 'Power':
			return 'http://www.power-oldie.com/';
		case 'Bookmarkscc':
			return 'http://www.bookmarks.cc/bookmarken.php?action=neu&amp;url='+(document.location.href)+'&amp;title='+(document.title);
		case 'Favit':
			return 'http://www.favit.de/submit.php?url='+(document.location.href);
		case 'Newsider':
			return 'http://www.newsider.de/submit.php?url='+(document.location.href);
		case 'Linksilo':
			return 'http://www.linksilo.de/index.php?area=bookmarks&amp;func=bookmark_new&amp;addurl='+encodeURIComponent(location.href)+'&amp;addtitle='+encodeURIComponent(document.title);
		case 'Readster':
			return 'http://www.readster.de/submit/?url='+encodeURIComponent(document.location)+'&amp;title='+encodeURIComponent(document.title);
		case 'Folkd':
			return 'http://www.folkd.com/submit/'+(dokument.location.href);
		case 'Yigg':
			return 'http://yigg.de/neu?exturl='+encodeURIComponent(location.href);
		case 'Digg':
			return 'http://digg.com/submit?phase=2&amp;url='+encodeURIComponent(location.href)+'&amp;bodytext=&amp;tags=&amp;title='+encodeURIComponent(document.title);
		case 'Del':
			return 'http://del.icio.us/post?v=2&amp;url='+encodeURIComponent(location.href)+'&amp;notes=&amp;tags=&amp;title='+encodeURIComponent(document.title);
		case 'Facebook':
			return 'http://www.facebook.com/sharer.php?u='+encodeURIComponent(location.href)+'&amp;t='+encodeURIComponent(document.title);
		case 'Reddit':
			return 'http://reddit.com/submit?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title);
		case 'Jumptags':
			return 'http://www.jumptags.com/add/?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title);
		case 'Simpy':
			return 'http://www.simpy.com/simpy/LinkAdd.do?title='+encodeURIComponent(document.title)+'&amp;tags=&amp;note=&amp;href='+encodeURIComponent(location.href);
		case 'Stumbleupon':
			return 'http://www.stumbleupon.com/submit?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title);
		case 'Slashdot':
			return 'http://slashdot.org/bookmark.pl?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title);
		case 'Propeller':
			return 'http://www.propeller.com/submit/?U='+encodeURIComponent(location.href)+'&amp;T='+encodeURIComponent(document.title);
		case 'Furl':
			return 'http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(location.href)+'&amp;keywords=&amp;t='+encodeURIComponent(document.title);
		case 'Yahoo':
			return 'http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encodeURIComponent(document.title)+'&amp;d=&amp;tag=&amp;u='+encodeURIComponent(location.href);
		case 'Spurl':
			return 'http://www.spurl.net/spurl.php?v=3&amp;tags=&amp;title='+encodeURIComponent(document.title)+'&amp;url='+encodeURIComponent(document.location.href);
		case 'Google':
			return 'http://www.google.com/bookmarks/mark?op=add&amp;hl=de&amp;bkmk='+encodeURIComponent(location.href)+'&amp;annotation=&amp;labels=&amp;title='+encodeURIComponent(document.title);
		case 'Blinklist':
			return 'http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Description=&amp;Tag=&amp;Url='+encodeURIComponent(location.href)+'&amp;Title='+encodeURIComponent(document.title);
		case 'Blogmarks':
			return 'http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url='+encodeURIComponent(location.href)+'&amp;content=&amp;public-tags=&amp;title='+encodeURIComponent(document.title);
		case 'Diigo':
			return 'http://www.diigo.com/post?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title)+'&amp;tag=&amp;comments=';
		case 'Technorati':
			return 'http://technorati.com/faves?add='+encodeURIComponent(location.href)+'&amp;tag=';
		case 'Newsvine':
			return 'http://www.newsvine.com/_wine/save?popoff=1&amp;u='+encodeURIComponent(location.href)+'&amp;tags=&amp;blurb='+encodeURIComponent(document.title);
		case 'Blinkbits':
			return 'http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;title='+encodeURIComponent(document.title)+'&amp;source_url='+encodeURIComponent(location.href)+'&amp;source_image_url=&amp;rss_feed_url=&amp;rss_feed_url=&amp;rss2member=&amp;body=';
		case 'Ma_gnolia':
			return 'http://ma.gnolia.com/bookmarklet/add?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title)+'&amp;description=&amp;tags=';
		case 'Smarking':
			return 'http://smarking.com/editbookmark/?url='+ location.href +'&amp;description=&amp;tags=';
		case 'Netvouz':
			return 'http://www.netvouz.com/action/submitBookmark?url='+encodeURIComponent(location.href)+'&amp;description=&amp;tags=&amp;title='+encodeURIComponent(document.title)+'&amp;popup=yes';
	}
}



