if(isNaN(scale)){ scale = 1; } 
if(!isFinite(scale)){ scale = 1; } 
	var calcTicks = function(min, max, kwArgs, majorTick, minorTick, microTick, span){		kwArgs = dojo.clone(kwArgs);		if(!majorTick){			if(kwArgs.fixUpper == "major"){ kwArgs.fixUpper = "minor"; }			if(kwArgs.fixLower == "major"){ kwArgs.fixLower = "minor"; }		}		if(!minorTick){			if(kwArgs.fixUpper == "minor"){ kwArgs.fixUpper = "micro"; }			if(kwArgs.fixLower == "minor"){ kwArgs.fixLower = "micro"; }		}		if(!microTick){			if(kwArgs.fixUpper == "micro"){ kwArgs.fixUpper = "none"; }			if(kwArgs.fixLower == "micro"){ kwArgs.fixLower = "none"; }		}		var lowerBound = isText(kwArgs.fixLower, ["major"]) ? 				Math.floor(min / majorTick) * majorTick :					isText(kwArgs.fixLower, ["minor"]) ? 						Math.floor(min / minorTick) * minorTick :							isText(kwArgs.fixLower, ["micro"]) ?								Math.floor(min / microTick) * unit : min,			upperBound = isText(kwArgs.fixUpper, ["major"]) ? 				Math.ceil(max / majorTick) * majorTick :					isText(kwArgs.fixUpper, ["minor"]) ? 						Math.ceil(max / minorTick) * minorTick :							isText(kwArgs.fixUpper, ["unit"]) ?								Math.ceil(max / unit) * unit : max,			majorStart = (isText(kwArgs.fixLower, ["major"]) || !majorTick) ?				lowerBound : Math.ceil(lowerBound / majorTick) * majorTick,			minorStart = (isText(kwArgs.fixLower, ["major", "minor"]) || !minorTick) ?				lowerBound : Math.ceil(lowerBound / minorTick) * minorTick,			microStart = (isText(kwArgs.fixLower, ["major", "minor", "micro"]) || ! microTick) ?				lowerBound : Math.ceil(lowerBound / microTick) * microTick,			majorCount = !majorTick ? 0 : (isText(kwArgs.fixUpper, ["major"]) ?				Math.round((upperBound - majorStart) / majorTick) :				Math.floor((upperBound - majorStart) / majorTick)) + 1,			minorCount = !minorTick ? 0 : (isText(kwArgs.fixUpper, ["major", "minor"]) ?				Math.round((upperBound - minorStart) / minorTick) :				Math.floor((upperBound - minorStart) / minorTick)) + 1,			microCount = !microTick ? 0 : (isText(kwArgs.fixUpper, ["major", "minor", "micro"]) ?				Math.round((upperBound - microStart) / microTick) :				Math.floor((upperBound - microStart) / microTick)) + 1,			minorPerMajor  = minorTick ? Math.round(majorTick / minorTick) : 0,			microPerMinor  = microTick ? Math.round(minorTick / microTick) : 0,			majorPrecision = majorTick ? Math.floor(Math.log(majorTick) / Math.LN10) : 0,			minorPrecision = minorTick ? Math.floor(Math.log(minorTick) / Math.LN10) : 0,			scale = span / (upperBound - lowerBound);		if(isNaN(scale)){ scale = 1; }		return {			bounds: {				lower:	lowerBound,				upper:	upperBound			},			major: {				tick:	majorTick,				start:	majorStart,				count:	majorCount,				prec:	majorPrecision			},			minor: {				tick:	minorTick,				start:	minorStart,				count:	minorCount,				prec:	minorPrecision			},			micro: {				tick:	microTick,				start:	microStart,				count:	microCount,				prec:	0			},			minorPerMajor:	minorPerMajor,			microPerMinor:	microPerMinor,			scale:			scale		};	};
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/f37366d28f03eaec6fb09949341c379731a28e49/scaler.js/clean/charting/scaler.js