That has to be done client-side. I.e. JavaScript.
In reply to Re: Hide/Show another application window by Biker in thread Hide/Show another application window by Anonymous Monk