$('#menubox').html(''); var target = document.getElementById('menubox'); var mnspinner = new Spinner(spnopts).spin(target); $('#menubox').load('http://www.giltrap.co.uk/common/multi/subnav.php',{ 'prefix' : 'giltrap', 'q' : 'page%3Dgallery%26family%3Df%26category%3DShining_Morn_Tour_T-dot-Wells_1st_May_2010', 'c_only' : '1', 'increment' : '35', 'displaylimit' : '35', 'thepath' : 'common', 'menu_images' : 'yes', 'from_limit' : '0', 'orderby' : 'display_order asc, featured desc, updated desc, id asc', 'display_restrictions' : '' }, function(){ mnspinner.stop(); convert2slash('#menubox a:not(.noslash)'); });