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