/*! ResponsiveSlides.js v1.04. (c) 2011 Viljami Salminen. MIT License. http://responsive-slides.viljamis.com */ (function ($, window) { $.fn.responsiveSlides = function (opts) { // Settings var settings = { 'speed' : 4000, 'fade' : 1000, 'auto' : true, 'maxwidth' : 'none', 'namespace' : 'rs' }, parseF = parseFloat; /* for minification */ return this.each(function () { var $this = $(this); if (opts) { $.extend(settings, opts); } var $slide = $this.find('img'), hasTouch = 'ontouchstart' in window, startEvent = hasTouch ? 'touchstart' : 'mousedown', namespace = settings.namespace, activeClass = namespace + '_here', visibleClass = namespace + '_on', slideClassPrefix = namespace + '_s', tabsClass = namespace + '_tabs', $pagination = $('