ImgName = new Array(4);
ImgName[0] = "/xn_m/outdosoft/image/index/hdp/1.jpg";
ImgName[1] = "/xn_m/outdosoft/image/index/hdp/2.jpg";
ImgName[2] = "/xn_m/outdosoft/image/index/hdp/3.jpg";
ImgName[3] = "/xn_m/outdosoft/image/index/hdp/4.jpg";
var imgt=0;
function playImg(){
    if (imgt > 2) {
        imgt = 0;
    }
    else {
        ++imgt;
    }
    var img = document.getElementById("xhtp");   

    var firefox = true;
    if (window.navigator.userAgent.indexOf("Firefox") < 0) {
    	firefox = false;
    }
    if (!firefox) {
        img.style.filter = "blendTrans(Duration=3)";
    	img.filters[0].apply();
    }
    img.src = ImgName[imgt];
    if (!firefox) {
    	img.filters[0].play();
    }
    mytimeout=setTimeout("playImg()",5000);
}

playImg();
