(function() { var Ad = function(iId,sHtml,fCode,dStart,dEnd,iWeight) { this.iId = iId; this.sHtml = sHtml; this.fCode = fCode; this.dStart = dStart; this.dEnd = dEnd; this.iWeight = iWeight; } var ads = new Array(1); var adsLen = 0; ads[adsLen++] = new Ad(8,"\r\n\r\n<\/a>\r\n",null, new Date(1499875200000), new Date(1531411200000), 1); var indexArr = new Array(); var now = new Date(); for(var i=0,j=0,len=ads.length;iads[i].dStart) && (!ads[i].dEnd || now