<!--
var NS4 = (document.layers);
var IE4 = (document.all);
var ver4 = (NS4 || IE4);
var IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1);
var isMac = (navigator.appVersion.indexOf("Mac") != -1);
   
if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;

HM_PG_MenuWidth = 180;
HM_PG_FontFamily = "Verdana, Arial, sans-serif";
HM_PG_FontSize = (NS4) ? 10 : 8;
HM_PG_FontBold = 1;
HM_PG_FontItalic = 0;
HM_PG_FontColor = "white";
HM_PG_FontColorOver = "#336699";
HM_PG_BGColor = "#336699";
HM_PG_BGColorOver = "#cccccc";
HM_PG_ItemPadding = 3;

HM_PG_BorderWidth = 3;
HM_PG_BorderColor = "#336699";
HM_PG_BorderStyle = "solid";
HM_PG_SeparatorSize = 1;
HM_PG_SeparatorColor = "#003366";

HM_PG_KeepHilite = true; 
HM_PG_ClickStart = 0;
HM_PG_ClickKill = false;
HM_PG_ChildOverlap = 20;
HM_PG_ChildOffset = 10;
HM_PG_ChildPerCentOver = null;
HM_PG_TopSecondsVisible = .5;
HM_PG_StatusDisplayBuild =1;
HM_PG_StatusDisplayLink = 1;
HM_PG_UponDisplay = null;
HM_PG_UponHide = null;
HM_PG_RightToLeft = 0;

HM_PG_CreateTopOnly = 1;
HM_PG_ShowLinkCursor = 1;
HM_PG_NSFontOver = true;

function getRealLeft(el) {
    xPos = el.offsetLeft;
    tempEl = el.offsetParent;
    while (tempEl != null) {
        xPos += tempEl.offsetLeft;
        tempEl = tempEl.offsetParent;
    }
    return xPos;
}

function getRealTop(el) {
    yPos = el.offsetTop;
    tempEl = el.offsetParent;
    while (tempEl != null) {
        yPos += tempEl.offsetTop;
        tempEl = tempEl.offsetParent;
    }
    return yPos;
}


function HM_f_PlaceAtElement(elementid,pos){
	var TheAnchor = HM_DOM ? document.getElementById(elementid) : HM_IE4 ? document.all(elementid) : document.anchors[elementid];
	if(HM_NS6){
		TheAnchor.style.position = "relative";
		MarginWidth = parseInt(document.body.getAttribute("marginwidth"));
		MarginWidth = (isNaN(MarginWidth)) ? 8 : MarginWidth;
	}

	switch (pos){
		case "left":
			retVal = HM_IE ? getRealLeft(TheAnchor)-5 : HM_NS4 ? TheAnchor.x-5 : TheAnchor.offsetLeft + MarginWidth-5;
			break;
		case "top":
			retVal = HM_IE ? getRealTop(TheAnchor)+14 : HM_NS4 ? TheAnchor.y+14 : TheAnchor.offsetTop + TheAnchor.offsetHeight+14;
			break;
	}
	return retVal;
}

//-->

