var fDesc=new Array(); fDesc[0] = "The system consists of a series of planned maintenance job cards (PM JobCard), covering the vessels equipment. Each PM JobCard consists of 3 major elements: A set of up to 6 job routines each of which contains the maintenance instructions for a particular task; The maintenance schedule for the job routines, consisting of interval and next due date or hours. Intervals can be calendar, hours or events such as dry dock; A history record of previous PM job completion reports and directly entered comments."; 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 = ''; } }