﻿// Function to make the drop down navigation menus work in IE6 since it doesn't support the hover psuedo class on the li element.

function createMenu(nav_id) {
				if (document.all&&document.getElementById) {
					var menu = document.getElementById(nav_id).getElementsByTagName("li");
					for (var i = 0; i < menu.length; i++) {
						menu[i].onmouseover = function() {
							this.className += " over";
						}
						menu[i].onmouseout = function() {
							this.className=this.className.replace("over", "");
						}
					}
				}
			}


init = function() {
		createMenu("nav_menu");		
			}

window.onload=init;