/* prevents background image flicker on :hover */
	//document.execCommand("BackgroundImageCache", false, true);
	
	
/* allows dropdown in main_nav	*/	
	mnHover = function() {
		var sfEls = document.getElementById("main_nav").getElementsByTagName("LI");

		//var innerSelect = document.getElementById("inner_select");
		for (var i=0; i<sfEls.length; i++) {
			sfEls[i].onmouseover=function() {
				this.className+=" mnhover";
			}
			sfEls[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" mnhover\\b"), "");
			}
		}
	}
	if (window.attachEvent) window.attachEvent("onload", mnHover);
	
	
/* allows dropdown in footer navigation	*/		
	ftHover = function() {
		var sfEls = document.getElementById("footer").getElementsByTagName("LI");
		for (var i=0; i<sfEls.length; i++) {
			sfEls[i].onmouseover=function() {
				this.className+=" fthover";
			}
			sfEls[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" fthover\\b"), "");
			}
		}
	}
	if (window.attachEvent) window.attachEvent("onload", ftHover);
	