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