function preloadImg() {

// Preload images
	var imglist = new Array (
	"../images/fotobar_01.jpg",
	"../images/fotobar_02.jpg",
	"../images/fotobar_03.jpg",
	"../images/fotobar_04.jpg",
	"../images/fotobar_05.jpg",
	"../images/fotobar_06.jpg"
	);

	var imgs = new Array();

	var count;

	if (document.images) {
		for (count=0; count<imglist.length; count++) {
			imgs[count]=new Image(); imgs[count].src=imglist[count];
		}
	}
	return true;
}

function showFlash(movie,w,h,bcolor) {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + w + '" height="' + h + '" id="sjakoo_promo" align="middle">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="movie" value="' + movie + '" />');
	document.write('<param name=menu value=false />');
	document.write('<param name=bgcolor value=#' + bcolor + '/ >');
	document.write('<param name="quality" value="high" />');
	document.write('<embed src="' + movie + '" bgcolor=#' + bcolor + ' quality="high" width="' + w + '" height="' + h + '" menu="false" name="sjakoo_promo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
	document.write('</object>');
}

function terug() {
	document.write('<p style="padding-top: 25px;" class="center"><a href="javascript:history.back();" onfocus="this.blur();"><img class="photonav2" src="http://www.nederlandszangtheater.nl/images/nav/but_prev.gif" width="32" height="32" alt="" border="0"></a></p>');
	document.write('<p>&nbsp;</p>');
}

function boven() {
	document.write('<p style="text-align: center; padding-top: 25px;" class="bottomnav"><a href="javascript:scrollTo(0,0);" onfocus="this.blur();"><img class="photonav2" src="http://www.nederlandszangtheater.nl/images/nav/but_up.gif" width="32" height="32" alt="" border="0"></a></p>');
	document.write('<p>&nbsp;</p>');
	document.write('<p>&nbsp;</p>');
}

function boven2() {
	document.write('<p style="text-align: right; border-top: 1px solid #dcdcdc; margin-top: 30px; padding: 15px;"><a href="javascript:scrollTo(0,0);" onfocus="this.blur();"><img class="photonav2" src="http://www.nederlandszangtheater.nl/images/nav/but_up.gif" width="32" height="32" alt="" border="0"></a></p>');
}

function terugboven() {
	document.write('<p style="padding-top: 25px; text-align: center;" class="bottomnav"><a href="javascript:history.back();" onfocus="this.blur();"><img class="photonav2" src="http://www.nederlandszangtheater.nl/images/nav/but_prev.gif" width="32" height="32" alt="" border="0"></a>&nbsp;&nbsp;&nbsp;<a href="javascript:scrollTo(0,0);" onfocus="this.blur();"><img class="photonav2" src="http://www.nederlandszangtheater.nl/images/nav/but_up.gif" width="32" height="32" alt="" border="0"></a></p>');
	document.write('<p>&nbsp;</p>');
	document.write('<p>&nbsp;</p>');
}

// create list of years in form auditie
function showYear() {
		for (i=1940; i<1995; i++) {
		document.write('<option>' + i + '</option>');
	}
	return true;
}

