<!--
// remove birthdays/forthcoming events when there are none
// code by ticlo/Stefan
e = document.getElementsByTagName('TD')
for (n = 0; n < e.length; n++) {
if (e[n].className == 'pformstrip' && (e[n].innerHTML.match(/^Forthcoming Calendar Events within the next [0-9]+ days$/) || e[n].innerHTML.match(/^Today's Birthdays$/))){
for (pt = e[n].parentNode; pt.nodeName != 'TABLE'; pt = pt.parentNode);
nr = pt.rows[e[n].parentNode.rowIndex + 1]
if (nr.cells[1].getElementsByTagName('A').length == 0){
e[n].parentNode.style.display = 'none'
nr.style.display = 'none'
}}}
// -->
