okdv=true;
okos=false;
okto=false;
oktgo=false;
okurl=false;
okdn=location.href+'/';
okdn=okdn.substr(okdn.indexOf('://')+3);
okdn=okdn.substr(0,okdn.indexOf('/'));
function okh() {
okos.visibility='hidden';
}
function okadd(s) {
okurl='';
if (s=='bobrdobr') okurl='http://bobrdobr.ru/addext.html?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);
if (s=='memori') okurl='http://memori.ru/link/?sm=1&u_data[url]='+encodeURIComponent(location.href)+'&u_data[name]='+encodeURIComponent(document.title);
if (s=='mister-wong') okurl='http://www.mister-wong.ru/index.php?action=addurl&bm_url='+encodeURIComponent(location.href)+'&bm_description='+encodeURIComponent(document.title);
if (s=='moemesto') okurl='http://moemesto.ru/post.php?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);
if (s=='yandex') okurl='http://zakladki.yandex.ru/userarea/links/addfromfav.asp?bAddLink_x=1&lurl='+encodeURIComponent(location.href)+'&lname='+encodeURIComponent(document.title);
if (s=='rumarkz') okurl='http://rumarkz.ru/bookmarks/?action=add&popup=1&address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);
if (s=='myscoop') okurl='http://myscoop.ru/add/?URL='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);
if (s=='100zakladok') okurl='http://www.100zakladok.ru/save/?bmurl='+encodeURIComponent(location.href)+'&bmtitle='+encodeURIComponent(document.title);
if (s=='delicious') okurl='http://del.icio.us/post?v=4&noui&jump=close&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);
if (s=='ruspace') okurl='http://www.ruspace.ru/index.php?link=bookmark&action=bookmarkNew&bm=1&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);
if (s=='google') okurl='http://www.google.com/bookmarks/mark?op=add&bkmk='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);
if (s=='smi2') okurl='http://smi2.ru/add/';
if (s=='news2') okurl='http://news2.ru/add_story.php?url='+encodeURIComponent(location.href);
if (s=='vaau') okurl='http://www.vaau.ru/submit/?action=step2&url='+encodeURIComponent(location.href);
if (okurl.length>0) {
oktgo=setTimeout('okgo()',3000);
scr=document.createElement('script'); 
scr.type='text/javascript'; 
scr.src='http://odnaknopka.ru/save/?domain='+okdn+'&system='+s; 
document.body.appendChild(scr);
}
}
function okgo() {
if (oktgo) clearTimeout(oktgo);
if (okurl) location.href=okurl;
}
function oks(el) {
if (okto) clearTimeout(okto);
rx=0;
ry=0;
while (el) {
rx+=el.offsetLeft;
ry+=el.offsetTop;
el=el.offsetParent;
}
okos.left=rx+'px';
okos.top=(ry+16)+'px';
okos.visibility='visible';
}
if (okdv) {
document.write('<style>.okol {text-decoration:none;font-weight:normal;font-family:arial;font-size:14px;color:#555} .okol:hover {text-decoration:none;font-weight:normal;font-family:arial;font-size:14px;background-color:#f5f5f5;color:#555}</style>');
oktd=document.createElement('div');
oktd.innerHTML='<div id="odnaknopka" style="position:absolute;z-index:100;visibility:hidden;left:0px;top:0px;width:300px;background-color:#ffffff;border:1px solid #aaa;" onmouseout="okto=setTimeout(\'okh()\',500);" onmouseover="if (okto) clearTimeout(okto);">'+
'<table width="100%" cellpadding="1" cellspacing="1" border="0">'+
'<tr style="padding:0px;" height="16">'+
'<td colspan="2" bgcolor="#cccccc" height="16">'+
'<table width="100%" height="16" cellpadding="0" cellspacing="0" border="0" style="padding:0px;">'+
'<tr style="padding:0px;">'+
'<td width="50%" align="left" style="font-family:arial;font-size:14px;color:#555;padding:0px;height:16px;">'+
'&nbsp;Добавить в:'+
'</td>'+
'<td width="50%" align="right" style="padding:0px;height:16px;">'+
'<a href="http://odnaknopka.ru/" style="font-family:arial;font-weight:normal;font-size:12px;color:#555;text-decoration:none;">&copy ОднаКнопка.Ру&nbsp;</a>'+
'</td>'+
'</tr>'+
'</table>'+
'</td>'+
'</tr>'+
'<tr style="padding:0px;">'+
'<td width="50%" align="left" style="padding:1px;"><div style="width:16px; height:16px; padding:0px; border:0px; cursor:pointer; background-image:url(\'http://i.simkl.com/img_addthis/all.gif\'); background-position:0px 0px; float:left; margin-left:2px; " title="Сохранить страницу на сервисе закладок Bobrdobr.Ru!" onclick="okadd(\'bobrdobr\');"></div><a class="okol" href="http://bobrdobr.ru/addext.html" onclick="okadd(\'bobrdobr\');return false" title="Сохранить страницу на сервисе закладок Bobrdobr.Ru!">&nbsp;БобрДобр</a></td>'+
'<td width="50%" align="left" style="padding:1px;"><div style="width:16px; height:16px; padding:0px; border:0px; cursor:pointer; background-image:url(\'http://i.simkl.com/img_addthis/all.gif\'); background-position:-16px 0px; float:left; margin-left:2px;" title="Запомнить эту страницу!" onclick="okadd(\'memori\');"></div><a class="okol" href="http://memori.ru/link/" title="Запомнить эту страницу!" onclick="okadd(\'memori\');return false;" >&nbsp;Memori</a></td>'+
'</tr>'+
'<tr style="padding:0px;">'+
'<td width="50%" align="left" style="padding:1px;"><div style="width:16px; height:16px; padding:0px; border:0px; cursor:pointer; background-image:url(\'http://i.simkl.com/img_addthis/all.gif\'); background-position:-32px 0px; float:left; margin-left:2px;" title="Добавить страницу к Мистеру Вонгу" onclick="okadd(\'mister-wong\');"></div><a class="okol" href="http://www.mister-wong.ru/add_url/" onclick="okadd(\'mister-wong\');return false" title="Добавить страницу к Мистеру Вонгу">&nbsp;Мистер Вонг</a></td>'+
'<td width="50%" align="left" style="padding:1px;"><div style="width:16px; height:16px; padding:0px; border:0px; cursor:pointer; background-image:url(\'http://i.simkl.com/img_addthis/all.gif\'); background-position:-48px 0px; float:left; margin-left:2px;" title="Добавить в МоёМесто.ru" onclick="okadd(\'moemesto\');"></div><a class="okol" href="http://moemesto.ru/post.php" onclick="okadd(\'moemesto\');return false;" title="Добавить в МоёМесто.ru">&nbsp;Моё Место</a></td>'+
'</tr>'+
'<tr style="padding:0px;">'+
'<td width="50%" align="left" style="padding:1px;"><div style="width:16px; height:16px; padding:0px; border:0px; cursor:pointer; background-image:url(\'http://i.simkl.com/img_addthis/all.gif\'); background-position:-64px 0px; float:left; margin-left:2px;" title="Довавить в Яндекс.Закладки" onclick="okadd(\'yandex\');"></div><a class="okol" href="http://zakladki.yandex.ru/new.xml?add=link" onclick="okadd(\'yandex\');return false;" title="В Яндекс.Закладки">&nbsp;Яндекс.Закладки</a></td>'+
'<td width="50%" align="left" style="padding:1px;"><div style="width:16px; height:16px; padding:0px; border:0px; cursor:pointer; background-image:url(\'http://i.simkl.com/img_addthis/all.gif\'); background-position:-80px 0px; float:left; margin-left:2px;" title="Сохранить на RUmarkz" onclick="okadd(\'rumarkz\');"></div><a class="okol" href="http://rumarkz.ru/bookmarks/?action=add" onclick="okadd(\'rumarkz\');return false;" title="Сохранить на RUmarkz">&nbsp;RUmarkz</a></td>'+
'</tr>'+
'<tr style="padding:0px;">'+
'<td width="50%" align="left" style="padding:1px;"><div style="width:16px; height:16px; padding:0px; border:0px; cursor:pointer; background-image:url(\'http://i.simkl.com/img_addthis/all.gif\'); background-position:-96px 0px; float:left; margin-left:2px;" title="Add Scoop" onclick="okadd(\'myscoop\');"></div><a class="okol" href="http://myscoop.ru/add/" onclick="okadd(\'myscoop\');return false;" title="Add Scoop">&nbsp;MyScoop</a></td>'+
'<td width="50%" align="left" style="padding:0px;"><div style="width:16px; height:16px; padding:0px; border:0px; cursor:pointer; background-image:url(\'http://i.simkl.com/img_addthis/all.gif\'); background-position:-112px 0px; float:left; margin-left:2px;" title="Сохранить ссылку на 100zakladok.ru" onclick="okadd(\'100zakladok\');"></div><a class="okol" href="http://www.100zakladok.ru/save/" onclick="okadd(\'100zakladok\');return false" title="Сохранить ссылку на 100zakladok.ru">&nbsp;Сто Закладок</a></td>'+
'</tr>'+
'<tr style="padding:0px;">'+
'<td width="50%" align="left" style="padding:1px;"><div style="width:16px; height:16px; padding:0px; border:0px; cursor:pointer; background-image:url(\'http://i.simkl.com/img_addthis/all.gif\'); background-position:-128px 0px; float:left; margin-left:2px;" title="В del.icio.us" onclick="okadd(\'delicious\');"></div><a class="okol" href="http://del.icio.us/post" onclick="okadd(\'delicious\');return false;" title="Del.icio.us">&nbsp;Del.icio.us</a></td>'+
'<td width="50%" align="left" style="padding:1px;"><div style="width:16px; height:16px; padding:0px; border:0px; cursor:pointer; background-image:url(\'http://i.simkl.com/img_addthis/all.gif\'); background-position:-144px 0px; float:left; margin-left:2px;" title="В закладки Google" onclick="okadd(\'google\');"></div><a class="okol" href="http://www.google.com/bookmarks/mark?op=add" onclick="okadd(\'google\');return false;" title="Закладки Google">&nbsp;Google - Закладки</a></td>'+
'</tr>'+
'<tr style="padding:0px;">'+
'<td width="50%" align="left" style="padding:1px;"><div style="width:16px; height:16px; padding:0px; border:0px; cursor:pointer; background-image:url(\'http://i.simkl.com/img_addthis/all.gif\'); background-position:-192px 0px; float:left; margin-left:2px;" title="Сохранить на RuSpace.ru" onclick="okadd(\'ruspace\');"></div><a class="okol" href="http://www.ruspace.ru/index.php?link=bookmark&action=bookmarkNew&bm=1" onclick="okadd(\'ruspace\');return false;" title="Сохранить на RuSpace">&nbsp;RuSpace</a></td>'+
'<td width="50%" align="left" style="padding:1px;"><div style="width:16px; height:16px; padding:0px; border:0px; cursor:pointer; background-image:url(\'http://i.simkl.com/img_addthis/all.gif\'); background-position:-208px 0px; float:left; margin-left:2px;" title="Добавить в СМИ 2" onclick="okadd(\'smi2\');"></div><a class="okol" href="http://smi2.ru/add/" onclick="okadd(\'smi2\');return false;" title="Добавить в СМИ 2">&nbsp;СМИ 2</a></td>'+
'</tr>'+
'<tr style="padding:0px;">'+
'<td width="50%" align="left" style="padding:1px;"><div style="width:16px; height:16px; padding:0px; border:0px; cursor:pointer; background-image:url(\'http://i.simkl.com/img_addthis/all.gif\'); background-position:-160px 0px; float:left; margin-left:2px;" title="Добавить в News2" onclick="okadd(\'news2\');"></div><a class="okol" href="http://news2.ru/add_story.php" onclick="okadd(\'news2\');return false;" title="Добавить в News2">&nbsp;News2</a></td>'+
'<td width="50%" align="left" style="padding:1px;"><div style="width:16px; height:16px; padding:0px; border:0px; cursor:pointer; background-image:url(\'http://i.simkl.com/img_addthis/all.gif\'); background-position:-176px 0px; float:left; margin-left:2px;" title="Ваау!" onclick="okadd(\'vaau\');"></div><a class="okol" href="http://www.vaau.ru/submit/" onclick="okadd(\'vaau\');return false;" title="Ваау!">&nbsp;Ваау!</a></td>'+
'</tr>'+
'</table>'+
'</div>';
document.body.insertBefore(oktd,document.body.firstChild);
okos=document.getElementById('odnaknopka').style;
okdv=false;
}
document.write('<a href="http://odnaknopka.ru/add/" onclick="window.open(\'http://odnaknopka.ru/add/?url=\'+encodeURIComponent(location.href)+\'&title=\'+encodeURIComponent(document.title),\'odnaknopka\',\'scrollbars=yes,menubar=no,width=600,height=500,left='+(document.body.clientWidth/2-300)+',top='+(document.body.clientHeight/2-250)+',resizable=yes,toolbar=no,location=no,status=no\');return false;" onmouseover="oks(this);return false;" onmouseout="okto=setTimeout(\'okh()\',500);"><img src="http://i.simkl.com/img_addthis/button.gif" width="136" height="16" alt="ОднаКнопка" border="0"></a>');