window.status

Can someone tell me why the below code doesn't seem to work?

I have seen the "window.status" set by JavaScript in other pages I have
visited, but when I try it,
it doesn't seem to work.  The following code snippet is what I am using.
zStatus is an associative array
where "zID" is the index.  When I run this and mouse over the link, what
shows up in the status bar
is the link to the location (i.e.,
"http://www.somewhere.com/somepage.html"), not the value of the array.

If I use an "alert()" the display the values of either zStatus array of
window.status, it displays the
appropriate value.

Thanks,
Wayne

----------------------------------------------------------------------------
----

<script>
....
function WelcomeOver(zID,zImage) {
document.getElementById(zID).src=zImage;
window.status=zStatus[zID];
}

function WelcomeOut(zID,zImage) {
document.getElementById(zID).src=zImage;
window.status='';
}
</script>

<html>
<body>
....
<div class="boats">
<a href="Boats.html"
onMouseOver="WelcomeOver('boats','images/Welcome/005_1A.jpg');"
onMouseOut="WelcomeOut('boats','images/Welcome/005_1Ab.jpg');">
<img id="boats" src="images/Welcome/005_1Ab.jpg" border="0"></a></div>
....
</body>
</html>

Received on Sunday, 18 September 2005 00:45:14 UTC