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