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