    function getDivList(items, setup) {
        var divListImg;
        var divListText;
        var divListNameBox;
        var divListJobBox;
        var divListTextBox;
        var imgPath = setup.getAttribute("imgPath");
        var divWidth = setup.getAttribute("divWidth");
        var divHeight = setup.getAttribute("divHeight");
        var imgWidth = setup.getAttribute("imgWidth");
        var imgHeight = setup.getAttribute("imgHeight");
        var textWidth = setup.getAttribute("textWidth");
        var textHeight = setup.getAttribute("textHeight");
        var divList = new Array();
        var itemIndex;
        for (itemIndex = 0; itemIndex < items.length; itemIndex++) {
            divList[itemIndex] = document.createElement("div");
            divListImg = document.createElement("img");
            divListText = document.createElement("div");
            divListNameBox = document.createElement("div");
            divListJobBox = document.createElement("div");
            divListTextBox = document.createElement("div");
            divList[itemIndex].style.position = "absolute";
            divList[itemIndex].style.overflow = "hidden";
            divList[itemIndex].style.left = "0px";
            divList[itemIndex].style.top = "0px";
            divList[itemIndex].style.width = divWidth + "px";
            divList[itemIndex].style.height = divHeight + "px";
            divList[itemIndex].appendChild(divListImg);
            divList[itemIndex].appendChild(divListText);
            try {
                divListImg.src = imgPath + items[itemIndex].getElementsByTagName("img")[0].childNodes[0].nodeValue;
            }
            catch (e) { }
            divListImg.style.width = imgWidth + "px";
            divListImg.style.height = imgHeight + "px";
            divListImg.style.position = "absolute";
            divListImg.style.top = "0px";
            divListImg.style.left = "0px";
            
            divListText.style.width = textWidth + "px";
            divListText.style.height = textHeight + "px";
            divListText.style.textAlign = "left";
            divListText.style.background = "url('/media/images/aboutsir/photo_text_backing.png') no-repeat";
            divListText.style.position = "absolute";
            divListText.style.top = "0px";
            divListText.style.right = "0px";
            divListText.style.fontFamily = "Palantino";
            divListText.style.color = "#000000";
            divListText.appendChild(divListNameBox);
            divListText.appendChild(divListJobBox);
            divListText.appendChild(divListTextBox);

            divListNameBox.style.padding = "80px 0px 0px 0px";
            divListNameBox.style.fontSize = "25px";
            divListNameBox.style.margin = "10px";
            divListNameBox.style.fontWeight = "bold";
            try {
                divListNameBox.innerHTML = items[itemIndex].getElementsByTagName("name")[0].childNodes[0].nodeValue;
            }
            catch (e) { }
            divListJobBox.style.fontSize = "18px";
            divListJobBox.style.margin = "10px";
            divListJobBox.style.fontWeight = "bold";
            try {
                divListJobBox.innerHTML = items[itemIndex].getElementsByTagName("job")[0].childNodes[0].nodeValue;
            }
            catch (e) { }
            divListTextBox.style.fontSize = "18px";
            divListTextBox.style.margin = "10px";
            try {
                divListTextBox.innerHTML = items[itemIndex].getElementsByTagName("caption")[0].childNodes[0].nodeValue;
            }
            catch (e) { }

        }
        return divList;
    }
	function startPictureChanger(loadContainerId, xmlFilename) {
		var xmlDoc = xmlInit(xmlFilename);
		var setup = xmlDoc.getElementsByTagName("setup")[0];
		var items = xmlDoc.getElementsByTagName("item");
		var interval = setup.getAttribute("interval");
		var itemIndex = Math.floor(Math.random() * items.length);
		var loadDiv;
		var divList = getDivList(items, setup);
		loadDiv = divList[itemIndex].cloneNode(true);
		loadDiv.id = "swapDiv";
		document.getElementById(loadContainerId).appendChild(loadDiv);
		if (navigator.userAgent.search("MSIE") == -1) {
		    document.getElementById(loadContainerId).style.left = "5px";
		}
		setInterval(function() {
		    var swapDiv = document.getElementById("swapDiv");
		    var newImageFilename;
		    var animationInterval;
		    var animationOpacity = 100;
		    var opacityIncrement = 5;
		    var newDiv;
		    itemIndex++;
		    itemIndex %= items.length;
		    loadDiv = divList[itemIndex].cloneNode(true);
		    loadDiv.id = "swapDiv";
		    swapDiv.parentNode.insertBefore(loadDiv, swapDiv);
		    animationInterval = setInterval(function() {
		        animationOpacity -= opacityIncrement;
		        swapDiv.style.opacity = animationOpacity / 100;
		        swapDiv.style.filter = "alpha(opacity=" + animationOpacity + ")";
		        if (animationOpacity <= 0) {
		            clearInterval(animationInterval);
		            swapDiv.parentNode.removeChild(swapDiv);
		        }
		    }, 1);
		}, interval * 1000);
	}
