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