<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?php echo $this->form; ?>

<script type="text/javascript">
//<![CDATA[
(function () {
    var updateControlsState = function () {
        if ('0' === document.getElementById('subscriptionSection-servicePlan').value) {
            document.getElementById('subscriptionSection-customize').checked = true;
        } else {
            document.getElementById('subscriptionSection-customize').checked = false;
        }
    }

    if (document.getElementById('subscriptionSection-servicePlan')) {
        updateControlsState();
        document.getElementById('subscriptionSection-servicePlan').addEventListener('change', updateControlsState);
    }
})();
//]]>
</script>
