Here's the structure of my Javascript:

this.setTimer
call function 1 checking
var controller = this
switch
case 1 - call change Tab Border color function
case 2 - call change Tab Border font color function

change Tab Border color function
if this.id = null
then do nothing
else
change Tab Border color

change Tab Border font color function
if this.id = null
then do nothing
else
change Tab Border font color

*Tab Borders
setting all variables identifying their id in HTML and calling function with 500 milliseconds

*Tab Border font color
setting all variable identifying their id in HTML and calling function with 500 milliseconds

PROBLEM
My problem is that I need a way to handle screen resizing or refreshing. When a user changes the size from 100% to 75% the Javascript does not run again.

The windows.onresize does not work because this is in a separate application that doesn't recognize the browser refresh, rather the screen resizes within the application. It will recognize all javascript commands however but because this functionality is housed with the application, within the browser, the browser doesn't see the refresh.

I need some type of loop that will check and verify the border color and border font color at various intervals so that I don't have to rely on the windows.resize event.

Thanks in advance for any help regarding this problem.

Kind regards, Drew