<!--//--><![CDATA[//><!--

navList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav");
		for (i=0; navRoot != null && i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
					navCover();
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
					navUnCover();
				}
			}
		}
	}
}
window.onload=navList;

// covers selects for IE 6<
function navCover() {
	if ($.browser.msie && typeof XMLHttpRequest == 'function') {
		// get location of dropdown 			
		var navDrop = $("li.over > ul");
		navHeight = navDrop.height();
		var coverFrame = "<IFRAME id='nav-cover' style='height:"+navHeight+"' src='javascript:false;' frameBorder='0' scrolling='no'></IFRAME>";
		$(coverFrame).insertBefore(navDrop);
	}
}
function navUnCover() {
	if ($.browser.msie && typeof XMLHttpRequest == 'function') {
		$("#nav-cover").remove();
	}
}

//--><!]]>


/* clear field value function: removes the default value onfocus, and adds back if nothing entered */
function fieldClear(obj) {
	if(obj.Val) {
		if (obj.value == '') { 
			obj.value = obj.Val;
			obj.Val = null;
			obj.first = null;
		} 
		else {
			obj.Val = null;
		}
	} else if (!obj.first) { 
		obj.Val = obj.value;
		obj.value = ''; 
		obj.first = 'true';
	} 
}


