dn = location.href + '/';
dn = dn.substr(dn.indexOf('://') + 3);
dn = dn.substr(0, dn.indexOf('/'));

function add(s) {
 url='';

 if (s == 'bobrdobr') url = 'http://bobrdobr.ru/addext.html?url=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title);
 if (s == 'memori') url='http://memori.ru/link/?sm=1&u_data[url]=' + encodeURIComponent(location.href) + '&u_data[name]=' + encodeURIComponent(document.title);
 if (s == 'mister-wong') url = 'http://www.mister-wong.ru/index.php?action=addurl&bm_url=' + encodeURIComponent(location.href) + '&bm_description=' + encodeURIComponent(document.title);
 if (s == 'moemesto') url = 'http://moemesto.ru/post.php?url=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title);
 if (s == 'yandex') url = 'http://zakladki.yandex.ru/userarea/links/addfromfav.asp?bAddLink_x=1&lurl=' + encodeURIComponent(location.href) + '&lname=' + encodeURIComponent(document.title);
 if (s == 'myscoop') url = 'http://myscoop.ru/add/?URL=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title);
 if (s == 'delicious') url = 'http://del.icio.us/post?v=4&noui&jump=close&url=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title);
 if (s == 'ruspace') url = 'http://www.ruspace.ru/index.php?link=bookmark&action=bookmarkNew&bm=1&url=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title);
 if (s == 'google') url = 'http://www.google.com/bookmarks/mark?op=add&bkmk=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title);
 if (s == 'news2') url = 'http://news2.ru/add_story.php?url=' + encodeURIComponent(location.href);
 if (s == 'vaau') url = 'http://www.vaau.ru/submit/?action=step2&url=' + encodeURIComponent(location.href);
 if (s == 'slashdot') url = 'http://www.slashdot.org/bookmark.pl?url=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title);
 if (s == 'yahoomyweb') url = 'http://myweb2.search.yahoo.com/myresults/bookmarklet?u=' + encodeURIComponent(location.href) + '&t=' + encodeURIComponent(document.title);
 if (s == 'technorati') url = 'http://technorati.com/faves?add=' + encodeURIComponent(location.href);
 if (s == 'digg') url = 'http://digg.com/submit?url=' + encodeURIComponent(location.href);

 if (url.length > 0) {
  dtgo = setTimeout('dgo()', 100);
  scr = document.createElement('script');
  scr.type = 'text/javascript';
  document.body.appendChild(scr);
 }
}

function dgo() {
 if (dtgo) clearTimeout(dtgo);
 if (url) location.href = url;
}

imgs = 'width: 16px; height: 16px; border: 0;';

document.write('&nbsp;&nbsp;&nbsp;<a href="#" onclick="add(\'bobrdobr\');"><img src="pic/bookmarks/bobr.gif" style="vertical-align:top;border:0px;" title="Забобрить!" /></a>&nbsp;&nbsp;&nbsp;'
+'<a href="#" onclick="add(\'memori\');"><img src="pic/bookmarks/memori.gif" style="vertical-align:top;border:0px;" title="В мемори" /></a>&nbsp;&nbsp;&nbsp;'
+'<a href="#" onclick="add(\'mister-wong\');"><img src="pic/bookmarks/wong.gif" style="vertical-align:top;border:0px;" title="Мистер Вонг" /></a>&nbsp;&nbsp;&nbsp;'
+'<a href="#" onclick="add(\'moemesto\');"><img src="pic/bookmarks/moe.gif" style="vertical-align:top;border:0px;" title="Мое место" /></a>&nbsp;&nbsp;&nbsp;'
+'<a href="#" onclick="add(\'yandex\');"><img src="pic/bookmarks/yandex.gif" style="vertical-align:top;border:0px;" title="Яндекс.Закладки" /></a>&nbsp;&nbsp;&nbsp;'
+'<a href="#" onclick="add(\'ruspace\');"><img src="pic/bookmarks/ruspace.gif" style="vertical-align:top;border:0px;" title="RuSpace" /></a>&nbsp;&nbsp;&nbsp;'
+'<a href="#" onclick="add(\'myscoop\');"><img src="pic/bookmarks/myscoop.gif" style="vertical-align:top;border:0px;" title="MyScoop" /></a>&nbsp;&nbsp;&nbsp;'
+'<a href="#" onclick="add(\'delicious\');"><img src="pic/bookmarks/delic.gif" style="vertical-align:top;border:0px;" title="Delicious" /></a>&nbsp;&nbsp;&nbsp;'
+'<a href="#" onclick="add(\'google\');"><img src="pic/bookmarks/google.gif" style="vertical-align:top;border:0px;" title="Google" /></a>&nbsp;&nbsp;&nbsp;'
+'<a href="#" onclick="add(\'news2\');"><img src="pic/bookmarks/news2.gif" style="vertical-align:top;border:0px;" title="News 2" /></a>&nbsp;&nbsp;&nbsp;'
+'<a href="#" onclick="add(\'vaau\');"><img src="pic/bookmarks/vaau.gif" style="vertical-align:top;border:0px;" title="Ваау" /></a>&nbsp;&nbsp;&nbsp;'
+'<a href="#" onclick="add(\'slashdot\');"><img src="pic/bookmarks/slashdot.gif" style="vertical-align:top;border:0px;" title="SlashDot" /></a>&nbsp;&nbsp;&nbsp;'
+'<a href="#" onclick="add(\'yahoomyweb\');"><img src="pic/bookmarks/yahoomyweb.gif" style="vertical-align:top;border:0px;" title="YahooMyWeb" /></a>&nbsp;&nbsp;&nbsp;'
+'<a href="#" onclick="add(\'technorati\');"><img src="pic/bookmarks/technorati.gif" style="vertical-align:top;border:0px;" title="Technorati" /></a>&nbsp;&nbsp;&nbsp;'
+'<a href="#" onclick="add(\'digg\');"><img src="pic/bookmarks/digg.gif" style="vertical-align:top;border:0px;" title="Digg" /></a>&nbsp;&nbsp;&nbsp;');