mededeling()

function mededeling() {

    <!-- Verberg voor oude browsers
//	document.write( "<hr>MEDEDELING.JS : " + document.location + ".<hr>" )

    // Construeer de huidige datum
    myVerversd = new Date()
    myMaand = myVerversd.getMonth() + 1
    myDatum = myVerversd.getDate()

	    myTime = myVerversd.getMinutes()
	    myTime = myVerversd.getSeconds()
	document.write ( '<br>Time : ' + myTime + '<br>' )

    myTime = ( myVerversd.getMinutes() + 5 ) / 10
    myTime = ( myVerversd.getSeconds() + 5 ) / 10
	document.write ( '+ 5 / 10 : ' + myTime + '' )

    if ( myTime > 5 ) { myTime = 5 }
    if ( ( myTime > 4 ) && ( myTime < 5 ) ) { myTime = 4 }
    if ( ( myTime > 3 ) && ( myTime < 4 ) ) { myTime = 3 }
    if ( ( myTime > 2 ) && ( myTime < 3 ) ) { myTime = 2 }
    if ( ( myTime > 1 ) && ( myTime < 2 ) ) { myTime = 1 }
    if ( ( myTime > 0 ) && ( myTime < 1 ) ) { myTime = 0 }

	document.write ( '<br>Plaatje : ' + myTime + '<br>' )

    if ( myMaand < "10" )	myMaand = "0" + myMaand
    if ( myDatum < "10" )	myDatum = "0" + myDatum
    myJaar = myVerversd.getYear()

    huidigedatum	=  "" + myJaar + myMaand + myDatum

text  = ''
text += '<table border="0" cellpadding="0" cellspacing="0" width="100%">'
text += ' <tr>'
text += '  <td background="i/rails.gif" height="72" align="center" valign=top>'
text += '  <marquee direction="right" scrollamount="22" scrolldelay="0"><img src="javascript:site_ntm(' + "'" + 'i/tram/' + myTime + '.gif' + "'" + ',0,5);" height="71" border=0>'
text += '  </marquee>'
text += '  </td>'
text += ' </tr>'
text += '</table>'

//	print accumulative HTML string
	document.write(text)

    // Einde verbergen -->

}

// -->
