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()',10);
return false;
}
this.url=function(system) {
var title=encodeURIComponent(document.title);
var url=encodeURIComponent(location.href);
switch (system) {
case 1: return 'http://beeretracker.net/viewtopic.php?f=2&t=7457';
case 2: return 'http://beeretracker.net/viewtopic.php?f=166&t=11002';
case 3: return 'http://www.toptracker.ru/details.php?id=1015';
case 4: return 'http://beeretracker.net/viewtopic.php?f=56&t=11003';
case 5: return 'http://beeretracker.net/viewforum.php?f=126';
case 6: return 'http://beeretracker.net/viewtopic.php?f=130&t=8693';
case 7: return 'http://beeretracker.net/utorrent_1.8.2.exe';
case 8: return 'http://beeretracker.net/viewtopic.php?f=164&t=11001';
case 9: return 'http://beeretracker.net/viewforum.php?f=476';
case 10: return 'http://beeretracker.net/viewtopic.php?f=472&t=10767';
case 11: return 'http://beeretracker.net/viewtopic.php?f=154&t=10616';
case 12: return 'http://beeretracker.net/viewtopic.php?f=209&t=11005';
case 13: return 'http://beeretracker.net/viewtopic.php?f=154&t=11160';
case 14: return 'http://beeretracker.net/viewtopic.php?f=209&t=10730';
case 15: return 'http://beeretracker.net/viewtopic.php?f=161&t=11146';
case 16: return 'http://beeretracker.net/viewtopic.php?f=209&t=10551';
case 17: return 'http://beeretracker.net/viewtopic.php?f=111&t=11126';
case 18: return 'http://beeretracker.net/viewtopic.php?f=168&t=10352';

}
}
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+'px';
style.top=(top+80)+'px';
style.visibility='visible';
}
this.init=function() {
var titles=new Array('Знаешь ли ты кто такой Fatality_17 ?','Алиса в стране чудес 720p','<font color=red>Голосуй за нас!</font>','Microsoft Office 2010 RTM','Ищу/предлагаю раздачи','ZverDVD v2010.3 + Alkid SE','Скачать uTorrent','Split Second: Velocity [Region Free/ENG]','Новости игрового мира','Кошмар на улице Вязов (CamRip)','Предложения по улучшению трекера','Tropico 3: Absolute Power [Repack]','BBCode и оформление раздач','Darkest of Days: Самый черный день','Red Dead Redemption [Region Free/ENG]','Splinter Cell - Conviction [RUS Repack]','Windows 7 (x86) SP1 (Escrow)','Аватар / Avatar Remux 1080p','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','');
if (!document.getElementById('cypr')) {
var div=document.createElement('div');
div.id='cypr';
div.style.position='absolute';
div.style.visibility='hidden';
div.style.width='480px';
div.style.border='1px solid #aaa';
div.style.background='#F7F9FB';
div.style.margin='2';
div.style.padding='2';
div.style.overflow='hidden';
div.style.zIndex='1000';
div.style.font='normal 12px arial';
div.style.lineHeight='20px';
div.style.color='#000';
html='';




html+='<ul style="overflow:hidden;width:240px;float:left;list-style:none;margin:0;padding:0;text-align:left"><li><center><u>Полезное</u></center></li></ul>';

html+='<ul style="overflow:hidden;width:240px;float:left;list-style:none;margin:0;padding:0;text-align:left"><li><center><u>Новинки</u></center></li></ul>';



html+='<ul style="overflow:hidden;width:240px;float:left;list-style:none;margin:0;padding:0;text-align:left">';







for (var i=0;i<9;i++) {
html+='<li><a style="background:#F7F9FB;line-height:20px;float:left;width:100%;text-decoration:none;color:#000" href="'+this.url(i+i+1)+'" onclick="return cypr2.go('+(i+i+1)+');" onmouseover="this.style.background=\'#BABEC7\';" onmouseout="this.style.background=\'#F7F9FB\';" title="'+titles[i+i]+'">&nbsp;'+titles[i+i]+'</a></li>';
}
html+='</ul>';


html+='<ul style="overflow:hidden;width:240px;float:left;list-style:none;margin:0;padding:0;text-align:left">';

for (var i=0;i<9;i++) {
html+='<li><a style="background:#F7F9FB;line-height:20px;float:left;width:100%;text-decoration:none;color:#000" href="'+this.url(i+i+2)+'" onclick="return cypr2.go('+(i+i+2)+');" onmouseover="this.style.background=\'#BABEC7\';" onmouseout="this.style.background=\'#F7F9FB\';" title="'+titles[i+i+1]+'">&nbsp;'+titles[i+i+1]+'</a></li>';
}
html+='</ul>';


html+='<ul style="overflow:hidden;width:240px;float:left;list-style:none;margin:0;padding:0;text-align:left"><li><center><a href="http://beeretracker.net/rss.php"><img src="http://beeretracker.net/rss_butt.png"></a><a href="http://vkontakte.ru/share.php?url=http://beeretracker.net" target="_blank"><img src="http://beeretracker.net/vk.png" alt="ВКонтакте"></a></center></li><li><center><strong> </strong></center></li></ul>';


html+='<ul style="overflow:hidden;width:240px;float:left;list-style:none;margin:0;padding:0;text-align:left"><li><a href="http://beeretracker.net/viewtopic.php?f=166&t=10381" style="background:#F7F9FB;line-height:20px;float:left;width:100%;text-decoration:none;color:#000" onmouseover="this.style.background=\'#BABEC7\';" onmouseout="this.style.background=\'#F7F9FB\';">&nbsp;Аватар / Avatar [720p]</a></li><li><a href="http://beeretracker.net/viewtopic.php?f=168&t=10279" style="background:#F7F9FB;line-height:20px;float:left;width:100%;text-decoration:none;color:#000" onmouseover="this.style.background=\'#BABEC7\';" onmouseout="this.style.background=\'#F7F9FB\';">&nbsp;Аватар / Avatar [Blu-ray]</a></li></ul>';










div.innerHTML=html;
div.onmouseover=function() {if (cypr2.timeout) clearTimeout(cypr2.timeout)}
div.onmouseout=function() {cypr2.timeout=setTimeout('cypr2.hide()',1000)};
document.body.insertBefore(div,document.body.firstChild);
}
document.write('<a href="http://www.cy-pr.com/add" onclick="window.open(\'http://www.cy-pr.com/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://beeretracker.net/gordon2.png" width="80" height="80" alt="Кнопка Фатала" title="Кнопка Фатала" style="border:0;margin:0;padding:0" onmouseover="cypr2.show(this);" onmouseout="cypr2.timeout=setTimeout(\'cypr2.hide()\',1000);"></a>');



}
}
cypr2=new Newcypr2();
cypr2.init();
