/* This javascript implements expandable rollover menus for the 
   Language Media Services website when using IE.
   Author: Steve Tjoa (borrowed from alistapart.com, and modified)
   Date: 6/10/2005
   
   For all first level links in the left navigation bar, initialize
   the onmouseover and onmouseout events.
 */

function startList()
{
	if (document.all&&document.getElementById) {
		listnode = document.getElementById("leftnav").childNodes[0];
		for (i=0; i<listnode.childNodes.length; i++) {
			node = listnode.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className = "over";
				}
				node.onmouseout=function() {
					this.className = "";
				}
			}
		}
	}
}
window.onload=startList;

