Can someone quickly and simply explain to me how to perform an action every couple of seconds using
var timeOut = setTimeout(FunctionName, 5000);
Use setInterval:
setInterval
var timeOut = setInterval(nextNotice, 5000);