n=$counter
mathview=0
inputs=0
questiontype=4
math=0
!if $level=0
    R=$counter
!else
    R=$level
!endif

showToolBar=true
showMenuBar=false                                                                                             
framePossible=false
# 6 | 10 | 15 | 2 | 3 | 4 | 16 | 40 "
ggb=ggb/nogrid.ggb
!if $R=1
    checkfile=exos/checkfile2.proc
    list_of_things=['circle','point','line']; 
    customToolBar=" 0 | 1 | 2 | 10 | 34 | 40 | 6 | 41 | 42 "
    ss=!record 89 of lang/remarks.$taal
    #@Gegeven lijnstuk AB<br>Construeer een punt C op dit lijnstuk<br>precies in het midden van AB.<br>waar dus geldt <em>d<sub>AC</sub>=d<sub>BC</sub></em>
    question$n=$ss
    answer$n=5,2,0,1,1,1
    # 5 punten,2 cirkel,0 polygon,1 lijn,type=1,check=1
    plaatje=T1.jpg
    helptext=$empty
    textanswer$n=<img src=$module_dir/gifs/$plaatje width="345">
    xa=!randitem 0,-1,-2,-3,-4,-5
    ya=!randitem 0,1,2,3,4,5
    xb=!randitem 5,6,7,8,9,10
    r=!randitem 1,2,3,-1,-2,-3
    yb=$[$ya+($r)]
    # nooit vertikale loodlijn
    var1=$[(($xa)+($xb))/2]
    var2=$[(($ya)+($yb))/2]
    appletcommand=document.applets[0].evalCommand("Aa_x=$xa");\
    document.applets[0].evalCommand("Aa_y=$ya");\
    document.applets[0].evalCommand("Bb_x=$xb");\
    document.applets[0].evalCommand("Bb_y=$yb");\
    document.applets[0].evalCommand("A = (Aa_x,Aa_y)");\
    document.applets[0].evalCommand("B = (Bb_x,Bb_y)");\
    document.applets[0].evalCommand("s1 = Segment[A,B]");
!endif
!if $R>1
    plaatje=T2.jpg
    list_of_things=['circle','point','line']; 
    checkfile=exos/checkfile14.proc
    customToolBar=" 0 | 2 | 40 | 6 | 41 | 42 "
    !if $teaching=1
	thales=<p align="center"><h3>Thales</h3></p>
    !else
	thales=&nbsp;
    !endif
    r=!randitem 1,2,3,4,5
    answer$n=4,1,0,3,4
    # 4 punten 3 cirkel 0 polygon 3 lijn type=4
    x=0
    y=0
    d=$[($x - $r)^2 + ($y - $r)^2] 
    var1=(x - $r)^2 + (y - $r)^2 - $d
    var2=$r
    ss=!record 90 of lang/remarks.$taal
    #@$thales Gegeven is de cirkel <b>C</b> met Centrum M<br>Construeer een rechthoekige driehoek,<br>waarvan alle drie punten op C liggen.<small>Laat alle hulplijnen in de tekening staan !</small>    
    question$n=$ss
    appletcommand=document.applets[0].evalCommand("Mc_x=$r");\
    document.applets[0].evalCommand("Mc_y=$r");\
    document.applets[0].evalCommand("M = (Mc_x,Mc_y)");\
    document.applets[0].evalCommand("C: (x - Mc_x)^2 + (y - Mc_y)^2 = $d");\
    document.applets[0].setColor('C',255,0,0);
!endif
textanswer$n=<img src=$module_dir/gifs/$plaatje width="640"> 
!if $teaching=1
    exotext=!record 16 of lang/remarks.$taal
    #@ <font color=blue>klik</font></a> hier voor wat info
    exotext=<a onclick='window.open("$module_dir/gifs/$plaatje"," ","width=345,height=280,left=0,top=0")'>$exotext
!else
    exotext=$empty
!endif
