var fDesc=new Array(); fDesc[0] = "Coastal Explorer is a navigation program that has support for charts and route planning. It also comes with an integrated gazetteer and guide books, virtual instrument display and obstacle alerts. It makes it easy to plan your next cruising adventure with features like multi-level undo, powerful route manipulation tools and route obstacle detection."; 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 = ''; } }