var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); var cliImg2 = ''; var cliImgSrc2 = ''; var n2 = Math.round(Math.random() * 10); var cx2 = slideimages2.length; var interval2 = 5000; var setTimeId2 = ''; var numimg2 = new Array; numimg2[0]="img/s_1.jpg"; numimg2[1]="img/s_2.jpg"; numimg2[2]="img/s_3.jpg"; numimg2[3]="img/s_4.jpg"; numimg2[4]="img/s_5.jpg"; function rotateStop2() { clearTimeout(setTimeId2); } function rotateStart2() { rotate2(); } function chki2(no) { var pImg = document.getElementById("slide2"); //var pUrl = document.getElementById("RollUrl2"); var pTitle = document.getElementById("textslide2"); var ci2 = document.getElementById("xiaosan2").getElementsByTagName("img"); if(cliImg2 == '') { cliImg2 = ci2[no]; cliImgSrc2 = ci2.src[no]; ci2.src[no] = numimg2[no]; n2=no; pImg.src = slideimages2[no]; //pUrl.href = slidelinks2[no]; pTitle.innerText = slidetext2[no]; } else if(cliImg2 != ci2) { cliImg2.src = cliImgSrc2; cliImg2 = ci2[no]; cliImgSrc2 = ci2[no].src; ci2[no].src = numimg2[no]; n2=no; pImg.src = slideimages2[no]; //pUrl.href = slidelinks2[no]; pTitle.innerText = slidetext2[no]; } } function rotate2() { n2 = (n2 >= cx2 -1) ? 0 : n2+1; setimgurl2(); setTimeId2=setTimeout("rotate2()",interval2); } function setimgurl2(numt) { var xx2 = document.getElementById("xiaosan2").getElementsByTagName("img"); var ci2 = xx2[n2]; //document.getElementById("slide2").filters.blendTrans.apply(); document.getElementById("slide2").src=slideimages2[n2]; document.getElementById("textslide2").innerText=slidetext2[n2]; //document.getElementById("slide2").filters.blendTrans.play(); if(cliImg2 == '') { cliImg2 = ci2; cliImgSrc2 = ci2.src; ci2.src = numimg2[n2]; } else if(cliImg2 != ci2) { cliImg2.src = cliImgSrc2; cliImg2 = ci2; cliImgSrc2 = ci2.src; ci2.src = numimg2[n2]; } } function gotoshow2() { window.open(slidelinks2[n2]); } }