IMV_Ints.InterstitialInit = function(){
var aan=$('#aan');
var nam=$('#insname');
if(nam){
var rgx = /^[aeiou]/i;
if(aan && rgx.test(nam.text()) ){
aan.text('an');
}
}
};
IMV_Ints.InterstitialEnd = function () {
if (IMV_MOBILE && IMV_MOBILE.blnIsMobileDevice){
var lnk = $('#dvYes').attr('href');
$('#dvYes').attr('href',lnk.replace('sec=opt','sec=opt'));
}
$('#dvNo').click(function () {
var id = this.getAttribute('data-id');
$.ajax({
url : 'imvapi/display/insideropt/' + id + '?OptOut=true',
type : 'GET',
dataType : 'text',
contentType : 'application/x-www-form-urlencoded; charset=UTF-8',
cache : false,
success : function (result, textStatus, jqXHR) {
//alert('success!' + textStatus);
}
}).done(function (data) {
//alert('done!')
});
IMV_Ints.InterstitialClose();
});
};
Interstitial, Insider JavaScript
Jul 23, 2014
Latest in Home
New details emerge about dentist facing suit over patient death
October 13, 2025
Dentists aren’t feeling great about this situation
October 13, 2025
A new cavity-fighter that ditches silver in the works
October 13, 2025