[jQuery] Process get variables to add a class

[jQuery] Process get variables to add a class

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=031535611-25042007><FONT face=Arial
size=2>hello!</FONT></SPAN></DIV>
<DIV><SPAN class=031535611-25042007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031535611-25042007><FONT face=Arial size=2>I would like to add
a "selected" class to one of the menu items - to visually tell the user where
s/he is on the site - i usually do this via php with dynamic
website, but here the menu is a static external html file. So i would
like to do it via jquery, but i'm puzzled as to how to retrieve the current
page's url variables in javascript .</FONT></SPAN></DIV>
<DIV><SPAN class=031535611-25042007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031535611-25042007><FONT face=Arial size=2>Could someone
explain me how to do that?</FONT></SPAN></DIV>
<DIV><SPAN class=031535611-25042007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031535611-25042007><FONT face=Arial size=2>thank
you!</FONT></SPAN></DIV>
<DIV><SPAN class=031535611-25042007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031535611-25042007><FONT face=Arial
size=2>Alex</FONT></SPAN></DIV></BODY></HTML>
<BR>
<P><FONT SIZE=2>Ce message Envoi est certifié sans virus connu.<BR>
Analyse effectuée par AVG.<BR>
Version: 7.5.465 / Base de données virus: 269.6.0/775 - Date: 24/04/2007 17:43<BR>
</FONT> </P>