function HideContent(d) {
document.getElementById(d).style.display = "none";
}
function ShowContent(d) {
document.getElementById(d).style.display = "block";
}
function ReverseDisplay(d) {
if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
else { document.getElementById(d).style.display = "none"; }
} 

function resetContent(d) {
  var i=1;
  for (i=1;i<=10;i++)
  {
     HideContent("property"+ String(i));
     ShowContent("button"+ String(i) + "on");
     HideContent("button"+ String(i) + "off");
  }
  
  ShowContent("property"+ String(d));
  HideContent("button"+ String(d) + "on");
  ShowContent("button"+ String(d) + "off");
}

