function Fadomatic (element, rate, initialOpacity, minOpacity, maxOpacity)