var fDesc=new Array(); fDesc[0] = "Cognitive Tutor is a powerful learning tool with the most precise method of differentiating instruction available. It is focusing on areas where the student is struggling, and sends the student to new problems that address those specific concepts, scenarios appeal to students of all abilities and learning styles and much more"; 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 = ''; } }