on endAddEmail(arg, context) { BlogEngine.$('newsletterform').style.display = 'none'; BlogEngine.$('newsletterthanks').style.display = 'block'; if (arg == "false") { BlogEngine.$('newsletteraction').innerHTML = "You are now unsubscribed"; } }