sfHover = function() {
		
		iframe = document.createElement('IFRAME');
		iframe.id='DivShim';
		iframe.frameBorder='0';
		iframe.style.position='absolute';
		iframe.style.top='0px'; 
		iframe.style.left='0px';
		iframe.style.display='none';
		if (document.location.protocol == "https:") {
			iframe.src='?page=home/secure_iframe';
		}
		document.body.appendChild(iframe);
	
		var sfEls = document.getElementById("nav").getElementsByTagName("li");
		
		for (var i=0; i<sfEls.length; i++) {
			sfEls[i].onmouseover=function() {

				if(this.className == "mainmenuitems"){
					if(this.childNodes.length == 3){
						iframe.style.width = this.lastChild.offsetWidth;
						iframe.style.height = this.lastChild.offsetHeight;
						iframe.style.top = cumulativeOffset(this.lastChild)[1];
						iframe.style.left = cumulativeOffset(this)[0];
						iframe.style.display = 'block';
					}
				}
				this.className+=" sfhover";
				
			}
			sfEls[i].onmouseout=function() {
				
				this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
				
				if(this.className == "mainmenuitems"){
					iframe.style.display = 'none';
				}
			}
		}
	}
	
if(window.attachEvent) { window.attachEvent("onload", sfHover); }