Make your own free website on Tripod.com
"); topframe.document.writeln("
"); topframe.document.writeln("
"); topframe.document.writeln("Would you like to hear a joke?
\ \;
"); topframe.document.writeln("\ \;\ \;"); topframe.document.writeln(""); topframe.document.writeln("
"); topframe.document.writeln("
"); topframe.document.writeln(""); topframe.document.close(); } function FirstJokeYesOrNo(YesOrNo) { if(YesOrNo == "yes") { BlondeOrLawyer(); } else { topframe.document.open(); topframe.document.writeln(""); topframe.document.writeln("
"); topframe.document.writeln("
"); topframe.document.writeln("Are you sure? Because a couple of them are really kinda funny :-\)
\ \;
"); topframe.document.writeln("
\ \;
"); topframe.document.writeln(""); topframe.document.writeln("
"); topframe.document.writeln("
"); topframe.document.writeln(""); topframe.document.close(); } } function SecondJokeYesOrNo(YesOrNo) { if(YesOrNo == "yes") { topframe.document.open(); topframe.document.writeln(""); topframe.document.writeln("
"); topframe.document.writeln("
"); topframe.document.writeln("Bye-bye!"); topframe.document.writeln("
"); topframe.document.writeln("
"); topframe.document.writeln(""); topframe.document.close(); closedelay = setTimeout("window.close()",800); } else { BlondeOrLawyer(); } } function BlondeOrLawyer() { topframe.document.open(); topframe.document.writeln(""); topframe.document.writeln("
"); topframe.document.writeln("
"); topframe.document.writeln("I wanna hear...
\ \;
"); topframe.document.writeln("A random blonde joke
"); topframe.document.writeln("A random lawyer joke
"); topframe.document.writeln("
"); topframe.document.writeln("
"); topframe.document.writeln(""); topframe.document.close(); } function TellJoke(whichJoke) { if(whichJoke == "blonde") { currentJokeNumber = getRandom(numberOfBlondeJokes)-1; currentJokeQ = blondeJokesQ[currentJokeNumber]; currentJokeA = blondeJokesA[currentJokeNumber]; } if(whichJoke == "lawyer") { currentJokeNumber = getRandom(numberOfLawyerJokes)-1; currentJokeQ = lawyerJokesQ[currentJokeNumber]; currentJokeA = lawyerJokesA[currentJokeNumber]; } displayQuestion(); } function displayQuestion() { topframe.document.open(); topframe.document.writeln(""); topframe.document.writeln("
"); topframe.document.writeln("
"); topframe.document.writeln(currentJokeQ + "
\ \;
"); topframe.document.writeln(""); topframe.document.writeln("
"); topframe.document.writeln("
"); topframe.document.writeln(""); topframe.document.close(); } function displayAnswerPart1() { topframe.document.open(); topframe.document.writeln(""); topframe.document.writeln("
"); topframe.document.writeln("\ \;

" + currentJokeA + "
\ \;"); againdelay = setTimeout("displayAnswerPart2()",2000); } function displayAnswerPart2() { topframe.document.writeln("


You wanna hear another one?
"); topframe.document.writeln("\ \;\ \;\ \;"); topframe.document.writeln(""); topframe.document.writeln("
"); topframe.document.writeln(""); topframe.document.close(); } //-->