;
        }
      function renew(planType) {
        var planDuration = document.getElementById("duration-field-select").value;
        var email = document.getElementById("company-email").value;
            if (!isEmail(email)) {
                alert('You must provide a valid email address.');
                return;
            }
        document.getElementById("spinner-0").style.display = "block";
        httpReq('/x/s/upsell',
                            {
                                plan_type: pla