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