if(actualCode == 39) { window.location = 'viewthread.php?tid=36985&page=2'; } } }