PROCEDURE  spSetInsideMask

Update the insideMask value in Photo tables

@mode=0 -- run on the TaskDB @mode>0 -- run it on the whole PubDB, also update PhotoTag

Input and output parameters

nametypelengthinoutpnum
@taskidint4input1
@stepidint4input2
@modeint4input3