docs: function getUrlParameter(sPageURL) {
      var url = sPageURL.split('?');
      var obj = {};
      if (url.length == 2) {
        var sURLVariables = url[1].split('&'),
            sParameterName,
            i;
        for (i = 0; i < sURLVariables.length; i++) {
            sParameterName = sURLVariables[i].split('=');
            obj[sParameterName[0]] = sParameterName[1];
        }
        return obj;
      } else {
        return undefined;
      }
  }