$('#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%3Dbio%26family%3Df%26category%3DPrivate_Booking_Reviews%26display%3D4512', 'c_only' : '', 'increment' : '12', 'displaylimit' : '1', 'thepath' : 'common', 'menu_images' : 'yes', 'from_limit' : '0', 'orderby' : ' display_order asc, updated asc ', 'display_restrictions' : '' }, function(){ mnspinner.stop(); convert2slash('#menubox a:not(.noslash)'); });