
function expandCollapse() 
{
    for (var i = 0; i < expandCollapse.arguments.length; i++) 
    {
        var element = document.getElementById(expandCollapse.arguments[i]);
        element.style.display = (element.style.display == "none") ? "block" : "none";
    }
}
        
        
function expandCollapse2(expand) 
{
    if(expand)
    {
      //Show the remaining part of the text
      var element = document.getElementById("expand");
      element.style.display = '';
      //Hide the "read more" link
      element = document.getElementById("on");
      element.style.display = 'none';
    }
    else
    {
      //Show the remaining part of the text
      var element = document.getElementById("expand");
      element.style.display = 'none';
      //Hide the "read more" link
      element = document.getElementById("on");
      element.style.display = '';
    }
    
}


function expandCollapseTable(expand) 
{
	if(expand)
    {
      //Show the second part of the page
      document.getElementById("part2table").style.display = '';
      //Hide the "read more" link
      document.getElementById("part1link").style.display = 'none';
      //Show the "read less" link
      document.getElementById("part2link").style.display = '';
    }
    else
    {
      //Hide the second part of the page
      document.getElementById("part2table").style.display = 'none';
      //Show the "read more" link
      document.getElementById("part1link").style.display = '';
      //Hide the "read less" link
      document.getElementById("part2link").style.display = 'none';
    }
}