var activeLeftLinkID = null;
var currLeftLink = null;
var currLink = null;

function changeon(td)
{
	td.className = "active_leftnav";
	//td.style.color = "#FFB200";
}

function doOnLoad(linkID)
{
	var linkObj = document.getElementById(linkID);
	linkObj.className = "active_leftnav";
}

function windoOnLoad(linkID)
{
	var linkObj = document.getElementById(linkID);
	linkObj.className = "active_leftnav";
}

function changeoff(td)
{    if (td.id == activeLeftLinkID)
		return;
    td.className = "whitetext11";
	//td.style.color = "#ffffff";
}

function changetopon(link)
{
	var td = link.parentNode;
	td.className = "topnavon";
	link.className = "topnavon";
}
function changetopoff(link)
{
	var td = link.parentNode;
	td.className = "topnavoff";
	link.className = "topnavoff";
}

function changewintopon(link)
{
	var td = link.parentNode;
	td.className = "topnavon";
	link.className = "topnavon";
}

function changewintopoff(link)
{
	var td = link.parentNode;
	td.className = "topnavoff";
	link.className = "topnavoff";
}

function showHand(obj)
{
	if (navigator.appName == "Microsoft Internet Explorer")
		obj.style.cursor='hand';
	else
		obj.style.cursor='pointer';
}

function activateLeftLink(linkID) {
    activeLeftLinkID = linkID;
	changeon(document.getElementById(linkID));
}

function activateTopLink(linkID) {
	currLink = linkID;
	changetopon(document.getElementById(linkID));
}
