function buttondown(x) 
 {
     buttonB = document.getElementById("idbadv"+x).style
	 buttonB.background = 'url(im/button-down.jpg)'
	 buttonAC = document.getElementById("idbaa"+x).style
	 buttonAC.color = '#ff0000'
	 buttonAF = document.getElementById("idbaa"+x).style
	 buttonAF.font = '16px'
 }

onload=function() 
 {

var divh = document.getElementById('idbodv48').offsetHeight;
var divh2 = document.getElementById('idbodv36').offsetHeight;
var divh3 = document.getElementById('idbodv49').offsetHeight;

   if(divh<divh2)
   {
      if(divh2<divh3)
	  {
	     hvalue = divh3;
	  }
	  else
	  {
	     hvalue = divh2;
	  }
   }
   else
   {
      if(divh<divh3)
	  {
	     hvalue = divh3;
	  }
	  else
	  {
	     hvalue = divh;
	  }
   }
   divhset = document.getElementById("idbodv48").style
   divhset.height = hvalue+"px"
   divh3set = document.getElementById("idbodv49").style
   divh3set.height = hvalue+"px"
 }
function showdiv(z)
{
	var divvisget = document.getElementById("idbowedv"+z).style.visibility
	if(divvisget=="hidden")
	{
      divvisset = document.getElementById("idbowedv"+z).style
      divvisset.visibility = "visible"
      divvisset.marginBottom = "20px"
	  divvisset.height = "auto"
	}
	else
	{
      divvisset = document.getElementById("idbowedv"+z).style
	  divvisset.visibility = "hidden"
	  divvisset.marginBottom = "0px"
	  divvisset.height = "0px"
	}
	
}
