function ClassTrackerGA(obj) {
	
	this.enabled = true;
	this.debugging = false;
	this.arrTrackingCodes = new Array();
	
	this.init = function(obj) {
		
		if(obj.enabled === false) this.enabled = false;
		if(obj.debugging === true) this.debugging = true;
		
		for(var i = obj.arrTrackingCodes.length; i--;) {
			this.arrTrackingCodes.push(obj.arrTrackingCodes[i]);
		}
		
		this.track();
		
	}
	
	this.track = function(value) {
		
		if(value == undefined || value == null) value = "";
		if(this.debugging) alert("[TrackerGA] " + value);
		
		if(!this.enabled) return;
		
		try {
			for(var i = this.arrTrackingCodes.length; i--;) {
				var tr = _gat._getTracker(this.arrTrackingCodes[i]);
				//tr._initData();
				tr._trackPageview(value);
			}
		} catch(e) { }
		
	}
	
	if(obj) this.init(obj);
	
}

// To instance the class use:
// TrackerGA = new ClassTrackerGA({ arrTrackingCodes:["code1", ..., "codeN"], enabled:false, debbuging:true });
