<!--
// should be http:
var protocol = window.location.protocol;
if (protocol == null || typeof protocol == 'undefined')
  protocol = "http:";

// for some secure servlets
var secureprotocol = "https:";

// should be the server name of which the servlet resides
<!-- var host = window.location.hostname; -->
var host = "jupiter.cc.gatech.edu";

// the servlet running port
var port = "8686";

// the servlet paths
var proxyservlet = "/servlet/proxy/";
var entryservlet = "/servlet/WebCQEntry";
var continueservlet = "/servlet/WebCQInstallContinue";
var confirmservlet = "/servlet/WebCQInstallConfirm";
var finalservlet = "/servlet/WebCQInstallFinal";
var ucenterservlet = "/servlet/WebCQUCenter";
var passwdservlet = "/servlet/WebCQPasswdReminder";
var htmlqueryservlet = "/servlet/URLQuery";
var dbaservlet = "/servlet/DBA";
var webcqboxservlet = "/servlet/WebCQBoxPage";
var useractivationservlet = "/servlet/UserActivation";

// construct the entry URL to be called in the form action
var entrypath = protocol+"//"+host+":"+port+entryservlet;   
var continuepath = protocol+"//"+host+":"+port+continueservlet;
var confirmpath = protocol+"//"+host+":"+port+confirmservlet;
var finalpath = protocol+"//"+host+":"+port+finalservlet;
var proxypath = protocol+"//"+host+":"+port+proxyservlet;
var ucenterpath = protocol+"//"+host+":"+port+ucenterservlet;
var passwdpath = protocol+"//"+host+":"+port+passwdservlet;
var htmlquerypath = protocol+"//"+host+":"+port+htmlqueryservlet;
var dbapath = protocol+"//"+host+":"+port+dbaservlet;
var webcqboxpath = protocol+"//"+host+":"+port+webcqboxservlet;
var uactivationpath = protocol+"//"+host+":"+port+useractivationservlet;

function getEntryPath() {
  return entrypath;
}

function getContinuePath() {
  return continuepath;
}

function getConfirmPath() {
  return confirmpath;
}

function getFinalPath() {
  return finalpath;
}

function getProxyPath() {
  return proxypath;
}

function getUCenterPath() {
  return ucenterpath;
}

function getPasswdPath() {
  return passwdpath;
}

function getHtmlQueryPath() {
  return htmlquerypath;
}

function getDBAPath() {
  return dbapath;
}

function getWebCQBoxPath() {
  return webcqboxpath;
}

function getUActivationPath() {
  return uactivationpath;
}
//-->
