My page: http://members.home.net/prowsej does not work in Mozilla (specifically, K-Meleon)

Apparently this is because my JavaScript code does nto conform to the DOM. How am I to change the following code to be compatible with Netscape (it always has and continues to work in IE). I have highlighted the two sections that I belive there will be an issue with. Thanks!

<script type="text/javascript">
function clickHandler() {
var targetId, srcElement, targetElement;
srcElement = window.event.srcElement;
if (srcElement.className == "Outline") {
targetId = srcElement.id + "details";
targetElement = document.all(targetId);
if (targetElement.style.display == "none") {
targetElement.style.display = "";
} else {
targetElement.style.display = "none";
}
}
}

document.onclick = clickHandler;
</script>