$(document).ready(function(){		
	    $("span[class=mainlevel]").each(function (i) {			
			$(this).html('<a href="'+ $(this).attr( 'title' ) +'" class="mainlevel" >' + $(this).html() + '</a>');
			$(this).attr( 'title','' ) ;
		});		
});
 	

	  
	  


