/*
  Implémentation de Request.Querystring[p_Param]
  Reproduction de la classe Request de Microsoft.
*/

function fRequest() {
  this.Querystring = this.fQuerystring();
  this.URL = window.location.href;
}
    
fRequest.prototype.fQuerystring = function() {
  var qs = new Array();
  if ( window.location.href.indexOf("?") > 0 ) {
    var p = window.location.href.split("?")[1].split("&");
    for( i = 0; i < p.length; i++ ) {
      qs[p[i].split("=")[0]] = p[i].split("=")[1];
    }
  }
  return qs;
}
    
var Request = new fRequest();