/* Generate the "yahoo"-style path at the top of the type-I pages */

 fullPath = new String(self.location);
 sectionPath = fullPath.substring(0,fullPath.lastIndexOf("/"));
 sectionPath = sectionPath.concat("/_00_section.html");	
 topicCount = 0;
 
 for (i=0; i<document.menuList.length; i++ ) {
    itemURL = document.menuList[i].url;
    
	/* skip TOPIC entries */ if (itemURL == ".") continue;
 
    if ( sectionPath.search(itemURL) != -1) {
	  	sectionLabel = document.menuList[i].label; 
	 	/* construct the section path */
		document.write("<font class=\"yahoopath\">Section: <a class=\"menu\" href=\""+ sectionPath +"\" >" + sectionLabel + "</a>" + " <b>></b> " 
 				+ "Topic(s): </font>");
		continue;	  	
		};
  	if ( fullPath.search(itemURL) != -1) {
		topicCount++; if (topicCount > 1) document.write(", ");
		itemLabel = document.menuList[i].label;
		underTopic = document.menuList[i].topic;
		targetAnchor = underTopic.replace(/ +/gi, "_");
 		document.write("<a class=\"topicbar\" href=\"" + sectionPath + "#" + targetAnchor + "\" >" + underTopic + "</a>" );
		};
   } ;

 document.write("<font class=\"yahoopath\"> <b>></b> This page:</font><br>");
 document.write("<h1>" + itemLabel + "</h1>");
 document.title = "www.artofe.biz ~ " + itemLabel;

