function jokes()
{
var joke=window.confirm("Click 'OK' only if you are an adult wishing to read dirty jokes..")
if (joke==true)
{parent.location.href="../jokes/jokes.htm";}
else
{}
}
//---------------------------------
function newWindow()
{
window.open ('http://www.travelfurther.net/cgi-bin/hangman.1.3.4.pl','hanged','toolbar=yes,resizable=yes,scrollbars=yes,status=yes,width=750,height=630')
};
//-----------------------------------------------

function newmail()
{
window.open ('http://www.travelfurther.net/dates/enquiry.asp','newmail','toolbar=yes,resizable=yes,scrollbars=yes,status=yes,width=750,height=630')
};


function Hotel()
{
men=window.confirm("Are you sure you have actually tried to figure out the answer?")
if (men==true)
{parent.location.href="hotelansa.htm";}
else{}
}
//---------------------------------------------------
function fsquad()
{
m=window.confirm("Are you sure you have really tried to figure out the answer and not just going for the quick answer???? Click OK if you're truly stumped or Cancel if you should try to tax your brain a bit more!")
if (m==true)
{parent.location.href="fsquadansa.htm";}
else
{}
}
//=================================================

function CheckIt()
{
var guess=(document.guessit.ansa.value);
if (guess<=13)
 {
   alert("You've got to be joking! Try again, you're very cold...");
 }

if ((guess>13) && (guess<=30))
 {
   alert ("You're getting warmer, but keep trying!");
 }

if ((guess>30) && (guess<=38))
  {
  alert ("You are warm now, getting really warm -- a few more.");
  }
if ((guess>38) && (guess<=55))
  {
  alert ("Congrats! You're in the ballpark, we'll let you see the answer...");
  parent.location.href='ididthis.htm';
  }
if ((guess>55) && (guess<=60))
 {
  alert ("A bit too many...");
 }
if (guess > 60)
 {
 alert ("You're soooooo cold. You just did a wild guess didn't you? Let's try a more sensible number..");
}
};
//----------------------------------------------------------
function CheckIt2()
{
var guess1=(document.guessit2.ansa2.value);
if (guess1 <=10)
 {
   alert("You've got to be joking! Try again, you're very cold...");
 }

if ((guess1 >10) && (guess1 <=20))
 {
   alert ("You're getting warmer, but keep trying!");
 }

if ((guess1 >20) && (guess1 <=29))
  {
  alert ("You are warm now, getting really warm -- a few more.");
  }
if ((guess1 >29) && (guess1 <=40))
  {
  alert ("Congrats! You're in the ballpark, we'll let you see the answer...");
  parent.location.href='ididthis2.htm';
  }
if (guess1 > 40)
 {
 alert ("You just did a wild guess didn't you? Let's try a more sensible number..");
}
};

//---------------------------------------------------------
function MindReader()
{
alert ("Think of a number between 1 and 10 and remember it as your original number..");
alert ("Now multiply this number by 2...");
alert ("Now add 8 to this new number...");
alert ("Ok - got that? Now divide the newest number by 2..");
alert ("Just about done... Now take away (that's minus) your ORIGINAL number from this newest number...");
alert ("Now take this new number and convert it to a corresponding letter of the alphabet. For example, if your number was 2, then the corresponding letter is 'B' ... Got it?");
alert ("Now take whatever letter you have just got and think of a European country that begins with it. [If it was 'N' you could think of Norway for example.]");
alert ("Ok...last set now.. Remember that letter of the alphabet you just coverted? Now I want you to think of the next letter that comes AFTER whatever that was.. Got it.. Finally, with that new letter in mind I want you to simply think of an animal that begins with that letter");

jj=window.confirm("Alright - Have you got that? Are you sure? Click 'OK' to see what you're thinking...")
if (jj==true)
{parent.location.href="illusionansa.htm";}
else
{}
}
