// VARIABLES
var doubleslash = '<td><img src="images/doubleslash.gif"  height="11" width="15"></td>';

function swapit(img,state) {document.images[img].src = "images/"+img+state+".gif";}

// START HEADER TABLE
document.write('<table cellpadding="0" cellspacing="0" border="0" ><tr><td colspan="2"><img src="images/empty.gif" height="5" width="760" border="0"></td></tr>');

// TABLE ROW WITH LOGO & BIRD IMAGE
document.write('<tr><td style="background:#FFF url(images/songbird_762.gif) no-repeat;><a href="index.php"><img src="images/songs_logo.gif" width="360" height="94" border="0"></a></td></tr><tr><td bgcolor="#FFFFFF">');
										
// START NAVIGATION TABLE
document.write	('<table cellpadding="0" cellspacing="0" border="0"><tr><td><img src="images/empty.gif" width="9" height="16"></td>');

(thisPage=="home") ? document.write('<td><img src="images/home_on.gif"  height="11" width="36"></td>') : document.write('<td><a href="index.php" onmouseover="swapit(\'home\',\'_on\');" onmouseout="swapit(\'home\',\'\');"><img src="images/home.gif" border="0" name="home"  height="11" width="36"></a></td>');
document.write(doubleslash);		
(thisPage=="songwriters" || thisPage=="songwritershome") ? document.write('<td><a href="songwritershome.php"><img src="images/songwriters_on.gif" border="0"  height="11" width="87"></a></td>') : document.write('<td><a href="songwritershome.php" onmouseover="swapit(\'songwriters\',\'_on\');" onmouseout="swapit(\'songwriters\',\'\');"><img src="images/songwriters.gif" border="0" name="songwriters"  height="11" width="87"></a></td>');
document.write(doubleslash);		
(thisPage=="listen") ? document.write('<td><img src="images/listen_on.gif" height="11" width="42"></td>') : document.write('<td><a href="listen.php" onmouseover="swapit(\'listen\',\'_on\');" onmouseout="swapit(\'listen\',\'\');"><img src="images/listen.gif" border="0" name="listen" height="11" width="42"></a></td>');
document.write(doubleslash);
(thisPage=="writer_producers") ? document.write('<td><a href="songwritershome.php?list=repertoire"><img src="images/writer_producers_on.gif" height="11" width="125" border="0"></a></td>') : document.write('<td><a href="songwritershome.php?list=repertoire" onmouseover="swapit(\'writer_producers\',\'_on\');" onmouseout="swapit(\'writer_producers\',\'\');"><img src="images/writer_producers.gif" border="0" name="writer_producers"  height="11" width="125"></a></td>');		
document.write(doubleslash);		
(thisPage=="catalogsandjvs") ? document.write('<td><a href="/songwritershome.php?list=catalogsandjvs"><img src="images/catalogs_on.gif" height="11" width="102" border="0"></a></td>') : document.write('<td><a href="/songwritershome.php?list=catalogsandjvs" onmouseover="swapit(\'catalogs\',\'_on\');" onmouseout="swapit(\'catalogs\',\'\');"><img src="images/catalogs.gif" border="0" name="catalogs" height="11" width="102"></a></td>');
document.write(doubleslash);		
(thisPage=="aboutus") ? document.write('<td><img src="images/aboutus_on.gif" height="11" width="62"></td>') : document.write('<td><a href="aboutus.html" onmouseover="swapit(\'aboutus\',\'_on\');" onmouseout="swapit(\'aboutus\',\'\');"><img src="images/aboutus.gif" border="0" name="aboutus" height="11" width="62"></a></td>');
document.write(doubleslash);		
(thisPage=="contact") ? document.write('<td><img src="images/contact_on.gif" height="11" width="57"></td>') : document.write('<td><a href="contact.html" onmouseover="swapit(\'contact\',\'_on\');" onmouseout="swapit(\'contact\',\'\');"><img src="images/contact.gif" border="0" name="contact"  height="11" width="57"></a></td>');
document.write(doubleslash);		
(thisPage=="songsearch") ? document.write('<td><img src="images/songsearch_on.gif" height="11" width="81"></td>') : document.write('<td><a href="songsearch.html" onmouseover="swapit(\'songsearch\',\'_on\');" onmouseout="swapit(\'songsearch\',\'\');"><img src="images/songsearch.gif" border="0" name="songsearch"  height="11" width="81"></a></td>');													
												
// END NAVIGATION TABLE
document.write('</tr></table>');
										
// END HEADER TABLE
document.write('</td></tr></table>');
						
