// JavaScript voor index.htm
	
	function showNow()
	{
		var now, nowHours, nowMinutes, nowSeconds, nowDay, nowMonth, nowYear
		now = new Date();
		//Get values
		nowHours = '' + now.getHours();
		nowMinutes = '' + now.getMinutes();
		nowSeconds = '' + now.getSeconds();
		nowDay = '' + now.getDate();
		nowMonth = '' + (now.getMonth()+1);
		nowYear = '' + now.getYear();
		nowYear = nowYear.substring(nowYear.length-2, nowYear.length);

		//Adapt values
		if (nowHours.length == 1) nowHours = '0' + nowHours;
		if (nowMinutes.length == 1) nowMinutes = '0' + nowMinutes;
		if (nowSeconds.length == 1) nowSeconds = '0' + nowSeconds;

		if (nowDay.length == 1) nowDay = '0' + nowDay;
		if (nowMonth.length == 1) nowMonth = '0' + nowMonth;

		var strNow = nowDay + '/' + nowMonth + '/' + nowYear + ' ' + nowHours + ':' + nowMinutes;
		document.getElementById('timestampdiv').innerHTML = strNow;

		var kloktimer = setTimeout('showNow()', 10000);
	}
	
	
		function onair()
	{
		var strOnAir = "Lokale Omroep Volendam Edam - Tijdsein";

		document.getElementById('onairdiv').innerHTML = strOnAir;
	}

