function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      oldonload();
      func();
    }
  }
}
function headlines(){
	var theTds = document.getElementsByTagName("td");
	for (i=0; i < theTds.length; i++){
		if (theTds[i].className === "upcoming" || theTds[i].className === "bark"){
			var strongs = theTds[i].getElementsByTagName("strong");
			strongs[0].className = "first";
		}
	}
}
addLoadEvent(headlines);