.*#";
$numMatch = preg_match($eReg,$file,$matches);
if($numMatch > 0)
$topNav = $matches[0];
// echo $topNav;
// Get bottom navigation div
$eReg = "#
.*#";
$numMatch = preg_match($eReg,$file,$matches);
if($numMatch > 0)
$bottomNav = $matches[0];
// echo $bottomNav;
// Remove text starting from line 1 to
// line containing tag
$eReg="##is";
$file = preg_replace($eReg,"",$file);
$eReg = "#
";
?>