<!-- Minus AutoDato -->
<!-- progstart();  = start van de programma tabel (3 kolommen) -->
<!-- progend();    = afsluiting van de programma tabel -->
<!-- berichtaan(naam, mailhost, land) = email adres op scherm, verborgen voor robots-->
<!-- brievenbus(); = KB email adres op scherm, verborgen voor robots-->
<!-- naartop();    = pijl naar boven, link naar top -->
<!-- stats ();     = link naar statistieken -->
<!-- favorieten(); = site automatisch aan IE favorites toevoegen -->
<!-- kalender();   = kalender -->


<!-- start+einde van de programma tabel (3 kolommen) -->

function progstart() {
	document.write('<TABLE width="430" cellspacing="0" cellpadding="2" border="0"><TR><TD WIDTH="69"</TD><TD></TD><TD width="58"></TD></TR>');
}
function progend() {
	document.write('</TABLE>');
}


<!-- email adres op scherm, verborgen voor robots -->

function berichtaan(n, d2, d1) {
	var contact = n + "@" + d2 + "." + d1
	document.write("<a href=" + "mai" + "lto:" + contact + "><u>" + contact + "</u></a>");
}
function brievenbus() {berichtaan("info", "kraaijenbalder", "nl");}


<!-- pijl naar boven, link naar top -->

function naartop() {
	document.write('<a href="#top" title="naar boven"><img src="afbeeldingen/pijl-omhoog-11x11.gif" width="11" height="11" border="0"></a>');
}


<!-- Link naar statistieken -->

function stats () {
	document.write('<A HREF="usage.html"><IMG SRC="afbeeldingen/stats.gif" BORDER="0" WIDTH="16" HEIGHT="16" ALT="Statistieken" CLASS="Favorieten"><br>Statistieken</A><p>');
}


<!-- mogelijkheid op scherm om de site automatisch aan IE favorites toe te voegen -->

var url="http://www.kraaijenbalder.nl";
var title="Kraaij en Balder";
function favorieten() {
	if (typeof diepte == 'undefined') {diepte=""};
	document.write('<span class="favorieten">');
	if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
		document.write('<A HREF="javascript:window.external.AddFavorite(url,title);"');
		document.write('onMouseOver=" window.status=');
		document.write("'Voeg onze site toe aan jouw favorieten'; return true ");
		document.write('"onMouseOut=" window.status=');
		document.write("' '; return true ");
		document.write('"><IMG SRC="'+diepte+'afbeeldingen/favorieten.gif" BORDER="0" WIDTH="23" HEIGHT="21" ALIGN="middle" ALT="Voeg onze site toe aan jouw favorieten"><br>Favorieten</a>');
		};
	document.write('</script></span><p>');
}


<!-- kalender -->

function addlink(month, day, href) { 
	var entry = new Array(3);
	entry[0] = month;
	entry[1] = day;
	entry[2] = href;
	this[linkcount++]= entry;
}

function kalender() {
	monthnames=new Array("Januari","Februari","March","April","May","Juni","Juli","Augustus","September", "October","November","December");
	var linkcount=0;
	Array.prototype.addlink = addlink;
	linkdays = new Array();
	monthdays= new Array(12);
	monthdays[0]=31;
	monthdays[1]=28;
	monthdays[2]=31;
	monthdays[3]=30;
	monthdays[4]=31;
	monthdays[5]=30;
	monthdays[6]=31;
	monthdays[7]=31;
	monthdays[8]=30;
	monthdays[9]=31;
	monthdays[10]=30;
	monthdays[11]=31;
	todayDate=new Date();
	thisday=todayDate.getDay(); 
	thismonth=todayDate.getMonth();
	thisdate=todayDate.getDate();
	thisyear=todayDate.getYear(); 
	thisyear = thisyear % 100;
	thisyear = ((thisyear < 50) ? (2000 + thisyear) : (1900 + thisyear));
	if (((thisyear % 4 == 0) && !(thisyear % 100 == 0)) ||(thisyear % 400 == 0)) monthdays[1]++;
	startspaces=thisdate;
	while (startspaces > 7) startspaces-=7;
	startspaces = thisday - startspaces + 1;
	if (startspaces < 0) startspaces+=7;
	document.write("<table bgcolor=white class='kalender'; style='border:1px solid #990033'"); 
	document.write("<tr><td colspan=7><center><strong>" + monthnames[thismonth] + " " + thisyear + "</strong></center></font></td></tr>"); 
	document.write("<tr>"); document.write("<td align=center>Z</td>"); 
	document.write("<td align=center>M</td>"); document.write("<td align=center>D</td>"); 	document.write("<td align=center>W</td>"); 
	document.write("<td align=center>D</td>"); document.write("<td align=center>V</td>"); 	document.write("<td align=center>Z</td>"); 
	document.write("</tr>"); document.write("<tr>"); 
	for (s=0;s<startspaces;s++) { document.write("<td> </td>"); }
	count=1;
	while (count <= monthdays[thismonth]) {
		for (b = startspaces;b<7;b++) {
			linktrue=false; document.write("<td>");
			for (c=0;c<linkdays.length;c++) {
				if (linkdays[c] != null) {
					if ((linkdays[c][0]==thismonth + 1) && (linkdays[c][1]==count)) {
						document.write("<a href=\"" + linkdays[c][2] + "\">");
						linktrue=true;
					}
				}
			}
			if (count==thisdate) {
				document.write("<font COLOR=#FF0000>"); 
			}
			if (count <= monthdays[thismonth]) {
				document.write(count);
			} else {
				document.write(" ");
			}
			if (count==thisdate) {
				document.write("</font>"); 
			}
			if (linktrue) document.write("</a>"); document.write("</td>"); 
			count++;
		}
		document.write("</tr>");
		document.write("<tr>"); 
		startspaces=0;
	}
	document.write("</table><p>");
}

