JavaLikeCalc.JavaScript
if(f_start) {
	toFastCalc = toFastCalc_ = false;
	trnd_trcPer = max(1, (this.calcPer()==-2)?10:this.calcPer()/1000);
}

toFastCalc = false;

text_arg0val = name;
text_arg1val = var;
trnd_prm0addr = addr;
if(focus)	bordColor = (bordColor != "silver") ? "silver" : "gray", toFastCalc = true;
else bordColor = "gray";

if(toFastCalc != toFastCalc_)	{ toFastCalc_ = toFastCalc; this.calcPer(toFastCalc?500:-3); }