height = document.getElementById("deptName").clientHeight;
adj = 61;
if (isIE() && ieVersion()<8){
	document.getElementById("deptName").style.display = "inline-block";
	height = document.getElementById("deptName").clientHeight;
	document.getElementById("deptName").style.display = "block";
	document.getElementById("photoFrame").style.marginTop = -2+"px";
	document.getElementById("top").style.display = "inline-block";
}

if (height>adj){
	document.getElementById("photoFrame").style.marginTop = height - adj+"px";
}

function isIE() {
	return /msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent);
}
function ieVersion(){
	return parseFloat(navigator.appVersion.split("MSIE")[1]);
}