uHover = function() {
	if (!document.getElementsByTagName) return false;
	var uEls = document.getElementById("utility-navigation").getElementsByTagName("li");
	for (var i=0; i<uEls.length; i++) {
		uEls[i].onmouseover=function() {
			this.className+=" uhover";
		}
		uEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" uhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", uHover);

function getElementPosition(elemID){
	var offsetTrail = document.getElementById(elemID);
	var offsetLeft = 0;
	var offsetTop = 0;
	
	while (offsetTrail){
		offsetLeft += offsetTrail.offsetLeft;
		offsetTop += offsetTrail.offsetTop;
		offsetTrail = offsetTrail.offsetParent;
	}
	
	if (navigator.userAgent.indexOf('Mac') != -1 && typeof document.body.leftMargin != 'undefined'){
		offsetLeft += document.body.leftMargin;
		offsetTop += document.body.topMargin;
	}
	
	return {left:offsetLeft,top:offsetTop};
}
function breadCrumbPos(){
	
	var firstElement = getElementPosition('firstseg');
	if(document.getElementById('breadcrumb')){
	document.getElementById('breadcrumb').style.left = firstElement.left + 'px';
	document.getElementById('breadcrumb').style.display = 'block'
	}
	
}

function bodyload(){
	breadCrumbPos();
}
window.onload = bodyload;
window.onresize = breadCrumbPos;
