$('#menubox').html(''); var target = document.getElementById('menubox'); var mnspinner = new Spinner(spnopts).spin(target); $('#menubox').load('http://www.celticartstudio.com/common/multi/subnav.php',{ 'prefix' : 'celticart', 'q' : 'page%3Dsymbol%26family%3Df%26category%3DSYMBOLS%26display%3D73', 'c_only' : '', 'increment' : '12', 'displaylimit' : '1', 'thepath' : 'local', 'menu_images' : 'yes', 'from_limit' : '0', 'orderby' : 'family asc, category asc, featured desc, display_order asc, title asc, date desc ', 'display_restrictions' : '' }, function(){ mnspinner.stop(); convert2slash('#menubox a:not(.noslash)'); });