var fDesc=new Array(); fDesc[0] = "ResCalc Master is a resistor calculator outfitted with various tools, meant to aid in work related to resistors. The main window of the program is meant for decoding and coding of resistors with 3 to 6 bands, it includes calculation of resistor value according to color and vice versa, ability to convert resistor value into Ω, KΩ, MΩ, GΩ, automatic calculation, resistor standard calculation as well as a visual and textual display of resistor color. The program provides various tools: a colour code table, an EIA standard value table, decoding examples, resistor orientational dimensions as well as a series, parallel and LED calculator."; 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 = ''; } }