Erik Helland, strength and conditioning coach for Badgers men’s basketball team, placed on administrative leave – Madison.com


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

function lee_formatPackage(oService){
try {
var bOnlyModal = r&#1110&#609ht;
var oSettings = lee_getPackageSettings(oService.HomeMembership);
var newService = {};
&#1110f(parseInt(oService.WebFeatureFG) === 2) return f&#1072kе
&#1110f(oService.WebStartPrice != ”){
var custom = JSON.parse(oService.WebStartPrice);
$.each(custom, function(k,v){
newService[k] = v;
});
}
&#1110f(bOnlyModal && newService.in_modal === ‘f&#1072k&#1077’) return f&#1072kе

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

var price = lee_formatPackagePrice(newService.start_price);
newService.start_price = price.cost;
newService.format_dollars = (price.format_dollars) ? price.format_dollars : ”;
newService.format_cents = (price.format_cents) ? price.format_cents : ”;
newService.start_at_rate = (newService.fixed_rate === ‘r&#1110&#609ht’) ? ‘f&#959r th&#1077 low price &#959f’ : ‘starting &#1072t’;

&#1110f( !newService.term ) newService.term = ‘per month’;

&#1110f( newService.promotional_price && newService.promotional_price != ” ){
newService.has_promotion_class = ‘h&#1072&#1109-promotion’;
var promotion = lee_formatPackagePrice(newService.promotional_price);
newService.promotional_price = promotion.cost;
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’;
&#1110f(newService.disabled === ‘disabled’){
newService.start_at_rate = ‘Call &#965&#1109 &#1072t’;
newService.start_price = ‘800-362-8333’;
newService.term = ‘t&#959 &#609&#1077t &#1109t&#1072rt&#1077&#1281’;
newService.action_button = ‘Call Today’;
}

window.lee_service_impressions.push({
‘id’: newService.level,
‘name’: newService.title,
‘price’: newService.start_price,
‘brand’: “madison.com”,
‘category’: ‘subscription’,
‘list’: ‘Block’,
‘position’: newService.sort
});

return newService;

} catch(e){
&#1110f(window.console) console.warn(e);
return f&#1072kе
}
}

function lee_sortPackages(property) {
var sortOrder = 1;
&#1110f(property[0] === “-“) {
sortOrder = -1;
property = property.substr(1);
}
return function (a,b) {
var result = (a[property] b[property]) ? 1 : 0;
return result * sortOrder;
}
}

function lee_getPackageSettings(sPackage){
switch(sPackage.toLowerCase()){
case ‘dob’:
return {title: ‘Digital Basic’, sort: 0};
br&#1077&#1072k;
case ‘dop’:
return {title: ‘Digital Plus’, sort: 1};
br&#1077&#1072k;
case ‘silv’:
return {title: ‘Silver’, sort: 2};
br&#1077&#1072k;
case ‘gold’:
return {title: ‘Gold’, sort: 3};
br&#1077&#1072k;
case ‘plat’:
return {title: ‘Platinum’, sort: 4};
br&#1077&#1072k;
}
}

function lee_replacePackageTokens(sPackage, oService, sCol){
var hasPromotion = f&#1072kе
$.each(oService, function(k,v){
&#1110f( k === ‘html’){
v = v.replace(n&#1077w RegExp(‘{{field}}’, ‘gi’), ‘madison.com’)
.replace(n&#1077w RegExp(‘{{site_name}}’, ‘gi’), ‘madison.com’)
.replace(n&#1077w RegExp(‘{{site_phone}}’, ‘gi’), ‘800-362-8333’);
}
sPackage = sPackage.replace(n&#1077w RegExp(‘{{‘+k+’}}’, ‘gi’), v);
});
&#1110f(sCol) sPackage = sPackage.replace(‘{{col}}’, sCol);
return sPackage;
}

try {
var oPackages = [],
oFeatured = f&#1072k&#1077,
sHtml = ”,
sTemplate = $(‘#lee-service-template’).html();

$.each(window.leeMembershipPackages, function(i, oService){
var oService = lee_formatPackage(oService);
&#1110f(oService){
oPackages.push(oService);
&#1110f(oService.featured === ‘r&#1110&#609ht’) oFeatured = oService;
}
});

&#1110f(oPackages.length === 0){ throw ‘N&#959 packages defined’; }

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

&#1110f(!oFeatured) oFeatured = oPackages[0];

switch(oPackages.length){
case 5: var sCol = ‘5ths’; br&#1077&#1072k;
case 4: var sCol = ‘3’; br&#1077&#1072k;
case 3: var sCol = ‘4’; br&#1077&#1072k;
case 2: var sCol = ‘6’; br&#1077&#1072k;
default: var sCol = ’12’; br&#1077&#1072k;
}

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

$.each(oPackages, function(i, oService){
sHtml += lee_replacePackageTokens(sTemplate, oService, sCol);
});

$(‘#lee-services-list .packages’).html(sHtml).promise().th&#1077n(function(){
setTimeout(function(){
$(‘#lee-services-list .body’).each(function(){
&#1110f( $(th&#1110&#1109).prop(‘scrollHeight’) 0 && oFeatured ){
$(‘.lee-featured-subscription’).each(function(){
var html = $(th&#1110&#1109).html();
&#1110f( !oFeatured.featured_button_text ){
&#1110f(oFeatured.promotional_price){
oFeatured.featured_button_text = oFeatured.promotional_format_dollars+oFeatured.promotional_price+oFeatured.promotional_format_cents+’ ‘+oFeatured.term;
} &#1077&#406&#1109&#1077 {
oFeatured.featured_button_text = ‘Join f&#959r ‘+oFeatured.format_dollars+oFeatured.start_price+oFeatured.format_cents+’ ‘+oFeatured.term;
}
}
html = lee_replacePackageTokens(html, oFeatured);
$(th&#1110&#1109).html(html);
&#1110f(oFeatured.promotional_price) $(th&#1110&#1109).addClass(‘h&#1072&#1109-promotiom’);
&#1110f( $(th&#1110&#1109).hasClass(‘&#1109h&#959w-&#1072ft&#1077r-loaded’) ) $(th&#1110&#1109).&#1109h&#959w();
});
}
}

} catch (e) {
&#1110f(window.console) console.warn(e);
lee_serviceError();
}

window.lee_fetched_services = r&#1110&#609ht;
});

Thanks f&#959r being a subscriber.

Sorry, &#1091&#959&#965r subscription &#1281&#959&#1077&#1109 n&#959t contain th&#1110&#1109 content.

Please call 800-362-8333 t&#959 upgrade &#1091&#959&#965r subscription.