I have:
Code:
(function( $ ){

    $.fn.fade = function(options) {
        var settings = {
            'speed': 5000            
        }
        if ( options ) {
            $.extend( settings, options );
        }
        
        var tickerIndex = 0;
        var tickerRef = this;
        function fadeOut() {
            var ticker = tickerRef.children().eq(tickerIndex);
            ticker.css("display", "block");
            //document.getElementById("ticker0").childNodes[tickerIndex].style.removeAttribute("filter");
            ticker.css('filter','none');
            //var node = document.getElementById(settings.id).childNodes[i];
            //node.style.removeAttribute("filter");

            ticker.fadeOut(settings.speed, function () {
                //$(this).css('filter','');
                
                //var node = document.getElementById(this).childNodes[i];
                //node.style.removeAttribute("filter");
                //document.getElementById("ticker0").style.removeAttribute("filter");
                ticker.css("display", "none");
                tickerIndex++;
                
                if (tickerIndex == tickerRef.children().length) {
                    tickerIndex = 0;
                }				
                fadeOut();
            });
        };		
		fadeOut();		        
    };
	
})( jQuery );
I want to change fadeOut() to setTimeout('fadeOut()', 10000) but it says fadeOut() is undefined. How should I call it?

Thanks!