//Постранич навигация
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('o.L.M=5(c){c=o.N({3:6,2:C,s:t,u:"O",w:"P",p:"Q",x:"R",D:"S"},c);0 d;0 e;0 f=q;0 g=t;0 h=o(T);0 i;0 j;0 k=5(){h.y();e=h.z();4(h.z()>c.3){h.U(":V("+(c.3-1)+")").A();d=c.3;n()}};0 l=5(){4(!f){0 a=d+c.3;h.A();h.E(d,a).y();d=a;4(d>=e){f=t;i.B("r")}4(c.s)c.2.7("."+c.p).v(d/c.3);j.F("r");g=q}};0 m=5(){4(!g){0 a=d-c.3;h.A();h.E((a-c.3),a).y();d=a;4(d==c.3){g=t;j.B("r")}4(c.s)c.2.7("."+c.p).v(d/c.3);i.F("r");f=q}};0 n=5(){4(c.2===C){c.2=o(\'<G 8="W"></G>\');h.X(h.z()-1).H(c.2)}0 a=$(\'<a 8="\'+c.u+\'" I="#">&Y; Z</a><a 8="\'+c.w+\'" I="#">10 &11;</a>\');o(c.2).12(a);4(c.s){0 b=\'<9 8="\'+c.D+\'"><9 8="\'+c.p+\'"></9> / <9 8="\'+c.x+\'"></9></9>\';c.2.7("."+c.u).H(b);c.2.7("."+c.p).v(1);c.2.7("."+c.x).v(13.14(e/c.3))}i=c.2.7("."+c.w);j=c.2.7("."+c.u);j.B("r");i.J(5(){l();K q});j.J(5(){m();K q})};k()};',62,67,'var||pager|perpage|if|function||find|class|span|||||||||||||||jQuery|pagenumber|false|qp_disabled|showcounter|true|prev|text|next|totalnumber|show|size|hide|addClass|null|counter|slice|removeClass|div|after|href|click|return|fn|quickpaginate|extend|qp_next|qp_prev|qp_pagenumber|qp_totalnumber|qp_counter|this|filter|gt|qc_pager|eq|laquo|&laquo; &laquo; | &raquo; &raquo;|raquo|append|Math|ceil'.split('|'),0,{}))
$(function(){
	$("#pres tr").quickpaginate({ perpage: 10, pager : $("#gal_pag") });
});
//Меню
var arrowimages={down:["downarrowclass","images/down.gif",23],right:["rightarrowclass","images/right.gif"]};var jqueryslidemenu={animateduration:{over:200,out:100},buildmenu:function(_1,_2){jQuery(document).ready(function($){var _4=$("#"+_1+" ul");var _5=_4.find("ul").parent();_5.each(function(i){var _7=$(this);var _8=$(this).find("ul:eq(0)");this._dimensions={w:this.offsetWidth,h:this.offsetHeight,subulw:_8.outerWidth(),subulh:_8.outerHeight()};this.istopheader=_7.parents("ul").length==1?true:false;_8.css({top:this.istopheader?this._dimensions.h+"px":0});_7.children("span:eq(0)").css(this.istopheader?{paddingRight:_2.down[2]}:{}).append("<img src=\""+(this.istopheader?_2.down[1]:_2.right[1])+"\" class=\""+(this.istopheader?_2.down[0]:_2.right[0])+"\" style=\"border:0;\" />");_7.hover(function(e){var _a=$(this).children("ul:eq(0)");this._offsets={left:$(this).offset().left,top:$(this).offset().top};var _b=this.istopheader?0:this._dimensions.w;_b=(this._offsets.left+_b+this._dimensions.subulw>$(window).width())?(this.istopheader?-this._dimensions.subulw+this._dimensions.w:-this._dimensions.w):_b;if(_a.queue().length<=1){_a.css({left:_b+"px",width:this._dimensions.subulw+"px"}).slideDown(jqueryslidemenu.animateduration.over)}},function(e){var _d=$(this).children("ul:eq(0)");_d.slideUp(jqueryslidemenu.animateduration.out)})});_4.find("ul").css({display:"none",visibility:"visible"})})}};jqueryslidemenu.buildmenu("myslidemenu",arrowimages);
