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