<!--
pijlgezet='0';

function klik ()
{
parent.frames["leeg"].location.replace("/cgi-bin/sponsorstats.pl?kwb");
return true;
}


// ******************* FUNCTIE VOOR BEPALEN RESOLUTIE **************************************

markRefresh = 25; // milliseconds
actanker='-1';
ankerreset = '0';

ver = "";
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
if (bName == "Netscape" && bVer >= 3) {ver = "n3";}


if (bName == "Microsoft Internet Explorer" && bVer >= 3) {ver= "i3";}
//IE V3 or greater

if (ver == "i3")
{
//For IE 3.2 or better -->
  var hoog=window.screen.height;
  var breed=window.screen.width;
  }

else if (ver == "n3")
{
//For Netscape 3.0 or better -->
    var toolkit = Packages.java.awt.Toolkit.getDefaultToolkit();
    var screen_size = toolkit.getScreenSize();
    var hoog=screen_size.height;
    var breed=screen_size.width;
  }


// CODES TBV ZWEVEND PIJLTJE BIJ INKLAPPEN MENUFRAME
nav = (document.layers) ? true : false;
ie  = (document.all) ? true : false;

navDOM = window.innerHeight; // Nav DOM flag

//ns4=(navigator.appName=="Netscape" && parseInt(navigator.appVersion)>3) ? true:false;

klapW = 11;       // pixels wide
klapH = 11;       // pixels high
klapX = 0;      // percent right
klapY = 50;      // percent down

if (breed < 810) {poscorrectie = 3;}
else if (breed < 1030) {poscorrectie=2;}
else {poscorrectie = 0;}

markWf = 11;
markHf = 5;
markXf = 96 - poscorrectie;
markYf = 98.2 - poscorrectie;
markYf = 98.2 - poscorrectie;

kopW = 11;
kopH = 11;
markXk = 99 - poscorrectie;
markYk = 2 - poscorrectie;

markW = 30;       // pixels wide
markH = 26;       // pixels high
markX = 99.8 - poscorrectie/3;      // percent right
markY = 99.8 - poscorrectie/3;      // percent down


if ( (document.location.href.search("cgi-bin") != -1) || (document.location.href.search("sea.pl") != -1) )
{
pijltje='../images/omhoog.gif';
klapuit='../images/klapuit.gif';
kopnav='../images/kopnavigatie.gif';
kopvis="hidden";
zoekvis="hidden";
} else {
pijltje=parent.frames['code'].pijltje.src;
klapuit=parent.frames['code'].klapuit.src;
kopnav=parent.frames['code'].kopnav.src;
kopvis="visible";
zoekvis="visible";
}

if (ie)
{
if (parent.document.body.cols == "0,*") {klappijl="visible";} else {klappijl="hidden";}

scrollalert="Klap menuframe terug naar oorspronkelijke grootte met één klik";

km=eval(document.writeln("<DIV id='klapMark' style='position:absolute; visibility:" + klappijl + "'><a href='javascript:parent.window.expandf();' onLoad='self.focus();' onmouseover=\"window.status=\'"+scrollalert+"\'; return true;\" onmouseout=\"window.status=\' \'; return true;\"><img src='"+klapuit+"' border='0' alt='"+scrollalert+"' width='11' height='11'><\/a><\/DIV>"));

scrollalert="Zoek in de tekst en vind vervolgtreffers. Vooral handig voor zoeken naar meerdere vindplaatsen/termen na elkaar. Dubbelklik: tussentijds een andere zoekterm instellen";

zp=eval(document.writeln("<DIV id='zoekpagikoon' style='position:absolute; visibility:" + zoekvis + "'><a href='javascript:void;' onclick='parent.frames[\"text\"].focus(); return parent.frames[\"text\"].window.startfindInPage();' onDblclick='parent.frames[\"text\"].window.rondgeweest=true; return parent.frames[\"text\"].window.startfindInPage();' onmouseover='window.status=\""+scrollalert+"\"; return true;' onmouseout='window.status=\" \"; return true;'><img src='"+parent.frames['code'].zoekpag.src+"' border='0' alt='"+scrollalert+"' width='15' height='15'></a></DIV>"));

//CODE VOOR KOPNAVIGATIE
scrollalert="Naar volgende kop op deze pagina (zie statusbalk). Dubbelklikken: naar eerste kop op deze pagina";

ki=eval(document.writeln("<DIV id='kopikoon' name='kopikoon' style='position:absolute; visibility:" + kopvis + "'><a href='javascript:void;' onclick='parent.frames[\"text\"].focus();  actanker++; if (actanker >= markeraantal) {actanker = ankerreset;}; parent.frames[\"text\"].document.location.href=parent.frames[\"text\"].document.location.pathname+marker[actanker];' onDblclick='actanker = ankerreset; parent.frames[\"text\"].document.location.href=parent.frames[\"text\"].document.location.pathname+marker[actanker];' onmouseover='tsanker=actanker; tsanker++; if (tsanker >= markeraantal) {tsanker=akerreset;}; toonnr=tsanker; toonnr++; scrollalert=\"NAAR KOP NR.\"+toonnr+\"\/\"+markeraantal+\": \"+toonmark[tsanker]; window.status=scrollalert; return true;' onmouseout='window.status=\" \"; return true;'><img src='"+kopnav+"' border='0' alt='"+scrollalert+"' width='11' height='11'><\/a><\/DIV>"));

// parent.frames[\"text\"].document.kopikoon.alt=marker[tsanker];
//alert(actanker + marker[actanker]);
//parent.frames[\"text\"].location.href=\""+document.anchors[actanker].name+"\";
if (!document.all) {document.all = document;}
if (!document.all.klapMark.style) {document.all.klapMark.style = document.all.klapMark; }
if (!document.all.zoekpagikoon.style) {document.all.zoekpagikoon.style = document.all.zoekpagikoon; }
if (!document.all.kopikoon.style) {document.all.kopikoon.style = document.all.kopikoon; }

wKlap = document.all.klapMark.style;
wKlap.width = klapW;
wKlap.height = klapH;

fMark = document.all.zoekpagikoon.style;
fMark.width = markWf;
fMark.height = markHf;

kMark = document.all.kopikoon.style;
kMark.width = kopW;
kMark.height = kopH;
}


function setVals() {
 barW = 0; // scrollbar compensation for PC Nav
 barH = 0;
 if (navDOM) {
  if (document.height > innerHeight) barW = 20;
  if (document.width > innerWidth) barH = 20;
  } else {
  innerWidth = document.body.clientWidth;
  innerHeight = document.body.clientHeight;
  }
if (ie)
{
 posX = ((innerWidth - markW)-barW) * (markX/100);
 posY = ((innerHeight - markH)-barH) * (markY/100);
 klapposX = ((innerWidth - klapW)-barW) * (klapX/100);
 klapposY = ((innerHeight - klapH)-barH) * (klapY/100);
 fposX = ((innerWidth - markWf)-barW) * (markXf/100);
 fposY = ((innerHeight - markHf)-barH) * (markYf/100);
 kposX = ((innerWidth - kopW)-barW) * (markXk/100);
 kposY = ((innerHeight - kopH)-barH) * (markYk/100);
}
}

function wRefresh() {
if (ie)
{
 if (pijlgezet=='1')
 {
	wMark.left = posX + (navDOM?pageXOffset:document.body.scrollLeft);
	wMark.top = posY + (navDOM?pageYOffset:document.body.scrollTop);
 }
 wKlap.left = klapposX + (navDOM?pageXOffset:document.body.scrollLeft);
 wKlap.top = klapposY + (navDOM?pageYOffset:document.body.scrollTop);
 fMark.left = fposX + (navDOM?pageXOffset:document.body.scrollLeft);
 fMark.top = fposY + (navDOM?pageYOffset:document.body.scrollTop);
 kMark.left = kposX + (navDOM?pageXOffset:document.body.scrollLeft);
 kMark.top = kposY + (navDOM?pageYOffset:document.body.scrollTop);
}
}

function markMe() {
 setVals();
 window.onresize=setVals;
 markID = setInterval ("wRefresh()",markRefresh);
 }

window.onload=markMe; // safety for Mac IE4.5

//SCRIPT TBV ZOEKEN OP GELADEN PAGINAS IN TEKSTVENSTER
/*
Find In Page Script-
By Mike Hall (MHall75819@aol.com)
Permission granted to Dynamicdrive.com to feature script in archive
For full source code, visit http://dynamicdrive.com
*/

var NS4 = (document.layers);    // Which browser?
var IE4 = (document.all);

var win = this.window;    // window to search.
var n   = 0;

win.str="zoekterm";
win.rondgeweest=false;

function startfindInPage() {
if ( (win.str=="zoekterm") || (win.rondgeweest == true) ) {
	if (win.str=="zoekterm") {win.str=prompt("Vul hieronder je zoekterm in (er wordt gezocht vanaf het begin van de pagina):","zoekterm");} else {win.str=prompt("Geef een nieuwe zoekterm op, of zoek opnieuw vanaf het begin van de pagina met dezelfde term:",win.str);}
	win.rondgeweest=false;
	if (win.str != null) {
		return findInPage(win.str);
	} else {
	win.n=0; win.str="zoekterm"; win.rondgeweest=false; return false;}
}
else
	{return findInPage(win.str);}
}
//Einde functie


function findInPage(str) {
  var txt, i, found;

  if (str == "")
    return false;

  // Find next occurance of the given string on the page, wrap around to the
  // start of the page if necessary.

  if (NS4) {

    // Look for match starting at the current point. If not found, rewind
    // back to the first match.

    if (!win.find(str))
      while(win.find(str, false, true))
      {
        n++;}
    else
    {
      n++;
      }

    // If not found in either direction, give message.

    if (n == 0)
      alert("Term niet gevonden!");
  }


  if (IE4) {
    txt = win.document.body.createTextRange();

    // Find the nth match from the top of the page.

    for (i = 0; i <= n && (found = txt.findText('startzoekpag')) != false && n == 0; i++) {
      txt.moveStart("character", 1);
      txt.moveEnd("textedit");
    }
	found=false;
	//Voorgaande regels: Ga naar startpunt voor zoekopdracht


    for (i = 0; i <= n && (found = txt.findText(str)) != false; i++) {
      txt.moveStart("character", 1);
      txt.moveEnd("textedit");
    }

    // If found, mark it and scroll it into view.

    if (found) {
      txt.moveStart("character", -1);
      txt.findText(str);
      txt.select();
      txt.scrollIntoView();
      n++;
    }

    // Otherwise, start over at the top of the page and find first match.

    else {
      if (n > 0) {
      n = 0;
	  win.rondgeweest=true;
	  startfindInPage();
      }

	  // Not found anywhere, give message.

      else
 		{
		alert("Term niet gevonden!");
		win.rondgeweest=false;
		win.str="zoekterm";
		}
    }
  }

  //n is hier telkens eentje hoger, beginnend met 0
  return false;
}

markMe = this.markMe();
//-->
