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