
			jQuery.fn.fadeCycle = function(delay) {
			    var args = arguments[0] || {};
				
				var finish = function(delay){
					return function(){
						reel = $(this).parent();
						var current = reel.find(">.current").toggleClass("current");
						if(current.next("*").toggleClass("current").length === 0)
						{
							reel.find(">*:first-child").toggleClass("current");
							reel.find(">*").show();
						}
			            reel.fadeCycle(delay);
					};
				};
				
				var current = this.find(".current");
				if(current.length === 0){
					this.find(">*:first-child").addClass("current");
					current = this.find(".current");
				}	
				var next = current.next("*");
				
			    if (next.length === 0 ) {
					next = this.find(">*:first-child");
			        next.delay(delay)
						.fadeIn("slow", 
							finish(delay)
						);
			    } else {
			        current.delay(delay)
						.fadeOut("slow", 
							finish(delay)
						);
			    }
			};
			
			$(window).ready(function(){
				var spool = $("#spool");
				var index = 0; 
				$("#spool>*").each(function(){
					var lt = 100 - index;
					this.style.zIndex = ""+lt;
					index++;
				});
				
				spool.delay(3200).fadeCycle(3200);
			});
