function sideHover() {
	var _divs = document.getElementsByTagName("div");
	for(j=0; j<_divs.length; j++){
		if(_divs[j].className.indexOf("box") !=-1){
			_divs[j].onclick = function() {
				var _link = this.getElementsByTagName('a')[0];
				window.location = _link.href;
			}
			_divs[j].onmouseover = function(){
				this.className += " box-hover";
			}
			_divs[j].onmouseout = function(){
				this.className = this.className.replace(" box-hover", "");
			}
		}
	}
}
if (window.addEventListener)
	window.addEventListener("load", sideHover, false);
else if (window.attachEvent && !window.opera)
	window.attachEvent("onload", sideHover);
	
	
	
sfHover = function() {
	var sfEls = document.getElementById("ulnav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		if (navigator.appVersion.indexOf("MSIE 8.0") == -1)
{
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);
