<script type="text/javascript">
    var addonRecurringPrices = new Array();
    var addonSetupPrices = new Array();
    var addonTaxable = new Array();
    <!-- BEGIN DYNAMIC BLOCK: packageAddonsPriceArr -->
        addonRecurringPrices[{ADDON_ID}] = new Array();
        addonSetupPrices[{ADDON_ID}] = new Array();
        addonTaxable[{ADDON_ID}] = {ADDON_TAXABLE};
        <!-- BEGIN DYNAMIC BLOCK: packageAddonsPriceArrItem -->
        <!-- BEGIN DYNAMIC BLOCK: packageAddonsPriceItemInit -->
        addonRecurringPrices[{ADDON_ID}][{ADDON_PRICE_ID}] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
        <!-- END DYNAMIC BLOCK: packageAddonsPriceItemInit -->
        <!-- BEGIN DYNAMIC BLOCK: packageAddonsPriceArrItemCycle -->
        addonRecurringPrices[{ADDON_ID}][{ADDON_PRICE_ID}][{ADDON_RECURRINGPRICE_CYCLE}] = {fullPrice: {ADDON_PRICE_FLOAT}, proratedPrice: {ADDON_PRICE_FLOAT_PRORATED}};
        <!-- END DYNAMIC BLOCK: packageAddonsPriceArrItemCycle -->
        addonSetupPrices[{ADDON_ID}][{ADDON_PRICE_ID}] = {ADDON_SETUPPRICE_VALUE};
        <!-- END DYNAMIC BLOCK: packageAddonsPriceArrItem -->
    <!-- END DYNAMIC BLOCK: packageAddonsPriceArr -->
</script>


<div class="block">
    <div class="block_title">
        <h3>[l]Package Add-ons[/l]</h3>
    </div>
    <ul>
        <li>
            <!-- BEGIN DYNAMIC BLOCK: packageAddonsRow -->
            <p class="order_override">
                <label>{ADDON_NAME}&nbsp;{ADDON_DESCRIPTION}:</label>
                <select name="addonSelect_{ADDON_ID}" class="dropdown" onchange="regenerateBill()">
                    <!-- BEGIN DYNAMIC BLOCK: packageAddonsPrices -->
                    <option value="addon_{ADDON_ID}_{ADDON_PRICE_ID}_{ADDON_RECURRINGPRICE_CYCLE}" {ADDON_PRICE_SELECTED} >{ADDON_PRICE}</option>
                    <!-- END DYNAMIC BLOCK: packageAddonsPrices -->
                </select>
            </p>
            <!-- END DYNAMIC BLOCK: packageAddonsRow -->
            <!-- BEGIN DYNAMIC BLOCK: packageAddonsRow2 -->
            <p class="order_override">
                <label><span class="bold">{ADDON_NAME}</span></label><br />
                <!-- BEGIN DYNAMIC BLOCK: packageAddonsPrices2 -->
                <span onClick="$('{ADDON_ID}_{ADDON_PRICE_ID}_{ADDON_RECURRINGPRICE_CYCLE}').checked = true; regenerateBill();">
                <input type="radio" name="addonSelect_{ADDON_ID}" class="dropdown" id="{ADDON_ID}_{ADDON_PRICE_ID}_{ADDON_RECURRINGPRICE_CYCLE}" onClick="regenerateBill();" value="addon_{ADDON_ID}_{ADDON_PRICE_ID}_{ADDON_RECURRINGPRICE_CYCLE}" style="background:none; border:0px;" {ADDON_PRICE_SELECTED}/>
                {ADDON_PRICE}
                </span><br/>
                <!-- END DYNAMIC BLOCK: packageAddonsPrices2 -->
            </p>
            <!-- END DYNAMIC BLOCK: packageAddonsRow2 -->
        </li>
    </ul>
</div>
