function showTab(el,el1,el2,el3)
{
  $get(el).className = 'show';
  $get(el1).className = 'hide';
  
  removeCssClass($get(el3), "current");
  addCssClass($get(el2), "current");
  
  adjustToolsHeight();
  
  fixIEHeight();
  
  return false;
}

function quizHideShow(el1, el2)
{
    var question = $get(el1);
    var answer = $get(el2);
    question.className = "hide";
    answer.className = "show";
    
    adjustToolsHeight();
    fixIEHeight();
}

function adjustToolsHeight() //makes the right and left sides equal height on the tools page
 {
    if ($get('toolsLeftTopSection') && $get('findDealerToolsFix') && $get('toolsPopBox'))
    {
        scrollReset = 'no';
        if ($get('dealerList') && $get('scrollbar') && $get('outerDiv') && $get('track') && $get('findDealerListLeft') && $get('findDealerListRight'))
        {
            scrollReset = 'yes';
            sc1 = $get('dealerList');
            sc2 = $get('scrollbar');
            sc3 = $get('outerDiv');
            sc4 = $get('track');
            sc5 = $get('findDealerListLeft');
            sc6 = $get('findDealerListRight');
            
            sc1.style.height="350px";
            sc2.style.height="350px";
            sc3.style.height="350px";
            sc4.style.height="320px";
            sc5.style.height="350px";
            sc6.style.height="350px";
        }
        el0 = $get('toolsLeftTopSection');
        el1 = $get('toolsPopBox');
        el2 = $get('findDealerToolsFix');
        if($get('hiddenIE6'))
        {
            el0.style.height="auto";
            el1.style.height="auto";
            el2.style.height="auto";
        }
        el0.style.minHeight="1px";
        el1.style.minHeight="1px";
        el2.style.minHeight="1px";
        leftH = el1.offsetHeight + el0.offsetHeight;
        rightH = el2.offsetHeight;
        rightH = rightH + 11;
        
        if ($get('dealerList').className == 'show')
        {
            if (leftH > rightH)
            {
                if (scrollReset == 'yes')
                {
                    myDiff = leftH - rightH;
                    sc1.style.height=myDiff + 350 + "px";
                    sc2.style.height=myDiff + 350 + "px";
                    sc3.style.height=myDiff + 350 + "px";
                    sc4.style.height=myDiff + 320 + "px";
                    sc5.style.height=myDiff + 350 + "px";
                    sc6.style.height=myDiff + 350 + "px";
                    
                    if (typeof loadInitScroll=="function")
                    {
                        loadInitScroll()
                    }
                }
                else
                {
                    if($get('hiddenIE6'))
                    {
                        el2.style.height=leftH - 11 + 'px';
                    }
                    else
                    {
                        el2.style.minHeight=leftH - 11 + 'px';
                    }
                }
            }
            if (rightH > leftH)
            {
                if($get('hiddenIE6'))
                {
                    el0.style.height=(rightH - el1.offsetHeight) + 'px';
                }
                else
                {
                    el0.style.minHeight=(rightH - el1.offsetHeight) + 'px';
                }
            }
        }
    }
 }