
function selectButton(id){
  //update this if you add buttons
  var total = 3;

  //select button, deselect all other buttons
  for(i = 1; i <= total; i++){
    document.getElementById('most_content_'+i).style.display = 'none';
    document.getElementById('most_'+i).className = 'popbutton';
  }
  document.getElementById('most_'+id).className = 'popbuttonActive';
  document.getElementById('most_content_'+id).style.display = '';

}

 function blocktoggle(element) {
    element = document.getElementById(element);
    if( element.style.display == 'block' )
      element.style.display = 'none';
    else
      element.style.display = 'block';
 }

 function resizeText(multiplier,id) {  
   if (document.getElementById(id).style.fontSize == "") {  
     document.getElementById(id).style.fontSize = "12px";  
   }  
   document.getElementById(id).style.fontSize = parseFloat(document.getElementById(id).style.fontSize) + (multiplier) + "px";  
 }  

