function togglecontent (postidno) 
{
   var postid = "row" + postidno;
   var arrowid = "row" + postidno + "_arrow";

   var whichpost = document.getElementById(postid);
   var whicharrow = document.getElementById(arrowid);
   
   if( (postidno % 2) == 0 )
   {
      if (whichpost.className=="contentshown") 
      { 
         whicharrow.src = "images/chart/right_grey_white.gif";
         whichpost.className="contenthidden"; 
      } 
      else 
      { 
         whicharrow.src = "images/chart/down_grey_white.gif";
         whichpost.className="contentshown"; 
      }
   }
   else
   {
      if (whichpost.className=="contentshown") 
      { 
         whicharrow.src = "images/chart/right_grey_grey.gif";
         whichpost.className="contenthidden"; 
      } 
      else 
      { 
         whicharrow.src = "images/chart/down_grey_grey.gif";
         whichpost.className="contentshown"; 
      }   
   }
}   

function expandAll()
{
   var i;
   
   for(i=1; i<66; i++)
   {
      togglecontent(i);
   }
   
   togglecontent(100);
}

