That's funny - this works fine for me in IE6.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> New Document </title>
</head>
<body>
<script type="text/javascript">
function toggle(objid)
{
if (document.getElementById)
{
var obj = document.getElementById(objid);
if (obj.style)
{
if (obj.style.display == "none")
{
obj.style.display="";
}
else
{
obj.style.display = "none";
}
}
}
}
</script>
<p><a href="#" onclick="toggle('news')">fgfgfg</a></p>
<div id="news" style="display:none">hjklkljklkl</div>
</body>
</html>