you could have an accessor for these values.
here is a funky solution!

LOL
<html>
<head>
<title>get parameters and make them JS variables</title>
<script>
var paramKeys = new Array();
var paramValues = new Array();
function getParams()
{
var text = location.href
var hasParams = (text.indexOf("?"

!= -1)
var params = (hasParams) ? unescape(text.substring(text.indexOf('?')+1, text.length-1)) : "" ;
var couples = params.split("&"

;
for (var idx = 0; idx < couples.length; idx++)
{
var couple = couples[idx].split("="

;
paramKeys.push(couple[0]);
paramValues.push(couple[1]);
}
}
</script>
</head>
<body onload="getParams()">
</body>
</html>
Hope this helps. Gary
Haran