abs(Dif.red) >= abs(Dif.grn)) ?
abs(Dif.red) : abs(Dif.grn)
bigDif = (bigDif >= abs(Dif.blu)) ?
bigDif : abs(Dif.blu)
var sTeps = bigDif / speed
// Increm is a bit of a phopar,
// could be a decrement
var rIncrem = Dif.red / sTeps
var gIncrem = Dif.grn / sTeps
var bIncrem = Dif.blu / sTeps
var RR, GG, BB
for(i = 1; i < sTeps; i++)
RR = DectoHex(Old.red += rIncrem)
GG = DectoHex(Old.grn += gIncrem)
BB = DectoHex(Old.blu += bIncrem)
obj.bgColor = "#" + RR + GG + BB
if (fgToo)
RR = DectoHex((Old.red + 128 < 255) ?
Old.red + 128 : Old.red - 127)
GG = DectoHex((Old.grn
|