window.addEventListener?window.addEventListener("load",so_init,false):window.attachEvent("onload",so_init); var d=document, imgs = new Array(), zInterval = null, current=0, pause=false; var to_so_xfade = null, to_so_xfade1 = null, to_so_xfade2 = null; pss = new Array() function so_init() { if(!d.getElementById || !d.createElement)return; if(d.getElementById("bnFade")) imgs = d.getElementById("bnFade").getElementsByTagName("img"); if(d.getElementById("bnFade2")) ps = d.getElementById("bnFade2").getElementsByTagName("div"); if(d.getElementById("bnFade") || d.getElementById("bnFade2")){ for(i=1;i.99) { obj.xOpacity = .99; return; } obj.style.opacity = obj.xOpacity; obj.style.MozOpacity = obj.xOpacity; obj.style.filter = "alpha(opacity=" + (obj.xOpacity*100) + ")"; } } function stopBannerFade() { if (to_so_xfade != null) {; clearTimeout(to_so_xfade); clearTimeout(to_so_xfade1); clearTimeout(to_so_xfade2); imgs = ""; to_so_xfade = null; to_so_xfade1 = null; to_so_xfade2 = null; } }