﻿  function ShowHideElement(contentToShowOrHide, show)
            {
                var x = document.getElementById(contentToShowOrHide);
                if(x) x.style.display = show;
            }
        
            function ShowTermsContent(contentBlock, otherElement)
            {
              var c = document.getElementById(contentBlock);     
              if(c) 
              {  
                 if(c.style.display == "none")
                 {
                    c.style.display = "";
                    ShowHideElement(otherElement,"none");
                    ShowHideElement("ShowContentLnk","none");
                 }
                 else
                 {
                    c.style.display ="none";
                    ShowHideElement(otherElement,"");
                    ShowHideElement("ShowContentLnk","");
                 }
              }             
              
            }