/Home sales take a nice upward leap into the new year. | News

Home sales take a nice upward leap into the new year. | News


‘);
$(‘.lee-featured-subscription’).html(sFallBack);
}

perform lee_formatPackage(oService)
strive
var bOnlyModal = true;
var oSettings = lee_getPackageSettings(oService.HomeMembership);
var newService = ;
if(parseInt(oService.WebFeatureFG) === 2) return false;
if(oService.WebStartPrice != ”)
var customized = JSON.parse(oService.WebStartPrice);
$.every(customized, perform(ok,v)
newService[k] = v;
);

if(bOnlyModal && newService.in_modal === ‘false’) return false;
if(!bOnlyModal && newService.not_members === ‘true’) return false;

newService.type = parseInt((newService.type) ? newService.type : oSettings.type);
newService.title = oSettings.title;
newService.stage = oService.HomeMembership;
newService.html = oService.WebOfferHTML;
newService.disabled = newService.disable_purchase ? ‘disabled’ : ”;

var worth = lee_formatPackagePrice(newService.start_price);
newService.start_price = worth.price;
newService.format_dollars = (worth.format_dollars) ? worth.format_dollars : ”;
newService.format_cents = (worth.format_cents) ? worth.format_cents : ”;
newService.start_at_rate = (newService.fixed_rate === ‘true’) ? ‘for the low worth of’ : ‘beginning at’;

if( !newService.time period ) newService.time period = ‘monthly’;

if( newService.promotional_price && newService.promotional_price != ” )
newService.has_promotion_class = ‘has-promotion’;
var promotion = lee_formatPackagePrice(newService.promotional_price);
newService.promotional_price = promotion.price;
newService.promotional_format_dollars = (promotion.format_dollars) ? promotion.format_dollars : ”;
newService.promotional_format_cents = (promotion.format_cents) ? promotion.format_cents : ”;

newService.action_button = ‘Sign Up’;
if(newService.disabled === ‘disabled’)
newService.start_at_rate = ‘Call us at’;
newService.start_price = ‘262-657-1000’;
newService.time period = ‘to get began’;
newService.action_button = ‘Call Today’;

window.lee_service_impressions.push(
‘id’: newService.stage,
‘title’: newService.title,
‘worth’: newService.start_price,
‘model’: “kenoshanews.com”,
‘class’: ‘subscription’,
‘listing’: ‘Block’,
‘place’: newService.type
);

return newService;

catch(e)
if(window.console) console.warn(e);
return false;

perform lee_sortPackages(property)
var sortOrder = 1;
if(property[0] === “-“)
sortOrder = -1;
property = property.substr(1);

return perform (a,b)
var end result = (a[property] b[property]) ? 1 : zero;
return end result * sortOrder;

perform lee_getPackageSettings(sPackage)
change(sPackage.toLowerCase())
case ‘dob’:
return title: ‘Digital Basic’, type: zero;
break;
case ‘dop’:
return title: ‘Digital Plus’, type: 1;
break;
case ‘silv’:
return title: ‘Silver’, type: 2;
break;
case ‘gold’:
return title: ‘Gold’, type: three;
break;
case ‘plat’:
return title: ‘Platinum’, type: four;
break;

perform lee_replacePackageTokens(sPackage, oService, sCol)

strive {
var oPackages = [],
oFeatured = false,
sHtml = ”,
sTemplate = $(‘#lee-service-template’).html();

$.every(window.leeMembershipPackages, perform(i, oService)
var oService = lee_formatPackage(oService);
if(oService)
oPackages.push(oService);
if(oService.featured === ‘true’) oFeatured = oService;

);

if(oPackages.size === zero) throw ‘No packages outlined’;

oPackages.type(lee_sortPackages(‘type’));

if(!oFeatured) oFeatured = oPackages[0];

change(oPackages.size)
case 5: var sCol = ‘5ths’; break;
case four: var sCol = ‘three’; break;
case three: var sCol = ‘four’; break;
case 2: var sCol = ‘6’; break;
default: var sCol = ’12’; break;

$(‘#lee-services-modal’).addClass(‘packages_’+oPackages.size);

$.every(oPackages, perform(i, oService)
sHtml += lee_replacePackageTokens(sTemplate, oService, sCol);
);

$(‘#lee-services-list .packages’).html(sHtml).promise().then(perform());

Thanks for being a subscriber.

Sorry, your subscription doesn’t embrace this content material.

Please name 262-657-1000 to improve your subscription.



Source link Christmas 2019

Original Source