// javaScript Funktionen für das Sozial Bookmarking
function sbOver(text) {
if (text == '') {
text = '...';
} else {
text='&nbsp;<strong>'+text+'</strong>';
}
document.getElementById('sbText').innerHTML=text;
}
function sbDo(was) {
sburl=encodeURIComponent(location.href);
sbtitle=encodeURIComponent(document.title);
switch(was) {
case 'delicious':
window.open('http://del.icio.us/post?url='+sburl+'&title='+sbtitle);
break;
case 'wong':
window.open('http://www.mister-wong.de/index.php?action=addurl&bm_url='+sburl+'&bm_description='+sbtitle);
break;
case 'blinkList':
window.open('http://www.blinklist.com/index.php?Action=Blink/addblink.php&Description=&Url='+sburl+'&Title='+sbtitle);
break;
case 'yahoo':
window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?u='+sburl+'&t='+sbtitle);
break;
case 'yigg':
window.open('http://yigg.de/neu?exturl='+sburl+'&exttitle='+sbtitle);
break;
case 'furl':
window.open('http://www.furl.net/storeIt.jsp?u='+sburl+'&t='+sbtitle);
break;
case 'oneview':
window.open('http://beta.oneview.de:80/quickadd/neu/addBookmark.jsf?URL='+sburl+'&title='+sbtitle);
break;
case 'folkd':
window.open('http://www.folkd.com/submit/page/'+sburl);
break;
case 'linkarena':
window.open('http://linkarena.com/bookmarks/addlink/?url='+sburl+'&title='+sbtitle+'&desc=&tags=');
break;
case 'google':
window.open('http://www.google.com/bookmarks/mark?op=add&hl=de&bkmk='+sburl+'&title='+sbtitle);
break;
case 'webnews':
window.open('http://www.webnews.de/einstellen?url='+sburl+'&title='+sbtitle);
break;
}
}
