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