window.addEventListener?window.addEventListener("load",so_init,false):window.attachEvent("onload",so_init);

var d=document, imgs = new Array(), current=0;

function so_init()
    {
	if (!d.getElementById || !d.createElement)return;
	imgs = d.getElementById("imageContainer").getElementsByTagName("img");
	imgs[0].style.display = "block";
	setTimeout(so_switch,6000);
    }

function so_switch()
    {
	imgs[current].style.display = "none";
	current = imgs[current+1]?current+1:0;
	imgs[current].style.display = "block";
	setTimeout(so_switch,6000);
	}
