//  Copyright 1998-2006 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/


var msg="";var tempWindow;var newTags;function x08226313(whichSelected){var index=0;for(i=0;i<whichSelected.length;i++){if(whichSelected[i].checked){return i;}}return 0;}function x0653090547(form,whichQuestion){var optionChosen=x08226313(form.entry);if((whichQuestion==1)&&(form.entry[optionChosen].value=="Choice 3")||(whichQuestion==2)&&(form.entry[optionChosen].value=="Choice 2")||(whichQuestion==3)&&(form.entry[optionChosen].value=="Choice 3")||(whichQuestion==4)&&(form.entry[optionChosen].value=="Choice 1")||(whichQuestion==5)&&(form.entry[optionChosen].value=="Choice 2")){form.result.value="Correct!";}else{form.result.value=form[optionChosen].value+" is incorrect.  Please try again.";}}function x05844(msg){window.status=msg;return true;}var secondWindow;var msg="";function x1324826050681797(){if(tempWindow&&!tempWindow.closed){tempWindow.close();tempWindow=false;return tempWindow;}}function x1155295(Def){if(Def=="factors"){msg="The <STRONG>factors</STRONG> of a number are those numbers that divide exactly into the number.";}else{if(Def=="remainder"){msg="A"+" <STRONG>remainder</STRONG> is the quantity left over after a division.";}}return msg;}function x1096653463(definition){passDef=definition;x1155295(passDef);var newTags="<HTML><HEAD><TITLE>Definition Window</TITLE></HEAD>";newTags+="<BODY BGCOLOR='#FFFFFF'>";newTags+="<H2>Definition</H2>";newTags+=msg+"<P>";newTags+="<form><input TYPE='button' value='close window' name='closeup' onClick='opener.x1324826050681797()'></form>";newTags+="</BODY></HTML>";if(!tempWindow||tempWindow.closed){tempWindow=window.open("temp.html","tempWindow","toolbar=no,width=500,height=170,directories=no,status=no,scrollbars=yes,resize=yes,menubar=no");if(!tempWindow.opener){tempWindow.opener=window;}x282602267(newTags);}else{x282602267(newTags);}}function x282602267(content){getContent=content;setTimeout("x282602267",1000);tempWindow.document.write(getContent);tempWindow.document.close();tempWindow.focus();}//-->

