function validate(u,p,pro)
{
      document.writeln("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>");
      document.writeln("<html>");
      document.writeln("<head>");
      document.writeln("<title>Better Systems Group</title>");
      document.writeln("<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>");
      document.writeln("<LINK href='styles.css' type=text/css rel=stylesheet>");
      document.writeln("</head>");
      document.writeln("<body>");
  //if (pro == "NO")
  //{
  //  alert("Please select a province.");
  //}
  //else
  //{
    if (u == "apple" && p == "note")
    {
      switch (pro) 
      {
        case "NO":
	{
          document.write("<p><b>Please select a province.</b></p>");
          document.write("<p><b>Access to the document is denied.</b></p>");
          break;
	}
        case "ON":
	{
      document.writeln("<span class=warning>PLEASE NOTE:</span><br>");
      document.writeln("<span class=warnsmall>As of version 3.07, the way the program handles date formatting has changed. For date entry and most displayed dates, it will now use the Windows Short Date format as specified in your Windows Control Panel settings.</span><br><br>");
      document.writeln("<a href='HST.htm'>Click here for information on HST configuration</a><br><br>");
      document.writeln("To update the Windows Better System, please follow the steps below on the main computer (server).<br><br>");
      document.writeln("Ensure you have quit The Better System on ALL computers and have a reliable <a href='backup.html'>backup (click for instructions)</a>.<br><br>");
      document.writeln("Please note these steps have changed.<br><br>");
      document.writeln("1. Click on the link below for 'Windows Version 3.14 For Windows XP, Vista or Windows 7' and choose Run or Save as preferred.<br>");
      document.writeln("2. Wait for the download to complete.<br>");
      document.writeln("3. Once completed, if you chose to Save, locate the downloaded file (update.exe) and run it.<br>");
      document.writeln("4. Follow the steps to install the program update. On the third screen, verify that the location displayed to install the update to matches your program folder. If not, click Change and select the appropriate location.<br><br>");
      //document.writeln("<b><FONT color=#ff0000 size=3><u>Note:</u> If you have Better System with a version number before 1.64</FONT></b><br>");
      //document.writeln("<b><FONT color=#ff0000 size=3>Please download and run version 1.64 before downloading version 3.14</FONT></b><br><br>");
      //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/wchiro16.exe\">Windows Version 1.64 Windows 98, Windows XP And 2000 Created At (20/12/2005) 5:00 PM</a></font><br><br>");
      //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"rename.html\">Instructions for renaming the executable after it has been Downloaded</a></font><br><br>");
      //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/wchiro98.exe\">Windows Version 1.89 For Windows 98 Only Created At (25/9/2006) 4:00 PM</a></font><br><br>");
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/update.exe\">Windows Version 3.14 For Windows XP, Vista or Windows 7, created on 26/01/2012</a></font><br><br>");
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/hcai.exe\">HCAI package update created on 25/11/2011</a></font><br><br>");
      //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/pat_xtr2.tps\">Extra file for HCAI (Pat_xtr2.tps) Created At (28/8/2008) 12:00 PM</a></font><br><br>");
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"treat.html\">Click here to see a sample video of Treatments entry.</a></font><br><br>");
          //document.writeln("<hr><br>");
          //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/chiro185.exe\">Dos Version Compatible With Windows Version 1.88? Created At (20/12/2005) 5:00 PM</a></font>");
        //document.writeln("HCAI:");
        //document.writeln("Download and extract");
        //document.writeln("<a href=\"files/hcaipackage.zip\">Hcai Package Created At (06/12/2009)</a> into the wchiro folder<br><br>");
        //document.writeln("Once installed follow the instructions in");
        //document.writeln("<a href=\"this.html\">This Link</a><br><br>");
        //document.writeln("For registration purposes our PMS Vendor name is better systems");
        //document.writeln("and our PMS User name is jononly");
          break;
	}
    case "NB":
    case "NF":
    case "NS":
	{
      document.writeln("<span class=warning>PLEASE NOTE:</span><br>");
      document.writeln("<span class=warnsmall>As of version 3.07, the way the program handles date formatting has changed. For date entry and most displayed dates, it will now use the Windows Short Date format as specified in your Windows Control Panel settings.</span><br><br>");
      document.writeln("<a href='HST.htm'>Click here for information on HST configuration</a><br><br>");
      document.writeln("To update the Windows Better System, please follow the steps below on the main computer (server).<br><br>");
      document.writeln("Ensure you have quit The Better System on ALL computers and have a reliable <a href='backup.html'>backup (click for instructions)</a>.<br><br>");
      document.writeln("Please note these steps have changed.<br><br>");
      document.writeln("1. Click on the link below for 'Windows Version 3.14 For Windows XP, Vista or Windows 7' and choose Run or Save as preferred.<br>");
      document.writeln("2. Wait for the download to complete.<br>");
      document.writeln("3. Once completed, if you chose to Save, locate the downloaded file (update.exe) and run it.<br>");
      document.writeln("4. Follow the steps to install the program update. On the third screen, verify that the location displayed to install the update to matches your program folder. If not, click Change and select the appropriate location.<br><br>");
      //document.writeln("<b><FONT color=#ff0000 size=3><u>Note:</u> If you have Better System with a version number before 1.64</FONT></b><br>");
      //document.writeln("<b><FONT color=#ff0000 size=3>Please download and run version 1.64 before downloading version 1.89</FONT></b><br><br>");
      //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/wchiro16.exe\">Windows Version 1.64 Windows 98, Windows XP And 2000 Created At (20/12/2005) 5:00 PM</a></font><br><br>");
      //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"rename.html\">Instructions for renaming the executable after it has been Downloaded</a></font><br><br>");
      //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/wchiro98.exe\">Windows Version 1.89 For Windows 98 Only Created At (25/9/2006) 4:00 PM</a></font><br><br>");
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/update.exe\">Windows Version 3.14 For Windows XP, Vista or Windows 7, created on 26/01/2012</a></font><br><br>");
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"treat.html\">Click here to see a sample video of Treatments entry.</a></font><br><br>");      
          break;
	}
    case "AB":
	{
          //document.writeln("<b><FONT color=#ff0000 size=3><u>Note:</u> Alberta health submission can be generated in one file. To do this, go to Setup, then Doctor Information,</FONT></b><br>");
          //document.writeln("<b><FONT color=#ff0000 size=3>select the doctor name and press change, go to Health tab and select One File (EDT) under Generate Health section.</FONT></B><br><br>");
      document.writeln("<span class=warning>PLEASE NOTE:</span><br>");
      document.writeln("<span class=warnsmall>As of version 3.07, the way the program handles date formatting has changed. For date entry and most displayed dates, it will now use the Windows Short Date format as specified in your Windows Control Panel settings.</span><br><br>");
      document.writeln("To update the Windows Better System, please follow the steps below on the main computer (server).<br><br>");
      document.writeln("Ensure you have quit The Better System on ALL computers and have a reliable <a href='backup.html'>backup (click for instructions)</a>.<br><br>");
      document.writeln("Please note these steps have changed.<br><br>");
      document.writeln("1. Click on the link below for 'Windows Version 3.14 For Windows XP, Vista or Windows 7' and choose Run or Save as preferred.<br>");
      document.writeln("2. Wait for the download to complete.<br>");
      document.writeln("3. Once completed, if you chose to Save, locate the downloaded file (updateab.exe) and run it.<br>");
      document.writeln("4. Follow the steps to install the program update. On the third screen, verify that the location displayed to install the update to matches your program folder. If not, click Change and select the appropriate location.<br><br>");
      //document.writeln("<b><FONT color=#ff0000 size=3><u>Note:</u> If you have Better System with a version number before 1.64</FONT></b><br>");
      //document.writeln("<b><FONT color=#ff0000 size=3>Please download and run version 1.64 before downloading version 1.89</FONT></b><br><br>");
      //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/wchrab16.exe\">Windows Version 1.64 Windows 98, Windows XP And 2000 Created At (20/12/2005) 5:00 PM</a></font><br><br>");
      //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"renameab.htm\">Instructions for renaming the executable after it has been Downloaded</a></font><br><br>");
      //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/wchrab98.exe\">Windows Version 1.89 For Windows 98 Only Created At (25/9/2006) 4:00 PM</a></font><br><br>");
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/updateab.exe\">Windows Version 3.14 For Windows XP, Vista or Windows 7, created on 26/01/2012</a></font><br><br>");
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"treat.html\">Click here to see a sample video of Treatments entry.</a></font><br><br>");
          break;
	}
    case "BC":
	{
      document.writeln("<span class=warning>PLEASE NOTE:</span><br>");
      document.writeln("<span class=warnsmall>As of version 3.07, the way the program handles date formatting has changed. For date entry and most displayed dates, it will now use the Windows Short Date format as specified in your Windows Control Panel settings.</span><br><br>");
      document.writeln("<a href='HST.htm'>Click here for information on HST configuration</a><br><br>");
      document.writeln("To update the Windows Better System, please follow the steps below on the main computer (server).<br><br>");
      document.writeln("Ensure you have quit The Better System on ALL computers and have a reliable <a href='backup.html'>backup (click for instructions)</a>.<br><br>");
      document.writeln("Please note these steps have changed.<br><br>");
      document.writeln("1. Click on the link below for 'Windows Version 3.14 For Windows XP, Vista or Windows 7' and choose Run or Save as preferred.<br>");
      document.writeln("2. Wait for the download to complete.<br>");
      document.writeln("3. Once completed, if you chose to Save, locate the downloaded file (updatebc.exe) and run it.<br>");
      document.writeln("4. Follow the steps to install the program update. On the third screen, verify that the location displayed to install the update to matches your program folder. If not, click Change and select the appropriate location.<br><br>");
      //document.writeln("<b><FONT color=#ff0000 size=3><u>Note:</u> If you have Better System with a version number before 1.64</FONT></b><br>");
      //document.writeln("<b><FONT color=#ff0000 size=3>Please download and run version 1.64 before downloading version 1.89</FONT></b><br><br>");
      //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/wchrbc16.exe\">Windows Version 1.64 Windows 98, Windows XP And 2000 Created At (20/12/2005) 5:00 PM</a></font><br><br>");
      //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"renamebc.htm\">Instructions for renaming the executable after it has been Downloaded</a></font><br><br>");
      //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/wchrbc98.exe\">Windows Version 1.89 For Windows 98 Only Created At (25/9/2006) 4:00 PM</a></font><br><br>");
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/updatebc.exe\">Windows Version 3.14 For Windows XP, Vista or Windows 7, created on 26/01/2012</a></font><br><br>");
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"treat.html\">Click here to see a sample video of Treatments entry.</a></font><br><br>");      
          break;
	}
    case "MA":
	{
      document.writeln("<span class=warning>PLEASE NOTE:</span><br>");
      document.writeln("<span class=warnsmall>As of version 3.07, the way the program handles date formatting has changed. For date entry and most displayed dates, it will now use the Windows Short Date format as specified in your Windows Control Panel settings.</span><br><br>");
      document.writeln("To update the Windows Better System, please follow the steps below on the main computer (server).<br><br>");
      document.writeln("Ensure you have quit The Better System on ALL computers and have a reliable <a href='backup.html'>backup (click for instructions)</a>.<br><br>");
      document.writeln("Please note these steps have changed.<br><br>");
      document.writeln("1. Click on the link below for 'Windows Version 3.14 For Windows XP, Vista or Windows 7' and choose Run or Save as preferred.<br>");
      document.writeln("2. Wait for the download to complete.<br>");
      document.writeln("3. Once completed, if you chose to Save, locate the downloaded file (updatemb.exe) and run it.<br>");
      document.writeln("4. Follow the steps to install the program update. On the third screen, verify that the location displayed to install the update to matches your program folder. If not, click Change and select the appropriate location.<br><br>");
      //document.writeln("<b><FONT color=#ff0000 size=3><u>Note:</u> If you have Better System with a version number before 1.64</FONT></b><br>");
      //document.writeln("<b><FONT color=#ff0000 size=3>Please download and run version 1.64 before downloading version 1.89</FONT></b><br><br>");
      //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/wchiro16.exe\">Windows Version 1.64 Windows 98, Windows XP And 2000 Created At (20/12/2005) 5:00 PM</a></font><br><br>");
      //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"rename.html\">Instructions for renaming the executable after it has been Downloaded</a></font><br><br>");
      //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/wchiro98.exe\">Windows Version 1.89 For Windows 98 Only Created At (25/9/2006) 4:00 PM</a></font><br><br>");
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/updatemb.exe\">Windows Version 3.14 For Windows XP, Vista or Windows 7, created on 26/01/2012</a></font><br><br>");    
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"treat.html\">Click here to see a sample video of Treatments entry.</a></font><br><br>");      
          break;
	}
    case "SA":
	{
      document.writeln("<span class=warning>PLEASE NOTE:</span><br>");
      document.writeln("<span class=warnsmall>As of version 3.07, the way the program handles date formatting has changed. For date entry and most displayed dates, it will now use the Windows Short Date format as specified in your Windows Control Panel settings.</span><br><br>");
      document.writeln("To update the Windows Better System, please follow the steps below on the main computer (server).<br><br>");
      document.writeln("Ensure you have quit The Better System on ALL computers and have a reliable <a href='backup.html'>backup (click for instructions)</a>.<br><br>");
      document.writeln("Please note these steps have changed.<br><br>");
      document.writeln("1. Click on the link below for 'Windows Version 3.14 For Windows XP, Vista or Windows 7' and choose Run or Save as preferred.<br>");
      document.writeln("2. Wait for the download to complete.<br>");
      document.writeln("3. Once completed, if you chose to Save, locate the downloaded file (updatesk.exe) and run it.<br>");
      document.writeln("4. Follow the steps to install the program update. On the third screen, verify that the location displayed to install the update to matches your program folder. If not, click Change and select the appropriate location.<br><br>");
      //document.writeln("<b><FONT color=#ff0000 size=3><u>Note:</u> If you have Better System with a version number before 1.64</FONT></b><br>");
      //document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"renamesk.htm\">Instructions for renaming the executable after it has been Downloaded</a></font><br><br>");
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/updatesk.exe\">Windows Version 3.14 For Windows XP, Vista or Windows 7, created on 26/01/2012</a></font><br><br>");    
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"treat.html\">Click here to see a sample video of Treatments entry.</a></font><br><br>");      
          break;
	}
    case "US":
	{
      document.writeln("<span class=warning>PLEASE NOTE:</span><br>");
      document.writeln("<span class=warnsmall>As of version 3.06, the way the program handles date formatting has changed. For date entry and most displayed dates, it will now use the Windows Short Date format as specified in your Windows Control Panel settings.</span><br><br>");
      document.writeln("To update the Windows Better System, please follow the steps below on the main computer (server).<br><br>");
      document.writeln("Ensure you have quit The Better System on ALL computers and have a reliable <a href='backup.html'>backup (click for instructions)</a>.<br><br>");
      document.writeln("Please note these steps have changed.<br><br>");
      document.writeln("1. Click on the link below for 'Windows Version 3.14 For Windows XP, Vista or Windows 7' and choose Run or Save as preferred.<br>");
      document.writeln("2. Wait for the download to complete.<br>");
      document.writeln("3. Once completed, if you chose to Save, locate the downloaded file (updateus.exe) and run it.<br>");
      document.writeln("4. Follow the steps to install the program update. On the third screen, verify that the location displayed to install the update to matches your program folder. If not, click Change and select the appropriate location.<br><br>");
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/updateus.exe\">Windows Version 3.14 For Windows XP, Vista or Windows 7, created on 26/01/2012</a></font><br><br>");    
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/diagnose.tps\">Diagnosis Data file </a></font><br><br>");    
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/carrier.zip\">Zipped carrier data files</a></font><br><br>");    
          break;
	}
   case "PT":
	{
          document.writeln("To update the Windows Better System, please follow the steps below at the main computer (server)<br><br>");
      document.writeln("Ensure you have quit The Better System on ALL computers and have a reliable <a href='backup.html'>backup (click for instructions)</a>.<br><br>");
      document.writeln("1. Click on the link Windows Version 2.64 and press Save<br>");
      document.writeln("2. In the \"Save In\" drop down menu pick Local Disk (C:)<br>");
      document.writeln("3. Double click on \"wchiro\" folder from the window below<br>");
      document.writeln("4. Press Save<br>");
      document.writeln("5. A window with progress bar will show the remaining time to finish the download<br>");
      document.writeln("6. When the download is finished press Close<br>");
      document.writeln("7. Follow the instructions in the link Instructions for renaming the executable after it has been Downloaded<br><br>");
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"renamept.htm\">Instructions for renaming the executable after it has been Downloaded</a></font><br><br>");
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/wchrlsb.exe\">Windows Version 2.64 Created At (05/02/2010) 4:00 PM</a></font><br><br>");    
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/lsbcvt.exe\">CSV Conversion program </a></font><br><br>");    
          break;
	}
      }
    }
    else if (u == "network" && p == "future")
    {
      switch (pro) 
      {
        case "NO":
	{
          document.write("<p><b>Please select a province.</b></p>");
          document.write("<p><b>Access to the document is denied.</b></p>");
          break;
	}
        case "ON":
	{
          document.writeln("<span class=warning>PLEASE NOTE:</span><br>");
          document.writeln("<span class=warnsmall>As of version 3.07, the way the program handles date formatting has changed. For date entry and most displayed dates, it will now use the Windows Short Date format as specified in your Windows Control Panel settings.</span><br><br>");
          document.writeln("<a href='HST.htm'>Click here for information on HST configuration</a><br><br>");
          document.writeln("To update The Better System, please follow the steps below. Update the IP Client on each computer.<br><br>");
          document.writeln("1. Click on the link below for 'Windows IP Client Version 3.14 For Windows XP, Vista or Windows 7' and choose Run or Save as preferred.<br>");
          document.writeln("2. Wait for the download to complete.<br>");
          document.writeln("3. Once completed, if you chose to Save, locate the downloaded file (ipclient.exe) and run it.<br>");
          document.writeln("4. Follow the steps to install the program update.<br><br>");
          document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/ipclient.exe\">Windows IP Client Version 3.14 For Windows XP, Vista or Windows 7, created on 26/01/2012</a></font><br><br>");
          document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/hcai.exe\">HCAI package update created on 25/11/2011</a></font><br><br>");
          document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"treat.html\">Click here to see a sample video of Treatments entry.</a></font><br><br><br><br>");
          document.writeln("To update the Server, which is only needed when a newer server version is released, please follow the steps below only on the main computer (server).<br><br>");
          document.writeln("Ensure you have quit The Better System on ALL computers and have a reliable <a href='backup.html'>backup (click for instructions)</a>.<br><br>");
          document.writeln("1. Click on the link below for 'Windows IP Server Version 3.07 For Windows XP, Vista or Windows 7' and choose Run or Save as preferred.<br>");
          document.writeln("2. Wait for the download to complete.<br>");
          document.writeln("3. Once completed, if you chose to Save, locate the downloaded file (ipserver.exe) and run it.<br>");
          document.writeln("4. Follow the steps to install the server update. On the third screen, verify that the location displayed for the Data Folder matches your server's Better System data folder. If not, click Change and select the appropriate location.<br><br>");
          document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/ipserver.exe\">Windows IP Server Version 3.07 For Windows XP, Vista or Windows 7, created on 22/08/2011</a></font><br><br>");
          break;
	}
        case "NB":
        case "NF":
        case "NS":
	{
          document.writeln("<span class=warning>PLEASE NOTE:</span><br>");
          document.writeln("<span class=warnsmall>As of version 3.07, the way the program handles date formatting has changed. For date entry and most displayed dates, it will now use the Windows Short Date format as specified in your Windows Control Panel settings.</span><br><br>");
          document.writeln("<a href='HST.htm'>Click here for information on HST configuration</a><br><br>");
          document.writeln("To update The Better System, please follow the steps below. Update the IP Client on each computer.<br><br>");
          document.writeln("1. Click on the link below for 'Windows IP Client Version 3.14 For Windows XP, Vista or Windows 7' and choose Run or Save as preferred.<br>");
          document.writeln("2. Wait for the download to complete.<br>");
          document.writeln("3. Once completed, if you chose to Save, locate the downloaded file (ipclient.exe) and run it.<br>");
          document.writeln("4. Follow the steps to install the program update.<br><br>");
          document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/ipclient.exe\">Windows IP Client Version 3.14 For Windows XP, Vista or Windows 7, created on 26/01/2012</a></font><br><br>");
          document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"treat.html\">Click here to see a sample video of Treatments entry.</a></font><br><br><br><br>");
          document.writeln("To update the Server, which is only needed when a newer server version is released, please follow the steps below only on the main computer (server).<br><br>");
          document.writeln("Ensure you have quit The Better System on ALL computers and have a reliable <a href='backup.html'>backup (click for instructions)</a>.<br><br>");
          document.writeln("1. Click on the link below for 'Windows IP Server Version 3.07 For Windows XP, Vista or Windows 7' and choose Run or Save as preferred.<br>");
          document.writeln("2. Wait for the download to complete.<br>");
          document.writeln("3. Once completed, if you chose to Save, locate the downloaded file (ipserver.exe) and run it.<br>");
          document.writeln("4. Follow the steps to install the server update. On the third screen, verify that the location displayed for the Data Folder matches your server's Better System data folder. If not, click Change and select the appropriate location.<br><br>");
          document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"files/ipserver.exe\">Windows IP Server Version 3.07 For Windows XP, Vista or Windows 7, created on 22/08/2011</a></font><br><br>");
          break;
	}
        case "AB":
        case "BC":
        case "MA":
        case "SA":
        case "US":
        case "PT":
        {
          document.writeln("The Better System, IP client/server version, is not yet available for your jurisdiction. If you are interested in this product, please let us know.");
          break;
        }
      }
    }
    else if (u == "demo" && p == "demo")
    {
      switch (pro) 
      {
        case "US":
        {
          document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"demous.html\">Please click here for instructions on downloading our demo program</a></font><br><br>");
          break;
        }
        default:
        {
          document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"demoinstr.html\">Please click here for instructions on downloading our demo program</a></font><br><br>");
        }
      }
    }
    else if (u == "tech" && p == "support")
    {
      document.writeln("Remote Support<br><br>");
      document.writeln("<font size=\"3\" color=\"#6666ff\"><a href=\"http://c.fixme.it/\">Download the Support Client</a></font><br><br><br><br>");
    }
    else 
    {
        document.write("<p><b>You have entered an invalid password.</b></p>");
        document.write("<p><b>Access to the document is denied.</b></p>");
    }
  //}
      document.writeln("</body>");
      document.writeln("</html>");
}

