// Fade swapper var FadeSwap = Class.create(); Object.extend(Object.extend(FadeSwap.prototype, AC.ContentSwap.prototype), { cs1IsAnimating: false, cs2IsAnimating: false, lastSelectorIndex: false, initialize: function(selectors, contents, eventStr) { this.title = document.title; this.eventStr = eventStr; // get lists of selectors and content in order this.selectorList = selectors; this.contentList = contents; for (var i=0; i