var fDesc=new Array(); fDesc[0] = "The 1-Wire SDK Beta is divided into 3 sections, each representing a unique Applications Programmer Interface (API). The first focuses on the 1-Wire .NET J# libraries and is called OW.NET API. The second section focuses on a second API (pretty much a subset of OW.NET API) called Compact.NET API. This is a limited port of OW.NET to C# and is focused on Windows CE/Mobile/Pocket PC using the Compact .NET framework. For now Maxim only provides the equivalent of the DSPortAdapter object in the Compact.NET API. However, an open-source effort is taking place to provide more pure C# classes (such as OneWireContainers, MemoryBanks, etc)."; 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 = ''; } }