I have a program that is not a drupal module, but I want to control access to it through drupal navigation menu. I am on drupal 4.7 and tried adding the program as a menu item, but I get a blank screen. So now I am thinking I should open the program in a new browser window. How should I do this? I looked at the chatbox module which I think opens a browser window, but I don't understand the code. Here is the code from chatbox that I think is how it launches a browser window.

function chatbox_page() {
$page = arg(1);
$f = '_chatbox_page_' . ($page ? $page : 'launch');
if (function_exists($f)) {
return $f();
}
}

If I have a program in the directory testprog/index.php on my drupal server, how would I run the program in a new window from a drupal module?

TIA

Norm