var Request = new function() { // proporties this.key = new Array(); this.value = new Array(); this.getKey = function(index) { return this.key[index]; } this.setKey = function(index,key) { this.key[index] = key; } this.getValue = function(index) { return this.value[index]; } this.setValue = function(index,value) { this.value[index] = value; } this.getSize = function() { if (this.key.length!==this.value.length) { alert("Error in Request.js, function getSize(), differences found in the length\r\nlength of this.key.length="+this.key.length+"\r\nlength of this.value.length="+this.value.length); } return this.key.length; } this.getParameter = function(key) { var value = ''; for (var i=0;i