<!-- Begin

var hmsg = new Array();

hmsg["diskspace"] = new helpmsg(
"", "", "", "Disk space is used for your web pages AND email storage so make sure you order enough for both purposes.");

hmsg["cpanel"] = new helpmsg(
"", "", "", "Our control panel allows you to set up email accounts, view your web statistics and control all aspects of your web hosting account. Click on the Cpanel logo to see a demonstration.");

hmsg["email"] = new helpmsg(
"", "", "", "You can set up POP3 email accounts for use with programs like Outlook Express. These can also be accessed via our webmail interface which is like Hotmail but without the ads.");

hmsg["bandwidth"] = new helpmsg(
"", "", "", "Bandwidth is the amount of data you can transfer from your site per month. As a rule of thumb, 1GB would allow 20,000 to 40,000 views of the web page you are currently looking at. Sites offering downloads of files may require larger amounts.");

hmsg["lists"] = new helpmsg(
"", "", "", "Our Mailing lists allow you to se tup a list people can subscribe to and you can send messages to (e.g a newsletter). Lists can also be set up as discussion groups (Like Yahoo Groups).");

hmsg["ftp"] = new helpmsg(
"", "", "", "FTP is used to upload your web pages to the web server. If you have more than one FTP account you can give a second person access.");

hmsg["autoresponders"] = new helpmsg(
"", "", "", "Autoresponders send a message automatically to anyone who send you an email. For example you could have a message saying you were on holiday, or that the message has been received and will be replied to shortly.");

hmsg["filters"] = new helpmsg(
"", "", "", "Filters allow you to block mail from specific senders or containing specific  phrases. These messages are deleted before they ever get to your email account.");

hmsg["antispamfilters"] = new helpmsg(
"", "", "", "Spam Assassin is a system that evaluates each incoming message to determine if it is likely to be spam. Messages detected as spam are sent to you as an attachment and can be filtered to a seperate folder in your email program. This can be turned off and on.");

hmsg["frontpage"] = new helpmsg(
"", "", "", "Microsoft Frontpage extensions are required if you plan to design and upload your page using Microsoft's Frontpage program.");

hmsg["smtp"] = new helpmsg(
"", "", "", "Our SMTP server allows you to send email from your domain based email address from any ISP. We provide a port 26 server for customers using AOL and othe rproviders who block SMTP traffic.");

hmsg["webmail"] = new helpmsg(
"", "", "", "Webmail allows you to access your email from any computer connected to the internet. Like Hotmail or Yahoomail but without the advertising.");

hmsg["secureserver"] = new helpmsg(
"", "", "", "Our secure server syatem provides 128 bit SSL encryption using our SSL certificate. Address any page on your web site via a secure address (https) and have the secure padlock show in your visitors web browsers.");

hmsg["php4"] = new helpmsg(
"", "", "", "PHP is a server side scripting language which you can use to add dynamic content to your web pages. For further information see www.php.net.");

hmsg["mysql"] = new helpmsg(
"", "", "", "Mysql is a database system that can be used to build database driven sites.  Our built in bulletin board and chat room require one database each.");

hmsg["jsp"] = new helpmsg(
"", "", "", "JSP is an enterprise class programming language and has nothing to do with Javascript or Java Applets. We implement JSP using Tomcat as the container. The classpath is not accessible to users, the standard web application classpath of ~/classes and ~/lib are  available.");

hmsg["subdomains"] = new helpmsg(
"", "", "", "Subdomains are web addreses in the format something.yourdomain.com and take their content from yourdomain.com/something. This is NOT a way of hosting several domain based web sites in the one account (if you require this please see our reseller plans).");

hmsg["resource"] = new helpmsg(
"", "", "", "You can view your disk usage and bandwidth usage through the control panel.");

hmsg["counters"] = new helpmsg(
"", "", "", "You can ad  a hit counter to your web site by cutting and pasting simple code from our control panel into your page.");

hmsg["cgi"] = new helpmsg(
"", "", "", "You can install and  run perl scripts from the cgi-bin provided with your web hosting account. We also have some built in scripts like formmail and counters.");

hmsg["webstats"] = new helpmsg(
"", "", "", "You can view reports on the number of vistors to your web site, how they were refffered to you and where they come from through our control panel.");

hmsg["filemanager"] = new helpmsg(
"", "", "", "Our file manager allows you to upload web pages even if you do nopt have an FTP program");

hmsg["customerror"] = new helpmsg(
"", "", "", "Our control panel allows you to set up special pages which will be shown if someone tries to access a page which does not exist on your web site or is password protected and they have entered the wrong password.");

hmsg["passwordprot"] = new helpmsg(
"", "", "", "You cna password protect directories within your web site. This can be used for a members area or other secure purpose.");

hmsg["apache"] = new helpmsg(
"", "", "", "Apache handlers allow you to control how the web server processes certain types of request.");

hmsg["backups"] = new helpmsg(
"", "", "", "We take a daily, monthly and weekly backup of your site. You can also download a copy of your web site as one file via our control panel so youy have your own backup copy.");

hmsg["easycgi"] = new helpmsg(
"", "", "", "You can add site search, counters, forms that email back to youm bulletin boards and chart rooms to your site with no knowledge of CGI. Just press the buttons in our control panel to activate.");

hmsg["cart"] = new helpmsg(
"", "", "", "The Agora shopping cart allows you to sell products from your web site. Links to various payment gateways. Merchant account required, please contact your bank.");


var myPopup = new helpbox("myPopup", hmsg, 275, 200, "#FFE7C6");

// 275 is the width of the popup box
// 175 is the height of the popup box
// "#ffffee" is the color of the popup box


function helpmsg(header, hstyle, mstyle, message) {
this.DEFAULTHSTYLE = "plain";
this.DEFAULTMSTYLE = "plain";

this.header = header;
if (hstyle) this.hstyle = hstyle;
else this.hstyle = this.DEFAULTHSTYLE;
this.message = message;
if (mstyle) this.mstyle = mstyle;
else this.mstyle = this.DEFAULTMSTYLE;
return this;
}
new helpmsg();
helpmsg.prototype.show = show;

function show() {
var H = "<FONT FACE='arial'>" + this.header + "</FONT>";
if (this.hstyle == "h1") H = "<H1>" + H + "</H1>";
else if (this.hstyle == "h2") H = "<H2>" + H + "</H2>";
else if (this.hstyle == "h3") H = "<H3>" + H + "</H3>";
else if (this.hstyle == "h4") H = "<H4>" + H + "</H4>";
if (this.hstyle == "fancyheader") H = "<table width='75%'>" +
"<tr><td bgcolor='#6060ff' align='center' valign='center'>" +
"<H1><FONT COLOR='white'>" + H +
"</FONT></H1>" + "</td></tr></table>";
else if (this.hstyle == "italics")
H = "<I>" + H + "</I>";

var M = "<FONT FACE='arial'>" + this.message + "</FONT>";
if (this.mstyle == "plain") {}
if (this.mstyle == "italics") M = M.italics();
else if (this.mstyle == "bold") M = M.bold();

var htmlpage = "";
if (this.hstyle.indexOf("header")>=0)
htmlpage = H + M;
else htmlpage = H + "<BR>" + M;
return htmlpage;
}

function helpbox(name, hm, width, height, bgcolor) {
this.name = name;
this.helpmessage = hm;
this.timerHandle = null;
this.windowHandle = null;
this.DEFAULTWIDTH = 250;
this.DEFAULTHEIGHT = 150;
this.DEFAULTBGCOLOR = "#ffffcc";
this.POPUPDELAY = 100;
if (width) this.width = width;
else this.width = this.DEFAULTWIDTH;
if (height) this.height = height;
else this.height = this.DEFAULTHEIGHT;
if (bgcolor) this.bgcolor = bgcolor;
else this.bgcolor = this.DEFAULTBGCOLOR;
return this;
}
function startHelp(msgindex) {
var cmdstr="top." + this.name + ".showHelp('" + msgindex + "')";
this.timerHandle = setTimeout(cmdstr, this.POPUPDELAY);
}
function showHelp(msgindex) {
if (!this.windowHandle || !this.windowHandle.name || this.windowHandle.name=="")
this.windowHandle = window.open(
"", 
"subWindow", 
"toolbar=no," +
"location=no," +
"directories=no," +
"status=no," +
"menubar=no," +
"scrollbars=no," +
"resizable=no," +
"width=" + this.width + "," +
"height=" + this.height
);
else
this.windowHandle.focus();
this.windowHandle.document.open();
var to_page =
"<HTML>\n" +
"<BODY BGCOLOR='" + this.bgcolor + "'><P>" +
this.helpmessage[msgindex].show() +
"</BODY></HTML>\n";
this.windowHandle.document.write(to_page);
this.windowHandle.document.close();
}
function clearHelp() {
clearTimeout(this.timerHandle);
if (this.windowHandle && this.windowHandle.name) {
this.windowHandle.close();
this.windowHandle=null;
   }
}
new helpbox();
helpbox.prototype.startHelp = startHelp;
helpbox.prototype.showHelp = showHelp;
helpbox.prototype.clearHelp = clearHelp;
// End -->

