Well, why don't you actually state what the problems are, instead of making us guess. However, if I do guess correctly that your include-files each define the same set of functions, you of course will run into problems with require() since you can't define two or more functions with the same name. So use include().
Also, there's no reason to set a single variable just to test it later--go ahead and to both actions up front:
// browser detection
if (eregi('msie.[4|5]',$HTTP_USER_AGENT))
{
$browser = 'ie';
include('ie4.php');
}
elseif (eregi('nav',$HTTP_USER_AGENT))
{
$browser = 'ns';
include('ns4.php');
}
else
{
$browser = 'other';
include('ns4.php');
}