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