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