sfHover = function() {
	var sfEls = document.getElementById("home_nav").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 W3CDOM = (document.createElement && document.getElementsByTagName);
window.onload = feature_links;

function feature_links()
{
  if (!W3CDOM) return;
  var allElements = document.getElementsByTagName('*');
  for (var i=0; i<allElements.length; i++)
  {
    if (allElements[i].className.indexOf('feature_item') !=-1)
    {
      allElements[i].onmouseover = mouseGoesOver;
      allElements[i].onmouseout = mouseGoesOut;
      allElements[i].onclick = mouseGoesClick;
    }
  }
}

function mouseGoesOver()
{
  originalClassNameString = this.className;
  this.className += " feature_hover";
  this.style.cursor = "pointer";
  this.style.cursor = "hand";

}

function mouseGoesOut()
{
  this.className = originalClassNameString;
}

function mouseGoesClick()
{
  var allThisAreasElements = this.getElementsByTagName('a');
  var url = allThisAreasElements[0].href;
  window.location = url;


}

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