/**
 * Holds a single hash key and function to call with given data.
 */
function HashReflex ( aHashKey, aFunction, aContext )
{
	this.myKey		= aHashKey;
	this.myContext  = aContext;
	this.myFunction = aFunction;	
	this.myCurrent	= ""; 
	this.myOld		= "";
}

HashReflex.prototype.getKey 		= function() { return this.myKey; };
HashReflex.prototype.getCurrent 	= function() { return this.myCurrent; };
HashReflex.prototype.getOld 		= function() { return this.myOld; };

HashReflex.prototype.setCurrent 	= function( aValue ) { this.myCurrent 	= aValue; };
HashReflex.prototype.setOld 		= function( aValue ) { this.myOld 		= aValue; };

HashReflex.prototype.execute		= function() { var myArray = new Array(); myArray.push(this.myCurrent); this.myFunction.apply( this.myContext, myArray ); };
