var fDesc=new Array(); fDesc[0] = "It contains 37 sample multiple-choice questions, one passing and one failing solution for three sample vignettes, and a list of references. You have to apply with knowledge and skills of building design and construction, including environmental, social, and economic issues, project and practice management."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }