var sectionName = sectionNames[currentSection-1];
var currentLocation = sectionName;

var subItems = subMenuNames[currentSection-1];
if(subItems.length > 0 && sectionPage > 0)
{
   currentLocation = subItems[sectionPage-1] + "&nbsp;&nbsp;<&nbsp;&nbsp;" + currentLocation;
}

//If a page name has been specified by the page
if(pageName != "")
   currentLocation = pageName;

document.write("<tr height='7'><td colspan='3' class='tiny'>&nbsp;</td></tr>");
document.write("<tr height='21'>");
document.write("   <td width='15'>&nbsp;&nbsp;&nbsp;</td>");
document.write("   <td width='100%'>");
document.write("      <table width='100%' height='21' cellspacing='0' cellpadding='0' border='0'>");
document.write("      <tr>");
document.write("         <td class='tiny' width='16' background='Images/Page/LocationLeft.jpg'>&nbsp;</td>");
document.write("         <td class='locationText' background='Images/Page/LocationCenter.jpg'>" + currentLocation + "</td>");
document.write("         <td class='tiny' width='16' background='Images/Page/LocationRight.jpg'>&nbsp;</td>");
document.write("      </tr>");
document.write("      </table>");
document.write("   </td>");
document.write("   <td width='15'>&nbsp;&nbsp;&nbsp;</td>");
document.write("</tr>");
document.write("<tr height='4'><td colspan='3' class='tiny'>&nbsp;</td></tr>");