var _hmt = _hmt || [];

最准的时时彩计划

软件分类

欢迎您

和百度软件中心合作!

indexImgRewrite(); //图片分域名 function indexImgRewrite(){ var imgStore = new Array(); imgStore['banner'] = document.getElementById("banner").getElementsByTagName("img"); imgStore['softSet1'] = document.getElementById("softSet1").getElementsByTagName("img"); imgStore['softSet2'] = document.getElementById("softSet2").getElementsByTagName("img"); imgStore['specialSets'] = document.getElementById("specialSets").getElementsByTagName("img"); imgStore['rank1'] = document.getElementById("rank1").getElementsByTagName("img"); imgStore['rank2'] = document.getElementById("rank2").getElementsByTagName("img"); var elem = new Object(); var imgSrc = ""; //第一批img2 catchBack(imgStore['banner'], 0, "img2"); //第一批img3,4,5 for(i=0; i<9; i++){ elem = imgStore['softSet1'][i]; if(!setSrc(elem, "img"+(Math.floor(i/3)+3))){ continue; } } //第二批img3,4,5 for(i=0; i<9; i++){ elem = imgStore['softSet1'][i+9]; if(!setSrc(elem, "img"+(Math.floor(i/3)+3))){ continue; } } //第三批img3,4,5 for(i=0; i<9; i++){ elem = imgStore['softSet2'][i]; if(!setSrc(elem, "img"+(Math.floor(i/3)+3))){ continue; } } //第四批img3,4,5 for(i=0; i<9; i++){ elem = imgStore['softSet2'][i+9]; if(!setSrc(elem, "img"+(Math.floor(i/3)+3))){ continue; } } //第五批img3 catchBack(imgStore['specialSets'], 0, "img3"); //第五批img3 catchBack(imgStore['rank1'], 0, "img4"); //第五批img3 catchBack(imgStore['rank2'], 0, "img5"); } function setSrc(elem, cdn){ if(elem == null || elem == undefined){ return false; } var imgSrc = elem.getAttribute("imgSrc").replace("img1", cdn); elem.setAttribute("src", imgSrc); elem.style.display = "inline-block"; } function catchBack(elems, start, cdn){ for(i=0; i