EDIT:
I have since changed the code to...
Code:
...
//innerHTML fix
var newdiv = document.createElement("div");
newdiv.innerHTML = "";
$("attentionContents").appendChild(newdiv);
$("attentionActions").appendChild(newdiv);
//$("attentionContents").innerHTML = "";
//$("attentionActions" ).innerHTML = "";
$("attention").style.display="none";
}
It hasn't fixed anything, but hasn't broken anything either.