Possible Duplicate:
Jquery: how to sleep or delay?
var main = $('#main_content');
main.append("<img id=\"throbber\" src='/pre_config/css/images/throbber.gif' alt='Loading. Please wait.' />");
sleep(3000);
$("#main_content").load("/pre_config/function.php?type="+type+"piz&count=1", successCallback );
I want to sleep for 3 seconds here
sleep is not defined
[Break on this error] sleep(3000);
func2