JavaLikeCalc.JavaScript
if(f_start)	toFastCalc = toFastCalc_ = false;

toFastCalc = false;

if(focus) c1 = (c1 == "#d3d3d3") ? "#00ddff" : "#d3d3d3", toFastCalc = true;
else c1 = "#d3d3d3";

p1y = p2y = 90 - (out.isEVal()?0:55*max(0,min(100,out))/100);

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