<!--

    var imgsrc_array = new Array();

    var last_img = '';

    imgsrc_array.push('IMG/imes_00.jpg');
    imgsrc_array.push('IMG/imes_01.jpg');
    imgsrc_array.push('IMG/imes_02.jpg');
    imgsrc_array.push('IMG/imes_03.jpg');
    imgsrc_array.push('IMG/imes_04.jpg');
    imgsrc_array.push('IMG/imes_05.jpg');
    imgsrc_array.push('IMG/imes_06.jpg');
    imgsrc_array.push('IMG/imes_07.jpg');
    imgsrc_array.push('IMG/imes_08.jpg');

    function getRandomInt(min_int, max_int)
    {
        return Math.floor(Math.random() * (max_int - min_int + 1)) + min_int;
    }

   function setPreload()
    {
        var img_count = imgsrc_array.length;

        for (var i_int = 0; i_int < img_count; i_int++)
        {
            var current_img = new Image();

            current_img.src = imgsrc_array[i_int];
        }
    }

    function setImage()
    {
        var randomimage = getRandomInt(0, (imgsrc_array.length - 1));

        if (last_img != imgsrc_array[randomimage])
        {
            document.images['imes_img'].src = 'http://www.imes.nl/' + imgsrc_array[randomimage];

            last_img = imgsrc_array[randomimage];
        }
        else
        {
            setImage();
        }

    }

    function swithImage()
    {
        setInterval(setImage, 8000);
    }

    function setBodyLoad()
    {
        setPreload();
        setImage();
        swithImage();
    }

//overtd

    function overtd(td, cl)
    {
		td.className = cl;
    }

    function outtd(td, cl)
    {
		td.className = cl;
    }

    function clicktd(newurl)
    {
   	    document.location.href = newurl;
    }

//-->