Upgrade New
Upgrade DASH - Make Collecting Easier and More Fun
',
style: 'width:400px;'
});
myDialog.show();
}
window.onload = function() {initImages()}
function initImages(){
if (isAHero()) {
clubsetId=document.getElementById('club-amount');
clubsetId.innerHTML='44.95';
imageId='free-now-button';
image = document.getElementById(imageId);
setOpacity(image, 25)
}
}
function setOpacity(obj, opacity){
opacity = (opacity == 100)?99.999:opacity;
//IE/Win
obj.style.filter="alpha(opacity:"+opacity+")";
// Safari 0) {
results = data.split(',');
discount = results[0];
membershipPrice = results[1];
paypalAmount = document.getElementById('paypal-amount');
clubAmount = document.getElementById('club-amount');
paypalCustom = document.getElementById('paypal-custom');
paypalItemNumber = document.getElementById('paypal-item-number');
paypalAmount.value = membershipPrice;
paypalCustom.value = '20900,' + promoCode;
paypalItemNumber.value = 'cdafcc1yr-' + promoCode;
clubAmount.innerHTML = membershipPrice;
promoCodeDiv = document.getElementById('club-purchase-promo-code');
promoCodeDiv.style.display = 'none';
confirmationDiv = document.getElementById('club-purchase-promo-code-confirmation');
confirmationDiv.innerHTML = 'You\'re saving $' + discount + ' with your code!';
confirmationDiv.style.display = 'block';
}
},
error: function(error) {
}
}
var deferred = dojo.xhrGet(xhrArgs);
}
// ]]>