/**
 * Copyright ©2011 OSD Consulting ApS. All Rights Reserved.
 */
(function(d){d.fn.osdExposer=function(g){var e={delay:5E3},a=this.children("div.pane"),b=-1,c=-1,f=function(){c=b;b=(b+1)%a.length;c<0?setTimeout(function(){f()},e.delay):(a.eq(c).css("z-index",-100),a.eq(b).css("z-index",100).animate({opacity:"toggle",height:"toggle"},500,"swing",function(){a.eq(c).animate({opacity:"toggle",height:"toggle"},0);setTimeout(function(){f()},e.delay)}))};g&&d.extend(e,g);a.eq(0).css("z-index",100).animate({opacity:1},0);a.slice(1,a.length).each(function(){d(this).css("z-index",
-100).animate({opacity:"toggle",height:"toggle"},0)});f()}})(jQuery);

