<div id="nav-box">
<div class="nav-box">
<ul id="globalnav">
<li><a href="#" class="here">Timeline</a>
<ul>
<li><a href="#">Public</a></li>
<li><a href="?page=timeline" >Home</a></li>
<li><a href="?page=mentions" >Mentions</a></li>
<li><a hfef="?page=direct" >Direct</a></li>
<li><a href="?page=rt_by_me">Retweeted By Me</a></li>
<li><a href="?page=rt_to_me">Retweeted To Me</a></li>
<li><a href="?page=rt_of_me">Retweeted Of Me</a></li>
</ul>
</li>
<li><a href="/?nav=direct"
<?php
if($nav=='direct')
echo 'class="here"';
?> >
Direct Message</a>
<?php
if($nav=='direct') {
?>
<ul>
<li><a href="/?page=direct" >Direct Message</a></li></ul><? } ?></li>
<li><a href="#">List</a>
</li>
<li><a href="#">User</a>
</li>
<li><a href="#">Favorites</a>
</li>
<li><a href="#">Search</a>
</li>
<li><a href="#">Saved Search</a>
</li>
</ul>
</div>
</div>
</div>