I have the following code:
jQuery(document).ready(function() { setTimeout($(\'#loading\').fadeIn(\'slow\'), 9999); });
The settimeout() function is from javascript and takes a function as an argument.
Best choice would be to use jQuery's builtin delay() function:
jQuery(document).ready(function() { $('#loading').delay(9999).fadeIn('slow'); });
More information/exemples: http://api.jquery.com/delay/