function highlighter(name, action)
{
	if (document.images)
	{
		if(action == "on") 
		{
			document.images[name].src = eval(name + "_f2.src");
		}
		else
			document.images[name].src = eval(name + ".src");
	}
}

function ActionDropDownLink(item, action)
{
	switch (action) {
		case "on": 
			item.style.cursor='hand';
			item.style.background='#E8DFAC';
			break;
		default:
			item.style.cursor='default';
			item.style.background='#D4C374';
	}
}

function MoveMenu(menu, btnid) { //v6.0
document.getElementById(menu).style.position = 'absolute';
document.getElementById(menu).style.top = getRealTop(document.getElementById(btnid)) + 21;
document.getElementById(menu).style.left = getRealLeft(document.getElementById(btnid));
}

function getRealLeft(obj) {
    xPos = obj.offsetLeft;
   tempEl = obj.offsetParent;
    while (tempEl != null) {
        xPos += tempEl.offsetLeft;
        tempEl = tempEl.offsetParent;
    }
    return xPos;
}

function getRealTop(obj) {
    yPos = obj.offsetTop;
    tempEl = obj.offsetParent;
    while (tempEl != null) {
        yPos += tempEl.offsetTop;
        tempEl = tempEl.offsetParent;
    }
    return yPos;
}



