/**
* This script is public domain. Written by Christian Steimel www.C14L.com
* The script requires the jQuery library. Get it at www.jquery.com
* Top use this script do:
* 1. Load the javascript into your html document.
* 2. Add <div class="gl-socialbookmarks"></div> somewhere in the body part.
* 3. Optionally change the css-styles below.
*/

gl_style = 
"<style type='text/css'>" +
"div.gl-socialbookmarks { float:left; width:250px; margin:0 10px 0 0; padding:5px; text-align:center; border-right:1px solid #999; background:#fff; }" +
"div.gl-socialbookmarks img { width:20px; height:20px; margin:3px 5px; border:0; opacity:.5; }" +
"div.gl-socialbookmarks img:hover { width:26px; height:26px; margin:0 2px; border:0; opacity:1; }" +
"</style>";

var gl_adduri=new Array(); var gl_homeuri=new Array(); var gl_sitename=new Array();

gl_adduri[1]="http://www.mister-wong.de/index.php?action=addurl&bm_url="+encodeURIComponent(location.href)+"&bm_description="+encodeURIComponent(document.title)+"";
gl_adduri[2]="http://www.icio.de/add.php?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
gl_adduri[3]="http://www.folkd.com/page/submit/"+location.href+"";
gl_adduri[4]="http://www.yigg.de/neu?exturl="+encodeURIComponent(location.href)+"";
gl_adduri[5]="http://linkarena.com/bookmarks/addlink/?url="+encodeURIComponent(location.href)+"";
gl_adduri[6]="http://www.simpy.com/simpy/LinkAdd.do?href="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
gl_adduri[7]="http://del.icio.us/post?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
gl_adduri[8]="http://reddit.com/submit?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
gl_adduri[9]="http://digg.com/submit?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
gl_adduri[10]="http://www.furl.net/storeIt.jsp?u="+encodeURIComponent(location.href)+"&t="+encodeURIComponent(document.title)+"";
gl_adduri[11]="http://myweb2.search.yahoo.com/myresults/bookmarklet?t="+encodeURIComponent(document.title)+"u="+encodeURIComponent(location.href)+"";
gl_adduri[12]="http://www.spurl.net/spurl.php?v=3&title="+encodeURIComponent(document.title)+"&url="+encodeURIComponent(location.href)+"";
gl_adduri[13]="http://www.google.com/bookmarks/mark?op=add&hl=de&bkmk="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
gl_adduri[14]="http://de.blinklist.com/?Action=Blink/addblink.php&Name="+encodeURIComponent(document.title)+"&Url="+encodeURIComponent(location.href)+"";
gl_adduri[15]="http://www.blogmarks.net/my/marks,new?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
gl_adduri[16]="http://www.diigo.com/post?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
gl_adduri[17]="http://technorati.com/faves/seoportal?add="+encodeURIComponent(location.href)+"";
gl_adduri[18]="http://www.newsvine.com/_wine/save?u="+encodeURIComponent(location.href)+"";
gl_adduri[19]="http://www.blinkbits.com/bookmarklets/save.php?title="+encodeURIComponent(document.title)+"&source_url="+encodeURIComponent(location.href)+"";
gl_adduri[20]="http://ma.gnolia.com/bookmarklet/add?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
gl_adduri[21]="http://smarking.com/editbookmark/?url="+encodeURIComponent(location.href)+"";
gl_adduri[22]="http://www.netvouz.com/action/submitBookmark?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
gl_adduri[23]="http://www.webnews.de/einstellen?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
gl_adduri[24]="http://www.oneview.de/quickadd/neu/addBookmark.jsf?URL="+encodeURIComponent(location.href)+"&title="+ encodeURIComponent(document.title)+"";

gl_homeuri[1]="http://www.mister-wong.de";
gl_homeuri[2]="http://www.icio.de";
gl_homeuri[3]="http://www.folkd.com";
gl_homeuri[4]="http://www.yigg.de";
gl_homeuri[5]="http://www.linkarena.com";
gl_homeuri[6]="http://www.simpy.com";
gl_homeuri[7]="http://del.icio.us";
gl_homeuri[8]="http://reddit.com";
gl_homeuri[9]="http://digg.com";
gl_homeuri[10]="http://www.furl.net";
gl_homeuri[11]="http://bookmarks.yahoo.com";
gl_homeuri[12]="http://spurl.net";
gl_homeuri[13]="http://www.google.com/bookmarks";
gl_homeuri[14]="http://de.blinklist.com";
gl_homeuri[15]="http://www.blogmarks.net";
gl_homeuri[16]="http://www.diigo.com";
gl_homeuri[17]="http://www.technorati.com";
gl_homeuri[18]="http://www.newsvine.com";
gl_homeuri[19]="http://www.blinkbits.com";
gl_homeuri[20]="http://ma.gnolia.com";
gl_homeuri[21]="http://www.smarking.com";
gl_homeuri[22]="http://www.netvouz.com";
gl_homeuri[23]="http://www.webnews.de";
gl_homeuri[24]="http://www.oneview.de";

gl_sitename[1]="Mister Wong";
gl_sitename[2]="Icio";
gl_sitename[3]="Folkd";
gl_sitename[4]="Yigg";
gl_sitename[5]="LinkArena";
gl_sitename[6]="Simpy";
gl_sitename[7]="Delicious";
gl_sitename[8]="Reddit";
gl_sitename[9]="Digg";
gl_sitename[10]="Furl";
gl_sitename[11]="Yahoo! Bookmarks";
gl_sitename[12]="Spurl.net";
gl_sitename[13]="Google Bookmarks";
gl_sitename[14]="Blinklist";
gl_sitename[15]="Blogmarks.net";
gl_sitename[16]="Diigo";
gl_sitename[17]="Technorati";
gl_sitename[18]="Newsvine";
gl_sitename[19]="Blinkbits";
gl_sitename[20]="Magnolia";
gl_sitename[21]="Smarking";
gl_sitename[22]="Netvouz";
gl_sitename[23]="Webnews";
gl_sitename[24]="OneView";

$(document).ready(function(){
$('head').append(gl_style);
for (var i=1; i<gl_sitename.length; i++){
$('div.gl-socialbookmarks').append(
'<a href="' + gl_adduri[i] + '" title="Bookmark at ' + gl_sitename[i] + '..." target="_blank">' +
'<img src="/img/icons/socialbookmarks/' + i + '.gif" style="">' +
'</a>');
}});


