grab query string using javascript
<p>i have a the following url</p>

<p><a href="http://www.test.com/index.html?num1=123&amp;num2=321" rel="nofollow">http://www.test.com/index.html?num1=123&amp;num2=321</a></p>

<p>Now i want to grab the values of num1 and num2 using javascript</p>
