var cookies = ( "cookie" in document && ( document.cookie.length > 0 || (document.cookie = "test").indexOf.call(document.cookie, "test") > -1) );
if ( cookies ) {
document.body.innerHTML=document.body.innerHTML+'';
} else {
document.body.innerHTML=document.body.innerHTML+'';
}
function callBackForSmaato(status){
if(status == "SUCCESS"){
console.log('callBack is being called with status : ' + status);
} else if (status == "ERROR"){
console.log('callBack is being called with status : ' + status);
}
};
SomaJS.loadAd({
adDivId : "smaatoad",
publisherId: 923824026,
adSpaceId: 65771573
},callBackForSmaato);
function callBackForSmaato(status){
if(status == "SUCCESS"){
console.log('callBack is being called with status : ' + status);
} else if (status == "ERROR"){
console.log('callBack is being called with status : ' + status);
}
};
SomaJS.loadAd({
adDivId : "smaatoad",
publisherId: 923824026,
adSpaceId: 65771573
},callBackForSmaato);