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