+ hideOnDemandInfo(1);
+}
+
+function hidePppIpAddressInfo(hide) {
+ var status = 'visible';
+ if ( hide == 1 )
+ status = 'hidden';
+ if (document.getElementById) // DOM3 = IE5, NS6
+ document.getElementById('pppIpAddressInfo').style.visibility = status;
+ else {
+ if (document.layers) { // Netscape 4
+ if ( hide == 1 )
+ document.forms[0].pppLocalIpAddress.value = '';
+ else
+ document.forms[0].pppLocalIpAddress.value = '<%ejGetJS(pppLocalIpAddress)%>';
+ } else // IE 4
+ document.all.pppIpAddressInfo.style.visibility = status;
+ }
+}
+
+function pppIpAddressClick(cb) {
+ if ( cb.checked == true )
+ hidePppIpAddressInfo(0);
+ else
+ hidePppIpAddressInfo(1);