
function Popup( url ) {
    /* WebTV: 544x372 normal, 560x384 with (BODY HSPACE=0 VSPACE=0) */
    window.open(
	url,
	"PopUp",
	"width=540,height=550,menubar=0,resizable=1,location=0,scrollbars=1"
    );
}


var Out  = new Array();
var Over = new Array();

function Item( tag, path, link, popup ) {
    Out[tag]  = new Image();
    Over[tag] = new Image();

    Out[tag].src  = path + "Images/(Black)" + tag + ".gif";
    Over[tag].src = path + "Images/(Cream)" + tag + ".gif";

    with( document ) {
	writeln("<tr><td>");
	write("<a ");
	    write("href='" + path + link + "' ");

	    if( popup.length > 0 ) {
		write("target='" + popup + "' ");
		write("onClick='" + 'Popup("' + path + link + '");' + " return false;'");
	    }

	    write("onMouseOver=" + '"document.images[' + "'" + tag + "'" + "].src=Over[" + "'" + tag + "'" + '].src" ' );
	    write("onMouseOut="  + '"document.images[' + "'" + tag + "'" + "].src=Out [" + "'" + tag + "'" + '].src" ' );
	writeln(">");
	writeln("<img border=0 height=16 name='" + tag + "' src='" + path + "Images/(Black)" + tag + ".gif'>");
	writeln("</a>");
	writeln("</td></tr>");
	writeln("<tr height='3'><td></td></tr>");
    }
}

function Menu( path ) {
    document.writeln("<table border=0 cellspacing=0 cellpadding=0 width='100%'>");
	Item( "News",              path, "News.html",                                     ""      );
	Item( "Reunion05",         path, "Reunion2005.html",                              ""      );
	Item( "Reunion2000",       path, "Reunion2000.html",                              ""      );
	Item( "ClassRoster",       path, "ClassRoster.html",                              ""      );
	Item( "WhereTheyAreNow",   path, "Maps/USA.html",                                 ""      );
	Item( "WhereAreTheyNow",   path, "Missing.html",                                  ""      );
	Item( "PhotoAlbums",       path, "PhotoAlbums/PhotoAlbums.html",                  ""      );
	Item( "PostANote",         path, "http://www.efsc.net/cfm/pbmsgbrd/pbtopics.cfm", "PopUp" );
	Item( "TriadsOnTheWeb",    path, "WebLinks.html",                                 ""      );
	Item( "EmailWendy",        path, "EmailWendy.html",                               "PopUp" );
	Item( "Home",              path, "Index.html",                                    ""      );
    document.writeln("</table>");
}

