// JavaScript Document
sfHover = function() {
	var sfEls = document.getElementById("dropdown").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);	
	
	var sfEls = document.getElementById("popup").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);	
			
	var sfEls2 = document.getElementById("seconddrop").getElementsByTagName("LI");
	for (var i=0; i<sfEls2.length; i++) {
		sfEls2[i].onmouseover=function() {
			this.className+=" sfhover";

					document.getElementById('location_srch').style.display="none";
					
		}
			sfEls2[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
				document.getElementById('location_srch').style.display="";
			}
		}
	}


	if (window.attachEvent) window.attachEvent("onload", sfHover);	

// Search box functions
function setbullet(field) {
	if (field=="postal") {
		fieldtoset="srch1";
	} else {
		fieldtoset="srch2";
	}
	//alert(field + " " + fieldtoset);
	document.getElementById(fieldtoset).checked=true;
}