Hi thank you for reading my post. Here's my question/problem. First, let's start off with what I did.
Made a function.
// navigation check
// blacks out image to corresponding page
$navnews = '../images/nav_news.gif';
$navcontact = '../images/nav_contact.gif';
$navcheckpage = $_GET['page'];
function navcheck()
{
if ( $navcheckpage = 'index.php' )
{
$navnews = '../images/nav_news_active.gif';
}
elseif ( $navcheckpage = 'contact.php' )
{
$navcontact = '..images/nav_contact_active.gif';
}
}
The function starts off assigning image urls to certain variables.
to $navnews
to $navcontact
Then function gets the page, and if its on the index.php page, it will display a 
If its on the contact.php page, it will display a 
Now here is where this function will be put to use! First off, the <head>
<script language="javascript1.2">
<!--
if (document.images) {var img1=new Image(); img1.src="images/nav_projects_active.gif";}
if (document.images) {var img2=new Image(); img2.src="images/nav_community_active.gif";}
if (document.images) {var img3=new Image(); img3.src="images/nav_about_active.gif";}
if (document.images) {var img4=new Image(); img4.src="images/nav_contact_active.gif";}
if (document.images) {var img5=new Image(); img4.src="images/nav_forum_active.gif";}
//-->
</script>
Then what is displayed
<table class="layout_nav_cell" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="<?php print $navnews; ?>"></td>
</tr>
<tr>
<td><a href="http://www.jameshu.com" onMouseOver="if (document.images) document.img3.src ='images/nav_about_active.gif';" OnMouseOut="if (document.images) document.img3.src= 'images/nav_about.gif';"><img src="images/nav_about.gif" name="img3" border="0"></a></td>
</tr>
<tr>
<td><a href="http://www.jameshu.com" onMouseOver="if (document.images) document.img5.src ='images/nav_forum_active.gif';" OnMouseOut="if (document.images) document.img5.src= 'images/nav_forum.gif';"><img src="images/nav_forum.gif" name="img5" border="0"></a></td>
</tr>
<tr>
<td><a href="http://www.jameshu.com" onMouseOver="if (document.images) document.img1.src ='images/nav_projects_active.gif';" OnMouseOut="if (document.images) document.img1.src= 'images/nav_projects.gif';"><img src="images/nav_projects.gif" name="img1" border="0"></a></td>
</tr>
<tr>
<td><a href="http://www.jameshu.com" onMouseOver="if (document.images) document.img2.src ='images/nav_community_active.gif';" OnMouseOut="if (document.images) document.img2.src= 'images/nav_community.gif';"><img src="images/nav_community.gif" name="img2" border="0"></a></td>
</tr>
<tr>
<td><a href="<?php $_SERVER['DOCUMENT_ROOT']; ?>/contact.php" onMouseOver="if (document.images) document.img4.src ='images/nav_contact_active.gif';" OnMouseOut="if (document.images) document.img4.src= 'images/nav_contact.gif';"><img src="<?php $navcontact; ?>" name="img4" border="0"></a></td>
It doesn't work how I want it to work because I have mouseovers. ( I dont think I'm doing my mouseovers correctly either ). Is there any way I can have index.php's image turn into a mouseover when the user is on the contact.php page, plus vice versa? If you guys are confused, let me know what you are confused about. Thank you very very very much in advanced.