');
document.write('');
if (ImageNum == "j") {
StatusMessage = 'JavaScript Hangman: Game Over. **** Press the "Reset Game" button to play again. ****';
writeHeader();
document.write('You Lost! Death took the Halliwells! Answer: "'+RandomWord+'"'); } else if (RandomWord == DisplayWord) { StatusMessage = 'JavaScript Hangman: Game Over. **** Press the "Reset Game" button to play again. ****'; writeHeader(); document.write('You Win! The witches are safe! '); } else { StatusMessage = 'JavaScript Hangman'; writeHeader(); document.write(' Select one of these available letters:'); document.write('
'); document.write(''); document.write(DisplayWord); document.write(''); document.write(' | |
'); document.write(''); document.write(' |
|