Crews

Joss Gomez

Born on : Not Specified

Biography
No Content Available

Subscribe to our mailing list

  

";var isIE9=checkIE.getElementsByTagName("i").length===1;if(isIEmax8||isIE9){compatibility=true;_flipItemsOuter.addClass("compatibility");}buildNav();buildNavButtons();if(settings.start&&_flipItems.length>1){if(settings.start==='center'){if(!_flipItems.length%2){_current=_flipItems.length/2+1;}else{_current=Math.floor(_flipItems.length/2);}}else{_current=settings.start;}}resize();_flipster.hide().css("visibility","visible").fadeIn(400,function(){center();});win.on("resize.flipster",function(){resize();center();});_flipItems.on("click",function(e){if(!$(this).hasClass("flip-current")){e.preventDefault();}jump(_flipItems.index(this));});if(settings.enableKeyboard&&_flipItems.length>1){win.on("keydown.flipster",function(e){_actionThrottle++;if(_actionThrottle%7!==0&&_actionThrottle!==1)return;var code=e.which;if(code===37){e.preventDefault();jump('left');}else if(code===39){e.preventDefault();jump('right');}});win.on("keyup.flipster",function(e){_actionThrottle=0;});}if(settings.enableMousewheel&&_flipItems.length>1){_flipster.on("mousewheel.flipster",function(e){_throttleTimeout=window.setTimeout(removeThrottle,500);_actionThrottle++;if(_actionThrottle%4!==0&&_actionThrottle!==1)return;window.clearTimeout(_throttleTimeout);if(e.originalEvent.wheelDelta/120>0){jump("left");}else{jump("right");}e.preventDefault();});}if(settings.enableTouch&&_flipItems.length>1){_flipster.on("touchstart.flipster",function(e){_startTouchX=e.originalEvent.targetTouches[0].screenX;});_flipster.on("touchmove.flipster",function(e){e.preventDefault();var nowX=e.originalEvent.targetTouches[0].screenX;var touchDiff=nowX-_startTouchX;if(touchDiff>_flipItems[0].clientWidth/1.75){jump("left");_startTouchX=nowX;}else if(touchDiff<-1*(_flipItems[0].clientWidth/1.75)){jump("right");_startTouchX=nowX;}});_flipster.on("touchend.flipster",function(e){_startTouchX=0;});}}if(!_flipster.hasClass("flipster-active")){init();}});};})(jQuery); //]]>-->