1;(function($){$.fn.frs=function(options){var defaults={'animation':'horizontal-slide','animationSpeed':600,'timer':false,'advanceSpeed':4000,'pauseOnHover':true,'startClockOnMouseOut':false,'startClockOnMouseOutAfter':1000,'directionalNav':true,'captions':true,'captionAnimation':'fade','captionAnimationSpeed':600,'bullets':false,'bulletThumbs':false,'bulletThumbLocation':'','afterSlideChange':function(){},'navigationSmallTreshold':650,'navigationSmall':false,'skinClass':'default','width':650,'height':350,'fullWidth':false,'minHeight':300,'maxHeight':0,'sbullets':false,'sbulletsItemWidth':200,'continousSliding':false,'jsOnly':false,'slideParameter':[]};var options=$.extend(defaults,options);frs_id="#"+this.attr("id")+"-slideshow";return this.each(function(){var activeSlide=0,activeSlideContinous=0,numberSlides=0,frsWidth,frsHeight,locked,caption_position,timeout;var slideWrapper=$(this).children('.frs-slide-img-wrapper').addClass('frs-slide-img-wrapper');var frs=slideWrapper.wrap('<div class="frs-slideshow-content" />').parent();var frsWrapper=frs.wrap('<div id="'+$(this).attr("id")+'-slideshow" class="frs-wrapper '+options.skinClass.toLowerCase()+'" />').parent();var first_run=true 2var old_responsive_class='responsive-full' 3var responsiveClassLock=false 4frs_slider_lock();var imgWidth=[],imgHeight=[],imgCount=0;$(slideWrapper.children()).imagesLoadedFRS().progress(function(instance,image){if($(image.img).parent().attr('class')=='frs-slide-img') 5{imgWidth[imgCount]=image.img.width;imgHeight[imgCount]=image.img.height;imgCount++;}}).always(function(instance){$(window).trigger('resize.frs-slideshow-container',true);slideWrapper.fadeIn(function(){$(this).css({"display":"block"});}) 6slideWrapper.children().fadeIn(function(){$(this).css({"display":"block"});}) 7frsWrapper.children('.frs-slideshow-content').fadeIn(function(){$(this).css({"display":"block"});}) 8frsWrapper.children('.frs-timer').fadeIn(function(){$(this).css({"display":"block"});}) 9frsWrapper.children('.frs-slider-nav').fadeIn(function(){$(this).css({"display":"block"});}) 10frsWrapper.children('.frs-bullets-wrapper').fadeIn(function(){$(this).css({"display":"block"});frs_slider_unlock();frsWrapper.children('.frs-slideshow-content').css('background-image','none');})}) 11frs.css({'height':options.height,'max-width':options.width});frsWrapper.parent().css({'height':options.height,'max-width':options.width});if(options.fullWidth==true) 12{frs.css({'max-width':'100%'});frsWrapper.parent().css({'max-width':'100%'});} 13frs.add(frsWidth) 14var slides=slideWrapper.children('div');slides.each(function(index,slide){numberSlides++;});function frs_slider_unlock(){locked=false;} 15function frs_slider_lock(){locked=true;} 16if(slides.length==1){options.directionalNav=false;options.timer=false;options.bullets=false;} 17if(options.continousSliding) 18{slides.eq(activeSlide).css({"z-index":3,"display":"block","left":0}).fadeIn(function(){slides.css({"display":"block"})});} 19function calculateHeightWidth() 20{frsWidth=frs.innerWidth();var minus_resize=options.width-frsWidth;var percent_minus=(minus_resize/options.width)*100;frsHeight=options.height-(options.height*percent_minus/100);if(frsHeight<=options.minHeight) 21{frsHeight=options.minHeight;} 22else if(frsHeight>=options.maxHeight&&options.maxHeight>0) 23{frsHeight=options.maxHeight;} 24applyImageSize()} 25function applyImageSize() 26{var images=slideWrapper.find('.frs-slide-img').children('img');$.each(images,function(index){var width=frsWidth;var height=getImgHeight(width,index);if(frsHeight>height) 27{var curImgWidth=getImgWidth(frsHeight,index);var curDiffWidth=(curImgWidth-width)*-1;$(this).css({'height':frsHeight+'px','width':curImgWidth+'px','max-height':frsHeight+'px','max-width':curImgWidth+'px','margin-left':curDiffWidth/2+'px'}) 28$(this).css({'margin-top':''})} 29else 30{var diff=frsHeight-height;$(this).css('margin-top',(diff/2)+'px');$(this).css({'width':width+'px','max-width':width+'px'}) 31$(this).css({'height':'auto','max-height':'none','margin-left':''})} 32$(this).parent().width(width);});} 33getImgHeight=function(width,index) 34{var Twidth=imgWidth[index];var Theight=imgHeight[index];var minusResize=Twidth-width;var percentMinus=(minusResize/Twidth)*100;var height=Theight-(Theight*percentMinus/100);height=Math.round(height);return height} 35getImgWidth=function(height,index) 36{var Twidth=imgWidth[index];var Theight=imgHeight[index];var minusResize=Theight-height;var percentMinus=(minusResize/Theight)*100;var width=Twidth-(Twidth*percentMinus/100);width=Math.round(width);return width;} 37var vendorPrefix;
37function css3support(){var element=document.createElement('div'),props=['perspectiveProperty','WebkitPerspective','MozPerspective','OPerspective','msPerspective'];for(var i in props){if(typeof element.style[props[i]]!=='undefined'){vendorPrefix=props[i].replace('Perspective','').toLowerCase();return options.jsOnly?false:true;}} 38return false;};var grouped_slideshow="";if(!options.continousSliding) 39{if(options.animation=="horizontal-slide") 40{slides.css({"position":"relative","float":"left","display":"block","width":frsWidth+"px","height":+"100%"});slides.parent().css({"width":frsWidth*numberSlides+"px","height":frsHeight+"px"});} 41else if(options.animation=="vertical-slide") 42{slides.parent().css({"width":frsWidth+"px","height":frsHeight*numberSlides+"px"});slides.css({"position":"relative","display":"block","width":frsWidth+"px","height":frsHeight+"px"});} 43else if(options.animation=="fade") 44{slides.parent().css({"width":frsWidth+"px","height":frsHeight+"px"});slides.css({"z-index":1,"width":frsWidth+"px","height":frsHeight+"px"});slides.eq(activeSlide).css({"z-index":3});}} 45date=new Date();milliseconds=date.getTime();start_seconds=milliseconds/1000;function log_time(){date=new Date();milliseconds=date.getTime();seconds=milliseconds/1000;seconds=seconds-start_seconds;} 46function startCfrs_slider_lock(){if(!options.timer||options.timer=='false'){return false;}else if(!css3support()){timerRunning=true;pause.removeClass('frs-timer-active') 47clock=setInterval(function(e){shift("next");},options.advanceSpeed);}else{timerRunning=true;pause.removeClass('frs-timer-active') 48clock=setInterval(function(e){var degreeCSS="rotate("+degrees+"deg)" 49rotator.css('-'+vendorPrefix+'-transform',degreeCSS);degrees+=1 50if(degrees>=180){mask.addClass('frs-timer-move') 51rotator.addClass('frs-timer-move') 52mask_turn.css("display","block")} 53if(degrees>=360){degrees=0;mask.removeClass('frs-timer-move') 54rotator.removeClass('frs-timer-move') 55mask_turn.css("display","none") 56shift("next");}},options.advanceSpeed/360);}} 57function stop_slider_lock(){if(!options.timer||options.timer=='false'){return false;}else{timerRunning=false;clearInterval(clock);pause.addClass('frs-timer-active');}} 58if(options.timer){var timerHTML='<div class="frs-timer"><span class="frs-timer-mask"><span class="frs-timer-rotator"></span></span><span class="frs-timer-mask-turn"></span><span class="frs-timer-pause"></span></div>' 59frsWrapper.append(timerHTML);var timer=frsWrapper.children('div.frs-timer'),timerRunning;if(timer.length!=0){var rotator=$(frs_id+' div.frs-timer span.frs-timer-rotator'),mask=$(frs_id+' div.frs-timer span.frs-timer-mask'),mask_turn=$(frs_id+' div.frs-timer span.frs-timer-mask-turn'),pause=$(frs_id+' div.frs-timer span.frs-timer-pause'),degrees=0,clock;startCfrs_slider_lock();timer.click(function(){if(!timerRunning){startCfrs_slider_lock();}else{stop_slider_lock();}});if(options.startClockOnMouseOut){var outTimer;frsWrapper.mouseleave(function(){outTimer=setTimeout(function(){if(!timerRunning){startCfrs_slider_lock();}},options.startClockOnMouseOutAfter)}) 60frsWrapper.mouseenter(function(){clearTimeout(outTimer);})}}} 61if(options.pauseOnHover){frsWrapper.mouseenter(function(){stop_slider_lock();});} 62if(options.directionalNav){if(options.directionalNav=="false"){return false;} 63var directionalNavHTML='<div class="frs-slider-nav '+caption_position+'"><span class="frs-arrow-right">âº</span><span class="frs-arrow-left">â¹</span></div>';frsWrapper.append(directionalNavHTML);var leftBtn=frsWrapper.children('div.frs-slider-nav').children('span.frs-arrow-left'),rightBtn=frsWrapper.children('div.frs-slider-nav').children('span.frs-arrow-right');leftBtn.click(function(){stop_slider_lock();shift("prev");});rightBtn.click(function(){stop_slider_lock();shift("next")});} 64if(options.navigationSmall){$(window).resize(function(){if($(window).width()<options.navigationSmallTreshold){frs.siblings("div.frs-slider-nav").addClass('small')}else{frs.siblings("div.frs-slider-nav").removeClass('small')}});if(frs.width()<options.navigationSmallTreshold){frs.siblings("div.frs-slider-nav").addClass('small')}} 65if(options.bullets) 66{var bulletHTML='<ul class="frs-bullets"></ul>';if(options.sbullets) 67{bulletHTML='<ul class="frs-bullets frs-sbullets"></ul>';} 68var bulletHTMLWrapper="<div class='frs-bullet-wrapper'></div>";frsWrapper.append(bulletHTML);var bullets=frsWrapper.children('ul.frs-bullets');for(i=0;i<numberSlides;i++){var liMarkup=$('<li class="frs-slideshow-nav-bullets"></li>');if(options.bulletThumbs){var thumbName=slides.eq(i).data('thumb');if(thumbName){var liMarkup=$('<li class="has-thumb">'+i+'</li>') 69liMarkup.css({"background":"url("+options.bulletThumbLocation+thumbName+") no-repeat"});}} 70frsWrapper.children('ul.frs-bullets').append(liMarkup);liMarkup.data('index',i);liMarkup.click(function(){stop_slider_lock();shift($(this).data('index'));});} 71bullets.wrap("<div class='frs-bullets-wrapper "+caption_position+"' />") 72setActiveBullet();} 73var sbullets=0;var bulletsWalkingWidth=0;var bulletsMaxShowedIndex=0;var bulletsBackChild=0;var bulletsNextChild=0;var bulletsOffsetWidth=0;var bulletsPosition=0;var bulletsOffsetEnable=false;var bulletsWidth=0;var bulletsMovedWidth=0;var each_width=options.sbulletsItemWidth;var total_width=each_width*numberSlides;function generate_slide_bullet() 74{sbullets=frsWrapper.find('ul.frs-sbullets');bulletsWalkingWidth=0;bulletsMaxShowedIndex=0;bulletsBackChild=0;bulletsNextChild=0;bulletsOffsetWidth=0;bulletsPosition=0;bulletsOffsetEnable=false;bulletsWidth=sbullets.parent().outerWidth(true);if(bulletsWidth>total_width) 75{each_width=bulletsWidth/numberSlides;total_width=each_width*numberSlides;} 76sbullets.parent().css('overflow','hidden');sbullets.css('background-color',sbullets.children('li').last().css("background-color"));sbullets.children('li.frs-slideshow-nav-bullets').css('width',each_width+'px');sbullets.css('width',total_width+'px');sbullets.find('li').each(function(){bulletsWalkingWidth+=each_width;if(bulletsWalkingWidth+each_width>bulletsWidth) 77{bulletsNextChild=$(this).index();bulletsMaxShowedIndex=bulletsNextChild;} 78if(bulletsWalkingWidth>bulletsWidth) 79{$(this).addClass('frs-bullet-sliding-next');bulletsOffsetWidth=bulletsWalkingWidth-bulletsWidth;
79if(bulletsOffsetWidth<each_width) 80{bulletsOffsetEnable=true;} 81return false;}});} 82function slide_bullet(navigate) 83{if(navigate=='next') 84{if(sbullets.children('li').eq(numberSlides-1).hasClass("frs-bullet-sliding-next")) 85{bulletsNavPixelWidth=(each_width*bulletsPosition)+bulletsOffsetWidth;} 86else 87{sbullets.children('li').removeClass('frs-bullet-sliding-back').removeClass('frs-bullet-sliding-next');bulletsPosition++;bulletsBackChild++;bulletsNextChild++;bulletsNavPixelWidth=(each_width*bulletsPosition)+bulletsOffsetWidth;} 88slide_bullet_add_class('sliding_one','frs-bullet-sliding-one-back',bulletsBackChild+1)} 89else if(navigate=='back') 90{sbullets.children('li').removeClass('frs-bullet-sliding-back').removeClass('frs-bullet-sliding-next');bulletsPosition--;bulletsBackChild--;bulletsNextChild--;bulletsNavPixelWidth=each_width*bulletsPosition;slide_bullet_add_class('sliding_one','frs-bullet-sliding-one-next',bulletsNextChild-1)} 91else if(navigate=='first') 92{sbullets.children('li').removeClass('frs-bullet-sliding-back').removeClass('frs-bullet-sliding-next');bulletsPosition=0;bulletsBackChild=0;bulletsNextChild=bulletsMaxShowedIndex;bulletsNavPixelWidth=each_width*bulletsPosition;slide_bullet_add_class('sliding_one','frs-bullet-sliding-one-next',bulletsNextChild-1)} 93else if(navigate=='last') 94{sbullets.children('li').removeClass('frs-bullet-sliding-back').removeClass('frs-bullet-sliding-next');var numberBulletsByIndex=numberSlides-1;bulletsPosition=numberBulletsByIndex-bulletsMaxShowedIndex;bulletsBackChild=numberBulletsByIndex-bulletsMaxShowedIndex;bulletsNextChild=numberBulletsByIndex;bulletsNavPixelWidth=(each_width*bulletsPosition)+bulletsOffsetWidth;slide_bullet_add_class('sliding_one','frs-bullet-sliding-one-back',bulletsBackChild+1)} 95bulletsMovedWidth=bulletsNavPixelWidth;if(css3support()) 96{var properties={};properties['-'+vendorPrefix+'-transition-duration']=options.animationSpeed+'ms';properties['-'+vendorPrefix+'-transform']='translate3d(-'+bulletsNavPixelWidth+'px, 0, 0)';sbullets.css(properties);} 97else 98{sbullets.animate({"left":'-'+bulletsNavPixelWidth+'px'},options.animationSpeed);} 99slide_bullet_add_class('sliding','frs-bullet-sliding-back',bulletsBackChild) 100slide_bullet_add_class('sliding','frs-bullet-sliding-next',bulletsNextChild)} 101function slide_bullet_add_class(li_type,li_class,li_index) 102{if(li_type=='sliding_one') 103{if(bulletsOffsetEnable==true) 104{sbullets.children('li').removeClass('frs-bullet-sliding-one-back').removeClass('frs-bullet-sliding-one-next');var addClassTo=sbullets.children('li').eq(li_index) 105if(addClassTo.attr('class')=="frs-slideshow-nav-bullets") 106{addClassTo.addClass(li_class);}}} 107else if(li_type=='sliding') 108{if(sbullets.children('li').eq(li_index).attr('class')=='frs-slideshow-nav-bullets frs-bullets-active'&&li_index>0) 109{if(li_class=='frs-bullet-sliding-back') 110{li_index--} 111else if(li_class=='frs-bullet-sliding-next') 112{li_index++}} 113sbullets.children('li').eq(li_index).removeClass('frs-bullet-sliding-one-back') 114sbullets.children('li').eq(li_index).removeClass('frs-bullet-sliding-one-next') 115sbullets.children('li').eq(li_index).addClass(li_class)}} 116function slide_bullet_one(type) 117{var oneMove=0;sbullets.children('li').removeClass('frs-bullet-sliding-one-back').removeClass('frs-bullet-sliding-one-next');if(type=='back') 118{sbullets.children('li').eq(bulletsNextChild-1).addClass('frs-bullet-sliding-one-next');oneMove=bulletsMovedWidth-bulletsOffsetWidth;} 119else 120{sbullets.children('li').eq(bulletsBackChild+1).addClass('frs-bullet-sliding-one-back');oneMove=bulletsMovedWidth+bulletsOffsetWidth;} 121bulletsMovedWidth=oneMove;if(css3support()) 122{var properties={};properties['-'+vendorPrefix+'-transition-duration']=options.animationSpeed+'ms';properties['-'+vendorPrefix+'-transform']='translate3d(-'+oneMove+'px, 0, 0)';sbullets.css(properties);} 123else 124{sbullets.animate({"left":'-'+oneMove+'px'},options.animationSpeed);}} 125function setActiveBullet(){if(!options.bullets){return false;}else{bullets.children('li').removeClass('frs-bullets-active').eq(activeSlide).addClass('frs-bullets-active');if(options.sbullets) 126{if(bullets.children('li.frs-bullets-active').hasClass('frs-bullet-sliding-next')) 127{if(bullets.children('li.frs-bullets-active').index()==(numberSlides-1)) 128{slide_bullet('last');} 129else 130{slide_bullet('next');}} 131else if(bullets.children('li.frs-bullets-active').hasClass('frs-bullet-sliding-back')) 132{if(bullets.children('li.frs-bullets-active').index()>0) 133{slide_bullet('back');} 134else 135{slide_bullet('first');}} 136else if(bullets.children('li.frs-bullets-active').hasClass('frs-bullet-sliding-one-next')) 137{slide_bullet_one('next')} 138else if(bullets.children('li.frs-bullets-active').hasClass('frs-bullet-sliding-one-back')) 139{slide_bullet_one('back')} 140else 141{if(bulletsMaxShowedIndex>0) 142{if(bullets.children('li.frs-bullets-active').index()==0) 143{slide_bullet('first');} 144else if(bullets.children('li.frs-bullets-active').index()==(numberSlides-1)) 145{slide_bullet('last');}}}}}} 146function set_caption_position() 147{caption_position=slides.eq(activeSlide).find('div.frs-caption');if(caption_position.length) 148{caption_position=caption_position.attr('class').replace('frs-caption ','');} 149else 150{caption_position="undefined";} 151frsWrapper.find('div.frs-bullets-wrapper').attr('class','frs-bullets-wrapper '+caption_position);frsWrapper.find('div.frs-slider-nav').attr('class','frs-slider-nav '+caption_position);} 152function shift(direction) 153{var prevActiveSlide=activeSlide,slideDirection=direction;if(prevActiveSlide==slideDirection){return false;} 154function resetAndUnlock(){if(options.continousSliding) 155{slides.eq(prevActiveSlide).css({"z-index":1});} 156frs_slider_unlock();options.afterSlideChange.call(this);} 157if(slides.length=="1"){return false;} 158if(!locked){frs_slider_lock();if(direction=="next"){activeSlide++ 159activeSlideContinous++ 160if(activeSlide==numberSlides){activeSlide=0;}}else if(direction=="prev"){activeSlide-- 161activeSlideContinous-- 162if(activeSlide<0){activeSlide=numberSlides-1;}}else{activeSlide=direction;if(prevActiveSlide<activeSlide){slideDirection="next";}else if(prevActiveSlide>activeSlide){slideDirection="prev"}} 163setActiveBullet();if(options.continousSliding) 164{slides.eq(prevActiveSlide).css({"z-index":2});} 165if(options.heightResize==true){$(slides).parent('.frs-slideshow-content').animate({'height':frsHeight},options.animationSpeed)}
166if(options.animation=="horizontal-slide") 167{if(options.continousSliding) 168{var cssWidth=slideDirection=="next"?frsWidth:-frsWidth;var aniWidth=slideDirection=="next"?-frsWidth:frsWidth;if(css3support()) 169{slides.eq(activeSlide).css({"left":cssWidth,"z-index":3}).animate({"left":0},options.animationSpeed,resetAndUnlock);slides.eq(prevActiveSlide).animate({"left":aniWidth},options.animationSpeed);} 170else 171{slides.eq(activeSlide).css({"left":cssWidth,"z-index":3}).animate({"left":0},options.animationSpeed,resetAndUnlock);slides.eq(prevActiveSlide).animate({"left":aniWidth},options.animationSpeed);}} 172else 173{var slide_action=frsWidth*activeSlide<numberSlides*frsWidth?'-'+frsWidth*activeSlide:0;if(css3support()) 174{var properties={};properties['-'+vendorPrefix+'-transition-duration']=options.animationSpeed+'ms';properties['-'+vendorPrefix+'-transform']='translate3d('+slide_action+'px, 0, 0)';slides.parent().css(properties);resetAndUnlock();} 175else 176{slides.parent().animate({"left":slide_action+'px'},options.animationSpeed,resetAndUnlock);}}} 177if(options.animation=="vertical-slide") 178{var slide_action=frsHeight*activeSlide<numberSlides*frsHeight?'-'+frsHeight*activeSlide:0;if(options.continousSliding) 179{if(slideDirection=="prev"){if(css3support()) 180{var properties={};properties['-'+vendorPrefix+'-transition-duration']=options.animationSpeed+'ms';properties['-'+vendorPrefix+'-transform']='translate3d(0, '+slide_action+'px, 0)';slides.parent().css(properties);resetAndUnlock();} 181else 182{slides.eq(activeSlide).css({"top":frsHeight,"z-index":3}).animate({"top":0},options.animationSpeed,resetAndUnlock);}} 183if(slideDirection=="next"){if(css3support()) 184{var properties={};properties['-'+vendorPrefix+'-transition-duration']=options.animationSpeed+'ms';properties['-'+vendorPrefix+'-transform']='translate3d(0, '+slide_action+'px, 0)';slides.parent().css(properties);resetAndUnlock();} 185else 186{slides.eq(activeSlide).css({"top":-frsHeight,"z-index":3}).animate({"top":0},options.animationSpeed,resetAndUnlock);}}} 187else 188{if(css3support()) 189{var properties={};properties['-'+vendorPrefix+'-transition-duration']=options.animationSpeed+'ms';properties['-'+vendorPrefix+'-transform']='translate3d(0, '+slide_action+'px, 0)';slides.parent().css(properties);resetAndUnlock();} 190else 191{slides.parent().animate({"top":slide_action+'px'},options.animationSpeed,resetAndUnlock);}}} 192if(options.animation=="fade") 193{if(css3support()) 194{slides.eq(activeSlide).css({'z-index':2});var properties={};properties['opacity']=0;properties['-'+vendorPrefix+'-transition']='all '+options.animationSpeed+'ms ease';slides.eq(prevActiveSlide).css(properties);clearTimeout(timeout);timeout=setTimeout(function(){slides.eq(activeSlide).css({'z-index':3});var properties={};properties['opacity']=1;properties['z-index']=1;properties['-'+vendorPrefix+'-transition']='';slides.eq(prevActiveSlide).css(properties);},options.animationSpeed-(options.animationSpeed*20/100));resetAndUnlock();} 195else 196{slides.eq(activeSlide).css({"opacity":0,"z-index":3}).animate({"opacity":1,},options.animationSpeed,resetAndUnlock);}} 197set_caption_position();}} 198set_caption_position();$(window).bind('resize.frs-slideshow-container',function(event,force){calculateHeightWidth();slides.width(frsWidth);slides.height(frsHeight);frs.css({'height':frsHeight+'px'});frsWrapper.parent().css({'height':frsHeight+'px'});if(!options.continousSliding) 199{if(options.animation=="horizontal-slide") 200{slideWrapper.css({'width':frsWidth*numberSlides+'px'});var slide_action=frsWidth*activeSlide<numberSlides*frsWidth?'-'+frsWidth*activeSlide:0;if(css3support()) 201{var properties={};properties['-'+vendorPrefix+'-transform']='translate3d('+slide_action+'px, 0, 0)';slides.parent().css(properties);} 202else 203{slides.parent().animate({"left":slide_action+'px'});}} 204else if(options.animation=="vertical-slide") 205{slideWrapper.css({'height':frsHeight*numberSlides+'px'});var slide_action=frsHeight*activeSlide<numberSlides*frsHeight?'-'+frsHeight*activeSlide:0;var properties={};properties['-'+vendorPrefix+'-transform']='translate3d(0, '+slide_action+'px, 0)';slides.parent().css(properties);} 206if(options.sbullets) 207{generate_slide_bullet();slide_bullet('first');shift(0);}} 208if(370<=frsWidth&&frsWidth<=499){doResponsiveClassStart('frs-responsive-mobile-medium')} 209else if(369>=frsWidth){doResponsiveClassStart('frs-responsive-mobile-small')} 210else{doResponsiveClassStart('frs-responsive-full')}});function doResponsiveClassStart(responsiveClass){if(first_run) 211{first_run=false 212frsWrapper.attr('class','frs-wrapper '+options.skinClass) 213frsWrapper.addClass(responsiveClass) 214return} 215if(old_responsive_class==responsiveClass)return 216old_responsive_class=responsiveClass 217frsWrapper.children('.frs-slideshow-content').css('background-image','');slideWrapper.hide() 218setTimeout(function(){frsWrapper.attr('class','frs-wrapper '+options.skinClass) 219frsWrapper.addClass(responsiveClass) 220slideWrapper.css('display','block') 221frsWrapper.children('.frs-slideshow-content').css('background-image','none');},1000);}});}})(jQuery);
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.