1 2 3 4
if mode=ljfour: input graylj; elseif mode=cx: input graycx; elseif mode=aps: input grayaps; fi