發新話題
打印



good
ㄚ正

TOP

發新話題
]; var ad_divs = $('ad_none').getElementsByTagName('div'); var insenz_cookie = document.cookie.indexOf('insenz_cookie') == -1 ? null : getcookie('insenz_cookie'); var ad_obj = null; if(!insenz_status || insenz_cookie) { for(var i = 0; i < ad_divs.length; i++) { if(ad_divs[i].id.substr(0, 3) == 'ad_' && (ad_obj = $(ad_divs[i].id.substr(0, ad_divs[i].id.length - 5))) && ad_divs[i].innerHTML) { if(insenz_cookie) { re = new RegExp(insenz_availableadvs[ad_divs[i].id.substr(3, ad_divs[i].id.length - 8)] + "\:(0" + "|" + gid + "|" + fid + ")", "ig"); if(re.exec(insenz_cookie) != null) continue; } ad_obj.innerHTML = ad_divs[i].innerHTML; ad_obj.className = ad_divs[i].className; } } }