(function(b){b.fn.quotator=function(d){var a=this;a.find("div.quote p");a.find("div.author p");d=b.extend({speed:5E3,json:"quotator_quotes.js"},d);b.getJSON(d.json,function(h){function i(){var f=b.browser.msie&&b.browser.version=="8.0"?a.find("*"):a;f.fadeTo(400,0,function(){g();f.fadeTo(400,1)});if(c==e.length-1)c=0;else c++}function g(){a.html('<div class="quote"><p>'+e[c].quote+'</p></div><div class="author"><p>'+e[c].author+"</p></div>")}var e=eval(h.quotes),c=0;setInterval(i,d.speed);g()});return a}})(jQuery);