// add some styling divs to the generated menus
// the following code requires jQuery
$(document).ready(function() {
	$('#main-menu ul').wrap('<div />');
	$('#main-menu li a').not("ul ul li a").html(function(index, txt) {
	  return '<span>' + txt + '</span>';
	});
});
