
function ShowLicense () {

  window.open("License.html","License","width=520,height=510,menubar=no,toolbar=no,status=no,resizable=yes,scrollbars=yes");
}

function ShowHistory () {

  window.open("../common/mercurylog.html","History","width=620,height=510,menubar=no,toolbar=no,status=no,resizable=yes,scrollbars=yes");
}

function PostData () {

  var Success = true;
  var Form    = document.getElementById('MercuryDownload');

  if ( !Form.f_Company.value ) { Success = false; }
  if ( !Form.f_Name.value    ) { Success = false; }
  if ( !Form.f_EMail.value   ) { Success = false; }
  if ( !Form.f_Street.value  ) { Success = false; }
  if ( !Form.f_City.value    ) { Success = false; }
  if ( !Form.f_Country.value ) { Success = false; }

  if ( Success ) {

    Form.submit();
  }
  else {

    alert ( "Bitte geben Sie alle erforderlichen Felder an!" );
  }
}

function StartDownload ( ProductURL) {

  location.href = ProductURL;
}

