//        убийца фреймов
if (window != top) { top.location.href = location.href; }



//        функция открытия всплывающего окна
function prev(theURL, width, height) {
        var features='scrollbars=no, toolbar=no, status=no, resizable=no, width='+ width +', height='+ height;
        window.open ("http://www.wmcentre.net/ext/prev.php?s="+theURL, "WMCentre", features);
}



//        меню и статистика
document.write('<script type="text/javascript" src="http://www.wmcentre.net/cache/st.js"></script>');
function sta() {
        document.write('<br><img src="http://www.wmcentre.net/i/m.gif"> <a href="http://www.oplata.info" target="_blank">Мои покупки</a><br><p>Продавцам</p><img src="http://www.wmcentre.net/i/m.gif"> <a href="https://my.digiseller.ru" target="_blank">Вход в личный кабинет</a><BR><img src="http://www.wmcentre.net/i/m.gif"> <a href="https://my.digiseller.ru/inside/reminder.asp" target="_blank">Забыли пароль</a><BR><img src="http://www.wmcentre.net/i/m.gif"> <a href="i.php?s=s">Информация</a><BR><img src="http://www.wmcentre.net/i/m.gif"> <a href="t.php?s=n">Новые поступления</a><BR><img src="http://www.wmcentre.net/i/m.gif"> <a href="i.php?s=r">Регистрация</a><p>Статистика*</p><TABLE><TR><TD>Товаров:<TD class=b>' + stata[0] + '<TR><TD>Продавцов:<TD class=b>' + stata[1] + '<TR><TD>Партнеров:<TD class=b>' + stata[2] + '<TR><TD>Продаж за сутки:<TD class=b>' + stata[3] + '<TR><TD>Суточный оборот:<TD class=price>' + stata[4] + '&#36;</TABLE>* <sub>Обновляется 1 раз в сутки</sub>');
}


//        функия вывода всплывающей подсказки
var OP = (navigator.userAgent.indexOf('Opera') != -1);
var IE = (navigator.userAgent.indexOf('MSIE') != -1 && !OP);
var GK = (navigator.userAgent.indexOf('Gecko') != -1);
var SA = (navigator.userAgent.indexOf('Safari') != -1);
var DOM = document.getElementById;

var tooltip = null;

function TOOLTIP() {

  this.width = 250;
  this.bgColor = "#FFD";
  this.textFont = "Verdana";
  this.textSize = 11;
  this.textColor = "#A00000";
  this.border = "1px dashed #A00000";
  this.opacity = 93;
  this.cursorDistance = 5;

  this.text = '';
  this.height = 0;
  this.obj = null;
  this.active = false;

  this.create = function() {
    if(!this.obj) this.init();

    var s = (this.textFont ? 'font-family:' + this.textFont + '; ' : '') +
            (this.textSize ? 'font-size:' + this.textSize + 'px; ' : '') +
            (this.border ? 'border:' + this.border + '; ' : '') +
            (this.textColor ? 'color:' + this.textColor + '; ' : '') +
            (this.bgColor ? 'background-color:' + this.bgColor + '; ' : '');

    var t = '<table cellspacing=0 cellpadding=4 style="width:' + this.width + 'px;z-index:100;"><tr>' +
            '<td ' + (s ? ' style="' + s + 'line-height:1;padding:7px;text-align:center;"' : '') + '>' + this.text +
            '</td></tr></table>';

    if(DOM || IE) this.obj.innerHTML = t;
    if(DOM) this.height = this.obj.offsetHeight;
    else if(IE) this.height = this.obj.style.pixelHeight;
    if(this.bgColor) this.obj.style.backgroundColor = this.bgColor;

    this.setOpacity();
    this.move();
    this.show();
  }

  this.init = function() {
    if(DOM) this.obj = document.getElementById('ToolTip');
    else if(IE) this.obj = document.all.ToolTip;
  }

  this.move = function() {
    var winX = getWinX() - (((GK && !SA) || OP) ? 17 : 0);
    var winY = getWinY() - (((GK && !SA) || OP) ? 17 : 0);
    var x = mouseX;
    var y = mouseY;

    if(x + this.width + this.cursorDistance > winX + getScrX())
      x -= this.width + this.cursorDistance;
    else x += this.cursorDistance;

    if(y + this.height + this.cursorDistance > winY + getScrY())
      y -= this.height;
    else y += this.cursorDistance;

    this.obj.style.left = x + 'px';
    this.obj.style.top = y + 'px';
  }

  this.show = function() {
    this.obj.style.zIndex = 69;
    this.active = true;
    this.obj.style.visibility = 'visible';
  }

  this.hide = function() {
    this.obj.style.zIndex = -1;
    this.active = false;
    this.obj.style.visibility = 'hidden';
  }

  this.setOpacity = function() {
    this.obj.style.opacity = this.opacity / 100;
    this.obj.style.MozOpacity = this.opacity / 100;
    this.obj.style.KhtmlOpacity = this.opacity / 100;
    this.obj.style.filter = 'alpha(opacity=' + this.opacity + ')';
  }
}

function getScrX() {
  var offset = 0;
  if(window.pageXOffset)
    offset = window.pageXOffset;
  else if(document.documentElement && document.documentElement.scrollLeft)
    offset = document.documentElement.scrollLeft;
  else if(document.body && document.body.scrollLeft)
    offset = document.body.scrollLeft;
  return offset;
}

function getScrY() {
  var offset = 0;
  if(window.pageYOffset)
    offset = window.pageYOffset;
  else if(document.documentElement && document.documentElement.scrollTop)
    offset = document.documentElement.scrollTop;
  else if(document.body && document.body.scrollTop)
    offset = document.body.scrollTop;
  return offset;
}

function getWinX() {
  var size = 0;
  if(window.innerWidth)
    size = window.innerWidth;
  else if(document.documentElement && document.documentElement.clientWidth)
    size = document.documentElement.clientWidth;
  else if(document.body && document.body.clientWidth)
    size = document.body.clientWidth;
  else size = screen.width;
  return size;
}

function getWinY() {
  var size = 0;
  if(window.innerHeight)
    size = window.innerHeight;
  else if(document.documentElement && document.documentElement.clientHeight)
    size = document.documentElement.clientHeight;
  else if(document.body && document.body.clientHeight)
    size = document.body.clientHeight;
  else size = screen.height;
  return size;
}

function getMouseXY(e) {
  if(e && e.pageX != null) {
    mouseX = e.pageX;
    mouseY = e.pageY;
  }
  else if(event && event.clientX != null) {
    mouseX = event.clientX + getScrX();
    mouseY = event.clientY + getScrY();
  }
  if(mouseX < 0) mouseX = 0;
  if(mouseY < 0) mouseY = 0;
  if(tooltip && tooltip.active) tooltip.move();
}

function toolTip(text, width, opacity) {
  if(text) {
        tooltip = new TOOLTIP();
    tooltip.text = text;
    if(width) tooltip.width = width;
    if(opacity) tooltip.opacity = opacity;
    tooltip.create();
  }
  else if(tooltip) tooltip.hide();
}

document.write('<div id="ToolTip" style="position:absolute; visibility:hidden"></div>');

var mouseX = mouseY = 0;

document.onmousemove = getMouseXY;



//        функция вывода картинок "Способы оплаты"
function s_op() {
        var manners="";
        type_curr="";
        if (z['wmz']) {
                manners=manners+"<img src=\"http://www.wmcentre.net/i/wmz.gif\"  onMouseOver=\"toolTip('Оплата с помощью WebMoney (USD).<br>Цена составит <b>"+z['wmz']+"</b> wmz');\" onMouseOut=\"toolTip();\">";
                type_curr=type_curr+'<option value="WMZ">WMZ</option>';
        }
        if (z['wmc']) {
                manners=manners+"<img src=\"http://www.wmcentre.net/i/wmc.gif\"  onMouseOver=\"toolTip('Оплата в кредит с помощью WebMoney (USD).<br>Цена составит <b>"+z['wmc']+"</b> wmz', 300);\" onMouseOut=\"toolTip();\">";
                type_curr=type_curr+'<option value="WMD">WMZ в кредит</option>';
        }
        if (z['wmr']) {
                manners=manners+"<img src=\"http://www.wmcentre.net/i/wmr.gif\"  onMouseOver=\"toolTip('Оплата с помощью WebMoney (RUR).<br>Цена составит <b>"+z['wmr']+"</b> wmr');\" onMouseOut=\"toolTip();\">";
                type_curr=type_curr+'<option value="WMR">WMR</option>';
        }
        if (z['wme']) {
                manners=manners+"<img src=\"http://www.wmcentre.net/i/wme.gif\"  onMouseOver=\"toolTip('Оплата с помощью WebMoney (EUR).<br>Цена составит <b>"+z['wme']+"</b> wme');\" onMouseOut=\"toolTip();\">";
                type_curr=type_curr+'<option value="WME">WME</option>';
        }
        if (z['wmu']) {
                manners=manners+"<img src=\"http://www.wmcentre.net/i/wmu.gif\"  onMouseOver=\"toolTip('Оплата с помощью WebMoney (UAH).<br>Цена составит <b>"+z['wmu']+"</b> wmu');\" onMouseOut=\"toolTip();\">";
                type_curr=type_curr+'<option value="WMU">WMU</option>';
        }
        if (z['ppz']) {
                manners=manners+"<img src=\"http://www.wmcentre.net/i/ppz.gif\"  onMouseOver=\"toolTip('Оплата с помощью WMZ-карты (чека Paymer).<br>Цена составит <b>"+z['ppz']+"</b> wmz', 300);\" onMouseOut=\"toolTip();\">";
                type_curr=type_curr+'<option value="PPZ">WMZ-карта</option>';
        }
        if (z['ppr']) {
                manners=manners+"<img src=\"http://www.wmcentre.net/i/ppr.gif\"  onMouseOver=\"toolTip('Оплата с помощью WMR-карты (чека Paymer).<br>Цена составит <b>"+z['ppr']+"</b> wmr', 300);\" onMouseOut=\"toolTip();\">";
                type_curr=type_curr+'<option value="PPR">WMR-карта</option>';
        }
        if (z['ppe']) {
                manners=manners+"<img src=\"http://www.wmcentre.net/i/ppe.gif\"  onMouseOver=\"toolTip('Оплата с помощью WME-карты (чека Paymer).<br>Цена составит <b>"+z['ppe']+"</b> wme', 300);\" onMouseOut=\"toolTip();\">";
                type_curr=type_curr+'<option value="PPE">WME-карта</option>';
        }
        if (z['ppu']) {
                manners=manners+"<img src=\"http://www.wmcentre.net/i/ppu.gif\"  onMouseOver=\"toolTip('Оплата с помощью WMU-карты (чека Paymer).<br>Цена составит <b>"+z['ppu']+"</b> wmu', 300);\" onMouseOut=\"toolTip();\">";
                type_curr=type_curr+'<option value="PPU">WMU-карта</option>';
        }
        if (z['mmr']) {
                manners=manners+"<img src=\"http://www.wmcentre.net/i/mmr.gif\"  onMouseOver=\"toolTip('Оплата с помощью MoneyMail.<br>Цена составит <b>"+z['mmr']+"</b> RUR');\" onMouseOut=\"toolTip();\">";
                type_curr=type_curr+'<option value="MMR">MoneyMail</option>';
        }
        if (z['egz']) {
                manners=manners+"<img src=\"http://www.wmcentre.net/i/egz.gif\"  onMouseOver=\"toolTip('Оплата с помощью E-gold (USD).<br>Цена составит <b>"+z['egz']+"</b> USD');\" onMouseOut=\"toolTip();\">";
                type_curr=type_curr+'<option value="EGZ">E-gold</option>';
        }
        if (z['pcr']) {
                manners=manners+"<img src=\"http://www.wmcentre.net/i/pcr.gif\"  onMouseOver=\"toolTip('Оплата с помощью Яндекс.Деньги.<br>Цена составит <b>"+z['pcr']+"</b> RUR');\" onMouseOut=\"toolTip();\">";
                type_curr=type_curr+'<option value="PCR">Яндекс.Деньги</option>';
        }
        if (z['atm']) {
                manners=manners+"<img src=\"http://www.wmcentre.net/i/atm.gif\"  onMouseOver=\"toolTip('Оплата наличными<br>с помощью терминалов Элекснет.<br>Цена составит <b>"+z['atm']+"</b> рублей');\" onMouseOut=\"toolTip();\">";
                type_curr=type_curr+'<option value="ATM">Наличными (руб.)</option>';
        }
        if (z['sms']) {
                manners=manners+"<img src=\"http://www.wmcentre.net/i/ms.gif\"  onMouseOver=\"toolTip('Оплата с помощью SMS.<br>Цена составит <b>"+z['sms']+"</b> USD');\" onMouseOut=\"toolTip();\">";
                type_curr=type_curr+'<option value="SMS">SMS-оплата</option>';
        }

        //        другой способ
        type_curr=type_curr+'<option value="RBX">Другой способ ...</option>';

        //        составляем строку "продажа в кредит"
        if (z['wmc']) { manners += "<tr><td class=lf>Продажа в&nbsp;<br>кредит:<td class=kr><img src=\"http://www.wmcentre.net/i/cr.gif\" style=\"width:20px;height:20px;\"> Цена при покупке в кредит: <span class=price>"+z['wmc']+" &#36;</span><BR>Срок погашения кредита: <span class=price>"+z['credit_period']+" дней</span> &nbsp; <img src=\"http://www.wmcentre.net/i/vp.gif\" style=\"margin-left:50px;\" onmouseover=\"toolTip('Данный товар может быть приобретен в рассрочку с помощью WebMoney (USD) при условии наличия у Вас персонального (или выше) аттестата WebMoney Transfer и отсутствия непогашенных кредитов в рамках сервиса DigiSeller', 300);\" onmouseout='toolTip();'>"; }
        if (z['ids']) {
                var ds="";
                for(var key in s) { ds="<br>&nbsp; • &nbsp; <span class=price>"+key+" &#36;</span> скидка составляет <span class=price>"+s[key]+"%</span>"+ds; }
                manners += "<tr><td class=lf>Скидки:<td class=ds><img src=\"http://www.wmcentre.net/i/dc.gif\" style=\"width:20px;height:20px;\"> На товар предоставляется скидка постоянным покупателям.<BR>Если общая сумма покупок у продавца <a href=\"seller.php?ids="+z['ids']+"\">"+z['nm_s']+"</a> больше чем:"+ds;
        }
        document.write(manners);
}



//        функция вывода справки
function univ() { toolTip('Все покупатели данного товара получают одну и ту же копию продукта.<br><br>Данный цифровой товар может быть куплен бесконечное число раз.', 300); }
function unik(cnt) { toolTip('Каждый покупатель данного товара получает свой уникальный экземпляр.<br><br>Количество экземпляров "на складе": <b>'+cnt+'</b>', 300); }
function ret(cnt) { toolTip('Продавец '+cnt+' раз(а) производил возврат денежных средств покупателям недовольным качеством товара', 300); }
function uvel(cnt) { toolTip('Нажмите для увеличения изображения', 100); }
function agent(cnt) { toolTip('C каждой продажи данного товара Вы получите <b>'+cnt+'</b> &#36;.<br><br>Кроме того, со ВСЕХ последующих покупок привлеченного покупателя, Вам будут начисляться комиссионные.<br><br>Для получения html-кода, Вам необходимо зарегистрирваться в нашей партнерской программе.', 380); }
function rat() { toolTip('Рейтинг является основным индикатором репутации продавца.<br>На рейтинг могут влиять только непосредственные покупатели, путем ниписания отзывов о купленном товаре.', 400); }



//        функция вывода формы оплаты товара
function ChangeCurr() {
        var type_curr = document.getElementById('type_curr').value;
        var type_curr = type_curr.toLowerCase();
        if(!z[type_curr]) { z[type_curr] = z['wmz']; }
        document.getElementById('in').value = z[type_curr];
}
function CheckIagree() {
        if (document.getElementById("iagree").checked) {  return true; }
        else {
                document.getElementById("a_gree").style.color="#001D6F";
                document.getElementById("dv_gree").style.backgroundColor="#FFAEBC";
                document.getElementById("dv_gree").style.padding="2px";
                document.getElementById("dv_gree").style.marginBottom="3px";
                alert('Вам необходимо ознакомиться с «Правилами покупки товаров»');
            return false;
        }
}
function opl(agent, noc) {
        document.getElementById("opln").style.display="none";
        if (agent>0) { var agent = '<input type="hidden" name="id_agent" value='+agent+'>'; }
        else { var agent = ''; }
        document.write('<form method="post" action="http://www.oplata.info/asp/pay.asp" class=opl onsubmit="javascript:return(CheckIagree());">'+
                '<div id="dv_gree"><input type=checkbox name="iagree" id="iagree"> я ознакомлен(а) с <a href="i.php?s=b" id="a_gree" target="_blank">«Правилами покупки товаров»</a></div>'+
                '<span>Выберите способ оплаты (тип электронной валюты):</span><br>'+
                '<input type=text id=in name=in value="'+z['wmz']+'" readonly>'+
                '<select name="type_curr" id="type_curr" onChange="ChangeCurr();">'+
                type_curr+'</select>'+
                '<input src="http://www.wmcentre.net/i/op.gif" type="image">'+
                '<input type="hidden" name="id_goods" value='+noc+'>'+
                agent+
                '<input type="hidden" name="fail_page" value="http://www.wmcentre.net/des.php?noc='+noc+'">'+
                '</form>'+
                '</div>');
}



//        функция выбора сортировки и количества строк в списке товаров
function BySelected(element) {
        if( element.options[element.selectedIndex].value!='' ) { window.location = element.options[element.selectedIndex].value; }
}
function sort(nam_pg, rw, order, nost) {
        if(nost==0) { window.location ="?"+nam_pg+"&np=1&or="+order; }
        var or = new Array();
        or["nameDESC"]="";
        or["name"]="";
        or["ratingDESC"]="";
        or["rating"]="";
        or["cntsellDESC"]="";
        or["cntsell"]="";
        or["priceDESC"]="";
        or["price"]="";
        or[order]=" selected";

        if(order!="no_order") {
                var select_or =        '<br><br><span>Сортировать по:</span> <select onChange="BySelected(this);"><option></option>'+
                '<option value="?'+nam_pg+'&or=name"'+or["name"]+'>названию А - Я</option>'+
                '<option value="?'+nam_pg+'&or=nameDESC"'+or["nameDESC"]+'>названию Я - A</option>'+
                '<option value="?'+nam_pg+'&or=ratingDESC"'+or["ratingDESC"]+'>рейтингу продавца - убыванию</option>'+
                '<option value="?'+nam_pg+'&or=rating"'+or["rating"]+'>рейтингу продавца - возрастанию</option>'+
                '<option value="?'+nam_pg+'&or=cntsellDESC"'+or["cntsellDESC"]+'>количеству продаж - убыванию</option>'+
                '<option value="?'+nam_pg+'&or=cntsell"'+or["cntsell"]+'>количеству продаж - возрастанию</option>'+
                '<option value="?'+nam_pg+'&or=priceDESC"'+or["priceDESC"]+'>цене - убыванию</option>'+
                '<option value="?'+nam_pg+'&or=price"'+or["price"]+'>цене - возрастанию</option>'+
                '</select>';
        }
        else { var select_or=""; }

        document.write('<form method="post" action="?'+nam_pg+'&amp;np=1&amp;or='+order+'" id=sort>'+
                '<span>Товаров на странице:</span> <input type=text name=rw id=rw value="'+rw+'" maxlength=3>'+
                ' <input src="http://www.wmcentre.net/i/rw.gif" type="image" id=gt>'+
                select_or+
                '</form>');
}
function sort_sell(nam_pg, rw, order, nost) {
        if(nost==0) { window.location ="?"+nam_pg+"&ns=1&or="+order; }
        var or = new Array();
        or["name"]="";
        or["nameDESC"]="";
        or["cntsellDESC"]="";
        or["cntsell"]="";
        or["cntreturnDESC"]="";
        or["cntreturn"]="";
        or["cntgoodresponsesDESC"]="";
        or["cntgoodresponses"]="";
        or["cntbadresponsesDESC"]="";
        or["cntbadresponses"]="";
        or["priceDESC"]="";
        or["price"]="";
        or[order]=" selected";

        document.write('<form method="post" action="?'+nam_pg+'&amp;ns=1&amp;or='+order+'#t" id=sort class=sort_sl>'+
                '<div><span>Сортировать по:</span> <select onChange="BySelected(this);"><option></option>'+
                '<option value="?'+nam_pg+'&or=name#t"'+or["name"]+'>названию А - Я</option>'+
                '<option value="?'+nam_pg+'&or=nameDESC#t"'+or["nameDESC"]+'>названию Я - A</option>'+
                '<option value="?'+nam_pg+'&or=cntsellDESC#t"'+or["cntsellDESC"]+'>кол-ву продаж - убыванию</option>'+
                '<option value="?'+nam_pg+'&or=cntsell#t"'+or["cntsell"]+'>кол-ву продаж - возрастанию</option>'+
                '<option value="?'+nam_pg+'&or=cntreturnDESC#t"'+or["cntreturnDESC"]+'>кол-ву возвратов - убыванию</option>'+
                '<option value="?'+nam_pg+'&or=cntreturn#t"'+or["cntreturn"]+'>кол-ву возвратов - возрастанию</option>'+
                '<option value="?'+nam_pg+'&or=cntgoodresponsesDESC#t"'+or["cntgoodresponsesDESC"]+'>кол-ву отзывов - убыванию</option>'+
                '<option value="?'+nam_pg+'&or=cntgoodresponses#t"'+or["cntgoodresponses"]+'>кол-ву отзывов - возрастанию</option>'+
                '<option value="?'+nam_pg+'&or=cntbadresponsesDESC#t"'+or["cntbadresponsesDESC"]+'>кол-ву претензий - убыванию</option>'+
                '<option value="?'+nam_pg+'&or=cntbadresponses#t"'+or["cntbadresponses"]+'>кол-ву претензий - возрастанию</option>'+
                '<option value="?'+nam_pg+'&or=priceDESC#t"'+or["priceDESC"]+'>цене - убыванию</option>'+
                '<option value="?'+nam_pg+'&or=price#t"'+or["price"]+'>цене - возрастанию</option>'+
                '</select></div>'+
                '<span>Товаров на странице:</span> <input type=text name=rw id=rw value="'+rw+'" maxlength=3>'+
                ' <input src="http://www.wmcentre.net/i/rw.gif" type="image" id=gt>'+
                '</form>');
}



//        функция разбора массива для обработки древа каталогов
var t=1;
var s=1;
var db = new Array();
var out="";
function d(m,ds,cnt,u,i) {
        db[t] = new Object;
        db[t].m = m;
        db[t].ds = ds;
        db[t].cnt = cnt;
        db[t].u = u;
        db[t].i = i;
        t++;
}

function map_js(id_s) {
        id_section=id_s;

        TableCreate(0);
        document.write(out);
        if (id_section>0) { OpenSec(); }
        document.getElementById("way").style.display="none";
}



//        функция вывода ссылок на соц. закладки
var zkl_timeout = 0;
function zkl_open() {
        if (zkl_timeout) { clearTimeout(zkl_timeout); }
        document.getElementById("zkl_z").style.display="block";
}
function zkl_clos_nt() { document.getElementById("zkl_z").style.display="none"; }
function zkl_clos() { zkl_timeout = setTimeout('zkl_clos_nt()', 200); }
function s_zkl() {
        var title=encodeURIComponent(document.title);
        var url=encodeURIComponent(location.href);
        var services=[
        ['http://bobrdobr.ru/addext.html?url='+url+'&title='+title,'bobr.gif','БобрДобр'],
        ['http://memori.ru/link/?sm=1&u_data[url]='+url+'&u_data[name]='+title,'memori.gif','Memori'],
        ['http://www.mister-wong.ru/index.php?action=addurl&bm_url='+url+'&bm_description='+title,'wong.gif','Мистер Вонг'],
        ['http://del.icio.us/post?v=4&noui&jump=close&url='+url+'&title='+title,'del.gif','del.icio.us'],
        ['http://zakladki.yandex.ru/userarea/links/addfromfav.asp?bAddLink_x=1&lurl='+url+'&lname='+title,'yandex.gif','Яндекс.Закладки'],
        ['http://www.google.com/bookmarks/mark?op=add&bkmk='+url+'&title='+title,'google.gif','Закладки Google'],
        ['http://moemesto.ru/post.php?url='+url+'&title='+title,'mm.gif','МоёМесто'],
        ['http://news2.ru/add_story.php?url='+url,'news2.gif','News2'],
        ['http://smi2.ru/add/?typenews=news&url='+url,'smi2.gif','СМИ 2'],
        ['http://www.vaau.ru/submit/?action=step2&url='+url,'va.gif','Ваау!'],
        ['http://www.100zakladok.ru/save/?bmurl='+url+'&bmtitle='+title,'100.gif','Сто Закладок'],
        ['http://rumarkz.ru/bookmarks/?action=add&popup=1&address='+url+'&title='+title,'ru.gif','RUmarkz'],
        ['http://www.ruspace.ru/index.php?link=bookmark&action=bookmarkNew&bm=1&url='+url+'&title='+title,'rus.gif','RuSpace'],
        ['http://www.linkstore.ru/servlet/LinkStore?a=add&url='+url+'&title='+title,'ln.gif','Linkstore'],
        ['http://www.technorati.com/faves?add='+url,'tech.gif','Technorati'],
        ['http://www.newsland.ru/News/Add/type/news/?url='+url+'&name='+title,'new.gif','Newsland']];
        var btn='<div id=zkl_h><img src="http://www.wmcentre.net/ext/img/zk.gif" alt=""></div><div id=zkl_z><div>Добавить в: <span onclick="zkl_clos_nt();">[X]</span></div>';
        for (i=0;i<services.length;i++) { btn += '<span><a href="'+services[i][0]+'" target="_blank"><img src="http://www.wmcentre.net/ext/img/'+services[i][1]+'" alt="'+services[i][2]+'"></a> <a href="'+services[i][0]+'" target="_blank">'+services[i][2]+'</a></span>'; }
        btn += '</div>';
        return btn;
}

//        функция обновления копирайта
function copy() {
        var today = new Date();
        var year = today.getFullYear();
        var zkl = s_zkl();
        document.write("- "+year+' <div id=zakladki onmouseover="zkl_open();" onmouseout="zkl_clos();">'+zkl+'</div>');
}