//  Copyright 2009 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 101 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;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++){testChar=testZero.charAt(i);if(i==0&&testChar=="-"&&testValue!="-"){msg="Please enter a positive number.";noErrors=false;break;}else{temp=parseFloat(testChar);if(isNaN(temp)&&testValue=="."){msg="Please enter a number.";noErrors=false;break;}else{if(isNaN(temp)&&testChar!="."){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==29.7)||(whichQuestion==2&&stringEntered==157.76)||(whichQuestion==3&&stringEntered==619.2)||(whichQuestion==3&&stringEntered==619.20)||(whichQuestion==4&&stringEntered==33.108)||(whichQuestion==5&&stringEntered==464.01)){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();}function x13248(msg){window.status=msg;return true;}function x1155295267049924(){if(tempWindow&&!tempWindow.closed){tempWindow.close();tempWindow=false;return tempWindow;}}function x1096653(Def){if(Def=="estimate"){msg="An <strong>estimate</strong> is an approximate or rough calculation.";}else{if(Def=="decimal_digits"){msg="All digits to the right of the decimal point, that name the fractional part of the number, are "+"<strong>decimal digits</strong>.";}else{if(Def=="powers"){msg="The <STRONG>power</STRONG> of a number indicates how many times that number is multiplied by itself. ";msg+="The numbers 1, 10, 100, 1,000, 10,000, 100,000,... are each powers of 10.";}else{if(Def=="partial_products"){msg="<STRONG>Partial products</STRONG> are used as intermediate steps in ";msg+="calculating larger products. For example, the product of 67 and 12 ";msg+="can be calculated as the sum of two partial products, 134 (67 × 2) ";msg+="+ 670 (67 × 10), or 804.";}}}}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=220,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();}//









