//  Copyright 1998-2005 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(form,whichQuestion){var msg;var noErrors=true;var testValue=form.entry.value;if(testValue==""||testValue==null){msg="Please enter a number in the ANSWER BOX before clicking ENTER.";noErrors=false;}else{var tempVal=parseInt(testValue);var tempStr=tempVal.toString();if(testValue!=tempStr||tempVal<=0){msg="Please enter a whole number greater than zero.";noErrors=false;}}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==90)||(whichQuestion==2&&stringEntered==42)||(whichQuestion==3&&stringEntered==90)||(whichQuestion==4&&stringEntered==72)||(whichQuestion==5&&stringEntered==70)){form.result.value="Correct!";}else{form.result.value="Incorrect.  Please press CLEAR and try again.";}form.entry.focus();form.entry.select();}function x05844(msg){window.status=msg;return true;}function x13248260(form){form.entry.value="";form.entry.focus();form.entry.select();}function x1155295267049924(){if(tempWindow&&!tempWindow.closed){tempWindow.close();tempWindow=false;return tempWindow;}}function x1096653(Def){if(Def=="whole_number"){msg="<STRONG>Whole numbers</STRONG>"+" start at zero and go up by one forever.<BR>";msg+="The set of whole numbers is {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ...}.";}else{if(Def=="counting_number"){msg="<STRONG>Counting numbers</STRONG>"+" are whole numbers greater than zero.<BR>";msg+="The set of counting numbers is {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ...}";}}return msg;}function x2826022670(definition){passDef=definition;x1096653(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.x1155295267049924()'></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;}x265748087(newTags);}else{x265748087(newTags);}}function x265748087(content){getContent=content;setTimeout("x265748087",1000);tempWindow.document.write(getContent);tempWindow.document.close();tempWindow.focus();}function x249884908368081(){var d=document;if(d.images){if(!d.MM_p)d.MM_p=new Array();var i,j=d.MM_p.length,a=x249884908368081.arguments;for(i=0;i<a.length;i++)if(a[i].indexOf("#")!=0){d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}}}function x3329217299047035(){var i,x,a=document.MM_sr;for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)x.src=x.oSrc;}function x316967549(n,d){var p,i,x;if(!d)d=document;if((p=n.indexOf("?"))>0&&parent.frames.length){d=parent.frames[n.substring(p+1)].document;n=n.substring(0,p);}if(!(x=d[n])&&d.all)x=d.all[n];for(i=0;!x&&i<d.forms.length;i++)x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++)x=x316967549(n,d.layers[i].document);if(!x&&d.getElementById)x=d.getElementById(n);return x;}function x39900446037(){var i,j=0,x,a=x39900446037.arguments;document.MM_sr=new Array;for(i=0;i<(a.length-2);i+=3)if((x=x316967549(a[i]))!=null){document.MM_sr[j++]=x;if(!x.oSrc)x.oSrc=x.src;x.src=a[i+2];}}//





