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