var fDesc=new Array(); fDesc[0] = "CXCOM is a program designed for CX series solar charge controller. Besides a perfect PWM regulation with integrated temperature compensation, the controllers provide extraordinary display, programming and safety functions. The battery state of charge is clearly displayed with a bar chart, as well as energy flows from and to the battery and the load status (e.g. overload, load short circuit). The deep discharge protection function can be set up to three different modes: voltage controlled, SOC controlled or adaptive."; 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 = ''; } }