change the interval in periodically_call_remote

I'd like to make a div that updates itself. That div will contain a timer. If there is an hour left, I'd like to refresh it every 10 minutes, but if the time has only one minute left, I'd like to have it call the server every second.

If the periodically_call_remote is inside the div, will it be replaced when the div is updated?

If not, is there a way to remove or update the periodically_call_remote? I don't see a way to assign it a handle for updating its internals.

Thanks for any help, Dino