// JavaScript to get around Internet Explorer's CSS limitations with the :hover command.

sfHover = function() {
	var sfEls = document.getElementById("navcontainer").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);


function SendAttorneyMail(attID){
	var win = window.open('/emailpopup.aspx?professional=' + attID, 'blank','width=582,height=514,scrollbars=no,resizable=yes,screenX=0,screenY=0,top=0,left=0,menubar=no,toolbar=no,location=no,status=no,directories=no');
}

function SendExtraContactMail(name,email)
{
	var win = window.open('/emailpopup.aspx?empname=' + name + '&empemail=' + email, 'blank','width=582,height=514,scrollbars=no,resizable=yes,screenX=0,screenY=0,top=0,left=0,menubar=no,toolbar=no,location=no,status=no,directories=no');
}

function popupContactUs(url)
{
    window.open(url,"_contactUs","height=750,width=658,location=no,menubar=no,scrollbars=yes,toolbar=no,","");
}
