var fDesc=new Array();
fDesc[0] = "SWR Calculator is a handy program to help you calculate the errors in your microwave measurements. It consists of the Directivity Error Calculator, the Mismatch Error Calculator, and the Ratio-to-dB Calculator.
The Directivity Error Calculator will show you the accuracy of a reflection measurement of an unknown impedance, based upon the directivity of the coupler used for the measurement. It is also a convenient way to convert a reflection coefficient to an equivalent standing wave ratio (SWR), return loss, or mismatch loss.
The Mismatch Error Calculator shows the potential error in a transmission measurement due to imperfect source match and load match. It can also be used in a reflection measurement to determine the error caused by the mismatch between the measurement port and the unknown impedance.
The Ratio-to-dB Calculator simply converts between voltage ratio, power ratio, and dB.";
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 = '';
}
}