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