var _local = (location.protocol != 'http:')
var _debug = _local // overrulen voor test
var _euclid = false
var firsttime_cookie = true
var firsttime_window = true
var _klapper = new Array ;
var _hinter = new Array ;
var _hinterG = ''
var applet = 'window_applet'
var _nxt = '<img src="next.gif" class="nextimg" alt="" width="100%">'
var _prv = '<img src="prev.gif" class="nextimg" alt="" width="100%">'
var _nxtt = '.htm" title="volgende bladzijde" accesskey="n">&nbsp;&nbsp;' +_nxt + '&nbsp;&nbsp;</a>'
var _prvt = '.htm" title="vorige bladzijde" accesskey="p">&nbsp;&nbsp;' + _prv + '&nbsp;&nbsp;</a>'
var _upr = '<img src="up.gif"   class="nextimg" alt="" width="100%">'
var _dwn = '<img src="down.gif" class="nextimg" alt="" width="100%">'
var _wop = 'top=0,left=0,scrollbars=yes,resizable=yes,menubar=yes,toolbar=yes,status=yes'
var _opt = 'width=600,height=400,status=yes,resizable=yes,scrollbars=yes,toolbar=no,menubar=yes' ;
var _ovg = 'open een vergroting van deze afbeelding in een apart venster'
var _idc = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">'
var _fiuu = 'http://www.fi.uu.nl/~hietb101/'
var _myWin
var _test = true
var _i
var _ggb_ctb = '<param name="customToolBar" value="0 | 40 | 41 | 42">'

var _myConfirm = true // until cancel
function Confirm( _str ) 
{ if (_myConfirm==true)
    { _myConfirm=confirm(_str)}
}
var _myAlert = true // only once
function MyAlert(_str)
{ if (_myAlert==true)
    { alert(_str);_myAlert=false}
}

function checkTitle( _href , _that )
{ var _tht = _that.toLowerCase()
if (location.pathname.indexOf(_tht) > 0)
  { return 0 }
else
  { return _href.indexOf(_tht) }
}

function wop()
{
if (firsttime_window)
{
var _w = screen.width  - 25
var _h = screen.height - 200
_wop += ',width='+ _w+',height='+ _h
firsttime_window = false
} 
return _wop
}

function mouseover()
{ window.setTimeout(mouseovex, 2) }
function mouseovex()
{ window.status='' }
document.onmouseover = mouseover;

function img_show(tha)
{ return popup(tha.src,'klik_img')}

function popupp(mylink)
{ if (typeof(mylink) == 'string')
    { var _href = mylink }
  else
    { var _href = mylink.href }
  var _pdf = _href.replace(".htm#",".pdf")
  return popup(_pdf,'print') 
}

var _klikt ='klik op de afbeelding om in- en uit te zoomen: ware groote, schermhoogte, schermbreedte, dubbele grootte, etc.'
function popupt(_t)
{ try {
try { _myWin.close() }
catch (e) { }
var _f = _t.toString().replace("_sml.",".")
_myWin=window.open('','afbeelding',_wop);
_myWin.document.write(_idc + '<HTML><HEAD><TITLE>Vergroting: '+ _klikt + '</TITLE><link rel="stylesheet" type="text/css" href="default.css"><script src="image.js" type="text/javascript"></script></HEAD><BODY><p id="klik" class="geel noprint">'+ _klikt + '</p><img id="afb" src="' + _f + '" alt="" onclick="return _resize()"><p class="geel noprint"><br>'+ _klikt + '</p></BODY></HTML>')
_myWin.document.close();
_myWin.focus()
} catch(e) { window.status = "Error in popupt" ; (_debug ? Confirm(window.status +' '+ e) : false) }
}


function popupl(mylink)
{ return popup(mylink,'popupl') }
function popupd(mylink)
{ var _dc = readCookie("docent")
  return (_dc.length > 0 ? popup(mylink,'popupd') : false ) }
function popupc(mylink)
{ try
 { try { _myWin.close() }
   catch (e) { }
   _myWin=window.open('','popupd',wop())
   _myWin.document.open();
   _myWin.document.write( _idc + '<HTML><HEAD><TITLE>Constructie</TITLE><link rel="stylesheet" type="text/css" href="default.css">' +
     '<script src="common.js" type="text/javascript"></script></HEAD><BODY onload="route()"><p>&nbsp;</p><IFRAME id="cx_frame" class="leerling" src="' + mylink + '" frameborder=0 ></IFRAME><p>&nbsp;</p></BODY></HTML>' );
   _myWin.document.close();
   _myWin.focus()
   return false
} catch(e) { window.status = "Error in popupc" ; (_debug ? Confirm(window.status +' '+ e) : false) }
}
function popup_Cals(a,b,c)
{ try {
var _cl = readCookie("cals")
if (_cl.length > 0) //  && location.protocol == 'http:')
  startSWF(a,b,c) ;
else
{ var _rp = prompt( "Geef je wachtwoord" , "")
  if (_rp.toLowerCase() == String.fromCharCode(99,97,108,115))
    { createCookie("cals", _rp, 1) ; startSWF(a,b,c)} }
} catch(e) { window.status = (_test ? 'Error in popup_Cals: ' + e : '') }
return false 
}

function GeogebraEdit()
{ try {
var _cl = readCookie("cals")
if (_cl.length <= 0) 
{ var _rp = prompt( "Geef je wachtwoord" , "")
  if (_rp.toLowerCase() == String.fromCharCode(99,97,108,115))
    { createCookie("cals", _rp, 1) }
  else
    { return false } }
var re = new RegExp('value="false"','gi')
// var x = document.body.innerHTML
var x = document.getElementById('copy').alt.replace(re,'value="true"').replace("noprint","leerling") + '</body></html>'
document.open()
document.write(x)
document.close()
} catch(e) { window.status = (_test ? 'Error in GeogebraEdit: ' + e : '') }
}

function popup_clark(_i,_j)
{ var _t = 'http://aleph0.clarku.edu/~djoyce/java/elements/book' + _i + '/prop' + _i + _j + '.html'
  return popup(_t,'clark') }


function popupb(mylink)
{ try
 { try { _myWin.close() }
   catch (e) { }
   _myWin=window.open('','popupd',wop())
   _myWin.document.open();
   _myWin.document.write( _idc + '<HTML><HEAD><TITLE>Boek</TITLE><link rel="stylesheet" type="text/css" href="default.css"><script src="common.js" type="text/javascript"></script></HEAD><BODY onload="route('+mylink+')"><p>&nbsp;</p>' ) 
   var _args = popupb.arguments.length
   var _i
   for(_i=1;_i < _args; _i++ )
     { _myWin.document.write( '<p></p><IFRAME id="tt_frame_'+ _i +'" class="leerling" src="' + popupb.arguments[_i] + '" frameborder=0 ></IFRAME>' ) }
   _myWin.document.write( '<p class="printimg"><img id="bb' + mylink + '" src="http://digbijzcoll.library.uu.nl/boeken/Boeken1001-1500/001488/Images/14880' + mylink + '.gif" alt="" width="100%"></p></BODY></HTML>' )
   _myWin.document.close();
   _myWin.focus()
   return false
} catch(e) { window.status = "Error in popupb" ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

function popup(mylink, windowname, attri )
{ try {                         // foutafhandeling voor niet bestaande web pagina's 
// alert(mylink)
if (! window.focus) 
  return true;
var n  = Math.random() + 'x' ;  // unieke window namen zorgen ervoor dat iedere open een nieuw venster geeft
if (windowname == null)
  { var _ml = mylink.toString().toLowerCase()
    if (_ml.search('wiki') >= 0)
      nm = 'wiki'
    else if (_ml.search('books.google') >= 0)
      nm = 'booksgoogle'
    else if (_ml.search('oogle') >= 0)
      nm = 'google'
    else if (_ml.search('dbnl') >= 0)
      nm = 'dbnl'
    else if (_ml.search('posner') >= 0)
      nm = 'posner'
    else if (_ml.search('nwo') >= 0)
      nm = 'nwo'
    else if (_ml.search('inghist') >= 0)
      nm = 'inghist'
    else if (_ml.search('adcs') >= 0)
      nm = 'adcs'
    else if (_ml.search('boerhaave') >= 0)
      nm = 'boerhaave'
    else if (_ml.search('delft') >= 0)
      nm = 'delft'
    else if (_ml.search('history.mcs.st') >= 0)
      nm = 'mcs'
    else if (_ml.search('.gif') >= 0)
      nm = 'fvs_image'
    else if (_ml.search('.bmp') >= 0)
      nm = 'fvs_image'
    else if (_ml.search('.png') >= 0)
      nm = 'fvs_image'
    else if (_ml.search('.jpg') >= 0)
      nm = 'fvs_image'
    else if (_ml.search('kennislink') >= 0)
      nm = 'kennislink'
    else if (_ml.search('xx') >= 0)
      nm = 'xx'
    else
       var nm= 'x' + n.slice(2,8)    // als niets opgegeven is, creeren we random volgnummers
  }
else
  var nm = windowname           // als de windownaam opgegeven is, gebruiken we die
                                // een volgende popup met deze naam, gebruikt dan dit venster 
var href;                       // geen idee wat dit stuk code precies doet, maar het werkt en dus laten we het staan.
if (typeof(mylink) == 'string')
  { href=mylink }
else
  { href=mylink.href }
if (href.toLowerCase().indexOf('euclides') > 0)
  { nm = 'euclides' }
var p = wop()
if (typeof(attri) != "undefined")
  {
    var aa = attri.split(',');
    for(var i=0; i < aa.length; i++) 
      {
        var aai = aa[i].split('=')
        var re = aai[0]
        var j = p.search(re)
        if (j >= 0)
          {
            var p2 = p.substr(j)
            var j2 = p2.search(',')
            if (j2 >= 0)
              { p = (j == 0 ? p2.substr(j2+1) :  p.substr(0,j) + p2.substr(j2+1)) }
          }
      }
    p += ',' + attri
  }
var o = window.open(href, nm, p);
try { o.focus() }
catch (e) { return false }
// return o ; // geeft dat het venster waar van uit geopend wordt, ook de inhoud krijgt van het nieuwe!
return false
} catch(e) { window.status = "Error in popup" ; (_debug ? Confirm(window.status +' '+ e) : false); return false }
}

function popup_euclid( mylink )
{ // alert(mylink)
var mynlink
if (typeof(mylink) == "undefined")
  mynlink = ""
else
  { if (typeof(mylink) == 'number')
      { mynlink = '#p1-' + mylink }
    else
      {
        var re = /\D/
        if (mylink.toString().search(re) < 0)
          { mynlink = '#p1-' + mylink }
        else
          { if (mylink.substr(0,1)=="w")
              { mynlink = '#' + mylink }
            else
              { if (mylink.search('-') > 0)
                  { mynlink = '#p' + mylink }
                else
                  { mynlink = '#' + mylink }
  }   }   }   }
// alert(mynlink)
return popup('fvs_euclides.htm' + mynlink , 'euclides' ) ; return false
}
function popup_euclix( _pag , _id )
{ var _lnk = 'fvs_' + _pag + (typeof(_id)=="undefined" ? '.htm' : '.htm#voetnoot_'+_id ) ; popup( _lnk,'euclidx') ; return false }

function prompter(mylink, windowname) 
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
  href=mylink;
else
  href=mylink.href;
var reply = "" ;
reply = prompt( "Geef je naam als wachtwoord" , "") ;
if (reply == "")
  return false;
else
  if (typeof(reply) == 'string')
    return popup ( href  + reply + ".htm" , 'notes')
  else
    return false;
}

function createCookie(naam, waarde, dagen, pad)
{ try {
  if (navigator.cookieEnabled)
    { // objDate.setUTCFullYear(numYear[, numMonth[, numDate]])
      var expires = ";expires=Thu, 01-Jan-2000 00:00:01 GMT"
      var datum = new Date()
      if (dagen > 0)
        { datum.setDate(datum.getDate()+dagen);
          // na_dagen.setUTCFullYear( na_dagen.getFullYear() , na_dagen.getMonth(), na_dagen.getDate() );
          expires = ";expires=" + datum.toUTCString() }
      if (typeof(pad) == "undefined")
        document.cookie = naam + "=" + escape(waarde) + expires //  + "; path=/"
      else
        document.cookie = naam + "=" + escape(waarde) + expires + "; path=" + pad
      return true
    }
  else
    { if (firsttime_cookie)
        { window.status = "Cookies disabled" ; firsttime_cookie = false }
    }
  return false
} catch(e) { window.status = "Error in createCookie" ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

function readCookie(name)
{ try {
  if (navigator.cookieEnabled)
    { var ca = document.cookie.split(';');
      var nameEQ = name + "=";
      for(var i=0; i < ca.length; i++) 
        { var c = unescape(ca[i]);
          while (c.charAt(0)==' ') 
            c = c.substring(1, c.length);  // delete spaces
          if (c.indexOf(nameEQ) == 0) 
            { return c.substring(nameEQ.length, c.length) }
        }
    }
  else
    { if (firsttime_cookie)
        { window.status = "Cookies disabled"
          firsttime_cookie = false }
    }
} catch(e) { window.status = "Error in readCookie" ; (_debug ? Confirm(window.status +' '+ e) : false) }
return "";
}

function eraseCookie(name,pad)
{ try {
  if (typeof(pad) == "undefined")
    createCookie(name, "", -1);
  else
    createCookie(name, "", -1,pad);
} catch(e) { window.status = "Error in eraseCookie" ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

function unloadMe()
{
alert('unload Me')
}
// document.onunload = _unloadMe ;

var route_log
function route( _whats )
{
// alert('Voor ik begin') 
// try
//   {  document.body.innerHTML += '<div id="OneStatTag"><table >' +
//    '<tr><td align="center"><noscript><a href="http://www.onestat.com"><img border="0" src="http://stat.onestat.com/stat.aspx?tagver=2&amp;sid=449768&amp;js=No&amp;" ALT="server monitoring"></a></noscript></td></tr>' + 
//    '<tr><td align="center"><div style="COLOR:black;display:none"><a href="http://www.onestat.com/uptrends/uptrends_website_server_monitoring.html" style="text-decoration:none">server monitoring</a><br></div>' + 
//    '</td></tr></table></div>' ;
//   OneStat_Pageview(); route_log += 'Z'
//  } catch(e) { window.status = "error in one-stat" ; (_debug ? Confirm(window.status +' '+ e) : false) }
// vergeet de [ ] niet om er een lijst van te maken !

try { if (!window.frameElement)
        { if (!document.getElementById("top"))
            { if (document.getElementsByName("top").length >0)
                { var _top = document.getElementsByName("top") ; _top[0].id = "top" }
              // else
              //   { document.body.innerHTML = '<a id="top" name="top"></a>' + document.body.innerHTML } 
            }
          // document.body.innerHTML = document.body.innerHTML + '<a id="fin" name="fin"></a>'
          //  MyInsertAdjacentHTML( "top" , "AfterEnd" , '<DIV id="print-headl">&nbsp;</DIV><DIV id="print-head">&nbsp;</DIV><DIV id="print-headr">&nbsp;</DIV><DIV id="print-footl"></DIV><DIV id="print-footr"></DIV>' ) 
          if (document.getElementById("top"))
            { var _date = new Date();
              MyInsertAdjacentHTML( "top" , "AfterEnd" , '<DIV id="print-footl">' + document.title + '</DIV><DIV id="print-footm">' + _date.toLocaleDateString() + '</DIV><DIV id="print-footr"></DIV>' ) }
          // MyInsertAdjacentHTML( "fin" , "AfterEnd" , '<DIV id="print-footl">'+document.title+ ' is afgedrukt op '+' ' ) 
        }
} catch(e) { window.status = "Error in headfoot" ; (_debug ? Confirm(window.status +' '+ e) : false) }

try { if (document.getElementsByName("docent").length >0)
        if (check_docent()==false)
          { return false }
} catch(e) { window.status = "Error in docent" ; (_debug ? Confirm(window.status +' '+ e) : false) }
try {
if ((location.protocol == 'http:') && ((document.body.innerHTML.indexOf('src="gn') > 0) || (document.body.innerHTML.indexOf('href="gn') > 0) ))
  { var re = 'gn.../'
    var st = _fiuu
    var tags = document.getElementsByTagName('IMG')
    var _i
    { for(_i=tags.length-1; _i>=0 ; _i-- ) 
       { var _j = tags[_i].src.search(re)
         if (_j >= 0)
            { tags[_i].src = st + tags[_i].src.substr(_j) }
       }
    }
    var tags = document.getElementsByTagName('A')
    { for(_i=tags.length-1; _i>=0 ; _i-- ) 
       { var _j = tags[_i].href.search(re)
         if (_j > 0)
            { tags[_i].href = st + tags[_i].href.substr(_j) }
       }
    }
  }
} catch(e) { window.status = "Error in gn" ; (_debug ? Confirm(window.status +' '+ e) : false) }

var _i , _len , _that , _ll, _pre ;
var _what = new Number(0)
try { route_log = ''
 if ( typeof( _whats ) == "object")
  _len = _whats.length
 else
  _len = 1
if ( typeof( _whats ) != "undefined")
  { for( _i=0 ; _i < _len ; _i++ )
      {
        if ( typeof( _whats ) == "object")
          _what = _whats[ _i ].toString()
        else
          _what = _whats.toString()
        var _dc = readCookie("docent")
        if (false)// (_dc.length == 0 && location.protocol == 'http:')
          { if (_whats == "titel")
              { eraseCookie("uc", "/") }
            else
              { var uc = readCookie("uc")
                var datum = new Date()
                if (uc == "")
                  { uc = datum.getTime() + 60 * 1000  // na 60 seconden verdwijnt deze achtergrond
                    datum.setTime( uc )
                    createCookie("uc", datum.getTime(), 1, "/")
                    document.body.background="uc.gif" }
                else
                  if (uc < datum.getTime() )
                    document.body.background = ""
                  else
                    document.body.background="uc.gif"
              }
          }
      }
  }
route_log += 'A'
var tags_i

try
  { 
    if ( typeof( _whats ) != "undefined")
     {
      if ( typeof( _whats ) == "object")
        _what = _whats[ 0 ].toString()
      else
        _what = _whats.toString()
      _what = _what * 1
    }
    var tags = document.getElementsByTagName('IFRAME')
    var _tt = false
    var _i
    { for( _i = tags.length-1; _i>=0 ; _i-- )
      try { // alert(tags[_i].id)
      if (tags[_i].id.substr(2,6) == "_frame") {
        tags_i = tags + "=" + tags[_i].id + " " + _i ;
        _ll = getInnerHTML(tags[_i].id)
        var _tags8 = tags[_i].id.substr(0,8)
        var _src   = tags[_i].src.substr(tags[_i].src.lastIndexOf('/')+1)
        var _src_n = _src.substr(4,3)
        var _tab   = _src.substr(0,9)
        var _klap_id = _tab.substr(4) + _tags8.substr(0,2);// alert(_src + ' >> '+ _tags8 + ' >> '+ _klap_id)
        // var _klap = '<p class="top"><a href="#top" id="klp_'+_klap_id+'" onclick="return klap('+"'"+ _klap_id+"'"+')">'+ _upr + '<span class="noprint">klap in</span></a><br>&nbsp;</p><hr><div class="together" id="klap_'+_klap_id+'"><a name="'+_klap_id+'"></a>'
        var _klap = '<p class="top"><a href="#top"><img src="up.gif" class="nextimg" alt=""><span class="noprint">top</span></a><br>&nbsp;</p><hr>'
        if (_tags8 == "dc_frame") {
          var _dc = readCookie("docent")
          if (_dc.length > 0)
            _ll = _klap + _ll +'<p class="noprint"><a href="' + _src + '" onclick="return popup(this,' + "'prtvrs')" + '">'+ _nxt +'Print Versie Uitwerking voor de docent </a></p></div>'
          else
            _ll = '' }
        if ((tags[_i].id=='onestat') && (location.protocol != 'http:'))
          _ll = ''
        if ((document.location.href.indexOf('d.htm') < 0) && (document.location.href.indexOf('e.htm') < 0) && (document.location.href.indexOf('_ll.htm') < 0) && (document.location.href.indexOf('_xx.htm') < 0) && (document.location.href.indexOf('_a') < 0)) //&& (document.location.href.indexOf('_a.htm') < 0) && (document.location.href.indexOf('_a2.htm') < 0))
              { if (_tags8 == "cl_frame") 
                  { _ll = _klap + '<a name="constructie"></a><p class="voorstel">Constructie</p>' + _ll + '</div>' }
                if (_tags8 == "hh_frame") 
                  { _ll = _klap + _ll + '</div>'} }
            else
              { if (_tags8 == "cl_frame") 
                  { if ((document.location.href.indexOf('d.htm') < 0) && (document.location.href.indexOf('e.htm') < 0))
                      { _ll = '<a name="constructie"></a><p class="voorstel">Constructie</p>' + _ll + '</div>' }
                    else 
                      { _ll = '<a name="constructie"></a><p class="bijschriftkop">Constructie</p>' + _ll + '</div>' } } }
         if (_tags8 == "bw_frame") 
           { _ll = _klap + _ll + '<p class="noprint"><a href="" onclick="return popup_euclid()" title="ga naar de webpagina met de toelichting op de manier waarop Frans van Schooten Junior de proposities van Euclides gebruikte.">'+ _nxt +'Toelichting op de proposities van Euclides</a></p></div>'}
        if (((_tags8 == "cc_frame") || (_tags8 == "cx_frame")) & (document.location.href.indexOf('fvs_complex.htm') < 0))
          { _ll = '<div class="box_w"><p class="twerck">Constructie<p></div>' + _ll + '<p class="noprint"><a title="webpagina met alle constructies en een uitleg over de opzet van deze tabel." href="fvs_complex.htm#' + _tab.substr(4) + '">'+ _nxt +'Toelichting op constructies.</a></p></div>'}
        if (_tags8 == "ll_frame")
          { _ll = _klap + _ll + '<p class="noprint"><a href="' + _src.replace('ll.htm','_ll.htm')  + '" onclick="return popup(this,' + "'prtvrs')" + '">'+ _nxt +'Print Versie Opgave voor de leerling </a></p></div>' }
        if (_tags8 == "uu_frame")
          _ll = _klap + _ll + '<p class="noprint"><a href="' + _src + '" onclick="return popup(this,' + "'prtvrs')" + '">'+ _nxt +'Print Versie Instructie voor de leerling </a></p></div>'
        if (_tags8 == "tt_frame") { 
          if (document.title.toLowerCase()=='transcripties zonder opmaak')
             { _ll = "<PRE>" + _ll }
          _ll = '<div class="transcrip">' + _ll  + '</div>'
          //  if (geen leerlingen boek pagina) en (geen verzamelde transcriptie) en (de laatste)
          if ((document.title.toLowerCase().indexOf('boek') < 0) && (document.title.toLowerCase().indexOf('opmaak') < 0) && (_tt == false))
             { _ll += '<p class="noprint" align="left"><a title="webpagina met alle transcripties en een toelichting bij de totstandkoming ervan." href="fvs_trans.htm">' + _nxt + 'Toelichting Transcripties </a></p>' ; _tt = true} }
        if (_ll == '')
          { RemoveElement(tags[_i].id) }
        else
          { MyInsertAdjacentHTML( tags[_i].id , "AfterEnd" , _ll ) 
            RemoveElement(tags[_i].id) } 
        if (_ll != '' && ((_tags8 == "cc_frame")||(_tags8 == "cl_frame")||(_tags8 == "cx_frame")))
          { try
            { var _tab = document.getElementById( _tab )
              var _rws = _tab.rows.length
              _tab.cellSpacing=0
              _tab.rules="rows"
              var _row = _tab.rows[0]
              if ((_tags8 == "cc_frame") || (_tags8 == "cx_frame"))
              {
              _row.insertCell(1)
              _row.cells[1].innerHTML = '<b>kiezen<br>punt</b>' 
              _row.insertCell(2)
              _row.cells[2].innerHTML = '<b>trekken<br>lijn</b>' 
              _row.insertCell(3)
              _row.cells[3].innerHTML = '<b>overzetten<br>afstand</b>' 
              _row.insertCell(4)
              _row.cells[4].innerHTML = '<b>snij<br>punt</b>'
              _row.insertCell(5)
              var _cl = _row.cells[5]
              _cl.innerHTML = _row.cells[0].innerHTML
              _cl.rowSpan = _rws
              }
              _row.cells[0].innerHTML  = '&nbsp;'
              var _cls = _tab.rows[0].cells.length -1
              var _ii
              for( _ii=0; _ii<_rws ; _ii++ ) 
              { _row = _tab.rows[_ii] 
                var _cl = _row.cells[0]
                if (_tags8 == "cc_frame")
                  { _cl.className = "complex_a" }
                else
                  {  if (_tags8 == "cx_frame")
                       { _cl.className = "complex_a" }
                     else
                       { _cl.className = "complex_h" }
                  }
                var _rc = _row.cells.length
                if ((_tags8 == "cc_frame") || (_tags8 == "cx_frame"))
                  { for(var _j=_rc; _j<_cls ; _j++ )
                      { var _cl = _row.insertCell(-1) }
                  }
                else
                  { for(var _j=_rc-1; _j>0 ; _j-- )
                      { var _cl = _row.deleteCell(_j) }
                  }
                var _rc = _row.cells.length
                _cl = _row.cells[0]
                if ((_tags8 == "cc_frame") || (_tags8 == "cx_frame"))
                  { if (_cl.innerHTML.search('onstructie') >= 0)
                      { var _cnt = 0 
                        for(var _j=1; _j<_rc ; _j++ ) 
                          { _cnt += parseInt( _row.cells[_j].innerHTML) }
                        _cl.innerHTML ='<b>'+_cl.innerHTML.replace(/ /g,'')+':<br>&nbsp;' + _cnt +'&nbsp;akties in&nbsp;'+ (_rws-2) +'&nbsp;stappen</b>'
                      }
                    for(var _j=1; _j<_rc ; _j++ ) 
                      { _cl = _row.cells[_j] ; _cl.innerHTML = '<b>'+_cl.innerHTML +'&nbsp;</b>'; _cl.className="complex_b" }
                    if (_cls < _row.cells.length)
                      { _cl = _row.cells[_cls] ; _cl.className="complex_c" }
                  }
                else
                  { }
              }
              for(var _j=0; _j<_rws ; _j++ )
              { var _row = _tab.rows[_j]
                var _cl = _row.insertCell(0)
                _cl.className = "complex_n"
                _cl.innerHTML = (_j>0 && _j<(_rws-1) ? _j +'.' : '&nbsp;')
              }  
              if (document.title.toLowerCase().indexOf('constructies') < 0)
                { if (_tags8 == "cc_frame")
                    { RemoveElement("intro") }
                  if (_tags8 == "cl_frame")
                    {
                      _tab.deleteRow(_rws-1)
                      _tab.deleteRow(0)
                      RemoveElement("intro")
                      if ((document.location.href.indexOf('_ll.htm') > 0) || (document.location.href.indexOf('_xx.htm') > 0))
                        { MyInsertAdjacentHTML( "constructie_print" , "AfterEnd" , '<p class="voorstel">Constructie</p><table>' +_tab.innerHTML +'</table><hr>')
                      RemoveElement("constructie_print")}
                    }
                }
            } catch(e) { window.status = "error in  route-complexiteit" ; (_debug ? Confirm(window.status +' '+ e) : false) }
          }
        }
      else if (tags[_i].className == 'applet')
        { if (tags[_i].id != '')
           { var _t = tags[_i].src.substr(tags[_i].src.lastIndexOf('fvs_')); _t = _t.substr(0,7) + "_" + _t.substr(7) ;
             _ll = '<p class="applet"><a title="ga naar een nieuwe webpagina met deze applet en een toelichting bij de werking van applets" href="'+_t+'" onclick="return popup(this,applet)">'+ _nxt +'Toelichting bij deze applet</a></p>'
             MyInsertAdjacentHTML( tags[_i].id , "AfterEnd" , _ll )
           }
        }
    } catch(e) { window.status = "error in route-IFRAME for " + tags_i ; (_debug ? Confirm(window.status +' '+ e) : false) }
    } ; route_log += 'B'
  } catch(e) { window.status = "error in route-IFRAME for " + tags_i ; (_debug ? Confirm(window.status +' '+ e) : false) }
if (! isNaN(_what) )
{
try
{
try
  { if (document.getElementsByName("navig").length >0 )
    { _ll  = navig.document.body.innerHTML
      if (document.getElementsByName("boek2").length >0)
        { _ll += '<p class="normal"><span class="noprint">&nbsp;<br><a href="" title="open een nieuwe webpagina met de biografie over Frans van Schooten" onClick="return popup('+ "'fvs_frans.htm'"+')"><img src="images/Schooten_Jrs.gif" alt="" align="right" width="50"></a></span><span class="doprint"><img src="images/Schooten_Jrs.jpg" width="84" height="96" alt="" align="right"></span>Welkom op de website <a href="fvs_index.htm">fransvanschooten.nl</a>.  Dit&nbsp;is&nbsp;bladzijde '+ _what + ' uit de &quot;<a href="fvs_boek.htm">Mathematische Oeffeningen</a>&quot; van <a href="" title="lees de biografie over Frans van Schooten" onClick="return popup('+ "'fvs_frans.htm'"+')"> Frans&nbsp;van&nbsp;Schooten&nbsp;Jr</a>.</p>' }
     document.getElementById("navig").parentNode.className = "noprint tabright basecol"
      MyInsertAdjacentHTML( "navig" , "AfterEnd" , _ll )
      RemoveElement("navig")
      route_log += 'C' }
  } catch(e) { window.status = "error in route-navig" ; (_debug ? Confirm(window.status +' '+ e) : false) }
if (document.getElementById("headertab"))
{
try
  { var _up,_ht,_upt = ''
    if (_what < 3)
      { _up = 'fvs_index'; _ht = '&nbsp;' }
    else if (_what < 11)
      { _up = (_what==3 ? 'fvs_3' : 'fvs_3'); _upt = 'Voorwoord Eerste Boek: Arithmetische en Geometrische Voorstellen' ; _ht = '<p class="headertitle">' + _upt + '</p>'  }
    else if (_what < 44)
      { _up = (_what==11 ? 'fvs_aritm1' : 'fvs_aritm1'); _upt = 'Arithmetische Voorstellen' ; _ht = '<p class="headertitle">' + _upt + '</p>'  }
    else if (_what < 113)
      { _up = (_what==44 ? 'fvs_tekeningen1' : 'fvs_tekeningen1'); _upt = 'Geometrische Voorstellen' ; _ht = '<p class="headertitle">' + _upt + '</p>'}
    else if (_what < 121)
      { _up = (_what==113 ? 'fvs_index' : 'fvs_113') ; _upt = 'd&quot;ontbinding der Simpele Geometrische Werckstucken' ; _ht = '<p class="headertitle">' + _upt + '</p>' }
    else if (_what < 139)
      { _up = (_what==121 ? 'fvs_113' : 'fvs_121'); _upt = 'Van d&rsquo;Ontbinding der Simpele Werkstucken'; _ht = '<p class="headertitle">' + _upt + '</p>' }
    else if (_what < 144)
      { _up = (_what==139 ? 'fvs_113' : 'fvs_139'); _upt = 'Byvoegsel der Simpele Werckstucken' ; _ht = '<p class="headertitle">' + _upt + '</p>' }
    else if (_what < 153)
      { _up = (_what==144 ? 'fvs_113' : 'fvs_144'); _upt = 'Van d&rsquo;Ontbinding der Vlacke Werkstucken' ; _ht = '<p class="headertitle">' + _upt + '</p>' }
    else if (_what < 183)
      { _up = (_what==153 ? 'fvs_113' : 'fvs_153'); _upt = 'Aenhang van Simpele Meet-konstige Werckstucken' ; _ht = '<p class="headertitle">' + _upt + '</p>' }
    else if (_what < 193)
      { _up = (_what==183 ? 'fvs_index' : 'fvs_183'); _upt = 'Apollonii Perg&aelig;i Herstelde Vlacke Plaetsen.' ; _ht = '<p class="headertitle">' + _upt + '</p>' }
    else if (_what < 273)
      { _up = 'fvs_index'; _ht = '&nbsp;' }
    else if (_what < 343)
      { _up = (_what==273 ? 'fvs_index' : 'fvs_273'); _upt = 'Van de Tuych-werckelicke beschrijving der Kegel-sneden op een vlack'; _ht = '<p class="headertitle">' + _upt + '</p>' }
    else if (_what < 347)
      { _up = (_what==343 ? 'fvs_index' : 'fvs_343'); _upt = 'Voorwoord Vijfde Boek: Dertich Afdeekingen van Gemengde Stoffe' ; _ht = '<p class="headertitle">' + _upt + '</p>' }
    else if (_what < 397)
      { _up = 'fvs_index'; _ht = '&nbsp;' }
    else if (_what < 403)
      { _up = (_what==397 ? 'fvs_index' : 'fvs_398'); _upt = 'Afdeelingen van Gemengde Stoffe'; _ht = '<p class="headertitle">' + _upt + '</p>' }
    else
      { _up = 'fvs_index'; _ht = '&nbsp;' }
    var _rw = document.getElementById( "headertab" ).rows[0]
    var _cl = _rw.cells[0]
    _cl.className = 'transcriptie tableft'
    // _cl.width = "247px"
    _cl.innerHTML = '<p class="headerup"><span class="doprint">www.fransvanschooten.nl</span>'
    _cl = _rw.insertCell(-1)
    _cl.innerHTML = _ht
    _cl = _rw.insertCell(-1)
    _cl.className = 'headerpagew tabright'
    var _upp = '<p class="twerck headerpage navig">' // +'<a href="' + _up + '.htm" title="terug naar begin ' + _upt + '" accesskey="u"><img src="up.gif"  alt="" align="left"></a>'
    if (_what >= 3 && _what <= 43)
      _cl.innerHTML = _upp +
      ( _what > 3 ? '<a href="fvs_'+ (_what-1) + _prvt : '' ) +
      '<a name="'+ _what +'"></a>'+ _what +
      ( _what < 43 ? '<a href="fvs_'+ (_what+1) + _nxtt : '')
    if (_what >= 44 && _what <= 112)
      _cl.innerHTML = _upp +
      ( _what > 44 ? '<a href="fvs_'+ (_what-1) + _prvt : '' ) +
      '<a name="'+ _what +'"></a>'+ _what +
      ( _what < 112 ? '<a href="fvs_'+ (_what+1) + _nxtt : '')
    if (_what >= 113 && _what <= 182)
      _cl.innerHTML = _upp +
      ( _what > 113 ? '<a href="fvs_'+ (_what-1) + _prvt : '' ) +
      '<a name="'+ _what +'"></a>'+ _what +
      ( _what < 182 ? '<a href="fvs_'+ (_what+1) + _nxtt : '')
    if (_what >= 183 && _what <= 192)
      _cl.innerHTML = _upp +
      ( _what > 183 ? '<a href="fvs_'+ (_what-1) + _prvt : '' ) +
      '<a name="'+ _what +'"></a>'+ _what +
      ( _what < 192 ? '<a href="fvs_'+ (_what+1) + _nxtt : '')
    if (_what >= 193 && _what <= 272)
      _cl.innerHTML = _upp +
      ( _what > 193 ? '<a href="fvs_'+ (_what-1) + _prvt : '' ) +
      '<a name="'+ _what +'"></a>'+ _what +
      ( _what < 272 ? '<a href="fvs_'+ (_what+1) + _nxtt : '')
    if (_what >= 273 && _what <= 342)
      _cl.innerHTML = _upp +
      ( _what > 273 ? '<a href="fvs_'+ (_what-1) + _prvt : '' ) +
      '<a name="'+ _what +'"></a>'+ _what +
      ( _what < 342 ? '<a href="fvs_'+ (_what+1) + _nxtt : '')
    if (_what >= 343 && _what <= 346)
      _cl.innerHTML = _upp +
      ( _what > 343 ? '<a href="fvs_'+ (_what-1) + _prvt : '' ) +
      '<a name="'+ _what +'"></a>'+ _what +
      ( _what < 346 ? '<a href="fvs_'+ (_what+1) + _nxtt : '')
    if (_what >= 397 && _what <= 404)
      _cl.innerHTML = _upp +
      ( _what > 397 ? '<a href="fvs_'+ (_what-1) + _prvt : '' ) +
      '<a name="'+ _what +'"></a>'+ _what +
      ( _what < 404 ? '<a href="fvs_'+ (_what+1) + _nxtt : '')
    route_log += 'D'
  } catch(e) { window.status = "error in route-header" ; (_debug ? Confirm(window.status +' '+ e) : false) }
}
try
  { if (document.getElementById("navigtab"))
    { var navtab = document.getElementById( "navigtab" )
      if (navtab.rows.length>8)
{
try
  { var _dc = readCookie("docent") ; 
    ((document.getElementsByName("leerling").length >0&&document.getElementsByName("docent").length >0)&&(_dc.length>0) ? navtab.rows[8].cells[0].innerHTML = '<a href="fvs_'+_what+'d.htm" title="de uitwerkingen van de leerlingenopdrachten verschijnen in een nieuw venster">&nbsp;&nbsp;<img src="next.gif" class="nextimg" alt=""> Uitwerking</a>' : navtab.deleteRow(8) ) ; route_log += 'E'
  } catch(e) { window.status = "error in route-navig-docent" ; (_debug ? Confirm(window.status +' '+ e) : false) } ;
try
  { (document.getElementsByName("extra").length >0 ? '' : navtab.deleteRow(7) ) ; route_log += 'F'
  } catch(e) { window.status = "error in route-navig-extra" ; (_debug ? Confirm(window.status +' '+ e) : false) }
try
  { (document.getElementsByName("leerling").length >0 ? navtab.rows[6].cells[0].innerHTML = '<a href="fvs_'+_what+'_xx.htm" title="de leerlingen opdrachten verschijnen in een nieuw venster: er zijn versies voor de onderbouw en voor de bovenbouw">&nbsp;&nbsp;<img src="next.gif" class="nextimg" alt=""> Leerling opdracht</a>' : navtab.deleteRow(6) ) ; route_log += 'G'
  } catch(e) { window.status = "error in route-navig-leerling" ; (_debug ? Confirm(window.status +' '+ e) : false) }
try
  { (document.getElementsByName("bron").length >0 ? '' : navtab.deleteRow(5) ) ; route_log += 'H'
  } catch(e) { window.status = "error in route-navig-bron" ; (_debug ? Confirm(window.status +' '+ e) : false) }
try
  { (document.getElementsByName("voetnoten_euclides").length >0 ? '' : navtab.deleteRow(4) ) ; route_log += 'I'
  } catch(e) { window.status = "error in route-navig-voetnoten" ; (_debug ? Confirm(window.status +' '+ e) : false) }
try
  { (document.getElementsByName("bewijs").length >0 ? '' : navtab.deleteRow(3) ) ; route_log += 'J'
  } catch(e) { window.status = "error in route-navig-bewijs" ; (_debug ? Confirm(window.status +' '+ e) : false) }
try
  { (document.getElementsByName("applets").length >0 ? '' : navtab.deleteRow(2) ) ; route_log += 'K'
  } catch(e) { window.status = "error in route-navig-applets" ; (_debug ? Confirm(window.status +' '+ e) : false) }
try
  { (document.getElementsByName("constructie").length >0 ? '' : navtab.deleteRow(1) ) ; route_log += 'L'
  } catch(e) { window.status = "error in route-navig-constructie" ; (_debug ? Confirm(window.status +' '+ e) : false) }
try
  { if (document.getElementsByName("pdf").length >0)
      { window.onbeforeprint = BeforePrintAlert }
    else
      { navtab.rows[0].deleteCell(1) } ;
    route_log += 'M'
  } catch(e) { window.status = "error in route-navig-pdf" ; (_debug ? Confirm(window.status +' '+ e) : false) }
}
}
} catch(e) { }  // einde bewerken navig-blok
} catch(e) { }  // einde bewerken navig-blok
}
try
{ if ( typeof( _whats ) != "undefined")
    { var _i
      for( _i=0 ; _i < _len ; _i++ )
        {
          if ( typeof( _whats ) == "object")
            _what = _whats[ _i ].toString()
          else
            _what = _whats.toString()
          if (location.protocol != 'http:')
            { if (_what.length == 1)
                var _src = "fvs/1488000" + _what
              else if (_what.length == 2)
                var _src = "fvs/148800"  + _what
              else if (_what.length == 3)
                var _src = "fvs/14880"   + _what
              else
                var _src = "fvs/1488"    + _what
              _that = "aa"+ _what
              try { document.getElementById( _that ).src= _src + ".jpg" }
              catch(e) { }
              _that = "bb"+ _what
              try { document.getElementById( _that ).src= _src + ".jpg" }
              catch(e) { }
              _that = "cc"+ _what 
              try { document.getElementById( _that ).src= _src + ".jpg" }
              catch(e) { }
            }
        }
    }
} catch(e) { window.status = "error in replace img boek" ; (_debug ? Confirm(window.status +' '+ e) : false) }

try
  { var _wv = document.getElementsByTagName("TD")
    var _i
    for(_i=_wv.length-1 ; _i>=0 ; _i-- )
      { if (_wv[_i].className.indexOf('equ') >= 0)
           { if (_wv[_i].rowSpan <= 2)
               { _wv[_i].rowSpan = 2} }
      }
} catch(e) { window.status = "error in TD rowspan" ; (_debug ? Confirm(window.status +' '+ e) : false) }

try
  { var _wv = document.getElementsByTagName("IMG")
    var _i
    for(_i=_wv.length-1 ; _i>=0 ; _i-- )
      { if (_wv[_i].src.indexOf('_180.gif') >= 0 )
           { if (_wv[_i].className.indexOf('fontsize') < 0)
               { _wv[_i].className += ' fontsize'} }
      }
} catch(e) { window.status = "error in fontsize" ; (_debug ? Confirm(window.status +' '+ e) : false) }

try
  { var _wv = document.getElementsByTagName("A")
    var _i
    for(_i=_wv.length-1 ; _i>=0 ; _i-- )
      {
        if (_wv[_i].title.valueOf().length == 0)
          { var re = 'fvs_..._a'
            var _wvi_href = _wv[_i].href.toLowerCase()
            if (checkTitle(_wvi_href,'fvs_ral.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina over documenten in het Regionaal Archief Leiden over de familie van Schooten' }
            else if (_wvi_href.indexOf('print_pdf') > 0 )
              { if (!_local)
                  { _wv[_i].href = _fiuu + document.location.href.substr(document.location.href.lastIndexOf('/')+1).replace('.htm','.pdf') }
                else
                  { _wv[_i].href = document.location.href.substr(document.location.href.lastIndexOf('/')+1).replace('.htm','.pdf') }
                _wv[_i].title = 'druk een PDF versie van deze pagina af' }
            else if (_wv[_i].className == 'euclidex' )
              { try { var _name = _wv[_i].name.replace(/_/gi, "")
                      if (_euclid)
                        { MyInsertAdjacentHTML( _wv[_i] ,  "AfterEnd" ,  _euclidex[_name] ) }
                    } catch(e) { window.status = "error in euclid.js: entry=" + _name + " "; (_debug ? Confirm(window.status +' '+ e) : false) } }
            else if (_wvi_href.indexOf('#bron') > 0 )
              { _wv[_i].title = 'ga op deze webpagina naar de afbeelding van de originele bladzijde uit de Mathematische Oeffeningen' }  
            else if (_wvi_href.indexOf('#top') > 0 )
              { _wv[_i].title = 'ga naar het begin van deze webpagina' }
            else if (_wvi_href.indexOf('.gif') > 0 )
              { _wv[_i].title = _ovg ; if (_wv[_i].addEventListener) {_wv[_i].onclick = function() { popupt(this);return false } } else { _wv[_i].onclick = "javascript:popupt(this);return false" } }
            else if (_wvi_href.indexOf('.jpg') > 0 )
              { _wv[_i].title = _ovg ; if (_wv[_i].addEventListener) {_wv[_i].onclick = function() { popupt(this);return false } } else { _wv[_i].onclick = "javascript:popupt(this);return false" } }
            else if (_wvi_href.indexOf('.png') > 0 )
              { _wv[_i].title = _ovg ; if (_wv[_i].addEventListener) {_wv[_i].onclick = function() { popupt(this);return false } } else { _wv[_i].onclick = "javascript:popupt(this);return false" } }
            else if (_wvi_href.indexOf('fvs_index.htm') > 0 )
              { _wv[_i].title = 'ga naar de startpagina van www.fransvanschooten.nl' }  
            else if (checkTitle(_wvi_href,'fvs_omdat.htm') > 0 )
              { _wv[_i].title = 'lees de uitleg over omdat ... daarom ... dus ...' }  
            else if (checkTitle(_wvi_href,'fvs_posters.htm') > 0 )
              { _wv[_i].title = 'bekijk de posters die gemaakt zijn als lesmateriaal' }  
            else if (checkTitle(_wvi_href,'fvs_frans_poster.htm') > 0 )
              { _wv[_i].title = 'ga naar de poster van Frans van Schooten Junior' }
            else if (_wvi_href.indexOf('poster.htm#links') > 0 )
              { _wv[_i].title = 'ga naar de externe links met aanvullende informatie bij deze poster' }
            else if (_wvi_href.indexOf('poster.pdf') > 0 )
              { _wv[_i].title = 'ga naar de PDF van deze poster' }
            else if (_wvi_href.indexOf('poster') > 0 )
              { _wv[_i].title = 'ga naar deze poster' }
            else if (checkTitle(_wvi_href,'fvs_frans.htm') > 0 )
              { _wv[_i].title = 'lees de biografie over Frans van Schooten' }
            else if (checkTitle(_wvi_href,'fvs_joyce.htm') > 0 )
              { _wv[_i].title = 'ga naar de engelstalige website van D.E. Joyce over de Elementen van Euclides' }
            else if (checkTitle(_wvi_href,'fvs_java.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina over apparaten om ellipsen, parabolen en hyperbolen te tekenen' }
            else if (checkTitle(_wvi_href,'fvs_tekeningen1.htm') > 0 )
              { _wv[_i].title = 'ga naar de Geometrische Voorstellen uit het Eerste Boek' }
            else if (checkTitle(_wvi_href,'fvs_tekeningen2.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina met alle schetsen uit het Tweede Boek, begrijpende d&rsquo;Ontbinding der Simpele Geometrische Werckstucken. Deze website gaat over dat boek met opdrachten zonder cirkels of passers' }
           else if (checkTitle(_wvi_href,'fvs_tekeningen4.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina over het Vierde Boek van de Mathematische Oeffeningen, dat gaat over kegelsneden als parabolen, hyperbolen en ellipsen' }
            else if (checkTitle(_wvi_href,'fvs_gn586') > 0 )
              { _wv[_i].title = 'ga naar de webpagina over DE PROPOSITIEN vande xv. Boucken der Elementen Euclidis Overgeset en tsamenghestelt, met corte verclaringen sommiger propositien, Door F.V. Schooten Professor Matheseos tot Leyden. Tot Leyden By Govert Basson, 1617 ' }
            else if (checkTitle(_wvi_href,'fvs_bpl626.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina over manuscript BPL626 van Frans van Schooten Senior' }
            else if (_wvi_href.indexOf('gallica.bnf') > 0 )
              { _wv[_i].title = 'open een nieuwe webpagina in Gallica' }
            else if (_wvi_href.indexOf('visualiseur.bnf') > 0 )
              { _wv[_i].title = 'open een nieuwe webpagina in Gallica' }
            else if (_wvi_href.indexOf('kennislink') > 0 )
              { _wv[_i].title = 'open een nieuwe webpagina in Kennislink over wiskunde' }
            else if (_wvi_href.indexOf('www.inghist.nl') > 0 )
              { _wv[_i].title = 'ga naar de website van ING: Instituut voor Nederlandse Geschiedenis' }
            else if (_wvi_href.indexOf('www.dbnl.org') > 0 )
              { _wv[_i].title = 'ga naar de website van DBNL: de digitale bibliotheek voor de Nederlandse letteren' }
            else if (_wvi_href.indexOf('epsilon-uitgaven') > 0 )
              { _wv[_i].title = 'open een nieuwe webpagina bij Uitgeverij Epsilon' }
            else if (_wvi_href.indexOf('deellijn_r_recept.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina met het recept voor een geheeltallige rechthoekige driehoek waarvan een geheeltallige deellijn de overstaande zijde in twee geheeltallige stukken deelt' }
            else if (_wvi_href.indexOf('fvs_gn108.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina over manuscript GN108 van Frans van Schooten Junior' }
            else if (checkTitle(_wvi_href,'fvs_gn108_geheeltallig.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina over geheeltallige driehoeken uit manuscript GN108 van Frans van Schooten Junior' }
            else if (checkTitle(_wvi_href,'fvs_stelling.htm') > 0 )
              { _wv[_i].title = 'Frans van Schooten Junior is vereerd met een stelling die op zijn naam is gezet' }
            else if (_wvi_href.indexOf('fvs_boek.htm') > 0 )
              { _wv[_i].title = 'ga naar de website van de Universiteitsbibliotheek Utrecht voor de nederlandse versie van de Mathematische Oeffeningen' }
            else if (_wvi_href.indexOf('pandd.demon') > 0 )
              { _wv[_i].title = 'ga naar de website van Dick Klingens boordevol meetkunde' }
            else if (_wvi_href.indexOf('posner.library.cmu.edu') > 0 )
              { _wv[_i].title = 'ga naar de website van Posner Library voor de latijnse versie van de Mathematische Oeffeningen' }
            else if (checkTitle(_wvi_href,'fvs_manuscript.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina over de manuscripten die bewaard zijn gebleven van de familie van Schooten' }
            else if (checkTitle(_wvi_href,'fvs_reactie.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina met contact informatie en stuur een mail als je meer wilt weten of zien' }
            else if (checkTitle(_wvi_href,'fvs_complex.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina met een overzicht van alle constructies' }
            else if (checkTitle(_wvi_href,'fvs_docentenhandleiding.htm') > 0 )
              { _wv[_i].title = 'ga naar de uitgebreide docentenhandleiding voor een toelichting op het beschikbare lesmateriaal' }
            else if (checkTitle(_wvi_href,'Docentenhandleiding.pdf') > 0 )
              { _wv[_i].title = 'open de PDF van de docentenhandleiding' }
            else if (_wvi_href.indexOf('www.math.uu.nl') > 0 )
              { _wv[_i].title = 'ga naar de website van het Mathematisch Instituut van de Universiteit Utrecht' }
            else if (_wvi_href.indexOf('gnpdf') > 0 )
              { _wv[_i].title = '' }
            else if (_wvi_href.indexOf('www.fi.uu.nl') > 0 )
              { _wv[_i].title = '' } // ga naar de website van het Freudenthal Instituut
            else if (checkTitle(_wvi_href,'fvs_aritm1.htm') > 0 )
              { _wv[_i].title = 'ga naar de Arithmetische Voorstellen uit het Eerste Boek' }
            else if (_wvi_href.indexOf('htm#docenten_w') > 0 )
              { _wv[_i].title = 'open de webpagina in een nieuw venster' }
            else if (_wvi_href.indexOf('htm#docenten_o') > 0 )
              { _wv[_i].title = 'open de leerlingenopdracht in een nieuw venster' }
            else if (_wvi_href.indexOf('htm#docenten_d') > 0 )
              { _wv[_i].title = 'open de uitwerkingen in een nieuw venster' }
            else if (_wvi_href.indexOf('htm#docenten_a') > 0 )
              { _wv[_i].title = 'open de applet in een nieuw venster' }
            else if (_wvi_href.indexOf('htm#docenten_c') > 0 )
              { _wv[_i].title = 'open het constructie voorschrift in een nieuw venster' }
            else if (_wvi_href.indexOf('htm#docenten_b') > 0 )
              { _wv[_i].title = 'open de transcriptie in een nieuw venster' }
            else if (_wvi_href.indexOf('fvs_leerlingen.htm') > 0 )
              { _wv[_i].title = 'ga naar de opdrachten in de bovenbouw notatie' }
            else if (_wvi_href.indexOf('fvs_leerlingenx.htm') > 0 )
              { _wv[_i].title = 'ga naar de opdrachten in de onderbouw notatie' }
            else if (checkTitle(_wvi_href,'fvs_docenten.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina met het overzicht van alle opdrachten en uitwerkingen (bovenbouw versie)' }
            else if (checkTitle(_wvi_href,'fvs_docentenx.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina met het overzicht van alle opdrachten en uitwerkingen (onderbouw versie)' }
            else if (checkTitle(_wvi_href,'fvs_docenten2.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina over de bijlage van het Tweede Boek met opdrachten over het opmeten van afstanden tot punten waar je niet kan komen' }
            else if (_wvi_href.indexOf('fvs_161_xtra.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina over de bijlage van het Tweede Boek met opdrachten over het opmeten van afstanden tot punten waar je niet kan komen' }
            else if (checkTitle(_wvi_href,'fvs_klingens.htm') > 0 )
              { _wv[_i].title = 'ga naar de website van Dick Klingens boordevol meetkunde' }
            else if (checkTitle(_wvi_href,'fvs_moeras.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina met informatie over wiskundige opdrachten met onbegaanbaar terrein als context' }
            else if (checkTitle(_wvi_href,'fvs_bulk.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina die het afdrukken van delen van de website faciliteert' }
            else if (checkTitle(_wvi_href,'fvs_trans.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina over de transcripties' }
            else if (checkTitle(_wvi_href,'fvs_trans_all.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina met alle transcripties' }
            else if (checkTitle(_wvi_href,'fvs_trans_pre.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina met alle transcripties zonder opmaak van de tekst' }
            else if (checkTitle(_wvi_href,'fvs_113') > 0 )
              { _wv[_i].title = "ga naar de titelpagina van het Tweede Boek, begrijpende d'Ontbinding der Simpele Geometrische Werckstucken. Deze website gaat over dat boek met opdrachten zonder cirkels en zonder passers" }
            else if (checkTitle(_wvi_href,'fvs_modern') > 0 )
              { _wv[_i].title = 'ga naar de webpagina voor gebruikers van Moderne Wiskunde' }
            else if (checkTitle(_wvi_href,'fvs_getal') > 0 )
              { _wv[_i].title = 'ga naar de webpagina voor gebruikers van Getal &amp; Ruimte' }
            else if (checkTitle(_wvi_href,'fvs_reeckening') > 0 )
              { _wv[_i].title = 'ga naar de webpagina over de bijlage Van Rekeningh in Spelen van Geluck, geschreven door Christiaan Huygens. De transcriptie is van Kees Verduin.' }
            else if (checkTitle(_wvi_href,'fvs_perspective') > 0 )
              { _wv[_i].title = 'ga naar de webpagina over het Tractaet der Perspective ofte schynbaere teycken-konst. De transcriptie is van Jan Beuving.' }
            else if (checkTitle(_wvi_href,'fvs_vergroting') > 0 )
              { _wv[_i].title = 'ga naar de webpagina over gelijkvormigheid, vergrotingen en congruentie' }
            else if (checkTitle(_wvi_href,'fvs_euclides') > 0 )
              { _wv[_i].title = 'open een nieuwe webpagina met een toelichting op de proposities van Euclides, inclusief de transcriptie van Frans van Schooten Senior.' }            else if (checkTitle(_wvi_href,'fvs_euclidex') > 0 )
              { _wv[_i].title = 'open een nieuwe webpagina waarop deze propositie gebruikt wordt' }
            else if (_wvi_href.indexOf('b.htm') > 0 )
              { _wv[_i].title = 'open een nieuwe webpagina met een toelichting op de manier waarop Frans van Schooten Junior deze propositie van Euclides gebruikte' }
            else if (checkTitle(_wvi_href,'_ll.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina met de leerlingen opdracht behorende bij bladzijde ' + _wvi_href.substr(_wvi_href.indexOf('fvs_')+4,3) + ' , daar staat ook het constructievoorschrift' }
            else if (checkTitle(_wvi_href,'_xx.htm') > 0 )
              { _wv[_i].title = 'ga naar de webpagina met de leerlingen opdracht behorende bij bladzijde ' + _wvi_href.substr(_wvi_href.indexOf('fvs_')+4,3) + ' , daar staat ook het constructievoorschrift' }
            else if (checkTitle(_wvi_href,'_all') > 0 )
              { _wv[_i].title = 'ga naar de webpagina voor bulkafdrukken' }
            else if (_wvi_href.indexOf('#uitleg') > 0 )
              { _wv[_i].title = '' }
            else if (_wvi_href.search(re) > 0 )
              { _wv[_i].title = 'open een nieuwe webpagina voor de bijbehorende applet met toelichting' }
            else if (_wvi_href.indexOf('') > 0 )
              { _wv[_i].title = '' }
            else if (_wvi_href.indexOf('') > 0 )
              { _wv[_i].title = '' }
         }
        if (_wv[_i].title.valueOf().length == 0 && _wv[_i].childNodes.length == 1)
          { try { if (_wv[_i].childNodes[0].nodeName.toLowerCase() == 'img')
                    { _wv[_i].title = _ovg
                      if (_wvi_href.indexOf('imagx') > 0)
                        { _wv[_i].href = _wv[_i].childNodes[0].src
                           if (_wv[_i].addEventListener) {_wv[_i].onclick = function() { popupt(this);return false } } else { _wv[_i].onclick = "javascript:popupt(this);return false" } }}
                  else
                    { _wv[_i].title = 'ga naar ' + (_wv[_i].firstChild.nodeValue != null ? _wv[_i].firstChild.nodeValue.replace(/<([^>]+)>/g,'') : _wv[_i].firstChild.innerHTML.replace(/<([^>]+)>/g,''))} 
                } catch(e) { }
          }
        if (_wv[_i].title.valueOf().length == 0 && _wv[_i].childNodes.length > 1)
          { if (_wv[_i].childNodes[0].nodeName.toLowerCase() == 'img') 
              { if (_wv[_i].childNodes[0].className.toLowerCase() == 'nextimg') 
                  { try { _wv[_i].title = 'ga naar ' + _wv[_i].firstChild.nextSibling.nodeValue.replace(/<([^>]+)>/g,'') } 
                    catch(e) { try { _wv[_i].title = 'ga naar ' + _wv[_i].childNodes[1].textContent.replace(/<([^>]+)>/g,'') }
                               catch(e) {  } 
                             }
                  }
                else
                  { if (_wvi_href.indexOf('imagx') > 0)
                      { _wv[_i].href = _wv[_i].childNodes[0].src 
                         if (_wv[_i].addEventListener) {_wv[_i].onclick = function() { popupt(this);return false } } else { _wv[_i].onclick = "javascript:popupt(this);return false" } 
                        _wv[_i].title = _ovg }
                    else
                      { for(_j=0; _j<_wv[_i].childNodes.length ; _j++ )
                          { if (_wv[_i].childNodes[_j].nodeName.toLowerCase() == 'img')
                              { if (_wv[_i].childNodes[_j].src.indexOf('fvs_groter.gif') > 0)
                                  { _wv[_i].title = 'ga naar een vergroting van deze afbeelding' ; break}   
                              }
                          }
                      }
                  }
              }
          }
        if (_wv[_i].title == "-")
          { _wv[_i].title = "" }
        if (_wv[_i].className.toLowerCase() == 'voetnoot') 
          { try { var _wa = document.getElementsByName(_wv[_i].hash.substr(1))
                  if (_wa.length>0)
                     { try { if (_wa[0].parentNode.innerText == undefined)
                                _wv[_i].title = _wa[0].parentNode.textContent 
                             else 
                                _wv[_i].title = _wa[0].parentNode.innerText 
                           }
                       catch(e) { try { _wv[_i].title = _wa[0].parentNode.textContent }
                           catch(e) { _wv[_i].title='foutje' } } } }
            catch(e) { } }
      }   
      route_log += 'N'
  } catch(e) { window.status = "error in route-voetnoot" ; (_debug ? Confirm(window.status +' '+ e) : false) } 
try
  { var _wv = document.getElementsByTagName("IMG")
    var _i
    for(_i=0; _i<_wv.length ; _i++ )
      { 
        if (_wv[_i].className.toLowerCase().indexOf('resize') >= 0)
          { var _nr = parseInt(_wv[_i].alt)
            if (_nr > 0)
              { try { var _size = parseInt((parseInt(document.getElementById("size_content").clientWidth) - (_nr-1)*15 ) / _nr)
                      _wv[_i].height = parseInt(_wv[_i].height * _size / _wv[_i].width) 
                      _wv[_i].width = _size } catch(e) {} } }
        if (_wv[_i].title.valueOf().length == 0 )
          try { _wv[_i].title = _wv[_i].parentNode.title } catch(e) {}
        if (_wv[_i].src.indexOf('fvs_groter.gif') > 0 )
          try {_wv[_i].className="noprint" } catch(e) {}
        else if (_wv[_i].src.indexOf('next.gif') > 0 )
          try {_wv[_i].className="nextimg" } catch(e) {}
      } ; route_log += 'O'
  } catch(e) { window.status = "error in route-img-title" ; (_debug ? Confirm(window.status +' '+ e) : false) }
try
  { var _wv = document.getElementsByTagName("P")
    var _i
    for(_i=0; _i<_wv.length ; _i++ )
      { if (_wv[_i].className.toLowerCase() == 'wordtvervolgd') 
          { var _what1 = _what*1+1; _wv[_i].innerHTML = '<a href="fvs_'+_what1+'.htm">'+ _nxt +'bladzijde '+_what1+'</a>' }
      } ; route_log += 'P'
  } catch(e) { window.status = "error in route-wordtvervolgd" ; (_debug ? Confirm(window.status +' '+ e) : false) }
try
  { angles() ; route_log += 'Q'
  } catch(e) { window.status = "error in route-angles" ; (_debug ? Confirm(window.status +' '+ e) : false) }
try
  { if (document.getElementsByName("menubar").length > 0)
      { ieFix('menu') ;
        // document.body.style.marginTop = '6px' // alert( document.body.style.marginTop )
        route_log += 'R' }
  } catch(e) { window.status = "error in route-menubar" ; (_debug ? Confirm(window.status +' '+ e) : false) }

  
try
  { if (document.getElementById('hnts'))
      { proc_hint('hnts') ; route_log += 'S' }
  } catch(e) { } //  window.status = "error in route-hints" ; (_debug ? Confirm(window.status +' '+ e) : false) }
try
  { var _i
    if (document.getElementsByName("pdf").length == 0)
      { var _pdfs = document.getElementsByName("printpdf")
        for(_i=0; _i<_pdfs.length ; _i++ )
          { _pdfs[_i].className = "leerling" }
      }
    else
      { window.onbeforeprint = BeforePrintAlert }
    route_log += 'U'
  } catch(e) { window.status = "error in route-pdf" ; (_debug ? Confirm(window.status +' '+ e) : false) }
try
  { dropmenu() ; route_log += 'V'
  } catch(e) { window.status = "error in route-dropmenu" ; (_debug ? Confirm(window.status +' '+ e) : false) }
try
  { RemoveElement('sorry') ; route_log += 'W' ; window.focus()
  } catch(e) { } //  window.status = "error in route-sorry" ; (_debug ? Confirm(window.status +' '+ e) : false) }
// (_debug ? Confirm(route_log) : false)
window.status = (_debug ? route_log : '')
return true
} catch(e) { window.status = "Error in body.onload function route : " + _what + '  ' + e }
}
// Account ID : 449768
// Website URL: http://home.planet.nl/~hietb071

function klap( _id )
{ try {
var _klap = 'klap_' + _id
var _klp  = 'klp_'  + _id
if (document.getElementById(_klap).innerHTML=='&nbsp;' )
  { document.getElementById(_klap).innerHTML = _klapper[_klap]
    document.getElementById(_klp).innerHTML = _upr + ' klap in' }
else
  { _klapper[_klap] = document.getElementById(_klap).innerHTML
    document.getElementById(_klap).innerHTML = '&nbsp;'
    document.getElementById(_klp).innerHTML = _dwn + ' klap uit' }
} catch(e) { window.status = "error in klap=" + _id  ; (_debug ? Confirm(window.status +' '+ e) : false) }
return false
}

function getInnerText( _id )
{ if (typeof(_id) == 'object')
{
 try { return _id.innerText }
  catch (e) 
   { try { return _id.textContent
   } catch(e) { window.status = "error in getInnerText=" + _id.innerHTML  ; (_debug ? Confirm(window.status +' '+ e) : false) } } }
else
{ try { return document.getElementById(_id).innerText }
  catch (e) 
   { try { return document.getElementById(_id).textContent
   } catch(e) { window.status = "error in getInnerText=" + _id  ; (_debug ? Confirm(window.status +' '+ e) : false) } } }
return ''
}

function getInnerHTML( _id )
{ try { return document.frames(_id).document.body.innerHTML }
catch (e) 
 { try { return document.getElementById(_id).contentDocument.body.innerHTML
   } catch(e) { window.status = "error in getInnerHTML=" + _id  ; (_debug ? Confirm(window.status +' '+ e) : false) } }
return ''
}

var brwsr 
function angles()
{ try  {
  brwsr = navigator.userAgent.toLowerCase()
  if ((brwsr.indexOf('firefox') != -1) || (brwsr.indexOf('opera') != -1) || (brwsr.indexOf('safari') != -1))
   return
  var re = new RegExp(unescape('%u2220'),'g')
  document.body.innerHTML = document.body.innerHTML.replace(re,'<span class="symbol">&#208;</span>') 
  var re = new RegExp(unescape('%u223C'),'g')
  document.body.innerHTML = document.body.innerHTML.replace(re,'<span class="symbol">&#126;</span>') 
  var re = new RegExp(unescape('%u2245'),'g')
  document.body.innerHTML = document.body.innerHTML.replace(re,'<span class="symbol">&#64;</span>') 
  var re = new RegExp(unescape('%u21D4'),'g')
  document.body.innerHTML = document.body.innerHTML.replace(re,'<span class="symbol">&#219;</span>') 
} catch(e) { }
}

function MyInsertAdjacentHTML( _where , _how ,  _what )
{ if (typeof(_what) == "undefined")
    { return }
var _wh = (typeof(_where) == "string" ? document.getElementById(_where) : _where )
try { _wh.insertAdjacentHTML( _how, _what) }
catch(e)
{ try {
var df
var r = _wh.ownerDocument.createRange();
switch (String(_how).toLowerCase())
{
case "beforebegin":
 r.setStartBefore(_wh);
 df = r.createContextualFragment(_what);
 _wh.parentNode.insertBefore(df, document.getElementById(_where));
 break;
case "afterbegin":
 r.selectNodeContents(_wh);
 r.collapse(true);
 df = r.createContextualFragment(_what);
 _wh.insertBefore(df, _wh.firstChild);
 break;
case "beforeend":
 r.selectNodeContents(_wh);
 r.collapse(false);
 df = r.createContextualFragment(_what);
 _wh.appendChild(df); 
 break;
case "afterend":
 r.setStartAfter(_wh);
 df = r.createContextualFragment(_what);
 _wh.parentNode.insertBefore(df, _wh.nextSibling);
 break;
} } catch(e) { window.status = "error in MyInsertAdjacentHTML=" + _what  ; (_debug ? Confirm(window.status +' '+ e) : false) } }
}

function startSWF( _name , _path , _file)
{ try {
var _str =  _idc + '<html><head><TITLE>' + _name + '</TITLE></head> '  
_str    += ' <p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"  width="100%" height="100%"> ' 
if (_path == '')
  _str    += ' <param name=movie value="' + _file + '"> '
else
  _str    += ' <param name=movie value="' + _path + '/' + _file + '"> '
_str    += ' <param name=menu value=false> '
_str    += ' <param name=quality value=high> '
if (_path == '')
  _str    += ' <embed src="' + _file + '" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100%" height="100%"> </embed> '
else
  _str    += ' <embed src="' + _path + '/' + _file + '" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100%" height="100%"> </embed> '
_str    += ' </object></body></html> ' 
_myWin=window.open('','swf',_opt) ; 
_myWin.document.open();
_myWin.document.write( _str );
_myWin.document.close();
_myWin.focus()
return true
} catch(e) { window.status = "error in StartSWF=" + _file  ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

function act()
{ try {
var _nm = document.getElementById('nm').value
var _ac = document.getElementById('ac').value
var _xx = createCookie("docent" , _nm   ,1)
var _xx = createCookie("code"   , _ac   ,1)
document.getElementById('sorry').innerHTML = 'Activering is geslaagd voor docent  ' + _nm + '<br>&nbsp;<br><a href="http://www.fransvanschooten.nl">http://www.fransvanschooten.nl</a>'
} catch(e) { document.getElementById('sorry').innerHTML = 'Activering is mislukt' }
}

function act_cals()
{ try {
var _nm = "cals"
var _ac = "leerling"
var _xx = createCookie("docent" , _nm   ,1)
var _xx = createCookie("code"   , _ac   ,1)
document.getElementById('sorry').innerHTML = 'Ga naar opdracht <a href="fvs_126.htm">' + _nxt +'126</a>' + _prv
} catch(e) { document.getElementById('sorry').innerHTML = 'Activering is mislukt' }
}


function act_leuven()
{
try { 
var _nm = "leuven"
var _ac = "student"
var _xx = createCookie("docent" , _nm   ,1)
var _xx = createCookie("code"   , _ac   ,1)
document.getElementById('sorry').innerHTML = 'Ga naar <a href="fvs_index.htm">' + _nxt +'www.fransvanschooten.nl </a>' + _prv
} catch(e) { document.getElementById('sorry').innerHTML = 'Activering is mislukt' }
}

function act_puite()
{
try { 
var _nm = "cals"
var _ac = "Quintijn"
var _xx = createCookie("docent" , _nm   ,1)
var _xx = createCookie("code"   , _ac   ,1)
document.getElementById('sorry').innerHTML = 'Ga naar <br><a href="fvs_092_mp_bewijs.htm">' + _nxt +'www.fransvanschooten.nl </a>' + _prv
} catch(e) { document.getElementById('sorry').innerHTML = 'Activering is mislukt' }
}


function docent()
{ try {
var _dc = readCookie("docent")
if (_dc.length > 0)
  { var _ll  = '<ul class="none"><li><a href="fvs_docent.htm" >' + _nxt + 'Overzicht Uitwerkingen en Opdrachten </a></li></ul>'
    document.getElementById("ovz").outerHTML = _ll }
} catch (e) { document.getElementById('sorry').innerHTML = 'Activering Uitwerkingen is mislukt' }
}

function check_docent()
{ try {
  if (location.protocol == 'http:') 
   { var _dc = readCookie("docent")
     if (_dc.length > 0)
       { return true }
     else   
       { document.body.innerHTML = '<p>Deze webpagina wordt pas vrijgegeven als de inhoud gecontroleerd is.<br>Docenten en genodigden krijgen toegang tot het afgeschermde deel van de website.<br><br>Tip: Stuur een e-mail naar <B>frans.van.schooten<img src="images/fvs.at.gif" alt="" class="vab">planet.nl</B>.<br>Dan ontvangt u een persoonlijke activeringscode met verdere instructies.</p><p><a href="http://www.fransvanschooten.nl">www.fransvanschooten.nl</a></p>' ; return false}
   }
  else
   { return true }
} catch(e) { window.status = "error in check_docent" ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

// removes a html element
function RemoveElement( _emt )
{ try {
var _tmp = document.getElementById( _emt )
var _par = _tmp.parentNode
var _chl = _par.removeChild( _tmp )
} catch(e) { if (_emt!='sorry')
    { window.status = "error in RemoveElement=" + _emt ; (_debug ? Confirm(window.status +' '+ e) : false) } }
}

function proc_hint( _id )
{ try { 
_hinterG = document.getElementById('hint').innerHTML; 
var _tab = document.getElementById( _id ); 
var _i
for( _i=_tab.rows.length-1; _i>=0 ; _i-- ) 
 { var _hi = 'hint'+_i ; _hinter[_hi] = _tab.rows[_i].cells[0].innerHTML ; _tab.deleteRow(_i) }
RemoveElement(_id)
document.onmouseover = rollon;
document.onmouseout = rolloff;
if (document.getElementById('opdrachten_top') && document.getElementById('hints_top'))
{ document.onresize = resize_hint() }
} catch(e) { window.status = "error in proc_hint=" + _id + ' '+ e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

function resize_hint()
{ var martop = document.getElementById('opdrachten_top').offsetTop - document.getElementById('hints_top').offsetTop
  document.getElementById('hints_top').style.marginTop = (martop > 0 ? martop : 0 ) + 'px'
}

var test = true
function rollon(t) { try {
if (rollon.arguments.length==0)
{ if (window.event.srcElement.className.substr(0,6) != "hint_m")
    { return true}
  mover_hint_img(window.event.srcElement.src) }
else
{ if (t.target.className.substr(0,6) != "hint_m")
    {return true}
  mover_hint_img(t.target.src) }
} catch(e) { window.status = "error in rollon" + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
return true
}
function rolloff(t) { try {
if (rolloff.arguments.length==0)
{ if (window.event.srcElement.className.substr(0,6) != "hint_m")
    return true }
else
{ if (t.target.className.substr(0,6) != "hint_m")
    return true }
mout_hint_img('')
} catch(e) { window.status = "error in rolloff=" + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
return true
}

function mover_hint( _id )
{ try { var _hi = 'hint'+_id
if (_hinter[_hi] != null)
  document.getElementById('hint').innerHTML = 'Hint '+ (_id+1) +': '+ _hinter[_hi]
} catch(e) { window.status = "error in mouseover=" + _id + ' '+ e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

function mout_hint()
{ try { document.getElementById('hint').innerHTML = _hinterG + '&nbsp;'
} catch(e) { window.status = "error in mouseout=" + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

var hint_img = ''
function mover_hint_img( _img )
{ if (_img=='')
    { return }
  try { hint_img=document.getElementById('hint_img').src
        document.getElementById('hint_img').src = _img
//        document.getElementById('hint_img').className = "hint_i" 
//        document.getElementById('hint_img').height = document.getElementById('hint_img').naturalHeight
//        document.getElementById('hint_img').width = document.getElementById('hint_img').naturalWidth
} catch(e) { window.status = "error in mouseover_img=" + _img + ' '+ e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

function mout_hint_img()
{ try { document.getElementById('hint_img').src = hint_img 
} catch(e) { window.status = "error in mouseout_img=" + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

function preload()
{
var _timeoutID = window.setTimeout(_preload, 100)
}
function _preload()
{
MyInsertAdjacentHTML( 'preload' , "AfterEnd" , '<IFRAME id="nonavig" name="nonavig" class="leerling" src="fvs_navig.htm" frameborder=0 ></IFRAME>' +
'<IFRAME id="applet1" class="leerling" src="fvs_122a.htm" frameborder=0 scrolling=no ></IFRAME>')
RemoveElement('preload') 
}

function dropmenu()
{ try {
var drp = document.getElementsByTagName('OL') // + document.getElementsByTagName('UL')
for(_i=drp.length-1; _i>=0 ; _i-- ) 
{ if (drp[_i].className=='dropmenu')
  { for(_j=0;_j<drp[_i].childNodes.length;_j++)
    { var _n = drp[_i].childNodes[_j]
      if (_n.nodeName.toLowerCase()=="li")
        { if (_n.className=="bold")
           { _n.onmouseover = function() { this.className = "dropbold";getDrop(this) }
             _n.onmouseout  = function() { this.className = "dropoutbold";loseDrop(this) } }
          else
           { _n.onmouseover = function() { this.className = "drop";getDrop(this) }
             _n.onmouseout  = function() { this.className = "dropout";loseDrop(this) } }
        }
    }
  }
}
} catch(e) { window.status = "error in dropmenu="+ "  " + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}
function getDrop(_t)
{ try {
 var drp = _t.getElementsByTagName('UL')
  if (drp.length >0)
    { drp[0].style.top = "-"+ drp[0].offsetHeight+"px" //; alert(drp[0].firstChild.firstChild.nodeName )
      if (drp[0].firstChild.firstChild)
        { if (typeof(drp[0].firstChild.firstChild.width) != "undefined")
          { try { drp[0].style.width = drp[0].firstChild.firstChild.width + "px" } catch(e) {} } }
      drp[0].style.zIndex="9"
    }
} catch(e) { window.status = "error in getDrop="+ "  " + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}
function loseDrop(_t)
{ try {
  var drp = _t.getElementsByTagName('UL')
  if (drp.length >0)
    { drp[0].style.top = "0px" }
} catch(e) { window.status = "error in loseDrop="+ "  " + e  ; (_debug ? Confirm(window.status +' '+ e) : false) }
}



// per frame is er maar één window object en voor dat ene window kan maar één timer gecreerd worden.
// de code vereist dat in het frame keihard gecodeerd staat het volgende statement
// <script> var ir = new ImageRotator </script>
// gevolg is dat de variabele ir lokaal gedefinieerd is
// voor de geschedulde functie
// niet echt fraai, maar het werkt met script!
ImageRotator = function()
{
  var img_nm0,img_nm1,img_nm2,img_mx,img_ac,img_ln,img_fr,img_id,img_st,timeoutID,img_list,img_prio ;
}

ImageRotator.prototype.Start = function(_nm,_max,_freq,_idHTML,_prio,_stop)
{ try {
if (typeof(_prio) == "undefined")
  _prio = 'B'
if (typeof(_stop) == "undefined")
  _stop = false
var i = _nm.search(/[0-9]/)
// if(i == -1)
//   return 
resetRotatorPrio( )
this.img_nm0 = _nm
this.img_nm1 = ( i==0 ? '' : _nm.substr(0,i));
this.img_prio = _prio
var j = _nm.substr(i).search(/[^0-9]/)
// if(j == -1)
//   return
this.img_ln  = j - 1
this.img_nm2 = _nm.substr(i+j)
if (this.img_mx==0)
  this.img_mx = _max
this.img_fr = _freq
this.img_id = _idHTML
this.img_ac = 0
this.img_ac = Math.round(Math.random()*(this.img_mx)+0.5)
this.img_st = _stop
if (window.frameElement.title.toLowerCase() == 'random')
{ if (this.img_list.length > 0)
  { document.getElementById(this.img_id).src = this.img_nm0 + this.img_list[this.img_ac-1] }
  else
  { document.getElementById(this.img_id).src = this.img_nm1 + leadingZero( this.img_ac , this.img_ln ) + this.img_nm2 }
  document.getElementById(this.img_id).title = 'klik met de muis om alle afbeeldingen te zien'
  document.getElementById(this.img_id).onclick = this.Restart }
else
{ this.timeoutID = window.setTimeout(this.Run, _freq)
  document.getElementById(_idHTML).title = 'klik met de muis om de vertoning te onderbreken'
  document.getElementById(_idHTML).onclick = this.Stop }
} catch(e) { window.status = 'error in ImageRotator.Start: ' + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

ImageRotator.prototype.List = function(lst)
{ try {
{ this.img_list=lst ; this.img_mx = lst.length }
} catch(e) { window.status = 'error in ImageRotator.List: ' + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}


ImageRotator.prototype.Run = function()
{ try {
if (checkRotatorPrio( ir.img_prio ))
  { ir.img_ac += 1
    if (ir.img_ac > ir.img_mx)
      { if (ir.img_st)
          { ir.Stop(); return }
        else
          ir.img_ac = 1 }
    if (ir.img_list.length > 0)
      { document.getElementById(ir.img_id).src = ir.img_nm0 + ir.img_list[ir.img_ac-1] }
    else
      { document.getElementById(ir.img_id).src = ir.img_nm1 + leadingZero( ir.img_ac , ir.img_ln ) + ir.img_nm2 }
  }
ir.timeoutID = window.setTimeout(ir.Run, ir.img_fr) 
} catch(e) { window.status = 'error in ImageRotator.Run: ' + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

ImageRotator.prototype.Stop = function()
{ try {
window.clearTimeout(ir.timeoutID)
document.getElementById(ir.img_id).title = 'klik met de muis om alle afbeeldingen te zien'
document.getElementById(ir.img_id).onclick = ir.Restart
} catch(e) { window.status = 'error in ImageRotator.Stop: ' + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

ImageRotator.prototype.Restart = function()
{ try {
ir.img_ac = 1
document.getElementById(ir.img_id).onclick = ir.Stop
document.getElementById(ir.img_id).title = 'click to stop the animation'
document.getElementById(ir.img_id).src = ir.img_nm1 + leadingZero( ir.img_ac , ir.img_ln ) + ir.img_nm2
ir.timeoutID = window.setTimeout(ir.Run, ir.img_fr) 
} catch(e) { window.status = 'error in ImageRotator.Restart: ' + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

function leadingZero( _number , _len )
{ try { 
var _str = _number.toString()
for (var _i = _len - _str.length; _i>=0; _i--) 
{ _str = '0' + _str }
return _str
} catch(e) { window.status = 'error in leadingZero: ' + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}


function uitwerking(_uitw,_applet)
{ try {
if (! document.getElementById("docenten_div"))
  { return }
if (typeof(_uitw)=="undefined")
  { document.getElementById("docenten_div").className = "leerling" ; return }
document.getElementById("docenten_div").className = "noprint"
if (typeof(_applet)=="undefined")
  { document.getElementById("applet_div").className = "leerling" }
else
  { document.getElementById("applet_div").className = "noprint"
    document.getElementById("applet_ref").href = _applet }
var _dc = readCookie("docent")
if (_dc.length==0)
  { document.getElementById("uitwerking_div").className = "leerling"
    document.getElementById("origineel_div").className = "leerling"
    document.getElementById("docent_div").className = "leerling" }
else
  { document.getElementById("uitwerking_div").className = "noprint"
    document.getElementById("uitwerking_ref").href = _uitw
    document.getElementById("origineel_div").className = "noprint"
    if (document.getElementById("origineel_ref_redirect"))
      { document.getElementById("origineel_ref").href = document.getElementById("origineel_ref_redirect").title }
    else
      { document.getElementById("origineel_ref").href = _uitw.substr(0,7)+'.htm' }
    document.getElementById("docent_ref").href = 'fvs_docenten' + (document.location.href.indexOf('d.htm') < 0 ? 'x' : '' ) +  '.htm'
    document.getElementById("docent_ref").title = 'open een webpagina met het overzicht van alle opdrachten en uitwerkingen (' + (document.location.href.indexOf('d.htm') < 0 ? 'onderbouw' : 'bovenbouw' ) +  ' versie)' }
var onder = ((document.location.href.indexOf('_ll.htm') < 0 ) && (document.location.href.indexOf('_d.htm') < 0 ))
document.getElementById("onderboven_ref").title	= 'ga naar de ' + (onder ? 'boven' : 'onder') + 'bouwversie van deze opdracht'
document.getElementById("onderboven_ref").innerHTML	= '&nbsp;&nbsp;<img src="next.gif" class="nextimg" alt=""> ' + (onder ? 'boven' : 'onder') + 'bouw versie'
document.getElementById("onderboven_ref").href = (onder ? document.location.href.replace('_xx.','_ll.') : document.location.href.replace('_ll.','_xx.') )
document.getElementById("onderboven_tab").className ="noprint tabright"
document.getElementById("onderboven_tab").innerHTML = '<p class="vervolg headertitle">' + (onder ? 'Onder' : 'Boven' ) +'bouw versie</p>'
document.title += (onder ? ' (onderbouw)' : ' (bovenbouw)' )
  } catch(e) { window.status = 'error in uitwerking: ' + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

function generate_applet(a)
{ try { 
var _args = generate_applet.arguments.length // ; alert(_args)
var _t = ''
var _i
for(_i=0;_i < _args;_i++)
  { _t += document.getElementById( generate_applet.arguments[_i] ).innerHTML + '\n' }
Venster2(_t)
} catch(e) { window.status = 'error in generate_applet: ' + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

// <script type="text/javascript"> var dr = new DivRotator </script>
// <div id="divbox_rot" class="boxl" height:400px;>
// <img src="empty.gif" height="400" width="1" alt="">

DivRotator = function()
{ var timeoutID, parent, div_fr, div_strt, div_prio, current, started;
}

DivRotator.prototype.rotateDiv = function ( _box, _parent , _freq , _start , _prio )
{ try {
if (typeof(_box) == "undefined")
   { return }
if (!document.getElementById(_box))
   { return }
if (typeof(_parent) == "undefined")
   { return }
if (typeof(_freq) == "undefined")
   { _freq = 2000 }
if (typeof(_start) == "undefined")
   { _start = 10 * _freq }
if (typeof(_prio) == "undefined")
   { _prio = 'R' }
this.parent = _parent.split(' ')
if (this.parent.length == 0)
   { return }
this.div_fr = _freq
this.div_strt = _start
this.div_prio = _prio
this.current = 0
this.started = false

document.getElementById(_box).innerHTML = '<div class="bordertop"><p class="bijschriftkop">Rollende Krant</p><p class="bijschrift">De button linksboven start en stopt de rollende krant met korte inleidingen over deze website.</p><table><tr><td><p class="bijschriftkop"><a href="fvs_index.htm" title="Start de rollende krant" onClick="dr.InitRun();return false"><img width="16" src="start.gif" alt="">Start</a></p><td><p class="bijschriftkop" style="text-align:right"><a href="fvs_index.htm" title="Stop de rollende krant" onClick="dr.InitStop();return false"><img width="16" src="stop.gif" alt="">Stop</a></p></table>' + document.getElementById(_box).innerHTML + '</div>'
// zonder <hr><IFRAME id="bb_frame0" class="leerling" src="fvs_biografie_add.htm" frameborder=0 ></IFRAME></div>
for( var _p=0; _p < this.parent.length ; _p++)
{ document.getElementById(_box).innerHTML += document.getElementById( this.parent[_p]).innerHTML }
var _par = document.getElementById( _box )
_par.style.position="absolute"
_par.style.right="15px"
_par.style.overflow="hidden"
_par.style.zIndex="2"
for( var _i=_par.childNodes.length-1; _i>=0 ; _i-- ) 
{ if (_par.childNodes[_i].nodeName.toLowerCase() == 'div')
    { _par.childNodes[_i].className = "leerling" }
  else
    { _par.removeChild(_par.childNodes[_i]) }
}
_par.childNodes[0].className = "bordertop" 
resetRotatorPrio( )
this.parent = _box
this.timeoutID = window.setTimeout(this.InitRun, _start)
MyInsertAdjacentHTML( _box , 'AfterEnd' , '<p class="noprint" style="position:absolute;z-index:2;top:2px"><a id="startstopA" href="fvs_index.htm" onClick="dr.ButtonRun();return false" title="Start de rollende krant">&nbsp;<img id="startstopI" src="start.gif" alt="" title="Start de rollende krant">&nbsp;</a><p style="position:absolute;z-index:2;top:0px;right:20px" class="noprint vervolg"><a href="fvs_index.htm" title="ga naar de startpagina van www.fransvanschooten.nl">www.fransvanschooten.nl</a></p> ')

} catch(e) { window.status = 'error in DivRotator.rotateDiv: ' + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}


DivRotator.prototype.InitRun = function ()
{ try { dr.started = false ; dr.ButtonRun()
} catch(e) { window.status = 'error in DivRotator.InitRun: ' + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}
DivRotator.prototype.InitStop = function ()
{ try { dr.started = true ; dr.ButtonRun()
} catch(e) { window.status = 'error in DivRotator.InitStop: ' + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}
DivRotator.prototype.ButtonRun = function ()
{ try {
if (!dr.started)
  { document.getElementById('startstopI').src = "stop.gif"
    document.getElementById('startstopA').title="Stop de rollende krant"
    dr.started = true
    dr.Run() } 
else
  { document.getElementById('startstopI').src = "start.gif"
    document.getElementById('startstopA').title="Start de rollende krant"
    dr.started = false
    dr.Stop() } 
} catch(e) { window.status = 'error in DivRotator.ButtonRun: ' + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}
DivRotator.prototype.ButtonStop = function ()
{ try {
document.getElementById('startstopI').src = "start.gif"
document.getElementById('startstopA').onclick = "dr.ButtonRun();return false"
document.getElementById('startstopA').title="Stop de rollende krant"
dr.Stop
} catch(e) { window.status = 'error in DivRotator.ButtonStop: ' + e ; (_debug ? Confirm(window.status +' '+ e) : false) }

}

DivRotator.prototype.Run = function ()
{ try {
var _parent = document.getElementById(dr.parent)
if (checkRotatorPrio( dr.div_prio ))
  {
    if (dr.current >= _parent.childNodes.length )
      { dr.current == 0
        resetRotatorPrio()
        dr.timeoutID = window.setTimeout(dr.Run, dr.div_strt)
        return
      }
    _parent.childNodes[0].className = "leerling"
    _parent.appendChild( _parent.childNodes[0] )
    _parent.childNodes[0].className = "bordertop"
    dr.current += 1 
  }
dr.timeoutID = window.setTimeout(dr.Run, dr.div_fr)
} catch(e) { window.status = 'error in DivRotator.Run: ' + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

DivRotator.prototype.Stop = function()
{ try {
window.clearTimeout(dr.timeoutID)
} catch(e) { window.status = 'error in DivRotator.Stop: ' + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
return false
}

function resetRotatorPrio( )
{ 
  createCookie("rotator", 'A', 1)
}

function checkRotatorPrio( _prio )
{ try {
var _cur = readCookie("rotator")
if (_prio == _cur)
  return true
else if (_prio > _cur)
  createCookie("rotator", _prio, 1)
return false
} catch(e) { window.status = 'error in checkRotatorPrio: ' + e ; (_debug ? Confirm(window.status +' '+ e) : false) }
}

// onError="this.src='empty.gif';"

function ClearElementById()
{
var _args = ClearElementById.arguments.length
var _i
for(_i=0;_i < _args;_i++)
{ document.getElementById( ClearElementById.arguments[_i] ).innerHTML = "" }
}

function gcd()
{
var _args = gcd.arguments.length
var _i
var _gcd = gcd.arguments[0]
for(_i=1;_i < _args;_i++)
{ _gcd = gcd2( _gcd , gcd.arguments[_i] )
  if (_gcd == 1)
    return 1
}
return _gcd
}

function gcd2(a,b)
{ var temp;
if (a < 0)
  {a = -a}
if (b < 0)
  {b = -b}
if (b > a)
  {temp = a; a = b; b = temp}
while (true)
{ a %= b
  if (a == 0)
    {return b}
   b %= a
   if (b == 0)
     {return a}
}
return b
}

function checkABC( a , b , c )
{ if (Math.abs(a) > 1e+24)
    { return false }
  if (Math.abs(b) > 1e+24)
    { return false }
  if (Math.abs(c) > 1e+24)
    { return false }
var aa = a % 100
var bb = b % 100
var cc = c % 100
var dd = (aa * aa + bb * bb) % 100
var ee = (cc * cc) % 100
return (dd==ee)
}

function BeforePrintAlert()
{ var _pdf = readCookie("pdf")
  var _pdfnum = 0
  if (_pdf.length > 0)
    { var _pdfint = parseInt(_pdf)
      if (! isNaN(_pdfint) )
        { _pdfnum = _pdfint }
      if (_pdfnum > 9)
        { return } }
  alert("Omdat oudere browsers soms moeite hebben met de opmaak, \nkunt u beter de PDF afdrukken.\nDe print button staat rechtsboven in het menu.")
  _pdfnum += 1
  createCookie("pdf",String(_pdfnum),1)
}
/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this scriptt and the associated (x)html
is available at http://www.stunicholls.com/menu/hover_drop_1.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This script and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

function ieFix(topLevel) 
{
var ua = navigator.userAgent;
var isMSIE = (navigator.appName == "Microsoft Internet Explorer")
var isMSIE5_5 = isMSIE && (ua.indexOf('MSIE 5.5') != -1)
var isMSIE6 = isMSIE && (ua.indexOf('MSIE 6.0') != -1)
if (isMSIE5_5 || isMSIE6) 
  { document.getElementById(topLevel).innerHTML = document.getElementById(topLevel).innerHTML.replace (/<ul/gi,"<table><tr><td><ul").replace (/<\/ul>/gi,"</ul></td></tr></table></a>");
    for (i=0;i<document.getElementsByTagName("li").length; i++) 
      { if (document.getElementsByTagName("li").item(i).className == "sub")
          { document.getElementsByTagName("li").item(i).innerHTML = document.getElementsByTagName("li").item(i).innerHTML.replace(/<\/a>/i,"") } } }
}

// via internet wordt de meest recente JAR gedownload en niet van mijn webspace
function geogebra(div,ggb,hoogte,title,offline)
{
if (typeof(div) == "undefined")
  { div = '' }
if (typeof(ggb) == "undefined")
  { ggb = '' }
if (typeof(hoogte) == "undefined")
  { hoogte = screen.height - 200 } //  '500'  //  '100%' }
if (typeof(title) == "undefined")
  { title = '' }
if (typeof(offline) == "undefined")
  { offline = false }
var string = _idc  + '<html><head><title>Geogebra'
if (location.protocol == 'http:')
  string +=' Internet Versie '
else
  string +=' Lokaal '
string += title ;
string +='</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link rel="stylesheet" type="text/css" href="default.css">';
string +='<script src="common.js" type="text/javascript"></script>'
string +='</head>';
string +='<body>';
if (div != '')
  { if (document.getElementById(div))
      { string+= document.getElementById(div).innerHTML } }
string+='<form id="GeogebraForm" name="GeogebraForm" action="" class="noprint"><input type="button" id="GeogebraButton" tabindex="1" value="Schakel over naar de Geogebra Editor" onClick="GeogebraEdit()" title="Activeer de Geogebra editor (als je mijn geheime wachtwoord kent)"></form>'
string+='<applet code="geogebra.GeoGebraApplet.class"'; 
if (typeof(ggb) == "undefined")
  { ggb = '' }
if (offline == true)
  { string+=' archive="../Portfolio/WebHenk/geogebra/geogebra/geogebra.jar"' }
else
  { if (location.protocol == 'http:')
      { string+=' archive="http://www.geogebra.org/webstart/geogebra.jar"'
        if (ggb != '')
          { ggb =  _fiuu + ggb  } }
    else
      { string+=' archive="../Portfolio/WebHenk/geogebra/geogebra/geogebra.jar"' } }
string+=' width="100%" height="'+hoogte+'">'
if (ggb != '')
  string+='<param name="filename" value="' + ggb + '"><param name="framePossible" value="false"><param name="showResetIcon" value="true"><param name="showAnimationButton" value="true"><param name="enableRightClick" value="false"><param name="enableLabelDrags" value="false"><param name="showMenuBar" value="false"><param name="showToolBar" value="true">' + _ggb_ctb + '<param name="showToolBarHelp" value="true"><param name="showAlgebraInput" value="false">'
else
  string+=' <param name="framePossible" value="false"><param name="showMenuBar" value="true"><param name="showToolBar" value="true"><param name="showAlgebraInput" value="true"><param name="showResetIcon" value="true">'
string+='<param name="language" value="nl">Sorry, the GeoGebra Applet could not be started. </applet>'
var r1 = new RegExp('"','gi')
var r2 = new RegExp('<','gi')
var r3 = new RegExp('>','gi')
string+='<img src="empty.gif" id="copy" alt="' + string.replace(_ggb_ctb,'').replace(r1,'&quot;').replace(r2,'&lt;').replace(r3,'&gt;') + '"></body></html>'
// venster eigenschappen
var w = screen.width  - 20
var h = screen.height - 20 ;
var p = 'top=0,left=0,width='+w+',height'+h+',scrollbars=yes,resizable=yes,status=yes,toolbar=yes,menubar=yes'
var n  = Math.random() + ' '
var nm= 'x' + n.slice(2,8)
var myWin=open('',nm,p)
myWin.document.open()
myWin.document.write(string)
myWin.document.close()
return false
}
