// On Menu Item - Click
function changeLoc(address, id)
{
  window.location.href = address;
}

// On Menu Item - Mouse Over
function onOver(td)
{
  if(document.getElementById||(document.all && !(document.getElementById)))
  {
    td.style.backgroundColor="#6B78B4";
    td.style.cursor="hand";
  }
}

// On Menu Item - Mouse Out
function onOut(td)
{
  if(document.getElementById||(document.all && !(document.getElementById)))
    td.style.backgroundColor="#79BEDB";
}

// Render Menu Style (columns and rows)
function renderMenu(landingURL, lordVader)
{
	document.write('<tr>');
	document.write('  <td bgcolor="#003300" height="1"><img src="/EFYPhotos/img/pixel.gif" alt="" border="0" height="1" width="1"></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('  <td style="background-color: rgb(121, 190, 219);" class="arrows" onmouseover="onOver(this);" onmouseout="onOut(this);" onclick="changeLoc(\'http://' + landingURL + '\');" bgcolor="#79BEDB">&nbsp;&nbsp;»');
	document.write('    <a href="http://' + landingURL + '" class="nav">' + lordVader + '</a>');
	document.write('  </td>');
	document.write('</tr>');
}

// Render STYLESHEET
document.write('<link rel="stylesheet" href="/EFYPhotos/img/styles.css" type="text/css">');

// Open Menu Table
document.write('<table align="center" border="0" cellpadding="0" cellspacing="0" width="160">');
// Menu Items
document.write('<tr>');
document.write('  <td>');
document.write('    <br><span class="bullet">EFY Year</span>');
renderMenu('nettycreations.com/EFYphotos/EFYphotos2006.php', '2006');
renderMenu('nettycreations.com/EFYphotos/EFYphotos2005.php', '2005');
renderMenu('nettycreations.com/EFYphotos/EFYphotos2004.php', '2004');
renderMenu('nettycreations.com/EFYphotos/EFYphotos2003.php', '2003');
renderMenu('nettycreations.com/EFYphotos/EFYphotos2001.php', '2001');
renderMenu('nettycreations.com/EFYphotos/EFYdance.php', 'EFY Dances!');

	document.write('<tr>');
	document.write('  <td bgcolor="#003300" height="1"><img src="/EFYPhotos/img/pixel.gif" alt="" border="0" height="1" width="1"></td>');
	document.write('</tr>');

// Menu Items2


// Close Menu Table
document.write('</table>');
