var fDesc=new Array(); fDesc[0] = "When you develop a program, you have an UML model and source code. The purpouse of the model is to visualize structural relationships, interesting interactions and so on. The source code contains the implementation in a specific programming language and contains all the details required to execute the program. Neither of these are the master store of information, from which the other can be derived, but are two equally important components with different focus. The model and the source code share a lot of information that needs to be in sync, but it is both error prone and boring to have to update the same information in two places by hand. This problem is solved by JavaRE."; 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 = ''; } }