function startList(siteNavId){
	if (!siteNavId) { siteNavId = 'siteNav'; }

	if (document.all&&document.getElementById){
		// Add a shim to hide select items for drop down menus.
		if (navigator.appVersion.substr(22,3)!="5.0")
			window.document.getElementById(siteNavId).innerHTML=('<iframe id="menushim" src="about:blank" scrolling="no" frameborder="0" style="position:absolute;display:none;filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);"></iframe>' + window.document.getElementById(siteNavId).innerHTML);
		navRoot=document.getElementById(siteNavId);
		for (i=0;i<navRoot.childNodes.length;i++){
			node=navRoot.childNodes[i];
			//next section added on 8-17-05 -jh so we can us the .sfhover on all main li tags for sliding doors stuff
			if (node.nodeName=="LI"&&node.getElementsByTagName("UL").length==0){//tag names MUST be caps: IE won't recognize if lowercase
				node.onmouseover=function(){
					if(this.className.indexOf("sfhover")==-1){
						this.className+=" sfhover";
					}
				}
				node.onmouseout=function(){
					if(!isInParent(event.toElement, this)){
						this.className=this.className.replace(" sfhover","");
						hideDropdowns(this.getElementsByTagName("UL")[0],false);
					}
				}//end added section --if removed be sure to remove "}else" in next line
			}else if (node.nodeName=="LI"&&node.getElementsByTagName("UL").length>0){
				node.onmouseover=function(){
					if(this.className.indexOf("sfhover")==-1){
						this.className+=" sfhover";
						hideDropdowns(this.getElementsByTagName("UL")[0],true);
					}
				}
				node.onmouseout=function(){
					if(!isInParent(event.toElement, this)){
						this.className=this.className.replace(" sfhover","");
						hideDropdowns(this.getElementsByTagName("UL")[0],false);
					}
				}
			}

		}
	}
}
function isInParent(el, parent){
	if(el == null) return false;
	var aEls=parent.getElementsByTagName(el.tagName)
	if(aEls.length==0)
		return false;
	for(var i=0;i<aEls.length;i++){
		if(el==aEls[i])
			return true;
	}
	return false;
}
function hideDropdowns(obj, bool){
	if (navigator.appVersion.substr(22,3)=="5.0"){
		if(bool)
			hideSelects();
		else
			showSelects();
		return;
	}
	var mnuShim=document.getElementById("menushim");
	if(bool){
		mnuShim.style.left=getPageOffsetLeft(obj)+"px";
		mnuShim.style.top=getPageOffsetTop(obj)+"px";
		mnuShim.style.width=obj.offsetWidth+"px";
		mnuShim.style.height=obj.offsetHeight+"px";
		obj.style.zIndex="999";
		mnuShim.style.zIndex="998";
		mnuShim.style.display="block";
	} else
		mnuShim.style.display="none";
}
////////////////////////////////////////////////////////
// edit the following two functions to act nice with custom menus
function getPageOffsetLeft(el){
	var x;
	x=el.offsetLeft;
	/* if (el.offsetParent!=null)  Comment out for centered layouts
		x+=getPageOffsetLeft(el.offsetParent);  */
	return x;
}
function getPageOffsetTop(el){
	var y;
	y=el.offsetTop;
	/* if (el.offsetParent!=null) Comment out for centered layouts
		y+=getPageOffsetTop(el.offsetParent); */
	return y;
}
//end edit functions
////////////////////////////////////////////////////////
function hideSelect(id){
	var el=document.getElementById(id);
	if (el!=null)
		el.className+=" hide";
}
function hideSelects(){
	var oSelects=document.getElementsByTagName("select");
	for(var i=0;i<oSelects.length;i++)
		oSelects[i].className+=" hide";
}
function showSelects(){
	var oSelects=document.getElementsByTagName("select");
	for(var i=0;i<oSelects.length;i++)
		oSelects[i].className=oSelects[i].className.replace(" hide","");
}
function addEvent(obj, evType, fn) {
	// adds an eventListener for browsers which support it
	// Written by Scott Andrew: nice one, Scott
	if (obj.addEventListener){
		obj.addEventListener(evType,fn,true);
		return true;
	} else if (obj.attachEvent){
		var r = obj.attachEvent("on"+evType,fn);
		return r;
	} else {
		return false;
	}
}
//addEvent(window,"load",startList);