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, to_so_xfade1, to_so_xfade2; function so_init() { if(!d.getElementById || !d.createElement)return; css = d.createElement("link"); // css.setAttribute("href","../css/style.css"); // css.setAttribute("rel","stylesheet"); // css.setAttribute("type","text/css"); d.getElementsByTagName("head")[0].appendChild(css); imgs = d.getElementById("bannerfade").getElementsByTagName("img"); 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() { clearTimeout(to_so_xfade); clearTimeout(to_so_xfade1); clearTimeout(to_so_xfade2); imgs = ""; }