Hashtable.prototype.hash=null;Hashtable.prototype.keys=null;Hashtable.prototype.location=null;function Hashtable(){this.hash=new Array();this.keys=new Array();this.location=0}Hashtable.prototype.put=function(C,D){if(D==null){return }if(this.hash[C]==null){this.keys[this.keys.length]=C}this.hash[C]=D};Hashtable.prototype.get=function(B){return this.hash[B]};Hashtable.prototype.remove=function(D){for(var C=0;C<this.keys.length;C++){if(D==this.keys[C]){this.hash[this.keys[C]]=null;this.keys.splice(C,1);return }}};Hashtable.prototype.size=function(){return this.keys.length};Hashtable.prototype.populateItems=function(){};Hashtable.prototype.next=function(){if(++this.location<this.keys.length){return true}else{return false}};Hashtable.prototype.moveFirst=function(){try{this.location=-1}catch(B){}};Hashtable.prototype.moveLast=function(){try{this.location=this.keys.length-1}catch(B){}};Hashtable.prototype.getKey=function(){try{return this.keys[this.location]}catch(B){return null}};Hashtable.prototype.getValue=function(){try{return this.hash[this.keys[this.location]]}catch(B){return null}};Hashtable.prototype.getKeyOfValue=function(D){for(var C=0;C<this.keys.length;C++){if(this.hash[this.keys[C]]==D){return this.keys[C]}}return null};Hashtable.prototype.toString=function(){try{var G=new Array(this.keys.length);G[G.length]="{";for(var H=0;H<this.keys.length;H++){G[G.length]=this.keys[H];G[G.length]="=";var E=this.hash[this.keys[H]];if(E){G[G.length]=E.toString()}else{G[G.length]="null"}if(H!=this.keys.length-1){G[G.length]=", "}}}catch(F){}finally{G[G.length]="}"}return G.join("")};Hashtable.prototype.add=function(D){try{D.moveFirst();while(D.next()){var F=D.getKey();this.hash[F]=D.getValue();if(this.get(F)!=null){this.keys[this.keys.length]=F}}}catch(E){}finally{return this}};
