‘; var fr = document.getElementById(adID); setHash(fr, hash); fr.body = body; var doc = getFrameDocument(fr); doc.open(); doc.write(body); setTimeout(function() {closeDoc(getFrameDocument(document.getElementById(adID)))}, 2000); } function renderJIFAdWithInterim(holderID, adID, srcUrl, width, height, hash, bodyAttributes) { setHash(document.getElementById(holderID), hash); document.dcdAdsR.push(adID); document.write(”); } function renderIJAd(holderID, adID, srcUrl, hash) { document.dcdAdsAA.push(holderID); setHash(document.getElementById(holderID), hash); document.write(” + ‘ript’); } function renderJAd(holderID, adID, srcUrl, hash) { document.dcdAdsAA.push(holderID); setHash(document.getElementById(holderID), hash); document.dcdAdsH.push(holderID); document.dcdAdsI.push(adID); document.dcdAdsU.push(srcUrl); } function er_showAd() { var regex = new RegExp(“externalReferrer=(.*?)(; |$)”, “gi”); var value = regex.exec(document.cookie); if (value value.length == 3) { var externalReferrer = value[1]; return (!FD.isInternalReferrer() || ((externalReferrer) (externalReferrer 0))); } return false; } function isHome() { var loc = “” + window.location; loc = loc.replace(“//”, “”); var tokens = loc.split(“/”); if (tokens.length == 1) { return true; } else if (tokens.length == 2) { if (tokens[1].trim().length == 0) { return true; } } return false; } function checkAds(checkStrings) { var cs = checkStrings.split(‘,’); for (var i = 0; i 0 || document.dcdAdsAG.length 0) { var pingServerParams = “i=”; var sep = “”; for (var i=0;i 0 h.indexOf(c) 0) { empty = true; break; } } return empty; } function pingAdStatus() { if (isHome ()) { return; } if (document.pingServerAdParams document.pingServerAdParams.length 0) { var pingServerUrl = “/action/pingServerAction?” + document.pingServerAdParams; var xmlHttp = null; try { xmlHttp = new XMLHttpRequest(); } catch(e) { try { xmlHttp = new ActiveXObject(“Microsoft.XMLHttp”); } catch(e) { xmlHttp = null; } } if (xmlHttp != null) { xmlHttp.open( “GET”, pingServerUrl, true); xmlHttp.send( null ); } } } function initAds(log, checkStrings) { for (var i=0;i 0) { doc.removeChild(doc.childNodes[0]); } doc.open(); var newBody = fr.body; if (getCurrentOrd(newBody) != “” ) { newBody = newBody.replace(“;ord=”+getCurrentOrd(newBody), “;ord=” + Math.floor(100000000*Math.random())); } else { newBody = newBody.replace(“;ord=”, “;ord=” + Math.floor(100000000*Math.random())); } doc.write(newBody); document.dcdsAdsToClose.push(fr.id); } } else { var newSrc = fr.src; if (getCurrentOrd(newSrc) != “” ) { newSrc = newSrc.replace(“;ord=”+getCurrentOrd(newSrc), “;ord=” + Math.floor(100000000*Math.random())); } else { newSrc = newSrc.replace(“;ord=”, “;ord=” + Math.floor(100000000*Math.random())); } fr.src = newSrc; } } } if (document.dcdsAdsToClose.length 0) { setTimeout(function() {closeOpenDocuments(document.dcdsAdsToClose)}, 500); } } }; var ie = isIE(); if(ie typeof String.prototype.trim !== ‘function’) { String.prototype.trim = function() { return this.replace(/^s+|s+$/g, ”); }; } document.dcdAdsH = new Array(); document.dcdAdsI = new Array(); document.dcdAdsU = new Array(); document.dcdAdsR = new Array(); document.dcdAdsEH = new Array(); document.dcdAdsE = new Array(); document.dcdAdsEC = new Array(); document.dcdAdsAA = new Array(); document.dcdAdsAI = new Array(); document.dcdAdsAG = new Array(); document.dcdAdsToClose = new Array(); document.igCount = 0; document.tCount = 0; var dcOrd = Math.floor(100000000*Math.random()); document.dcAdsCParams = “”; var savValue = getAdCookie(“sav”); if (savValue != null savValue.length 2) { document.dcAdsCParams = savValue + “;”; } document.dcAdsCParams += “csub={csub};”;
Traveller
Travel
Date
September 28, 2013
- (0)
Lee Tulloch
Luxe Nomad
Không có nhận xét nào:
Đăng nhận xét