// JavaScript Document

  message     = "Welcome to LifeSystemsSoftware.com... Home of the best Chiropractic Software Suite^" +
  				"Have questions? Need answers? Call us at 1.800.543.3001 Today!^" +
                "Buying a new computer? Check out our Recommmended Specs under Hardware^" +
                //"Florida Training Seminar - Space is limited .... Register Today!^" +
				//"August SALE - Get 10% off your purchase... Call now for more information! 1.800.543.3001 ^" +
                //"FREE ULTRA PORTABLE TABLET PC with Purchase of ChiroSuite ULTRA or ChiroPad ULTRA! Call Now >> 1.800.543.3001^" +
                //"^" +
                
                "^"
  scrollSpeed = 25
  lineDelay   = 3000
 
  // Do not change the text below //
 
  txt         = ""
 
  function scrollText(pos) {
    if (message.charAt(pos) != '^') {
      txt    = txt + message.charAt(pos)
      status = txt
      pauze  = scrollSpeed
    }
    else {
      pauze = lineDelay
      txt   = ""
      if (pos == message.length-1) pos = -1
    }
    pos++
    setTimeout("scrollText('"+pos+"')",pauze)
  } 
 
  // Unhide -->
scrollText(0)


function makeWin2(url, p_Width, p_Height) 
{
	  agent = navigator.userAgent;
	  windowName = "Sitelet";
	  params  = "";
	  params += "toolbar=0,";
	  params += "location=0,";
	  params += "directories=0,";
	  params += "status=0,";
	  params += "menubar=0,";
	  params += "scrollbars=1,";
	  params += "resizable=1,";
	  params += "top=92,";
	  params += "left=0,";
	  if (p_Width == "null") {
		params += "width=500,";
		params += "height=350";
	  }
	  else {
		params += "width=" + p_Width+ ",";
		params += "height=" + p_Height;
	  }

	  // close the window to vary the window size
	  if (typeof(win) == "object" && !win.closed){
		win.close();
	  }
   
	  win = window.open(url, windowName , params);

	  if (agent.indexOf("Mozilla/2") != -1 && agent.indexOf("Win") == -1) {
		  win = window.open(url, windowName , params);
	  }

	  if (!win.opener) {
		  win.opener = window;
	  }

	  // bring the window to the front
	  win.focus();	
  }
function ChangeStateProvince() 
{
	 alert("Please enter State/Province");
}
function install_qfe031225()
{
	alert("** DOWNLOAD THIS FILE ONLY IF YOU HAVE BEEN INSTRUCTED TO DO SO **");
}
function install_keylbe()
{
	alert(	"Prior to installing this file please back up 'C:/Windows/System32/keylbe32.dll' to your desktop.\n (Open 'My Computer > Local Disk(C:) > WINDOWS > SYSTEM32', right-click on 'keylbe32.dll' and click copy, then on your desktop right-click and click on paste)\nThen download this file to your 'C:/Windows/System32/' directory.  ");
}
function warnSP1_spring() 
{
	 alert("The Spring 2003 10.2 Update MUST be installed prior to installing this service pack.");
	 requirePass();
}
function warnSP1_summer2k3() 
{
	 alert("The Summer 2003 10.3 Update MUST be installed prior to installing this service pack.");
	 requirePass();
}
function warnSP2() 
{
	 alert("Service Pack 1 MUST be installed prior to installing this service pack.");
	 requirePass();
}

function ForRegisteredUsersOnly() 
{
	 alert("** DOWNLOADS ARE ONLY FOR REGISTERED USERS ON CURRENT SUPPORT PLANS **");
}
function warnCO11_2SP() 
{
	 alert("ChiroOffice Version 11.2 MUST be installed prior to installing this service pack.");
	 requirePass();
}
function requirePass()
{
	 alert("** DOWNLOADS ARE FOR REGISTERED USERS ON CURRENT SUPPORT PLANS **\n\nThis download requires a password, please call 973.625.3716 option 3 or email support@LifeSystemsSoftware.com to obtain a password.");
}
function freeShipping()
{
	 alert("FREE 2-Day Shipping on all orders. Orders are shipped via Fed-Ex.");
}
function freePPC()
{
	 alert("FREE Pocket PC with Purchase of ChiroPad ELITE or ChiroSuite ELITE! Call Now >> 1.800.543.3001.");	 
}
function warnCO11_3SP1() 
{
	 alert("ChiroOffice Version 11.3 MUST be installed prior to installing this service pack.");
	 requirePass();
}
function warnCP11_3SP1() 
{
	 alert("ChiroPad Version 11.3 MUST be installed prior to installing this service pack.");
	 requirePass();
}
function warnCO11_4July() 
{
	 alert("ChiroOffice Version 11.4 MUST be installed prior to installing this update.");
	 requirePass();
}
function warnCP11_4July() 
{
	 alert("ChiroPad Version 11.4 MUST be installed prior to installing this update.");
	 requirePass();
}
function InstallBeingUpdated() 
{
	 alert("The install you have selected is currently being updated, please try again later.");
}
function Version14InstallNoticeRequirePass()
{
	 	 alert("** IMPORTANT INFORMATION FOR EXISTING INSTALLATIONS, PLEASE READ BEFORE INSTALLING **\n\nVersion 12.4.14 or later must be installed prior to installing Version 14.\n\nTo determine that the correct version is installed, please do the following:\n1. Login to the ChiroSuite Attendant\n2. Open the application(either ChiroOffice or ChiroPad)\n\nThe version will be listed in the top left corner next to the application name.\nFor example: 'ChiroOffice 12.4.14'");
	 requirePass();
}
function Version14InstallNotice()
{
	 	 alert("** IMPORTANT INFORMATION FOR EXISTING INSTALLATIONS, PLEASE READ BEFORE INSTALLING **\n\nVersion 12.4.14 or later must be installed prior to installing Version 14.\n\nTo determine that the correct version is installed, please do the following:\n1. Login to the ChiroSuite Attendant\n2. Open the application(either ChiroOffice or ChiroPad)\n\nThe version will be listed in the top left corner next to the application name.\nFor example: 'ChiroOffice 12.4.14'");
}
function Version142InstallNoticeRequirePass()
{
	 	 alert("** IMPORTANT INFORMATION FOR EXISTING INSTALLATIONS, PLEASE READ BEFORE INSTALLING **\n\nIf you are upgrading from any Version 14, please continue to download this file.\n\nIf you are currently using a version of the software prior to Version 14, please cancel this file download and click the link for the Version 14.0 install.");
	 requirePass();
}
function Version150InstallNoticeRequirePass()
{
	 	 alert("** IMPORTANT INFORMATION FOR EXISTING INSTALLATIONS, PLEASE READ BEFORE INSTALLING **\n\nIf you are upgrading from any Version 14, please continue to download this file.\n\nIf you are currently using a version of the software prior to Version 14, please cancel this file download and contact Technical Support by phone (973.625.3716 option 3) or by email (support@LifeSystemsSoftware.com).");
	 requirePass();
}