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