//  Copyright 1998-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/

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==254.34)||(whichQuestion==2&&stringEntered==113.04)||(whichQuestion==3&&stringEntered==50.24)||(whichQuestion==4&&stringEntered==1)||(whichQuestion==5&&stringEntered==314)){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=="circle"){msg="<TABLE BORDER=0 CELLPADDING=4 CELLSPACING=2 width=90%><TR><TD>";msg+="A <STRONG>circle</STRONG> is a shape with all points the same distance from its center.  It is named by its center. ";msg+="The circle to the right is called circle A since its center is at point A.";msg+="</TD><TD>";msg+="<IMG SRC='images/tab.gif' width=10 height=1>";msg+="<IMG SRC='images/pointa_small.gif' WIDTH=62 HEIGHT=62 ALT='[IMAGE]' BORDER=0>";msg+="</TD></TR></TABLE>";}else{if(Def=="pi"){msg="If you measure the distance around a circle and divide it by the ";msg+="distance across the circle through the center, you will always come ";msg+="close to a particular value, depending upon the accuracy of your ";msg+="measurement. This value is approximately 3.14159265358979323846... ";msg+="We use the Greek letter (pronounced Pi) to represent this value. ";msg+="The number Pi goes on forever.";}else{if(Def=="radius"){msg="The <STRONG>radius</STRONG> of a circle is the distance ";msg+="from the center of a circle to a point on the circle. ";msg+="If you place two radii end-to-end in a circle, you would ";msg+="have the same length as one diameter.  (Note: radii is ";msg+="the plural of radius.)";}}}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=250,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();}//

