(function()
{
var PATH = templateurl+"images/lesezeichen/";
var socialID= new Array();
var socialURL= new Array();
var SocialBildtext= new Array();
socialID[1]="1";
socialID[2]="2";
socialID[3]="3";
socialID[4]="4";
socialID[5]="5";
socialID[6]="6";
socialID[7]="7";
socialID[8]="8";
socialID[9]="9";
socialID[10]="10";
socialID[11]="11";
socialID[12]="12";
socialID[13]="13";
socialID[14]="14";
socialID[15]="15";
socialID[16]="16";
socialID[17]="17";
socialID[18]="18";
socialID[19]="19";
socialID[20]="20";
socialID[21]="21";
socialID[22]="22";
socialID[22]="23";
socialURL[1]="http://www.mister-wong.de/index.php?action=addurl&bm_url="+encodeURIComponent(location.href)+"&bm_description="+encodeURIComponent(document.title)+"";
socialURL[2]="http://www.icio.de/add.php?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
socialURL[3]="http://www.folkd.com/page/submit/"+location.href+"";
socialURL[4]="http://www.yigg.de/neu?exturl="+encodeURIComponent(location.href)+"";
socialURL[5]="http://linkarena.com/bookmarks/addlink/?url="+encodeURIComponent(location.href)+"";
socialURL[6]="http://www.simpy.com/simpy/LinkAdd.do?href="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
socialURL[7]="http://del.icio.us/post?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
socialURL[8]="http://reddit.com/submit?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
socialURL[9]="http://digg.com/submit?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
socialURL[10]="http://www.furl.net/storeIt.jsp?u="+encodeURIComponent(location.href)+"&t="+encodeURIComponent(document.title)+"";
socialURL[11]="http://myweb2.search.yahoo.com/myresults/bookmarklet?t="+encodeURIComponent(document.title)+"u="+encodeURIComponent(location.href)+"";
socialURL[12]="http://www.spurl.net/spurl.php?v=3&title="+encodeURIComponent(document.title)+"&url="+encodeURIComponent(location.href)+"";
socialURL[13]="http://www.google.com/bookmarks/mark?op=add&hl=de&bkmk="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
socialURL[14]="http://de.blinklist.com/?Action=Blink/addblink.php&Name="+encodeURIComponent(document.title)+"&Url="+encodeURIComponent(location.href)+"";
socialURL[15]="http://www.blogmarks.net/my/marks,new?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
socialURL[16]="http://www.facebook.com/sharer.php?u="+encodeURIComponent(location.href)+"&t="+encodeURIComponent(document.title)+"";
socialURL[17]="http://technorati.com/faves/seoportal?add="+encodeURIComponent(location.href)+"";
socialURL[18]="http://www.newsvine.com/_wine/save?u="+encodeURIComponent(location.href)+"";
socialURL[19]="http://www.blinkbits.com/bookmarklets/save.php?title="+encodeURIComponent(document.title)+"&source_url="+encodeURIComponent(location.href)+"";
socialURL[20]="http://ma.gnolia.com/bookmarklet/add?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
socialURL[21]="http://smarking.com/editbookmark/?url="+encodeURIComponent(location.href)+"";
socialURL[22]="http://www.netvouz.com/action/submitBookmark?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title)+"";
socialURL[23]="http://www.webnews.de/einstellen?url="+encodeURIComponent(location.href)+"&amp;title="+encodeURIComponent(document.title)+"";
SocialBildtext[1]="Mister Wong";
SocialBildtext[2]="Icio";
SocialBildtext[3]="folkd.com";
SocialBildtext[4]="Yigg";
SocialBildtext[5]="LinkArena";
SocialBildtext[6]="Simpy.com";
SocialBildtext[7]="del.icio.us";
SocialBildtext[8]="Reddit.com";
SocialBildtext[9]="Digg";
SocialBildtext[10]="furl.net";
SocialBildtext[11]="Yahoo MyWeb";
SocialBildtext[12]="Spurl";
SocialBildtext[13]="Google";
SocialBildtext[14]="BlinkList";
SocialBildtext[15]="Blogmarks.net";
SocialBildtext[16]="Facebook";
SocialBildtext[17]="Technorati";
SocialBildtext[18]="Newsvine.com";
SocialBildtext[19]="blinkbits.com";
SocialBildtext[20]="gnolia.com";
SocialBildtext[21]="Smarking.com";
SocialBildtext[22]="netvouz.com";
SocialBildtext[23]="Webnews";


var Setting=socials.split("||");
var Dienste=Setting[0].split(",");

var Anzahl;
Anzahl = Setting[1];

var Div = "<div style=\"position:relative; width:"+(Anzahl * 22) +"px; \">\n";
var Bilderliste="";
for (var i=0;i <=Dienste.length-1;i++){
if (i % Anzahl == 0 && i > 0) { Bilderliste += "</td>\n</tr>\n<tr>\n<td valign=\"top\">"; }
Bilderliste += "<a rel=\"nofollow\" href=\""+ socialURL[Dienste[i]] +"\" target=\"_blank\"><img src=\""+ PATH + Dienste[i] +".gif\" alt=\""+SocialBildtext[Dienste[i]]+"\" title=\""+SocialBildtext[Dienste[i]]+"\"width=\"20px\" height=\"20px\" border=\"0\"></a>";
}

var Table="";
Table+="<table width=\"100%\" style=\"border: 0px;\">\n";
Table+="<tr>\n";
Table+="<td valign=\"top\">"+Bilderliste+"</td>\n";
Table+="</tr>\n";
Table+="</table>\n";


var Output=Div+Table+"</div>";

document.write(Output);
})();

