$(document).ready(function() {							   
	 $.fn.wait = function(time, type) {
	        time = time || 1000;
	        type = type || "fx";
	        return this.queue(type, function() {
	            var self = this;
	            setTimeout(function() {
	                $(self).dequeue();
	            }, time);
	        });
	    };
	    
	    $("#banner").cycle('fade');
//	    var i=1;
//	    
//		$("#banner img").each(
//			function(index) {
//				//alert(index);
//				$(this).next().wait(3000*i++).fadeIn(1000,function(){$()});
//				$(this).wait(3000*i).fadeOut(1000,function(){});				
//			}
//		);
});

