function checkfortasks (thedate, e) { theObject = document.getElementById("taskbox"); theObject.style.visibility = "visible"; var posx = 0; var posy = 0; posx = -200 + e.clientX + document.body.scrollLeft; posy = e.clientY + document.body.scrollTop; theObject.style.left = posx + "px"; theObject.style.top = posy + "px"; objID = "taskbox"; var obj = document.getElementById(objID); switch (thedate) { case "2008-7-21": obj.innerHTML ="