function _preloadGallery(e) {
		var source = ''

		if (data.gallery.index > 0) {
			source = data.gallery.$items.eq(data.gallery.index - 1).attr('href')
			if (source.indexOf('youtube.com/embed') < 0 && source.indexOf('player.vimeo.com/video') < 0) {
				$('<img src="' + source + '">')
			}
		}
		if (data.gallery.index < data.gallery.total) {
			source = data.gallery.$items.eq(data.gallery.index + 1).attr('href')
			if (source.indexOf('youtube.com/embed') < 0 && source.indexOf('player.vimeo.com/video') < 0) {
				$('<img src="' + source + '">')
			}
		}
	}
/**
	 * @method private
	 * @name _preloadGallery
	 * @description Preloads previous and next images in gallery for faster rendering
	 * @param e [object] "Event Data"
	 */
@method private
@name _preloadGallery
@description Preloads previous and next images in gallery for faster rendering
@param e [object] "Event Data"
@method private @name _preloadGallery @description Preloads previous and next images in gallery for faster rendering @param e [ object ] " Event Data "
function _preloadGallery(e) {
		var source = ''
		if (data.gallery.index > 0) {
			source = data.gallery.$items.eq(data.gallery.index - 1).attr('href')
			if (source.indexOf('youtube.com/embed') < 0 && source.indexOf('player.vimeo.com/video') < 0) {
				$('<img src="' + source + '">')
			}
		}
		if (data.gallery.index < data.gallery.total) {
			source = data.gallery.$items.eq(data.gallery.index + 1).attr('href')
			if (source.indexOf('youtube.com/embed') < 0 && source.indexOf('player.vimeo.com/video') < 0) {
				$('<img src="' + source + '">')
			}
		}
	}
function _preloadGallery ( e ) { var source = '' if ( data . gallery . index > 0 ) { source = data . gallery . $items . eq ( data . gallery . index - 1 ) . attr ( 'href' ) if ( source . indexOf ( 'youtube.com/embed' ) < 0 && source . indexOf ( 'player.vimeo.com/video' ) < 0 ) { $ ( '<img src="' + source + '">' ) } } if ( data . gallery . index < data . gallery . total ) { source = data . gallery . $items . eq ( data . gallery . index + 1 ) . attr ( 'href' ) if ( source . indexOf ( 'youtube.com/embed' ) < 0 && source . indexOf ( 'player.vimeo.com/video' ) < 0 ) { $ ( '<img src="' + source + '">' ) } } }
@method private
 @name _preloadGallery
 @description Preloads previous and next images in gallery for faster rendering
 @param e [object] "Event Data"
@method private @name _preloadGallery @description Preloads previous and next images in gallery for faster rendering @param e [ object ] " Event Data "