SET @mindealy = 1 -- Minimum time before appears in seconds SET @maxdelay = 2 -- Maximum time before appears in seconds