sfHover = function() 
{
var sfEls = document.getElementById("menu").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);

/* silver lining functions */

function offSite(nextURL) {
    var popThis = 'disclaimer.html?url=' + nextURL;
    window.open(popThis,'','toolbar=no,scrollbars=no,resizable=no,width=500,height=360');
}

function hcpRedirect(nextURL) {
    var popThis = 'hcp_redirect.html?url=' + nextURL;
    window.open(popThis,'','toolbar=no,scrollbars=no,resizable=no,width=500,height=360');
}

function popUp(page2pop, width, height, scrolls) {
    window.open(page2pop,'','toolbar=no,scrollbars=' + scrolls + ',resizable=no,width=' + width + ',height=' + height);
}

function enactDropdown(dropdownDiv,dropdownButton) {
	dropdownDiv = document.getElementById(dropdownDiv) ;
	dropdownButton = document.getElementById(dropdownButton) ;

	if (dropdownDiv && dropdownButton) {
		dropdownDiv.style.display = "block";
		dropdownDiv.style.visibility = "visible";
		dropdownButton.style.backgroundPosition = "0 0";
	}
}

function deactDropdown(dropdownDiv,dropdownButton) {
	dropdownDiv = document.getElementById(dropdownDiv) ;
	dropdownButton = document.getElementById(dropdownButton) ;

	if (dropdownDiv && dropdownButton) {
		dropdownDiv.style.display = "none";
		dropdownDiv.style.visibility = "hidden";
		dropdownButton.style.backgroundPosition = "0 -45px";
	}
}

function Go(location, name, width, height, scrollbars)
{
window.open(location, name, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=' + scrollbars + ',resizable=no,width=' + width + ',height=' + height);
return(false);
}
