var fDesc=new Array(); fDesc[0] = "SET 2014 Mathematics is a program designed for home study to prepare for the Nazarbayev University. The program includes 25 full length tests, past problems and non-repeat problems. The program helps students to improve their logic skills using SET 2014 projects."; 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 = ''; } }