	
	// JavaScript hack for IE hovers
	ie_hovers = function() {
		var elements = document.getElementById("nav").getElementsByTagName("li");
		for (var i = 0; i < elements.length; i++) {
			elements[i].onmouseover = function() { this.className += "_over hovered"; }
			elements[i].onmouseout = function() { this.className=this.className.replace(new RegExp("_over hovered\\b"), ""); }
		}
	}
	if (window.attachEvent) window.attachEvent("onload", ie_hovers);
	
	window.onload = function() {
		$('email').onfocus = function() { if (this.value == "Email Address") this.value = ""; }
		$('email').onblur = function() { if (this.value == "") this.value = "Email Address"; }
	};
	
	function newsletter_signup() {
		email = $('email').value;
		url = "newsletter_signup.php?email=" + email;
		new Ajax.Updater('newsletter_message', url, { evalScripts: true });
	}