var imgpath = "bookmark/";//ADD trailing slash
var sburl = encodeURIComponent(location.href);
var sbtitle = encodeURIComponent(document.title);

if( bmlang == "de" ) {
        var txtsite = "Diese Seite bei";
        var txtenter = " bookmarken.";

        var facebook_com = "location.href='http://de.facebook.com/sharer.php?u='+sburl+'&t='+sbtitle;return false";
        var myspace_com = "location.href='http://www.myspace.com/index.cfm?fuseaction=postto&amp;u='+sburl+'&t='+sbtitle;return false";
        var misterwong_de = "location.href='http://www.mister-wong.de/index.php?action=addurl&amp;bm_url='+sburl+'&amp;bm_description='+sbtitle;return false";
        var delicio_us = "location.href='http://del.icio.us/post?v=2&url='+sburl+'&title='+sbtitle;return false";
        var google_com = "location.href='http://www.google.com/bookmarks/mark?op=add&hl=de&bkmk='+sburl+'&title='+sbtitle;return false";
        var stumbleupon_com = "location.href='http://www.stumbleupon.com/submit?url='+sburl+'&title='+sbtitle;return false";
        var yahoo_com = "location.href='http://de.myweb2.search.yahoo.com/myresults/bookmarklet?t='+sbtitle+'&u='+sburl;return false";
        var yigg_de = "location.href='http://yigg.de/neu?exturl='+sburl;return false";
        var alltagz_de = "location.href='http://www.alltagz.de/bookmarks/?action=add&address='+sburl+'&title='+sbtitle;return false";
        var oneview_de = "location.href= 'http://www.oneview.de/quickadd/neu/addBookmark.jsf?URL=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title);return false";

        document.write('<a href="http://de.facebook.com/" rel="nofollow" onClick="' + facebook_com +'" title="' + txtsite +' facebook.com' + txtenter +'"><img src="' + imgpath +'facebook.gif" alt="' + txtsite +' facebook.com' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://www.myspace.com/" rel="nofollow" onClick="' + myspace_com +'" title="' + txtsite +' www.myspace.com' + txtenter +'"><img src="' + imgpath +'myspace.gif" alt="' + txtsite +' myspace.com' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://www.mister-wong.de/" rel="nofollow" onClick="' + misterwong_de +'" title="' + txtsite +' www.mister-wong.de' + txtenter +'"><img src="' + imgpath +'misterwong.gif" alt="' + txtsite +' Mister Wong' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://del.icio.us/" rel="nofollow" onClick="' + delicio_us +'" title="' + txtsite +' del.ico.us' + txtenter +'"><img src="' + imgpath +'delicio.gif" alt="' + txtsite +' del.ico.us' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://www.google.com/" rel="nofollow" onClick="' + google_com +'" title="' + txtsite +' google.com' + txtenter +'"><img src="' + imgpath +'google.gif" alt="' + txtsite +' google.com' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://www.stumbleupon.com/" rel="nofollow" onClick="' + stumbleupon_com +'" title="' + txtsite +' stumbleupon.com' + txtenter +'"><img src="' + imgpath +'stumbleupon.gif" alt="' + txtsite +' stumbleupon.com' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://de.myweb2.search.yahoo.com/" rel="nofollow" onClick="' + yahoo_com +'" title="' + txtsite +' yahoo.com' + txtenter +'"><img src="' + imgpath +'yahoo.gif" alt="' + txtsite +' yahoo.com' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://yigg.de/" rel="nofollow" onClick="' + yigg_de +'" title="' + txtsite +' yigg.de' + txtenter +'"><img src="' + imgpath +'yigg.gif" alt="' + txtsite +' yigg.de' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://www.alltagz.de/" rel="nofollow" onClick="' + alltagz_de +'" title="' + txtsite +' alltagz.de' + txtenter +'"><img src="' + imgpath +'alltagz.gif" alt="' + txtsite +' alltagz.de' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://oneview.de/" rel="nofollow" onClick="' + oneview_de +'" title="' + txtsite +' oneview.de' + txtenter +'"><img src="' + imgpath +'oneview.gif" alt="' + txtsite +' oneview.de' + txtenter +'" border="0"></a> ')

}
else {
        var txtsite = "Bookmark this site at";
        var txtenter = ".";

        var facebook_com = "location.href='http://facebook.com/sharer.php?u='+sburl+'&t='+sbtitle;return false";
        var delicio_us = "location.href='http://del.icio.us/post?v=2&url='+sburl+'&title='+sbtitle;return false";
        var digg_com = "location.href='http://digg.com/submit?phase=2&url='+sburl+'&title='+sbtitle;return false";
        var blinklist_com = "location.href='http://www.blinklist.com/index.php?Action=Blink/addblink.php&Description=&Url='+sburl+'&Title='+sbtitle;return false";
        var google_com = "location.href='http://www.google.com/bookmarks/mark?op=add&hl=de&bkmk='+sburl+'&title='+sbtitle;return false";
        var yahoo_com = "location.href='http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+sbtitle+'&u='+sburl;return false";
        var reddit_com = "location.href='http://reddit.com/submit?url='+sburl+'&title='+sbtitle;return false";
        var stumbleupon_com = "location.href='http://www.stumbleupon.com/submit?url='+sburl+'&title='+sbtitle;return false";
        var folkd_com = "location.href='http://www.folkd.com/submit/page/'+sburl;return false";
        var linkarena_com = "location.href='http://linkarena.com/bookmarks/addlink/?url='+sburl+'&title='+sbtitle+'&desc=BESCHEIBUNG&tags=TAGS';return false";

        document.write('<a href="http://facebook.com/" rel="nofollow" onClick="' + facebook_com +'" title="' + txtsite +' facebook.com' + txtenter +'"><img src="' + imgpath +'facebook.gif" alt="' + txtsite +' facebook.com' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://del.icio.us/" rel="nofollow" onClick="' + delicio_us +'" title="' + txtsite +' del.ico.us' + txtenter +'"><img src="' + imgpath +'delicio.gif" alt="' + txtsite +' del.ico.us' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://digg.com/" rel="nofollow" onClick="' + digg_com +'" title="' + txtsite +' digg.com' + txtenter +'"><img src="' + imgpath +'digg.gif" alt="' + txtsite +' digg.com' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://www.blinklist.com/" rel="nofollow" onClick="' + blinklist_com +'" title="' + txtsite +' blinklist.com' + txtenter +'"><img src="' + imgpath +'blinklist.gif" alt="' + txtsite +' blinklist.com' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://www.google.com/" rel="nofollow" onClick="' + google_com +'" title="' + txtsite +' google.com' + txtenter +'"><img src="' + imgpath +'google.gif" alt="' + txtsite +' google.com' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://www.yahoo.com/" rel="nofollow" onClick="' + yahoo_com +'" title="' + txtsite +' yahoo.com' + txtenter +'"><img src="' + imgpath +'yahoo.gif" alt="' + txtsite +' yahoo.com' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://reddit.com/" rel="nofollow" onClick="' + reddit_com +'" title="' + txtsite +' www.reddit.com' + txtenter +'"><img src="' + imgpath +'reddit.gif" alt="' + txtsite +' www.reddit.com' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://www.stumbleupon.com/" rel="nofollow" onClick="' + stumbleupon_com +'" title="' + txtsite +' stumbleupon.com' + txtenter +'"><img src="' + imgpath +'stumbleupon.gif" alt="' + txtsite +' stumbleupon.com' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://www.folkd.com/" rel="nofollow" onClick="' + folkd_com +'" title="' + txtsite +' www.folkd.com' + txtenter +'"><img src="' + imgpath +'folkd.gif" alt="' + txtsite +' folkd' + txtenter +'" border="0"></a> ')
        document.write('<a href="http://www.linkarena.com/" rel="nofollow" onClick="' + linkarena_com +'" title="' + txtsite +' www.linkarena.com' + txtenter +'"><img src="' + imgpath +'linkarena.gif" alt="' + txtsite +' www.linkarena.com' + txtenter +'" border="0"></a> ')

}
