var fDesc=new Array(); fDesc[1] = "and buttons in just a few minutes. It uses a large number of dialogs to customize your work. Interface is highly customizable. It has excellent features like photo enhancement, fix perspective distortion and digital retouching techniques. GIMP is not a design suite but is free."; fDesc[3] = "OutputDebugString (Windows Debug API) and TRACE (MS Visual C++ Debug Macro) output as well."; fDesc[5] = "using COM port, such as GPS receiver, total station. It can also act as a test software for device's debug and development."; fDesc[6] = "hardware controller, while user can control the PTZ camera through computer 232/485/USB port."; function tCollapseAll(maxID) { document.getElementById("alls_action").innerHTML = "Expand descriptions"; var id=1; for (id=1; id <= maxID; id++) { if (document.getElementById("desc_" + id)) tShowHide(id, 2); } } function tExpandAll(maxID) { document.getElementById("alls_action").innerHTML = "Collapse descriptions"; var id=1; for (id=1; id <= maxID; id++) { if (document.getElementById("more_" + id)) tShowHide(id, 1); } } function tShowHide(id, show) { var s = document.getElementById("more_" + id); if ((s.innerHTML!=fDesc[id] || show==1) && show!=2) { s.innerHTML = fDesc[id]; } else { s.innerHTML = '...'; } }