
  //sIFR.replaceElement(sSelector, sFlashSrc, sColor, sLinkColor, sHoverColor, sBgColor, nPaddingTop, nPaddingRight, nPaddingBottom, nPaddingLeft, sFlashVars, sCase, sWmode);
if(typeof sIFR == "function"){
	sIFR.replaceElement("h2", "../images/eurostile.swf", "#ffffff", null, null, "#cccccc", 0, 0, 0, 0, null, null, "transparent");
};


if (document.all && document.getElementById) {
	// check if this page has forms
	var hasForms = (document.body.getElementsByTagName("SELECT").length > 0);
    var nav = document.getElementById("primaryNav");
	if (nav) {
	    var navList = nav.firstChild;
	    if (navList.nodeName == "UL") {
	        for (i = 0; i < navList.childNodes.length; i++) {
	            var node = navList.childNodes[i];
	            if (node.nodeName == "LI") {
	                node.onmouseover = function() {
	                	this.className += " over";
						this.style.zIndex = "150";
						
						// fix to allow menu to be positioned above SELECT elements
						// nests sub-menu UL in an iframe
						if (hasForms && !this.wrapperApplied) {
							var subUL = this.getElementsByTagName('ul')[0];
							if (subUL) {
								var subULWrapper = document.createElement('iframe');
								subULWrapper.style.width = subUL.offsetWidth + "px";
								subULWrapper.style.height = subUL.offsetHeight + "px";	
								subUL.insertBefore(subULWrapper, subUL.firstChild);
								subUL.style.zIndex = "200";
								this.wrapperApplied = true;
							}
						}
	                }
	                node.onmouseout=function() {
	                	this.className = this.className.replace(" over", "");
	                }
	            }
	        }
	    }
	}
}

