The code in article has been corrected, 7th May 2009.
GetKeys will return the keys used to set the context in a handy to use string like this:
But in some circumstances you may not want to get hold of the whole context string but you may want to get hold of an individual variable that has been passed in the querystring. For example you may just want the SID.
The function below allows you to get the value of an individual variables and can be added to the custom content.
var strPath = window.location.search.substring(1);
var arrayKeys = strPath.split("&");
for (var i=0;i<arrayKeys.length;i++)
var arrayValue = arrayKeys[i].split("=");
if (arrayValue.toLowerCase()== querystringname.toLowerCase())