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