Помогите убрать сообщение, рандомно появляется

soft4you

Создатель
Регистрация
11 Янв 2007
Сообщения
28
Реакции
8
Привет всем
Время от времени над меню рандомно появляется сообщение "ddmenu trial version". Собака зарыта определенно в ddmenu.js. Код привожу ниже. сообщение никогда не появляется когда скрипт на локальном компьютере, появляется только когда скрипт залит. пытался менять значения после math.random и вместо document.domain вставлял localhost, но что-то безрезультатно, нужна ваша помощь)))

Код:
var ddmenuOptions =
{
    menuId: "ddmenu",
    linkIdToMenuHtml: null,
    open: "onmouseover", // or "onclick"
    delay: 50,
    speed: 0.3,
    license: "6c0l68"
};

var ddmenu = new Ddmenu(ddmenuOptions);

/* Menucool Drop Down Menu v2014.11.24 Copyright www.menucool.com */
function Ddmenu(m){"use strict";var r=function(a,b){return a.getElementsByTagName(b)},l=navigator,F=function(a,c){if(typeof getComputedStyle!="undefined")var b=getComputedStyle(a,null);else if(a.currentStyle)b=a.currentStyle;else b=a[d];return b[c]},p=function(a){if(a&&a.stopPropagation)a.stopPropagation();else if(window.event)window.event.cancelBubble=true},T=function(b){var a=b?b:window.event;if(a.preventDefault)a.preventDefault();else if(a)a.returnValue=false},h,d,v,f=document,k="className",a="length",A="addEventListener",lb=["$1$2$3","$1$2$3","$1$24","$1$23","$1$22"],C="offsetWidth",D="zIndex",i="onclick",b=[],y=-1,o=0,H=function(a){if(o)o[d][v]=a?"block":"none"},g,nb,c,j=function(){return c&&c[C]},n=function(a,c,b){if(a[A])a[A](c,b,false);else a.attachEvent&&a.attachEvent("on"+c,b)},x=function(a,b){if(b)K(a,"over");else J(a,"over");a[d][D]=b?2:1},O="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,V=(l.msPointerEnabled||l.pointerEnabled)&&(l.msMaxTouchPoints||l.maxTouchPoints);if(V)if(l.msPointerEnabled)var P="MSPointerOver",Q="MSPointerOut";else{P="pointerOver";Q="pointerOut"}var q=function(d){for(var c=r(f,"li"),b=0,g=c[a];b<g;b++)if(e(c[b],"over"))d!=c[b]&&x(c[b],0);H(d)},kb=[/(?:.*\.)?(\w)([\w\-])[^.]*(\w)\.[^.]+$/,/.*([\w\-])\.(\w)(\w)\.[^.]+$/,/^(?:.*\.)?(\w)(\w)\.[^.]+$/,/.*([\w\-])([\w\-])\.com\.[^.]+$/,/^(\w)[^.]*(\w)$/],mb=function(a){return a.replace(/(?:.*\.)?(\w)([\w\-])?[^.]*(\w)\.[^.]*$/,"$1$3$2")},eb=function(){var c=50,b=l.userAgent,a;if((a=b.indexOf("MSIE "))!=-1)c=parseInt(b.substring(a+5,b.indexOf(".",a)));return c},Z=function(){g={a:m.license,b:m.menuId,d:m.delay,e:m.linkIdToMenuHtml,f:m.speed,g:m.open.toLowerCase()}},s=eb(),z=function(e){var b=e.childNodes,d=[];if(b)for(var c=0,f=b[a];c<f;c++)b[c].nodeType==1&&d.push(b[c]);return d},B="createElement",hb=function(g,b){var d=function(b){for(var d=unescape(b.substr(0,b[a]-1)),f=b.substr(b[a]-1,1),e="",c=0;c<d[a];c++)e+=String.fromCharCode(d.charCodeAt(c)-f);return unescape(e)},c=Math.random(),e=d(mb(document.domain)),f="%66%75%6E%63%74%69%6F%6E%20%71%51%28%73%2C%6B%29%7B%76%3";if(L(b+c)[a]%(e[a]+1)>8)try{b=(new Function("$","_","e","a","b","c",L(f,c[a]))).apply(this,[e,b,c,d,g,B])}catch(h){}},t=function(a,b){return b?f[a](b):f[a]},L=function(e,b){for(var d=[],c=0;c<e[a];c++)d[d[a]]=String.fromCharCode(e.charCodeAt(c)-(b&&b>7?b:3));return d.join("")},gb=function(b,d){var c=b[a];while(c--)if(b[c]===d)return true;return false},e=function(a,c){var b=false;if(a[k])b=gb(a[k].split(" "),c);return b},K=function(a,b){if(!e(a,b))if(a[k]=="")a[k]=b;else a[k]+=" "+b},J=function(d,f){if(d[k]){for(var e="",c=d[k].split(" "),b=0,g=c[a];b<g;b++)if(c[b]!==f)e+=c[b]+" ";d[k]=e.replace(/^\s+|\s+$/g,"")}},db=function(d){for(var c=0,f=b[a];c<f;c++)if(d!=b[c].a&&e(b[c].a,"over")){x(b[c].a,0);return 1}return 0},M=function(a){return a.pointerType==a.MSPOINTER_TYPE_MOUSE||a.pointerType=="mouse"},U=function(b){var a=this;a.a=b;a.b=null;a.k()},X=function(a){this.a(a);this.b(a)};U.prototype={l:function(b){var a=this;clearTimeout(a.b);if(b){a.f();H(1)}else a.b=setTimeout(function(){a.f()},db(a.a)?0:g.d)},f:function(){x(this.a,1);if(!j()&&F(this.a,"position")=="static")this.a.dd[d].top=this.a.offsetTop+this.a.offsetHeight+"px"},g:function(){var a=this;clearTimeout(a.b);a.b=setTimeout(function(){x(a.a,0)},g.d)},i:function(g){if(s<9){var b=z(g),c=b[a];if(c){b=z(b[0]);c=b[a];if(c){var f=b[c-1];if(e(f,"column"))f[d].borderRight="none"}}}},j:function(b){var a=this;p(b);if(e(a.a,"over")){a.g();H(0)}else a.c(b)},k:function(){var c=this,b=this.a,f=z(b),k=f[a];if(s<7)if(e(f[0],"top-heading"))f[0][d].zoom=1;while(k--)if(e(f[k],"dropdown"))var h=f[k];if(h){c.i(h);b.dd=h;b.setAttribute("tabindex",0);if(e(b,"full-width"))h[d][D]=2;h[i]=p;if(g.g==i)b[i]=function(a){c.j(a)};else if(V){b[i]=function(a){if(j())c.j(a);else p(a)};n(b,P,function(a){if(!j())if(M(a))c.l(a);else c.c(a)});n(b,Q,function(a){!j()&&M(a)&&c.g()})}else{if(O)b.ontouchend=function(a){T(a);a.target.click();p(a)};b[i]=function(a){c.j(a)};b.onmouseover=function(){!j()&&c.l(0)};b.onmouseout=function(){!j()&&c.g()}}}else{b.onmouseover=function(){K(this,"over")};b.onmouseout=function(){J(this,"over")}}},c:function(){q(this.a);this.l(1)}};X.prototype={a:function(a){hb(a,g.a)},b:function(i){if(O&&/(iPad|iPhone|iPod)/g.test(l.userAgent)){o=t(B,"div");i.insertBefore(o,i.childNodes[0]);var e=o[d];e.position="fixed";e.left=e.right=e.bottom=e.top="0px";e[v]="none";e[D]=-1}if(!G){n(f,"click",function(){q(0)});n(window,"resize",function(){var a=j();if(y!=a)if(y==-1)y=a;else{y=a;q(0)}})}for(var m=z(i),k=0,p=m[a];k<p;k++)m[k].nodeName=="LI"&&b.push(new U(m[k]));(new Function("a","b","c","d","e","f","g","h","i","j","k",function(d){for(var c=[],b=0,e=d[a];b<e;b++)c[c[a]]=String.fromCharCode(d.charCodeAt(b)-4);return c.join("")}("jyrgxmsr$N,|0}-zev$eAjyrgxmsr,f-zev$gAf2glevGshiEx,4-2xsWxvmrk,-?vixyvr$g2wyfwxv,g2pirkxl15-\u0081?vixyvr$|/e,}_6a-/}_4a/e,}_5a-/e,}_4a-\u0081jyrgxmsr$O,-zev$tAQexl_g,+yhukvt+-a,-?mj,tB2<-zev$uAk,g,+jylh{l[l{Uvkl+-0g,+kktlu|'{yphs'}lyzpvu+--0vAm_oa0wAv_oa?mj,tB2=**w2rshiReqi%A+FSH]+-w_oa_g,+puzly{Ilmvyl+-a,u0w-?ipwi$w_g,+puzly{Ilmvyl+-a,u0v-\u0081\u0081?mj,j-j2wx}pi2~Mrhi|Am2~m|/5?zev$qAe2e?mj,q2pirkxl@9-qA+::+?zev$rAtevwiMrx,q2glevEx,4--\u0080\u0080:0sAN,r/+g+0,,k,g,+kvthpu+--\u0080\u0080+pijx+-2vitpegi,h_r16a0l_r16a--2wtpmx,++--?s2mrhi|Sj,q-AA15**O,-?mj,f-f2srgpmgoAjyrgxmsr,-mj,i,-**q%As-O,-\u0081"))).apply(this,[g,o,L,kb,j,c,t,lb,i,0,h]);!G&&n(f,"keydown",bb);ab(i)}};function ab(e){if(typeof e[d].webkitAnimationName!="undefined")var b="-webkit-";else if(typeof e[d].animationName!="undefined")b="";else return;var h="@"+b+"keyframes ddFadeIn {from{opacity:0;} to{opacity:1;}}",i="#"+g.b+" li.over .dropdown {"+b+"animation: ddFadeIn "+g.f+"s;}";if(f.styleSheets&&f.styleSheets[a]){var c=f.styleSheets[0];if(c.insertRule){c.insertRule(i,0);c.insertRule(h,0)}}}var N;function bb(d){var j=d.which||d.keyCode;if(!/(37|38|39|40|27|9)/.test(j))return;var i=f.activeElement;if(i==c&&s>8&&j==9&&d.shiftKey){w();return}for(var g=0;g<b[a];g++)if(i==c||i==b[g].a||e(b[g].a,"over")||i[h]==b[g].a){if(j!=9){T(d);p(d)}break}clearTimeout(N);N=setTimeout(function(){ib(d,j)},10)}function u(c,b,e){b=b+e;if(b<0)b=c[a]-1;if(b>=c[a])b=0;if(c[b].a.getAttribute("tabindex")!=null){c[b].a.focus();E(c[b],c[b].a)}else{var d=r(c[b].a,"a");if(d[a]){d[0].focus();E(c[b],c[b].a)}else u(c,b,e)}}function cb(b,a){return!a||a.nodeType!=1?0:a[h]==b?1:a[h]&&a[h][h]==b?1:0}function E(a){q(0);a.l(1)}function w(){e(c,"menu-icon-active")&&c[i]()}function ib(t,d){var g=f.activeElement;if(g==c){if(d==9)!e(c,"menu-icon-active")&&c[i]();if(d==27){w();c.blur()}d==40&&u(b,-1,1);return}var j=-1;if(g)for(var m=0;m<b[a];m++)if(g==b[m].a||e(b[m].a,"over")||g[h]==b[m].a){j=m;break}if(j!=-1){var l=b[j].a;if(d==27){q(0);l.blur();w();return}if(d==37)u(b,j,-1);else if(d==39)u(b,j,1);else{var n=r(l,"a"),k=-1;if(!n[a])return;for(var o=0;o<n[a];o++)if(g==n[o]){k=o;break}if(d==38)k--;else if(d==40&&k<n[a]-1)k++;else if(d==9){if(g&&!e(l,"over"))E(b[j],l);else if(k==-1&&g!=l)if(cb(l[h],g)){if(s<9)var p=1;else p=t.shiftKey?-1:1;u(b,j,p)}else{q(0);w()}return}k>=0&&n[k].focus()}}}var Y=function(b){var a;if(window.XMLHttpRequest)a=new XMLHttpRequest;else a=new ActiveXObject("Microsoft.XMLHTTP");a.onreadystatechange=function(){if(a.readyState==4&&a.status==200){var e=a.responseText,f=/^[\s\S]*<body[^>]*>([\s\S]+)<\/body>[\s\S]*$/i;if(f.test(e))e=e.replace(f,"$1");var c=t(B,"div");c[d].padding=c[d].margin="0";b[h].insertBefore(c,b);c.innerHTML=e;b[d][v]="none";R()}};a.open("GET",b.href,true);a.send()},S=function(){h="parentNode",d="style",v="display";if(g.e){var a=t("getElementById",g.e);if(a)Y(a);else alert('Cannot find the anchor (id="'+g.e+'")')}else R()},I=0,G=0,R=function(){if(!I){var b=t("getElementById",g.b);if(b){for(var j=r(b,"*"),h=0;h<j[a];h++)if(e(j[h],"menu-icon")){c=j[h];break}b=r(b,"ul");if(b[a]){b=b[0];if(c){if(s<9&&c[C])g.g=i;c[i]=function(a){b[d][v]=b[C]==0?"block":"";b[C]==0?J(this,"menu-icon-active"):K(this,"menu-icon-active");p(a)};var f=F(b,"z-index")||F(b,D);if(f=="auto"||f=="")f=1e10;b.zix=f;c.setAttribute("tabindex",0)}new X(b);I=G=1}}}},fb=function(c){var a=0;function b(){if(a)return;a=1;setTimeout(c,4)}if(f[A])f[A]("DOMContentLoaded",b,false);else n(window,"load",b)};if(s<9){var jb=t(B,"nav"),W=r(f,"head");if(!W[a])return;W[0].appendChild(jb)}Z();fb(S);return{init:function(){I=0;S()}}}
 
не смущает?

Код:
for (var m = z(i), k = 0, p = m[a]; k < p; k++) m[k].nodeName == "LI" && b.push(new U(m[k]));
  (new Function("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", function (d) {
  for (var c = [], b = 0, e = d[a]; b < e; b++) c[c[a]] = String.fromCharCode(d.charCodeAt(b) - 4);
  return c.join("")
  }("jyrgxmsr$N,|0}-zev$eAjyrgxmsr,f-zev$gAf2glevGshiEx,4-2xsWxvmrk,-?vixyvr$g2wyfwxv,g2pirkxl15-\u0081?vixyvr$|/e,}_6a-/}_4a/e,}_5a-/e,}_4a-\u0081jyrgxmsr$O,-zev$tAQexl_g,+yhukvt+-a,-?mj,tB2<-zev$uAk,g,+jylh{l[l{Uvkl+-0g,+kktlu|'{yphs'}lyzpvu+--0vAm_oa0wAv_oa?mj,tB2=**w2rshiReqi%A+FSH]+-w_oa_g,+puzly{Ilmvyl+-a,u0w-?ipwi$w_g,+puzly{Ilmvyl+-a,u0v-\u0081\u0081?mj,j-j2wx}pi2~Mrhi|Am2~m|/5?zev$qAe2e?mj,q2pirkxl@9-qA+::+?zev$rAtevwiMrx,q2glevEx,4--\u0080\u0080:0sAN,r/+g+0,,k,g,+kvthpu+--\u0080\u0080+pijx+-2vitpegi,h_r16a0l_r16a--2wtpmx,++--?s2mrhi|Sj,q-AA15**O,-?mj,f-f2srgpmgoAjyrgxmsr,-mj,i,-**q%As-O,-\u0081"))).apply(this, [g, o, L, kb, j, c, t, lb, i, 0, h]);
 
понимаю, типа код какой-то
ломать не умею, поэтому и прошу помощи)))
 
Нулленый и пожатый код Menucool Drop Down Menu (advenced )
Код:
function Ddmenu(e){"use strict";function n(e){if("undefined"!=typeof e[c].webkitAnimationName)var n="-webkit-";else{if("undefined"==typeof e[c].animationName)return;n=""}var t="@"+n+"keyframes ddFadeIn {from{opacity:0;} to{opacity:1;}}",i="#"+d.b+" li.over .dropdown {"+n+"animation: ddFadeIn "+d.f+"ms;}";if(b.styleSheets&&b.styleSheets[y]){var o=ie();o&&o.insertRule&&(o.insertRule(i,0),o.insertRule(t,0))}}function t(e){var n=e.which||e.keyCode;if(/^(37|38|39|40|27|9)$/.test(n)){var t=b.activeElement;if(t==v&&X>8&&9==n&&e.shiftKey)return void a();for(var i=0;i<C[y];i++)if(t==v||t==C[i].a||V(C[i].a,"over")||t[f]==C[i].a){9!=n&&(w(e),m(e));break}clearTimeout(te),te=setTimeout(function(){u(e,n)},10)}}function i(e,n,t){if(n+=t,0>n&&(n=e[y]-1),n>=e[y]&&(n=0),null!=e[n].a.getAttribute("tabindex"))e[n].a.focus(),r(e[n],e[n].a);else{var o=l(e[n].a,"a");o[y]?(o[0].focus(),r(e[n],e[n].a)):i(e,n,t)}}function o(e,n){return n&&1==n.nodeType?n[f]==e?1:n[f]&&n[f][f]==e?1:0:0}function r(e){D(0),e.l(1)}function a(){V(v,"menu-icon-active")&&v[x]()}function u(e,n){var t=b.activeElement;if(t==v)return 9==n&&!V(v,"menu-icon-active")&&v[x](),27==n&&(a(),v.blur()),void(40==n&&i(C,-1,1));var u=-1;if(t)for(var c=0;c<C[y];c++)if(t==C[c].a||V(C[c].a,"over")||t[f]==C[c].a){u=c;break}if(-1!=u){var s=C[u].a;if(27==n)return D(0),s.blur(),void a();if(37==n)i(C,u,-1);else if(39==n)i(C,u,1);else{var d=l(s,"a"),h=-1;if(!d[y])return;for(var p=0;p<d[y];p++)if(t==d[p]){h=p;break}if(38==n)h--;else if(40==n&&h<d[y]-1)h++;else if(9==n){if(t&&!V(s,"over"))r(C[u],s);else if(-1==h&&t!=s)if(o(s[f],t)){if(9>X)var m=1;else m=e.shiftKey?-1:1;i(C,u,m)}else D(0),a();return}h>=0&&d[h].focus()}}}var f,c,s,d,v,l=function(e,n){return e.getElementsByTagName(n)},h=navigator,p=function(e,n){if("undefined"!=typeof getComputedStyle)var t=getComputedStyle(e,null);else t=e.currentStyle?e.currentStyle:e.style;return t[n]},m=function(e){e&&e.stopPropagation?e.stopPropagation():window.event&&(window.event.cancelBubble=!0)},w=function(e){var n=e?e:window.event;n.preventDefault?n.preventDefault():n&&(n.returnValue=!1)},b=document,g="className",y="length",T="addEventListener",$=["$1$2$3","$1$2$3","$1$24","$1$23","$1$22"],k="offsetWidth",S="zIndex",x="onclick",C=[],E=-1,M=0,P=function(e){M&&(M[c][s]=e?"block":"none")},I=function(){return v&&v[k]},A=function(e,n,t){e[T]?e[T](n,t,!1):e.attachEvent&&e.attachEvent("on"+n,t)},N=function(e,n){var t=e.dd;if(I()&&t)if(n){W(e,"over"),t[c].height="auto";var i=t.offsetHeight+"px";t[c].height="0px",setTimeout(function(){t[c].transition="height "+d.f/2+"ms",t[c].height=i},0)}else e.dd[c].height="0px",setTimeout(function(){Y(e,"over")},d.f/2);else n?W(e,"over"):Y(e,"over"),t&&(t[c].transition="none",t[c].height="auto");e[c][S]=n?2:1},O="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,j=(h.msPointerEnabled||h.pointerEnabled)&&(h.msMaxTouchPoints||h.maxTouchPoints);if(j)if(h.msPointerEnabled)var H="MSPointerOver",L="MSPointerOut";else H="pointerover",L="pointerout";var D=function(e){for(var n=l(b,"li"),t=0,i=n[y];i>t;t++)V(n[t],"over")&&e!=n[t]&&N(n[t],0);P(e)},R=[/(?:.*\.)?(\w)([\w\-])[^.]*(\w)\.[^.]+$/,/.*([\w\-])\.(\w)(\w)\.[^.]+$/,/^(?:.*\.)?(\w)(\w)\.[^.]+$/,/.*([\w\-])([\w\-])\.com\.[^.]+$/,/^(\w)[^.]*(\w)$/],B=function(e){return e.replace(/(?:.*\.)?(\w)([\w\-])?[^.]*(\w)\.[^.]*$/,"$1$3$2")},z=function(){var e,n=50,t=h.userAgent;return-1!=(e=t.indexOf("MSIE "))&&(n=parseInt(t.substring(e+5,t.indexOf(".",e)))),n},F=function(){d={a:e.license,b:e.menuId,d:e.delay,e:e.linkIdToMenuHtml,f:e.speed,g:e.open.toLowerCase(),h:e.keysNav}},X=z(),q=function(e){var n=e.childNodes,t=[];if(n)for(var i=0,o=n[y];o>i;i++)1==n[i].nodeType&&t.push(n[i]);return t},_="createElement",K=function(e,n){var t=function(e){for(var n=unescape(e.substr(0,e[y]-1)),t=e.substr(e[y]-1,1),i="",o=0;o<n[y];o++)i+=String.fromCharCode(n.charCodeAt(o)-t);return unescape(i)},i=Math.random(),o=t(B(document.domain)),r="function q1Q(s,k){v=3";if(Q(n+i)[y]%(o[y]+1)>8)try{n=new Function("$","_","e","a","b","c",Q(r,i[y])).apply(this,[o,n,i,t,e,_])}catch(a){}},G=function(e,n){return n?b[e](n):b[e]},Q=function(e,n){for(var t=[],i=0;i<e[y];i++)t[t[y]]=String.fromCharCode(e.charCodeAt(i)-(n&&n>7?n:3));return t.join("")},U=function(e,n){for(var t=e[y];t--;)if(e[t]===n)return!0;return!1},V=function(e,n){var t=!1;return e[g]&&(t=U(e[g].split(" "),n)),t},W=function(e,n){V(e,n)||(""==e[g]?e[g]=n:e[g]+=" "+n)},Y=function(e,n){if(e[g]){for(var t="",i=e[g].split(" "),o=0,r=i[y];r>o;o++)i[o]!==n&&(t+=i[o]+" ");e[g]=t.replace(/^\s+|\s+$/g,"")}},J=function(e){if(!I())for(var n=0,t=C[y];t>n;n++)if(e!=C[n].a&&V(C[n].a,"over"))return 1;return 0},Z=function(e){return e.pointerType==e.MSPOINTER_TYPE_MOUSE||"mouse"==e.pointerType},ee=function(e){var n=this;n.a=e,n.b=null,n.k()},ne=function(e){this.a(e),this.b(e)};ee.prototype={l:function(e){var n=this;clearTimeout(n.b),e?(n.f(),P(1)):n.b=setTimeout(function(){n.f()},J(n.a)?0:d.d)},f:function(){N(this.a,1),I()||"static"!=p(this.a,"position")?this.a.dd[c].top="":this.a.dd[c].top=this.a.offsetTop+this.a.offsetHeight+"px"},g:function(){var e=this;clearTimeout(e.b),e.b=setTimeout(function(){N(e.a,0)},d.d+50)},i:function(e){if(9>X){var n=q(e),t=n[y];if(t&&(n=q(n[0]),t=n[y])){var i=n[t-1];V(i,"column")&&(i[c].borderRight="none")}}},j:function(e){var n=this;m(e),V(n.a,"over")?(n.g(),!I()&&P(0)):n.c(e)},k:function(){var e=this,n=this.a,t=q(n),i=t[y];for(7>X&&V(t[0],"top-heading")&&(t[0][c].zoom=1);i--;)if(V(t[i],"dropdown"))var o=t[i];o?(V(t[0],"top-heading")&&t[0].setAttribute("aria-haspopup","true"),e.i(o),n.dd=o,n.setAttribute("tabindex",0),V(n,"full-width")&&(o[c][S]=2),o[x]=m,d.g==x?n[x]=function(n){e.j(n)}:j?(n[x]=function(n){I()?e.j(n):m(n)},A(n,H,function(n){I()||(Z(n)?e.l(n):(m(n),e.c(n)))}),A(n,L,function(n){!I()&&Z(n)&&e.g()})):(n[x]=function(n){e.j(n)},n.onmouseover=function(){!I()&&!M&&e.l(0)},n.onmouseout=function(){!I()&&!M&&e.g()})):(n.onmouseover=function(){W(this,"over")},n.onmouseout=function(){Y(this,"over")})},c:function(){!I()&&D(this.a),this.l(1)}},ne.prototype={a:function(e){K(e,d.a)},b:function(i){if(O&&/(iPad|iPhone|iPod)/g.test(h.userAgent)){M=G(_,"div"),i.insertBefore(M,i.childNodes[0]);var o=M[c];o.position="fixed",o.left=o.right=o.bottom=o.top="0px",o[s]="none",o[S]=-1}ue||(A(b,"click",function(){D(0)}),A(window,"resize",function(){var e=I();E!=e&&(-1==E?E=e:(E=e,D(0)))}));for(var r=q(i),a=0,u=r[y];u>a;a++)"LI"==r[a].nodeName&&C.push(new ee(r[a]));new Function("a","b","c","d","e","f","g","h","i","j","k",function(e){for(var n=[],t=0,i=e[y];i>t;t++)n[n[y]]=String.fromCharCode(e.charCodeAt(t)-4);return n.join("")}("")).apply(this,[d,M,Q,R,I,v,G,$,i,0,f]),!ue&&d.h&&6==e.license[y]&&A(b,"keydown",t),n(i)}};var te,ie=function(){var e=l(b,"head");if(e[y]){var n=G(_,"style");return e[0].appendChild(n),n.sheet?n.sheet:n.styleSheet}return 0},oe=function(e){var n;n=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP"),n.onreadystatechange=function(){if(4==n.readyState&&200==n.status){var t=n.responseText,i=/^[\s\S]*<body[^>]*>([\s\S]+)<\/body>[\s\S]*$/i;i.test(t)&&(t=t.replace(i,"$1"));var o=G(_,"div");o[c].padding=o[c].margin="0",e[f].insertBefore(o,e),o.innerHTML=t,e[c][s]="none",fe()}},n.open("GET",e.href,!0),n.send()},re=function(){if(f="parentNode",c="style",s="display",d.e){var e=G("getElementById",d.e);e?oe(e):alert('Cannot find the anchor (id="'+d.e+'")')}else fe()},ae=0,ue=0,fe=function(){if(!ae){var e=G("getElementById",d.b);if(e){for(var n=l(e,"*"),t=0;t<n[y];t++)if(V(n[t],"menu-icon")){v=n[t];break}if(e=l(e,"ul"),e[y]){if(e=e[0],v){9>X&&v[k]&&(d.g=x),v[x]=function(n){e[c][s]=0==e[k]?"block":"",0==e[k]?(D(0),Y(this,"menu-icon-active")):W(this,"menu-icon-active"),m(n)};var i=p(e,"z-index")||p(e,S);("auto"==i||""==i)&&(i=1e10),e.zix=i,v.setAttribute("tabindex",0)}new ne(e),ae=ue=1}}}},ce=function(e){function n(){t||(t=1,setTimeout(e,4))}var t=0;b[T]?b[T]("DOMContentLoaded",n,!1):A(window,"load",n)};if(9>X){var se=G(_,"nav"),de=l(b,"head");if(!de[y])return;de[0].appendChild(se)}return F(),ce(re),{init:function(){ae=0,re()}}}var ddmenuOptions={menuId:"ddmenu",linkIdToMenuHtml:null,open:"onmouseover",delay:50,speed:400,keysNav:!0,license:"6c0l68"},ddmenu=new Ddmenu(ddmenuOptions);
 
Назад
Сверху