function CheckFormEnterprise () {
  a = document.forms["LicenceHolder"].elements["Licence"].checked;
  if (a==false) {
    alert ("You must accept the terms and conditions of sale before purchasing.");
    return false;
  } else {
    b = document.forms["Enterprise"].elements["M_OS"].selectedIndex;
	c = document.forms["Enterprise"].elements["desc"].value;
	d = c.split(" for")   // This line chops off any " for Windows" or such left on when the browser back button is used;
    if (b==0) {
      document.forms["Enterprise"].elements["desc"].value = d[0] + " for Windows"
    } else if (b==1) {
      document.forms["Enterprise"].elements["desc"].value = d[0] + " for Mac OS-X"
    } else if (b==2) {
      document.forms["Enterprise"].elements["desc"].value = d[0] + " for Linux"
    } else if (b==3) {
      document.forms["Enterprise"].elements["desc"].value = d[0] + " for SunOS"
    }
  }
  return true;
}

function CheckFormStandard () {
  a = document.forms["LicenceHolder"].elements["Licence"].checked;
  if (a==false) {
    alert ("You must accept the terms and conditions of sale before purchasing.");
    return false;
  } else {
    b = document.forms["Standard"].elements["M_OS"].selectedIndex;
	c = document.forms["Standard"].elements["desc"].value;
	d = c.split(" for")   // This line chops off any " for Windows" or such left on when the browser back button is used;
    if (b==0) {
      document.forms["Standard"].elements["desc"].value = d[0] + " for Windows"
    } else if (b==1) {
      document.forms["Standard"].elements["desc"].value = d[0] + " for Mac OS-X"
    } else if (b==2) {
      document.forms["Standard"].elements["desc"].value = d[0] + " for Linux"
    } else if (b==3) {
      document.forms["Standard"].elements["desc"].value = d[0] + " for SunOS"
    }
  }
  return true;
}


