function showcalc(index){ var showcalcId = document.getElementById('showcalc_'+index); if (showcalcId != null) { showcalcId.style.display = 'block'; } }