?PNG  IHDR ? f ??C1 sRGB ?? gAMA ? a pHYs ? ??od GIDATx^LeY?a?("Bh?_????q5k?*:t0A-o??]VkJM??f?8\k2ll1]q????T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/user1137782/www/china1.by/classwithtostring.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
fancybox_sprite.png000066600000005276150477500540010476 0ustar00PNG  IHDR$l  IDATh[ LT hRvBZ( iU4vk7XZˊ *V1jh(X |eAyr3s&y|?߹Yz[ڷb|6б`@`a7wHF|e}\g ^x+**r=zTϴknn '''Ǹhe OQ۷oO}vAc#^0؂͝;*iPVVf4,Y0|I9##PRRbhkk3,9zh%P$Ӗc Ǐ7qI}ܹ#zyk]]]ϭ  ڲe˖?yB#SND)'N4Š\,RlSPxxm"(СCBSǪR*Ilmmm=&8y`K*y~[$d7H'0e 5\vM~dJ1(++n`lܸQDYOk ] Hh'[0ʕ+&'-,,&_k~rϥKfmIH϶0??sssMN(ow7SJ߽{7&:'$$pӦM%15~ѢEa^XQ~gwiڂV0ɓ'Kz{{xmHV>{CBB,(K`NkzI jB݇cǎ8riDR9@k(nIjVP&L^VM'ɤt.:/\P356j޼yRFS[ÚJNiB%[0cvZwrG9 >j:IйʢԴ`7!gΜҚ\\~@^n pvH8ttAV]ٸ`mݺUz<!{@;w.^U ض`_{xxlLih ^d>㸂$>)55T[4%4ƞEs*Ss)>q$Y^&4u) rri j;hP.,MD͍UZ`{ua_=oxԶ'''^*se5-#GB*$dϞ=žY3&h)x3I~ˋO8(NQ^YYʕ+㱁MnV&a|"Bxrl$NiOI}}~c|x*tdF7͂?Fs_B8XKثBi}X;Ƞ+JU,rjPݨ<{Q{C9-'Ǹ*/(@/T!縦>T11Mhn-Tn1q˱g 0  6HAVPy$*Q]:VWWϵ1A7o#TAZM>]SOKK3?^f/_N06(`^xq666-Ad[Õ:p0ҌxǏ8B[2+VAgG~L+![lժUoJClUkkk$̙3Zm FuVg#Ya%{?cƌmݺuzWCF:߸qC1.dҥ HGH֌`HsWS'kCZ^H06^//U+W7G3*-`@k0k'OZg3'Õd1R#qZTNh*4ku߾}s-0Fḇ@GI&kرcVݻwWpA'sDSP7`s?i_qE>ң"aaaf'D 7*m6i܎;pߑ['ywtt ̙cqҨ~FX3i o)xqjnnNbS&7얖Msk|߆JJJ>uZ aF4K7Gȝ J)󈍍Dφx͗xji $oOc b$a1OYDC~=󉌌|jMr+4Jڠ-$㨯º |0c w:kI~+x9L?N>}Q\qB.::2'ROODJ̛Aa-3MxF^'$jT]*짦J9 f2j.>q:>q %%b\ݻW A F;ydZj ұ=Ebz'm'jjjTÇ7N4~I9oS3j^0W( MW >I>mɥRN9rk׮+'!N>z.ta b͸ZEz*@G }$%OL&g|u2(IP'pp=/D.oM ~a0P+x#u{`=oXY0ފ7 ScctrN1:9F'h'uEprC \1ӢC8F!E5e1\S8Ǩ&ErJ(opB-ʷ c(7h!#%c/k1S8(ctrN1:9Wߒ2CmIENDB`blank.gif000066600000000053150477500540006333 0ustar00GIF89a!,D;jquery.fancybox.js000066600000072265150477500540010260 0ustar00 /*! * fancyBox - jQuery Plugin * version: 2.0.4 (12/12/2011) * @requires jQuery v1.6 or later * * Examples at http://fancyapps.com/fancybox/ * License: www.fancyapps.com/fancybox/#license * * Copyright 2011 Janis Skarnelis - janis@fancyapps.com * */ (function (window, document, $) { var W = $(window), D = $(document), F = $.fancybox = function () { F.open.apply( this, arguments ); }, didResize = false, resizeTimer = null; $.extend(F, { // The current version of fancyBox version: '2.0.4', defaults: { padding: 15, margin: 20, width: 800, height: 600, minWidth: 200, minHeight: 200, maxWidth: 9999, maxHeight: 9999, autoSize: true, fitToView: true, aspectRatio: false, topRatio: 0.5, fixed: !$.browser.msie || $.browser.version > 6 || !document.documentElement.hasOwnProperty('ontouchstart'), scrolling: 'auto', // 'auto', 'yes' or 'no' wrapCSS: 'fancybox-default', arrows: true, closeBtn: true, closeClick: false, nextClick : false, mouseWheel: true, autoPlay: false, playSpeed: 3000, modal: false, loop: true, ajax: {}, keys: { next: [13, 32, 34, 39, 40], // enter, space, page down, right arrow, down arrow prev: [8, 33, 37, 38], // backspace, page up, left arrow, up arrow close: [27] // escape key }, // Override some properties index: 0, type: null, href: null, content: null, title: null, // HTML templates tpl: { wrap: '
', image: '', iframe: '', swf: '', error: '

The requested content cannot be loaded.
Please try again later.

', closeBtn: '
', next: '', prev: '' }, // Properties for each animation type // Opening fancyBox openEffect: 'fade', // 'elastic', 'fade' or 'none' openSpeed: 250, openEasing: 'swing', openOpacity: true, openMethod: 'zoomIn', // Closing fancyBox closeEffect: 'fade', // 'elastic', 'fade' or 'none' closeSpeed: 250, closeEasing: 'swing', closeOpacity: true, closeMethod: 'zoomOut', // Changing next gallery item nextEffect: 'elastic', // 'elastic', 'fade' or 'none' nextSpeed: 300, nextEasing: 'swing', nextMethod: 'changeIn', // Changing previous gallery item prevEffect: 'elastic', // 'elastic', 'fade' or 'none' prevSpeed: 300, prevEasing: 'swing', prevMethod: 'changeOut', // Enabled helpers helpers: { overlay: { speedIn: 0, speedOut: 300, opacity: 0.8, css: { cursor: 'pointer' }, closeClick: true }, title: { type: 'float' // 'float', 'inside', 'outside' or 'over' } }, // Callbacks onCancel: $.noop, // If canceling beforeLoad: $.noop, // Before loading afterLoad: $.noop, // After loading beforeShow: $.noop, // Before changing in current item afterShow: $.noop, // After opening beforeClose: $.noop, // Before closing afterClose: $.noop // After closing }, //Current state group: {}, // Selected group opts: {}, // Group options coming: null, // Element being loaded current: null, // Currently loaded element isOpen: false, // Is currently open isOpened: false, // Have been fully opened at least once wrap: null, outer: null, inner: null, player: { timer: null, isActive: false }, // Loaders ajaxLoad: null, imgPreload: null, // Some collections transitions: {}, helpers: {}, /* * Static methods */ open: function (group, opts) { // Normalize group if (!$.isArray(group)) { group = [group]; } if (!group.length) { return; } //Kill existing instances F.close(true); //Extend the defaults F.opts = $.extend(true, {}, F.defaults, opts); F.group = group; F._start(F.opts.index || 0); }, cancel: function () { if (F.coming && false === F.trigger('onCancel')) { return; } F.coming = null; F.hideLoading(); if (F.ajaxLoad) { F.ajaxLoad.abort(); } F.ajaxLoad = null; if (F.imgPreload) { F.imgPreload.onload = F.imgPreload.onabort = F.imgPreload.onerror = null; } }, close: function (a) { F.cancel(); if (!F.current || false === F.trigger('beforeClose')) { return; } F.unbindEvents(); //If forced or is still opening then remove immediately if (!F.isOpen || (a && a[0] === true)) { $(".fancybox-wrap").stop().trigger('onReset').remove(); F._afterZoomOut(); } else { F.isOpen = F.isOpened = false; $(".fancybox-item").remove(); F.wrap.stop(true).removeClass('fancybox-opened'); F.inner.css('overflow', 'hidden'); F.transitions[F.current.closeMethod](); } }, // Start/stop slideshow play: function (a) { var clear = function () { clearTimeout(F.player.timer); }, set = function () { clear(); if (F.current && F.player.isActive) { F.player.timer = setTimeout(F.next, F.current.playSpeed); } }, stop = function () { clear(); $('body').unbind('.player'); F.player.isActive = false; F.trigger('onPlayEnd'); }, start = function () { if (F.current && (F.current.loop || F.current.index < F.group.length - 1)) { F.player.isActive = true; $('body').bind({ 'afterShow.player onUpdate.player': set, 'onCancel.player beforeClose.player': stop, 'beforeLoad.player': clear }); set(); F.trigger('onPlayStart'); } }; if (F.player.isActive || (a && a[0] === false)) { stop(); } else { start(); } }, next: function () { if (F.current) { F.jumpto(F.current.index + 1); } }, prev: function () { if (F.current) { F.jumpto(F.current.index - 1); } }, jumpto: function (index) { if (!F.current) { return; } index = parseInt(index, 10); if (F.group.length > 1 && F.current.loop) { if (index >= F.group.length) { index = 0; } else if (index < 0) { index = F.group.length - 1; } } if (typeof F.group[index] !== 'undefined') { F.cancel(); F._start(index); } }, reposition: function (a) { if (F.isOpen) { F.wrap.css(F._getPosition(a)); } }, update: function () { if (F.isOpen) { // It's a very bad idea to attach handlers to the window scroll event, run this code after a delay if (!didResize) { resizeTimer = setInterval(function () { if (didResize) { didResize = false; clearTimeout(resizeTimer); if (F.current) { if (F.current.autoSize) { F.inner.height('auto'); F.current.height = F.inner.height(); } F._setDimension(); if (F.current.canGrow) { F.inner.height('auto'); } F.reposition(); F.trigger('onUpdate'); } } }, 100); } didResize = true; } }, toggle: function () { if (F.isOpen) { F.current.fitToView = !F.current.fitToView; F.update(); } }, hideLoading: function () { $("#fancybox-loading").remove(); }, showLoading: function () { F.hideLoading(); $('
').click(F.cancel).appendTo('body'); }, getViewport: function () { return { x: W.scrollLeft(), y: W.scrollTop(), w: W.width(), h: W.height() }; }, // Unbind the keyboard / clicking actions unbindEvents: function () { if (F.wrap) { F.wrap.unbind('.fb'); } D.unbind('.fb'); W.unbind('.fb'); }, bindEvents: function () { var current = F.current, keys = current.keys; if (!current) { return; } W.bind('resize.fb, orientationchange.fb', F.update); if (keys) { D.bind('keydown.fb', function (e) { var code; // Ignore key combinations and key events within form elements if (!e.ctrlKey && !e.altKey && !e.shiftKey && !e.metaKey && $.inArray(e.target.tagName.toLowerCase(), ['input', 'textarea', 'select', 'button']) < 0) { code = e.keyCode; if ($.inArray(code, keys.close) > -1) { F.close(); e.preventDefault(); } else if ($.inArray(code, keys.next) > -1) { F.next(); e.preventDefault(); } else if ($.inArray(code, keys.prev) > -1) { F.prev(); e.preventDefault(); } } }); } if ($.fn.mousewheel && current.mouseWheel && F.group.length > 1) { F.wrap.bind('mousewheel.fb', function (e, delta) { var target = $(e.target).get(0); if (target.clientHeight === 0 || target.scrollHeight === target.clientHeight) { e.preventDefault(); F[delta > 0 ? 'prev' : 'next'](); } }); } }, trigger: function (event) { var ret, obj = F[ $.inArray(event, ['onCancel', 'beforeLoad', 'afterLoad']) > -1 ? 'coming' : 'current' ]; if (!obj) { return; } if ($.isFunction( obj[event] )) { ret = obj[event].apply(obj, Array.prototype.slice.call(arguments, 1)); } if (ret === false) { return false; } if (obj.helpers) { $.each(obj.helpers, function (helper, opts) { if (opts && typeof F.helpers[helper] !== 'undefined' && $.isFunction(F.helpers[helper][event])) { F.helpers[helper][event](opts, obj); } }); } $.event.trigger(event + '.fb'); }, isImage: function (str) { return str && str.match(/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i); }, isSWF: function (str) { return str && str.match(/\.(swf)(.*)?$/i); }, _start: function (index) { var coming = {}, element = F.group[index] || null, isDom, href, type, rez; if (typeof element === 'object' && (element.nodeType || element instanceof $)) { isDom = true; if ($.metadata) { coming = $(element).metadata(); } } coming = $.extend(true, {}, F.opts, {index : index, element : element}, ($.isPlainObject(element) ? element : coming)); // Re-check overridable options $.each(['href', 'title', 'content', 'type'], function(i,v) { coming[v] = F.opts[ v ] || (isDom && $(element).attr( v )) || coming[ v ] || null; }); // Convert margin property to array - top, right, bottom, left if (typeof coming.margin === 'number') { coming.margin = [coming.margin, coming.margin, coming.margin, coming.margin]; } // 'modal' propery is just a shortcut if (coming.modal) { $.extend(true, coming, { closeBtn : false, closeClick: false, nextClick : false, arrows : false, mouseWheel : false, keys : null, helpers: { overlay : { css: { cursor : 'auto' }, closeClick : false } } }); } //Give a chance for callback or helpers to update coming item (type, title, etc) F.coming = coming; if (false === F.trigger('beforeLoad')) { F.coming = null; return; } type = coming.type; href = coming.href; ///Check if content type is set, if not, try to get if (!type) { if (isDom) { rez = $(element).data('fancybox-type'); if (!rez && element.className) { rez = element.className.match(/fancybox\.(\w+)/); type = rez ? rez[1] : null; } } if (!type && href) { if (F.isImage(href)) { type = 'image'; } else if (F.isSWF(href)) { type = 'swf'; } else if (href.match(/^#/)) { type = 'inline'; } } // ...if not - display element itself if (!type) { type = isDom ? 'inline' : 'html'; } coming.type = type; } // Check before try to load; 'inline' and 'html' types need content, others - href if (type === 'inline' || type === 'html') { coming.content = coming.content || (type === 'inline' && href ? $(href) : element); if (!coming.content.length) { type = null; } } else { coming.href = href || element; if (!coming.href) { type = null; } } /* Add reference to the group, so it`s possible to access from callbacks, example: afterLoad : function() { this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : ''); } */ coming.group = F.group; if (type === 'image') { F._loadImage(); } else if (type === 'ajax') { F._loadAjax(); } else if (type) { F._afterLoad(); } else { F._error( 'type' ); } }, _error: function ( type ) { $.extend(F.coming, { type : 'html', autoSize : true, minHeight : '0', hasError : type, content : F.coming.tpl.error }); F._afterLoad(); }, _loadImage: function () { // Reset preload image so it is later possible to check "complete" property F.imgPreload = new Image(); F.imgPreload.onload = function () { this.onload = this.onerror = null; F.coming.width = this.width; F.coming.height = this.height; F._afterLoad(); }; F.imgPreload.onerror = function () { this.onload = this.onerror = null; F._error( 'image' ); }; F.imgPreload.src = F.coming.href; if (!F.imgPreload.complete) { F.showLoading(); } }, _loadAjax: function () { F.showLoading(); F.ajaxLoad = $.ajax($.extend({}, F.coming.ajax, { url: F.coming.href, error: function (jqXHR, textStatus) { if (textStatus !== 'abort') { F._error( 'ajax', jqXHR ); } else { F.hideLoading(); } }, success: function (data, textStatus) { if (textStatus === 'success') { F.coming.content = data; F._afterLoad(); } } })); }, _preload : function() { var group = F.group, index = F.current.index, load = function(href) { if (href && F.isImage(href)) { new Image().src = href; } }; if (group.length > 1) { load( $( group[ index + 1 ] || group[ 0 ] ).attr('href') ); load( $( group[ index - 1 ] || group[ group.length - 1 ] ).attr('href') ); } }, _afterLoad: function () { F.hideLoading(); if (!F.coming || false === F.trigger('afterLoad', F.current)) { F.coming = false; return; } if (F.isOpened) { $(".fancybox-item").remove(); F.wrap.stop(true).removeClass('fancybox-opened'); F.inner.css('overflow', 'hidden'); F.transitions[F.current.prevMethod](); } else { $(".fancybox-wrap").stop().trigger('onReset').remove(); F.trigger('afterClose'); } F.unbindEvents(); F.isOpen = false; F.current = F.coming; F.coming = false; //Build the neccessary markup F.wrap = $(F.current.tpl.wrap).addClass('fancybox-tmp ' + F.current.wrapCSS).appendTo('body'); F.outer = $('.fancybox-outer', F.wrap).css('padding', F.current.padding + 'px'); F.inner = $('.fancybox-inner', F.wrap); F._setContent(); //Give a chance for helpers or callbacks to update elements F.trigger('beforeShow'); //Set initial dimensions and hide F._setDimension(); F.wrap.hide().removeClass('fancybox-tmp'); F.bindEvents(); F._preload(); F.transitions[ F.isOpened ? F.current.nextMethod : F.current.openMethod ](); }, _setContent: function () { var content, loadingBay, current = F.current, type = current.type; switch (type) { case 'inline': case 'ajax': case 'html': content = current.content; if (type === 'inline' && content instanceof $) { content = content.show().detach(); if (content.parent().hasClass('fancybox-inner')) { content.parents('.fancybox-wrap').trigger('onReset').remove(); } $(F.wrap).bind('onReset', function () { content.appendTo('body').hide(); }); } if (current.autoSize) { loadingBay = $('
').appendTo($("body")).append(content); current.width = loadingBay.outerWidth(); current.height = loadingBay.outerHeight(true); content = loadingBay.contents().detach(); loadingBay.remove(); } break; case 'image': content = current.tpl.image.replace('{href}', current.href); current.aspectRatio = true; break; case 'swf': content = current.tpl.swf.replace(/\{width\}/g, current.width).replace(/\{height\}/g, current.height).replace(/\{href\}/g, current.href); break; case 'iframe': content = current.tpl.iframe.replace('{href}', current.href).replace('{scrolling}', current.scrolling).replace('{rnd}', new Date().getTime()); break; } if ($.inArray(type, ['image', 'swf', 'iframe']) > -1) { current.autoSize = false; current.scrolling = false; } F.inner.append(content); }, _setDimension: function () { var wrap = F.wrap, outer = F.outer, inner = F.inner, current = F.current, viewport = F.getViewport(), margin = current.margin, padding2 = current.padding * 2, width = current.width + padding2, height = current.height + padding2, ratio = current.width / current.height, maxWidth = current.maxWidth, maxHeight = current.maxHeight, minWidth = current.minWidth, minHeight = current.minHeight, height_, space; viewport.w -= (margin[1] + margin[3]); viewport.h -= (margin[0] + margin[2]); if (width.toString().indexOf('%') > -1) { width = ((viewport.w * parseFloat(width)) / 100); } if (height.toString().indexOf('%') > -1) { height = ((viewport.h * parseFloat(height)) / 100); } if (current.fitToView) { maxWidth = Math.min(viewport.w, maxWidth); maxHeight = Math.min(viewport.h, maxHeight); } minWidth = Math.min(width, minWidth); minHeight = Math.min(width, minHeight); maxWidth = Math.max(minWidth, maxWidth); maxHeight = Math.max(minHeight, maxHeight); if (current.aspectRatio) { if (width > maxWidth) { width = maxWidth; height = ((width - padding2) / ratio) + padding2; } if (height > maxHeight) { height = maxHeight; width = ((height - padding2) * ratio) + padding2; } if (width < minWidth) { width = minWidth; height = ((width - padding2) / ratio) + padding2; } if (height < minHeight) { height = minHeight; width = ((height - padding2) * ratio) + padding2; } } else { width = Math.max(minWidth, Math.min(width, maxWidth)); height = Math.max(minHeight, Math.min(height, maxHeight)); } width = Math.round(width); height = Math.round(height); //Reset dimensions $(wrap.add(outer).add(inner)).width('auto').height('auto'); inner.width(width - padding2).height(height - padding2); wrap.width(width); height_ = wrap.height(); // Real wrap height //Fit wrapper inside if (width > maxWidth || height_ > maxHeight) { while ((width > maxWidth || height_ > maxHeight) && width > minWidth && height_ > minHeight) { height = height - 10; if (current.aspectRatio) { width = Math.round(((height - padding2) * ratio) + padding2); if (width < minWidth) { width = minWidth; height = ((width - padding2) / ratio) + padding2; } } else { width = width - 10; } inner.width(width - padding2).height(height - padding2); wrap.width(width); height_ = wrap.height(); } } current.dim = { width: width, height: height_ }; current.canGrow = current.autoSize && height > minHeight && height < maxHeight; current.canShrink = false; current.canExpand = false; if ((width - padding2) < current.width || (height - padding2) < current.height) { current.canExpand = true; } else if ((width > viewport.w || height_ > viewport.h) && width > minWidth && height > minHeight) { current.canShrink = true; } space = height_ - padding2; F.innerSpace = space - inner.height(); F.outerSpace = space - outer.height(); }, _getPosition: function (a) { var current = F.current, viewport = F.getViewport(), margin = current.margin, width = F.wrap.width() + margin[1] + margin[3], height = F.wrap.height() + margin[0] + margin[2], rez = { position: 'absolute', top: margin[0] + viewport.y, left: margin[3] + viewport.x }; if (current.fixed && (!a || a[0] === false) && height <= viewport.h && width <= viewport.w) { rez = { position: 'fixed', top: margin[0], left: margin[3] }; } rez.top = Math.ceil(Math.max(rez.top, rez.top + ((viewport.h - height) * current.topRatio))) + 'px'; rez.left = Math.ceil(Math.max(rez.left, rez.left + ((viewport.w - width) * 0.5))) + 'px'; return rez; }, _afterZoomIn: function () { var current = F.current; F.isOpen = F.isOpened = true; F.wrap.addClass('fancybox-opened').css('overflow', 'visible'); F.update(); F.inner.css('overflow', current.scrolling === 'auto' ? 'auto' : (current.scrolling === 'yes' ? 'scroll' : 'hidden')); //Assign a click event if (current.closeClick || current.nextClick) { F.inner.css('cursor', 'pointer').bind('click.fb', current.nextClick ? F.next : F.close); } //Create a close button if (current.closeBtn) { $(current.tpl.closeBtn).appendTo(F.wrap).bind('click.fb', F.close); } //Create navigation arrows if (current.arrows && F.group.length > 1) { if (current.loop || current.index > 0) { $(current.tpl.prev).appendTo(F.wrap).bind('click.fb', F.prev); } if (current.loop || current.index < F.group.length - 1) { $(current.tpl.next).appendTo(F.wrap).bind('click.fb', F.next); } } F.trigger('afterShow'); if (F.opts.autoPlay && !F.player.isActive) { F.opts.autoPlay = false; F.play(); } }, _afterZoomOut: function () { F.trigger('afterClose'); F.wrap.trigger('onReset').remove(); $.extend(F, { group: {}, opts: {}, current: null, isOpened: false, isOpen: false, wrap: null, outer: null, inner: null }); } }); /* * Default transitions */ F.transitions = { getOrigPosition: function () { var element = F.current.element, pos = {}, width = 50, height = 50, image, viewport; if (element && element.nodeName && $(element).is(':visible')) { image = $(element).find('img:first'); if (image.length) { pos = image.offset(); width = image.outerWidth(); height = image.outerHeight(); } else { pos = $(element).offset(); } } else { viewport = F.getViewport(); pos.top = viewport.y + (viewport.h - height) * 0.5; pos.left = viewport.x + (viewport.w - width) * 0.5; } pos = { top: Math.ceil(pos.top) + 'px', left: Math.ceil(pos.left) + 'px', width: Math.ceil(width) + 'px', height: Math.ceil(height) + 'px' }; return pos; }, step: function (now, fx) { var ratio, innerValue, outerValue; if (fx.prop === 'width' || fx.prop === 'height') { innerValue = outerValue = Math.ceil(now - (F.current.padding * 2)); if (fx.prop === 'height') { ratio = (now - fx.start) / (fx.end - fx.start); if (fx.start > fx.end) { ratio = 1 - ratio; } innerValue -= F.innerSpace * ratio; outerValue -= F.outerSpace * ratio; } F.inner[fx.prop](innerValue); F.outer[fx.prop](outerValue); } }, zoomIn: function () { var wrap = F.wrap, current = F.current, startPos, endPos, dim = current.dim; if (current.openEffect === 'elastic') { endPos = $.extend({}, dim, F._getPosition(true)); //Remove "position" property delete endPos.position; startPos = this.getOrigPosition(); if (current.openOpacity) { startPos.opacity = 0; endPos.opacity = 1; } wrap.css(startPos).show().animate(endPos, { duration: current.openSpeed, easing: current.openEasing, step: this.step, complete: F._afterZoomIn }); } else { wrap.css($.extend({}, dim, F._getPosition())); if (current.openEffect === 'fade') { wrap.fadeIn(current.openSpeed, F._afterZoomIn); } else { wrap.show(); F._afterZoomIn(); } } }, zoomOut: function () { var wrap = F.wrap, current = F.current, endPos; if (current.closeEffect === 'elastic') { if (wrap.css('position') === 'fixed') { wrap.css(F._getPosition(true)); } endPos = this.getOrigPosition(); if (current.closeOpacity) { endPos.opacity = 0; } wrap.animate(endPos, { duration: current.closeSpeed, easing: current.closeEasing, step: this.step, complete: F._afterZoomOut }); } else { wrap.fadeOut(current.closeEffect === 'fade' ? current.closeSpeed : 0, F._afterZoomOut); } }, changeIn: function () { var wrap = F.wrap, current = F.current, startPos; if (current.nextEffect === 'elastic') { startPos = F._getPosition(true); startPos.opacity = 0; startPos.top = (parseInt(startPos.top, 10) - 200) + 'px'; wrap.css(startPos).show().animate({ opacity: 1, top: '+=200px' }, { duration: current.nextSpeed, complete: F._afterZoomIn }); } else { wrap.css(F._getPosition()); if (current.nextEffect === 'fade') { wrap.hide().fadeIn(current.nextSpeed, F._afterZoomIn); } else { wrap.show(); F._afterZoomIn(); } } }, changeOut: function () { var wrap = F.wrap, current = F.current, cleanUp = function () { $(this).trigger('onReset').remove(); }; wrap.removeClass('fancybox-opened'); if (current.prevEffect === 'elastic') { wrap.animate({ 'opacity': 0, top: '+=200px' }, { duration: current.prevSpeed, complete: cleanUp }); } else { wrap.fadeOut(current.prevEffect === 'fade' ? current.prevSpeed : 0, cleanUp); } } }; /* * Overlay helper */ F.helpers.overlay = { overlay: null, update: function () { var width, scrollWidth, offsetWidth; //Reset width/height so it will not mess this.overlay.width(0).height(0); if ($.browser.msie) { scrollWidth = Math.max(document.documentElement.scrollWidth, document.body.scrollWidth); offsetWidth = Math.max(document.documentElement.offsetWidth, document.body.offsetWidth); width = scrollWidth < offsetWidth ? W.width() : scrollWidth; } else { width = D.width(); } this.overlay.width(width).height(D.height()); }, beforeShow: function (opts) { if (this.overlay) { return; } this.overlay = $('
').css(opts.css || { background: 'black' }).appendTo('body'); this.update(); if (opts.closeClick) { this.overlay.bind('click.fb', F.close); } W.bind("resize.fb", $.proxy(this.update, this)); this.overlay.fadeTo(opts.speedIn || "fast", opts.opacity || 1); }, onUpdate: function () { //Update as content may change document dimensions this.update(); }, afterClose: function (opts) { if (this.overlay) { this.overlay.fadeOut(opts.speedOut || "fast", function () { $(this).remove(); }); } this.overlay = null; } }; /* * Title helper */ F.helpers.title = { beforeShow: function (opts) { var title, text = F.current.title; if (text) { title = $('
' + text + '
').appendTo('body'); if (opts.type === 'float') { //This helps for some browsers title.width(title.width()); title.wrapInner(''); //Increase bottom margin so this title will also fit into viewport F.current.margin[2] += Math.abs(parseInt(title.css('margin-bottom'), 10)); } title.appendTo(opts.type === 'over' ? F.inner : (opts.type === 'outside' ? F.wrap : F.outer)); } } }; // jQuery plugin initialization $.fn.fancybox = function (options) { var opts = options || {}, selector = this.selector || ''; function run(e) { var group = [], relType, relVal, rel = this.rel; if (!(e.ctrlKey || e.altKey || e.shiftKey || e.metaKey)) { e.preventDefault(); relVal = $(this).data('fancybox-group'); // Check if element has 'data-fancybox-group' attribute, if not - use 'rel' if (typeof relVal !== 'undefined') { relType = relVal ? 'data-fancybox-group' : false; } else if (rel && rel !== '' && rel !== 'nofollow') { relVal = rel; relType = 'rel'; } if (relType) { group = selector.length ? $(selector).filter('[' + relType + '="' + relVal + '"]') : $('[' + relType + '="' + relVal + '"]'); } if (group.length) { opts.index = group.index(this); F.open(group.get(), opts); } else { F.open(this, opts); } } } if (selector) { D.undelegate(selector, 'click.fb-start').delegate(selector, 'click.fb-start', run); } else { $(this).unbind('click.fb-start').bind('click.fb-start', run); } return this; }; }(window, document, jQuery));fancybox_loading.gif000066600000013521150477500540010556 0ustar00GIF89a**   ((( *** )))'''...+++###%%%&&&111$$$""" ,,,888222!!!---;;;777000///333GGG>>>444ddd999555UUU^^^:::@@@666EEEAAATTTFFFKKKBBB???JJJMMMNNN===CCC<<Q[p/=` `!CA @pHp(`<0}"fPuD:1$-@A~9ܰN1(1 G#P !EoİŔD` PpyK_8PԥF*#DA]QRԩCBP@! , H] *$FW Q$a~,bg Dv Th$ i#Y0ɂ]MR, pA;Eab!DdA80Td!S,}!CSFmK0 :xh`@K+A B7Ih!&. &8@  \ (\xA„ ^p ˔)hz|A *R !B>` 9 2B@FxIŖp;U v 4Q?z(9FDL "J?؝`L 0.;@Ak\97fTeXA,ʱQx00FF5qJM! `Q1DB1B@dZ0@<"A H"4yUn$\0P)Z "*t(`,@0C ' 2Ds@‚)t@ )(`FH  P, p;d;ЂĠ#TP;>@YATx -S@ DN2`LG; ԠDg0Āv `Yi nX*tj! , H*$H揄 (H@Y.2C# v trґ]6= (Yݗ\}64 vepg cRFR bF҆A3fX#G'oY :1.'FT < !22F  6<D"]8ER 0:iO22@ ԁ B $cBUPdT0P0`@ 8B NB0PS |0D`@OH}K@d/d[d Dt! , H݅*$H … Ȑ@`%Z"; HxH$ v].F!e;l\Xx@ !PD+LV* L0p%'مݎ!"D1a j0Pi$9H$ hUJ |82Cຂ:hQ0A !1P@TD"6m`@vy! 9^xԃ 0p1:bpQ -!1E *NBrT);6a:N!x@.` P ;) A!|N;0T" -'VE~s6,d|@T,CK ,X^J Axtc@AG$xQ@! , H *\(* 2a;?XBFXq1Ft!Q 2,Ȃ݌Y0D '݀a@$p0@{ACo: lЄE"8@!dbcE+h@A$'K Lh @x|Xx΄ t`<QsZѥ#0hѠ%8qSe8(05Z@(x A C'BA24@A'A\S<`|lLY ƛv&,4Xȑ FX4JD@,܀$Bc Ma@;0G3E4x;!PI*D$"=a ! , H *\8 6 p )N"";b<`70#;,f`\P`H@:4ȁ/! XBHv t8@BRp|J pp3,tk#&N 4 ͂V`xPa2N$(l 6(Ą '.CDX"BJ xcK#!"Bk/C\8O @4-8dZ\   !%hv ' {Q$*P'w4@*   EP 4:{;XHKHpMCCx`D PvF|"; BŎPK mQ@! , HPu@ :(8E2!"Q 28`QEHFX`vq] #PC#B0aB4a *" С$\d R0Px(q3&(,%Ɗ 0@". .^0d"$TC 'ӣ9\XK'< @iM"IFbFL61U$,bGS2>4h!8ZLyb`otx L PS"Sa@\B@];8B a萀C,^P@n$APd%#l#^W(q4RvtXx@|1^8v!I(B&(aZ"+&pAeTB^k0BAYA8.dF 4@L^ 1 0C@ 9 N@+a 4D;Z;
', list: null, buttons: {}, update: function () { var toggle = this.buttons.toggle.removeClass('btnDisabled btnToggleOn'); //Size toggle button if (F.current.canShrink) { toggle.addClass('btnToggleOn'); } else if (!F.current.canExpand) { toggle.addClass('btnDisabled'); } }, beforeLoad: function (opts) { //Remove self if gallery do not have at least two items if (F.group.length < 2) { F.coming.helpers.buttons = false; F.coming.closeBtn = true; return; } //Increase top margin to give space for buttons F.coming.margin[ opts.position === 'bottom' ? 2 : 0 ] += 30; }, onPlayStart: function () { if (this.list) { this.buttons.play.attr('title', 'Pause slideshow').addClass('btnPlayOn'); } }, onPlayEnd: function () { if (this.list) { this.buttons.play.attr('title', 'Start slideshow').removeClass('btnPlayOn'); } }, afterShow: function (opts) { var buttons; if (!this.list) { this.list = $(opts.tpl || this.tpl).addClass(opts.position || 'top').appendTo('body'); this.buttons = { prev : this.list.find('.btnPrev').click( F.prev ), next : this.list.find('.btnNext').click( F.next ), play : this.list.find('.btnPlay').click( F.play ), toggle : this.list.find('.btnToggle').click( F.toggle ) } } buttons = this.buttons; //Prev if (F.current.index > 0 || F.current.loop) { buttons.prev.removeClass('btnDisabled'); } else { buttons.prev.addClass('btnDisabled'); } //Next / Play if (F.current.loop || F.current.index < F.group.length - 1) { buttons.next.removeClass('btnDisabled'); buttons.play.removeClass('btnDisabled'); } else { buttons.next.addClass('btnDisabled'); buttons.play.addClass('btnDisabled'); } this.update(); }, onUpdate: function () { this.update(); }, beforeClose: function () { if (this.list) { this.list.remove(); } this.list = null; this.buttons = {}; } }; }(jQuery));helpers/fancybox_buttons.png000066600000004534150477500540012324 0ustar00PNG  IHDRZZ8AtEXtSoftwareAdobe ImageReadyqe<IDATx\klUm--j[Z ,&T( B4$H ( A(M#Q,A B4D#Si jQIRJk>v|۹uvg̶$';{=sG şh.iB~,V#fktx(mWq9ccck{xRXXx޽{;cxl}/f`I[>I'6hKm:Ly޿th47<2>TiSK94:xECCC;44dRIfQuFntd6)5pː`v%h ³f29yxxիW G-:+IђeJJJ:)NN^>~*ͩ"ϿRYW=usssȬd]~̙3;/RGWHabu1끁)zKՏȊu\ΝctRׯM__&~N9!_QQѥUfu>?%'\stE*#3 َ [SSӋRg6&Łv,Q 8LN^#>ng'-Ku iڭhޣ=hYf hvOz”Xa@>omm}BIǠʓrGGGkiiiҥK?ƨ1NU2Sro7mGtd(mOOOc>9}ĩĩhVŃFe Rl*Khpzݭir)KH] [b3Pyh|wȑSf۷o{N'; } this.wrap = $('
').addClass(opts.position || 'bottom').appendTo('body'); this.list = $('
    ' + list + '
').appendTo(this.wrap); //Load each thumbnail $.each(F.group, function (i) { $("").load(function () { var width = this.width, height = this.height, widthRatio, heightRatio, parent; if (!that.list || !width || !height) { return; } //Calculate thumbnail width/height and center it widthRatio = width / thumbWidth; heightRatio = height / thumbHeight; parent = that.list.children().eq(i).find('a'); if (widthRatio >= 1 && heightRatio >= 1) { if (widthRatio > heightRatio) { width = Math.floor(width / heightRatio); height = thumbHeight; } else { width = thumbWidth; height = Math.floor(height / widthRatio); } } $(this).css({ width: width, height: height, top: Math.floor(thumbHeight / 2 - height / 2), left: Math.floor(thumbWidth / 2 - width / 2) }); parent.width(thumbWidth).height(thumbHeight); $(this).hide().appendTo(parent).fadeIn(300); }).attr('src', thumbSource(this)); }); //Set initial width this.width = this.list.children().eq(0).outerWidth(); this.list.width(this.width * (F.group.length + 1)).css('left', Math.floor($(window).width() * 0.5 - (F.current.index * this.width + this.width * 0.5))); }, //Center list update: function (opts) { if (this.list) { this.list.stop(true).animate({ 'left': Math.floor($(window).width() * 0.5 - (F.current.index * this.width + this.width * 0.5)) }, 150); } }, beforeLoad: function (opts) { //Remove self if gallery do not have at least two items if (F.group.length < 2) { F.coming.helpers.thumbs = false; return; } //Increase bottom margin to give space for thumbs F.coming.margin[ opts.position === 'top' ? 0 : 2 ] = opts.height + 30; }, afterShow: function (opts) { //Check if exists and create or update list if (this.list) { this.update(opts); } else { this.init(opts); } //Set active element this.list.children().removeClass('active').eq(F.current.index).addClass('active'); }, onUpdate: function () { this.update(); }, beforeClose: function () { if (this.wrap) { this.wrap.remove(); } this.wrap = null; this.list = null; this.width = 0; } } }(jQuery));jquery.fancybox.pack.js000066600000037100150477500540011162 0ustar00/*! fancyBox v2.0.4 fancyapps.com | fancyapps.com/fancybox/#license */ (function(u,q,e){var l=e(u),r=e(q),a=e.fancybox=function(){a.open.apply(this,arguments)},s=!1,t=null;e.extend(a,{version:"2.0.4",defaults:{padding:15,margin:20,width:800,height:600,minWidth:200,minHeight:200,maxWidth:9999,maxHeight:9999,autoSize:!0,fitToView:!0,aspectRatio:!1,topRatio:0.5,fixed:!e.browser.msie||6
',image:'',iframe:'',swf:'', error:'

The requested content cannot be loaded.
Please try again later.

',closeBtn:'
',next:'',prev:''},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut", nextEffect:"elastic",nextSpeed:300,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:300,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:{speedIn:0,speedOut:300,opacity:0.8,css:{cursor:"pointer"},closeClick:!0},title:{type:"float"}}},group:{},opts:{},coming:null,current:null,isOpen:!1,isOpened:!1,wrap:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(b,c){e.isArray(b)||(b=[b]);if(b.length)a.close(!0), a.opts=e.extend(!0,{},a.defaults,c),a.group=b,a._start(a.opts.index||0)},cancel:function(){if(!(a.coming&&!1===a.trigger("onCancel"))&&(a.coming=null,a.hideLoading(),a.ajaxLoad&&a.ajaxLoad.abort(),a.ajaxLoad=null,a.imgPreload))a.imgPreload.onload=a.imgPreload.onabort=a.imgPreload.onerror=null},close:function(b){a.cancel();if(a.current&&!1!==a.trigger("beforeClose"))a.unbindEvents(),!a.isOpen||b&&!0===b[0]?(e(".fancybox-wrap").stop().trigger("onReset").remove(),a._afterZoomOut()):(a.isOpen=a.isOpened= !1,e(".fancybox-item").remove(),a.wrap.stop(!0).removeClass("fancybox-opened"),a.inner.css("overflow","hidden"),a.transitions[a.current.closeMethod]())},play:function(b){var c=function(){clearTimeout(a.player.timer)},d=function(){c();if(a.current&&a.player.isActive)a.player.timer=setTimeout(a.next,a.current.playSpeed)},g=function(){c();e("body").unbind(".player");a.player.isActive=!1;a.trigger("onPlayEnd")};if(a.player.isActive||b&&!1===b[0])g();else if(a.current&&(a.current.loop||a.current.index< a.group.length-1))a.player.isActive=!0,e("body").bind({"afterShow.player onUpdate.player":d,"onCancel.player beforeClose.player":g,"beforeLoad.player":c}),d(),a.trigger("onPlayStart")},next:function(){a.current&&a.jumpto(a.current.index+1)},prev:function(){a.current&&a.jumpto(a.current.index-1)},jumpto:function(b){a.current&&(b=parseInt(b,10),1=a.group.length?b=0:0>b&&(b=a.group.length-1)),"undefined"!==typeof a.group[b]&&(a.cancel(),a._start(b)))},reposition:function(b){a.isOpen&& a.wrap.css(a._getPosition(b))},update:function(){a.isOpen&&(s||(t=setInterval(function(){if(s&&(s=!1,clearTimeout(t),a.current)){if(a.current.autoSize)a.inner.height("auto"),a.current.height=a.inner.height();a._setDimension();a.current.canGrow&&a.inner.height("auto");a.reposition();a.trigger("onUpdate")}},100)),s=!0)},toggle:function(){if(a.isOpen)a.current.fitToView=!a.current.fitToView,a.update()},hideLoading:function(){e("#fancybox-loading").remove()},showLoading:function(){a.hideLoading();e('
').click(a.cancel).appendTo("body")}, getViewport:function(){return{x:l.scrollLeft(),y:l.scrollTop(),w:l.width(),h:l.height()}},unbindEvents:function(){a.wrap&&a.wrap.unbind(".fb");r.unbind(".fb");l.unbind(".fb")},bindEvents:function(){var b=a.current,c=b.keys;b&&(l.bind("resize.fb, orientationchange.fb",a.update),c&&r.bind("keydown.fb",function(b){var g;if(!b.ctrlKey&&!b.altKey&&!b.shiftKey&&!b.metaKey&&0>e.inArray(b.target.tagName.toLowerCase(),["input","textarea","select","button"]))g=b.keyCode,-1').appendTo(e("body")).append(b),d.width=c.outerWidth(),d.height=c.outerHeight(!0),b=c.contents().detach(),c.remove();break;case "image":b=d.tpl.image.replace("{href}", d.href);d.aspectRatio=!0;break;case "swf":b=d.tpl.swf.replace(/\{width\}/g,d.width).replace(/\{height\}/g,d.height).replace(/\{href\}/g,d.href);break;case "iframe":b=d.tpl.iframe.replace("{href}",d.href).replace("{scrolling}",d.scrolling).replace("{rnd}",(new Date).getTime())}if(-1o&&(h=o,j=(h-i)/l+i),j>m&&(j=m,h=(j-i)*l+i),ho||k>m)for(;(h>o||k>m)&&h>n&&k>p;)j-=10,g.aspectRatio?(h=Math.round((j-i)*l+i),hp&&jf.w||k>f.h)&&h>n&&j>p)g.canShrink=!0;b=k-i;a.innerSpace=b-d.height();a.outerSpace=b- c.height()},_getPosition:function(b){var c=a.current,d=a.getViewport(),e=c.margin,f=a.wrap.width()+e[1]+e[3],k=a.wrap.height()+e[0]+e[2],i={position:"absolute",top:e[0]+d.y,left:e[3]+d.x};if(c.fixed&&(!b||!1===b[0])&&k<=d.h&&f<=d.w)i={position:"fixed",top:e[0],left:e[3]};i.top=Math.ceil(Math.max(i.top,i.top+(d.h-k)*c.topRatio))+"px";i.left=Math.ceil(Math.max(i.left,i.left+0.5*(d.w-f)))+"px";return i},_afterZoomIn:function(){var b=a.current;a.isOpen=a.isOpened=!0;a.wrap.addClass("fancybox-opened").css("overflow", "visible");a.update();a.inner.css("overflow","auto"===b.scrolling?"auto":"yes"===b.scrolling?"scroll":"hidden");if(b.closeClick||b.nextClick)a.inner.css("cursor","pointer").bind("click.fb",b.nextClick?a.next:a.close);b.closeBtn&&e(b.tpl.closeBtn).appendTo(a.wrap).bind("click.fb",a.close);b.arrows&&1c.end&&(d=1-d),e-=a.innerSpace*d,f-=a.outerSpace*d),a.inner[c.prop](e),a.outer[c.prop](f)},zoomIn:function(){var b=a.wrap,c=a.current,d,g;d=c.dim;if("elastic"===c.openEffect){g=e.extend({}, d,a._getPosition(!0));delete g.position;d=this.getOrigPosition();if(c.openOpacity)d.opacity=0,g.opacity=1;b.css(d).show().animate(g,{duration:c.openSpeed,easing:c.openEasing,step:this.step,complete:a._afterZoomIn})}else b.css(e.extend({},d,a._getPosition())),"fade"===c.openEffect?b.fadeIn(c.openSpeed,a._afterZoomIn):(b.show(),a._afterZoomIn())},zoomOut:function(){var b=a.wrap,c=a.current,d;if("elastic"===c.closeEffect){"fixed"===b.css("position")&&b.css(a._getPosition(!0));d=this.getOrigPosition(); if(c.closeOpacity)d.opacity=0;b.animate(d,{duration:c.closeSpeed,easing:c.closeEasing,step:this.step,complete:a._afterZoomOut})}else b.fadeOut("fade"===c.closeEffect?c.closeSpeed:0,a._afterZoomOut)},changeIn:function(){var b=a.wrap,c=a.current,d;"elastic"===c.nextEffect?(d=a._getPosition(!0),d.opacity=0,d.top=parseInt(d.top,10)-200+"px",b.css(d).show().animate({opacity:1,top:"+=200px"},{duration:c.nextSpeed,complete:a._afterZoomIn})):(b.css(a._getPosition()),"fade"===c.nextEffect?b.hide().fadeIn(c.nextSpeed, a._afterZoomIn):(b.show(),a._afterZoomIn()))},changeOut:function(){var b=a.wrap,c=a.current,d=function(){e(this).trigger("onReset").remove()};b.removeClass("fancybox-opened");"elastic"===c.prevEffect?b.animate({opacity:0,top:"+=200px"},{duration:c.prevSpeed,complete:d}):b.fadeOut("fade"===c.prevEffect?c.prevSpeed:0,d)}};a.helpers.overlay={overlay:null,update:function(){var a,c;this.overlay.width(0).height(0);e.browser.msie?(a=Math.max(q.documentElement.scrollWidth,q.body.scrollWidth),c=Math.max(q.documentElement.offsetWidth, q.body.offsetWidth),a=a').css(b.css||{background:"black"}).appendTo("body"),this.update(),b.closeClick&&this.overlay.bind("click.fb",a.close),l.bind("resize.fb",e.proxy(this.update,this)),this.overlay.fadeTo(b.speedIn||"fast",b.opacity||1)},onUpdate:function(){this.update()},afterClose:function(a){this.overlay&&this.overlay.fadeOut(a.speedOut|| "fast",function(){e(this).remove()});this.overlay=null}};a.helpers.title={beforeShow:function(b){var c;if(c=a.current.title)c=e('
'+c+"
").appendTo("body"),"float"===b.type&&(c.width(c.width()),c.wrapInner(''),a.current.margin[2]+=Math.abs(parseInt(c.css("margin-bottom"),10))),c.appendTo("over"===b.type?a.inner:"outside"===b.type?a.wrap:a.outer)}};e.fn.fancybox=function(b){function c(b){var c=[],i,h=this.rel; if(!b.ctrlKey&&!b.altKey&&!b.shiftKey&&!b.metaKey)b.preventDefault(),b=e(this).data("fancybox-group"),"undefined"!==typeof b?i=b?"data-fancybox-group":!1:h&&""!==h&&"nofollow"!==h&&(b=h,i="rel"),i&&(c=g.length?e(g).filter("["+i+'="'+b+'"]'):e("["+i+'="'+b+'"]')),c.length?(d.index=c.index(this),a.open(c.get(),d)):a.open(this,d)}var d=b||{},g=this.selector||"";g?r.undelegate(g,"click.fb-start").delegate(g,"click.fb-start",c):e(this).unbind("click.fb-start").bind("click.fb-start",c);return this}})(window, document,jQuery);jquery.fancybox.css000066600000007136150477500540010427 0ustar00/*! fancyBox v2.0.4 fancyapps.com | fancyapps.com/fancybox/#license */ .fancybox-tmp iframe, .fancybox-tmp object { vertical-align: top; padding: 0; margin: 0; } .fancybox-wrap { position: absolute; top: 0; left: 0; z-index: 1002; } .fancybox-outer { padding: 0; margin: 0; background: #f9f9f9; color: #444; text-shadow: none; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; } .fancybox-opened { z-index: 1003; } .fancybox-opened .fancybox-outer { -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); } .fancybox-inner { width: 100%; height: 100%; padding: 0; margin: 0; position: relative; outline: none; overflow: hidden; } .fancybox-error { color: #444; font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; margin: 0; padding: 10px; } .fancybox-image, .fancybox-iframe { display: block; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; vertical-align: top; } .fancybox-image { max-width: 100%; max-height: 100%; } #fancybox-loading { position: fixed; top: 50%; left: 50%; margin-top: -21px; margin-left: -21px; width: 42px; height: 42px; background: url('fancybox_loading.gif'); opacity: 0.8; cursor: pointer; z-index: 1010; } .fancybox-close, .fancybox-prev span, .fancybox-next span { background-image: url('fancybox_sprite.png'); } .fancybox-close { position: absolute; top: -18px; right: -18px; width: 36px; height: 36px; cursor: pointer; z-index: 1004; } .fancybox-prev, .fancybox-next { position: absolute; top: 0; width: 40%; height: 100%; cursor: pointer; background: transparent url('blank.gif'); /* helps IE */ z-index: 1003; } .fancybox-prev { left: 0; } .fancybox-next { right: 0; } .fancybox-prev span, .fancybox-next span { position: absolute; top: 50%; left: -9999px; width: 36px; height: 36px; margin-top: -18px; cursor: pointer; z-index: 1003; } .fancybox-prev span { background-position: 0 -36px; } .fancybox-next span { background-position: 0 -72px; } .fancybox-prev:hover, .fancybox-next:hover { visibility: visible; } .fancybox-prev:hover span { left: 20px; } .fancybox-next:hover span { left: auto; right: 20px; } .fancybox-tmp { position: absolute; top: -9999px; left: -9999px; padding: 0; overflow: visible; visibility: hidden; } /* Overlay helper */ #fancybox-overlay { position: absolute; top: 0; left: 0; overflow: hidden; display: none; z-index: 1001; background: #000; } /* Title helper */ .fancybox-title { visibility: hidden; font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; position: relative; text-shadow: none; z-index: 1005; } .fancybox-opened .fancybox-title { visibility: visible; } .fancybox-title-float-wrap { position: absolute; bottom: 0; right: 50%; margin-bottom: -35px; z-index: 1003; text-align: center; } .fancybox-title-float-wrap .child { display: inline-block; margin-right: -100%; padding: 2px 20px; background: transparent; /* Fallback for web browsers that doesn't support RGBa */ background: rgba(0, 0, 0, 0.8); -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; text-shadow: 0 1px 2px #222; color: #FFF; font-weight: bold; line-height: 24px; white-space: nowrap; } .fancybox-title-outside-wrap { position: relative; margin-top: 10px; color: #fff; } .fancybox-title-inside-wrap { margin-top: 10px; } .fancybox-title-over-wrap { position: absolute; bottom: 0; left: 0; color: #fff; padding: 10px; background: #000; background: rgba(0, 0, 0, .8); }