
if (pageTab == 3) {
    // global variables
    var leftNavTimer = null;
    var leftNavRestoreTimeout = 1000;
    var currentLeftNavTab =  getObject("leftNavTab_" + leftNavTab); 
    
    // show left nav
    document.all["leftNav"].style.visibility = "visible";
    
    // highlight current tab
    currentLeftNavTab.backgroundColor = "#0099CC";
    
    // Show and highlight details    
    if (leftNavSubTab >= 0) {
        var myObj = getObject("leftNavDetails_" + leftNavTab);
        myObj.display = "";
        if (leftNavSubTab > 0) {
            var myObj2 = getObject("leftNavSubTab_" + leftNavTab + "_" + leftNavSubTab);        
            myObj2.backgroundColor = "red";        
        }
    }    
}
    
function leftNavCellOn(cellObj) {
	clearTimeout(leftNavTimer);
    currentLeftNavTab.backgroundColor = "#FFFFFF";
	cellObj.style.backgroundColor = "#0099CC";
    currentLeftNavTab = cellObj.style;
	return 1;
}

function leftNavCellOff(cellObj) {
	leftNavTimer = setTimeout("restoreLeftNav();", leftNavRestoreTimeout);
	return 1;
}

function restoreLeftNav() {

    currentLeftNavTab.backgroundColor = "#FFFFFF";
    currentLeftNavTab =  getObject("leftNavTab_" + leftNavTab); 
    currentLeftNavTab.backgroundColor = "#0099CC";
}