var fDesc=new Array(); fDesc[0] = "TS Viva Simulation is a program that simulates all functions and programs of the TS series. The program allows users to simulate SmartWorx Viva (or SmartWorx Viva LT) running on a CS10 or CS15 controller. The simulator runs the software as if it was an actual controller, meaning it can be used for training, support, demonstrations and even to create/test settings."; 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 = ''; } }