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 dental manager indicted
December 20, 2024
The keys to identifying the right dental technology and KPIs
December 20, 2024
Improving your schedule raises your production
December 20, 2024