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