I'm trying to retrieve a url variable can anyone help me?


<script type="text/javascript">


var x = [];

x[1] = ["9.99","african_kente_buy.php"];
x[2] = ["9.99","african_love.php"];
x[3] = ["9.99","too.php"];
x[4] = ["14.99","jon_f.php"];
x[5] = ["14.99","jon_fab.php"];
x[6] = ["9.99","ceo.php"];
x[7] = ["9.99","click.php"];
x[8] = ["9.99","jesus.php"];
x[9] = ["14.99","fabio.php"];
x[10] = ["9.99","live.php"];

var rands = uniqueRandomArray(10,1);

for(i=0;i<3;i++){
document.write("<div class='sug'><a href='"+x[rand[i]][1]+"'><img border='0' style='position:absolute; padding-bottom:3px; clip:rect(0px,80px,80px,0px)' src='sug_img/Picture_"+rands[i]+".png'></a><div style='position:absolute;top:80px;width:95%;text-align:right'>"+x[rand[i]][0]+"</div></div>");
}

</script>