Where L1 is shown in the junction box, install the SPST timer. As such, the timer will cycle the fan circuit off without regard for the position of the Hi/Lo switch. The only word of caution is that you should ensure the rating of the timer contacts is equal to or greater than those of the Hi/Lo switch, otherwise all of the electrical smoke will leak out of the timer and it won't work any more.
