  /**
   * jQuery.diaporing - Easy diaporing with fade process.
   * Copyright (c) 2010/11 Olivier Bolender- olivier(at)bolender(dot)org | http://weboa.org
   * Dual licensed under MIT and GPL.
   * Date: 01/07/2011
   * @author Olivier Bolender
   * @version 0.1.4
   *
   * http://wiki.weboa.org/index.php/JQuery/diaporing
   */
(function(a){a.fn.diaporing=function(e){var uniqId=a(this).attr("id");var version="0.1.4";var j=e.zindex?e.zindex:0;$("#"+uniqId+"").css({"width":e.width,"height":e.height,"overflow":"hidden","position":"relative"});function h(){if(b==f)var g=1;if(b<f)g=b+1;if(b>f){b=1;g=b+1}var c="#f8fc8c66e701ef03562ee4f44efd00d7_"+uniqId+"_"+b,i="#f8fc8c66e701ef03562ee4f44efd00d7_"+uniqId+"_"+g;a(c).fadeTo(0,1,function(){a(this).css({"z-index":j+2});a(i).fadeTo(0,1).css({"z-index":j+1}).show();a(c).fadeTo(e.fadespeed,
0,function(){a(this).hide()})});b++}a(this).attr("id");var d=0,b=1,f=0;e=a.extend({speed:1E3,fadespeed:500},e);current=a(this).find("img");if(current.length){a.each(current,function(g,c){d++;a(c).attr({id:"f8fc8c66e701ef03562ee4f44efd00d7_"+uniqId+"_"+d});a(c).css({position:"absolute",top:0,left:0,"z-index":-d});d>1&&a(c).css({display:"none"})});f=d;setInterval(h,e.speed)}}})(jQuery);
