[jQuery] append help

[jQuery] append help

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18813"></HEAD>
<BODY>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=447385216-05082009>I want to
add .loading class before an element (#admin_content)</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=447385216-05082009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=447385216-05082009>so when a
user clicks on a link it add the loading class before the #admin_content DIV but
just can figure out to add the <div
class="loading"></div></SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=447385216-05082009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=447385216-05082009>I do not
want to load the pages up with loading div tags all over the
site.</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=447385216-05082009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=447385216-05082009>$('a.admin_nav').click(function(){<BR> var url =
$(this).attr('href');<BR> $('#admin_content').fadeOut('fast',
function(){</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=447385216-05082009>// want to
add the loading step here<BR>  $('#admin_content').load(url,
function(){</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=447385216-05082009>//want to
remove the loading
class<BR>   $('#admin_content').fadeIn('fast');<BR>   });<BR>  });<BR> return
false;<BR> });</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=447385216-05082009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=447385216-05082009>Can someone
point me in the right direction?</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV align=left><FONT size=2 face=Arial>Dave </FONT></DIV></BODY></HTML>