Maybe something like this on a timer? 

http://stackoverflow.com/questions/12984556/switchtothiswindow