//suckerfish dropdowns//
//sfHover = function() {
function sfHover(){
	
	var sfEls = document.getElementById("headerNavUL").getElementsByTagName("LI");
	var sfPLs = document.getElementById("headerNavUL").getElementsByTagName("a");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			$$('.selectSorter').each(function (sel) { sel.hide(); });
			this.className+=" sfhover";
			//if(this.className != "selected"){}
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
			$$('.selectSorter').each(function (sel) { sel.show(); });
		}
	}
	
	var sfEl2s = document.getElementById("languageDropUp").getElementsByTagName("LI");
	var sfPL2s = document.getElementById("languageDropUp").getElementsByTagName("a");
	for (var j=0; j<sfEl2s.length; j++) {
		sfEl2s[j].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEl2s[j].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
	
	var sfEl3s = document.getElementById("otherSitesDropUp").getElementsByTagName("LI");
	var sfPL3s = document.getElementById("otherSitesDropUp").getElementsByTagName("a");
	for (var k=0; k<sfEl3s.length; k++) {
		sfEl3s[k].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEl3s[k].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}	
	
}
sfHover2 = function() {
	var sfEldis1s = document.getElementById("dropup_1_li");
	sfEldis1s.onmouseover=function() {
		this.className+=" sfhover";
	}
	sfEldis1s.onmouseout=function() {
		this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
	}
	
	var sfEldis2s = document.getElementById("dropup_2_li");
	sfEldis2s.onmouseover=function() {
		this.className+=" sfhover";
	}
	sfEldis2s.onmouseout=function() {
		this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
	}
	
	var sfEldis3s = document.getElementById("dropup_3_li");
	sfEldis3s.onmouseover=function() {
		this.className+=" sfhover";
	}
	sfEldis3s.onmouseout=function() {
		this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
	}
	
	var sfEldis4s = document.getElementById("dropup_5_li");
	sfEldis4s.onmouseover=function() {
		this.className+=" sfhover";
	}
	sfEldis4s.onmouseout=function() {
		this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
	}
	
	var sfEldis5s = document.getElementById("dropup_6_li");
	sfEldis5s.onmouseover=function() {
		this.className+=" sfhover";
	}
	sfEldis5s.onmouseout=function() {
		this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
	}
}