1jQuery.fn.blink=function(a){a=jQuery.extend({speed:200,blinks:5,callback:null},a);return this.each(function(){var k=0;for(i=1;i<=a.blinks;i++)$(this).animate({opacity:0},a.speed).animate({opacity:1},a.speed,function(){k++;k==a.blinks&&jQuery.isFunction(a.callback)&&a.callback()})})}; 2function slideShow(a){$("ul.slideshow").append('<li id="slideshow-caption" class="caption"><div class="slideshow-caption-container"><h3></h3><p></p></div></li>');$("ul.slideshow li").css({opacity:0});$("ul.slideshow li:first").css({opacity:1});$("#slideshow-caption h3").html("<a href='"+$("ul.slideshow a:first").attr("href")+"'>"+$("ul.slideshow a:first").find("img").attr("title")+"</a>");$("#slideshow-caption").css({opacity:0.85,bottom:0});var k=setInterval("gallery()",a);$("ul.slideshow").hover(function(){clearInterval(k)}, 3function(){k=setInterval("gallery()",a)})} 4function gallery(){var a=$("ul.slideshow li.show")?$("ul.slideshow li.show"):$("#ul.slideshow li:first"),k=a.next().length?a.next().attr("id")=="slideshow-caption"?$("ul.slideshow li:first"):a.next():$("ul.slideshow li:first"),e="<a href='"+k.find("a").attr("href")+"'>"+k.find("img").attr("title")+"</a>";k.css({opacity:0}).addClass("show").animate({opacity:1},400);$("#slideshow-caption").animate({bottom:-70},200,function(){$("#slideshow-caption h3").html(e);$("#slideshow-caption").animate({bottom:0}, 5200)});a.animate({opacity:0}
5,200).removeClass("show")}function visualMessage(a){$("#board").html('<div class="vm">'+a+"</div>")}function addMessage(a,k){var e=String($("#message").val());$.post("/3guestbook.php",{regime:"add",name:k,message:e,game_id:a},function(g){$("#board").html(g);$("#send").removeAttr("disabled")});$("#message").val("");$("#send").attr("disabled","disabled");visualMessage("ÐожалÑйÑÑа, подождиÑе. ÐобавлÑем ÑледÑÑÑий комменÑаÑий: <br><br>"+e)} 6function addRepa(a,k,e,g,f){ajaxFunction(1,a,k,"+1: напиÑи, за ÑÑо пÑибавлÑеÑÑ ÑепÑ?",e,g,e,f)}function decRepa(a,k,e,g,f){ajaxFunction(-1,a,k,"-1: напиÑи, за ÑÑо ÑменÑÑаеÑÑ ÑепÑ?",e,g,e,f)}function showMessages(a,k,e,g){visualMessage("ÐожалÑйÑÑа, подождиÑе. ÐагÑÑжаем ÑÑÑаниÑÑ â "+a+" ...");var f=document.createElement("script");f.src="3guestbook.php?regime=show&game_id="+k+"&page="+a+"&name="+e+"&rnd="+Math.round(Math.random()*1E6)+"&ucomments="+g;document.body.appendChild(f);return false} 7function ajaxFunction(a,k,e,g,f,n,o,u){var p;try{p=new XMLHttpRequest}catch(w){try{p=new ActiveXObject("Msxml2.XMLHTTP")}catch(H){try{p=new ActiveXObject("Microsoft.XMLHTTP")}catch(y){alert("Your browser broke!");return false}}}if(a!="0"){g=prompt(g+" ÐÐÐÐÐÐÐÐ: еÑли ÑÑо бÑÐ´ÐµÑ Ð±ÐµÑÑвÑзнÑй Ð½Ð°Ð±Ð¾Ñ Ð±Ñкв, Ñо Ð³Ð¾Ð»Ð¾Ñ Ð±ÑÐ´ÐµÑ ÑдалÑн, а ÑÑ Ð·Ð°ÑабоÑаеÑÑ Ñебе минÑÑ 1 ÑепÑ.","");p.onreadystatechange=function(){if(p.readyState==4)if(p.responseText==""){alert("СпаÑибо, ÑепÑÑаÑÐ¸Ñ ÑÑпеÑно изменена.");showMessages(e,f, 8n,u)}else alert("РепÑÑаÑÐ¸Ñ Ð½Ðµ изменена. ЧиÑай FAQ, пÑÐ½ÐºÑ 2.2."+p.responseText)};if(g){p.open("GET","repa.php"+("?uid="+n+"&to="+k+"&change="+a+"&fromMsg="+f+"&mes="+g),true);p.send(null)}else alert("ÐбÑзаÑелÑно нÑжен комменÑаÑий!")}else{p.onreadystatechange=function(){if(p.readyState==4)document.getElementById("ajaxDiv").innerHTML=p.responseText};document.getElementById("ajaxDiv").innerHTML="Пожалуйста, подождите ..."; 9p.open("GET","ajax-example.php"+("?uid="+n+"&i="+o),true);p.send(null)}}function initSpoilers(a){$("div.sp-head",$(a||"body")).click(function(){$(this).toggleClass("unfolded");$(this).next("div.sp-body").slideToggle("fast")})} 10(function(a){a.fn.vTicker=function(k){k=a.extend({speed:400,pause:2E3,showItems:5,animation:"",mousePause:true,isPaused:false,direction:"up",height:0},k);
10moveUp=function(e,g,f){if(!f.isPaused){e=e.children("ul");var n=e.children("li:first").clone(true);if(f.height>0)g=e.children("li:first").height();e.animate({top:"-="+g+"px"},f.speed,function(){a(this).children("li:first").remove();a(this).css("top","0px")});if(f.animation=="fade"){e.children("li:first").fadeOut(f.speed);f.height==0&&e.children("li:eq("+ 11f.showItems+")").hide().fadeIn(f.speed)}n.appendTo(e)}};moveDown=function(e,g,f){if(!f.isPaused){e=e.children("ul");var n=e.children("li:last").clone(true);if(f.height>0)g=e.children("li:first").height();e.css("top","-"+g+"px").prepend(n);e.animate({top:0},f.speed,function(){a(this).children("li:last").remove()});if(f.animation=="fade"){f.height==0&&e.children("li:eq("+f.showItems+")").fadeOut(f.speed);e.children("li:first").hide().fadeIn(f.speed)}}};return this.each(function(){var e=a(this),g=0; 12e.css({overflow:"hidden",position:"relative"}).children("ul").css({position:"absolute",margin:0,padding:0}).children("li").css({margin:0,padding:0});if(k.height==0){e.children("ul").children("li").each(function(){if(a(this).height()>g)g=a(this).height()});e.children("ul").children("li").each(function(){a(this).height(g)});e.height(g*k.showItems)}else e.height(k.height);setInterval(function(){k.direction=="up"?moveUp(e,g,k):moveDown(e,g,k)},k.pause);k.mousePause&&e.bind("mouseenter",function(){k.isPaused= 13true}).bind("mouseleave",function(){k.isPaused=false})})}})(jQuery); 14var swfobject=function(){function a(){if(!O){try{var d=s.getElementsByTagName("body")[0].appendChild(s.createElement("span"));d.parentNode.removeChild(d)}catch(h){return}O=true;d=B.length;for(var b=0;b<d;b++)B[b]()}}function k(d){if(O)d();else B[B.length]=d}function e(d){if(typeof K.addEventListener!=v)K.addEventListener("load",d,false);else if(typeof s.addEventListener!=v)s.addEventListener("load",d,false);else if(typeof K.attachEvent!=v)E(K,"onload",d);else if(typeof K.onload=="function"){var h= 15K.onload;K.onload=function(){h();d()}}else K.onload=d}function g(){var d=s.getElementsByTagName("body")[0],h=s.createElement(I);h.setAttribute("type",Y);var b=d.appendChild(h);if(b){var c=0;(function(){if(typeof b.GetVariable!=v){var m=b.GetVariable("$version");if(m){m=m.split(" ")[1].split(",");q.pv=[parseInt(m[0],10),parseInt(m[1],10),parseInt(m[2],10)]}}else if(c<10){c++;setTimeout(arguments.callee,10);return}d.removeChild(h);b=null;f()})()}else f()}function f(){var d=z.length;if(d>0)for(var h= 160;h<d;h++){var b=z[h].id,c=z[h].callbackFn,m={success:false,id:b};if(q.pv[0]>0){var r=l(b);if(r)if(D(z[h].swfVersion)&&!(q.wk&&q.wk<312)){x(b,true);if(c){m.success=true;m.ref=n(b);c(m)}}else if(z[h].expressInstall&&o()){m={};m.data=z[h].expressInstall;m.width=r.getAttribute("width")||"0";m.height=r.getAttribute("height")||"0";if(r.getAttribute("class"))m.styleclass=r.getAttribute("class");if(r.getAttribute("align"))m.align=r.getAttribute("align");var t={};r=r.getElementsByTagName("param");for(var C= 17r.length,A=0;A<C;A++)if(r[A].getAttribute("name").toLowerCase()!="movie")t[r[A].getAttribute("name")]=r[A].getAttribute("value");u(m,t,b,c)}else{p(r);c&&c(m)}}else{x(b,true);if(c){if((b=n(b))&&typeof b.SetVariable!=v){m.success=true;m.ref=b}c(m)}}}}function n(d){var h=null;if((d=l(d))&&d.nodeName=="OBJECT")if(typeof d.SetVariable!=v)h=d;else if(d=d.getElementsByTagName(I)[0])h=d;return h}function o(){return!Z&&D("6.0.65")&&(q.win||q.mac)&&!(q.wk&&q.wk<312)}function u(d,h,b,c){Z=true;U=c||null;V={success:false, 18id:b};var m=l(b);if(m){if(m.nodeName=="OBJECT"){R=w(m);W=null}else{R=m;W=b}d.id=aa;if(typeof d.width==v||!/%$/.test(d.width)&&parseInt(d.width,10)<310)d.width="310";if(typeof d.height==v||!/%$/.test(d.height)&&parseInt(d.height,10)<137)d.height="137";s.title=s.title.slice(0,47)+" - Flash Player Installation";c=q.ie&&q.win?"ActiveX":"PlugIn";c="MMredirectURL="+K.location.toString().replace(/&/g,"%26")+"&MMplayerType="+c+"&MMdoctitle="+s.title;if(typeof h.flashvars!=v)h.flashvars+="&"+c;else h.flashvars= 19c;if(q.ie&&q.win&&m.readyState!=4){c=s.createElement("div");b+="SWFObjectNew";c.setAttribute("id",b);m.parentNode.insertBefore(c,m);m.style.display="none";(function(){m.readyState==4?m.parentNode.removeChild(m):setTimeout(arguments.callee,10)})()}H(d,h,b)}}function p(d){if(q.ie&&q.win&&d.readyState!=4){var h=s.createElement("div");d.parentNode.insertBefore(h,d);h.parentNode.replaceChild(w(d),h);d.style.display="none";(function(){d.readyState==4?d.parentNode.removeChild(d):setTimeout(arguments.callee, 2010)})()}else d.parentNode.replaceChild(w(d),d)}function w(d){var h=s.createElement("div");if(q.win&&q.ie)h.innerHTML=d.innerHTML;else if(d=d.getElementsByTagName(I)[0])if(d=d.childNodes)for(var b=d.length,c=0;c<b;c++)!(d[c].nodeType==1&&d[c].nodeName=="PARAM")&&d[c].nodeType!=8&&h.appendChild(d[c].cloneNode(true));return h}function H(d,h,b){var c,m=l(b);if(q.wk&&q.wk<312)return c;if(m){if(typeof d.id==v)d.id=b;if(q.ie&&q.win){var r="",t;for(t in d)if(d[t]!=Object.prototype[t])if(t.toLowerCase()== 21"data")h.movie=d[t];else if(t.toLowerCase()=="styleclass")r+=' class="'+d[t]+'"';else if(t.toLowerCase()!="classid")r+=" "+t+'="'+d[t]+'"';t="";for(var C in h)if(h[C]!=Object.prototype[C])t+='<param name="'+C+'" value="'+h[C]+'" />';m.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+r+">"+t+"</object>";P[P.length]=d.id;c=l(d.id)}
21else{C=s.createElement(I);C.setAttribute("type",Y);for(var A in d)if(d[A]!=Object.prototype[A])if(A.toLowerCase()=="styleclass")C.setAttribute("class", 22d[A]);else A.toLowerCase()!="classid"&&C.setAttribute(A,d[A]);for(r in h)if(h[r]!=Object.prototype[r]&&r.toLowerCase()!="movie"){d=C;t=r;A=h[r];b=s.createElement("param");b.setAttribute("name",t);b.setAttribute("value",A);d.appendChild(b)}m.parentNode.replaceChild(C,m);c=C}}return c}function y(d){var h=l(d);if(h&&h.nodeName=="OBJECT")if(q.ie&&q.win){h.style.display="none";(function(){if(h.readyState==4){var b=l(d);if(b){for(var c in b)if(typeof b[c]=="function")b[c]=null;b.parentNode.removeChild(b)}}else setTimeout(arguments.callee, 2310)})()}else h.parentNode.removeChild(h)}function l(d){var h=null;try{h=s.getElementById(d)}catch(b){}return h}function E(d,h,b){d.attachEvent(h,b);Q[Q.length]=[d,h,b]}function D(d){var h=q.pv;d=d.split(".");d[0]=parseInt(d[0],10);d[1]=parseInt(d[1],10)||0;d[2]=parseInt(d[2],10)||0;return h[0]>d[0]||h[0]==d[0]&&h[1]>d[1]||h[0]==d[0]&&h[1]==d[1]&&h[2]>=d[2]?true:false}function j(d,h,b,c){if(!(q.ie&&q.mac)){var m=s.getElementsByTagName("head")[0];if(m){b=b&&typeof b=="string"?b:"screen";if(c)X=M=null; 24if(!M||X!=b){c=s.createElement("style");c.setAttribute("type","text/css");c.setAttribute("media",b);M=m.appendChild(c);if(q.ie&&q.win&&typeof s.styleSheets!=v&&s.styleSheets.length>0)M=s.styleSheets[s.styleSheets.length-1];X=b}if(q.ie&&q.win)M&&typeof M.addRule==I&&M.addRule(d,h);else M&&typeof s.createTextNode!=v&&M.appendChild(s.createTextNode(d+" {"+h+"}"))}}}function x(d,h){if(ba){var b=h?"visible":"hidden";if(O&&l(d))l(d).style.visibility=b;else j("#"+d,"visibility:"+b)}}function F(d){return/[\\\"<>\.;]/.exec(d)!= 25null&&typeof encodeURIComponent!=v?encodeURIComponent(d):d}var v="undefined",I="object",Y="application/x-shockwave-flash",aa="SWFObjectExprInst",K=window,s=document,G=navigator,J=false,B=[function(){J?g():f()}],z=[],P=[],Q=[],R,W,U,V,O=false,Z=false,M,X,ba=true,q=function(){var d=typeof s.getElementById!=v&&typeof s.getElementsByTagName!=v&&typeof s.createElement!=v,h=G.userAgent.toLowerCase(),b=G.platform.toLowerCase(),c=b?/win/.test(b):/win/.test(h);b=b?/mac/.test(b):/mac/.test(h);h=/webkit/.test(h)? 26parseFloat(h.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false;var m=!+"�1",r=[0,0,0],t=null;if(typeof G.plugins!=v&&typeof G.plugins["Shockwave Flash"]==I){if((t=G.plugins["Shockwave Flash"].description)&&!(typeof G.mimeTypes!=v&&G.mimeTypes[Y]&&!G.mimeTypes[Y].enabledPlugin)){J=true;m=false;t=t.replace(/^.*\s+(\S+\s+\S+$)/,"$1");r[0]=parseInt(t.replace(/^(.*)\..*$/,"$1"),10);r[1]=parseInt(t.replace(/^.*\.(.*)\s.*$/,"$1"),10);r[2]=/[a-zA-Z]/.test(t)?parseInt(t.replace(/^.*[a-zA-Z]+(.*)$/,"$1"), 2710):0}}else if(typeof K.ActiveXObject!=v)try{var C=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(C)if(t=C.GetVariable("$version")){m=true;t=t.split(" ")[1].split(",");r=[parseInt(t[0],10),parseInt(t[1],10),parseInt(t[2],10)]}}catch(A){}return{w3:d,pv:r,wk:h,ie:m,win:c,mac:b}}();(function(){if(q.w3){if(typeof s.readyState!=v&&s.readyState=="complete"||typeof s.readyState==v&&(s.getElementsByTagName("body")[0]||s.body))a();if(!O){typeof s.addEventListener!=v&&s.addEventListener("DOMContentLoaded", 28a,false);if(q.ie&&q.win){s.attachEvent("onreadystatechange",function(){if(s.readyState=="complete"){s.detachEvent("onreadystatechange",arguments.callee);a()}});K==top&&function(){if(!O){try{s.documentElement.doScroll("left")}catch(d){setTimeout(arguments.callee,0);return}a()}}()}q.wk&&function(){O||(/loaded|complete/.test(s.readyState)?a():setTimeout(arguments.callee,0))}();e(a)}}})();(function(){q.ie&&q.win&&window.attachEvent("onunload",function(){for(var d=Q.length,h=0;h<d;h++)Q[h][0].detachEvent(Q[h][1], 29Q[h][2]);d=P.length;for(h=0;h<d;h++)y(P[h]);for(var b in q)q[b]=null;q=null;for(var c in swfobject)swfobject[c]=null;swfobject=null})})();return{registerObject:function(d,h,b,c){if(q.w3&&d&&h){var m={};m.id=d;m.swfVersion=h;m.expressInstall=b;m.callbackFn=c;z[z.length]=m;x(d,false)}else c&&c({success:false,id:d})},getObjectById:function(d){if(q.w3)return n(d)}
29,embedSWF:function(d,h,b,c,m,r,t,C,A,L){var S={success:false,id:h};if(q.w3&&!(q.wk&&q.wk<312)&&d&&h&&b&&c&&m){x(h,false);k(function(){b+=""; 30c+="";var N={};if(A&&typeof A===I)for(var T in A)N[T]=A[T];N.data=d;N.width=b;N.height=c;T={};if(C&&typeof C===I)for(var ca in C)T[ca]=C[ca];if(t&&typeof t===I)for(var da in t)if(typeof T.flashvars!=v)T.flashvars+="&"+da+"="+t[da];else T.flashvars=da+"="+t[da];if(D(m)){ca=H(N,T,h);N.id==h&&x(h,true);S.success=true;S.ref=ca}else if(r&&o()){N.data=r;u(N,T,h,L);return}else x(h,true);L&&L(S)})}else L&&L(S)},switchOffAutoHideShow:function(){ba=false},ua:q,getFlashPlayerVersion:function(){return{major:q.pv[0], 31minor:q.pv[1],release:q.pv[2]}},hasFlashPlayerVersion:D,createSWF:function(d,h,b){if(q.w3)return H(d,h,b)},showExpressInstall:function(d,h,b,c){q.w3&&o()&&u(d,h,b,c)},removeSWF:function(d){q.w3&&y(d)},createCSS:function(d,h,b,c){q.w3&&j(d,h,b,c)},addDomLoadEvent:k,addLoadEvent:e,getQueryParamValue:function(d){var h=s.location.search||s.location.hash;if(h){if(/\?/.test(h))h=h.split("?")[1];if(d==null)return F(h);h=h.split("&");for(var b=0;b<h.length;b++)if(h[b].substring(0,h[b].indexOf("="))==d)return F(h[b].substring(h[b].indexOf("=")+ 321))}return""},expressInstallCallback:function(){if(Z){var d=l(aa);if(d&&R){d.parentNode.replaceChild(R,d);if(W){x(W,true);if(q.ie&&q.win)R.style.display="block"}U&&U(V)}Z=false}}}}(); 33(function(a){function k(g){return typeof g=="object"?g:{top:g,left:g}}var e=a.scrollTo=function(g,f,n){a(window).scrollTo(g,f,n)};e.defaults={axis:"xy",duration:parseFloat(a.fn.jquery)>=1.3?0:1};e.window=function(){return a(window)._scrollable()};a.fn._scrollable=function(){return this.map(function(){if(!(!this.nodeName||a.inArray(this.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1))return this;var g=(this.contentWindow||this).document||this.ownerDocument||this;return a.browser.safari|| 34g.compatMode=="BackCompat"?g.body:g.documentElement})};a.fn.scrollTo=function(g,f,n){if(typeof f=="object"){n=f;f=0}if(typeof n=="function")n={onAfter:n};if(g=="max")g=9E9;n=a.extend({},e.defaults,n);f=f||n.speed||n.duration;n.queue=n.queue&&n.axis.length>1;if(n.queue)f/=2;n.offset=k(n.offset);n.over=k(n.over);return this._scrollable().each(function(){function o(E){p.animate(y,f,n.easing,E&&function(){E.call(this,g,n)})}var u=this,p=a(u),w=g,H,y={},l=p.is("html,body");switch(typeof w){case "number":case "string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(w)){w= 35k(w);break}w=a(w,this);case "object":if(w.is||w.style)H=(w=a(w)).offset()}a.each(n.axis.split(""),function(E,D){var j=D=="x"?"Left":"Top",x=j.toLowerCase(),F="scroll"+j,v=u[F],I=e.max(u,D);if(H){y[F]=H[x]+(l?0:v-p.offset()[x]);if(n.margin){y[F]-=parseInt(w.css("margin"+j))||0;y[F]-=parseInt(w.css("border"+j+"Width"))||0}y[F]+=n.offset[x]||0;if(n.over[x])y[F]+=w[D=="x"?"width":"height"]()*n.over[x]}else{j=w[x];y[F]=j.slice&&j.slice(-1)=="%"?parseFloat(j)/100*I:j}if(/^\d+$/.test(y[F]))y[F]=y[F]<=0? 360:Math.min(y[F],I);if(!E&&n.queue){v!=y[F]&&o(n.onAfterFirst);delete y[F]}});o(n.onAfter)}).end()};e.max=function(g,f){var n=f=="x"?"Width":"Height",o="scroll"+n;if(!a(g).is("html,body"))return g[o]-a(g)[n.toLowerCase()]();n="client"+n;var u=g.ownerDocument.documentElement,p=g.ownerDocument.body;return Math.max(u[o],p[o])-Math.min(u[n],p[n])}})(jQuery); 37(function(a){function k(f,n,o){var u=n.hash.slice(1),p=document.getElementById(u)||document.getElementsByName(u)[0];if(p){f&&f.preventDefault();var w=a(o.target);if(!(o.lock&&w.is(":animated")||o.onBefore&&o.onBefore.call(o,f,p,w)===false)){o.stop&&w.stop(true);if(o.hash){f=p.id==u?"id":"name";var H=a("<a> </a>").attr(f,u).css({position:"absolute",top:a(window).scrollTop(),left:a(window).scrollLeft()});p[f]="";a("body").prepend(H);location=n.hash;H.remove();p[f]=u}w.scrollTo(p,o).trigger("notify.serialScroll", 38[p])}}}var e=location.href.replace(/#.*/,""),g=a.localScroll=function(f){a("body").localScroll(f)};
38g.defaults={duration:1E3,axis:"y",event:"click",stop:true,target:window,reset:true};g.hash=function(f){if(location.hash){f=a.extend({},g.defaults,f);f.hash=false;if(f.reset){var n=f.duration;delete f.duration;a(f.target).scrollTo(0,f);f.duration=n}k(0,location,f)}};a.fn.localScroll=function(f){function n(){return!!this.href&&!!this.hash&&this.href.replace(this.hash,"")==e&&(!f.filter||a(this).is(f.filter))} 39f=a.extend({},g.defaults,f);return f.lazy?this.bind(f.event,function(o){var u=a([o.target,o.target.parentNode]).filter(n)[0];u&&k(o,u,f)}):this.find("a,area").filter(n).bind(f.event,function(o){k(o,this,f)}).end().end()}})(jQuery);jQuery.fn.spoiler=function(){var a="",k="";return this.each(function(){a=$(this).attr("title");k=$(this).html();$(this).removeClass("sp").addClass("sp-title").html('<a href="javascript:void(0);">'+a+"</a>").after('<div class="sp-cont">'+k+"</div>")})}; 40(function(a){var k,e,g,f,n,o,u,p,w,H,y=0,l={},E=[],D=0,j={},x=[],F=null,v=new Image,I=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,Y=/[^\.]\.(swf)\s*$/i,aa,K=1,s=0,G="",J,B,z=false,P=a.extend(a("<div/>")[0],{prop:0}),Q=a.browser.msie&&a.browser.version<7&&!window.XMLHttpRequest,R=function(){e.hide();v.onerror=v.onload=null;F&&F.abort();k.empty()},W=function(){if(false===l.onError(E,y,l)){e.hide();z=false}else{l.titleShow=false;l.width="auto";l.height="auto";k.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>'); 41V()}},U=function(){var b=E[y],c,m,r,t,C,A;R();l=a.extend({},a.fn.fancybox.defaults,typeof a(b).data("fancybox")=="undefined"?l:a(b).data("fancybox"));A=l.onStart(E,y,l);if(A===false)z=false;else{if(typeof A=="object")l=a.extend(l,A);r=l.title||(b.nodeName?a(b).attr("title"):b.title)||"";if(b.nodeName&&!l.orig)l.orig=a(b).children("img:first").length?a(b).children("img:first"):a(b);if(r===""&&l.orig&&l.titleFromAlt)r=l.orig.attr("alt");c=l.href||(b.nodeName?a(b).attr("href"):b.href)||null;if(/^(?:javascript)/i.test(c)|| 42c=="#")c=null;if(l.type){m=l.type;if(!c)c=l.content}else if(l.content)m="html";else if(c)m=c.match(I)?"image":c.match(Y)?"swf":a(b).hasClass("iframe")?"iframe":c.indexOf("#")===0?"inline":"ajax";if(m){if(m=="inline"){b=c.substr(c.indexOf("#"));m=a(b).length>0?"inline":"ajax"}l.type=m;l.href=c;l.title=r;if(l.autoDimensions)if(l.type=="html"||l.type=="inline"||l.type=="ajax"){l.width="auto";l.height="auto"}else l.autoDimensions=false;if(l.modal){l.overlayShow=true;l.hideOnOverlayClick=false;l.hideOnContentClick= 43false;l.enableEscapeButton=false;l.showCloseButton=false}l.padding=parseInt(l.padding,10);l.margin=parseInt(l.margin,10);k.css("padding",l.padding+l.margin);a(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){a(this).replaceWith(o.children())});switch(m){case "html":k.html(l.content);V();break;case "inline":if(a(b).parent().is("#fancybox-content")===true){z=false;break}a('<div class="fancybox-inline-tmp" />').hide().insertBefore(a(b)).bind("fancybox-cleanup",function(){a(this).replaceWith(o.children())}).bind("fancybox-cancel", 44function(){a(this).replaceWith(k.children())});a(b).appendTo(k);V();break;case "image":z=false;a.fancybox.showActivity();v=new Image;v.onerror=function(){W()};v.onload=function(){z=true;v.onerror=v.onload=null;l.width=v.width;l.height=v.height;a("<img />").attr({id:"fancybox-img",src:v.src,alt:l.title}).appendTo(k);O()};v.src=c;break;case "swf":l.scrolling="no";t='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+l.width+'" height="'+l.height+'"><param name="movie" value="'+c+ 45'"></param>';C="";a.each(l.swf,function(L,S){t+='<param name="'+L+'" value="'+S+'"></param>';C+=" "+L+'="'+S+'"'});t+='<embed src="'+c+'" type="application/x-shockwave-flash" width="'+l.width+'" height="'+l.height+'"'+C+"></embed></object>";k.html(t);V();break;case "ajax":z=false;a.fancybox.showActivity();l.ajax.win=l.ajax.success;F=a.ajax(a.extend({},l.ajax,{url:c,data:l.ajax.data||{},error:function(L){L.status>0&&W()},success:function(L,S,N){if((typeof N=="object"?N:F).status==200){if(typeof l.ajax.win== 46"function"){A=l.ajax.win(c,L,S,N);if(A===false){e.hide();return}else if(typeof A=="string"||typeof A=="object")L=A}k.html(L);V()}}}));break;case "iframe":O()}}else W()}},V=function(){var b=l.width,c=l.height;b=b.toString().indexOf("%")>-1?parseInt((a(window).width()-l.margin*2)*parseFloat(b)/100,10)+"px":b=="auto"?"auto":b+"px";c=c.toString().indexOf("%")>-1?parseInt((a(window).height()-l.margin*2)*parseFloat(c)/100,10)+"px":c=="auto"?"auto":c+"px";k.wrapInner('<div style="width:'+b+";height:"+c+ 47";overflow: "+(l.scrolling=="auto"?"auto":l.scrolling=="yes"?"scroll":"hidden")+';position:relative;"></div>');l.width=k.width();l.height=k.height();O()},O=function(){var b,c;e.hide();if(f.is(":visible")&&false===j.onCleanup(x,D,j)){a.event.trigger("fancybox-cancel");z=false}else{z=true;a(o.add(g)).unbind();a(window).unbind("resize.fb scroll.fb");
47a(document).unbind("keydown.fb");f.is(":visible")&&j.titlePosition!=="outside"&&f.css("height",f.height());x=E;D=y;j=l;if(j.overlayShow){g.css({"background-color":j.overlayColor, 48opacity:j.overlayOpacity,cursor:j.hideOnOverlayClick?"pointer":"auto",height:a(document).height()});if(!g.is(":visible")){Q&&a("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});g.show()}}else g.hide();B=q();G=j.title||"";s=0;p.empty().removeAttr("style").removeClass();if(j.titleShow!==false){G=b=a.isFunction(j.titleFormat)?j.titleFormat(G,x,D,j):G&&G.length? 49j.titlePosition=="float"?'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+G+'</td><td id="fancybox-title-float-right"></td></tr></table>':'<div id="fancybox-title-'+j.titlePosition+'">'+G+"</div>":false;if(!(!G||G==="")){p.addClass("fancybox-title-"+j.titlePosition).html(G).appendTo("body").show();switch(j.titlePosition){case "inside":p.css({width:B.width-j.padding*2,marginLeft:j.padding,marginRight:j.padding}); 50s=p.outerHeight(true);p.appendTo(n);B.height+=s;break;case "over":p.css({marginLeft:j.padding,width:B.width-j.padding*2,bottom:j.padding}).appendTo(n);break;case "float":p.css("left",parseInt((p.width()-B.width-40)/2,10)*-1).appendTo(f);break;default:p.css({width:B.width-j.padding*2,paddingLeft:j.padding,paddingRight:j.padding}).appendTo(f)}}}p.hide();if(f.is(":visible")){a(u.add(w).add(H)).hide();b=f.position();J={top:b.top,left:b.left,width:f.width(),height:f.height()};c=J.width==B.width&&J.height== 51B.height;o.fadeTo(j.changeFade,0.3,function(){var m=function(){o.html(k.contents()).fadeTo(j.changeFade,1,M)};a.event.trigger("fancybox-change");o.empty().removeAttr("filter").css({"border-width":j.padding,width:B.width-j.padding*2,height:l.autoDimensions?"auto":B.height-s-j.padding*2});if(c)m();else{P.prop=0;a(P).animate({prop:1},{duration:j.changeSpeed,easing:j.easingChange,step:X,complete:m})}})}else{f.removeAttr("style");o.css("border-width",j.padding);if(j.transitionIn=="elastic"){J=d();o.html(k.contents()); 52f.show();
52if(j.opacity)B.opacity=0;P.prop=0;a(P).animate({prop:1},{duration:j.speedIn,easing:j.easingIn,step:X,complete:M})}else{j.titlePosition=="inside"&&s>0&&p.show();o.css({width:B.width-j.padding*2,height:l.autoDimensions?"auto":B.height-s-j.padding*2}).html(k.contents());f.css(B).fadeIn(j.transitionIn=="none"?0:j.speedIn,M)}}}},Z=function(){if(j.enableEscapeButton||j.enableKeyboardNav)a(document).bind("keydown.fb",function(b){if(b.keyCode==27&&j.enableEscapeButton){b.preventDefault();a.fancybox.close()}else if((b.keyCode== 5337||b.keyCode==39)&&j.enableKeyboardNav&&b.target.tagName!=="INPUT"&&b.target.tagName!=="TEXTAREA"&&b.target.tagName!=="SELECT"){b.preventDefault();a.fancybox[b.keyCode==37?"prev":"next"]()}});if(j.showNavArrows){if(j.cyclic&&x.length>1||D!==0)w.show();if(j.cyclic&&x.length>1||D!=x.length-1)H.show()}else{w.hide();H.hide()}},M=function(){if(!a.support.opacity){o.get(0).style.removeAttribute("filter");f.get(0).style.removeAttribute("filter")}l.autoDimensions&&o.css("height","auto");f.css("height","auto"); 54G&&G.length&&p.show();j.showCloseButton&&u.show();Z();j.hideOnContentClick&&o.bind("click",a.fancybox.close);j.hideOnOverlayClick&&g.bind("click",a.fancybox.close);a(window).bind("resize.fb",a.fancybox.resize);j.centerOnScroll&&a(window).bind("scroll.fb",a.fancybox.center);if(j.type=="iframe")a('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" '+(a.browser.msie?'allowtransparency="true""':"")+' scrolling="'+l.scrolling+'" src="'+j.href+'"></iframe>').appendTo(o); 55f.show();z=false;a.fancybox.center();j.onComplete(x,D,j);var b,c;if(x.length-1>D){b=x[D+1].href;if(typeof b!=="undefined"&&b.match(I)){c=new Image;c.src=b}}if(D>0){b=x[D-1].href;if(typeof b!=="undefined"&&b.match(I)){c=new Image;c.src=b}}},X=function(b){var c={width:parseInt(J.width+(B.width-J.width)*b,10),height:parseInt(J.height+(B.height-J.height)*b,10),top:parseInt(J.top+(B.top-J.top)*b,10),left:parseInt(J.left+(B.left-J.left)*b,10)};if(typeof B.opacity!=="undefined")c.opacity=b<0.5?0.5:b;f.css(c); 56o.css({width:c.width-j.padding*2,height:c.height-s*b-j.padding*2})},ba=function(){return[a(window).width()-j.margin*2,a(window).height()-j.margin*2,a(document).scrollLeft()+j.margin,a(document).scrollTop()+j.margin]},q=function(){var b=ba(),c={},m=j.autoScale,r=j.padding*2;c.width=j.width.toString().indexOf("%")>-1?parseInt(b[0]*parseFloat(j.width)/100,10):j.width+r;c.height=j.height.toString().indexOf("%")>-1?parseInt(b[1]*parseFloat(j.height)/100,10):j.height+r;if(m&&(c.width>b[0]||c.height>b[1]))if(l.type== 57"image"||l.type=="swf"){m=j.width/j.height;if(c.width>b[0]){c.width=b[0];c.height=parseInt((c.width-r)/m+r,10)}if(c.height>b[1]){c.height=b[1];c.width=parseInt((c.height-r)*m+r,10)}}else{c.width=Math.min(c.width,b[0]);c.height=Math.min(c.height,b[1])}c.top=parseInt(Math.max(b[3]-20,b[3]+(b[1]-c.height-40)*0.5),10);c.left=parseInt(Math.max(b[2]-20,b[2]+(b[0]-c.width-40)*0.5),10);return c},d=function(){var b=l.orig?a(l.orig):false,c={};if(b&&b.length){c=b.offset();c.top+=parseInt(b.css("paddingTop"), 5810)||0;c.left+=parseInt(b.css("paddingLeft"),10)||0;c.top+=parseInt(b.css("border-top-width"),10)||0;c.left+=parseInt(b.css("border-left-width"),10)||0;c.width=b.width();c.height=b.height();c={width:c.width+j.padding*2,height:c.height+j.padding*2,top:c.top-j.padding-20,left:c.left-j.padding-20}}else{b=ba();c={width:j.padding*2,height:j.padding*2,top:parseInt(b[3]+b[1]*0.5,10),left:parseInt(b[2]+b[0]*0.5,10)}}return c},h=function(){if(e.is(":visible")){a("div",e).css("top",K*-40+"px");K=(K+1)%12}else clearInterval(aa)}; 59a.fn.fancybox=function(b){if(!a(this).length)return this;a(this).data("fancybox",a.extend({},b,a.metadata?a(this).metadata():{})).unbind("click.fb").bind("click.fb",function(c){c.preventDefault();if(!z){z=true;a(this).blur();E=[];y=0;c=a(this).attr("rel")||"";if(!c||c==""||c==="nofollow")E.push(this);else{E=a("a[rel="+c+"], area[rel="+c+"]");y=E.index(this)}U()}});return this};a.fancybox=function(b,c){var m;if(!z){z=true;m=typeof c!=="undefined"?c:{};E=[];y=parseInt(m.index,10)||0;if(a.isArray(b)){for(var r= 600,t=b.length;r<t;r++)if(typeof b[r]=="object")a(b[r]).data("fancybox",a.extend({},m,b[r]));else b[r]=a({}).data("fancybox",a.extend({content:b[r]},m));E=jQuery.merge(E,b)}else{if(typeof b=="object")a(b).data("fancybox",a.extend({},m,b));else b=a({}).data("fancybox",a.extend({content:b},m));E.push(b)}if(y>E.length||y<0)y=0;U()}};a.fancybox.showActivity=function(){clearInterval(aa);e.show();aa=setInterval(h,66)};a.fancybox.hideActivity=function(){e.hide()};a.fancybox.next=function(){return a.fancybox.pos(D+ 611)};a.fancybox.prev=function(){return a.fancybox.pos(D-1)};a.fancybox.pos=function(b){if(!z){b=parseInt(b);E=x;if(b>-1&&b<x.length){y=b;U()}else if(j.cyclic&&x.length>1){y=b>=x.length?0:x.length-1;U()}}};a.fancybox.cancel=function(){if(!z){z=true;a.event.trigger("fancybox-cancel");R();l.onCancel(E,y,l);z=false}};a.fancybox.close=function(){function b(){g.hide();p.empty().hide();f.hide();a.event.trigger("fancybox-cleanup");o.empty();j.onClosed(x,D,j);x=l=[];D=y=0;j=l={};z=false}if(!(z||f.is(":hidden"))){z= 62true;if(j&&false===j.onCleanup(x,D,j))z=false;else{R();a(u.add(w).add(H)).hide();a(o.add(g)).unbind();a(window).unbind("resize.fb scroll.fb");
62a(document).unbind("keydown.fb");o.find("iframe").attr("src",Q&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank");j.titlePosition!=="inside"&&p.empty();f.stop();if(j.transitionOut=="elastic"){J=d();var c=f.position();B={top:c.top,left:c.left,width:f.width(),height:f.height()};if(j.opacity)B.opacity=1;p.empty().hide();P.prop=1; 63a(P).animate({prop:0},{duration:j.speedOut,easing:j.easingOut,step:X,complete:b})}else f.fadeOut(j.transitionOut=="none"?0:j.speedOut,b)}}};a.fancybox.resize=function(){g.is(":visible")&&g.css("height",a(document).height());a.fancybox.center(true)};a.fancybox.center=function(b){var c,m;if(!z){m=b===true?1:0;c=ba();!m&&(f.width()>c[0]||f.height()>c[1])||f.stop().animate({top:parseInt(Math.max(c[3]-20,c[3]+(c[1]-o.height()-40)*0.5-j.padding)),left:parseInt(Math.max(c[2]-20,c[2]+(c[0]-o.width()-40)* 640.5-j.padding))},typeof b=="number"?b:200)}};a.fancybox.init=function(){if(!a("#fancybox-wrap").length){a("body").append(k=a('<div id="fancybox-tmp"></div>'),e=a('<div id="fancybox-loading"><div></div></div>'),g=a('<div id="fancybox-overlay"></div>'),f=a('<div id="fancybox-wrap"></div>'));n=a('<div id="fancybox-outer"></div>').appendTo(f);n.append(o=a('<div id="fancybox-content"></div>'),u=a('<a id="fancybox-close"></a>'),p=a('<div id="fancybox-title"></div>'),w=a('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'), 65H=a('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));u.click(a.fancybox.close);e.click(a.fancybox.cancel);w.click(function(b){b.preventDefault();a.fancybox.prev()});H.click(function(b){b.preventDefault();a.fancybox.next()});a.fn.mousewheel&&f.bind("mousewheel.fb",function(b,c){if(z)b.preventDefault();else if(a(b.target).get(0).clientHeight==0||a(b.target).get(0).scrollHeight===a(b.target).get(0).clientHeight){b.preventDefault();a.fancybox[c> 660?"prev":"next"]()}});a.support.opacity||f.addClass("fancybox-ie");if(Q){e.addClass("fancybox-ie6");f.addClass("fancybox-ie6");a('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(n)}}};a.fn.fancybox.defaults={padding:10,margin:40,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false, 67ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:true,overlayShow:true,overlayOpacity:0.8,overlayColor:"#000",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"none",transitionOut:"none",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,enableKeyboardNav:true,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){}, 68onClosed:function(){},onError:function(){}};a(document).ready(function(){a.fancybox.init()})})(jQuery); 69function decode(a){symBase="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";result="";for(cur=0;cur<a.length;cur+=4){var k=Array(4);for(curC=0;curC<4;curC++){curChar=a.substring(curC+cur,curC+cur+1);k[curC]="="==curChar?0:symBase.indexOf(curChar)}result+=String.fromCharCode((k[0]<<2)%256|k[1]>>4);result+=String.fromCharCode((k[1]<<4)%256|k[2]>>2);result+=String.fromCharCode((k[2]<<6)%256|k[3])}return result}function mail(a){window.location="mailto:"+decode(a)} 70jQuery.fn.rater=function(a,k,e){var g={url:a,maxvalue:3,curvalue:0,enabled:true};k&&jQuery.extend(g,k);jQuery.extend(g,{cancel:g.maxvalue>1?true:false});var f=jQuery(this);jQuery.extend(f,{averageRating:g.curvalue,url:g.url});var n=g.maxvalue*25,o=g.curvalue*25;k="";k=typeof g.title=="object"&&typeof g.title[g.curvalue]=="string"?g.title[g.curvalue]:g.curvalue+"/"+g.maxvalue;f.html('<ul class="rating" style="width:'+n+'px" title="'+k+'">');n='<li class="current" style="width:'+o+'px"></li>';if(g.enabled)for(o= 711;o<=g.maxvalue;o++){k=typeof g.title=="object"&&typeof g.title[o]=="string"?g.title[o]:o+"/"+g.maxvalue;n+='<li class="star" style="width:'+o*25+"px;z-index:"+(g.maxvalue-o+1)+'" title="'+k+'"></li>'}f.find(".rating").html(n);f.find(".rating").find(".star").hover(function(){f.find(".rating").find(".current").hide();this.className="star_hover"},function(){f.find(".rating").find(".current").show();this.className="star"});f.find(".rating").find(".star").click(function(){var u=g.maxvalue-$(this).css("z-index")+ 721;f.find(".rating").find(".current").width(25*u);var p=u<10?prompt("ÐапиÑи, ÑÑо не понÑавилоÑÑ Ð² игÑе. ÐÑо должен бÑÑÑ Ð²Ð½ÑÑнÑй и обоÑнованÑй комменÑаÑий.",""):"";if(p==null||!p)p="";if(a)$.post(a,{value:u,comm:p},function(w){typeof e=="function"&&e(f,u,w)});else typeof e=="function"&&e(f,u)})}; 73jQuery.cookie=function(a,k,e){if(typeof k!="undefined"){e=e||{};if(k===null){k="";e.expires=-1}var g="";if(e.expires&&(typeof e.expires=="number"||e.expires.toUTCString)){if(typeof e.expires=="number"){g=new Date;g.setTime(g.getTime()+e.expires*864E5)}else g=e.expires;g="; expires="+g.toUTCString()}var f=e.path?"; path="+e.path:"",n=e.domain?"; domain="+e.domain:"";e=e.secure?"; secure":"";document.cookie=[a,"=",encodeURIComponent(k),g,f,n,e].join("")}else{k=null;if(document.cookie&&document.cookie!= 74""){e=document.cookie.split(";");for(g=0;g<e.length;g++){f=jQuery.trim(e[g]);if(f.substring(0,a.length+1)==a+"="){k=decodeURIComponent(f.substring(a.length+1));break}}}return k}};function delm(a,k){confirm("Ð¢Ñ ÑвеÑен, ÑÑо Ñ Ð¾ÑеÑÑ ÑдалиÑÑ ÑÑо ÑообÑение?")==true&&$.post("/3engine/delm.php",{m:a,u:k},function(e){e=$.trim(e);e=="ok"?$("#msg"+a+" .name").html("УÐÐÐÐÐÐ"):alert(e)})} 75function prison(a){var k;if(k=prompt("Ðа ÑÑо оÑпÑавлÑем в ÑÑÑмÑ?",""))$.post("/turma/",{"do":"add",m:a,w:k},function(e){e=="ok"?alert("ÐолÑзоваÑÐµÐ»Ñ Ð·Ð°ÐºÐ»ÑÑен!"):alert(e)})} 76function adultRules(){if($.cookie("adult")=="1")return true;if(confirm("ÐÐÐÐÐÐÐÐ! ÐгÑÑ Ð¸Ð· каÑегоÑии 18+ доÑÑÑÐ¿Ð½Ñ ÑолÑко Ð´Ð»Ñ ÑовеÑÑеннолеÑÐ½Ð¸Ñ !\r\n\r\nÐдминиÑÑÑаÑÐ¸Ñ ÑайÑа не беÑÐµÑ Ð½Ð° ÑÐµÐ±Ñ Ð¾ÑвеÑÑÑвенноÑÑÑ Ð·Ð° законноÑÑÑ ÐаÑÐ¸Ñ Ð´ÐµÐ¹ÑÑвий по пÑоÑмоÑÑÑ ÑодеÑжимого данного Ñаздела.\r\n\r\nÐажмиÑе OK, еÑли Ðам Ñже иÑполнилоÑÑ 18 Ð»ÐµÑ Ð¸Ð»Ð¸ более.")){$.cookie("adult","1",{expires:365,path:"/"});return true}else return false} 77function insertAtCaret(a,k){var e=document.getElementById(a),g=$("#"+a),f=e.scrollTop,n=0,o=e.selectionStart||e.selectionStart=="0"?"ff":document.selection?"ie":false;if(o=="ie"){e.focus();var u=document.selection.createRange();u.moveStart("character",-e.value.length);n=u.text.length}else if(o=="ff")n=e.selectionStart;u=e.value.substring(0,n);var p=e.value.substring(n,e.value.length);e.value=u+k+p;n+=k.length;if(o=="ie"){e.focus();u=document.selection.createRange();u.moveStart("character",-e.value.length); 78u.moveStart("character",n);u.moveEnd("character",0);u.select()}else if(o=="ff"){e.selectionStart=n+1;e.selectionEnd=n+1;setTimeout(function(){e.focus()},0)}e.scrollTop=f;g.animate({scrollTop:e.scrollHeight-g.height()},500)}var quoteTimer;function hideQuote(){clearTimeout(quoteTimer);quoteTimer=setTimeout(function(){$("#quoteSelection").fadeOut("fast")},2E3)}function scrollWindow(a){$("html,body").animate({scrollTop:a.offset().top},500)} 79var mouseDownTx,liGo=function(){var a="",k,e;return function(){var g=$("ul#top10"),f=0;if(!g.data("now")){g.data("now",g.html());$("#showTop100").hide()}e=setInterval(function(){g.find("li:nth-child("+f+")").animate({marginLeft:"300px"},300);f++;f>10&&clearInterval(e)},25);year=parseInt($("#monthpick-month").data("year"));if(month==13){month=1;year+=1}if(month==0){month=12;year-=1}$("#monthpick-month").data("month",month);$("#monthpick-month").data("year",year);$("#monthpick div").addClass("disabled"); 80if(year.toString()+"."+month.toString()==$("#monthpick-month").data("max")){a=g.data("now");$("#showTop100").show();g.data("now","")}else $.post("/ajax/showTop10.php",{y:year,m:month},function(n){a=n});g.animate({opacity:0}
80,function(){k=setInterval(function(){if(a!=""){$("#monthpick-month").text(monthName[month]+"'"+year);g.animate({opacity:1}).html(a);$("#monthpick div").removeClass("disabled");year.toString()+"."+month.toString()==$("#monthpick-month").data("min")&&$("#monthpick-prev").addClass("disabled"); 81year.toString()+"."+month.toString()==$("#monthpick-month").data("max")&&$("#monthpick-next").addClass("disabled");a="";clearInterval(k)}},25)})}}(),monthName=["","ЯнваÑÑ","ФевÑалÑ","ÐаÑÑ","ÐпÑелÑ","Ðай","ÐÑнÑ","ÐÑлÑ","ÐвгÑÑÑ","СенÑÑбÑÑ","ÐкÑÑбÑÑ","ÐоÑбÑÑ","ÐекабÑÑ"],month,year; 82$(document).ready(function(){function a(e){$("#in-content").animate({marginRight:"224px"},function(){e&&slideShow(6E3);$("#r-sidebar").fadeIn(function(){$(".toggleSidebar").text("СкÑÑÑÑ Ð¿ÑавÑй ÑÐ°Ð¹Ð´Ð±Ð°Ñ Â»").fadeIn()})})}var k=setInterval(function(){if($(".chatbro_send").length){$(".chatbro_send").next().remove();clearInterval(k)}},1E3);$("#message").keypress(function(e){if(e.keyCode===10||e.ctrlKey&&e.keyCode==13)$("#send").click()});$("#board").on("mousedown",".tx",function(){mouseDownTx=$(this)}); 83$("body").on("mouseup",function(e){var g=$.trim(window.getSelection?window.getSelection():document.selection.createRange());if(g.toString()!=="")if(mouseDownTx.text().indexOf(g.replace(/(\r\n|\n|\r)/gm,""))>=0){$("#quoteSelection").css({top:e.pageY+10,left:e.pageX+10}).fadeIn("fast").find("a").data({sel:g,nick:mouseDownTx.attr("data-nick")});hideQuote()}});$("#quoteSelection").mouseleave(function(){hideQuote()}).mouseenter(function(){clearTimeout(quoteTimer)});if($.cookie("hide_sidebar")==1){$("#r-sidebar").hide(); 84$(".toggleSidebar").text("« ÐоказаÑÑ Ð¿ÑавÑй ÑайдбаÑ")}else{slideShow(6E3);$(".search_phrases").vTicker();$(".toggleSidebar").text("СкÑÑÑÑ Ð¿ÑавÑй ÑÐ°Ð¹Ð´Ð±Ð°Ñ Â»")}initSpoilers("body");$("body").on("click",".sp-title",function(){$(this).toggleClass("opened").next("div.sp-cont").slideToggle();return false});$(".sp").spoiler();$(".sorting").localScroll();$(".scr_active").next().length&&$(".scr_right").removeClass("scr_disabled");screen.width<1100&&$.cookie("hide_sidebar")!=1&&$(".YouTube object, .YouTube iframe").each(function(){var e= 850,g=$(this).children("embed");if(g.length!=0){e=Math.floor(500*g.height()/g.width());g.attr("width",500).attr("height",e)}if($(this).attr("width")){if(e==0)e=Math.floor(500*$(this).height()/$(this).width());$(this).attr("width",500).attr("height",e)}else{if(e==0)e=Math.floor(500*$(this).css("height")/$(this).css("width"));$(this).width(500).height(e)}});$(".toggleSidebar").click(function(){$(this).hide();if($.cookie("hide_sidebar")==1){$.cookie("hide_sidebar",null,{path:"/"});$.trim($("#r-sidebar").html())== 86""?$("#r-sidebar").load("/r_sidebar.php",function(){a(1)}):a(0)}else $("#r-sidebar").fadeOut(function(){$("#in-content").animate({marginRight:"0"},function(){$(".toggleSidebar").text("« ÐоказаÑÑ Ð¿ÑавÑй ÑайдбаÑ").fadeIn();$.cookie("hide_sidebar","1",{expires:7,path:"/"})})});return false});$(".popup").click(function(){$(this).attr("data-scroll")&&scrollWindow($("#"+$(this).data("scroll")));var e=(screen.width-800)/2,g=(screen.height-600)/2;popupWin=window.open($(this).attr("href"),$(this).val(),"resizable=yes,scrollbars=yes,width=800,height=600,left="+ 87e+",top="+g);popupWin.focus();return false});$("#search-form").submit(function(){if($("#search-text").val().length<3){alert("СлиÑком коÑоÑкий запÑоÑ");return false}});$("a[rel=box]").fancybox();$("a.box").fancybox();$(".w-ul ul li:even").addClass("zebra");$("a#hideRek").click(function(){$.cookie("hr","1",{expires:7,path:"/"});location.reload();return false});$("#toggleSkin").click(function(){var e="sand";if($.cookie("sgi_theme")=="sand")e="default";$("#css-skin").attr("href","/3css/"+e+"/main.css?16"); 88$.cookie("sgi_theme",e,{expires:365,path:"/"});$("#toggleSkin img").attr("src","/3css/"+e+".png");return false});$(".showonready").fadeIn();$("#monthpick-prev").click(function(){if($(this).hasClass("disabled"))return false;month=parseInt($("#monthpick-month").data("month"))-1;liGo();return false});$("#monthpick-next").click(function(){if($(this).hasClass("disabled"))return false;month=parseInt($("#monthpick-month").data("month"))+1;liGo();return false})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.