$('#loading').delay(500).fadeOut(500);