<!--
function howMany(){
if ((isQuest1()) && (isQuest2()) && (isQuest3())){           
win()
return false
		}
		else{return false}
}

function isQuest1(){
var question1 = document.forms[0].elements[0].value; 
if (question1 == ""){      

		alert("\nOpps, you forgot to enter an answer for the number of Oriental roaches.")      

		document.forms[0].elements[0].focus();      

		return false;      

	}   

if (question1 !=9){
alert("\nOpps, try again."); 
return false;
}
return true;
}


function isQuest2(){
var question2 = document.forms[0].elements[1].value; 

if (question2 == ""){      

		alert("\nOpps, you forgot to enter an answer for the number of German roaches.")      

		document.forms[0].elements[1].focus();      

		return false;      

	}   

if (question2 != 9){
alert("\nOpps, try again."); 
return false;
}
return true;
}


function isQuest3(){
var question3 = document.forms[0].elements[2].value; 

if (question3 == ""){      

		alert("\nOpps, you forgot to enter an answer for the number of American roaches.")      

		document.forms[0].elements[2].focus();      

		return false;      

	}   

if (question3 != 11){
alert("\nOpps, try again."); 
return false;
}
return true;
}


function win() {
var Launch1=window.open("../winner/won.htm","portfolio_win",'width=340,height=340,left=250,directories=no,status=yes,location=no,toolbar=no,scrollbars=no,resize=no,menubar=no,copyhistory=no');
  //Launch1.creator = top.self;
}


function theAnswers(){
msg='Having some trouble?\n\nHere are the answers:\nOriental roaches:      9\nGerman roaches:      9\nAmerican roaches:  11\n\nTry recounting!';
alert(msg)
}


// -->