jQuery(function($){ $('[id*="price-item-click"]').click(function() { var selector = $(this).attr('id').replace('-item-click', ''); var $price = $('#' + selector); var sum = 0; $price.toggle(); $price.toggleClass('price-active'); $(this).toggleClass('price-item-active'); $('.price-active').each(function(){ sum += parseFloat($(this).text().replace(/\D/g,'')); }); if (sum > 0){ $("#total-price-cal").show(); $("#total-price-cal").text("$" + sum + "k"); } else { $("#total-price-cal").hide(); } }); });

[s2Member-Pro-PayPal-Form rp=”1″ rt=”M” rr=”1″ rrt=”” rra=”2″ accept=”paypal ” accept_via_paypal=”paypal” coupon=”” accept_coupons=”0″ default_country_code=”” captcha=”0″]

    [s2Member-Pro-PayPal-Form level=”1″ ccaps=”a,b,c” desc=”$1.00 USD / Monthly (recurring charge, for ongoing access) to BASIC WEB” ps=”paypal” lc=”” cc=”USD” dg=”0″ ns=”1″ custom=”emmsites.com” ta=”0″ tp=”0″ tt=”D” ra=”1.00″ /]

    [s2Member-Pro-PayPal-Form level=”2″ ccaps=”a,b,c” desc=”$25.00 USD / Monthly (recurring charge, for ongoing access) to PRO WEB” ps=”paypal” lc=”” cc=”USD” dg=”0″ ns=”1″ custom=”emmsites.com” ta=”0″ tp=”0″ tt=”D” ra=”25.00″ /]

    [s2Member-Pro-PayPal-Form level=”3″ ccaps=”a,b,c” desc=”$250.00 USD / Monthly (recurring charge, for ongoing access) to PREMIUM WEB” ps=”paypal” lc=”” cc=”USD” dg=”0″ ns=”1″ custom=”emmsites.com” ta=”0″ tp=”0″ tt=”D” ra=”250.00″ /]

    [s2Member-Pro-PayPal-Form level=”4″ ccaps=”a,b,c” desc=”$1000.00 USD / Monthly (recurring charge, for ongoing access) to VIP WEB” ps=”paypal” lc=”” cc=”USD” dg=”0″ ns=”1″ custom=”emmsites.com” ta=”0″ tp=”0″ tt=”D” ra=”1000.00″ /]

[/s2Member-Pro-PayPal-Form]