//  Copyright 2000-2004 Gisele Glosser.  All Rights Reserved.
//
//  Our interactive math lessons are shareware.  You may use our free demo lessons
//  on mathgoodies.com only.  You may NOT download nor save them.  You can purchase
//  a license to use all 81 of our lessons off line by visiting:
//  http://www.mathgoodies.com/cd/


function x08226313(form,whichQuestion){var msg;var noErrors=true;var testValue=form.entry.value;var testChar="";var testZero="";var i=0;var temp="false";if(testValue==""||testValue==null){msg="Please enter a number in the ANSWER BOX before clicking ENTER.";noErrors=false;}else{testZero=testValue.toString();for(i=0;i<testZero.length;i++){if(isNaN(testZero)){msg="Please enter a number.";noErrors=false;break;}}}if(noErrors){x0653090547(form,whichQuestion);}else{alert(msg);form.entry.focus();form.entry.select();}}function x0653090547(form,whichQuestion){var stringEntered=form.entry.value;if((whichQuestion==1&&stringEntered=="9")||(whichQuestion==1&&stringEntered=="9.0")||(whichQuestion==2&&stringEntered=="3.3")||(whichQuestion==3&&stringEntered=="89")||(whichQuestion==3&&stringEntered=="89.0")||(whichQuestion==4&&stringEntered=="13.78")||(whichQuestion==5&&stringEntered=="12")||(whichQuestion==5&&stringEntered=="12.0")||(whichQuestion==6&&stringEntered=="810")||(whichQuestion==6&&stringEntered=="810.0")||(whichQuestion==7&&stringEntered=="39")||(whichQuestion==7&&stringEntered=="39.0")||(whichQuestion==8&&stringEntered=="0")||(whichQuestion==9&&stringEntered=="82")||(whichQuestion==9&&stringEntered=="82.0")||(whichQuestion==10&&stringEntered=="19")||(whichQuestion==10&&stringEntered=="19.0")){form.result.value="Correct!";}else{form.result.value="Incorrect.  Please press CLEAR and try again.";}form.entry.focus();form.entry.select();}function x05844687(form){form.entry.value="";form.entry.focus();form.entry.select();}//





