// Javascript functions for the Ping tab function loadPingTab(panel) { //alert('showing ping tab'); var nr = ''; if (window.noderange && window.noderange != "") { nr = window.noderange; } panel.children().remove(); //get rid of the previous contents panel.append('

Loading node ping...

'); panel.load('ping.php?noderange='+nr); }