getURLparams W/ "Pretty URLs"

Permalink
Hi All:

Does anyone know how to edit the following code to read parameters passed in concrete5's "Pretty URLs"? Where it will read parameters after a "/"?

function getURLparams() {
   var vars = {};
   var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {vars[key] = value;});
   return vars;
}


Any help would be greatly appreciated.

Thanks,
Keith G

MavenMedia