function hideSection(sectionValue) {
   document.getElementById(sectionValue).style.display='none';
}

function showSection(sectionValue) {
   document.getElementById(sectionValue).style.display='block';
}

function hideAllSections(totalSections) {
   for (count=1; count < totalSections; count+=1) {
      document.getElementById('T' + count).style.display='block';
      document.getElementById('S' + count).style.display='none';
   }
}

function showAllSections(totalSections) {
   for (count=1; count < totalSections; count+=1) {
      document.getElementById('T' + count).style.display='none';
      document.getElementById('S' + count).style.display='block';
   }
}