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