var fDesc=new Array(); fDesc[0] = "Torcap works by injecting a DLL file into every process running under the current user. This DLL uses Winsock API to intercept DNS lookups and TCP/IP connections. The decision whether to route the connection through Tor or directly to the internet is based upon the application mask and host mask. When a match is found, the connection is forced to connect to the Tor SOCKS server."; 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 = ''; } }