	dojox.charting.scaler = function(min, max, span, kwArgs){		var h = {fixUpper: "none", fixLower: "none", natural: false};		if(kwArgs){			if("fixUpper" in kwArgs){ h.fixUpper = String(kwArgs.fixUpper); }			if("fixLower" in kwArgs){ h.fixLower = String(kwArgs.fixLower); }			if("natural"  in kwArgs){ h.natural  = Boolean(kwArgs.natural); }		}				var mag = Math.floor(Math.log(max - min) / Math.LN10),			major = kwArgs && ("majorTick" in kwArgs) ? kwArgs.majorTick : Math.pow(10, mag), 			minor = 0, micro = 0, ticks;					// calculate minor ticks		if(kwArgs && ("minorTick" in kwArgs)){			minor = kwArgs.minorTick;		}else{			do{				minor = major / 10;				if(!h.natural || minor > 0.9){					ticks = calcTicks(min, max, h, major, minor, 0, span);					if(ticks.scale * ticks.minor.tick > deltaLimit){ break; }				}				minor = major / 5;				if(!h.natural || minor > 0.9){					ticks = calcTicks(min, max, h, major, minor, 0, span);					if(ticks.scale * ticks.minor.tick > deltaLimit){ break; }				}				minor = major / 2;				if(!h.natural || minor > 0.9){					ticks = calcTicks(min, max, h, major, minor, 0, span);					if(ticks.scale * ticks.minor.tick > deltaLimit){ break; }				}				return calcTicks(min, max, h, major, 0, 0, span);	// Object			}while(false);		}					// calculate micro ticks		if(kwArgs && ("microTick" in kwArgs)){			micro = kwArgs.microTick;			ticks = calcTicks(min, max, h, major, minor, micro, span);		}else{			do{				micro = minor / 10;				if(!h.natural || micro > 0.9){					ticks = calcTicks(min, max, h, major, minor, micro, span);					if(ticks.scale * ticks.micro.tick > deltaLimit){ break; }				}				micro = minor / 5;				if(!h.natural || micro > 0.9){					ticks = calcTicks(min, max, h, major, minor, micro, span);					if(ticks.scale * ticks.micro.tick > deltaLimit){ break; }				}				micro = minor / 2;				if(!h.natural || micro > 0.9){					ticks = calcTicks(min, max, h, major, minor, micro, span);					if(ticks.scale * ticks.micro.tick > deltaLimit){ break; }				}				micro = 0;			}while(false);		}		return micro ? ticks : calcTicks(min, max, h, major, minor, 0, span);	// Object	};
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/3e753e17d282a6a4675acbe570ad81c05528c73a/scaler.js/clean/charting/scaler.js