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='#D3D3B6';
			break;
		default:
			item.style.cursor='default';
			item.style.background='#EEEECC';
	}
}


function ActionHomeLink(item, action)
{
	switch (action) {
		case "on": 
			item.style.cursor='hand';
			item.style.background='transparent';
			break;
		default:
			item.style.cursor='default';
			item.style.background='transparent';
	}
}
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;
}

function ShowDoc(sURL, windowName, width, height) 
// Purpose:	Launches File in new window
{
  myRemote = launch(sURL, windowName,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,alwaysRaised=yes,width=" + width + ",height=" + height + ",left=100,top=50","parentWin");
}


function launch(newURL, newName, newFeatures, orgName) {
  var remote = open(newURL, newName, newFeatures);
  if (remote.opener == null)
    remote.opener = window;
  remote.opener.name = orgName;
  return remote;
}


