function showElement(topicElement) {
  document.getElementById(topicElement).style.display = 'block';
  // document.designMode = 'on';
	//alert("showElement "+topicElement);
}

function inlineElement(topicElement) {
  document.getElementById(topicElement).style.display = 'inline';
  // document.designMode = 'on';
	//alert("inlineElement "+topicElement);
}

function hideElement(topicElement) {
  document.getElementById(topicElement).style.display = 'none';
  // document.designMode = 'of';
	//alert("hideElement "+topicElement);
}

function hideAllElements(topicElement, numbers) {
  for (var i = 1; i <= numbers; i++) {
    eval("document.getElementById(topicElement+i).style.display = 'none'");
  }
}

function showHideElement(topicElement) {
	var status = document.getElementById(topicElement).style.display;
	if(status == "none"){
		document.getElementById(topicElement).style.display = 'block'
    // document.designMode = 'on';
	}else{
		document.getElementById(topicElement).style.display = 'none'
    // document.designMode = 'off';
	}
	//alert("showHideElement "+topicElement);
}
