function showTool(ename,color){
      document.getElementById('article_box').style.display = 'none';  
      document.getElementById('print_box').style.display = 'none';  
      document.getElementById('email_box').style.display = 'none';   
      document.getElementById('bookmark_box').style.display = 'none';   
      document.getElementById(ename).style.display = 'block';    
      document.getElementById(ename).style.background = color;    
}

function toolSocial(url) {
	sburl=encodeURIComponent(location.href);
	sbtitle=encodeURIComponent(document.title);
	switch(url) {		
		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 '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;
	}
}

function bookBrowser() {
    burl=location.href;
    btitle=document.title;
	
    if (window.sidebar) { // mozilla
          window.sidebar.addPanel(btitle, burl,"");
    } else if( document.all ) { //MSIE
            window.external.AddFavorite( burl, btitle);
    } else {
		alert('Bitte fügen Sie den Link manuell zu den Lesezeichen hinzu.');
    }
}
