// The following button bar is for the full web site.
// this first set of variables is for the entire line.
var contents = ""; // this variable holds the whole table
var inputName = "<TD ALIGN=\"center\" WIDTH=\"20%\"><INPUT TYPE=BUTTON VALUE=\""; // the beginning of the input linewith the input type and value fields
var eventName = "\" onClick=\"location.href='"; // this contains the onClick setting
var endLine = "';\"></TD>"; // contains the settings for the end of the line 

// these variables are for the different buttons.
var scriptName = "Scripting Service";
var scriptLoc = "scripting.htm";
var jawsName = "JAWS Scripts";
var jawsLoc = "scripts.htm";
var duxburyName = "Duxbury";
var duxburyLoc = "duxbury.htm";
var mailName = "Contact Us";
var mailLoc = "mail.htm";
var brailleName = "Brailling Service";
var brailleLoc = "brailling.htm";
var favoriteName = "Favorites";
var favoriteLoc = "links.htm";
var privateName = "Your Privacy";
var privateLoc = "private.htm";
var webName = "Web Page Design";
var webLoc = "webpage.htm";
var homeName = "Home";
var homeLoc = "frmain.htm";

function lastdate() {
// calculates the date the file was last modified without the time of day.
var modifyDate = document.lastModified
 modifyDate = modifyDate.substring(0,modifyDate.indexOf(" ",0));
 document.write("This page was<BR>last updated<BR>on " + modifyDate + ".");
}

function mastermail() {
 var address = "Send Comments and<BR>questions about this<BR>site to: ";
 var mailName = "dgg@";
 address += "<a href=\"mailto:" + mailName + "dsa4u.com\">Web Master.</a>";
 document.write(address);
}

// these are the lines to be used in the closing of each page
contents = "<FORM><DIV ALIGN=\"CENTER\"><TABLE BGCOLOR=\"WHITE\" BORDER=\"5\" WIDTH=\"80%\" CELLPADDING=\"5\"><FONT COLOR=\"BLACK\"><tr>";
contents += inputName + scriptName + eventName + scriptLoc + endLine;
contents += inputName + jawsName + eventName + jawsLoc + endLine;
contents += inputName + duxburyName + eventName + duxburyLoc + endLine;
contents += inputName + brailleName + eventName + brailleLoc + endLine;
contents += inputName + mailName + eventName + mailLoc + endLine + "</tr><tr>";
contents += inputName + privateName + eventName + privateLoc + endLine;
contents += inputName + favoriteName + eventName + favoriteLoc + endLine;
contents += inputName + webName + eventName + webLoc + endLine;
contents += inputName + homeName + eventName + homeLoc + endLine;
contents += "</FONT></TR></TABLE></DIV></FORM>";
// contents += "<HR SIZE=\"10\" WIDTH=\"50%\">";
contents += "<DIV ALIGN=\"CENTER\"><TABLE BGCOLOR=\"WHITE\" BORDER=\"0\" WIDTH=\"100%\" CELLPADDING=\"5\"><FONT COLOR=\"BLACK\"><TR VALIGN=\"middle\">";
contents += "<TD ALIGN=\"center\" WIDTH=\"34%\"><script LANGUAGE=\"JavaScript\">mastermail();</SCRIPT></TD>";
contents += "<TD ALIGN=\"center\" WIDTH=\"33%\">&copy; Copyright 2003 and 2004<BR>by D.S.A. Enterprises<BR>of PA, Inc.</TD>";
contents += "<TD ALIGN=\"center\" WIDTH=\"33%\"><script LANGUAGE=\"JavaScript\">lastdate();</SCRIPT></TD>";
contents += "</TR></FONT></TABLE></DIV>";

// line that loads the contents variable
document.write(contents);