var imgObj; 
var xPos, yPos;
var menuoverID;

function sethelpcursor(object) {
	if (ns4 || ns6 || ns7)
		object.style.cursor="help";
	else
		object.style.cursor="help";
}

function unsethelpcursor(object) {
	if (ns4 || ns6 || ns7)
		object.style.cursor="default";
	else
		object.style.cursor="default";
}

function overleft(imgNum, obj, imagefile) { 
    if (menuReadyState) { 
		imgObj = document.images["b"+imgNum]; 
		xPos = getRealLeft(imgObj)+100; 
		yPos = getRealTop(imgObj) + imgObj.height-12;
		menuoverID = setTimeout("activateMenu(" + imgNum + "," + xPos + "," + yPos + ");setMenuImage('" + obj.id + "','" + imagefile + "')", 300);
	} 
} 

function offleftmenu(object, newimage) {
	clearTimeout(menuoverID);
	deactivateMenus(false);
	if (newimage != "") setImage(object, newimage);
}

function setImage(object, newimage) {
	object.src = "/niosh/mining/images/" + newimage;
}

function setMenuImage(imgID, newimage) {
	if (newimage != "") document.getElementById(imgID).src = "/niosh/mining/images/" + newimage;
}


document.write("<table style='width:100%' border='0' cellpadding='0' cellspacing='0'><tr><td style='width:5px'></td><td style='vertical-align:top'><table style='width:100%' border='0' cellpadding='0' cellspacing='0'><tr><td style='text-align:left;vertical-align:top;width:140px;height:68px' rowspan='2'><a href='http://www.cdc.gov/'><img src='/niosh/mining/header/nav11.gif' alt='CDC logo' width='140' height='60' border='0'><img src='/niosh/mining/header/nav21.gif' width='140' height='8' border='0' alt='Safer Healthier People'></a></td><td style='text-align:left;vertical-align:top' rowspan='2'><img src='/niosh/mining/header/nav12.gif' alt=' ' width='12' height='63'></td><td style='text-align:left;vertical-align:top;background-color:#000099'><a href='http://www.cdc.gov/'><img class='genericnoprint' src='/niosh/mining/header/nav13a.gif' alt='CDC Home' width='226' height='19' border='0'></a><a href='http://www.cdc.gov/search.htm'><img class='genericnoprint' src='/niosh/mining/header/nav14a.gif' alt='CDC Search' width='74' height='19' border='0'></a><a href='http://www.cdc.gov/az.do'><img class='genericnoprint' src='/niosh/mining/header/nav15a.gif' alt='CDC Health Topics A-Z' height='19' border='0'></a></td><td style='text-align:left;vertical-align:top;background-color:#000099;width:100%;height:19px'><img src='/niosh/mining/header/spacer.gif' alt=' ' width='1' height='19'></td></tr><tr><td style='text-align:left;vertical-align:top'><a href='http://www.cdc.gov/niosh/'><img src='/niosh/mining/header/NIOSHlogo2.gif' alt='NIOSH Mining Safety and Health Research' border='0'></a></td><td style='text-align:left;vertical-align:top;height:49px'><img src='/niosh/mining/header/spacer.gif' alt=' ' width='1' height='49'></td></tr></table></td><td style='width:5px'></td></tr></table>");
