function settab(liid, linkid)
  {
    // RESET ALL TABS TO "UNCLICKED" COLORS
    for (i = 1; i <=3; i++)
    {
       listid = "tab"+i;
       anchorid = "linktab"+i;
       document.getElementById(listid).style.backgroundImage="url(/crhs/templateimages/left.gif)";
       document.getElementById(anchorid).style.backgroundImage ="url(/crhs/templateimages/right.gif)";
       document.getElementById(anchorid).style.color = "#765";
       document.getElementById(anchorid).style.paddingBottom = "5px";
    }
    // SET CLICKED TAB TO "CLICKED" COLOR
    document.getElementById(liid).style.backgroundImage="url(/crhs/templateimages/left_on.gif)";
    document.getElementById(linkid).style.backgroundImage ="url(/crhs/templateimages/right_on.gif)";
    document.getElementById(linkid).style.color = "#333";
    document.getElementById(linkid).style.paddingBottom = "4px";
   // SHOW THE CORRECT DIV SECTION BASED ON THE TAB THAT WAS CLICKED
    if (linkid == "linktab1")
    {
      document.getElementById("tab1_section").style.display = "block";
      document.getElementById("tab2_section").style.display = "none";
      document.getElementById("tab3_section").style.display = "none";
    }
    if (linkid == "linktab2")
    {
      document.getElementById("tab1_section").style.display = "none";
      document.getElementById("tab2_section").style.display = "block";
      document.getElementById("tab3_section").style.display = "none";
    }
     if (linkid == "linktab3")
    {
      document.getElementById("tab1_section").style.display = "none";
      document.getElementById("tab2_section").style.display = "none";
      document.getElementById("tab3_section").style.display = "block";
    }
  }