var fDesc=new Array(); fDesc[0] = "C-Swing, the magnetic compass adjuster. C-Swing also computes a set of magnetic coefficients and gives guidance on placing corrector magnets and making adjustments. With C-Swing, preparing a deviation chart is now simply a question of selecting a suitable shoreside object, entering its true bearing from the chart, then entering its compass bearing as the boat is sailed on a range of headings."; 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 = ''; } }