##########################################################################
# Some System dependent defitions
##
BROWSER_COMMAND := "netscape-navigator";

# the path to the Hasse files:
# INSTALLATION_PATH := "/home/andrew/gap/4.0/pkg/openmath/hasse";
INSTALLATION_PATH := Filename( DirectoriesPackageLibrary( "openmath", 
    "" ), "hasse" );

# the location of the server+servlet - a "factory setting"
# probably don't need to change this.
# Update: that web-page may not exist anymore: ask Andrew Solomon or 
# try http://www.archive.org/
SERVLET := "http://dev.camel.math.ca/hasse_diagram/servlet/HasseDiagramServlet";


###########################################################################
##
## This should not need to be modified.
##

TOP_HTML :=
Concatenation(" <html> <h1>View Hasse Diagram</h1> \n",
"<form action=\n", SERVLET,"\n method=post name=myform> \n",
"Type a name for the diagram to be viewed: \n",
"<input type=text value=foo name=name align=top maxlength=10 size=10><br>\n", 
"<textarea cols=50 rows=15 name=xmlhasse >\n");

BOTTOM_HTML := Concatenation("</textarea>",
"<input type=submit value=\"Take a Look\" align=middle> </form> <hr> \n",
" <center> The Hasse Diagram viewer is derived from ",
"<a href=\"http://www.math.hawaii.edu/~ralph/LatDraw/\">",
"Ralph Freese's LatDraw applet</a>.  </center>\n",
"<p> <center> <em>Copyright &copy; 2000-2001 Andrew Solomon. ",
" All rights reserved.</em> </center> </html>");



