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
Troubled dentist arrested in trafficking sting
November 22, 2024
2 patients sue dentist for inappropriate contact
November 22, 2024
This may reduce adverse birth outcomes in patients with gum disease
November 22, 2024
3 lessons that dental assistants can learn from 'Wicked'
November 22, 2024