var e = true;
var border = '1px solid #9ac1c9';
var x = document.getElementById("acc-content");
var y = document.getElementById("acc-intro");

function acc_control() {
 if (e) {
  x.style.height = '0px';
  x.style.opacity = 0;
  x.style.filter='alpha(opacity=0)';
  y.style.borderBottom = border;
  x.style.display='none';
  document.getElementById("acc_more").style.display = "inline";
  e = false;
 }
 else {
  x.style.height = 'auto';
  x.style.opacity = 1;
  x.style.filter='alpha(opacity=100)';
  y.style.borderBottom = 'none';
  x.style.display = 'block';
  document.getElementById("acc_more").style.display = "none";
  e = true;
 }
}

y.style.borderBottom = 'none';
x.style.display = 'none';

document.getElementById("acc").getElementsByTagName("h3")[0].onclick = function () { acc_control(); };
document.getElementById("acc_more").onclick = function () 
{
 acc_control();
 return false;
};
document.getElementById("acc_close").onclick = function ()
{
 acc_control();
};

acc_control();
