function Change(){

	/*Change - acts as a translation to jquery
	/*Accepted parameters
	/*_spr: (send it the actual id of the object  - INCLUDE #)
	/*_propStr:  options width, height, alpha, left
	/*_timeNum: millisecond duration of transition (optional!)
	/*_newValNum: Value to change _spr._propStr to
	/*_delayNum: Optional - millisecond delay before transition begins.
	/*
	/*example: Common.change({_spr:'#infoboxReason'+idStr, _propStr:'width', _newValNum:'0', _timeNum:'500'})	
	/*
	*/
	this.change = function (obj) {
		if(obj._delayNum && !obj._count && obj._delayNum > 0){
			obj._count=true;
			setTimeout("Change.change({_spr:'"+obj._spr+"', _propStr:'"+obj._propStr+"', _newValNum:'"+obj._newValNum+"', _timeNum:'"+obj._timeNum+"'})", obj._delayNum);
			return;
		};
		
		obj = this.setDefaultValues(obj);
		
		//get the change object based on the propStr
		var changeObj = this.getChangeObject(obj);

		//make the call!
		$(obj._spr).animate(
			changeObj, 
			obj._timeNum, 
			function() {
				Change.changeSuccess(obj);
			}
		);
		
	};
	
	// ------------------------------------------------------------------------------------------
	// success method
	// ------------------------------------------------------------------------------------------	
	this.changeSuccess = function(obj) {
		//Common.tracer("Change.changeSuccess");
		
		//fix ie opacity
		if(obj._propStr == "alpha") {
			$(obj._spr).css("filter", "none");
		}
		
		if(obj._successObj) Common.executeEvent(obj._successObj);			
	};
	
	// ------------------------------------------------------------------------------------------
	// DEFAULT VALUES
	// ------------------------------------------------------------------------------------------	
	this.setDefaultValues = function(obj) {
		
		if(obj._timeNum == undefined) obj._timeNum = Global._configObj._timeNum;
		
		return obj;
	};
	// ------------------------------------------------------------------------------------------
	// CREATE THE CHANGE OBJECT TO PASS TO ANIMATE METHOD
	// ------------------------------------------------------------------------------------------
	this.getChangeObject = function(obj) {
		//Common.tracer("Change.getChangeObject");
		var propStr = this.translatePropStr(obj);
		
		//create the change object
		var changeObj = {};
		changeObj[propStr] = obj._newValNum;
		
		return changeObj;
	};
	
	this.translatePropStr = function(obj) {
		var propStr = obj._propStr;
		
		//translate the propStrs from Common standard ones to jquery default ones
		switch(propStr) {
			case "alpha":
				propStr = "opacity";
			break;
		}
		
		return propStr;
	};

}

var Change = new Change();
