sfHover = function() {
	var sfEls = document.getElementById("seo").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


//on the fast qoute pages there is an iframe used to display the branch specials
//this will remove it if it is empty.IE NO SPECIALS!
function removeiframe (){
	
	var iframe = document.getElementById('specialsFrame');
	if(!iframe) return false;
	alert(iframe);
}


function addOnload(newFunction) {
	var oldOnload = window.onload;
	
	if (typeof oldOnload == "function") {
		window.onload = function() {
			if (oldOnload) {
				oldOnload();
			}
			newFunction();
		}
	}
	else {
		window.onload = newFunction;
	} 
}
addOnload(removeiframe);
