//  Copyright 1999-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 70 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=="choice2")||(whichQuestion==2)&&(form.entry[optionChosen].value=="choice1")||(whichQuestion==3)&&(form.entry[optionChosen].value=="choice3")||(whichQuestion==4)&&(form.entry[optionChosen].value=="choice2")||(whichQuestion==5)&&(form.entry[optionChosen].value=="choice1")){form.result.value="Correct!";}else{choice=optionChosen+1;form.result.value="Choice "+choice+" is incorrect.  Please try again.";}}function x05844(msg){window.status=msg;return true;}function x1324826050681797(){if(tempWindow&&!tempWindow.closed){tempWindow.close();tempWindow=false;return tempWindow;}}function x1155295(Def){if(Def=="conditional"){msg="The "+"<STRONG>conditional probability</STRONG>"+" of an event B in ";msg+="relationship to an event A is the probability that event B occurs given ";msg+="that event A has already occurred.  The notation for conditional probability is ";msg+="P(B|A), read as <I>the probability of B given A</I>.";}else{if(Def=="answer"){msg="To get the conditional probability, divide the overlap of the two circles ";msg+="by the circle on the left.<BR>";msg+="P(B|A) = P(A and B) divided by P(A).";}}return msg;}function x1096653463(definition){passDef=definition;x1155295(passDef);var newTags="<HTML><HEAD><TITLE>Definition Window</TITLE></HEAD>";newTags+="<BODY BGCOLOR='#FFFFFF'>";if(passDef!="answer"){newTags+="<H3>Definition Window</H3>";}else{newTags+="<H3>Answer Window</H3>";}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=200,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();}//





